1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00
Commit graph

24 commits

Author SHA1 Message Date
Julian Storer
3057acf0b3 Fix for browser plugins using tabs in firefox 3.6. Minor CodeEditorComponent fix. 2010-02-15 13:31:41 +00:00
Julian Storer
fb7cf838db Created a new class "Range", for holding generic number ranges. New abstract class TextInputTarget, which defines methods common to text editors. Changed a couple of method definitions in TextEditor and CodeEditorComponent so that they could implement TextInputTarget. Added ability for wav files to save their SMPL chunk. 2010-02-12 17:38:39 +00:00
Julian Storer
cb00274427 Minor fixes for File::isAChildOf(), NPAPI window sizing, CodeDocument syntax parsing, and the amalgamated template file. 2010-02-11 11:07:03 +00:00
Julian Storer
7bc24ae42a The Point and Rectangle classes are now templated, so can be used for either float or int co-ordinates. This means that wherever you've used these classes, you'll need to replace them with Rectangle<int> or Point<float> in your code. A couple of methods in Path have changed to take advantage of the new ability. 2010-02-07 00:52:30 +00:00
Julian Storer
31a102008d Reduced the memory footprint of the array classes. 2010-02-06 09:16:20 +00:00
Julian Storer
ca0dce68d5 Added methods to SystemStats to return the user's name. 2010-02-05 18:36:19 +00:00
Julian Storer
c1b2a69a93 Improved CodeEditor cursor behaviour. 2010-02-05 16:56:51 +00:00
Julian Storer
f7636fe1a3 Fix for CodeDocument when opening files with a blank line at the end. 2010-02-04 12:46:39 +00:00
Julian Storer
b2e5ef2bd6 Minor code modernisations. 2010-02-03 19:05:03 +00:00
Julian Storer
773c7d7407 Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc. 2010-01-28 16:02:16 +00:00
Julian Storer
6a4e8f235c Minor fixes and warning removals for VC7. 2010-01-17 22:44:16 +00:00
Julian Storer
e61e8f6775 Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future). 2010-01-14 14:49:25 +00:00
Julian Storer
18ffeba9da Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder. 2010-01-10 22:00:59 +00:00
Julian Storer
4ed1d791e5 New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase. 2010-01-02 14:55:44 +00:00
Julian Storer
24a121e4dd Fixed a small streaming bug, tidied up some warnings. 2009-12-22 14:53:12 +00:00
Julian Storer
a126b1918a Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers. 2009-12-18 16:37:46 +00:00
Julian Storer
80753f4c03 Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream. 2009-12-16 21:13:46 +00:00
Julian Storer
71a12a140e Improved CoreGraphics clipping. Added a method File::revealToUser(). Added obj-c keywords to the c++ tokeniser. Added a new mode to the file chooser (only implemented on mac so far) 2009-12-08 11:24:09 +00:00
Julian Storer
95fcc168d8 More graphics updates, including fixes for CoreGraphics on PPC macs. Fix for keypress recursion in AU plugins, and fix for tabs in the CodeEditorComponent 2009-11-30 19:21:25 +00:00
Julian Storer
93e4236b57 Changes for VC6 compatibility; added a couple of trimming methods to String; added a parameter to Socket::createConnection 2009-11-16 18:12:17 +00:00
Julian Storer
69321e8b33 Tarted up the fonts demo page; added a scrollbar thickness to the code editor; improved the colour selector's rendering speed. 2009-11-09 11:30:58 +00:00
Julian Storer
cd88571081 Added methods Graphics::setTiledImageFill and Graphics::setGradientFill - these are now the preferred way to specify a fill type, rather than using the Brush classes (which will probably disappear at some point in the future). Also refactored and renamed some DrawablePath methods, which might require a few tweaks to your code if you use this class. 2009-11-05 17:59:44 +00:00
Julian Storer
0b2f0f086c added a code-editor demo page to the juce demo and added some comments to the code editor classes 2009-11-04 13:23:42 +00:00
Julian Storer
f744dd9062 Initial check-in of a CodeEditorComponent class. Also tweaked ProgressBar to stop it sometimes moving too slowly. 2009-11-03 18:25:04 +00:00