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

132 commits

Author SHA1 Message Date
jules
2fd89b0ac4 A few minor clean-ups. 2014-08-26 10:17:40 +01:00
jules
413954f60c Documentation fix. 2014-07-21 16:49:55 +01:00
jules
2f1ef234ce Tightened up a few places where numeric conversion warnings could happen. 2014-07-10 18:57:24 +01:00
jules
371e91c615 Fixed a case-comparison problem in String::compareNatural() and added some unit tests for it. 2014-07-03 12:24:36 +01:00
jules
3b88555140 Replaced the old, badly-named and badly-implemented String::compareLexicographically() method with String::compareNatural(), which uses a smarter algorithm. Also added a method StringArray::sortNatural() which uses this. 2014-06-15 10:37:31 +01:00
jules
3c8fbc0bfe MSVC UTF-32 build fix. 2014-05-30 09:10:09 +01:00
jules
69ff02b46c Couple of fixes for a UTF-32 build. 2014-05-29 21:02:13 +01:00
jules
412c86a167 Avoided a warning. 2014-05-27 18:21:23 +01:00
jules
4317f60173 Refactored the StringPool and Identifier classes to store the identifiers as Strings, so that they can be shared with other classes like XmlElement without creating temporary or copied String objects. Also added garbage collection for the pooled strings, and changed XmlElement to pool all of the strings it uses, to reduce memory footprint in large XML trees with many identical names. Also refactored NamedValueSet to use an array instead of a linked list. 2014-05-27 17:02:34 +01:00
jules
cf4cde192d Added a couple of missing JUCE_API annotations. 2014-05-19 09:41:22 +01:00
jules
e8a1876a95 Added an operator[] to StringRef 2014-03-27 17:08:50 +00:00
jules
7d3782b9e9 Minor documentation typo. 2014-02-05 16:35:26 +00:00
jules
7e1dcaa0ed Improved comment. 2014-01-23 09:52:43 +00:00
jules
28c281c6d3 Added a missing operator<< declaration for String. 2014-01-20 15:40:07 +00:00
jules
492def9abf Made CharPointer_UTF8 more consistent in the way it handles broken sequences. 2014-01-20 12:06:14 +00:00
jules
d582a66917 Introjucer: Added gnu++0x flag for android builds. Support for SVG icons. 2014-01-02 14:33:06 +00:00
jules
ce8d56d3a1 Added copy constructors to LocalisedStrings. 2014-01-01 16:57:25 +00:00
jules
ca42bdaeb4 Documentation update + Xcode 3 compiler fix. 2014-01-01 16:20:25 +00:00
jules
ab053c5503 Added a LocalisedString::setFallback() method. 2013-12-29 11:02:59 +00:00
jules
dc182eef2c Improvement to OSX double->string conversion for better speed + thread-safety. 2013-12-17 20:14:54 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
2623f4d1e1 Added method String::clear(), and used it to replace a few uses of String::empty. 2013-12-01 11:32:39 +00:00
jules
39cc7d8d82 Fixed some var::equals ordering problems, and added unit tests for this. 2013-11-22 11:02:06 +00:00
jules
a9c2354ed0 Provided public access to the Array<String> that's inside StringArray. 2013-11-10 17:27:54 +00:00
jules
c8f72856d6 Added a template param to a CharacterFunctions method. 2013-11-07 14:39:22 +00:00
jules
a081f0f641 Added/refactored a couple of String methods. 2013-11-07 14:38:01 +00:00
jules
12a8dd3092 Avoided some pedantic GCC warnings. 2013-11-03 19:16:52 +00:00
jules
eb7e42b0ad Added method String::hash() 2013-10-25 13:04:47 +01:00
jules
5f00e94f3e Fixed a string allocation problem. 2013-10-17 17:34:22 +01:00
jules
59b9b0ccaf Couple of minor fixes to CharacterFunctions, and added a find-character method. 2013-10-15 19:44:37 +01:00
jules
a8c754f06c Added some comparison methods to Identifier. 2013-10-14 12:46:44 +01:00
jules
a7df25f860 Added methods var::clone() and DynamicObject::clone() for deep-copying objects. 2013-10-12 15:25:44 +01:00
jules
18a012f7db Optimised Array with some move-operators. 2013-10-04 09:59:24 +01:00
jules
bb98c00d0d Avoided some pedantic compiler warnings in the audio plugin code. 2013-10-01 11:53:17 +01:00
jules
9243e3dbdd Minor tinkering with the String class. 2013-09-19 22:25:16 +01:00
jules
221786dfcf New method Array::addNullTerminatedArray(), and misc minor tightening-up of code. 2013-09-18 19:10:01 +01:00
jules
fc772941d6 Fixed some pedantic warnings. 2013-09-16 18:47:28 +01:00
jules
addd649b27 Disambiguations to keep the MS compiler happy when using UTF32 string mode. 2013-09-13 16:12:05 +01:00
jules
c54ca1037d Fixes for builds using utf-32 string storage. 2013-09-12 16:24:08 +01:00
jules
94f7377009 Typo fix. 2013-09-11 15:34:12 +01:00
jules
3a47baf9b9 Misc minor string optimisations. 2013-09-11 14:52:28 +01:00
jules
435089e89b Updated the UnitTest class to provide a shared, reproducible random seed for each run, to allow failures to be re-created. Also converted a few Strings to StringRefs. 2013-09-11 10:29:48 +01:00
jules
14cfa338b6 Avoided a false assertion in File. Minor clean-ups. 2013-09-10 15:11:20 +01:00
jules
ec524a437d Fixed VC warning. Tweak to mouse cursor snap-back in sliders. Added an introjucer option to avoid adding the BinaryData.h header to AppConfig.h 2013-09-09 21:43:57 +01:00
jules
fecba9c31c New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this. 2013-09-09 20:07:17 +01:00
jules
c429b2aa24 Fixes for support of non-utf8 strings. 2013-09-06 16:21:17 +01:00
jules
c89abff867 Refactored some byte-order mark detection code. 2013-09-06 11:25:13 +01:00
jules
e336dd1c1c Optimisation for String and XML parsing. 2013-09-05 23:07:00 +01:00
jules
508e25afbb Cleared-out the last batch of unnecessary includes. 2013-08-29 12:44:00 +01:00
jules
295265fb28 Added a method LocalisedStrings::addStrings() for merging multiple translation files. 2013-08-27 11:27:28 +01:00