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

347 commits

Author SHA1 Message Date
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
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
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
2009-11-13 16:17:22 +00:00
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. 2009-11-10 17:45:06 +00:00
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. 2009-11-09 12:00:18 +00:00
Julian Storer
e53a0efb56 Fix for some audio plugin window focus issues. Changed the Jucer to use a CodeEditorComponent for its preview panel. 2009-11-09 11:50:21 +00:00
Julian Storer
69321e8b33 Tarted up the fonts demo page; added a scrollbar thickness to the code editor; improved the colour selector's rendering speed. 2009-11-09 11:30:58 +00:00
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. 2009-11-05 17:59:44 +00:00
Julian Storer
0b2f0f086c added a code-editor demo page to the juce demo and added some comments to the code editor classes 2009-11-04 13:23:42 +00:00
Julian Storer
f744dd9062 Initial check-in of a CodeEditorComponent class. Also tweaked ProgressBar to stop it sometimes moving too slowly. 2009-11-03 18:25:04 +00:00
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. 2009-10-31 15:26:22 +00:00
Julian Storer
ebeaa40689 Initial version of a CoreGraphics-based rendering context for the mac. Also an intial version of JACK support for linux. 2009-10-31 11:15:12 +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
9a82129507 whitespace clean-up 2009-10-12 13:40:26 +01:00
Julian Storer
1fc8f483e2 Tweaked lots of code to help things compile on the iPhone (still work-in-progress). 2009-10-12 13:30:04 +01:00
Julian Storer
9ebff4bc92 tidied up DocumentWindow border sizing; made WASAPI cope with multiple devices with the same name. 2009-10-06 23:25:52 +01:00
Julian Storer
e1a5995965 Minor whitespace tidying-up 2009-10-01 20:08:42 +01:00
Julian Storer
9623f6b108 Updated the juce demo audio latency detector to use a more accurate, impulse based detection method 2009-10-01 19:58:41 +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
ebe04ececf Checked in some new binaries for the juce demo 2009-09-19 14:27:46 +01:00
Julian Storer
9aa0c05ac2 Complete revamp of the Juce Demo's audio page, to include several tabs of handy demos, including audio recording, synths, playback, audio thumbnails and an automatic round-trip latency detector 2009-09-19 14:01:55 +01:00
Julian Storer
3954631795 Fixed some problems with audio formats not correctly clearing their buffers; Rewrote the CoreAudio functions to avoid deprecated functions. 2009-09-19 13:18:43 +01:00
Julian Storer
d48a742061 made the NPAPI browser wrapper able to compile in 64-bit mode 2009-09-17 13:47:47 +01:00