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 { } diff --git a/PBGitHistoryController.h b/PBGitHistoryController.h index 36f0cfd84..568858c11 100644 --- a/PBGitHistoryController.h +++ b/PBGitHistoryController.h @@ -22,6 +22,7 @@ @class PBHistorySearchController; +// Controls the split history view from PBGitHistoryView.xib @interface PBGitHistoryController : PBViewController PROTOCOL_10_6(NSOutlineViewDelegate){ IBOutlet PBRefController *refController; IBOutlet NSSearchField *searchField; diff --git a/PBGitWindowController.h b/PBGitWindowController.h index 266422cca..22eb440fd 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 PROTOCOL_10_6(NSWindowDelegate){ __weak PBGitRepository* repository; diff --git a/PBSourceViewItem.h b/PBSourceViewItem.h index 1199802d1..ee6ada41a 100644 --- a/PBSourceViewItem.h +++ b/PBSourceViewItem.h @@ -36,7 +36,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;