reuk
fad3490946
DelayLine: Add function to retrieve the maximum possible delay time
4 years ago
reuk
4c95897ad3
XWindowSystem: Only dismiss transient modal windows when other windows are moved or resized
4 years ago
reuk
a130cc5d17
NSViewComponentPeer: Only dismiss transient modal windows when other windows are moved or resized
4 years ago
reuk
c9daf4288d
XWindowSystem: Only restack sibling windows
Previously, BadMatch errors were seen when there were several modal
windows, each with a native titlebar. Moving a window would attempt to
restack the windows, which was not possible because the JUCE windows
were not siblings. We actually need to restack the top level windows,
i.e. the windows containing the server-side decorations.
4 years ago
reuk
fd24769019
PluginUtilities: Fix security (4996) warnings on Windows
4 years ago
reuk
58be21d6dc
AudioProcessLoadMeasurer: Allow specifying number of samples per-block
4 years ago
reuk
1a4296e98b
EdgeTable: Avoid shifts of negative numbers
4 years ago
reuk
3a1be39cb6
VSTMidiEventList: Avoid UB Sanitizer warnings about out-of-bounds VLA access
4 years ago
reuk
afa6465098
UB Sanitizer: Avoid warnings in third party code, with clang
4 years ago
reuk
485699020a
UMP: Fix warning about missing braces
4 years ago
reuk
4e694c96b3
ScopedDPIAwarenessDisabler: Move to juce_gui_basics
4 years ago
reuk
8b45ff83e2
Windowing: Ignore suggested window sizes for windows that should not be DPI aware
4 years ago
reuk
ea6d095ab5
XWindowSystem: Implement createSnapshotOfNativeWindow
4 years ago
reuk
31500551e1
Move declaration of createSnapshotOfNativeWindow to module header
4 years ago
reuk
c3c171acaf
Grid: Fix behaviour with negative row/column indices
Negative indices should count backwards from the last explicit
row/column number. If the resulting line number would appear before
the first explicit row/column, implicit grid lines should be added
before the first explicit row/column.
4 years ago
reuk
9360c3f4ff
Windows: Fix issue where minimising a window could overwrite the last "normal" window bounds
Previously, the following series of steps would leave the window at
full-size on Windows:
- Open a JUCE Window
- Maximise it
- Minimise it
- Click the maximise button
The expected behaviour is that the window should return to its initial
size and position, but instead the window still fills the screen.
This issue wasn't present on Ubuntu/Unity because minimising does not
invoke ComponentPeer::handleMovedOrResized on that platform. It was not
present on macOS because the system is responsible for restoring the
previous window size on that platform.
4 years ago
reuk
6c59a31456
Win32 Windowing: Fix uninitialised data members warning
4 years ago
reuk
20bcee5047
MidiMessageSequence: Add tests for createControllerUpdatesForTime
4 years ago
reuk
d0615041f0
Plugin clients: Avoid notifying listeners when parameters have not changed
4 years ago
reuk
836b6edbce
Mac MainMenu: Allow main menu items to be disabled
4 years ago
reuk
ac3d1b7539
MidiKeyboardComponent: Fix potential data race on shouldCheckState data member
4 years ago
reuk
ea250b3655
VST3 Client: Change VST3 native menu so that its position is specified in logical pixels
4 years ago
reuk
0f3e3d365a
iOS: Use safeAreaInsets API on supported platforms, even when deployment target is low
This fixes an issue where building with an old deployment target would
cause apps to display in "unsafe" screen areas.
4 years ago
reuk
3141c32a64
PopupMenu: Avoid const_cast in implementation
4 years ago
reuk
ab966fb499
PopupMenu: Add withMousePosition helper function to Options
4 years ago
reuk
84c5627b42
PopupMenu: Ensure that menu appears at the correct position on Windows with a hi res display in standalone apps
4 years ago
reuk
c3276f436d
PopupMenu: Add some documentation to the Options class
4 years ago
reuk
37781916e5
PopupMenu: Fix documentation typo
4 years ago
reuk
ea757cf1ea
PopupMenu: Only show menus within safe areas of the screen
This change stops menus from displaying under notches/cutouts on mobile
platforms.
4 years ago
reuk
f87582a013
URL: Allow specifying shared container for downloads on iOS
4 years ago
reuk
fb09a97be4
AudioDeviceManager: Fix and test preferredDeviceName lookup
4 years ago
reuk
22f0f2b433
AudioDeviceManager: Refactor to avoid repetition
4 years ago
reuk
34bda5d75b
AudioDeviceManager: Always try to pick an initial device type that has some connected devices
4 years ago
reuk
10a26b7584
TooltipWindow: Avoid re-showing a tooltip if the mouse has not moved since it was last clicked
This behaviour more closely mirrors the behaviour of other applications.
4 years ago
reuk
c802319241
Viewport: Stop touches on other components from interrupting scrolling
Previously, a touch on a component outside the Viewport would interrupt
and cancel a scroll gesture inside the Viewport.
Now, the Viewport will respond to all drag events from the input source
that started the drag, allowing the Viewport to be scrolled with one
input source while adjusting other controls with another input source.
The FontsDemo is useful for testing this behaviour, as it has two
Viewports on a single screen, along with some other controls.
4 years ago
reuk
7b64bd7406
DelayLine: Allow setting a new maximum delay time after construction
4 years ago
reuk
c41f64111f
FilterDesign: Add assertions to catch misuse of design functions
4 years ago
reuk
e02a09da0c
HeapBlock: Disable size-based constructor for non-integral arguments
4 years ago
reuk
07ca7ae13b
GenericAudioProcessorEditor: Update parameter names when AudioProcessor changes
4 years ago
reuk
cfec0b5356
GenericAudioProcessorEditor: Add support for grouped parameters
4 years ago
reuk
3d1d060317
AudioPluginInstance: Add API to retrieve parameter IDs from hosted plugins
4 years ago
reuk
fbe446eac0
ProcessorChain: Add support for C++17 structured bindings
4 years ago
reuk
930a3299f2
Reservoir: Factor out reservoir management code
4 years ago
reuk
abd5fe4a69
DryWetMixer: Update implementation to use SingleThreadedAbstractFifo
4 years ago
reuk
b0bd1c4f63
SingleThreadedAbstractFifo: Move into juce_core
4 years ago
reuk
7504fa065b
FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested
Zenity and Kdialog only support opening either files or directories
during a single invocation.
4 years ago
Attila Szarvas
823bfb0c32
DragAndDropContainer: fix positioning when source Component is transformed
4 years ago
ed
a7915ec47e
iOS/macOS Accessibility: Tidy up shared value getter
4 years ago
ed
2abf68d866
iOS Accessibility: Create UIAccessibilityReadingContent protocol-conforming classes dynamically for text elements
4 years ago
ed
a6db2ef4ff
iOS Accessibility: Fix a potential use-after-free when deallocating a container element
4 years ago