ed
34f8afbbca
Set standalone plug-in window as resizable based on AudioProcessorEditor::isResizable()
5 years ago
ed
f2fffe6757
AU: Avoid a crash when calling setCurrentProgram() with an out-of-bounds index
5 years ago
reuk
c7feb75b97
PluginHostType: Use the name of the bridged hosting process to determine host
This patch also moves PluginHostType into juce_audio_processors in order
to allow hiding of function implementations.
5 years ago
reuk
1b4960b5bf
PluginHostType: Fix host reporting in bridged hosts on M1
Reports the correct host name for Apple hosts on M1 which host plugins
in a separate process.
Affected hosts are:
- Logic Pro
- GarageBand
- MainStage
- Final Cut Pro
5 years ago
reuk
9b80c7031e
VST3: Add support for 7.x.4 speaker arrangements
5 years ago
reuk
d62d3aaa4f
PopupMenu: Add option to specify initially-selected menu item
5 years ago
reuk
326d8deb16
PopupMenu: Tidy up Options implementation
5 years ago
reuk
daf8761727
AU Host: Ensure discrete parameters are scaled correctly
Previously, the AU hosting code always computed the number of steps in
the parameter range as though the minimum parameter value was 0.
Now, we take the parameter's reported minimum into account when
computing the number of steps. We also use the parameter's range, rather
than its step number, when normalising/denormalising the parameter
value.
5 years ago
ed
40c86d6b2f
Linux: Fail more gracefully on systems which don't support 32-, 24-, or 16-bit RGB displays
5 years ago
reuk
27ca5e6ccb
MemoryAudioSource: Fix bug where source looped, even when looping was disabled
This also fixes an issue where zero-size source buffers would cause an
arithmetic exception to be thrown.
5 years ago
reuk
e0306d25d4
VST3 Client: Disallow creating a new editor if one editor is already active
5 years ago
reuk
3afaaa48be
FileChooser: Fix IFileDialogEvents leak
5 years ago
ed
ba2027497b
MIDI: Standardised and fixed some MIDI channel assertions
5 years ago
ed
fe9493867e
Linux: Quote Bash command string in Process::openDocument() to prevent ampersands being treated as a control operator
5 years ago
ed
5a59c92b20
AudioProcessorEditor: Allow editors to have a corner resizer without being resizable by the host and clarified the documentation regarding this and the editor's constrainer
5 years ago
ed
655a6e9367
VST: Use ComponentPeer::getAreaCoveredBy() to get scaled editor bounds on Windows and Linux
5 years ago
ed
7b68d5fa4b
VST: Increased the scoped of a thread DPI awareness setter when creating plug-in editors on Windows
5 years ago
ed
8140442746
VST: Removed an old workaround causing plug-in editor window position issues on macOS
5 years ago
ed
c32142a215
Windows: Fixed a build error and some unreachable code warnings when JUCE_WIN_PER_MONITOR_DPI_AWARE=0
5 years ago
reuk
6bcf603f2c
AppDelegate: Ensure correct lifetime of static objects
Arranges declarations of objects with static storage duration to ensure
correct lifetimes.
5 years ago
reuk
7a0b17c0d3
LinuxComponentPeer: Fix scaling in custom windows created by plugins
Previously, things like PopupMenus which were created in their own
windows were not being scaled correctly on HiDPI displays on Linux.
This patch forces the display scale to 1.0 in plugins, meaning that
the transform applied to the main plugin window is the sole source
of truth for component scaling in plugins.
5 years ago
reuk
fd2f866dd1
FileChooser: Avoid throwing bad_weak_ptr
It seems like shared_from_this may not be enabled when a unique_ptr is
assigned to a shared_ptr (although it *should* be enabled when
constructing a new shared_ptr from a unique_ptr). Functions that return
objects that may need to use shared_from_this now return shared_ptr,
just to be safe.
Additionally, in some cases, shared_from_this was being called from
Thread::run after the last reference to the shared object had been
released. We now call shared_from_this during 'open', which will always
run on the message thread while at least once reference to the shared
object is alive.
5 years ago
ed
1ff7fc38b1
Windows: Added ScopedDeviceContext helper
5 years ago
ed
f6338c0f8e
Windows: Added ScopedThreadDPIAwarenessSetter for correctly setting and resetting thread DPI-awareness for methods which interact with an HWND and removed some DPI workarounds
5 years ago
ed
3a0af69eff
AudioPluginHost: Added an application-level setting for scaling plug-ins on Windows
5 years ago
ed
b1253bfc74
Added JUCE_DECLARE_NON_MOVEABLE macro
5 years ago
reuk
75fae3bf21
AU: Fix midi output to use correct packet alignment on ARM
5 years ago
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows
5 years ago
ed
e813531d9b
VST3: Fixed an issue with jumpy resizing when using a fixed aspect ratio
5 years ago
reuk
10c77ce296
AAX: Set nonrealtime state appropriately when rendering with AudioSuite
5 years ago
reuk
552c7fcc3d
Convolution: Update documentation for prepare function
5 years ago
reuk
69b630a2c0
CoreMidi: Use RAII to avoid potential leaks of MIDI ports/endpoints
5 years ago
reuk
a48a564f9e
AU: Use slightly more readable channel type
5 years ago
reuk
01f01e7d6e
MidiBuffer: Ensure correct number of events are removed by clear function
5 years ago
ed
7c96f18663
TextEditor: Fixed a bug where the horizontal viewport scrollbar could be shown unnecessarily
5 years ago
ed
e18284978f
FileChooser: Check JUCE_MODAL_LOOPS_PERMITTED in Native::runModally()
5 years ago
ed
08e6d2f9ee
Windows: Set SWP_NOMOVE/SWP_NOSIZE flags when updating window position in HWNDComponent and use getSmallestIntegerContainer() when calculating scaled bounds
5 years ago
ed
363481540b
VST3: Use CharPointer_UTF8 when converting from Steinberg::char8 to juce::String
5 years ago
ed
e1f892f6c3
VST3: Use UTF-16 encoding when assigning to a Steinberg::Vst::String128 in toString128()
5 years ago
ed
9622fc8e05
macOS: Added support for loading local files in WebBrowserComponent
5 years ago
ed
0fc0dce1b8
macOS: Don't call stop() in WebBrowserComponent::goToURL() when evaluating Javascript
5 years ago
ed
51cda82fb7
DSP: Fixed a documentation error in the Panner class
5 years ago
ed
f9f83fe3fa
Correctly scale saturation value to 0-1 in HSL Colour constructor
5 years ago
ed
e9caafad8b
VST: Removed JUCE_WIN_PER_MONITOR_DPI_AWARE check around setThreadDPIAwarenessForWindow() call
5 years ago
ed
3d378d0384
Windows: Avoid setting WINDOWPOS in handlePositionChanging() when "new" coordinates are floating-point rounding errors due to scale factor conversion
5 years ago
ed
ed0851313b
Displays: Added floating-point physical<->logical coordinate conversion methods
5 years ago
ed
a7c5337568
VST/VST3: Removed a workaround for checking whether DPI-aware windows were incorrectly scaled in editor resized() callback
5 years ago
ed
ec0345c093
Windows: Check whether child HWNDs were already scaled during the scale factor listener callback to avoid double-scaling them in handleDPIChanging()
5 years ago
ed
3c494b8a70
VST3: Improved stability of scaled plug-in windows
5 years ago
ed
e1039fc1c9
VST: Improved stability of scaled plug-in windows
5 years ago