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.
2021-02-18 11:46:48 +00:00
reuk
c6280f7b8a
XmlElement: Fix rare crash when parsing truncated escape sequences
2021-02-18 10:54:29 +00:00
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
2021-02-18 10:54:29 +00:00
reuk
b1917085db
AudioProcessor: Update listener callback with change details
2021-02-18 10:54:29 +00:00
reuk
46d24cc1ab
TextEditor: Avoid starting timer unnecessarily when setting text
2021-02-18 10:54:29 +00:00
ed
240089bcbc
AudioDeviceManager: Fixed backwards compatibility when passing an empty string to removeMidiInputCallback()
2021-02-18 08:47:42 +00:00
reuk
d5b55a8474
X11: Make setFullscreen put windows into true maximised mode
2021-02-16 15:39:31 +00:00
reuk
576cd24665
X11: Use correct scale factor on Ubuntu
2021-02-16 15:38:34 +00:00
Tom Poole
a05424fd3d
Linux: Added better support for minimal X11 environments
2021-02-12 19:17:44 +00:00
ed
94330cbb53
VST3: Repaint editor when size changes in Bitwig on Linux to fix UI glitches
2021-02-11 11:23:33 +00:00
ed
b5a06b0e2f
Windows: Use MapWindowPoints() in HWNDComponentPeer::getBounds() to get correct client coordinates when we're the child of another HWND
2021-02-11 11:23:07 +00:00
ed
d8542481fd
VST3: Fixed some intellisense arithmetic overflow warnings
2021-02-11 11:23:06 +00:00
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.
2021-02-11 11:23:06 +00:00
ed
5fc20f7106
VST: Made the check for Windows high-DPI screen change resizing more strict to prevent UI glitches when resizing manually
2021-02-11 11:23:06 +00:00
Tom Poole
2018ceca3b
macOS ARM: Allow the debugger to move past failed assertions
2021-02-10 13:48:46 +00:00
ed
fd83e0f51e
Removed Displays const_casts from ComponentPeer implementations
2021-02-08 14:38:09 +00:00
ed
ac1425f94e
Added Display::safeAreaInsets and implementations for iOS and Android
2021-02-08 14:38:09 +00:00
ed
6d8c0b2fc3
Android: Set layoutInDisplayCutoutMode to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS so fullscreen kiosk apps fill the entire display on devices with cutouts
2021-02-08 14:38:09 +00:00
ed
c0cb5dcf34
Android: Tidied up some code in AndroidComponentPeer
2021-02-08 14:38:09 +00:00
jules
a9b5fe3a39
Tweaks for emscripten support
2021-02-08 09:59:46 +00:00
ed
8b075242d4
Windows: Use compiler warning macros when including WebView2 headers
2021-02-08 09:30:08 +00:00
ed
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
2021-02-05 14:17:19 +00:00
ed
04c28eaa3b
Added a missing #if JUCE_MODAL_LOOPS_PERMITTED guard to FileChooser modal methods
2021-02-05 14:17:19 +00:00
ed
56f9f83638
iOS: Check UIStatusBarHidden .plist value in prefersStatusBarHidden property to correctly hide/show the status bar when requested
2021-02-05 11:34:39 +00:00
ed
4ef5012271
iOS: Fixed UIViewAlertForUnsatisfiableConstraints warning when showing the onscreen keyboard
2021-02-05 11:34:39 +00:00
Tom Poole
7c33b2132f
Fixed some parsing issues in readDoubleValue
2021-02-03 17:53:32 +00:00
reuk
837ab64dbd
Android: Fix numeric conversion warnings
2021-02-03 16:09:54 +00:00
Tom Poole
dbecf24722
Fixed a typo in the documentation
2021-02-01 15:13:37 +00:00
ed
46f5b126d5
Tidied up some template statement whitespace
2021-01-29 15:40:12 +00:00
ed
d7358d0ef1
Update SidePanel visibility when shown/hidden and set always on top
2021-01-29 15:40:12 +00:00
ed
af69be5346
Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros
2021-01-29 15:40:12 +00:00
ed
dc242f76db
Windows: Added multiple inheritance support to ComBaseClassHelper
2021-01-29 15:40:12 +00:00
ed
bcb85bc752
Recreate CaretComponent correctly in CodeEditorComponent::lookAndFeelChanged()
2021-01-29 14:33:08 +00:00
reuk
6ff54f0a64
XmlElement: Fix conversion issue when passing Identifiers to forEachXmlChildElementWithTagName
2021-01-29 12:57:44 +00:00
ed
1b2f17f2e8
PopupMenu: Check currently focused component before passing keyboard focus on menu completion
2021-01-29 11:43:04 +00:00
reuk
29c4ef36ee
FFT: Add move ops which would otherwise be implicitly deleted
2021-01-29 10:31:08 +00:00
ed
6cc67f5ac5
Windows: Fixed some build errors in the WebView2 code introduced in 48fcea0c
2021-01-29 09:00:41 +00:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
2021-01-28 20:14:11 +00:00
reuk
40f6ac7c47
XmlElement: Add range-for-compatible iterators
2021-01-28 20:14:11 +00:00
reuk
dbfdaff00b
XWindowSystem: Prevent PopupMenus from accidentally dismissing themselves
2021-01-28 20:13:46 +00:00
reuk
c41149f48d
String: Fix documentation for getTrailingIntValue
2021-01-28 15:59:24 +00:00
ed
091ab8a3a3
Made the windowIgnoresKeyPresses ComponentPeer style flag documentation a bit clearer
2021-01-28 11:26:41 +00:00
ed
f43784dc5b
macOS: Propagate focus loss message when resigning key window status and only grab focus if window can become the key window
2021-01-28 11:26:41 +00:00
ed
891d86fe6b
Don't trigger a fake mouse move from Component::sendFakeMouseMove() if the component passes through all mouse events
2021-01-28 11:26:41 +00:00
ed
3754cadf55
Windows: Removed WinRT::ComSmartPtr and use existing class instead
2021-01-28 11:26:13 +00:00
ed
48fcea0c44
Windows: Removed WinRTWrapper dependency from WebView2 implementation
2021-01-28 11:26:13 +00:00
ed
a1ff4eec6a
VST: Renamed ComSmartPtr -> VSTComSmartPtr to avoid confusion with existing class in juce_core
2021-01-28 11:26:13 +00:00
ed
f2df19f4fe
Android: Integrated Oboe fix from google/oboe@893feef
2021-01-28 11:22:39 +00:00
ed
bd86eb667e
Android: Fixed compile error when push notifications are disabled
2021-01-28 11:22:39 +00:00
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.
2021-01-27 15:57:52 +00:00