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
|
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
|
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
|
6bf8b51c5a
|
Added X-windows locking for all linux windowing, and added a class ScopedXLock to allow it to be done around client code as well. Misc fixes for mac menus, win32 WM_QUIT messages, MidiKeyboardComponent. Added text colour id to DirectoryContentsDisplayComponent.
|
2010-01-24 20:46:34 +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
|
9e53cdc78e
|
Updated the API documentation
|
2009-12-20 16:01:35 +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
|
1f38660d94
|
Added mac NSException catching and tidied up some warnings.
|
2009-12-11 17:54:58 +00:00 |
|
Julian Storer
|
1f6d9ec92c
|
Added multiple-selection, and the ability to browse for both files and folders to the Juce file chooser dialog classes. This has involved changing a few methods, so if you're using these classes directly, you may need to tweak your code, but it should be very easy to do.
|
2009-12-08 16:07:47 +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
|
01f109e857
|
More graphics updates - new class FillType, which is now used by DrawablePath to specify its colours. New methods Graphics::clipToPath and Graphics::clipToImageAlpha. Added dynamic Xinerama loading.
|
2009-11-30 12:02:51 +00:00 |
|
Julian Storer
|
dad610b948
|
Added a getHighlightedFile method to the FileBrowserComponent
|
2009-11-09 11:21:18 +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
|
1fc8f483e2
|
Tweaked lots of code to help things compile on the iPhone (still work-in-progress).
|
2009-10-12 13:30:04 +01:00 |
|
Julian Storer
|
3ae9ac0295
|
added some changes to make the core library compile on the iPhone (none of the UI code is done yet). In the process of this, fixed some endianness problems in SystemStats::getMACAddresses, and changed some of the mac code for timing, directory searching, etc to use different APIs internally.
|
2009-10-08 15:43: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 |
|