aboutsummaryrefslogtreecommitdiffstats
path: root/Framework
AgeCommit message (Collapse)Author
2015-08-18Updated CHANGES, Info.plist and podspec for the 2.2.0 release.2.2.0Tomáš Znamenáček
2015-08-09fix for keyboard navigationRoman Sokolov
Tab key must pass through. This is important if you want to do keyboard navigation through this control.
2015-08-09FixRoman Sokolov
Fix problem: Set hotkey [TheSameHOTKEY], then mousedown on delete button, then set hotkey again [TheSameHOTKEY], then this hotkey do not work.
2015-04-09Not declaring MASShortcutGlyph as a variable in the headerPaulo F. Andrade
2015-03-08missing import?Tom Brow
2015-03-08module mapTom Brow
2015-03-05Removed support for dots and spaces in user defaults keys (#64).Tomáš Znamenáček
I could find no way to make the feature work, so I have pulled it from the code. I have also inserted asserts to warn library users who would attempt to use illegal characters in user defaults keys in the future. In short, you want your user defaults keys to be something identifier-like.
2015-03-05Fix a problem with defaults keys with dot symbols (#64).Tomáš Znamenáček
2015-03-04Added a test case for a binder problem with dot symbols (#64).Tomáš Znamenáček
2015-03-04Trivial refactoring.Tomáš Znamenáček
2015-03-04Fix accessibility-related crashes on older OS X releases (#47).Tomáš Znamenáček
The NSAccessibilityPriorityKey symbol was only introduced in 10.9, so that we have to check for its availability before using it, otherwise we get a SIGSEGV.
2015-02-16Allow first responder support to be turned on and offJason Perkins
2015-02-16Merge branch 'master' into issue-47-accessibilityJason Perkins
2015-02-12Merge pull request #65 from oreshinya/add_option_showing_delete_hotkey_buttonVadim Shpakovski
Added options to show button that delete hot key.
2015-02-13Added options to show button that delete hot key.shinya takahashi
2015-01-28Version bump to 2.1.2.2.1.2Tomáš Znamenáček
2015-01-28Documented that keyCodeString depends on active keyboard layout.Tomáš Znamenáček
2015-01-28Better key equivalent handling on non-ASCII keyboard layouts.Dmitry Obukhov
See #60 for a discussion. In short, keyCodeStringForKeyEquivalent should be now correct even with non-ASCII keyboard layouts such as Russian.
2015-01-21Enable control to become first responderJason Perkins
2015-01-20Fix "semicolon in method body" warningJason Perkins
2015-01-16Version bump to 2.1.1.2.1.1Tomáš Znamenáček
2015-01-16Decrease headerdoc indenting to appease appledoc (see #55).Tomáš Znamenáček
I think I have finally found out the reason for CocoaDocs ignoring our markup: I have indented the documentation by four spaces, which was interpreted as “code” by appledoc. Trying now without the indent, that should finally help.
2015-01-16Version bump to 2.1.0.2.1.0Tomáš Znamenáček
2015-01-14Add initial accessibility using 10.10 APIsJason Perkins
2015-01-14Added test for hotkeys and shortcut monitor.Tomáš Znamenáček
2015-01-14Updating to current master.Tomáš Znamenáček
2015-01-14Use the clear glyph instead of backspace for clearing a shortcut.Tomáš Znamenáček
The recording control used to display the backspace glyph (U+232B) on the button that clears the shortcut. That’s a bit confusing, since the same backspace glyph can also appear inside the control, representing the recorded shortcut. The clear glyph (U+2715, diagonal cross) seems like a better fit – it’s already used in similar context throughout the Apple UIs like search bars.
2015-01-14Updated headerdoc markup for MASShortcutView+Bindings.Tomáš Znamenáček
2015-01-13Merge branch 'master' into legacy-osx-support.Tomáš Znamenáček
Conflicts: CHANGES
2015-01-13Changed headerdoc markup to work better with CocoaDocs (closes #55).Tomáš Znamenáček
2015-01-12Non-exclusive hotkey registration (#56).Tomáš Znamenáček
2015-01-12Added support for older OS X releases back to 10.6 included.Tomáš Znamenáček
Apart from turning off Auto Layout for the Demo project, the only thing remaining was several __weak qualifiers to prevent retain cycles in blocks. I have replaced them with __unsafe_unretained since __weak is not supported on 10.6. There should be no safety concerns here, since we are certain the pointers will remain valid.
2015-01-08MASShortcutMonitor will silently skip nil shortcuts passed to ↵Tomáš Znamenáček
unregisterShortcut:.
2015-01-08Ignore disabled system shortcuts.Tomáš Znamenáček
This was implemented before in 0633545a, but lost during the rebase.
2015-01-08Documented the recording control behaviour and implemented Cmd-W/Q.Tomáš Znamenáček
2015-01-07Updated copyright & versioning info in the framework’s Info.plist.Tomáš Znamenáček
2015-01-07Fixed the alert that pops up when the shortcut is already used.Tomáš Znamenáček
The longer message text was used as the alert title.
2015-01-07Fixed MASShortcutView initialization errors after rebase.Tomáš Znamenáček
2015-01-07Accept Backspace and Delete keys with modifiers as valid shortcuts.Tomáš Znamenáček
When recording a new shortcut using the MASShortcutView control, the user may press Delete or Backspace to clear the current shortcut. In the previous versions the corresponding code branch didn’t test the modifier flags, making it impossible to record shortcuts such as Cmd-Alt-Delete. Now the control should behave as expected, only using “naked” Delete and Backspace keys to clear the shortcut.
2015-01-07Fixed wrong archiver used for MASShortcutView bindings.Tomáš Znamenáček
2015-01-07Added header documentation.Tomáš Znamenáček
2015-01-07Introduced a MASDictionaryTransformerName constant.Tomáš Znamenáček
This makes it easier to set view bindings from within the Interface Builder.
2015-01-07Whitespace fixes.Tomáš Znamenáček
2015-01-07Added a simplified binding API for MASShortcutView.Tomáš Znamenáček
This returns the associatedUserDefaultsKey property used in previous code versions, only the implementation uses less magic.
2015-01-07Added a shared binder instance singleton.Tomáš Znamenáček
This adds a really simple API to set up some bindings without having to keep a binder instance around by hand. If somebody wants to, it’s not a problem to allocate a separate instance and have precise control over its lifetime.
2015-01-07Better treatment of nil values when storing shortcuts as dictionaries.Tomáš Znamenáček
This makes it possible to make a difference between “shortcut not set, use default” and “shortcut set to none”.
2015-01-07Added a convenience call to register default shortcuts.Tomáš Znamenáček
2015-01-07Added Shortcut.h to the tests prefix header to simplify tests.Tomáš Znamenáček
2015-01-07Added a custom transformer to store shortcuts as dictionaries.Tomáš Znamenáček
The MASDictionaryTransformer class is used to save shortcuts to user defaults (and load them back) using a simple dictionary. The value stored in the user defaults looks like this: $ defaults read com.shpakovski.mac.Demo { MASDemoShortcut = { keyCode = 15; modifierFlags = 1048576; }; … } This storage format has got the distinct advantage of being compatible with the format used by Shortcut Recorder. In order to use it, you have to set proper binding options for MASShortcutBinder and the recorder control (MASShortcutView).
2015-01-07Binding options can now be customized for MASShortcutBinder.Tomáš Znamenáček
This makes it possible to customize the way the shortcuts are stored in user defaults. The default options call for the keyed archiver transformer, deserializing the shortcuts from NSData.