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

67 commits

Author SHA1 Message Date
Julian Storer
e235912ae5 Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats. 2011-01-27 20:34:05 +00:00
Julian Storer
e7f4dac9f9 Removed the PositionedRectangle class (this has been superseded by the RelativeRectangle class. If you still need PositionedRectangle in your code, just grab a copy of the class from the last revision and put it directly into your codebase). Changed the BorderSize class to be templated like Point, Line, Rectangle, etc - if you've used a BorderSize anywhere, just replace "BorderSize" with "BorderSize<int>" to get it compiling again. Updated Graphics::drawDashedLine to take a Line object. 2011-01-13 12:55:26 +00:00
Julian Storer
2bb0c77216 New class: WeakReference. Used this to clean up and simplify implementation of Component::SafePointer and BailOutChecker. 2010-12-20 16:52:20 +00:00
Julian Storer
76b128d90e Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox. 2010-12-11 19:56:47 +00:00
Julian Storer
7b955dd6c3 Small fixes for mouse positioning. Clean-up for win32 CD reader code. 2010-12-06 19:30:15 +00:00
Julian Storer
c3b257a088 Small fix for AudioThumbnail. Minor internal clean-ups. 2010-12-05 18:20:32 +00:00
Julian Storer
99085429b5 Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow. 2010-12-03 23:36:00 +00:00
Julian Storer
952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 2010-11-29 16:22:06 +00:00
Julian Storer
a5cf4030f5 New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes. 2010-11-29 12:24:55 +00:00
Julian Storer
aef3203a28 Fixed an image resizing bug. Tweaked a couple of methods in KeyMappingEditorComponent and TableListBox to return references instead of pointers. Changed Component::contains() to take a Point rather than raw coordinates. Modernised some UI classes internally. Extended some internal graphics classes to handle affine transforms. 2010-11-15 14:04:01 +00:00
Julian Storer
79899f87e0 Fix for mouse event click counts. Fix for webkit mouse-moves. Cleaned up some Component coordinate conversion methods, adding some new ones for rectangle conversion. 2010-11-08 22:45:19 +00: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
4bc85a9dc3 Added display rotation support for iOS - see the Desktop class for implementation methods. Also fixed a couple of minor build issues. 2010-10-13 19:16:01 +01:00
Julian Storer
0a6aaea93b Minor updates for plugins. Fixed some X windows locking. 2010-09-14 22:27:43 +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
fe92227a4d OpenGL tweaks. 2010-07-09 10:01:02 +01:00
Julian Storer
7436e26887 Small updates to OpenGLContext. 2010-07-08 21:08:15 +01:00
Julian Storer
e3d97820d1 New methods for Path, Line, ValueTree. Changed the Graphics::fillCheckerBoard parameters to take a Rectangle object. Fixed Component::centreWithSize to handle multi-monitor setups. 2010-06-23 11:02:30 +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
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
4537a6ec01 Changed the way linux always-on-top windows are handled. Couple of minor tweaks to drawables. Jucer development. 2010-05-24 12:07:33 +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
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
9a55b0291e Rewrite of software renderer to improve vertical line drawing speed. 2010-05-09 20:52:21 +01:00
Julian Storer
7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 2010-04-30 11:00:38 +01:00
Julian Storer
27d1d9a9d9 Minor clean-ups. 2010-04-29 16:30:38 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
0fe89aa299 Fixed a few minor warnings found by valgrind. 2010-04-15 20:51:51 +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
8532475b9c Added a few methods to Range, and used Ranges internally in Slider. Cleaned up a few files. 2010-03-30 15:23:53 +01:00
Julian Storer
4f704c4d33 Compiler compatibility changes. Minor clean-ups. Linux windowing tweaks. 2010-03-29 14:22:11 +01:00
Julian Storer
b67c077f0d Minor code clean-ups. 2010-03-27 18:29:09 +00:00
Julian Storer
66643e85ac Minor string changes. 2010-03-26 18:23:54 +00:00
Julian Storer
367dfa9942 Added linux ARGB mouse cursor support. 2010-03-26 13:20:48 +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
97e9095933 Minor iPhone GL updates, fix for juce_WithoutMacros.h 2010-03-20 20:45:49 +00:00
Julian Storer
a94ebc0461 Added openGL support for the iPhone. 2010-03-20 14:07:33 +00:00
Julian Storer
5419ebc520 Fixed shadowing option for linux semi-transparent windows. 2010-03-09 10:55:43 +00:00
Julian Storer
55922e91da Fixed typo in linux code. 2010-03-08 15:48:43 +00:00
Julian Storer
a0adefc86e Added XRender support for semi-transparent windows in linux. Fixed a couple of vst build errors. 2010-03-08 15:02:55 +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
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
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +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
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