Initial directory structure.

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@1 95fa3068-9819-0410-9c96-7759cbfcbc6e
Imported latest revision (r14) from old repository

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@2 95fa3068-9819-0410-9c96-7759cbfcbc6e
Fixed issue #2

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@3 95fa3068-9819-0410-9c96-7759cbfcbc6e
Big thanks to Any Kim and Evan Schoenberg:

- Allows the use of Function keys without modifiers

- Fixes the mask to be an unsigned int, rather than casting unsigned int to int. This was working because the masks before NSFunctionKeyMask are all in range of an int... NSFunctionKeyMask needs to be stored in an unsigned int

- Changed the mask building to use |= (bitwise OR) rather than +=, which is more proper

- Adds newlines to the end of some files which were complaining when the relevant warning (or -Wall) was enabled

- PTKeyCombo would previously treat a key combo whose key was 'A' as being an empty key combo, because it checked "keycode <= 0" when loading from a plist.  A's keycode (on my US English keyboard, anyways) is, in fact, 0, so the check needs to be "keycode < 0".

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@4 95fa3068-9819-0410-9c96-7759cbfcbc6e
Changed SRLocalizedString to now use ShortcutRecorder.strings instead of Localizable.strings

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@5 95fa3068-9819-0410-9c96-7759cbfcbc6e
Lots of changes:

* Fixed the tab-past-control-then-pressing-space-activates-recording-mode bug. Fixes Google Code issue #6.
* Introduced completely resolution-independent drawing with form-rendered images.
* Introduced a secondary new look with a grey gradient snapback button and no gradient border. Opt-in. ([cell-or-control setStyle:])
* Introduced animation when using the new look. Opt-in. ([cell-or-control setAnimates:])
* Introduced experimental support for handling modifier-less keyboard shortcuts. (Just plain keystrokes.) This maintains two flags, one to accept modifier-less shortcuts at all and one to decide what, in that case, entering Escape or Delete would do - record them as shortcuts or cancel recording. Obviously opt-in. ([cell-or-control setAllowsKeyOnly:escapeKeysRecord:]) Fixes Google Code issue #17.
* Upgraded the palette and demo app to support all new capabilities.
* Fixed NSError(SRAdditions)' localizedDescription to look for key @"NSLocalizedDescription" instead of @"NSLocalizedDescriptionKey". Fixes Google Code issue #15.
* Autosave also saves and reads @"modifiers" key with Carbon combinations for compatibility with PTKeyCombo's plistRepresentation. (Carbon data is only read if Cocoa data isn't available.) Fixes Google Code issue #12.

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@6 95fa3068-9819-0410-9c96-7759cbfcbc6e
More changes!

SRCharacterForKeyCodeAnd(Cocoa|Carbon)Flags function added to represent NSEvent's -charactersIgnoringModifiers. (SRStringForKeyCode... represented NSEvent's -characters.) Added -keyChars and -keyCharsIgnoringModifiers to control and cell, caching from events when setting a new shortcut, persisting with coded data and otherwise recalculated using SRCharacterForKeyCodeAnd(Cocoa|Carbon)Flags.

SRIsSpecialKey is a new inlined function to quickly check if the key at that key code is an arrow key, F1-F16 key, space, delete (both), pad clear, page up/down, home/end, enter, escape, return, tab or the help key.

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@7 95fa3068-9819-0410-9c96-7759cbfcbc6e
adds support for allowing the recorder to capture global hotkeys without triggering the command

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@11 95fa3068-9819-0410-9c96-7759cbfcbc6e
Patch from Michael Tsai which adds support for the new function keys on the Apple Aluminum keyboard. I don't have one so can't test it directly, but the change didn't create any problems and looks good to me. Thanks, Michael.

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@19 95fa3068-9819-0410-9c96-7759cbfcbc6e
fixes #22

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@20 95fa3068-9819-0410-9c96-7759cbfcbc6e
merges the leopard framework into the googlecode repo, adds a tester app that uses the framework, and fixes the dynamic loading issue that results from the plugin linking against the framework

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@21 95fa3068-9819-0410-9c96-7759cbfcbc6e
Fix memory leaks


git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@25 95fa3068-9819-0410-9c96-7759cbfcbc6e
Use bezierPathWithRoundedRect:xRadius:yRadius: and remove NSBezierPath category override


git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@26 95fa3068-9819-0410-9c96-7759cbfcbc6e
Rollback 10.4 incompatible revision 26


git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@27 95fa3068-9819-0410-9c96-7759cbfcbc6e
commits the patch from patenaudemat to SRValidator that enables you to capture f-keys to trunk

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@33 95fa3068-9819-0410-9c96-7759cbfcbc6e
fixes user reported issue of scripts not taking into account paths that include a space when calling scripts

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@36 95fa3068-9819-0410-9c96-7759cbfcbc6e
addresses #31 and begins to address #29, the Cocoa64 script needs to still be run against the code

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@37 95fa3068-9819-0410-9c96-7759cbfcbc6e
merges the leopard-only branch into trunk and drops the legacy KeyboardLayout code

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@39 95fa3068-9819-0410-9c96-7759cbfcbc6e
project changes, drops the IB2.x Palette, and the 64-bit targets and the associated files

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@40 95fa3068-9819-0410-9c96-7759cbfcbc6e
64-bitting of SR, up next is GC

git-svn-id: http://shortcutrecorder.googlecode.com/svn/trunk@41 95fa3068-9819-0410-9c96-7759cbfcbc6e