From 605f9d3d04ded248f91bbbb5ad42b954f3d0bcd46f8ea494028aed2cf1629485 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 13 Sep 2022 07:32:42 +0000 Subject: [PATCH] Accepting request 1002620 from GNOME:Next GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already) OBS-URL: https://build.opensuse.org/request/show/1002620 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=211 --- gjs-1.72.2.tar.xz | 3 -- gjs-1.73.2.tar.xz | 3 ++ gjs.changes | 93 +++++++++++++++++++++++++++++++++++++++++++++++ gjs.spec | 8 ++-- 4 files changed, 100 insertions(+), 7 deletions(-) delete mode 100644 gjs-1.72.2.tar.xz create mode 100644 gjs-1.73.2.tar.xz diff --git a/gjs-1.72.2.tar.xz b/gjs-1.72.2.tar.xz deleted file mode 100644 index ba564a6..0000000 --- a/gjs-1.72.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddee379bdc5a7d303a5d894be2b281beb8ac54508604e7d3f20781a869da3977 -size 620380 diff --git a/gjs-1.73.2.tar.xz b/gjs-1.73.2.tar.xz new file mode 100644 index 0000000..13b65e2 --- /dev/null +++ b/gjs-1.73.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf2b84b174a049c911a69ec619f4c5ca6b96d609be5200ca3db5131c98beda75 +size 626840 diff --git a/gjs.changes b/gjs.changes index b23bda8..1d570e2 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,96 @@ +------------------------------------------------------------------- +Fri Aug 26 18:31:37 UTC 2022 - Bjørn Lie + +- Update to version 1.73.2: + + New JavaScript features! This version of GJS is based on + SpiderMonkey 102, an upgrade from the previous ESR (Extended + Support Release) of SpiderMonkey 91. Here are the highlights of + the new JavaScript features. For more information, look them up + on MDN or devdocs.io. + + New APIs + - The `Object.hasOwn()` static method can be used as an easier + replacement for `Object.prototype.hasOwnProperty.call(...)`. + - `Intl.supportedValuesOf()` lets you enumerate which + calendars, currencies, collation strategies, numbering + systems, time zones, and units are available for + internationalization. + + It's now possible to use + `GObject.BindingGroup.prototype.bind_full()` with JS functions. + Previously this method was unusable in JS. + + Gio.FileEnumerator is now iterable, both synchronously (with + for-of or array spread syntax) and asynchronously (with + for-await-of). + + Performance improvements in the built-in `imports.signals` + module. + + Many improvements to the examples and documentation. + + Closed bugs and merge requests: + - Spidermonkey 102 + - Object connections / signal emissions optimizations + - tests/Gio: Cleanup Gio._promisify + - Include JUnit reports in builds + - Integrate pretty print to the debugger + - doc: + . Edit GJS description + . note the version `constructor()` became supported + . Modernize examples + . Document byteArray deprecation and migration + . add simple Gtk.TickCallback example + - build: disable sysprof agent for subproject fallback + - Update CI images + - GListModel.get_n_items returns garbage value + - Add override for g_binding_group_bind_full() + - Make GFileEnumerator iterable and async iterable +- Replace pkgconfig(mozjs-91) with pkgconfig(mozjs-102) + BuildRequires following upstreams changes. + +------------------------------------------------------------------- +Tue Aug 9 12:23:46 UTC 2022 - Bjørn Lie + +- Update to version 1.73.1: + + The interactive interpreter now displays its output more + intelligently, pretty-printing the properties and values of + objects based on their type. This improvement also applies to + the log() and logError() functions. + + New API: DBus proxy classes now include methods named with the + suffix 'Async', which perform async calls to DBus APIs and + return Promises. This is in addition to the existing suffixes + 'Sync' (for blocking calls) and 'Remote' (for async calls with + callbacks.) + + There is an override for + Gio.ActionMap.prototype.add_action_entries(). Previously this + method wouldn't work because it required an array of + Gio.ActionEntry objects, which are not possible to construct in + GJS. Now it can be used with an array of plain objects. (e.g. + `this.add_action_entries + ([{name: 'open', activate() { ... }}]);` + + GJS is now compatible with libffi 3.4.2 and later. All earlier + versions of GJS are not compatible with libffi 3.4.2 and later + unless libffi is built with the --disable-exec-static-tramp + flag. + + GJS now requires Meson 0.54 to build. + + Closed bugs and merge requests: + - Verbose Object Print Output + - Add support for JS async calls in DBusProxyWrapper + - Crash after build against libffi 3.4.2 + - Handle reference cycles in new console pretty print function + - Gnome-Shell 42 - crash after login (general protection fault) + - Various maintenance + - jsapi-util-strings: Ignore locale to compute the upper case + of a char (i.e. fix implicit properties on Turkish locale) + - Dockerfile: Install Turkish locale in CI for UTF-8 locale too + - Improve pretty-print output for GObject-introspected objects + - Expose pretty print function to tests + - build: track changes to Sysprof meson options + - Make Gio.ActionMap.add_action_entries work + - Make DBus session and system props non-enumerable + - gi/arg-inl: Mark the arg functions as constexpr + - build: Do not use verbose GJS debug logging in tests by + default + - minijasmine: Print test JS errors output if any + - doc: document the existence of the console object in GJS + - arg-cache: Use a switch to select the not-introspectable error + - log_set_writer_func is not safe to use + ------------------------------------------------------------------- Mon Aug 8 08:39:36 UTC 2022 - Bjørn Lie diff --git a/gjs.spec b/gjs.spec index 775fd09..2ef9718 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,18 +17,18 @@ Name: gjs -Version: 1.72.2 +Version: 1.73.2 # 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.72/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gjs/1.73/%{name}-%{version}.tar.xz BuildRequires: c++_compiler BuildRequires: git -BuildRequires: meson >= 0.52.0 +BuildRequires: meson >= 0.54.0 BuildRequires: pkgconfig BuildRequires: readline-devel %if 0%{?sle_version} && 0%{?sle_version} <= 150400 @@ -48,7 +48,7 @@ BuildRequires: pkgconfig(gthread-2.0) >= 2.50.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libffi) -BuildRequires: pkgconfig(mozjs-91) +BuildRequires: pkgconfig(mozjs-102) # Hack - fix sysprof static devel requires instead BuildRequires: pkgconfig(sysprof-4) BuildRequires: pkgconfig(sysprof-capture-4)