Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gjs for openSUSE:Factory checked in 
at 2022-08-10 17:13:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gjs (Old)
 and      /work/SRC/openSUSE:Factory/.gjs.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gjs"

Wed Aug 10 17:13:00 2022 rev:104 rq:993950 version:1.72.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gjs/gjs.changes  2022-07-09 16:59:32.832482069 
+0200
+++ /work/SRC/openSUSE:Factory/.gjs.new.1521/gjs.changes        2022-08-10 
17:13:28.225734682 +0200
@@ -1,0 +2,9 @@
+Mon Aug  8 08:39:36 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 1.72.2:
+  + Various fixes ported from the development branch.
+  + Closed bugs and merge requests:
+    - gi/arg-cache.cpp: Fix building on Visual Studio.
+    - doc: Reflect support for constructor with GObject.
+
+-------------------------------------------------------------------

Old:
----
  gjs-1.72.1.tar.xz

New:
----
  gjs-1.72.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gjs.spec ++++++
--- /var/tmp/diff_new_pack.WYgGc1/_old  2022-08-10 17:13:29.149737094 +0200
+++ /var/tmp/diff_new_pack.WYgGc1/_new  2022-08-10 17:13:29.153737104 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gjs
-Version:        1.72.1
+Version:        1.72.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

++++++ gjs-1.72.1.tar.xz -> gjs-1.72.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/NEWS new/gjs-1.72.2/NEWS
--- old/gjs-1.72.1/NEWS 2022-07-05 05:30:56.000000000 +0200
+++ new/gjs-1.72.2/NEWS 2022-08-08 07:05:12.000000000 +0200
@@ -1,3 +1,12 @@
+Version 1.72.2
+--------------
+
+- Various fixes ported from the development branch.
+
+- Closed bugs and merge requests:
+  * gi/arg-cache.cpp: Fix building on Visual Studio [!772, Chun-wei Fan]
+  * doc: Reflect support for constructor with GObject [!773, Sonny Piers]
+
 Version 1.72.1
 --------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/doc/Mapping.md 
new/gjs-1.72.2/doc/Mapping.md
--- old/gjs-1.72.1/doc/Mapping.md       2022-07-05 05:30:56.000000000 +0200
+++ new/gjs-1.72.2/doc/Mapping.md       2022-08-08 07:05:12.000000000 +0200
@@ -41,14 +41,15 @@
     Children: [ 'label-child' ],                // Template children
     InternalChildren: [ 'internal-box' ]        // Template internal (private) 
children
 }, class MyLabel extends Gtk.Label {
-    // Currently GObjects use _init, not construct
-    _init(params) {
+    constructor(params) {
         // Chaining up
-        super._init(params);
+        super(params);
     }
 });
 ```
 
+Note that before GJS 1.72 (GNOME 42), you had to override `_init()` instead of 
`constructor()` and chain-up with `super._init()`. This is still supported in 
GJS 1.72 and later.
+
 ### GType Objects
 
 This is the object that represents a type in the GObject type system. 
Internally a GType is an integer, but you can't access that integer in GJS.
@@ -168,8 +169,8 @@
         }
     }
 }, class ExampleApplication extends GObject.Object {
-    _init() {
-        super._init();
+    constructor() {
+        super();
         this.emit('my-signal', 'a string parameter');
     }
 });
@@ -241,4 +242,4 @@
 } catch(e) {
     log('Failed to read file: ' + e.message);
 }
-```
\ No newline at end of file
+```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/examples/glistmodel.js 
new/gjs-1.72.2/examples/glistmodel.js
--- old/gjs-1.72.1/examples/glistmodel.js       2022-07-05 05:30:56.000000000 
+0200
+++ new/gjs-1.72.2/examples/glistmodel.js       2022-08-08 07:05:12.000000000 
+0200
@@ -17,8 +17,8 @@
     GTypeName: 'GjsListStore',
     Implements: [Gio.ListModel],
 }, class MyList extends GObject.Object {
-    _init() {
-        super._init();
+    constructor() {
+        super();
 
         /* We'll use a native Array as internal storage for the list model */
         this._items = [];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/examples/gtk-application.js 
new/gjs-1.72.2/examples/gtk-application.js
--- old/gjs-1.72.1/examples/gtk-application.js  2022-07-05 05:30:56.000000000 
+0200
+++ new/gjs-1.72.2/examples/gtk-application.js  2022-08-08 07:05:12.000000000 
+0200
@@ -28,8 +28,8 @@
     },
     Signals: {'examplesig': {param_types: [GObject.TYPE_INT]}},
 }, class ExampleApplication extends Gtk.Application {
-    _init() {
-        super._init({
+    constructor() {
+        super({
             application_id: 'org.gnome.gjs.ExampleApplication',
             flags: Gio.ApplicationFlags.FLAGS_NONE,
         });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/examples/gtk3-template.js 
new/gjs-1.72.2/examples/gtk3-template.js
--- old/gjs-1.72.1/examples/gtk3-template.js    2022-07-05 05:30:56.000000000 
+0200
+++ new/gjs-1.72.2/examples/gtk3-template.js    2022-08-08 07:05:12.000000000 
+0200
@@ -29,8 +29,8 @@
         'button',
     ],
 }, class ExampleWindow extends Gtk.Window {
-    _init(params = {}) {
-        super._init(params);
+    constructor(params = {}) {
+        super(params);
 
         // The template has been initialized and you can access the children
         this.box.visible = true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/examples/gtk4-template.js 
new/gjs-1.72.2/examples/gtk4-template.js
--- old/gjs-1.72.1/examples/gtk4-template.js    2022-07-05 05:30:56.000000000 
+0200
+++ new/gjs-1.72.2/examples/gtk4-template.js    2022-08-08 07:05:12.000000000 
+0200
@@ -29,8 +29,8 @@
         'button',
     ],
 }, class ExampleWindow extends Gtk.Window {
-    _init(params = {}) {
-        super._init(params);
+    constructor(params = {}) {
+        super(params);
 
         // The template has been initialized and you can access the children
         this.box.visible = true;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/gi/arg-cache.cpp 
new/gjs-1.72.2/gi/arg-cache.cpp
--- old/gjs-1.72.1/gi/arg-cache.cpp     2022-07-05 05:30:56.000000000 +0200
+++ new/gjs-1.72.2/gi/arg-cache.cpp     2022-08-08 07:05:12.000000000 +0200
@@ -262,7 +262,7 @@
 };
 
 struct Callback : Nullable, BaseInfo {
-    constexpr explicit Callback(GIInterfaceInfo* info)
+    explicit Callback(GIInterfaceInfo* info)
         : BaseInfo(info, GjsAutoTakeOwnership{}),
           m_scope(GI_SCOPE_TYPE_INVALID) {}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gjs-1.72.1/meson.build new/gjs-1.72.2/meson.build
--- old/gjs-1.72.1/meson.build  2022-07-05 05:30:56.000000000 +0200
+++ new/gjs-1.72.2/meson.build  2022-08-08 07:05:12.000000000 +0200
@@ -2,7 +2,7 @@
 # SPDX-FileCopyrightText: 2019 Philip Chimento <[email protected]>
 # SPDX-FileCopyrightText: 2019 Chun-wei Fan <[email protected]>
 
-project('gjs', 'cpp', 'c', version: '1.72.1', license: ['MIT', 'LGPL2+'],
+project('gjs', 'cpp', 'c', version: '1.72.2', license: ['MIT', 'LGPL2+'],
     meson_version: '>= 0.52.0',
     default_options: ['cpp_std=c++17', 'cpp_rtti=false', 'c_std=c99',
         'warning_level=2', 'b_pch=true' ])

Reply via email to