+2007-04-15 Tor Lillqvist <tml@novell.com>
+
+ * build: Include the build module using the svn:externals
+ mechanism.
+
+ * Makefile.am
+ * configure: Add the references to build back.
+
+2007-04-11 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gspawn.c (g_spawn_async): Fix a doc typo. (#427285,
+ Jochen Baier)
+
+2007-04-11 Emmanuele Bassi <ebassi@gnome.org>
+
+ * glib/ghash.[ch]: Add g_hash_table_get_keys() and
+ g_hash_table_get_values(), API to retrieve the keys
+ and values inside an hash table in list form. (#413133)
+
+ * glib/glib.symbols: Update symbols.
+
+ * tests/hash-test.c: Exercise newly added functions.
+
+2007-04-11 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Use CFLAGS/LDFLAGS in addition to
+ PCRE_CFLAGS/PCRE_LIBS when checking system PCRE. (#421607,
+ Paul Jarc)
+
+2007-03-27 Emmanuele Bassi <ebassi@gnome.org>
+
+ * glib/gdate.h: Remove old comment and forward declaration of
+ struct tm: gdate.h includes time.h now.
+
+2007-03-23 Matthias Clasen <mclasen@redhat.com>
+
+ * tests/gobject/Makefile.am: Handle $RANDOM missing. (#356843,
+ Paul Jarc)
+
+2007-03-22 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/guniprop.c: Fix corner-cases of upper/lowercase conversion.
+ (#418217, Denis Jacquerye)
+
+2007-03-22 Chris Wilson <chris@chris-wilson.co.uk>
+
+ * glib/gkeyfile.c: Track whether the last key=value pair in a group
+ is a blank line and during to_data() only insert a new blank line
+ betweens group in its absence. This allows the beautification of the
+ GKeyFile and prevents newlines being inserted indefinitely. (#420686)
+
+ * tests/keyfile-test.c (test_reload_idempotency): Test that after a
+ single beautification pass, g_key_file_to_data() does not alter its
+ input data.
+
+2007-03-21 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/pcre/Makefile.am: Make builddir != srcdir work. (#419900)
+
+2007-03-19 Paolo Borelli <pborelli@katamail.com>
+
+ * glib/gutf8.c (fast_validate_len): remove unneeded checks.
+
+2007-03-18 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gregex.c: Cosmetic fixes
+
+2007-03-17 Marco Barisione <marco@barisione.org>
+
+ * glib/update-pcre/table-reduction.patch:
+ * glib/update-pcre/make_utt.py:
+ * glib/update-pcre/utt.patch: Add forgotten files
+
+ * glib/update-pcre/update.sh: Call python directly instead of relying
+ on shebang. Also copy the changes from glib/pcre/makefile.msc to this
+ file
+
+2007-03-17 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in glib/pcre/makefile.msc
+ glib/update-pcre/update.sh : define PCRE_STATIC to reflect the
+ inclusion of pcre as LIB, not stand-alone DLL. Also set NEWLINE=-1
+ to match any newline by default, use of ../../build/win32/make.msc
+
+ * glib/gregex.h : minimal includes of <glib/*.H> instead of <glib.h>
+
+ * glib/gnulib/makefile.msc : make use of ../../build/win32/make.msc
+
+ * tests/regex-test.c(verbose): don't pass a string containing '%'
+ as first parameter to g_print ()
+ (test_match) : for the unexpected case output pattern and string
+ escaped
+
+ * tests/child-test.c tests/slice-color.c : fix c99ism
+ * tests/slice-test.c : fix c99ism and gccism
+ * tests/mapping-test.c tests/base-64-tests.c : don't
+ #include <unistd.h> unconditionally
+ * tests/option-test.c : use G_GINT64_CONSTANT() instead of direct LL
+
+ * tests/makefile.msc.in : more tests build
+
+2007-03-17 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gsequence.[hc]:
+ * glib/glib.symbols:
+ * tests/sequence-test.c: Move the consistency
+ checks to the test.
+
+2007-03-16 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Bump version
+
+ * === Released 2.13.0 ===
+
+ * NEWS: Updates
+
+2007-03-16 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols:
+ * glib/gsequence.h: Add the test function to the header,
+ since it is exported.
+
+ * glib/gbase64.c (g_base64_decode): Warn if the input
+ is too short. (#418862, Halton Huo)
+
+Fri Mar 16 11:24:51 2007 Tim Janik <timj@imendio.com>
+
+ * glib/gscanner.[hc]: reverted premature commit which broke
+ GScanner ABI and API, #415323.
+
+2007-03-16 Chris Wilson <chris@chris-wilson.co.uk>
+
+ * glib/gkeyfile.c: Convert to GSlice and check for redundant
+ clears. (#418637)
+
+2007-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gscanner.[hc]: Revert recent changes that break
+ existing users of GScanner.
+
+2007-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gscanner.c (g_scanner_get_token_ll): Fix a typo
+ in the last commit. (#415323, Richard Hult)
+
+2007-03-15 Tor Lillqvist <tml@novell.com>
+
+ * glib/gnulib/Makefile.am (INCLUDES): Add -I$(top_srcdir)/glib so
+ that gregex.h finds <glib.h>.
+
+ * glib/update-pcre/Makefille.am-1: Add -DGLIB_COMPILATION so that
+ we don't think g_ascii_table is dllimport.
+
+ * glib/pcre/Makefile.am: Corresponding change.
+
+ * glib/update-pcre/notdll.patch: New file. Drop
+ dllimport/dllexport magic for the pcre symbols.
+
+ * glib/update-pcre/Makefile.am: Dist it.
+
+ * glib/update-pcre/update.sh: Apply notdll.patch.
+
+ * glib/pcre/pcre.h: Corresponding change.
+
+2007-03-15 Tor Lillqvist <tml@novell.com>
+
+ * glib/gtypes.h: Add comment to avoid misleading people with the
+ large number of digits in G_PI etc. (#404338)
+
+2007-03-15 Tor Lillqvist <tml@novell.com>
+
+ * config.h.win32.in: Update to match what configure produces.
+
+2007-03-15 Marco Barisione <marco@barisione.org>
+
+ Add GRegex for regular expression matching. (#50075)
+
+ * configure.in: Handle GRegex compilation.
+
+ * glib/gregex.c:
+ * glib/gregex.h: Code for GRegex.
+
+ * glib/Makefile.am:
+ * glib/makefile.msc.in: Updated makefiles.
+
+ * glib/pcre/*: Internal copy of PCRE.
+
+ * glib/update-pcre/*: Stuff to automatically update the internal PCRE
+ to a newer version.
+
+ * tests/regex-test.c:
+ * tests/Makefile.am:
+ * tests/makefile.msc.in: Add tests for GRegex.
+
+2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
+
+ * glib/gmain.c (g_main_dispatch): Replace a
+ g_slist_prepend/g_slist_remove pair with an on-stack link
+ and open coding. (#416094)
+
+2007-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ Fix two glitches in the Unicode case conversion
+ functions (#418217, Denis Jacquerye)
+
+ * glib/guniprop.c (g_unichar_toupper): Handle zero entries
+ in special_case_table correctly.
+ (g_unichar_totitle): Fall back to g_unichar_toupper.
+
+2007-03-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gscanner.[hc]: Some optimizations, use a lookup
+ table for character classes, pre-allocate GStrings with
+ reasonable sizes. (#415323, Charlie Brej)
+
+2007-03-14 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_get_double): Fix a
+ small typo. (#417847, Bobby Jack)
+
+2007-03-08 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gstrfuncs.c (g_strtoll): Return negative values.
+ (#416062)
+
+ * tests/strtoll-test.c: Add more testcases.
+
+2007-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gstring.c (g_str_equal): Clarify docs. (#364026,
+ Bastian Nocera)
+
+2007-03-06 Matthew Barnes <mbarnes@redhat.com>
+
+ * glib/gqueue.h:
+ * glib/gqueue.c: Add G_QUEUE_INIT, g_queue_init(), and
+ g_queue_clear() to better support statically allocated
+ queues. (#413244)
+
+2007-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_parse_value_as_boolean):
+ Remove a NULL check that didn't do any good. (#360904,
+ Paolo Borelli)
+
+2007-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gmarkup.c (g_markup_parse_context_parse): Report
+ more accurate position for invalid UTF-8. (#350802,
+ Simon Budig)
+
+2007-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gbase64.c: Add NULL checks to the base64
+ functions that take pointers. (#399611, Martyn Russell)
+
+2007-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ Work with Solaris gettext (#341988, Laszlo Peter)
+
+ * m4macros/glib-gettext.m4: Make GLIB_WITH_NLS define
+ MSGFMT_OPTS if msgfmt supports -c.
+
+ * po/Makefile.in.in: Use MSGFMT_OPTS when calling
+ msgfmt.
+
+2007-03-06 Matthias Clasen <mclasen@redhat.com>
+
+ * tests/Makefile.am: Apply a patch by Loïc Minier
+ to fix building with -Wl,-z,defs. (#149144)
+
+2007-03-03 Thierry Randrianiriana <randrianiriana@gmail.com>
+
+ * po/mg.po: Added Malagasy translation.
+ * configure.in: Added Malagasy 'mg' to ALL_LINGUAS
+
+2007-03-01 Ihar Hrachyshka <iharh@gnome.org>
+ * configure.in: Added be@latin to ALL_LINGUAS.
+
+2007-02-17 Tor Lillqvist <tml@novell.com>
+
+ * glib/gdate.c (win32_strftime_helper): New Win32-only
+ function. Use the wide character Win32 API to do the work of
+ strftime(): GetThreadLocale(), GetLocaleInfoW(), GetDateFormatW()
+ and GetTimeFormatW().
+ (g_date_strftime): On Windows use win32_strftime_helper()
+ instead of strftime() to avoid codepage issues with strftime().
+ Unfortunately using wcsftime() would not help either. (#404832)
+
+2007-02-16 Soren Sandmann <sandmann@redhat.com>
+
+ * tests/sequence-test.c: For move, test moving between two
+ sequences. Add test for swap.
+
+ * glib/gsequence.c: Replace splay tree with a treap.
+ (check_node): Add checks for the treap invariants.
+
+2007-02-10 Hans Breuer <hans@breuer.org>
+
+ * glib/makefile.msc.in : added gsequence.obj
+
+Fri Feb 9 17:46:18 2007 Søren Sandmann <sandmann@redhat.com>
+
+ * glib/gsequence.c (g_sequence_get_end_iter): Remove assertion.
+ * glib/gsequence.c (is_end): Return TRUE if the iter doesn't have
+ a parent.
+ * glib/gsequence.c: Fix grammar of comment.
+ * glib/gsequence.c (node_update_fields): Use a temporary variable
+ for the n_nodes.
+
+2007-02-07 Soren Sandmann <sandmann@daimi.au.dk>
+
+ * tests/sequence-test.c (compare_items): Force an arbitrary order
+ on otherwise identical items.
+
+ * glib/gsequence.c: Add comment discussing splay trees vs. other trees.
+ * glib/gsequence.c (is_end): Add fast path for the common case
+ when the node is not actually the end node.
+
2007-02-05 Soren Sandmann <sandmann@daimi.au.dk>
* glib/gsequence.c (g_sequence_sort_iter): Don't prohibit access
implemented using a binary tree.
* glib/glib.h, glib/glib.symbols: Update for GSequence.
* docs/reference: Add documentation for GSequence
- * tests: Add sequence-test.c, a thorough test of all of
+ * tests: Add sequence-test.c, a thorough test of all of
the GSequence API.
2007-01-30 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c:
* glib/gutf8.c: Move G_GNUC_INTERNAL uses to the right
- spot.
+ spot.
2007-01-26 Matthias Clasen <mclasen@redhat.com>
* gmem.c:
* gslice.c:
* gmessages.c:
- * gutils.c: Make some structs which are used only once
- non-static.
+ * gutils.c: Make some structs which are used only once
+ non-static.
2007-01-24 Benjamin Otte <otte@gnome.org>
2007-01-23 Matthias Clasen <mclasen@redhat.com>
* glib/gutf8.c (g_utf8_get_char_validated): Clarify
- the behaviour is max_len is zero. (#400044,
+ the behaviour is max_len is zero. (#400044,
Benjamin Dauvergne)
2007-01-23 Matthias Clasen <mclasen@redhat.com>
* glibconfig.h.win32.in
* README.win32: More minor tweaks for Digital Mars
compiler. (#346808, Serhat Sevki Dincer)
-
+
2007-01-17 Tor Lillqvist <tml@novell.com>
* glib-zip.in: DLLs are always installed in "bin" with current
* configure.in: Make G_GNUC_INTERNAL a no-op for
gcc 2.95. (#329031, David Schleef, Marc Brockschmidt)
-
+
2007-01-12 Matthias Clasen <mclasen@redhat.com>
* gthread/gthread-posix.c:
* glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys,
too. (#394262)
-
+
2007-01-09 Behdad Esfahbod <behdad@gnome.org>
* glib/gutils.h: Use a more optimized g_bit_storage() when gcc is
2007-01-07 Matthias Clasen <mclasen@redhat.com>
Don't link glib against libpthread. (#393812)
-
+
* configure.in: Link gthread against librt, not glib itself.
* glib/gthread.h:
* gthread/gthread-impl.c:
* gthread/gthread-posix.c:
* gthread/gthread-win32.c: Implement gettime.
-
+
2007-01-07 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-2.0.m4: Use PKG_PROG_PKG_CONFIG. (#392636,
2007-01-02 Matthias Clasen <mclasen@redhat.com>
- * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
+ * glib/gbookmarkfile.c (g_bookmark_file_get_app_info):
Return an error if the uri is bad. (#391370, Maciej Piechotka)
2007-01-02 Matthias Clasen <mclasen@redhat.com>
2006-12-29 Matthias Clasen <mclasen@redhat.com>
* tests/gobject/Makefile.am:
- * tests/gobject/dynamictype.c: New test for dynamic type
- registration macros.
+ * tests/gobject/dynamictype.c: New test for dynamic type
+ registration macros.
Thu Dec 28 21:14:45 2006 Tim Janik <timj@imendio.com>
called after GSlice was in use. previously this just silently corrupted
the magazines.
- * glib/ghash.c (struct _GHashNode): reordered fields to keep 8-byte
+ * glib/ghash.c (struct _GHashNode): reordered fields to keep 8-byte
pointer alignment on 64bit systems and request smaller slice sizes
on 32bit systems.
- * tests/slice-test.c: support '~' option flag to introduce slice
+ * tests/slice-test.c: support '~' option flag to introduce slice
allocation/release corruption with a significant probability. this
allowes testing of G_SLICE=debug-blocks.
* glib/gspawn.c:
* glib/gunicollate.c:
* glib/gutils.c:
- * tests/timeloop-basic.c:
+ * tests/timeloop-basic.c:
Consistently use gsize rather than size_t. (#333310,
Morten Welinder)
(g_win32_get_package_installation_directory)
(g_win32_get_package_installation_subdirectory): Add const to
gchar* arguments. (#384523, Yevgen Muntyan)
-
+
2006-12-27 Ryan Lortie <desrt@desrt.ca>
* glib/ghash.c: cache the value of the hash function
* glib/gconvert.c: Add hints for locale-dependent interfaces.
* glib/gconvert.c (g_get_filename_charsets): Improve
- formatting of docs.
+ formatting of docs.
2006-12-26 Behdad Esfahbod <behdad@gnome.org>
warnings.
* configure.in: Use AC_LANG_SOURCE for the clock test.
-
+
* glib/gthreadpool.h:
* glib/gthreadpool.c (g_thread_pool_free): Don't use "wait"
as parameter name. (#379207, Christian Biere)
* configure.in: Use AC_COMPILE_IFELSE for the monotonic
clock test. (#362918, Han-Wen Nienhuys, Jeremy Lainé)
- * glib/gstring.c: Move documentation inline.
+ * glib/gstring.c: Move documentation inline.
2006-12-15 Matthias Clasen <mclasen@redhat.com>
2006-12-15 Matthias Clasen <mclasen@redhat.com>
Fix #357585, Padraig O'Briain.
-
+
* configure.in: Check for fdwalk.
-
+
* glib/gspawn.c (do_exec): Use fdwalk() to close all
- file descriptors.
+ file descriptors.
* glib/gspawn.c (fdwalk): Fallback implementation of
fdwalk.
2006-12-14 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't use alloca
- and avoid allocating memory for small keys that are
+ and avoid allocating memory for small keys that are
already cached. (#172406, Morten Welinder)
* glib/gmain.c (g_child_watch_add_full): Improve the docs.
2006-11-15 Matthias Clasen <mclasen@redhat.com>
- * m4macros/glib-gettext.m4: Apply a patch from James
+ * m4macros/glib-gettext.m4: Apply a patch from James
Henstridge for compatibility with automake 2.60 (#343825)
2006-11-14 Behdad Esfahbod <behdad@gnome.org>
2006-11-05 Hans Breuer <hans@breuer.org>
- * glib/makefile.msc.in : glib/ version not the gobject/
+ * glib/makefile.msc.in : glib/ version not the gobject/
one I accidentially commited. Fixes bug #371074.
-
+
2006-11-05 Tor Lillqvist <tml@novell.com>
* makefile.mingw
* glib/glib.symbols:
* glib/gunicode.h: Add GUnicodeScript enumeration and
- g_unichar_get_script.
-
+ g_unichar_get_script.
+
* glib/guniprop.c: Implement g_unichar_get_script.
* glib/gscripttable.h: Generated private header containing
that we are passed before adding them to the hash tables, to guard
against the caller freeing them. (#355955, Andreas Köhler)
-2006-10-06 Matthias Clasen <mclasen@redhat.com>
+2006-10-06 Matthias Clasen <mclasen@redhat.com>
* glib/gtimer.c: Fix a typo. (#359190)
* configure.in: Check for nsleep
- * glib/gmain.c: Fix typos in doc comments.
+ * glib/gmain.c: Fix typos in doc comments.
(#358421, Tom Tromey)
2006-09-30 Matthias Clasen <mclasen@redhat.com>
2006-09-10 Matthias Clasen <mclasen@redhat.com>
- * glib/gbacktrace.c: Assume string.h is available.
+ * glib/gbacktrace.c: Assume string.h is available.
(#354523, Behdad Esfahbod)
* configure.in: Bump version to 2.13.0
* configure.in: Fix pthread compiler flag detection.
- * glib/gtimer.c: Use Posix monotonic clocks instead of
+ * glib/gtimer.c: Use Posix monotonic clocks instead of
gettimeofday when available. (#336114, William Jon McCann)
2006-08-26 Matthias Clasen <mclasen@redhat.com>
- * glib/gutils.h:
+ * glib/gutils.h:
* glib/gscanner.c: Fix some typos. (#351741, Kjartan Maraas)
2006-08-25 Matthias Clasen <mclasen@redhat.com>
* configure.in: Fix the pthread compiler flag detection.
- * glib/gunicode.h:
+ * glib/gunicode.h:
* glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
from gconvert.c, move it to gutf8.c, and export it privately.
2006-08-22 Matthias Clasen <mclasen@redhat.com>
* Branch for 2.12
-