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

134 commits

Author SHA1 Message Date
Anthony Nicholls
24d33759b8 Javascript: Update choc dependency
This fixes an issue when evaluating javascript on macOS while address sanitiser
and undefined behaviour sanitiser are both enabled
2024-11-05 09:00:18 +00:00
Oliver James
c68e82f44d Core: Handle Windows Arm platform definition 2024-10-21 14:11:11 +01:00
reuk
88e544a085
Javascript: Refactor interrupt handler 2024-10-21 12:28:55 +01:00
reuk
3cca812d38
Javascript: Fix bug where timeout previously applied in call to execute() would be applied in subsequent calls to callFunction() 2024-10-21 12:28:55 +01:00
reuk
07c863ac23 Javascript: Fix bug where properties of native objects could not be enumerated in JS 2024-10-16 17:28:14 +01:00
reuk
5453192a0c
JavaScript: Reinstate default max execution time of 15 seconds
It looks like the old default accidentally went missing in
 db3c2c6a52.
2024-10-15 11:45:12 +01:00
Anthony Nicholls
1e5c88899e JSON: Use UTF8 encoding by default 2024-09-06 15:40:39 +00:00
Anthony Nicholls
379afb1e3f JSON: Fix encoding of BEL character 2024-09-06 15:40:39 +00:00
attila
9844687735 Javascript: Convert void and undefined vars to correct QuickJS values 2024-07-05 17:18:16 +02:00
attila
ced6347505 Javascript: Fix dangling pointer 2024-07-05 17:17:56 +02:00
reuk
606a7bc552 Javascript: Update implementation to preserve methods when converting between JUCE and QJS types 2024-07-04 19:36:57 +01:00
reuk
9112911122
MinGW: Remove support 2024-06-27 18:10:21 +01:00
attila
57d1ad9ca6 Suppress GCC warnings related to the anonymous namespace used around choc::javascript
The warnings are emitted by GCC on Linux, since the commit
dbd3b4f34b.
2024-06-06 13:48:51 +02:00
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