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

137 commits

Author SHA1 Message Date
Julian Storer
63d3d8a77e New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug. 2010-01-29 10:31:12 +00:00
Julian Storer
87a7086e2b Tidied up some compiler warnings in the plugin wrapper code. 2010-01-21 19:35:00 +00:00
Julian Storer
40b96bf64b Fix for Linux repaint bug. Fix for mac recursive toFront() call. Improved Array efficiency. Changed file logging location on Mac. Added a platform flag for RTAS on win32. 2010-01-20 18:41:29 +00:00
Julian Storer
55306275b1 Minor fixes to avoid compiler warnings 2010-01-15 15:06:24 +00:00
Julian Storer
e61e8f6775 Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future). 2010-01-14 14:49:25 +00:00
Julian Storer
3ddbc82f9f Fixed a typo in VST wrapper class. 2010-01-08 09:27:40 +00:00
Julian Storer
98380f4744 New class: Value, which provides a way to share variants and listen for changes to them. Adapted Slider to use Value objects for its position, and changed the widgets demo to show how they can be easily tied together. Updated the VST speaker arrangement code. 2010-01-07 17:54:51 +00:00
Julian Storer
45befc9ed2 Small fix to ValueTree 2010-01-03 22:57:39 +00:00
Julian Storer
59a2506864 Minor code clean-ups 2010-01-03 16:17:42 +00:00
Julian Storer
4ed1d791e5 New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase. 2010-01-02 14:55:44 +00:00
Julian Storer
3e77725594 Cleaned up some namespace issues, and tweaked the plugin host demo to avoid namespace clashes with juce plugins 2009-12-01 13:16:55 +00:00
Julian Storer
32d36148a0 Fix silly typo in last check-in and updated the Jucer to produce code that works with the new graphics methods. 2009-12-01 10:55:39 +00:00
Julian Storer
317af16782 Added some plugin host type detection code. 2009-11-30 20:19:25 +00:00
Julian Storer
95fcc168d8 More graphics updates, including fixes for CoreGraphics on PPC macs. Fix for keypress recursion in AU plugins, and fix for tabs in the CodeEditorComponent 2009-11-30 19:21:25 +00:00
Julian Storer
dfc5fd54db Fix for setting up RTAS parameters and mac messaging 2009-11-27 19:32:18 +00:00
Julian Storer
037b4250e8 Fixed a window offset problem in RTAS. Tidied up a few compiler warnings. 2009-11-23 17:31:02 +00:00
Julian Storer
df584f9cea Added a new AU config flag for plugins, to let you choose the obj-C classname that some hosts seem to be stupidly displaying to the user. Also added a couple of minor fixes and new documentation. 2009-11-20 19:18:37 +00:00
Julian Storer
15a5c53bc0 Fix for an AU crash when running in 10.4. Added a PlatformUtilities method to get the version of OSX that's running. Added a workaround for a 10.4 OS bug when drawing gradients. Added some macros to allow CD burning and reading to be enabled independantly. 2009-11-17 16:21:18 +00:00
Julian Storer
d3ff5d9c4b Fixed a problem with RTAS plugin window position in certain dual-monitor setups 2009-11-16 16:50:10 +00:00
Julian Storer
facb48b04c tweak to RTAS shutdown for PT8; added tooltips for the TableListBox; started adding some iphone audio code (not yet usable) 2009-10-29 13:36:47 +00:00
Julian Storer
7e56a7514c Fix for AU bundle paths; added column width access to TableHeaderComponent, made FileBasedDocument do extra checking about file overwriting 2009-10-21 19:31:46 +01:00
Julian Storer
e1a5995965 Minor whitespace tidying-up 2009-10-01 20:08:42 +01:00
Julian Storer
deeb652939 fixed a seek bug in the flac reader; added a JucePlugin_TailLengthSeconds setting for plugins; made the colour class limit the HSV values that are passed into it 2009-09-24 13:45:43 +01:00
Julian Storer
48bacabcff Changes to improve AU, VST and RTAS key forwarding on the Mac 2009-09-21 23:28:13 +01:00
Julian Storer
5cbd3c2f4c fixed a VST crash caused by closing Nuendo with a window open; updated win32 memory detection calls 2009-09-21 11:15:39 +01:00
Julian Storer
a90a65343c whitespace tidying-up 2009-09-16 20:31:20 +01:00
Julian Storer
6f20d00e69 fix for the VST plugin window position being slightly wrong in Cubase 2009-09-16 19:18:57 +01:00
Julian Storer
7b254201fa small fix for AU window position when resized in cocoa hosts. 2009-09-09 20:53:54 +01:00
Julian Storer
955043fb48 Minor whitespace tidy-up 2009-08-27 16:22:39 +01:00
jules
a38d1a05e2 More mac plugin fixes for Reaper, Logic, Live. 2009-08-25 09:54:17 +00:00
jules
9ffd554aa3 Made the AU wrapper more robust against crashes when the UI and plugin are deleted in the wrong order. 2009-08-24 15:15:44 +00:00
jules
61f0d6903e minor whitespace clean-up 2009-08-20 10:33:05 +00:00
jules
f5a3fb0fb3 removed a memory leak in mac messaging; tweaked mac VSTs to avoid a shutdown bug in Reaper; added a clear() method to DynamicObject. 2009-08-19 12:04:35 +00:00
jules
2fee27c757 Updated the text of the copyright/license blurb at the top of each source file. 2009-08-18 22:10:34 +00:00
jules
4544b32be7 fixed a small leak in AudioUnits 2009-08-12 20:01:07 +00:00
jules
1ccb175762 tidied up whitespace in files 2009-08-12 15:54:25 +00:00
jules
1e53260e0a small change for loading opentype fonts in win32; fix for an audio plugins crash when closing the plugin in some recent hosts; fixes for linux VST event handling; change to the format reported by RTAS plugins with zero inputs or outputs; NPAPI plugin positioning for for mac firefox; fix for TreeViewItem button safety; added method LookAndFeel::getFontForTextButton; added an interpolation quality selector to MagnifierComponent; AlertWindows are now always-on-top in plugins; fix to RectanglePlacement::getScaleToFit(); added some utility methods to the URL class. 2009-08-03 15:38:40 +00:00
jules
c2ba5785ab fix for VST crash in Live when the plugin is deleted with its window still open 2009-07-22 08:30:51 +00:00
jules
9992bb6790 small tweaks to mac messaging and VST windowing; added code to name the drawables after their 'id' tag when parsing SVG 2009-07-21 14:06:17 +00:00
jules
ebcde1e678 Browser plugin fixes for a string-passing bug in NPAPI and problems with older versions of Firefox; more robust message flushing on shutdown on the mac. 2009-07-19 11:16:43 +00:00
jules
2615809676 added a property flag to audio plugin windows so that the JucePlugin_EditorRequiresKeyboardFocus flag only stops the main plugin window from getting focus, and not other pop-up windows that it might create. 2009-07-17 16:55:48 +00:00
jules
6fe090f2cb Added code to make the mac detect its executable file, removing the need for the juce_setCurrentExecutable function, and removed this function from the codebase. 2009-07-16 15:41:42 +00:00
jules
98b9baa880 RTAS fix for a window position bug when two plugins are active. 2009-07-15 19:00:43 +00:00
jules
749c2be6cb Tweaks to VST for building on linux; improved linux code for detecting the executable's file path; small changes to linux window hinting; change on the Mac to fix app shutdown when the app isn't currently active; added Mac support for 3rd mouse button; fix to AudioDeviceManager thread safety when changing midi output devices; fix to DrawableButton text; made ComponentAnimator a change broadcaster to send messages when animations stop and start; small fix to DatagramSocket. 2009-06-17 17:57:16 +00:00
jules
7d2a7af8a5 Added some packetising code to the Mac Midi sysex output; tweaked some key focus problems for the AU wrapper in AULab; fixed a small PreferencesPanel bug. 2009-05-29 12:04:30 +00:00
jules
829498e397 Added Carbon UI support to the AU wrapper 2009-05-28 14:10:55 +00:00
jules
e6dd20444e Fix for AU plugin midi event threading on some hosts; fix for timing of MidiOutput::sendBlockOfMessages; Fix for URL::addEscapeChars; added a MidiBuffer::swap method; restructured some AudioSampleBuffer methods to aid compiler inlining. 2009-05-13 12:08:58 +00:00
jules
0d3f72cbb0 Minor changes to VST wrapper and StandaloneFilterWindow. 2009-05-11 15:29:55 +00:00
jules
65e1eabca3 Small fix to audio plugin host demo; updated plugin characteristics file to allow a standalone build flag; added VST speaker arrangement fixes as suggested by Andy; added some options for ignoring hidden files to the file browser comp; minor update to the Variant class. 2009-05-11 09:57:40 +00:00
jules
ef6ab9ed6a Added some cunning hacks that should make modal dialogs in plugins block mouse events in the host app. Also added a fix for thread-safety in ReferenceCountedArrays, and tweaked the new variant classes. 2009-04-22 21:07:52 +00:00