Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
reuk
8458ac0186
MessageManager: Correct visibility of repostCurrentNSEvent
...
This commit reverts c34f13a02d
In stripped plugin builds, the repostCurrentNSEvent function was still
public. There doesn't seem to be a good reason for this, as no host
should need to call the function.
It looks like the shared code component of a Projucer-generated plugin
project was briefly built as a framework that was shared by the
different plugin wrappers. In this scenario, the framework would need to
make repostCurrentNSEvent public so that the wrappers could locate the
function. However, now that the shared code target is built as a static
library, standard external linkage should be sufficient for the symbol
to be located from the wrapper's TUs.
2021-11-24 16:20:38 +00:00
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function
2021-11-24 11:51:11 +00:00
reuk
85226c33d4
Mac MainMenu: Allow commands without modifiers to be passed to peer
...
Ideally, we want to pass shortcut keys to the component to handle, and
only fall back to invoking a menu item if the component was unable to
handle the keyboard event, or if the action was triggered by
clicking/selecting an item in the menu itself. The old implementation
tried to work out whether the action was triggered by a shortcut by
checking the event's characters and modifiers. This method was
inaccurate, because some shortcuts (such as arrow keys) may add
unexpected numpad/function modifier flags.
We now try handling shortcut keys directly in the peer, and pass events
up to the superclass (which will forward them to the main menu) if the
event could not be handled.
This commit also adjusts some Objective-C method signatures to use the
correct string encoding for the BOOL type.
2021-07-14 14:49:05 +01:00
Tom Poole
bfdda737a2
Projucer: Removed the live build
2021-05-14 12:54:07 +01:00
reuk
6bcf603f2c
AppDelegate: Ensure correct lifetime of static objects
...
Arranges declarations of objects with static storage duration to ensure
correct lifetimes.
2021-03-05 11:26:22 +00:00
reuk
8d5c27237e
MessageManager: Use RAII to simplify app delegate cleanup
2021-01-15 16:43:11 +00:00
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
2020-12-10 12:48:42 +00:00
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64
2020-07-08 09:58:00 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +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
jules
87042769b6
Tidied up some more old typedefs
2018-05-11 14:44:51 +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
Tom Poole
8cecf0baf9
Assorted threading and undefined behaviour fixes
2017-12-11 16:37:17 +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
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
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
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
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
tpoole
8e7ed3ae7d
Fixed MacOS 10.12 deprecations
2016-12-02 11:37:52 +00:00
jules
c34f13a02d
Fixed a linkage problem in some release plugin builds
2016-04-08 10:00:27 +01:00
jules
a8ca80a49d
Fixed a typo in some exception-logging code
2015-12-28 10:18:42 +00:00
jules
31381c6864
Stripped out some defunct OSX 10.4 fallback code
2015-12-01 12:48:01 +00:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
jules
0217203b50
Fixed a problem when calling JUCEApplication::quit() from a background thread on OSX
2015-03-26 16:56:28 +00:00
jules
12ab881353
Minor clean-up.
2014-12-26 13:42:17 +00:00
jules
d3bca77a16
Additions needed for passing launch URLs to the command-line in OSX apps.
2014-12-23 10:46:08 +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
505bdcea88
Allowed JUCEApplicationBase::quit() to be called from non-message threads on OSX.
2013-11-28 10:01:21 +00:00
jules
d7fa79cca1
Rewrote some OSX code that had used an obj-C block, to keep the old 10.5 compilers happy.
2013-10-29 19:11:16 +00:00
jules
5818b89b04
Altered the method by which plugin UIs re-post carbon keyboard events.
2013-10-01 19:54:35 +01:00
jules
d0629ab14e
Improved always-on-top window detection. Cleaned up some old obj-C code.
2013-09-23 13:41:36 +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
e0a17ee70c
Added an assertion when quitting on a background thread.
2013-04-28 11:04:50 +01:00
jules
ba2dc52b34
Made use of @autoreleasepool for clang builds.
2013-03-21 18:33:01 +00:00
jules
242a461644
MemoryMappedAudioFormatReader fix. Removed a couple of warnings.
2013-02-26 13:02:22 +00:00
jules
d1757b5e8a
Minor stuff.
2012-11-20 19:33:40 +00:00
jules
09fd0206dc
OSX main menu fix.
2012-11-12 21:22:18 +00:00
jules
710dec8a1e
Handling win32 hide/show messages.
2012-09-17 10:03:02 +01:00
jules
502af083aa
Fixed a bug in Font::setUnderline().
2012-07-11 09:44:10 +01:00
jules
8a586adc8b
On OSX, made sure popup menus are dismissed when the main menu is opened.
2012-07-10 17:27:11 +01:00
jules
7875420076
Couple of 10.4 OSX fixes.
2012-06-17 18:51:52 +01:00