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
1d215fa865
Renamed the juce demo folder from "juce demo" to "JuceDemo". Annoyingly, this is necessary because the Android build tools can't handle paths containing spaces (!)
2011-02-06 19:03:36 +00:00
Julian Storer
08339c92e2
Minor fixes for mac compilation. Android stuff.
2011-02-05 15:15:45 +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
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
c6b81ebf51
Added a setHeader() method to TableListBox. New utility class TreeView::OpennessRestorer.
2011-01-25 19:09:44 +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
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
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
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
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
9973f5a81e
New class ComponentBuilder, and some refactoring of Drawables to use it.
2010-12-29 23:11:05 +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
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
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
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
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
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
f402ce803b
Fixes for button behaviour.
2010-12-14 17:49:52 +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
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
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
12a6bdaa03
Couple of minor jucer tweaks.
2010-12-01 21:36:39 +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
640a335537
Big change for Drawables - they now inherit from Component, so can be added directly to other components and will draw themselves, rather than being painted into a graphics object (although you can still use them that way if you want to).
2010-11-26 13:02:40 +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
081744b177
Small win32 NPAPI update.
2010-11-26 12:53:22 +00:00
Julian Storer
1e8a28679f
AU editor fix. Added a descriptive name field to PluginDescription.
2010-11-26 12:42:56 +00:00
Julian Storer
2c2a11dee9
Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates.
2010-11-21 16:53:03 +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
51b5570292
Added an 'open project' button to the new Jucer.
2010-11-17 17:48:27 +00:00