1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00
Commit graph

46 commits

Author SHA1 Message Date
Julian Storer
b2e0b43960 Big rewrite to the internals of modal components, with a new class ModalComponentManager. This now lets you use modal components asynchronously, providing an object which will receive a callback when they are dismissed, rather than using a blocking event loop. ComboBoxes and some other components now show their popups asynchronously. 2010-06-13 19:09:20 +01:00
Julian Storer
0c27487eca Minor fixes for MouseEvent, posix mutexes, FillType. 2010-06-03 10:28:18 +01:00
Julian Storer
24673283eb Major change to the way the Image class works, making it use value semantics and internally shared data (see the forum notes for more info on this). Also minor changes to win32 browser plugin object ref counting and linux millisecond timers. 2010-06-01 18:01:13 +01:00
Julian Storer
8ff6737261 Major changes to the way Drawables are converted to ValueTrees (with more changes still to come in this area). Important fix to DirectoryIterator. Minor fix for ASIO. Jucer development. 2010-05-21 22:29:31 +01:00
Julian Storer
9d00c15b67 Stage 1 of a redesign of Drawables - instead of a DrawableComposite storing a tranform for each child, each type of drawable now stores its own transform, and these are represented as remapped points instead of affine transforms. Plus, lots of minor tweaks and jucer development. 2010-05-19 14:42:14 +01:00
Julian Storer
b46e94cffd New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development. 2010-05-15 13:22:26 +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
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 2010-05-04 21:27: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
Julian Storer
c85d54b1cb Minor tweaks. Jucer development. 2010-04-21 23:02:37 +01:00
Julian Storer
e663b1a04c Small fix for tab-key focus movement. Added default property option to ValueTree. RTAS change for mac shutdown problems. Rearranged Atomic methods. Jucer development. 2010-04-19 15:39:15 +01:00
jules
af73276aea Minor clean-ups. 2010-04-16 09:44:21 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
cc5f0a50b9 Internal changes to ResizableBorderComponent to expose a Zone class. 2010-04-02 21:20:11 +01:00
Julian Storer
8afb26072f Minor updates to ValueTree, SelectedItemSet, zlib symbols, Jucer. 2010-03-31 23:00:27 +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
f316faaa04 Change posix juce_readFile to always return >= 0. Sorted out a casting error in carbon AU plugins. Tidied up a bunch of win32 warnings. 2010-03-22 21:05:42 +00:00
Julian Storer
81b2e7818d Couple of minor mouse-pointer fixes. 2010-03-15 14:08:40 +00:00
Julian Storer
4ed63991e2 Work-arounds for compiling with VC6. 2010-03-11 11:37:40 +00:00
Julian Storer
19c332a144 Minor plugin code fix + clean-ups. 2010-03-08 20:18:20 +00:00
Julian Storer
1e1e4ae848 Removed the ComponentDeletionWatcher class - use Component::SafePointer or Component::BailOutChecker instead. 2010-03-08 19:22:48 +00:00
Julian Storer
28518aa834 Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build. 2010-03-08 18:16:24 +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
5fecb8a353 Created a new class Component::SafePointer that keeps a pointer to a component and automatically nulls it if the component is deleted - this makes it a much more elegant replacement for the old ComponentDeletionWatcher class. Removed Component::getComponentUnderMouse(), which doesn't fit with multi-touch interfaces - for similar functionality, use the Desktop::getMouseInputSource() methods to find out what MouseInputSources are available, and ask them about the component they are over or dragging. 2010-02-25 22:33:44 +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
84a8695561 Moved cursor update and unbounded mouse movement handling code into MouseInputSource. 2010-02-25 10:08:00 +00:00
Julian Storer
9657241c10 Internal refactoring of mouse-event classes, as the first step towards multi-touch support. 2010-02-24 13:19:10 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +00:00
Julian Storer
8820020213 Added support for extended character input on the mac. Added a few methods to Rectangle and Range. 2010-02-18 16:49:30 +00:00
Julian Storer
d8e16ccc06 Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints. 2010-02-17 10:12:46 +00:00
Julian Storer
06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 2010-02-16 18:31:44 +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
fe4a37ef49 Added a sort method to the TreeView class. 2010-02-03 23:03:38 +00:00
Julian Storer
22ecd45505 Code clean-ups. 2010-02-03 21:27:10 +00:00
Julian Storer
63d3d8a77e New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug. 2010-01-29 10:31:12 +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
97035bb3a1 Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups. 2010-01-13 18:58:40 +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
a2183daee5 VC6 compatibility updates 2009-12-22 20:59:32 +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
03b54862c5 Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff 2009-12-09 15:44:27 +00:00
Julian Storer
d779fa9759 The first working check-in of an iPhone build! Added an iPhone project for the normal juce demo, which runs.. although it isn't exactly designed for a hand-held form factor!
Also in this check-in is support for creation of custom Mac MIDI input and output devices, and an option to load URLs with the QuickTimeComponent
2009-11-13 16:17:22 +00: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
Renamed from src/juce_appframework/gui/components/juce_Component.cpp (Browse further)