Added help; signed.

Pascal J. Bourguignon [2014-04-03 03:15]
Added help; signed.
Filename
documentation/help.html
hangman.xcodeproj/project.pbxproj
hangman/en.lproj/Credits.rtf
hangman/hangman-Info.plist
hangman/hangman.entitlements
diff --git a/documentation/help.html b/documentation/help.html
new file mode 100644
index 0000000..7c0d466
--- /dev/null
+++ b/documentation/help.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- -*- coding:utf-8 -*- -->
+<HTML>
+
+<HEAD>
+  <TITLE>hangman help</TITLE>
+  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
+  <META NAME="author"             CONTENT="Pascal J. Bourguignon">
+  <META HTTP-EQUIV="Description"
+        NAME="description"        CONTENT="hangman user manual">
+  <META NAME="keywords"           CONTENT="hangman">
+</HEAD>
+
+<BODY>
+<h1>The hangman game</h1>
+
+<p>The computer chooses an random word, and displays the first and last letter, and a dot for each letter in between.</p>
+<p>The player must guess the word, by entering letters one after the other.</p>
+<p>When a letter entered is in the word, and has not already been entered, the positions where this letter appears in the word are revealed.</p>
+<p>Otherwise, the computer draws a stick on the hang man diagram.</p>
+<p>When the hang man diagram is completed, the player loses.</p>
+<p>When all the letters of the word are revealed, the player wins.</p>
+
+<h1>Mouse</h1>
+<p>You may select a letter by clicking on the corresponding button.</p>
+<p>You may start a new game by clicking on the "New Game" button.</p>
+
+<h1>Keyboard</h1>
+<p>You may select a letter by typing it on the keyboard.</p>
+<p>You may start a new game by typing the "RETURN" or "ENTER" key.</p>
+
+</BODY>
+</HTML>
diff --git a/hangman.xcodeproj/project.pbxproj b/hangman.xcodeproj/project.pbxproj
index fc5920e..685cae0 100644
--- a/hangman.xcodeproj/project.pbxproj
+++ b/hangman.xcodeproj/project.pbxproj
@@ -45,6 +45,7 @@
 /* End PBXContainerItemProxy section */

 /* Begin PBXFileReference section */
+		2A8A0B3D18ED031B00A86656 /* hangman.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = hangman.entitlements; sourceTree = "<group>"; };
 		2AFD049518ECDEE3006D41DA /* hangman.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = hangman.app; sourceTree = BUILT_PRODUCTS_DIR; };
 		2AFD049818ECDEE3006D41DA /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
 		2AFD049B18ECDEE3006D41DA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
@@ -144,6 +145,7 @@
 		2AFD049E18ECDEE3006D41DA /* hangman */ = {
 			isa = PBXGroup;
 			children = (
+				2A8A0B3D18ED031B00A86656 /* hangman.entitlements */,
 				2AFD04D618ECE55F006D41DA /* images */,
 				2AFD04E418ECE55F006D41DA /* sources */,
 				2AFD04AD18ECDEE4006D41DA /* MainMenu.xib */,
@@ -261,6 +263,14 @@
 				LastUpgradeCheck = 0500;
 				ORGANIZATIONNAME = informatimago;
 				TargetAttributes = {
+					2AFD049418ECDEE3006D41DA = {
+						DevelopmentTeam = UR2VZT8R5G;
+						SystemCapabilities = {
+							com.apple.Sandbox = {
+								enabled = 0;
+							};
+						};
+					};
 					2AFD04B518ECDEE5006D41DA = {
 						TestTargetID = 2AFD049418ECDEE3006D41DA;
 					};
@@ -457,6 +467,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				CODE_SIGN_IDENTITY = "Developer ID Application";
 				COMBINE_HIDPI_IMAGES = YES;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = "hangman/hangman-Prefix.pch";
@@ -470,6 +481,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				CODE_SIGN_IDENTITY = "Developer ID Application";
 				COMBINE_HIDPI_IMAGES = YES;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
 				GCC_PREFIX_HEADER = "hangman/hangman-Prefix.pch";
diff --git a/hangman/en.lproj/Credits.rtf b/hangman/en.lproj/Credits.rtf
index 46576ef..8560d47 100644
--- a/hangman/en.lproj/Credits.rtf
+++ b/hangman/en.lproj/Credits.rtf
@@ -1,29 +1,45 @@
-{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
+{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf190
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
 {\colortbl;\red255\green255\blue255;}
-\paperw9840\paperh8400
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
+\paperw11900\paperh16840\vieww9600\viewh8400\viewkind0
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720

 \f0\b\fs24 \cf0 Engineering:
 \b0 \
-	Some people\
+	Pascal Bourguignon\
 \

 \b Human Interface Design:
 \b0 \
-	Some other people\
+	Pascal Bourguignon\
 \

 \b Testing:
 \b0 \
-	Hopefully not nobody\
+	Pascal Bourguignon\
 \

 \b Documentation:
 \b0 \
-	Whoever\
+	Pascal Bourguignon\
 \

 \b With special thanks to:
 \b0 \
-	Mom\
-}
+	Jean-Marie Hullot (for Interface Builder).\
+\
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720
+
+\b \cf0 License:
+\b0 \
+	This software is distributed under the \
+	GNU Affero General Public License v. 3.0\
+	http://www.gnu.org/licenses/agpl-3.0.html\
+	The sources of this software are available \
+	from:\
+
+\f1 git clone \\\
+http://git.informatimago.com/public/hangman\
+
+\f0 	\
+}
\ No newline at end of file
diff --git a/hangman/hangman-Info.plist b/hangman/hangman-Info.plist
index 9b0538a..570a3bc 100644
--- a/hangman/hangman-Info.plist
+++ b/hangman/hangman-Info.plist
@@ -6,6 +6,10 @@
 	<string>en</string>
 	<key>CFBundleExecutable</key>
 	<string>${EXECUTABLE_NAME}</string>
+	<key>CFBundleHelpBookFolder</key>
+	<string>documentation</string>
+	<key>CFBundleHelpBookName</key>
+	<string>help</string>
 	<key>CFBundleIconFile</key>
 	<string></string>
 	<key>CFBundleIdentifier</key>
@@ -27,7 +31,7 @@
 	<key>LSMinimumSystemVersion</key>
 	<string>${MACOSX_DEPLOYMENT_TARGET}</string>
 	<key>NSHumanReadableCopyright</key>
-	<string>Copyright © 2014 informatimago. All rights reserved.</string>
+	<string>Copyright © 2014 Pascal Bourguignon. Distributed under the AGPL.</string>
 	<key>NSMainNibFile</key>
 	<string>MainMenu</string>
 	<key>NSPrincipalClass</key>
diff --git a/hangman/hangman.entitlements b/hangman/hangman.entitlements
new file mode 100644
index 0000000..0c67376
--- /dev/null
+++ b/hangman/hangman.entitlements
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict/>
+</plist>
ViewGit