diff --git a/.gitignore b/.gitignore index dd43831..f610358 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ AppDir .flatpak-builder +.kdev4 +*.kdev4 diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 9d172ac..70af1ad 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -1,15 +1,23 @@ { "app-id": "eu.ad5001.LogarithmPlotter", "runtime": "org.kde.Platform", - "runtime-version": "5.15", + "runtime-version": "5.15-21.08", "sdk": "org.kde.Sdk", "finish-args": [ "--share=ipc", "--device=dri", "--socket=fallback-x11", "--socket=wayland", - "--filesystem=home" + "--filesystem=home", + "--env=PATH=/app/bin:/usr/bin:/app/texlive-bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux" ], + "add-extensions": { + "org.freedesktop.Sdk.Extension.texlive": { + "directory": "texlive", + "version": "21.08" + } + }, + "sdk-extensions": ["org.freedesktop.Sdk.Extension.llvm12"], "command": "logarithmplotter", "rename-desktop-file": "logarithmplotter.desktop", "rename-icon": "logplotter", @@ -18,6 +26,10 @@ "name": "PySide2", "buildsystem": "cmake-ninja", "builddir": true, + "build-options": { + "prepend-path": "/usr/lib/sdk/llvm12/bin", + "prepend-ld-library-path": "/usr/lib/sdk/llvm12/lib" + }, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DBUILD_TESTS=OFF" @@ -25,8 +37,8 @@ "sources": [ { "type": "archive", - "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.2-src/pyside-setup-opensource-src-5.15.2.tar.xz", - "sha256": "b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418" + "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", @@ -38,24 +50,45 @@ ] }, + { + "name": "texlive", + "buildsystem": "simple", + "build-commands": [ + "install -d /app/texlive" + ] + }, { "name": "LogarithmPlotter", "buildsystem": "simple", + "build-options": { + "env": { + "MIME_PATH": "/app/share/mime/packages", + "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes", + "CHANGELOG_PATH": "" + } + }, "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", - "cp CHANGELOG.md LogarithmPlotter/ # Copy changelog into the directory.", - "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app" + "mv eu.ad5001.LogarithmPlotter.metainfo.xml linux/eu.ad5001.LogarithmPlotter.metainfo.flatpak.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." ], "post-install": [ - "mv /app/share/mime/packages/x-logarithm-plot.xml /app/share/mime/packages/eu.ad5001.LogarithmPlotter.xml" + "mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml", + "sed -i 's/application-x-logarithm-plot/eu.ad5001.LogarithmPlotter-application-x-logarithm-plot/g' ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml", + "mv ${ICON_PATH}/application-x-logarithm-plot.svg ${ICON_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.svg" ], "sources": [ { "type": "git", "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter", - "tag": "v0.1.8", - "commit": "d34701b9804b5dabd01104d98c5706d284098f1d" + "tag": "v0.2.0", + "commit": "cb733a556cae1751920d03c480627b44e3833ac7" + }, + { + "type": "file", + "path": "eu.ad5001.LogarithmPlotter.metainfo.xml" } ] } diff --git a/eu.ad5001.LogarithmPlotter.metainfo.xml b/eu.ad5001.LogarithmPlotter.metainfo.xml new file mode 100644 index 0000000..6bcfa7b --- /dev/null +++ b/eu.ad5001.LogarithmPlotter.metainfo.xml @@ -0,0 +1,454 @@ + + + + eu.ad5001.LogarithmPlotter + eu.ad5001.LogarithmPlotter.desktop + eu.ad5001.LogarithmPlotter.desktop + CC0-1.0 + GPL-3.0+ + + LogarithmPlotter + http://apps.ad5001.eu/icons/apps/svg/logarithmplotter.svg + 2D logarithmic-scaled plotter software to make Bode plots, sequences and distribution functions + 2D-Grafiksoftware mit logarithmischer Skalierung zur Erstellung von Bode-Diagramms, Folgen und Verteilungsfunktionen + Logiciel de traçage 2D pour les diagrammes de Bode, les suites et les fonctions de répartition + Síkbeli ábrázolásszoftver Bode-ábrák, sorozatok és eloszlási funkciók készítéséhez + 2D-plotterprogramvare laget for opprettelse av Bode-diagram, sekvenser, og distribusjonsfunksjoner + + +

+ LogarithmPlotter is, as it's name suggests, a plotter made with logarithm scales in mind. With an object system similar to Geogebra's, it allows dynamic creation of both logarithmic-scaled and non logarithmic-scaled plots with very few limitations. +

+

+ It's primary use is to quickly create asymptotic Bode plots, but it's extensible nature and ability to switch to non-logarithmic scales allow it to create other things with it, like sequences or statistical repartition functions. +

+

Features:

+ +

LogarithmPlotter is available in:

+ +

Learn more: https://apps.ad5001.eu/logarithmplotter/

+

+ LogarithmPlotter est, comme son nom l'indique, un créateur de graphes et diagrammes 2D réalisé avec l'échelle logarithmique en tête. Avec un système d'objets similaire à Geogebra, ce qui lui permet de créer des graphes à échelle logarithmique et non logarithmique avec peu de limitations. +

+

+ Son intérêt principal est de permettre de créer des diagrammes asymptotiques de Bode, mais sa nature extensible et sa capacité à passer à une échelle non-logarithmique lui permet de créer d'autres choses. +

+

Fonctionnalités:

+ +

LogarithmPlotter est disponible en:

+ +

En savoir plus: https://apps.ad5001.eu/fr/logarithmplotter/

+

+ A LogarithmPlotter egy logaritmus-ábrázoló, amely logaritmikus léptékek figyelembevételével készült. A Geogebrához hasonló objektumrendszerrel dinamikus parcellák létrehozását teszi lehetővé, nagyon kevés korlátozással. +

+

+ Elsődleges felhasználása az aszimptotikus Bode-ábrák gyors létrehozása, de bővíthető jellege és a nem logaritmikus skálákra váltás lehetősége lehetővé teszi, hogy más dolgokat is létrehozzon vele, például sorozatokat vagy statisztikai újraosztási függvényeket. +

+
+ + + Science + Education + Qt + + + https://apps.ad5001.eu/logarithmplotter/ + https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues/ + https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/ + https://hosted.weblate.org/engage/logarithmplotter/ + + https://apps.ad5001.eu/img/full/logarithmplotter.png + https://apps.ad5001.eu/img/en/logarithmplotter/phase.png + https://apps.ad5001.eu/img/en/logarithmplotter/welcome.png + https://apps.ad5001.eu/img/de/gain.png + https://apps.ad5001.eu/img/de/logarithmplotter/phase.png + https://apps.ad5001.eu/img/de/logarithmplotter/welcome.png + https://apps.ad5001.eu/img/fr/gain.png + https://apps.ad5001.eu/img/fr/logarithmplotter/phase.png + https://apps.ad5001.eu/img/fr/logarithmplotter/welcome.png + 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 + + + + + medium + + + + + xlarge + xsmall + + + + + +

Changes for v0.2.0:

+

New

+
    +
  • (EXPERIMENTAL) LogarithmPlotter now has an optional LaTeX integration.
  • +
  • It requires a LaTeX installation, including `latexmk` and `dvipng` available in the PATH.
  • +
  • NOTE: LaTeX support is disabled by default and is only for working for the rendering on the graph.
  • +
  • NOTE: The objects and history tab still use the legacy text based expression rendering.
  • +
  • Thanks and contributions dialog, showing included libraries and translations, their license and author(s).
  • +
  • LaTeX rendering can be disabled for texts, even if LaTeX is enabled.
  • +
+

Changes

+
    +
  • History re/undos only redraw the graph every 4 change at most in order to speed up the process when re/undoing a lot of changes.
  • +
  • Gradients are no longer hidden when filtered out in the history tab.
  • +
+

Added translations

+
    +
  • LaTeX options and error messages
  • +
  • Thanks and contribution dialog
  • +
  • New option for text.
  • +
  • Fixed translation of "repartition" which should be "distribution" in certain remaining strings.
  • +
+

Fixed bugs

+
    +
  • (macos) #1 - Opening files don't work on compiled versions of LogarithmPlotter on MacOS
  • +
  • (snapcraft) Fixed bug preventing from launching LogarithmPlotter. This fix has been backported to v0.1.8.
  • +
  • (snapcraft) Files are now properly opened.
  • +
  • (snapcraft) Added changelog support.
  • +
+

Internal changes

+
    +
  • Moved python modules to "util" directory for more clarity.
  • +
  • Moved flatpak metainfo to eu.ad5001.LogarithmPlotter repository.
  • +
  • Componented the Mathlib library in order to have a more readable source.
  • +
  • Added documentation for most internal JavaScript modules.
  • +
  • Merge label drawing methods due to it's complexity.
  • +
  • (flatpak) Updated SDK version to v5.15-21.08.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.2.0/logarithmplotter-v0.2.0-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.2.0/LogarithmPlotter-v0.2.0-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.2.0/logarithmplotter-0.2.0.tar.gz + + +
+ + +

Changes for v0.1.8:

+

New

+
    +
  • There is now a user manual for LogarithmPlotter! Contributions apprecriated.
  • +
+

Changes

+
    +
  • A link to LogarithmPlotter's official website has been added in the about dialog.
  • +
  • A link to the user manual has been added both on the greeting screen and the `Help` menu.
  • +
+

Added translations

+
    +
  • User manual.
  • +
  • Official website.
  • +
+

Fixed bugs

+
    +
  • The label position of X Cursors now display the label even when unexpected values are entered.
  • +
  • X Cursors target object in history are now properly rendered when no object were selected
  • +
  • Fixed slight clipping at the bottom of the border.
  • +
  • TextInput no longer allow to input forbidden characters for numbers.
  • +
  • ALT+ shortcuts on the menu bar now work. NOTE: May break some mobile configuration. Qt bug report
  • +
  • (flatpak) Buttons on side menu to create object now have proper width on startup.
  • +
+

Internal changes

+
    +
  • There is now a script to generate offline versions of the manual based on their online version.
  • +
  • Sidebar button width is now fixed.
  • +
  • Artifacts have been added to appstream metadata.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/LogarithmPlotter-v0.1.8-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-0.1.8.tar.gz + + +
+ + +

Changes for v0.1.7:

+

New

+
    +
  • The history browser has been completly redesigned, improving UX.
  • +
  • The history browser now features a filter bar.
  • +
  • All side panel tabs now have a visually identifiable scrollbar.
  • +
+

Changes

+
    +
  • Shorter rich text representations of history entries to improve readability.
  • +
  • Usage of gradiants and icons to better identify history entries at a glance.
  • +
  • History entries are now showing the whole label on several lines, instead of cutting it at the end.
  • +
  • New history action for renaming.
  • +
  • New history action for coloring. Note: color changing history entries created in previous versions of LogarithmPlotter will not be updated.
  • +
  • Tooltips for object creation buttons have been added.
  • +
  • Tooltips have been set to have a delay of 200ms to match most software's handling of them.
  • +
  • Object creation buttons now have a unified style accross all platforms.
  • +
+

Added translations

+
    +
  • History action of renaming objects.
  • +
  • History action of changing the color of objects.
  • +
  • Filtering for history browser.
  • +
+

Fixed bugs

+
    +
  • Visibility history actions (shown and hidden) are now properly savedmaking loading them not automaticly changed to "Show".
  • +
  • Name changes history actions are now properly saved.
  • +
  • Non translated object type on the "+ Create new object" item selection combobox for Bode Magnitude and Phase.
  • +
  • Proper handling for future LogarithmPlotter files.
  • +
  • Shortcuts not being displayed in the menu bar are now properly shown.
  • +
  • (flatpak) Black versions of the icons when using a black theme with the KDE SDK.
  • +
  • (debian) Fixed launchpad building properly.
  • +
+

Internal changes

+
    +
  • Better organisation on icons.
  • +
  • Historylib has been separated in several files.
  • +
  • Trying to switch metainfo once more to try and fix another bug.
  • +
  • Keywords added to metainfo.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/LogarithmPlotter-v0.1.7-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-0.1.7.tar.gz + + +
+ + +

Changes for v0.1.6:

+

New

+
    +
  • A new changelog popup is available at startup and in the help menu.
  • +
+

Added translations

+
    +
  • Object properties names.
  • +
  • Object properties enum values.
  • +
  • Object comments.
  • +
  • Most elements using a ":".
  • +
+

Fixed bugs

+
    +
  • X Cursor's targets can now be set to null.
  • +
  • History now imports domains and objects properly.
  • +
  • Proper handling for future LogarithmPlotter files.
  • +
  • (debian) Fixing bug that created a /build directory and didn't put the icons in the right directories.
  • +
+

Other

+
    +
  • Other: Refractoring done on helper.
  • +
  • Other: All QML elements are now properly commented.
  • +
  • Other: Scripts have been moved to it's own directory.
  • +
  • Other: Added changelog to metainfo for flathub.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/LogarithmPlotter-v0.1.6-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-0.1.6.tar.gz + + +
+ + +

Changes for v0.1.5:

+

New

+
    +
  • LogarithmPlotter has now better handling of very high values in logarithmic scale.
  • +
+

Added translations

+
    +
  • Flatpak metadata, including translated image.
  • +
+

Fixed bugs

+
    +
  • (!) File saving dialog was not working.
  • +
  • (!) Debian packages does include any language file.
  • +
  • X Cursor pointing does not detect any object.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/LogarithmPlotter-v0.1.5-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-0.1.5.tar.gz + + +
+ + +

Changes for v0.1.4:

+

New

+
    +
  • LogarithmPlotter detects unsaved changes.
  • +
  • LogarithmPlotter is now translated!
  • +
  • New translation: English by Ad5001: 100%
  • +
  • New translation: French by Ad5001: 100%
  • +
  • New translation: German by Ad5001: 100%
  • +
  • New translation: Hungarian by Óvári (@ovari on github): 100%
  • +
  • New translation: Norvegian by Allan Nordhøy (@comradekingu on github): 80%
  • +
+

Fixed bugs

+
    +
  • Fixed bug: No notification when closing LogarithmPlotter with unsaved changes.
  • +
  • Fixed bug: π unavailable in symbols.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/LogarithmPlotter-v0.1.4-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-0.1.4.tar.gz + + +
+ + +

Changes for v0.1.3:

+

Fixed bugs

+
    +
  • Sandboxed packages (snapcraft and flatpak) won't show error messages related to update checks.
  • +
  • Equations of the form (x + y) / z were not being simplified properly.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/LogarithmPlotter-v0.1.3-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-0.1.3.tar.gz + + +
+ + +

Changes for v0.1.2:

+

Fixed bugs

+
    +
  • Unable to move Bode diagrams elements when having deleted the sum element.
  • +
  • Names were not not being changed from previous object when editing a new one.
  • +
  • Bode Magnitude was not drawn far enough.
  • +
  • Bode Magnitude had undefined ending.
  • +
  • Other bugs patched in v0.1.1.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/LogarithmPlotter-v0.1.2-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-0.1.2.tar.gz + + +
+ + +

Changes for v0.1:

+
    +
  • Initial release.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1/logarithmplotter-v0.1-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1/LogarithmPlotter-v0.1-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1/logarithmplotter-0.1.tar.gz + + +
+
+ + + Ad5001 + mail@ad5001.eu + + + Plot + Plotter + Log + Logarithm + Logarithmic + Bode + Magnitude + Diagram + Graph + Phase + Sequence + Distribution + +
+ +