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

177 commits

Author SHA1 Message Date
Julian Storer
7bfa419f17 Changed the return type of TimeSliceThreadClient::useTimeSlice(). 2011-01-19 18:15:24 +00:00
Julian Storer
f01340e4aa Lots of refactoring of the Expression and relative coordinate classes. This has changed some of the semantics that were in place, so any early adopters who had been playing with RelativeRectangles may need to check their expressions. 2011-01-18 21:05:55 +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
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
f19e4d1c04 Added workarounds for mouse-wheel events in win32 VSTs and mouse-moves in carbon AUs and VSTs. Fixed a problem when swapping between carbon/cocoa views in AUs. 2011-01-09 13:46:36 +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
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
ece4205d3d Refactored some operators in Time and RelativeTime, and made the Time constructor explicit. 2010-12-21 18:22:05 +00:00
Julian Storer
968d63bca6 Tidied up some doxygen comments. 2010-12-21 14:34:02 +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
d60f661789 Changed the Message class to be reference-counted, and used this to tighten up some messaging code. Minor tweaks to AudioThumbnail, ReferenceCountedArray. 2010-12-19 19:33:52 +00:00
Julian Storer
098abe4a2f Fixed a very very subtle component bug. Added peak level detection to AudioThumbnail. Tidied up some old demo plugin UI code. 2010-12-17 12:35:56 +00:00
Julian Storer
4d6b2daa93 Tweaks to fake mouse-move behaviour. Improvements to WASAPI performance. AudioFormatManager is no longer a singleton - just create your own instance and use it instead. 2010-12-16 16:32:13 +00:00
Julian Storer
f402ce803b Fixes for button behaviour. 2010-12-14 17:49:52 +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
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
709f573997 Minor clean-ups and tweaks to AudioProcessorGraph, TreeView. 2010-12-10 21:25:07 +00:00
Julian Storer
897c3e1fa7 Made linux getMillisecondCounter() run monotonically. Added a new class Decibels, with some decibel conversion methods. Minor updates to AudioThumbnail and FileInputSource. 2010-12-08 18:54:17 +00:00
Julian Storer
c4029bc86d Updated MSVC solution files. Cleaned up some more win32 CD-reader and DSound code. 2010-12-06 22:38:28 +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
1e8a28679f AU editor fix. Added a descriptive name field to PluginDescription. 2010-11-26 12:42:56 +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
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
030489f086 Added a couple of handy methods XmlDocument::parse(). 2010-11-03 19:46:10 +00:00
Julian Storer
59ac5a6d25 Fixed a bug in the Flac writer. Optimised BigInteger::getHighestBit(). Misc minor clean-ups. 2010-11-03 16:12:05 +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
0a1f3857ae Couple of minor fixes and clean-ups to various components. 2010-10-24 16:27:44 +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
618d3fdf64 Tidied up some win32 linkage declarations. Fixed some component size constraining problems on mac and win32. 2010-10-20 20:37:09 +01:00
Julian Storer
e414760a26 Cleaned up a few compiler warnings + build problems. 2010-10-14 18:43:20 +01:00
Julian Storer
91e2759000 Fix for some broken Apple AudioUnit editors. Fix for amalgamated mac builds. Changed some mac debugging settings which didn't work. Updated the Jucer-generated audio plugins to match the current codebase. 2010-10-14 14:17:10 +01:00
Julian Storer
e9bff5db5b Added explicit call declarations to a few functions to allow building with different call types in MSVC. 2010-10-13 21:57:18 +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
c583b68cd6 Fixes for Quicktime, DrawableComposite. 2010-10-12 10:06:57 +01:00
Julian Storer
6277552ef5 Fixed a couple of linux file issues. Removed operator& overloads from a couple of places where they shouldn't have been done. Fixed a few minor win32 compile issues. Improved some internal COM object wrappers. 2010-10-11 14:52:18 +01:00
Julian Storer
d508109296 Refactored midi input code to allow unlimited syex length + partial sysex callbacks on win32. Fixed a few problems with menu bars, Quicktime, AudioUnits. Modernised some old win32 file chooser code. Tweaked some window border rendering. 2010-10-08 14:52:23 +01:00
Julian Storer
9168728a7e Added a hasEditor() virtual method to the AudioProcessor class, which you'll need to implement in your plugins so that we can work around non-standard threading behaviour in Wavelab. 2010-10-05 10:38:25 +01:00
Julian Storer
098f0af3ed Fixes for ZipFile, QuickTimeAudioFormat. 2010-10-02 17:10:06 +01:00
Julian Storer
0e2e4e7c3a New class AbstractFifo - a lock-free fifo helper class. New class AudioFormatWriter::ThreadedWriter, which helps stream an audio file to disk on a background thread. Simplified the juce demo audio recorder using this new class. 2010-09-29 17:58:46 +01:00
Julian Storer
9a1fde0470 Fixed a win32 mouse position problem. Added quality option to FLAC writer. Added support for non-opaque menus. 2010-09-29 17:54:01 +01:00