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
This commit is contained in:
Dominique Leuenberger 2017-08-31 07:45:40 +00:00 committed by Git OBS Bridge
parent 4c94d3ea40
commit 50dcfd69f1
4 changed files with 117 additions and 8 deletions

View File

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

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

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

View File

@ -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

View File

@ -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