1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00
Commit graph

56 commits

Author SHA1 Message Date
Julian Storer
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +01:00
Julian Storer
0e59a56a51 Couple of minor changes to Line and Graphics methods. Small fix for mouse event handling. 2010-06-08 19:11:26 +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
1baaa016bd Tidied up some linux messaging code. Fixed a couple of small graphic bugs. 2010-05-30 12:56:29 +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
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
266494a1b9 Minor code clean-ups. 2010-05-08 18:16:09 +01:00
Julian Storer
b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 2010-05-04 21:27:45 +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
2bb19e2a4d Modal mouse event fix. Jucer development. 2010-05-01 10:44:04 +01:00
Julian Storer
27d1d9a9d9 Minor clean-ups. 2010-04-29 16:30:38 +01:00
Julian Storer
636ed22863 Minor fixes to LassoComponent, ReferenceCountedArray, Plugin demo resizing. Added deselect method to FileBrowserComponent, made TreeViews update widths when scrolling sideways. Jucer development. 2010-04-29 10:46:26 +01:00
Julian Storer
5093ecbc84 Minor clean-ups. Jucer development. 2010-04-27 19:19:18 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
0490668407 Small socket fix. Minor changes to MouseCursor static data. 2010-04-16 10:04:53 +01:00
Julian Storer
0fe89aa299 Fixed a few minor warnings found by valgrind. 2010-04-15 20:51:51 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
00ac238956 ResizableBorderComponent fix. Jucer development. 2010-04-04 09:52:03 +01:00
Julian Storer
cc5f0a50b9 Internal changes to ResizableBorderComponent to expose a Zone class. 2010-04-02 21:20:11 +01:00
Julian Storer
1ef2087154 Minor clean-ups. Jucer development. 2010-04-01 16:57:40 +01:00
Julian Storer
b67c077f0d Minor code clean-ups. 2010-03-27 18:29:09 +00:00
Julian Storer
59569fb58e Documentation fixes. 2010-03-23 20:56:48 +00:00
Julian Storer
7bc8db2ff4 Minor code style tweaks. 2010-03-21 12:06:36 +00:00
Julian Storer
148e9f8d25 Minor code style tweaks. 2010-03-20 22:18:59 +00:00
Julian Storer
06fb01aab3 Minor string tweaks. 2010-03-15 18:48:36 +00:00
Julian Storer
34201bf815 Linux build fixes. 2010-03-15 15:03:31 +00:00
Julian Storer
574694f458 Corrected geometry of drawLine in CoreGraphics to match the software renderer. Minor code clean-ups. 2010-03-13 18:38:56 +00:00
Julian Storer
24a73b96ef Fix to prevent win32 mouse event queuing and some mouse cursor update problems. Changes to internal string storage. 2010-03-12 19:47:28 +00:00
Julian Storer
8b7f38f30c Minor fixes. 2010-03-07 22:25:25 +00:00
Julian Storer
b974203d0f Couple of new methods for String. Cleaned up some component code to use SafePointers. 2010-03-07 13:01:33 +00:00
Julian Storer
c9c8824294 More mouse input refactoring. 2010-02-26 16:10:48 +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
187173da62 New class MouseInputSource. 2010-02-24 13:20:02 +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
bb60371f1c Couple of minor fixes. 2010-02-24 09:11:04 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +00:00
Julian Storer
6b79430341 Refactored some String operators to bring them into line with c++ best practices. Removed the JUCE_STRINGS_ARE_UNICODE flag - all strings are now unicode by default. Removed the String class's implicit cast to const char* and copyToBuffer() method, replacing them with toCString(), toUTF8(), copyToCString(), copyToUnicode(), etc., so that it'll force users to think about the encoding they want to use in a particular context. Added the ability to pass a String directly to a std::ostream. Extended the juce version number to include a build number. 2010-02-21 19:04:41 +00:00
Julian Storer
b86423193e Minor clean-ups. 2010-02-20 16:07:36 +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
ba572201dd Changed the ComponentBoundsConstrainer to use Rectangles in its method parameters. Fixed some window repositioning problems with multiple monitors. 2010-02-09 18:39:52 +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
6a4e8f235c Minor fixes and warning removals for VC7. 2010-01-17 22:44:16 +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
59a2506864 Minor code clean-ups 2010-01-03 16:17:42 +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