Commit 6e6045d
Remove build time stamp
Changed files (4)
modifiedlibbirdfont/BirdFont.valamodifiedlibbirdfont/Menu.valamodifiedlibbirdfont/StrokeTool.valamodifiedscripts/configfile.py
Diff
@@ -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) {@@ -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);@@ -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;@@ -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), )