ed
fe9493867e
Linux: Quote Bash command string in Process::openDocument() to prevent ampersands being treated as a control operator
2021-03-05 18:40:04 +00:00
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
2021-03-05 18:40:04 +00:00
ed
655a6e9367
VST: Use ComponentPeer::getAreaCoveredBy() to get scaled editor bounds on Windows and Linux
2021-03-05 18:40:04 +00:00
ed
7b68d5fa4b
VST: Increased the scoped of a thread DPI awareness setter when creating plug-in editors on Windows
2021-03-05 18:40:03 +00:00
ed
8140442746
VST: Removed an old workaround causing plug-in editor window position issues on macOS
2021-03-05 18:40:03 +00:00
ed
c32142a215
Windows: Fixed a build error and some unreachable code warnings when JUCE_WIN_PER_MONITOR_DPI_AWARE=0
2021-03-05 18:40:03 +00:00
reuk
6bcf603f2c
AppDelegate: Ensure correct lifetime of static objects
...
Arranges declarations of objects with static storage duration to ensure
correct lifetimes.
2021-03-05 11:26:22 +00:00
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.
2021-03-04 13:56:03 +00:00
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.
2021-03-03 19:21:43 +00:00
ed
1ff7fc38b1
Windows: Added ScopedDeviceContext helper
2021-03-02 15:56:55 +00:00
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
2021-03-02 15:56:10 +00:00
ed
3a0af69eff
AudioPluginHost: Added an application-level setting for scaling plug-ins on Windows
2021-03-02 15:53:45 +00:00
ed
b1253bfc74
Added JUCE_DECLARE_NON_MOVEABLE macro
2021-03-02 15:53:24 +00:00
reuk
75fae3bf21
AU: Fix midi output to use correct packet alignment on ARM
2021-03-02 11:15:51 +00:00
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows
2021-03-02 10:49:39 +00:00
ed
e813531d9b
VST3: Fixed an issue with jumpy resizing when using a fixed aspect ratio
2021-02-26 09:35:19 +00:00
reuk
10c77ce296
AAX: Set nonrealtime state appropriately when rendering with AudioSuite
2021-02-24 12:41:37 +00:00
reuk
552c7fcc3d
Convolution: Update documentation for prepare function
2021-02-24 12:41:37 +00:00
reuk
69b630a2c0
CoreMidi: Use RAII to avoid potential leaks of MIDI ports/endpoints
2021-02-23 18:05:06 +00:00
reuk
a48a564f9e
AU: Use slightly more readable channel type
2021-02-23 18:05:06 +00:00
reuk
01f01e7d6e
MidiBuffer: Ensure correct number of events are removed by clear function
2021-02-23 18:05:06 +00:00
ed
7c96f18663
TextEditor: Fixed a bug where the horizontal viewport scrollbar could be shown unnecessarily
2021-02-23 17:02:55 +00:00
ed
e18284978f
FileChooser: Check JUCE_MODAL_LOOPS_PERMITTED in Native::runModally()
2021-02-22 09:08:09 +00:00
ed
08e6d2f9ee
Windows: Set SWP_NOMOVE/SWP_NOSIZE flags when updating window position in HWNDComponent and use getSmallestIntegerContainer() when calculating scaled bounds
2021-02-20 17:34:26 +00:00
ed
363481540b
VST3: Use CharPointer_UTF8 when converting from Steinberg::char8 to juce::String
2021-02-19 19:07:13 +00:00
ed
e1f892f6c3
VST3: Use UTF-16 encoding when assigning to a Steinberg::Vst::String128 in toString128()
2021-02-19 19:07:13 +00:00
ed
9622fc8e05
macOS: Added support for loading local files in WebBrowserComponent
2021-02-19 19:07:13 +00:00
ed
0fc0dce1b8
macOS: Don't call stop() in WebBrowserComponent::goToURL() when evaluating Javascript
2021-02-19 19:07:13 +00:00
ed
51cda82fb7
DSP: Fixed a documentation error in the Panner class
2021-02-19 19:07:12 +00:00
ed
f9f83fe3fa
Correctly scale saturation value to 0-1 in HSL Colour constructor
2021-02-19 19:07:12 +00:00
ed
e9caafad8b
VST: Removed JUCE_WIN_PER_MONITOR_DPI_AWARE check around setThreadDPIAwarenessForWindow() call
2021-02-19 19:07:12 +00:00
ed
3d378d0384
Windows: Avoid setting WINDOWPOS in handlePositionChanging() when "new" coordinates are floating-point rounding errors due to scale factor conversion
2021-02-19 19:07:12 +00:00
ed
ed0851313b
Displays: Added floating-point physical<->logical coordinate conversion methods
2021-02-19 19:07:12 +00:00
ed
a7c5337568
VST/VST3: Removed a workaround for checking whether DPI-aware windows were incorrectly scaled in editor resized() callback
2021-02-19 19:07:12 +00:00
ed
ec0345c093
Windows: Check whether child HWNDs were already scaled during the scale factor listener callback to avoid double-scaling them in handleDPIChanging()
2021-02-19 19:07:12 +00:00
ed
3c494b8a70
VST3: Improved stability of scaled plug-in windows
2021-02-19 19:07:12 +00:00
ed
e1039fc1c9
VST: Improved stability of scaled plug-in windows
2021-02-19 19:07:12 +00:00
ed
455e08da3f
VST3: Added HWNDComponentWithParent class for Windows hosting and removed platform-specific IPlugViewContentScaleSupport implementation
2021-02-19 19:07:12 +00:00
ed
cb57904740
Windows: Improved support for DPI-aware embedded windows in HWNDComponent
2021-02-19 19:07:05 +00:00
reuk
be1e3df4d0
macOS: Be explicit about string encodings when logging assertions
2021-02-18 17:16:45 +00:00
reuk
a31a4dc5f7
X11: Ensure repainting still works after destorying a GL context
...
On Linux, repaints are only issued if the number of received SHM
completion events matches the number of events initiated with
`xShmPutImage`.
Previously, destroying a GL context was calling `XSync (display, True)`
which cleared the event queue. Sometimes, this would cause an 'SHM
Completion Event' to be removed from the queue. This meant that the
number of received events would never match the number of initiated
events, and repainting would stop indefinitely.
By calling `XSync (display, False)` instead, we ensure that pending
events are kept in the queue, so any pending SHM completion event will
be found as usual during the next repaint timer callback.
2021-02-18 11:46:48 +00:00
reuk
c6280f7b8a
XmlElement: Fix rare crash when parsing truncated escape sequences
2021-02-18 10:54:29 +00:00
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
2021-02-18 10:54:29 +00:00
reuk
b1917085db
AudioProcessor: Update listener callback with change details
2021-02-18 10:54:29 +00:00
reuk
46d24cc1ab
TextEditor: Avoid starting timer unnecessarily when setting text
2021-02-18 10:54:29 +00:00
ed
240089bcbc
AudioDeviceManager: Fixed backwards compatibility when passing an empty string to removeMidiInputCallback()
2021-02-18 08:47:42 +00:00
reuk
d5b55a8474
X11: Make setFullscreen put windows into true maximised mode
2021-02-16 15:39:31 +00:00
reuk
576cd24665
X11: Use correct scale factor on Ubuntu
2021-02-16 15:38:34 +00:00
Tom Poole
a05424fd3d
Linux: Added better support for minimal X11 environments
2021-02-12 19:17:44 +00:00
ed
94330cbb53
VST3: Repaint editor when size changes in Bitwig on Linux to fix UI glitches
2021-02-11 11:23:33 +00:00