Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: gjs | Distribution: openSUSE Tumbleweed |
Version: 1.72.0 | Vendor: openSUSE |
Release: 1.1 | Build date: Wed Mar 23 21:43:13 2022 |
Group: Development/Libraries/GNOME | Build host: obs-arm-10 |
Size: 153994 | Source RPM: gjs-1.72.0-1.1.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://wiki.gnome.org/Projects/Gjs | |
Summary: JavaScript bindings based on gobject-introspection and Mozilla |
This module contains JavaScript bindings based on gobject-introspection and the Mozilla SpiderMonkey JavaScript engine.
LGPL-2.0-or-later AND MIT
* Sun Mar 20 2022 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.72.0: + No changes from release candidate 1.71.90. * Sun Mar 06 2022 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.71.90: + Cairo test broken with commit ea52cf92 + native: Convert to singleton class + Checking `instanceof` for primitive types may lead to a crash or error + Change the GObject Introspection development branch + gi_marshalling_tests_long_in_max test fails on i686 + GNOME Shell crashes at startup with the AppIndicator extension enabled + Instances of classes implementing interfaces can override functions for all implentations of an interface + package: Reverse order of running-from-source checks + Various maintenance. * Mon Feb 14 2022 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.71.1: + New JavaScript features! This version of GJS is based on SpiderMonkey 91, an upgrade from the previous ESR (Extended Support Release) of SpiderMonkey 78. Here are the highlights of the new JavaScript features. For more information, look them up on MDN or devdocs.io. - Replace pkgconfig(mozjs-78) with pkgconfig(mozjs-91). - Disable meson_tests, one test currently failing (expected during unstable cycle). https://gitlab.gnome.org/GNOME/gjs/-/issues/461 * Tue Feb 08 2022 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.70.1: + Build and crash fixes backported from the development branch. + Closed bugs and merge requests: - Handle optional out parameters in callbacks - Link fails on Debian armel|mipsel|powerpc: needs more - latomic - gjs/jsapi-util.cpp: fix build on gcc-12 - Drop patches fixed upstream: + b9e122044a7ccc1e2a3374c680b6ea82066bfa59.patch + 62025d4a2738a36ea5f1a7cebef08b22b5eef613.patch * Mon Oct 04 2021 Bjørn Lie <bjorn.lie@gmail.com> - Add upstream crash fixer patches from stable branch: + b9e122044a7ccc1e2a3374c680b6ea82066bfa59.patch: arg: Replace gsize with size_t + 62025d4a2738a36ea5f1a7cebef08b22b5eef613.patch: Handle optional out parameters in callbacks - Stop disabling lto: Following this, stop passing dtrace=true and systemtap=true to meson, aswell as dropping systemtap-sdt-devel BuildRequires, follow upstream default. - Add optional pkgconfig(gtk4) BuildRequires: meson checks for it. * Mon Sep 20 2021 Michael Gorse <mgorse@suse.com> - Update to version 1.70.0: + No changes. * Mon Sep 20 2021 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.69.90: + Update ESLint to v8. + gi: Enable pending tests which are now correctly handled. + gi: Return null if return argument is a pointer type. + gi: Assume native enums are signed, avoid asserting. [!660, Evan Welsh] + Fix cppcheck failure. + Strange behavior for strings with NUL character. + 64-bit int GObject properties have some problems with values > G_MAXINT32. + Crash on dynamic import in interactive interpreter. + 1.69.1: gjs test suite is failing when gjs is build with - DG_DISABLE_ASSERT. + function: Warn about unhandled promise rejections in System.exit(). + attempting to wrap a new GObject mid-construction blows up. + Fix IWYU CI job. + Build fixes. * Mon Sep 20 2021 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.69.2: + The TextEncoder and TextDecoder global objects are now available. + The 'console' global object is now available. This is for compatibility with Node.js and browser environments, and for familiarity for developers accustomed to them. + Cairo.Surface has gained getDeviceScale(), setDeviceScale(), getDeviceOffset(), and setDeviceOffset() methods. + GLib.log_set_writer_func() and GObject.Object.bind_property_full() now work. + There is also a 'console' built-in module which exports functions setConsoleLogDomain() and getConsoleLogDomain(), for controlling the GLib log domain that the console methods use. + The debugger has gained a 'set ignoreCaughtExceptions (true/false)' option. * Sun Sep 19 2021 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.68.4: + Build fix backported from the development branch. * Sun Aug 15 2021 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.68.3: + Crash and bug fixes backported from the development branch. + Build fixes. - Changes from version 1.68.2: + Crash and regression fixes backported from the development branch. + Build fix to adjust to GLib renaming its main branch. * Wed Jul 28 2021 Yifan Jiang <yfjiang@suse.com> - Adapt xorg-x11-Xvfb BuildRequires on SLE and Leap, whose X has not updated to xorg-x11-server-Xvfb. * Fri May 14 2021 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.68.1: + Many stability fixes due to refactoring how disposed GObjects are handled. * Sat Mar 20 2021 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.68.0: + 40.rc session crashes in gjs on unlocking (sometimes). + 40.rc: installed-tests installed despite explicitly disabled. - Drop 589.patch: fixed uptream. * Fri Mar 19 2021 Dominique Leuenberger <dimstar@opensuse.org> - Re-enable test suite: + Enable %check section and run %meson_test + As the test suite also runs some graphical application, run Xvfb before, so we have an X server available. + Add xorg-x11-server-Xvfb BuildRequires * Thu Mar 18 2021 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.67.3: + Closed bugs and merge requests: - System.exit() doesn't work inside signal handler. - GdkEvent subtypes trigger assert in Gtk4. - 1.67.2: build fails with gcc 11. - Warnings introspecting array of boxed type as signal argument. - Add list command to debugger. - Assertion failure in enqueuePromiseJob. - in interpreter Ctrl-c should exit inner shell if stuck. - Compiler ambiguity in enum-utils.h on operator overloading. - Fix GJS_DISABLE_JIT not fully disabling JIT. - 1.67.2: Regress test hangs / timeouts on i686. - object: Do not call any function on disposed GObject pointers. - Add 589.patch: Do not wrongly install files for installed_tests if explicitly disabled. * Mon Feb 15 2021 Callum Farmer <gmbr3@opensuse.org> - Update to version 1.67.2: + Importing ES modules is now supported. + The debugger now has a "list" command which works very similarly to its GDB equivalent. + New API: GObject.ParamSpec.jsobject() works like the other GObject.ParamSpec types. + New API: System.programPath is the name of the JS program that GJS is running. + New API: System.programArgs is an array of arguments given to the JS program. * Tue Jan 12 2021 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.67.1: + The debugger now has a "backtrace full" command which works very similarly to its GDB equivalent. + The GObject.ParamFlags.CONSTRUCT_ONLY flag is now correctly enforced, when using it on GObject classes defined in JavaScript. This might break code that was incorrectly trying to set a property that it had previously defined as construct-only. The workaround is to remove the CONSTRUCT_ONLY flag. + Fixed exception when calling GObject.Type(). + Several performance improvements. + Progress on ES Modules. + Various refactors for type safety. + Various maintenance. * Sun Jan 10 2021 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.66.2: + Performance improvements and crash fixes backported from the development branch. + Bug fixes enabling use of GTK 4. + Closed bugs and merge requests: - Error in function "_init()" in module "modules/overrides/GObject.js" - Revert "arg-cache: Save space by not caching GType" - gi/wrapperutils: Move gjs_get_string_id() into resolve() implementations - overrides/Gtk: Set BuilderScope in class init - Fix readline build on certain systems * Fri Oct 09 2020 dimstar@opensuse.org - Update to version 1.66.1: + Throws on Unsupported caller allocates. + arg: Fix MIN/MAX safe big integer limits. + Fix leak when virtual function is unimplemented. + Cannot compile GJS 1.66.0 on macOS with llvm/clang 10.0.1. + console: fix typo in command-line option. + Prevent passing null pointers when not nullable. + Passing fundamentals to functions no longer works. * Mon Sep 14 2020 dimstar@opensuse.org - Update to version 1.66.0: + No change from 1.65.92. * Sat Sep 05 2020 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.65.92: + Enum and flags test failing in s390x. + Bring back Visual Studio build support for GJS master. + gjs_dbus_implementation_emit_signal: don't try to unref NULL. + doc: add third party applications. + boxed: Initialize all the private BoxedInstance members. + object: Fix GjsCallBackTrampoline's leaks. + Various maintenance. + Crash using shell's looking glass. * Sat Sep 05 2020 dimstar@opensuse.org - Update to version 1.65.91: + Crash in gjs_dbus_implementation_flush(). + eslint: Bump ecmaScript version. + Documentation: add documentation for ENV variables. + Argument cache causes test failure in armhf. + Argument cache causes test regressions in s390x. + ByteArray.toString use-after-free. + Crash accessing `vfunc_` methods of `Clutter.Actor`s. - Changes from version 1.65.90: + GJS now has an optional, Linux-only, dependency on libsysprof-capture-4 instead of libsysprof-capture-3 for the profiler functionality. + New API: gjs_coverage_enable() allows the collection of code coverage metrics. + New JavaScript features! This version of GJS is based on SpiderMonkey 78, an upgrade from the previous ESR (Extended Support Release) of SpiderMonkey 68. - Changes from version 1.65.4: + arg.cpp: Add required messages for static_assert. + Let's enable class fields!. + function: Only get function name if we actually warn. + Split print into native library. - Replace pkgconfig(mozjs-68) BuildRequires with pkgconfig(mozjs-78): Follow upstreams port to Spidermonkey 78. - Replace pkgconfig(sysprof-3|sysprof-capture-3) to their respective -4 variant. - Drop python Requires: we no longer need python2 to build. * Mon Jul 06 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.64.4: + Fix CI failure caused by GTK4 update. * Sun May 31 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.64.3: + Closed bugs and merge requests: - arg: Don't sink GClosure ref if it's a return value. - overrides/Gtk: Adjust gtk_container_child_set_property() check. - 1.63.3: test suite is failing. - Simplify private pointers. + Various backports: - Use memory GSettings backend in tests. - Update debug message from trimLeft/trimRight to trimStart/trimEnd. - Various fixes for potential crash and memory issues. * Tue Apr 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.64.2: + Closed bugs and merge requests: - GList of int not correctly demarshalled on 64-bit big-endian. - Fix template use in GTK4. - Don't crash if a callback doesn't return an expected array of values. - Crash passing integer to strv in constructor. - Skip some tests if GTK can't be initialised. + Various backports: - Fix gjs_log_exception() for InternalError. - Fix signal match mechanism. * Sat Mar 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.64.1: + The BigInt type is now _actually_ available, as it wasn't enabled in the 1.64.0 release even though it was mentioned in the release notes. + Closed bugs and merge requests: - testCommandLine's Unicode tests failing on Alpine Linux. - build: Various clean-ups. - Correctly handle vfunc inout parameters. - Fix failed redirect of output in CommandLine tests. * Sat Mar 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.64.0: + No changes, stable version update only. * Sat Mar 28 2020 bjorn.lie@gmail.com - Update to version 1.63.92: + object: Use g_irepository_get_object_gtype_interfaces. + Add -fno-semantic-interposition to -Bsymbolic-functions. + examples: add a dbus-client and dbus-service example. + Various GNOME Shell crashes during GC, mozjs68 regression. - Drop gjs-fix-gnome-shell-crash-mr396.patch: Fixed upstream. * Sat Mar 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Add yet a commit from upstream wip mr (glgo#GNOME/gjs!396). * Sat Mar 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Add gjs-fix-gnome-shell-crash-mr396.patch: Fix various crashes in gnome-shell caused by gjs, drop gjs-dont-zero-out-wrapper.patch as that is part of this new patch too. * Sat Mar 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Add gjs-dont-zero-out-wrapper.patch: object: Don't zero out wrapper if destroying ObjectInstance anyway (glgo#GNOME/gjs!396). * Sat Mar 28 2020 Dominique Leuenberger <dimstar@opensuse.org> - Update to version 1.63.91: + [mozjs68] Reorganize modules for ESM. + Various maintenance. + Fix building GJS master with Visual Studio and update build instructions. + Resolve "Gnome Shell crash on GC run with mozjs68". + installed-tests/js: Add missing dep on warnlib_typelib. + object: Cache known unresolvable properties. + Updated translations. * Sat Mar 28 2020 dimstar@opensuse.org - Update to version 1.63.90: + This version of GJS is based on SpiderMonkey 68, an upgrade from the previous ESR (Extended Support Release) of SpiderMonkey 60. + New language features - The BigInt type, currently a stage 3 proposal in the ES standard, is now available. + New syntax - `globalThis` is now the ES-standard supported way to get the global object, no matter what kind of JS environment. - BigInt literals are expressed by a number with "n" appended to it: for example, `1n`, `9007199254740992n`. + New behaviour: There are a lot of minor behaviour changes as SpiderMonkey's JS implementation conforms ever closer to existing ECMAScript standards and adopts new ones. For complete information, read the Firefox developer release notes + Backwards-incompatible changes: The nonstandard String generics were removed. - Changes from version 1.63.3: + JS ERROR: TypeError: this._rooms.get(...) is undefined. + gjs-symlink script is incompatible with distro builds. + object: Warn when setting a deprecated property. - Switch to meson buildsystem, add meson BuildRequires and macros. - Replace gcc-c++ with c++_compiler BuildRequires. - Add git BuildRequires: New dependency (expected to be dropped). - Add pkgconfig(sysprof-3) and pkgconfig(sysprof-capture-3) BuildRequires, build profiler support. - Pass -Dinstalled_tests=false to meson: do not install the test suite (it's meant to be invalid code, which in turn confuses the dep scanner). * Sat Mar 28 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.58.6: + Various backports: - Correctly handle vfunc inout parameters. - Fix failed redirect of output in CommandLine tests. - Avoid filename conflict when tests run in parallel. * Tue Feb 18 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.58.5: + Can not access GObject properties of classes without GI information. * Wed Jan 08 2020 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.58.4: + Now prints a warning when constructing an unregistered object inheriting from GObject (i.e. if you forgot to use GObject.registerClass.) In 1.58.2 this would throw an exception, which broke some existing code, so that change was reverted in 1.58.3. In this version the check is reinstated, but we log a warning instead of throwing an exception, so that people know to fix their code, but without breaking things. NOTE: In 1.64 (the next stable release) the warning will be changed back into an exception, because code with this problem can be subtly broken and cause unexpected errors elsewhere. So make sure to fix your code if you get this warning. + GSettings crash fixes. + Memory savings for Cairo objects. + Fix for crash in debug functions. * Wed Dec 04 2019 Frederic Crozat <fcrozat@suse.com> - Enable systemtap support. * Mon Nov 25 2019 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.58.3: + Emergency release, intended to correct two mistakes in 1.58.2, both coming from crash fixes that had unexpected other effects on working code. * Sun Nov 24 2019 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.58.2: + GObject based class initialization checks. + Silently leaked return value of callbacks. + Crash when calling Gio.Initable.async_init with not vfunc_async_init implementation. + [cairo] insufficient checking. + Various crash fixes backported from the development branch. * Mon Oct 07 2019 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.58.1: + Closed bugs and merge requests: - Import wiki documentation. - Smaller CI, phase 1. - Crashes after setting child property 'icon-name' on GtkStack then displaying another GtkStack. - GLib.strdelimit crashes. * Sat Sep 07 2019 mgorse@suse.com - Update to version 1.58.0: + No changes. * Thu Sep 05 2019 luke@ljones.dev - Update to version 1.57.92: + Enable regression test cases for GPtrArrays and GArrays of structures. * Various maintenance. * Thu Aug 29 2019 Luke Jones <luke@ljones.dev> - Update to version 1.57.91: + GJS no longer links to libgtk-3. This makes it possible to load the Gtk-4.0 typelib in GJS and write programs that use GTK 4. + The heapgraph tool has gained some improvements; it is now possible to print a heap graph of multiple targets. You can also mark an object for better identification in the heap graph by assigning a magic property: for example, myObject.__heapgraph_name = 'Button' will make that object identify itself as "Button" in heap graphs. + Closed bugs and merge requests: - Remove usage of Lang in non legacy code. - GTK4. - JS syntax fixes. - gi: Avoid infinite recursion when converting GValues. - Implement all GObject-introspection test suites. - Heapgraph improvements. - Update to version 1.57.90: + New JS API: GLib.Variant has gained a recursiveUnpack() method which transforms the variant entirely into a JS object, discarding all type information. This can be useful for dealing with a{sv} dictionaries, where deepUnpack() will keep the values as GLib.Variant instances in order to preserve the type information. + New JS API: GLib.Variant has gained a deepUnpack() method which is exactly the same as the already existing deep_unpack(), but fits with the other camelCase APIs that GJS adds. + Closed bugs and merge requests: - Marshalling of GPtrArray broken. - Fix locale chooser. - dbus-wrapper: Remove interface skeleton flush idle on dispose. - gobject: Use auto-compartment when getting property as well. - modules/signals: Use array destructuring in _emit. - GJS can't call glibtop_init function from libgtop. - GLib's VariantDict is missing lookup. - toString on an object implementing an interface fails. - Regression in GstPbutils.Discoverer::discovered callback. - GLib.Variant.deep_unpack not working properly with a{sv} variants. - Various maintenance. + Various CI fixes. - Update to version 1.57.4: + Closed bugs and merge requests: - gjs 1.57 requires a recent sysprof version for sysprof-capture-3. + Misc documentation changes. - Update to version 1.57.3: + The GJS profiler is now integrated directly into Sysprof 3, via the GJS_TRACE_FD environment variable. Call stack information and garbage collector timing will show up in Sysprof. See also GNOME/Initiatives#10 + New JS API: System.addressOfGObject(obj) will return a string with the hex address of the underlying GObject of `obj` if it is a GObject wrapper, or throw an exception if it is not. This is intended for debugging. + New JS API: It's now possible to pass a value from Gio.DBusProxyFlags to the constructor of a class created by Gio.DBusProxy.makeProxyWrapper(). + Backwards-incompatible change: Trying to read a write-only property on a DBus proxy object, or write a read-only property, will now throw an exception. Previously it would fail silently. It seems unlikely any code is relying on the old behaviour, and if so then it was probably masking a bug. + Closed bugs and merge requests: - Build failure on Continuous. - build: Bump glib requirement. - profiler: avoid clearing 512 bytes of stack. - system: add addressOfGObject method. - Add support for GJS_TRACE_FD. - Gio: Make possible to pass DBusProxyFlags to proxy wrapper. - Various maintenance. - Marshalling of GPtrArray broken. - Build fix. - Gio: sync dbus wrapper properties flags. - GjsMaybeOwned: Reduce allocation when used as Object member. - Update to version 1.57.2: + There are now overrides for Gio.SettingsSchema and Gio.Settings which avoid aborting the whole process when trying to access a nonexistent key or child schema. The original API from GLib was intended for apps, since apps should have complete control over which settings keys they are allowed to access. However, it is not a good fit for shell extensions, which may need to access different settings keys depending on the version of GNOME shell they're running on. This feature is based on code from Cinnamon which the copyright holders have kindly agreed to relicense to GJS's license. + New JS API: It is now possible to pass GObject.TypeFlags to GObject.registerClass(). For example, passing `GTypeFlags: GObject.TypeFlags.ABSTRACT` in the class info object, will create a class that cannot be instantiated. This functionality was present in Lang.Class but has been missing from GObject.registerClass(). + Closed bugs and merge requests: - Document logging features. - Support optional GTypeFlags value in GObject subclasses. - Ensure const-correctness in C++ objects. - Programmer errors with GSettings cause segfaults. - Various maintenance. - debugger: Fix summary help. - context: Use Heap pointers for GC objects stored in vectors. - Update to version 1.57.1: + Closed bugs and merge requests: - Various maintenance. - mainloop: Assign null to property instead of deleting. - Added -d version note README.md. - Extra help for debugger commands. - Crash in BoxedInstance when struct could not be allocated directly. - Cairo conversion bugs. * Wed May 08 2019 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.56.2: + Crash in BoxedInstance when struct could not be allocated directly. + Cairo conversion bugs fixed. + Gjs crashes when binding inherited property to js added gobject-property. + console: Don't accept --profile after the script name. * Tue Apr 09 2019 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.56.1: + Calling dumpHeap() on non-existent directory causes crash. + Using Gio.MemoryInputStream.new_from_data ("string") causes segfault. + Fix gjs_context_eval() for non-zero-terminated strings. * Tue Mar 12 2019 Bjørn Lie <bjorn.lie@gmail.com> - Update to version 1.56.0: + Stable release version bump. * Tue Mar 05 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 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 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 08 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 04 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 2018 bjorn.lie@gmail.com - Update to version 1.54.3: + object: Fix write-only properties. + SIGSEGV when exiting gnome-shell. + SelectionData.get_targets crashes with "Unable to resize vector". + Gnome-shell crashes on destroying cached param specs. + GType memleak fixes. + Fix build with --enable-dtrace and create CI job to ensure it doesn't break in the future. * Mon Oct 22 2018 bjorn.lie@gmail.com - Update to version 1.54.2: + context: - Defer and therefore batch forced GC runs. - Use timeout with seconds to schedule a gc trigger. + fundamental: Check if gtype is valid before using it. + Backported a fix for a crash in the interactive interpreter when executing something like `throw "foo"`. + Backported various maintenance from 3.31. * Wed Sep 26 2018 bjorn.lie@gmail.com - Update to version 1.54.1: + legacy: Ensure generated GType names are valid. + Fix GJS profiler with MozJS 60. + Regression with DBus proxies. * Sun Sep 09 2018 antoine.belvire@opensuse.org - Update to version 1.54.0: + Compatibility fix for byte arrays: the legacy toString() behaviour of byte arrays returned from GObject-introspected functions is now restored. If you use the functionality, a warning will be logged asking you to upgrade your code (glgo#GNOME/gjs#227). * Fri Aug 31 2018 luc14n0@linuxmail.org - Update to version 1.53.92: + Technology preview of a GNOME 3.32 feature: native Promises for GIO-style asynchronous operations. Since this is a technology preview, we do not guarantee API stability with the version coming in GNOME 3.32. These APIs are marked with underscores to emphasize that they are not stable yet. Use them at your own risk. + Closed bugs and merge requests: - Added promisify to GJS GIO overrides (glgo#GNOME/gjs!225). - Temporary fix for Gio.File.prototype (glgo#GNOME/gjs!226). - Changes from version 1.53.91: + Closed bugs and merge requests: - Fix example eslint errors; - Fix more "lost" GInterface properties. - Changes from version 1.53.90: + GJS includes a simple debugger now. + New API for programs that embed GJS: gjs_context_setup_debugger_console(). + New JavaScript features! This version of GJS is based on SpiderMonkey 60, an upgrade from the previous ESR (Extended Support Release) of SpiderMonkey 52. + Fixed bugs: glgo#GNOME/gjs#178, glgo#GNOME/gjs#179, glgo#GNOME/gjs#185, glgo#GNOME/gjs#110, CWE-126 (glgo#GNOME/gjs#174), glgo#GNOME/gjs#149, glgo#GNOME/gjs#132, glgo#GNOME/gjs#161, glgo#GNOME/gjs#5, glgo#GNOME/gjs#186. - Changes from version 1.53.4: + Refactored the way GObject properties are accessed. This should be a bit more efficient, as property info (GParamSpec) is now cached for every object type. There may still be some regressions from this; please be on the lookout so we can fix them in the next release. + The memory usage for each object instance has been reduced, resulting in several dozens of megabytes less memory usage in GNOME Shell. + Fixed bugs: glgo#GNOME/gjs#160, glgo#GNOME/gjs#24, glgo#GNOME/gjs#173, glgo#GNOME/gjs#165, glgo#GNOME/gjs#171, glgo#GNOME/gjs#177, glgo#GNOME/gjs#172, glgo#GNOME/gjs#182. - Changes from version 1.53.3: + Closed bugs and merge requests: - Adding multiple ESLint rules for spacing. - Various maintenance. - Add pkgconfig(mozjs-60) BuildRequires while dropping its predecessor pkgconfig(mozjs-52) and mozjs52-devel to reflect upstream changes. - Conditionalize the use of systemtap/dtrace: they are currently failing. * Sun Jul 08 2018 luc14n0@linuxmail.org - Update to version 1.53.3: + Adding multiple ESLint rules for spacing. + Various small fixes. * Sun Jul 08 2018 luc14n0@linuxmail.org - Update to version 1.53.2: + The `Template` parameter passed to `GObject.registerClass()` now accepts file:/// URIs as well as resource:/// URIs and byte arrays. + New API: `gjs_get_js_version()` returns a string identifying the version of the underlying SpiderMonkey JS engine. The interpreter executable has also gained a `--jsversion` argument which will print this string. + Several fixes for memory efficiency and performance. + Fixed bugs: - Reduce memory overhead of g_object_weak_ref() (glgo#GNOME/gjs#144). - Use compacting GC on RSS size growth (glgo#GNOME/gjs#151). - Segfault on enumeration of GjSFileImporter properties when a searchpath entry contains a symlink. * Sun Jul 08 2018 luc14n0@linuxmail.org - Update to version 1.53.1: + Improvements to garbage collection performance. + Now, when building a class from a UI template file signals defined in the UI template file will be automatically connected. + Fixed bugs: - Tweener: Add min/max properties; - `ARGV` encoding issues (glgo#GNOME/gjs#22); - Make GC much more aggressive (glgo#GNOME/gjs#62 bsc#1093541); - Queue GC when a GObject reference is toggled down (glgo#GNOME/gjs#140); - overrides: support Gtk template callbacks; - Ensure not to miss the force_gc flag (glgo#GNOME/gjs#150). - Append LGPL-2.0-or-later to the License tag to conform to due source code licenses. And set LPGL-2.0-or-later License tag for libgjs library subpackage. - Drop fixed upstream patches: + gjs-Add-API-to-force-GC-schedule.patch and + gjs-Queue-forced-GC.patch. + gjs-ensure-force_gc-flag-use.patch. * Thu Jul 05 2018 bjorn.lie@gmail.com - Add gjs-ensure-force_gc-flag-use.patch: context: Ensure force_gc flag is not lost if the idle is scheduled (glgo#GNOME/gjs#150). * Sun May 06 2018 bjorn.lie@gmail.com - Update to version 1.52.3: + Include calc.js example from Seed (glgo#gnome/gjs#130). + CI: Un-pin the Fedora Docker image (glgo#gnome/gjs#141, (glgo#gnome/gjs#131). + Reduce overhead of wrapped objects (glgo#gnome/gjs#142, (glgo#gnome/gjs#121). + Various CI changes (glgo#gnome/gjs#134, (glgo#gnome/gjs#136). * Mon Apr 30 2018 bjorn.lie@gmail.com - Add gjs-Add-API-to-force-GC-schedule.patch: context: Add API to force GC schedule. There are situations where we cannot run the GC right away, but we also cannot ignore the need of running it. For those cases, add a new private function that forces GC to happen on idle (glgo"GNOME/gjs#140). - Add gjs-Queue-forced-GC.patch: object: Queue a forced GC when toggling down. Since we cannot know how many more wrapped GObjects are going be marked for garbage collection after the owner is destroyed, always queue a garbage collection when a toggle reference goes down (glgo"GNOME/gjs#140). * Wed Apr 18 2018 bjorn.lie@gmail.com - Update to version 1.52.2: + This is an unscheuled release in order to revert a commit that causes a crash on exit, with some Cairo versions. + Closed bugs and merge requests: - heapgraph.py: adjust terminal output style (glgo#gnome/gjs#120). - Warn about compilation warnings (glgo#gnome/gjs#125). - Miscellaneous commits. * Tue Apr 10 2018 luc14n0@linuxmail.org - Update to version 1.52.1: + In addition to System.dumpHeap(), you can now dump a heap from a running Javascript program by starting it with the environment variable GJS_DEBUG_HEAP_OUTPUT=some_name, and sending it SIGUSR1. + Closed bugs: - Crash when resolving promises if exception is pending (glgo#GNOME/gjs#18). - Tools for examining heap graph (glgo#GNOME/gjs#116). - Add support for passing flags to Gio.DBusProxy in makeProxyWrapper (glgo#GNOME/gjs#122). - Cannot instantiate Cairo.Context (glgo#GNOME/gjs#126). - GISCAN GjsPrivate-1.0.gir fails (glgo#GNOME/gjs#128). - Invalid read of g_object_finalized flag (glgo#GNOME/gjs#129). - Pick a different C++ linter. - profiler: Don't assume layout of struct sigaction. - Update tweener.js. - Various maintenance. * Tue Mar 13 2018 dimstar@opensuse.org - Update to version 1.52.0: + No changes from 1.51.92. * Fri Mar 09 2018 dimstar@opensuse.org - Update to version 1.51.92: + Abort if we are called back in a non-main thread. + Fix build failure of 3.27.91 identified on debian/Ubuntu. + Analyze project code quality with Code Climate inside CI. + Various CI improvements. * Wed Feb 28 2018 dimstar@opensuse.org - Modernize spec-file by calling spec-cleaner * Tue Feb 20 2018 luc14n0@linuxmail.org - Update to version 1.51.91: + Promises now resolve with a higher priority, so asynchronous code should be faster. + Bugs fixed: - profiler: Don't include alloca.h when disabled. - GNOME crash with fatal error "Finalizing proxy for an object that's scheduled to be unrooted: Gio.Subprocess" in gjs (glgo#GNOME/gjs#26). * Tue Feb 20 2018 dimstar@opensuse.org - Update to version 1.51.90: + GJS now, once again, includes a profiler, which outputs files that can be read with sysprof. + New API: For programs that want more control over when to start and stop profiling, there is new API for GjsContext. + New API: GObject.signal_connect(), GObject.signal_disconnect(), and GObject.signal_emit_by_name() are now available in case a GObject-derived class has conflicting connect(), disconnect() or emit() methods. + Bugs fixed: glgo#GNOME/gjs#2, glgo#GNOME/gjs#10, glgo#GNOME/gjs#11, glgo#GNOME/gjs#31, glgo#GNOME/gjs#37, glgo#GNOME/gjs#39, glgo#GNOME/gjs#40, glgo#GNOME/gjs#47, glgo#GNOME/gjs#54, glgo#GNOME/gjs#55, glgo#GNOME/gjs#56, glgo#GNOME/gjs#57, glgo#GNOME/gjs#58, glgo#GNOME/gjs#59, glgo#GNOME/gjs#65. * Tue Feb 20 2018 dimstar@opensuse.org - Update to version 1.51.4: + GJS will now log a warning when a GObject is accessed in Javascript code after the underlying object has been freed. + APIs exposed through GObject Introspection that use the GdkAtom type are now usable from Javascript. + The GitLab CI tasks have continued to gradually become more and more sophisticated. + Closed bugs and merge requests: - Add checks for GObjects that have been finalized. - Fail static analyzer if new warnings are found. - Run code coverage on GitLab. - Amend gtk.js and add gtk-application.js with suggestion. - Improve GdkAtom support that is blocking clipboard APIs. - Test "Cairo context has methods when created from a C function" fails. - Various CI improvements. - Various maintenance. * Tue Feb 20 2018 dimstar@opensuse.org - Update to version 1.51.3: + CI improvements on GitLab. * Tue Feb 20 2018 fezhang@suse.com - Update to version 1.51.2: + The home of GJS is now at GNOME's GitLab instance: https://gitlab.gnome.org/GNOME/gjs + Closed bugs and merge requests: - Allow throwing GErrors from JS virtual functions (bgo#682701) - [RFC] bootstrap system (bgo#777724). - Fix code coverage (and refactor it to take advantage of mozjs52 features) (bgo#788166). - Various maintenance (!2). - Get GitLab CI working and various improvements (#6, !7, !9, !11, !13). - Add build status badge to README (!8). - Use Docker images for CI (!12). + Some changes in progress to improve garbage collection when signals are disconnected (bgo#679688). * Mon Feb 19 2018 fcrozat@suse.com - Do not try to build against s390 anymore, since it doesn't build with mozjs54 and s390 is only for compability with old applications (gjs doesn't qualifies). * Tue Jan 30 2018 bjorn.lie@gmail.com - Update to version 1.50.4: + Gnome Shell crash with places-status extension when you plug an USB device (glgo#gjs#33 and glgo#gjs#38). - Changes from version 1.50.3: + GJS will now log a warning when a GObject is accessed in Javascript code after the underlying object has been freed in C. (This used to work most of the time, but crash unpredictably.) We now prevent this situation which, is usually by caused a memory management bug in the underlying C library. + Closed bugs and merge requests: - Add checks for GObjects that have been finalized (glgo#gjs#21, glgo#gjs#23, glgo#gjs#25, glgo#gjs#28, glgo#gjs#33). - Test "Cairo context has methods when created from a C function" fails (glgo#gjs#27, glgo#gjs#35). - Various fixes from the master branch for rare crashes.
/usr/bin/gjs /usr/bin/gjs-console /usr/share/doc/packages/gjs /usr/share/doc/packages/gjs/NEWS /usr/share/doc/packages/gjs/README.md /usr/share/licenses/gjs /usr/share/licenses/gjs/COPYING
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 5 01:05:46 2024