jules
|
7b1e821800
|
Spelling correction.
|
10 years ago |
jules
|
5fd933f041
|
Minor documentation fix.
|
10 years ago |
jules
|
3e7d305094
|
A few minor whitespace cleanups.
|
10 years ago |
jules
|
2f1ef234ce
|
Tightened up a few places where numeric conversion warnings could happen.
|
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
|
883a94b762
|
Made sure that AbstractFifo::getFreeSpace returns the correct amount.
|
11 years ago |
jules
|
de6c80bb98
|
Clarified some documentation
|
11 years ago |
jules
|
91d9c96338
|
Minor clean-ups
|
11 years ago |
jules
|
d909b5aa2a
|
Added some base class initialisers to keep gcc 4.8.2 happy
|
11 years ago |
jules
|
5645702bd4
|
(Fixed something that was missing from the last commit)
|
11 years ago |
jules
|
aff3ce418b
|
Renamed a variable called "slots" to avoid confusion in Qt creator.
|
11 years ago |
jules
|
28e4473a6b
|
Fixed some typos.
|
11 years ago |
jules
|
dcbde7b118
|
Added NamedValueSet::indexOf()
|
11 years ago |
jules
|
af746fafa3
|
Documentation typo fix.
|
11 years ago |
jules
|
f38dc2fe3a
|
Added a DynamicObject::cloneAllProperties() method.
|
11 years ago |
jules
|
174e04b766
|
Added a copy constructor for DynamicObject
|
11 years ago |
jules
|
98bd1c55d3
|
Documentation correction.
|
11 years ago |
jules
|
ff6e3bdace
|
Fix for Array move operator.
|
11 years ago |
jules
|
76c8400049
|
Really minor clean-ups.
|
11 years ago |
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.
|
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
|
19b7d59c14
|
Added method OwnedArray::clearQuick
|
11 years ago |
jules
|
5a1112ab94
|
Updated the format of the header include guard macros.
|
12 years ago |