From f215689b354e07b0fc2e6ad6d0213fe873d497dc Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Tue, 18 Oct 2022 15:31:55 +0200 Subject: [PATCH 1/9] Moving files from flatpak repository is done within the script, rather than LogarithmPlotter's setup. --- eu.ad5001.LogarithmPlotter.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 70af1ad..cc6bd88 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -70,7 +70,8 @@ "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", - "mv eu.ad5001.LogarithmPlotter.metainfo.xml linux/eu.ad5001.LogarithmPlotter.metainfo.flatpak.xml # Add metainfo file from current repository.", + "mv logarithmplotter.desktop /app/share/applications/logarithmplotter.desktop # Add desktop file from current repository.", + "mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.", "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app", "cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached." ], From ead98a6c7b4807c044b1737120b6787eb3dd183d Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 16:35:06 +0200 Subject: [PATCH 2/9] Updating metainfo for 0.3.0. --- eu.ad5001.LogarithmPlotter.metainfo.xml | 66 +++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/eu.ad5001.LogarithmPlotter.metainfo.xml b/eu.ad5001.LogarithmPlotter.metainfo.xml index 17622be..a9c6df6 100644 --- a/eu.ad5001.LogarithmPlotter.metainfo.xml +++ b/eu.ad5001.LogarithmPlotter.metainfo.xml @@ -109,6 +109,72 @@ + + +

Changes for v0.3.0:

+

New

+
    +
  • New completely revamped expression editor:
  • +
  • Automatic closing of parentheses and brackets (can be disabled in settings).
  • +
  • Syntax highlighting (can be disabled in the settings).
  • +
  • Autocompletion is now available (for function names, variables and constants, object names and properties) (can be disabled in the settings).
  • +
  • Object properties can now be used in expressions (e.g. if you have a point named A, you can use A.x to access its x value).
  • +
  • Similarly executable objects (Functions, bode magnitudes and phases, distributions, and sequences) can be now be used in expressions (e.g. if you have a function named 'f', you can access its value using `f()`).
  • +
  • LaTeX-rendered formulas are now used in the Objects and History tabs when LaTeX rendering is enabled.
  • +
  • Errors in formulas are now reported in message boxes.
  • +
+

Changes

+
    +
  • The Object Editor dialog has been completely reworked internally, resulting in notable performance improvements.
  • +
  • Vast improvements to the objects system: names are now consistently reported and cannot be shared amongst different objects.
  • +
  • Disabled access to custom variable and function definition in expressions (can cause issues and vulnerabilities)
  • +
  • When using the set position cursor on Points and Texts, the position change is now saved a single history action: the position setting.
  • +
  • Distribution are now prefixed with an 'F_' to prevent confusion with X Cursors.
  • +
+

Added translations

+
    +
  • Autocompletion categories (English, French, German, Hungarian).
  • +
  • Expression editor settings (English, French, German, Hungarian).
  • +
  • Expression syntax errors (English, French, German, Hungarian).
  • +
  • On top of the above:
  • +
  • Hungarian: v0.2.0 added text (thanks @ovari!)
  • +
  • Spanish: Menu bars (thanks @Sergio Varela)
  • +
  • You can contribute to translation on Weblate.
  • +
+

Fixed bugs

+
    +
  • Fixing Texts not being properly recognized as texts when saving.
  • +
  • Text's 'Disable LaTeX' property is now properly saved.
  • +
  • X Cursors LaTeX rendering made the app crash.
  • +
  • Attempting to insert special character no longer automatically saves the expression you're editing.
  • +
  • Proper HDPI support for icons and buttons (note: HDPI is not available for the rendered canvas yet).
  • +
  • Support for non-latin characters in variables (e.g. greek letters, subtext, suptext)
  • +
  • Silent error when misentering variable names in the expression editor causing internal issues preventing you from changing the expression ever again and causing issues and rendering.
  • +
  • Fixing some utils function simplifying parentheses when they shouldn't have (note: you may see more parentheses than before in expressions).
  • +
  • (flatpak and KDE SDK) Fixing the sometimes invisible buttons on the objects tab on startup.
  • +
  • (macos) Application string version does not match LogarithmPlotter's version.
  • +
  • (debian) (Normally) Fixing deb building.
  • +
+

Internal changes

+
    +
  • Object dependencies are now registered on both the dependant object, and the object it's depending on.
  • +
  • Objects now have a proper per-name registry.
  • +
  • Object Editor Dialog has been reworked to use loaders instead of loading and hiding every property editor for each property.
  • +
  • Reworked the file loading system to be able to load dependencies properly.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.3.0/logarithmplotter-v0.3.0-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.3.0/LogarithmPlotter-v0.3.0-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.3.0/logarithmplotter-0.3.0.tar.gz + + +

Changes for v0.2.0:

From c4d12d6864daffb7699001c3d1055cc3656543ca Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 18:19:38 +0200 Subject: [PATCH 3/9] Updating PySide2 to v5.15.7, fixing building. --- eu.ad5001.LogarithmPlotter.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index cc6bd88..912981b 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -37,8 +37,8 @@ "sources": [ { "type": "archive", - "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.3-src/pyside-setup-opensource-src-5.15.3.tar.xz", - "sha256": "7ff5f1cc4291fffb6d5a3098b3090abe4d415da2adec740b4e901893d95d7137" + "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.7-src/pyside-setup-opensource-src-5.15.7.tar.xz", + "sha256": "f61210ae24e6882d5d0ca0059229e5dc4f35e2bca92dd6caf96c0f41943a8294" }, { "type": "shell", @@ -62,6 +62,7 @@ "buildsystem": "simple", "build-options": { "env": { + "GIT_ALLOW_PROTOCOL": "file:https:git", "MIME_PATH": "/app/share/mime/packages", "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes", "CHANGELOG_PATH": "" @@ -70,8 +71,6 @@ "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", - "mv logarithmplotter.desktop /app/share/applications/logarithmplotter.desktop # Add desktop file from current repository.", - "mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.", "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app", "cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached." ], @@ -84,12 +83,16 @@ { "type": "git", "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter", - "tag": "v0.2.0", - "commit": "cb733a556cae1751920d03c480627b44e3833ac7" + "tag": "v0.3.0", + "commit": "839f8e9f367146a195681c30217f7229eac8c319" }, { "type": "file", "path": "eu.ad5001.LogarithmPlotter.metainfo.xml" + }, + { + "type": "file", + "path": "logarithmplotter.desktop" } ] } From 8575fe5fecbe9eebc18a409940f50f5e831a30d1 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 19:25:33 +0200 Subject: [PATCH 4/9] Fixing appstream data. --- eu.ad5001.LogarithmPlotter.metainfo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eu.ad5001.LogarithmPlotter.metainfo.xml b/eu.ad5001.LogarithmPlotter.metainfo.xml index a9c6df6..5858792 100644 --- a/eu.ad5001.LogarithmPlotter.metainfo.xml +++ b/eu.ad5001.LogarithmPlotter.metainfo.xml @@ -119,7 +119,7 @@
  • Syntax highlighting (can be disabled in the settings).
  • Autocompletion is now available (for function names, variables and constants, object names and properties) (can be disabled in the settings).
  • Object properties can now be used in expressions (e.g. if you have a point named A, you can use A.x to access its x value).
  • -
  • Similarly executable objects (Functions, bode magnitudes and phases, distributions, and sequences) can be now be used in expressions (e.g. if you have a function named 'f', you can access its value using `f()`).
  • +
  • Similarly executable objects (Functions, bode magnitudes and phases, distributions, and sequences) can be now be used in expressions (e.g. if you have a function named 'f', you can access its value using `f(value)`).
  • LaTeX-rendered formulas are now used in the Objects and History tabs when LaTeX rendering is enabled.
  • Errors in formulas are now reported in message boxes.
  • From 79bad2a24c62efa7f53185d17f5fcd266fac0aec Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 19:47:00 +0200 Subject: [PATCH 5/9] Putting the metainfo moving back. --- eu.ad5001.LogarithmPlotter.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 912981b..9d85b9a 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -71,6 +71,7 @@ "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", + "mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.", "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app", "cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached." ], From c2ea5807947e6ea35b05e945ec437ba10e2e44fa Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 20:01:52 +0200 Subject: [PATCH 6/9] Changing PySide2 version back to v5.15.3 (attempt at fixing x86 building) --- eu.ad5001.LogarithmPlotter.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 9d85b9a..92a015b 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -37,8 +37,8 @@ "sources": [ { "type": "archive", - "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.7-src/pyside-setup-opensource-src-5.15.7.tar.xz", - "sha256": "f61210ae24e6882d5d0ca0059229e5dc4f35e2bca92dd6caf96c0f41943a8294" + "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.3-src/pyside-setup-opensource-src-5.15.3.tar.xz", + "sha256": "7ff5f1cc4291fffb6d5a3098b3090abe4d415da2adec740b4e901893d95d7137" }, { "type": "shell", From 0b04808018a069f0de8760a580cbfee9356c7342 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 20:05:02 +0200 Subject: [PATCH 7/9] Forgot to recreate the directory. --- eu.ad5001.LogarithmPlotter.json | 1 + 1 file changed, 1 insertion(+) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 92a015b..d0c7fdd 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -71,6 +71,7 @@ "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", + "mkdir -p /app/share/metainfo/", "mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.", "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app", "cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached." From dc4be6bedaba3cedd1b2d52c5c7842290c814de1 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 21:54:02 +0200 Subject: [PATCH 8/9] Updating images in metadata. --- eu.ad5001.LogarithmPlotter.metainfo.xml | 31 +++++++++++++------------ 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/eu.ad5001.LogarithmPlotter.metainfo.xml b/eu.ad5001.LogarithmPlotter.metainfo.xml index 5858792..78afcc0 100644 --- a/eu.ad5001.LogarithmPlotter.metainfo.xml +++ b/eu.ad5001.LogarithmPlotter.metainfo.xml @@ -1,6 +1,7 @@ + eu.ad5001.LogarithmPlotter eu.ad5001.LogarithmPlotter.desktop eu.ad5001.LogarithmPlotter.desktop @@ -79,21 +80,21 @@ https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/ https://hosted.weblate.org/engage/logarithmplotter/ - https://apps.ad5001.eu/img/full/logarithmplotter.png?v=0.2 - https://apps.ad5001.eu/img/en/logarithmplotter/phase.png?v=0.2 - https://apps.ad5001.eu/img/en/logarithmplotter/welcome.png?v=0.2 - https://apps.ad5001.eu/img/de/gain.png?v=0.2 - https://apps.ad5001.eu/img/de/logarithmplotter/phase.png?v=0.2 - https://apps.ad5001.eu/img/de/logarithmplotter/welcome.png?v=0.2 - https://apps.ad5001.eu/img/fr/gain.png?v=0.2 - https://apps.ad5001.eu/img/fr/logarithmplotter/phase.png?v=0.2 - https://apps.ad5001.eu/img/fr/logarithmplotter/welcome.png?v=0.2 - https://apps.ad5001.eu/img/hu/gain.png - https://apps.ad5001.eu/img/hu/logarithmplotter/phase.png - https://apps.ad5001.eu/img/hu/logarithmplotter/welcome.png - https://apps.ad5001.eu/img/no/gain.png - https://apps.ad5001.eu/img/no/logarithmplotter/phase.png - https://apps.ad5001.eu/img/no/logarithmplotter/welcome.png + https://apps.ad5001.eu/img/full/logarithmplotter.png?v=0.3 + https://apps.ad5001.eu/img/en/logarithmplotter/phase.png?v=0.3 + https://apps.ad5001.eu/img/en/logarithmplotter/welcome.png?v=0.3 + https://apps.ad5001.eu/img/de/gain.png?v=0.3 + https://apps.ad5001.eu/img/de/logarithmplotter/phase.png?v=0.3 + https://apps.ad5001.eu/img/de/logarithmplotter/welcome.png?v=0.3 + https://apps.ad5001.eu/img/fr/gain.png?v=0.3 + https://apps.ad5001.eu/img/fr/logarithmplotter/phase.png?v=0.3 + https://apps.ad5001.eu/img/fr/logarithmplotter/welcome.png?v=0.3 + https://apps.ad5001.eu/img/hu/gain.png?v=0.3 + https://apps.ad5001.eu/img/hu/logarithmplotter/phase.png?v=0.3 + https://apps.ad5001.eu/img/hu/logarithmplotter/welcome.png?v=0.3 + https://apps.ad5001.eu/img/no/gain.png?v=0.3 + https://apps.ad5001.eu/img/no/logarithmplotter/phase.png?v=0.3 + https://apps.ad5001.eu/img/no/logarithmplotter/welcome.png?v=0.3 From ee91e91f2918e4902424383f134329a0fb924386 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 28 Oct 2022 22:02:35 +0200 Subject: [PATCH 9/9] Updating images --- eu.ad5001.LogarithmPlotter.metainfo.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/eu.ad5001.LogarithmPlotter.metainfo.xml b/eu.ad5001.LogarithmPlotter.metainfo.xml index 78afcc0..43f8ded 100644 --- a/eu.ad5001.LogarithmPlotter.metainfo.xml +++ b/eu.ad5001.LogarithmPlotter.metainfo.xml @@ -1,7 +1,6 @@ - eu.ad5001.LogarithmPlotter eu.ad5001.LogarithmPlotter.desktop eu.ad5001.LogarithmPlotter.desktop