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

1481 commits

Author SHA1 Message Date
Julian Storer
5443f95790 Jucer-generated file updates. 2010-02-13 17:07:31 +00:00
Julian Storer
fbc62f200a Updated some auto-generated projects. 2010-02-13 15:06:45 +00:00
Julian Storer
305d58519a Converted the Juce demo projects to all be auto-generated by the Jucer. 2010-02-13 13:24:47 +00:00
Julian Storer
7d9b068a49 Changed Font::findFonts() to use an Array instead of an OwnedArray. 2010-02-12 18:07:28 +00:00
Julian Storer
cb00274427 Minor fixes for File::isAChildOf(), NPAPI window sizing, CodeDocument syntax parsing, and the amalgamated template file. 2010-02-11 11:07:03 +00:00
Julian Storer
1376cfd603 Added a flag to the AU resource headers. 2010-02-09 20:06:02 +00:00
Julian Storer
961708b21c Changed the example projects to be Jucer-generated. 2010-02-09 18:55: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
07623e9fa3 Converted the BinaryBuilder projects to be auto-generated by the Jucer. 2010-02-08 20:12:07 +00:00
Julian Storer
257712c1da Replaced the amalgamator's build projects with auto-generated projects created by the new Jucer. 2010-02-08 16:26:29 +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
1d1fc5aa4c Added a handy new method: XmlElement::createNewChildElement(). 2010-02-07 14:02:30 +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
ca0dce68d5 Added methods to SystemStats to return the user's name. 2010-02-05 18:36:19 +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
773c7d7407 Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc. 2010-01-28 16:02:16 +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
527159432b Modernised some old bits of code. 2010-01-18 10:51:12 +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
0abb313d40 Tarted up the amalgamator, and made it replace spaces with tabs to reduce file size. 2010-01-14 13:55:23 +00:00
Julian Storer
97035bb3a1 Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups. 2010-01-13 18:58:40 +00:00
Julian Storer
68e04b453d Fixed an MS compile problem. Added code to add an audio stream to a camera file recorded on the mac to avoid a movie rate bug in some quicktime versions. Added a linux makefile for the amalgamator. 2010-01-12 16:21:43 +00:00
Julian Storer
d7cbfe93c5 Minor tidying up. 2010-01-11 12:17:43 +00:00
Julian Storer
18ffeba9da Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder. 2010-01-10 22:00:59 +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
c22c06c80c New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns. 2010-01-02 23:01:18 +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
a126b1918a Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers. 2009-12-18 16:37:46 +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
4c31b704ed Fix for Graphics::drawImage and small change to the parameters of Graphics::drawImageTransformed - if you were using subregions of images, note that this method now treats them slightly differently. Previously, the transform was relative to the origin of the image, but now it's relative to the origin of the subregion. 2009-12-03 12:14:21 +00:00
Julian Storer
a8a602f7a2 Couple of small fixes for mac midi and win32 threads, and fixed a memory leak in the demo app. 2009-12-03 11:22:38 +00:00
Julian Storer
d6e3576234 Fixes for iPhone build and mac/iPhone CoreGraphics. Added ability to remove specified jobs from a ThreadPool 2009-12-02 14:21:33 +00:00
Julian Storer
911e0d5ea5 Added new juce demo files. 2009-12-01 22:26:22 +00:00
Julian Storer
ded840d456 Updated the demo to have a new graphics rendering test page - this tests a lot of the new graphics features and lets you swap between software/OS rendering engines. Also fixed a mac menu bug, and mac mouse event timestamps. 2009-12-01 22:25:38 +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
01f109e857 More graphics updates - new class FillType, which is now used by DrawablePath to specify its colours. New methods Graphics::clipToPath and Graphics::clipToImageAlpha. Added dynamic Xinerama loading. 2009-11-30 12:02:51 +00:00
Julian Storer
f6a088961f Removed the Brush classes - everything they used to do can still be done by other methods in the Graphics class. Also did more optimising of the graphics contexts, both software and CoreGraphics. 2009-11-28 20:09:56 +00:00
Julian Storer
dfc5fd54db Fix for setting up RTAS parameters and mac messaging 2009-11-27 19:32:18 +00:00
Julian Storer
6fdde63a63 Big rewrite of the LowLevelGraphicsSoftwareRenderer class, adding internal support for complex clipping regions - this will temporarily make font rendering quite slow, until it gets re-optimised for this new design. Changed the Image class to remove the lockPixelData methods, and replaced these with an object Image::BitmapData, which is easier to use. 2009-11-26 21:36:45 +00:00
Julian Storer
9fc4b6d822 Added midi out to AudioProcessorGraphs. Improved documenation for Singletons. Added a couple of methods to String. Fixed a small bug in ogg-vorbis decoding. 2009-11-26 21:30:51 +00:00