Opened 5 years ago

Closed 5 years ago

#12486 closed enhancement (fixed)

glib-2.62.0

Reported by: Douglas R. Reno Owned by: Bruce Dubbs
Priority: normal Milestone: 9.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version

Change History (3)

comment:1 by Xi Ruoyao, 5 years ago

Overview of changes in GLib 2.62.0

  • Fix new GFileInfo APIs to work when G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC was not queried (!1087)
  • Bugs fixed:
    • #487 Add valgrind test runs to CI
    • !1084 garray: Fix reference to GLIB_SIZEOF_INT
    • !1086 glib.supp: make gobject_init() calloc also of the possible kind
    • !1087 fileinfo: ignore USEC if not available
  • Translation updates:
    • Friulian
    • Portuguese (Brazil)

Overview of changes in GLib 2.61.3

  • Support setting thread name on BSD systems (#1761)
  • Install previously-uninstalled headers for public GNativeSocketAddress object (#1854)
  • Very initial support for Windows apps (UWP) (!1057)
  • Add various new valgrind suppressions to glib.supp (#1879, !1075)
  • Bugs fixed:
    • #83 Optimisation for g_nearest_pow() in garray.c
    • #512 GSignal: accumulator function not called to accumulate G_SIGNAL_RUN_CLEANUP object handler return values
    • #873 allow NULL arguments to parse_strv
    • #905 Patches from static analysis run on 2.40
    • #1057 goption: add sanity check to input parameters
    • #1309 GSettings object stops emitting "changed" signal on g_settings_reset after call to g_settings_delay
    • #1620 GDBus criticals from GVfs with GLib master
    • #1761 Setting thread-name on BSD systems
    • #1803 GDK_SCALE=X is not respected when using "gio open"
    • #1819 Invalid characters in Open Location dialog crashes GIMP
    • #1852 Regression: g_mkdir_with_parents() returns 0 on failure
    • #1854 glib/gio: GNativeSocketAddress headers not installed.
    • #1860 g_clear_handle_id does not trigger GLIB_VERSION_MAX_ALLOWED warning
    • #1863 Potential invalid writes on g_utf8_strreverse
    • #1867 A couple of en_GBisms
    • #1870 GSettingsBackend watches not thread-safe
    • #1879 Incomplete valgrind suppressions - 16 KiB leak reported by valgrind from loading libglib-2.0.so
    • #1880 glib/gbacktrace.c: If dup2 happened to return -1, don't call dup2 with same value
    • #1881 GIO_USE_VOLUME_MONITOR and GIO_USE_FILE_MONITOR do not work as documented
    • !1002 Remove mentions of mailing lists from the documentation
    • !1011 gapplication: Fix a leaking GRemoteActionGroup member
    • !1015 Post-release version bump
    • !1016 gnetworkmonitornm fixups
    • !1017 Improve ISO 8601 parsing by GDateTime
    • !1023 g_object_get_property: Improve documentation for use of G_VALUE_INIT
    • !1026 gutf8: Assert that written memory stays in bounds
    • !1027 gfileutils: Fix error propagation for other than ENOENT
    • !1031 meson: build gnulib if printf isn't good enough
    • !1032 meson: small printf check cleanups
    • !1033 win32: don't assume the format specifier for the stdlib printf/scanf like functions
    • !1034 glib/tests/fileutils: Add a reproducer for #1852
    • !1036 cond test: Don't make assumptions about struct sigaction member order
    • !1037 Meson: Override glib-compile-resources/schemas
    • !1044 Relax use of g_test_bug() to not require g_test_bug_base() to be called first
    • !1049 minor typos in the documentation
    • !1050 tests: Fix a pragma warning on FreeBSD
    • !1054 gerror: Add a docs paragraph about not displaying errors verbatim in UI
    • !1057 Some (probably) easy uwp patches
    • !1059 Update win32 readme, add myself to codeowners
    • !1066 libffi.wrap: Meson port has moved to FDO gitlab
    • !1068 gsubprocesslauncher.c: fix documentation
    • !1071 meson: Move libdl_dep to the top level
    • !1074 Adjust README formatting
    • !1075 glib.supp: add suppression for g_type_class_ref()
  • Translation updates:
    • Basque
    • Catalan
    • Czech
    • English (United Kingdom)
    • French
    • Galician
    • German
    • Hungarian
    • Indonesian
    • Korean
    • Lithuanian
    • Polish
    • Romanian
    • Spanish
    • Swedish

Overview of changes in GLib 2.61.2

  • Add various new array functions (#236, #269, #373)
    • g_array_copy()
    • g_ptr_array_copy()
    • g_ptr_array_extend()
    • g_ptr_array_extend_and_steal()
    • g_array_binary_search()
  • Add g_assert_finalize_object() helper function for writing tests (#488)
  • Rework how D-Bus connections are closed/unreffed when g_test_dbus_down() is called. Tests which leak a GDBusConnection may now time out and abort, rather than silently leaking. (#787)
  • Add a deprecation macro for GLib macros, and use it; third-party uses of long-deprecated GLib macros may now start causing warnings. (#1060)
  • Deprecate GTime and GTimeVal, and various functions which use them. Use GDateTime and guint64 UNIX timestamps instead. (#1438)
  • Stop using G_DISABLE_DEPRECATED to allow disabling deprecation warnings; third-party code should now be using GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to control symbol usage (!871)
  • Improve support for running ninja test when GLib is built statically (#1648)
  • Improve GNetworkMonitor detection of offline states (#1788)
  • Fix build failure on macOS related to missing _g_content_type_get_mime_dirs function (#1791)
  • Add various installed utilities’ paths to gio-2.0.pc (#1796)
  • Fix keyfile GSettings backend and portal (especially relevant to any version of GLib included in a flatpak runtime) (#1822, !985)
  • More IPv6 ‘Happy Eyeballs’ fixes in GNetworkAddress (!865)
  • Fix CVE-2019-12450, wide permissions of files when copying using GIO (!876)
  • Bump the Meson dependency from 0.48.0 to 0.49.2; we won’t depend on anything higher than this for a while, as Debian 10 ships 0.49 (!924)
  • Various test fixes for Windows (!930, !931)
  • Initial support for Universal Windows Platform (UWP): certification, and use of packaged libraries (!951)
  • Add experimental clang-cl support on Windows, allowing g_autoptr() support on Windows (!979)
  • Bugs fixed:
    • #77 G_STDIO_NO_WRAP_ON_UNIX wraps
    • #236 Add a function to copy an array
    • #269 Additional convenience functions for g_ptr_array
    • #373 GArray could use a binary search function
    • #436 running tests leaves lots of coredumps
    • #453 find-enclosing-mount docs confusing
    • #488 Add g_object_assert_last_unref() helper macro to detect object leaks in tests
    • #590 A reader lock can be obtained even if a writer is already waiting for a lock
    • #638 g_atexit is defined when not declared
    • #737 Initialize GValue in g_object_get_property()
    • #787 gtestdbus: Properly close server connections
    • #804 gdbusproxy prefixes unstripped error
    • #870 Fix and enhance GDatetime for Windows
    • #872 ucs4 functions have wrong return transfer
    • #887 gdusmessage.c mishandles bounds of GDBusMessageType and related enums
    • #894 gvalue: Avoid expensive checks where possible
    • #940 Docs for g_socket_listener_set_backlog are not very helpful
    • #943 G_DEFINE_TYPE_WITH_PRIVATE docs not helpful
    • #1018 Allow guid key in dbus addresses
    • #1060 Add deprecation macro for macros
    • #1169 Tools can display gibberish messages from translations
    • #1270 g_get_charset always returns 8-bit codepage on Windows, crippling UTF-8 output
    • #1438 Deprecate GTimeVal- and GTime-based APIs
    • #1635 g_socket_join_multicast_group iface parameter fails on win32/64
    • #1648 2.58.2: Assorted asserts fail in Arch Linux when built statically
    • #1729 g_content_type_guess segfaults when passed an empty data buffer on Mac OS
    • #1788 GNetworkMonitor claims I am offline
    • #1790 documentation on g_file_info_get_attribute_as_string
    • #1791 _g_content_type_get_mime_dirs missing from libgio-2.0.0.dylib on MacOS
    • #1792 glib-genmarshal generated valist marshal does not respect static scope for some types
    • #1793 glib-genmarshal generates wrong code for va marshaler for VARIANT type
    • #1794 API Proposal: g_timer_is_active
    • #1796 Add gio-querymodules variable to pkg-config file
    • #1797 glib/tests/win32 test failing on 64-bit Visual Studio builds
    • #1798 /contenttype/tree reliably fails on FreeBSD since !863
    • #1807 g_dbus_server_new_sync() documentation references nonexistent function
    • #1808 Stopping a GDBusServer should clean up Unix socket paths (if not abstract) and nonce-tcp nonce files
    • #1811 Introspection info for g_unichar_compose's 3rd arg should be OUT
    • #1822 keyfile gsettings backend not loading
    • #1823 Documentation for disabling selinux is incorrect
    • #1825 GKeyFileSettingsBackend created without filename construct property and unchecked assertion
    • #1828 Small typo in gio manpage
    • #1837 Specify for each (optional) parameter, whether it is OUT or INOUT
    • #1838 Reword documentation for G_DECLARE_FINAL_TYPE
    • #1847 Setting GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to before 2.56 triggers warnings
    • !533 docs: Document pitfall of deprecation pragmas
    • !563 ci: Add scan-build job in a new ‘analysis’ pipeline stage
    • !678 glib-compile-schemas: Improve translatable strings
    • !817 gdate: Officially mark GTime as deprecated
    • !851 gsettings: Document that lists are returned in no defined order
    • !853 gobject: Fix apostrophe usage in a few small bits of documentation
    • !859 gobject: Add a g_assert_finalize_object() macro
    • !863 gunicollate/cygwin: Don't use STDC_ISO_10646 for wchar_t related checks
    • !865 gnetworkaddress: fix "happy eyeballs" logic
    • !867 Post-release version bump
    • !871 Drop G_DISABLE_DEPRECATED
    • !873 Use atomic reference counting for GSource
    • !874 Clamp number of vectors to IOV_MAX / UIO_MAXIOV for GOutputStream writev()...
    • !875 CI/msys2: disable coverage reporting, lcov doesn't support gcc9 yet
    • !876 CVE-2019-12450: gfile: Limit access to files when copying
    • !877 gio: specify proper c_marshaller and va_marshallers
    • !883 tests: Fix small race in GSubprocess tests
    • !884 garcbox.c: Fix typo atomit => atomic
    • !885 goption: Clarify G_OPTION_ARG_FILENAME documentation
    • !889 Include <sys/filio.h> for FIONREAD
    • !901 gmain: Clarify that g_source_destroy() doesn’t drop a reference
    • !904 Add glib-genmarshal tests and fix some valist marshaller bugs
    • !906 property action: Add state hints
    • !908 Improve testfilemonitor test repeatability and debuggability
    • !909 D-Bus auth mechanism improvements
    • !914 ci: Run scan-build in a different build directory
    • !915 docs: fix typo on arrays examples in gvariant-text
    • !917 docs: Fix name of IRC channel in CONTRIBUTING.md
    • !919 glib/tests/refcount.c: Fix tests on non-GCC-isque compilers
    • !920 gmacros: Only use deprecated attributes on enumerators with GCC ≥ 6.5
    • !923 Check if compiler symbols are defined before using them
    • !924 Bump the required version of Meson
    • !930 glib/tests/convert.c: Skip tests that aren't meaningful for Windows
    • !931 glib/tests/fileutils.c: Fix stdio Wrapper Test on Windows
    • !934 build: Increase the slow test timeout to 180s
    • !935 Ignore */pycache/* directories
    • !937 Fix module tests on Visual Studio builds
    • !939 gstdio: minor cleanups
    • !941 list model: Expand items-changed docs
    • !944 gutils: Don't limit the length of the host name to 99
    • !945 Avoid overrunning stack at the end of the varargs.
    • !947 gobject/tests/signals.c: Fix tests on Windows
    • !948 GObject: Fix mkenums.py and genmarshal.py tests on Windows
    • !950 ci: Enable CI on FreeBSD 12
    • !951 Preliminary patches for Universal Windows Platform support
    • !952 gio: Make minor docs improvements
    • !953 g_utf8_normalize: Doc comment return missing nullable annotation
    • !954 Fix the ISO 15924 code for Manichaean
    • !955 gmacros: Use _Static_assert when C11 is available
    • !958 gthread: fix minor errno problem in GCond
    • !961 gmain: Fix g_main_context_prepare priority annotation
    • !962 gmacros: Use _Static_assert only for non-expr static assert
    • !964 gmacros.h: Use static_assert on MSVC if possible
    • !968 Fix typo in request handle
    • !970 gdatetime: Unset LC_ALL for the test as well
    • !971 docs.c: Forward link from g_auto* → G_DEFINE_AUTO*
    • !973 doc: fix typo in gio/gresource.c
    • !979 Experimental clang-cl support
    • !980 gmacros.h: Add better support for clang-cl
    • !981 gio: fix typo in g_settings_reset documentation
    • !982 Various doc fixes
    • !985 Keyfile portal fixes
    • !987 gio/tests: Remove code and comments referring to libtool
    • !991 fix atomic detection on older gcc versions
    • !992 docs: Add example to g_test_summary() documentation
    • !994 gio: Fix minor docs mistakes
    • !996 Small array test fixes
    • !997 gdbusaddress: Add missing transfer annotation
    • !1007 Resubmission of !832 “Try to create the complete path right away and fall back”
    • !1009 gapplication: remove inactivity_timeout source on finalize
  • Translation updates:
    • Hungarian
    • Indonesian
    • Portuguese (Brazil)
    • Spanish

Overview of changes in GLib 2.61.1

  • g_unichar_isxdigit() and g_unichar_xdigit_value() now handle full-width characters (U+FF21–U+FF26 and U+FF41–U+FF46) (#58)
  • Deprecate gtester utility and its test reporting format and enable TAP output by default instead — the --tap option to tests is now a no-op (#1441, #1619)
  • Add g_test_summary() to allow test authors to programmatically summarise what each unit test in a test suite does (#1450)
  • Upgrade to Unicode Character Database v12.1 (#1713, !822)
  • More IPv6 Happy Eyeballs fixes to GNetworkAddress and GSocketClient (#1747, #1771, #1774)
  • Fix valgrind and gdb support for the new GHashTable changes (#1749, #1780)
  • Fix GTask wait times growing faster than the number of task threads (#1683)
  • Change GApplication to ignore -psn_* arguments on the macOS command line, as they are irrelevant (#1784)
  • Add g_autoqueue() helper macros, similar to g_autolist() (!474)
  • Add pre-allocated link helpers for GList and GQueue:
    • g_list_insert_before_link()
    • g_queue_insert_before_link()
    • g_queue_insert_after_link()
  • Improve network availability detection with NetworkManager to treat lower levels of connectivity as having reduced availability (!781)
  • Add g_clear_signal_handler() to allow disconnecting from a GObject signal and clearing the signal handler ID to zero in a single call (!819)
  • Add g_autoptr() support for GRWLock (!825)
  • Define G_OS_UNIX, not G_OS_WIN32, when GLib is built agains Cygwin (!862)
  • Bugs fixed:
    • #29 GScanner: should explicitly document modifiable fields (value, next_value, ...)
    • #58 g_unichar_isxdigit() and g_unichar_xdigit_value() should deal with full-width a-fA-F
    • #106 Boxed types should be documented better
    • #135 g_unichar_totitle(0) returns 0x00001F88 instead of 0
    • #429 g_format_size() is broken on Windows
    • #1441 Deprecate gtester
    • #1450 Add API for tests to describe what they're checking
    • #1619 GTest should have a way to default to TAP
    • #1683 GTask: task_wait_time is increased constantly when the number of running thread is greather than 10
    • #1713 Upgrade to Unicode Character Database v12
    • #1739 meson build failure libdl
    • #1747 Critical in g_socket_client_async_connect_complete
    • #1749 New GHashTable implementation confuses valgrind
    • #1753 Remove memory leaks from gio/test/resolver.c
    • #1755 Please revert #535 gmacros: Try to use the standard func first in G_STRFUNC
    • #1759 test_month_names: assertion failed
    • #1760 Document for g_resolver_lookup_records why it returns a list of list of gchar*.
    • #1763 tests: -p runs tests in the reverse of the specified order
    • #1768 g_strlcat(): Possible buffer overflow in implementation
    • #1771 GNetworkAddressAddressEnumerator unsafely modifies cache in GNetworkAddress
    • #1774 Leaks in gsocketclient.c connection code
    • #1776 glib/date test fails
    • #1780 GDB pretty-printer for GHashTable no longer works
    • #1782 Error in documentation for cross-compile.
    • #1784 MacOS adds a -psn_X_XXXXXX parameter to the command line
    • !474 Add g_autoqueue
    • !476 Add pre-allocated link helpers for GList and GQueue
    • !556 gtestutils: Make --tap compatible with -p and --GTestSkipCount
    • !732 gsocket: Clarify in docs that flags arguments can be platform specific
    • !766 W32: swap special g_get_prgname() for platform_get_argv0()
    • !774 Only build tests if certain conditions are met.
    • !780 Add copyright and licensing terms to test report generator
    • !781 gnetworkmonitornm: Fix network available detection
    • !782 build: Fix check for RTLD_NEXT
    • !785 Remove monitor test
    • !787 build: Remove */.gitignore files
    • !791 glib/gconstructor.h: Include stdlib.h for MSVC builds
    • !792 general: Remove a few unhelpful references to ‘master’
    • !795 gdesktopappinfo: Add support for MATE and Xfce4 terminals
    • !802 gio: tests, don't check for libdl on OpenBSD
    • !806 Get to 100% coverage on GQueue tests
    • !808 Update the Docker images used for CI
    • !809 Modified version of !784 — Adding tests cases for a better coverage of glib/tests/strfuncs.c
    • !813 gappinfo: Add precondition checks to GAppLaunchContext env methods
    • !814 gschema.dtd: Add target attribute to alias
    • !819 Clear signal handler
    • !820 ci: Keep JUnit report script working on Debian stable
    • !821 Various minor cleanups to autoptrs
    • !822 glib: Update Unicode Character Database to version 12.1.0
    • !825 Add autoptr support for GRWLock
    • !831 build: (Long time after) post-release version bump
    • !835 Fix typo in German translation
    • !836 Document the best practices for binding GInitiallyUnowned
    • !862 build: define G_OS_UNIX, not G_OS_WIN32 under cygwin
  • Translation updates:
    • Basque
    • Catalan
    • German
    • Indonesian
    • Spanish

Overview of changes in GLib 2.61.0

  • Changes to iconv configure options, including the default iconv implementation on macOS — distributors may need to check their configure scripts (#1557)
  • Build fixes when building GLib with G_DISABLE_ASSERT defined (#1708)
  • Fix documentation for gdbus-tool wait to use correct units (#1737)
  • Improvements to symlink handling on Windows (!269)
  • Add exception handling for crashes on Windows (!582)
  • Set G_WITH_CYGWIN again when GLib is built on Cygwin (this was a regression from the autotools build) (!736)
  • Use GCocoaNotificationBackend by default on macOS, rather than GGtkNotificationBackend (!745)
  • Use Windows symbol visibility when GLib is built on Cygwin, as PE binaries are subject to W32 visibility mechanics — this affects the definition of _GLIB_EXTERN (!752)
  • Add coloured output support to gdbus introspect (!761)
  • Bugs fixed:
    • #682 docs: advise not to use non-literal strings as qdata keys
    • #1177 gparted crashes due to g_quark_from_static_string used in global initialization
    • #1258 the buffer written to by g_input_stream_read is not marked as an out parameter
    • #1557 By default glib tries to use libc instead of native iconv on OSX
    • #1566 Meld Windows shows error on startup "There was a problem starting c:\Program"
    • #1614 GIO tests fail on FreeBSD CI with: Unexpected error from C library during 'pthread_mutex_lock': Invalid argument
    • #1708 Building GLib with G_DISABLE_ASSERT fails
    • #1709 GResource generation test incompatible with stable LLVM on Linux
    • #1710 Crash in g_cancellable_cancel
    • #1712 gdbus-proxy test is flaky
    • #1724 unconditional check in fuzzing/meson.build
    • #1725 gosxappinfo.h is not installed on macOS
    • #1727 Cannot use trash folder with an NFS mount using automount / autofs
    • #1728 GSocket does not support ENOTSOCK
    • #1732 Win32: lookup_by_name_async segfaults for not available domains
    • #1737 gdbus-tool wait command timeout argument incorrect unit reference
    • !67 glib: update internal gnulib from upstream
    • !269 Win32 symlink code refactoring
    • !493 tests: Check that cancelling g_file_replace don't overwrite existing file
    • !582 Basic W32 exception handling for glib
    • !680 Fix warnings glib
    • !690 Fix thread safety issues
    • !694 gvariant-parser: Fix pattern coalesce of M and *
    • !706 Fix data races in task test and gmenumodel test
    • !709 Bump release version for 2.62 series
    • !710 socket: Fix annotation for flags in g_socket_receive_message
    • !712 gwin32: Fix comment for g_win32_veh_handler
    • !716 Various minor documentation fixes
    • !717 Improve formatting of GCC attribute documentation
    • !718 GSocketClient - Free last error if a connection attempt fails and on retry the...
    • !719 Handle an UNKNOWN NetworkManager connectivity as NONE
    • !721 codegen: Fix use of uninitialised variable
    • !723 Provide examples for GNUC attribute macros
    • !724 meson: do a build-time check for strlcpy before attempting runtime check
    • !728 gsocket: Remove (type) annotation from flags arguments
    • !730 Improve gdbus-address parsing tests
    • !735 docs: Use the right g_autoptr function when using an auxiliary function
    • !736 Set G_WITH_CYGWIN again
    • !737 gresolver: Don’t use gai_strerror() on Windows, as it isn’t threadsafe
    • !741 Fix use-after-free triggered by gnome-session-binary
    • !745 gcocoanotificationbackend: give more priority than the gtk one
    • !749 gio: Add missing autocleanup definition for GSettingsSchema{Key,Source}
    • !750 Check for RTLD_NEXT
    • !752 Use W32 visibility for Cygwin
    • !754 Check for /proc/self/cmdline
    • !757 Fix gnulib build on older Visual Studio builds
    • !760 Properly ensure the cocoa notification backend type
    • !761 RFC: gdbus-tool: Add --color option for introspect
    • !762 gutils: Add (nullable) annotation to g_get_prgname()
    • !765 gslice: Use a convenience macro
    • !769 ci: Generate a cover report for the test suite
    • !772 tests: Check that option-argv0 test succeeds on Linux
    • !776 tests: Only run --external-data test on GNU ld/objcopy
    • !779 Fix 2.62 documentation symbols
  • Translation updates:
    • Dutch

}}}

Last edited 5 years ago by Bruce Dubbs (previous) (diff)

comment:2 by Bruce Dubbs, 5 years ago

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

comment:3 by Bruce Dubbs, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 22116.

Note: See TracTickets for help on using tickets.