Path to this page:
Subject: CVS commit: pkgsrc/devel/glib2
From: Patrick Welche
Date: 2016-04-07 20:33:05
Message id: 20160407183305.BEC09FBBA@cvs.NetBSD.org
Log Message:
Update glib2 to 2.48.0
- removed patch-gio_gtestdbus.c: applied upstream.
- removed patch-gio_gunixmounts.c: can no longer reproduce problem.
Overview of changes in GLib 2.48.0
==================================
* a minor build fix in the name of determinism
* a few coverity fixes
Bugs fixed:
763617 giotypefuncs.c: Sort _get_type functions in the 'C' locale
Translations updated:
Danish
Italian
Overview of changes in GLib 2.47.92
===================================
* gdbus-codegen now supports g_autoptr()
* g_get_user_runtime_dir() now reliably returns an existing directory
* g_array_remove_range() can now remove 0 items from the end of an array
* Many fixes for Windows
* build fixes
* file monitoring
* gsettings backend
* streams
* random numbers
* wide character support
* documentation improvements
* other small bugfixes
Bugs fixed:
724847 Segmentation fault on "gsettings list-recursively"
743933 gapplication: add --app-id command line option
756706 [PATCH] gio/gtestdbus.c: don't use non-standard %m printf modifier
757506 gsettings: schema_list should use the passed schema's source
760694 W32: Apps linked with -mwindows make cursor busy sometimes
762202 g_win32_error_message improvements
762637 build: Unconditionally dist tapset files
762748 Undefined behavior
762937 Mention that g_clear_error can be used with an "empty" GError
763339 array: Support clearing an empty array with g_array_remove_range()
763344 g_get_user_runtime_dir(): ensure directory exists
763379 codegen: Add support for g_autoptr to gdbus-codegenâgenerated objects
Translations updated:
Brazilian Portuguese
Czech
Finnish
French
Galician s
German
Greek
Hebrew
Hungarian
Italian
Kazakh
Korean
Latvian
Lithuanian
Occitan
Polish
Russian
Serbian
Slovak
Slovenian
Spanish
Swedish
Overview of changes in GLib 2.47.6
==================================
* Windows usupport:
- Fixes and improvements to the GSettings registry backend
- Handle readability and writability of registry keys
- Use Unicode registry APIs
* Bugs fixed:
760852 744772 761126 747927 761337 744570 761504 761550 761843
744570 GString is missing (transfer none) annotations on many of its methods
744772 systemtap and gdb scripts install in wrong place
747927 Documentation: various small improvements
760852 gdbusobjectmanagerserver: Clarify recommended ObjectManager paths
761126 winiconv: update to upstream version
761337 Fix some annotations
761504 W32 registry GSettings backend does not use Unicode
761550 Cannot build with default flags under Fedora rawhide (-Werror=format-...
761843 gmacros.h is testing attributes with __has_feature (when compiling wi...
* Translation updates:
Brazilian Portuguese
Bulagarian
Chinese (Taiwan)
Hungarian
Polish
Slovak
Slovenian
Spanish
Swedish
Overview of changes in GLib 2.47.5
==================================
* the system copy of PCRE is now used by default to implement GRegex.
Configure with --with-pcre=internal if a system PCRE version
is unavailable or undesired.
* interfaces for DTLS support have been added. A new version of
glib-networking will also be required.
* GDBusMethodInvocation now drops replies if the sender set the
NO_REPLY_EXPECTED flag
* several GApplication fixes, including fixes for commandline arguments
in interpreted languages on Windows
Bugs fixed:
624186 Deprecate glib-gettext macros
734095 gtk-demo.py of PyGObject fails to run on Windows (and likely other \
binding scripts using g_application_run())
735754 Implement close on TLS GOutputStream
748064 gnulib vfprintf returns desired (not actual) number of bytes, ignores errors
752240 Add DTLS support to GIO
755421 GDBus ignores NO_REPLY_EXPECTED flag in messages, leading to warnings on \
system bus
756875 Include ntdef.h for NTSTATUS
759554 g_application_run() calls g_main_context_default() repeatidly
760199 gsettings: Install gettext ITS rules
760215 G_LIKELY/_UNLIKELY macros need more parentheses
760683 regex test: Check the expected PCRE exceptions at runtime
Translations updated:
Brazilian Portuguese
Czech
German
Lithuanian
Swedish
Overview of changes in GLib 2.47.4
==================================
* The GApplication documentation has been improved in several areas.
* Bugs fixed:
749092 gdb pretty-printers fail on Python 3 with a TypeError...
757374 macros: clean up "inline" mess
758641 Memory leak in g_dbus_proxy_new_for_bus_sync()
759134 Add missing checks for gnulib vasnprintf()
759408 Do not use uninitialized var
756475 Stop supporting non-POSIX getpwuid_r, getgrgid_r
757372 GApplication: destroy the impl on shutdown
728099 macros: add G_GNUC_CHECK_VERSION() for compiler checks
757299 glib-compile-resources: do not leak c_name
758553 Fix gettext use
758823 file monitors: reorder some code to avoid segfault
756214 gsettings: Don't translate ""
710243 Add GParamSpec object ref management annotations
735696 xdgmime: Finer handling for cases where mmap() is not available
752983 gapplication: Acquire the main context before running
* Translation updates:
Swedish
Overview of changes in GLib 2.47.3
==================================
The inline cleanup in the last release accidentally removed three
symbols from libglib-2.0.so. It is unlikely that this will have caused
any problems because these symbols were only backup symbols for
definitions exported as inlines in the header files, but ABI is ABI.
This release corrects only this problem.
Overview of changes in GLib 2.47.2
==================================
* We have formalised the assumption that all compilers that are
interested in support 'static inline' and simplified the macros around
this considerably. Please watch for and report unintentional fallout.
* New API: hardware-assisted helpers for overflow-checked integer math.
* other fixes
Bugs fixed:
696324 gtester-report doesn't work with Python 3.x
719966 glib: Add missing (nullable) and (optional) annotations
752837 gobject and glib-compile-resources rely on .CRT$XCU section, no longer \
works with Win 10 UCRT (VS 2015)
755364 make gtkdoc-check happy again
756134 Segmentation fault on calling g_simple_action_group_add_action with bad \
action constructor call
756179 gwin32.c: Replace VerifyVersionInfoW() with RtlGetVersion() due to API \
deprecation
756988 GSequence should document each function's complexity
757294 Move G_POLLFD_FORMAT to glibconfig.h
757374 macros: clean up "inline" mess
757451 doc: fix g_task_attach_source() example
757628 gio tests fail to build when cross compiling 2.46.1
757693 Invalid free in g_local_file_trash()
757742 Fix up annotations in ghash.c
758181 GTask: fix wrong example code
Translations updated:
Greek
Hebrew
Hungarian
Norwegian bokmål
Portuguese
Scottish Gaelic
Simplified Chinese
Spanish
Overview of changes in GLib 2.47.1
==================================
* The Unicode support has been updated to version 8.0 of the Unicode standard
* GDesktopAppInfo no longer sets the DISPLAY environment variable when
launching apps. This is now done in the GAppLaunchContext implementations
when appropriate
* Bug fixes:
664740 Key-value file parser, space after integer
687223 cleverer GThreadPool management
692085 stderr and stdout are not always file descriptors 1 and 2
697907 Add interface for socket-like things (GSocket, DTLS, etc)
735754 Implement close on TLS GOutputStream
737116 Add functions to print GSocketConnectables and addresses as strings
743011 Minor additions to GError documentation
749161 undefined reference to `__imp__stat32i64'
749314 Cannot restore a just-trashed file
751924 Add recvmmsg()-like API on GSocket
752240 Add DTLS support to GIO
752837 gobject and glib-compile-resources rely on .CRT$XCU section, no longer...
753310 Remove `#pragma GCC system_header` from gmessages.h
753935 Update example namespace and class names in GObject tutorial
754855 Object instantiation documentation refers to example that no longer ex...
754983 Wayland: g_desktop_app_info_launch_uris_with_spawn() forces DISPLAY va...
754994 g_date_time_get_second () sometimes returns an off-by-one result
755083 Clarify in G_ADD_PRIVATE that it is safe to call _get_instance_private...
755351 Example still contains g_autoptr(gchar)
755355 Move GStrv to glib.h so it can be used with g_auto()
755374 g_variant_get_child(): flatten-first logic on '&'
755496 glib 2.46 fails GStreamer test suite
755609 glib 2.46.0 breaks Sun Java JVM 1.8.0.60
755766 gvalue: The g_auto cleanup function assert if value is G_VALUE_INIT
755795 2.46 considers empty files as octet-stream rather than text (leads to...
755961 Fix up annotations in gbytes.c
756053 MSVC doesn't understand the symbol 'msghdr'
756054 MSVC linker error due to 'g_socket_send_message_with_timeout()'
756077 testutils: remove internal ABI comment
756099 g_main_context_query(): Annotate @n_fds as (in) parameter
756139 musl: ctors called in the wrong order
756179 gwin32.c: Replace VerifyVersionInfoW() with RtlGetVersion() due to AP...
756251 The documentation of G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START is confusing
756255 GOutputStream swallowing errors in splice with G_OUTPUT_STREAM_SPLICE...
756316 GSequence should provide fast api to check if empty
756382 snprintf used on Windows with VS2015 doesn't support %n
756477 gio/gthreadedresolver.c has outdated copy of bionic headers (for android)
756550 gtypes.h: Make G_MININTn literals negative
756875 Include ntdef.h for NTSTATUS
756952 giomodule: return a copy of module name
* Translation updates:
Basque
Czech
Serbian
Serbian Latin
Vietnamese
Overview of changes in GLib 2.46.0
==================================
* Disable runtime-deprecation warnings
* Fix marshalling of flags on bigendian 64bit architectures
* Translation updates
Brazilian Portuguese
Danish
German
Latvian
Russian
Turkish
Overview of changes in GLib 2.45.8
==================================
* utf8 validation and utf8-to-ucs4 conversion are faster
* Small speedups to property change notification
* Various other small optimizations for GQuark, GData
* Bugs fixed:
696426 GParamSpecTypeInfo do not need to be static
735429 Cleanup MSVC Project Files Generation
738504 Optimize UTF-8 decoding by unrolling branches and expressions
742903 Add missing (transfer) annotation to GString
748633 g_set_object order of operations
754431 Fix build of glib/gstrfuncs.c on Windows
754560 gioerror: Add more mappings for WinSock error codes
754582 Glib cannot compile
754601 Make g_strerror work with non-glibc POSIX systems
754636 tests/unicode-encoding test fails for glib 2.45.7 on x86-64
754788 more g_strerror stuff
754831 autocleanups: Add GString type
754924 Improve test coverage of g_utf8_validate() by added known-...
754986 Avoid unnecessary signal emission during draw
* Translation updates:
Italian
Kazakh
Korean
Lithuanian
Slovenian
Swedish
Overview of changes in GLib 2.45.7
==================================
* Add G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE for use by non-POSIX-like
backends (e.g. cloud storage).
* GFileMonitor: Make the inotify backend work with atomic renames again
* GSettings: change notification is again working unconditionally
* GListStore has a sort function now
* Test infrastructure:
- Tests are now required to have unique names
- TAP support has been improved
- A macro for asserting that two memory regions have identical content
has been added
* Bugs fixed:
708525 A "g_file_query_info" on the file path \
"/sys/kernel/debug/hid"...
742849 inotify: send paired events to both sides
744060 Update GObject tutorial documentation to use G_DECLARE_FINAL_T...
747364 Fix GError leak in g_file_query_writable_namespaces()
749492 Support file creation time on FreeBSD and NetBSD
752769 (g_socket_receive_message | g_socket_send_message) performance
753745 glib-genmarshal still needed for cross-compilation
754152 Add g_list_store_sort
754211 Memory leak in g_file_enumerator_iterate ()
754264 GLib 2.44 certificate chain construction fails if the PEM incl...
754283 gtestutils: add g_assert_cmpmem()
754284 gtestutils: print the TAP test plan first, not last
754286 misc gtestutils fixes
754307 size of array '_GStaticAssertCompileTimeAssertion_3387' is neg...
* Translation updates:
Chinese (Taiwan)
French
Galician
Greek
Hebrew
Hungarian
Indonesian
Polish
Portuguese
Overview of changes in GLib 2.45.6
==================================
* Fix a test failure and a build failure
Overview of changes in GLib 2.45.5
==================================
* GNetworkMonitor now provides information about metered networks
* g_mem_set_vtable has been deprecated; it has not been working for
quite a while. The recommendation is to use valgrind, or replace
malloc itself.
* Bugs fixed:
656325 Make GDBusInterfaceVTable binding friendly
741779 Documentation tweaks addressing real-world API misuses
741822 Fails to build with VS 2015
742386 gdbusconnection: Don't g_printerr() when exiting
743018 gobject: Add more cross-links between documentation pages
750282 Add g_network_monitor_get_network_metered() to get if the connection...
751358 GFileMonitor doesn't react to "mv some-file watched-file"
751592 Stop using GMemVtable
751598 Stop 'handle-local-options' propagation when callback reports an err...
751610 g_str_hash produces collisions with strings of length 2
751751 Wrong docs of g_async_queue_remove
752210 gdbus command crashes with SIGSEGV
752656 gdbusconnection: Fix signal subscription documentation
752767 Fix typo in g_hash_table_replace() documentation
753278 gdbus: Don't use g_assert_no_error() GDBusObjectManagerServer
753285 g_menu_item_set_icon fails if called with NULL icon
* Translation updates:
Catalan
Czech
French
Indonesian
Lithuanian
Norwegian bokmål
Slovak
Spanish
Thai
Turkish
Overview of changes in GLib 2.45.4
==================================
* Bugs fixed:
727829 win32: glibconfig.h.win32 updates
741901 Clang cannot know that g_error don't return
746339 GSocket kills process when fd is not a socket
747676 gio/tests/socket fails: test_fd_roundtrip
748610 Some tests fail with non-English locales
749911 g_inet_address_to_string broken on XP/2003
749912 g_inet_address_new_from_string broken on XP/2003
750625 Should dismiss Software Updates Available notification after...
750807 G_BREAKPOINT doesn't work as intended on Darwin
751160 gtask does unnecessary work
751672 -Wduplicate-decl-specifier in glib/tests/keyfile.c
751731 GFile/DirectoryMonitor emit move events with other_file=NULL
751737 gio/tests/appmonitor test fails in 2.45.3
751798 Wrong enum type used in some test-cases
752089 make gsocketservice::active a property
752293 small cleanup: use list_free_full
* Translation updates:
Greek
Hebrew
Portuguese
Overview of changes in GLib 2.45.3
==================================
* Improve performance of g_signal_handler_disconnect for signals
with many handlers
* GDBus has gained a new call flag to allow interactive authorization
* GSettings:
- New API: g_settings_schema_list_keys
- Deprecated: g_settings_list_keys
* OS X:
- Implement GNotification
- Bump the OS X requirement to 10.9
* Windows:
- Add registry reading API
- Reimplement GAppInfo using registry information
* Bugs fixed:
666831 Support URI opening on W32
728489 property action with inverted boolean state
730168 Incorrect annotation on g_action_group_get_action_state_type return...
733325 Several regex tests fail with pcre3 8.35
734888 GLib has no helper functions to work with W32 Registry
737009 signal handler lookup doesn't scale
738185 Misleading language about "file name encoding" in the docs on \
g_env...
738504 Optimize UTF-8 decoding by unrolling branches and expressions
739122 glib not handling -1 return ("no limit") from sysconf \
(_SC_THREAD_S...
739424 gnome-shell crashes when files are added, deleted, or modified in $...
739616 DBus; Add new call flag to allow interactive authorization
740308 Add g_settings_schema_list_keys() method
740516 RFE: please provide an introspectible version of g_log_set_handler
741788 Document GSettings build system integration
745013 GBinding not thread safe
747146 Implement GNotification on OSX
747941 try XDG_RUNTIME_DIR/bus before falling back to X11 autolaunch (dbus...
748727 Filechooser dialog shows no icons for directories on W32
749693 GActionGroupExporter: flush queue on requests
750203 GNetworkMonitorNetlink hangs in user namespace
750322 gapplication: Make sure --help output is translated
750344 GTlsInteractionClass is missing from doc
750369 Various GBinding cleanups
750386 Race condition in g_io_condition_get_type
750399 Typo "equilalent" in glib documentation's \
glib-Error-Reporting.html...
750573 GTlsDatabaseClass is not documented
750918 genmarshal: silence register storage class warnings
751122 gsocket: avoid unnecessary g_socket_cond_wait() in _send_messages()
479730 The "g_key_file_set_comment" interface prepends '#' character to...
* Translation updates:
Hungarian
Spanish
Overview of changes in GLib 2.45.2
==================================
* Improve error reporting in glib-compile-schemas.
* Add introspection annotations to GListStore.
* Bugs fixed:
696749 win32 : failed to compile because of careless mistake in the code
723394 const parameter to GtkPopover gtk_popover_set_pointing_to
724113 gdbus-connection-loss test can fail on slow machines
725981 tap-driver.sh: internal error getting exit status
733325 Several regex tests fail with pcre3 8.35
744895 Unknown or unsupported transport 'this-should-not-be-used-and-will...
747882 gtype: Bump allowed number of children
748534 gtest: if a subprocess assertion fails, print its stdout and stderr
748612 de_DE locale used in option-context test is not supported by FreeBSD
748614 Double unref in g_socket_listener_add_inet_port
748834 glocalfilemonitor: Emit notification on rate limit change
749079 gdbus-peer test: TCP tests can fail with ECONNRESET due to a race...
749080 gdatetime test: fails if close to rollover between seconds
749180 gnetworkaddress: add return type annotation to parse methods
749352 g_binding_unbind() fails when source is also the target
749353 GBinding does not connect to the detailed notify signal
* Translation updates:
Catalan
French
Slovak
Thai
Overview of changes in GLib 2.45.1
==================================
* The GSettings schema compiler, glib-compile-schemas has been changed
to reject schema xml that has duplicate <summary> or <description>
elements. Such elements typically occur when translations are merged
into the schema, with xml:lang attributes. This is not the correct
way to translate schemas. Instead keep the translations in the .mo
file and set the gettext-domain attribute on the <schemalist> element.
* The file monitoring infrastructure has been rewritten, and all backends
have seen major improvements.
The inotify backend is reporting events with less delay (no event will
be delayed more than 10ms) and wakeups due to file monitoring have been
significantly reduced. A CHANGES_DONE event will also be sent when new
files appear.
The poll implementation is now using the thread default main context.
The fam implmentation is now running in the worker thread.
The fen implementation has been removed, since it was unmaintained.
* The GSettings schema compiler, glib-compile-schemas, is more strict
about rejecting schemas with xml:lang style merged translations.
Schema translations should be done by specifying the gettext domain
in the xml, and keeping the translations in gettext. To avoid breaking
already-installed schemas, this change is only taking effect when
you use the --strict option.
* The hardcoded 10-thread limit of GTask's thread pool has been removed,
since it was prone to causing deadlocks. The thread pool is now allowed
to grow dynamically and will shrink back over time.
* GSimpleAsyncResult has been deprecated in favor of GTask.
* The algorithm used by GAppInfo to find default handlers for mime types
has been tweaked to prefer apps that handle the specific subtype over
default handlers for a generic supertype.
* Bug fixes:
627285 inotify file monitor hardwired delay
631597 Segmentation fault in append_escaped_text
661767 merge/improve various bits of run-in-thread functionality
687223 cleverer GThreadPool management
711547 win32: silence some build warnings
719966 glib: Add missing (nullable) and (optional) annotations
726447 Possibly an error in text string
728663 W32: wrong stat struct is used when built with MinGW-w64
728669 W32: GLocalFile can't measure size of files larger than 2^32...
730188 gsocket: Document FD ownership with g_socket_new_from_fd()
733325 Several regex tests fail with pcre3 8.35
738207 Add a way to set SO_SENDBUF and SO_RECVBUF on listener (and...
739850 GClosure: add valgrind hints
741791 gmain: Save errno when handling unix signals
744282 gvfs-open for application/x-virt-viewer changed behaviour bet...
745255 Add support for copying sessions between GTlsClientConnections
745745 gdbus: fix out-of-bound array access
745821 Don't use __alloc_size__ attribute with clang
746749 GLib-GIO:ERROR:inotify-kernel.c:327:ik_source_dispatch: ass...
746753 Glib-compile-resources --generate-header not using ".h" as ...
747209 glib-compile-schemas ought to reject repeated <summary> and...
747349 Conversion of gdbus to use GTask causes deadlocks
747363 gatomic: Add missing new line in API doc comment
747472 Don't ignore already-installed schemas with multiple <summa...
747541 gdbus segfaults with invalid --dest
747772 Having hardcoded utf8 strings in the source code does not p...
748019 gsocketconnection: Fix copy-pasto in documentation
748177 not all test schemas are distributed, "make distcheck" fails
* Translation updates:
Basque
Czech
Danish
Finnish
German
Hebrew
Icelandic
Norwegian bokmål
Russian
Turkish
Files: