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

186 commits

Author SHA1 Message Date
Julian Storer
d84e47353c Couple of optimisations to text rendering. Removed various printfs from the codebase. 2010-03-11 10:16:02 +00:00
Julian Storer
858a758aee Fixed a minor AU build error and removed some old macros. 2010-03-10 13:04:24 +00:00
Julian Storer
19c332a144 Minor plugin code fix + clean-ups. 2010-03-08 20:18:20 +00:00
Julian Storer
a0adefc86e Added XRender support for semi-transparent windows in linux. Fixed a couple of vst build errors. 2010-03-08 15:02:55 +00:00
Julian Storer
8b7f38f30c Minor fixes. 2010-03-07 22:25:25 +00:00
Julian Storer
bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 2010-02-25 18:31:06 +00:00
Julian Storer
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +00:00
Julian Storer
6b79430341 Refactored some String operators to bring them into line with c++ best practices. Removed the JUCE_STRINGS_ARE_UNICODE flag - all strings are now unicode by default. Removed the String class's implicit cast to const char* and copyToBuffer() method, replacing them with toCString(), toUTF8(), copyToCString(), copyToUnicode(), etc., so that it'll force users to think about the encoding they want to use in a particular context. Added the ability to pass a String directly to a std::ostream. Extended the juce version number to include a build number. 2010-02-21 19:04:41 +00:00
Julian Storer
80829d996f Fix to get plugins running in Wavelab. 2010-02-19 12:22:24 +00:00
Julian Storer
1376cfd603 Added a flag to the AU resource headers. 2010-02-09 20:06:02 +00:00
Julian Storer
ba572201dd Changed the ComponentBoundsConstrainer to use Rectangles in its method parameters. Fixed some window repositioning problems with multiple monitors. 2010-02-09 18:39:52 +00:00
Julian Storer
bac6d332a3 Created an option to use the amalgamated template files as a set of 4 separate files instead of one big one, to help when compiling in low-memory environments. Moved all the amalgamated templates out of the src folder and into their own subfolder, so if you have files that include them, you might need to tweak the path that you're using. Also tweaked the amalgamator to deal with this new setup. 2010-02-07 15:18:10 +00:00
Julian Storer
7bc24ae42a The Point and Rectangle classes are now templated, so can be used for either float or int co-ordinates. This means that wherever you've used these classes, you'll need to replace them with Rectangle<int> or Point<float> in your code. A couple of methods in Path have changed to take advantage of the new ability. 2010-02-07 00:52:30 +00:00
Julian Storer
9841221898 Updated the AudioPluginHost app. 2010-02-05 16:58:26 +00:00
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
e73a0fb874 Added Value support to Labels and ComboBoxes. Altered all the PropertyComponent classes so that as well as being used as abstract base classes, they can now also be instantiated directly as controllers for a Value. This allows property panels to be built to control a set of Value objects without writing any custom classes. 2010-01-15 15:39:39 +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
80753f4c03 Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream. 2009-12-16 21:13:46 +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
707c58186b Fixes to GlyphArrangement. Made the mac put quotes around filenames containing spaces before they are passed to anotherInstanceStarted() 2009-11-21 16:11:13 +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
0280c57ff0 fix for a mac file bug introduced in the last check-in.. 2009-10-12 14:39:43 +01:00
Julian Storer
e1a5995965 Minor whitespace tidying-up 2009-10-01 20:08:42 +01:00
Julian Storer
f72563d6c7 Fixes for viewports, flac seeking, plugin hosting of carbon UIs, and activeX control embedding. 2009-09-28 16:38:34 +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
1573cad95a added an xcode post-build script to the plugin demo to automatically copy the plugin to the various plugin folders 2009-09-22 22:38:54 +01:00
Julian Storer
0c8d177ac9 Updated some help information, and changed the audio plugin plist bundle type to work better in all hosts. 2009-09-22 14:56:36 +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
2ddc7d0806 Tidied up the mac demo plugin project, hopefully making it less prone to build problems for non-RTAS users 2009-09-20 11:33:33 +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
d8eaebab83 fixed the juce demo plugin plist macro expansion tags 2009-09-12 13:18:36 +01:00