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

365 commits

Author SHA1 Message Date
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
jules
f5a3fb0fb3 removed a memory leak in mac messaging; tweaked mac VSTs to avoid a shutdown bug in Reaper; added a clear() method to DynamicObject. 2009-08-19 12:04:35 +00:00
jules
2fee27c757 Updated the text of the copyright/license blurb at the top of each source file. 2009-08-18 22:10:34 +00:00
jules
fb5224ed74 Minor whitespace clean-ups 2009-08-13 19:41:49 +00:00
jules
646732530c Tidying up and removing some compiler warnings on the mac. 2009-08-13 19:37:19 +00:00
jules
ddc16536a3 Changed the Linux native code files to use the same amalgamation file structure as the mac and windows ones do; made a small adjustment to the amalgamator, and removed some redundancy from the amalgamated files (if you are amalgamating code yourself, please build a new copy of the amalgamator, as the old one won't work correctly on this new code); fixed a few minor build warnings in linux 2009-08-13 11:11:26 +00:00
jules
1ccb175762 tidied up whitespace in files 2009-08-12 15:54:25 +00:00
jules
f9f3351839 fix for linux midi output; fix for NSViewComponent; tidying up of demo audio plugin; fixed backslashes in the jucer's generated code; added addOrReplaceSorted method to ReferenceCountedArray; added an option to ThreadPool::removeAllJobs. 2009-08-12 13:22:36 +00:00
jules
337c67f66c changed the juce startup/shutdown code in the ActiveX browser plugin to try to work around IE's leakiness; added a very obscure feature to ASIO 2009-08-10 13:23:04 +00:00
jules
f2c0fda2e9 small updates to improve TooltipWindow 2009-08-07 09:05:56 +00:00
jules
f8e2eaccc3 fixed a bug with popup menus in browser plugins in IE8; added an option to change the time delay of a TooltipWindow; added a missing function to MagnifierComponent 2009-08-04 19:56:55 +00:00
jules
1e53260e0a small change for loading opentype fonts in win32; fix for an audio plugins crash when closing the plugin in some recent hosts; fixes for linux VST event handling; change to the format reported by RTAS plugins with zero inputs or outputs; NPAPI plugin positioning for for mac firefox; fix for TreeViewItem button safety; added method LookAndFeel::getFontForTextButton; added an interpolation quality selector to MagnifierComponent; AlertWindows are now always-on-top in plugins; fix to RectanglePlacement::getScaleToFit(); added some utility methods to the URL class. 2009-08-03 15:38:40 +00:00
jules
9992bb6790 small tweaks to mac messaging and VST windowing; added code to name the drawables after their 'id' tag when parsing SVG 2009-07-21 14:06:17 +00:00
jules
c94bd62519 fix for javascript parameter order in IE browser plugins; fix for linux x64 icons 2009-07-20 10:08:49 +00:00