1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
Commit graph

75 commits

Author SHA1 Message Date
Julian Storer
b047d9be53 More 'nullptr' updates and minor clean-ups. 2011-04-07 22:20:25 +01:00
Julian Storer
f04309f44a Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers. 2011-04-07 13:49:01 +01:00
Julian Storer
e0a38a30db Minor tweaks to the software renderer, introjucer and vst wrapper. 2011-04-05 20:11:38 +01:00
Julian Storer
9f6e8f8e00 String encoding fix. 2011-03-15 11:53:23 +00:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
5c1fda8261 Minor comments and formatting changes. 2011-02-26 19:31:09 +00:00
Julian Storer
533e7ba795 Many more String changes, so that finally the String class can store its internal data as either utf8, 16 or 32 - this is controlled by a flag JUCE_STRING_UTF_TYPE. It's currently set to utf-8 by default. 2011-02-22 15:33:30 +00:00
Julian Storer
f471f0a72d Added some wchar_t constructors to StringArray. Altered the Typeface class to let subclasses create edgetables for glyphs. Android development. 2011-02-21 13:02:29 +00:00
Julian Storer
3dfbb0d713 Changes to Image::BitmapData constructors, replacing the bool with a more explicit enum for the read/write mode. Some win32 dLL declarator changes. Android work. Small Quicktime fix. 2011-02-09 10:50:19 +00:00
Julian Storer
571a2626da Fixed an image anti-aliasing problem. Created some new methods in AudioIODeviceType to create device-specific types. Tidied up some win32 DLL build problems. Added support for drag-and-drop from iTunes on mac. 2011-02-04 12:20:04 +00:00
Julian Storer
c6b81ebf51 Added a setHeader() method to TableListBox. New utility class TreeView::OpennessRestorer. 2011-01-25 19:09:44 +00:00
Julian Storer
0a9cbd36c4 Minor tweaks to MidiMessage, Label. Removed some intel compiler warnings. 2011-01-20 14:23:46 +00:00
Julian Storer
5d30aecaf2 Removed a couple of old classes: MagnifierComponent (you can use Component::setTransform() instead), and MouseHoverDetector (wasn't really very useful anyway - if you need it, please just take a copy of the class and use it in your own code). Renamed the PopupMenuCustomComponent as an inner class PopupMenu::CustomComponent. Added a default constructor for MidiMessage. 2011-01-09 21:59:02 +00:00
Julian Storer
23f9653509 Fixed a silly font bug. Cleaned up some compiler warnings. Added a way to set the typeface cache size. 2011-01-03 11:00:26 +00:00
Julian Storer
2c669674ad Fix for listbox and table multi-selection. Internal updates for relative positioning. Additions to Typeface class to allow hinted subclasses. 2011-01-02 14:59:43 +00:00
Julian Storer
5f347bc999 Updated the path flattening code to correctly observe tolerance values, and made the tolerances adapt to the scaling being used when drawing to a transformed graphics context. Fixed a small issue with focus listeners, and a mac menu dismissal problem. 2010-12-15 17:20:26 +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
1629f9f66a Created a new method Graphics::beginTransparencyLayer(), to help with compositing semi-transparent rendering. 2010-11-26 17:29:27 +00:00
Julian Storer
b952084419 Workarounds for VC6. 2010-11-17 14:01:14 +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
8b92a43b27 Added platform-specific data to AudioPluginInstance. Fixed an image rendering problem in the software renderer. Added a minimum scale setting to TabbedButtonBar. 2010-11-10 20:39:34 +00:00
Julian Storer
377b9ff2c4 Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces. 2010-10-26 16:46:19 +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
b161c0f437 Minor code clean-ups. 2010-09-01 19:15:20 +01:00
Julian Storer
ccd8566e96 Fix for iOS launching. Tweak for win32 font rendering. Added a File::hostApplicationPath flag. 2010-07-23 12:33:27 -05: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
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
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
00b082caf6 New arrowhead and polygon methods for Path and PathStrokeType. Tweaked a few Path methods to take Line and Point objects instead of loose coordinate parameters. Various new geometric methods and more refactoring of Drawables. Misc fixes for CoreGraphics, AudioFormat. 2010-06-08 10:39:46 +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
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
3f68ec0b84 Improved software glyph rendering. Misc fixes. 2010-05-15 22:30:43 +01:00
Julian Storer
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
f4a7a709ae Minor graphics speed optimisations. 2010-05-10 12:00:49 +01:00
Julian Storer
42666db484 Some win32 clean-ups. 2010-05-10 11:16:00 +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
266494a1b9 Minor code clean-ups. 2010-05-08 18:16:09 +01:00
Julian Storer
082dff25dd Refactored the Line class to be templated (to update old code, just replace "Line" with "Line<float>"). Corrected a mac ppc build problem. 2010-04-26 15:47:21 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
61252d75c6 Added some compiler optimisations to the win32 graphics code in debug mode. 2010-04-14 11:40:25 +01:00
Julian Storer
b67c077f0d Minor code clean-ups. 2010-03-27 18:29:09 +00:00
Julian Storer
605e06946f MD5 fix. 2010-03-12 10:19:33 +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
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +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
b2e5ef2bd6 Minor code modernisations. 2010-02-03 19:05:03 +00:00