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

31 commits

Author SHA1 Message Date
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
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
8bf4d88d97 Minor clean-ups. 2010-01-04 15:24:13 +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
df5f73910b Fixed the position of the drag image when dragging listboxes. Minor fix for mac graphics contexts, and win32 webcam latency adjustment. 2009-12-24 12:30:25 +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
71a12a140e Improved CoreGraphics clipping. Added a method File::revealToUser(). Added obj-c keywords to the c++ tokeniser. Added a new mode to the file chooser (only implemented on mac so far) 2009-12-08 11:24:09 +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
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
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
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
93e4236b57 Changes for VC6 compatibility; added a couple of trimming methods to String; added a parameter to Socket::createConnection 2009-11-16 18:12:17 +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
1b0e85d187 Added a File::invokedExecutableFile key that can be used to find the name of the file or link that launched the exe 2009-11-13 15:56:29 +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
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
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
3ae9ac0295 added some changes to make the core library compile on the iPhone (none of the UI code is done yet). In the process of this, fixed some endianness problems in SystemStats::getMACAddresses, and changed some of the mac code for timing, directory searching, etc to use different APIs internally. 2009-10-08 15:43: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
b171ae8400 Workaround for CoreAudio devices that don't change sample rate correctly in 10.6; improvement to WASAPI error reporting 2009-10-01 14:30:06 +01:00
Julian Storer
54831605c3 Rebuilt the docs including a couple of missing classes; tweaked WebBrowserComponent to make page unloading optional; small efficiency improvement to ThreadPool 2009-09-29 18:18:49 +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
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
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
173abbccd2 improved WASAPI latency reporting 2009-09-16 14:03:55 +01:00
Julian Storer
7dfc764bf0 Initial check-in of a new WASAPI audio device wrapper (not properly tested yet!), and tidied up all the audio device type creation functions to make it easier to cope with all these different device types. Added a couple of config entries to enable WASAPI and DSound, so a windows build can use any combination of device APIs. Also replaced the string-to-double conversion code with a custom function to avoid localisation problems with commas and full-stops. 2009-09-09 17:35:23 +01:00
jules
158a17f08a (Added missing files from last check-in) 2009-08-22 22:30:57 +00:00
jules
ea83c7ee5e Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2 2009-08-20 09:19:37 +00:00