Commit Graph

16 Commits

Author SHA1 Message Date
Roddi 535ef4e93a fixed warnings and analyser hits 2010-06-08 19:03:55 +02:00
André Berg 0d42c592cf Override openDocumentWithContentsOfURL:... to provide sanity checks for the case when a recent items entry no longer has a git repo associated with it. GitX fails gracefully and displays a recovery suggestion. 2009-11-01 00:38:41 +01:00
Morgan Schweers 5b0051e13c Rudimentary clone capability from the File menu.
No progress display, so it's UX sucks, but it works.

Need to add a progress display, so the user knows it's not just lost in the weeds.  Either a neutral 'working' progress bar, or (optimally) some cool thing that feeds off the pipe and fills a text display.
2009-10-26 16:31:23 +01:00
Benjamin Kramer 6dcefe5bec Fix many gcc 4.2 compiler warnings 2009-05-18 23:08:51 +01:00
Nick Zitzmann 8a6d55dbfe Add a "New..." option to the Main Menu to create a local
repository
2009-03-24 00:36:46 +00:00
Pieter de Bie 2cb0a37af5 Make a document the active window if it already exists 2009-01-25 15:14:57 +00:00
Pieter de Bie 86606ef815 Add a --commit option to the CLI client
This changes a lot of code, so quick review:

* RepositoryDocumentController now returns the document without selecting a ref
* PBGitWindowController now optionally shows the default view, or selects no view at all
* PBGitRepository keeps a pointer to its WindowController so that it can change views
2008-09-26 23:22:15 +02:00
Pieter de Bie ef6b506dc7 Check if a repository is valid 2008-09-20 12:14:58 +02:00
Pieter de Bie 0617f11619 Select existing ref if it exists 2008-09-12 18:44:06 +02:00
Pieter de Bie 3c7a22ef56 Let the gitx CLI use our RevSpecification 2008-09-12 17:56:42 +02:00
Pieter de Bie 7b2efe1ac2 Change current document when called with different arguments 2008-09-12 14:47:06 +02:00
Pieter de Bie 42e8196e1f Pass on arguments from the command line to the revwalk mechanism 2008-09-12 13:18:05 +02:00
Pieter de Bie 4dde9f3095 Allow selection of .git directories in the modal dialog 2008-09-12 12:45:06 +02:00
Ciarán Walsh 12faa4a8f0 Avoid showing .git dirs in the recent documents menu.
Instead (for non-bare repos) add the directory above the .git dir.
2008-08-19 00:16:15 +02:00
Ciarán Walsh e015fd7be4 Overriding -documentForURL: to use +gitDirForURL: to convert incoming URLs to the .git dir before checking for an open document, so that open a repository from subdirectories won’t open duplicate windows. 2008-08-18 17:24:50 +01:00
Ciarán Walsh b85a205698 Completing the document-based app setup.
Multiple repositories can now be opened by using the File → Open… menu option.
Each document is a PBGitRepository with a PBDetailController controlling the window. PBRepositoryDocumentController is the document controller.
When launched, the application will attempt to open a repository with the current directory as its path. If this fails it will display an open panel to allow the user to select one.
2008-08-18 08:58:39 +01:00