From 6dd2cf8467916327106caac4c4a987db72867137 Mon Sep 17 00:00:00 2001 From: David Catmull Date: Tue, 26 Apr 2011 17:03:13 -0600 Subject: [PATCH 1/3] add some class comments --- PBCommitList.h | 4 ++++ PBCommitMessageView.h | 1 + PBFileChangesTableView.h | 2 ++ PBGitBinary.h | 1 + 4 files changed, 8 insertions(+) diff --git a/PBCommitList.h b/PBCommitList.h index 3829a41d5..59acf5108 100644 --- a/PBCommitList.h +++ b/PBCommitList.h @@ -12,6 +12,10 @@ @class PBWebHistoryController; +// Displays the list of commits. Additional behavior includes special key +// handling and hiliting search results. +// dataSource: PBRefController +// delegate: PBGitHistoryController @interface PBCommitList : NSTableView { IBOutlet WebView* webView; IBOutlet PBWebHistoryController *webController; diff --git a/PBCommitMessageView.h b/PBCommitMessageView.h index 0dbe073cf..76cebc479 100644 --- a/PBCommitMessageView.h +++ b/PBCommitMessageView.h @@ -8,6 +8,7 @@ #import +// Adds the column guide displayed in the commit message field @interface PBCommitMessageView : NSTextView { } diff --git a/PBFileChangesTableView.h b/PBFileChangesTableView.h index 8dd6ba5af..fe2fe5004 100644 --- a/PBFileChangesTableView.h +++ b/PBFileChangesTableView.h @@ -9,6 +9,8 @@ #import +// File list used in both the staged and unstaged sides of the commit view. +// datasource and deletage are PBGitIndexController. @interface PBFileChangesTableView : NSTableView { } diff --git a/PBGitBinary.h b/PBGitBinary.h index 3ec9ce020..e001a4431 100644 --- a/PBGitBinary.h +++ b/PBGitBinary.h @@ -11,6 +11,7 @@ #define MIN_GIT_VERSION "1.6.0" +// Returns information about the git binary used to execute commands. @interface PBGitBinary : NSObject { } From a7dc2bf16e48ddefe8f922b6f0e086ea96244532 Mon Sep 17 00:00:00 2001 From: David Catmull Date: Fri, 6 May 2011 07:37:36 -0600 Subject: [PATCH 2/3] correct typo --- PBSourceViewItem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBSourceViewItem.h b/PBSourceViewItem.h index 1547fd6c1..6d124511f 100644 --- a/PBSourceViewItem.h +++ b/PBSourceViewItem.h @@ -35,7 +35,7 @@ - (void)removeChild:(PBSourceViewItem *)child; // This adds the ref to the path, which should match the item's title, -// so "refs/heads/pu/pb/sidebar" would have the path [@"pu", @"pb", @"sidebare"] +// so "refs/heads/pu/pb/sidebar" would have the path [@"pu", @"pb", @"sidebar"] // to the 'local' branch thing - (void)addRev:(PBGitRevSpecifier *)revSpecifier toPath:(NSArray *)path; - (PBSourceViewItem *)findRev:(PBGitRevSpecifier *)rev; From 30cbf1a26af0f0e1f7fc502b2b9c2ddec6fc3651 Mon Sep 17 00:00:00 2001 From: David Catmull Date: Fri, 20 May 2011 18:02:07 -0600 Subject: [PATCH 3/3] more class comments --- PBGitHistoryController.h | 1 + PBGitWindowController.h | 1 + 2 files changed, 2 insertions(+) diff --git a/PBGitHistoryController.h b/PBGitHistoryController.h index f9cf4680b..201fbcf8e 100644 --- a/PBGitHistoryController.h +++ b/PBGitHistoryController.h @@ -22,6 +22,7 @@ @class PBHistorySearchController; +// Controls the split history view from PBGitHistoryView.xib @interface PBGitHistoryController : PBViewController /**/{ IBOutlet PBRefController *refController; IBOutlet NSSearchField *searchField; diff --git a/PBGitWindowController.h b/PBGitWindowController.h index c844bf68f..9d6ef83bd 100644 --- a/PBGitWindowController.h +++ b/PBGitWindowController.h @@ -14,6 +14,7 @@ @class PBViewController, PBGitSidebarController, PBGitCommitController; +// Controls the main repository window from RepositoryWindow.xib @interface PBGitWindowController : NSWindowController /**/{ __weak PBGitRepository* repository;