1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

121 commits

Author SHA1 Message Date
Tom Poole
722557693f
Add CHOC and QuickJS licensing information 2024-05-23 13:41:59 +01:00
attila
dbd3b4f34b Place all choc types inside an anonymous namespace
This is to allow users to include choc in a JUCE project and not have
symbol collisions with our internally included copy of choc.
2024-05-10 11:55:28 +01:00
reuk
7c2a5fc758
JSON: Fix issue where max decimal places option was ignored during serialisation 2024-05-08 17:53:52 +01:00
attila
48c5857034 JavascriptEngine: Fix evaluating an empty array 2024-04-29 13:19:06 +02:00
attila
db3c2c6a52 Javascript: Replace old engine with QuickJS 2024-04-16 17:43:22 +01:00
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01:00
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.
2023-12-06 20:25:22 +00:00
Tom Poole
c474cb2469 Docs: Fix some missing Doxygen tags 2023-10-20 11:22:47 +01:00
Tom Poole
6bf9bb9a2e Add final specifiers in implementation files 2023-10-10 16:12:38 +01:00
Tom Poole
4153d59e39 Formatting 2023-10-02 15:42:20 +01:00
reuk
8f62a61099
VariantConverter: Make strict conversion opt-in rather than opt-out 2023-09-27 13:14:48 +01:00
reuk
33f999a9f0
JSON: Add new JSONUtils functions for working with JSON objects and pointers 2023-09-26 11:21:46 +01:00
reuk
d8b71b4eef
VariantConverter: Use FromVar and ToVar as a fallback 2023-09-26 11:21:45 +01:00
reuk
56195d1053
Serialisation: Add basic utilities to facilitate conversion to/from JSON with minimal boilerplate 2023-09-26 11:21:45 +01:00
reuk
6420ab31b6
DynamicObject: Update signature of clone to return unique_ptr 2023-08-23 20:31:54 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
Oli
b715614109 JavaScript: Add 'hypot' math function 2023-04-04 10:06:40 +01:00
Tom Poole
220d6fc5ee Some minor code tidying 2023-01-03 14:48:32 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace 2021-02-18 10:54:29 +00:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
reuk
f49b3733ec
Warnings: Silence some GCC warnings 2020-05-05 12:28:47 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
2b53ff6c54 Added comments to clarify a24341d 2019-10-21 16:56:24 +01:00
ed
a24341d2a7 Fixed clang -Wreturn-std-move-in-c++11 warnings 2019-10-21 15:28:02 +01:00
jules
e5f8937082 Workaround for VS warning 2019-07-12 17:27:16 +01:00
jules
002dc803a1 Refactored the JSON parser to produce error messages which contain the line + column 2019-07-12 16:40:01 +01:00
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! 2019-05-15 11:02:03 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
Tom Poole
0d019acd1c Added a trailing decimal when serialising integer valued doubles 2019-03-21 17:50:11 +00:00
Tom Poole
bbe49f6b36 Serialise doubles into more human friendly XML and JSON 2019-02-27 17:59:24 +00:00
Tom Poole
306e7e4360 Fixed a few more places where doubles were not serialised to full accuracy 2019-02-11 14:44:19 +00:00
Tom Poole
865eabd434 Fixed a bug writing doubles to XML and JSON 2019-02-11 11:11:44 +00:00
ed
3ba771507d Avoid unnecessary zeros when writing double values to XML or JSON 2018-12-17 16:32:57 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
jules
d5034083cb Fix for JSON stringification of INF and NaN double values 2018-10-09 16:51:11 +01:00
jules
95a3f0b039 Whitespace 2018-07-03 11:51:36 +01:00
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 2018-07-03 11:51:13 +01:00
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 2018-06-26 14:06:52 +01:00
jules
d1571a19aa Added a few missing in-place operators to the javascript parser 2018-06-05 10:14:22 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
jules
f4e3eafc78 Added support for floating point modulo to the javascript interpreter 2018-04-24 09:03:38 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
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 2018-01-11 09:08:51 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00