Merge 2.58.1 into tizen
[platform/upstream/glib.git] / NEWS
diff --git a/NEWS b/NEWS
index 4685309..6bab291 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,330 @@
+Overview of changes in GLib 2.58.1
+==================================
+
+* Fix to a regression in listing GIcon fallbacks (#1513)
+
+* Changes to pkg-config paths to helper programs when building with autotools:
+  paths are now absolute with reference to the .pc file’s ${prefix} (#1521)
+
+* Fix installation path of glib-gettextize helper on Meson (!290)
+
+* Fix autostarting xdg-desktop-portal (!321, a backport of !317)
+
+* Various fixes to the network monitor (#1518, !294)
+
+* Various compilation fixes on macOS (generally older versions and older
+  compilers)
+
+Bugs fixed:
+ !318 codegen: Change pointer casting to remove type-punning warnings
+ #1513 GIcon regression?
+ #1521 pkg-config files differ between Autotools and Meson build
+ !321 Backport “Autostart xdg-desktop-portal if needed” to glib-2-58
+ #1518 /network-monitor/create-in-thread fails in (LXC) containers on glib-2-56
+ #1509 test_timeval_to_iso8601_overflow: 'out' should be NULL
+ !288 Backport `command -v` vs `which` changes to glib-2-58
+ !298 GLib 2.58 backports of various small patches
+   !295 meson: fix typo
+   !294 portal network monitor: Always emit changed signal on changed
+   !290 build: fix installation dir of glib-gettextize
+   #1488 ‘O_CLOEXEC’ undeclared (first use in this function)
+   #1506 error: redefinition of typedef 'GKqueueFileMonitor'
+
+* Translation updates:
+ Brazilian Portuguese
+ Czech
+ Danish
+ Greek
+ Hungarian
+ Latvian
+ Swedish
+
+
+Overview of changes in GLib 2.58.0
+==================================
+
+* Tarball built with `ninja dist`, so if you want to build this release with
+  autotools (which is supported), you will need to re-run autogen.sh. This
+  release, and all micro releases in the 2.58.x series, support being built
+  with Meson or autotools. See:
+  https://mail.gnome.org/archives/gtk-devel-list/2018-June/msg00012.html
+
+* Fix cancellation of g_subprocess_communicate_async() calls. See !266.
+
+* Drop support for the __int64 type, which further breaks compilation on old
+  MSVC versions (before VS2013). See #1313.
+
+* Expose GSettings schema directory in gio-2.0.pc as `schemasdir`. See !274.
+
+* Support v3 of the xdg-desktop-portal network monitor API. See !265, !279.
+
+* Fix G_MODULE_SUFFIX on macOS when GLib is built with Meson — it should be `so`
+  rather than `dylib`. Projects that use Meson and the `g_module_build_path()`
+  API such as glib-networking should pass `name_suffix:` to `shared_module()` to
+  ensure that plugins continue to be called libfoo.so on macOS. See !280.
+
+Bugs fixed:
+ !280 meson: Always set G_MODULE_SUFFIX to `so` on macOS
+ !266 subprocess: Fix communicate_cancelled signature
+ !279 Revert "Add a gnet utility" (see !265)
+ !265 Network monitor again
+ !274 gio: Provide schemas directory information in pkg-config file
+ !239 gvariant: Fix more bounds checking in GVariant text format parser
+ !195 garray: add overflow checks before expanding array
+ #1497 g_strdup_printf warns on invalid format specifier with G_GUINT64_FORMAT on Win32
+ !270 autotools: remove support for the __int64 type. See #1313
+ !267 ci: Add an autotools job
+
+* Translation updates:
+ Czech
+ Galician
+ Indonesian
+ Italian
+ Kazakh
+ Korean
+ Turkish
+
+
+Overview of changes in GLib 2.57.3
+==================================
+
+* G_GNUC_MALLOC’s definition has been tightened up to match an updated
+  definition from GCC. Many uses of G_GNUC_MALLOC which were previously
+  appropriate may cause miscompilation with newer GCC versions. Check your uses
+  of it against the updated documentation. See #1465.
+
+* Many minor documentation fixes.
+
+* Fix for gint64 and int64_t compatibility on macOS and BSD. See #972.
+
+* Fix free space metadata on some file systems (notably FAT). See #328.
+
+* Support installed-tests with our Meson build system. See #1444.
+
+* Forbid @filename@/@basename@ in glib-mkenums templates, which is a change to
+  its long-standing behaviour (which was long-standing nonsensical). See !241.
+
+* Various stat() fixes on Windows. See #1452, #1476.
+
+* MinGW-w64 ABI warning: In case you build 64 bit glib without LFS support by
+  passing --disable-largefile (not the default) and use GStatBuf, you need to
+  rebuild your application as the size of GStatBuf has changed for this case.
+  See #1476.
+
+* Improve TAP compatibility of g_test_incomplete(). See #1474.
+
+* Change fallback preferences when loading icons. See !72.
+
+Bugs fixed:
+ !263 build: Clean files left behind after gio/tests/gresource.c test
+ !262 gmem: Only evaluate pointer argument to g_clear_pointer() once
+ #1465 Many uses of G_GNUC_MALLOC are incorrect
+ #1448 g_error does not abort() as documented
+ #1494 g_clear_pointer may not use the correct calling convention with its callback
+ #972 Mismatch between gint64 and int64_t on 64-bit macOS/BSD
+ !251 gtestdbus: Fix watcher crash on FreeBSD
+ #1492 gcc-8: -Wcast-function-type: new warnings for g_list_copy_deep()
+ !252 tests: fix gnotification tests broken due to the recent icon name fallback changes
+ #328 filesystem::{free,size,used} not set for full FAT fs
+ !248 network monitor portal: update properties initially
+ #1373 Incorrect transfer annotation for g_binding_unbind.
+ #1444 the meson build doesn't support installed tests
+ #1027 Fix trashing on overlayfs
+ #1454 gvdb does not treat corrupt files as empty as promised; dconf suffers
+ !243 tests: Explicitly set TZ=UTC for g_time_val_from_iso8601() testing
+ #1488 ‘O_CLOEXEC’ undeclared (first use in this function)
+ !241 glib-mkenums: forbid @filename@/@basename@ in fhead and ftail
+ !240 gtimer: Ensure arithmetic is correctly signed for ISO 8601 parsing
+ #1452 GFileInfo: unable to retrieve correct modification time of links and mounted volumes on Windows
+ !234 DOC: Documentation fix in GTask description
+ #1363 Meson: Review cross compilation properties
+ !225 gtimer: Add overflow checks to g_time_val_from_iso8601()
+ !230 gbookmarkfile: Fix some more minor leaks when metadata elements are repeated
+ !229 Fix up g_bytes_compare() documentation
+ #1476 g_stat - possbile memory corruption causing SEGFAULT
+ !199 Update TLS documentation
+ #1474 g_test_incomplete() makes test_case_run() return FALSE
+ #1475 glib/tests/atomic.c test_types() trips -Werror=bad-function-cast on Debian armel
+ #1472 Test for BROKEN_IP_MREQ_SOURCE_STRUCT is broken on Windows / Mingw
+ !220 date test: Use g_test_skip(), not g_test_incomplete()
+ #1467 malloc difference causes refstring test to fail on FreeBSD
+ !230 gbookmarkfile: Fix some more minor leaks when metadata elements are repeated
+ #1466 Not Able to Build glib 2.57.2 in Mingw-w64 x64 bits
+ #1433 test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
+ #1446 Follow-up from "Document difference between g_assert() and g_assert_*() wrt G_DISABLE_ASSERT"
+ !206 grefstring: Avoid an unnecessary NUL assignment
+ #1458 g_volume_get_mount returns NULL value after g_volume_mount_finish is called with no error
+ !72 gio: icons should fallback to non-preferred style appropriately.
+
+* Translation updates:
+ Brazilian
+ Chinese (Taiwan)
+ French
+ German
+ Lithuanian
+ Polish
+ Romanian
+ Turkish
+
+
+Overview of changes in GLib 2.57.2
+==================================
+
+* Require pcre 8.31
+* Require meson 0.47.0
+
+* Bugs fixed:
+ 742456 Add g_steal_pointer() convenience function to mark ownership...
+ 795569 MinGW CI: fix tests
+ 796341 gmem.h: Use typeof() in g_steal_pointer() macro
+ #1013 Support for per-session overrides
+ #1360 glib-mkenums breaks if option specified but no nick
+ #1175 Add names and tags to various GSources and GTasks constructed in GLib
+ #903 g_main_context_wait() not deprecated in API, but emits a g_critical()...
+ #786 Fix memory leaks in libgio tests
+ #927 gio/gresource.c:do_lookup check for terminating "/"
+ #976 Document difference between g_assert() and g_assert_*()...
+ #1447 glib 2.57.1: test_month_names: assertion failed...
+ #1407 Update to Unicode Character Database 11
+ #1455 glib python tools have full python path in shebang, limits to 128 characters
+ #1459 Missing g_return_val_if_fail in g_async_queue_timeout_pop
+
+* Translation updates:
+ Friulian
+ German
+ Romanian
+ Spanish
+
+
+Overview of changes in GLib 2.57.1
+==================================
+
+* New api:
+ - g_hash_table_steal_extended
+ - G_GNUC_NO_INLINE 
+
+* Bug fixes:
+ 668132 Use libmount and expose mount options on GUnixMountEntry type
+ 736741 Update private copy of valgrind.h
+ 748620 g_regex_* utf-8 validity requirements are not stated clearly
+ 784995 meson: some Windows improvements
+ 788771 NODELETE missing when built with meson
+ 788773 meson does not install correct pc files
+ 789968 Add g_autoptr() support for GTypeClass
+ 794325 Various fixes to compile on OSX
+ 795152 gdesktopappinfo: Mark GDesktopAppInfo constructors as nullable.
+ 795165 Add g_date_time_get_timezone() and g_time_zone_get_identifier()
+ 795180 Investigate performance impacts of recent compiler features on hot functions
+ 795302 Add g_hash_table_steal_extended() API
+ 795376 Add g_ptr_array_steal()
+ 795544 Add binary/textfile/zero size detection
+ 795569 MinGW CI: fix tests
+ 795636 gitlab-ci: generate test coverage reports
+ 795735 Fix comparison for GVariant property values
+ 795802 gdbus-codegen doesn't accept --output-directory with --output for --body and --header
+ 795849 gwin32: Fix detection of MinGW32 vs MinGW-w64
+ 795876 meson: Fix checks for posix_memalign and stpcpy
+ 795960 g_format_size_for_display() is deprecated since 2.30
+ 796085 Meson: Many apps breaks on non-glibc because of missing libintl
+ 796138 Fix typo in g_file_info_set_attribute docs
+ 796139 Add g_autoptr() support for GParamSpec
+ 796164 Fix atomic ops check in meson.build
+ 796186 Typo: "instead off" in gsignal.c
+ 796213 Meson: Fail to build on macosx
+ 796220 meson: do not run atomic test with msvc
+ 796264 Add android CI
+ 796325 meson: Add exception for atomic ops test for Android
+ 796328 gengiotypefuncs.py: Read and parse files in binary mode 
+
+* Translation updates:
+ Czech
+ Indonesian
+
+
+Overview of changes in GLib 2.57.0
+==================================
+
+* Bug fixes:
+ 739424        Rewrite kqueue GFileMonitor backend to drop threading
+ 751826        Use g_get_language_names() for other locale categories
+ 788773        meson does not install correct pc files
+ 793400        g_application_id_is_valid() not strict enough
+ 793578        gdatetime tests depend on Japanese translation of month names
+ 793645        test_month_names: Updated translations needed for el_GR, hr_HR, ru_RU
+ 793729        gitlab-ci: Add Windows MinGW support
+ 793994        GUnixVolumeMonitor doesn’t show user mounts when run as root
+ 794170        gdbus: hexdecode() and hexencode() do not return/use decoded/encoded s...
+ 794194        gobject_gdb.py: 'address' is a property of gdb.Value not a function
+ 794207        leak: g_socket_listener_add_inet_port increases ref-count on socket-li...
+ 794284        Support whitespace stripping for JSON resources
+ 794285        glib-compile-resources should not noisily g_printerr() when xmllint is...
+ 794473        Remove duplicated option in gio.xml
+ 794506        glib-mkenums: Enters infinite loop if using typedef enum SomeIdentifier
+ 794528        Fix segfault caused by use-after-free in GPollFileMonitor
+ 794555        glib meson build fails on MinGW due to misdetected functions
+ 794557        gtkdoc-scangobj fails on gio in meson builds
+ 794606        glib-2.56.0 fails to compile when res_nquery is not available
+ 794635        gmacros: Don't define bogus __has_* macros
+ 794636        G_HAVE_GNUC_VISIBILITY is defined in meson MinGW builds
+ 794686        Date (except weekday) displayed in English
+ 794732        Fix various compiler warnings 
+
+* Translation updates
+ Hungarian
+ Slowak
+ Slovenian
+ Spanish
+
+
+Overview of changes in GLib 2.56.0
+==================================
+
+* Bugs fixed:
+ 672777 Error in gdummyfile.c
+ 732184 GObject: warn on use of deprecated properties
+ 733338 Don't segfault in GNetworkMonitor when IPv6 support is unavailable
+ 742124 g_data_input_stream_read_upto()'s documentation should say that the...
+ 749206 GDateTime: month names in the genitive case
+ 768507 simplify qguark functions
+ 791457 Slow transfer rate when writing to smb/cifs
+ 793272 fix GCC 8.0's -Wcast-function-type warnings
+ 793300 g_hash_table_add() return value change in 2.40 not mentioned in docs
+ 793399 Fix some cases of -Wduplicated-branches
+ 793555 -Wimplicit-function-declaration when using g_abort()
+ 793565 GLib does not compile on macOS 10.13 due to .m file naming
+ 793597 gdbus-tool: Make --dest optional for emit again
+ 793635 Enable CI for GLib
+ 793880 gnetworkmonitor: Minor fixes based on code review 
+ 793578 gdatetime tests depend on Japanese translation of month names 
+ 794180 test_month_names fails unless installed
+
+* Translation updates:
+ Brazilian Portuguese
+ British English
+ Catalan
+ Czech
+ Danish
+ Dutch
+ Finnish
+ French
+ Friulian
+ Galician
+ German
+ Hungarian
+ Indonesian
+ Italian
+ Kazakh
+ Korean
+ Lithuanian
+ Polish
+ Scottish Gaelic
+ Serbian
+ Serbian Latin
+ Spanish
+ Swedish
+ Turkish
+
+
 Overview of changes in GLib 2.55.2
 ==================================
 
@@ -1641,6 +1968,43 @@ Overview of changes in GLib 2.45.1
  Russian
  Turkish
 
+Overview of changes in GLib 2.44.1
+==================================
+
+* Don't redefine typedefs to avoid build problems on OpenBSD
+
+* Improve the default application algorithm
+
+* Bump the number of children a GType can have
+
+* Various testsuite improvements
+
+* Translation updates:
+ Czech
+ Icelandic
+ Russian
+
+
+Overview of changes in GLib 2.44.0
+===================================
+
+With the exception of translation and documentation, there have been no
+changes since the prerelease.
+
+Bugs fixed:
+ 730188 gsocket: Document FD ownership with g_socket_new_from_fd()
+
+Translations updated:
+ Basque language
+ Brazilian Portuguese
+ Chinese (Taiwan)
+ Danish
+ Galician s
+ Hebrew
+ Indonesian
+ Norwegian bokmål
+ Turkish
+
 
 Overview of changes in GLib 2.43.92
 ===================================