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
|
1577be257c
|
Fix for osx10.5 window resizing. Misc Jucer tweaks.
|
2010-10-25 09:32:31 +01:00 |
|
Julian Storer
|
4e1c66b02e
|
Added an alpha setting to Components with Component::setAlpha(). Removed Component::fadeOutComponent method and instead refactored the ComponentAnimator class to provide fading in and out of the alpha level. Added a method Desktop::getAnimator() that provides a global instance of a ComponentAnimator so that there's no need to create your own.
|
2010-10-23 21:05:21 +01:00 |
|
Julian Storer
|
9a1fde0470
|
Fixed a win32 mouse position problem. Added quality option to FLAC writer. Added support for non-opaque menus.
|
2010-09-29 17:54:01 +01:00 |
|
Julian Storer
|
9f0c91196f
|
Added method Image::getClippedImage(), which allows the use of images that refer to subsections of another image. This means that the the parameters to a couple of Graphics methods no longer need a clipping rectangle. Also dded a static Image::null object and another constructor for Image::BitmapData.
|
2010-07-09 13:35:50 +01:00 |
|
Julian Storer
|
fab2c76194
|
Added a few methods to Rectangle. Small fix for ValueTrees.
|
2010-06-16 10:55:00 +01:00 |
|
Julian Storer
|
2df522076b
|
Improvements to mouse wheel response on the mac, allowing much better smooth-scrolling, and also mouse-wheel improvements in the Viewport class to make it respond more fluidly. Also misc small fixes and tweaks.
|
2010-06-15 19:57:55 +01:00 |
|
Julian Storer
|
ec021e9e67
|
Minor fixes for PopupMenu, AudioProcessorPlayer
|
2010-06-14 11:25:17 +01:00 |
|
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
|
83fb316e32
|
PopupMenu fix.
|
2010-06-03 10:51:57 +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
|
1b6eb960e3
|
Added HTTP header retrieval functionality to the URL class. More drawable and Jucer development.
|
2010-05-25 14:31:50 +01:00 |
|
Julian Storer
|
1751beed57
|
Code clean-ups. Jucer development.
|
2010-05-12 23:42:49 +01:00 |
|
Julian Storer
|
27506c2120
|
Copyright notice update.
|
2010-04-23 09:37:13 +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
|
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
|
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
|
08eb852103
|
Minor code clean-ups.
|
2010-02-22 15:28:18 +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
|
bc41a46dab
|
Fix for atomics in OSX10.4, and popup menus on unusual monitor arrangements.
|
2010-02-09 15:08:59 +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
|
ded4826413
|
Minor code tidy-ups.
|
2010-02-05 22:01:47 +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
|
8bf4d88d97
|
Minor clean-ups.
|
2010-01-04 15:24:13 +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
|
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 |
|