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

130 commits

Author SHA1 Message Date
ed
74c3901138 Linux: Fixed a bug that could cause the message queue to freeze up 2019-07-17 15:03:30 +01:00
ed
77e93e35e4 Linux: Set POLLOUT flag for fds to receive XShm completion events 2019-07-03 16:36:48 +01:00
ed
fd76cbc70d Linux: Refactored InternalMessageQueue
This commit simplifies the Linux event loop code and adds methods to allow arbitrary file descriptors to registered. Also adds a method to register external event loops to be used instead of JUCE's internal event loop.
2019-06-28 12:07:24 +01:00
Tom Poole
670f77f80c Fixed some Android compiler warnings 2019-06-06 16:50:12 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
jules
60cbac6a6d Improved CPU efficiency of MessageManager::runDispatchLoopUntil() on OSX 2019-04-02 14:31:23 +01:00
cesare
f0c1c4c6f5 Revert "Fix problem with milliseconds overflowing for long uptime on OSX"
This reverts commit 99afd933e0.
2019-02-19 10:14:02 +00:00
cesare
99afd933e0 Fix problem with milliseconds overflowing for long uptime on OSX 2019-02-18 18:43:25 +00:00
jules
218ddf1193 Avoided a wrap-around timeout error in runDispatchLoopUntil() 2019-02-18 18:08:34 +00:00
Tom Poole
bd07014dcc MacOS: Escaped " in the command line passed to anotherInstanceStarted 2019-02-11 13:58:29 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
hogliux
008b7a9ab2 Re-structured the low-level Android native code
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
2018-11-13 12:33:40 +00:00
Tom Poole
98def04379 WinRT: Added a dedicated ComPtr class 2018-10-25 16:12:45 +01:00
jules
cfc85445b5 Minor tidying up 2018-10-23 12:50:14 +01:00
Tom Poole
2a5e20a10a Tidied up some WinRT code 2018-10-22 12:11:50 +01: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
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
Lukasz Kozakiewicz
772185f2b0 Add camera support for iOS and Android. 2018-04-25 18:54:04 +02: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
Lukasz Kozakiewicz
c90835eafc Android: do quit the app when calling JUCEApplicationBase::quit(), rather than just placing it in the background (same as on iOS). 2018-01-31 18:45:25 +01:00
Tom Poole
8c0f0815f0 iOS: Added memory warning callbacks 2018-01-29 15:11:56 +00: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
bc90a41386 Fixed a few singletons which had forgotten to call clearSingletonInstance() in their destructors 2017-12-13 09:23:26 +00:00
jules
58a99ff139 Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated! 2017-12-12 16:24:40 +00:00
Tom Poole
8cecf0baf9 Assorted threading and undefined behaviour fixes 2017-12-11 16:37:17 +00:00
jules
f3cde9763a Quick tidy-up of some messaging classes 2017-12-04 11:30:15 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
Lukasz Kozakiewicz
b8b304e4cd PushNotifications: add OSX implementation. 2017-11-22 12:59:53 +01:00
Lukasz Kozakiewicz
5d30fcd9b5 Android: move a bunch of generic Android and Java classes to JNI helpers, add Android/Java prefixes to disambiguate. 2017-11-08 18:29:12 +01:00
hogliux
05e343cdd4 Android: Fixed an issue where the JNI could be flooded with JNI GlobalRefs when many messages are in flight 2017-10-13 11:01:39 +01: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
1b7d30f0f4 Android: Moved more Java code into C++ 2017-08-04 18:49:14 +01:00
jules
6b5be8d9ef Tweaked the OSX broadcast notification flags to avoid problems with anotherInstanceStarted() 2017-05-03 11:07:05 +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
hogliux
c8f8f81302 Removed activateIgnoringOtherApps call in macOS shutdown code to avoid JUCE stealing keyboard focus from other apps 2017-04-07 12:13:00 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
tpoole
5920bcd20b Fixed WinRT MIDI static initialisation error 2017-03-15 17:24:43 +00:00
tpoole
112b88f289 Made the WinRT MIDI service run on app startup 2017-03-14 15:24:32 +00:00
tpoole
9a38505dad Added experimental WinRT MIDI support, enabling BLE MIDI on machines with Windows 10 Anniversary Update installed 2017-02-20 17:36:36 +00:00
tpoole
78bbe49616 Added some missing license banners 2017-02-17 15:56:18 +00:00
tpoole
e33abbc6fe Replaced Projucer-generated header guards with #pragma once and updated the examples 2017-02-17 15:34:10 +00: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
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00