Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
$NetBSD: distinfo,v 1.200 2014/09/05 20:49:55 prlw1 Exp $
|
2002-03-24 21:27:12 +01:00
|
|
|
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (glib-2.40.0.tar.xz) = 44e1442ed4d1bf3fa89138965deb35afc1335a65
|
|
|
|
RMD160 (glib-2.40.0.tar.xz) = c50eed34bf8df127b959af27b02d6036934f758e
|
|
|
|
Size (glib-2.40.0.tar.xz) = 7016228 bytes
|
|
|
|
SHA1 (patch-aa) = 0d30b40995e539f772afedda2724fa3181fe0019
|
2012-04-30 15:53:48 +02:00
|
|
|
SHA1 (patch-ab) = 04bde955a2a588011a8c77ada4923d5464a0d544
|
Update glib2 to 2.18.0.
Based on patch provided by Juan RP in pkgsrc-users ml.
Overview of Changes from GLib 2.17.7 to GLib 2.18.0
===================================================
* Win32:
- rework the g_poll() implementation to match poll() semantics more closely
* Bugs fixed:
324234 Using g_io_add_watch_full() to wait for connect() to return...
548278 Async GETs connections are always terminated unexpectedly...
500246 Bug fixes for giowin32
523939 Example program for GValue
550096 GBookmarkFile parser is not forward compatible
550040 Move GString, rand and printf tests to the unit test framework
550104 trivial documentation fix for g_get_home_dir
548988 g_file_replace fails on Windows when the target file exists
550059 Wrong docs for g_emblemed_icon_add_emblem
548800 Missing a g_object_get_type function
550056 Missing documentation for g_emblemed_icon_get_emblems
* Updated translations:
Bulgarian (bg)
Czech (cs)
German (de)
Estonian (et)
Basque (eu)
French (fr)
Hebrew (he)
Hungarian (hu)
Italian (it)
Japanese (ja)
Lithuanian (lt)
Maithili (mai)
Dutch (nl)
Swedish (sv)
Thai (th)
Ukrainian (uk)
Vietnamese (vi)
Overview of Changes from GLib 2.17.6 to GLib 2.17.7
===================================================
* More fixes for 64-bit Windows
* GIO
- Add a vfs implementation for HTTP and HTTPS URIs on Windows
* Bugs fixed:
546329 API docs for g_utf8_normalize() are incorrect
546876 Modify GMarkup parser to accept  .. 
547200 g_utf8_find_next_char() issues
547637 unconditional #include of sys/statfs.h in configure
547337 G_DISABLE_DEPRECATED breaks tests build
547832 gtk+-2.12.11 fails to build - AC_PROG_MMAP too strict
502498 Test framework assertion failures should follow gcc
546371 Improve docs re g_file_monitor
546483 GThemedIcon:use-default-fallbacks is not readable without...
546132 GFileIcon is bindings-unfriendly
542156 zfs mount in home directory shown on nautilus desktop
535124 umask 002 not being applied for new directories...
547080 g_file_copy leaks expected errors
546582 Callbacks from GFileMonitor present a GFile...
547262 Missing link in the docs
* Updated translations:
Arabic (ar)
Catalan (ca)
Spanish (es)
Basque (eu)
Finnish (fi)
Galician (gl)
Hebrew (he)
Marathi (mr)
Norwegian bokmål (nb)
Portugese (pt)
Brazilian Portugese (pt_BR)
Swedish (sv)
Thai (th)
Overview of Changes from GLib 2.17.4 to GLib 2.17.6
===================================================
* Fix problems on 64-bit Windows
* g_markup_context_get_user_data: New function to access
the user_data outside of callbacks
* GIO
- g_mount_guess_content_type_sync: synchronous version of
g_mount_guess_content_type
- GEmblem: A GIcon implementation that adds emblem-related
metadata to icons
- GEmblemedIcon: A GIcon implementation that can add emblems
to icons
* Bugs fixed:
544088 option_test_LDADD is left in tests/Makefile.am
544465 gmarkup makes it hard to use pre-rolled parsers
545485 Implicit declaration of utime()
545798 "Since: 2.18" mark is missing in g_set_error_literal...
544140 fam-helper 64-bit issue
529694 SELinux context setting support
545157 wrong/no list of "open with" applications for .cc...
545203 gfile.c: argument is different type
545457 gdmsetup crashed with SIGSEGV in g_unix_mount_guess...
544177 Fix trivial cut and paste error in documentation
545395 Language tweak for g_value_set_string* docs
541036 Gnumeric crashes when trying to open Desktop...
546079 leak in xdgmime
545395 Language tweak for g_value_set_string* docs
546017 Don't copy attributes when copying a symlink
* Updated translations:
Arabic (ar)
Estonian (et)
Galician (gl)
Italian (it)
Japanese (ja)
Korean (ko)
Norwegian bokmål (nb)
Pashto (ps)
Portugese (pt)
Overview of Changes from GLib 2.17.3 to GLib 2.17.4
===================================================
* GIO:
- New API to handle content types: g_mount_guess_content_type,
g_content_type_guess_for_tree.
- Export the eject-button signal on the volume monitor class
- New API to enable out-of-process volume monitors:
g_volume_get_activation_root
* GObject:
- New API to handle signals without slots in the class structure:
g_signal_new_class_handler, g_signal_override_class_handler
* Internationalization:
- Add an NC_ macro that is a no-op equivalent of C_
* GMarkup:
- Add two new functions g_markup_parse_context_push,
g_markup_parse_context_pop to support "subparsers"
* Bugs fixed:
541208 Functions to easily install and use signals without...
541507 Ambiguous description of assigned characters in the...
543040 async reading on dummy file will crash on GIO_USE_VFS=local
543560 enable gio-FEN back-end warnings on Solaris will crash...
528317 GRegex does not allow recursion limit
337518 GMarkup: Subparser support
541794 drive-eject-button signal
541793 activation root for volumes
467707 test_iconv_state() in tests/convert-test.c fails on AIX 5.3
428048 2 of 51 tests fail on Solaris
542332 small fix for error message in GMarkup
482413 get_contents_stdio -- overflow and memory corruption
406120 g_ascii_strtod
334234 "printf" format error
536996 Missing noop i18n macro equivalent to C_
540616 mem leak in filechooser button
539229 gobject-query calls itself query
521589 [RFC] gobject documentation should mention Vala
543168 Description of G_SLICE=debug-blocks discourages its use
543220 Case collision on gio-extension-points.html
530759 update the gobject tutorial to the XXI century
535223 gbookmark file inefficiency ...
543504 crash in Epiphany Web Browser: Opening local file
* Updated translation:
German (de)
Estonian (et)
Pashto (ps)
Albanian (sq)
Thai (th)
Traditional Chinese (zh_HK)
Traditional Chinese (zh_TW)
Overview of Changes from GLib 2.17.1 to GLib 2.17.3
===================================================
* PCRE
- fix for CVE-2008-2371
* Bugs fixed:
538119 glib's mainloop leaks a pipe to sub-processes
537635 Corrections and improvements to g_time_val_{to,from}_iso8601
539067 The document g_io_channel_win32_new_fd() says...
535949 annotate g_strip_context and g_dpgettext with G_GNUC_FORMAT
539123 annotate g_d[n]gettext with G_GNUC_FORMAT
539074 Cannot get exit status with g_spawn_command_line_sync
316221 G_LOCK warns about breaking strict-aliasing rules
539770 migrate gstrfunc unit tests to gtest
539626 Update docstrings for g_object_freeze_notify and g_object_thaw_notify
538044 unconditional use of LC_MESSAGES
540545 Monotonic time and timer offset
535947 want g_set_error_literal
539999 glibconfig.h: add GLIB_USING_SYSTEM_PRINTF
536252 GFileEnumerator should allow access to the containing GFile
538362 Get Win32 icons back in the file chooser
540802 g_list_prepend doesn't concat lists
540423 unrecoverable error after g_seekable_truncate
538836 make check failure on PPC and ALPHA: pltcheck.sh on g_atomic_pointer_get
539090 g_content_type_from_mime_type() should unalias
540331 g_file_append_to () documentation: can return NULL
534639 add g_desktop_app_info_new_from_keyfile
536733 gio build failure on Irix
536160 Add g_file_monitor()
538127 FileChooser broken on win32
531476 /live-g-file/test_traverse_structure test fails on Mac HFS+
538564 gio should have gio-types.h
540047 glib-genmarshal.c: '#include <io.h>' is too before
Updated translations:
Korean (ko)
Occitan (oc)
Overview of Changes from GLib 2.17.0 to GLib 2.17.1
===================================================
* New function: g_utime(), a gstdio wrapper for utime()
* New functions: g_dgettext() and g_dngettext(), wrappers
for corresponding gettext functions with added functionaliy
* Support the latest version of the shared-mime spec, including
icons for mime types
* New function: g_themed_icon_prepend_name()
* Bugs fixed:
535418 Please document which glib version defines goffset
528715 Misprint in the description of the interface g_type_class_add_private
528714 Misprint in the description of the interface g_param_spec_flags
537260 Doc bug in G_TYPE_INSTANCE_GET_CLASS()
530527 Misprint in the description of the interface
g_cclosure_marshal_VOID__FLAGS
530526 Misprint in the description of the fields 'class_init' and
'class_finalize' of the structure GTypeInfo
528719 Improvement to the documentation of the "g_object_connect" interface
528172 gtk_signal_handlers_unblock_* functions return value
amount of matched signals, not amount of actually unblocked
528717 Misprint in the description of the parameter 'type_id' for
the interface g_type_register_fundamental
528716 Misprint in the description of the parameter 'iface_data' for
the callback types GInterfaceInitFunc and GInterfaceFinalizeFunc
537555 GObject instantiation not thread safe
537546 'desktop' shortcut in file chooser looks like a generic folder
537392 Additional colon in xattr name
536641 Filesystem querying in gio does not list AFS and autofs file systems
528600 g_dummy_file_get_parent("scheme://example.com/")
503071 Application direction changes to right to left even if theres no
translation
502511 g_assert_cmphex prints invalid message
338162 Use po/LINGUAS
314453 Nautilus crashes in Solaris when browsing the attached file
529321 make check fails in glib/pcre
455215 g_get_user_special_dir: no reference about G_USER_DIRECTORY_DOWNLOAD
fallback to $HOME/Desktop if xdg-user-dirs is not in use
498732 g_key_file_to_data cannot fail
511367 add g_file_make_directory_with_parents
531900 Use __builtin_offsetof for G_STRUCT_OFFSET if building with
gcc 4.0 or newer
536158 also bump GHashTable version when a node is removed via
g_hash_table_iter_remove()/g_hash_table_iter_steal()
531403 g_utf8_collate broken on Mac
535628 test/patterntest.c still includes gpattern.h directly
535625 alias.h:2648: error: 'utime' undeclared here (not in a function)
* Translation updates:
Arabic (ar)
German (de)
Italian (it)
Norwegian bokmål (nb)
Thai (th)
Overview of Changes from GLib 2.16.x to GLib 2.17.0
===================================================
* Update to Unicode 5.1
* Update included libcharset to the one shipped with libiconv 0.12
* Update included PCRE to 7.7
* Enforce that only toplevel headers are directly included.
This is turned on by default for GObject and GIO. To turn
it on for GLib, define G_DISABLE_SINGLE_INCLUDES.
* Fix library version of GIO. GLib 2.16 shipped with libgio-2.0.so.0.0.0
* On Solaris, use FEN for file monitoring in GIO
* Use the GIO_EXTRA_MODULES environment variable to find
additional GIO modules
* G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size
function attribute
* g_checksum_reset: New function to reset the state of a GChecksum
* g_unix_mount_monitor_set_rate_limit: New function to limit the
rate at which events are reported
* g_file_query_file_type: New utility function to query the type of
a file
* g_memory_output_stream_get_data_size: New function to obtain the
size of the written data.
* Bugs fixed:
522292 Gives warnings in glib/gutils.h with GCC in C99 mode
523298 win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
518160 replace two g_strdup_printf calls in GBookmarkFile
523877 gbookmarkfile: avoid using g_string_append_printf() and
other optimizations
525192 100% CPU if run main loop with no IO sources
315437 extern inline -> static inline
524314 g_convert() on Win32 implicitly converts full width
alphanumerics into half width
525732 Error in documentation for g_list_first
525674 A typo in gmarkup.c
448943 g_timeout_add_seconds() problems
525972 UCS-4 not in the new win_iconv implementation
526619 make test-report crash
491554 Update to Unicode 5.1.0
519137 g_slice_dup macro needs cast for 64-bit platform
528752 Win32 build and SSL not working
530457 G_USER_DIRECTORY_DOWNLOAD folder improperly mapped
528667 Typos in testing module documentation
459905 Bug in wcwidth data
534085 g_unichar_iswide_cjk() has a totally wrong table
501651 Update glib/libcharset
519026 G_STMT_START/G_STMT_END test a non-existent preprocessor symbol
534319 GLib's .pc files could use Libs.private
534137 Typo in g_spawn_async_with_pipes doc
517419 gio win32 directory monitor
526796 Wrong order of arguments in g_file_copy's fallback
530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0
532965 Should not return filesystem::free for certain file systems
525553 fix typo and nitpicking in GArray documentation
526572 Missing * in declaration of parent_class in Object
Destruction section of GObject Reference Manual
528648 Extra >s in Object Construction section
535021 g_param_spec_internal documentation should
describe purpose of nick and blurb
521513 Firefox crash when using file picker
528433 gdesktopappinfo snafu ...
533369 API g_file_info_get_attribute_string () unables to get "...
521045 glib f_fstypename miscellany
521672 compile error
521946 control rate limit on GUnixMountMonitor
522335 Fails to build: glib/gtester.c:276: error: 'ARG_MAX' unde...
523015 Implement sliding window based upload operation
523019 Use new GCC 4 feature
523338 list nfs4 as a nfs mount type
524350 Make glib build without NLS again
524579 g_file_copy reports wrong total on progress callback for ...
524742 A typo in gtestutils.c.
524950 Minor documentation typos.
525866 the user directory should not be considered as a mount to...
526320 should not list mounts that the user doesn't have permiss...
527132 nautilus crash when making ftp connection
532852 CRITICAL **: totem_pl_parser_parse_with_base: assertion `...
534759 Build failure in gio
534764 Typo in error produced by g_file_make_directory
521851 Redudant tests in gunixmounts.c
524344 glib/gthread.h still use G_GNUC_PRETTY_FUNCTION
525060 glib fails to build with -DG_DISABLE_ASSERT in CPPFLAGS o...
534177 Invalid description of the interface g_cclosure_marshal_S...
520715 Add GFile method g_file_query_file_type
523039 nautilus can't access to trash/computer/network if gvfs i...
* Updated translations:
Arabic (ar)
Bulgarian (bg)
Catalan (ca)
Czech (cs)
Greek (el)
Candian English (en_CA)
British English (en_GB)
Spanish (es)
Estonian (et)
Basque (eu)
Galician (gl)
Hebrew (he)
Hungarian (hu)
Japanese (ja)
Lithuanian (lt)
Norwegian bokmål (nb)
Dutch (nl)
Occitan (oc)
Portugese (pt)
Russian (ru)
Slovak (sk)
Albanian (sq)
Swedish (sv)
Turkish (tr)
Vietnamese (vi)
2008-09-06 13:07:20 +02:00
|
|
|
SHA1 (patch-ac) = 96e153339675457356f71e35d20375bed669d337
|
2004-04-17 12:37:12 +02:00
|
|
|
SHA1 (patch-ae) = 09f16e8e14bdea3ee0e478d335f65cb66939e5f5
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (patch-af) = 6da2f31b5052a9b1d02b9a87f47896be238a88bd
|
Update glib2 to 2.38.2
Patches removed:
- patch-ce: fixed in 690d6b97 (Bug 697386)
- patch-gio_gcontenttype.c: committed as ab5aa2aa
- patch-gio_glocalfile.c: fixed in 584358 (Bug 698348)
- patch-gio_gthreadedresolver.c: fixed in 8372f22b
- patch-glib_gfileutils.c: fixed in 8372f22b
- patch-glib_gmarkup.c: : fixed in 8372f22b
- patch-glib_gstrfuncs.c: fixed in 8372f22b
Patches changed:
- patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ah: last 2 hunks removed as something similar in 8372f2
- patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ba: hunk 9 removed as committed as d47430 (Bug 697365)
Overview of changes from GLib 2.38.1 to 2.38.2
===============================================
* GCancellableSource will now dispatch for each time a cancellable is
cancelled (ie: in the case that it was reset) but this is still
considered undefined behaviour
* fix g_source_add_child_source() thread safety issues
* add workaround for buggy D-Bus daemons when path-matching on '/'
* fallback to pathname queryinfo to help g_file_copy() work on gvfs
filesystems that don't implement query_info_on_read()
* don't crash if loading a DBusActivatable application from keyfile
* fix crash when replacing a symlink with another using GIO
* add a fallback for '-symbolic' icons to the non-symbolic form
Overview of changes from GLib 2.38.0 to 2.38.1
===============================================
* Fix error code checks when SOCK_CLOEXEC is defined but not supported
(fix support for GNU/Hurd)
* g_settings_list_children: only list viable schemas
(fix gsettings list-recursively crashes with invalid schemas installed)
* GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path
when adding match rules
* Various -Werror=format-nonliteral fixes
* gmessages: fix clang annotations to work with older versions
* gio: don't dist (generated file) gnetworking.h
* Restore gl_GLIBC21 to configure; needed for libcharset
Translations:
Catalan (Valencian)
Norwegian bokmål
Russian
Serbian
What's new in Glib 2.38
========================
* Application support
- GIO now provides an implementation of Desktop Actions from the
desktop entry specification
- GApplication now implements the org.freedesktop.Application
interface as per the desktop entry specification, allowing for
standards-based D-Bus launching of GLib-based applications
- GDesktopAppInfo now supports DBusActivatable as per the desktop
entry specification, allowing GLib-based applications to use D-Bus
to launch other applications
- GApplication now has a "busy" flag that can be set on an application
to allow the shell to show that it is busy
* GObject
- the private offset for a given class type is now always constant.
This was done by reorganising the memory layout of instances so that
the private data comes before the "official" pointer for the object
(ie: at a negative offset). Valgrind macros were added to mitigate
any problems that this may have caused.
- a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a
generated function *_get_instance_private() that can now serve as an
equally-performing alternative to ->priv pointers in instances
(allowing memory savings)
- new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros
provide a convenient method of converting between named variables in
private structures and their (now constant) offsets
- installing properties on a GObjectClass must now be done from
class_init. It is no longer valid to install them after class_init
has returned.
- it is now possible to manually break a GObject property binding
without destroying one of the objects involved
* Icons
- the requirements for implementing the GIcon interface have changed
in order to make it possible to consume all implementations of GIcon
with a finite number of cases
- a new GBytesIcon type was added for an icon represented by an
in-memory binary blob in a known image format (ideally png).
- new APIs g_icon_serialize() and g_icon_deserialize() replace the old
to/from_string APIs and will always work, irrespective of which
types have been initialised in the calling process, allowing for a
serialised GdkPixbuf to be deserialised in a process that doesn't
have GdkPixbuf
- support for icons has been added to GMenuModel using the new APIs
* Actions and menus
- GPropertyAction provides a convenient way of creating a stateful
property corresponding to a property on a GObject, such as the
"visible-child-name" property of a GtkStack
- new API g_menu_remove_all()
- we now have established rules about what is a "valid" action name
and an API to check them
- a new API for converting detailed action names to and from the
split-out name and parameter value (as GVariant)
- for backwards compatibility, invalid action names can still be used
with most functions, but this is not recommended
* Other GIO
- GDBus now supports services that wish to handle some of all
properties on an interface asynchronously, without requiring the
service to reimplement the entire org.freedesktop.DBus.Properties
interface
- GFile now has a new _measure_disk_usage() (and async) API for
recursively determining the amount of disk space used by a
particular directory (akin to 'du').
- asynchronous version of g_file_trash() and g_file_make_directory()
have been added
* Other new API
- GRegex has a new function to query the maximum lookbehind length to
allow for regexp matching on streams
- GVariant has two new APIs for constructing strings that allow
avoiding copies in some cases: g_variant_new_take_string() and
g_variant_new_printf()
* Testing
- we can now generate TAP output
- new support functions for simplifying the process of dealing with
data files for srcdir != builddir and installed test cases
- g_test_trap_subprocess() provides a portable alternative to
g_test_trap_fork()
* Other
- GLib now builds on Android against the bionic C library
Overview of changes from GLib 2.37.93 to 2.38.0
================================================
* fix the documentation for GSourceFuncs
* fix compilation on OS X/ppc64
Bugs fixed: 708445, 647145
Translations updated:
Danish
French
Portuguese
Punjabi
Overview of changes from GLib 2.37.92 to 2.37.93
================================================
* a couple of bugfixes in the new g_file_measure_disk_usage() API
* updated Traditional Chinese translation
Overview of changes from GLib 2.37.7 to 2.37.92
===============================================
* new API g_file_measure_disk_usage() similar to du(1)
* minor fixes
* Translation updates:
Assamese
Belarusian
Brazilian Portuguese
Catalan
Czech
Galician
German
Hungarian
Indonesian
Italian
Korean
Korean
Latvian
Lithuanian
Polish
Serbian
Slovenian
Spanish
Overview of changes from GLib 2.37.6 to 2.37.7
==============================================
* GDateTime now supports %:z formatting variations
for timezones. This is a GNU date extension.
* Bugs fixed:
685387 Segfault with GObject.signal_handler_is_connected()...
686786 g_socket_get_available_bytes() returns wrong value ...
705027 GSocket GSource not threadsafe on Windows
706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation
706706 Fix Gir annotations on g_loadable_icon_load_finish
706888 gtype: fix a no-op assertion
706958 configure.ac: fix atomic opts detection
707092 "File Utilities" page for GLib documentation doesn'...
707151 gdatetime: Extend the '%z' timezone format
* Translation updates:
Catalan
Hungarian
Japanese
Polish
Slovak
Tamil
Overview of changes from GLib 2.37.5 to 2.37.6
==============================================
* Tests using the g_test facilities can now generate TAP output
* Bugs fixed:
680926 generic type fallback logic is broken for -symbolic
684327 setting null icon to icon list
689245 GSocket unable to reuse (address,port) on Mac OS X
692125 Support TAP as GTest output format
693335 build: fix dtrace-related warnings
696633 gdbus-codegen trips over unicode chars when using python 3.x
696970 Compiling 2.36.0 for win64 fails
697185 GSocket – Allow specifying the multicast interface from...
700268 Add support for using the clang analyzer
701318 Add G_SPAWN_DEFAULT to GSpawnFlags
701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff()
701800 a new approach to reporting critical errors
702674 g_date_time_new_utc crash
704165 GLib.IOChannel read_unichar() fails
705075 Simplify g_get_tmp_dir()
705152 Race in glib/task.test
705398 gtype: Fix typo in g_type_class_add_private() error message
705570 Check ref_count in g_object_notify_by_pspec
705600 Deprecate GSimpleActionGroup functions?
* Updated translations:
Assamese
Brazilian Portuguese
Czech
Dutch
Galician
Gujarati
Hebrew
Italian
Lithuanian
Marathi
Norwegian bokmål
Russian
Slovenian
Spanish
Thai
Traditional Chinese
Overview of changes from GLib 2.37.4 to 2.37.5
==============================================
* Implement the Desktop Action specification: In the case that the
application is a GApplication and DBusActivatable, actions from the
desktop file are translated into GActions that have been added to
the application with g_action_map_add_action().
* GPropertyAction is a new type of GAction that represents the value
of a property on an object, and allows to change the value when
activated.
* GNetworkMonitorNetlink can now handle default routes via a device.
* The gsettings tool now reports failure to write a key (e.g. because
the key was locked down)
* Miscellaneous new api:
- g_variant_new_printf
- g_action_print_detailed_name
- g_regex_get_max_lookbehind
* Bugs fixed:
664444 Support additional application actions in .desktop files
684123 glib build only tries -D_GNU_SOURCE if glibc is detected
689794 support incremental matching
699259 add org.freedesktop.Application support to GIO
700460 rewrite tests to not rely on precise timing of timeouts
701511 updates to various GSource types
701609 gnetworkmonitornetlink: handle default route via device
703270 add GPropertyAction
704157 GAction: add function for printing detailed names
704250 Doc: various fixes
704267 regression gsourceclosure: segfault in gedit file chooser
704322 glib-unix: fix handling of multiple signal source for the...
704424 No error when failing to override a locked key
704447 Fix build/use of g_child_watch_closure_callback on Windows
704523 g_thread_create_full() can dereference NULL pointer
704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ...
704567 gdbusnameowning: Don't spew an error if we're releasing a...
704585 libc printf can give mixed-case strings for NaN and Inf
704587 FTBFS: statfs_result is undeclared for statvfs()
704699 gmain: Reset signal handlers to default when source is
704704 AI_NUMERICSERV cannot be used with ai_socktype = 0
704873 inotify: don't assume mainloop is running
704999 glib/convert.test crashing due to lack of iconv cache
704931 GMenuModel: add annotations to virtual functions
* Translation updates:
Assamese
Czech
German
Gujarati
Spanish
Tamil
Overview of changes from GLib 2.37.3 to 2.37.4
==============================================
* Bugs fixed:
701283 g_source_add_child_source() segfault
702147 inconsistency of G_STRFUNC
703191 new private macros interact poorly with versioning macros
703254 Doc: various fixes
703407 g_spawn_async() keeps child_pid_report_pipe open in child process
703437 GDBusConnection: be more careful with async GetAll
703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h
* Translation updates:
Catalan
Overview of changes from GLib 2.37.2 to 2.37.3
==============================================
* add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE
* fix timestamps in tarball to prevent automake from being required to
build the unmodified source
* add new D-Bus API for async property handling
* add back fsync() on ext4 for g_file_set_contents() after it was
discovered that despite statements in the ext4 documentation
suggesting that this is safe, it is not safe.
* Translations:
Italian
Norwegian bokmål
* Bugs fixed:
698375 - D-Bus async properties
700350 - timestamp issue
701560 - fsync issue (fixed again)
700035 - new API for instance private data
Overview of changes from GLib 2.37.1 to 2.37.2
==============================================
* The GLib test utilities have grown some file-related APIs
to support tests that can be used installed and uninstalled.
* Installing properties after class initialization is deprecated,
and will trigger a warning.
* GApplication:
- Support org.freedesktop.Application, including D-Bus activation
from desktop files
- Set prgname to appid for services
* Bugs fixed:
549783 gtester lacks framework for tests with data files
692848 Fix property example in gobject tutorial
698018 Add an explicit g_binding_release()
698614 GObject: prevent installing properties after init
699259 add org.freedesktop.Application support to GIO
699959 g_file_copy(): Ensure we create private files by default
700123 Test failure: g_inet_socket_address_get_scope_id
700725 GIcon: NULLify the `type' out param in the sync methods too
701401 gtest: add function for testing for WINE
701456 Error in gnome/glib/gio/tests/file.c
701474 Error building glibmm due to extra comma in glib/gtestutils.h
701560 various improvements for g_file_set_contents()
701680 GFileEnumerator: Add some documentation about ordering
701878 Check wakeup() before iteration(TRUE) doesn't block
* Translations:
Assamese
Czech
Galician
Gujarati
Kannada
Marathi
Odia
Polish
Slovenian
Spanish
Telugu
Overview of changes from GLib 2.37.0 to 2.37.1
==============================================
* add support for installed tests:
https://live.gnome.org/GnomeGoals/InstalledTests
* add a new g_test_trap_subprocess() that works on Windows as a
replacement for the (now deprecated) g_test_trap_fork()
* support for explicitly cancelling a gobject property binding
* performance improvements for signal argument handling
* stop using `quotes' in very many log messages generated by GLib, for
favour of 'this style'. This may cause testcases in other packages
to fail if they were matching on the previous text.
* improve manpages: add missing arguments and flags
Translations:
Aragonese
Assamese
Gujarati
Hindi
Kannada
Norwegian bokmål
Odia
Slovenian
Spanish
Tamil
Telugu
Bugs fixed:
679683 replace g_test_trap_fork()
694380 Improve signal argument collection performance
695233 Strings require plural forms
697849 spelling fixes in cross.xml and running.xml
698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port
698981 [PATCH] test /gdbus/connection/large_message could hang forever
699079 Prototype support for installed tests
699485 [PATCH] tests/mappedfile: Also handle ENOMEM
699493 SOCKS5 proxy code crashes if it cannot authenticate
699500 gbitlock: fix this to not unconditionally use futex emulation
699779 [PATCH] G_GNUC_FORMAT: documentation error
700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC
700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core
700746 Use 'dumb quotes' rather than `really dumb quotes'
2013-12-08 14:08:59 +01:00
|
|
|
SHA1 (patch-ah) = 2e23c228047d07769ef5b03b0ff636daa0435ee5
|
2012-04-30 15:53:48 +02:00
|
|
|
SHA1 (patch-aha) = 3249929122a567eec3c421a1efa0ac510f1474b7
|
Update glib2 to 2.38.2
Patches removed:
- patch-ce: fixed in 690d6b97 (Bug 697386)
- patch-gio_gcontenttype.c: committed as ab5aa2aa
- patch-gio_glocalfile.c: fixed in 584358 (Bug 698348)
- patch-gio_gthreadedresolver.c: fixed in 8372f22b
- patch-glib_gfileutils.c: fixed in 8372f22b
- patch-glib_gmarkup.c: : fixed in 8372f22b
- patch-glib_gstrfuncs.c: fixed in 8372f22b
Patches changed:
- patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ah: last 2 hunks removed as something similar in 8372f2
- patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ba: hunk 9 removed as committed as d47430 (Bug 697365)
Overview of changes from GLib 2.38.1 to 2.38.2
===============================================
* GCancellableSource will now dispatch for each time a cancellable is
cancelled (ie: in the case that it was reset) but this is still
considered undefined behaviour
* fix g_source_add_child_source() thread safety issues
* add workaround for buggy D-Bus daemons when path-matching on '/'
* fallback to pathname queryinfo to help g_file_copy() work on gvfs
filesystems that don't implement query_info_on_read()
* don't crash if loading a DBusActivatable application from keyfile
* fix crash when replacing a symlink with another using GIO
* add a fallback for '-symbolic' icons to the non-symbolic form
Overview of changes from GLib 2.38.0 to 2.38.1
===============================================
* Fix error code checks when SOCK_CLOEXEC is defined but not supported
(fix support for GNU/Hurd)
* g_settings_list_children: only list viable schemas
(fix gsettings list-recursively crashes with invalid schemas installed)
* GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path
when adding match rules
* Various -Werror=format-nonliteral fixes
* gmessages: fix clang annotations to work with older versions
* gio: don't dist (generated file) gnetworking.h
* Restore gl_GLIBC21 to configure; needed for libcharset
Translations:
Catalan (Valencian)
Norwegian bokmål
Russian
Serbian
What's new in Glib 2.38
========================
* Application support
- GIO now provides an implementation of Desktop Actions from the
desktop entry specification
- GApplication now implements the org.freedesktop.Application
interface as per the desktop entry specification, allowing for
standards-based D-Bus launching of GLib-based applications
- GDesktopAppInfo now supports DBusActivatable as per the desktop
entry specification, allowing GLib-based applications to use D-Bus
to launch other applications
- GApplication now has a "busy" flag that can be set on an application
to allow the shell to show that it is busy
* GObject
- the private offset for a given class type is now always constant.
This was done by reorganising the memory layout of instances so that
the private data comes before the "official" pointer for the object
(ie: at a negative offset). Valgrind macros were added to mitigate
any problems that this may have caused.
- a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a
generated function *_get_instance_private() that can now serve as an
equally-performing alternative to ->priv pointers in instances
(allowing memory savings)
- new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros
provide a convenient method of converting between named variables in
private structures and their (now constant) offsets
- installing properties on a GObjectClass must now be done from
class_init. It is no longer valid to install them after class_init
has returned.
- it is now possible to manually break a GObject property binding
without destroying one of the objects involved
* Icons
- the requirements for implementing the GIcon interface have changed
in order to make it possible to consume all implementations of GIcon
with a finite number of cases
- a new GBytesIcon type was added for an icon represented by an
in-memory binary blob in a known image format (ideally png).
- new APIs g_icon_serialize() and g_icon_deserialize() replace the old
to/from_string APIs and will always work, irrespective of which
types have been initialised in the calling process, allowing for a
serialised GdkPixbuf to be deserialised in a process that doesn't
have GdkPixbuf
- support for icons has been added to GMenuModel using the new APIs
* Actions and menus
- GPropertyAction provides a convenient way of creating a stateful
property corresponding to a property on a GObject, such as the
"visible-child-name" property of a GtkStack
- new API g_menu_remove_all()
- we now have established rules about what is a "valid" action name
and an API to check them
- a new API for converting detailed action names to and from the
split-out name and parameter value (as GVariant)
- for backwards compatibility, invalid action names can still be used
with most functions, but this is not recommended
* Other GIO
- GDBus now supports services that wish to handle some of all
properties on an interface asynchronously, without requiring the
service to reimplement the entire org.freedesktop.DBus.Properties
interface
- GFile now has a new _measure_disk_usage() (and async) API for
recursively determining the amount of disk space used by a
particular directory (akin to 'du').
- asynchronous version of g_file_trash() and g_file_make_directory()
have been added
* Other new API
- GRegex has a new function to query the maximum lookbehind length to
allow for regexp matching on streams
- GVariant has two new APIs for constructing strings that allow
avoiding copies in some cases: g_variant_new_take_string() and
g_variant_new_printf()
* Testing
- we can now generate TAP output
- new support functions for simplifying the process of dealing with
data files for srcdir != builddir and installed test cases
- g_test_trap_subprocess() provides a portable alternative to
g_test_trap_fork()
* Other
- GLib now builds on Android against the bionic C library
Overview of changes from GLib 2.37.93 to 2.38.0
================================================
* fix the documentation for GSourceFuncs
* fix compilation on OS X/ppc64
Bugs fixed: 708445, 647145
Translations updated:
Danish
French
Portuguese
Punjabi
Overview of changes from GLib 2.37.92 to 2.37.93
================================================
* a couple of bugfixes in the new g_file_measure_disk_usage() API
* updated Traditional Chinese translation
Overview of changes from GLib 2.37.7 to 2.37.92
===============================================
* new API g_file_measure_disk_usage() similar to du(1)
* minor fixes
* Translation updates:
Assamese
Belarusian
Brazilian Portuguese
Catalan
Czech
Galician
German
Hungarian
Indonesian
Italian
Korean
Korean
Latvian
Lithuanian
Polish
Serbian
Slovenian
Spanish
Overview of changes from GLib 2.37.6 to 2.37.7
==============================================
* GDateTime now supports %:z formatting variations
for timezones. This is a GNU date extension.
* Bugs fixed:
685387 Segfault with GObject.signal_handler_is_connected()...
686786 g_socket_get_available_bytes() returns wrong value ...
705027 GSocket GSource not threadsafe on Windows
706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation
706706 Fix Gir annotations on g_loadable_icon_load_finish
706888 gtype: fix a no-op assertion
706958 configure.ac: fix atomic opts detection
707092 "File Utilities" page for GLib documentation doesn'...
707151 gdatetime: Extend the '%z' timezone format
* Translation updates:
Catalan
Hungarian
Japanese
Polish
Slovak
Tamil
Overview of changes from GLib 2.37.5 to 2.37.6
==============================================
* Tests using the g_test facilities can now generate TAP output
* Bugs fixed:
680926 generic type fallback logic is broken for -symbolic
684327 setting null icon to icon list
689245 GSocket unable to reuse (address,port) on Mac OS X
692125 Support TAP as GTest output format
693335 build: fix dtrace-related warnings
696633 gdbus-codegen trips over unicode chars when using python 3.x
696970 Compiling 2.36.0 for win64 fails
697185 GSocket – Allow specifying the multicast interface from...
700268 Add support for using the clang analyzer
701318 Add G_SPAWN_DEFAULT to GSpawnFlags
701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff()
701800 a new approach to reporting critical errors
702674 g_date_time_new_utc crash
704165 GLib.IOChannel read_unichar() fails
705075 Simplify g_get_tmp_dir()
705152 Race in glib/task.test
705398 gtype: Fix typo in g_type_class_add_private() error message
705570 Check ref_count in g_object_notify_by_pspec
705600 Deprecate GSimpleActionGroup functions?
* Updated translations:
Assamese
Brazilian Portuguese
Czech
Dutch
Galician
Gujarati
Hebrew
Italian
Lithuanian
Marathi
Norwegian bokmål
Russian
Slovenian
Spanish
Thai
Traditional Chinese
Overview of changes from GLib 2.37.4 to 2.37.5
==============================================
* Implement the Desktop Action specification: In the case that the
application is a GApplication and DBusActivatable, actions from the
desktop file are translated into GActions that have been added to
the application with g_action_map_add_action().
* GPropertyAction is a new type of GAction that represents the value
of a property on an object, and allows to change the value when
activated.
* GNetworkMonitorNetlink can now handle default routes via a device.
* The gsettings tool now reports failure to write a key (e.g. because
the key was locked down)
* Miscellaneous new api:
- g_variant_new_printf
- g_action_print_detailed_name
- g_regex_get_max_lookbehind
* Bugs fixed:
664444 Support additional application actions in .desktop files
684123 glib build only tries -D_GNU_SOURCE if glibc is detected
689794 support incremental matching
699259 add org.freedesktop.Application support to GIO
700460 rewrite tests to not rely on precise timing of timeouts
701511 updates to various GSource types
701609 gnetworkmonitornetlink: handle default route via device
703270 add GPropertyAction
704157 GAction: add function for printing detailed names
704250 Doc: various fixes
704267 regression gsourceclosure: segfault in gedit file chooser
704322 glib-unix: fix handling of multiple signal source for the...
704424 No error when failing to override a locked key
704447 Fix build/use of g_child_watch_closure_callback on Windows
704523 g_thread_create_full() can dereference NULL pointer
704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ...
704567 gdbusnameowning: Don't spew an error if we're releasing a...
704585 libc printf can give mixed-case strings for NaN and Inf
704587 FTBFS: statfs_result is undeclared for statvfs()
704699 gmain: Reset signal handlers to default when source is
704704 AI_NUMERICSERV cannot be used with ai_socktype = 0
704873 inotify: don't assume mainloop is running
704999 glib/convert.test crashing due to lack of iconv cache
704931 GMenuModel: add annotations to virtual functions
* Translation updates:
Assamese
Czech
German
Gujarati
Spanish
Tamil
Overview of changes from GLib 2.37.3 to 2.37.4
==============================================
* Bugs fixed:
701283 g_source_add_child_source() segfault
702147 inconsistency of G_STRFUNC
703191 new private macros interact poorly with versioning macros
703254 Doc: various fixes
703407 g_spawn_async() keeps child_pid_report_pipe open in child process
703437 GDBusConnection: be more careful with async GetAll
703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h
* Translation updates:
Catalan
Overview of changes from GLib 2.37.2 to 2.37.3
==============================================
* add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE
* fix timestamps in tarball to prevent automake from being required to
build the unmodified source
* add new D-Bus API for async property handling
* add back fsync() on ext4 for g_file_set_contents() after it was
discovered that despite statements in the ext4 documentation
suggesting that this is safe, it is not safe.
* Translations:
Italian
Norwegian bokmål
* Bugs fixed:
698375 - D-Bus async properties
700350 - timestamp issue
701560 - fsync issue (fixed again)
700035 - new API for instance private data
Overview of changes from GLib 2.37.1 to 2.37.2
==============================================
* The GLib test utilities have grown some file-related APIs
to support tests that can be used installed and uninstalled.
* Installing properties after class initialization is deprecated,
and will trigger a warning.
* GApplication:
- Support org.freedesktop.Application, including D-Bus activation
from desktop files
- Set prgname to appid for services
* Bugs fixed:
549783 gtester lacks framework for tests with data files
692848 Fix property example in gobject tutorial
698018 Add an explicit g_binding_release()
698614 GObject: prevent installing properties after init
699259 add org.freedesktop.Application support to GIO
699959 g_file_copy(): Ensure we create private files by default
700123 Test failure: g_inet_socket_address_get_scope_id
700725 GIcon: NULLify the `type' out param in the sync methods too
701401 gtest: add function for testing for WINE
701456 Error in gnome/glib/gio/tests/file.c
701474 Error building glibmm due to extra comma in glib/gtestutils.h
701560 various improvements for g_file_set_contents()
701680 GFileEnumerator: Add some documentation about ordering
701878 Check wakeup() before iteration(TRUE) doesn't block
* Translations:
Assamese
Czech
Galician
Gujarati
Kannada
Marathi
Odia
Polish
Slovenian
Spanish
Telugu
Overview of changes from GLib 2.37.0 to 2.37.1
==============================================
* add support for installed tests:
https://live.gnome.org/GnomeGoals/InstalledTests
* add a new g_test_trap_subprocess() that works on Windows as a
replacement for the (now deprecated) g_test_trap_fork()
* support for explicitly cancelling a gobject property binding
* performance improvements for signal argument handling
* stop using `quotes' in very many log messages generated by GLib, for
favour of 'this style'. This may cause testcases in other packages
to fail if they were matching on the previous text.
* improve manpages: add missing arguments and flags
Translations:
Aragonese
Assamese
Gujarati
Hindi
Kannada
Norwegian bokmål
Odia
Slovenian
Spanish
Tamil
Telugu
Bugs fixed:
679683 replace g_test_trap_fork()
694380 Improve signal argument collection performance
695233 Strings require plural forms
697849 spelling fixes in cross.xml and running.xml
698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port
698981 [PATCH] test /gdbus/connection/large_message could hang forever
699079 Prototype support for installed tests
699485 [PATCH] tests/mappedfile: Also handle ENOMEM
699493 SOCKS5 proxy code crashes if it cannot authenticate
699500 gbitlock: fix this to not unconditionally use futex emulation
699779 [PATCH] G_GNUC_FORMAT: documentation error
700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC
700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core
700746 Use 'dumb quotes' rather than `really dumb quotes'
2013-12-08 14:08:59 +01:00
|
|
|
SHA1 (patch-ak) = f5699914c2fe212316a27c64dd129ea7dde594f0
|
|
|
|
SHA1 (patch-al) = 4eb4e241488dabe254973f5ada92898af57cd0f5
|
2012-11-13 22:23:07 +01:00
|
|
|
SHA1 (patch-am) = 99f54927d76580dfeda2a6b1909e1bea5dbdc293
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (patch-an) = 8dfc12cf0c8f3b8c7948fe3b2543a56e0cacec98
|
|
|
|
SHA1 (patch-ba) = 28b2a3341e8a6d5beb023e173c3353d2697ba49b
|
2012-05-01 20:45:51 +02:00
|
|
|
SHA1 (patch-cb) = 56e2a9b2de04c8e528faf7ce778503fa55dcc3ac
|
2013-04-20 00:21:41 +02:00
|
|
|
SHA1 (patch-cc) = f3d37cbb483863aab602f9c1209650e3e4795871
|
Update glib2 to 2.38.2
Patches removed:
- patch-ce: fixed in 690d6b97 (Bug 697386)
- patch-gio_gcontenttype.c: committed as ab5aa2aa
- patch-gio_glocalfile.c: fixed in 584358 (Bug 698348)
- patch-gio_gthreadedresolver.c: fixed in 8372f22b
- patch-glib_gfileutils.c: fixed in 8372f22b
- patch-glib_gmarkup.c: : fixed in 8372f22b
- patch-glib_gstrfuncs.c: fixed in 8372f22b
Patches changed:
- patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ah: last 2 hunks removed as something similar in 8372f2
- patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ba: hunk 9 removed as committed as d47430 (Bug 697365)
Overview of changes from GLib 2.38.1 to 2.38.2
===============================================
* GCancellableSource will now dispatch for each time a cancellable is
cancelled (ie: in the case that it was reset) but this is still
considered undefined behaviour
* fix g_source_add_child_source() thread safety issues
* add workaround for buggy D-Bus daemons when path-matching on '/'
* fallback to pathname queryinfo to help g_file_copy() work on gvfs
filesystems that don't implement query_info_on_read()
* don't crash if loading a DBusActivatable application from keyfile
* fix crash when replacing a symlink with another using GIO
* add a fallback for '-symbolic' icons to the non-symbolic form
Overview of changes from GLib 2.38.0 to 2.38.1
===============================================
* Fix error code checks when SOCK_CLOEXEC is defined but not supported
(fix support for GNU/Hurd)
* g_settings_list_children: only list viable schemas
(fix gsettings list-recursively crashes with invalid schemas installed)
* GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path
when adding match rules
* Various -Werror=format-nonliteral fixes
* gmessages: fix clang annotations to work with older versions
* gio: don't dist (generated file) gnetworking.h
* Restore gl_GLIBC21 to configure; needed for libcharset
Translations:
Catalan (Valencian)
Norwegian bokmål
Russian
Serbian
What's new in Glib 2.38
========================
* Application support
- GIO now provides an implementation of Desktop Actions from the
desktop entry specification
- GApplication now implements the org.freedesktop.Application
interface as per the desktop entry specification, allowing for
standards-based D-Bus launching of GLib-based applications
- GDesktopAppInfo now supports DBusActivatable as per the desktop
entry specification, allowing GLib-based applications to use D-Bus
to launch other applications
- GApplication now has a "busy" flag that can be set on an application
to allow the shell to show that it is busy
* GObject
- the private offset for a given class type is now always constant.
This was done by reorganising the memory layout of instances so that
the private data comes before the "official" pointer for the object
(ie: at a negative offset). Valgrind macros were added to mitigate
any problems that this may have caused.
- a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a
generated function *_get_instance_private() that can now serve as an
equally-performing alternative to ->priv pointers in instances
(allowing memory savings)
- new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros
provide a convenient method of converting between named variables in
private structures and their (now constant) offsets
- installing properties on a GObjectClass must now be done from
class_init. It is no longer valid to install them after class_init
has returned.
- it is now possible to manually break a GObject property binding
without destroying one of the objects involved
* Icons
- the requirements for implementing the GIcon interface have changed
in order to make it possible to consume all implementations of GIcon
with a finite number of cases
- a new GBytesIcon type was added for an icon represented by an
in-memory binary blob in a known image format (ideally png).
- new APIs g_icon_serialize() and g_icon_deserialize() replace the old
to/from_string APIs and will always work, irrespective of which
types have been initialised in the calling process, allowing for a
serialised GdkPixbuf to be deserialised in a process that doesn't
have GdkPixbuf
- support for icons has been added to GMenuModel using the new APIs
* Actions and menus
- GPropertyAction provides a convenient way of creating a stateful
property corresponding to a property on a GObject, such as the
"visible-child-name" property of a GtkStack
- new API g_menu_remove_all()
- we now have established rules about what is a "valid" action name
and an API to check them
- a new API for converting detailed action names to and from the
split-out name and parameter value (as GVariant)
- for backwards compatibility, invalid action names can still be used
with most functions, but this is not recommended
* Other GIO
- GDBus now supports services that wish to handle some of all
properties on an interface asynchronously, without requiring the
service to reimplement the entire org.freedesktop.DBus.Properties
interface
- GFile now has a new _measure_disk_usage() (and async) API for
recursively determining the amount of disk space used by a
particular directory (akin to 'du').
- asynchronous version of g_file_trash() and g_file_make_directory()
have been added
* Other new API
- GRegex has a new function to query the maximum lookbehind length to
allow for regexp matching on streams
- GVariant has two new APIs for constructing strings that allow
avoiding copies in some cases: g_variant_new_take_string() and
g_variant_new_printf()
* Testing
- we can now generate TAP output
- new support functions for simplifying the process of dealing with
data files for srcdir != builddir and installed test cases
- g_test_trap_subprocess() provides a portable alternative to
g_test_trap_fork()
* Other
- GLib now builds on Android against the bionic C library
Overview of changes from GLib 2.37.93 to 2.38.0
================================================
* fix the documentation for GSourceFuncs
* fix compilation on OS X/ppc64
Bugs fixed: 708445, 647145
Translations updated:
Danish
French
Portuguese
Punjabi
Overview of changes from GLib 2.37.92 to 2.37.93
================================================
* a couple of bugfixes in the new g_file_measure_disk_usage() API
* updated Traditional Chinese translation
Overview of changes from GLib 2.37.7 to 2.37.92
===============================================
* new API g_file_measure_disk_usage() similar to du(1)
* minor fixes
* Translation updates:
Assamese
Belarusian
Brazilian Portuguese
Catalan
Czech
Galician
German
Hungarian
Indonesian
Italian
Korean
Korean
Latvian
Lithuanian
Polish
Serbian
Slovenian
Spanish
Overview of changes from GLib 2.37.6 to 2.37.7
==============================================
* GDateTime now supports %:z formatting variations
for timezones. This is a GNU date extension.
* Bugs fixed:
685387 Segfault with GObject.signal_handler_is_connected()...
686786 g_socket_get_available_bytes() returns wrong value ...
705027 GSocket GSource not threadsafe on Windows
706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation
706706 Fix Gir annotations on g_loadable_icon_load_finish
706888 gtype: fix a no-op assertion
706958 configure.ac: fix atomic opts detection
707092 "File Utilities" page for GLib documentation doesn'...
707151 gdatetime: Extend the '%z' timezone format
* Translation updates:
Catalan
Hungarian
Japanese
Polish
Slovak
Tamil
Overview of changes from GLib 2.37.5 to 2.37.6
==============================================
* Tests using the g_test facilities can now generate TAP output
* Bugs fixed:
680926 generic type fallback logic is broken for -symbolic
684327 setting null icon to icon list
689245 GSocket unable to reuse (address,port) on Mac OS X
692125 Support TAP as GTest output format
693335 build: fix dtrace-related warnings
696633 gdbus-codegen trips over unicode chars when using python 3.x
696970 Compiling 2.36.0 for win64 fails
697185 GSocket – Allow specifying the multicast interface from...
700268 Add support for using the clang analyzer
701318 Add G_SPAWN_DEFAULT to GSpawnFlags
701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff()
701800 a new approach to reporting critical errors
702674 g_date_time_new_utc crash
704165 GLib.IOChannel read_unichar() fails
705075 Simplify g_get_tmp_dir()
705152 Race in glib/task.test
705398 gtype: Fix typo in g_type_class_add_private() error message
705570 Check ref_count in g_object_notify_by_pspec
705600 Deprecate GSimpleActionGroup functions?
* Updated translations:
Assamese
Brazilian Portuguese
Czech
Dutch
Galician
Gujarati
Hebrew
Italian
Lithuanian
Marathi
Norwegian bokmål
Russian
Slovenian
Spanish
Thai
Traditional Chinese
Overview of changes from GLib 2.37.4 to 2.37.5
==============================================
* Implement the Desktop Action specification: In the case that the
application is a GApplication and DBusActivatable, actions from the
desktop file are translated into GActions that have been added to
the application with g_action_map_add_action().
* GPropertyAction is a new type of GAction that represents the value
of a property on an object, and allows to change the value when
activated.
* GNetworkMonitorNetlink can now handle default routes via a device.
* The gsettings tool now reports failure to write a key (e.g. because
the key was locked down)
* Miscellaneous new api:
- g_variant_new_printf
- g_action_print_detailed_name
- g_regex_get_max_lookbehind
* Bugs fixed:
664444 Support additional application actions in .desktop files
684123 glib build only tries -D_GNU_SOURCE if glibc is detected
689794 support incremental matching
699259 add org.freedesktop.Application support to GIO
700460 rewrite tests to not rely on precise timing of timeouts
701511 updates to various GSource types
701609 gnetworkmonitornetlink: handle default route via device
703270 add GPropertyAction
704157 GAction: add function for printing detailed names
704250 Doc: various fixes
704267 regression gsourceclosure: segfault in gedit file chooser
704322 glib-unix: fix handling of multiple signal source for the...
704424 No error when failing to override a locked key
704447 Fix build/use of g_child_watch_closure_callback on Windows
704523 g_thread_create_full() can dereference NULL pointer
704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ...
704567 gdbusnameowning: Don't spew an error if we're releasing a...
704585 libc printf can give mixed-case strings for NaN and Inf
704587 FTBFS: statfs_result is undeclared for statvfs()
704699 gmain: Reset signal handlers to default when source is
704704 AI_NUMERICSERV cannot be used with ai_socktype = 0
704873 inotify: don't assume mainloop is running
704999 glib/convert.test crashing due to lack of iconv cache
704931 GMenuModel: add annotations to virtual functions
* Translation updates:
Assamese
Czech
German
Gujarati
Spanish
Tamil
Overview of changes from GLib 2.37.3 to 2.37.4
==============================================
* Bugs fixed:
701283 g_source_add_child_source() segfault
702147 inconsistency of G_STRFUNC
703191 new private macros interact poorly with versioning macros
703254 Doc: various fixes
703407 g_spawn_async() keeps child_pid_report_pipe open in child process
703437 GDBusConnection: be more careful with async GetAll
703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h
* Translation updates:
Catalan
Overview of changes from GLib 2.37.2 to 2.37.3
==============================================
* add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE
* fix timestamps in tarball to prevent automake from being required to
build the unmodified source
* add new D-Bus API for async property handling
* add back fsync() on ext4 for g_file_set_contents() after it was
discovered that despite statements in the ext4 documentation
suggesting that this is safe, it is not safe.
* Translations:
Italian
Norwegian bokmål
* Bugs fixed:
698375 - D-Bus async properties
700350 - timestamp issue
701560 - fsync issue (fixed again)
700035 - new API for instance private data
Overview of changes from GLib 2.37.1 to 2.37.2
==============================================
* The GLib test utilities have grown some file-related APIs
to support tests that can be used installed and uninstalled.
* Installing properties after class initialization is deprecated,
and will trigger a warning.
* GApplication:
- Support org.freedesktop.Application, including D-Bus activation
from desktop files
- Set prgname to appid for services
* Bugs fixed:
549783 gtester lacks framework for tests with data files
692848 Fix property example in gobject tutorial
698018 Add an explicit g_binding_release()
698614 GObject: prevent installing properties after init
699259 add org.freedesktop.Application support to GIO
699959 g_file_copy(): Ensure we create private files by default
700123 Test failure: g_inet_socket_address_get_scope_id
700725 GIcon: NULLify the `type' out param in the sync methods too
701401 gtest: add function for testing for WINE
701456 Error in gnome/glib/gio/tests/file.c
701474 Error building glibmm due to extra comma in glib/gtestutils.h
701560 various improvements for g_file_set_contents()
701680 GFileEnumerator: Add some documentation about ordering
701878 Check wakeup() before iteration(TRUE) doesn't block
* Translations:
Assamese
Czech
Galician
Gujarati
Kannada
Marathi
Odia
Polish
Slovenian
Spanish
Telugu
Overview of changes from GLib 2.37.0 to 2.37.1
==============================================
* add support for installed tests:
https://live.gnome.org/GnomeGoals/InstalledTests
* add a new g_test_trap_subprocess() that works on Windows as a
replacement for the (now deprecated) g_test_trap_fork()
* support for explicitly cancelling a gobject property binding
* performance improvements for signal argument handling
* stop using `quotes' in very many log messages generated by GLib, for
favour of 'this style'. This may cause testcases in other packages
to fail if they were matching on the previous text.
* improve manpages: add missing arguments and flags
Translations:
Aragonese
Assamese
Gujarati
Hindi
Kannada
Norwegian bokmål
Odia
Slovenian
Spanish
Tamil
Telugu
Bugs fixed:
679683 replace g_test_trap_fork()
694380 Improve signal argument collection performance
695233 Strings require plural forms
697849 spelling fixes in cross.xml and running.xml
698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port
698981 [PATCH] test /gdbus/connection/large_message could hang forever
699079 Prototype support for installed tests
699485 [PATCH] tests/mappedfile: Also handle ENOMEM
699493 SOCKS5 proxy code crashes if it cannot authenticate
699500 gbitlock: fix this to not unconditionally use futex emulation
699779 [PATCH] G_GNUC_FORMAT: documentation error
700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC
700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core
700746 Use 'dumb quotes' rather than `really dumb quotes'
2013-12-08 14:08:59 +01:00
|
|
|
SHA1 (patch-cd) = 0d574419257a604ca19e18a43aa42ec6e9a36c78
|
2011-10-09 21:40:02 +02:00
|
|
|
SHA1 (patch-ck) = 324116cc6fb8dbce8ce8d20f5b237fc469a55cd2
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (patch-cl) = 871e1ca59f697eddd6692702fc7d63a2df826afc
|
Update glib2 to 2.38.2
Patches removed:
- patch-ce: fixed in 690d6b97 (Bug 697386)
- patch-gio_gcontenttype.c: committed as ab5aa2aa
- patch-gio_glocalfile.c: fixed in 584358 (Bug 698348)
- patch-gio_gthreadedresolver.c: fixed in 8372f22b
- patch-glib_gfileutils.c: fixed in 8372f22b
- patch-glib_gmarkup.c: : fixed in 8372f22b
- patch-glib_gstrfuncs.c: fixed in 8372f22b
Patches changed:
- patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ah: last 2 hunks removed as something similar in 8372f2
- patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ba: hunk 9 removed as committed as d47430 (Bug 697365)
Overview of changes from GLib 2.38.1 to 2.38.2
===============================================
* GCancellableSource will now dispatch for each time a cancellable is
cancelled (ie: in the case that it was reset) but this is still
considered undefined behaviour
* fix g_source_add_child_source() thread safety issues
* add workaround for buggy D-Bus daemons when path-matching on '/'
* fallback to pathname queryinfo to help g_file_copy() work on gvfs
filesystems that don't implement query_info_on_read()
* don't crash if loading a DBusActivatable application from keyfile
* fix crash when replacing a symlink with another using GIO
* add a fallback for '-symbolic' icons to the non-symbolic form
Overview of changes from GLib 2.38.0 to 2.38.1
===============================================
* Fix error code checks when SOCK_CLOEXEC is defined but not supported
(fix support for GNU/Hurd)
* g_settings_list_children: only list viable schemas
(fix gsettings list-recursively crashes with invalid schemas installed)
* GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path
when adding match rules
* Various -Werror=format-nonliteral fixes
* gmessages: fix clang annotations to work with older versions
* gio: don't dist (generated file) gnetworking.h
* Restore gl_GLIBC21 to configure; needed for libcharset
Translations:
Catalan (Valencian)
Norwegian bokmål
Russian
Serbian
What's new in Glib 2.38
========================
* Application support
- GIO now provides an implementation of Desktop Actions from the
desktop entry specification
- GApplication now implements the org.freedesktop.Application
interface as per the desktop entry specification, allowing for
standards-based D-Bus launching of GLib-based applications
- GDesktopAppInfo now supports DBusActivatable as per the desktop
entry specification, allowing GLib-based applications to use D-Bus
to launch other applications
- GApplication now has a "busy" flag that can be set on an application
to allow the shell to show that it is busy
* GObject
- the private offset for a given class type is now always constant.
This was done by reorganising the memory layout of instances so that
the private data comes before the "official" pointer for the object
(ie: at a negative offset). Valgrind macros were added to mitigate
any problems that this may have caused.
- a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a
generated function *_get_instance_private() that can now serve as an
equally-performing alternative to ->priv pointers in instances
(allowing memory savings)
- new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros
provide a convenient method of converting between named variables in
private structures and their (now constant) offsets
- installing properties on a GObjectClass must now be done from
class_init. It is no longer valid to install them after class_init
has returned.
- it is now possible to manually break a GObject property binding
without destroying one of the objects involved
* Icons
- the requirements for implementing the GIcon interface have changed
in order to make it possible to consume all implementations of GIcon
with a finite number of cases
- a new GBytesIcon type was added for an icon represented by an
in-memory binary blob in a known image format (ideally png).
- new APIs g_icon_serialize() and g_icon_deserialize() replace the old
to/from_string APIs and will always work, irrespective of which
types have been initialised in the calling process, allowing for a
serialised GdkPixbuf to be deserialised in a process that doesn't
have GdkPixbuf
- support for icons has been added to GMenuModel using the new APIs
* Actions and menus
- GPropertyAction provides a convenient way of creating a stateful
property corresponding to a property on a GObject, such as the
"visible-child-name" property of a GtkStack
- new API g_menu_remove_all()
- we now have established rules about what is a "valid" action name
and an API to check them
- a new API for converting detailed action names to and from the
split-out name and parameter value (as GVariant)
- for backwards compatibility, invalid action names can still be used
with most functions, but this is not recommended
* Other GIO
- GDBus now supports services that wish to handle some of all
properties on an interface asynchronously, without requiring the
service to reimplement the entire org.freedesktop.DBus.Properties
interface
- GFile now has a new _measure_disk_usage() (and async) API for
recursively determining the amount of disk space used by a
particular directory (akin to 'du').
- asynchronous version of g_file_trash() and g_file_make_directory()
have been added
* Other new API
- GRegex has a new function to query the maximum lookbehind length to
allow for regexp matching on streams
- GVariant has two new APIs for constructing strings that allow
avoiding copies in some cases: g_variant_new_take_string() and
g_variant_new_printf()
* Testing
- we can now generate TAP output
- new support functions for simplifying the process of dealing with
data files for srcdir != builddir and installed test cases
- g_test_trap_subprocess() provides a portable alternative to
g_test_trap_fork()
* Other
- GLib now builds on Android against the bionic C library
Overview of changes from GLib 2.37.93 to 2.38.0
================================================
* fix the documentation for GSourceFuncs
* fix compilation on OS X/ppc64
Bugs fixed: 708445, 647145
Translations updated:
Danish
French
Portuguese
Punjabi
Overview of changes from GLib 2.37.92 to 2.37.93
================================================
* a couple of bugfixes in the new g_file_measure_disk_usage() API
* updated Traditional Chinese translation
Overview of changes from GLib 2.37.7 to 2.37.92
===============================================
* new API g_file_measure_disk_usage() similar to du(1)
* minor fixes
* Translation updates:
Assamese
Belarusian
Brazilian Portuguese
Catalan
Czech
Galician
German
Hungarian
Indonesian
Italian
Korean
Korean
Latvian
Lithuanian
Polish
Serbian
Slovenian
Spanish
Overview of changes from GLib 2.37.6 to 2.37.7
==============================================
* GDateTime now supports %:z formatting variations
for timezones. This is a GNU date extension.
* Bugs fixed:
685387 Segfault with GObject.signal_handler_is_connected()...
686786 g_socket_get_available_bytes() returns wrong value ...
705027 GSocket GSource not threadsafe on Windows
706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation
706706 Fix Gir annotations on g_loadable_icon_load_finish
706888 gtype: fix a no-op assertion
706958 configure.ac: fix atomic opts detection
707092 "File Utilities" page for GLib documentation doesn'...
707151 gdatetime: Extend the '%z' timezone format
* Translation updates:
Catalan
Hungarian
Japanese
Polish
Slovak
Tamil
Overview of changes from GLib 2.37.5 to 2.37.6
==============================================
* Tests using the g_test facilities can now generate TAP output
* Bugs fixed:
680926 generic type fallback logic is broken for -symbolic
684327 setting null icon to icon list
689245 GSocket unable to reuse (address,port) on Mac OS X
692125 Support TAP as GTest output format
693335 build: fix dtrace-related warnings
696633 gdbus-codegen trips over unicode chars when using python 3.x
696970 Compiling 2.36.0 for win64 fails
697185 GSocket – Allow specifying the multicast interface from...
700268 Add support for using the clang analyzer
701318 Add G_SPAWN_DEFAULT to GSpawnFlags
701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff()
701800 a new approach to reporting critical errors
702674 g_date_time_new_utc crash
704165 GLib.IOChannel read_unichar() fails
705075 Simplify g_get_tmp_dir()
705152 Race in glib/task.test
705398 gtype: Fix typo in g_type_class_add_private() error message
705570 Check ref_count in g_object_notify_by_pspec
705600 Deprecate GSimpleActionGroup functions?
* Updated translations:
Assamese
Brazilian Portuguese
Czech
Dutch
Galician
Gujarati
Hebrew
Italian
Lithuanian
Marathi
Norwegian bokmål
Russian
Slovenian
Spanish
Thai
Traditional Chinese
Overview of changes from GLib 2.37.4 to 2.37.5
==============================================
* Implement the Desktop Action specification: In the case that the
application is a GApplication and DBusActivatable, actions from the
desktop file are translated into GActions that have been added to
the application with g_action_map_add_action().
* GPropertyAction is a new type of GAction that represents the value
of a property on an object, and allows to change the value when
activated.
* GNetworkMonitorNetlink can now handle default routes via a device.
* The gsettings tool now reports failure to write a key (e.g. because
the key was locked down)
* Miscellaneous new api:
- g_variant_new_printf
- g_action_print_detailed_name
- g_regex_get_max_lookbehind
* Bugs fixed:
664444 Support additional application actions in .desktop files
684123 glib build only tries -D_GNU_SOURCE if glibc is detected
689794 support incremental matching
699259 add org.freedesktop.Application support to GIO
700460 rewrite tests to not rely on precise timing of timeouts
701511 updates to various GSource types
701609 gnetworkmonitornetlink: handle default route via device
703270 add GPropertyAction
704157 GAction: add function for printing detailed names
704250 Doc: various fixes
704267 regression gsourceclosure: segfault in gedit file chooser
704322 glib-unix: fix handling of multiple signal source for the...
704424 No error when failing to override a locked key
704447 Fix build/use of g_child_watch_closure_callback on Windows
704523 g_thread_create_full() can dereference NULL pointer
704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ...
704567 gdbusnameowning: Don't spew an error if we're releasing a...
704585 libc printf can give mixed-case strings for NaN and Inf
704587 FTBFS: statfs_result is undeclared for statvfs()
704699 gmain: Reset signal handlers to default when source is
704704 AI_NUMERICSERV cannot be used with ai_socktype = 0
704873 inotify: don't assume mainloop is running
704999 glib/convert.test crashing due to lack of iconv cache
704931 GMenuModel: add annotations to virtual functions
* Translation updates:
Assamese
Czech
German
Gujarati
Spanish
Tamil
Overview of changes from GLib 2.37.3 to 2.37.4
==============================================
* Bugs fixed:
701283 g_source_add_child_source() segfault
702147 inconsistency of G_STRFUNC
703191 new private macros interact poorly with versioning macros
703254 Doc: various fixes
703407 g_spawn_async() keeps child_pid_report_pipe open in child process
703437 GDBusConnection: be more careful with async GetAll
703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h
* Translation updates:
Catalan
Overview of changes from GLib 2.37.2 to 2.37.3
==============================================
* add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE
* fix timestamps in tarball to prevent automake from being required to
build the unmodified source
* add new D-Bus API for async property handling
* add back fsync() on ext4 for g_file_set_contents() after it was
discovered that despite statements in the ext4 documentation
suggesting that this is safe, it is not safe.
* Translations:
Italian
Norwegian bokmål
* Bugs fixed:
698375 - D-Bus async properties
700350 - timestamp issue
701560 - fsync issue (fixed again)
700035 - new API for instance private data
Overview of changes from GLib 2.37.1 to 2.37.2
==============================================
* The GLib test utilities have grown some file-related APIs
to support tests that can be used installed and uninstalled.
* Installing properties after class initialization is deprecated,
and will trigger a warning.
* GApplication:
- Support org.freedesktop.Application, including D-Bus activation
from desktop files
- Set prgname to appid for services
* Bugs fixed:
549783 gtester lacks framework for tests with data files
692848 Fix property example in gobject tutorial
698018 Add an explicit g_binding_release()
698614 GObject: prevent installing properties after init
699259 add org.freedesktop.Application support to GIO
699959 g_file_copy(): Ensure we create private files by default
700123 Test failure: g_inet_socket_address_get_scope_id
700725 GIcon: NULLify the `type' out param in the sync methods too
701401 gtest: add function for testing for WINE
701456 Error in gnome/glib/gio/tests/file.c
701474 Error building glibmm due to extra comma in glib/gtestutils.h
701560 various improvements for g_file_set_contents()
701680 GFileEnumerator: Add some documentation about ordering
701878 Check wakeup() before iteration(TRUE) doesn't block
* Translations:
Assamese
Czech
Galician
Gujarati
Kannada
Marathi
Odia
Polish
Slovenian
Spanish
Telugu
Overview of changes from GLib 2.37.0 to 2.37.1
==============================================
* add support for installed tests:
https://live.gnome.org/GnomeGoals/InstalledTests
* add a new g_test_trap_subprocess() that works on Windows as a
replacement for the (now deprecated) g_test_trap_fork()
* support for explicitly cancelling a gobject property binding
* performance improvements for signal argument handling
* stop using `quotes' in very many log messages generated by GLib, for
favour of 'this style'. This may cause testcases in other packages
to fail if they were matching on the previous text.
* improve manpages: add missing arguments and flags
Translations:
Aragonese
Assamese
Gujarati
Hindi
Kannada
Norwegian bokmål
Odia
Slovenian
Spanish
Tamil
Telugu
Bugs fixed:
679683 replace g_test_trap_fork()
694380 Improve signal argument collection performance
695233 Strings require plural forms
697849 spelling fixes in cross.xml and running.xml
698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port
698981 [PATCH] test /gdbus/connection/large_message could hang forever
699079 Prototype support for installed tests
699485 [PATCH] tests/mappedfile: Also handle ENOMEM
699493 SOCKS5 proxy code crashes if it cannot authenticate
699500 gbitlock: fix this to not unconditionally use futex emulation
699779 [PATCH] G_GNUC_FORMAT: documentation error
700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC
700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core
700746 Use 'dumb quotes' rather than `really dumb quotes'
2013-12-08 14:08:59 +01:00
|
|
|
SHA1 (patch-cm) = 534af37ae8f2bd667f630142058d4de5ea91be93
|
|
|
|
SHA1 (patch-cn) = 0cb2fa14b2d3f0ff66f5d5f32e79a36c71a99b78
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (patch-gio_gcredentials.c) = 67aade3aafa64827c4075c9cc487dc20ebbd1cab
|
|
|
|
SHA1 (patch-gio_gcredentialsprivate.h) = d2e47198728b328b18131e9806815153a95a89b1
|
Update glib2 to 2.38.2
Patches removed:
- patch-ce: fixed in 690d6b97 (Bug 697386)
- patch-gio_gcontenttype.c: committed as ab5aa2aa
- patch-gio_glocalfile.c: fixed in 584358 (Bug 698348)
- patch-gio_gthreadedresolver.c: fixed in 8372f22b
- patch-glib_gfileutils.c: fixed in 8372f22b
- patch-glib_gmarkup.c: : fixed in 8372f22b
- patch-glib_gstrfuncs.c: fixed in 8372f22b
Patches changed:
- patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ah: last 2 hunks removed as something similar in 8372f2
- patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958)
- patch-ba: hunk 9 removed as committed as d47430 (Bug 697365)
Overview of changes from GLib 2.38.1 to 2.38.2
===============================================
* GCancellableSource will now dispatch for each time a cancellable is
cancelled (ie: in the case that it was reset) but this is still
considered undefined behaviour
* fix g_source_add_child_source() thread safety issues
* add workaround for buggy D-Bus daemons when path-matching on '/'
* fallback to pathname queryinfo to help g_file_copy() work on gvfs
filesystems that don't implement query_info_on_read()
* don't crash if loading a DBusActivatable application from keyfile
* fix crash when replacing a symlink with another using GIO
* add a fallback for '-symbolic' icons to the non-symbolic form
Overview of changes from GLib 2.38.0 to 2.38.1
===============================================
* Fix error code checks when SOCK_CLOEXEC is defined but not supported
(fix support for GNU/Hurd)
* g_settings_list_children: only list viable schemas
(fix gsettings list-recursively crashes with invalid schemas installed)
* GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path
when adding match rules
* Various -Werror=format-nonliteral fixes
* gmessages: fix clang annotations to work with older versions
* gio: don't dist (generated file) gnetworking.h
* Restore gl_GLIBC21 to configure; needed for libcharset
Translations:
Catalan (Valencian)
Norwegian bokmål
Russian
Serbian
What's new in Glib 2.38
========================
* Application support
- GIO now provides an implementation of Desktop Actions from the
desktop entry specification
- GApplication now implements the org.freedesktop.Application
interface as per the desktop entry specification, allowing for
standards-based D-Bus launching of GLib-based applications
- GDesktopAppInfo now supports DBusActivatable as per the desktop
entry specification, allowing GLib-based applications to use D-Bus
to launch other applications
- GApplication now has a "busy" flag that can be set on an application
to allow the shell to show that it is busy
* GObject
- the private offset for a given class type is now always constant.
This was done by reorganising the memory layout of instances so that
the private data comes before the "official" pointer for the object
(ie: at a negative offset). Valgrind macros were added to mitigate
any problems that this may have caused.
- a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a
generated function *_get_instance_private() that can now serve as an
equally-performing alternative to ->priv pointers in instances
(allowing memory savings)
- new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros
provide a convenient method of converting between named variables in
private structures and their (now constant) offsets
- installing properties on a GObjectClass must now be done from
class_init. It is no longer valid to install them after class_init
has returned.
- it is now possible to manually break a GObject property binding
without destroying one of the objects involved
* Icons
- the requirements for implementing the GIcon interface have changed
in order to make it possible to consume all implementations of GIcon
with a finite number of cases
- a new GBytesIcon type was added for an icon represented by an
in-memory binary blob in a known image format (ideally png).
- new APIs g_icon_serialize() and g_icon_deserialize() replace the old
to/from_string APIs and will always work, irrespective of which
types have been initialised in the calling process, allowing for a
serialised GdkPixbuf to be deserialised in a process that doesn't
have GdkPixbuf
- support for icons has been added to GMenuModel using the new APIs
* Actions and menus
- GPropertyAction provides a convenient way of creating a stateful
property corresponding to a property on a GObject, such as the
"visible-child-name" property of a GtkStack
- new API g_menu_remove_all()
- we now have established rules about what is a "valid" action name
and an API to check them
- a new API for converting detailed action names to and from the
split-out name and parameter value (as GVariant)
- for backwards compatibility, invalid action names can still be used
with most functions, but this is not recommended
* Other GIO
- GDBus now supports services that wish to handle some of all
properties on an interface asynchronously, without requiring the
service to reimplement the entire org.freedesktop.DBus.Properties
interface
- GFile now has a new _measure_disk_usage() (and async) API for
recursively determining the amount of disk space used by a
particular directory (akin to 'du').
- asynchronous version of g_file_trash() and g_file_make_directory()
have been added
* Other new API
- GRegex has a new function to query the maximum lookbehind length to
allow for regexp matching on streams
- GVariant has two new APIs for constructing strings that allow
avoiding copies in some cases: g_variant_new_take_string() and
g_variant_new_printf()
* Testing
- we can now generate TAP output
- new support functions for simplifying the process of dealing with
data files for srcdir != builddir and installed test cases
- g_test_trap_subprocess() provides a portable alternative to
g_test_trap_fork()
* Other
- GLib now builds on Android against the bionic C library
Overview of changes from GLib 2.37.93 to 2.38.0
================================================
* fix the documentation for GSourceFuncs
* fix compilation on OS X/ppc64
Bugs fixed: 708445, 647145
Translations updated:
Danish
French
Portuguese
Punjabi
Overview of changes from GLib 2.37.92 to 2.37.93
================================================
* a couple of bugfixes in the new g_file_measure_disk_usage() API
* updated Traditional Chinese translation
Overview of changes from GLib 2.37.7 to 2.37.92
===============================================
* new API g_file_measure_disk_usage() similar to du(1)
* minor fixes
* Translation updates:
Assamese
Belarusian
Brazilian Portuguese
Catalan
Czech
Galician
German
Hungarian
Indonesian
Italian
Korean
Korean
Latvian
Lithuanian
Polish
Serbian
Slovenian
Spanish
Overview of changes from GLib 2.37.6 to 2.37.7
==============================================
* GDateTime now supports %:z formatting variations
for timezones. This is a GNU date extension.
* Bugs fixed:
685387 Segfault with GObject.signal_handler_is_connected()...
686786 g_socket_get_available_bytes() returns wrong value ...
705027 GSocket GSource not threadsafe on Windows
706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation
706706 Fix Gir annotations on g_loadable_icon_load_finish
706888 gtype: fix a no-op assertion
706958 configure.ac: fix atomic opts detection
707092 "File Utilities" page for GLib documentation doesn'...
707151 gdatetime: Extend the '%z' timezone format
* Translation updates:
Catalan
Hungarian
Japanese
Polish
Slovak
Tamil
Overview of changes from GLib 2.37.5 to 2.37.6
==============================================
* Tests using the g_test facilities can now generate TAP output
* Bugs fixed:
680926 generic type fallback logic is broken for -symbolic
684327 setting null icon to icon list
689245 GSocket unable to reuse (address,port) on Mac OS X
692125 Support TAP as GTest output format
693335 build: fix dtrace-related warnings
696633 gdbus-codegen trips over unicode chars when using python 3.x
696970 Compiling 2.36.0 for win64 fails
697185 GSocket – Allow specifying the multicast interface from...
700268 Add support for using the clang analyzer
701318 Add G_SPAWN_DEFAULT to GSpawnFlags
701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff()
701800 a new approach to reporting critical errors
702674 g_date_time_new_utc crash
704165 GLib.IOChannel read_unichar() fails
705075 Simplify g_get_tmp_dir()
705152 Race in glib/task.test
705398 gtype: Fix typo in g_type_class_add_private() error message
705570 Check ref_count in g_object_notify_by_pspec
705600 Deprecate GSimpleActionGroup functions?
* Updated translations:
Assamese
Brazilian Portuguese
Czech
Dutch
Galician
Gujarati
Hebrew
Italian
Lithuanian
Marathi
Norwegian bokmål
Russian
Slovenian
Spanish
Thai
Traditional Chinese
Overview of changes from GLib 2.37.4 to 2.37.5
==============================================
* Implement the Desktop Action specification: In the case that the
application is a GApplication and DBusActivatable, actions from the
desktop file are translated into GActions that have been added to
the application with g_action_map_add_action().
* GPropertyAction is a new type of GAction that represents the value
of a property on an object, and allows to change the value when
activated.
* GNetworkMonitorNetlink can now handle default routes via a device.
* The gsettings tool now reports failure to write a key (e.g. because
the key was locked down)
* Miscellaneous new api:
- g_variant_new_printf
- g_action_print_detailed_name
- g_regex_get_max_lookbehind
* Bugs fixed:
664444 Support additional application actions in .desktop files
684123 glib build only tries -D_GNU_SOURCE if glibc is detected
689794 support incremental matching
699259 add org.freedesktop.Application support to GIO
700460 rewrite tests to not rely on precise timing of timeouts
701511 updates to various GSource types
701609 gnetworkmonitornetlink: handle default route via device
703270 add GPropertyAction
704157 GAction: add function for printing detailed names
704250 Doc: various fixes
704267 regression gsourceclosure: segfault in gedit file chooser
704322 glib-unix: fix handling of multiple signal source for the...
704424 No error when failing to override a locked key
704447 Fix build/use of g_child_watch_closure_callback on Windows
704523 g_thread_create_full() can dereference NULL pointer
704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ...
704567 gdbusnameowning: Don't spew an error if we're releasing a...
704585 libc printf can give mixed-case strings for NaN and Inf
704587 FTBFS: statfs_result is undeclared for statvfs()
704699 gmain: Reset signal handlers to default when source is
704704 AI_NUMERICSERV cannot be used with ai_socktype = 0
704873 inotify: don't assume mainloop is running
704999 glib/convert.test crashing due to lack of iconv cache
704931 GMenuModel: add annotations to virtual functions
* Translation updates:
Assamese
Czech
German
Gujarati
Spanish
Tamil
Overview of changes from GLib 2.37.3 to 2.37.4
==============================================
* Bugs fixed:
701283 g_source_add_child_source() segfault
702147 inconsistency of G_STRFUNC
703191 new private macros interact poorly with versioning macros
703254 Doc: various fixes
703407 g_spawn_async() keeps child_pid_report_pipe open in child process
703437 GDBusConnection: be more careful with async GetAll
703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h
* Translation updates:
Catalan
Overview of changes from GLib 2.37.2 to 2.37.3
==============================================
* add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE
* fix timestamps in tarball to prevent automake from being required to
build the unmodified source
* add new D-Bus API for async property handling
* add back fsync() on ext4 for g_file_set_contents() after it was
discovered that despite statements in the ext4 documentation
suggesting that this is safe, it is not safe.
* Translations:
Italian
Norwegian bokmål
* Bugs fixed:
698375 - D-Bus async properties
700350 - timestamp issue
701560 - fsync issue (fixed again)
700035 - new API for instance private data
Overview of changes from GLib 2.37.1 to 2.37.2
==============================================
* The GLib test utilities have grown some file-related APIs
to support tests that can be used installed and uninstalled.
* Installing properties after class initialization is deprecated,
and will trigger a warning.
* GApplication:
- Support org.freedesktop.Application, including D-Bus activation
from desktop files
- Set prgname to appid for services
* Bugs fixed:
549783 gtester lacks framework for tests with data files
692848 Fix property example in gobject tutorial
698018 Add an explicit g_binding_release()
698614 GObject: prevent installing properties after init
699259 add org.freedesktop.Application support to GIO
699959 g_file_copy(): Ensure we create private files by default
700123 Test failure: g_inet_socket_address_get_scope_id
700725 GIcon: NULLify the `type' out param in the sync methods too
701401 gtest: add function for testing for WINE
701456 Error in gnome/glib/gio/tests/file.c
701474 Error building glibmm due to extra comma in glib/gtestutils.h
701560 various improvements for g_file_set_contents()
701680 GFileEnumerator: Add some documentation about ordering
701878 Check wakeup() before iteration(TRUE) doesn't block
* Translations:
Assamese
Czech
Galician
Gujarati
Kannada
Marathi
Odia
Polish
Slovenian
Spanish
Telugu
Overview of changes from GLib 2.37.0 to 2.37.1
==============================================
* add support for installed tests:
https://live.gnome.org/GnomeGoals/InstalledTests
* add a new g_test_trap_subprocess() that works on Windows as a
replacement for the (now deprecated) g_test_trap_fork()
* support for explicitly cancelling a gobject property binding
* performance improvements for signal argument handling
* stop using `quotes' in very many log messages generated by GLib, for
favour of 'this style'. This may cause testcases in other packages
to fail if they were matching on the previous text.
* improve manpages: add missing arguments and flags
Translations:
Aragonese
Assamese
Gujarati
Hindi
Kannada
Norwegian bokmål
Odia
Slovenian
Spanish
Tamil
Telugu
Bugs fixed:
679683 replace g_test_trap_fork()
694380 Improve signal argument collection performance
695233 Strings require plural forms
697849 spelling fixes in cross.xml and running.xml
698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port
698981 [PATCH] test /gdbus/connection/large_message could hang forever
699079 Prototype support for installed tests
699485 [PATCH] tests/mappedfile: Also handle ENOMEM
699493 SOCKS5 proxy code crashes if it cannot authenticate
699500 gbitlock: fix this to not unconditionally use futex emulation
699779 [PATCH] G_GNUC_FORMAT: documentation error
700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC
700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core
700746 Use 'dumb quotes' rather than `really dumb quotes'
2013-12-08 14:08:59 +01:00
|
|
|
SHA1 (patch-gio_gdbusauthmechanismsha1.c) = dfbd4a85ea842f11e4bb76d39c5509fb8b0d5baa
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (patch-gio_gioenums.h) = 4c3c8b11af2da6202b0b81e2430e2eaaaa5d2d54
|
2012-07-12 16:43:25 +02:00
|
|
|
SHA1 (patch-gio_gresource-tool.c) = 4eb7c9df25e9ac3e977edf3be8fb977a6fb39182
|
Update glib2 to 2.40.0
Patches removed:
- patch-ai
Fixed in e3fa9c9a (Bug 583321)
- patch-cj
Fixed in c58a7b8c (Bugs 641350 711047)
- patch-gio_gdbusmessage.c
Fixed in 0167c334
- patch-gio_gfile.c
Fixed in 091e4660 (Bug 721034)
- patch-gio_glocalfile.c
Fixed in 7eb1e5fc (Bug 708860)
- patch-ap and
- patch-aq
Credentials have changed, see below
Patches changed:
- patch-aa
Second chunk fixed in 838b49ea (Bug 711600)
- patch-ba
Third chunk fixed in 7cf221aa
Reworked Bug 583330
Patches added:
- patch-glib_gmessages.c
Closes PR pkg/48318, fixed in 7328089e (Bug 720708)
- patch-gio_gcredentials.c
- patch-gio_gcredentialsprivate.h
- patch-gio_gioenums.h
- patch-gio_gsocket.c
- patch-gio_gunixcredentialsmessage.c
- patch-gio_tests_credentials.c
Attempt at gcredential support for NetBSD (Bug 728256)
Highlights from changes:
* Disable IPv6 testcases on machines without IPv6
* Document that it is a bad idea to match on generic error codes
* This release introduces a hard dependency on present and functioning
clock_gettime() and CLOCK_MONOTONIC. It also introduces a
dependency on pthread_condattr_setclock() unless your system
happens to have pthread_cond_timedwait_relative_np() (as do Mac
OS and Android). This release is known to be broken with at
least GNU/Hurd, pending addition of working
pthread_condattr_setclock(CLOCK_MONOTONIC) there.
* New API: g_str_to_ascii()
* fix a crasher in code from gdbus-codegen
* improvements to gobject gdb helper script
* Portability:
- fix a deadlock issue with kqueue on FreeBSD
- work around a quirk in the sunstudio compiler
- rename a variable to avoid clashing with a macro definition of
'environ' on some platforms (like mingw)
- use POSIX-specified <poll.h> over <sys/poll.h>
- many improvements to Visual Studio projects and and some build
fixes for Windows
* tests
- a very large number of improvements in test coverage
- don't report skipped tests as failures
- return 77 if we skip all tests in an executable
- improve gtest documentation and fix some minor issues
- fix g_test_trap_reached_timeout() return value
- remove some dead code uncovered during test coverage expansion
- Use tap mode for installed tests too, when using tap
* fix races in unix signal handling
* make our GVariant-based commandline tools (glib-compile-schemas,
gdbus, gapplication) print out GVariant parse errors in context
* GApplication now has a --gapplication-service command line switch to
turn any GApplication into a service
* improve compatibility of GApplication and GOptionContext
* fix gsettings.m4 wrt. builddir != srcdir with non-recursive make
* use a directory monitor in GKeyfileSettingsBackend
* improve robustness of some GIcon classes
* Portability
- Remove alleged support for OS/2
- Remove alleged support for BeOS
- Remove alleged support for last-millennium Unixes
- Require C90 compliance
- Require POSIX.1 (1990) compliance on Unix
- Require GNU make
* GSettings fixes/improvements
- GSettingsSchema API is now more powerful and consistent
- new GSettingsSchemaKey API allows accessing metadata for keys:
type, default value, range and the long-awaited support for summary
and description
- GSettingsSchemaSource gains support for listing schemas within a
source. Deprecate the global API that did this for the default
source.
- 'gsettings list-schemas' now works properly with --schemadir
- deprecate a bunch of now-redundant functionality on GSettings
- add API to GSettings for getting the default value of a key (as set
by the sysadmin)
- add API to GSettings for determining if the user has assigned a
particular value to a key (ie: we are not just reading the default)
- ignore qualified tags and attributes appearing in schema files
* Applications/Actions
- make GSimpleAction a bit more strict with respect to state changes
that would violate the interface (ie: by changing the state type
after construction)
- throw an error when attempting to 'Describe' a non-existent action
via D-Bus instead of returning a bogus description
- throw an error when attempting to invoke unsupported methods on an
Application (eg: 'Open' on an app that doesn't HANDLES_OPEN)
instead of emitting a g_critical() in context of the app (which is
not itself at fault for the errant call)
* Appinfo
- substantially rework GDesktopAppInfo to reduce the amount of disk
accesses that are performed in common situations
- add a new class: GAppInfoMonitor for discovering when applications
are installed/removed
- add a new g_desktop_app_info_search() API for searching for
installed applications by name, keywords, etc.
* GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over
"qualified" tags and attributes (those with a colon in the name, such
as 'my:tag')
* GDBus
- ignore qualified tags, as above
- GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure
that test programs don't pick them up
- add new session_bus_run() convenience in the tests and use it
* GRand: use real random data as a seed on win32 and use the
timestamp/pid/uid fallback only on UNIX machines where we can't open
'/dev/urandom'. This may cause issues with older mingw32 releases
due to a missing prototype for the rand_s() API.
* Many win32 (and particularly MSVC) portability fixes. Many
additional tests are now runnable when building with MSVC.
* Due to early testing of the (soon to land) GCleanup framework, a very
large number of memory errors have been found and fixed (mostly in
the testcases, but some in glib itself).
* GIO:
- some more seeking cleanups: particularly on GLocalFileInputStream
- don't leave a .trashinfo file around if trashing a file fails
- Add a request_certificate virtual method to GTlsInteraction
* GNotification
- new API for sending persistent notifications via the desktop shell
- notifications persist when the application has quit and clicking on
them can restart the application with an action (via
DBusActivatable)
* GSubprocess
- new API for launching subprocesses
- nice GIO integration like async functions, cancellability, etc.
- a convenient communicate() API inspired by the same API in Python
- related: the gspawn API now has a CLOEXEC flag for the created
pipes for stdin/stdout/stderr
* New gapplication(1) commandline tool
- intended to be used with DBusActivatable apps
- can be used for launching apps, opening files, invoking application
actions and listing apps and actions
- bash tab completion is supported
* GDesktopAppInfo changes:
- g_file_get_path() can implicitly cause a FUSE mount so don't call
it until we know we need it (for an app that doesn't support URIs)
- don't crash when trying to load from a keyfile with
DBusActivatable=true
- remove some dead code, refactor the search path handling a bit and
do a large-scale whitespace cleanup (prep work for the pending
desktop file index)
* File monitors
- fix broken handling of mount point monitoring
- remove some strange use of GObject::constructor() from the base
class and inotify backend
- fix GFileMonitor to work in the non-default main context even when
the main context is not running (or is blocked)
- add internal private API for easily creating a file monitor in the
GLib worker thread
* GSettings
- g_settings_list_children: only list viable schemas. This fixes a
longstanding issue where 'gsettings list-recursively' will crash
when there are invalid schemas installed
- don't accept invalid paths on g_settings_new_with_path, etc.
* GIO
- GFile now has a thumbnail::is-valid attribute to check if the
thumbnail in thumbnail::path needs to be regenerated
- GDBusProxy now has a flag to control autostarting of services at
construction time
- for GSeekable, properly introduce the concept of "resizable" vs.
"fixed-sized" streams in the docs, explaining the expected
semantics of the interface in each case
- fix some cases in GMemoryOutputStream that were violating the above
expectations (which may cause a slight API incompatibility)
- clean up GCredentials code and add support for Hurd and Solaris
- improve splicing by using different codepaths for the case where we
have real _read_async() and _write_async() implementations on the
stream vs. the case where they are internally emulated (via
dispatching the sync variant of the call in a thread)
* GKeyFile
- fix a leak in g_key_file_get_(u)int64 when we fail to parse the
value as an integer
- add long-requested API g_key_file_save_to_file()
* Portability improvements
- avoid using O_DIRECTORY on platforms that don't have it
- be careful about systems that define SOCK_CLOEXEC but don't
actually support it (like Hurd)
- only use SA_RESTART if it exists
* Other small API changes/additions
- a pair of functions to support matching strings for the type of
search functionality that you'd expect to have with things like
GtkSearchBar. This will also be used by the desktop file index.
- g_str_is_ascii() with obvious purpose
- g_test_expect_message() no longer appears to allow you to catch
G_LOG_ERROR messages
* GMainContext/GSource
- fix handling of overflowing the 'next source id' counter
- g_source_remove() will now throw a critical in the case that you
try to remove a non-existent source. We expect that there is some
code in the wild that will fall afoul of this new critical but
considering that we now reuse source IDs, this code is already
broken and should probably be fixed.
- simplify handling of the 'current dispatching source' to not
require use of a linked list
* GObject
- the long-broken (and leaky) pattern of destroying a just-allocated
object from inside of a custom GObject::constructor is now
officially completely illegal and will abort the program
* Unicode: update to 6.3.0
* Many bug fixes
* Many translation updates
For full details see:
https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
2014-09-05 22:49:55 +02:00
|
|
|
SHA1 (patch-gio_gsocket.c) = 64479463d8dd48f707adaef29af0e48f4143c266
|
|
|
|
SHA1 (patch-gio_gunixcredentialsmessage.c) = ad4d56ac750e1822324c58c5e34e8f46ea1b58ac
|
|
|
|
SHA1 (patch-gio_tests_credentials.c) = b26089f372d4fe3903e536867caacf52b1aa45d5
|
|
|
|
SHA1 (patch-glib_gmessages.c) = 623ee56d9a11e4d97981ee3011f8717c5a2a9403
|
|
|
|
SHA1 (patch-glib_gtimezone.c) = d9686da52f171a073d80cfd9f80aa490088a00a3
|