1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

9243 commits

Author SHA1 Message Date
Anthony Nicholls
b09b4c3bc0 Slider: add getNormalisableRange() 2023-06-13 18:09:32 +01:00
attila
cd17f96eb7 Fix MinGW build 2023-06-12 16:05:13 +02:00
Anthony Nicholls
61b27097b7 AAX: Allow runtime custom search paths for a page table file 2023-06-09 12:51:43 +01:00
attila
f16a430f08 Windows: Fix potential accessibility related leaks 2023-06-08 16:07:11 +00:00
attila
18489bb7d7 WebBrowserComponent: iOS: Add accessibility integration 2023-06-08 16:07:11 +00:00
attila
f519af3b62 WebBrowserComponent: Android: Add accessibility integration 2023-06-08 16:07:11 +00:00
attila
d8c282e293 WebBrowserComponent: MacOS: Add accessibility integration 2023-06-08 16:07:11 +00:00
attila
7657efd227 WebBrowserComponent: Windows: Add accessibility integration 2023-06-08 16:07:11 +00:00
reuk
bc9e709e59
ListBox: Rename getModel to avoid name hiding by derived classes 2023-06-08 15:26:24 +01:00
reuk
f012f8c280
OpenGL: Keep track of previously-attached VAOs and buffers when creating additional GL-backed Graphics contexts
Previously, code such as the following (where MyGLComponent is rendering
using an OpenGLContext) could result in GL errors, as the destruction of
the inner context unbound the array buffer and element array buffer
after use, instead of setting them to the previous values set up by the
outer context.

Additionally, a VAO was only set up in the OpenGLContext, so rendering
into a GL-backed LowLevel graphics context could fail if no VAO was
bound.

    void MyGLComponent::paint (juce::Graphics& g)
    {
        juce::Image image { juce::Image::PixelFormat::ARGB, width, height, false, juce::OpenGLImageType() };

        {
            juce::Graphics innerContext { image };
            // draw into innerContext
        }

        g.drawImage (image, juce::Rectangle<float> { width, height });
    }
2023-06-08 15:26:24 +01:00
reuk
9705ef660e
FileListComponent: Allow getTooltipForRow to function as expected when overridden 2023-06-08 15:05:43 +01:00
reuk
c8c4cdc7d5
EdgeTable: Add offset before truncating to somewhat restore old rounding behaviour 2023-06-08 15:05:43 +01:00
Tom Poole
1fbfeb6039 iOS: Fix a constant redrawing bug 2023-06-08 11:12:58 +01:00
Anthony Nicholls
50518ee618 HighResolutionTimer: Use a generic timer for BSD 2023-06-07 14:04:27 +01:00
attila
c79ca4e815 FileTreeComponent: Order items according to OS specific rules
This makes the ordering consistent with other view modes of the
FileBrowserComponent and restores the behaviour prior to a400d3ebe0.
2023-06-06 21:49:58 +02:00
Anthony Nicholls
587e07007d HighResolutionTimer: Complete rewrite
- added unit tests
- best performance timers used for each platform
- fixed an issue in which timer callbacks could drift
2023-06-05 16:32:25 +01:00
reuk
ca16b82daa
VST3: Fix build failure in manifest helper when using an AppConfig.h 2023-06-05 12:02:59 +01:00
reuk
11f84c977f MinGW: Fix redundant redeclaration warning 2023-06-05 11:33:34 +01:00
reuk
c2949edda0
OpenGL: Avoid taking X lock when swapping buffers to reduce lock contention 2023-06-01 18:51:25 +01:00
reuk
ed15516087
OpenGL: Use newer GLX APIs 2023-06-01 18:51:06 +01:00
reuk
4f67a18a3f
EdgeTable: Avoid integer truncation when rendering paths with large coordinates
Previously, if the PathFlatteningIterator returned a line segment with
very large x or y positions, the result of
    roundToInt (iter.y1 * 256.0f)
could be incorrect, if the result was too large to fit in an int.

Using int64_t to store intermediate results, converting to int when
updating the edge table itself produces accurate results for a wider
range of inputs.
2023-06-01 18:49:32 +01:00
reuk
059d98507c
Params: Consistently use HostedAudioProcessorParameter rather than AudioProcessorParameterWithID when querying parameter IDs
AudioProcessorParameterWithID pre-dates HostedAudioProcessorParameter,
which is why AudioProcessorParameterWithID was initially used for this
purpose.
2023-06-01 18:49:32 +01:00
reuk
722b552657
OpenGL: Avoid signed integer truncation when computing frame time differences 2023-06-01 18:49:32 +01:00
reuk
604e090372
VST3 Host: Update host parameter values when only plugin AudioProcessor reports changes 2023-06-01 18:49:31 +01:00
reuk
974795ed7a
VST3: Add support for 5/6/7-order ambisonics from VST 3.7.8 2023-05-31 15:15:27 +01:00
reuk
6015900d6d
VST3 Host: Constrain editor view to prevent it being resized beyond the minimum size recommended by the plugin 2023-05-31 15:15:27 +01:00
reuk
eeb6230db4
VST3 Host: Allow resizing of plugin views 2023-05-31 15:15:26 +01:00
reuk
7c53711ce0
VST3 Host: Read new moduleinfo.json location 2023-05-31 15:15:26 +01:00
reuk
77458fb4f9
VST3 Client: Generate moduleinfo.json into Resources directory of bundle 2023-05-31 15:15:26 +01:00
reuk
06a2089872
VST3 Client: Update moduleinfotool to write compatibility info from plugin
Reintegrates changes from cf9fc84669
2023-05-31 15:15:26 +01:00
reuk
ab1b8de52f
VST3: Update SDK to 3.7.8 2023-05-31 15:15:26 +01:00
reuk
e56e470f5b
LV2 Manifest Helper: Rename main source file 2023-05-31 15:15:26 +01:00
reuk
53a87c178c
AlertWindow: Update documentation 2023-05-31 15:15:26 +01:00
reuk
c13276a4d6
Windows: Allow IME input in plugins 2023-05-31 15:15:26 +01:00
reuk
dae9567dca
WindowsHooks: Split declarations and definitions into seaprate files 2023-05-31 15:15:25 +01:00
reuk
7ed89e4896
WindowsHooks: Move into juce_gui_basics 2023-05-31 15:15:25 +01:00
reuk
1c1cbdf18d
ComponentBoundsConstrainer: Add new decorator constrainer 2023-05-31 15:15:25 +01:00
reuk
1ad3430e14
ImageCache: Avoid assertion in destructor 2023-05-31 15:15:25 +01:00
reuk
4ba81fda59
FileChooser: Fix bug where native FileChooser could not be closed when hosted in Cantabile
Previously, the top-level modal dismiss broadcaster would attempt to
dismiss all modals when the native file chooser was brought to the front
or clicked. This would end up calling Component::inputAttemptWhenModal,
which would bring the FileChooser's Component to the front, interrupting
the mouse click.

The fix is to avoid bringing the plugin window to the front when the
FileChooser is in a modal state. As the chooser is a native window, the
system should take care of enforcing the expected modal behaviour.

It's not clear why this issue only affects Cantabile. It seems that in
Cantabile, events from the native FileChooser get sent to the plugin
editor's parent HWND, whereas this doesn't happen in other hosts.
Perhaps Cantabile is hooking/intercepting window messages in some way.
2023-05-31 15:15:25 +01:00
reuk
910c60b84a
FileChooser: Avoid passing deprecated --confirm-overwrite option to zenity 2023-05-31 15:15:25 +01:00
reuk
3894fdbe5f
CoreGraphics: Fix issue where AlertWindow borders were not rendered correctly 2023-05-31 15:15:25 +01:00
reuk
fa6f5a889a
NSViewComponentPeer: Avoid calling makeKeyWindow on windows that cannot become key 2023-05-31 15:15:24 +01:00
reuk
cf7c865432
NSViewComponentPeer: Ensure inner views that receive key equivalents reset keyDown state correctly 2023-05-31 15:15:24 +01:00
reuk
3d172f9c0d
AU Client: Fix pointer-to-bool conversion 2023-05-31 15:15:24 +01:00
reuk
59727e6860
File: Enable symbolic link creation on BSD 2023-05-31 15:15:24 +01:00
attila
f7e04d1423 FileBrowserComponent: Respect FileFilters in TreeView mode
This fixes a regression introduced in
a400d3ebe0.
2023-05-31 11:16:51 +02:00
Anthony Nicholls
f5cd9547dd Tidy divider comments 2023-05-26 09:04:21 +01:00
Anthony Nicholls
99138c13f8 Android: fix float comparisons
float comparison
2023-05-25 19:40:17 +01:00
Tom Poole
61a4a3785a DelayLine: Fix a bug in Lagrange interpolation 2023-05-22 16:51:50 +01:00
reuk
8ed3618e12
CoreGraphicsContext: Fix issue where clipping a gradient on a layer-backed view could cause rendering glitches 2023-05-04 18:42:41 +01:00