From dd08da27e3e1cae734790cae8e3b8626fdf40c4b Mon Sep 17 00:00:00 2001 From: Soren Stoutner <soren@stoutner.com> Date: Mon, 15 Jul 2024 19:00:30 -0700 Subject: [PATCH] Release 0.6. --- COPYING | 4 +- changelog | 11 ++ doc/index.docbook | 105 +++++++++++++++++++- src/com.stoutner.privacybrowser.appdata.xml | 25 ++++- src/helpers/UserAgentHelper.cpp | 6 +- src/main.cpp | 2 +- src/privacybrowser.1 | 18 ++-- 7 files changed, 147 insertions(+), 24 deletions(-) diff --git a/COPYING b/COPYING index 7cf0ecb..2740cac 100644 --- a/COPYING +++ b/COPYING @@ -1,6 +1,6 @@ -Privacy Browser PC copyright 2016-2017,2021-2024 Soren Stoutner <soren@stoutner.com>. +Privacy Browser PC copyright 2016-2017, 2021-2024 Soren Stoutner <soren@stoutner.com>. -This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>. +This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc/>. Privacy Browser PC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published diff --git a/changelog b/changelog index 6ec8ce3..c00a689 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,14 @@ +# Version 0.6 (15 July 2024) + * Add filter lists. + * Add URL syntax highlighting. + * Add a DevTools interface. + * Implement opening and saving of MHT web archives. + * Handle HTTP authentication. + * Remember the download directory. + * Update bookmarks in all windows when modified. + * Display Unicode URLs in Punycode. + * Multiple small improvements to the code and the user experience. + # Version 0.5 (12 October 2023) * Add bookmarks. * Add zoom controls to the status bar and a default zoom shortcut. diff --git a/doc/index.docbook b/doc/index.docbook index 27ee1fc..600dd3c 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -3,7 +3,7 @@ <!-- Copyright 2023-2024 Soren Stoutner <soren@stoutner.com>. - This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>. + This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc/>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -44,10 +44,10 @@ <legalnotice>&FDLNotice;</legalnotice> <!-- Last update. --> - <date>2024-01-06</date> + <date>2024-07-15</date> <!-- The version of Privacy Browser this documentation is written for. --> - <releaseinfo>&privacybrowser; version 0.5</releaseinfo> + <releaseinfo>&privacybrowser; version 0.6</releaseinfo> <!-- Abstract about this handbook --> <abstract> @@ -127,7 +127,6 @@ <listitem><para>If domain settings change the user agent, loading of the new URL is interrupted and the <ulink url="https://redmine.stoutner.com/issues/821">previous site is reloaded</ulink>.</para></listitem> <listitem><para>Browser <ulink url="https://redmine.stoutner.com/issues/831">error messages are not displayed</ulink> unless JavaScript is enabled.</para></listitem> - <listitem><para>Filter lists are <ulink url="https://redmine.stoutner.com/issues/969">not yet implemented</ulink>.</para></listitem> </itemizedlist> </sect1> </chapter> @@ -1320,6 +1319,55 @@ </sect3> </sect2> + <!-- Filter Lists. --> + <sect2> + <title>Filter Lists</title> + + <variablelist> + <!-- Requests. --> + <varlistentry id="requests"> + <term> + <menuchoice> + <shortcut> + <keycombo action="simul">&Ctrl;<keycap>R</keycap></keycombo> + </shortcut> + + <guimenu>Filter Lists</guimenu> + + <guimenuitem>Requests</guimenuitem> + </menuchoice> + </term> + + <listitem> + <para> + Open the requests dialog. + </para> + </listitem> + </varlistentry> + + <!-- View Filter Lists. --> + <varlistentry id="view-filter-lists"> + <term> + <menuchoice> + <shortcut> + <keycombo action="simul">&Ctrl;&Shift;<keycap>L</keycap></keycombo> + </shortcut> + + <guimenu>Filter Lists</guimenu> + + <guimenuitem>View Filter Lists</guimenuitem> + </menuchoice> + </term> + + <listitem> + <para> + View the filter lists dialog. + </para> + </listitem> + </varlistentry> + </variablelist> + </sect2> + <!-- Bookmarks. --> <sect2> <title>Bookmarks</title> @@ -1745,6 +1793,33 @@ <chapter id="changelog"> <title>Changelog</title> + <!-- Version 0.6. --> + <sect1 id="version_0.6"> + <title>0.6 - 15 July 2024</title> + + <itemizedlist> + <listitem><para>Add <ulink url="https://redmine.stoutner.com/issues/969">filter lists</ulink>.</para></listitem> + <listitem><para>Add <ulink url="https://redmine.stoutner.com/issues/1024">URL syntax highlighting</ulink>.</para></listitem> + <listitem><para>Add a <ulink url="https://redmine.stoutner.com/issues/1126">DevTools interface</ulink>.</para></listitem> + <listitem><para>Implement <ulink url="https://redmine.stoutner.com/issues/1088">opening</ulink> and + <ulink url="https://redmine.stoutner.com/issues/866">saving</ulink> of MHT web archives.</para></listitem> + <listitem><para>Handle <ulink url="https://redmine.stoutner.com/issues/898">HTTP authentication</ulink>.</para></listitem> + <listitem><para>Remember the <ulink url="https://redmine.stoutner.com/issues/1103">download directory</ulink>.</para></listitem> + <listitem><para>Update bookmarks <ulink url="https://redmine.stoutner.com/issues/1095">in all windows</ulink> when modified.</para></listitem> + <listitem><para>Display <ulink url="https://redmine.stoutner.com/issues/1108">Unicode URLs in Punycode</ulink>.</para></listitem> + <listitem><para><ulink url="https://redmine.stoutner.com/issues/1151">Multiple</ulink> + <ulink url="https://redmine.stoutner.com/issues/1141">small</ulink> + <ulink url="https://redmine.stoutner.com/issues/1101">improvements</ulink> + <ulink url="https://redmine.stoutner.com/issues/1080">to</ulink> + <ulink url="https://redmine.stoutner.com/issues/1110">the</ulink> + <ulink url="https://redmine.stoutner.com/issues/1179">code</ulink> + <ulink url="https://redmine.stoutner.com/issues/1092">and</ulink> + <ulink url="https://redmine.stoutner.com/issues/1096">the</ulink> + <ulink url="https://redmine.stoutner.com/issues/1150">user</ulink> + <ulink url="https://redmine.stoutner.com/issues/1149">experience</ulink>.</para></listitem> + </itemizedlist> + </sect1> + <!-- Version 0.5. --> <sect1 id="version_0.5"> <title><ulink url="https://www.stoutner.com/privacy-browser-pc-0-5/">0.5</ulink> - @@ -1846,7 +1921,7 @@ <title>Credits and License</title> <para> - Privacy Browser PC copyright 2016-2017,2021-2024 Soren Stoutner <ulink url="mailto:soren@stoutner.com">soren@stoutner.com</ulink>. + Privacy Browser PC copyright 2016-2017, 2021-2024 Soren Stoutner <ulink url="mailto:soren@stoutner.com">soren@stoutner.com</ulink>. </para> <!-- Program. --> @@ -1873,6 +1948,26 @@ &underGPL; </sect1> + <!-- Filter Lists. --> + <sect1 id="filter_lists"> + <title>Filter Lists</title> + + <para> + <ulink url="https://www.stoutner.com/privacy-browser-android/filter-lists/ultraprivacy/">UltraPrivacy</ulink> and + <ulink url="https://www.stoutner.com/privacy-browser-android/filter-lists/ultralist/">UltraList</ulink> are developed by Stoutner. + They are released under the <ulink url="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+</ulink>. + </para> + + <para> + <ulink url="https://easylist.to/easylist/easyprivacy.txt">EasyPrivacy</ulink>, <ulink url="https://easylist.to/easylist/easylist.txt">EasyList</ulink>, + and <ulink url="https://easylist.to/easylist/fanboy-annoyance.txt">Fanboyâs Annoyance List</ulink> are + <ulink url="https://easylist.to/pages/licence.html">dual licensed</ulink> under the <ulink url="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+</ulink> + and the <ulink url="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0+ Unported</ulink> licenses. + Privacy Browser PC incorporates them using the GPLv3+ option. + More information about these filter lists can be found on the <ulink url="https://easylist.to/">EasyList website</ulink>. + </para> + </sect1> + <!-- Documentation. --> <sect1 id="documentation"> <title>Documentation</title> diff --git a/src/com.stoutner.privacybrowser.appdata.xml b/src/com.stoutner.privacybrowser.appdata.xml index 99e921f..f994c05 100644 --- a/src/com.stoutner.privacybrowser.appdata.xml +++ b/src/com.stoutner.privacybrowser.appdata.xml @@ -14,6 +14,7 @@ along with Privacy Browser PC. If not, see <http://www.gnu.org/licenses/>. --> <!-- The XML specification can be found at <https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html>. --> +<!-- Information about validation tags can be found at <https://www.freedesktop.org/software/appstream/docs/chap-Validation.html>. --> <!-- The file can be validated using `appstreamcli validate com.stoutner.privacybrowser.appdata.xml`. --> <component type="desktop-application"> <id>com.stoutner.privacybrowser</id> @@ -31,6 +32,12 @@ </p> </description> + <project_license>GPL-3.0-or-later</project_license> + + <developer id="com.stoutner"> + <name>Soren Stoutner</name> + </developer> + <categories> <category>Network</category> <category>WebBrowser</category> @@ -44,6 +51,20 @@ <launchable type="desktop-id">com.stoutner.privacybrowser.desktop</launchable> <releases> + <release version="0.6" date="2024-07-15"> + <description> + <p>Add filter lists.</p> + <p>Add URL syntax highlighting.</p> + <p>Add a DevTools interface.</p> + <p>Implement opening and saving of MHT web archives.</p> + <p>Handle HTTP authentication.</p> + <p>Remember the download directory.</p> + <p>Update bookmarks in all windows when modified.</p> + <p>Display Unicode URLs in Punycode.</p> + <p>Multiple small improvements to the code and the user experience.</p> + </description> + </release> + <release version="0.5" date="2023-10-12"> <description> <p>Add bookmarks.</p> @@ -99,10 +120,6 @@ <binary>privacybrowser</binary> </provides> - <project_license>GPL-3.0-or-later</project_license> - - <developer_name>Soren Stoutner</developer_name> - <screenshots> <screenshot type="default"> <image type="source">https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blob_plain;f=doc/privacybrowser-window.png;hb=HEAD</image> diff --git a/src/helpers/UserAgentHelper.cpp b/src/helpers/UserAgentHelper.cpp index 03e7b8b..1e49813 100644 --- a/src/helpers/UserAgentHelper.cpp +++ b/src/helpers/UserAgentHelper.cpp @@ -40,9 +40,9 @@ const QString UserAgentHelper::SAFARI_MACOS_DATABASE = QLatin1String("Safari mac const QString UserAgentHelper::PRIVACY_BROWSER_USER_AGENT = QLatin1String("PrivacyBrowser/1.0"); const QString UserAgentHelper::FIREFOX_LINUX_USER_AGENT = QLatin1String("Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"); const QString UserAgentHelper::CHROMIUM_LINUX_USER_AGENT = QLatin1String("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"); -const QString UserAgentHelper::FIREFOX_WINDOWS_USER_AGENT = QLatin1String("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0"); -const QString UserAgentHelper::CHROME_WINDOWS_USER_AGENT = QLatin1String("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"); -const QString UserAgentHelper::EDGE_WINDOWS_USER_AGENT = QLatin1String("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"); +const QString UserAgentHelper::FIREFOX_WINDOWS_USER_AGENT = QLatin1String("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0"); +const QString UserAgentHelper::CHROME_WINDOWS_USER_AGENT = QLatin1String("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"); +const QString UserAgentHelper::EDGE_WINDOWS_USER_AGENT = QLatin1String("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0"); const QString UserAgentHelper::SAFARI_MACOS_USER_AGENT = QLatin1String("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_Z) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15"); // Construct the class. diff --git a/src/main.cpp b/src/main.cpp index 9ff1e4d..c30d2f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) KCrash::initialize(); // Instantiate about data, setting the component name, the display name, and the version. - KAboutData aboutData(QStringLiteral("privacybrowser"), i18nc("Program Name", "Privacy Browser"), QStringLiteral("0.5")); + KAboutData aboutData(QStringLiteral("privacybrowser"), i18nc("Program Name", "Privacy Browser"), QStringLiteral("0.6")); // Add the author name, job description, email address, and website. aboutData.addAuthor(i18nc("Developer Information", "Soren Stoutner"),i18nc("Developer Information", "Principal developer"), QStringLiteral("soren@stoutner.com"), diff --git a/src/privacybrowser.1 b/src/privacybrowser.1 index 828e6de..e42a702 100644 --- a/src/privacybrowser.1 +++ b/src/privacybrowser.1 @@ -1,6 +1,6 @@ -.\" Copyright 2023 Soren Stoutner <soren@stoutner.com>. +.\" Copyright 2023-2024 Soren Stoutner <soren@stoutner.com>. .\" -.\" This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>. +.\" This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc/>. .\" .\" Privacy Browser PC is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ .\" along with Privacy Browser PC. If not, see <http://www.gnu.org/licenses/>. .\" Title Header. -.TH "Privacy Browser" 1 "12 October 2023" "version 0.5" "Privacy Browser User Manual" +.TH "Privacy Browser" 1 "7 July 2024" "version 0.6" "Privacy Browser User Manual" .\" Section Header - Name. .SH NAME @@ -51,32 +51,32 @@ Privacy Browser is a web browser focused on user privacy. It uses Qt WebEngine .\" Help. `.TP` is "Tag Paragraph". `.BR` is "Bold alternating Roman (not bold)". .TP .BR -h ", " --help -Displays help for command line options. +Display help for command line options. .\" Help all. `.TP` is "Tag Paragraph". `.B` is "Bold". .TP .B --help-all -Displays help, including Qt specific options. +Display help, including Qt specific options. .\" Version. `.TP` is "Tag Paragraph". `.BR` is "Bold alternating Roman (not bold)". .TP .BR -v ", " --version -Displays version information. +Display version information. .\" Author. `.TP` is "Tag Paragraph". `.B` is "Bold". .TP .B --author -Show author information. +Display author information. .\" License. `.TP` is "Tag Paragraph". `.B` is "Bold". .TP .B --license -Show license information. +Display license information. .\" Desktop File Name. `.TP` is "Tag Paragraph". `.BI` is "Bold alternating Italic (underlined)". .TP .BI --desktopfile " file" -The base file name of the desktop entry for this application. +Specify the base file name of the desktop entry for this application. .\" Section Header - Bugs. `.TP` is "Tag Paragraph". -- 2.47.2