+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>
+
+ * 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. (#417947, 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
+ until after the g_sequence_move_range() call. Bug 404759,
+ Christian Persch.
+
+ * tests/sequence-test.c: Formatting fix.
+
+2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
+
+ * glib/gsequence.c (struct _GSequence): Add a new 'real_sequence'
+ field.
+ (g_sequence_new): Initialize real_sequence to the sequence
+ (g_sequence_sort_iter): Set real_sequence of the temporary
+ sequence to the real sequence.
+ (g_sequence_sort_changed_iter): Same
+ (g_sequence_insert_sorted_iter): Same
+ (g_sequence_search_iter): Same
+ (g_sequence_iter_get_sequence): Return real_sequence
+
+ * tests/sequence-test.c (compare_iters): Insert assertions that
+ the iters point to the sequence being manipulated.
+
+2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
+
+ * glib/gsequence.[ch]: New files implementing GSequence, a list
+ 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
+ the GSequence API.
+
+2007-01-30 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols:
+ * glib/gslice.h:
+ * glib/gslice.c: Don't make ABI depend on G_ENABLE_DEBUG,
+ just add an empty g_slice_debug_tree_statistics () implementation
+ in the !G_ENABLE_DEBUG case.
+
+2007-01-26 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Define G_GNUC_INTERNAL for Sun Studio
+ as __hidden. (#342981, Brian Cameron)
+
+ * glib/gconvert.c:
+ * glib/gutf8.c: Move G_GNUC_INTERNAL uses to the right
+ 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.
+
+2007-01-24 Benjamin Otte <otte@gnome.org>
+
+ * glib/gprintf.c (g_sprintf): Clarify the documentation
+ regarding overflows (wording by Jan Schmidt)
+
+2007-01-23 Roozbeh Pournader <roozbeh@farsiweb.info>
+
+ * README: Remove mention of no-longer-existing PATCH
+ keyword in bugzilla. (#396899)
+
+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,
+ Benjamin Dauvergne)
+
+2007-01-23 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/goption.c (print_help): Use bitwise &
+ when operating on flags. (#399971, Jon Oberheide)
+
+2007-01-19 Matthias Clasen <mclasen@redhat.com>
+
+ Some file list updates (#398069, Owen Taylor)
+
+ * docs/Changes-2.0.txt
+ * docs/reference/README.cvs-commits
+ * glib.spec.in: Remove obsolete files
+
+ * tests/Makefile.am:
+ * glib/libcharset/Makefile.am:
+ * gobject/Makefile.am:
+ * Makefile.am: Add some missing files to EXTRA_DIST
+
+ * tests/timeloop-basic.c: Make it build
+ * HACKING: Small updates
+
+2007-01-18 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c (g_date_set_time): Fix a typo. (#398203,
+ Owen Taylor)
+
+2007-01-17 Tor Lillqvist <tml@novell.com>
+
+ * config.h.win32.in
+ * glib/galloca.h
+ * glib/gbacktrace.h
+ * glib/gwin32.c
+ * 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
+ libtool, drop unnecessary logic to check where they are. Include
+ also the COPYING file.
+
+2007-01-17 Tor Lillqvist <tml@novell.com>
+
+ * glib/galloca.h: Use <malloc.h> also with Digital Mars compiler
+ on Win32. (#346808, Serhat Sevki Dincer)
+
+2007-01-16 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gthread.h:
+ * glib/gthread.c:
+ * glib/glib.symbols: Revert an accidental ABI break by
+ moving gettime out of the GThreadFunctions struct and making
+ it a separate variable. (#397139, Joe Marcus Clarke)
+
+ * gthread/*.c: Adapt.
+
+2007-01-16 Tor Lillqvist <tml@novell.com>
+
+ * glib/gthread.c (gettime): GetSystemTimeAsFileTime() returns 100s
+ of nanoseconds since 1601, so offset to Unix epoch (1970) and
+ multiply by 100 to get nanoseconds which is what we want.
+
+2007-01-15 Tor Lillqvist <tml@novell.com>
+
+ * glib/gmain.h (struct _GPollFD): Fix mistake in my last commit.
+
+2005-01-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/giochannel.c:
+ * glib/gbookmarkfile.c: Remove redundant NULL-checks.
+ (#369668, Morten Welinder)
+
+2005-01-15 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gthread.c:
+ * gthread/gthread-posix.c: Correct the gettime calculations
+ once more. (#395203, Chris Wilson)
+
+2007-01-15 Tor Lillqvist <tml@novell.com>
+
+ * glib/gmain.h (struct _GPollFD): Prepare for potential Win64
+ build: Use gint64 for the fd field on Win64, as we want to be able
+ to store a HANDLE in it. (#395422) (Other changes will surely also
+ be necessary when building on Win64, at least in giowin32.c.)
+
+2007-01-15 Tor Lillqvist <tml@novell.com>
+
+ * glib/gwin32.c (g_win32_getlocale): Simplify greatly. Instead of
+ hardcoding a large switch statement, just ask Windows for the
+ ISO639 and ISO3166 codes. Tack on @Latn or @Cyrl for those
+ languages which can alternatively be written in Latin or
+ Cyrillic. Fixes #395419.
+
+2007-01-12 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c: Rework the handling of invalid
+ keys/groups again. We are back to being liberal about
+ what we accept, and only reject things that would lead
+ to non-rereadable keyfiles.
+
+ * tests/keyfile-test.c: Adapt tests.
+
+2007-01-12 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gutils.c (g_get_home_dir): Clarify docs. (#394687,
+ Marc Brockschmidt)
+
2007-01-12 Matthias Clasen <mclasen@redhat.com>
* glib/gthread.c: Include windows.h and fix
* 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
-