1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00
Commit graph

263 commits

Author SHA1 Message Date
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
reuk
755e93e1c0 HWNDComponentPeer: Avoid assertions when opening submenus 2021-01-18 12:25:14 +00:00
reuk
85facf6d6e
HWNDComponentPeer: Dismiss modals more proactively
This change makes heavyweight views listen to window events from higher
in the window hierarchy. If a move or resize event from higher in the
hierarchy is encountered, blocking modal components will be dismissed.

This patch should resolve an issue where the popupmenu for a combobox
could become 'stranded' if the plugin window was moved while the box was
open.
2021-01-15 12:18:31 +00:00
ed
6325230f61 Windows: Use rectangleFromRECT() to clean up some code 2021-01-06 17:16:36 +00:00
ed
09c25fedfd Windows: Retrieve work area rectangle for all connected monitors 2021-01-06 17:16:36 +00:00
ed
b614f9e01e Windows: Only call Displays::updateToLogical() on per-monitor DPI-aware threads 2021-01-06 17:16:35 +00:00
reuk
88285acae1
DragAndDrop: Fix drag and drop in windows optimised builds
In very optimised builds, SHCore.dll may not be automatically loaded
into the address space of the calling executable. In these cases, the
call to `GetModuleHandle` will fail. Adding the call to LoadLibrary
ensures that the dll is loaded into the program's address space, which
will allow the call to GetModuleHandle to succeed.
2021-01-06 12:31:38 +00:00
reuk
e988c4c671
DragAndDrop: Tidy up windows implementation 2021-01-06 12:31:38 +00:00
ed
b7e28541ca Replaced deprecated Displays methods 2020-10-27 12:38:59 +00:00
ed
4a09440222 Windows: Return result of ComponentPeer::handleKeyPress() in doAppCommand() to prevent JUCE apps always consuming media keys 2020-09-22 10:52:03 +01:00
ed
af968f5d78 Small fix for previous commit 2020-07-07 09:04:06 +01:00
ed
f1a5f2ef1e Windows: Fixed drag and drop position for DPI-unaware windows 2020-07-06 17:21:14 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
reuk
f49b3733ec
Warnings: Silence some GCC warnings 2020-05-05 12:28:47 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
reuk
e13901d912 ClangCl: Silence code which warns when building on Windows with Clang 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
fe61354c21 Linux: Added X11Symbols and WebKitSymbols singletons to dynamically load X11 and WebKit library functions at runtime 2020-04-16 12:18:48 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
reuk
dde6b96ebe MSVC: Fix some potential divide-by-zero errors 2020-03-26 14:12:13 +00:00
ed
6b8b728d1e Tidied up some whitespace 2020-03-17 16:26:16 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
18523101be Windows: Refactored DPI handling in the VST wrapper and hosting code 2020-03-02 15:41:08 +00:00
ed
171b7812f4 Updated platform implementations of Desktop::setKioskComponent() to be multi-monitor aware 2020-02-18 11:19:46 +00:00
ed
5bda9de977 Windows: Fixed some build errors and warnings when using Clang in Visual Studio 2020-02-06 14:07:42 +00:00
ed
e951b39801 Windows: Fixed some repainting issues when using a non-integer scale factor 2019-11-12 10:28:27 +00:00
ed
ce9bb8b605 Windows: Added an overflow buffer to the event loop to catch messages posted after hitting the PostMessage() limit 2019-11-08 18:11:27 +00:00
ed
6f4d212ca6 Reverted a37b918 which was causing some issues in Cubase 10 2019-09-11 16:19:17 +01:00
ed
a37b918082 Windows: Correctly set the DPI-awareness of OpenGL worker threads 2019-09-02 17:24:19 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
a9a0f6b92f Enforced more comprehensive const-correctness in the JUCE container classes 2019-05-29 08:52:16 +01:00
ed
eb3a90e081 Windows: Avoid setting the process DPI-awareness in plug-ins on older versions of Windows 2019-05-21 16:43:03 +01:00
jules
f58eacc135 Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects. 2019-05-15 12:08:38 +01:00
ed
abe9787bd3 Windows: Fixed a potential crash in setProcessDPIAwarenessIfNecessary() on Windows 7 2019-05-14 11:11:07 +01:00
ed
2af1de45d7 Windows: Fixed a bug with DPI-aware VSTs in Steinberg hosts using the OpenGL renderer 2019-05-11 09:31:18 +01:00
ed
0969b946f6 Windows: Fixed a build error when JUCE_WIN_PER_MONITOR_DPI_AWARE = 0 2019-05-03 11:20:34 +01:00
ed
8548707dd6 Windows: Added a call to handleKeyUpOrDown() for modifier keys in doKeyDown() to make the behaviour consistent across platforms 2019-04-23 15:51:18 +01:00
ed
3eb4cfec9a Windows: Rescale image in createSnapshotOfNativeWindow() to be in logical pixels 2019-04-18 12:21:08 +01:00
ed
b1c4d981da Fixed an iOS multitouch bug and added MouseInputSource::offscreenMousePos to replace some magic numbers 2019-03-26 11:40:58 +00:00
ed
7fad509483 Windows: Store the last valid touch input position and return it from MouseInputSource::getCurrentRawMousePosition() 2019-03-12 16:45:41 +00:00
ed
aaaa9e6afb Windows: Fixed a bug causing DPI unaware desktop windows to not fill the entire screen when maximised 2019-03-12 09:41:30 +00:00
ed
090aef2d70 Windows: Fixed file drag and drop for Windows 8 2019-02-19 16:01:40 +00:00
ed
8635315e61 Windows: Fixed a bug on later versions of Windows 10 causing the on-screen keyboard to keep showing and hiding 2019-02-19 11:00:05 +00:00
ed
72aee7f2f9 Windows: Fixed a bug when dragging files on non-hiDPI systems 2019-02-18 18:06:30 +00:00
ed
d7a62f5f07 Windows: Added a #define missing from some versions of the Windows 10 SDK 2019-02-12 09:25:30 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
ed
b3a09e8e96 Windows: Use raw pixel location when forwarding touch events to fix an issue with non-DPI aware plug-ins 2018-11-23 13:58:28 +00:00
ed
b3a1d56eba Windows: Fixed a build error when JUCE_WIN_PER_MONITOR_DPI_AWARE=0 2018-10-30 14:14:45 +00:00
jules
5979288706 Added some macros for asserting when functions are called in an unsafe manner outside the message thread. 2018-10-16 17:39:54 +01:00