jules
|
c66f412224
|
Optimised performance of String::isEmpty()
|
10 years ago |
jules
|
710aec4503
|
Fixed a couple of broken unit tests
|
10 years ago |
jules
|
8d8c946528
|
Tidied up some inconsistent use of size_t and a problem in a demo build.
|
10 years ago |
jules
|
7233c1b8df
|
Made a couple of String methods more robust in the edge-case where they get called with a recursive reference to the target string.
|
10 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
|
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
|
7e1dcaa0ed
|
Improved comment.
|
11 years ago |
jules
|
dc182eef2c
|
Improvement to OSX double->string conversion for better speed + thread-safety.
|
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
|
a081f0f641
|
Added/refactored a couple of String methods.
|
11 years ago |
jules
|
eb7e42b0ad
|
Added method String::hash()
|
11 years ago |
jules
|
5f00e94f3e
|
Fixed a string allocation problem.
|
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
|
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
|
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
|
65c155e372
|
Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files.
|
11 years ago |
jules
|
da70f6d374
|
Fix for string->double default precision.
|
11 years ago |
jules
|
b172d3a070
|
Changed the double->String conversion to use std::ostream instead of sprintf, in order to avoid foreign locale formatting problems.
|
11 years ago |
jules
|
fc21a145cf
|
Fix for broken screen coord conversion in plugin windows.
|
11 years ago |
jules
|
ac3151ad1f
|
(Fixed typo in the last check-in)
|
11 years ago |
jules
|
ca40721527
|
Cleaned up edge-cases in string numeric conversion methods, and added some extra unit tests.
|
11 years ago |
jules
|
516bddabcc
|
Misc minor clean-ups.
|
12 years ago |
jules
|
2757bf2270
|
Fix for UTF32 strings.
|
12 years ago |
jules
|
d95fda2e90
|
Fix for strings in UTF32 mode.
|
12 years ago |
jules
|
03c2801f3f
|
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
|
12 years ago |
jules
|
c7506df13f
|
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
|
12 years ago |
jules
|
4c147d94a5
|
Fix to Rectangle::intersects
|
12 years ago |
jules
|
b4382bad62
|
Added String methods to create/return a std::string, and also String::toRawUTF8 method.
|
12 years ago |
jules
|
bfd9350bed
|
Changed some types from int to size_t where appropriate. Fixed a CoreMidi build problem in 64-bit mode.
|
12 years ago |
jules
|
b467be7a16
|
Avoid MSVC locale object leak.
|
12 years ago |
jules
|
e543949bda
|
Minor clean-ups.
|
12 years ago |
jules
|
7a3453f48b
|
Minor clean-ups.
|
12 years ago |
jules
|
9393c1bbc9
|
Avoided some minor compiler warnings.
|
12 years ago |
jules
|
6b1654e1d2
|
Fixed some more warnings.
|
12 years ago |
jules
|
9097528ca0
|
String decimal conversion fix.
|
12 years ago |
jules
|
7d014acb6c
|
Mingw fixes.
|
12 years ago |
jules
|
6e31e8babc
|
Fixes for CharPointer_UTF8::isValidString()
|
12 years ago |