[gjs] Created tag 1.69.2
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Created tag 1.69.2
- Date: Tue, 17 Aug 2021 04:28:59 +0000 (UTC)
The unsigned tag '1.69.2' was created.
Tagger: Philip Chimento <philip chimento gmail com>
Date: 1629174470 -0700
Version 1.69.2
- The TextEncoder and TextDecoder global objects are now available. In most
cases, these will be able to replace usage of the imports.byteArray module. We
recommend that new code use TextEncoder and TextDecoder to convert strings to
UTF-8 encoded Uint8Arrays and vice versa.
MDN is a good source of information on how to use these APIs:
https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder
- 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. The previously existing print(), printerr(), log(),
logError() functions continue to exist, and are not deprecated. The console
methods use GLib structured logging as their backend.
- Cairo.Surface has gained getDeviceScale(), setDeviceScale(),
getDeviceOffset(), and setDeviceOffset() methods. These wrap the corresponding
C functions.
- GLib.log_set_writer_func() and GObject.Object.bind_property_full() now work.
Previously, they had introspection problems.
- 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.
Previously, when an exception was thrown, the debugger would stop, even if the
exception was thrown intentionally in order to be caught. With this option,
which is now the default, the debugger will keep going on exceptions that are
thrown while inside the scope of a try-catch block.
- Closed bugs and merge requests:
* Implement WHATWG Encoding specification. [!534, Evan Welsh]
* cairo-surface: Add setDevice{Offset,Scale} functions [!605, Daniel van Vugt,
Philip Chimento]
* WHATWG Console Implementation [!634, Evan Welsh]
* Add support for GLib.log_set_writer_func [!637, Evan Welsh]
* Various maintenance [!649, Philip Chimento]
* examples: improve the gettext example [!651, Sonny Piers]
* Unable to use bind_property_full [#241, !653, Florian Müllner]
* Allow continuing for handled exceptions [#431, !655, Florian Müllner]
* text-encoding.cpp: Fix builds on 64-bit Windows [!656, Chun-wei Fan]
Changes since the last tag '1.69.1':
Chun-wei Fan (1):
text-encoding.cpp: Fix builds on 64-bit Windows
Daniel van Vugt (1):
cairo-surface: Add setDevice{Offset,Scale} functions
Evan Welsh (13):
ByteArray: Implement ByteArray.toGBytes() in JS
win32: Fix resource-based imports
modules: Support zero-terminated and fixed length encoding.
modules: Implement fatal TextEncoder and TextDecoder APIs
modules: Implement non-fatal encoding and decoding
modules: Add tests for Encoding
overrides: Implement overrides for structured logging hook
ci: Increase default timeout for additional tests
modules: Cleanup JSDoc, use ArrayBuffer.isView(), and use Object.defineProperty
Set quote_type in editorconfig
modules: Implement WHATWG console specification
util: Add console handling utility
modules: Implement console.clear()
Florian Müllner (3):
overrides/GLib: Guard Error.new_literal against invalid domains
Add override for g_object_bind_property_full()
debugger: Add option to ignore caught exceptions
Michael Catanzaro (1):
Merge branch 'msvc-x64' into 'master'
Philip Chimento (25):
maint: Add links to IWYU bug numbers for false positives
internal: Switch to compiling UTF-8 script directly
maint: Use GLib UTF8-to-UTF16 functions
maint: Use GjsAutoPointer out() method
text-encoding: Clarify whitespace-stripped encoding
build: Fix building with gobject-introspection as a subproject
build: Provide fallback location for GLib Valgrind suppressions
build: Remove bash-ism
build: Accommodate iwyu_tool named iwyu_tool.py
build: Fix IWYU errors
build: Post-release version bump
CI: Codespell fixes
Merge branch 'sonny-master-patch-16739' into 'master'
Merge branch 'ewlsh/win32' into 'master'
Merge branch 'july-maintenance' into 'master'
Merge branch 'ewlsh/text-encoding' into 'master'
Merge branch 'g-error-new-literal' into 'master'
Merge branch 'bind-property-full' into 'master'
Merge branch 'ewlsh/glogfield-support' into 'master'
Merge branch 'ignore-exceptions' into 'master'
cairo: Add Surface.getDeviceScale and Surface.getDeviceOffset
Merge branch 'cairo-surface-set-device' into 'master'
Merge branch 'ewlsh/whatwg-console' into 'master'
release: Add NEWS from stable release 1.68.3
release: Prepare for 1.69.2
Sonny Piers (1):
examples: improve the gettext example
dependabot[bot] (1):
build(deps): bump glob-parent from 5.1.1 to 5.1.2 in /tools
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]