ed
24910cc4b4
Fix GCC Wshadow warnings
4 years ago
Tom Poole
5109e30c6f
Bump version number to 6.1.1
4 years ago
ed
7bc696cd28
Windows: Use Component::ScaleFactorListener in ActiveXComponent, OpenGL and video native code and remove some unnecessary JUCE_WIN_PER_MONITOR_DPI_AWARE checks
4 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
4 years ago
Tom Poole
46fe3789fc
Bump version number to 6.1.0
4 years ago
ed
42ea1189ad
macOS: Fix for WebBrowserComponent dropping parameters when using a file:// URI
4 years ago
reuk
20c23700e5
MinGW: Fix some build issues for 32-bit platforms
4 years ago
ed
551d7b9c5b
Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
- Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
- Update the DialogsDemo to demonstrate the new methods
- Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
- Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
- Use modern TaskDialog on Windows for the native dialog box where available
4 years ago
ed
a2d03d2266
Fixed some warnings flagged by Clang's static analyzer
4 years ago
reuk
3d97343c2a
GCC: Fix redundant redeclaration warnings
4 years ago
reuk
85226c33d4
Mac MainMenu: Allow commands without modifiers to be passed to peer
Ideally, we want to pass shortcut keys to the component to handle, and
only fall back to invoking a menu item if the component was unable to
handle the keyboard event, or if the action was triggered by
clicking/selecting an item in the menu itself. The old implementation
tried to work out whether the action was triggered by a shortcut by
checking the event's characters and modifiers. This method was
inaccurate, because some shortcuts (such as arrow keys) may add
unexpected numpad/function modifier flags.
We now try handling shortcut keys directly in the peer, and pass events
up to the superclass (which will forward them to the main menu) if the
event could not be handled.
This commit also adjusts some Objective-C method signatures to use the
correct string encoding for the BOOL type.
4 years ago
ed
a5c3b81f82
Use C++14 lambda capture initialisers for initialising deletion checkers
4 years ago
reuk
6c46512e8b
NSViewComponent: Ensure NSView follows size of top-level component
This commit reverts part of f73f8ee84 which introduced an issue when
resizing a subcomponent with an attached OpenGLContext.
More details of the issue can be seen at
https://github.com/juce-framework/JUCE/issues/914 .
4 years ago
reuk
024a0b4a20
FileBasedDocument: Fix use-after-move bug
4 years ago
Tom Poole
fe4ba9071b
Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0
See BREAKING-CHANGES.txt for more details.
4 years ago
Tom Poole
78be43888e
Update the minimum C++ standard to C++14
4 years ago
ed
a7f33da900
Accessibility: Set caret position when passed an empty range selection in CodeEditorComponent and TextEditor AccessibilityTextInterface implementations
4 years ago
reuk
a70488e38e
MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0
4 years ago
ed
8b2f3088d7
Accessibility: Added AccessibilityTextInterface::isReadOnly() method and AccessibilityRole::label to distinguish between navigable and selectable read-only text elements and simple labels
4 years ago
ed
27ead031c0
macOS/iOS: Removed unused WKWebViewConfiguration object in the WebBrowserComponent native implementation
4 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
ed
13e7ffbdfb
Accessibility: Use AccessibilityTextValueInterface for read-only text in Label, TextEditor and CodeEditorComponent
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
900282ccf3
MinGW: Fix warnings and errors emitted when building VST3 plugins
4 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
reuk
0f690662d8
AutoResizingNSViewComponent: Fix display issues for certain plugin views
Previously, the following plugins were causing issues when hosting their
editors:
- Softube plugins. I used Saturation Knob for testing, which crashed when
deleting the temporary parent view.
- KORG Gadget series, which displayed a black screen after the temporary parent
view was deleted.
- FabFilter Pro-C, which displayed at the wrong scale when opened on a
retina display.
4 years ago
ed
51a593abac
CodeEditorComponent: Avoid dereferencing a nullptr when recreating caret component
4 years ago
reuk
f73f8ee849
NSViewComponentPeer: Use JUCE-style coordinates to position subviews
4 years ago
ed
0fc1ede50f
Used MemoryBlock::isEmpty() in a few places
4 years ago
Tom Poole
765eafb1eb
Fixed some file permissions
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
Tom Poole
a9ad07a945
Use RAII for CFTypes
4 years ago
Tom Poole
4c58e50f2e
Bump version number to 6.0.8
4 years ago
ed
f6338c0f8e
Windows: Added ScopedThreadDPIAwarenessSetter for correctly setting and resetting thread DPI-awareness for methods which interact with an HWND and removed some DPI workarounds
4 years ago
ed
3a0af69eff
AudioPluginHost: Added an application-level setting for scaling plug-ins on Windows
4 years ago
ed
08e6d2f9ee
Windows: Set SWP_NOMOVE/SWP_NOSIZE flags when updating window position in HWNDComponent and use getSmallestIntegerContainer() when calculating scaled bounds
4 years ago
ed
9622fc8e05
macOS: Added support for loading local files in WebBrowserComponent
4 years ago
ed
0fc0dce1b8
macOS: Don't call stop() in WebBrowserComponent::goToURL() when evaluating Javascript
4 years ago
ed
cb57904740
Windows: Improved support for DPI-aware embedded windows in HWNDComponent
4 years ago
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
4 years ago
ed
8b075242d4
Windows: Use compiler warning macros when including WebView2 headers
4 years ago
ed
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
4 years ago
ed
46f5b126d5
Tidied up some template statement whitespace
4 years ago
ed
bcb85bc752
Recreate CaretComponent correctly in CodeEditorComponent::lookAndFeelChanged()
4 years ago
ed
6cc67f5ac5
Windows: Fixed some build errors in the WebView2 code introduced in 48fcea0c
4 years ago
ed
48fcea0c44
Windows: Removed WinRTWrapper dependency from WebView2 implementation
4 years ago
Tom Poole
2553336f45
Bump version number to 6.0.7
4 years ago
Tom Poole
25dccd53c0
Bump version number to 6.0.6
4 years ago
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
4 years ago
ed
3a908f848a
macOS: Fixed an incorrect selector in the WKWebView delegate class
4 years ago