1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Rewrote MessageManagerLock (again), hopefully now making it bulletproof. Also gave it an extra constructor and changed the threads section of the juce demo to use messagemanagerlocks to animate its components. Stopped using NSLog on the mac because it's unsafe for non-literal strings. Added a bodge to fake italic fonts on the mac if a real italic is unavailable. Added a new class: CallbackMessage, for triggering a custom callback on the event thread. Updated the RTAS plugin build to use the 8.0 version of the SDK. Fixed a problem with ComponentDraggers when working inside a magnifier component.

This commit is contained in:
jules 2009-03-07 12:02:32 +00:00
parent 975851d31c
commit 540474d0ce
41 changed files with 2430 additions and 2095 deletions

View file

@ -194,12 +194,8 @@ int JUCEApplication::main (String& commandLine, JUCEApplication* const app)
{
juce_setCurrentThreadName ("Juce Message Thread");
{
const MessageManagerLock mml;
// let the app do its setting-up..
app->initialise (app->commandLineParameters);
}
// let the app do its setting-up..
app->initialise (app->commandLineParameters);
// register for broadcast new app messages
MessageManager::getInstance()->registerBroadcastListener (app);
@ -246,7 +242,6 @@ int JUCEApplication::shutdownAppAndClearUp()
JUCE_TRY
{
// give the app a chance to clean up..
const MessageManagerLock mml;
app->shutdown();
}
#if JUCE_CATCH_UNHANDLED_EXCEPTIONS
@ -346,7 +341,6 @@ void JUCE_PUBLIC_FUNCTION shutdownJuce_GUI()
const ScopedAutoReleasePool pool;
#endif
{
const MessageManagerLock mml;
DeletedAtShutdown::deleteAll();
LookAndFeel::clearDefaultLookAndFeel();