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

7505 commits

Author SHA1 Message Date
ed
b235b8de09 Updated some old docs 2021-01-06 17:16:52 +00:00
ed
84d9117054 Linux: Check for valid display in updateScaleFactorFromNewBounds() 2021-01-06 17:16:46 +00:00
ed
6325230f61 Windows: Use rectangleFromRECT() to clean up some code 2021-01-06 17:16:36 +00:00
ed
09c25fedfd Windows: Retrieve work area rectangle for all connected monitors 2021-01-06 17:16:36 +00:00
ed
b614f9e01e Windows: Only call Displays::updateToLogical() on per-monitor DPI-aware threads 2021-01-06 17:16:35 +00:00
reuk
452b1bf224
HiResTimer: Fix units used for threading policy
The values in mach_timebase_info_data_t should be specified in terms of
'ticks'. On some machines, ticks may correspond to nanoseconds, but this
is not guaranteed.
2021-01-06 14:55:01 +00:00
reuk
857f665f74
HiResTimer: Tidy up POSIX implementation using std threading constructs 2021-01-06 14:55:00 +00:00
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.
2021-01-06 14:54:42 +00:00
reuk
88285acae1
DragAndDrop: Fix drag and drop in windows optimised builds
In very optimised builds, SHCore.dll may not be automatically loaded
into the address space of the calling executable. In these cases, the
call to `GetModuleHandle` will fail. Adding the call to LoadLibrary
ensures that the dll is loaded into the program's address space, which
will allow the call to GetModuleHandle to succeed.
2021-01-06 12:31:38 +00:00
reuk
e988c4c671
DragAndDrop: Tidy up windows implementation 2021-01-06 12:31:38 +00:00
reuk
04583469e1
MIDI: Fix timestamps on Universal MIDI Packets 2021-01-06 11:22:39 +00:00
Tom Poole
1fbd6dff9b VST3: Fixed invalid AudioProcessorParameterGroup unit IDs 2020-12-21 10:50:57 +00:00
reuk
5354d01a89 X11: Properly escape "+" symbols in dragged/dropped filenames 2020-12-17 17:49:48 +00:00
reuk
dc3e0d1571
SystemStats: Fix getOperatingSystemType assertion on macOS 11.1 2020-12-15 16:00:54 +00:00
reuk
f3a69664d6
OSC: Update docs 2020-12-15 13:07:18 +00:00
reuk
cd41e31cb5
DSP: Ensure that IRs are loaded immediately when Convolution is prepared
Previously, if `loadImpulseResponse` was called before `prepareToPlay`,
the IR wasn't guaranteed to have loaded before the first call to
`processSamples`.

Now, we flush the queue of pending IR-load commands during
`prepareToPlay`, which should ensure that the most recently-loaded IR is
ready to use immediately.
2020-12-15 13:07:18 +00:00
reuk
41ec486dd0
FileChooser: Show desktop folder if requested folder does not exist
This change affects the PostVista version of the Windows FileChooser.
2020-12-15 11:25:56 +00:00
reuk
e403e330ef
DSP: Make FixedSizeFunction public 2020-12-15 11:25:56 +00:00
reuk
dadac11ffd
MIDI: Fix naming to match JCS in SysEx7::Kind enum 2020-12-14 12:20:47 +00:00
reuk
c540fa4241
DSP: Slightly tidied filter-design function 2020-12-14 12:20:47 +00:00
Ivan Cohen
b2e49bc7e8
DSP: Solved an issue with FilterDesign::designFIRLowpassHalfBandEquirippleMethod for low amplitudedB and normalisationTransitionWidth close to 0.5 2020-12-14 12:20:47 +00:00
ed
088e100c1f Narrowed the scoped of some undeclared Objective-C selector warnings 2020-12-10 12:48:42 +00:00
ed
30f8594ecf macOS: Fixed an incorrect selector in JuceNSViewClass 2020-12-10 12:47:40 +00:00
ed
3a908f848a macOS: Fixed an incorrect selector in the WKWebView delegate class 2020-12-10 12:47:32 +00:00
ed
dc21f6fdad macOS: Fixed 10.11 compatibility in the WKWebView code 2020-12-10 12:46:42 +00:00
Tom Poole
56373bcc07 Restricted some disabled warning regions 2020-12-08 16:48:31 +00:00
ed
a7667077f8 Android: Fixed a crash when juce_gui_extra is not present
The default main JuceActivity for JUCE apps calls appNewIntent() in its onNewIntent() implementation which is defined in juce_gui_extra. This commit moves the implementation into juce_gui_basics.
2020-12-08 14:49:15 +00:00
ed
47a0dc81f6 macOS: Fixed 10.7 compatibility 2020-12-08 14:49:15 +00:00
ed
0f975ee482 Added a way to specify some space between PropertyComponents in a PropertyPanel 2020-12-03 17:27:10 +00:00
reuk
9032f589eb
CoreMIDI: Enable support for new API 2020-12-03 12:30:22 +00:00
reuk
051f49c52e
WAV: Fail gracefully on unsupported bit depths 2020-12-03 12:06:01 +00:00
reuk
17dc5f7a92
MP3: Fail gracefully on unsupported mp3 formats 2020-12-03 12:06:01 +00:00
reuk
5d26b6a20f
Aiff: Fix extremely slow loads of pathological files
If an aiff file advertied a large number of metadata keys, the
StringPairArray::set calls resulted in quadratic complexity.

We now read keys into a std::map instead, as it enables much faster
lookup, and then convert back to a StringPairArray at the last possible
moment.
2020-12-03 12:06:00 +00:00
reuk
f59785606c
MPEInstrument: Reset last received values when setting a new MPE zone layout 2020-12-02 18:58:38 +00:00
reuk
eaf82243a2
WebBrowser: Fix deprecation warnings on macOS 2020-12-02 15:33:36 +00:00
ed
9d0a97c33c Ensure that modal components set auto-delete when dismissed are properly cleaned up 2020-12-01 19:13:11 +00:00
Tom Poole
5929103a29 Bump version number to 6.0.5 2020-12-01 10:08:50 +00:00
reuk
6ac0e90e58
FileChooser: Allow new filechooser to load paths containing unicode characters 2020-11-30 19:50:46 +00:00
ed
7053df4b5b iOS: Fixed incorrect desktop window position 2020-11-30 18:27:55 +00:00
ed
45a2e57bf9 macOS: Add Foundation to juce_core OSXFrameworks
Previously we relied on Foundation.framework being implicitly linked by other frameworks, but this change is required when building with Xcode 12 targeting older macOS versions to fix missing CFNetwork symbols.
2020-11-30 11:20:08 +00:00
ed
142a52f9b8 Unquote command-line arguments when adding them to ArgumentList 2020-11-26 19:01:43 +00:00
ed
3a3ef41ad5 Added <array> to juce_StandardHeader.h and removed some unnecessary includes from juce_analytics and juce_dsp 2020-11-25 17:40:12 +00:00
ed
4de5726775 Android: Don't assert on device type 25 which seems to be valid when debugging from Android Studio (although undocumented) 2020-11-25 17:40:03 +00:00
ed
e4c3d53c7a Android: Request ACCESS_FINE_LOCATION permission when using Bluetooth 2020-11-25 17:39:57 +00:00
ed
9005c81f47 Windows: Fixed a potential crash in the DirectWrite TextLayout::createNativeLayout() implementation 2020-11-25 17:39:57 +00:00
reuk
5a19a7c8e8 IPC: Fix potential deadlock in win32 NamedPipe implementation
We use a manual-reset event rather than an auto-reset event to cancel IO
on the pipe. This avoids unlucky cases where new IO would start just
after signalling the event and would block indefinitely while waiting on
the newly-unsignalled event.
2020-11-25 12:50:44 +00:00
reuk
c5136d28b7 NamedPipe: Avoid spurious test failures due to pipe name collisions 2020-11-24 14:45:50 +00:00
reuk
ac612693aa NamedPipe: Fix potential vptr data-race in unit tests 2020-11-23 13:46:06 +00:00
reuk
389e7436ef
IPC: Add some missing locks in native NamedPipe implementations 2020-11-23 12:45:36 +00:00
reuk
9b90398cf9
IPC: Fix occasional windows crash
As far as I can tell, if a read was cancelled from a background thread,
the IO operation wasn't cancelled, so the system was poking at the
stack-allocated OVERLAPPED structure after it had been removed from the
stack, at which point something else might be occupying that region of
stack memory.

I'm pretty sure Address Sanitizer should be able to catch this sort of
thing so I'm surprised it didn't complain here.
2020-11-20 12:14:49 +00:00