Julian Storer
|
80afd8aee7
|
Compiler fixes for String and var. Fix for TextEditor redraw problems.
|
2010-02-24 11:27:57 +00:00 |
|
Julian Storer
|
bb60371f1c
|
Couple of minor fixes.
|
2010-02-24 09:11:04 +00:00 |
|
Julian Storer
|
1fc2a55d82
|
Minor code clean-ups.
|
2010-02-22 15:32:26 +00:00 |
|
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
|
038886510a
|
Tidied a few static functions away into private namespaces.
|
2010-02-20 18:57:36 +00:00 |
|
Julian Storer
|
b86423193e
|
Minor clean-ups.
|
2010-02-20 16:07:36 +00:00 |
|
Julian Storer
|
39b583fe1e
|
Modernised some old code.
|
2010-02-20 15:27:48 +00:00 |
|
Julian Storer
|
8820020213
|
Added support for extended character input on the mac. Added a few methods to Rectangle and Range.
|
2010-02-18 16:49:30 +00:00 |
|
Julian Storer
|
d8e16ccc06
|
Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints.
|
2010-02-17 10:12:46 +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
|
f97cf1aaa5
|
Fix for win32 drag-and-drop.
|
2010-02-16 12:03:14 +00:00 |
|
Julian Storer
|
3057acf0b3
|
Fix for browser plugins using tabs in firefox 3.6. Minor CodeEditorComponent fix.
|
2010-02-15 13:31:41 +00:00 |
|
Julian Storer
|
fb7cf838db
|
Created a new class "Range", for holding generic number ranges. New abstract class TextInputTarget, which defines methods common to text editors. Changed a couple of method definitions in TextEditor and CodeEditorComponent so that they could implement TextInputTarget. Added ability for wav files to save their SMPL chunk.
|
2010-02-12 17:38:39 +00:00 |
|
Julian Storer
|
cb00274427
|
Minor fixes for File::isAChildOf(), NPAPI window sizing, CodeDocument syntax parsing, and the amalgamated template file.
|
2010-02-11 11:07:03 +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
|
bc41a46dab
|
Fix for atomics in OSX10.4, and popup menus on unusual monitor arrangements.
|
2010-02-09 15:08:59 +00:00 |
|
Julian Storer
|
0d278483e4
|
Fix for String copying thread-safety, and some minor compile issues.
|
2010-02-08 16:23:01 +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
|
31a102008d
|
Reduced the memory footprint of the array classes.
|
2010-02-06 09:16:20 +00:00 |
|
Julian Storer
|
ded4826413
|
Minor code tidy-ups.
|
2010-02-05 22:01:47 +00:00 |
|
Julian Storer
|
ca0dce68d5
|
Added methods to SystemStats to return the user's name.
|
2010-02-05 18:36:19 +00:00 |
|
Julian Storer
|
c1b2a69a93
|
Improved CodeEditor cursor behaviour.
|
2010-02-05 16:56:51 +00:00 |
|
Julian Storer
|
effe92f6e7
|
Fix for some MSVC compile problems and warnings.
|
2010-02-04 18:42:02 +00:00 |
|
Julian Storer
|
f7636fe1a3
|
Fix for CodeDocument when opening files with a blank line at the end.
|
2010-02-04 12:46:39 +00:00 |
|
Julian Storer
|
fe4a37ef49
|
Added a sort method to the TreeView class.
|
2010-02-03 23:03:38 +00:00 |
|
Julian Storer
|
22ecd45505
|
Code clean-ups.
|
2010-02-03 21:27:10 +00:00 |
|
Julian Storer
|
b2e5ef2bd6
|
Minor code modernisations.
|
2010-02-03 19:05:03 +00:00 |
|
Julian Storer
|
f3b46c9a2f
|
Tweaked AlertWindow to allow custom components to be labelled with their name, and to be lined up along their left-hand edge with the other items. Added some mac keyboard handling to stop keys getting stuck.
|
2010-02-03 14:20:43 +00:00 |
|
Julian Storer
|
0282a89908
|
Fix for MSVC compile problem.
|
2010-02-01 16:51:38 +00:00 |
|
Julian Storer
|
2a56cadd67
|
Fix for a DocumentWindow internal class. Added a missing win32 library. Added scroll position to the PropertyPanel state xml. Small fix for compiling with latest iPhone SDK.
|
2010-01-31 11:53:27 +00:00 |
|
Julian Storer
|
63d3d8a77e
|
New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug.
|
2010-01-29 10:31:12 +00:00 |
|
Julian Storer
|
773c7d7407
|
Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc.
|
2010-01-28 16:02:16 +00:00 |
|
Julian Storer
|
51c58839c1
|
Tightened up some old bits of code. Minor fix for MagnifierComponent on the mac.
|
2010-01-27 21:59:18 +00:00 |
|
Julian Storer
|
35a4b5085f
|
Updated Timer code to avoid a rare messaging problem. Fixed a couple of minor build errors. Rearranged the atomic functions and added a new compare-and-swap operation. Added a thread-priority tweak to WASAPI. Removed MS-specific classes from the web browser component.
|
2010-01-27 20:28:38 +00:00 |
|
Julian Storer
|
6bf8b51c5a
|
Added X-windows locking for all linux windowing, and added a class ScopedXLock to allow it to be done around client code as well. Misc fixes for mac menus, win32 WM_QUIT messages, MidiKeyboardComponent. Added text colour id to DirectoryContentsDisplayComponent.
|
2010-01-24 20:46:34 +00:00 |
|
Julian Storer
|
c539e8f5c0
|
Fix for mac window ordering that was causing drag and drop problems. Added a sanity-check to the text editor's undo transaction size.
|
2010-01-19 13:27:51 +00:00 |
|
Julian Storer
|
6a4e8f235c
|
Minor fixes and warning removals for VC7.
|
2010-01-17 22:44:16 +00:00 |
|
Julian Storer
|
0744c0db37
|
New class: TemporaryFile, which manages a temporary file, deleting it when it goes out of scope. Also fixes for compile problems in VC7.
|
2010-01-16 17:51:48 +00:00 |
|
Julian Storer
|
38bd05de16
|
Minor fixes for Value components.
|
2010-01-15 20:54:57 +00:00 |
|
Julian Storer
|
e73a0fb874
|
Added Value support to Labels and ComboBoxes. Altered all the PropertyComponent classes so that as well as being used as abstract base classes, they can now also be instantiated directly as controllers for a Value. This allows property panels to be built to control a set of Value objects without writing any custom classes.
|
2010-01-15 15:39:39 +00:00 |
|
Julian Storer
|
55306275b1
|
Minor fixes to avoid compiler warnings
|
2010-01-15 15:06:24 +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
|
c368805559
|
Misc fixes for mingw compatibility
|
2010-01-12 16:54:18 +00:00 |
|
Julian Storer
|
d7cbfe93c5
|
Minor tidying up.
|
2010-01-11 12:17:43 +00:00 |
|
Julian Storer
|
18ffeba9da
|
Added Value support to the Button's toggle state and TextEditor content. Refactored the atomic operation functions to live inside a class called Atomic, and the byte order functions into a class called ByteOrder.
|
2010-01-10 22:00:59 +00:00 |
|
Julian Storer
|
98380f4744
|
New class: Value, which provides a way to share variants and listen for changes to them. Adapted Slider to use Value objects for its position, and changed the widgets demo to show how they can be easily tied together. Updated the VST speaker arrangement code.
|
2010-01-07 17:54:51 +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 |
|