Julian Storer
|
08eb852103
|
Minor code clean-ups.
|
2010-02-22 15:28:18 +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
|
b86423193e
|
Minor clean-ups.
|
2010-02-20 16:07:36 +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
|
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
|
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
|
6a4e8f235c
|
Minor fixes and warning removals for VC7.
|
2010-01-17 22:44:16 +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
|
8bf4d88d97
|
Minor clean-ups.
|
2010-01-04 15:24:13 +00:00 |
|
Julian Storer
|
59a2506864
|
Minor code clean-ups
|
2010-01-03 16:17:42 +00:00 |
|
Julian Storer
|
c22c06c80c
|
New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns.
|
2010-01-02 23:01:18 +00:00 |
|
Julian Storer
|
80753f4c03
|
Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream.
|
2009-12-16 21:13:46 +00:00 |
|
Julian Storer
|
03b54862c5
|
Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff
|
2009-12-09 15:44:27 +00:00 |
|
Julian Storer
|
be5ecce1fe
|
Added drag-and-drop target support to TreeViews. The TreeViewItem class now has methods that can be overridden to accept external and internal drags, and the TreeView provides some nice graphics to indicate the target insertion point. Also added a handy method Viewport::autoScroll, and options for positioning the dragged image supplied to DragAndDropContainer::startDrag
|
2009-12-09 13:08:38 +00:00 |
|
Julian Storer
|
d779fa9759
|
The first working check-in of an iPhone build! Added an iPhone project for the normal juce demo, which runs.. although it isn't exactly designed for a hand-held form factor!
Also in this check-in is support for creation of custom Mac MIDI input and output devices, and an option to load URLs with the QuickTimeComponent
|
2009-11-13 16:17:22 +00:00 |
|
Julian Storer
|
48bacabcff
|
Changes to improve AU, VST and RTAS key forwarding on the Mac
|
2009-09-21 23:28:13 +01:00 |
|
jules
|
4d16424d9c
|
Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly.
|
2009-08-22 21:57:23 +00:00 |
|