diff options
-rw-r--r-- | doc/README.md | 46 | ||||
-rw-r--r-- | modules/core/overrides/Gio.js | 7 |
2 files changed, 32 insertions, 21 deletions
diff --git a/doc/README.md b/doc/README.md index 306e7695..887045ff 100644 --- a/doc/README.md +++ b/doc/README.md @@ -50,34 +50,44 @@ new project and select `JavaScript` language. There is a also a [package specification]: https://gitlab.gnome.org/GNOME/gjs/-/blob/HEAD/doc/Package/Specification.md [template]: https://github.com/gcampax/gtk-js-app -GNOME Applications written in GJS: +Here is a non-exhaustive list of applications written in GJS: -* [GNOME Characters](https://gitlab.gnome.org/GNOME/gnome-characters) -* [GNOME Documents](https://gitlab.gnome.org/GNOME/gnome-documents) -* [GNOME Maps](https://gitlab.gnome.org/GNOME/gnome-maps) -* [GNOME Sound Recorder](https://gitlab.gnome.org/GNOME/gnome-sound-recorder) -* [GNOME Weather](https://gitlab.gnome.org/GNOME/gnome-weather) -* [GNOME Books](https://gitlab.gnome.org/GNOME/gnome-books) -* [Polari](https://gitlab.gnome.org/GNOME/polari) IRC Client - -Third party applications written in GJS: +GNOME Apps +* [Characters](https://gitlab.gnome.org/GNOME/gnome-characters) +* [Maps](https://gitlab.gnome.org/GNOME/gnome-maps) +* [Weather](https://gitlab.gnome.org/GNOME/gnome-weather) +* [Extensions](https://gitlab.gnome.org/GNOME/gnome-shell/-/tree/HEAD/subprojects/extensions-app) +* [Polari](https://gitlab.gnome.org/GNOME/polari) * [Tangram](https://github.com/sonnyp/Tangram) -* [Quick Lookup](https://github.com/johnfactotum/quick-lookup) -* [Foliate](https://github.com/johnfactotum/foliate) -* [Marker](https://github.com/fabiocolacio/Marker) -* [Gnomit](https://github.com/small-tech/gnomit) -* [Clapper](https://github.com/Rafostar/clapper/) * [Flatseal](https://github.com/tchx84/Flatseal) -* [Almond](https://github.com/stanford-oval/almond-gnome/) * [Commit](https://github.com/sonnyp/commit/) * [Junction](https://github.com/sonnyp/Junction) * [Oh My SVG](https://github.com/sonnyp/OhMySVG) -* [Lobjur](https://github.com/ranfdev/Lobjur) +* [Workbench](https://github.com/sonnyp/Workbench) +* [GNOME Sound Recorder](https://gitlab.gnome.org/GNOME/gnome-sound-recorder) (TypeScript) + +Others + + +* [Quick Lookup](https://github.com/johnfactotum/quick-lookup) +* [Foliate](https://github.com/johnfactotum/foliate) +* [Clapper](https://github.com/Rafostar/clapper/) +* [Almond](https://github.com/stanford-oval/almond-gnome/) +* [Lobjur](https://github.com/ranfdev/Lobjur) (Clojure) * [Touché](https://github.com/JoseExposito/touche) * [Annex](https://github.com/andyholmes/annex) * [Bolso](https://github.com/felipeborges/bolso) -* [Workbench](https://github.com/sonnyp/Workbench) +* [Design](https://github.com/dubstar-04/Design) +* [Capsule](https://gitlab.gnome.org/verdre/Capsule) +* [Spiel](https://gitlab.gnome.org/feaneron/spiel) +* [Retro](https://github.com/sonnyp/Retro) +* [libportal test](https://github.com/flatpak/libportal/tree/main/portal-test/gtk4) + +Archived + +* [GNOME Books](https://gitlab.gnome.org/GNOME/gnome-books) +* [GNOME Documents](https://gitlab.gnome.org/GNOME/gnome-documents) ### GNOME Shell Extensions diff --git a/modules/core/overrides/Gio.js b/modules/core/overrides/Gio.js index 85fcde98..f7629ea8 100644 --- a/modules/core/overrides/Gio.js +++ b/modules/core/overrides/Gio.js @@ -625,7 +625,8 @@ function _init() { } }; - Gio.InputStream.prototype.createAsyncIterator = async function* createAsyncIterator(count, ioPriority = Gio.PRIORITY_DEFAULT) { + Gio.InputStream.prototype.createAsyncIterator = async function* createAsyncIterator( + count, ioPriority = GLib.PRIORITY_DEFAULT) { const self = this; function next() { @@ -670,7 +671,7 @@ function _init() { function next() { return new Promise((resolve, reject) => { - self.next_files_async(1, Gio.PRIORITY_DEFAULT, null, (_self, res) => { + self.next_files_async(1, GLib.PRIORITY_DEFAULT, null, (_self, res) => { try { const files = self.next_files_finish(res); resolve(files.length === 0 ? null : files[0]); @@ -683,7 +684,7 @@ function _init() { function close() { return new Promise((resolve, reject) => { - self.close_async(Gio.PRIORITY_DEFAULT, null, (_self, res) => { + self.close_async(GLib.PRIORITY_DEFAULT, null, (_self, res) => { try { resolve(self.close_finish(res)); } catch (err) { |