Overview of Changes from GLib 2.22.4 to GLib 2.22.5
===================================================
* Bugs fixed:
568760 nautilus freezes due to a bug...
609813 Renaming a file discards file notes
611696 gio uses GetAddrInfo which requires special handing...
552912 glib-2.18 /live-g-file/test_copy_move failed...
609143 *result_uncertain is never assigned in g_content_type_guess
609531 missing licence headers
610860 test_g_file_open_readwrite fails if $HOME is unwritable
612702 Fix GSocket-related crash on Windows
Overview of Changes from GLib 2.22.2 to GLib 2.22.3
===================================================
* Bugs fixed:
350200 GTypeModule derived class unref does not unload plugin
598899 GWin32DirectoryMonitor is broken
563627 g_get_prgname() threadsafety
572252 Bug in g_file_test() function.
577711 cross compile check for g++ broken
598712 can't detect text file with backspace
541236 not detecting exact content type
593856 file and directory monitors don't work with --disable-debug
593809 Nautilus does not restore the position of the icons...
* Updated translations:
Catalan Valencian
Estonian
in 2.22.x include:
* GArray, GPtrArray, GByteArray, GTree and GMappedFile can be reference
counted.
* GLib can be forced to reload the XDG user directory mapping.
* The GLib mainloop supports per-thread default contexts.
* GIO now provides types and methods for IP addresses and UNIX domain
socket addresses.
* GResolver provides asynchronous and cancellable APIs for resolving
hostnames, reverse lookup of IP addresses and resolving SRV records.
* Support for network IO has been added to GIO, including low-level
socket API and high-level API for network connections and services.
* GIOStream and its subclasses have gained support for read-write
access.
* GIO supports starting and stopping of drives, which can be used
in connection with external hard disk enclosures, disk arrays, iSCSI
devices, etc.
* GIO supports user interaction during unmount and eject operations.
* GIO can store and retrieve per-file metadata.
Overview of Changes from GLib 2.20.4 to GLib 2.20.5
===================================================
* Fix a performance problem when trashing multiple files
* Bug fixes:
593232 g_rand_new: read no more than requested from /dev/urandom
592457 preserve errno
591995 use saved errno
591532 redundant '/' returned from g_file_resolve_relative_path
* Updates translations:
Catalan (Valencian)
Galician
It comes from upstream Bug#562310:
http://bugzilla.gnome.org/show_bug.cgi?id=562310
Availability detection of `gtkdoc-rebase' command is depend on the behaviour
of `which' command, if `which gtkdoc-rebase' return false, do nothing.
It is known as not works as expected on Darwin and Solaris, then failed in
unwanted gtkdoc-rebase execution, and abort.
It is already fixed in upstream gtk-doc repository, but not released yet(1.12?).
So, some packages may contain and be using un-fixed gtk-doc.* files.
For easy to determine whether it is fixed or not, check gtk-doc.make contains
following commit (not using 'which gtkdoc-rebase', but $(GTKDOC_REBASE) macro):
http://git.gnome.org./cgit/gtk-doc/commit/?id=ef5f56ca5fd4a077e6f7a374e8dd333b7a6a8d42
Upstream bug report was closed, patch is supposedly not necessary
any longer.
If this is not the case, re-open
http://bugzilla.gnome.org/show_bug.cgi?id=133344
No PKGREVISION bump since it was a build fix.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Changes:
2009-03-13 Matthias Clasen <mclasen@redhat.com>
* === Released 2.20.0 ===
* configure.in: Bump version to 2.20.0
2009-03-13 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-03-12 Matthias Clasen <mclasen@redhat.com>
* glib/gbase64.c: Avoid integer overflows in the base64
functions. Fixes CVE-2008-4316
2009-03-11 Stef Walter <stef@memberwebs.com>
* glib/gchecksum.c: Document and guarantee hex digests will
be returned in lower case. Fixes bug #574019
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.10 ===
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.9 ===
2009-03-02 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-03-01 Matthias Clasen <mclasen@redhat.com>
Bug 572508 – gmarkup speedup ...
* glib/gmarkup.c: Various optimizations: do less allocations by
keeping a pool of GStrings, do in-place unescaping, avoid redundant
utf-8 validation. Patch by Michael Meeks
* tests/markups/fail-36.gmarkup: Adapt
2009-03-01 Matthias Clasen <mclasen@redhat.com>
* glib/gthread.c: Fix docs.
2009-03-01 Matthias Clasen <mclasen@redhat.com>
* tests/slice-threadinit.c: Change one magazine size from 77 to 81
to make distcheck work on x86-64.
2009-02-27 Tor Lillqvist <tml@novell.com>
Bug 167569 - g_string_append_printf crashes on win32 when used
with a NULL argument
* glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy
programs. Patch by Owen.
2009-02-23 Paolo Borelli <pborelli@katamail.com>
* glib/gutf8.c (_g_utf8_make_valid):
sanity check the input paramter.
2009-02-23 Tor Lillqvist <tml@novell.com>
Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
of function pointer to object pointer
* glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
the type of the function's parameter to be explicitly a function
pointer.
* glib/gutils.h (_g_win32_get_system_data_dirs): Modify
declaration and the only caller, the inline
_g_win32_get_system_data_dirs(), accordingly. Add comments
pointing out these are internal GLib functions.
2009-02-22 Matthias Clasen <mclasen@redhat.com>
Bug 572151 – “it's” and “its” confused in docs and comments
* Fix "it's" vs "its" confusion throughout the source. Patch
by Will Thompson.
2009-02-22 Matthias Clasen <mclasen@redhat.com>
Bug 572464 – Doc for g_file_get_contents
* glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed
out by Øystein Johansen.
2009-02-22 Matthias Clasen <mclasen@redhat.com>
Bug 572672 – glib/gthread.c: argument is different type
* glib/gthread.c (g_once_init_leave): Add a necessary cast back.
Pointed out by Kazuki Iwamoto.
2009-02-17 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-02-17 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.8 ===
2009-02-17 Matthias Clasen <mclasen@redhat.com>
Fix strict aliasing warnings and viiolations to make GLib and
GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.
* glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
fix macro versions to only operate on objects of the same size.
* glib/gdataset.c:
* glib/gthread.[hc]:
* glib/gdatasetprivate.h: Remove unnecessary casts in
g_atomic_pointer_get calls.
2009-02-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-02-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.7 ===
2009-02-16 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-02-13 Mathias Hasselmann <hasselmm@gnome.org>
Add note about g_utf8_offset_to_pointer() not checking string
boundaries.
* glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.
2999-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 523742 – Use noinst for non-installable libraries
* tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled
libraries.Patch by Björn Lindqvist
2009-02-06 Murray Cumming <murrayc@murrayc.com>
* gio/gfilterinputstream.c:
* gio/gfilteroutputstream.c: Correct the grammar in some property
documentation.
* gio/gdatainputstream.c:
* glib/gregex.c: Correct the spelling of
occurrence in documentation.
2009-02-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-02-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.6 ===
2009-02-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-01-31 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-01-31 Matthias Clasen <mclasen@redhat.com>
Bug 569105 – g_time_val_to_iso8601() assumes time_t==long
* glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
Pointed out by Matthias Drochner.
2009-01-27 Christian Persch <chpe@gnome.org>
* configure.in:
* docs/reference/glib/glib-sections.txt:
* docs/reference/macros_misc.sgml:
* docs/reference/glib/tmpl/types.sgml: Add
G_GOFFSET_FORMAT and friends. Bug #563141.
2009-01-23 Stefan Kost <ensonic@users.sf.net>
* docs/reference/glib/Makefile.am:
Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
on problem with the doc build.
2009-01-21 Tor Lillqvist <tml@novell.com>
* glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
unused variables.
2009-01-20 Matthias Clasen <mclasen@redhat.com>
Bug 568294 – A wrong reference in the description of
g_bookmark_file_add_application()
* glib/gbookmarkfile.c (g_bookmark_file_add_application):
Fix a typo in the docs. Pointed out by Takeshi Aihana
2009-01-19 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.5 ===
2009-01-18 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c (g_strdup_printf): Fix a doc typo.
2009-01-18 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-01-18 Matthias Clasen <mclasen@redhat.com>
Bug 512779 – --disable-regex breaks compilation
* configure.in: Define an ENABLE_REGEX macro
* gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
is not defined.
2009-01-18 Matthias Clasen <mclasen@redhat.com>
* glib/gbsearcharray.h: Quell some compiler warnings.
2009-01-18 Matthias Clasen <mclasen@redhat.com>
* glib/pcre: Update to PCRE 7.8
2009-01-17 Matthias Clasen <mclasen@redhat.com>
Bug 567977 – textdomain() macro should not return NULL when
ENABLE_NLS is not set
* glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
return "messages" in case of a NULL argument. Patch by
Peter Kjellerstedt.
2009-01-17 Matthias Clasen <mclasen@redhat.com>
Bug 567838 – G_STRUCT_OFFSETOF fails to compile under icc 9.1
* glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
__builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.
2009-01-13 Matthias Clasen <mclasen@redhat.com>
Bug 564728 Add function to decode base64 encoded data in place
* glib/glib.symbols:
* glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
API to decode in place, overwriting the input string. Patch by
Sebastian Dröge.
2009-01-12 Matthias Clasen <mclasen@redhat.com>
* glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL
handling in the docs.
2009-01-12 Tor Lillqvist <tml@novell.com>
* glib/goption.c (parse_arg): Guard against a mis-written
GOptionArgFunc that has returned FALSE but not set the GError.
2009-01-10 Matthias Clasen <mclasen@redhat.com>
Bug 566573 – g_match_info_fetch_pos docs
* glib/gregex.c: Mention that positions are in bytes.
Proposed by Christian Persch.
2009-01-10 Matthias Clasen <mclasen@redhat.com>
Bug 566569 – gregex docs clarification
* glib/gregex.c: Copy the warning about @string to all
relevant docs. Proposed by Christian Persch
2009-01-09 Tor Lillqvist <tml@iki.fi>
Bug 567138 - get_package_directory_from_module() does not free its
lock when failing
* glib/gwin32.c (get_package_directory_from_module): Obvious fix.
2009-01-05 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2009-01-05 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.4 ===
* NEWS: Updates
2009-01-05 Dan Winship <danw@gnome.org>
* glib/tests/.gitignore: update
* tests/.gitignore: update, sort
* tests/gobject/.gitignore: add
2009-01-05 Tor Lillqvist <tml@iki.fi>
Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
* glib/gfileutils.c: Move the binary compatibility versions of
g_file_test(), g_file_get_contents(), g_mkstemp() and
g_file_open_tmp() last in the file. Remove the restriction that
the XXXXXX is last in the template in the binary compatibility
version of g_mkstemp(). Thanks to Morten Welinder and Jody
Goldberg.
2009-01-03 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-01-02 Matthias Clasen <mclasen@redhat.com>
* glib/gregex.c: Add an example to the g_regex_replace_eval() docs.
2009-01-02 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c: Move docs inline, adding references to g_free()
where appropriate.
2009-01-02 Matthias Clasen <mclasen@redhat.com>
Bug 564210 – SUN Studio 12 has supported visibility attribute
* configure.in: Use visibility attribute for new enough sun cc.
Patch by Chris Wang
2008-12-30 Matthias Clasen <mclasen@redhat.com>
Bug 565905 – There is no named g_context_group_set_translation_domain()
in GOption command line parser
* glib/goption.c: Fix a wrong reference in the docs, reported by
Takeshi Aihana.
2008-12-30 Matthias Clasen <mclasen@redhat.com>
* glib/gspawn.c:
* glib/gthread.c:
* glib/goption.c:
* glib/gmain.c:
* glib/gkeyfile.c:
* glib/gfileutils.c:
* glib/gdate.c:
* glib/garray.c:
* glib/gbookmarkfile.c:
* glib/gbacktrace.c: Fix some compiler warnings.
2008-12-19 Tor Lillqvist <tml@novell.com>
* glib/glib.symbols: Add g_thread_get_initialized here,
too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.
2008-12-18 Mike Kestner <mkestner@novell.com>
Bug 560676 - function access for g_threads_supported
* glib/gthreads.c (g_thread_get_initialized): new accessor for
g_threads_supported macro.
* glib/gthreads.h: add g_thread_get_initialized
2008-12-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
* === Released 2.19.3 ===
2008-12-13 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2008-12-12 Dan Winship <danw@gnome.org>
* glib/pltcheck.sh: make this work on x86_64
2008-12-12 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.
2008-12-07 Matthias Clasen <mclasen@redhat.com>
Bug 508021 – Add support for the CRIS and CRISv32 architectures
* configure.in:
* glib/gatomic.c: Add an implementation for the CRIS and CRISv32
architectures, by Peter Kjellerstedt
2008-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Some more documentation additions.
2008-12-01 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2008-12-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.2 ===
2008-12-01 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
2008-12-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.19.1 ===
* NEWS: Updates
2008-11-28 Behdad Esfahbod <behdad@gnome.org>
Bug 562639 – g_parse_debug_flags() parsing "help"
* glib/gutils.c (g_parse_debug_string): Print available keys if
string is "help".
2008-11-28 Behdad Esfahbod <behdad@gnome.org>
Bug 562638 – GDebugKey key member should be const
* glib/gutils.h: Change GDebugKey key member from gchar * to
const gchar *.
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 547264 – Missing "no flags" flag
* glib/gregex.c: Mention 0 as value for 'no flags' in some places..
Pointed out by Bastien Nocera
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 562544 – g_key_file_get_string and g_key_file_get_value
documentation does not explain the difference
* glib/gkeyfile.c (g_key_file_get_string): Explain the difference
to g_key_file_get_value(). Pointed out by Mart Raudsepp.
2008-11-28 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Refer to @locale parameters as locale identifier
in docs.
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 557603 – carbon check output misplaced
* configure.in: Call AC_PROG_CPP early to avoid it messing up
carbon check output. Fix proposed by Christian Persch
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 559110 – Do not include libintl.h after glibintl.h
* glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
branch. Patch by Peter Kjellerstedt.
* glib/gutil.c: Don't include libintl.h directly.
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 562378 – callback return value not respected for callback option
with no arg
* glib/goption.c (parse_long_option): Return the parse_arg return
value even for no-arg callbacks. Patch by Christian Persch
* glib/tests/option-context.c: Add a test for a callback which
returns FALSE.
2008-11-23 Christian Persch <chpe@gnome.org>
Bug 559413 – g_option_group_set_error_hook docs buglet
* glib/goption.c: Doc fix.
2008-11-23 Christian Persch <chpe@gnome.org>
Bug 560568 – gkeyfile docs buglet
* glib/gkeyfile.c: Clarify the docs.
2008-11-23 Christian Persch <chpe@gnome.org>
Bug 560569 – gkeyfile doesn't use the set list_separator in some cases
* glib/gkeyfile.c: (g_key_file_get_locale_string_list),
(g_key_file_set_locale_string_list), (g_key_file_set_integer_list),
(g_key_file_set_double_list): Use the key file's list separator character,
not the default one.
* glib/tests/keyfile.c: (test_lists), (test_reload_idempotency): Test
this.
2008-11-21 Christophe Fergeau <teuf@gnome.org>
Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function
* gio/giotypes.h: fix name of function referred to in
GFileReadMoreCallback API documentation
2008-11-21 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump gtk-doc dependency to 1.11 for
nicer index-generation.
2008-11-14 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2008-11-04 Christian Dywan <christian@imendio.com>
Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()
* glib/ghash.c:
Clarify g_hash_table_lookup_extended
2008-11-02 Tor Lillqvist <tml@novell.com>
* configure.in: Expand also build/win32/vs9/Makefile.
2008-10-31 Christian Dywan <christian@imendio.com>
Bug 558513 – g_warn_if_fail FIXME in gtestutils
* glib/gtestutils.c (g_test_log_send):
Turn g_assert into g_warn_if_fail as advised
2008-10-31 Grahame Bowland <grahame@angrygoats.net>
Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name()
hits g_object_unref(NULL) assertion
* gio/glocalfile.c:
- remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au>
2008-10-29 16:11:14 Tim Janik <timj@gtk.org>
* glib/gmacros.h: added G_PASTE() and G_STATIC_ASSERT(), based on
patches by Christian Persch and Christian Dywan. Fixes:
Bug 558381 - Add support for compile time assertions
2008-10-27 Joseph Pingenot <gnomesvn@digitasaru.net>
* glib/ghash.c: changed "#GHashTableIterator" to "#GHashTableIter"
in the documentation-comments above g_hash_table_foreach_remove()
and g_hash_table_foreach_steal() to correctly name and link to
GHashTableIter. This affects the GNOME documentation website
as well, so further steps are likely necessary beyond this subproject..
2008-10-23 Matthias Clasen <mclasen@redhat.com>
Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes
* glib/gchecksum.c (g_compute_checksum_for_data): Accept
lengths < 2. Patch by Tommi Komulainen
* tests/checksum-test.c: Add a test for this
2008-10-23 Matthias Clasen <mclasen@redhat.com>
Bug 556921 – gpoll.h breaks hal compilation
* glib/gpoll.h: Include gtypes.h. Pointed out by Anis Elleuch
2008-10-20 Christian Persch <chpe@gnome.org>
Bug 557087 – mem leak in g_content_types_get_registered
* gio/gcontenttype.c: Plug a mem leak.
2008-10-19 Michael Natterer <mitch@imendio.com>
Bug 556186 – gpoll.h breaks gmain.h inclusion
* glib/gpoll.h: different fix: disallow direct inclusion
unconditionally again but make an exception if included from
gmain.h to maintain compatibility.
2008-10-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version to 2.19.1
* === Released 2.19.0 ===
* NEWS: Updates
2008-10-14 Christian Persch <chpe@gnome.org>
Bug 556186 – gpoll.h breaks gmain.h inclusion
* glib/gpoll.h: Only disallow direct inclusion when
G_DISABLE_SINGLE_INCLUDES is defined.
2008-10-13 Sven Herzberg <sven@imendio.com>
Bug 556101 – static mutex yields warnings with g++
Reviewed by Tim Janik
* configure.in: added an intermediate cast to gpointer
2008-10-13 Christian Persch <chpe@gnome.org>
Bug 555311 – format not a string literal and no format arguments
* glib/gmarkup.c:
* glib/gshell.c: Use literal errors where appropriate.
2008-10-10 Behdad Esfahbod <behdad@gnome.org>
Bug 551355 – [PATCH] Make glib build with libtool 2.2
* autogen.sh: Accept libtool 2.2. We are moving towards having
it working.
2008-10-10 Behdad Esfahbod <behdad@gnome.org>
* configure.in: With libtool 2.x, regenerate libtool early.
Based on bug 552107, patch by Patryk Zawadzki
2008-10-10 Matthias Clasen <mclasen@redhat.com>
Bug 554557 – Patch to fix gcc warnings about missing format
specifiers
* glib/gmarkup.c:
* glib/gshell.c:
* glib/grel.c: Fix gcc warnings. Patch by Kjartan Maraas
2008-10-10 Matthias Clasen <mclasen@redhat.com>
Bug 552861 – glib-2.0.m4 calls system(3) without storing its result
* m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
Patch by Andreas Köhler
2008-10-08 Christian Persch <chpe@gnome.org>
Bug 555313 – GFileAttribute boxed type get_type function should
use usual get_type pattern
* gio/gfileattribute.c (g_file_attribute_info_list_get_type): Use
g_once_init_enter/leave.
2008-10-08 Christian Persch <chpe@gnome.org>
Bug 555314 – mem leak in gmarkup
* glib/gmarkup.c: (g_markup_parse_context_parse): Plug a mem leak.
2008-10-08 Tor Lillqvist <tml@novell.com>
Bug 554790 - g_convert() misbehaves with winiconv versions
* glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
explicitly check for and reject 8bit chars. MultiByteToWideChar()
doesn't, at least not on XP.
2008-10-06 Matthias Clasen <mclasen@redhat.com>
* glib/gtypes.h: Properly include gmacros.h
2008-10-06 Behdad Esfahbod <behdad@gnome.org>
Bug 555309 – giochannel breaks on error
Patch from Christian Persch
* glib/giounix.c (g_io_unix_read), (g_io_unix_write),
(g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags):
Don't shadow err. Oops!
2008-10-06 Christophe Fergeau <teuf@gnome.org>
Bug 555224 – Improve g_format_size_for_display doc
* glib/gfileutils.c: change g_format_size_for_display API doc to
explicitly say that the returned string has to be freed. Change
spelling of "newly allocated" to "newly-allocated" in g_file_read_link
API doc to be more consistent with what is done in that file.
2008-10-01 David Zeuthen <davidz@redhat.com>
* README.in: Add "Notes about glib 2.20" section detailing the
ramifications of the patch from bug #528670.
2008-09-30 Behdad Esfahbod <behdad@gnome.org>
Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X
* glib/giounix.c (g_io_unix_read), (g_io_unix_write),
(g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
(g_io_unix_get_flags), (g_io_channel_new_file):
Like mclasen says: "well, thats the way errno works...,
save it or loose it". Save errno.
2008-09-30 Tor Lillqvist <tml@novell.com>
* Makefile.decl
* glib/tests/Makefile.am: Bypass gtester related stuff on Windows.
2008-09-30 Tor Lillqvist <tml@novell.com>
* glib/gprintf.c
* glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
as _GNU_SOURCE has unintended side effects when compiling against
newest mingw headers.
2008-09-26 Dan Winship <danw@gnome.org>
Bug 553447 – g_assert_no_error()
* glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
assert that a GError is not set, or else is set to a particular
error.
* glib/gtestutils.c (g_assertion_message_error): utility for
those macros
* glib/tests/keyfile.c:
* tests/asyncqueue-test.c:
* tests/bookmarkfile-test.c:
* tests/convert-test.c:
* tests/file-test.c: Use g_assert_error/g_assert_no_error
2008-09-26 Dan Winship <danw@gnome.org>
* glib/gthreadpool.c (wakeup_thread_marker): make this a "const
gpointer" rather than a gconstpointer to avoid warnings later
* glib/pcre/pcre_ucp_searchfuncs.c:
* glib/pcre/pcre_valid_utf8.c: #include "config.h"
* glib/tests/printf.c (test_d): fool gcc into not warning about
some printf format strings that we know are dubious
2008-09-26 Matthias Clasen <mclasen@redhat.com>
Bug 553857 – gbacktrace.h requires signal.h
* glib/gbacktrace.h: Include signal.h for raise().
Pointed out by Sebastien Bacher
2008-09-26 Matthias Clasen <mclasen@redhat.com>
Bug 553724 – python interpretter path not patched in correctly
* glib/Makefile.am: Fix the sed magic to replace python.
2008-09-26 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c: Add some more docs.
* glib/giochannel.c: Move more docs inline, and improve them
on the way.
2008-09-25 Tor Lillqvist <tml@novell.com>
Bug 553820 - gpoll.c: undeclared identifier
* glib/gmain.c
* glib/gpoll.c: Make the g_poll() function non-static also on
Windows. Prefix an underscore to the g_main_poll_debug variable
and make it non-static in gmain.c so that it can be used in
gpoll.c. Add back missing variable declaration.
2008-09-25 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly):
Just ignore the child_setup function, never call it. The is no
situation in which it could be useful on Windows. Do print a
warning, like before.
* glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change
in documentation.
2008-09-24 Sven Herzberg <sven@imendio.com>
Be a little more explcit in the docs. Includes Owen's requested
changes.
* glib/gmain.c: improved documentation for g_source_attach() and
g_source_destroy()
2008-09-23 Michael Natterer <mitch@imendio.com>
* glib/glib.h: #include <glib/gpoll.h>
* glib/gpoll.h: #error out if gpoll.h is included directly.
* glib/gpoll.c: remove trailing whitespace.
2008-09-23 Dan Winship <danw@gnome.org>
* glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part
of the public API. (Part of Bug 505361 - gunixinputstream.c assumes
poll() available.)
2008-09-23 Tor Lillqvist <tml@novell.com>
* glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
passing an incorrect third parameter to memmove(), had forgotten
to multiply by the size of the table entry. Just use a for loop
instead, clearer. Odd I didn't notice when testing this code.
2008-09-19 Hans Petter Jansson <hpj@novell.com>
Rewrite most of GHashTable to use open addressing with quadratic
probing instead of chaining. This has the potential to reduce memory
fragmentation significantly, while being slightly faster due to
better locality and no need to call alloc/free functions for nodes.
Benchmarks suggest it also uses less memory overall.
* glib/ghash.c (prime_mod): Table of suitable primes for
initial-probe distribution.
(g_hash_table_set_shift): New function.
(g_hash_table_find_closest_shift): New function.
(g_hash_table_set_shift_from_size): New function.
(g_hash_table_lookup_node_for_insertion): New function.
(g_hash_table_lookup_node): Rewritten to return node index instead of
pointer, use quadratic probe on flat table, and not return insertion
data. The latter saves some computation for read-only lookups.
(g_hash_table_remove_node): Rewrite to take a pointer directly to the
node structure to remove, and clear that. Remove unlinking code.
(g_hash_table_remove_all_nodes): Rewrite to not clear nodes
individually, but en masse using memset () after potentially calling
notify functions.
(iter_remove_or_steal): Use new data structure and algorithm. Vastly
simplified - now just a call to g_hash_table_remove_node ().
(g_hash_table_resize): New resize code, re-indexing with new prime
and cleaning up tombstones.
(g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
than 1/4 load excluding tombstones, and no more than 15/16 load
including tombstones. These numbers are the results of a lot of
benchmarking with multiple complex applications, and should not be
changed lightly.
(g_hash_table_iter_next)
(g_hash_table_lookup)
(g_hash_table_lookup_extended)
(g_hash_table_insert_internal)
(g_hash_table_remove_internal)
(g_hash_table_foreach_remove_or_steal)
(g_hash_table_foreach)
(g_hash_table_find)
(g_hash_table_get_keys)
(g_hash_table_get_values): Use new data structure and algorithm,
fairly trivial changes.
2008-09-19 Tor Lillqvist <tml@novell.com>
* glib-zip.in: Look for man pages in share/man.
* glib/gutils.c (_glib_get_dll_directory)
* glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
restrictive, look for the helper programs in the same folder where
the GLib DLL is, not necessarily in a "bin" subfolder of the top
GLib installation folder.
2008-09-18 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version to 2.19.0
* ChangeLog.pre-2-18: rotate ChangeLog
* === branch for 2.18 ===
Overview of Changes from GLib 2.18.3 to GLib 2.18.4
===================================================
* Bugs fixed:
562378 callback return value not respected...
559110 Do not include libintl.h after glibintl.h
562562 glib-2-18 branch does not build because...
566348 g_file_open_tmp uses the wrong g_mkstemp on win32
564210 SUN Studio 12 has supported visibility attribute
567138 get_package_directory_from_module() does not free...
561807 inotify_sub.c :: dup_dirname() fails to remove trailing '/'
562393 g_buffered_input_stream_read_byte broken if data available
541715 patch for warnings and signature problems in recent code
547481 g_data_input_stream_read_line behaves not as stated...
548163 Nautilus displays wrong error message for too long filenames
559633 gtk_image_new_from_gicon does not always work...
526320 should not list mounts that the user doesn't have permission
558458 Cannot build gio tests on Solaris using SUN c
558298 Hide ecryptfs mounts
515777 incorrect date&time on copy
566064 Add NOATIME flag to query_info_flags
565484 g_content_type_guess passes non-UTF8 text to XDG functions
Remove an ancient workaround for gcc2 on sparc64.
XXX: I don't get why options.mk is not included on HPUX and OSF1;
it could pull in the fam package like on other platforms, or just default
fam to off on those platforms if the fam package does not work on those
platforms.
Overview of Changes from GLib 2.18.2 to GLib 2.18.3
===================================================
* Build with libtool 2.x
(Seems to work fine with pkgsrc libtool though, at least for now)
* Bugs fixed:
557087 mem leak in g_content_types_get_registered
558185 'parent' variable in g_local_file_get_child_for_display_name()
hits g_object_unref(NULL) assertion
557210 g_compute_checksum_for_* asserts with less than 2 bytes
528320 Incorrect icons displayed for files with custom mimetype icons
557592 Missing include in gwinhttpfile.c
556415 Crash on Windows 2000 in g_winhttp_vfs_init()
556910 Memory leak: sub
561352 Leak of icon description
561375 Leaks mountpoint description
560569 gkeyfile doesn't use the set list_separator in some cases
560568 gkeyfile docs buglet
559413 g_option_group_set_error_hook docs buglet
* Updated translations:
Arabic (ar)
Overview of Changes from GLib 2.18.1 to GLib 2.18.2
===================================================
* Bugs fixed:
553724 python interpreter path not patched in correctly
553857 gbacktrace.h requires signal.h
554790 g_convert() misbehaves with winiconv versions
555314 mem leak in gmarkup
554970 segfault when update-desktop-database is not available...
555121 Improved build-time handling of gio module-dir
555711 Wrong fallback order of mimetype icons
556334 Warning when building without selinux support
* Updated translations:
Arabic (ar)
Danish (da)
Estonian (et)
Gujarati (gu)
Norwegian (nb)
Polish (pl)
Brazilian Portugese (pt_BR)
Romanian (ro)
Russian (ru)
Serbian (sr)
Tamil (ta)
===================================================
* Bugs fixed:
550433 g_test_init doesn't recognize --help
523463 Core dump in gmain.c:2482:IA__g_main_context_check
551228 G_STRFUNC on recent Sun compiler should be expanded...
551410 gtestutils.c: using printf without prototype
551731 g_date_set_time[_t] docs should mention what timezone
548321 <string.h> is not included in gi18n-lib.h
551149 xdgmime mem leak
550647 synchronous pipe I/O when reading mount reply
551887 Docs for g_desktop_app_info_new_from_filename aren't...
551681 g_content_type_guess() too naive with filenames
552352 g_app_info_launch doesn't work if "Path" key...
551408 gmodule.def generated to builddir...
552359 g_file_info_get_icon should return GThemedIcon, and...
Also updated translations.
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)
Overview of Changes from GLib 2.16.3 to GLib 2.16.4
===================================================
* Bug fixes:
528752 Win32 build and SSL not working
539074 Cannot get exit status with g_spawn_command_line_sync()
316221 G_LOCK warns about breaking strict-aliasing rules
519137 g_slice_dup macro needs cast for 64-bit platform
536158 also bump GHashTable version when a node is removed via
g_hash_table_iter_remove()/g_hash_table_iter_steal()
529321 make check fails in glib/pcre
314453 Nautilus crashes in Solaris when browsing the attached
file
502511 g_assert_cmphex prints invalid message
538119 glib's mainloop leaks a pipe to sub-processes
540459 there are no way of getting the real number of bytes
written in GMemoryOutputStream
540423 unrecoverable error after g_seekable_truncate(seekable,0,...)
530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0
528600 g_dummy_file_get_parent("scheme://example.com/")
536641 Filesystem querying in gio does not list AFS and autofs
file systems
537392 Additional colon in xattr name
528433 gdesktopappinfo snafu ...
526320 should not list mounts that the user doesn't have permiss...
527132 nautilus crash when making ftp connection
532852 totem_pl_parser_parse_with_base: assertion `...
459905 Bug in wcwidth data
534085 g_unichar_iswide_cjk() has a totally wrong table
is not equal to zero. On NetBSD, wd0a has major and minor number 0,
so that assumption doesn't hold.
Tested, and reported upstream, by Jared D. McNeill. (gnome bug #530196)
Also reported as NetBSD PR pkg/38518.
bump PKGREVISION
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.
changes:
-update bundled PCRE to 7.6, which fixes a buffer overflow
-translation updates
pkgsrc note: since we use pkgsrc pcre, this update is a rather
cosmetical one
Overview of Changes from GLib 2.14.4 to GLib 2.14.5
===================================================
* Bugs fixed:
482313 gregex: no way to tell why compilation failed
315437 extern inline -> static inline
480122 g_module_open fails to open modules with ".la" extension
495589 gspawn.c failing to set FD_CLOEXEC
500638 gkeyfile speedup ...
503029 g_time_val_from_iso8601 parse non-ISO8601 dates
503420 gkeyfile leaks a hash table
even if present; the purpose was to allow use of both malloc
implementations of NetBSD-current, but since other pkgs are picking up
posix_memalign(3) too, and NetBSD-current will deal with the binary
compatibility problem, this is getting pointless
-comment out 2 selftests which depend on nonstandard behaviour of
GNU iconv(3) -- the code itself works as documented
ride on recent update
Overview of Changes from GLib 2.14.3 to GLib 2.14.4
===================================================
* Bugs fixed:
494602 builddir != srcdir build broken
492677 Misprint in specification of the interface "g_spawn_async...
490061 outptrs uninitialized after g_parse_long_long
418778 Insufficient pkg-config version requirement
467537 g_convert_with_iconv() not resetting iconv() state correc...
466557 glib-mkenums shifts ARGV[0] to undefined
490637 gobject documentation patch
445362 Non-numeric local labels in gatomic.c are causing linker ...
498113 tests/regex-test fails on 64bit environment
498728 g_key_file_get_*_list should set length to 0 when returni...
469551 application --help messages are garbaged on none UTF-8 lo...
changes:
-update the bundled PCRE from 7.2 to 7.4
-minor bugfixes
-translation updates
pkgsrc changes:
-don't use the bundled PCRE anymore, use pkgsrc's
-try to work around some ld.so lossage on NetBSD (which leads to some
applications - most notably evolution and glade3 - not resolving symbols
in dynamically loaded plugins) another way: use the RTLD_DEFAULT
pseudo-handle when the main module is referred to. This could replace
the previous mechanism, but it needs more investigation and tests, so
I'm leaving both in parallel for now.
-"configure" decided to add libintl to LDFLAGS per default, this made
the test for libintl.so/gettext always succeed. Use libm.so/sin
for the test instead.
-Fix a trivial typo introduced recently which caused the test result
to be ignored.
Now some applications behave better, but not perfect because jmmv's
workaround can't deal with libraries loaded by dlopen'd objects.
Overview of Changes from GLib 2.14.1 to GLib 2.14.2
===================================================
* Bugs fixed:
476849 Invocation of the interface "g_hook_free" fails in certai...
359165 marshallers can throw warnings with -Wunused
477957 more discussion on g_value_set_object vs. g_value_take_ob...
478459 G_DEFINE_DYNAMIC_TYPE_EXTENDED doesn't work with G_IMPLEM...
483337 inline is disabled for MSVC when compiling C code
478349 Broken link to gettext website
469231 g_spawn optimization for setting all open fds to CLOEXEC
* Updated translations:
Arabic (ar)
Galician (gl)
Hebrew (he)
Korean (ko)
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.12 to GLib 2.12.13
=====================================================
* Unicode support:
- Update to Markus Kuhn's updated wcwidth for Unicode 5.0
* Bugs fixed:
454473 Simple XML Subset Parser terminates on invalid XML
443869 g_type_class_add_private doesn't warn when adding 0-sized...
447583 GStaticRWLock
341988 don't use "-c" with msgfmt in Makefile.in.in
Overview of Changes from GLib 2.12.11 to GLib 2.12.12
=====================================================
* Bug fixes:
418862 g_base64_decode will give critical warning when first par...
356843 "make check" fails if /bin/sh is pdksh
418217 g_unichar_toupper/_totitle broken for single to multiple ...
432895 param_string_validate() frees and modifies static strings
420686 g_key_file_to_data alters original data
* Translation updates: (da,es,eu,gl,ja,ro,ru,sr,
sr@Latn,ta,zh_CN)
Overview of Changes from GLib 2.12.8 to GLib 2.12.9
===================================================
* Fix an unintended ABI break in the 2.12.8 release
* Bugs fixed:
397139 glib-2.12.8 breaks ABI
Overview of Changes from GLib 2.12.7 to GLib 2.12.8
===================================================
* Due to an oversight, GLib has been linked against
libpthread since 2.12.2. This has been fixed by
moving the monotonic timer support into gthread.
* Bugs fixed:
393812 glib links against pthread
394258 gthread.c: illegal include order
394641 Undefined reference in gthread
394150 gettime implementation breaks compilation on darwin 6
395203 g_timer_elapsed off by 2 order of magnitude
394262 image/* mimetype breaks stuff
392636 glib-2.0.m4 ignores PKG_CONFIG environment variable
395419 Glib-2.12.7 with mingw(w32api-3.8/windows) fails to compi...
329031 G_GNUC_INTERNAL fails with gcc-2.95
* Updated translations (ar,bg,ca,it,nl,th)
changes:
-portability fixes
-bugfixes
-translation updates
-Make GKeyFile accept keys that are commonly used
-some consistency checks added
-deal with double-width and zero-width characters in --help output
based on wiz's work
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.2 to GLib 2.12.3
===================================================
* Use Posix monotonic clocks instead of gettimeofday()
for GTimer when available.
* Make the construction of singleton objects work
witout warnings.
* Bugs fixed
351583 API documentation issues with 2.15 release
336114 desktop locks immediately after changing
the system clock
351853 GKeyFile creates non-UTF-8 error messages
* Translation updates (fr,hu,ja,ku,lt,lv,ml,or,
pt,ru,sv,vi,zh_CN)
Overview of Changes from GLib 2.12.1 to GLib 2.12.2
===================================================
* Unicode updates:
- Normalization is following Unicode TR #29
- g_unichar_isxdigit() only accept characters
for which g_unichar_xdigit_value() returns a value
- g_unichar_toupper and g_unichar_tolower leave
unconvertable characters in place instead of
replacing them by NUL
* Bugs fixed
348491 g_utf8_strup() and g_utf8_strdown() returns
string with NUL bytes
349825 GKeyFile always inserts a newline before a group
347842 g_unichar_isxdigit() is too general about what
it considers a digit
348694 g_utf8_normalize() hasn't been updated to PR #29
348785 Hint about G_DEBUG in Message Logging docs
349792 Wrong english string (UI)
349952 gparamspecs.c uses gcc feature
* Translation updates (ca,cs,de,dz,es,eu,fi,gu,ko,
nl,pl,tr,uk,zh_HK,zh_TW)
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)
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
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)
The configure script needs to use the c++ compiler to correctly setup the
glibconfig.h for handling of VARARGS when being included from c++ programs,
otherwise builds can fail. eg. when using SunWorkshop CC on Solaris and
compiling arts.
Bump PKGREVISION.
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)
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
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.3 to GLib 2.8.4
=================================================
* Support aborting on critical warnings by setting
G_DEBUG=fatal_criticals in the environment
[Vincent Untz]
* Bug fixes [Sebastien Bacher, Tor Lillqvist,
Manish Singh, Morten Welinder, Andy Wingo]
* Documentation improvements [Steffen Gutmann,
Christophe Fergeau]
* Translation updates (he,ja,nl,th)
Overview of Changes from GLib 2.8.2 to GLib 2.8.3
=================================================
* Fix an error that crept in with a change to
glib-mkenums in 2.8.2 [Matthias]
* Documentation improvements [Davyd Madeley]
* Translation updates (bn)
[Same test failure on 3.99.9 as with 2.8.2.]
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)
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
data loss in libgobject, causing all kinds of annoying glitches in almost
all gtk2-applications (in words of macallan@, who requested this change).
Bump PKGREVISION to 1.
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)
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
Add condition for FreeBSD >= 5 then use -lpthread.
I assume the previous -Wc,-lc_r was for 4.x and I keep it there.
(Sorry if I break this for others using FreeBSD. I didn't get much
feedback when posted to tech-pkg in May about this.)
I noticed this when building audio/arts on FreeBSD 5.3-RELEASE:
Fatal error 'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Bump PKGREVISION since this changes the resulting package for FreeBSD.
(Todo: pkgsrc/mk/pthread.builtin.mk or pkgsrc/mk/pthread.buildlink3.mk
can be improved so this workaround can be removed.)
* 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)
Noted on tech-pkg today that older packages had libgobject-2.0.so.400
and libglib-2.0.so.400 and newer packages provided
libgobject-2.0.so.0.600.3 and libglib-2.0.so.0.
The libtool changes on Sept. 22, 2004 made this install different
library naming. The next update was in 2.6.1 (on January 9, 2005).
So setting BUILDLINK_RECOMMENDED.glib2 to that version.
Apparently, 2.6 is binary-compatible with any 2.x version.
Hopefully, this will be good enough to force anyone with glib2 packages
from before Sept. 22, 2004 to update.
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)
While here, get rid of the XDG path specification madness and use the
installation prefix to locate stuff instead of a nonsense hardcoded
path. Note that this is not pkgviews friendly (not a problem because
the previous behavior wasn't even). This makes applications work out
of the box (well, there are still some hardcoded paths in other
packages that have to be discovered), without any need to set an
environment variable.
* GOption
- Make gtk_init(NULL, NULL) work again [Marcin Krzyzanowski]
- Improve handling of -- [Matthias Clasen]
- Don't show G_OPTION_REMAINING in --help output [Matthew F. Barnes]
* g_find_program_in_path() doesn't return directories [Tommi Komulainen]
* Add gmodule-export-2.0.pc [Matthias]
* Win32 changes
- Improve hangling of UNC paths [Tor Lillqvist]
- g_getenv(), g_setenv(), g_unsetenv(), g_find_program_in_path()
take and return UTF-8 now [Tor]
- Make g_file_test() work more reliably, and use PATHEXT
when check for executables [Tor]
- Build and cross-compilation fixes [J. Ali Harlow]
* Other bug fixes [Jens Hatlak, Morten Welinder,
Tor, Kalpesh Shah, Adrian Bunk
* Documentation improvements [Marcin Krzyzanowski, Tor, Crispin
Flowerday, Mariano Suárez-Alvarez, Christian Biere, Danny Milo,
Vincent Untz, Bastien Nocera
* New and updated translations (cy,de,nl,ru,sq,sv)
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
* Reduce signal connection complexity from O(n) to O(1) [Sven Neumann]
* GChildWatch
- Use sigaction instead of signal [Jonas Jonnson, Archana Shah]
- Make the very first SIGCHLD work [Gustavo Carneiro]
* Win32 bug fixes [Tor Lillqvist, Bruce Hochstetler]
* Other bug fixes [Andrea Campi, Dave MacLachlan]
we don't add -pthread to CFLAGS. Also, pkgsrc libtool on NetBSD will
do the right thing with respect to pthreads, so we don't need to use the
hack in the configure script.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
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)
Add a workaround for broken dlopen(NULL, 0) implementations, like NetBSD's
one, which don't search in modules opened at runtime to locate symbols
requested through the global handle. The workaround consists in querying
all open modules (not just the main one) when finding a symbol through the
global handle.
This should be fixed in NetBSD, but the check and workaround are needed to
let this work on not-so-old versions of it. The patch has been submitted
to glib developers, too.
This problem exposes, at least, in evolution's settings dialog, where many
widgets can't be created because of missing functions.
and caused lots of obscure problems in programs loading plugins (specially,
gstreamer).
The problem is that the check in the configure script tries to dlopen the
libpthread.so library, but the test program is not linked against libpthread
itself. So it crashes, because this is not supported in NetBSD (the program
was "initialized" as a non-threaded one). I've changed the test program to
use libintl, which seems to work fine.
Bump PKGREVISION to 1.
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.
"configure" script which otherwise picks "-pthreads" as the compiler
option for POSIX's Threads.
The real problem is probably that the buildlink3 framework passes
"-pthread" as a compiler option to "configure" and therefore defeats
the probes in the "configure" script. But that's hard to fix.
by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.