diff --git a/README.md b/README.md index 52dfcf5e8..0d9dc0e5d 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Among other things, Workbench comes with - Live GTK/CSS preview - Library of 100+ examples + - JavaScript, Rust, Python and Vala support - Declarative user interface syntax - Autosave, sessions and projects @@ -32,8 +33,8 @@ Among other things, Workbench comes with | ---------- | --------- | ------ | ---------------- | | JavaScript | ✅ | ✅ | 99 | | Python | ✅ | ✅ | 92 | -| Vala | ✅ | ✅ | 92 | -| Rust | ✅ | ✅ | 45 | +| Vala | ✅ | ✅ | 91 | +| Rust | ✅ | ✅ | 52 | | Blueprint | ✅ | ✅ | | | CSS | ✅ | ✅ | | diff --git a/build-aux/modules/gom.json b/build-aux/modules/gom.json index 87c8bd238..586b5222c 100644 --- a/build-aux/modules/gom.json +++ b/build-aux/modules/gom.json @@ -6,7 +6,7 @@ { "type": "archive", "url": "https://download.gnome.org/sources/gom/0.5/gom-0.5.3.tar.xz", - "sha256": "814fdbf0e0f352e067c6118af5f7454b41e9ef49" + "sha256": "069d0909fbdc6b4d27edf7a879366194e3ab508b03548bf5b89ff63546d20177" } ] } diff --git a/build-aux/re.sonny.Workbench.Devel.json b/build-aux/re.sonny.Workbench.Devel.json index 4077399d8..6b04fb2b3 100644 --- a/build-aux/re.sonny.Workbench.Devel.json +++ b/build-aux/re.sonny.Workbench.Devel.json @@ -43,6 +43,7 @@ "modules/libshumate.json", "modules/libportal.json", "modules/libspelling.json", + "modules/gom.json", "modules/GTKCssLanguageServer.json", "modules/python-python-lsp-server.json", "modules/python-ruff.json", diff --git a/build-aux/re.sonny.Workbench.json b/build-aux/re.sonny.Workbench.json index 80c020a35..6ffa94ec9 100644 --- a/build-aux/re.sonny.Workbench.json +++ b/build-aux/re.sonny.Workbench.json @@ -43,6 +43,7 @@ "modules/libshumate.json", "modules/libportal.json", "modules/libspelling.json", + "modules/gom.json", "modules/GTKCssLanguageServer.json", "modules/python-python-lsp-server.json", "modules/python-ruff.json", diff --git a/build-aux/wip/run.js b/build-aux/wip/run.js index cbf0fea9c..57a7f8faf 100755 --- a/build-aux/wip/run.js +++ b/build-aux/wip/run.js @@ -65,11 +65,6 @@ if (!exists(`${path}/.flatpak/repo`)) { ]); } -if (!exists(`${path}/.flatpak/flatpak-builder`)) { - await downloadSources(); - await buildModules(); -} - const prefix = [ "flatpak-builder", "--ccache", @@ -99,6 +94,11 @@ async function buildModules() { ]); } +if (!exists(`${path}/.flatpak/flatpak-builder`)) { + await downloadSources(); + await buildModules(); +} + // builds workbench if (!exists(`${path}/_build`)) { await buildCommand([ diff --git a/data/app.metainfo.xml b/data/app.metainfo.xml index 2b16846f2..6365a1c7d 100644 --- a/data/app.metainfo.xml +++ b/data/app.metainfo.xml @@ -48,12 +48,14 @@

Library:

Dependencies:

diff --git a/src/Previewer/Internal.js b/src/Previewer/Internal.js index 30b3f2276..4c7d56cd8 100644 --- a/src/Previewer/Internal.js +++ b/src/Previewer/Internal.js @@ -132,7 +132,7 @@ export default function Internal({ const prop_name = prop.get_name(); // AdwWindow and AdwApplicationWindow have child and titlebar properties but do not support setting them // "Using gtk_window_get_titlebar() and gtk_window_set_titlebar() is not supported and will result in a crash." - // https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.5/class.Window.html + // https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.6/class.Window.html // https://github.com/workbenchdev/Workbench/issues/130 if ( (object_preview instanceof Adw.Window ||