Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rednotebook for openSUSE:Factory checked in at 2021-05-20 19:25:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rednotebook (Old) and /work/SRC/openSUSE:Factory/.rednotebook.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rednotebook" Thu May 20 19:25:15 2021 rev:46 rq:894515 version:2.22 Changes: -------- --- /work/SRC/openSUSE:Factory/rednotebook/rednotebook.changes 2021-02-15 23:23:07.076006767 +0100 +++ /work/SRC/openSUSE:Factory/.rednotebook.new.2988/rednotebook.changes 2021-05-20 19:25:43.533778794 +0200 @@ -1,0 +2,6 @@ +Wed May 19 10:39:41 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to version 2.22 + * Add a "Give Feedback" button + +------------------------------------------------------------------- Old: ---- rednotebook-2.21.tar.gz New: ---- rednotebook-2.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rednotebook.spec ++++++ --- /var/tmp/diff_new_pack.tCRaSG/_old 2021-05-20 19:25:43.973776990 +0200 +++ /var/tmp/diff_new_pack.tCRaSG/_new 2021-05-20 19:25:43.973776990 +0200 @@ -17,7 +17,7 @@ Name: rednotebook -Version: 2.21 +Version: 2.22 Release: 0 Summary: Graphical diary and journal # See note at the end of README: code is using some LGPL-3.0+ module, so the resulting work is GPL-3.0+. ++++++ rednotebook-2.21.tar.gz -> rednotebook-2.22.tar.gz ++++++ ++++ 1693 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/CHANGELOG.md new/rednotebook-2.22/CHANGELOG.md --- old/rednotebook-2.21/CHANGELOG.md 2020-12-07 09:42:28.000000000 +0100 +++ new/rednotebook-2.22/CHANGELOG.md 2021-04-25 17:02:34.444405300 +0200 @@ -1,3 +1,7 @@ +# 2.22 (2021-04-25) +* Add a "Give Feedback" button (#551, Rahul Jha). +* Test code on macOS (#552, Rahul Jha). + # 2.21 (2020-12-07) * Update MathJax to version 3 (#515, @dgcampea). * Fix date references in CEF-based HtmlView (#544, Pawe?? ??ukowski). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/PKG-INFO new/rednotebook-2.22/PKG-INFO --- old/rednotebook-2.21/PKG-INFO 2020-12-07 09:45:44.000000000 +0100 +++ new/rednotebook-2.22/PKG-INFO 2021-04-25 17:08:05.752692500 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: rednotebook -Version: 2.21 +Version: 2.22 Summary: Graphical daily journal with calendar, templates and keyword searching Home-page: https://rednotebook.app Author: Jendrik Seipp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/README.md new/rednotebook-2.22/README.md --- old/rednotebook-2.21/README.md 2020-03-01 09:11:40.000000000 +0100 +++ new/rednotebook-2.22/README.md 2021-02-13 09:00:20.715575700 +0100 @@ -1,10 +1,12 @@ +# RedNotebook + RedNotebook is a modern desktop journal. It lets you format, tag and search your entries. You can also add pictures, links and customizable templates, spell check your notes, and export to plain text, HTML, Latex or PDF. -# Requirements +## Requirements See `debian/control` for Debian and Ubuntu package names. @@ -19,42 +21,34 @@ * PyEnchant for spell checking (>= 1.6): https://pypi.org/project/pyenchant/ -# Run under Linux (without installation) +## Run on Linux (without installation) $ ./run -# Run under Windows - -See [appveyor.yml](appveyor.yml) for setup instructions, then run - - C:\path\to\rednotebook> python3 rednotebook/journal.py - - -# Install +## Install on Linux We recommend to install RedNotebook with your package manager or to download the Windows installer. Follow the steps below only if your distribution has no RedNotebook package or you want to use a newer RedNotebook version. -Install RedNotebook in the global `site-packages` directory and make -`rednotebook` command available globally: +Install RedNotebook under `~/.local/lib/python3.x/site-packages/` and +create `~/.local/bin/rednotebook` executable: + + sudo apt install python3-pip + # Change into RedNotebook repository. + pip3 install . - sudo apt-get install python3-pip - # Change into RedNotebook directory. - sudo pip3 install . -Install RedNotebook locally under -`~/.local/lib/python3.x/site-packages/` and create -`~/.local/bin/rednotebook` executable: +## Run on Windows - sudo apt-get install python3-pip - # Change into RedNotebook directory. - pip3 install --user . +See [appveyor.yml](appveyor.yml) for setup instructions, then run + + C:\path\to\rednotebook> python3 rednotebook/journal.py -# Thanks to +## Thanks to * The authors of the libraries listed under 'Requirements'. * Ciaran for creating the RedNotebook icon. @@ -63,7 +57,7 @@ (https://github.com/dieterv/elib.intl) -# License notes +## License notes RedNotebook is published under the GPLv2+. Since it bundles code released under the LGPLv3+, the resulting work is licensed under the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/TODO.md new/rednotebook-2.22/TODO.md --- old/rednotebook-2.21/TODO.md 1970-01-01 01:00:00.000000000 +0100 +++ new/rednotebook-2.22/TODO.md 2021-02-13 09:00:20.715575700 +0100 @@ -0,0 +1,138 @@ +# Roadmap + +If you have any suggestions or comments, feel free to contact me on the +mailing list or directly per mail. Before starting to work on a feature, +please check back with me briefly about its status. + + +## Important features + +- [ ] Update GTK stack for Windows: use MinGW and Python >= 3.6. +- [ ] Use separate file for storing CSS to allow users to override styles more easily. +- [ ] Make default CSS prettier (see private email exchange). +- [ ] Allow searching for days that contain **multiple** words or tags. +- [ ] Check that non-ASCII image filenames work (https://bugs.launchpad.net/bugs/1739701). +- [ ] Search and replace (useful for renaming tags and other names). + Show "replace" text field after search text has been entered. +- [ ] Add simple way to show all entries: allow searching for whitespace (i.e., don't strip whitespace from search string). +- [ ] Copy files and pictures into data subdirectory (#163, #469). +- [ ] Require minimum width for calendar panel to avoid hiding it by accident. + +- [ ] Data safety: + - [ ] Only overwrite old month file if new month file can be parsed correctly. + - [ ] Make sure that RedNotebook contents are saved under Windows when system is shut down. + - [ ] Make sure there is no race condition between automatic and manual saving that could cause data corruption. + +- [ ] Windows: + - [ ] Make sure we use libyaml and not yaml on Windows. + - [ ] Check that the Euro symbol can be used on Windows. + - [ ] Check that images work on Windows in LaTeX exports. + - [ ] Fix drag-and-drop on Windows (confirmed that it doesn't work in version 2.6.1). Might be fixed by now. + + +### Remove right-side tags panel (disabled by default) + +- [ ] When searching for a hashtag (see #498): + - if hashtag is the only text on the line: show text around hashtag. + - otherwise, show all content on the line except for the hashtag. +- [ ] When searching for a hashtag, scroll to hashtag and highlight it. +- [ ] Optional: enable right-side tags panel by default, if journal has right-side tags. +- [ ] Transform existing right-side tags foo:bar to "#foo bar" when loading a journal. +- [ ] Remove code for right-side tags panel. + + +## Optional features + +- [ ] Auto-completion for hashtags. +- [ ] Use `Gtk.Application` to ensure there's only one RedNotebook instance. +- [ ] Improve startup time by loading the content after showing the window (except for maybe the current month file). +- [ ] Add macro system that takes a macro like `{weather}` and renders it for the preview, e.g., an HTML snippet that displays that day's weather symbol. +- [ ] Live preview of selected font in editor pane. +- [ ] Allow exporting the entries of a search result. +- [ ] Translate help page. +- [ ] When hovering over search result, show day's full text in "hover box". +- [ ] Allow hashtags with non-alphanumeric characters, e.g., `#c++`. +- [ ] Add menus to forward and backward buttons to navigate to recently visited days. +- [ ] Make deleting templates easier. +- [ ] Enable right-click menu for copying in preview. + Since we don't want the default menu with "Reload", we can either + - create our own menu: complicated + - only show the menu if there's a selection: WebView.has_selection() seems to be broken + + +## Implementation changes + +- [ ] Enable faulthandler module (https://docs.python.org/3/library/faulthandler.html, added in Python 3.3). +- [ ] Don't store regexes in Cloud class. +- [ ] Clouds: don't store link_dict, but use names directly in HTML in Cloud class. + + +## Deferred features + +After deciding whether to switch to Markdown or not: + +- [X] Insert Latex formulas + - [X] Preview Latex formulas + - [X] Highlight formulas in edit mode + - [X] Support formulas in all export formats + - [ ] Add menu item for inserting formulas +- [X] Tables + - [X] Highlight tables in edit mode +- [X] Numbered lists +- [X] Add quotes by indenting them with a tab + + +## Unwanted features + +- verbatim / raw ( """/"" - supported, undocumented) (too confusing / poorly behaving) +- remote pictures (pictures would have to be downloaded and saved in a folder for exports) +- Copy/Paste category entries (Too complicated) +- Add --portable command line parameter (The default config file is better) +- word wrapping while editing category entries (too complicated, would involve writing C code) +- Language selection for spell checking (is already implemented in new versions of gtkspell) +- Todo tab next to clouds (KISS) +- Automatic Backups (KISS, intruding, gentle messages are better) +- Rethink linebreaks? (Changing paragraphs in txt2tags will probably crash + everything, Current behaviour should be fine) +- allow opening config file from within RedNotebook + (Probably no good idea as some options might be unavailable or confusing) +- Make the Format button remember its last action -> No, current behaviour good enough. +- Tabs for different notebooks (KISS) +- Add option for time interval between automatic savings? (KISS) +- Let user select the language for RedNotebook in Windows installer (Users probably want their default language) +- Get proper file layout with one script not part of module (Everything works without name clashes) +- Use threads for file loading and link opening (Probably a bad idea since threads are a source of errors) +- List recently opened journals under "Journal" -> "Recently Used" (KISS, config option needed) +- Drag and Drop for Windows (gtk inter application dnd isn't implemented on win32) +- Use configobj for config files (KISS, Never change A running system ;) +- Search for multiple words at the same time (KISS) +- For each journal to have its own templates (KISS) +- Let the Search type selection remember the selection between sessions (KISS) +- Let the Annotate and Tag window box remember their positions between sessions (KISS) +- Select template file when clicking the button instead of adding weekday's file +- Use categories for number data and present it graphically (KMs, Cash, Calories) (KISS) +- Check for duplicates in cloud blacklists (Does not make much sense since each word + can only be right-clicked once in the cloud) +- Right-click on word in main text area to add it to cloud whitelist + (Functionality will be difficult to find, would have to be implemented for + preview as well) +- Image resizing with PIL (The width parameter is more useful) +- Use attributes for formatting glade strings for easier translation + (requires GTK 2.16 and does not make much sense now that all strings have been translated) +- Move the "update application" command into the help menu (central place for the checking is better) +- Use a custom config.t2t per diary + (This will be overkill for most users and having a data subdirectory for images etc. will suffice) +- Open the exported file after the export? (No other program does that) +- Monitor clipboard and add all copied stuff into RedNotebook in "clip mode" (unintuitive, KISS) +- Generalize tags to "hierarchical tags" (This is the job of outliners) +- Add additional one-click menu (like the one with Search and Tags Cloud) that + contains quick links to other journals (KISS) +- Syntaxhighlighting support (pygments) (KISS, can probably be done with javascript) +- Support for 'inline files': read content from file upon preview of page and + add the contents of the file inline (which allows for 'dynamic' content) (KISS) +- Field or shortcut to enter a date and takes you there (One navigation suffices) +- Disable cache for preview to support previewing externally changed files (Rarely used, might slowdown app) +- Use new markup for images: {/home/user/pic.png?50} (Too disruptive) +- Support %!include, %!preprocess, etc. (very txt2tags specific) +- Encryption (there are dedicated tools for encrypting files) +- Highlight the current day in the calendar (#466, Gtk.Calendar supports only one hightlight style) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/rednotebook/gui/menu.py new/rednotebook-2.22/rednotebook/gui/menu.py --- old/rednotebook-2.21/rednotebook/gui/menu.py 2020-12-07 09:37:58.000000000 +0100 +++ new/rednotebook-2.22/rednotebook/gui/menu.py 2021-02-13 09:00:20.723575800 +0100 @@ -65,6 +65,7 @@ <menuitem action="OnlineHelp"/> <menuitem action="Translate"/> <menuitem action="ReportBug"/> + <menuitem action="GiveFeedback"/> <separator/> <menuitem action="Info"/> </menu> @@ -257,6 +258,14 @@ _("Fill out a short form about the problem"), self.on_report_bug, ), + ( + "GiveFeedback", + None, + _("Give Feedback"), + None, + _("How can we improve RedNotebook?"), + self.on_give_feedback, + ), ("Info", Gtk.STOCK_ABOUT, None, None, None, self.on_info_activate), ] ) @@ -409,6 +418,9 @@ def on_report_bug(self, widget): webbrowser.open(info.bug_url) + def on_give_feedback(self, widget): + webbrowser.open(info.discussion_url) + def on_info_activate(self, widget): self.info_dialog = self.main_window.builder.get_object("about_dialog") self.info_dialog.set_transient_for(self.main_window.main_frame) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/rednotebook/info.py new/rednotebook-2.22/rednotebook/info.py --- old/rednotebook-2.21/rednotebook/info.py 2020-12-07 09:45:18.000000000 +0100 +++ new/rednotebook-2.22/rednotebook/info.py 2021-04-25 17:08:05.008702800 +0200 @@ -28,7 +28,7 @@ program_name = "RedNotebook" tagline = _("A Desktop Journal") -version = "2.21" +version = "2.22" author = "Jendrik Seipp" author_mail = "jendrikse...@gmail.com" copyright_ = "Copyright (c) 2008-2020 Jendrik Seipp" @@ -39,6 +39,7 @@ bug_url = "https://github.com/jendrikseipp/rednotebook/issues" version_url = "https://raw.githubusercontent.com/jendrikseipp/rednotebook/master/rednotebook/info.py" contributors_url = "https://github.com/jendrikseipp/rednotebook/graphs/contributors" +discussion_url = "https://github.com/jendrikseipp/rednotebook/discussions" developers = ["%(author)s <%(author_mail)s>" % locals()] artists = ["Ciaran"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/rednotebook-2.21/rednotebook/journal.py new/rednotebook-2.22/rednotebook/journal.py --- old/rednotebook-2.21/rednotebook/journal.py 2020-05-23 14:27:45.000000000 +0200 +++ new/rednotebook-2.22/rednotebook/journal.py 2021-03-28 08:41:05.528000600 +0200 @@ -41,8 +41,18 @@ ) sys.exit(1) -gi.require_version("Gtk", "3.0") -gi.require_version("GtkSource", "3.0") +try: + gi.require_version("Gtk", "3.0") +except ValueError as err: + logging.error(err) + sys.exit("Please install GTK (gir1.2-gtk-3.0).") + +try: + gi.require_version("GtkSource", "3.0") +except ValueError as err: + logging.error(err) + sys.exit("Please install GtkSource (gir1.2-gtksource-3.0).") + if hasattr(sys, "frozen"): base_dir = sys._MEIPASS