reuk
70d99d1cc4
NSViewComponentPeer: Fix occasional rendering artefacts
...
When clearing deferredRepaints in drawRect, dirty regions in the 'next'
frame could be incorrectly removed while drawing the 'current' frame.
Now, deferredRepaints is cleared in setNeedsDisplayRectangles, as it
was before 9d50ab6c59 .
2023-04-18 16:28:52 +01:00
reuk
5847e3d6a8
Juceaide: Pass C and CXX flags during configure when not crosscompiling
...
Similar code was incorrectly removed in
070a6b35e9 .
When using CLion to invoke CMake, using a Clang toolchain and Ninja, and
targeting x64, CLion will pass -m64 in CMAKE_C_FLAGS and
CMAKE_CXX_FLAGS. The compilers are passed through to the juceaide build,
but the target arch was not, which meant that the linker attempted to
link x86 libraries, which failed.
2023-04-18 11:39:40 +01:00
reuk
208be3dd5e
CGMetalLayerRenderer: Fix crash when attempting to render zero-sized components
2023-04-18 11:39:40 +01:00
reuk
dcef8b88b2
AudioProcessorGraph: Fix race condition when destroying AudioProcessorGraph on a background thread
2023-04-18 11:39:40 +01:00
reuk
8fc76c4376
LockingAsyncUpdater: Add a new slightly-more-threadsafe AsyncUpdater alternative
2023-04-18 11:39:39 +01:00
Tom Poole
5cd77b0c9a
ARA: Fix a float inequality warning
2023-04-17 10:53:13 +01:00
Tom Poole
7cdb641a14
Fix float equality warnings in the ARA SDK
2023-04-14 10:17:29 +01:00
reuk
f6e6557edb
Global: Fix a few more float equality warnings
2023-04-13 12:19:58 +01:00
reuk
68beb74820
NSViewComponentPeer: Fix deferredRepaints bookkeeping when metal rendering is disabled
2023-04-11 12:36:19 +01:00
reuk
c93ac07202
Array: Add missing floating point equality warning suppression
2023-04-11 12:36:19 +01:00
reuk
d30f51ff00
AudioProcessorGraph: Ensure graph is rebuilt if any node bus layouts change
2023-04-11 12:36:19 +01:00
attila
221d1aa6cf
VST3: Map k91_4 and k90_4 to the canonical JUCE 9.1.4 and 9.0.4 layouts
2023-04-06 11:21:19 +00:00
reuk
63e80c3908
MIDI: Fix off-by-one bug when accessing MIDI ports on Linux
2023-04-05 11:34:41 +01:00
reuk
ad094cd883
AlertWindow: Fix result codes when displaying native dialogs through the AlertWindow APIs
2023-04-04 19:55:12 +01:00
reuk
9d50ab6c59
CGMetalRenderer: Avoid glitching when resizing views
2023-04-04 19:55:12 +01:00
reuk
fe09902e83
NSViewComponentPeer: Tidying
2023-04-04 19:55:12 +01:00
reuk
f2e5af9f7d
Readme: Update Projucer link
2023-04-04 19:55:12 +01:00
reuk
96fefd0abd
Xcode: Silence nullability warning
2023-04-04 19:55:12 +01:00
reuk
587bb79ff1
CMake: Add resources.rc files to individual plugin targets, rather than to the shared code target
...
This fixes an issue where the app icon would not be visible for
standalone plugin targets.
2023-04-04 19:55:12 +01:00
reuk
27b38c8603
AudioProcessorGraph: Fix rebuild behaviour for UpdateKind::none
2023-04-04 19:55:12 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
reuk
081b1ff216
PopupMenu: Avoid dismissing menu in response to mouse events over the menu
...
In cases where no JUCE component had keyboard focus, clicking a menu
item would cause the menu to be dismissed instead of triggering the
item's action.
2023-04-04 19:55:11 +01:00
reuk
a7563b5e91
NSViewComponentPeer: Ignore peer-level mouse enter/exit events when mouse button is pressed
2023-04-04 19:55:11 +01:00
Anthony Nicholls
c04354e1ee
Modules: Update JUCE module format for improved consistency
2023-04-04 19:54:40 +01:00
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency
2023-04-04 19:54:29 +01:00
Oliver James
d7f1e59422
AlertWindow: Add 'getButton' method
2023-04-04 10:06:40 +01:00
Oliver James
9d909fc3fe
Slider: LookAndFeel outline style
2023-04-04 10:06:40 +01:00
Oli
d264d95595
StretchableLayoutManager: Prevent zero size layouts
2023-04-04 10:06:40 +01:00
Oli
b715614109
JavaScript: Add 'hypot' math function
2023-04-04 10:06:40 +01:00
Oli
6f8c2a26a0
MacOS SystemStats: Implement M1 CPU reporting
2023-04-04 10:06:33 +01:00
Oli
288cbd2880
Linux SystemStats: Report language accurately
2023-04-03 09:54:30 +01:00
Oli
fa0b607bf9
Win32 FileChooser: Enable native 'Save' directory
2023-04-03 09:54:30 +01:00
Oli
bc26d5cc87
Win32 FileChooser: Fix truncated initial file text
2023-04-03 09:54:30 +01:00
Oli
100fec3830
PluginHostType: Add NI Maschine host type
2023-04-03 09:54:30 +01:00
attila
8c7f4eb231
ARA: Add ARADocumentControllerSpecialisation::doGetPlaybackRegionHeadAndTailTime()
2023-03-31 15:16:05 +00:00
Anthony Nicholls
28c31b1f26
Slider: allow a sliders text-box to update when a colour changes in the slider
2023-03-31 13:15:27 +00:00
reuk
4fbc4da29a
Windows: Always define RunningInUnity flag in juce_gui_basics TU
2023-03-30 15:08:04 +01:00
reuk
9dfaab24e0
AAX Client: Avoid float comparisons when determining ambisonic layouts
...
This comparison can break when relaxing IEEE compliance and enabling
full optimisations.
2023-03-27 16:46:33 +01:00
reuk
ee976f0f0d
NSViewComponentPeer: Avoid using metal renderer if view has changed size since repaints were requested
...
The main change is that the numFramesToSkipMetalRenderer member has been
removed. The old mechanism had some problems in AU plugins in Logic.
Specifically, when opening a temporary window, repaints would be ignored
until the numFramesToSkipMetalRenderer counter had been decremented to
zero. In practice, this meant that a PopupMenu might not repaint until
the highlighted item had changed five times or more.
With this change applied, repaints that were requested for a particular
window size will use the metal renderer as long as the window hasn't
changed size in the meantime.
2023-03-27 16:46:32 +01:00
Reuben Thomas
eb3d1d4f32
CMake: Add resources.rc files to all JUCE targets
2023-03-27 16:46:32 +01:00
reuk
e1e3697931
AU Client: Check explicit channel layouts all the way up to 16 ins/outs
...
AUs are more likely to have 16 channels on a bus now that the 9.1.6
Atmos layout is available.
2023-03-27 16:46:32 +01:00
reuk
5eadaf75be
UIViewComponentPeer: Avoid accessing text input target after it has been destroyed
...
In some cases, processing key inputs may cause the currently-focused
text input target to be destroyed. If this happens, we shouldn't attempt
to reset the underlining on the target. We now reset the underlining
before processing key presses.
2023-03-27 16:46:32 +01:00
reuk
8c97b09d83
AUv3: Avoid calling setFullState: on the superclass during state restoration
...
On some platforms, the superclass implementation can throw if it detects
that the preset data is malformed, but it's not clear exactly how the
system determines this.
We now apply only the JUCE state.
2023-03-27 16:46:31 +01:00
Anthony Nicholls
e637073228
BubbleComponent: allow customisable effects
...
Rename look-and-feel method and update docs
2023-03-27 13:47:36 +00:00
reuk
2a7391b0be
Resave all projects
2023-03-27 11:54:37 +01:00
reuk
9d1a6a3b28
ContentSharer: Update interface to return safer ScopedMessageBox instances
2023-03-27 11:54:37 +01:00
attila
557d690ff4
MouseInputSource: Fix stuck hover state on touch screens
2023-03-23 19:48:36 +01:00
Anthony Nicholls
c7689793f2
Widgets: call repaint() in colourChanged() callbacks
2023-03-22 14:59:37 +00:00
Anthony Nicholls
5fb78e30ac
Component: update docs to reflect what happens when the look-and-feel changes
2023-03-22 14:59:15 +00:00
Anthony Nicholls
ba50a35364
Widgets: stop calling repaint in lookAndFeelChanged()
...
- A repaint will always occur from a lookAndFeelChanged
2023-03-22 14:59:15 +00:00