jules
|
c66f412224
|
Optimised performance of String::isEmpty()
|
10 years ago |
jules
|
8d8c946528
|
Tidied up some inconsistent use of size_t and a problem in a demo build.
|
10 years ago |
jules
|
2fd89b0ac4
|
A few minor clean-ups.
|
10 years ago |
jules
|
413954f60c
|
Documentation fix.
|
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
|
7d3782b9e9
|
Minor documentation typo.
|
11 years ago |
jules
|
28c281c6d3
|
Added a missing operator<< declaration for String.
|
11 years ago |
jules
|
2623f4d1e1
|
Added method String::clear(), and used it to replace a few uses of String::empty.
|
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
|
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
|
3a47baf9b9
|
Misc minor string optimisations.
|
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
|
e336dd1c1c
|
Optimisation for String and XML parsing.
|
11 years ago |
jules
|
508e25afbb
|
Cleared-out the last batch of unnecessary includes.
|
11 years ago |
jules
|
5a1112ab94
|
Updated the format of the header include guard macros.
|
12 years ago |
jules
|
eb646f8c42
|
Deprecated some old bool notification mode parameters, and replaced them with NotificationType values in the ComboBox and Button classes.
|
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
|
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
|
1c90d82aac
|
Spelling fix.
|
12 years ago |
jules
|
9393c1bbc9
|
Avoided some minor compiler warnings.
|
12 years ago |
jules
|
6d15cc2948
|
Minor cleanups.
|
12 years ago |
jules
|
74e687aa99
|
Added a String << operatator that takes int64.
|
13 years ago |
jules
|
cb77241d20
|
Fixed some documentation typos.
|
13 years ago |
jules
|
a45f14fbdf
|
Minor DirectWrite fix.
|
13 years ago |
jules
|
14c6561dda
|
Removed the (broken) String::Concatenator class - this awful class should never have existed. Instead, for fast string concatenation, write to a MemoryOutputStream and get the result with MemoryOutputStream::toString().
|
13 years ago |
Julian Storer
|
3744efa6ea
|
Tweaked some timings for mac native menus. Minor clean-ups.
|
13 years ago |
Julian Storer
|
ffc2f5d40e
|
Created c++11 move constructors and operator= methods for a bunch of classes (only enabled for c++11 compilers, of course)
|
14 years ago |
Julian Storer
|
b70e0a28d2
|
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
|
14 years ago |
Julian Storer
|
94a0bf1af1
|
Removed the PlatformUtilities class and moved its functions to more sensible classes - see forum post for more details.
|
14 years ago |
Julian Storer
|
67e22bbb56
|
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
|
14 years ago |
Julian Storer
|
f04309f44a
|
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
|
14 years ago |
Julian Storer
|
927cebcdbb
|
New class NativeMessageBox, with static methods for showing several types of native alert boxes.
|
14 years ago |
Julian Storer
|
a493cfee4d
|
Added a button size option to the PreferencesPanel. Added an operator for writing Strings to std::wcout. Fixed a clipping error in audio float to int conversion. Made the introjucer cope with backslashes in filenames when used on unix.
|
14 years ago |
Julian Storer
|
7a8377aeb7
|
Couple of minor documentation fixes.
|
14 years ago |
Julian Storer
|
bde96c1053
|
Fix for win32 String::formatted. Minor clean-ups.
|
14 years ago |
Julian Storer
|
5d98779f19
|
Updated the date in the copyright notice.
|
14 years ago |
Julian Storer
|
0e4a0df2c2
|
(Added files missing from last check-in)
|
14 years ago |
Julian Storer
|
04351861ae
|
More string tidying-up. Possible fix for win32 mutexes failing under strange circumstances.
|
14 years ago |
Julian Storer
|
533e7ba795
|
Many more String changes, so that finally the String class can store its internal data as either utf8, 16 or 32 - this is controlled by a flag JUCE_STRING_UTF_TYPE. It's currently set to utf-8 by default.
|
14 years ago |
Julian Storer
|
ef71999349
|
Added int64 type to var class. Internal string clean-ups.
|
14 years ago |
Julian Storer
|
571a2626da
|
Fixed an image anti-aliasing problem. Created some new methods in AudioIODeviceType to create device-specific types. Tidied up some win32 DLL build problems. Added support for drag-and-drop from iTunes on mac.
|
14 years ago |
Julian Storer
|
c26ac47dff
|
Implemented thread naming for mac + linux. Minor string tweaks. Android changes. Couple of other minor changes.
|
14 years ago |
Julian Storer
|
3bacbe2a8c
|
Refactored various string processing in the library. Removed a couple of String accessors that relied on assumptions about the format of the string's internal data (if your code has any problems with these changes, you should probably use the String::getCharPointer() method instead).
|
14 years ago |
Julian Storer
|
c10c810aee
|
Minor fixes for mac strings, WAV format, DrawableButton hit tests, win32 clipboard. New class: CharPointer_ASCII. Changes to the callback methods for ValueTree::Listener, to provide more detailed information about the event.
|
14 years ago |
Julian Storer
|
e235912ae5
|
Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats.
|
14 years ago |