1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

51 commits

Author SHA1 Message Date
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01: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
reuk
c80285463a MessageManager: Obey the rule of useful return in callAsync 2019-08-30 17:13:21 +01:00
ed
922730f685 Whitespace 2019-07-12 14:44:34 +01:00
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
jules
0367d5c3a9 Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item. 2019-06-19 11:39:28 +01:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +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
jules
6fda0bffca Fixed some stray zeros that were still being passed as null pointers 2018-10-05 12:15:04 +01:00
jules
1e6bbb8da9 Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this 2018-07-03 11:51:13 +01:00
jules
e2dcc32f88 Updated old code where the 'volatile' keyword was still being used 2018-05-01 09:19:50 +01:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +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
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
hogliux
b9b34393d1 Improved scheduling when multiple threads are fighting for the MessageManagerLock 2017-10-19 12:55:37 +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
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
60e9231fb1 Removed need for std::function in order to use MessageManager::callAsync(). Used it to modernise a few bits of old code. 2017-03-29 15:31:41 +01:00
hogliux
42305de6da Added method OpenGLContext::executeOnGLThread to help executing gl house-keeping tasks on the gl thread even when the message manager is locked 2017-02-14 20:20:32 +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
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
f799bb0d6b Another fix for Windows builds with modal comps disabled. 2015-03-05 15:48:27 +00:00
jules
5fc76082e2 Fix for Windows builds with modal components disabled. 2015-03-05 15:42:45 +00:00
jules
89854c55b9 Added flag JUCE_COMPILER_SUPPORTS_LAMBDAS 2014-10-08 11:26:55 +01:00
jules
df3e039bf9 Added a handy static method MessageManager::callAsync() which can asynchronously invoke a lambda on the message thread. 2014-10-07 17:15:19 +01:00
jules
005f0be531 Better cleanup in MessageManagerLock to avoid spurious assertions when a lock fails on shutdown. 2014-08-17 12:25:07 +01:00
jules
7b8ab7b503 Changed MessageBase::post() to return a bool to detect failure in the OS message queue (which can happen under stress on win32), and used this to avoid some messaging classes getting stuck. 2014-07-16 21:33:11 +01:00
jules
619716751e Tweaked the ScopedJuceInitialiser_GUI to use reference-counting internally, and used it to replace/simplify some similar objects in the plugin wrapper classes. 2014-05-28 11:06:48 +01:00
jules
505bdcea88 Allowed JUCEApplicationBase::quit() to be called from non-message threads on OSX. 2013-11-28 10:01:21 +00:00
jules
42aa27900b Moved most of the functionality from JUCEApplication into JUCEApplicationBase, so that it can be used without needing juce_gui_basics to be present. 2013-09-07 09:43:45 +01:00
jules
6045915256 Fixed a namespace problem with the iOS build. 2013-09-02 16:34:56 +01:00
jules
5918d039ce Added some "override" annotations. 2013-07-08 19:05:14 +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
7452efb9e7 safety-check in Label. Typo fix in MessageManager. 2013-05-25 11:57:28 -07:00
jules
67341e7c4d Tweak to runDispatchLoopUntil timekeeping. 2013-05-23 09:09:29 -06:00
jules
ba2dc52b34 Made use of @autoreleasepool for clang builds. 2013-03-21 18:33:01 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
d1757b5e8a Minor stuff. 2012-11-20 19:33:40 +00:00
jules
1f95f54089 Purged some warnings. 2012-04-10 10:29:14 +01:00
jules
87d3acf19f Message leak fix. Android repaint fix. Minor clean-ups. 2012-03-30 09:31:35 +01:00
jules
53c0436d71 Android fixes. OSX fix for old SDKs. 2012-03-29 12:40:14 +01:00
jules
59669e8bec Thread-local value fix for plugins on XP. Android startup tweaks. Minor component changes. 2012-03-27 11:04:27 +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
jules
56bbab1537 (automated whitespace clean-up) 2012-03-20 16:00:06 +00:00
jules
295d125142 Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code. 2012-02-11 14:09:23 +00:00
jules
a997490f17 Updated the OpenGLComponent so that it can render sub-components when using a background thread, and changed the demo to use this mode (which is faster). 2011-12-23 10:33:05 +00:00
Julian Storer
5224a3d9b8 Got rid of the nasty general-purpose ints and void*s that were in the Message class. Instead of using a plain old Message class, just create a subclass which contains whatever data you need in a more meaningful format. 2011-09-22 15:34:10 +01:00