From 156c9a84539da99266f118470e9115c7dcd648fe Mon Sep 17 00:00:00 2001 From: jyamihud Date: Thu, 12 May 2022 22:02:48 +0300 Subject: [PATCH] Added a bunch / Fixed a bug in Editor --- apps/gnumeric.json | 47 ++++++++++++++ apps/k3d.json | 51 +++++++++++++++ apps/libre-office-calc.json | 104 ++++++++++++++++++++++++++++++ apps/libre-office-draw.json | 67 +++++++++++++++++++ apps/libre-office-writer.json | 117 ++++++++++++++++++++++++++++++++++ apps/wings-3d.json | 35 ++++++++++ editor.py | 4 +- 7 files changed, 424 insertions(+), 1 deletion(-) create mode 100644 apps/gnumeric.json create mode 100644 apps/k3d.json create mode 100644 apps/libre-office-calc.json create mode 100644 apps/libre-office-draw.json create mode 100644 apps/libre-office-writer.json create mode 100644 apps/wings-3d.json diff --git a/apps/gnumeric.json b/apps/gnumeric.json new file mode 100644 index 0000000..e4e517f --- /dev/null +++ b/apps/gnumeric.json @@ -0,0 +1,47 @@ +{ + "comment": "Gnumeric is a spreadsheet program that is part of the GNOME Free Software Desktop Project.", + "formats_read": [ + "csv", + "gnm", + "gnumeric", + "wks", + "ods" + ], + "formats_write": [ + "csv", + "gnumeric", + "gnm", + "wks", + "ods" + ], + "generic_name": [ + "Office", + "Spreadsheet" + ], + "interface": [ + "GTK" + ], + "issues": [], + "languages": [ + "C" + ], + "licenses": [ + "GPL-2.0", + "GPL-3.0" + ], + "links": { + "git": "https://gitlab.gnome.org/GNOME/gnumeric/", + "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Gnumeric.svg/64px-Gnumeric.svg.png", + "website": "http://gnumeric.org/", + "wikipedia": "https://en.wikipedia.org/wiki/Gnumeric" + }, + "names": [ + "Gnumeric" + ], + "networks_read": [], + "networks_write": [], + "platforms": [ + "GNU/Linux", + "BSD" + ] +} \ No newline at end of file diff --git a/apps/k3d.json b/apps/k3d.json new file mode 100644 index 0000000..74518a6 --- /dev/null +++ b/apps/k3d.json @@ -0,0 +1,51 @@ +{ + "comment": "K-3D is free-as-in-freedom 3D modeling and animation software. It combines flexible plugins with a visualization pipeline architecture, making K-3D a versatile and powerful tool for artists.", + "formats_read": [ + "obj", + "gts" + ], + "formats_write": [ + "obj", + "gts", + "jpg", + "png", + "tiff", + "exr", + "bmp", + "sun" + ], + "generic_name": [ + "3D Modeling", + "3D Animation" + ], + "interface": [ + "GTK" + ], + "issues": [], + "languages": [ + "C++", + "Python", + "C" + ], + "licenses": [ + "GPL-2.0" + ], + "links": { + "git": "https://github.com/K-3D/k3d", + "icon": "http://www.k-3d.org/k3d_logo.png", + "website": "http://www.k-3d.org/" + }, + "names": [ + "K-3D", + "k3d" + ], + "networks_read": [], + "networks_write": [], + "platforms": [ + "GNU/Linux", + "Windows", + "BSD", + "macOS", + "Solaris" + ] +} \ No newline at end of file diff --git a/apps/libre-office-calc.json b/apps/libre-office-calc.json new file mode 100644 index 0000000..67cc264 --- /dev/null +++ b/apps/libre-office-calc.json @@ -0,0 +1,104 @@ +{ + "comment": "The spreadsheet component of the LibreOffice software package.", + "formats_read": [ + "numbers", + "csv", + "dif", + "dbf", + "gnm", + "gnumeric", + "123", + "wks", + "wks1", + "wk2", + "wk3", + "wk4", + "xls", + "xlw", + "xlt", + "xlsx", + "xltx", + "xlsm", + "xltm", + "iqy", + "pxl", + "ods", + "fods", + "ots", + "sxc", + "stc", + "wb2", + "wq1", + "wq2", + "sdc", + "vor", + "slk" + ], + "formats_write": [ + "numbers", + "csv", + "dif", + "dbf", + "123", + "wks", + "wks1", + "wk2", + "wk3", + "wk4", + "xls", + "xlw", + "xlt", + "xlsx", + "xltx", + "xlsm", + "xltm", + "iqy", + "pxl", + "ods", + "fods", + "ots", + "sxc", + "stc", + "wb2", + "wq1", + "wq2", + "sdc", + "vor", + "slk" + ], + "generic_name": [ + "Office", + "Spreadsheet" + ], + "interface": [ + "Qt" + ], + "issues": [], + "languages": [ + "C", + "C++" + ], + "licenses": [ + "MPL-2.0", + "LGPL-3.0-or-later", + "Apache-2.0" + ], + "links": { + "git": "https://www.libreoffice.org/about-us/source-code/", + "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/LibreOffice_6.1_Calc_Icon.svg/64px-LibreOffice_6.1_Calc_Icon.svg.png", + "website": "https://www.libreoffice.org/discover/calc/", + "wikipedia": "https://en.wikipedia.org/wiki/LibreOffice_Calc" + }, + "names": [ + "LibreOffice Calc", + "Calc" + ], + "networks_read": [], + "networks_write": [], + "platforms": [ + "GNU/Linux", + "Windows", + "macOS", + "BSD" + ] +} \ No newline at end of file diff --git a/apps/libre-office-draw.json b/apps/libre-office-draw.json new file mode 100644 index 0000000..37d640a --- /dev/null +++ b/apps/libre-office-draw.json @@ -0,0 +1,67 @@ +{ + "comment": "A free and open source vector graphics editor. It is one of the applications included in the LibreOffice office suite, developed by The Document Foundation.", + "formats_read": [ + "pdf", + "odg", + "vsd", + "pub", + "ott", + "stw", + "oth", + "ots", + "stc", + "otp", + "sti", + "otg", + "std", + "vor", + "svg" + ], + "formats_write": [ + "odg", + "bmp", + "esp", + "gif", + "jpeg", + "png", + "psd", + "svg", + "wmf", + "html", + "xhtml", + "pdf", + "swf" + ], + "generic_name": [ + "Vector Graphics", + "Office" + ], + "interface": [ + "Qt" + ], + "issues": [], + "languages": [ + "C", + "C++" + ], + "licenses": [ + "MPL-2.0" + ], + "links": { + "git": "https://www.libreoffice.org/about-us/source-code/", + "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/LibreOffice_6.1_Draw_Icon.svg/64px-LibreOffice_6.1_Draw_Icon.svg.png", + "website": "https://www.libreoffice.org/discover/draw/", + "wikipedia": "https://en.wikipedia.org/wiki/LibreOffice_Draw" + }, + "names": [ + "LibreOffice Draw", + "Draw" + ], + "networks_read": [], + "networks_write": [], + "platforms": [ + "GNU/Linux", + "Windows", + "macOS" + ] +} \ No newline at end of file diff --git a/apps/libre-office-writer.json b/apps/libre-office-writer.json new file mode 100644 index 0000000..6b73ad8 --- /dev/null +++ b/apps/libre-office-writer.json @@ -0,0 +1,117 @@ +{ + "comment": "A free and open-source word processor and desktop publishing component of the LibreOffice software package and is a fork of OpenOffice.org Writer.", + "formats_read": [ + "odt", + "docx", + "doc", + "rtf", + "xhtml", + "pdf", + "html", + "abw", + "zabw", + "cwk", + "pages", + "pdb", + "lrf", + "xml", + "fb2", + "hwp", + "jtd", + "lwp", + "mw", + "mcw", + "psw", + "dot", + "dotx", + "docm", + "dotm", + "wps", + "wpt", + "wri", + "fodt", + "ott", + "sxw", + "stw", + "txt", + "utf-8", + "utf-16", + "ascii", + "602" + ], + "formats_write": [ + "odt", + "doc", + "docx", + "rtf", + "xhtml", + "pdf", + "html", + "abw", + "zabw", + "cwk", + "pages", + "pdb", + "lrf", + "xml", + "fb2", + "hwp", + "jtd", + "lwp", + "mw", + "mcw", + "psw", + "dot", + "dotx", + "docm", + "dotm", + "wps", + "wpt", + "wri", + "fodt", + "ott", + "sxw", + "stw", + "txt", + "ascii", + "utf-8", + "utf-16", + "602" + ], + "generic_name": [ + "Office", + "Text Editor", + "Word Processor" + ], + "interface": [ + "Qt" + ], + "issues": [], + "languages": [ + "C", + "C++" + ], + "licenses": [ + "MPL-2.0", + "LGPL-3.0-or-later", + "Apache-2.0" + ], + "links": { + "git": "https://www.libreoffice.org/about-us/source-code/", + "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/LibreOffice_6.1_Writer_Icon.svg/64px-LibreOffice_6.1_Writer_Icon.svg.png", + "website": "https://www.libreoffice.org/discover/writer/", + "wikipedia": "https://en.wikipedia.org/wiki/LibreOffice_Draw" + }, + "names": [ + "Writer", + "LibreOffice Writer" + ], + "networks_read": [], + "networks_write": [], + "platforms": [ + "GNU/Linux", + "Windows", + "macOS", + "BSD" + ] +} \ No newline at end of file diff --git a/apps/wings-3d.json b/apps/wings-3d.json new file mode 100644 index 0000000..2fd5dfa --- /dev/null +++ b/apps/wings-3d.json @@ -0,0 +1,35 @@ +{ + "comment": "Wings 3D is a free and open-source subdivision modeler inspired by Nendo and Mirai from Izware.", + "formats_read": [], + "formats_write": [], + "generic_name": [ + "3D Modeling" + ], + "interface": [], + "issues": [], + "languages": [ + "Erlang", + "C" + ], + "licenses": [ + "BSD-3-Clause", + "GPL-2.0" + ], + "links": { + "documentation": "http://www.wings3d.com/?page_id=87", + "git": "https://github.com/dgud/wings", + "icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Wings3d.png/64px-Wings3d.png", + "website": "http://www.wings3d.com/", + "wikipedia": "https://en.wikipedia.org/wiki/Wings_3D" + }, + "names": [ + "Wings 3D" + ], + "networks_read": [], + "networks_write": [], + "platforms": [ + "Windows", + "macOS", + "GNU/Linux" + ] +} \ No newline at end of file diff --git a/editor.py b/editor.py index 2fe5647..dfd7fa9 100644 --- a/editor.py +++ b/editor.py @@ -454,7 +454,9 @@ def links_updater(new): for i in linksbox.get_children(): i.destroy() - + + win.data_is["links"] = {} + for i in new: add_item_to_view(i, new[i]) win.data_is["links"][i] = new[i]