1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00
Commit graph

48 commits

Author SHA1 Message Date
Julian Storer
d60f661789 Changed the Message class to be reference-counted, and used this to tighten up some messaging code. Minor tweaks to AudioThumbnail, ReferenceCountedArray. 2010-12-19 19:33:52 +00:00
Julian Storer
1a887cda63 Fix for AsyncUpdaters. 2010-12-17 21:24:36 +00:00
Julian Storer
098abe4a2f Fixed a very very subtle component bug. Added peak level detection to AudioThumbnail. Tidied up some old demo plugin UI code. 2010-12-17 12:35:56 +00:00
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
c3b257a088 Small fix for AudioThumbnail. Minor internal clean-ups. 2010-12-05 18:20:32 +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
645637ab09 Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt(). 2010-11-26 12:57:24 +00:00
Julian Storer
75ff0c5e7e Cleaned up the AsyncUpdater and ChangeBroadcaster classes internally - these now have less overhead when creating and deleting them. Removed the ActionListenerList class, as all its functionality is already provided by ActionBroadcaster. 2010-11-20 18:07:46 +00:00
Julian Storer
4cfdcb69fd Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string. 2010-11-19 22:03:35 +00:00
Julian Storer
b952084419 Workarounds for VC6. 2010-11-17 14:01:14 +00:00
Julian Storer
79899f87e0 Fix for mouse event click counts. Fix for webkit mouse-moves. Cleaned up some Component coordinate conversion methods, adding some new ones for rectangle conversion. 2010-11-08 22:45:19 +00:00
Julian Storer
3de314a824 Added a leak detector for Components. 2010-11-01 21:10:54 +00:00
Julian Storer
c16f6f17a9 The Component class no longer derives from MessageListener - this was adding a lot of overhead to each component construction/destruction, and was rarely providing any benefit. You can add it as a base class yourself if you need it. Component::isValidComponent() has now been removed - it was never 100% reliable and its job can be done better using Component::SafePointer to watch for deletions. Also minor fixes to AudioDeviceManager and Midi sysex parsing. 2010-11-01 17:51:09 +00:00
Julian Storer
b80bb4bf38 Small change to method in RectanglePlacement and Drawable to use Rectangles instead of bare coordinates. Fix to make ValueTree::sort use an UndoManager, and to prevent different mouse buttons being interpreted as a double-click. 2010-10-18 16:04:32 +01:00
Julian Storer
32081a387c Minor code clean-ups 2010-08-27 22:16:14 +01:00
Julian Storer
de4d8a5a14 Minor code clean-ups. 2010-08-23 21:10:37 +01:00
Julian Storer
6c4d8023bd Cleaned up and restructured some app startup code. Updated some iPhone settings. 2010-07-10 11:41:07 +01:00
Julian Storer
06cd5f5ed1 Minor iphone compile tweaks. 2010-07-02 16:29:21 +01:00
Julian Storer
79b8ffa007 Made ResizableWindow slightly more resilient. Added a method to OwnedArray. 2010-06-18 11:33:53 +01:00
Julian Storer
ed97872c1a Tidied up some filenames, cleaned up some code. Removed VoidArray class (just use Array<void*> instead) 2010-05-14 15:18:44 +01:00
Julian Storer
b56494b29b Replaced the old atomic ops with a templated Atomic class. Minor tweaks to directory browser. Jucer development. 2010-05-03 21:23:45 +01:00
Julian Storer
7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 2010-04-30 11:00:38 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
jules
af73276aea Minor clean-ups. 2010-04-16 09:44:21 +01:00
Julian Storer
d083d4f22f Minor fixes for menus, linux fonts, mac http streams. 2010-04-15 13:25:02 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
8de537e52c Minor Jucer updates. Fix for strange PNG problem. ICC and VC6 compilation changes. 2010-03-30 12:27:57 +01:00
Julian Storer
4f704c4d33 Compiler compatibility changes. Minor clean-ups. Linux windowing tweaks. 2010-03-29 14:22:11 +01:00
Julian Storer
e0e12a8bd9 Small fix to ListenerList. 2010-03-26 14:22:00 +00:00
Julian Storer
7bc8db2ff4 Minor code style tweaks. 2010-03-21 12:06:36 +00:00
Julian Storer
d9d1c4c995 New methods for PropertiesFile. Fix for InterprocessConnection. 2010-03-17 10:43:30 +00:00
Julian Storer
4ed63991e2 Work-arounds for compiling with VC6. 2010-03-11 11:37:40 +00:00
Julian Storer
2676bb02f2 Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel. 2010-03-07 17:45:10 +00:00
Julian Storer
bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 2010-02-25 18:31:06 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +00:00
Julian Storer
39b583fe1e Modernised some old code. 2010-02-20 15:27:48 +00:00
Julian Storer
80829d996f Fix to get plugins running in Wavelab. 2010-02-19 12:22:24 +00:00
Julian Storer
35a4b5085f Updated Timer code to avoid a rare messaging problem. Fixed a couple of minor build errors. Rearranged the atomic functions and added a new compare-and-swap operation. Added a thread-priority tweak to WASAPI. Removed MS-specific classes from the web browser component. 2010-01-27 20:28:38 +00:00
Julian Storer
1674e4f04f Removed win32 compile warnings, fixed a couple of mac 10.4 definitions. 2010-01-21 10:28:02 +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
d7cbfe93c5 Minor tidying up. 2010-01-11 12:17:43 +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
c22c06c80c New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns. 2010-01-02 23:01:18 +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
802f850015 Changed the way Mac messaging works internally to avoid shutdown problems with plugins. Updated some iPhone code. Fixed a CoreGraphics line drawing problem. 2009-11-16 15:19:16 +00:00
Julian Storer
1fc8f483e2 Tweaked lots of code to help things compile on the iPhone (still work-in-progress). 2009-10-12 13:30:04 +01:00
jules
4d16424d9c Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly. 2009-08-22 21:57:23 +00:00