GLib Changelog

What's new in GLib 2.28.1

Jun 11, 2013
  • Update NEWS for 2.28.1
  • Silence a few unused variable warnings
  • Fixed bugster 7007407. Do not clear stat info until a node is really deleted.
  • Better documentation for g_value_dup_object().
  • State that NULL is returned when value is NULL.
  • Don't report standard interfaces more than once. If they have a custom implementation, don't add the canned introspection XML, just rely on the generated XML.
  • Fix memory leaks in the gdbus introspection parser
  • Add schema name in error message
  • Fix the tm.tm_gmtoff check
  • Docs: Mention gettext setup requirements in i18n section
  • doc: Fix typo in previous commit
  • docs: Fix return value for g_datetime_compare()
  • gdesktopappinfo: Handle g_get_prgname() being NULL
  • Bug 642052 - g_timeout_add(_seconds) overflow
  • Bug 642052: add currently-broken test case
  • GVariant: doc the format of g_variant_parse/print
  • GObject: correct documentation typos
  • GVariant: support NULL for empty arrays in varargs
  • Updated Bengali India Translation
  • GSettings: Minor typo in previous commit
  • GSettings: add paragraph with performance notes
  • Updated Polish translation

New in GLib 2.25.9 (Jan 13, 2011)

  • WARNING: There have been API changes in GDBus, GSettings and GApplication. Users of these APIs will need to be adapted. In particular, a new release of GTK+ is required to go along with this one.
  • GDBus:
  • Use Gio's default async implementation
  • Fix proxy construction for objects with no properties
  • Fix error handling in synchronous initialization
  • Do not dispatch calls to unregistered objects
  • Add _with_closures alternative functions
  • Allow constructing GDBusProxy with well-known names
  • Remove GType parameters from GDBusProxy constructors
  • Nuke g_bus_watch_proxy API
  • Add --xml to gdbus-tool to print raw introspected XML
  • GSettings:
  • schema file format change: store (default, options) in gvdb
  • Add g_settings_sync()
  • Add support for enums and ranges
  • 'context' support has been replaced by direct use of GSettingsBackend
  • GApplication:
  • Switch to using variants for timestamps
  • Use GInitable
  • GObject:
  • Introduce g_object_notify_by_pspec
  • Add GBinding
  • The GVariant gtype G_TYPE_VARIANT was changed from boxed to fundamental. We believe there were no existing users of the boxed type, so this should not cause any applications to break.
  • Test framework:
  • Add package and version to the test report XML
  • Use optparse to parse gtester-report commandline
  • Add subunit support to gtester-report
  • Prevent division by zero if no tests
  • Bugs fixed:
  • 621782 Crash using gbinding
  • 619945 GConverterOutputStream triggers assertion and corrupts data
  • 621319 more leaked GVariants in GSettings
  • 621168 GKeyFile memory leak on Windows platform
  • 621002 Switch to using variants for timestamps, split out signals
  • 620953 tiny docs addition
  • 618904 Lies in gunixmounts documentation
  • 621702 Correctly initialize GError
  • 611778 minor cleanup of gtester-report
  • 621213 GDBusProxy and well-known names
  • 621034 Rewrite apps test to ensure children are killed
  • 620954 gapplication gvariant simplifications
  • 611869 add subunit out feature to gtester-report
  • 621119 GDBusProxy and objects with no properties
  • 620990 Use Gio's default async implementation again
  • 620952 g_application_register_with_data is an ugly API
  • 621252 GSettings leaks context
  • 618715 fork() in GSettings test cases is problematic 618715
  • 621905 Assume a ref when doing async work
  • 621266 GSettings "context" clarification
  • Translation updates:
  • Chinese

New in GLib 2.25.8 (Jan 13, 2011)

  • Initial support for dtrace and systemtap profiling:
  • mainloop sources can be named
  • probes for memory allocation with g_malloc and gslice
  • gquark name tracking
  • type creation
  • object life-cyle (creation, finalization, ref, unref)
  • signal creation and emission
  • GVariant:
  • has been fixed to work with the FreeBSD malloc
  • added introspection annotations
  • new function: g_variant_builder_add_parsed
  • GSettings:
  • g_settings_set/get_strv functions have lost their length parameter
  • g_settings_set_strv accepts NULL
  • added introspection annotiations
  • GPermission: an abstract interface for representing permissions, with a minimal implementation named GSimplePermission
  • GApplication: a basic application support class, with a D-Bus based implementation
  • Bugs fixed:
  • 619585 glib-compile-schemas asserts on FreeBSD
  • 620384 Annotate GVariant and GSettings _strv() functions
  • 606044 Add support for dtrace/systemtap static markers
  • 620350 add g_variant_builder_add_parsed() API
  • 620349 utf8ify GVariant printer
  • 620767 Typo in GSettings documentation: "INTLTOOL_NOMERGE_RULE"
  • 620312 Fix g_settings_[gs]et_strv() API
  • 620519 GPermission
  • 620582 GPermission needs a simple implementation
  • 620496 GSettings schema compiler should reject invalid paths
  • 620173 missing single header inclusion guards
  • 620265 g_assertion_message_error should take const GError
  • Translation updates:
  • Esperanto
  • Galician
  • Hebrew
  • Indonesian
  • Norwegian
  • Slovenian
  • Spanish

New in GLib 2.25.7 (Jan 13, 2011)

  • NOTE: API/ABI breaks since 2.25.6 release:
  • - g_dbus_connection_sync{,_sync} takes a new 'reply_type' argument
  • - GSettingsBackendClass 'list' virtual function changed
  • GSettings backends and things using GDBus may need to be rebuilt.
  • GDBus: many build-related fixes
  • GDBus (service): return a DBus error when receiving a method call for an unknown interface.
  • GSettings: fix 'make install' bug in gsettings.m4 for generated schema files
  • GSettings: avoid non-portable use of LC_MESSAGES
  • better approach to handling man pages
  • Bugs fixed:
  • 619527 please improve docs on g_file_make_symlink
  • 619391 send-with-reply should have expected result signature
  • 618616 Use stack-allocated GVariantBuilders
  • 617004 Build with "--disable-nls" fails under MinGW/Win32
  • 619142 Build fixes (GDBus)
  • Updated translations:
  • Estonian
  • Galician
  • Norwegian bokmÃ¥l

New in GLib 2.25.6 (Jan 13, 2011)

  • GDBus: introspection improvements
  • GDBus: build fixes
  • GSettings: GSettingsBackend ABI changed
  • GSettings: --uninstall option for schema compiler
  • GSettings: new m4 macro with more power
  • GSettings: thread support
  • rework of file notification on Solaris
  • fixes for gold linker
  • Bugs fixed:
  • 619038 increase gsettings.m4 power
  • 619031 method-calls-in-thread test failing
  • 618839 Typo at translation message
  • 616864 GSETTINGS_CHECK_RULE doesn't work with multiple files
  • 618730 gunixcredentialsmessage.c doesn't compile on GNU/kfreebsd
  • 616314 Make GSettings (partially) threadsafe
  • Updated Translations:
  • Indonesian
  • Galician
  • Spanish

New in GLib 2.25.5 (Jan 13, 2011)

  • GDBus: Fix serialization of empty arrays
  • GDBus: Plug various memory leaks
  • GSettings: Fix problems with GSETTINGS_CHECK_RULE
  • Bugs fixed:
  • 616731 GSETTINGS_CHECK_RULE doesn't work in non-srcdir builds
  • 616864 GSETTINGS_CHECK_RULE doesn't work with multiple files
  • 618615 mem leaks in parse_value_from_blob
  • 618622 Plug some mem leaks in gdbus
  • 618650 Plug a mem leak in gdbusauth
  • 618663 Plug mem leaks in gdbus tests & examples
  • Updated translations:
  • Spanish

New in GLib 2.25.4 (Jan 13, 2011)

  • GDBus D-Bus support has been merged. This provides an API to replace dbus-glib
  • GVariant no requires strings to be UTF-8. You can use byte arrays for non-UTF-8 strings.
  • GSettings allows to bind string properties to byte arrays
  • The schema compiler supports range restrictions
  • Bugs fixed:
  • 618051 socket-server|client.c fail to compile under AIX...
  • 616102 GSettings ignores and
  • 616720 Chunked quark allocation
  • 616877 Several issues with g_socket_receive_message
  • 616892 gio: Add a boxed type for GFileAttributeMatcher
  • 616967 Add g_regex_get_compile_flags() and g_regex_get_match_flags()
  • 617767 g_settings_[gs]et_strv() 'length' argument has missing docs...
  • 617914 gtester-report: cope with binaries with no test cases
  • 617937 output_stream_close vs output_stream_close_async semantics
  • 615494 Connction timeouts produce partially invalid error messages
  • 617823 glib-compile-schemas problems with an out of source build
  • 617947 glib-mkenums: add @valuenum@ support
  • Translation updates:
  • Galicaian
  • Norwegian
  • Shavian
  • Spanish

New in GLib 2.25.3 (Jan 13, 2011)

  • New macro: G_GNUC_DEPRECATED_FOR, a variant of G_GNUC_DEPRECATED that lets you add replacement information (requires gcc 4.5)
  • Rename AM_GSETTINGS autoconf macro to GLIB_GSETTINGS
  • Rename gschema-compile utility to glib-compile-schemas
  • Add support for timeouts in GSocket
  • Bugs fixed:
  • 616648 Change AM_GSETTINGS macro to GLIB_GSETTINGS
  • 587898 I/O timeouts for GSocket
  • 614541 Add G_TYPE_ERROR boxed type for GError

New in GLib 2.25.2 (Jan 13, 2011)

  • Include a 'gsettings' utility, for commandline access to GSettings
  • Install a AM_GSETTINGS autoconf macro similar to AM_GCONF
  • GSettings can bind the writability of a key explicitly
  • There is now a predefined boxed type for GError
  • Bugs fixed:
  • 615379 g_new macros crash if sizeof(struct_type) == 0
  • 616312 Add m4 rule equivalent to GCONF_SCHEMAS_INSTALL
  • 616295 mapping bug for uint64
  • 616216 glib compile from remote directory fails
  • 615960 Fix size passed to connect() for abstract sockets
  • 616432 Crash in gschema-compile
  • 616331 gsettings-schema-convert uses imaginary types
  • 616309 gsettings-schema-convert should output gettext-domain
  • 616384 Add mention of GConfBridge in conversion docs
  • 616311 gschema-compile outputs in current directory
  • 616276 simplify gschema-compile test setup
  • 616156 keys with unnecessary empty options arrays
  • 616405 gsettings missing g_return_if_fail's
  • 616245 Use G_DEFINE_INTERFACE macro
  • 614541 Add G_TYPE_ERROR boxed type for GError
  • * Updated translations:
  • Catalan (Valencian)
  • Galician
  • Kannada
  • Spanish

New in GLib 2.24.1 (May 3, 2010)

  • Bugs fixed:
  • 615379 g_new macros crash if sizeof(struct_type) == 0
  • 614185 g_type_class_add_private() documentation is not correct
  • 614372 g_stat() is funny
  • 615111 GAsyncInitable's default implementation is broken
  • Fix race in g_cancellable_cancel()
  • Fix for g_variant_iter_loop()
  • Make g_string_append_len() accept NULL lf len == 0
  • Fix typo in GMutex error message
  • Translation updates:
  • Bengali India
  • Catalan
  • Catalan (Valencian)
  • Danish
  • Kannada
  • Thai
  • Traditional Chinese

New in GLib 2.24.0 (Apr 20, 2010)

  • The requirements for g_thread_init() have been relaxed slightly, it can be called multiple times, and does not have to be the first call. GObject now links to GThread and threads are enabled automatically when g_type_init() is called. Thread-safety issues with boxed types in GObject have been fixed. The -pthread flag has been added to all gmodule .pc files, because it is not generally permissible to load modules that are linked against libpthread if the program has not been compiled with threading support.
  • GType now has a G_DEFINE_INTERFACE convenience macro
  • GIO supports lazy loading of GIO modules, and there is a new gio-querymodule utility that goes along with this. Packagers will need to adapt to this.
  • GIO uses splice(2) to transfer data between file descriptors without extraneous copies.
  • The GVariant variant datatype has been added.