Anthony Nicholls
3f91c8782b
macOS: Move set dock icon to juce_core
2 years ago
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
Oliver James
7d9cdd3016
Audio: Add AudioWorkgroup support
This allows real-time threads to join an audio workgroup on Apple platforms.
1 year ago
Anthony Nicholls
8640dd004d
Thread: Fix an issue setting the priority of a realtime thread
1 year ago
Tom Poole
714e8dda62
Docs: Fix misnamed parameter
1 year ago
Anthony Nicholls
2e93071f7a
HighResolutionTimer: Switch to an improved generic timer for most platforms
1 year ago
Anthony Nicholls
407720b557
Thread: Fix realtime threads on macOS
- macOS behaviour of setRealtime now matches other platforms
MR feedback
1 year ago
Anthony Nicholls
578d2b9d15
ThreadPool: Improve consistency with other option style classes
1 year ago
Anthony Nicholls
b3da4ae946
ThreadPool: Add support for a user specified thread name
1 year ago
Anthony Nicholls
587e07007d
HighResolutionTimer: Complete rewrite
- added unit tests
- best performance timers used for each platform
- fixed an issue in which timer callbacks could drift
1 year ago
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
attila
9da424a663
Fix Windows DLL build
In Windows DLL builds we inject operator new/delete definitions into
classes with a leak detector. This requires that all inheritance from
such classes must be public, and classes inheriting from multiple such
classes must disambiguate between the base's operators.
2 years ago
Tom Poole
57202b360a
Fix a typo
2 years ago
attila
b5c775210f
HighResolutionTimer: Ensure that a new interval applies from the moment of calling startTimer()
Before this commit an already started timer would wait until the
previously set tick time before applying the new one. This problem seems
to have affected the Windows implementation only.
2 years ago
reuk
fbf4be05b2
Android: Set thread priority using user-provided value
2 years ago
Oli
97a421f4aa
Threading: Add priority support for lambda thread method
2 years ago
chroma
d3cff375be
Thread: Introduce a new Thread backend
This is a breaking change - see BREAKING-CHANGES.txt
2 years ago
reuk
7c14c1fcd7
Use more concise stdlib type aliases
2 years ago
reuk
b70b7a309d
TimeSliceThread: Add function to check whether a certain job is still registered
2 years ago
attila
8c62b4f003
Add ScopedTryReadLock and ScopedTryWriteLock
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
reuk
1de762218a
Thread: Check for realtimeAudioPriority in more locations
3 years ago
reuk
407966b2ca
Windows: Fix warnings when building with clang in 64-bit mode
3 years ago
ed
d9f7d068ed
WaitableEvent: Increased lock scope in signal()
3 years ago
ed
76e9a767ec
WaitableEvent: Release lock before calling notify_all() on condition variable
3 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
reuk
6787230dd4
HiResTimer: Fix bug where timer would misreport its state after being stopped
Previously, if `stopTimer()` was called from within
`hiResTimerCallback()`, a call to `isTimerRunning()` immediately
following the call to `stopTimer()` would return true instead of false.
This patch fixes the issue, and adds some tests to verify the new
behaviour.
4 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Ivan Cohen
c138bf91b4
DSP: Revamp DSP module
5 years ago
Tom Poole
6cb75d9d2c
Replaced all references to ROLI with Raw Material Software and regenerated all bytecode
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
ed
add88c33f2
Replaced all references to ROLI with Raw Material Software and regenerated all bytecode
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
28eddda1d9
Check that juce_gui_basics module is available when declaring Process::setDockIconVisible() to fix potential linker error
5 years ago
ed
e36736e0ec
Fixed some typos
5 years ago
ed
f402a3fc08
Moved the call to std::condition_variable::notify_all() inside of the lock scope in WaitableEvent::signal() to prevent a deadlock
5 years ago
ed
2916812581
Added a readWaitEvent and writeWaitEvent to ReadWriteLock to fix a race condition
5 years ago
ed
c964a842b1
Replaced WaitableEvent internals with std::condition_variable
5 years ago
Tom Poole
8b5bc69582
Fixed some more Linux compiler warnings
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
ed
bfa167a054
Uncommented out ChildProcess unit test
6 years ago
ed
ba2575a4d3
Added a ScopedLock in ThreadPool::getNumJobs() to fix a potential data race
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
74b6673e42
Improved the documentation of some methods in juce_Thread.h
6 years ago