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.