reuk
|
224c4f706b
|
JSON: Add new JSON::Formatter for configuring JSON output
This also fixes an issue where MIDI CI header data could contain spaces,
which is not allowed according to the spec.
|
1 year ago |
Tom Poole
|
c474cb2469
|
Docs: Fix some missing Doxygen tags
|
1 year ago |
Tom Poole
|
6bf9bb9a2e
|
Add final specifiers in implementation files
|
1 year ago |
Tom Poole
|
4153d59e39
|
Formatting
|
1 year ago |
reuk
|
8f62a61099
|
VariantConverter: Make strict conversion opt-in rather than opt-out
|
1 year ago |
reuk
|
33f999a9f0
|
JSON: Add new JSONUtils functions for working with JSON objects and pointers
|
1 year ago |
reuk
|
d8b71b4eef
|
VariantConverter: Use FromVar and ToVar as a fallback
|
1 year ago |
reuk
|
56195d1053
|
Serialisation: Add basic utilities to facilitate conversion to/from JSON with minimal boilerplate
|
1 year ago |
reuk
|
6420ab31b6
|
DynamicObject: Update signature of clone to return unique_ptr
|
1 year ago |
reuk
|
28414a6af8
|
Global: Avoid floating-point equality checks where possible
|
2 years ago |
Oli
|
b715614109
|
JavaScript: Add 'hypot' math function
|
2 years ago |
Tom Poole
|
220d6fc5ee
|
Some minor code tidying
|
2 years ago |
reuk
|
28f2157912
|
Convert ignoreUnused to [[maybe_unused]]
|
2 years ago |
Tom Poole
|
dea3fe60e4
|
Update copyright banners
|
3 years ago |
reuk
|
64b9366e8f
|
CharacterFunctions: Add new function to move pointer past whitespace
|
4 years ago |
reuk
|
394c4fd475
|
Clang: Fix warnings when building with clang 10
|
4 years ago |
reuk
|
f49b3733ec
|
Warnings: Silence some GCC warnings
|
5 years ago |
Tom Poole
|
894e7d2bd2
|
Updated all license headers
|
5 years ago |
Tom Poole
|
2d16374b14
|
Updated all license headers
|
5 years ago |
reuk
|
5f348c3040
|
Warnings: Add warning-wrangling header
|
5 years ago |
ed
|
59a058fdc6
|
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
|
5 years ago |
ed
|
2b53ff6c54
|
Added comments to clarify a24341d
|
5 years ago |
ed
|
a24341d2a7
|
Fixed clang -Wreturn-std-move-in-c++11 warnings
|
5 years ago |
jules
|
e5f8937082
|
Workaround for VS warning
|
5 years ago |
jules
|
002dc803a1
|
Refactored the JSON parser to produce error messages which contain the line + column
|
5 years ago |
jules
|
62ead7dc7d
|
Added some overloads to OwnedArray to let items be added from std::unique_ptrs. Also removed OwnedArray::addIfNotAlreadyThere because it's ambiguous about whether the object should be deleted if it fails to be added!
|
6 years ago |
ed
|
497a1b3fb7
|
Added juce_UnitTestCategories.h to replace raw strings used for test categories
|
6 years ago |
ed
|
f3af250ff7
|
Tidied up unit test code layout
|
6 years ago |
Tom Poole
|
ce6339f332
|
Added a trailing decimal when serialising integer valued doubles
|
6 years ago |
Tom Poole
|
0d019acd1c
|
Added a trailing decimal when serialising integer valued doubles
|
6 years ago |
Tom Poole
|
4700dd9773
|
Serialise doubles into more human friendly XML and JSON
|
6 years ago |
Tom Poole
|
bbe49f6b36
|
Serialise doubles into more human friendly XML and JSON
|
6 years ago |
Tom Poole
|
306e7e4360
|
Fixed a few more places where doubles were not serialised to full accuracy
|
6 years ago |
Tom Poole
|
865eabd434
|
Fixed a bug writing doubles to XML and JSON
|
6 years ago |
ed
|
3ba771507d
|
Avoid unnecessary zeros when writing double values to XML or JSON
|
6 years ago |
ed
|
eaf0f990d4
|
Replaced all uses of static_cast<Type&&> with std::move
|
6 years ago |
jules
|
d5034083cb
|
Fix for JSON stringification of INF and NaN double values
|
6 years ago |
jules
|
95a3f0b039
|
Whitespace
|
6 years ago |
jules
|
1e6bbb8da9
|
Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this
|
6 years ago |
jules
|
49aa9c9db4
|
Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use
|
6 years ago |
jules
|
d1571a19aa
|
Added a few missing in-place operators to the javascript parser
|
7 years ago |
jules
|
38295f332b
|
Converted some old typedefs to using declarations
|
7 years ago |
jules
|
f4e3eafc78
|
Added support for floating point modulo to the javascript interpreter
|
7 years ago |
Tom Poole
|
ab863a6dc2
|
Replaced all usage of ScopedPointer with std::unique_ptr
|
7 years ago |
ed
|
cdbc28c18b
|
Add documentation tags
|
7 years ago |
jules
|
8d09eaadb6
|
Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability
|
7 years ago |
jules
|
1a60fa9765
|
More ScopedPointer/unique_ptr compatibility work
|
7 years ago |
jules
|
48a5fbd333
|
Another batch of ScopedPointer cleanups
|
7 years ago |
jules
|
7326a37795
|
Added some missing math constants to the Javascript parser, and a constant MathConstants::sqrt2
|
7 years ago |
jules
|
81abb6a1a6
|
Avoided a spurious assertion when trying to compile invalid javascript
|
7 years ago |