From 50dcfd69f10bc8b7262cc602564abb3dbfdaf6791884dade591c1c81a775b108 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 31 Aug 2017 07:45:40 +0000 Subject: [PATCH 1/5] Accepting request 519483 from GNOME:Next - Update to version 1.49.91: + Deprecation: The private "__name__" property on Lang.Class instances is now discouraged. Code should not have been using this anyway, but if it did then it should use the "name" property on the class (this.__name__ should become this.constructor.name), which is compatible with ES6 classes. + Closed bugs: - Use ES6 classes (bgo#785652). - A few fixes for stack traces and error reporting (bgo#786183). - /proc/self/stat is read for every frame if GC was not needed (bgo#786017). + Build fix. - Update to version 1.49.90: + New API: GObject.registerClass(), intended for use with ES6 classes. + Misc 1.49 and mozjs52 enhancements (bgo#785040). + Switch to native promises (bgo#784713). + Can't call exports using top-level variable toString (bgo#781623). + Properties no longer recognized when shadowed by a method (bgo#785091). + Backport of changes required for use with mozjs-55. - Changes from version 1.49.6: + GJS crash in needsPostBarrier, possible access from wrong thread (bgo#783935). - Changes from version 1.49.4: + This version of GJS is based on SpiderMonkey 52. + New language features OBS-URL: https://build.opensuse.org/request/show/519483 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=128 --- gjs-1.48.6.tar.xz | 3 -- gjs-1.49.91.tar.xz | 3 ++ gjs.changes | 106 +++++++++++++++++++++++++++++++++++++++++++++ gjs.spec | 13 +++--- 4 files changed, 117 insertions(+), 8 deletions(-) delete mode 100644 gjs-1.48.6.tar.xz create mode 100644 gjs-1.49.91.tar.xz diff --git a/gjs-1.48.6.tar.xz b/gjs-1.48.6.tar.xz deleted file mode 100644 index ec22706..0000000 --- a/gjs-1.48.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e85f65ba4b38bf80b6174949dfe6fce89e88b8213bbdde4ac1fde473c08bd312 -size 596964 diff --git a/gjs-1.49.91.tar.xz b/gjs-1.49.91.tar.xz new file mode 100644 index 0000000..77cd30d --- /dev/null +++ b/gjs-1.49.91.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a187c3eaf04a4ce4c68a8cac384fd5c7fe5710cee53fbd51babc3bbb27264069 +size 618060 diff --git a/gjs.changes b/gjs.changes index 2265914..f6edcc4 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,109 @@ +------------------------------------------------------------------- +Tue Aug 22 08:15:47 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.49.91: + + Deprecation: The private "__name__" property on Lang.Class + instances is now discouraged. Code should not have been using + this anyway, but if it did then it should use the "name" + property on the class (this.__name__ should become + this.constructor.name), which is compatible with ES6 classes. + + Closed bugs: + - Use ES6 classes (bgo#785652). + - A few fixes for stack traces and error reporting + (bgo#786183). + - /proc/self/stat is read for every frame if GC was not needed + (bgo#786017). + + Build fix. + +------------------------------------------------------------------- +Mon Aug 21 12:21:18 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.49.90: + + New API: GObject.registerClass(), intended for use with ES6 + classes. + + Misc 1.49 and mozjs52 enhancements (bgo#785040). + + Switch to native promises (bgo#784713). + + Can't call exports using top-level variable toString + (bgo#781623). + + Properties no longer recognized when shadowed by a method + (bgo#785091). + + Backport of changes required for use with mozjs-55. +- Changes from version 1.49.6: + + GJS crash in needsPostBarrier, possible access from wrong + thread (bgo#783935). +- Changes from version 1.49.4: + + This version of GJS is based on SpiderMonkey 52. + + New language features + - ES6 classes. + - Async functions and await operator. + - Reflect - built-in object with methods for interceptable + operations. + + Backwards-incompatible changes + - Non-standard "let expressions" and "let blocks" (e.g., + `let (x = 5) { use(x) }`) are not supported any longer + - Non-standard flags argument to String.match(), + String.replace(), and String.search() (e.g. + `str.replace('foo', 'bar', 'g')`) is now ignored. + - Non-standard WeakSet.clear() method has been removed. + - Variables declared with let and const are now 'global lexical + bindings', as per the ES6 standard, meaning that they will + not be exported in modules. + + Closed bugs: + - Prepare for SpiderMonkey 45 and 52 (bgo#781429). + - Add a static analysis tool as a make target (bgo#783214). + - Fix the build with debug logs enabled (bgo#784469). + - Switch to SpiderMonkey 52 (bgo#784196). + - Test suite fails when run with JIT enabled (bgo#616193). +- Replace pkgconfig(mozjs-38) BuildRequires for + pkgconfig(mozjs-52), following upstreams port. +- Add libxml2-tools BuildRequires: new dependency. + +------------------------------------------------------------------- +Wed Aug 16 08:42:13 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.49.3: + + Fixes in preparation for SpiderMonkey 52. + + Use the Centricular fork of libffi to build on Windows. + + Use a C++ auto pointer instead of g_autofree (bgo#777597). + + Build failure in GNOME Continuous (bgo#783031). + +------------------------------------------------------------------- +Wed Aug 16 08:42:12 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.49.2: + + New feature: When building an app with the Package module, + using the Meson build system, you can now run the app with + "ninja run" and all the paths will be set up correctly. + + New feature: Gio.ListStore is now iterable. + + New API: Package.requireSymbol(), a companion for the already + existing Package.require(), that not only checks for a GIR + library but also for a symbol defined in that library. + + New API: Package.checkSymbol(), similar to + Package.requireSymbol() but does not exit if the symbol was not + found. Use this to support older versions of a GIR library with + fallback functionality. + + New API: System.dumpHeap(), for debugging only. Prints the + state of the JS engine's heap to standard output. Takes an + optional filename parameter which will dump to a file instead + if given. + + Fixes in preparation for SpiderMonkey 52. + + Misc fixes. + + Bugs fixed: bgo#775868, bgo#781882, bgo#781882, bgo#782065, + bgo#782069, bgo#779593, bgo#782310, bgo#781219, bgo#780106. + +------------------------------------------------------------------- +Wed Aug 16 08:42:11 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.49.1: + + test GObject Class failure (bgo#693676). + + Enable incremental GCs (bgo#724797). + + Don't silently accept extra arguments to C functions + (bgo#680215). + + Special case GValues in signals and properties (bgo#688128). + + [cairo]: Instantiate wrappers properly (bgo#614413). + + Warn if we're importing an unversioned namespace (bgo#689654). + + Fixes in preparation for SpiderMonkey 45. + ------------------------------------------------------------------- Wed Aug 16 08:42:10 UTC 2017 - zaitor@opensuse.org diff --git a/gjs.spec b/gjs.spec index 9b2875f..a5aa035 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,15 +17,19 @@ Name: gjs -Version: 1.48.6 +Version: 1.49.91 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla License: MIT Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs -Source: http://download.gnome.org/sources/gjs/1.48/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gjs/1.49/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ +BuildRequires: libmozjs-52 +BuildRequires: libxml2-tools +BuildRequires: mozjs52-devel +BuildRequires: pkgconfig BuildRequires: python BuildRequires: readline-devel BuildRequires: systemtap-sdt-devel @@ -33,12 +37,11 @@ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-xlib) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.51.2 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.53.1 BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 BuildRequires: pkgconfig(libffi) -BuildRequires: pkgconfig(mozjs-38) +#BuildRequires: pkgconfig(mozjs-52) Requires: libgjs0 = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module contains JavaScript bindings based on gobject-introspection and the From 43a10278d7a74b4e90bf6c3d8857d00954dbc8e214a07154cfe9abcb80a6ef6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 4 Sep 2017 20:05:35 +0000 Subject: [PATCH 2/5] Accepting request 520890 from GNOME:Next Fix license OBS-URL: https://build.opensuse.org/request/show/520890 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=129 --- gjs.changes | 8 ++++++++ gjs.spec | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gjs.changes b/gjs.changes index f6edcc4..40b8794 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Sep 4 20:01:54 UTC 2017 - dimstar@opensuse.org + +- Temporariliy change license to GPL-2.0+: there are a couple files + in the source tree, that link into libgjs and bring the code to + GPL-2.0+ level; upstream is working on relicensing them + (bgo#787263). + ------------------------------------------------------------------- Tue Aug 22 08:15:47 UTC 2017 - zaitor@opensuse.org diff --git a/gjs.spec b/gjs.spec index a5aa035..9bc0fc6 100644 --- a/gjs.spec +++ b/gjs.spec @@ -21,7 +21,9 @@ Version: 1.49.91 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla -License: MIT +# currently GPL-2.0, due to coverage, see bgo#787263 - change back once relicensed +License: GPL-2.0+ +#License: MIT Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs Source: http://download.gnome.org/sources/gjs/1.49/%{name}-%{version}.tar.xz From 486d4e0075248e6b875cd4f53a019bdc4e83262c9eef450550f2ee0961f5e92a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 6 Sep 2017 19:39:44 +0000 Subject: [PATCH 3/5] Accepting request 521733 from GNOME:Next 1.49.92 OBS-URL: https://build.opensuse.org/request/show/521733 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=130 --- gjs-1.49.91.tar.xz | 3 --- gjs-1.49.92.tar.xz | 3 +++ gjs.changes | 19 +++++++++++++++++++ gjs.spec | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 gjs-1.49.91.tar.xz create mode 100644 gjs-1.49.92.tar.xz diff --git a/gjs-1.49.91.tar.xz b/gjs-1.49.91.tar.xz deleted file mode 100644 index 77cd30d..0000000 --- a/gjs-1.49.91.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a187c3eaf04a4ce4c68a8cac384fd5c7fe5710cee53fbd51babc3bbb27264069 -size 618060 diff --git a/gjs-1.49.92.tar.xz b/gjs-1.49.92.tar.xz new file mode 100644 index 0000000..303930b --- /dev/null +++ b/gjs-1.49.92.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79d56e8752e5803ced54b9111fc4fa7da382d40868479318906556e79e8bf4a2 +size 610884 diff --git a/gjs.changes b/gjs.changes index 40b8794..f180c40 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Sep 5 10:37:59 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.49.92: + + It's now possible to build GJS with sanitizers (ASan and + UBSan) enabled; add "--enable-asan" and "--enable-ubsan" to + your configure flags. + + There's also a "make check-valgrind" target which will run + GJS's test suite under Valgrind to catch memory leaks and + threading races. + + Many of the crashes in GNOME 3.24 were caused by GJS's closure + invalidation code which had to change from the known-working + state in 1.46 because of changes to SpiderMonkey's garbage + collector. This code has been refactored to be less + complicated, which will hopefully improve stability and + debuggability. + + Docs tweaks. + + Bugs fixed: bgo#783220, bgo#786668, bgo#786995, bgo#787113. + ------------------------------------------------------------------- Mon Sep 4 20:01:54 UTC 2017 - dimstar@opensuse.org diff --git a/gjs.spec b/gjs.spec index 9bc0fc6..6081260 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,7 +17,7 @@ Name: gjs -Version: 1.49.91 +Version: 1.49.92 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla From ac52e97001a57a3940f147aa429154a88c1b57e136e2aef7e7fa701a92ee3cb4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 11 Sep 2017 19:22:31 +0000 Subject: [PATCH 4/5] Accepting request 523394 from GNOME:Next Update to 1.50.0 OBS-URL: https://build.opensuse.org/request/show/523394 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=131 --- gjs-1.49.92.tar.xz | 3 --- gjs-1.50.0.tar.xz | 3 +++ gjs.changes | 8 ++++++++ gjs.spec | 8 +++----- 4 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 gjs-1.49.92.tar.xz create mode 100644 gjs-1.50.0.tar.xz diff --git a/gjs-1.49.92.tar.xz b/gjs-1.49.92.tar.xz deleted file mode 100644 index 303930b..0000000 --- a/gjs-1.49.92.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79d56e8752e5803ced54b9111fc4fa7da382d40868479318906556e79e8bf4a2 -size 610884 diff --git a/gjs-1.50.0.tar.xz b/gjs-1.50.0.tar.xz new file mode 100644 index 0000000..65a1dc5 --- /dev/null +++ b/gjs-1.50.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d529d315fc926995c5174d0ac45dacd604e52b9213ba3c4cd77f30bc4aec945 +size 610656 diff --git a/gjs.changes b/gjs.changes index f180c40..b63269b 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Sep 11 19:17:26 UTC 2017 - dimstar@opensuse.org + +- Update to version 1.50.0: + + Relicense coverage.cpp and coverage.h to the same license as + the rest of GJS (bgo#787263). +- Change license back to MIT. + ------------------------------------------------------------------- Tue Sep 5 10:37:59 UTC 2017 - dimstar@opensuse.org diff --git a/gjs.spec b/gjs.spec index 6081260..0247df7 100644 --- a/gjs.spec +++ b/gjs.spec @@ -17,16 +17,14 @@ Name: gjs -Version: 1.49.92 +Version: 1.50.0 Release: 0 # FIXME: find out if tapsets should really be in devel package or in main package Summary: JavaScript bindings based on gobject-introspection and Mozilla -# currently GPL-2.0, due to coverage, see bgo#787263 - change back once relicensed -License: GPL-2.0+ -#License: MIT +License: MIT Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs -Source: http://download.gnome.org/sources/gjs/1.49/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gjs/1.50/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: libmozjs-52 BuildRequires: libxml2-tools From d08b5a086f124ff41c8e7881dae24c8ce0de948d9aa0bae891a35571d8865873 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 12 Sep 2017 06:58:01 +0000 Subject: [PATCH 5/5] Accepting request 523409 from home:jengelh:branches:GNOME:Factory - Rectify summaries. OBS-URL: https://build.opensuse.org/request/show/523409 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=132 --- gjs.changes | 5 +++++ gjs.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gjs.changes b/gjs.changes index b63269b..03d866a 100644 --- a/gjs.changes +++ b/gjs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 11 19:51:02 UTC 2017 - jengelh@inai.de + +- Rectify summaries. + ------------------------------------------------------------------- Mon Sep 11 19:17:26 UTC 2017 - dimstar@opensuse.org diff --git a/gjs.spec b/gjs.spec index 0247df7..9232dff 100644 --- a/gjs.spec +++ b/gjs.spec @@ -58,8 +58,8 @@ This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine. %package -n typelib-1_0-GjsPrivate-1_0 -Summary: GJS DBus utility library -- Introspection bindings -# The tyeplib was renamed in gnome 3.6, to reflecht it is a private lib. +Summary: Introspection bindings for the GJS library +# The tyeplib was renamed in gnome 3.6, to reflect it is a private lib. Group: System/Libraries Obsoletes: typelib-1_0-GjsDBus-1_0 < %{version} @@ -68,7 +68,7 @@ This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine. %package -n libgjs-devel -Summary: JavaScript bindings based on gobject-introspection and Mozilla +Summary: Development files for the GJS library Group: Development/Libraries/GNOME Requires: %{name} = %{version} Requires: libgjs0 = %{version}