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

3925 commits

Author SHA1 Message Date
Julian Storer
3bacbe2a8c Refactored various string processing in the library. Removed a couple of String accessors that relied on assumptions about the format of the string's internal data (if your code has any problems with these changes, you should probably use the String::getCharPointer() method instead). 2011-01-31 17:59:38 +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
b442388218 Minor string fixes. 2011-01-28 13:33:48 +00:00
Julian Storer
9ea6fb4cd1 Added an initial set of Android stub files. 2011-01-27 22:09:47 +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
c6b81ebf51 Added a setHeader() method to TableListBox. New utility class TreeView::OpennessRestorer. 2011-01-25 19:09:44 +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
17040ecd02 Posix file-time-setting fix. Warning removal for intel compiler. 2011-01-21 17:50:32 +00:00
Julian Storer
eb24745a3f Improvement and unit test for AbstractFifo. More Expression parsing tweaks. 2011-01-21 13:54:53 +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
9770806e09 Renamed and shifted around a few native code files. 2011-01-20 17:44:55 +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
e17dfb559f Fix for copying NamedValueSets, removed some win32 DC warnings. Removed the obj-C suffix setting from the jucer's global settings. Updated the Jucer to generate correct iPhone/iPad apps for iOS4. Renamed some of the demo build folders from "iPhone" to "iOS". 2011-01-14 15:22:44 +00:00
Julian Storer
e7f4dac9f9 Removed the PositionedRectangle class (this has been superseded by the RelativeRectangle class. If you still need PositionedRectangle in your code, just grab a copy of the class from the last revision and put it directly into your codebase). Changed the BorderSize class to be templated like Point, Line, Rectangle, etc - if you've used a BorderSize anywhere, just replace "BorderSize" with "BorderSize<int>" to get it compiling again. Updated Graphics::drawDashedLine to take a Line object. 2011-01-13 12:55:26 +00:00
Julian Storer
837f4c8d81 CoreGraphics fix. win32 header file fix. 2011-01-12 19:01:21 +00:00
Julian Storer
88ca4b9901 CoreGraphics alpha-channel clipping fix. 2011-01-12 10:20:27 +00:00
Julian Storer
b0ba2f7388 Added a simple utility class: ScopedValueSetter. 2011-01-11 18:12:02 +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
5e67b6c7c5 Updated the old jucer code to work without the now-defunct MagnifierComponent. 2011-01-10 12:51:59 +00:00
Julian Storer
efd1e4c88a Viewport positioning fix. Changed parameters of Viewport::visibleAreaChanged(). Small plugin header fix. 2011-01-10 12:33:38 +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
7478c7f9ab win32 font fix. Tidied up warnings in plugin host. More drawable refactoring. TabbedComponent fix. 2011-01-04 23:04:51 +00:00
Julian Storer
e5c4ecc670 Drawable fixes. 2011-01-03 19:03:49 +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
2a8cf6f75f Minor correction to last check-in. 2011-01-03 11:02:44 +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
ea9a2c095d Fixes for 64-bit AUs and NamedValueSet. 2011-01-01 12:45:48 +00:00
Julian Storer
faecab9ca5 Refactoring of Drawables with new class MarkerList. Fixes for Mac 10.5 SDK includes and minor change to win32 repainting. 2010-12-30 18:07:29 +00:00
Julian Storer
9973f5a81e New class ComponentBuilder, and some refactoring of Drawables to use it. 2010-12-29 23:11:05 +00:00
Julian Storer
6790239ef2 Fix for mac kiosk modes. 2010-12-29 09:29:25 +00:00
Julian Storer
f5ed9621cd Fixed a typo in the plugin host type class. 2010-12-29 09:21:15 +00:00
Julian Storer
7007b179b2 Added fruityloops plugin host type. Changed NamedValueSet to use a linked list internally. Fixes for 64-bit compilation targeting OSX10.6. 2010-12-28 22:04:42 +00:00
Julian Storer
cac0a7e3f8 Jack audio fix. New class LinkedListPointer. Couple of new menu methods in DocumentWindow. win32 window size constrainer tweak. 2010-12-26 22:56:10 +00:00
Julian Storer
4009680f79 Removed the pre-built binaries and API docs - these will be stored elsewhere so not to bloat the repository. 2010-12-21 20:00:58 +00:00
Julian Storer
9720e2deb0 Removed a couple of minor compiler warnings 2010-12-21 19:25:35 +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
Julian Storer
968d63bca6 Tidied up some doxygen comments. 2010-12-21 14:34:02 +00:00
Julian Storer
7becff2aa4 Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32. 2010-12-21 12:44:45 +00:00
Julian Storer
c8799c9107 New class: NewLine, which provides a clean way to write new-line sequences to streams or strings, and a way to customise the new-line sequence used by an OutputStream. 2010-12-20 22:12:48 +00:00
Julian Storer
2bb0c77216 New class: WeakReference. Used this to clean up and simplify implementation of Component::SafePointer and BailOutChecker. 2010-12-20 16:52:20 +00:00
Julian Storer
d60f661789 Changed the Message class to be reference-counted, and used this to tighten up some messaging code. Minor tweaks to AudioThumbnail, ReferenceCountedArray. 2010-12-19 19:33:52 +00:00
Julian Storer
1a887cda63 Fix for AsyncUpdaters. 2010-12-17 21:24:36 +00:00
Julian Storer
098abe4a2f Fixed a very very subtle component bug. Added peak level detection to AudioThumbnail. Tidied up some old demo plugin UI code. 2010-12-17 12:35:56 +00:00