46 Commits (b2e0b43960d4fe6efa02cdcc7f2469590c1418a4)

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. 15 years ago
  Julian Storer 0c27487eca Minor fixes for MouseEvent, posix mutexes, FillType. 15 years ago
  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. 15 years ago
  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. 15 years ago
  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. 15 years ago
  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. 15 years ago
  Julian Storer ed97872c1a Tidied up some filenames, cleaned up some code. Removed VoidArray class (just use Array<void*> instead) 15 years ago
  Julian Storer 1751beed57 Code clean-ups. Jucer development. 15 years ago
  Julian Storer b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 15 years ago
  Julian Storer 7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 15 years ago
  Julian Storer 27506c2120 Copyright notice update. 15 years ago
  Julian Storer c85d54b1cb Minor tweaks. Jucer development. 15 years ago
  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. 15 years ago
  jules af73276aea Minor clean-ups. 15 years ago
  Julian Storer d4435ca8b8 Minor clean-ups. Jucer development. 15 years ago
  Julian Storer cc5f0a50b9 Internal changes to ResizableBorderComponent to expose a Zone class. 15 years ago
  Julian Storer 8afb26072f Minor updates to ValueTree, SelectedItemSet, zlib symbols, Jucer. 15 years ago
  Julian Storer 66643e85ac Minor string changes. 15 years ago
  Julian Storer 841a6665bd Minor string literal tidy-ups. 15 years ago
  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. 15 years ago
  Julian Storer 81b2e7818d Couple of minor mouse-pointer fixes. 15 years ago
  Julian Storer 4ed63991e2 Work-arounds for compiling with VC6. 15 years ago
  Julian Storer 19c332a144 Minor plugin code fix + clean-ups. 15 years ago
  Julian Storer 1e1e4ae848 Removed the ComponentDeletionWatcher class - use Component::SafePointer or Component::BailOutChecker instead. 15 years ago
  Julian Storer 28518aa834 Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build. 15 years ago
  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. 15 years ago
  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. 15 years ago
  Julian Storer bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 15 years ago
  Julian Storer 84a8695561 Moved cursor update and unbounded mouse movement handling code into MouseInputSource. 15 years ago
  Julian Storer 9657241c10 Internal refactoring of mouse-event classes, as the first step towards multi-touch support. 15 years ago
  Julian Storer 08eb852103 Minor code clean-ups. 15 years ago
  Julian Storer 8820020213 Added support for extended character input on the mac. Added a few methods to Rectangle and Range. 15 years ago
  Julian Storer d8e16ccc06 Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints. 15 years ago
  Julian Storer 06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 15 years ago
  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. 15 years ago
  Julian Storer fe4a37ef49 Added a sort method to the TreeView class. 15 years ago
  Julian Storer 22ecd45505 Code clean-ups. 15 years ago
  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. 15 years ago
  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). 16 years ago
  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. 16 years ago
  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. 16 years ago
  Julian Storer a2183daee5 VC6 compatibility updates 16 years ago
  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. 16 years ago
  Julian Storer 03b54862c5 Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff 16 years ago
  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! 16 years ago
  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. 16 years ago
  jules eb32240e95 Updated the text of the copyright/license blurb at the top of each source file. 16 years ago
  jules 18533f9984 changed the parameters to the keyStateChanged method, to sort out a problem with texteditor key interception that was otherwise impossible to fix. Made a couple of changes to the Mac NPAPI window positioning code; got rid of a couple of win32 warnings; added a couple of missing JUCE_API declarations; small fix to DragAndDropContainer; allowed var objects to be cast to a string. 16 years ago
  jules 453646d068 Whitespace clean-ups. 16 years ago
  jules 749c2be6cb Tweaks to VST for building on linux; improved linux code for detecting the executable's file path; small changes to linux window hinting; change on the Mac to fix app shutdown when the app isn't currently active; added Mac support for 3rd mouse button; fix to AudioDeviceManager thread safety when changing midi output devices; fix to DrawableButton text; made ComponentAnimator a change broadcaster to send messages when animations stop and start; small fix to DatagramSocket. 16 years ago