Opened 3 years ago

Closed 3 years ago

#15556 closed enhancement (fixed)

glib-2.70

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 3 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 3 years ago

Overview of changes in GLib 2.70.0

  • Bugs fixed:
    • Replace FreeBSD 11 with FreeBSD 13
  • Translation updates

Overview of changes in GLib 2.69.3

  • Bugs fixed:
    • g_settings_schema_key_range_check() misbehaves for int versus bool
    • Compiling anything with GCC <4.6 spews deprecation warnings
    • g_invoke_closure bindings API break.
    • GPowerProfileMonitorPortal does not notice initial power-saver-enabled status
    • doc: Explicitly said, that no null term. is needed
    • Use C.UTF-8 locale on FreeBSD 12
    • Fix conditions in memory-monitor test
  • Translation updates

Overview of changes in GLib 2.69.2

  • The DBUS_SESSION_BUS_ADDRESS environment variable is once more not used if the process is AT_SECURE (setuid/setgid/setcap); this change was previously applied and then reverted because it broke gnome-keyring
  • Add g_test_fail_printf(), g_test_skip_printf(), g_test_incomplete_printf() helper functions for printing messages when tests end prematurely
  • Add portal implementation of GPowerProfileMonitor
  • Bugs fixed:
    • Re-harden DBUS_SESSION_BUS_ADDRESS for AT_SECURE processes in GLib 2.70
    • Document explicitly refcount mgmt of source-object during GAsyncReadyCallbacks
    • Read past the end of buffer in g_win32_package_parser_enum_packages
    • Frequent test failure on FreeBSD: glib/tests/thread-pool.c:197: test_thread_pool_full: 'free_func_called' should be TRUE
    • tests: Add missing wakeup calls to gdbus-names test
    • docs: Mention the stable/unstable support version in README.md
    • Improve documentation of various TLS stuff
    • gtestutils: Add more convenience functions
    • tests: Fix error handling when testing gtestutils
    • gio: Add portal version of GPowerProfileMonitor
    • Docs: Mention that G_VA_COPY() must be followed by va_end()
    • build: Fix implicit declaration of function errors
    • Annotate the GString constructors
  • Translation updates

Overview of changes in GLib 2.69.1

  • Support categories in desktop notifications (GNotification)
  • Add GPowerProfileMonitor for monitoring when to use less power (due to being on battery power, electricity being expensive or high-carbon, etc.)
  • Allow static names to be set for GSources to avoid unnecessary string copies
  • Bugs fixed:
    • API: need g_module_open() variant with GError
    • win32: GPrivate can leak some objects
    • Add a GTypeFlag for final types
    • safe_fdwalk/safe_closefrom for Solaris 11.3/11.4
    • gio trash doesn't recognize existing trash directory in non-fs-root mount
    • Support categories for notifications
    • g_string_replace() loops 232 times when replacing empty string
    • gio/tests/g-file-info: don't assume million-in-one events don't happen
    • Clarify GValue documentation
    • Update GValue doc: How to use GBoxed with GValue
    • correctly use 3 parameters for close_range
    • gclosure: Fix the invoke() return_value annotation
    • glocalfileinfo: Fix usec/nsec confusion with filetimes on Windows
    • gspawn: Use CLOSE_RANGE_CLOEXEC if available
    • g_boxed_type_register_static, G_DEFINE_BOXED_TYPE: added correlating information
    • Fix more warnings
    • glib.supp: Expand match kinds for g_get_language_names() suppressions
    • Add GPowerProfileMonitor
    • Fix some test suite memory leaks
    • mainloop: Add g_source_set_static_name
    • GResource compiler: Prefix static [con|de]strutors with c_name
    • Port internal uses to use g_source_set_static_name()
    • Fix doc stanzas for GDataInputStream properties
    • Fix a Unicode typo
    • Document the stance on ID-based mainloop APIs
    • tests: Add a test for Unicode normalization
    • GWin32RegistryKey / GWin32AppInfo registry watch fixes
    • Adapt documentation to gi-docgen
    • GWin32AppInfo: Fix missing initialization
  • Translation updates

Overview of changes in GLib 2.69.0

  • Fix a crash in GKeyFile when parsing a file which contains translations using a GKeyFile instance which has loaded another file previously
  • Pin GIO DLL in memory on Windows
  • Fix building third-party projects against GLib on CentOS 7
  • Add g_thread_pool_new_full() API to allow queued GThreadPool data to be freed if the pool is freed early
  • Ensure dlerror() is used with locking as it’s not thread-safe in some libc implementations
  • Add g_dbus_is_error_name() and g_dbus_is_interface_name() convenience functions
  • Drop internal libpcre copy in favour of a subproject from wrapdb
  • Add g_prefix_error_literal() helper function
  • Add g_bytes_get_region() to get data from a GBytes with range checks
  • Add g_object_take_ref() to sink a floating ref
  • Optimise grefcount atomic operations
  • Fix resolving child GSettings schemas from the parent’s schema source
  • Fix g_date_time_format() return value encoding if LC_TIME is not a UTF-8 locale but other locale settings are
  • Set app name in freedesktop.org notifications with GNotification
  • Significantly improve retrieval of mount data on Windows
  • Add g_file_info_get_(access|creation)_date_time() accessors
  • Always apply the remove_dot_segments algorithm to URIs in g_uri_parse(); previously it was only applied to relative URIs
  • Rename git master branch to main
  • Various macro and version check cleanup
  • Add a GTlsConnectionClass.get_negotiated_protocol vfunc so that g_tls_connection_get_negotiated_protocol() can be made thread-safe

  • Improve guess about whether a Windows process is a console process

  • Add g_steal_fd() function
  • Add g_spawn_check_wait_status() and distinguish more carefully between wait status and exit status in the GSpawn API
  • Add g_tree_remove_all()
  • Simplify exception handling on Windows to eliminate risk of it failing due to prior heap corruption
  • Fix handling EOF when reading from SOCKS5 proxy stream
  • Unset the registered state of a GApplication after it has shut down
  • Support GPattern as a boxed type
  • Add g_tls_connection_get_protocol_version() and g_tls_connection_get_ciphersuite_name() to get TLS connection information

  • Make TLS private key properties readable in GTlsCertificate
  • Fix detection of static libintl when building on macOS
  • Add g_strv_builder_addv() and g_strv_builder_add_many() to the GStrvBuilder API
  • Add not-valid-before, not-valid-after, subject-name, issuer-name, dns-names, ip-addresses properties to GTlsCertificate

  • Add PKCS#11 flags to GTlsPasswordFlags
  • Bugs fixed:
    • GThreadPool and the ability to free data waiting to be handled
    • g_match_info_fetch_named not return empty string as expected
    • ref doc doesn't talk about "helper getters" optimization in g_file_info.c
    • dlerror() not thread-safe in all libc, making gmodule-dl.c's fetch_dlerror fail sometimes
    • please consider: #define g_dbus_is_error_name(x) g_dbus_is_interface_name (x)
    • Add documentation example for GArray and g_array_set_clear_func()
    • update to pcre 8.35+
    • [patch] add g_prefix_error_literal()
    • Potentially confusing error message when object doesn't exist
    • gobject: Allow passing %NULL for @data in g_object_remove_toggle_ref
    • drop embedded pcre copy
    • gdbusproxy stops tracking if dbus service restarts
    • GBytes: add range-checked pointer getter
    • GObject: add g_object_take_ref()
    • Optimise gatomicrefcount operations
    • Somewhat misleading documentation of GSourceFuncs
    • g_settings_get_child not compatible with g_settings_schema_source_new_from_directory
    • Add additional unit tests for D-Bus name watching
    • g_date_time_format() does not return UTF-8 if LC_TIME is not UTF8 but other locale settings are UTF-8
    • FreedesktopNotification fails to set app_name
    • SHGetFileInfoW() is not reliable (time-wise)
    • Add g_file_info_get_(access|creation)_date_time()
    • Crash on Windows MSVC build around gio
    • testfilemonitor test leaks ip_watched_file_t struct
    • GIO tests fail to build with clang-cl
    • g_uri_parse doesn't apply the remove_dot_segments algorithm to the path
    • Investigate renaming master git branch to main
    • RUN_FIRST | RUN_CLEANUP signals with a default handler ignore return values from user handlers
    • GLib 2.68.0: gio-querymodules segfaults on Windows
    • g_key_file_load_from_file segfaults on "Key[*]="like lines
    • g_newa() doesn’t check for multiplication overflow
    • g_task_run_in_thread () limits are not clear
    • glocalfile: Add native exfat magic number to filesystem list
    • GLIB_VERSION_MAX_ALLOWED < 2.60 does not warn when using G_GNUC_FALLTHROUGH
    • json-glib does not build with glib 2.68.1
    • Pixman compilation error due to glib
    • Use G_GNUC_CHECK_VERSION to check the GNUC version
    • g_tls_connection_get_negotiated_protocol() is not threadsafe
    • Slow to list device in windows
    • Change spelling of ‘serialise’ to ‘serialize’ in documentation
    • Mention that GNotification requires an installed .desktop file to work
    • Project crashes when executing g_application_mark_busy
    • Devhelp: Glib Reference Manual/Glib Overview/Running Glib Applications formatting issue.
    • certificate: g_tls_certificate_new_from_pem invalid read on non null terminated data
    • GFile: g_file_replace_contents() reports G_IO_ERROR_WRONG_ETAG when saving from a symlink
    • gatomic: atomic functions are called for CV-qualified output variables
    • resources.c:656:test_resource_binary_linked: 'found' should be TRUE
    • gbookmarkfile: Don't crash if we're not visited
    • gspawn-win32: improve guess whether process is console process
    • docs: Expand documentation about D-Bus GUIDs
    • Fix more warnings
    • gversionmacros: Add version macros for GLib 2.70
    • Add g_steal_fd() to API
    • Distinguish more clearly between wait status and exit status
    • glib_typeof: Move definition to its own header
    • docs: Add a policy for handling security issues
    • make g_tree_remove_all public
    • Include glibconfig.h to get the G_OS_UNIX token
    • gpollableinputstream: Add missing annotation
    • goption.c: Simplfy parse_short_option()
    • Some improvements to clang-cl builds
    • introspection: Remove 'caller-allocates' from POD types
    • fuzzing: Add fuzz tests for functions which parse paths
    • tests: Deactivate tls-bindings test suite for windows
    • docs: Fix example program link
    • docs: Replace git.gnome.org with gitlab.gnome.org urls
    • fuzzing: Fix assertion failure in fuzz_paths.c
    • GIO W32: Pin gio DLL
    • gtlspassword: Fix g-i annotation of return for g_tls_password_get_value
    • [th/gdbus-cleanup] two minor cleanup patches for gdbusconnection.c
    • Split g_test_log() messages that contain multiple lines
    • Fix a handful of minor leaks found by Coverity
    • Fix more warnings
    • Re-simplify exception handling on Windows
    • gsocks5proxy: Handle EOF when reading from a stream
    • Fix annotation of count arguments
    • gmacros.h: use G_GNUC_CHECK_VERSION
    • Fix more warnings
    • Implement G_ANALYZER_NORETURN for Coverity
    • Fix more warnings
    • refcount: Clarify when the ref count ends up undefined
    • grefcount: Clarify that the initial reference count is 1
    • gmacros.h: use g_macrohas_attribute() where possible
    • gerror: Clarify docs around message requirements
    • Fix more warnings
    • Fix typo in g_socket_listener_accept_async()'s comment
    • gdbus: document completion after idle action for

g_dbus_connection_signal_unsubscribe()

  • Add nullable annotations in GUnixMountEntry
  • g_string_replace(): Fix documentation of 'limit' parameter
  • docs: Fix formatting of code block
  • Improve handling of FILENAME_MAX
  • application: Unset the registered state after shutting down
  • Fix more warnings
  • gpattern: Register as Boxed type and support introspection for it
  • gmacros: missing check if STDC_VERSION is defined
  • gdbus-tool: Actually use argv[0] basename as program name
  • gstring: Cleanup documentation of g_string_replace
  • Fix more warnings
  • gdtlsconnection: Fix a check for a vfunc being implemented
  • tls: add functions to get protocol version and ciphersuite name
  • gthreadedresolver: don't ignore flags in lookup_by_name_with_flags
  • guuid: fix shift operation to parse hex string in uuid_parse_string()
  • Fix more warnings
  • gcredentials.h: Fix comment typo
  • gtlscertificate: make private key properties readable
  • Fix more warnings
  • docs: Standardize spelling of serializ*
  • Fix more warnings (clang)
  • grefcount: Optimise g_atomic_ref_count_dec
  • gmacros.h: G_NORETURN: remove useless checks
  • tests: Add missing return value check in string test
  • Fix more warnings
  • tests: Drop use of g_test_bug_base()
  • tests: Use a temporary file in the bookmarkfile tests
  • Fix more warnings
  • glib spawn-singlethread test only if F_DUPFD_CLOEXEC is defined
  • meson: Fix detection of static libintl on macOS
  • gstrvbuilder: add addv and add_many to the API
  • tls: expose cert details on GTlsCertificate
  • Fix more warnings
  • gdbusobjectmanagerclient: Call GetManagedObjects async
  • gdbus: Add various missing (nullable) or (not nullable) annotations
  • gtlspassword: Add flags signifying PIN type for PKCS#11
  • gutils: ensure g_find_program_in_path() return an absolute path
  • Revert "tests: Deactivate tls-bindings test suite for windows"
  • gdbus, win32: Fix accidental dllexport in static builds
  • tls: expose SAN details on GTlsCertificate
  • compiling.xml: Don't recommend backticks
  • pcre: Drop internal libpcre copy
  • gunixmounts: Document NULL return value for g_unix_mount_for()
  • tests: A few small improvements to GBytes tests
  • docs: Fix annotations for optional arguments
  • glocalfilemonitor: Avoid a deadlock on finalization
  • testgdate: fix -Wmisleading-indentation warning
  • gtlscertificate: Add more annotations to new properties
  • g_value_set_string description: clarified (unified), that v_string is a copy.
  • gasyncqueue: Add missing (nullable) annotation to free function
  • data-to-c.py: generate new-line at the end of the file
  • Translation updates

comment:3 by Bruce Dubbs, 3 years ago

Resolution: fixed
Status: assignedclosed

Fixed at commit 642e43dd8c052f9bdc3d8fb8dfdc94163bd99ad3

Package updates.
    Update to glib-networking-2.70.0.
    Update to glib-2.70.0.
Note: See TracTickets for help on using tickets.