reuk
a31a4dc5f7
X11: Ensure repainting still works after destorying a GL context
On Linux, repaints are only issued if the number of received SHM
completion events matches the number of events initiated with
`xShmPutImage`.
Previously, destroying a GL context was calling `XSync (display, True)`
which cleared the event queue. Sometimes, this would cause an 'SHM
Completion Event' to be removed from the queue. This meant that the
number of received events would never match the number of initiated
events, and repainting would stop indefinitely.
By calling `XSync (display, False)` instead, we ensure that pending
events are kept in the queue, so any pending SHM completion event will
be found as usual during the next repaint timer callback.
5 years ago
reuk
c6280f7b8a
XmlElement: Fix rare crash when parsing truncated escape sequences
5 years ago
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
5 years ago
reuk
b1917085db
AudioProcessor: Update listener callback with change details
5 years ago
reuk
46d24cc1ab
TextEditor: Avoid starting timer unnecessarily when setting text
5 years ago
ed
240089bcbc
AudioDeviceManager: Fixed backwards compatibility when passing an empty string to removeMidiInputCallback()
5 years ago
reuk
d5b55a8474
X11: Make `setFullscreen` put windows into true maximised mode
5 years ago
reuk
576cd24665
X11: Use correct scale factor on Ubuntu
5 years ago
Tom Poole
a05424fd3d
Linux: Added better support for minimal X11 environments
5 years ago
ed
94330cbb53
VST3: Repaint editor when size changes in Bitwig on Linux to fix UI glitches
5 years ago
ed
b5a06b0e2f
Windows: Use MapWindowPoints() in HWNDComponentPeer::getBounds() to get correct client coordinates when we're the child of another HWND
5 years ago
ed
d8542481fd
VST3: Fixed some intellisense arithmetic overflow warnings
5 years ago
ed
77f8e48730
VST3: Fixed incorrect high-DPI plug-in initial window size in Live on Windows
Live calls getSize() before the plug-in has been attached to the system window and can query the correct system scale factor, this size is then used to resize the plug-in after it has been attached resulting in an unscaled window size.
5 years ago
ed
5fc20f7106
VST: Made the check for Windows high-DPI screen change resizing more strict to prevent UI glitches when resizing manually
5 years ago
Tom Poole
2018ceca3b
macOS ARM: Allow the debugger to move past failed assertions
5 years ago
ed
fd83e0f51e
Removed Displays const_casts from ComponentPeer implementations
5 years ago
ed
ac1425f94e
Added Display::safeAreaInsets and implementations for iOS and Android
5 years ago
ed
6d8c0b2fc3
Android: Set layoutInDisplayCutoutMode to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS so fullscreen kiosk apps fill the entire display on devices with cutouts
5 years ago
ed
c0cb5dcf34
Android: Tidied up some code in AndroidComponentPeer
5 years ago
jules
a9b5fe3a39
Tweaks for emscripten support
5 years ago
ed
8b075242d4
Windows: Use compiler warning macros when including WebView2 headers
5 years ago
ed
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
5 years ago
ed
04c28eaa3b
Added a missing #if JUCE_MODAL_LOOPS_PERMITTED guard to FileChooser modal methods
5 years ago
ed
56f9f83638
iOS: Check UIStatusBarHidden .plist value in prefersStatusBarHidden property to correctly hide/show the status bar when requested
5 years ago
ed
4ef5012271
iOS: Fixed UIViewAlertForUnsatisfiableConstraints warning when showing the onscreen keyboard
5 years ago
Tom Poole
7c33b2132f
Fixed some parsing issues in readDoubleValue
5 years ago
reuk
837ab64dbd
Android: Fix numeric conversion warnings
5 years ago
Tom Poole
dbecf24722
Fixed a typo in the documentation
5 years ago
ed
46f5b126d5
Tidied up some template statement whitespace
5 years ago
ed
d7358d0ef1
Update SidePanel visibility when shown/hidden and set always on top
5 years ago
ed
af69be5346
Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros
5 years ago
ed
dc242f76db
Windows: Added multiple inheritance support to ComBaseClassHelper
5 years ago
ed
bcb85bc752
Recreate CaretComponent correctly in CodeEditorComponent::lookAndFeelChanged()
5 years ago
reuk
6ff54f0a64
XmlElement: Fix conversion issue when passing Identifiers to forEachXmlChildElementWithTagName
5 years ago
ed
1b2f17f2e8
PopupMenu: Check currently focused component before passing keyboard focus on menu completion
5 years ago
reuk
29c4ef36ee
FFT: Add move ops which would otherwise be implicitly deleted
5 years ago
ed
6cc67f5ac5
Windows: Fixed some build errors in the WebView2 code introduced in 48fcea0c
5 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
5 years ago
reuk
40f6ac7c47
XmlElement: Add range-for-compatible iterators
5 years ago
reuk
dbfdaff00b
XWindowSystem: Prevent PopupMenus from accidentally dismissing themselves
5 years ago
reuk
c41149f48d
String: Fix documentation for getTrailingIntValue
5 years ago
ed
091ab8a3a3
Made the windowIgnoresKeyPresses ComponentPeer style flag documentation a bit clearer
5 years ago
ed
f43784dc5b
macOS: Propagate focus loss message when resigning key window status and only grab focus if window can become the key window
5 years ago
ed
891d86fe6b
Don't trigger a fake mouse move from Component::sendFakeMouseMove() if the component passes through all mouse events
5 years ago
ed
3754cadf55
Windows: Removed WinRT::ComSmartPtr and use existing class instead
5 years ago
ed
48fcea0c44
Windows: Removed WinRTWrapper dependency from WebView2 implementation
5 years ago
ed
a1ff4eec6a
VST: Renamed ComSmartPtr -> VSTComSmartPtr to avoid confusion with existing class in juce_core
5 years ago
ed
f2df19f4fe
Android: Integrated Oboe fix from google/oboe@893feef
5 years ago
ed
bd86eb667e
Android: Fixed compile error when push notifications are disabled
5 years ago
reuk
ba37f915d6
Font: Fix issue where style changes may also affect the typeface of a Font
On Windows, calls to `createSystemTypefaceFor` with a data buffer always
create a WindowsTypeface instance. However, calls with an existing
`Font` instance may try to create a WindowsDirectWriteTypeface, and will
only fall back to using a WindowsTypeface on failure.
Previously, a missing typeface wasn't treated as a failure, which meant
that `WindowsDirectWriteTypeface` would fall back to the first usable
typeface it could find.
With this change applied, we check whether the
WindowsDirectWriteTypeface actually managed to find the font we
requested, and will fall back to using a plain WindowsTypeface in that
case.
5 years ago