127 Commits (52825b180b03fe45dfd0df5621e4edab6574417f)

Author SHA1 Message Date
  jules d8bc6c52c7 A couple more optimisations of Identifier object passing. 10 years ago
  jules e018192de2 Performance optimisations to the way that Identifier objects are passed into var, ValueTree and NamedValueSet. The Identifer class used to be light enough to pass by value but now contains a String so is better passed by reference. 10 years ago
  jules d8bf3aabca Added a method ReferenceCountedArray::clearQuick() 10 years ago
  jules 0496e944b1 Documentation fix. 10 years ago
  jules d723d58b16 Documentation fix. 10 years ago
  jules a0af60a179 Increased the precision with which var converts double values to strings. It now uses 20 decimal places, which matches the way XmlElement does this. 10 years ago
  jules 7cfcf7940d Modified the return types of some var and DynamicObject operator[] methods to avoid a common pitfall. 10 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 cde93f6e88 Workaround for a VS2014 compiler bug. 10 years ago
  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