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

2561 commits

Author SHA1 Message Date
Tom Poole
06325689dd Linux: Fix detection of 64 bit Arm 2024-10-31 15:23:17 +00:00
reuk
3005b716fe
ObjCHelpers: Add new macros to help with version checking 2024-10-29 19:46:35 +00:00
reuk
f7c7225f5c
UIViewComponentPeer: Fix deprecation warnings for iOS 17 2024-10-29 19:46:35 +00:00
reuk
a4ba0c1b1c
FileChooser: Fix deprecation warnings for iOS 14 2024-10-29 19:46:34 +00:00
Anthony Nicholls
b78ff3bf7e HighResolutionTimer: Add fallback implementation for Windows 2024-10-29 13:06:28 +00:00
無常
d9ed81b4f0
WindowsDLL: Add missing JUCE_API attributes 2024-10-27 16:16:26 +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
67396435e5
DynamicObject: Add virtual functions that are called to indicate a property change 2024-10-20 22:59:39 +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
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