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)
in turn depends on glib2!
Additionally, disable fam support entirely on HP-UX, because it uses
gamin as the default fam type and sysutils/fam lacks platform support.
Overview of Changes from GLib 2.14.0 to GLib 2.14.1
===================================================
* Bugs fixed:
476840 Invocation of the interface "g_utf8_strreverse" crashes f...
444765 Fix FIXME in gregex.c when new pcre is out
464145 g_markup_escape_text Produces Invalid XML
465625 g_type_default_interface_ref() does not ensure working g_...
466768 Clearify that comments can be put anywhere in a Key-file.
474229 The GError documentation should give convention for the G...
474899 G_BREAKPOINT() docs inaccurate
475854 Overuse of -lpcre when using system pcre
473879 Incorrect includes in gregex.c
468694 Typoes in documentation
469051 g_snprintf () talks about characters where it probably me...
457601 Missing arch specific atomic implementation
475923 Missing pcre flags when static-linking against glib
475619 glibthread-2.0.la does not list -lpthread
Also many updated translations.
PR pkg/36731. Highlights of NEWS follow:
Overview of Changes from GLib 2.13.7 to GLib 2.14.0
* Last-minute API additions:
- Make g_unichar_combining_class public
- Add goffset type, add G_MAXSSIZE and G_MINSSIZE
* Update PCRE to 7.2
* Bugs fixed:
453998 Make _g_unichar_combining_class() public
462549 gregex.c: variable is declared at middle of block
417068 g_file_test doc inconsistency
* Updated translations
Overview of Changes from GLib 2.13.6 to GLib 2.13.7
* The memory corruption warning from the slice allocator that
occurred when threads were initialized after the slice allocator
has been removed, as the slice allocator now works fine
in this scenario.
* New functions g_once_init_enter() and g_once_init_leave() make
it easier to write threadsafe one-time initialization functions
* Bugs fixed:
454473 Simple XML Subset Parser terminates on invalid XML
445813 g_module_open error, add file name
453796 errno gets clobbered by g_filename_display_name
341988 don't use "-c" with msgfmt in Makefile.in.in
447048 Please produce slightly more output during long tests
454785 GModule documentation lists same block of code twice.
454786 GModule documentation lists same paragraph twice.
383155 small docs quirks in gobject/closure API documentation
65041 _get_type() functions aren't thread safe
* Updated translations
Overview of Changes from GLib 2.13.5 to GLib 2.13.6
* Reintroduce a GType typedef whose removal in 2.13.5
caused trouble for C++ bindings
* Bugs fixed:
450216 docs not explicit enough about g_free()
451459 g_type_register_static_simple calls g_type_register_static
* Updated translations
Overview of Changes from GLib 2.13.4 to GLib 2.13.5
* xdg-user-dirs support:
- the Desktop directory is guaranteed to be defined
- user-dirs.dirs is no longer reloaded on changes
* Slice allocator:
- new api to duplicate slices
* Regular expression support:
- GRegex is a boxed type now
* Bugs fixed:
44793 make check failing in trunk
354522 Small problem with PLT hiding 6 symbols
363986 glib 2.12.4 does not compile with SGI IDO cc
443869 g_type_class_add_private doesn't warn when adding 0-sized...
446859 Legitimately return 0 for g_quark_from_string(NULL)
447534 Small typo in g_timeout_add_seconds() doc
447583 GStaticRWLock
447935 g_get_current_dir SIGSEGV on long path
448260 CLAMP has surprising result if low > high
57693 g_string_vprintf()
442029 add g_slice_dup()
445065 Add GRegex boxed type
448819 Add full version of g_timeout_add_seconds()
* Updated translations
Overview of Changes from GLib 2.13.3 to GLib 2.13.4
* Bugs fixed:
444121 g_get_user_special_dir deadlocks
444161 invalid UTF8 in key name shows up as valgrind error in g_...
444130 g_option_context_get_help() is broken when there's a desc...
Overview of Changes from GLib 2.13.2 to GLib 2.13.3
* GKeyFile:
- Added defines for easier handling of desktop files
* Unicode support:
- Update g_unichar_iswide_cjk for Unicode 5.0
* Regular expression support:
- GRegex structs can now be ref-counted
- Some new functions for dealing with incremental
replacement have been added
- The GRegexEvalCallback signature has been changed
* g_get_user_special_dir() has been added to support
xdg-user-dirs
* Bugs fixed:
419376 Functions using named subpatterns behave inconsistently w...
434358 g_regex_fetch_named() and g_regex_fetch_named_pos() are b...
423708 typo in the README.win32 file see patch below
339225 Add new defines for easier handling of .desktop files
442265 API additions/changes for GRegex
432651 Add a glib-ish xdg_user_dir_lookup
* Updated translations
Overview of Changes from GLib 2.13.1 to GLib 2.13.2
* Unicode support:
- Add g_unichar_ismark()
* GOption:
- Allow to use callbacks for remaining args
* Updated translations
Overview of Changes from GLib 2.13.0 to GLib 2.13.1
* GRegex:
- Portability fixes
- Split into immutable GRegex and GMatchInfo
- Add g_regex_get_max_backref() and g_regex_get_capture_count()
to obtain information about the compiled regex
* GKeyFile:
- Fix roundtrip problems
- Add g_key_file_load_from_dirs()
* Unicode support:
- Fix corner cases in case conversion routines
* GOption:
- Add a function to get the formatted help string
* GHash:
- Add new functions g_hash_table_get_keys() and
g_hash_table_get_values() to retrieve the keys and
values in list form
* Updated transations
Overview of Changes from GLib 2.12 to GLib 2.13.0
* Add GSequence, a list that is implemented using
a balanced binary tree.
* Add GRegex, an implementation of Perl regular expressions,
based on PCRE.
* Use Posix monotonic clocks instead of gettimeofday()
for GTimer when available.
* Support static initialization of GQeues with G_QUEUE_INIT,
g_queue_init() and g_queue_clear().
* Add g_string_chunk_clear() for clearing a
GStringChunk.
* Add g_unichar_get_script() to obtain Unicode
script information.
* Add g_unichar_iszerowidth() to obtain information
about zero-width characters.
* Add G_GNUC_MAY_ALIAS which wraps the gcc may_alias
type attribute.
* G_GNUC_INTERNAL has a working definition for the
Sun Studio compiler. This requires the macro to
be positioned before the function declaration.
* The slice allocator can produce detailed debugging
information with G_SLICE=debug-blocks.
* Modules support G_DEBUG flags resident-modules and
bind-now-modules.
* Add G_DEFINE_DYNAMIC_TYPE() to make it easier
to define types in modules.
* Bug fixes: too many to list them in detail here.
* New and updated translations
Overview of Changes from GLib 2.12.3 to GLib 2.12.4
===================================================
* Fix build problems related to Posix timers.
* Bugs fixed
321974 nanosleep on AIX / g_timer API using high
resolution timers
353584 va_end called on caller supplied va_list
353580 va_copy detection breaks if user sets
CFLAGS=-Werror-implicit-function-declaration
354522 Small problem with PLT hiding 6 symbols
358421 typos in gmain.c
* New and updated translations (bn,bn_IN,dz,el,en_GB,
et,fa,hi,hy,it,ka,nn,pt_BR,ro,sl,sr,sr@Latn,ta)
Overview of Changes from GLib 2.12.0 to GLib 2.12.1
===================================================
* Update to final Unicode Character Database 5.0.0
* Bugs fixed:
346660 issues with base64 api documentation / g_base64_decode_cl...
348136 Coverity reports allocation of wrong size CID #2839
336281 Update to UCD 5.0
346197 g_date_strftime %F option doesnt work for win32
348011 Small optimization to real_toupper()
246494 prototype mismatch in glib/gconvert.c
* New and updated translations (bg,bn_IN,ca,dz,eu,fi,
fr,he,it,ja,mk,or,pt)
Martijn van Buul.
Changes:
Overview of Changes from GLib 2.11.4 to GLib 2.12
=================================================
* Bugs fixed:
344905 leap-year bug in g_time_val_from_iso8601 w/o HAVE_TIMEGM
* Updated translations (cy,nb,nl)
Overview of Changes from GLib 2.11.3 to GLib 2.11.4
===================================================
* GBookmarkFile:
- g_bookmark_file_remove_item returns a boolean
* g_mkstemp accepts the XXXXXX in the middle of
the template
* Bugs fixed:
344868 g_key_file_to_data should separate groups
* Updated translations (de,es,fr,gu,hi,ko,th)
Overview of Changes from GLib 2.11.2 to GLib 2.11.3
===================================================
* GBookmarkFile:
- g_bookmark_file_move_item: Return TRUE in case of
an empty target
* Bugs fixed:
343919 gunicollate.c: strxfrm bug on VC8
* Updated translations (fi)
Overview of Changes from GLib 2.11.1 to GLib 2.11.2
===================================================
* Add g_ascii_stroll to parse signed 64bit integers
* GMarkup: add a flag to treat CDATA as text
* GHashTable: add functions to remove all entries
* GMainLoop: add functions to find the currently
running source, and determine if it is destroyed
* Bug fixes:
342563 g_atomic_thread_init() needs to be called before
other _g_*_thread_init() functions
343548 Potential use after free in callers of g_string_free()
168538 Wish: Clearing contents of GHashTables
321886 GTK+ cannot be reliably used in multi-threaded
applications
341826 goption.c: 'strtoll' is C99's function
343899 g_ascii_formatd dosn't work as expected for all
format strings
317793 Make GEnumValue strings const
337129 Compile warnings in G_IMPLEMENT_INTERFACE
303622 What is G_TYPE_CHAR?
* Updated translations (bg,dz,eu,gl,ja,ko,nl,th,vi)
Overview of Changes from GLib 2.11.0 to GLib 2.11.1
===================================================
* GOption
- Support 64-bit integers
- Allow optional text before and after the options
in help output
* Bug fixes:
340538 gbase64-test writes OOB
340816 GKeyFile set_string_list invalid memory reads
339105 g_key_file_parse_value_as_double
340434 convert-test.c fails (function test_one_half)
311043 Memory leaks (and potential infinite loops)
when using G_ERRORCHECK_MUTEXES
335198 Error checking mutexes are fubar
341237 Add a G_OPTION_ARG_INT64
341192 g_io_channel_set_flags not implemented on win32
336120 Allow adding description before/after GOption
--help output body
341191 misplaced check in g_relation_delete
340530 mismatched calloc / g_free in win32 threads
* Updated translation (es)
Overview of Changes from GLib 2.10.x to GLib 2.11.0
===================================================
* GBookmarkFile: a parser for files containing bookmarks
stored using the Desktop Bookmark specification.
* Base64 encoding support
* Unicode 5.0 support
* GOption supports floating point numbers
* GKeyFile supports floating point numbers
* Bug fixes:
155884 gatomic.c should be based on new SDK
157877 update-desktop-database doesn't handle duplicate entries
164719 keyfile parser doesn't support floats
327662 Import BookmarkFile from libegg
329548 Add G_OPTION_ARG_DOUBLE
329789 option-test.c type confusion
332841 Segmentation Fault when %llu is passed to vasnprintf and
HAVE_SNPRINTF is not defined
333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define
_WIN32_WINDOWS 0x0401'
333916 g_timer_elapsed docs should mention that microseconds
may be NULL
334440 dlerror() portability issue causes crash on (old) a.out
NetBSD platform
334646 goption + error out params
334799 g_remove() must check return value of remove()
334943 make check FAIL: threadpool-test
335215 Some breakages with GThreadPool
336085 g_option_context_new parameter lacks better explanation
336677 Documentation for g_object_ref_sink() is incorrect
337027 gbookmarkfile.c: sys/time.h include error
337553 Wrong escaping of URIs
338572 Dereferencing NULL value in g_key_file_get_group_comment
338845 g_completion_complete_utf8 crashes when NULL is passed to it
339337 g_bookmark_file_set_description
339338 gbookmarkfile.c, function expand_exec_line
339340 gbookmarkfile.c, function bookmark_app_info_dump
* Translation updates (bg,en_GB,et,gl,gu,he,hi,ka,nb,nl,nn,
or,pt_BR,ro,tr,vi,zh_CN)
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
Overview of Changes from GLib 2.10.1 to GLib 2.10.2
===================================================
* Bugs fixed:
322476 Missing check for .dylib [Anders Carlsson]
332841 Segmentation Fault when %llu is passed to
vasnprintf and HAVE_SNPRINTF is not defined [Michael McDonald]
333098 Add support for write FDs to GIOChannel [Markus Brinkmann]
334519 Memleak in goption.c::parse_short_option [Chris Wilson]
334471 g_parse_debug_string reads beyond buffer [Morten Welinder]
334611 g_option_context_parse() should not set program
name to '<Unknown>' if it is already set [Chong Kai Xiong]
335207 g_main_context_unref calls g_source_destroy_internal
with incorrect arguments [Chris Wilson]
335216 Slight performance gains (GList, GAsyncQueue) [Chris Wilson]
335209 Use of unitialised memory in g_mem_profile [Chris Wilson]
334943 make check FAIL: threadpool-test
336085 g_option_context_new parameter lacks better
explanation [Claudio Saavedra]
335215 Some breakages with GThreadPool [Chris Wilson]
333879 gthread/gthread-win32.c: IsDebuggerPresent needs
'#define _WIN32_WINDOWS 0x0401' [Kazuki Iwamoto]
334440 dlerror() portability issue causes crash on (old)
a.out NetBSD platform [ITOH Yasufumi]
333916 g_timer_elapsed docs should mention that
microseconds may be NULL [Christian Neumair]
334646 goption + error out params [Christian Persch]
335294 Documentation should not reference G_HAVE_GINT64,
as it's deprecated. [Richard Laager]
* Translation updates (dz,et,he,hi,ka,or,pt_BR,ro,tr)
Overview of Changes from GLib 2.9.6 to GLib 2.10.0
==================================================
* Bugs fixed:
328997 64bit pointer trunction in glib slab-allocator
[Pascal Hofstee]
331110 g_cond_broadcast(inform_cond) without holding
inform_mutex [Chris Wilson, Sebastian Wilhelmi]
332093 Fix some leaks in the tests [Kjartan Maraas]
332435 g_utf8_strlen returns wrong value if a maximum
number of bytes to check is specified
[Matthias Clasen]
331367 gslice requires more POSIX-like semantics for
GPrivate destructors [Tor Lillqvist]
* Documentation improvements [Matthias, Kang Jeong-Hee,
Tor Lillqvist, Stefan Kost]
* Translation updates (el,eu,ka,uk)
Overview of Changes from GLib 2.9.5 to GLib 2.9.6
=================================================
* Bugs fixed:
329124 distclean removes README [Kjartan Maraas, Tim Janik]
317679 GRelation field type not documented [Behdad Esfahbod]
329123 Typo in GTime docs [Kjartan Maraas]
* Documentation improvements [Sven Herzberg, David
Schleef, Kjartan Maraas, Behdad Esfahbod]
* Translation updates (cs,cy,it,ko,pt,sq,sr,sr@Latn,ru
Overview of Changes from GLib 2.9.4 to GLib 2.9.5
=================================================
* Memory management:
Runtime debugging support: The slice allocator
can be turned off by setting G_SLICE=always-malloc
in the environment. Zeroing of freed memory can
now be turned on at runtime by setting
G_DEBUG=gc-friendly in the environment. [Tim Janik]
* Bugs fixed:
328253 HP-UX/IA-64 uses ".so" as default shared library
extension [Albert Chin]
143380 unicode-encoding test fails converting to UTF-16
with libiconv [Marc Moorcroft]
328254 Build breakage (GSlice) [Jens Ganseuer]
328705 C99ism in glib/gmem.c [Kazuki Iwamoto]
* Translation updates (da,et,zh_CN)
Overview of Changes from GLib 2.9.3 to GLib 2.9.4
=================================================
* Type system:
Fix a problem with g_object_compat_control() which
can lead to segfaults in GTK+ applications on 64bit
platforms.
* Thread suppport:
Unused threads now fall back to the global pool after
500 milliseconds, where they wait for another
max-idle-time milliseconds. [Sebastian Wilhelmi]
* Fix a memory allocation problem in GKeyFile. [Morten
Welinder]
Overview of Changes from GLib 2.9.2 to GLib 2.9.3
=================================================
* GTree:
- Replace the simple recursive implementation by
a nonrecursive, threaded one [Maurizio Monge]
* Change g_filename_display_name and
g_filename_display_basename to use the Unicode
replacement character U+FFFD instead of a question
mark, and don't append "(invalid encoding)" [Matthias]
* Documentation improvements [Sven Herzberg, Federico
Mena Quintero, Stefan Kost]
* Bugs fixed:
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X
[Bogdan Nicula]
326558 Some test failures on IRIX 6.5 [Daichi Kawahata]
169285 "threaded" tree implementation for GTree
[Maurizio Monge]
326747 g_filename_display_basename adds (invalid encoding)
[Alberto Ruiz]
Other contributors: Christian Kellner, Murray Cumming
New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi)
Overview of Changes from GLib 2.9.1 to GLib 2.9.2
=================================================
* Memory management:
- Add tests for cache colorization [Tim Janik]
- Minimize space consumption if small amounts of differently
sized slices are allocated, at a small performance cost. [Tim]
* Thread support:
- Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik,
Sebastian Wilhelmi]
- Add g_thread_pool_set_sort_function() to allow sorting the
tasks of a threadpool. [Martyn Russell]
- Add g_thread_pool_set_idle_time() to allow unused threads
to exit after a certain time. [Martyn]
* Type system:
- introduce a new type GInitiallyUnowned, which has an initial
floating reference. [Tim]
- Add support for GType parameters. [Matthias]
* Main loop:
- Add g_main_context_is_owner() to determine if the current
thread is the owner of the context. [Michael Meeks]
* Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as
wrapper functions instead of macros. [Manish Singh]
* Documentation improvements [Tim, Matthias, Federico Mena Quintero,
Stefan Kasal, Dan Williams]
* New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW)
* Bugs fixed:
324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8
tries to modify [J. Ali Harlow]
324332 g_option_context_parse() returns false without setting error
[Tim-Philipp Müller]
324950 GLIB 2.9.1 testcase errors [Dan Yefimov]
325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto]
321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to
gpointer [Andrew Paprocki]
316221 G_LOCK warns about breaking strict-aliasing [Michal Benes,
Stanislav Brabec]
325273 Error in documentation for glib_check_version () [Declan Naughton]
325310 g_spawn_sync hangs when catching both stdout and
stderr [Tor Lillqvist]
325249 gcc warning when using g_rmdir from <glib/gstdio.h> [Jani Monoses]
325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto]
325874 Should say somewhere that source IDs are > 0 [Dan Williams]
325438 a typo (compatability) [Stefan Kasal]
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula]
Overview of Changes from GLib 2.9.0 to GLib 2.9.1
=================================================
* Memory management
- The slice allocator is implemented [Tim Janik]
- g_slice_free_chain() has been renamed to
g_slice_free_chain_with_offset() [Tim, Behdad Esfahbod]
- Mem chunks are deprecated [Matthias Clasen]
* Data structures
- Hash tables are refcounted, and have a boxed type [Tim]
* Thread support
- Support for Solaris threads has been removed
[Sebastian Wilhelmi, Andrew Paprocki]
- g_async_queue_sort(), g_async_queue_push_sorted() have
been added to allow GAsyncQueue to be used as a priority
queue, together with the corresponding _unlocked
variants [Martyn Russell]
* GObject:
- The concept of a floating initial reference has been
moved from GtkObject to GObject [Tim]
* Win32 changes:
- Make g_rename() replace existing files [Tor Lillqvist]
* Misc new API:
- G_GUINT64_CONSTANT macro to define guint64
constants [Andrew Paprocki]
- G_GNUC_WARN_UNUSED_RESULT macro to instruct the
compiler to emit a warning if the value returned
by a function is ignored. [Arjan van de Ven, Alex Larsson]
- GList and GSList now have sort functions which take an
extra user data argument [Martyn Russell]
- g_param_spec_ref_sink() has been added for consistency [Tim]
* $LOGNAME is respected when determining user data. [Laszlo Peter]
* Other changes and bug fixes [Tim, Matthias, Behdad,
Christian Persch, Benedikt Meurer, Andrew Paprocki,
Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec,
Andreas Schwab, Kalle Vahlman]
* Documentation
- Deprecation warnings carry version information [Matthias]
- The slice allocator has been documented [Matthias, Tim]
- Other improvements [Morten Welinder]
Overview of Changes from GLib 2.8.x to GLib 2.9.0
=================================================
* Unicode support:
- The Unicode tables have been updated to Unicode 4.1,
adding several new values to the GUnicodeBreakType
enumeration. This breaks Pango <= 1.10
[Behdad Esfahbod]
- The various Unicode character predicate functions
(g_unichar_isalpha, g_unichar_isdigit,...) have
been optimized
[Behdad]
- g_utf8_pointer_to_offset, g_utf8_offset_to_pointer:
These functions handle negative offsets now, and
going backwards in g_utf8_offset_to_pointer uses
"stutter stepping".
[Larry Ewing, Matthias Clasen]
* Memory management:
- Mem chunks are no longer used internally in GLib and
GObject. GMemChunk will be deprecated in GLib 2.10
- All APIs based on GAllocator (g_list_push/pop_allocator,
and similar push/pop_allocator functions for other
data structures) have been deprecated, since they
never worked as intended.
- The g_slice_* functions have been added as a
new API for fast allocation of small memory blocks.
The implementation in GLib 2.9.0 is just a simple
wrapper around malloc. GLib 2.10 will have an
efficient and scalable implementation.
[Tim Janik, Matthias]
* Pattern matching:
- g_pattern_match has been optimized to avoid
unnecessary recursion.
[Tim, Matthias]
* g_intern_string, g_intern_static_string:
- New functions to intern strings. These are now used
by GObject to avoid duplicating static strings
[Matthias]
* g_thread_foreach:
- New function to iterate over all GThreads
[Tim, Matthias]
* g_date_set_time_t, g_date_set_time_val:
- New functions to set a GDate from a time_t or
GTimeVal value. g_date_set_time has been deprecated
in favor of these.
[Roger Leigh]
* g_snprintf and g_vsnprintf:
- These functions are no longer declared in gprintf.h,
since they are in glib.h
[Matthias]
Overview of Changes from GLib 2.8.5 to GLib 2.8.6
=================================================
* Fix a problem with g_object_compat_control()
which can lead to segfaults in GTK+ applications
on 64bit platforms.
* Fix a memory allocation problem in GKeyFile.
[Morten Welinder]
* New and updated translations (ca,ja,ml,sv,zh_HK,zh_TW)
Overview of Changes from GLib 2.8.1 to GLib 2.8.2
=================================================
* Win32 changes
- the g_spawn* functions now take their arguments
in UTF-8 [Tor Lillqvist]
- Avoid extra console windows in some situations
[Tor Lillqvist]
* Bug fixes [Kjartan Maraas, Sebastian Wilhelmi,
Mathias Hasselmann]
* Documentation improvements [Matthias, Mark Drago,
Matthew F. Barnes, Behdad Esfahbod]
* Translation updates (bg,ca,cs,cy,da,de,el,en_CA,es,et,
eu,fi,fr,gl,gu,hu,it,ja,nb,nl,no,pl,pt,pt_BR,ro,ru,sk,
sq,sr,sr@Latn,sv,uk,vi,zh_TW)
Overview of Changes from GLib 2.8.0 to GLib 2.8.1
=================================================
* Optimize single-character insertions in GString [Ross Burton]
* Fix build problems on OS X
* Fix build problems on Win32 [Tor Lillqvist, Hans Breuer]
* Other bug fixes [Matthew F. Barnes, Stepan Kasal]
* Documentation improvements [Tristan van Berkom, Behnam
Esfahbod, Gustavo Carneiro, Stepan Kasal, Matthias]
* New and updated translations (ca,cy,ko,ro,uk)
Overview of Changes from GLib 2.7.7 to GLib 2.8.0
=================================================
* Make g_value_transform() handle enum values
correctly on ppc64. [Michael Lorenz]
(Third-party code accessing enumeration values
in GValues should also be changed to access
v_long, not v_int, in order to work on bigendian
64bit machines.)
* Make g_flags_get_first_value() handle a value
of 0 meaningfully. [Tim-Philipp Müller]
Overview of Changes from GLib 2.7.6 to GLib 2.7.7
=================================================
* Make atomic operations on s390 work [Matthias]
* Fix C++ guards in gstdio.h [Tor Lillqvist]
Overview of Changes from GLib 2.7.5 to GLib 2.7.6
=================================================
* Add native implementations of atomic operations
on s390 [Matthias]
* Make atomic reference counting of closures
work on s390 [Matthias]
* Avoid an infinite loop in g_convert_with_iconv().
[Sebastian Bacher]
* Documentation improvements [Ross Burton]
Overview of Changes from GLib 2.7.4 to GLib 2.7.5
=================================================
* Thread-related changes
- Fix build issues on HP-UX [Paul Cornett]
- Threadsafe access to flags stored in datasets [Tim Janik]
- Fix several issues with atomic refcounting for
closures, objects and paramspecs [Tim]
- Improve tests for atomic refcounting changes [Tim]
* Fix handling of stateful encodings in g_convert_* [Matthias]
* Fix translation of GOption help output [Dan Winship]
* Catch format errors in translations. This may cause
"make check" to fail when using older versions
of gettext [Matthias]
* Win32 bug fixes [Tor Lillqvist]
* Documentation improvements [Ross Burton, Jochen Baier,
Matthias, Tim]
* New and updated translations (de,fi,gu,pl,pt,tr,zh_TW)
Overview of Changes from GLib 2.7.3 to GLib 2.7.4
=================================================
* Fix g_atomic_pointer_compare_and_exchange
on Sparc64 [Gert Doering]
* Fix a hang in g_thread_pool_free. [Hong Jen Yee]
* Win32 bug fixes [Tor Lillquist]
* Other bug fixes [Benoit Dejean, Manish Singh]
* Documentation improvements [Bryan Silverthorn,
Callum McKenzie]
* New and updated translations (de,lt,sq,zh_CN)
Overview of Changes from GLib 2.7.2 to GLib 2.7.3
=================================================
* GOption
- Allow callbacks with optional arguments [Pawel Sliwowski]
- Allow to turn off the automatic long option name
disambiguation [Adam McLaurin]
- Only allow printable ASCII as short option names [Matthias]
* Win32
- Build fixes [Tor Lillqvist]
- Rewrite iochannel socket implementation [Tor]
* GObject
- Threadsafety improvements; in particular, refcounting
of objects is done atomically now. [Wim Taymans, Tim Janik]
* Bug fixes [Morten Welinder, Matthias, Wim Taymans]
* Documentation improvements [Richard Laager, Matthias]
* New and improved translations (bf,cs,hu,nb,nl,no)
Overview of Changes from GLib 2.7.1 to GLib 2.7.2
=================================================
* Win32 build fixes [Hans Breuer]
* Bug fixes [Mikael Magnusson]
* Documentation improvements [Matthias Clasen]
* New and updated translations (en_CA,es,et,ja,sr,sr@Latn,zh_TW)
Overview of Changes from GLib 2.7.0 to GLib 2.7.1
=================================================
* GOption
- Allow callback arguments without parameters [Dan Winship]
* GMappedFile: an mmap wrapper [David Schleef, Behdad Esfahbod]
* Misc new functions:
- g_get_host_name [Tor Lillqvist]
- g_mkdir_with_parents [Tor]
- g_build_pathv, g_build_filenamev [Todd A. Fisher,
Matthias Clasen]
* Bug fixes [Roger Leigh, Masatake YAMATO, Kjartan Maraas,
Manish Singh, Tor, Murray Cumming, Kian Duffy, Morten Welinder]
* Documentation improvements [Hong Gang XU, Dan Winship, Matthias]
* New and updated translations (bg,cs,da,en_CA,es,et,nb,nl,no,
sk,th,zh_TW)
Overview of Changes from GLib 2.6.x to GLib 2.7.0
=================================================
* GKeyFile
- Add unit tests [Matthias Clasen, Suren A. Chilingaryan]
- Accept \r\n as line end [Bastian Nocera]
- Don't interpret leading zeros as octal numbers. [Matthias]
- Make key and group removal work [David Hoover, Matthias Hasselmann]
* GOption
- Improve formatting of --help output [Matthias, Noah Levitt]
- Accept -? [Matthias]
- Warn about duplicate main groups [Jeff Franks]
- Treat '-' as non-option argument [Tim Musson, Thomas Leonard]
- Report missing arguments as errors [Björn Lindqvist]
- Add a boxed type for GDate [Tim-Philipp Müller]
* GTree
- g_tree_remove() and g_tree_steal() return status information [Matthew F. Barnes]
* Stdio wrappers
- Work regardless of large file support [Manish Singh]
- Add g_access(), g_chmod(), g_creat(), g_chdir [Tor Lillqvist]
* GObject
- Implement "toggle references" to help language bindings [Owen Taylor]
- Allow to mark names, nicks and blurbs of pspecs as static [Ben Maurer, Matthias]
- Make pspec lookup a bit faster [Morten Welinder]
* Add g_listenv() to list all set environment variables [Hans Petter Jansson]
* Add g_file_set_contents() to atomically write a file. [Søren Sandmann,
Sven Neumann, Manish, Alexis S. L. Carvalho]
* Add g_try_malloc(), g_try_new(), g_try_new0() and g_try_renew() [Stefan Kost]
* Add g_utf8_collate_key_for_filename() to sort filenames taking
extensions and numeric suffixes into account. [Ole Laursen, Alex Larsson]
* Add G_GNUC_NULL_TERMINATED to mark varargs function with
NULL-terminated argument lists. [Marc Meissner]
* Win32 changes
- Improved debugability [Ulf Lamping, Hans Breuer]
- Make filename handling more robust [Tor, Billy Skaggs]
- Improve g_get_system_data_dirs() [Tor]
- Use more precise timers [Tor]
- Build fixes [Kazuki Iwamoto, Hans, Tor, Robert Ögren]
* Other bug fixes [Roger Leigh, Owen, Matthias, Morten, Kjartan Maraas,
Pawel Sakowski, Tor, Simon Budig, Ed Avis, Manish, Nicolas Laurent,
Bastien, Fabrício Barros Cabral, Michael Banck, Daniel Atallah,
J. Ali Harlow, Tim Janik, Hazael Maldonado Torres, Sven, Jon-Kare Hellan,
Dave Benson, Tommi Komulainen, Benjamin Otte, Brian Cameron, Changwoo Ryu,
Christian Biere, Noah, Benoît Carpentier]
* Documentation improvements [Vincent Untz, Matthias, Tim-Philipp Müller,
Morten, Matthew, Federico Mena Quintero, Sebastian Bacher, Oliver Sessink,
Stefan, Jared Lash, Tor, Owen, Daniel Vaillard, Mathieu Lacage]
* New and updated translations (ca,cs,da,el,en_CA,en_GB,es,et,eu,fa,fr,gl,
hu,id,it,lt,mn,ne,nl,pl,pt,pt_BR,ro,rw,sk,sq,sr,sr@Latn,tl,uk,xh,zh_CN)
Overview of Changes from GLib 2.6.5 to GLib 2.6.6
=================================================
* Fix several bugs with the handling
of comments in key files [Mikael Magnusson]
* Fix g_atomic_pointer_compare_and_exchange
on Sparc64 [Gert Doering]
* Fix a deadlock with threadpools [Hong Jen Yee]
* Make GLib work on BeOS again [Kian Duffy]
* Win32 bug fixes [Kazuki Iwamoto]
* Other bug fixes [Roger Leigh, Kjartan Maraas,
Morten Welinder]
* New and updated translations (bg,cs,cy,de,
en_CA,es,et,fr,gu,hu,ja,ko,nl,sq,sr,sr@Latn,sv,
te,zh_CN,zh_TW)
* GOption
- Treat '-' as non-option argument [Tim Musson, Thomas Leonard]
* Win32 changes
- Improve g_get_system_data_dirs() [Tor]
* Other bug fixes [Tommi Komulainen, Tor, Benjamin Otte,
Morten Welinder, Christian Biere, Noah Levitt, Michael Banck]
* Documentation improvements [Mattew F. Barnes, Federico
Mena Quintero, Daniel Vaillard, Matthias]
* New and updated translations (da,eu,gl,mn,nb,ne,no)
Overview of Changes from GLib 2.6.3 to GLib 2.6.4
=================================================
* Fix compilation with gcc 4.0 [Matthias Clasen]
* Fix g_date_get_iso8601_week_of_year [Jon-Kare Hellan]
* Win32:
- use more precise times in gtimer.c [Tor Lillqvist]
- bug fixes [Tor, Daniel Atallah]
* Other bug fixes [Tim Janik, Matthias, Manish Singh,
Dave Benson, Jeff Franks]
* Documentation improvements [Tim-Philipp Müller, Matthias,
Stefan Kost, Tor, Jared Lash, Morten Welinder]
* New and updated translations (el,fa,hu,id,ne,ro,rw)
Overview of Changes from GLib 2.6.2 to GLib 2.6.3
=================================================
* GOption
- Fix formatting of --help output [Matthias Clasen]
- Accept -? [Matthias]
* Win32 bug fixes [Bill Skaggs, Tor Lillqvist,
J. Ali Harlow, Daniel Atallah]
* Other bug fixes [Ed Avis, Manish Singh, Matthias,
Nicolas Laurent, Kjartan Maraas, Bastian Nocera,
Suren A. Chilingaryan, Michael Banck]
* Documentation improvements [Matthias]
* New and updated translations (ar,el,et,fi,fr,gu,nb,no,uk,xh)
Overview of Changes from GLib 2.4.x to GLib 2.6.0
=================================================
* Major new APIs
- GOption, a commandline option parser
- GKeyFile, a parser/editor for the .ini like files
- Functions to support the XDG basedir specification
- Wrappers for common POSIX pathname functions to handle filename
encodings consistently. On Windows, these use UTF-8.
* Miscellaneous new functions
- g_filename_display_name() converts filenames in displayable UTF-8 strings
- g_uri_list_extract_uris() splits uri lists
- g_date_get_iso8601_week_of_year() gets ISO 8601 week numbers
- g_log_set_default_handler() installs an alternate default log handler
- g_get_language_names() obtains a list of applicable locale names
- g_strv_length() calculates the length of NULL-terminated string arrays
- g_win32_get_windows_version() determines the Windows version
- G_GNUC_INTERNAL marks functions as non-exported
- glib_check_version() checks the GLib version at runtime
- g_debug() completes the family of logging functions
* Performance improvements
- Optimize g_utf8_validate()
- Optimize g_markup_parse_context_parse()
- Reduce signal connection complexity from O(n) to O(1)
- Get rid of many PLT entries for internally used exported symbols
- Reduce code size by removing literal strings from g_return_if_fail()
* Other changes
- On Windows, GLib functions that take file name arguments now require
those to be in UTF-8. Functions that return file names return UTF-8.
- Use higher precision for mathematical constants
- Don't convert to/from UTF-8 in g_filename_to_uri/g_filename_from_uri
- Support ll as printf format modifier for long long on all platforms
- Clean up the ABI and enforce the list of exported symbols
- Add a .pc file for using gmodule in libraries
- Require ngettext
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
Overview of Changes from GLib 2.4.5 to GLib 2.4.6
=================================================
* Bug fixes [Matthias Clasen, Ray Strode]
* New and updated translations (mn,nb)
Overview of Changes from GLib 2.4.4 to GLib 2.4.5
=================================================
* Fix g_filename_from_uri() to work with non-UTF-8
filenames [Robert Ã~Vgren, Matthias Clasen]
* Make GMarkup parser handle of whitespace inside tags
according to XML 1.1 [Hiroyuki Ikezoe, Matthias]
* Documentation improvements [Soeren Sandmann, Christophe Fergeau,
Danek Duvall]
* Other bug fixes [Oliver Guntermann, Sven Neumann,
James Henstridge, Murray Cumming, Matthias, Tommi Komulainen]
* New and updated translations (bg,hi,sq)
* Fix g_filename_from_uri() to work with non-UTF-8 filenames
[Robert Ögren, Matthias Clasen]
* Make GMarkup parser handle of whitespace inside tags according to XML 1.1
[Hiroyuki Ikezoe, Matthias]
* Documentation improvements [Soeren Sandmann, Christophe Fergeau, Danek
Duvall]
* Other bug fixes [Oliver Guntermann, Sven Neumann, James Henstridge, Murray
Cumming, Matthias, Tommi Komulainen]
* New and updated translations (bg,hi,sq)
* Win32 bug fixes (John Ehresman)
* Other bug fixes (Manish Singh, Matthias Clasen, Federico
Mena Quintero, Philippe Blain, Sven Neumann, Julio M. Merino
Vidal, Kaz Sasayama, Morten Welinder, Mariano Suarez-Alvarez)
* Documentation updates (Crispin Flowerday, Ed Griffiths,
Federico)
* New and updated translations (az,ne,sq)
* Win32 bug fixes
- make printf accept ll format modifier [Tor Lillqvist]
- only believe HOME if it is an absolute path an exists [Tor]
* Other bug fixes (Steve Lhomme, Tor, Hans Breuer, Manish Singh,
Owen Taylor, Matthias Clasen, Nikolai Weibull, Benoît Carpentier,
Morten Welinder)
* New and updated translations (de,it,ja,ko,no,pt_BR,sq,wa,zh_CN)
* Win32 bug fixes [Tor Lillqvist, Roger Leigh, John Ehresman]
* Miscellaneous bug and portability fixes [Owen Taylor,
Matthias Clasen, Jonas Jonsson, Christian Krause,
Nickolay V. Shmyrev, Christophe Saout, Philippe Blain,
Piotr Klaban]
* Documentation updates [Matthias]
* New and updated translations (ca,cs,cy,el,en_CA,en_GB,es,eu,fi,
fr,gu,he,id,nl,pt,pl,ru,sr,sr@ije,sr@Latn,sv,uk)
GLib-2.4 is a stable release adding an incremental improvement
in functionality over GLib-2.2 while maintaining binary and
source compatibility. New features include:
General
* Watches for child process exit integrated into the main loop.
* Unicode tables updated to cover all of Unicode-4.0.
* Standard header file for gettext macros, including Q_() macro
for strings with context.
* Improved seeding for the GRandom random number generator.
Threading
* Atomic operations on integers and pointers.
* GOnce for one-time initialization.
GObject:
* G_DEFINE_TYPE macros for easy definition of GObject types.
* Properties can now be added to interfaces.
* Instance private data allows private data members for objects.
Overview of Changes from GLib 2.2.2 to GLib-2.2.3
=================================================
* Win32 [Tor Lillqvist]
- Fix socket handling for giochannel [Andrew Lanoix]
- Omit helper process for GSpawn when possible
- Accept / as well as \ as a pathname separators in
path handling functions.
- Fix g_strdup_printf to be locale sensitive [Ernst Lippe]
- Build fixes [Jeff Bonggren]
- Misc bug fixes
* Documentation improvements [Matthias Clasen]
* glib-gettext.m4 fixes [Tim Mooney, Owen Taylor, James Henstridge]
* Improve configure checks for sprintf [Matthias]
* Misc bug fixes [Albert Chin, Noah Levitt, Manish Singh, Owen,
Morten Welinder, Daniel Yacob]
* New and updated translations (ar,az,cy,eo,is,sr,sr@Latn,zh_CN)
Also, add patch-ac to fix a compilation error in a test (patch
fed back).
* Fix busy wait when main loop was recursed out of an IO watch or similar
[Owen Taylor, Christian Krause]
* Fix main loops run from from other threads [Owen, Jean-Yves Lefort]
* Many bug fixes in Unicode manipulation routines [Noah Levitt]
* Win32 bug fixes [Tor Lillqvist, Cedric Gustin, Daniel Kaufmann]
* Fix portability problems with G_MIN/MAX_INT64 [Manish Singh]
* Miscellaneous bug fixes [Matthias Clasen, Martin Kretzschmar,
Sven Neumann, Havoc Pennington, Balasz Scheidler, Ray Strode,
Hidetoshi Tajima, Owen, Morten Welinder, Dan Winship]
* Code cleanups and performance tweaks [Morten, Matthias, Christian Biere,
Noah Levitt, Owen]
* Threading fixes for configure.in [Sebastian Wilhelmi]
* Fix make uninstall in po/Makefile.in.in [James Henstridge]
* Miscellaneous build fixes [Zach Frey, Raja Harinath, Evan Martin,
Andras Salamon, Jeffrey Stedfast, Hidetoshi Tajima, Owen, Morten]
* Documentation improvements [Matthias, Christian Biere, Christophe Fergeau,
Sven, Phillip Vandry]
* New and updated translations (az,cy,et,fa,id,li,ml,pt,sr,ta,tr,yi,zh_TW)
Major changes:
* Improve generation of pseudo-random integers [Morten Welinder,
Sebastian Wilhelmi]
* Avoid literal UTF-8 in favor of octal escapes [Owen, Tomas Ogren]
* Add copy of the Trio library to build and use for printf() when
system printf isn't good enough. Add g_printf()/etc. [Matthias Clasen]
* Add g_str_has_suffix()/g_str_has_prefix() [Alex Larsson]
* Add g_markup_parse_context_get_element() [Matthias]
* Add g_utf8_strreverse [Matthias]
* Add g_ascii_strtoull() [Tim Janik]
* Support scanning of 64-bit values with GScanner [Tim]
* Add g_set/get_application_name() [Havoc Pennington]
* Add G_LIKELY()/G_UNLIKELY() macros for hinting branch probabilities.
Use for g_return_if_fail(). [Matthias Clasen]
* Add G_GNUC_DEPRECATED macro [Tom Tromey]
* Improve the seeding algorithm of GRandom to avoid problems
with certain pathological seeds. Support G_RANDOM_VERSION=2.0
environment variable. [Sebastian Wilhelmi]
* Improve thread configure checks, use -pthread where applicable
[Sebastian]
* Improve handlng of thread priorities [Sebastian]
...as well as many bug fixes and translation updates.
Overview of Changes in GLib 2.0.1
=================================
* Portability fixes for Sun's Forte compiler [Erwann Chenede]
* Performance improvements for GObject parameter lookup,
g_filename_to/from_utf8() [Alex Larsson]
* Actually check interface prerequisites [Matthias Clasen,
Miroslaw Dobrzanski-Neumann]
* Fix problem with glib-mkenums taking huge amounts of stack. [Owen Taylor]
* Fix g_signal_handlers_disconnect_by_func() for C++ [Damien Sandras]
* Fixes for g_log() and threading.
[Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Tim Janik]
* Make g_print(), g_printerr(), g_warning(), etc, convert from
UTF-8 to the encoding of the locale [Sebastain Wilhelmi, Tim]
* Fixes for GIOChannel on windows. [Tor Lillquist]
* Fix gsize/gint mismatches in giochannel.c [Miroslaw]
* Fix file descriptor leak in g_file_get_contents() [Matthias]
* Workaround iconv() problems on older Solaris [Lauri Alanko]
* Fix warnings with gcc-3.1 about asm const [Cody Russel]
* Minor bug fixes.
Other contributors: Hans Breuer, LEE Sau Dan, Sven Neumann, Salmaso Raffaele,
Akira Tagoh, Morten Welinder
GLib is a library which includes routines for C, providing lists,
trees, hashes, memory allocation functionality and many other things.
glib2 will coexist with glib-1.2.*