Clone in a terminal:
Commit 6e6045d
Johan Mattsson - 2015-08-24T13:37:55+00:00
6e6045de9d708c58241833a21720e7de28cd4364johan.mattsson.m@gmail.com

Remove build time stamp

Changed files (4)

Diff

diff --git a/libbirdfont/BirdFont.vala b/libbirdfont/BirdFont.valaindex 30849ab..412acb9 100644--- a/libbirdfont/BirdFont.vala+++ b/libbirdfont/BirdFont.vala@@ -188,10 +188,6 @@ public static string get_version () { 	return VERSION; } -public static string get_build_stamp () {-	return BUILD_TIMESTAMP;-}- public static int run_export (string[] arg) { 	string output_directory = "."; 	string file_name = "";@@ -203,7 +199,6 @@ public static int run_export (string[] arg) { 	MainWindow main_window;  	stdout.printf ("birdfont-export version %s\n", VERSION);-	stdout.printf ("built on %s\n", BUILD_TIMESTAMP);  	if (arg.length < 2) { 		print_export_help (arg);@@ -419,7 +414,6 @@ public class BirdFont { 		android = true; #else 		stdout.printf ("birdfont version %s\n", VERSION);-		stdout.printf ("built on %s\n", BUILD_TIMESTAMP); 		 		android = args.has_argument ("--android"); 		@@ -718,7 +712,6 @@ void init_logfile () { 	BirdFont.logging = true;  	printd (@"Program version: $(VERSION)\n");-	printd (@"built on $(BUILD_TIMESTAMP)\n"); }  internal static void log_warning (string? log_domain, LogLevelFlags log_levels, string message) {diff --git a/libbirdfont/Menu.vala b/libbirdfont/Menu.valaindex c146bc8..b62b8d8 100644--- a/libbirdfont/Menu.vala+++ b/libbirdfont/Menu.vala@@ -481,8 +481,7 @@ public class Menu : AbstractMenu {  		MenuItem version = add_menu_item (t_("Version"), "birdfont version"); 		version.action.connect (() => {-			MainWindow.show_message (t_("Version") + ": " + get_version () + "\n"-				+ get_build_stamp ());+			MainWindow.show_message (t_("Version") + ": " + get_version ()); 			show_menu = false; 		}); 		menu.items.add (version);diff --git a/libbirdfont/StrokeTool.vala b/libbirdfont/StrokeTool.valaindex 640ff18..edbc677 100644--- a/libbirdfont/StrokeTool.vala+++ b/libbirdfont/StrokeTool.vala@@ -443,13 +443,18 @@ public class StrokeTool : Tool { 	 * change when new points are added to a 2x2 path. 	 */ 	static void add_double_point_at_intersection (Path pp, EditPoint lep, EditPoint ep) {+		EditPoint before;+		EditPoint after;+		EditPoint hidden;+		double px, py;+		 		if (lep.get_right_handle ().type == PointType.DOUBLE_CURVE) { 			return_if_fail (lep.prev != null); 			return_if_fail (lep.next != null); 			-			EditPoint before = lep.get_prev ();-			EditPoint after = lep.get_next ();-			EditPoint hidden = new EditPoint (0, 0, PointType.QUADRATIC);+			before = lep.get_prev ();+			after = lep.get_next ();+			hidden = new EditPoint (0, 0, PointType.QUADRATIC); 			hidden.get_right_handle ().type = PointType.QUADRATIC; 			hidden.get_left_handle ().type = PointType.QUADRATIC; 			@@ -458,9 +463,9 @@ public class StrokeTool : Tool { 			before.type = PointType.QUADRATIC; 			after.type = PointType.QUADRATIC; 			-			double px = before.get_right_handle ().x +			px = before.get_right_handle ().x  				+ (after.get_left_handle ().x - before.get_right_handle ().x) / 2.0;-			double py = before.get_right_handle ().y +			py = before.get_right_handle ().y  				+ (after.get_left_handle ().y - before.get_right_handle ().y) / 2.0; 			hidden.independent_x = px; 			hidden.independent_y = py;diff --git a/scripts/configfile.py b/scripts/configfile.pyindex d13eebb..6bb87c0 100755--- a/scripts/configfile.py+++ b/scripts/configfile.py@@ -26,7 +26,6 @@ def write_config (prefix): 	print ("Writing Config.vala")  	vars = (('VERSION', VERSION),-		('BUILD_TIMESTAMP', strftime("%Y-%m-%d %H:%M:%S +0000", gmtime())), 		('PREFIX', prefix), 		) 

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112