[gjs] Created tag 1.67.1



The unsigned tag '1.67.1' was created.

Tagger: Philip Chimento <philip chimento gmail com>
Date: 1610235932 -0800

    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.
    
    - Closed bugs and merge requests:
    
      * gobject: Handle CONSTRUCT_ONLY flag [!377, Florian Müllner]
      * Add native module registry to global (Part 2) [!456, Evan Welsh]
      * testGIMarshalling: Expand test coverage for flags [!479, Simon McVittie]
      * Private Objects: Use native allocators and structs [!494, Marco Trevisan]
      * Pass-by-reference GValue arguments do not work right [#74, !496, !507, Marco
        Trevisan]
      * Templated-data-only GjsAutoPointer (and use it more around) [!504, Marco
        Trevisan]
      * Error in function "_init()" in module "modules/overrides/GObject.js" [#238,
        !508, Nina Pypchenko]
      * fails to build on 32-bit [#357, !511, Michael Catanzaro]
      * Revert "arg-cache: Save space by not caching GType" [!512, Jonas Dreßler]
      * gi/wrapperutils: Move gjs_get_string_id() into resolve() implementations
        [!513, Jonas Dreßler]
      * updates on eslint configuration [!517, Nasah Kuma]
      * Update CONTRIBUTING.md about the runner system failure [!518, Nasah Kuma]
      * Switch to eslint-plugin-jsdoc and remove lint-condo [!520, #359, Evan Welsh,
        Philip Chimento]
      * gi: Check property before access [!521, Florian Müllner]
      * testGIMarshalling: Actually run the GPtrArray utf8 tests [!522, Marco
        Trevisan]
      * Add more documents for "imports" and "imports.gi" [!526, wsgalaxy]
      * overrides/Gtk: Set BuilderScope in class init [!527, Florian Müllner]
      * gi/arg-cache: Only skip array length parameter once [!528, Florian Müllner]
      * Copyright conformance with Reuse Software spec [!529, Philip Chimento, Evan
        Welsh]
      * Remove JSClass macros [!530, !533, !537, Philip Chimento]
      * Avoid pulling from DockerHub in CI [!531, Philip Chimento, Marco Trevisan]
      * Use GNOME-specific rules with cppcheck [!532, Philip Chimento]
      * Fedora 33 CI images [!535, Philip Chimento]
      * Fix IWYU bugs [!536, Philip Chimento]
      * Reduce bandwidth usage in CI, and pick a more accurate base for diff checks
        [!538, Philip Chimento]
      * debugger: Make '$$' mean the last value [!539, Philip Chimento]
      * Add codespell CI job [#362, !540, !541, !547, Björn Daase]
      * Various maintenance [!542, !548, Philip Chimento]
      * fix readline build on certain systems [!543, Jakub Kulík]
      * build: Require gobject-introspection 1.66.0 [!546, Philip Chimento]
      * Add backtrace full command to debugger [#208, !550, Nasah Kuma]
    
    - Various refactors for type safety [Marco Trevisan]
    
    - Various maintenance [Philip Chimento]

Changes since the last tag '1.65.92':

Andy Holmes (1):
      console: fix typo in command-line option

Björn Daase (5):
      *: Fix spelling mistakes found by codespell
      testRegress: Fix misspelled call in GBoxed regression tests
      .gitlab-ci.yml: add codespell job
      NEWS: Fix issues found by codespell
      .gitlab-ci.yml: Also check NEWS file

Evan Welsh (12):
      Fix leak when virtual function is unimplemented.
      Prevent passing null pointers when not nullable.
      Add test for not-nullable gpointer parameters.
      arg-cache: Add fundamental marshaller.
      lint: Switch to eslint-plugin-jsdoc and remove lint-condo.
      Correct contributor copyright email.
      ci: When finding common ancestors use source branch or commit branch.
      Revert "Merge branch 'ewlsh/fix-ci' into 'master'"
      Fix label formatting.
      Use explicit types instead of auto
      Assert when trying to define properties on wrong global type
      Add native registry for GI modules.

Florian Müllner (5):
      gobject: Handle CONSTRUCT_ONLY flag
      gi/object: Check property before access
      gi/fundamental: Check property before access
      overrides/Gtk: Set BuilderScope in class init
      gi/arg-cache: Only skip array length parameter once

Georges Basile Stavracas Neto (1):
      profiler: Support external SysprofCaptureWriters

Jakub Kulík (1):
      fix readline build on certain systems

Jonas Dreßler (2):
      Revert "arg-cache: Save space by not caching GType"
      gi/wrapperutils: Move gjs_get_string_id() into resolve() implementations

Marc-Antoine Perennou (1):
      fix build with clang

Marco Trevisan (Treviño) (75):
      arg-inl: Add gjs_arg_steal to unset a value and return its value
      cleanup: Don't use GSlice anywhere
      arg: Fix MIN/MAX safe big integer limits
      function: Early-initialize arguments cache or we won't ever release them
      function: Assert the presency of function info only if we've arguments
      arg-cache: Throw an error when handling unsupported caller-allocates types
      testGIMarshalling: Introspecting an unsupported out-caller allocated throws
      arg: Use a switch to check the intarray element tags
      arg-cache: Use switch to select the array length argument type
      jsapi-util-error: Use switch to filter the supported error protos
      object: Use switch to introspection unsupported tags
      arg: Use switch/cases instead of long if's when convenient
      gjs-tests: Add gjs_arg_* tests
      gjs-tests: Add tests to verify rounded GArgument getter
      function: Make gjs_callback_trampoline_ref to return the struct
      function: Use gatomicrefcount for trampoline refcounting
      function: Define a trampoline autopointer cleanup function and use it
      function: Cleanup the completed trampolines removal in one call
      function: Use more auto pointers for base info
      engine: Cleanup leftover async calls trampolines on gc
      arg-cache: Make it clearer how we handle the trampoline references
      function: Use a vector to hold the completed trampolines
      jsapi-util: Mark some GjsAutoPointer operations as constexpr
      function: Use c++ features to handle GjsCallbackTrampoline
      function: Split trampoline callback handler removing goto
      arg: Automatically figure out the proper container type for a JS value
      arg: Automatically set all the numeric values to GIArguments
      js-value-inl: Add Support for GType and 64 bit integer
      arg: Add a templated static type name function
      arg-cache: Use gjs_arg_set_from_js_value to set arguments from JS
      arg: Use only one single template-based function to create simple types array
      arg: Convert GValue arrays using auto function
      arg: Implement gjs_array_to_strv using the auto-array
      arg: Don't create temporary values when array types have direct conversion
      gi: Use static argument type names instead of getting them from tag
      arg: Handle out-of-range error as part of the hashtable int key creation
      arg-cache: Use only one marshaller for all the numeric types
      value: Use Gjs::js_value_to_c[_checked] to transform values
      arg: Use a template function to generate Array from GList and GSList
      arg: Use an unique template function to free G(S)List
      arg: Use template function to convert JS Array to G(S)List
      arg: Improve debugging of numeric marshal conversions
      arg-cache: Use simple boxed marshaller if we're handling a GValue method
      boxed: Also unset the GValue if allocated directly
      arg-cache: Support passing GValue objects, not only generated-gvalues
      test: Increase the timeout for the API tests test
      wrapperutils: Use native C++ allocation and deletion for wrappers
      Use standard allocator for JS private data
      arg: Use argument flags for the gjs conversion functions
      gi: Support caller-allocates GValue arguments
      arg-cache: Use more flags to store argument flags
      arg-cache: Save unsigned state as argument flag, sharing the bit with FILENAME
      wrapperutils: Release the arcbox if we return early
      jsapi-util: Rewrite GjsAutoPointer to only use template data
      jsapi-util: Add back support for C++ objects and arrays to GjsAutoPointer
      jsapi-util: Add copy function to GjsAutoStrv (and test it)
      jsapi-util: Inherit constructors for GjsAutoBaseInfo and friends
      jsapi-util: Add copy and equality operator to GjsAutoPointer
      jsapi-util: Use constexpr based checks on GjsAutoPointer functions
      jsapi-util: Make SFINAE on constructor to work with clang++
      boxed: Use an unique_ptr to store the FieldMap
      jsapi-util: Add GjsSmartPointer template to create an auto-pointer dynamically
      gi: Use more GjsAutoPointer's in wrapper classes
      gi: Use GjsSmartPointer to handle destruction of Wrapped objects
      jsapi-util: Add out operator to get the double pointer
      arg: Use early-return in JS to GIArgument conversion function
      jsapi-util: Add SmartPointer for G(S)List and use it
      repo: Use an autopointer to free the versions list, don't leak on error
      arg: Use GjsSmartPointer to get the right auto pointer on array
      arg: Use smart pointers and early-return on functions
      testGIMArshalling: Actually run the GPtrArray utf8 tests
      function: Don't use alloca for CallState values
      function: Allocate ffi_arg_pointers using an unique_ptr array
      Dockerfile: Allow to pass the mozjs base to use for build-deps
      function: Use std::string for building the function string

Michael Catanzaro (1):
      Fix 32-bit build

Nasah Kuma (1):
      Add backtrace full command to debugger

Nasah-Kuma (2):
      Update CONTRIBUTING.md about the runner system failure
      added rule to handle blank lines at the start of blocks

Nina Pypchenko (1):
      Fixed error in _init() that prevented GType objects from being created. Improved the regression test, 
implementing Marco T's feedback.

Philip Chimento (143):
      build: Post-release version bump
      Merge branch 'unsupported-caller-allocates-throws' into 'master'
      Merge branch 'remove-gslice' into 'master'
      Merge branch 'safe-integers-check' into 'master'
      Merge branch 'ewlsh/fix-leak' into 'master'
      release: Add NEWS from stable release 1.66.0
      build: Post-branch version bump
      Merge branch 'clang' into 'master'
      Merge branch 'fix-cli-help-message' into 'master'
      Merge branch 'more-switches' into 'master'
      Merge branch 'args-tests' into 'master'
      Merge branch 'gbsneto/external-capture-writer' into 'master'
      CI: Fix IWYU includes
      Merge branch 'includes' into 'master'
      Merge branch 'trampoline-cleanups' into 'master'
      maint: Remove obsolete unittest.gdb
      maint: Remove weird indentation from Meson subproject file
      examples: Fix Clutter example
      maint: Remove Mozilla license from stack.cpp
      maint: Convert all existing license/copyright comments to SPDX format
      maint: Add MIT license to clang-format hooks
      maint: Add license to files that were copied from GLib
      maint: Add GPL license and copyright to example copied from Seed
      maint: Replace clutter example image with a known license-free one
      maint: Add dual MIT/LGPL license to all GJS files that didn't have one
      CI: Make clang jobs actually use clang
      maint: Mark parameters maybe_unused if only used in asserts
      jsapi-util: Remove unused value read from /proc/self/stat
      jsapi-util: Change upper limit of RSS trigger to uint32 max
      tests: Remove constexpr from get_random_number
      profiler: More specific struct initializer expressions
      CI: Add workaround for IWYU bug
      Merge branch 'september-maintenance' into 'master'
      Merge branch 'ewlsh/fix-null-pointers' into 'master'
      Merge branch 'ewlsh/fix-fundamental-parameters' into 'master'
      release: Add NEWS from stable version 1.66.1
      Merge branch 'gvalue-pass-object' into 'master'
      Merge branch 'issue-238' into 'master'
      Merge branch 'mcatanzaro/#357' into 'master'
      Merge branch 'patch-1' into 'master'
      Merge branch 'wip/verdre/cache-gtype' into 'master'
      Merge branch 'gvalue-caller-allocates' into 'master'
      Merge branch 'more-cpp-objects' into 'master'
      Merge branch 'wip/verdre/get-string-inside-resolve_impl' into 'master'
      Merge branch 'nasah-kuma-updates-on-eslint-configuration' into 'master'
      Merge branch 'imports-documents' into 'master'
      Fix CI by removing Docker service
      Merge branch 'constructor-warnings' into 'master'
      Merge branch 'run-gptrarray-tests' into 'master'
      Merge branch 'gtk4-hang' into 'master'
      Merge branch 'multi-len' into 'master'
      Merge branch 'templated-gjs-autopointer' into 'master'
      Add .gitignore file
      Add script for running eslint
      Merge branch 'ewlsh/fix-eslint' into 'master'
      repo: Remove JSClass macros
      Merge branch 'construct-only' into 'master'
      Merge branch 'remove-jsclass-macros-from-repo' into 'master'
      CI: Avoid cppcheck false positive
      CI: Activate GNOME-specific rules in cppcheck
      Merge branch 'cppcheck' into 'master'
      maint: Move expressions with side-effects out of assert statements
      maint: Replace use of g_newa() and g_alloca()
      dbus: Avoid null dereference in error message
      util: Fix wrong format specifiers
      module: Delete GjsScriptModule copy constructor and assignment operator
      tests: Use GObject weak pointer to track test object refcount
      CI: Avoid cppcheck false positives
      CI: Add cppcheck config file
      CI: Replace jobs that pull from DockerHub with CI templates
      CI: Replace cpplint image build and CI job with CI templates
      CI: Use Fedora project registry images instead of DockerHub
      CI: Use images with buildah and runc preinstalled for image builds
      Merge branch 'bye-dockerhub' into 'master'
      CI: Stop building mozjs68 images
      CI: Upgrade mozjs78 images to Fedora 33
      Merge branch 'fedora33-ci-images' into 'master'
      param: Remove JSClass macros
      importer: Remove JSClass macros
      Merge branch 'codespell-fixes' into 'master'
      Merge branch 'codespell-ci' into 'master'
      maint: Add copyright notices based on major file contributors
      maint: Make project compatible with Reuse Software spec
      CI: Add license-check job
      maint: Add copyright notices to debugger tests
      Merge branch 'copyright-conformance' into 'master'
      CI: Fix bug in IWYU mapping file
      CI: Remove false positive includes
      test: Avoid including stddef.h for NULL
      CI: Don't ignore fatal errors in IWYU postprocess script
      profiler: Fix mistake in HAVE_SIGNAL_H preprocessor guard
      CI: Fix bug in IWYU postprocess script
      CI: Remove workarounds no longer needed for IWYU 0.14
      CI: Add standalone header files to IWYU script
      CI: Make necessary changes to includes for IWYU 0.15
      CI: Bump pinned job to a Fedora 33 image
      js: Remove IWYU pragma from includes
      Merge branch 'fix-iwyu-bugs' into 'master'
      CI: Limit bandwidth usage for git clones during CI
      CI: Compare cpplint and IWYU against the pull request's base branch
      Merge branch 'reduce-bandwidth-and-diff-checks' into 'master'
      test: Fix debugger test script to print diff properly
      debugger: Make '$$' mean the last value
      Merge branch 'ewlsh/fix-ci' into 'master'
      Merge branch 'revert-6ce45bb3' into 'master'
      Merge branch 'readline-link' into 'master'
      Merge branch 'native-registry' into 'master'
      CI: Generate compile database without running Meson
      arg: Only accept object in gjs_object_to_g_hash()
      arg: Remove unnecessary forward declaration
      CI: Ignore subprojects in coverage reports
      CI: Remove unnecessary ninja invocation from coverage
      CI: Install sysprof from package instead of building it
      CI: Remove JHBuild line from CI script
      test: Use g_assert_{true,false} in unit tests instead of g_assert
      jsapi-util: Remove const T* get() overload of GjsAutoPointer
      test: Silence self-assignment clang warning in a more idiomatic way
      wrapperutils: Make static constexpr members uppercase
      gi: Remove unused destructors
      wrapperutils: Remove to_string_kind()
      jsapi-util: Change CallArgs parameter to const reference
      doc: Update style guide to include SPDX comments
      gtype: Remove gjs_typecheck_gtype()
      doc: Update style guide with advice about g_assert()
      Merge branch 'november-maintenance' into 'master'
      build: Require gobject-introspection 1.66.0
      Merge branch 'bump-gi-1.66' into 'master'
      Merge branch 'codespell-ci' into 'master'
      Merge branch 'debugger-$$' into 'master'
      wrapperutils: Really make debug methods no-ops if compiled out
      docs: Avoid confusing term "checkout directory"
      CI: Fix stdint.h IWYU workaround
      context: Remove JSAPI annotation from GjsContextPrivate::eval()
      CI: Fix getting the upstream base
      CI: Fix cut off stack traces in sanitizer jobs
      js: Use strings and stringstreams instead of GString
      Merge branch 'december-maintenance' into 'master'
      Merge branch 'remove-jsclass-macros-from-param' into 'master'
      Merge branch 'remove-jsclass-macros-from-importer' into 'master'
      build: Require g-i 1.66.1 for tests
      Merge branch 'wip/smcv/test-more-flags' into 'master'
      Merge branch 'add-backtrace-full-command-to-debugger' into 'master'
      release: Prepare for 1.67.1

Simon McVittie (1):
      testGIMarshalling: Expand test coverage for flags

wsgalaxy (1):
      Add more documents for "imports" and "imports.gi"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]