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

9266 commits

Author SHA1 Message Date
attila
3872c0d3cf AAX Client: Fix returning invalid plugin IDs for layouts added in 2.5.0 2023-07-19 16:08:41 +00:00
Anthony Nicholls
2e93071f7a HighResolutionTimer: Switch to an improved generic timer for most platforms 2023-07-19 14:28:36 +01:00
Anthony Nicholls
407720b557 Thread: Fix realtime threads on macOS
- macOS behaviour of setRealtime now matches other platforms

MR feedback
2023-07-19 13:53:38 +01:00
Anthony Nicholls
07cafa8263 BufferingAudioReader: Improve tests 2023-07-19 11:21:40 +01:00
Anthony Nicholls
92aa3cf330 AudioBuffer: Add equality operators 2023-07-19 11:21:39 +01:00
Tom Poole
05b2c99c51 Fixed a typo in a file name 2023-07-17 21:43:07 +01:00
Tom Poole
ff835be2ac Doxygen: Fix some Doxygen issues 2023-07-17 18:24:01 +01:00
reuk
242e93e41e LV2 Host: Avoid removing anchors from plugin URIs when loading editors 2023-06-29 12:38:21 +01:00
Anthony Nicholls
578d2b9d15 ThreadPool: Improve consistency with other option style classes 2023-06-28 12:00:54 +00:00
Anthony Nicholls
04a89007b7 AAX: Remove unhelpful and potentially confusing virtual method 2023-06-28 11:59:50 +01:00
reuk
13f0e75ab0
NSViewComponentPeer: Fix rendering issue changing size of AUv2 window when JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS is enabled 2023-06-27 11:52:06 +01:00
Anthony Nicholls
02eb66ee7a ProgressBar: Add style parameter 2023-06-22 13:07:03 +00:00
reuk
cb55176b0e
VST3 Client: DRY activateBus implementation 2023-06-20 15:11:39 +01:00
reuk
0836cf33b1
VST3 Client: Avoid assertion failure in setBusesLayout when using PreferredChannelConfigurations
Using a preferred channel config with no input or output channels could
cause an assertion here because the AudioProcessor will always have a
single input/output bus by default.
2023-06-20 15:11:39 +01:00
reuk
c5b8b7eae0
VST3 Host: Remove assertion when plugin requests that its editor should be opened 2023-06-20 15:11:39 +01:00
reuk
2d0f21fb4a
VST3 Host: Tidy up input/output loops 2023-06-20 15:11:39 +01:00
reuk
364976b179
AudioProcessor: Tidy up bus assertions 2023-06-20 15:11:38 +01:00
Oliver James
da2266f2b3 OnlineUnlockStatus: Handle key generation failure case 2023-06-19 15:35:58 +01:00
Oliver James
ebfe9b403b SystemStats: Use 'identifierForVendor' for iOS device ID generation 2023-06-19 15:35:57 +01:00
Oliver James
c398ab065f SystemStats: Use IORegistry API for device ID query 2023-06-19 15:35:57 +01:00
Anthony Nicholls
b3da4ae946 ThreadPool: Add support for a user specified thread name 2023-06-19 12:24:45 +00:00
Anthony Nicholls
21aca5ba3e Slider: Fix linear bar slider outline 2023-06-14 16:52:30 +01:00
attila
aceef4f5a2 Windows WebView2: Fix build on C++17 2023-06-14 12:47:17 +00:00
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