Hello community, here is the log from the commit of package yishu for openSUSE:Factory checked in at 2020-02-03 11:15:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yishu (Old) and /work/SRC/openSUSE:Factory/.yishu.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yishu" Mon Feb 3 11:15:00 2020 rev:8 rq:769349 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/yishu/yishu.changes 2019-08-07 14:00:57.128853169 +0200 +++ /work/SRC/openSUSE:Factory/.yishu.new.26092/yishu.changes 2020-02-03 11:15:05.365898643 +0100 @@ -1,0 +2,11 @@ +Sun Feb 2 10:35:48 UTC 2020 - Alexei Podvalsky <avvi...@yandex.by> + +- Update to 1.2.1: + * Merge pull request #47 from RavetcoFX/master + * Add support for future dates + * Merge pull request #46 from meisenzahl/master + * Add Travis CI file for automated tests + * Merge pull request #45 from mirkobrombin/patch-1 + * Merge pull request #44 from Vistaus/master + +------------------------------------------------------------------- Old: ---- yishu-1.2.0.tar.gz New: ---- yishu-1.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yishu.spec ++++++ --- /var/tmp/diff_new_pack.KfWu2Q/_old 2020-02-03 11:15:07.485899714 +0100 +++ /var/tmp/diff_new_pack.KfWu2Q/_new 2020-02-03 11:15:07.505899724 +0100 @@ -17,7 +17,7 @@ Name: yishu -Version: 1.2.0 +Version: 1.2.1 Release: 0 Summary: A bespoke and simple Todo.txt client License: GPL-3.0-or-later ++++++ yishu-1.2.0.tar.gz -> yishu-1.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/.travis.yml new/yishu-1.2.1/.travis.yml --- old/yishu-1.2.0/.travis.yml 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/.travis.yml 2020-01-17 21:58:10.000000000 +0100 @@ -3,7 +3,7 @@ language: node_js node_js: - - lts/* + - 10/* sudo: required @@ -17,18 +17,8 @@ packages: - libstdc++-5-dev -cache: - directories: - - /tmp/liftoff - -matrix: - include: - - env: DIST=loki - - env: DIST=juno - install: - - npm install @elementaryos/houston + - npm i -g @elementaryos/houston script: - houston ci - --distribution $DIST \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/data/com.github.lainsce.yishu.appdata.xml.in new/yishu-1.2.1/data/com.github.lainsce.yishu.appdata.xml.in --- old/yishu-1.2.0/data/com.github.lainsce.yishu.appdata.xml.in 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/data/com.github.lainsce.yishu.appdata.xml.in 2020-01-17 21:58:10.000000000 +0100 @@ -53,6 +53,15 @@ </screenshot> </screenshots> <releases> + <release version="1.1.3" date="2020-01-24"> + <description> + <p>Release: Wow Factor</p> + <ul> + <li>Added: Add Task button as a Floating Action Button</li> + <li>Small design fixes</li> + </ul> + </description> + </release> <release version="1.1.2" date="2019-07-30"> <description> <p>Release: Redesign and Fixes</p> Binary files old/yishu-1.2.0/data/shot.png and new/yishu-1.2.1/data/shot.png differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/data/stylesheet.css new/yishu-1.2.1/data/stylesheet.css --- old/yishu-1.2.0/data/stylesheet.css 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/data/stylesheet.css 2020-01-17 21:58:10.000000000 +0100 @@ -21,11 +21,11 @@ .yi-searchbar { background-image: none; background-color: shade(@bg_color,0.90); - border: 1px solid @bg_color; + border: 1px solid shade(@bg_color,0.70); border-radius: 30px; box-shadow: none; color: @fg_color; - padding: 6px; + padding: 8px; } .yi-titlebar image { @@ -35,7 +35,21 @@ } .yi-button { - border-radius: 35px; + background-color: shade(@bg_color,0.90); + border-radius: 30px; + padding: 5px; +} + +.yi-addbutton { + background-color: shade(@colorAccent,0.90); + border-radius: 50%; + border: 1px solid transparent; + padding: 15px; + box-shadow: 0 5px 5px 5px rgba(@fg_color,0.67); +} + +.yi-addbutton image { + color: #FAFAFA; } treeview header button:last-child, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/meson.build new/yishu-1.2.1/meson.build --- old/yishu-1.2.0/meson.build 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/meson.build 2020-01-17 21:58:10.000000000 +0100 @@ -1,6 +1,6 @@ # Name our project project('com.github.lainsce.yishu', ['vala', 'c'], - version: '1.1.0' + version: '1.1.3' ) # Import main lib files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/po/it.po new/yishu-1.2.1/po/it.po --- old/yishu-1.2.0/po/it.po 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/po/it.po 2020-01-17 21:58:10.000000000 +0100 @@ -8,8 +8,8 @@ "Project-Id-Version: com.github.lainsce.yishu\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-03-30 17:17+0100\n" -"PO-Revision-Date: 2019-03-30 16:53+0100\n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2019-09-02 17:24+0100\n" +"Last-Translator: Mirko Brombin <s...@mirko.pm>\n" "Language-Team: none\n" "Language: it\n" "MIME-Version: 1.0\n" @@ -19,172 +19,176 @@ #: src/Application.vala:74 msgid "Search task" -msgstr "" +msgstr "Cerca attività" #: src/Application.vala:75 msgid "Type Task Name" -msgstr "" +msgstr "Inserisci il nome attività" #: src/Application.vala:153 msgid "Edit task" -msgstr "" +msgstr "Modifica attività" #: src/Application.vala:154 msgid "Delete task" -msgstr "" +msgstr "Elimina attività" #: src/Application.vala:155 msgid "Toggle done" -msgstr "" +msgstr "Cambia stato" #: src/Application.vala:159 src/TaskDialog.vala:44 src/MainWindow.vala:197 msgid "Priority" -msgstr "" +msgstr "Priorità" #: src/Application.vala:162 msgid "None" -msgstr "" +msgstr "Nulla" #: src/Application.vala:383 msgid "The task has been deleted" -msgstr "" +msgstr "L'attività è stata eliminata" #: src/Application.vala:385 msgid "_Undo" -msgstr "" +msgstr "_Annulla" #: src/Application.vala:448 msgid "The todo.txt file has been modified and been re-read" -msgstr "" +msgstr "Il file todo.txt è stato modificato e ricaricato" #: src/Task.vala:237 msgid "Today" -msgstr "" +msgstr "Oggi" #: src/Task.vala:240 msgid "Yesterday" -msgstr "" +msgstr "Ieri" #: src/Task.vala:243 msgid "days ago" -msgstr "" +msgstr "giorni fa" #: src/TaskDialog.vala:33 msgid "New Task" -msgstr "" +msgstr "Nuova Attività" #: src/TaskDialog.vala:43 src/MainWindow.vala:202 msgid "Task" -msgstr "" +msgstr "Attività" #: src/TaskDialog.vala:88 msgid "" "Adding + to a word will categorize the task.\n" "Adding @ to a word will specify the task's place." msgstr "" +"Aggiungendo + ad una parola, categorizza una attività.\n" +"Aggiunendo @ a una parola, specificherà la posizione di una attività." #: src/TaskDialog.vala:90 msgid "Cancel" -msgstr "" +msgstr "Annulla" #: src/TaskDialog.vala:91 msgid "OK" -msgstr "" +msgstr "OK" #: src/MainWindow.vala:46 msgid "Yishu" -msgstr "" +msgstr "Yishu" #: src/MainWindow.vala:91 msgid "No Todo.txt File Open" -msgstr "" +msgstr "Nessun file Todo.txt aperto" #: src/MainWindow.vala:91 msgid "Open a todo.txt file to start adding tasks" -msgstr "" +msgstr "Apri un file todo.txt per iniziare ad aggiungere attività" #: src/MainWindow.vala:92 msgid "Add task" -msgstr "" +msgstr "Aggiungi Attività" #: src/MainWindow.vala:92 msgid "Create a new todo.txt file with this task in your Home folder" -msgstr "" +msgstr "Crea un nuovo file todo.txt con questa attività nella tua cartella Home" #: src/MainWindow.vala:93 msgid "What is a todo.txt file?" -msgstr "" +msgstr "Che cos'è un file todo.txt?" #: src/MainWindow.vala:93 msgid "Learn more about todo.txt files" -msgstr "" +msgstr "Scopri di più sui file todo.txt" #: src/MainWindow.vala:94 msgid "No Todo.txt File Found" -msgstr "" +msgstr "nessun file Todo.txt trovato" #: src/MainWindow.vala:94 msgid "Add tasks to start this todo.txt file" -msgstr "" +msgstr "Aggiungi attività all'inizio di questo file todo.txt" #: src/MainWindow.vala:105 msgid "Add task…" -msgstr "" +msgstr "Aggiungi attività…" #: src/MainWindow.vala:109 src/Preferences.vala:28 msgid "Preferences" -msgstr "" +msgstr "Preferenze" #: src/MainWindow.vala:125 msgid "Settings" -msgstr "" +msgstr "Impostazioni" #: src/MainWindow.vala:209 msgid "Done" -msgstr "" +msgstr "Fatto" #: src/Preferences.vala:38 msgid "Todo.txt Preferences" -msgstr "" +msgstr "Preferenze Todo.txt" #: src/Preferences.vala:39 msgid "Default Location:" -msgstr "" +msgstr "Posizione predefinita:" #: src/Preferences.vala:42 msgid "Home Folder" -msgstr "" +msgstr "Cartella Home" #: src/Preferences.vala:43 msgid "Dropbox Folder" -msgstr "" +msgstr "Cartella Dropbox" #: src/Preferences.vala:44 msgid "Nextcloud Folder" -msgstr "" +msgstr "Cartella Nextcloud" #: src/Preferences.vala:45 msgid "ownCloud Folder" -msgstr "" +msgstr "Cartella ownCloud" #: src/Preferences.vala:46 msgid "Other Clients Folder" -msgstr "" +msgstr "Cartella per altri Client" #: src/Preferences.vala:103 msgid "Custom Location:" -msgstr "" +msgstr "Posizione personalizzata" #: src/Preferences.vala:105 msgid "Open your file" -msgstr "" +msgstr "Apri il tuo file" #: src/Preferences.vala:111 msgid "" "Enabling custom locations will have you save your file\n" "in other places not recognized by other clients." msgstr "" +"Abilitando i percorsi personalizzati, i tuoi client\n" +"potrebbero non trovare i tuoi file." #: src/Preferences.vala:160 msgid "Close" -msgstr "" +msgstr "Chiudi" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/po/nl.po new/yishu-1.2.1/po/nl.po --- old/yishu-1.2.0/po/nl.po 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/po/nl.po 2020-01-17 21:58:10.000000000 +0100 @@ -8,7 +8,7 @@ "Project-Id-Version: com.github.lainsce.yishu\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-03-30 17:17+0100\n" -"PO-Revision-Date: 2019-03-30 16:53+0100\n" +"PO-Revision-Date: 2019-07-28 17:27+0200\n" "Last-Translator: Heimen Stoffels <vistau...@outlook.com>\n" "Language-Team: none\n" "Language: nl\n" @@ -16,14 +16,15 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.2.3\n" #: src/Application.vala:74 msgid "Search task" -msgstr "" +msgstr "Taak zoeken" #: src/Application.vala:75 msgid "Type Task Name" -msgstr "" +msgstr "Typ een naam" #: src/Application.vala:153 msgid "Edit task" @@ -51,7 +52,7 @@ #: src/Application.vala:385 msgid "_Undo" -msgstr "" +msgstr "_Ongedaan maken" #: src/Application.vala:448 msgid "The todo.txt file has been modified and been re-read" @@ -82,6 +83,8 @@ "Adding + to a word will categorize the task.\n" "Adding @ to a word will specify the task's place." msgstr "" +"Voeg + toe aan een taak om deze te categoriseren.\n" +"Voeg @ toe aan een woord om de locatie van de taak op te geven." #: src/TaskDialog.vala:90 msgid "Cancel" @@ -89,43 +92,43 @@ #: src/TaskDialog.vala:91 msgid "OK" -msgstr "" +msgstr "Oké" #: src/MainWindow.vala:46 msgid "Yishu" -msgstr "" +msgstr "Yishu" #: src/MainWindow.vala:91 msgid "No Todo.txt File Open" -msgstr "" +msgstr "Geen Todo.txt-bestand geopend" #: src/MainWindow.vala:91 msgid "Open a todo.txt file to start adding tasks" -msgstr "" +msgstr "Open een Todo.txt-bestand om taken toe te voegen" #: src/MainWindow.vala:92 msgid "Add task" -msgstr "Taak bewerken" +msgstr "Taak toevoegen" #: src/MainWindow.vala:92 msgid "Create a new todo.txt file with this task in your Home folder" -msgstr "" +msgstr "Creëer een nieuw Todo.txt-bestand met deze taak in je Persoonlijke map" #: src/MainWindow.vala:93 msgid "What is a todo.txt file?" -msgstr "" +msgstr "Wat is een Todo.txt-bestand?" #: src/MainWindow.vala:93 msgid "Learn more about todo.txt files" -msgstr "" +msgstr "Meer informatie over Todo.txt-bestanden" #: src/MainWindow.vala:94 msgid "No Todo.txt File Found" -msgstr "" +msgstr "Geen Todo.txt-bestand aangetroffen" #: src/MainWindow.vala:94 msgid "Add tasks to start this todo.txt file" -msgstr "" +msgstr "Voeg taken toe om dit Todo.txt-bestand op te vullen" #: src/MainWindow.vala:105 msgid "Add task…" @@ -133,58 +136,60 @@ #: src/MainWindow.vala:109 src/Preferences.vala:28 msgid "Preferences" -msgstr "" +msgstr "Voorkeuren" #: src/MainWindow.vala:125 msgid "Settings" -msgstr "" +msgstr "Instellingen" #: src/MainWindow.vala:209 msgid "Done" -msgstr "" +msgstr "Klaar" #: src/Preferences.vala:38 msgid "Todo.txt Preferences" -msgstr "" +msgstr "Todo.txt-voorkeuren" #: src/Preferences.vala:39 msgid "Default Location:" -msgstr "" +msgstr "Standaardlocatie:" #: src/Preferences.vala:42 msgid "Home Folder" -msgstr "" +msgstr "Persoonlijke map" #: src/Preferences.vala:43 msgid "Dropbox Folder" -msgstr "" +msgstr "Dropbox-map" #: src/Preferences.vala:44 msgid "Nextcloud Folder" -msgstr "" +msgstr "Nextcloud-map" #: src/Preferences.vala:45 msgid "ownCloud Folder" -msgstr "" +msgstr "ownCloud-map" #: src/Preferences.vala:46 msgid "Other Clients Folder" -msgstr "" +msgstr "Map van andere clouddienst" #: src/Preferences.vala:103 msgid "Custom Location:" -msgstr "" +msgstr "Aangepaste locatie:" #: src/Preferences.vala:105 msgid "Open your file" -msgstr "" +msgstr "Open je bestand" #: src/Preferences.vala:111 msgid "" "Enabling custom locations will have you save your file\n" "in other places not recognized by other clients." msgstr "" +"Geef aangepaste locaties op om je bestand op te slaan\n" +"op locaties die niet herkend worden door andere clients." #: src/Preferences.vala:160 msgid "Close" -msgstr "" +msgstr "Sluiten" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/src/Application.vala new/yishu-1.2.1/src/Application.vala --- old/yishu-1.2.0/src/Application.vala 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/src/Application.vala 2020-01-17 21:58:10.000000000 +0100 @@ -76,6 +76,8 @@ header_context.add_class ("yi-searchbar"); search_entry.placeholder_text = _("Search task"); search_entry.set_tooltip_text (_("Type Task Name")); + search_entry.margin_start = 24; + search_entry.hexpand = true; window.toolbar.set_custom_title(search_entry); setup_menus(); window.add_button.clicked.connect(add_task); @@ -102,7 +104,7 @@ add_task(); break; case 1: - Granite.Services.System.open_uri("http://todotxt.com"); + GLib.AppInfo.launch_default_for_uri ("http://todotxt.com", null); break; } }); @@ -126,18 +128,22 @@ if (read_file(null)) { window.welcome.hide(); window.tree_view.show(); + window.add_button.show(); } else { window.welcome.show(); window.tree_view.hide(); + window.add_button.hide(); } settings.changed.connect (() => { if (read_file(settings.todo_txt_file_path)) { window.welcome.hide(); - window.tree_view.show(); + window.tree_view.show(); + window.add_button.show(); } else if (settings.todo_txt_file_path == "" && read_file(null)) { window.welcome.show(); - window.tree_view.hide(); + window.tree_view.hide(); + window.add_button.hide(); } }); tasks_model_filter.refilter(); @@ -365,6 +371,7 @@ window.welcome.hide(); window.tree_view.show(); + window.add_button.show(); break; default: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/src/MainWindow.vala new/yishu-1.2.1/src/MainWindow.vala --- old/yishu-1.2.0/src/MainWindow.vala 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/src/MainWindow.vala 2020-01-17 21:58:10.000000000 +0100 @@ -97,9 +97,18 @@ header_context.add_class ("yi-titlebar"); add_button = new Gtk.Button (); - add_button.set_image (new Gtk.Image.from_icon_name ("appointment-new", Gtk.IconSize.LARGE_TOOLBAR)); + add_button.set_image (new Gtk.Image.from_icon_name ("appointment-new-symbolic", Gtk.IconSize.SMALL_TOOLBAR)); add_button.has_tooltip = true; add_button.tooltip_text = (_("Add task…")); + add_button.halign = Gtk.Align.END; + add_button.valign = Gtk.Align.END; + add_button.margin = 12; + + var add_button_context = add_button.get_style_context (); + add_button_context.add_class ("yi-addbutton"); + + var overlay = new Gtk.Overlay (); + overlay.expand = true; var prefs_button = new Gtk.ModelButton (); prefs_button.action_name = ACTION_PREFIX + ACTION_PREFS; @@ -122,17 +131,19 @@ menu_button.tooltip_text = (_("Settings")); menu_button.popover = menu; - toolbar.pack_start (add_button); toolbar.pack_end (menu_button); tree_view = setup_tree_view(); swin.add(tree_view); stack.add(welcome); - stack.add(swin); + stack.add(swin); + + overlay.add_overlay (add_button); + overlay.add (stack); info_bar_box = new Gtk.Box(Gtk.Orientation.HORIZONTAL, 0); vbox.pack_start(info_bar_box, false, false, 0); - vbox.pack_start(stack, true, true, 0); + vbox.pack_start(overlay, true, true, 0); add(vbox); show_all(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/src/Task.vala new/yishu-1.2.1/src/Task.vala --- old/yishu-1.2.0/src/Task.vala 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/src/Task.vala 2020-01-17 21:58:10.000000000 +0100 @@ -232,18 +232,24 @@ int diff = d.days_between(now); if (diff < max_days){ string s = ""; - switch (diff){ - case 0: - s = _("Today"); - break; - case 1: - s = _("Yesterday"); - break; - default: - s = "%u %s".printf(diff, _("days ago")); - break; + if (diff < 0) { + s = "%i %s".printf(diff * -1, _("days from now")); + return s; + } + else { + switch (diff){ + case 0: + s = _("Today"); + break; + case 1: + s = _("Yesterday"); + break; + default: + s = "%i %s".printf(diff, _("days ago")); + break; + } + return s; } - return s; } else { char buf[100]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yishu-1.2.0/src/TaskDialog.vala new/yishu-1.2.1/src/TaskDialog.vala --- old/yishu-1.2.0/src/TaskDialog.vala 2019-07-27 23:34:41.000000000 +0200 +++ new/yishu-1.2.1/src/TaskDialog.vala 2020-01-17 21:58:10.000000000 +0100 @@ -97,7 +97,7 @@ var task_help = new Gtk.Image.from_icon_name ("help-info-symbolic", Gtk.IconSize.BUTTON); task_help.halign = Gtk.Align.START; task_help.hexpand = true; - task_help.tooltip_text = _("Adding + to a word will categorize the task.\nAdding @ to a word will specify the task's place."); + task_help.tooltip_text = _("Adding YYYY-MM-DD after the priority and before the task will give a due date to the task.\nAdding + to a word will categorize the task.\nAdding @ to a word will specify the task's place."); var close_button = add_button (_("Cancel"), Gtk.ResponseType.CLOSE); this.add_button((_("OK")), Gtk.ResponseType.ACCEPT);