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

125 commits

Author SHA1 Message Date
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
bb60371f1c Couple of minor fixes. 2010-02-24 09:11:04 +00:00
Julian Storer
8d05a9f2fa Mac keyboard fix and camera tweak. 2010-02-23 19:01:36 +00:00
Julian Storer
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +00:00
Julian Storer
08eb852103 Minor code clean-ups. 2010-02-22 15:28:18 +00:00
Julian Storer
20ab8e6e96 Improved win32 camera resolution selection. 2010-02-22 11:02:59 +00:00
Julian Storer
6b79430341 Refactored some String operators to bring them into line with c++ best practices. Removed the JUCE_STRINGS_ARE_UNICODE flag - all strings are now unicode by default. Removed the String class's implicit cast to const char* and copyToBuffer() method, replacing them with toCString(), toUTF8(), copyToCString(), copyToUnicode(), etc., so that it'll force users to think about the encoding they want to use in a particular context. Added the ability to pass a String directly to a std::ostream. Extended the juce version number to include a build number. 2010-02-21 19:04:41 +00:00
Julian Storer
038886510a Tidied a few static functions away into private namespaces. 2010-02-20 18:57:36 +00:00
Julian Storer
6013242bd9 Fixed a silly typo in the iPhone code. 2010-02-20 16:27:04 +00:00
Julian Storer
39b583fe1e Modernised some old code. 2010-02-20 15:27:48 +00:00
Julian Storer
5c027142f4 Fixed a compile problem in mac vst hosting. Added a quality parameter to the CameraDevice class 2010-02-20 10:59:48 +00:00
Julian Storer
8820020213 Added support for extended character input on the mac. Added a few methods to Rectangle and Range. 2010-02-18 16:49:30 +00:00
Julian Storer
c0dda3fdfb More win32 AudioCDBurner changes. 2010-02-18 13:14:19 +00:00
Julian Storer
250231a91f Added some new functionality to AudioCDBurner. 2010-02-18 12:46:41 +00:00
Julian Storer
4405b0b0cb UTF8 unix path fix. 2010-02-17 18:59:51 +00:00
Julian Storer
e900688f09 Added support for the extensible wav format block. 2010-02-17 18:45:33 +00:00
Julian Storer
d8e16ccc06 Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints. 2010-02-17 10:12:46 +00:00
Julian Storer
06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 2010-02-16 18:31:44 +00:00
Julian Storer
f97cf1aaa5 Fix for win32 drag-and-drop. 2010-02-16 12:03:14 +00:00
Julian Storer
cb00274427 Minor fixes for File::isAChildOf(), NPAPI window sizing, CodeDocument syntax parsing, and the amalgamated template file. 2010-02-11 11:07:03 +00:00
Julian Storer
ba572201dd Changed the ComponentBoundsConstrainer to use Rectangles in its method parameters. Fixed some window repositioning problems with multiple monitors. 2010-02-09 18:39:52 +00:00
Julian Storer
a23d875a44 Fix for linux opengl problem. 2010-02-09 12:33:59 +00:00
Julian Storer
29f5001269 Fix for linux atomics. Fix for ScopedPointer in some compilers. Mac PPC build fix. 2010-02-09 10:44:45 +00:00
Julian Storer
0d278483e4 Fix for String copying thread-safety, and some minor compile issues. 2010-02-08 16:23:01 +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
ca0dce68d5 Added methods to SystemStats to return the user's name. 2010-02-05 18:36:19 +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
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
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
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
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
24c60f447c Updated iphone project with new files. 2010-01-18 12:26:08 +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
e61e8f6775 Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future). 2010-01-14 14:49:25 +00:00
Julian Storer
97035bb3a1 Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups. 2010-01-13 18:58:40 +00:00
Julian Storer
c368805559 Misc fixes for mingw compatibility 2010-01-12 16:54:18 +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