jules
|
2fd89b0ac4
|
A few minor clean-ups.
|
10 years ago |
jules
|
413954f60c
|
Documentation fix.
|
11 years ago |
jules
|
2f1ef234ce
|
Tightened up a few places where numeric conversion warnings could happen.
|
11 years ago |
jules
|
371e91c615
|
Fixed a case-comparison problem in String::compareNatural() and added some unit tests for it.
|
11 years ago |
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.
|
11 years ago |
jules
|
3c8fbc0bfe
|
MSVC UTF-32 build fix.
|
11 years ago |
jules
|
69ff02b46c
|
Couple of fixes for a UTF-32 build.
|
11 years ago |
jules
|
412c86a167
|
Avoided a warning.
|
11 years ago |
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.
|
11 years ago |
jules
|
cf4cde192d
|
Added a couple of missing JUCE_API annotations.
|
11 years ago |
jules
|
e8a1876a95
|
Added an operator[] to StringRef
|
11 years ago |
jules
|
7d3782b9e9
|
Minor documentation typo.
|
11 years ago |
jules
|
7e1dcaa0ed
|
Improved comment.
|
11 years ago |
jules
|
28c281c6d3
|
Added a missing operator<< declaration for String.
|
11 years ago |
jules
|
492def9abf
|
Made CharPointer_UTF8 more consistent in the way it handles broken sequences.
|
11 years ago |
jules
|
d582a66917
|
Introjucer: Added gnu++0x flag for android builds. Support for SVG icons.
|
11 years ago |
jules
|
ce8d56d3a1
|
Added copy constructors to LocalisedStrings.
|
11 years ago |
jules
|
ca42bdaeb4
|
Documentation update + Xcode 3 compiler fix.
|
11 years ago |
jules
|
ab053c5503
|
Added a LocalisedString::setFallback() method.
|
11 years ago |
jules
|
dc182eef2c
|
Improvement to OSX double->string conversion for better speed + thread-safety.
|
11 years ago |
jules
|
2edec00b55
|
Removed a few more uses of String::empty.
|
11 years ago |
jules
|
2623f4d1e1
|
Added method String::clear(), and used it to replace a few uses of String::empty.
|
11 years ago |
jules
|
39cc7d8d82
|
Fixed some var::equals ordering problems, and added unit tests for this.
|
11 years ago |
jules
|
a9c2354ed0
|
Provided public access to the Array<String> that's inside StringArray.
|
11 years ago |
jules
|
c8f72856d6
|
Added a template param to a CharacterFunctions method.
|
11 years ago |
jules
|
a081f0f641
|
Added/refactored a couple of String methods.
|
11 years ago |
jules
|
12a8dd3092
|
Avoided some pedantic GCC warnings.
|
11 years ago |
jules
|
eb7e42b0ad
|
Added method String::hash()
|
11 years ago |
jules
|
5f00e94f3e
|
Fixed a string allocation problem.
|
11 years ago |
jules
|
59b9b0ccaf
|
Couple of minor fixes to CharacterFunctions, and added a find-character method.
|
11 years ago |
jules
|
a8c754f06c
|
Added some comparison methods to Identifier.
|
11 years ago |
jules
|
a7df25f860
|
Added methods var::clone() and DynamicObject::clone() for deep-copying objects.
|
11 years ago |
jules
|
18a012f7db
|
Optimised Array with some move-operators.
|
11 years ago |
jules
|
bb98c00d0d
|
Avoided some pedantic compiler warnings in the audio plugin code.
|
11 years ago |
jules
|
9243e3dbdd
|
Minor tinkering with the String class.
|
11 years ago |
jules
|
221786dfcf
|
New method Array::addNullTerminatedArray(), and misc minor tightening-up of code.
|
11 years ago |
jules
|
fc772941d6
|
Fixed some pedantic warnings.
|
11 years ago |
jules
|
addd649b27
|
Disambiguations to keep the MS compiler happy when using UTF32 string mode.
|
11 years ago |
jules
|
c54ca1037d
|
Fixes for builds using utf-32 string storage.
|
11 years ago |
jules
|
94f7377009
|
Typo fix.
|
11 years ago |
jules
|
3a47baf9b9
|
Misc minor string optimisations.
|
11 years ago |
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.
|
11 years ago |
jules
|
14cfa338b6
|
Avoided a false assertion in File. Minor clean-ups.
|
11 years ago |
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
|
11 years ago |
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.
|
11 years ago |
jules
|
c429b2aa24
|
Fixes for support of non-utf8 strings.
|
11 years ago |
jules
|
c89abff867
|
Refactored some byte-order mark detection code.
|
11 years ago |
jules
|
e336dd1c1c
|
Optimisation for String and XML parsing.
|
11 years ago |
jules
|
508e25afbb
|
Cleared-out the last batch of unnecessary includes.
|
11 years ago |
jules
|
295265fb28
|
Added a method LocalisedStrings::addStrings() for merging multiple translation files.
|
11 years ago |