Accepting request 689942 from GNOME:Next

- Update to version 3.32.0:
  + Stable release version bump.
- Update to version 1.55.92:
  + Possible memory allocation/deallocation bug (possibly in
    js_free() in GJS).
  + cairo-context: Special-case 0-sized vector.
  + Add some more eslint rules.
  + NMake/libgjs-private: Export all the public symbols there.
- Update to version 1.55.91:
  + The problem of freezing while running the tests using GCC's
    sanitizers was determined to be a bug in GCC, which was fixed
    in GCC 9.0.1.
  + Closed bugs and merge requests:
    - gnome-sound-recorder crashes deep inside libgjs.
    - Various maintenance.
    - wrapperutils: Define $gtype property as non-enumerable.
- Update to version 1.55.90:
  + New JS API: It's now possible to call and implement DBus
    methods whose parameters or return types include file
    descriptor lists (type signature 'h'). This involves passing or
    receiving a Gio.UnixFDList instance along with the parameters
    or return values.
  + To call a method with a file descriptor list, pass the
    Gio.UnixFDList along with the rest of the parameters, in any
    order, the same way you would pass a Gio.Cancellable or async
    callback.
  + For return values, things are a little more complicated, in
    order to avoid breaking existing code. Previously,
    synchronously called DBus proxy methods would return an
    unpacked GVariant. Now, but only if called with a
    Gio.UnixFDList, they will return [unpacked GVariant,
    Gio.UnixFDList]. This does not break existing code because it
    was not possible to call a method with a Gio.UnixFDList before,
    and the return value is unchanged if not calling with a
    Gio.UnixFDList. This does mean, unfortunately, that if you have
    a method with an 'h' in its return signature but not in its
    argument signatures, you will have to call it with an empty
    FDList in order to receive an FDList with the return value,
    when calling synchronously.
  + On the DBus service side, when receiving a method call, we now
    pass the Gio.UnixFDList received from DBus to the called
    method. Previously, sync methods were passed the parameters,
    and async methods were passed the parameters plus the
    Gio.DBusInvocation object. Appending the Gio.UnixFDList to
    those parameters also should not break existing code.
  + See the new tests in installed-tests/js/testGDBus.js for
    examples of calling methods with FD lists.
  + We have observed on the CI server that GJS 1.55.90 will hang
    forever while running the test suite compiled with GCC 9.0.0
    and configured with the --enable-asan and --enable-ubsan
    arguments. This should be addressed in one of the following
    1.55.x releases.
  + Closed bugs and merge requests:
    - GDBus proxy overrides should support
      Gio.DBusProxy.call_with_unix_fd_list().
    - Add regression tests for GObject vfuncs.
    - GjsPrivate: Sources should be C files.
    - build: Vendor last-good version of AX_CODE_COVERAGE.
- Update to version 1.55.4:
  + Various maintenance.
  + Boxed copy constructor should not be called, split Boxed into
    prototype and instance structs.
- Update to version 1.55.3:
  + Manually constructed ByteArray toString segfaults.
  + signals: Add _signalHandlerIsConnected method.
  + Various maintenance.
- Changes from version 1.55.2:
  + Gnome-shell crashes on destroying cached param specs.
  + Various maintenance.
  + Auto pointers builder.
  + configure.ac: Update bug link.
  + SIGSEGV when exiting gnome-shell.
  + Fix build with --enable-dtrace and create CI job to ensure it
    doesn't break in the future.
  + Delay JSString-to-UTF8 conversion.
  + Annotate return values.
  + Fix a regression with GError toString().
  + GType memleak fixes.
  + Atoms refactor.
  + Write a "Code Hospitable" README file.
  + object: Method lookup repeatedly traverses introspection.
  + Handler of GtkEditable::insert-text signal is not run.
- Changes from version 1.55.1:
  + object: Implement newEnumerate hook for GObject.
  + Various maintenance.
  + ByteArray.toString should stop at null bytes.
  + Byte arrays that represent encoded strings should be
    0-terminated.
  + context: Defer and therefore batch forced GC runs.
  + context: use timeout with seconds to schedule a gc trigger.
  + arg: Add special-case for byte arrays going to C.

OBS-URL: https://build.opensuse.org/request/show/689942
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gjs?expand=0&rev=162
This commit is contained in:
Bjørn Lie 2019-04-06 18:29:57 +00:00 committed by Git OBS Bridge
parent 4dd226277a
commit 7e7614fe3e
4 changed files with 122 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76b30dcc3ce9836c053aee531aa9f1d9d3f94b8503adf0a5a7bd176c492ba6b1
size 647704

3
gjs-1.56.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64a7ad5554adb0105fabb432abcfa690033c177d8e650872b469b7cbf475ec1a
size 665100

View File

@ -1,3 +1,118 @@
-------------------------------------------------------------------
Tue Mar 12 06:46:15 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.32.0:
+ Stable release version bump.
-------------------------------------------------------------------
Tue Mar 5 06:14:24 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.55.92:
+ Possible memory allocation/deallocation bug (possibly in
js_free() in GJS).
+ cairo-context: Special-case 0-sized vector.
+ Add some more eslint rules.
+ NMake/libgjs-private: Export all the public symbols there.
-------------------------------------------------------------------
Mon Feb 18 10:14:22 UTC 2019 - bjorn.lie@gmail.com
- Update to version 1.55.91:
+ The problem of freezing while running the tests using GCC's
sanitizers was determined to be a bug in GCC, which was fixed
in GCC 9.0.1.
+ Closed bugs and merge requests:
- gnome-sound-recorder crashes deep inside libgjs.
- Various maintenance.
- wrapperutils: Define $gtype property as non-enumerable.
-------------------------------------------------------------------
Wed Feb 13 19:15:52 UTC 2019 - bjorn.lie@gmail.com
- Update to version 1.55.90:
+ New JS API: It's now possible to call and implement DBus
methods whose parameters or return types include file
descriptor lists (type signature 'h'). This involves passing or
receiving a Gio.UnixFDList instance along with the parameters
or return values.
+ To call a method with a file descriptor list, pass the
Gio.UnixFDList along with the rest of the parameters, in any
order, the same way you would pass a Gio.Cancellable or async
callback.
+ For return values, things are a little more complicated, in
order to avoid breaking existing code. Previously,
synchronously called DBus proxy methods would return an
unpacked GVariant. Now, but only if called with a
Gio.UnixFDList, they will return [unpacked GVariant,
Gio.UnixFDList]. This does not break existing code because it
was not possible to call a method with a Gio.UnixFDList before,
and the return value is unchanged if not calling with a
Gio.UnixFDList. This does mean, unfortunately, that if you have
a method with an 'h' in its return signature but not in its
argument signatures, you will have to call it with an empty
FDList in order to receive an FDList with the return value,
when calling synchronously.
+ On the DBus service side, when receiving a method call, we now
pass the Gio.UnixFDList received from DBus to the called
method. Previously, sync methods were passed the parameters,
and async methods were passed the parameters plus the
Gio.DBusInvocation object. Appending the Gio.UnixFDList to
those parameters also should not break existing code.
+ See the new tests in installed-tests/js/testGDBus.js for
examples of calling methods with FD lists.
+ We have observed on the CI server that GJS 1.55.90 will hang
forever while running the test suite compiled with GCC 9.0.0
and configured with the --enable-asan and --enable-ubsan
arguments. This should be addressed in one of the following
1.55.x releases.
+ Closed bugs and merge requests:
- GDBus proxy overrides should support
Gio.DBusProxy.call_with_unix_fd_list().
- Add regression tests for GObject vfuncs.
- GjsPrivate: Sources should be C files.
- build: Vendor last-good version of AX_CODE_COVERAGE.
-------------------------------------------------------------------
Tue Jan 8 12:44:31 UTC 2019 - bjorn.lie@gmail.com
- Update to version 1.55.4:
+ Various maintenance.
+ Boxed copy constructor should not be called, split Boxed into
prototype and instance structs.
-------------------------------------------------------------------
Fri Jan 4 22:19:32 UTC 2019 - bjorn.lie@gmail.com
- Update to version 1.55.3:
+ Manually constructed ByteArray toString segfaults.
+ signals: Add _signalHandlerIsConnected method.
+ Various maintenance.
- Changes from version 1.55.2:
+ Gnome-shell crashes on destroying cached param specs.
+ Various maintenance.
+ Auto pointers builder.
+ configure.ac: Update bug link.
+ SIGSEGV when exiting gnome-shell.
+ Fix build with --enable-dtrace and create CI job to ensure it
doesn't break in the future.
+ Delay JSString-to-UTF8 conversion.
+ Annotate return values.
+ Fix a regression with GError toString().
+ GType memleak fixes.
+ Atoms refactor.
+ Write a "Code Hospitable" README file.
+ object: Method lookup repeatedly traverses introspection.
+ Handler of GtkEditable::insert-text signal is not run.
- Changes from version 1.55.1:
+ object: Implement newEnumerate hook for GObject.
+ Various maintenance.
+ ByteArray.toString should stop at null bytes.
+ Byte arrays that represent encoded strings should be
0-terminated.
+ context: Defer and therefore batch forced GC runs.
+ context: use timeout with seconds to schedule a gc trigger.
+ arg: Add special-case for byte arrays going to C.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 13 09:59:27 UTC 2018 - bjorn.lie@gmail.com Tue Nov 13 09:59:27 UTC 2018 - bjorn.lie@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package gjs # spec file for package gjs
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,13 +21,14 @@
# remove all conditional macros and enable systemtap. # remove all conditional macros and enable systemtap.
%bcond_with systemtap %bcond_with systemtap
Name: gjs Name: gjs
Version: 1.54.3 Version: 1.56.0
Release: 0 Release: 0
Summary: JavaScript bindings based on gobject-introspection and Mozilla Summary: JavaScript bindings based on gobject-introspection and Mozilla
License: MIT AND LGPL-2.0-or-later License: MIT AND LGPL-2.0-or-later
Group: Development/Libraries/GNOME Group: Development/Libraries/GNOME
URL: https://wiki.gnome.org/Projects/Gjs URL: https://wiki.gnome.org/Projects/Gjs
Source0: http://download.gnome.org/sources/gjs/1.54/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gjs/1.56/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python BuildRequires: python