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.
3 years ago
Tom Poole
bfdda737a2
Projucer: Removed the live build
4 years ago
reuk
6bcf603f2c
AppDelegate: Ensure correct lifetime of static objects
Arranges declarations of objects with static storage duration to ensure
correct lifetimes.
4 years ago
reuk
8d5c27237e
MessageManager: Use RAII to simplify app delegate cleanup
4 years ago
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
4 years ago
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
jules
60cbac6a6d
Improved CPU efficiency of MessageManager::runDispatchLoopUntil() on OSX
6 years ago
cesare
f0c1c4c6f5
Revert "Fix problem with milliseconds overflowing for long uptime on OSX"
This reverts commit 99afd933e0
.
6 years ago
cesare
99afd933e0
Fix problem with milliseconds overflowing for long uptime on OSX
6 years ago
jules
218ddf1193
Avoided a wrap-around timeout error in runDispatchLoopUntil()
6 years ago
Tom Poole
bd07014dcc
MacOS: Escaped " in the command line passed to anotherInstanceStarted
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
87042769b6
Tidied up some more old typedefs
7 years ago
Tom Poole
8c0f0815f0
iOS: Added memory warning callbacks
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
Tom Poole
8cecf0baf9
Assorted threading and undefined behaviour fixes
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
Lukasz Kozakiewicz
b8b304e4cd
PushNotifications: add OSX implementation.
7 years ago
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
7 years ago
jules
6b5be8d9ef
Tweaked the OSX broadcast notification flags to avoid problems with anotherInstanceStarted()
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
c8f8f81302
Removed activateIgnoringOtherApps call in macOS shutdown code to avoid JUCE stealing keyboard focus from other apps
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
tpoole
8e7ed3ae7d
Fixed MacOS 10.12 deprecations
8 years ago
jules
c34f13a02d
Fixed a linkage problem in some release plugin builds
9 years ago
jules
a8ca80a49d
Fixed a typo in some exception-logging code
9 years ago
jules
31381c6864
Stripped out some defunct OSX 10.4 fallback code
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
0217203b50
Fixed a problem when calling JUCEApplication::quit() from a background thread on OSX
10 years ago
jules
12ab881353
Minor clean-up.
10 years ago
jules
d3bca77a16
Additions needed for passing launch URLs to the command-line in OSX apps.
10 years ago
jules
7a7f7814fb
Moved the new MountedVolumeListChangeDetector into the juce_events module to avoid some win32 problems.
10 years ago
jules
505bdcea88
Allowed JUCEApplicationBase::quit() to be called from non-message threads on OSX.
11 years ago
jules
d7fa79cca1
Rewrote some OSX code that had used an obj-C block, to keep the old 10.5 compilers happy.
11 years ago
jules
5818b89b04
Altered the method by which plugin UIs re-post carbon keyboard events.
11 years ago
jules
d0629ab14e
Improved always-on-top window detection. Cleaned up some old obj-C code.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
e0a17ee70c
Added an assertion when quitting on a background thread.
12 years ago
jules
ba2dc52b34
Made use of @autoreleasepool for clang builds.
12 years ago
jules
242a461644
MemoryMappedAudioFormatReader fix. Removed a couple of warnings.
12 years ago
jules
d1757b5e8a
Minor stuff.
12 years ago
jules
09fd0206dc
OSX main menu fix.
12 years ago
jules
710dec8a1e
Handling win32 hide/show messages.
12 years ago
jules
502af083aa
Fixed a bug in Font::setUnderline().
13 years ago
jules
8a586adc8b
On OSX, made sure popup menus are dismissed when the main menu is opened.
13 years ago
jules
7875420076
Couple of 10.4 OSX fixes.
13 years ago
jules
07a774adcc
Fix for GCC syntax problem.
13 years ago
jules
dab9295611
Minor refactoring of obj-C internals.
13 years ago