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

96 commits

Author SHA1 Message Date
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
bd19111417 Cleaned up some comments and uses of setContentComponent(). 2011-02-16 14:45:10 +00:00
Julian Storer
8fd76650c4 RTAS ppq fix. New class OptionalScopedPointer. Deprecated the ResizableWindow::setContentComponent() method, replacing it with setContentOwned() and setContentNonOwned(), which provide a way to specify the component's ownership when it is added. 2011-02-11 22:16:07 +00:00
Julian Storer
2d10b0b43d Changes and additions to provide alternatives to modal-loop functionality (Android can't run modal loops). New class ModalCallbackFunction providing quick objects for making callbacks to static functions. Changes to remove modal loops from most of the internal library classes. Added new methods to PopupMenu to provide easier async callbacks, and also a cleaner way of specifying options when showing a menu. Fix for PNG decoding of corrupted image files. 2011-02-11 14:27:28 +00:00
Julian Storer
17040ecd02 Posix file-time-setting fix. Warning removal for intel compiler. 2011-01-21 17:50:32 +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
e05f6a2b95 Improvements to ComponentMovementWatcher to check visibility. TopLevelWindow activation fix. Changed MidiMessage default constructor to an empty sysex. 2011-01-11 15:37:31 +00:00
Julian Storer
efd1e4c88a Viewport positioning fix. Changed parameters of Viewport::visibleAreaChanged(). Small plugin header fix. 2011-01-10 12:33:38 +00:00
Julian Storer
c1d8ac22df New Component::setBounds() method using a RelativeRectangle.
Added Justification::appliedToRectangle() and RectanglePlacement::appliedTo(). Removed a behavioural oddity from TopLevelWindow which brought them to the front when made visible. More RelativeRectangle development. AU wrapper now detects app shutdown and closes its UI.
2011-01-08 22:27:28 +00:00
Julian Storer
e2ef26e91c Added an alertwindow font setting to the lookandfeel class. Made sure the ComponentListener::componentChildrenChanged is called when component z-order changes. Fix for CoreMidi output timestamps. 2011-01-06 15:32:11 +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
9973f5a81e New class ComponentBuilder, and some refactoring of Drawables to use it. 2010-12-29 23:11:05 +00:00
Julian Storer
cac0a7e3f8 Jack audio fix. New class LinkedListPointer. Couple of new menu methods in DocumentWindow. win32 window size constrainer tweak. 2010-12-26 22:56:10 +00:00
Julian Storer
7becff2aa4 Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32. 2010-12-21 12:44:45 +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
a37d5041dd Added a class Graphics::ScopedSaveState. Fixed a window dragging problem in win32, some VC6 compile errors, and made the jucer makefile builder use the target binary folder. 2010-12-13 20:06:12 +00:00
Julian Storer
709f573997 Minor clean-ups and tweaks to AudioProcessorGraph, TreeView. 2010-12-10 21:25:07 +00:00
Julian Storer
a768d7410f Small fixes to drag-and-drop, leak detector. 2010-12-01 12:45:13 +00:00
Julian Storer
fc04109434 Small fixes for MSVC compiler problems. 2010-12-01 09:42:36 +00:00
Julian Storer
4e52fac18e Fixed a linux time issue. Removed a blank line from the jucer's .sln file generator. Cleaned up some jucer code. 2010-11-30 19:23:37 +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
645637ab09 Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt(). 2010-11-26 12:57:24 +00:00
Julian Storer
75ff0c5e7e Cleaned up the AsyncUpdater and ChangeBroadcaster classes internally - these now have less overhead when creating and deleting them. Removed the ActionListenerList class, as all its functionality is already provided by ActionBroadcaster. 2010-11-20 18:07:46 +00:00
Julian Storer
9896b75340 Internal code modernisation. 2010-11-15 20:34:32 +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
aa71477712 Fixed a TabbedComponent bug. Fixed fallback fonts on win32. 2010-11-05 10:21:28 +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
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
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
b709f97739 Updates to WASAPI. Tweaks to resizable window borders. 2010-10-11 18:06:16 +01:00
Julian Storer
acbfe6c645 Couple of minor tweaks, and a fix for menu bars. 2010-10-08 20:35:04 +01:00
Julian Storer
f953c19efb Fix for CoreGraphics image loading on iOS. Auto-linked library fix for win32. 2010-09-01 14:29:16 +01:00
Julian Storer
622f823bf7 First experimental check-in of Direct2D rendering - not for public use yet! 2010-08-26 13:31:41 +01:00
Julian Storer
3e30e09afa Documentation fixes. Mac OpenGL fix. PositionableAudioSource tweak. Added new class: Expression, and changed RelativeCoordinate to use an Expression to store its position. 2010-08-18 08:36:30 +01:00
Julian Storer
23e07daec7 Minor code clean-ups. 2010-08-09 21:47:08 +01:00
Julian Storer
dcaa6ceb36 Minor fixes for mac 10.4 atomics, mouse dragging, tooltips. 2010-07-28 13:57:58 +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
216d258ceb Added workarounds for a truly moronic VC2005 compiler bug. Very, very annoyed at having to spend hours and compromise my coding style geting this to build properly... 2010-07-13 16:00:10 +01:00
Julian Storer
c20daf9740 Fixed a mac initialisation problem. 2010-07-12 21:18:14 +01:00
Julian Storer
907a9aaffe Tidied up a bunch of listener classes, making them child classes - e.g. ButtonListener becomes Button::Listener. Did this for ComboBox, Button, CameraDevice, Label, ScrollBar, Slider, TextEditor, TableHeaderComponent. (There are typedefs to make sure old code still works, though I might remove those in the future). 2010-07-11 11:46:36 +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
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
79b8ffa007 Made ResizableWindow slightly more resilient. Added a method to OwnedArray. 2010-06-18 11:33:53 +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
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +01:00
Julian Storer
1f21a94753 New class: CallOutBox, which produces a nice popup box - see the juce demo/widgets/buttons/"click to change colour" button for an example. SVG fix. 2010-06-09 11:16:02 +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