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

216 commits

Author SHA1 Message Date
Julian Storer
46c3a6bbe5 CustomTypeface unicode fix. Misc nullptr additions. 2011-04-07 16:49:14 +01:00
Julian Storer
f04309f44a Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers. 2011-04-07 13:49:01 +01:00
Julian Storer
904e1aba45 A couple of minor fixes, and changed code to use std::swap instead of swapVariables() 2011-04-01 09:38:25 +01:00
Julian Storer
1fb8929c55 New class: ImageComponent, which just displays an image. 2011-03-31 13:33:09 +01:00
Julian Storer
fa04e0cf93 win32 font name length fix. Tidied up ScopedLock class structure, creating some templated classes for generic RAII locking. 2011-03-31 11:21:49 +01:00
Julian Storer
b80bc0ec2b Fix for accuracy issue in audio data conversion. 2011-03-30 19:37:31 +01:00
Julian Storer
37877037f4 Added new class: SpinLock, and used it to optimise a few bits of code. 2011-03-30 18:27:26 +01:00
Julian Storer
a493cfee4d Added a button size option to the PreferencesPanel. Added an operator for writing Strings to std::wcout. Fixed a clipping error in audio float to int conversion. Made the introjucer cope with backslashes in filenames when used on unix. 2011-03-28 11:14:27 +01:00
Julian Storer
7a8377aeb7 Couple of minor documentation fixes. 2011-03-22 15:40:45 +00:00
Julian Storer
7485498ee7 Minor clean-ups. 2011-03-17 16:47:17 +00:00
Julian Storer
5eb389342d Android audio implementation. Tweak to RecentlyOpenedFilesList. 2011-03-16 13:57:56 +00:00
Julian Storer
883ff38bf5 Tidied up a typo in an android pathname. Fixed a clipping error in audio conversion. 2011-03-10 11:50:50 +00:00
Julian Storer
bde96c1053 Fix for win32 String::formatted. Minor clean-ups. 2011-03-09 16:12:05 +00:00
Julian Storer
bf1c4f5b31 WASAPI session event callbacks. 2011-03-09 13:44:53 +00:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
6e76ba29ab Added missing include for sockets. Android http streams. Minor fix for ActiveX. 2011-03-08 09:28:32 +00:00
Julian Storer
0d412ad346 Implemented callbacks on the Mac when screen sizes change. Minor clean-ups. 2011-03-06 21:12:20 +00:00
Julian Storer
85aeeea1e9 Moved a couple of midi files around. DrawableImage::hitTest tweak. 2011-03-04 21:53:04 +00:00
Julian Storer
0e4a0df2c2 (Added files missing from last check-in) 2011-03-04 17:31:59 +00:00
Julian Storer
5c1fda8261 Minor comments and formatting changes. 2011-02-26 19:31:09 +00:00
Julian Storer
e620c5279d Got Android to build with the standard NDK-r5. AU fix. Minor change to mac menu shortcuts. 2011-02-25 17:22:27 +00:00
Julian Storer
06d436a3ab Minor string clean-ups. Made key-shortcut indicators in popup menus use icons for shift/command/option on the mac. 2011-02-24 14:27:59 +00:00
Julian Storer
1c70c74a61 Updated the embedded Ogg-vorbis library. Optimisation for CoreGraphics gradients. 2011-02-22 18:47:18 +00:00
Julian Storer
533e7ba795 Many more String changes, so that finally the String class can store its internal data as either utf8, 16 or 32 - this is controlled by a flag JUCE_STRING_UTF_TYPE. It's currently set to utf-8 by default. 2011-02-22 15:33:30 +00:00
Julian Storer
3fe85fd17a Fix for mono files in QuicktimeAudioFormat. Avoided some floating-point comparison warnings. Added some iOS options in the new jucer plist. Fix for audio host startup. Changes to allow backslashes in unix filenames. 2011-02-17 10:22:36 +00:00
Julian Storer
60e3ff8f5a Android development and modal loop elimination. 2011-02-16 11:29:13 +00:00
Julian Storer
ef71999349 Added int64 type to var class. Internal string clean-ups. 2011-02-14 19:25:19 +00:00
Julian Storer
2d10b0b43d Changes and additions to provide alternatives to modal-loop functionality (Android can't run modal loops). New class ModalCallbackFunction providing quick objects for making callbacks to static functions. Changes to remove modal loops from most of the internal library classes. Added new methods to PopupMenu to provide easier async callbacks, and also a cleaner way of specifying options when showing a menu. Fix for PNG decoding of corrupted image files. 2011-02-11 14:27:28 +00:00
Julian Storer
3dfbb0d713 Changes to Image::BitmapData constructors, replacing the bool with a more explicit enum for the read/write mode. Some win32 dLL declarator changes. Android work. Small Quicktime fix. 2011-02-09 10:50:19 +00:00
Julian Storer
08339c92e2 Minor fixes for mac compilation. Android stuff. 2011-02-05 15:15:45 +00:00
Julian Storer
571a2626da Fixed an image anti-aliasing problem. Created some new methods in AudioIODeviceType to create device-specific types. Tidied up some win32 DLL build problems. Added support for drag-and-drop from iTunes on mac. 2011-02-04 12:20:04 +00:00
Julian Storer
c26ac47dff Implemented thread naming for mac + linux. Minor string tweaks. Android changes. Couple of other minor changes. 2011-02-02 18:15:57 +00:00
Julian Storer
413e00631b TextEditor and Colour fixes. 2011-02-01 14:58:40 +00:00
Julian Storer
c10c810aee Minor fixes for mac strings, WAV format, DrawableButton hit tests, win32 clipboard. New class: CharPointer_ASCII. Changes to the callback methods for ValueTree::Listener, to provide more detailed information about the event. 2011-01-31 09:28:06 +00:00
Julian Storer
e235912ae5 Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats. 2011-01-27 20:34:05 +00:00
Julian Storer
1b05a7d46d New classes CharPointer_UTF8, CharPointer_UTF16, CharPointer_UTF32, complete refactoring of CharacterFunctions class and updates to the internals of String methods. Removal of String::operator+= (unsigned int) because of clashes with wide-char types that use unsigned int. Made core classes compatible with Android. Minor fixes to ListBox and AudioDeviceManager. 2011-01-26 19:49:36 +00:00
Julian Storer
41c9c9e3be Added channel count to AudioTransportSource. Disabled some win32 compiler warnings. Made utf8 parsing cope with illegal characters. Made variants send a change when their type changes. 2011-01-24 13:09:38 +00:00
Julian Storer
8ade855f56 Added RF64 support to WavAudioFormat. Extended some of the audio source classes to support 64-bit sample indices. 2011-01-20 22:25:15 +00:00
Julian Storer
0a9cbd36c4 Minor tweaks to MidiMessage, Label. Removed some intel compiler warnings. 2011-01-20 14:23:46 +00:00
Julian Storer
7bfa419f17 Changed the return type of TimeSliceThreadClient::useTimeSlice(). 2011-01-19 18:15:24 +00:00
Julian Storer
f01340e4aa Lots of refactoring of the Expression and relative coordinate classes. This has changed some of the semantics that were in place, so any early adopters who had been playing with RelativeRectangles may need to check their expressions. 2011-01-18 21:05:55 +00:00
Julian Storer
e05f6a2b95 Improvements to ComponentMovementWatcher to check visibility. TopLevelWindow activation fix. Changed MidiMessage default constructor to an empty sysex. 2011-01-11 15:37:31 +00:00
Julian Storer
5d30aecaf2 Removed a couple of old classes: MagnifierComponent (you can use Component::setTransform() instead), and MouseHoverDetector (wasn't really very useful anyway - if you need it, please just take a copy of the class and use it in your own code). Renamed the PopupMenuCustomComponent as an inner class PopupMenu::CustomComponent. Added a default constructor for MidiMessage. 2011-01-09 21:59:02 +00:00
Julian Storer
f19e4d1c04 Added workarounds for mouse-wheel events in win32 VSTs and mouse-moves in carbon AUs and VSTs. Fixed a problem when swapping between carbon/cocoa views in AUs. 2011-01-09 13:46:36 +00:00
Julian Storer
c1d8ac22df New Component::setBounds() method using a RelativeRectangle.
Added Justification::appliedToRectangle() and RectanglePlacement::appliedTo(). Removed a behavioural oddity from TopLevelWindow which brought them to the front when made visible. More RelativeRectangle development. AU wrapper now detects app shutdown and closes its UI.
2011-01-08 22:27:28 +00:00
Julian Storer
e2ef26e91c Added an alertwindow font setting to the lookandfeel class. Made sure the ComponentListener::componentChildrenChanged is called when component z-order changes. Fix for CoreMidi output timestamps. 2011-01-06 15:32:11 +00:00
Julian Storer
e0ca6d6ca4 Small fixes for ComboBox items and AudioThumbnail. Reorganisation of all the RelativeCoordinate classes into their own folder. New RelativeCoordinatePositionerBase class and internal work on DrawablePath. 2011-01-03 18:08:28 +00:00
Julian Storer
23f9653509 Fixed a silly font bug. Cleaned up some compiler warnings. Added a way to set the typeface cache size. 2011-01-03 11:00:26 +00:00
Julian Storer
2c669674ad Fix for listbox and table multi-selection. Internal updates for relative positioning. Additions to Typeface class to allow hinted subclasses. 2011-01-02 14:59:43 +00:00
Julian Storer
ece4205d3d Refactored some operators in Time and RelativeTime, and made the Time constructor explicit. 2010-12-21 18:22:05 +00:00