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

11 commits

Author SHA1 Message Date
Julian Storer
66643e85ac Minor string changes. 2010-03-26 18:23:54 +00:00
Julian Storer
d84e47353c Couple of optimisations to text rendering. Removed various printfs from the codebase. 2010-03-11 10:16:02 +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
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
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
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
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
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
3ae9ac0295 added some changes to make the core library compile on the iPhone (none of the UI code is done yet). In the process of this, fixed some endianness problems in SystemStats::getMACAddresses, and changed some of the mac code for timing, directory searching, etc to use different APIs internally. 2009-10-08 15:43:04 +01:00
jules
158a17f08a (Added missing files from last check-in) 2009-08-22 22:30:57 +00:00
jules
ea83c7ee5e Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2 2009-08-20 09:19:37 +00:00
Renamed from build/win32/platform_specific_code/juce_win32_Network.cpp (Browse further)