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
80ac9a78a0
Singleton: Add new macros to simplify singleton creation
...
The INLINE macros allow singletons to be declared and defined in one
line, without requiring a separate JUCE_IMPLEMENT_SINGLETON statement.
2024-10-16 10:36:52 +01:00
Tom Poole
14c8d06fb0
Bump version number to 8.0.3
2024-10-15 22:16:12 +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
reuk
77f3073d92
String: Fix unit test failure for random seed 0xaccaaad0444426fa
2024-10-08 17:32:42 +01:00
reuk
646179c663
BigInteger: Fix implementation of exponentModulo
2024-09-30 20:37:43 +01:00
Anthony Nicholls
77d4198091
Text: Refactor UTF-8 test to prevent warnings
2024-09-30 12:49:57 +01:00
Tom Poole
7d3affbcb3
Merge master JUCE 8.0.2 branch
2024-09-26 12:43:39 +01:00
Anthony Nicholls
6c2d149ef3
Versioning: Add the JUCE version number to any internally created threads
2024-09-26 08:10:56 +00:00
Tom Poole
c1d2846e47
Bump version number to 8.0.2
2024-09-26 08:31:50 +01:00
reuk
470ada4454
ComSmartPtr: Update implementation slightly so that error codes can be inspected during debugging
2024-09-13 13:57:10 +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
Anthony Nicholls
0a78fefecb
Text: Improve string validation
...
- Reject surrogate code points for all unicode encodings
- Prevent out of bounds access in some cases
- Move ASCII and UTF character validation functions to CharacterFunctions
- Add more unit tests
2024-09-06 15:40:39 +00:00
Anthony Nicholls
1b0f45fa96
Formatting: Improve consistency of static inline word ordering
2024-09-06 15:40:39 +00:00
Anthony Nicholls
9f8abbd72c
Core: Update compile time flags for checking C++ support
2024-09-05 18:59:05 +01:00
reuk
add3a5de0d
Android: Fix issues with input stream special members
...
Fixes bugs in AndroidInputStreamWrapper introduced in
0d2e34f34c
- Now that AndroidInputStreamWrapper is moveable, its destructor must be
able to handle the situation where stream is null
- The move assignment operators of AndroidInputStreamWrapper and
AndroidContentUriInputStream could previously end up calling
themselves recursively
2024-09-05 12:17:12 +01:00
reuk
5e9473ba89
CopyableHeapBlock: Add initial implementation
2024-09-04 18:53:18 +01:00
attila
95e71b10b0
FixedSizeFunction: Replace std::aligned_storage_t to avoid C++23 warning
...
We are ignoring warning 4324, which warns us that a FixedSizeFunction<4>
will have it's size increased to 8 bytes, due to the minimum alignment
requirement of 8 bytes.
2024-08-15 11:15:15 +02:00
attila
b7a2c1d3bf
CriticalSection: Replace std::aligned_storage_t to avoid C++23 warning
2024-08-15 11:15:15 +02:00
attila
5ce2fc388e
Fix C++23 compilation
2024-08-15 11:15:15 +02:00
Anthony Nicholls
25ee1b9e68
macOS: Simplify the CoreGraphics pointer types and add some new ones
2024-08-09 17:20:36 +01:00
Anthony Nicholls
059b667af2
ListenerList: Replace ListenerList with LightweightListenerList in select places
2024-08-01 16:10:09 +00:00
Anthony Nicholls
2e6ee49cfa
ListenerList: Add a LightweightListenerList class
...
When extra guarantees were added to ListenerList to guard against mutations of
the list from callbacks, it also resulted in removing a previously observable
guarantee that calls to the listeners could be made concurrently as long as
those listeners were themselves thread safe. This commit adds a new class that
restores that behaviour for anybody who needs it.
2024-08-01 16:10:09 +00:00
Anthony Nicholls
572f1c985c
Assertions: Add preprocessor definitions for checking when assertions are enabled
2024-08-01 16:10:09 +00:00
Anthony Nicholls
b5bcf621f3
Thread: Fix a typo
2024-08-01 16:10:09 +00:00
reuk
ef31cbb620
DynamicObject: Make virtual functions non-virtual
2024-07-29 16:09:53 +01:00
Tom Poole
fc0fd3042f
Bump version number to 8.0.1
2024-07-29 12:43:19 +01:00
reuk
1023f62338
XmlElement: Avoid potential undefined-init-order issues with juce_xmltextContentAttributeName
...
This fixes potential crashes when this static object is accessed from
the constructors of other objects with static storage duration.
A concrete example of this could be seen when running the following on
Linux:
static inline const Typeface::Ptr face =
Typeface::createSystemTypefaceFor (...);
Here, 'face' is a static data member of some class. Creating a system
typeface on Linux will parse an XML document of system typefaces,
eventually accessing juce_xmltextContentAttributeName.
2024-07-08 13:09:30 +01: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
b89553ae2c
Platform: Remove build-time Apple SDK availability checks
2024-07-03 13:50:08 +01:00
reuk
8ba2dc2ae2
Platform: Remove compatibility checks for Android 20 and earlier
2024-07-03 13:45:37 +01:00
reuk
6428f43eeb
Platform: Remove compatibility checks for iOS 10
2024-07-02 18:06:28 +01:00
reuk
8ac7bfc9ca
Platform: Remove compatibility checks for macOS 10.10
2024-07-02 18:06:27 +01:00
reuk
da8c5fdcb4
Platform: Remove compatibility checks for macOS 10.8
2024-07-02 18:06:27 +01:00
reuk
9112911122
MinGW: Remove support
2024-06-27 18:10:21 +01:00
Anthony Nicholls
0d8f2c63ec
ListenerList: Assert if initialisation could throw for any reason other than a bad allocation
2024-06-27 14:17:37 +01:00
Anthony Nicholls
06fb8f4ea2
ListenerList: Fix a bug where removing a listener during a callback in which it had also been added prevents other listeners from being called
2024-06-27 14:14:25 +01:00
Anthony Nicholls
43762c7575
ListenerList: Move unit tests into separate file
2024-06-27 14:14:25 +01:00
reuk
1019614dcd
URLConnectionState: Use a shared NSURLSession to improve performance
2024-06-24 12:50:02 +01:00
reuk
1e3703fe64
URLConnectionState: Simplify and improve thread safety
2024-06-20 17:52:23 +01:00
reuk
ae75e27948
Network: Remove code for compatibility with unsupported platforms
2024-06-20 17:52:23 +01:00
Tatsuya Shiozawa
131b838c65
String: Use string length during UTF8 conversion
...
This implementation is equivalent to JUCE 7.
2024-06-20 17:52:22 +01:00
Anthony Nicholls
29cb346db2
ListenerList: Prevent a data race while clearing the list
2024-06-13 11:22:04 +01:00
Tom Poole
05b036272a
Fix some Doxygen docstrings
2024-06-12 09:35:32 +01:00
Anthony Nicholls
c4d5ffa7ab
ListenerList: Add a thread safe ListenerList type
2024-06-07 20:25:39 +01:00
Anthony Nicholls
0dfff1454c
ListenerList: Optimise empty listener list
2024-06-07 20:25:39 +01:00
Oliver James
3988d492ac
Core: Move __DATE__ and __TIME__ into a dedicated TU
2024-06-07 09:23:23 +01:00