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

131 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
584d9a4ec0 Fixes for ComponentBoundsConstrainer, linux VSTs, and firefox NPAPI. 2010-10-28 17:53:52 +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
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
e299011789 Replaced the Image::getTag() method with a more versatile getProperties() method. Used this to set a flag called "originalImageHadAlpha" when loading images, which is set to indicate whether the original file had an alpha channel. 2010-10-21 18:07:16 +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
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
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
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
ba62157841 Added the AudioData class, which contains a range of templated structrures for manipulating different sample type primitives. This will replace the old AudioDataConverters class, and I've refactored a lot of the audio devices and formats to use the new classes. 2010-09-27 15:56:54 +01:00
Julian Storer
8f4aaa4873 Fixed a problem with DirectoryIterator. Removed a few VC warnings. Tweaked mac Carbon windows for better keyboard focus. Disabled Carbon when doing a 64-bit plugin build. 2010-09-23 13:31:40 +01:00
Julian Storer
769e6d185d Fixed an iOS stat call and an image loading bug. 2010-09-20 18:22:14 +01:00
Julian Storer
626cb292cd Minor fix for ReferenceCountedArray. Tweak to jucer template code. 2010-09-17 18:03:49 +01:00
Julian Storer
5c63c3746c Fixed a mac app shutdown issue. 2010-09-17 12:00:40 +01:00
Julian Storer
d710ed98e4 Fixed some documentation. Added a frequency to MidiMessage::getMidiNoteInHertz(). Tweaked some Expression and RelativeCoordinate methods. 2010-09-16 17:55:11 +01:00
Julian Storer
0a6aaea93b Minor updates for plugins. Fixed some X windows locking. 2010-09-14 22:27:43 +01:00
Julian Storer
1f88582434 Jucer updates for linux VST support. Small additions to Path, Expression, File. 2010-09-13 13:25:58 +01:00
Julian Storer
dffa2dc6e7 Fix for Cubase 32/64 bit bridge. Fix for Jucer RTAS project generation. 2010-09-09 16:53:54 +01:00
Julian Storer
0ca53b3098 New feature in the (new) jucer: automatic download of the latest source code version. Fix for File::findChildFiles. VST host channels fix. 2010-09-08 20:44:58 +01:00
Julian Storer
d2b3c283eb New classes UnitTest and UnitTestRunner. Minor updates to VST wrapper. Added a dynamic buffer for win32 midi input. 2010-09-06 12:19:19 +01:00
Julian Storer
88b1d2a2de Additions to Expression class. Tweak for mac app shutdown behaviour. 2010-08-30 21:40:34 +01:00
Julian Storer
5159554140 Fix for mac numeric key handling. 2010-08-29 10:00:43 +01:00
Julian Storer
322cd4dba2 Moved the data format structure of AudioThumbnail to be a public class. 2010-08-27 11:56:13 +01:00
Julian Storer
90b74fcdee Made image-loading use CoreImage on the Mac and iOS. 2010-08-26 18:25:24 +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
34d8bfcf63 Small changes to Expression, TreeView, FileBasedDocument. 2010-08-26 10:09:08 +01:00
Julian Storer
2a81da760a Minor code clean-ups. 2010-08-24 20:33:45 +01:00
Julian Storer
8c37193c3d Fix for URL percent sign decoding. Added InterprocessLock to ApplicationProperties. Minor tidying-up of file functionality. 2010-08-24 14:39:40 +01:00
Julian Storer
02eb45ddf7 Added latency estimation for ALSA. Minor tweaks to TemporaryFile and some comments. 2010-08-23 17:24:26 +01:00
Julian Storer
71ee73ead1 Merged some of the mac/linux pthread code. Fixes to the Expression class. Fix for CoreGraphics to get gradients working correctly for vertical/horizontal lines. 2010-08-19 17:17:53 +01:00