The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Remove build time stamp

These changes was commited to the Birdfont repository Mon, 24 Aug 2015 13:37:55 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 24 Aug 2015 13:37:55 +0000 (15:37 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 24 Aug 2015 13:37:55 +0000 (15:37 +0200)
commit 6e6045de9d708c58241833a21720e7de28cd4364
tree e2d2ec6dfb31ea2549d58270991e3ef51ce4f85a
parent 7c1721678977d45155d01b4b4c9234cfc05fe614
Remove build time stamp

libbirdfont/BirdFont.vala
libbirdfont/Menu.vala
libbirdfont/StrokeTool.vala
scripts/configfile.py
--- a/libbirdfont/BirdFont.vala +++ b/libbirdfont/BirdFont.vala @@ -186,10 +186,6 @@ public static string get_version () { return VERSION; - } - - public static string get_build_stamp () { - return BUILD_TIMESTAMP; } public static int run_export (string[] arg) { @@ -203,7 +199,6 @@ 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 @@ 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 @@ 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) {
--- a/libbirdfont/Menu.vala +++ b/libbirdfont/Menu.vala @@ -481,8 +481,7 @@ 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);
--- a/libbirdfont/StrokeTool.vala +++ b/libbirdfont/StrokeTool.vala @@ -443,13 +443,18 @@ * 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 @@ 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;
--- a/scripts/configfile.py +++ b/scripts/configfile.py @@ -26,7 +26,6 @@ print ("Writing Config.vala") vars = (('VERSION', VERSION), - ('BUILD_TIMESTAMP', strftime("%Y-%m-%d %H:%M:%S +0000", gmtime())), ('PREFIX', prefix), )