Commit Graph

25 Commits

Author SHA1 Message Date
Nathan Kinsinger e60bb3226c Refactor the gitx CLI to use apple events and the scripting bridge
Sending the arguments with the openURL:... message allows the repository document to modify it's UI without the UI flashing between states as it opens.

Covers all the existing functionality of the CLI, but modifies:
    - "--all" "--local" "--branch" change the branch filter
    - cleaned up the usage (help) text and added info on missing commands
    - looks up the full ref name of refs so the name of a branch or tag can be entered (the user can enter "master" instead of "refs/heads/master")

Modified the History Controller to watch for and react to branch filter changes.

The GitX.h file is generated by the 'sdp' tool in a run script build phase called 'Generate Scripting Bridge Header' based on the content of GitX.sdef. It is used by the Scripting Bridge so that other apps (in this case the gitx CLI) can call Applescript commands on GitX in objective-c.
2010-09-12 19:32:19 -06:00
Pieter de Bie ca209652e2 Info.plist: No longer use the LONG_VERSION hack
Since 0b81911d we have a nicer Git version we can use, so we no longer
require this hack. It also interferes with Sparkle's updating system,
so just remove it and use the same versioning system as we use for
the short string.
2009-09-18 00:57:48 +02:00
Pieter de Bie 7bfcf9af70 Add update key 2009-09-18 00:03:43 +02:00
Johannes Gilger 0b81911d76 About-Panel: Show git-describe using Info.plist
This patch adds a CFBundleGitRevision key to Info.plist which is set to
the output of "git describe" when building.

The menu-entry for "About GitX" was reconnected to a custom method in
the AppController, which reads the CF-string from the .plist and also
indicates if the build is a DEBUG-build.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-06 13:23:38 +02:00
Johannes Gilger 16244df346 Info.plist: Fix handling of directories
Resulting from the last change to Info.plist in 3e21d041ef we were no
longer able to open directories called <foo>.<bar> wheren bar != git.
Using this code allows us to open all directories again and also to
drag-and-drop to the dock.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-05-18 23:18:16 +01:00
Pieter de Bie b7723a9545 Project: Discover both long and short build number from git
This uses the last git tag as version string and the 'git
describe' trick by Johannes for the buildnumber.
2009-03-28 22:47:59 +00:00
Pieter de Bie f3c131ecde Display revision in the About Dialog
We do this by preprocessing the Info.plist file
and adding a prefix header with the current revision
#define'd. This seems to be the most reliable way,
unfortunately
2009-03-24 15:00:38 +00:00
Johannes Gilger 3e21d041ef Info.plist: Make GitX open any file/folder on drop
This extends the Info.plist, allowing any file/folder to be dropped onto
the GitX dock-icon.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-02-21 23:38:11 +01:00
Pieter de Bie cb40cf6111 GitX 0.6.1 2009-01-29 23:56:31 +00:00
Pieter de Bie dbaa66cf36 GitX Version 0.6 2009-01-26 21:31:01 +00:00
Pieter de Bie 9f166e61f6 GitX version 0.5 2008-11-17 14:08:25 +01:00
Pieter de Bie 19f4d94ec6 Add a Complete SHA service
This adds a service bound to ⌘⇧7 that expands
any ref to its abbreviated SHA and its subject
line, much like ⌘C in the commit list does.
2008-10-27 17:40:46 +01:00
Pieter de Bie 2b089a79fe GitX v0.4.1 2008-10-10 21:59:22 +02:00
Pieter de Bie d16ee44b67 Release version 0.4 2008-10-10 21:59:21 +02:00
Pieter de Bie f57a03d378 Version 0.3.1 2008-09-13 00:24:29 +02:00
Pieter de Bie eda55b142b Release version 0.3 2008-09-12 23:10:29 +02:00
Pieter de Bie 2702572a7b Also use our icon for the .git filetype 2008-09-12 12:51:44 +02:00
Bob Aman d96916db17 Added temporary icon for GitX. 2008-09-10 20:34:18 +02:00
Pieter de Bie e94dc16e4a Add Sparkle update framework 2008-09-07 00:21:59 +02:00
Pieter de Bie 7a96328a67 Bump version to 0.2 2008-09-06 23:11:53 +02:00
Pieter de Bie 96bd5d826c Update project settings
This sets the version number correctly
2008-08-28 20:35:57 +02:00
Ciarán Walsh 45addc1f47 Setting up the Info.plist for a document-based application. PBGitRepository will be our document class. 2008-08-17 21:05:01 +01:00
Pieter de Bie 154b78b70c Rename to GitX 2008-06-16 00:25:34 +02:00
Pieter de Bie a47da8d3ea Open a current git repository if one exists 2008-06-14 02:56:38 +02:00
Pieter de Bie 2763141b12 Initial commit 2008-06-13 15:41:30 +02:00