Hello community, here is the log from the commit of package go-for-it for openSUSE:Factory checked in at 2015-12-29 13:00:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go-for-it (Old) and /work/SRC/openSUSE:Factory/.go-for-it.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go-for-it" Changes: -------- --- /work/SRC/openSUSE:Factory/go-for-it/go-for-it.changes 2015-11-08 11:25:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.go-for-it.new/go-for-it.changes 2015-12-29 13:00:17.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 29 05:32:40 UTC 2015 - [email protected] + +- Update to 1.4.4: + * Various bugfixes including windows line break handling. + +------------------------------------------------------------------- Old: ---- go-for-it_1.4.3-0~113~ubuntu15.10.1.tar.xz New: ---- go-for-it_1.4.4-0~123~ubuntu15.10.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go-for-it.spec ++++++ --- /var/tmp/diff_new_pack.2U1mgQ/_old 2015-12-29 13:00:18.000000000 +0100 +++ /var/tmp/diff_new_pack.2U1mgQ/_new 2015-12-29 13:00:18.000000000 +0100 @@ -16,9 +16,9 @@ # -%define _version 1.4.3-0~113~ubuntu15.10.1 +%define _version 1.4.4-0~123~ubuntu15.10.1 Name: go-for-it -Version: 1.4.3 +Version: 1.4.4 Release: 0 Summary: A stylish to-do list with built-in productivity timer License: GPL-3.0 ++++++ go-for-it_1.4.3-0~113~ubuntu15.10.1.tar.xz -> go-for-it_1.4.4-0~123~ubuntu15.10.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/AUTHORS new/go-for-it-1.4.4/AUTHORS --- old/go-for-it-1.4.3/AUTHORS 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/AUTHORS 2015-12-12 16:11:16.000000000 +0100 @@ -2,3 +2,4 @@ Micah Ilbery (TraumaD91) - Icon Design Akshay Shekher - Code Contributor +Jonathan Moerman - Code Contributor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/CMakeLists.txt new/go-for-it-1.4.4/CMakeLists.txt --- old/go-for-it-1.4.3/CMakeLists.txt 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/CMakeLists.txt 2015-12-12 16:11:16.000000000 +0100 @@ -9,7 +9,7 @@ set (PKGDATADIR "${DATADIR}/go-for-it") set (EXEC_NAME "go-for-it") set (RELEASE_NAME "A stylish to-do list with built-in productivity timer.") -set (VERSION "1.4.3") +set (VERSION "1.4.4") set (VERSION_INFO "initial release") # find pkgconfig to make sure dependencies are installed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/README.md new/go-for-it-1.4.4/README.md --- old/go-for-it-1.4.3/README.md 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/README.md 2015-12-12 16:11:16.000000000 +0100 @@ -12,7 +12,8 @@ ## Storage and Synchronisation -To-do lists are stored in the [Todo.txt](http://todotxt.com/) format. This simplifies synchronization with mobile devices and makes it possible to edit tasks using other Todo.txt front-ends. +To-do lists are stored in the [Todo.txt](http://todotxt.com/) format. This simplifies synchronization with mobile devices and makes it possible to edit tasks using other Todo.txt front-ends (e.g. the official apps for [Android](https://play.google.com/store/apps/details?id=com.todotxt.todotxttouch&hl=en) or [iOS](https://itunes.apple.com/us/app/todo.txt-touch/id491342186?ls=1&mt=8) or the alternative Android client [Simpletask](https://play.google.com/store/apps/details?id=nl.mpcjanssen.todotxtholo&hl=en)). +A comprehensive tutorial about setting up *Go For It!* with *Simpletask* can be found [here](http://itsfoss.com/go-for-it-to-do-app-in-linux/). If you already use Todo.txt, **beware** of the fact, that *Go For It!* automatically archives completed tasks to the done list! @@ -22,6 +23,10 @@ sudo add-apt-repository ppa:mank319/go-for-it && sudo apt-get update sudo apt-get install go-for-it + +Arch Linux: + + yaourt -S go-for-it-git The Windows version is available for download [here](http://manuel-kehl.de/projects/go-for-it/download-windows-version). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/debian/bzr-builder.manifest new/go-for-it-1.4.4/debian/bzr-builder.manifest --- old/go-for-it-1.4.3/debian/bzr-builder.manifest 2015-10-08 18:50:05.000000000 +0200 +++ new/go-for-it-1.4.4/debian/bzr-builder.manifest 2015-12-12 16:11:17.000000000 +0100 @@ -1,3 +1,3 @@ -# bzr-builder format 0.3 deb-version {debupstream}-0~113 -lp:~mank319/+junk/go-for-it revid:[email protected] -merge packaging lp:~mank319/+junk/go-for-it-packaging revid:[email protected] +# bzr-builder format 0.3 deb-version {debupstream}-0~123 +lp:~mank319/+junk/go-for-it revid:[email protected] +merge packaging lp:~mank319/+junk/go-for-it-packaging revid:[email protected] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/debian/changelog new/go-for-it-1.4.4/debian/changelog --- old/go-for-it-1.4.3/debian/changelog 2015-10-08 18:50:05.000000000 +0200 +++ new/go-for-it-1.4.4/debian/changelog 2015-12-12 16:11:17.000000000 +0100 @@ -1,12 +1,11 @@ -go-for-it (1.4.3-0~113~ubuntu15.10.1) wily; urgency=low +go-for-it (1.4.4-0~123~ubuntu15.10.1) wily; urgency=low * Auto build. - -- Manuel Kehl <[email protected]> Thu, 08 Oct 2015 16:50:05 +0000 + -- Manuel Kehl <[email protected]> Sat, 12 Dec 2015 15:11:17 +0000 -go-for-it (1.4.3) trusty; urgency=low +go-for-it (1.4.4) trusty; urgency=low - * CSS loading has been fixed for older Gtk Versions - * The about dialog is now closable. + * Various bugfixes including windows line break handling. - -- Manuel Kehl <[email protected]> Thu, 16 Apr 2015 21:07:00 +0200 + -- Manuel Kehl <[email protected]> Thu, 12 Dec 2015 14:42:00 +0000 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/src/Main.vala new/go-for-it-1.4.4/src/Main.vala --- old/go-for-it-1.4.3/src/Main.vala 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/src/Main.vala 2015-12-12 16:11:16.000000000 +0100 @@ -65,7 +65,7 @@ Environment.set_variable ("LIBOVERLAY_SCROLLBAR", "0", true); } - if (desktop == "ubuntu" || desktop == "kde") { + if (desktop == "ubuntu" || desktop == "kde" || desktop == "plasma") { use_header_bar = false; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/src/TaskManager.vala new/go-for-it-1.4.4/src/TaskManager.vala --- old/go-for-it-1.4.3/src/TaskManager.vala 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/src/TaskManager.vala 2015-12-12 16:11:16.000000000 +0100 @@ -191,6 +191,20 @@ string line; while ((line = stream_in.read_line (null)) != null) { + // Removing carriage return at the end of a task and + // skipping empty lines + int length = line.length; + if (length > 0) { + if (line.get_char (length - 1) == 13) { + if (length == 1) { + continue; + } + line = line.slice (0, length - 1); + } + } else { + continue; + } + // Todo.txt notation: completed tasks start with an "x " bool done = line.has_prefix ("x "); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/src/Utils.vala new/go-for-it-1.4.4/src/Utils.vala --- old/go-for-it-1.4.3/src/Utils.vala 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/src/Utils.vala 2015-12-12 16:11:16.000000000 +0100 @@ -24,7 +24,7 @@ const string APP_NAME = "Go For It!"; const string APP_SYSTEM_NAME = "go-for-it"; const string APP_ID = "de.manuel-kehl.go-for-it"; - const string APP_VERSION = "1.4.3"; + const string APP_VERSION = "1.4.4"; const string FILE_CONF = "go-for-it.conf"; const string PROJECT_WEBSITE = "http://manuel-kehl.de/projects/go-for-it/"; const string PROJECT_REPO = "https://github.com/mank319/Go-For-It"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/src/view/MainWindow.vala new/go-for-it-1.4.4/src/view/MainWindow.vala --- old/go-for-it-1.4.3/src/view/MainWindow.vala 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/src/view/MainWindow.vala 2015-12-12 16:11:16.000000000 +0100 @@ -124,7 +124,10 @@ /* Action and Signal Handling */ todo_list.add_new_task.connect (task_manager.add_new_task); var todo_selection = todo_list.task_view.get_selection (); - todo_selection.select_path (task_timer.active_task.get_path ()); + var active_task = task_timer.active_task; + if (active_task != null) { + todo_selection.select_path (active_task.get_path ()); + } /* * If either the selection or the data itself changes, it is * necessary to check if a different task is to be displayed @@ -464,7 +467,7 @@ Gtk.StyleContext.add_provider_for_screen( screen,css_provider, Gtk.STYLE_PROVIDER_PRIORITY_USER); } catch (Error e) { - error ("Cannot load CSS stylesheet: %s", e.message); + warning ("Cannot load CSS stylesheet: %s", e.message); } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/src/view/SettingsDialog.vala new/go-for-it-1.4.4/src/view/SettingsDialog.vala --- old/go-for-it-1.4.3/src/view/SettingsDialog.vala 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/src/view/SettingsDialog.vala 2015-12-12 16:11:16.000000000 +0100 @@ -107,9 +107,10 @@ // This function allows for advanced settings in the future private void setup_advanced_settings_widgets () { /* Instantiation */ - task_lbl = new Gtk.Label (_("Task Duration in Minutes") + ":"); - break_lbl = new Gtk.Label (_("Break Duration in Minutes") + ":"); - reminder_lbl = new Gtk.Label (_("Reminder Time in Seconds (0 to disable)") +":"); + task_lbl = new Gtk.Label (_("Task duration (minutes)") + ":"); + break_lbl = new Gtk.Label (_("Break duration (minutes)") + ":"); + reminder_lbl = new Gtk.Label (_("Reminder before task ends (seconds)") +":"); + // No more than one day: 60 * 24 -1 = 1439 task_spin = new Gtk.SpinButton.with_range (1, 1439, 1); break_spin = new Gtk.SpinButton.with_range (1, 1439, 1); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/go-for-it-1.4.3/src/view/TimerView.vala new/go-for-it-1.4.4/src/view/TimerView.vala --- old/go-for-it-1.4.3/src/view/TimerView.vala 2015-10-08 18:50:03.000000000 +0200 +++ new/go-for-it-1.4.4/src/view/TimerView.vala 2015-12-12 16:11:16.000000000 +0100 @@ -96,15 +96,18 @@ if (running) { run_btn.label = _("Pau_se"); run_btn.get_style_context ().remove_class ("suggested-action"); - run_btn.clicked.connect ((e) => { - timer.stop (); - }); } else { run_btn.label = _("_Start"); run_btn.get_style_context ().add_class ("suggested-action"); - run_btn.clicked.connect ((e) => { - timer.start (); - }); + } + } + + private void on_run_btn_clicked () { + if (timer.running) { + timer.stop (); + } + else { + timer.start (); } } @@ -125,7 +128,6 @@ task_description_lbl = new Gtk.Label (_("No task has been selected")); /* Configuration */ - progress.hexpand = true; task_status_lbl.margin_top = 30; task_status_lbl.get_style_context ().add_class ("task_status"); task_description_lbl.margin = 20; @@ -234,6 +236,7 @@ done_btn.clicked.connect ((e) => { timer.set_active_task_done(); }); + run_btn.clicked.connect (on_run_btn_clicked); /* Add Widgets */ action_timer_grid.add (skip_btn); @@ -246,6 +249,7 @@ private void setup_progress_bar () { progress = new Gtk.ProgressBar (); + progress.hexpand = true; this.add (progress); }
