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

622 commits

Author SHA1 Message Date
Julian Storer
4009680f79 Removed the pre-built binaries and API docs - these will be stored elsewhere so not to bloat the repository. 2010-12-21 20:00:58 +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
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
c8799c9107 New class: NewLine, which provides a clean way to write new-line sequences to streams or strings, and a way to customise the new-line sequence used by an OutputStream. 2010-12-20 22:12:48 +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
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
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
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
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
12a6bdaa03 Couple of minor jucer tweaks. 2010-12-01 21:36:39 +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
640a335537 Big change for Drawables - they now inherit from Component, so can be added directly to other components and will draw themselves, rather than being painted into a graphics object (although you can still use them that way if you want to). 2010-11-26 13:02:40 +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
081744b177 Small win32 NPAPI update. 2010-11-26 12:53:22 +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
2c2a11dee9 Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates. 2010-11-21 16:53:03 +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
51b5570292 Added an 'open project' button to the new Jucer. 2010-11-17 17:48:27 +00:00
Julian Storer
9896b75340 Internal code modernisation. 2010-11-15 20:34:32 +00:00
Julian Storer
c108e00da0 Internal code modernisation. 2010-11-15 20:34:17 +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
030489f086 Added a couple of handy methods XmlDocument::parse(). 2010-11-03 19:46:10 +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
dbdea7c6d4 Removed the Component::getComponentUID() method, and slimmed down the component class implementation slightly. 2010-10-29 18:55:48 +01: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
cf641969d0 Created a new class: MACAddress, which replaces the old MAC address detection functions with a cleaner implementation. 2010-10-26 18:25:22 +01:00
Julian Storer
b238f2c3e1 Changed LookAndFeel::getDefaultFolderImage and getDefaultDocumentFileImage to return drawables instead of images. 2010-10-26 16:52:52 +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
1577be257c Fix for osx10.5 window resizing. Misc Jucer tweaks. 2010-10-25 09:32:31 +01:00
Julian Storer
cc5e15b37d Minor Jucer tweaks. 2010-10-24 18:53:18 +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
a25d9206d1 Refactored some Drawable classes and added DrawableRectangle. Fixed a problem with ApplicationCommandManager. 2010-10-21 15:46:25 +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
ea16741b3d Tweaks to the win32 camera capture code to reduce CPU load. 2010-10-18 21:03:17 +01:00
Julian Storer
b80bb4bf38 Small change to method in RectanglePlacement and Drawable to use Rectangles instead of bare coordinates. Fix to make ValueTree::sort use an UndoManager, and to prevent different mouse buttons being interpreted as a double-click. 2010-10-18 16:04:32 +01:00
Julian Storer
44ece5a54a Updated the new jucer to handle inherited preprocessor defs, and to use them when expanding some of its parameter strings. 2010-10-15 16:26:58 +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
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
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
5c49cdba8a Improved the coding standards used in the juce demo project. 2010-10-11 14:44:28 +01:00