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

378 commits

Author SHA1 Message Date
Julian Storer
0490668407 Small socket fix. Minor changes to MouseCursor static data. 2010-04-16 10:04:53 +01:00
Julian Storer
ca348c06d7 Minor SVG fix. Added manual reset option to WaitableEvent. Made AudioFilterStreamer update channel numbers when the audio device changes. 2010-04-11 16:06:48 +01:00
Julian Storer
bca84263a4 Minor ICC fixes. 2010-03-28 20:20:34 +01:00
Julian Storer
4ed63991e2 Work-arounds for compiling with VC6. 2010-03-11 11:37:40 +00:00
Julian Storer
858a758aee Fixed a minor AU build error and removed some old macros. 2010-03-10 13:04:24 +00:00
Julian Storer
1e1e4ae848 Removed the ComponentDeletionWatcher class - use Component::SafePointer or Component::BailOutChecker instead. 2010-03-08 19:22:48 +00:00
Julian Storer
2676bb02f2 Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel. 2010-03-07 17:45:10 +00:00
Julian Storer
bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 2010-02-25 18:31:06 +00:00
Julian Storer
bb524846cb Updated win32 CameraDevice to record as wmv. 2010-02-24 19:57:34 +00:00
Julian Storer
9657241c10 Internal refactoring of mouse-event classes, as the first step towards multi-touch support. 2010-02-24 13:19:10 +00:00
Julian Storer
fb7cf838db Created a new class "Range", for holding generic number ranges. New abstract class TextInputTarget, which defines methods common to text editors. Changed a couple of method definitions in TextEditor and CodeEditorComponent so that they could implement TextInputTarget. Added ability for wav files to save their SMPL chunk. 2010-02-12 17:38:39 +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
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
91eeebda2f Workaround for OSX tiled image rendering bug. Mingw atomics fix. Fix for compiling atomics on 10.4. Added a 'new folder' button to the directory chooser on Mac. 2010-01-29 22:45:39 +00:00
Julian Storer
5153493b46 Minor new method for File. Fix for mingw. Changed AudioProcessorGraph to contain a NamedValueSet instead of a PropertySet. 2010-01-29 22:02:52 +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
da485977be Minor iPhone build fixes. 2010-01-28 10:18:40 +00:00
Julian Storer
35a4b5085f Updated Timer code to avoid a rare messaging problem. Fixed a couple of minor build errors. Rearranged the atomic functions and added a new compare-and-swap operation. Added a thread-priority tweak to WASAPI. Removed MS-specific classes from the web browser component. 2010-01-27 20:28:38 +00:00
Julian Storer
24c60f447c Updated iphone project with new files. 2010-01-18 12:26:08 +00:00
Julian Storer
0744c0db37 New class: TemporaryFile, which manages a temporary file, deleting it when it goes out of scope. Also fixes for compile problems in VC7. 2010-01-16 17:51:48 +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
2343dcdcee Added Linux contributions for headless messaging, clipboard and better shm support. 2010-01-11 22:25: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
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
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
a2183daee5 VC6 compatibility updates 2009-12-22 20:59:32 +00:00
Julian Storer
24a121e4dd Fixed a small streaming bug, tidied up some warnings. 2009-12-22 14:53:12 +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
d9dc6b1cfc New class: ValueTree for storing undoable structured data. Also added tooltip support to the ListBoxModel. 2009-12-12 13:27:07 +00:00
Julian Storer
15c32d3f3a Couple of fixes for the iPhone build 2009-12-01 14:12:03 +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
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
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
6c66134173 Updated the VC6 juce project file to include the latest files 2009-11-13 15:57:33 +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
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
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
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
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
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
a90a65343c whitespace tidying-up 2009-09-16 20:31:20 +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
Julian Storer
c2e85238c8 minor updates for XCode 3.2 compatibility 2009-08-28 19:34:53 +01:00
jules
4d16424d9c Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly. 2009-08-22 21:57:23 +00:00
jules
61f0d6903e minor whitespace clean-up 2009-08-20 10:33:05 +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