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

103 commits

Author SHA1 Message Date
Julian Storer
2009753eac Cleaned up some obscure compiler warnings and added some JSON unit tests. 2011-06-12 19:52:58 +01:00
Julian Storer
67e22bbb56 Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour. 2011-05-30 21:10:57 +01:00
Julian Storer
94b07cb09b Added quality options to FlacAudioFormat. Fixed a positioning error in embedded NSViewComponents. Fixes to KnownPluginList, ResizableCornerComponent. Component findColour tweak. 2011-05-17 18:56:39 +01:00
Julian Storer
981ef9313c Android fixes. Caret colour fix. VST host recursion check clean-up. 2011-05-12 13:46:32 +01:00
Julian Storer
97f8de4323 More iOS touch fixes. Tweaks to AudioProcessorGraph and PopupMenu, ComponentPeer. 2011-04-30 12:44:38 +01:00
Julian Storer
f4c4f310e1 Refactored the DragAndDropTarget callback methods, to replace the parameters with a structure. This also affects the TreeViewItem drag-and-drop callback methods. 2011-04-14 13:33:01 +01:00
Julian Storer
b047d9be53 More 'nullptr' updates and minor clean-ups. 2011-04-07 22:20:25 +01:00
Julian Storer
46c3a6bbe5 CustomTypeface unicode fix. Misc nullptr additions. 2011-04-07 16:49:14 +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
904e1aba45 A couple of minor fixes, and changed code to use std::swap instead of swapVariables() 2011-04-01 09:38:25 +01:00
Julian Storer
453425ccd5 win32 paint fix. Initial steps towards supporting win32 IME. Fix for win32 NamedPipe hang. 2011-03-24 14:47:44 +00:00
Julian Storer
c15d414895 Fix for linux build, lookandfeel typo, VS2005 sockets. Added a class ZipFile::Builder for creating zip files. 2011-03-12 22:29:46 +00:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
0e4a0df2c2 (Added files missing from last check-in) 2011-03-04 17:31:59 +00:00
Julian Storer
3f97694143 Added a Component::setBounds method to take an expression. Fix for deleting CoreAudio devices. 2011-02-18 09:54:52 +00:00
Julian Storer
3fe85fd17a Fix for mono files in QuicktimeAudioFormat. Avoided some floating-point comparison warnings. Added some iOS options in the new jucer plist. Fix for audio host startup. Changes to allow backslashes in unix filenames. 2011-02-17 10:22:36 +00:00
Julian Storer
2a86002b31 New class: ResizableEdgeComponent. 2011-02-16 18:13:50 +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
c10c810aee Minor fixes for mac strings, WAV format, DrawableButton hit tests, win32 clipboard. New class: CharPointer_ASCII. Changes to the callback methods for ValueTree::Listener, to provide more detailed information about the event. 2011-01-31 09:28:06 +00:00
Julian Storer
eb24745a3f Improvement and unit test for AbstractFifo. More Expression parsing tweaks. 2011-01-21 13:54:53 +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
b0ba2f7388 Added a simple utility class: ScopedValueSetter. 2011-01-11 18:12:02 +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
7478c7f9ab win32 font fix. Tidied up warnings in plugin host. More drawable refactoring. TabbedComponent fix. 2011-01-04 23:04:51 +00:00
Julian Storer
e0ca6d6ca4 Small fixes for ComboBox items and AudioThumbnail. Reorganisation of all the RelativeCoordinate classes into their own folder. New RelativeCoordinatePositionerBase class and internal work on DrawablePath. 2011-01-03 18:08:28 +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
ea9a2c095d Fixes for 64-bit AUs and NamedValueSet. 2011-01-01 12:45:48 +00:00
Julian Storer
faecab9ca5 Refactoring of Drawables with new class MarkerList. Fixes for Mac 10.5 SDK includes and minor change to win32 repainting. 2010-12-30 18:07:29 +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
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
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
4cfdcb69fd Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string. 2010-11-19 22:03:35 +00:00
Julian Storer
b952084419 Workarounds for VC6. 2010-11-17 14:01:14 +00:00
Julian Storer
cc607e0a38 Fix for TableListBox. Minor tweaks for ResizableBorderComponent, Component. 2010-11-16 18:19:07 +00:00
Julian Storer
9896b75340 Internal code modernisation. 2010-11-15 20:34:32 +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
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
584d9a4ec0 Fixes for ComponentBoundsConstrainer, linux VSTs, and firefox NPAPI. 2010-10-28 17:53:52 +01:00
Julian Storer
ab368cd3ac Improved icons in the new Jucer. Minor fixes to ComponentBoundsConstrainer. 2010-10-27 18:48:47 +01: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