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

267 commits

Author SHA1 Message Date
Julian Storer
0d278483e4 Fix for String copying thread-safety, and some minor compile issues. 2010-02-08 16:23:01 +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
31a102008d Reduced the memory footprint of the array classes. 2010-02-06 09:16:20 +00:00
Julian Storer
ded4826413 Minor code tidy-ups. 2010-02-05 22:01:47 +00:00
Julian Storer
ca0dce68d5 Added methods to SystemStats to return the user's name. 2010-02-05 18:36:19 +00:00
Julian Storer
0d024b3306 Updated amalgamated files. 2010-02-05 16:59:35 +00:00
Julian Storer
effe92f6e7 Fix for some MSVC compile problems and warnings. 2010-02-04 18:42:02 +00:00
Julian Storer
f7636fe1a3 Fix for CodeDocument when opening files with a blank line at the end. 2010-02-04 12:46:39 +00:00
Julian Storer
22ecd45505 Code clean-ups. 2010-02-03 21:27:10 +00:00
Julian Storer
b2e5ef2bd6 Minor code modernisations. 2010-02-03 19:05:03 +00:00
Julian Storer
f3b46c9a2f Tweaked AlertWindow to allow custom components to be labelled with their name, and to be lined up along their left-hand edge with the other items. Added some mac keyboard handling to stop keys getting stuck. 2010-02-03 14:20:43 +00:00
Julian Storer
0282a89908 Fix for MSVC compile problem. 2010-02-01 16:51:38 +00:00
Julian Storer
2a56cadd67 Fix for a DocumentWindow internal class. Added a missing win32 library. Added scroll position to the PropertyPanel state xml. Small fix for compiling with latest iPhone SDK. 2010-01-31 11:53:27 +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
773c7d7407 Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc. 2010-01-28 16:02:16 +00:00
Julian Storer
51c58839c1 Tightened up some old bits of code. Minor fix for MagnifierComponent on the mac. 2010-01-27 21:59:18 +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
c86c7a8011 Mac menu fix. 2010-01-25 19:49:08 +00:00
Julian Storer
30c9e939d1 Fixes for BitArray and WavAudioFormat. 2010-01-25 13:38:54 +00:00
Julian Storer
6bf8b51c5a Added X-windows locking for all linux windowing, and added a class ScopedXLock to allow it to be done around client code as well. Misc fixes for mac menus, win32 WM_QUIT messages, MidiKeyboardComponent. Added text colour id to DirectoryContentsDisplayComponent. 2010-01-24 20:46:34 +00:00
Julian Storer
1674e4f04f Removed win32 compile warnings, fixed a couple of mac 10.4 definitions. 2010-01-21 10:28:02 +00:00
Julian Storer
0c1df99d2d Minor clean-ups 2010-01-20 18:52:23 +00:00
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. 2010-01-20 18:41:29 +00:00
Julian Storer
424af2f2c8 Fix for the MD5 generator. 2010-01-19 16:39:23 +00:00
Julian Storer
c539e8f5c0 Fix for mac window ordering that was causing drag and drop problems. Added a sanity-check to the text editor's undo transaction size. 2010-01-19 13:27:51 +00:00
Julian Storer
75a65399ff Minor fix for iPhone. 2010-01-18 22:49:47 +00:00
Julian Storer
527159432b Modernised some old bits of code. 2010-01-18 10:51:12 +00:00
Julian Storer
6a4e8f235c Minor fixes and warning removals for VC7. 2010-01-17 22:44:16 +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
38bd05de16 Minor fixes for Value components. 2010-01-15 20:54:57 +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
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. 2010-01-12 16:21:43 +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
d7cbfe93c5 Minor tidying up. 2010-01-11 12:17:43 +00:00
Julian Storer
494f28601c Fixed a typo in the ASIO code in the last check-in. 2010-01-11 09:34:11 +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
8bf4d88d97 Minor clean-ups. 2010-01-04 15:24:13 +00:00
Julian Storer
c7957d7d1e Clean-ups and small fix for plugin hosting classes. 2010-01-04 10:05:39 +00:00
Julian Storer
45befc9ed2 Small fix to ValueTree 2010-01-03 22:57:39 +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
2f8eaf9183 Fix for text editor line heights with mixed font sizes. Added mouse position velocity to the midi keyboard. Internationalised some text used in the Button class. 2009-12-27 13:12:28 +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
9000fc6604 Moved an assertion that was getting triggered unnecessarily 2009-12-23 10:14:40 +00:00
Julian Storer
a2183daee5 VC6 compatibility updates 2009-12-22 20:59:32 +00:00