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 |
jules
|
d0111a4f96
|
Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi
|
7 years ago |
jules
|
2dc9316420
|
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
|
7 years ago |
tpoole
|
ee34e0455d
|
Restored compatibility with older versions of OS X by removing some std namespace maths functions
|
7 years ago |
jules
|
ff99aec1ab
|
Converted some old uses of non-C++ maths functions to their std equivalents
|
7 years ago |
jules
|
970eda679e
|
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
|
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 |
tpoole
|
5b6e482a0d
|
JSON: Added the ability to limit the number of decimal places when serialising floating point numbers
|
7 years ago |
tpoole
|
db1e79601e
|
Fixed an intermittent JSON parsing test failure
|
7 years ago |
ed
|
6bfcd820b4
|
Unit tests: Added an optional argument to the UnitTest constructor to specify a category and methods to get and run unit tests in a specified category. Updated the built-in JUCE unit tests and Demo project to use categories.
|
7 years ago |
jules
|
909ff222f2
|
Added a missing "pragma once"
|
8 years ago |
hogliux
|
b5afccc37c
|
Updated file headers and the README with the JUCE 5 license
|
8 years ago |
jules
|
bf94ab0e4c
|
Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings
|
8 years ago |
jules
|
f11db9e1fb
|
Avoided a spurious assertion in the javascript parser
|
8 years ago |
jules
|
8ed41ed14b
|
Fixed some whitespace style and cleaned up some code using C++11
|
8 years ago |