[gjs] Created tag 1.67.2
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Created tag 1.67.2
- Date: Sat, 13 Feb 2021 23:50:19 +0000 (UTC)
The unsigned tag '1.67.2' was created.
Tagger: Philip Chimento <philip chimento gmail com>
Date: 1613260183 -0800
Version 1.67.2
- New language features: Importing ES modules is now supported, both statically
with import statements and dynamically with the import() function. For more
information on how to use modules, see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
Four built-in modules exist: cairo, gettext, gi, and system. Except for gi,
they work similarly to the old-style modules imports.cairo, imports.gettext,
and imports.system. Consult the documentation in doc/Modules.md on how to use
them.
- 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, and allows you to have a GObject property whose value is a JavaScript
object (plain object, Date, Array, etc.)
- New API: System.programPath is the name of the JS program that GJS is running,
or null if there isn't one (for example, in the interactive interpreter.)
- New API: System.programArgs is an array of arguments given to the JS program.
It is the same as ARGV but is consistently always present. (ARGV was not
defined in the interactive interpreter or when embedding GJS in a C program.)
- Closed bugs and merge requests:
* Support Native JSObject GType for Signals and Properties [!305, Marco
Trevisan, Philip Chimento]
* Add 'system.programPath' API. [!443, Evan Welsh]
* ESM: Enable static imports. (Part 3) [!450, Evan Welsh, Philip Chimento]
* Refactor ARGV handling and add `system.programArgs` [!455, Evan Welsh,
Philip Chimento]
* Function make the object more C++ friendly [!514, Marco Trevisan]
* ESM: Enable dynamic imports. [!525, Evan Welsh, Philip Chimento]
* Remove JSClass macros from Ns, GType, and Cairo types [!549, Philip
Chimento]
* various documentation improvements [!551, Sonny Piers]
* Replace remaining mentions of window with globalThis [!552, Sonny Piers]
* add .editorconfig file [!553, Sonny Piers]
* Display current line of source code when displaying current frame in
debugger [!554, Nasah Kuma]
* doc: add Clapper and Flatseal to thirty party applications written in GJS
[!555, Sonny Piers]
* Multiline template literals are missing newlines when entered at interactive
prompt [#371, !556, Ales Huzik]
* function: Remove JSClass macros [!558, Philip Chimento, Marco Trevisan]
* Missing classes on global. [#372, !559, Philip Chimento]
* arg: fix build failure with glib master [!560, Michael Catanzaro]
* Update to Jasmine 2.9.1 [!561, Evan Welsh]
* Various maintenance [!562, Philip Chimento]
* Add list command to debugger [!563, Nasah Kuma]
* Upgrade to Jasmine 3.6.0 [!564, Evan Welsh]
- Various refactors in preparation for BigInt support in gobject-introspection
[Marco Trevisan]
Changes since the last tag '1.67.1':
Ales Huzik (1):
console: fix multiline template literals
Evan Welsh (12):
GLib: Use native byte array function for override.
Update to Jasmine 2.9.1
console: Add --module evaluation option.
context: Refactor eval start and end code
esm: Enable static module imports.
esm: Add additional builtin ES modules
Don't run codespell on jasmine.js
Implement dynamic imports
Add dynamic import support to scripts
Upgrade to Jasmine 3.6.0
Implement system.programPath API
Refactor ARGV handling and add system.programArgs.
Marco Trevisan (TreviƱo) (8):
function: Store more call-state data in GjsFunctionCallState
function: Split finishing function invocation phase to another function
function: Cleanup function call GError on failures
objectbox: Support native JSObject GType for signal parameters and properties
objectbox: Keep a vector of wrappers to reuse them
function: Compute the array length coherently to what we do in cache
eslintrc: Add es2020, needed for consider BigInt a valid global
value: Throw more specific error on out-of-range
Michael Catanzaro (1):
arg: fix build failure with glib master
Nasah Kuma (1):
Display current line of source code when displaying current frame in debugger
Nasah-Kuma (1):
Add list command to debugger
Philip Chimento (46):
build: Post-release version bump
Merge branch 'doc-update' into 'master'
Merge branch 'kill-window' into 'master'
Merge branch 'editorconfig' into 'master'
Merge branch 'sonny-master-patch-63289' into 'master'
Merge branch 'display-current-line-of-source-code-when-displaying-current-frame-in-debugger' into
'master'
Merge branch 'console_fix_multiline_literals' into 'master'
js: Add new system for creating wrapper objects for native types
ns: Remove JSClass macros
ns: Move code into class body
gtype: Remove JSClass macros
gtype: Move code into class body
cairo: Remove JSClass macros from Cairo context
cairo: Remove JSClass macros from CairoPattern and subclasses
cairo: Remove JSClass macros from CairoPath
cairo: Remove JSClass macros from CairoSurface and subclasses
cairo: Remove JSClass macros from CairoRegion
js: Rename GJS_GET_WRAPPER_PRIV to GJS_CHECK_WRAPPER_PRIV
Merge branch 'remove-jsclass-macros-from-ns-gtype-cairo' into 'master'
function: Remove JSClass macros
Merge branch 'remove-jsclass-macros-from-function' into 'master'
importer: Add backwards-compatible GjsFileImporter global object
Merge branch 'cpp-function' into 'master'
Merge branch '372-missing-global-class' into 'master'
Merge branch 'mcatanzaro/glib-typeof' into 'master'
maint: Work around bug in clang-format
maint: Work around bug in address sanitizer
tests: Add -m flag to minijasmine for module execution
Merge branch 'esm/static-imports' into 'master'
Merge branch 'native-jsobject-gtype' into 'master'
Merge branch 'ewlsh/jasmine291' into 'master'
format: Add some linter rules and warnings about imports.format
debugger: Handle special return values from Environment.getVariable()
function: Change return value of format_name() to std::string
js: Remove GJS_DEFINE_PRIV_FROM_JS macros
maint: Add reminder to notify release team when bumping dependencies
CI: increase timeout for ASan tests
Merge branch 'january-maintenance' into 'master'
CI: Apply timeout multiplier to GCC sanitizer job as well as Clang
Merge branch 'esm/dynamic-imports' into 'master'
Merge branch 'split-argv' into 'master'
Merge branch 'ewlsh/jasmine-360' into 'master'
Merge branch 'add-list-command-to-debugger' into 'master'
system: Alphabetize list of module properties and add missing
Merge branch 'ewlsh/refactor-argv' into 'master'
release: Prepare for 1.67.2
Sonny Piers (4):
various documentation improvements
Replace remaining mentions of window with globalThis
add .editorconfig file
doc: add Clapper and Flatseal to thirty party applications written in GJS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]