Tom Poole
4153d59e39
Formatting
1 year ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
fc0f6b1f2f
Tidy up
3 years ago
reuk
5d26b6a20f
Aiff: Fix extremely slow loads of pathological files
If an aiff file advertied a large number of metadata keys, the
StringPairArray::set calls resulted in quadratic complexity.
We now read keys into a std::map instead, as it enables much faster
lookup, and then convert back to a StringPairArray at the last possible
moment.
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
jules
e26049f141
Added assertions to Array to catch situations where a reference to a member is passed into an add() method. Also changed the form of StringArray method params to avoid this problem.
6 years ago
jules
383528ec6e
Added some helpers to StringArray to allow creation from Arrays of string-convertible objects
7 years ago
Tom Poole
c7c26fa9f0
Removed the OS X 10.5 and 10.6 deployment target options from the Projucer and enabled more C++11 features across all platforms
7 years ago
jules
85f74ca7d3
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
7 years ago
jules
d4a7afa73f
Replaced some old juce-style sort operations with std::sort and lambdas
7 years ago
jules
6cb79e1414
Added back std::initializer_list constructors for Array and StringArray in addition to the variadic constructors
7 years ago
jules
7ece1b4135
Changed Array and StringArray to use variadic template constructors instead of initializer_lists, so that we can use them on old platforms
7 years ago
jules
3d7c777238
Some light modernisation of a bunch of old code
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
Timur Doumler
fc69dc00db
Changed addIfNotAlreadyThere method of all array classes to return a bool, indicating whether the object was added or not.
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
jules
810f2bfb2a
Introjucer: Added Android Studio exporter
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
8c66a5e767
Added flag JUCE_COMPILER_SUPPORTS_INITIALIZER_LIST, and implemented some constructors for StringArray and Array that use C+++11 initialiser lists.
10 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
2edec00b55
Removed a few more uses of String::empty.
11 years ago
jules
18a012f7db
Optimised Array with some move-operators.
11 years ago
jules
221786dfcf
New method Array::addNullTerminatedArray(), and misc minor tightening-up of code.
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
3330b9b587
Added StringArray::clearQuick method.
11 years ago
jules
5b25ac6609
Renamed the swapWithArray methods in the array classes to "swapWith" to be more consistent with other swap method naming, and templated the methods for more flexibility.
11 years ago
jules
731a9b1d59
Added method StringArray::ensureStorageAllocated()
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
abde049bf0
Whitespace cleanup.
12 years ago
jules
5a0cef7239
Added some static StringArray methods for tokenising.
12 years ago
jules
a9e026e062
Added a constructor to StringArray.
12 years ago
jules
6b1654e1d2
Fixed some more warnings.
12 years ago
jules
d7825c23fe
Minor optimisations to StringArray.
12 years ago
jules
56a4537088
Added method StringArray::swapWith().
13 years ago
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
13 years ago
jules
07b73e4071
StringArray fix + additional unit tests. AudioFormatManager tweak for iOS. 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)
13 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..
13 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
d5bbd54f25
Fix for StringArray tokenising.
14 years ago
Julian Storer
eabc372ea9
String tokenisation clean-up.
14 years ago