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
04351861ae
More string tidying-up. Possible fix for win32 mutexes failing under strange circumstances.
2011-02-23 17:02:58 +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
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
01571e2b0f
win32 FileChooser fix.
2011-02-05 21:18:51 +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
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
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
17040ecd02
Posix file-time-setting fix. Warning removal for intel compiler.
2011-01-21 17:50:32 +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
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
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
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
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
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
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
ece4205d3d
Refactored some operators in Time and RelativeTime, and made the Time constructor explicit.
2010-12-21 18:22:05 +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
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
4d6b2daa93
Tweaks to fake mouse-move behaviour. Improvements to WASAPI performance. AudioFormatManager is no longer a singleton - just create your own instance and use it instead.
2010-12-16 16:32:13 +00:00
Julian Storer
5f347bc999
Updated the path flattening code to correctly observe tolerance values, and made the tolerances adapt to the scaling being used when drawing to a transformed graphics context. Fixed a small issue with focus listeners, and a mac menu dismissal problem.
2010-12-15 17:20:26 +00:00
Julian Storer
a37d5041dd
Added a class Graphics::ScopedSaveState. Fixed a window dragging problem in win32, some VC6 compile errors, and made the jucer makefile builder use the target binary folder.
2010-12-13 20:06:12 +00:00
Julian Storer
76b128d90e
Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox.
2010-12-11 19:56:47 +00:00
Julian Storer
709f573997
Minor clean-ups and tweaks to AudioProcessorGraph, TreeView.
2010-12-10 21:25:07 +00:00
Julian Storer
897c3e1fa7
Made linux getMillisecondCounter() run monotonically. Added a new class Decibels, with some decibel conversion methods. Minor updates to AudioThumbnail and FileInputSource.
2010-12-08 18:54:17 +00:00
Julian Storer
c4029bc86d
Updated MSVC solution files. Cleaned up some more win32 CD-reader and DSound code.
2010-12-06 22:38:28 +00:00
Julian Storer
7b955dd6c3
Small fixes for mouse positioning. Clean-up for win32 CD reader code.
2010-12-06 19:30:15 +00:00
Julian Storer
c3b257a088
Small fix for AudioThumbnail. Minor internal clean-ups.
2010-12-05 18:20:32 +00:00
Julian Storer
99085429b5
Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow.
2010-12-03 23:36:00 +00:00
Julian Storer
4e52fac18e
Fixed a linux time issue. Removed a blank line from the jucer's .sln file generator. Cleaned up some jucer code.
2010-11-30 19:23:37 +00:00
Julian Storer
952b8c3940
Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes.
2010-11-29 16:22:06 +00:00
Julian Storer
a5cf4030f5
New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes.
2010-11-29 12:24:55 +00:00
Julian Storer
1629f9f66a
Created a new method Graphics::beginTransparencyLayer(), to help with compositing semi-transparent rendering.
2010-11-26 17:29:27 +00:00
Julian Storer
645637ab09
Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt().
2010-11-26 12:57:24 +00:00
Julian Storer
4cfdcb69fd
Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string.
2010-11-19 22:03:35 +00:00
Julian Storer
b952084419
Workarounds for VC6.
2010-11-17 14:01:14 +00:00
Julian Storer
9896b75340
Internal code modernisation.
2010-11-15 20:34:32 +00:00
Julian Storer
aef3203a28
Fixed an image resizing bug. Tweaked a couple of methods in KeyMappingEditorComponent and TableListBox to return references instead of pointers. Changed Component::contains() to take a Point rather than raw coordinates. Modernised some UI classes internally. Extended some internal graphics classes to handle affine transforms.
2010-11-15 14:04:01 +00:00
Julian Storer
79899f87e0
Fix for mouse event click counts. Fix for webkit mouse-moves. Cleaned up some Component coordinate conversion methods, adding some new ones for rectangle conversion.
2010-11-08 22:45:19 +00:00
Julian Storer
aa71477712
Fixed a TabbedComponent bug. Fixed fallback fonts on win32.
2010-11-05 10:21:28 +00:00
Julian Storer
dbdea7c6d4
Removed the Component::getComponentUID() method, and slimmed down the component class implementation slightly.
2010-10-29 18:55:48 +01:00