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

8573 commits

Author SHA1 Message Date
attila
ced221df4a DropShadower: Fix bug when setOwner() is called with a component without a parent
Until now when a Component without a parent was passed to setOwner() the
ParentVisibilityChangedListener would not install any hooks to any
components, hence it would not be notified, when the owner was added
to a parent.
2022-05-18 18:41:14 +02:00
attila
751c4177a4 Linux: Fix sporadic positioning error after window creation 2022-05-18 18:41:06 +02:00
reuk
e27194272d TableListBox: Avoid calling virtual functions in constructor 2022-05-13 14:38:12 +01:00
reuk
310b4e6234
Fonts: Avoid segfaulting on Linux when there are no installed fonts 2022-05-06 15:28:38 +01:00
reuk
854ed68c72
AUv3: Fix race on factoryPresets
Some AUv3 presets crash when querying the set of presets in Loopy Pro.
The issue seems to be because `addPresets` may end up being called
concurrently with the host's queries.
2022-04-28 12:12:59 +01:00
reuk
86f08302b6
Linux Fonts: Replace font style if it does not exist for the requested font 2022-04-28 12:12:50 +01:00
reuk
0114c87f53
TableListBox: Fix spurious ListBox assertions 2022-04-28 12:12:39 +01:00
attila
31d4f9059d Android: Fix dismissing screen keyboard when interacting with TextEditor 2022-04-27 18:08:17 +02:00
Tom Poole
5938796f43 Viewport: Fix a scrolling bug when internal components have a transform applied 2022-04-27 12:49:14 +01:00
Tom Poole
169a6f2d08 Value: Update refersToSameSourceAs documentation 2022-04-27 12:49:06 +01:00
Tom Poole
fbff65dea2 Linux: Fix an issue where the requested font style could be incorrectly overwritten 2022-04-27 09:20:16 +01:00
Tom Poole
b0a8bc0ce2 VST3: Fix a compiler warning in the VST3 SDK 2022-04-26 15:38:33 +01:00
Tom Poole
a946ad64ba DirectoryContentsList: Fix a bug in isStillLoading 2022-04-21 12:05:41 +01:00
Tom Poole
b4223154b6 Fix a compilation error in Xcode 9.4 2022-04-21 11:30:24 +01:00
Tom Poole
2f389c9d42 iOS: Fix a compiler warning 2022-04-20 09:44:53 +01:00
Tom Poole
16eae47fde FloatVectorOperations: Add method docstrings 2022-04-19 17:13:34 +01:00
Tom Poole
1fa18a1b43 FloatVectorOperations: Add methods to Doxygen 2022-04-19 11:54:55 +01:00
Tom Poole
eda5c696e5 macOS/iOS: Fix unguarded availability warnings 2022-04-19 11:54:55 +01:00
Tom Poole
ef8ad92138
GCC: Fix some compiler warnings in GCC 11 2022-04-13 11:05:53 +01:00
reuk
c31f3477a8 Linux: Avoid picking a bold/oblique version of Bitstream Vera Sans by default 2022-04-06 18:10:18 +01:00
reuk
ce8aff22c3 StandardHeader: Include <utility> for GCC 12 compatibility 2022-04-06 15:43:09 +01:00
reuk
f77b286b8c
VST3 Client: Work around broken editor resizing in Blue Cat's PatchWork 2022-04-01 16:41:48 +01:00
reuk
cad155bf1c
VST3 Client: Make window sizing slightly more robust in Live
The following was observed for a VST3 plugin hosted in Live 11.1 with
auto-scaling disabled:

- It never calls setContentScaleFactor on the plugin's UI, so the
  wrapper has to check the current display on a timer and update the
  current scale factor when necessary.

- It calls canResize on the plugin view after opening it, but doesn't
  seem to respect the result of this call. According to the VST3
  documentation, a host is supposed to only call checkSizeConstraint
  during a live resize operation (which should only happen if the plugin
  reports it can resize), but Live calls this function every time the
  user drags the editor. It also passes the result of this function to
  onSize, whether or not checkSizeConstraints reported success.

- When dragging an editor between displays, Live will continue to call
  checkSizeConstraint and onSize with the editor’s old size in physical
  pixels. In some cases, JUCE's "scale factor check" timer callback
  fires, resizes the view to the correct size, and then Live
  asynchronously calls onSize again with the editor's old size in
  physical pixels, resulting in the editor being set to the wrong
  logical size.

This patch ensures that checkSizeConstraint always returns the current
size of a nonResizable editor. This means that the logical size of the
editor should not change when the result of checkSizeContraint is used
to resize the window.
2022-04-01 16:41:48 +01:00
reuk
624a898e00
VST3 Host: Avoid disabling midi buses while plugin is active 2022-04-01 16:41:47 +01:00
reuk
ae646dde16
StandaloneFilterWindow: Account for native frame size in constrainer 2022-04-01 16:41:47 +01:00
reuk
5491e7aae2
ALSA: Fix thread sanitizer warnings 2022-04-01 16:41:47 +01:00
reuk
93ba4d98cf
Fix clang warnings 2022-04-01 16:41:47 +01:00
reuk
c7a17934e3
Formatting 2022-04-01 16:41:47 +01:00
Tom Poole
1f29416fd0 AudioDeviceManager: Improve device sample rate handling 2022-04-01 14:31:46 +01:00
Tom Poole
69e287bc2e ADSR: Restore the previous behaviour and clarify the documentation
This partially reverts d9c25ec17d.
2022-04-01 12:00:13 +01:00
reuk
902a576b73 NullCheckedInvocation: Disable Waddress warning
When calling NullCheckedInvocation::invoke with a capture-less lambda,
GCC 9.3 determines that the expression
    std::declval<TheLambda>() != nullptr
is well-formed, and uses the version of invoke containing a nullptr
check. However, the compiler is also able to determine that this
expression can never be false, and emits a warning.
2022-03-31 12:46:55 +01:00
Tom Poole
d9c25ec17d ADSR: Fix a bug in noteOn after setting new parameters 2022-03-31 10:25:18 +01:00
Oli
b918fd3159 AudioProcessorGraph: Fix MIDI channel bug and graph execution modification
MIDI only plugins are no longer provided valid audio buffers
Graph nodes are only executed when they have active connections
2022-03-28 20:47:30 +01:00
Oli
15bdae16b2 DirectoryContentsList: Fix a data race
Fix improper use of non-atomic pointer validity to report state of background search thread state
2022-03-28 20:47:30 +01:00
Tom Poole
ed4f638ff7 Line: Add explicit methods for lengthening the start and end points 2022-03-24 14:01:34 +00:00
Tom Poole
d5d9a02c8f ChildProcessCoordinator: Fix an issue with a missing ping thread
Following commit 093dbc7df1 pings of a
child process connection need to initialised explicitly. This commit
adds a missing initialisation.
2022-03-24 14:01:34 +00:00
Tom Poole
27abc89396 AudioProcessLoadMeasurer: Fix a data race 2022-03-24 14:01:34 +00:00
attila
5343f70d02 AU Host: Avoid using wrong BundleResourceMap when opening plugin from file
Previously it was possible to have a dangling resource map. In that case
opening an AU from a file that did not have a resource map would lead to
using the previously unclosed map and attempting to load the previous
plugin again.
2022-03-23 18:40:47 +00:00
attila
55b00fc846 Component: Fix mouseEnter and mouseExit positions when blocked by modal 2022-03-23 18:40:47 +00:00
reuk
8fad301c13
File: Update documentation 2022-03-23 16:51:40 +00:00
reuk
fe3d42025b
VST3: Add channel mapping tests 2022-03-23 16:51:40 +00:00
reuk
bb2b36a253
VST3 Client: Properly map between VST3 and JUCE layouts 2022-03-23 16:51:40 +00:00
reuk
bfa4f93a43
VST3 Host: Properly map between VST3 and JUCE layouts 2022-03-23 16:51:40 +00:00
reuk
d69706e08a
AudioProcessorGraph: Avoid race on AudioProcessor::suspended 2022-03-23 16:51:40 +00:00
reuk
5b3aa7fc2d
AU Client: Ensure processBlock receives AudioBuffer of correct size
fc378aaf9a introduced a regression where
plugins with no audio channels (such as MIDI FX plugins) would receive
an audio buffer with a length-in-samples of '0', rather than the actual
block length.
2022-03-23 16:51:40 +00:00
reuk
88b5f0dc95
VST: Remove unused function 2022-03-23 16:51:40 +00:00
reuk
a8c160691c
VST3: Tidy up channel layout conversion tables 2022-03-23 16:51:40 +00:00
reuk
8c718e7ac7
VST3: Map proximity channels correctly 2022-03-23 16:51:40 +00:00
reuk
18300abde9
VST3 Client: Add host API checks to setBusArrangements and activateBus 2022-03-23 16:51:39 +00:00
reuk
b710a248bd
UnitTests: Rename UMPTests file for consistency 2022-03-23 16:51:39 +00:00