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.
|
15 years ago |
Julian Storer
|
1d1fc5aa4c
|
Added a handy new method: XmlElement::createNewChildElement().
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
ca0dce68d5
|
Added methods to SystemStats to return the user's name.
|
15 years ago |
Julian Storer
|
9841221898
|
Updated the AudioPluginHost app.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
87a7086e2b
|
Tidied up some compiler warnings in the plugin wrapper code.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
527159432b
|
Modernised some old bits of code.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
55306275b1
|
Minor fixes to avoid compiler warnings
|
15 years ago |
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).
|
15 years ago |
Julian Storer
|
0abb313d40
|
Tarted up the amalgamator, and made it replace spaces with tabs to reduce file size.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
d7cbfe93c5
|
Minor tidying up.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
3ddbc82f9f
|
Fixed a typo in VST wrapper class.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
45befc9ed2
|
Small fix to ValueTree
|
15 years ago |
Julian Storer
|
59a2506864
|
Minor code clean-ups
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
a8a602f7a2
|
Couple of small fixes for mac midi and win32 threads, and fixed a memory leak in the demo app.
|
15 years ago |
Julian Storer
|
d6e3576234
|
Fixes for iPhone build and mac/iPhone CoreGraphics. Added ability to remove specified jobs from a ThreadPool
|
15 years ago |
Julian Storer
|
911e0d5ea5
|
Added new juce demo files.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
3e77725594
|
Cleaned up some namespace issues, and tweaked the plugin host demo to avoid namespace clashes with juce plugins
|
15 years ago |
Julian Storer
|
32d36148a0
|
Fix silly typo in last check-in and updated the Jucer to produce code that works with the new graphics methods.
|
15 years ago |
Julian Storer
|
317af16782
|
Added some plugin host type detection code.
|
15 years ago |
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
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
dfc5fd54db
|
Fix for setting up RTAS parameters and mac messaging
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
037b4250e8
|
Fixed a window offset problem in RTAS. Tidied up a few compiler warnings.
|
15 years ago |
Julian Storer
|
707c58186b
|
Fixes to GlyphArrangement. Made the mac put quotes around filenames containing spaces before they are passed to anotherInstanceStarted()
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
d3ff5d9c4b
|
Fixed a problem with RTAS plugin window position in certain dual-monitor setups
|
15 years ago |
Julian Storer
|
d779fa9759
|
The first working check-in of an iPhone build! Added an iPhone project for the normal juce demo, which runs.. although it isn't exactly designed for a hand-held form factor!
Also in this check-in is support for creation of custom Mac MIDI input and output devices, and an option to load URLs with the QuickTimeComponent
|
15 years ago |
Julian Storer
|
ca727ec2bb
|
Improvements to path rendering and fix for PathStrokeType generating incorrect paths for some shapes. Added OSX10.4 compatibility for new new typeface classes.
|
15 years ago |
Julian Storer
|
405d934e68
|
Massive, long-overdue spring-cleaning and refactoring of the LowLevelGraphicsContext, Typeface and Font classes. Functions such as glyph rendering can now be handled directly by a native graphics context (and glyph rendering is now implemented natively on the Mac). The Typeface class is now an abstract base class with much minimal functionality, and platform-specific subclasses are used for font loading. A new class CustomTypeface lets you load and save typefaces in the old juce binary typeface format. For most people, these changes probably won't require you to alter your code, but you might need to change a few classnames in your code if you're using typefaces directly.
|
15 years ago |
Julian Storer
|
e53a0efb56
|
Fix for some audio plugin window focus issues. Changed the Jucer to use a CodeEditorComponent for its preview panel.
|
15 years ago |
Julian Storer
|
69321e8b33
|
Tarted up the fonts demo page; added a scrollbar thickness to the code editor; improved the colour selector's rendering speed.
|
15 years ago |