1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00
Commit graph

35 commits

Author SHA1 Message Date
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
reuk
407966b2ca
Windows: Fix warnings when building with clang in 64-bit mode 2021-06-30 17:03:38 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
ed
11d872ea1b MessageMananger: Made dispatchNextMessageOnSystemQueue() accessible by internal code 2021-04-13 16:25:04 +01:00
reuk
b952d0204e
FileChooser: Pump message thread in destructor
IFileDialog::Show and CoUninitialize both seem to require the main
message loop to be active and running when they are called. If we block
the message thread while calling these functions, we may cause a
deadlock.

The destructor of the Win32NativeFileChooser was blocking the message
thread until the background thread exited, but the background thread was
unable to make progress while the message thread was blocked.

To work around this issue, we now pump the message thread in the
destructor of the Win32NativeFileChooser. If a dialog is currently
active, this should allow it to exit gracefully.

Note that we cannot use MessageManager::runDispatchLoopUntil here:
- MessageManager::runDispatchLoopUntil will not process any messages if
  the quit message has been received, which could lead to deadlocks if the
  FileChooser is destroyed after the quit message has been posted.
- This function isn't defined when JUCE_MODAL_LOOPS_PERMITTED is disabled.
2021-04-07 16:24:38 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
cda97c6593 Windows: Refactored the internal message queue to avoid hitting the message limit 2020-01-13 15:10:43 +00:00
ed
c46194d08b Windows: Fixed a deadlock that could occur when dispatching messages from the overflow queue 2019-12-06 16:57:09 +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
jules
768139a298 Added some free functions to help make XML parsing less verbose: parseXML() 2018-10-15 16:08:25 +01:00
jules
87042769b6 Tidied up some more old typedefs 2018-05-11 14:44:51 +01:00
ed
527625b699 Added support for building Unity native audio plugins on desktop platforms 2018-05-10 16:32:30 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
4229dc0a4f Made a lot of ScopedPointer usage conform to the std::unique_ptr interface 2018-04-10 18:34:20 +01:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
ed
f11c43d038 Fixed a bug in Windows plugins where the display bounds were not being updated when the scale factor was changed 2017-12-13 11:37:21 +00:00
jules
f3cde9763a Quick tidy-up of some messaging classes 2017-12-04 11:30:15 +00:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
1169800b8a Fixed an issue where active x component would not receive all key events 2017-04-26 21:01:26 +01:00
Felipe F. Tonello
c2100022cc Added several linux improvements to the event loop, MIDI and X11 (see commit messsage)
MIDI: Several ALSA Seq improvements
===================================

Many things were done in this patch (I couldn't really split in several
patches):
 * Only one ALSA Sequencer client per application
 * ALSA Sequencer client name is the application's name by default
 * Fixed a bug when getDeivces() would return devices created by the
   application itself
 * Only ports created with createNewDevice() are allowed to be subscribed,
   other ports (created by openDevice()) doesn't allow subscription
 * AlsaPort is now handled by AlsaClient, basically having the proper
 representation such as the ALSA Sequencer has.

Files: Fix default directory paths
==================================

Some information on:
* Linux LSB FHS:
  http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs-30
* https://wiki.archlinux.org/index.php/Xdg_user_directories

Refactor Event loop to remove X11 dependency
============================================

The goal of this refactor was to remove X11 dependencies on juce_events
to enable non-gui applications (example, Embedded Linux apps) to have no
libx11 dependency.

The side-effect of this refactor is easy implementation of other Linux
graphical back-end, cleanup some code, better handling of X displays and
other benefits.

I removed a lot of the code from juce_linux_Windowing to separate files
for clarity. I also renamed all Linux X11 files to *linux_X11* instead of
just *linux*.

X11: Remove unnecessary XGrabButton call
========================================

This call is made unnecessary if used proper window flags when a window
is created.
2017-02-13 17:14:34 +00:00
tpoole
2e84129479 Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license 2016-12-14 10:07:26 +00:00
jules
11b652e35a Refactored win32 broadcast message handling to avoid clashes with MS Word 2016-02-10 10:39:06 +00:00
jules
781bef41ab Added some defences in win32 against null LPARAM arguments 2015-11-23 11:13:57 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
05c68c28f3 Minor layout clean-ups. 2015-01-08 17:44:24 +00:00
jules
7a7f7814fb Moved the new MountedVolumeListChangeDetector into the juce_events module to avoid some win32 problems. 2014-10-26 19:36:54 +00:00
jules
6c50dda488 Extra safeguards against things that can happen during the win32 PeekMessage call 2014-05-16 11:37:04 +01:00
jules
96c234f8c5 Groundwork for desktop scaling. Added win32 calls to allow drag+drop in apps with lower permissions. 2013-07-04 20:52:54 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
e905f52014 More internal message class refactoring/decoupling. 2012-03-24 18:37:44 +00:00
jules
31209dadfc Simplified some message-handling code. 2012-03-24 11:38:05 +00:00
Julian Storer
d86d68446c RTAS mac window position fix. Introjucer fixes for Windows. 2011-08-23 15:02:11 +01:00
Julian Storer
b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 2011-08-12 10:04:52 +01:00
Renamed from src/native/windows/juce_win32_Messaging.cpp (Browse further)