From 4c696fd861d737bfaefb79c58b4c08dc4eecfd12a6a5e9b6c15ad302e15feb46 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 20 Mar 2023 12:48:22 +0000 Subject: [PATCH] Accepting request 1072902 from GNOME:Next New stable release OBS-URL: https://build.opensuse.org/request/show/1072902 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=219 --- gjs-1.74.2.tar.xz | 3 -- gjs-1.76.0.tar.xz | 3 ++ gjs.changes | 73 +++++++++++++++++++++++++++++++++++++++++++++++ gjs.spec | 4 +-- 4 files changed, 78 insertions(+), 5 deletions(-) delete mode 100644 gjs-1.74.2.tar.xz create mode 100644 gjs-1.76.0.tar.xz diff --git a/gjs-1.74.2.tar.xz b/gjs-1.74.2.tar.xz deleted file mode 100644 index 323eecc..0000000 --- a/gjs-1.74.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a406fd6a1652cf66dcab228062bd16a75f5b3378248dfbbbe016b212744a30b6 -size 639012 diff --git a/gjs-1.76.0.tar.xz b/gjs-1.76.0.tar.xz new file mode 100644 index 0000000..599a575 --- /dev/null +++ b/gjs-1.76.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a63f156964b136053eab51ea013114e7d7c193b7518d28c040b6b02c3c933a6d +size 645364 diff --git a/gjs.changes b/gjs.changes index 685773b..b931363 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Sun Mar 19 07:52:52 UTC 2023 - Bjørn Lie + +- Update to version 1.76.0: + + No changes from release candidate 1.75.90. + +------------------------------------------------------------------- +Mon Mar 6 11:26:07 UTC 2023 - Bjørn Lie + +- Update to version 1.75.90: + + Closed bugs and merge requests: + - NEWS: fix a typo causing codespell to fail + - doc: Add more apps written in GJS + - Gio: Use proper default priority on async generators + - gjs 1.75.2 GObjectValue build test failing on ARM + - testGObjectValue: Enable creating object with a string + property + - Handle transfer-none string return value from vfunc + implemented in JS + - Various maintenance, performance improvements + +------------------------------------------------------------------- +Fri Feb 24 12:43:35 UTC 2023 - Bjørn Lie + +- Update to version 1.75.2: + + There are new `Gio.Application.prototype.runAsync()` and + `GLib.MainLoop.prototype.runAsync()` methods which do the same + thing as `run()` but return a Promise which resolves when the + main loop ends, instead of blocking while the main loop runs. + Use one of these methods (by awaiting it) if you use async + operations with Promises in your application. Previously, it + was easy to get into a state where Promises never resolved if + you didn't run the main loop inside a callback. + + There are new `Gio.InputStream.prototype.createSyncIterator()` + and `Gio.InputStream.prototype.createAsyncIterator()` methods + which allow easy iteration of input streams in consecutive + chunks of bytes, either with a for-of loop or a for-await-of + loop. + + DBus proxy wrapper classes now have a static `newAsync()` + method, which returns a Promise that resolves to an instance of + the proxy wrapper class on which `initAsync()` has completed. + + DBus property getters can now return GLib.Variant instances + directly, if they have the correct type, instead of returning + JS values and having them be packed into GLib.Variants. + + Dramatic performance improvements in the legacy + `imports.signals` module, which has also gained a + `connectAfter()` method that works like the same-named method + in GObject signals. (However, the signals module remains + legacy, and is mostly there for historical reasons with GNOME + Shell. Don't use it in new code.) + + For years we have had a typo in `Cairo.LineCap.SQUARE`, + incorrectly naming it `SQUASH`. This is fixed and the typoed + name is retained as an alias. + + Also in Cairo, the value of `Cairo.Format.RGB16_565` was wrong. + This was fixed with a breaking change, because anyone using it + was probably already not getting the results they expected. + + Continuing the Cairo improvements, SVG surfaces have gained + `Cairo.SVGSurface.prototype.finish()` and + `Cairo.SVGSurface.prototype.flush()` because previously SVG + surfaces were only written to disk when the SVGSurface object + was garbage collected, making it uncertain to rely on them. + + The debugger now handles Symbol values and Symbol property keys + of objects. Previously, these were not displayed correctly. + + Various type-safety refactors. + + Many bug fixes and performance improvements. + +------------------------------------------------------------------- +Tue Feb 21 10:24:52 UTC 2023 - Dominique Leuenberger + +- Update to version 1.75.1: + + Static methods on classes from GObject introspection are now + present on JS classes that inherit from those classes. + ------------------------------------------------------------------- Tue Feb 21 10:24:51 UTC 2023 - Bjørn Lie diff --git a/gjs.spec b/gjs.spec index 7961695..f80ae36 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,14 +17,14 @@ Name: gjs -Version: 1.74.2 +Version: 1.76.0 # FIXME # Disable tests for unstable 1.71.1 - Try tests again on next versionbump Release: 0 Summary: JavaScript bindings based on gobject-introspection and Mozilla License: LGPL-2.0-or-later AND MIT Group: Development/Libraries/GNOME URL: https://wiki.gnome.org/Projects/Gjs -Source0: https://download.gnome.org/sources/gjs/1.74/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gjs/1.76/%{name}-%{version}.tar.xz BuildRequires: c++_compiler BuildRequires: git