jules
|
2b0f3f45e0
|
Made OwnedArray::addCopiesOf handle null pointers.
|
11 years ago |
jules
|
a316bd5f6f
|
Removed a few more places where static objects could cause problems for people who do unwise amounts of work in their static constructors.
|
11 years ago |
jules
|
2edec00b55
|
Removed a few more uses of String::empty.
|
11 years ago |
jules
|
f9759ecc6b
|
Documentation fixes.
|
11 years ago |
jules
|
39cc7d8d82
|
Fixed some var::equals ordering problems, and added unit tests for this.
|
11 years ago |
jules
|
aa8fdc8cba
|
Made a couple of OwnedArray methods return the object that they are passed.
|
11 years ago |
jules
|
a7df25f860
|
Added methods var::clone() and DynamicObject::clone() for deep-copying objects.
|
11 years ago |
jules
|
1a2aff80a7
|
Moved some JSON formatting logic into DynamicObject::writeAsJSON
|
11 years ago |
jules
|
0cc6fb9356
|
Avoided MSVC warning.
|
11 years ago |
jules
|
03ab2a2c3c
|
Modifications to the var class to make it more javascript-compatible. Changed the handling of array types to be a shared, ref-counted array rather than being copy-by-value. Added an "undefined" type. Updated the native method invocation functions to be static (the old version used class methods) and to provide a 'this' object which may be different from the DynamicObject on which it's being invoked (this is to deal with derived classes)
|
11 years ago |
jules
|
293aedac2f
|
Fixed spelling. Added a few simple methods to Random, BigInteger and var.
|
11 years ago |
jules
|
0ff1e14b8b
|
Added assertions to some array methods to avoid false alarms from Clang static analyser.
|
11 years ago |
jules
|
18a012f7db
|
Optimised Array with some move-operators.
|
11 years ago |
jules
|
8a66ec83f0
|
Minor clean-ups.
|
11 years ago |
jules
|
81c87652db
|
Removed an incorrect assertion.
|
11 years ago |
jules
|
8809efcb7a
|
A few tweaks to help the clang static analyser avoid false alarms.
|
11 years ago |
jules
|
221786dfcf
|
New method Array::addNullTerminatedArray(), and misc minor tightening-up of code.
|
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
|
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
|
5df6bf0513
|
Minor clean-ups.
|
11 years ago |
jules
|
59d8d8172d
|
Replaced the crappy old juce sortArray function with std::sort, which seems to run twice as fast. This greatly speeds up edge table rendering.
|
11 years ago |
jules
|
954312b23c
|
Changes to ReferenceCountedObject to support more flexible deletion via ContainerDeletePolicy.
|
11 years ago |
jules
|
508e25afbb
|
Cleared-out the last batch of unnecessary includes.
|
11 years ago |
jules
|
2786eadaf9
|
Removed a few pedantic warnings.
|
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
|
1e3973a212
|
Doxygen warning fixes and extra comments.
|
11 years ago |
jules
|
0e27986214
|
Modified the HashMap class to store an instance of its hashcode-generator class instead of calling static methods.
|
12 years ago |
jules
|
3330b9b587
|
Added StringArray::clearQuick method.
|
12 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.
|
12 years ago |
jules
|
19b7d59c14
|
Added method OwnedArray::clearQuick
|
12 years ago |
jules
|
5a1112ab94
|
Updated the format of the header include guard macros.
|
12 years ago |
jules
|
282cf3dac4
|
constness fix in OwnedArray.
|
12 years ago |
jules
|
899b1253da
|
Minor clean-ups.
|
12 years ago |
jules
|
aec3d12753
|
A few minor tweaks to avoid warnings etc.
|
12 years ago |
jules
|
7f7cbe73fd
|
Over-zealous assertion fix.
|
12 years ago |
jules
|
57832f97e1
|
Avoided a false assertion.
|
12 years ago |
jules
|
78aac0995a
|
Fixes for some clang static analysis warnings.
|
12 years ago |
jules
|
2af7585fc2
|
spelling fixes
|
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
|
14cc8bf3c5
|
Changed ImageCache purging method. Added a PropertyPanel::getTotalContentHeight() method.
|
12 years ago |
jules
|
c8e09aba67
|
Added an extra method to ListenerList. Handled zero-length binary data in var class.
|
12 years ago |
jules
|
52b638ff40
|
Misc cleanups.
|
12 years ago |
jules
|
868bee86d0
|
Support for storing binary vars in XML via NamedValueSet/ValueTree.
|
12 years ago |
jules
|
dde56bab6a
|
Added a binary data type to the var class.
|
12 years ago |
jules
|
b2e8db097a
|
Tweak to ScopedValueSetter to keep VS2012 happy.
|
12 years ago |
jules
|
6b7f0609bf
|
Minor clean-ups.
|
12 years ago |
jules
|
cb24acca97
|
Added a minimum-size template parameter to Array.
|
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
|
f5175b3c2d
|
Minor addition to HashMap
|
12 years ago |