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 |
Julian Storer
|
cd88571081
|
Added methods Graphics::setTiledImageFill and Graphics::setGradientFill - these are now the preferred way to specify a fill type, rather than using the Brush classes (which will probably disappear at some point in the future). Also refactored and renamed some DrawablePath methods, which might require a few tweaks to your code if you use this class.
|
15 years ago |
Julian Storer
|
0b2f0f086c
|
added a code-editor demo page to the juce demo and added some comments to the code editor classes
|
15 years ago |
Julian Storer
|
f744dd9062
|
Initial check-in of a CodeEditorComponent class. Also tweaked ProgressBar to stop it sometimes moving too slowly.
|
15 years ago |
Julian Storer
|
1e1c9944c9
|
Removed methods Graphics::getCurrentFont and Graphics::getCurrentColour, because these methods will become impossible for future native drawing contexts. This required a couple of minor tweaks to LookAndFeel and Drawable methods. Also fixed native CoreGraphics drawing of transparent windows.
|
15 years ago |
Julian Storer
|
ebeaa40689
|
Initial version of a CoreGraphics-based rendering context for the mac. Also an intial version of JACK support for linux.
|
15 years ago |
Julian Storer
|
facb48b04c
|
tweak to RTAS shutdown for PT8; added tooltips for the TableListBox; started adding some iphone audio code (not yet usable)
|
15 years ago |
Julian Storer
|
7e56a7514c
|
Fix for AU bundle paths; added column width access to TableHeaderComponent, made FileBasedDocument do extra checking about file overwriting
|
15 years ago |