[gjs] Created tag 1.69.1



The unsigned tag '1.69.1' was created.

Tagger: Philip Chimento <philip chimento gmail com>
Date: 1628226969 -0700

    Version 1.69.1
    
    - Memory usage improvements and bug fixes.
    
    - Progress on TextEncoder/TextDecoder.
    
    - Closed bugs and merge requests:
    
      * Cleanup gjs_closure_invoke [#382, !592, Philip Chimento]
      * Various maintenance [!600, !616, !624, !630, Philip Chimento, Marco
        Trevisan, Evan Welsh]
      * doc: Add simple sysprof example [!606, Andy Holmes]
      * examples: add examples of GtkBuilder templates [!607, Andy Holmes]
      * doc: document shebang for ESModules [!608, Sonny Piers]
      * Gio.ListStore.insert_sorted's compare_func isn't handled correctly [#326,
        !610, Veena Nagar]
      * object: Block access to object only if it is finalized [!611, Marco
        Trevisan]
      * tests: Add unit tests for ToggleQueue and ObjectInstance usage of it [!615,
        Marco Trevisan]
      * gjs-test-tools: Throw error if we can't create threads [!618, Marco
        Trevisan]
      * build: Support meson unity builds [!619, Marco Trevisan]
      * build: Support building with precompiled headers [!620, Marco Trevisan]
      * Support GObject properties with GByteArray type [#276, !621, Veena Nagar]
      * Regression in running tests with log output redirected to file [#410, !622,
        Philip Chimento]
      * doc: add Commit and Almond to applications [!623, Sonny Piers]
      * closure (and trampoline): Reimplement to be a C++ class with custom heap
        allocator [!625, Marco Trevisan]
      * gjs-test-utils: Be more liberal in comparing values of different types
        [!626, Marco Trevisan]
      * [regression] gjs master can't build today [#414, !627, Daniel van Vugt]
      * Add memory counter profiling [#292, !629, Philip Chimento]
      * Promisify should complain if the async or finish function doesn't exist
        [#200, !631, Veena Nagar]
      * Add 'S' conversion specifier to gjs_parse_call_args [!638, Philip Chimento]
      * Fix builds on Windows/Visual Studio with the latest GIT master [!639,
        Chun-wei Fan]
      * meson: fix version check for precompiled headers [!640, Jordan Petridis]
      * GjsDBusImplementation.emit_property_changed(..., null): assertion failed
        [#427, !642, Andy Holmes]
      * gi: Only enumerate properties which GJS defines [!643, Evan Welsh]
      * Add Internship Getting Started documentation [!645, Philip Chimento]
      * arg-cache: Handle notified callbacks without destroy [!647, Florian Müllner]
      * esm/gi: Improve check for version conflicts [!650, Florian Müllner]

Changes since the last tag '1.68.0':

Andy Holmes (3):
      doc: Add simple sysprof example
      examples: add examples of GtkBuilder templates
      GDBus Implementation: fix invalidating properties when emitting changes

Carlos Garnacho (3):
      GObject: Ensure to call setter methods for construct-only properties
      GObject: Call only setter for JS-defined construct-only properties
      object: Avoid setting construct properties multiple times

Chun-wei Fan (7):
      meson.build: Ignore warning C5030 on Visual Studio
      installed-tests: Fix building libgjstesttools
      build: Define WIN32_LEAN_AND_MEAN on Windows builds
      gjs/text-encoding.cpp: Replace strcasecmp with g_ascii_strcasecmp
      gjs_pch.hh: Include alloca.h and syscall.h in profiler builds
      build: Fix PCH on Visual Studio
      README.MSVC.md: One more fix in the SpiderMonkey headers

Daniel van Vugt (1):
      meson.build: Avoid putting two copies of libsysprof-capture-4.a in libgjs

Evan Welsh (14):
      gi: Correctly hold references for gvariant transfer parameters
      byteArray: Refactor functionality into Encoding
      ByteArray: Add jsdoc to ByteArray.fromArray()
      ByteArray: Clarify eslint override
      jsapi-util-string: Clean up gjs_string_from_utf8() to use early return
      text-encoding: Factor out UTF-16 codeset into a string constant
      text-encoding: Improve and factor out check for "UTF-8" encoding
      modules: Add helper to load context setup modules
      modules: Add bootstrap file with ESM support
      gi: Only enumerate properties which GJS defines
      Ensure the correct realm is entered in the async executor
      Fix race condition in dynamic module resolution.
      Add test for dynamic import resolution
      object: Enqueue toggle ups when the heap is collecting

Florian Müllner (5):
      overrides/Gio: Fix _LocalFilePrototype
      ns: Expose __version__ property
      esm/gi: Use __version__ property to check for conflicts
      modules/internalLoader: Drop version map/check
      arg-cache: Handle notified callbacks without destroy

Jordan Petridis (1):
      meson: fix version check for precompiled headers

Kajal Sah (2):
      Upgrades codespell to 2.0.0 in CI and adds suggestions by codespell package
      Updates revision address of glib and gobject-introspection

Marco Trevisan (Treviño) (96):
      object: Return undefined and not the actual function on disposed objects
      testFundamental: Ensure a fundamental can be converted to GValue in both ways
      fundamental: Use value or instance pointer when no get/set funcs are provided
      wrapperutils: Use native ostringstream pointer to string conversion
      fundamental: Improve error message about invalid conversion types
      testFundamental: Add more tests ensuring we can upcast but not downcast
      fundamental: Use g_value_type_compatible to check if we can do type conversion
      fundamental: Also allow to transform a fundamental to a compatible gvalue
      testGObjectValue: Add GValue conversion test for GObject objects
      testGObjectValue: Add tests ensuring we can create GValue's for boxed types
      testGObjectValue: Add cases with GValue holding a GValue
      value: Support creating a GType from a GValue holding it
      testGObjectValue: Check that GValue's can be passed to functions
      testGIMarshalling: Add pending test for object string property
      arg: Dynamically get the gtype from JS object when none is provided
      fundamental: Support converting an empty GValue to a null fundamental
      testGObjectValue: Add tests setting an instance using a fundamental type
      object: Pass the instance pointer to toggle notify
      object: Switch back to normal references on disposal
      object: Use the term "DISPOSED" for objects in such state, not FINALIZED
      object: Catch finalized objects that are still under gjs scope
      object: Discard disposed GObject's and do not create wrappers for them
      object: Also unset the object qdata during wrapper destruction
      testGtk3: Ensure that disposed signal callback gets called with valid object
      testGobjectDestructionAccess: Verify usage of vfunc_dispose
      object: Never try to add a toggle reference on a disposed object
      installed-tests: Add GjsTestTools utilities to call native code for evil ops
      testGObjectDestructionAccess: Verify that disposed object is monitored
      object: Discard wrapper when GObject is disposed from main thread
      object: Cancel queued toggles on dispose notify
      object: Safely handle disposal when happening from other thread
      object: Do not disassociate a JS object if we have queued toggle up
      toggle: Initialize private variables on construction
      toggle: Add utility function to handle all toggles
      GjsTestTools: Move open_bytes here from GjsPrivate
      object: Improve debugging during wrapping/unwrapping GObject
      gjs-test-tools: Use `g_prefix_error` instead of using that ourself
      testGObjectDestructionAccess: Ensure that disposed wrappers are unbound
      object: Block access to object only if it is finalized
      gjs-test-tools: Ensure we use thread safe access to the saved object
      gjs-test-tools: Return GThread's when we don't join immediately
      arg-cache: Do not mark a function returning void* as skip-all
      testGObjectDestructionAccess: Check toggle events after the wrapper destruction
      toggle: Rely on wrapper to cancel finalized objects in queue
      toggle: Keep track of objects via ObjectInstance not GObject's
      toggle: Enforce thread-safety using a per-thread spin-lock
      object: Rely on next ToggleQueue iteration to handle already queued toggle events
      context: Ensure we check atomically if we're destroying from other threads
      log: Make logging thread safe
      log: Optimize topics check avoiding repeated strings checks
      repo: Always return on gjs_info_type_name to ensure it works without asserts
      installed-tests: Mark thread-safe tests using a suite and run them in CI
      gjs-test-tools: Adjust meson configuration, removing duplicated depends
      gjs-test-tools: Throw error if we can't create threads
      testGObjectDestructionAccess: Ignore errors when creating many threads
      gjs: Define once GCPolicy instead of repeating it all over the places
      function: Move Function into the Gjs namespace to be unique
      gjs: Ensure that we always use unique names for static values and types
      build: Add support to Unity builds and add a CI job testing it
      build: Support building with precompiled headers
      meson: Ignore precompiled headers option under g++ and earlier versions of meson
      test: Add a CI job that ensures that PCH file is populated with all headers
      ci: Only perform iwyu builds when actual sources or build parameters changed
      gjs_pch: Also include the mozjs required defines part of cflags
      test: Move assert_equal definition into Gjs::Test and common header
      tests: Move internal API tests into a different test binary
      tests: Add unit tests for ToggleQueue and ObjectInstance usage of it
      ci: Use unity build with the maximum size possible
      test: Move gjs-test code into Gjs::Test namespace
      jsapi-util: Add GjsAutoPointerSimple to avoid repeating the same type
      arg-inl: Use more auto-generated code avoiding typed parameters
      mem-private: Do not use volatile for atomic values
      context: Use native c++ thread to keep track of the context thread
      object: Move private callbacks to the private scope
      object: Optimize a bit AutoGValueVector usage
      jsapi-util-root: Mark some constexpr operations as such
      gjs-test-utils: Be more liberal in comparing values of different types
      context: Ensure that the GjsContext object is disposed from the owner thread
      context: Handle dispose notify manually
      object: Make ensure_toggle_reference to follow the JS API so we can throw
      Value: add Gjs::AutoGValue and use this to handle lifetime of GValues
      object: Use AutoGValueVector to build a list of GValue signal arguments
      utils: Add inline function to remove from unsorted vectors
      object: Invalidate closures while iterating, avoiding recursion
      gjs_pch: Only include sysprof-capture if profiler is enabled
      build: Use pch header for the internal library
      build: Disable glib assertions via G_DISABLE_ASSERT on release builds
      mem: Reimplement counters using c++ atomic and constexpr expressions
      object: Use vector for holding the list of wrapped objects
      context: Move garbage collection handling callback into context
      closure: Reimplement to be a C++ class with custom heap allocator
      GjsCallBackTrampoline: Inherit from Gjs::Closure (and so GClosure)
      function: Use minimal allocation for trampoline data
      GjsMaybeOwned: Remove notifier support and move it into GjsPrivateContext
      context: Cleanup completed trampoline in context, as this is what they belong to
      object: Use vector for holding the list of wrapped objects

Matt Turner (1):
      cairo: Add missing semi-colons from dummy class declarations

Michael Catanzaro (1):
      Merge branch 'assert-equal-comparable-types' into 'master'

Philip Chimento (101):
      build: Post-release version bump
      arg-cache: Never throw when building the argument cache
      GObject: Don't autogenerate accessors for CONSTRUCT_ONLY properties
      GObject: Define camel and kebab variants of CONSTRUCT_ONLY properties
      Merge branch '391-construct-only-accessors' into 'master'
      Merge branch 'local-proto' into 'master'
      Merge branch 'update-doc-for-dynamic-imports' into 'master'
      Merge branch 'undefined-returns-on-disposed' into 'master'
      Merge branch 'veenanitk-master-patch-89340' into 'master'
      Merge branch 'missing-semi-colons' into 'master'
      Merge branch 'master' into 'master'
      Merge branch 'handle-fundamental-pointers' into 'master'
      Merge branch 'sonny-master-patch-82843' into 'master'
      function: Save original allocated pointers
      maint: Mark functions as [[gnu::const]]
      maint: Replace G_GNUC_... macros with C++ attributes
      tests: Fix GIMarshallingTests.SubSubObject tests
      tests: Increase coverage of Regress and GIMarshalling test suite
      jsapi-util-string: Return smart pointer from gjs_hyphen_to_underscore()
      value: Rewrite incorrect and obsolete comments
      gerror: Make gjs_gerror_make_from_error() infallible
      system: Add missing functions to System module
      build: Add Flatpak manifest
      docs: Add note about building SpiderMonkey
      build: Post-branch version bump
      Merge branch 'march-maintenance' into 'master'
      Merge branch 'fix-objects-address' into 'master'
      Merge branch 'handle-fundamental-pointers-v2' into 'master'
      closure: Clean up gjs_closure_invoke()
      Merge branch 'doc-profiling' into 'master'
      jsapi-util-string: Print quotes around strings in gjs_debug_value()
      jsapi-util-string: Placeholder debug string for BigInt
      gerror: Handle any value when converting thrown value to GError
      Merge branch '382-cleanup-gjs-closure-invoke' into 'master'
      Merge branch 'ignore-disposed-objects' into 'master'
      Merge branch 'sonny-master-patch-35186' into 'master'
      Merge branch 'gtk-template-examples' into 'master'
      Merge branch 'block-access-only-if-finalized' into 'master'
      Merge branch 'master.msvc' into 'master'
      Merge branch 'safer-toggle' into 'master'
      Merge branch '386-arg-cache-not-supported' into 'master'
      arg-cache: Fix rebase collision
      Merge branch 'handle-tests-threads-errors' into 'master'
      Merge branch 'wip/carlosg/setter-methods-on-construct-only' into 'master'
      context: Don't prepend installed GjsPrivate search path if uninstalled
      heapgraph: Add special formatting for Proxy nodes
      context: Collect nursery before heap dump
      Merge branch 'april-maintenance' into 'master'
      Merge branch 'issue-326' into 'master'
      Merge branch 'issue276' into 'master'
      Merge branch 'unify-compile' into 'master'
      Merge branch 'pch' into 'master'
      system: Use RAII in System.dumpHeap and logging for file pointer
      Merge branch '410-destruct-log-file' into 'master'
      Merge branch 'wip/3v1n0/toggle-queue-tests' into 'master'
      byteArray: Fix crash with 0-length GLib.Bytes
      byteArray: Fix crash with 0-length string
      Merge branch 'almond' into 'master'
      Merge branch 'fix-zero-length-bytearray' into 'master'
      Merge branch 'master' into 'master'
      Merge branch 'glib-main' into 'master'
      jsapi-util-string: Handle BigInt in gjs_debug_value()
      maint: Add linter rule for multiline object literals
      CI: Correct task ID for TSAN job
      gettext: Export LocaleCategory enum in ES module
      CI: Add autoconf213 to dependencies in Dockerfile
      Merge branch 'may-maintenance' into 'master'
      Merge branch 'wip/carlosg/construct-only-setter-fixes' into 'master'
      Merge branch 'ewlsh/fix-data-corruption' into 'master'
      jsapi-util-args: Fix obsolete comments
      jsapi-util-args: Improve template for free_if_necessary
      jsapi-util-args: Fix assert_match() in tests
      jsapi-util-args: Add 'S' conversion specifier
      internal: Use gjs_parse_call_args() in internal module loader functions
      maint: Fix includes
      context: Improve profiling data for garbage collections
      mem: Add index to counter macros
      profiler: Define sysprof counters for the GObject wrapper counts
      system: Add System.dumpMemoryInfo() API
      Merge branch 'memory-counter' into 'master'
      Merge branch 'parse-call-args-jsstring' into 'master'
      Merge branch 'alatiera/meson-pch' into 'master'
      Merge branch 'master.msvc' into 'master'
      Merge branch 'ewlsh/fix-enumerate' into 'master'
      Merge branch 'gdbus-fix-invalidate-properties' into 'master'
      maint: Fix lint errors
      Add Internship Getting Started documentation
      docs: Replace IRC and mailing list with Matrix and Discourse
      docs: Fix out of date details in docs
      Merge branch 'ewlsh/fix-realm-in-async' into 'master'
      docs: Add instructions for installing mozjs78 with package manager
      Merge branch 'ewlsh/fix-dynamic-module-resolution' into 'master'
      Merge branch 'ewlsh/fix-barried-get-in-rooting' into 'master'
      Merge branch 'documentation' into 'master'
      Merge branch 'closures-cleanup' into 'master'
      Merge branch 'random-cleanups' into 'master'
      Merge branch 'better-version-check' into 'master'
      Merge branch 'forever-scope' into 'master'
      release: Add NEWS from stable release 1.68.1
      release: Add NEWS from stable release 1.68.2
      release: Prepare for 1.69.1

Philip Withnall (1):
      subprojects: Use GLib main branch

Sonny Piers (5):
      doc: Fix documentation for dynamic imports
      doc: add an example to get relative filename and dirname with import.meta.url
      doc: document shebang for ESModules
      doc: add Almond to applications
      doc: add Commit to applications

Veena Nagar (1):
      GObject properties with GByteArray type

dependabot[bot] (1):
      build(deps): bump lodash from 4.17.20 to 4.17.21 in /tools

veena (5):
      Add overrides for Gio.ListStore.insert_sorted and Gio.ListStore.sort
      modified _promisify function
      Revert "object: Use vector for holding the list of wrapped objects"
      modified _promisify function
      modified _promisify function

veenanitk (3):
      Update Hacking.md
      Updated Dependencies
      modified messsage


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