Commits

Jens Alfke committed 0567681

* Added some Help menu commands to open useful Mercurial web pages.
* Bumped version to 0.5, added version string for Finder.
* Added more contributors to About box.

Comments (0)

Files changed (6)

Binary file modified.

-{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf430
-{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
+{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
+{\fonttbl\f0\fnil\fcharset238 LucidaGrande;}
 {\colortbl;\red255\green255\blue255;\red102\green102\blue102;}
-{\info
-{\author Jens Alfke}}\margl1440\margr1440\vieww9600\viewh12000\viewkind0
 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural
 
 \f0\fs22 \cf0 by 
 \b0 \
 \cf2 with contributions from:\cf0 \
 
-\b Benjamin\'a0Bock \'97 Peter\'a0Hosey \'97 Ryan\'a0Wilcox
+\b Benjamin\'a0Bock \'97 Philippe\'a0Casgrain \'97 Peter\'a0Hosey \'97 Justin\'a0Morris \'97 Nicholas\'a0Riley \'97 Daniel\'a0Tull \'97 Dominik\'a0Wagner \'97 Ryan\'a0Wilcox
 \b0  \'97 
 \b aias2
 \b0 \
Add a comment to this file

English.lproj/InfoPlist.strings

Binary file modified.

English.lproj/MainMenu.xib

 <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
 	<data>
 		<int key="IBDocument.SystemTarget">1050</int>
-		<string key="IBDocument.SystemVersion">9G55</string>
+		<string key="IBDocument.SystemVersion">9J61</string>
 		<string key="IBDocument.InterfaceBuilderVersion">677</string>
-		<string key="IBDocument.AppKitVersion">949.43</string>
+		<string key="IBDocument.AppKitVersion">949.46</string>
 		<string key="IBDocument.HIToolboxVersion">353.00</string>
 		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
 			<bool key="EncodedWithXMLCoder">YES</bool>
-			<integer value="505"/>
-			<integer value="421"/>
-			<integer value="57"/>
+			<integer value="106"/>
 		</object>
 		<object class="NSArray" key="IBDocument.PluginDependencies">
 			<bool key="EncodedWithXMLCoder">YES</bool>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
 								</object>
+								<object class="NSMenuItem" id="960346654">
+									<reference key="NSMenu" ref="374024848"/>
+									<bool key="NSIsDisabled">YES</bool>
+									<bool key="NSIsSeparator">YES</bool>
+									<string key="NSTitle"/>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+								</object>
+								<object class="NSMenuItem" id="218338294">
+									<reference key="NSMenu" ref="374024848"/>
+									<string key="NSTitle">Mercurial Home Page</string>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+								</object>
+								<object class="NSMenuItem" id="969317118">
+									<reference key="NSMenu" ref="374024848"/>
+									<string key="NSTitle">Mercurial FAQ</string>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+									<int key="NSTag">3</int>
+								</object>
+								<object class="NSMenuItem" id="329801508">
+									<reference key="NSMenu" ref="374024848"/>
+									<string key="NSTitle">Understanding Mercurial</string>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+									<int key="NSTag">1</int>
+								</object>
+								<object class="NSMenuItem" id="230678590">
+									<reference key="NSMenu" ref="374024848"/>
+									<string key="NSTitle">Mercurial: The Definitive Guide</string>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+									<int key="NSTag">2</int>
+								</object>
+								<object class="NSMenuItem" id="794905158">
+									<reference key="NSMenu" ref="374024848"/>
+									<bool key="NSIsDisabled">YES</bool>
+									<bool key="NSIsSeparator">YES</bool>
+									<string key="NSTitle"/>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+								</object>
+								<object class="NSMenuItem" id="144478632">
+									<reference key="NSMenu" ref="374024848"/>
+									<string key="NSTitle">Bitbucket.org Help</string>
+									<string key="NSKeyEquiv"/>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+									<int key="NSTag">4</int>
+								</object>
 							</object>
 						</object>
 					</object>
 				<string key="NSWindowContentMaxSize">{1024, 124}</string>
 				<string key="NSWindowContentMinSize">{484, 124}</string>
 				<object class="NSView" key="NSWindowView" id="704552170">
-					<reference key="NSNextResponder"/>
+					<nil key="NSNextResponder"/>
 					<int key="NSvFlags">256</int>
 					<object class="NSMutableArray" key="NSSubviews">
 						<bool key="EncodedWithXMLCoder">YES</bool>
 						</object>
 					</object>
 					<string key="NSFrameSize">{484, 124}</string>
-					<reference key="NSSuperview"/>
 				</object>
 				<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
 				<string key="NSMinSize">{484, 146}</string>
 				<nil key="NSViewClass"/>
 				<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
 				<object class="NSView" key="NSWindowView" id="686502740">
-					<reference key="NSNextResponder"/>
+					<nil key="NSNextResponder"/>
 					<int key="NSvFlags">256</int>
 					<object class="NSMutableArray" key="NSSubviews">
 						<bool key="EncodedWithXMLCoder">YES</bool>
 						</object>
 					</object>
 					<string key="NSFrameSize">{404, 57}</string>
-					<reference key="NSSuperview"/>
 				</object>
 				<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
 				<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
 					</object>
 					<int key="connectionID">517</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">openHelpWebPage:</string>
+						<reference key="source" ref="152602700"/>
+						<reference key="destination" ref="218338294"/>
+					</object>
+					<int key="connectionID">520</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">openHelpWebPage:</string>
+						<reference key="source" ref="152602700"/>
+						<reference key="destination" ref="969317118"/>
+					</object>
+					<int key="connectionID">524</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">openHelpWebPage:</string>
+						<reference key="source" ref="152602700"/>
+						<reference key="destination" ref="329801508"/>
+					</object>
+					<int key="connectionID">525</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">openHelpWebPage:</string>
+						<reference key="source" ref="152602700"/>
+						<reference key="destination" ref="230678590"/>
+					</object>
+					<int key="connectionID">526</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">openHelpWebPage:</string>
+						<reference key="source" ref="152602700"/>
+						<reference key="destination" ref="144478632"/>
+					</object>
+					<int key="connectionID">529</int>
+				</object>
 			</object>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<object class="NSArray" key="orderedObjects">
 						<object class="NSMutableArray" key="children">
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<reference ref="238773614"/>
+							<reference ref="960346654"/>
+							<reference ref="218338294"/>
+							<reference ref="329801508"/>
+							<reference ref="230678590"/>
+							<reference ref="969317118"/>
+							<reference ref="794905158"/>
+							<reference ref="144478632"/>
 						</object>
 						<reference key="parent" ref="391199113"/>
 						<string key="objectName">2</string>
 						<reference key="object" ref="122525278"/>
 						<reference key="parent" ref="651607043"/>
 					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">518</int>
+						<reference key="object" ref="960346654"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">519</int>
+						<reference key="object" ref="218338294"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">521</int>
+						<reference key="object" ref="329801508"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">522</int>
+						<reference key="object" ref="230678590"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">523</int>
+						<reference key="object" ref="969317118"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">527</int>
+						<reference key="object" ref="794905158"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">528</int>
+						<reference key="object" ref="144478632"/>
+						<reference key="parent" ref="374024848"/>
+					</object>
 				</object>
 			</object>
 			<object class="NSMutableDictionary" key="flattenedProperties">
 					<string>512.IBPluginDependency</string>
 					<string>513.IBPluginDependency</string>
 					<string>514.IBPluginDependency</string>
+					<string>518.IBPluginDependency</string>
+					<string>519.IBPluginDependency</string>
+					<string>521.IBPluginDependency</string>
+					<string>522.IBPluginDependency</string>
+					<string>523.IBPluginDependency</string>
+					<string>527.IBPluginDependency</string>
+					<string>528.IBPluginDependency</string>
 					<string>56.IBPluginDependency</string>
 					<string>56.ImportedFromIB2</string>
 					<string>57.IBEditorWindowLastContentRect</string>
 					<string>com.apple.InterfaceBuilderKit</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1" id="9"/>
-					<string>{{442, 791}, {152, 23}}</string>
+					<string>{{442, 671}, {284, 143}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
 					<string>{{468, 813}, {183, 23}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
 					<string>{{89, 631}, {186, 183}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">517</int>
+			<int key="maxID">529</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
 							<string>beginClonePanelDstFilePicker:</string>
 							<string>beginClonePanelSrcFilePicker:</string>
 							<string>dismissClonePanel:</string>
+							<string>openHelpWebPage:</string>
 							<string>runClonePanel:</string>
 							<string>runNewPanel:</string>
 							<string>runOpenPanel:</string>
 							<string>id</string>
 							<string>id</string>
 							<string>id</string>
+							<string>id</string>
 						</object>
 					</object>
 					<object class="NSMutableDictionary" key="outlets">
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
+					<string key="className">NSWindow</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">../MYUtilities/MYWindowUtils.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">RepoController</string>
 					<string key="superclassName">NSWindowController</string>
 					<object class="NSMutableDictionary" key="actions">
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<string>_commitMessageField</string>
 							<string>_commitSheet</string>
+							<string>_hideShowUnmodifiedToolbarItem</string>
 							<string>_infoSplitter</string>
 							<string>_infoView</string>
 							<string>_outline</string>
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<string>NSTextView</string>
 							<string>NSPanel</string>
+							<string>NSToolbarItem</string>
 							<string>NSSplitView</string>
 							<string>NSTextView</string>
 							<string>NSOutlineView</string>
 							<string>NSButton</string>
 							<string>NSTextField</string>
 							<string>NSPanel</string>
-							<string>NSTextField</string>
+							<string>NSComboBox</string>
 							<string>NSTableView</string>
 							<string>NSArrayController</string>
 							<string>NSSplitView</string>

Resources/Info.plist

 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>0.4</string>
+	<string>0.5</string>
+	<key>CFBundleGetInfoString</key>
+	<string>0.5; © Jens Alfke, 2008-2009</string>
 	<key>NSMainNibFile</key>
 	<string>MainMenu</string>
 	<key>NSPrincipalClass</key>

Source/MercurialApp.h

 - (IBAction) beginClonePanelSrcFilePicker: (id)sender;
 - (IBAction) beginClonePanelDstFilePicker: (id)sender;
 - (IBAction) dismissClonePanel: (id)sender;
+- (IBAction) openHelpWebPage: (id)sender;
 
 - (IBAction) showProjectsWindow: (id)sender;
 

Source/MercurialApp.m

     [[ProjectsController sharedInstance] showWindow: sender];
 }
 
+- (IBAction) openHelpWebPage: (id)sender
+{
+    NSString* kPages[] = {
+        @"http://www.selenic.com/mercurial/wiki/",
+        @"http://www.selenic.com/mercurial/wiki/UnderstandingMercurial",
+        @"http://hgbook.red-bean.com/read/",
+        @"http://www.selenic.com/mercurial/wiki/FAQ",
+        @"http://bitbucket.org/help/Home"
+    };
+    NSURL *url = [NSURL URLWithString: kPages[[sender tag]]];
+    if (![[NSWorkspace sharedWorkspace] openURL: url])
+        NSBeep();
+}
+
 #pragma mark -
 #pragma mark PREFERENCES:
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.