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

50 commits

Author SHA1 Message Date
Julian Storer
76b128d90e Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox. 2010-12-11 19:56:47 +00:00
Julian Storer
99085429b5 Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow. 2010-12-03 23:36:00 +00:00
Julian Storer
952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 2010-11-29 16:22:06 +00:00
Julian Storer
a5cf4030f5 New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes. 2010-11-29 12:24:55 +00:00
Julian Storer
59ac5a6d25 Fixed a bug in the Flac writer. Optimised BigInteger::getHighestBit(). Misc minor clean-ups. 2010-11-03 16:12:05 +00:00
Julian Storer
377b9ff2c4 Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces. 2010-10-26 16:46:19 +01:00
Julian Storer
0a1f3857ae Couple of minor fixes and clean-ups to various components. 2010-10-24 16:27:44 +01:00
Julian Storer
de4d8a5a14 Minor code clean-ups. 2010-08-23 21:10:37 +01:00
Julian Storer
216d258ceb Added workarounds for a truly moronic VC2005 compiler bug. Very, very annoyed at having to spend hours and compromise my coding style geting this to build properly... 2010-07-13 16:00:10 +01:00
Julian Storer
907a9aaffe Tidied up a bunch of listener classes, making them child classes - e.g. ButtonListener becomes Button::Listener. Did this for ComboBox, Button, CameraDevice, Label, ScrollBar, Slider, TextEditor, TableHeaderComponent. (There are typedefs to make sure old code still works, though I might remove those in the future). 2010-07-11 11:46:36 +01:00
Julian Storer
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +01:00
Julian Storer
88c95982f7 Changed the ChoicePropertyComponent to give it more powerful value remapping. Jucer development. 2010-05-17 10:53:44 +01:00
Julian Storer
266494a1b9 Minor code clean-ups. 2010-05-08 18:16:09 +01:00
Julian Storer
e6a5f1501f Minor fix to Atomic. Jucer development. 2010-05-04 15:27:19 +01:00
Julian Storer
7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 2010-04-30 11:00:38 +01:00
Julian Storer
49b47cc866 Minor additions to Rectangle and CodeEditorComponent. Jucer development. 2010-04-28 14:51:11 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
0fe89aa299 Fixed a few minor warnings found by valgrind. 2010-04-15 20:51:51 +01:00
Julian Storer
c76e500574 Minor clean-ups. 2010-04-15 11:09:20 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
66643e85ac Minor string changes. 2010-03-26 18:23:54 +00:00
Julian Storer
841a6665bd Minor string literal tidy-ups. 2010-03-23 17:36:12 +00:00
Julian Storer
7bc8db2ff4 Minor code style tweaks. 2010-03-21 12:06:36 +00:00
Julian Storer
4ed63991e2 Work-arounds for compiling with VC6. 2010-03-11 11:37:40 +00:00
Julian Storer
d84e47353c Couple of optimisations to text rendering. Removed various printfs from the codebase. 2010-03-11 10:16:02 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +00:00
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