1 2009-03-13 Matthias Clasen <mclasen@redhat.com>
3 * configure.in: Bump version
5 2009-03-13 Matthias Clasen <mclasen@redhat.com>
7 * === Released 2.20.0 ===
9 * configure.in: Bump version to 2.20.0
11 2009-03-13 Matthias Clasen <mclasen@redhat.com>
15 2009-03-12 Matthias Clasen <mclasen@redhat.com>
17 * glib/gbase64.c: Avoid integer overflows in the base64
18 functions. Fixes CVE-2008-4316
20 2009-03-11 Stef Walter <stef@memberwebs.com>
22 * glib/gchecksum.c: Document and guarantee hex digests will
23 be returned in lower case. Fixes bug #574019
25 2009-03-02 Matthias Clasen <mclasen@redhat.com>
27 * configure.in: Bump version
29 2009-03-02 Matthias Clasen <mclasen@redhat.com>
31 * === Released 2.19.10 ===
33 2009-03-02 Matthias Clasen <mclasen@redhat.com>
35 * configure.in: Bump version
37 2009-03-02 Matthias Clasen <mclasen@redhat.com>
39 * === Released 2.19.9 ===
41 2009-03-02 Matthias Clasen <mclasen@redhat.com>
45 2009-03-01 Matthias Clasen <mclasen@redhat.com>
47 Bug 572508 – gmarkup speedup ...
49 * glib/gmarkup.c: Various optimizations: do less allocations by
50 keeping a pool of GStrings, do in-place unescaping, avoid redundant
51 utf-8 validation. Patch by Michael Meeks
53 * tests/markups/fail-36.gmarkup: Adapt
55 2009-03-01 Matthias Clasen <mclasen@redhat.com>
57 * glib/gthread.c: Fix docs.
59 2009-03-01 Matthias Clasen <mclasen@redhat.com>
61 * tests/slice-threadinit.c: Change one magazine size from 77 to 81
62 to make distcheck work on x86-64.
64 2009-02-27 Tor Lillqvist <tml@novell.com>
66 Bug 167569 - g_string_append_printf crashes on win32 when used
69 * glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy
70 programs. Patch by Owen.
72 2009-02-23 Paolo Borelli <pborelli@katamail.com>
74 * glib/gutf8.c (_g_utf8_make_valid):
75 sanity check the input paramter.
77 2009-02-23 Tor Lillqvist <tml@novell.com>
79 Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
80 of function pointer to object pointer
82 * glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
83 the type of the function's parameter to be explicitly a function
86 * glib/gutils.h (_g_win32_get_system_data_dirs): Modify
87 declaration and the only caller, the inline
88 _g_win32_get_system_data_dirs(), accordingly. Add comments
89 pointing out these are internal GLib functions.
91 2009-02-22 Matthias Clasen <mclasen@redhat.com>
93 Bug 572151 – “it's” and “its” confused in docs and comments
95 * Fix "it's" vs "its" confusion throughout the source. Patch
98 2009-02-22 Matthias Clasen <mclasen@redhat.com>
100 Bug 572464 – Doc for g_file_get_contents
102 * glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed
103 out by Øystein Johansen.
105 2009-02-22 Matthias Clasen <mclasen@redhat.com>
107 Bug 572672 – glib/gthread.c: argument is different type
109 * glib/gthread.c (g_once_init_leave): Add a necessary cast back.
110 Pointed out by Kazuki Iwamoto.
112 2009-02-17 Matthias Clasen <mclasen@redhat.com>
114 * configure.in: Bump version
116 2009-02-17 Matthias Clasen <mclasen@redhat.com>
118 * === Released 2.19.8 ===
120 2009-02-17 Matthias Clasen <mclasen@redhat.com>
122 Fix strict aliasing warnings and viiolations to make GLib and
123 GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.
125 * glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
126 fix macro versions to only operate on objects of the same size.
130 * glib/gdatasetprivate.h: Remove unnecessary casts in
131 g_atomic_pointer_get calls.
133 2009-02-16 Matthias Clasen <mclasen@redhat.com>
135 * configure.in: Bump version
137 2009-02-16 Matthias Clasen <mclasen@redhat.com>
139 * === Released 2.19.7 ===
141 2009-02-16 Matthias Clasen <mclasen@redhat.com>
145 2009-02-13 Mathias Hasselmann <hasselmm@gnome.org>
147 Add note about g_utf8_offset_to_pointer() not checking string
150 * glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.
152 2999-02-11 Matthias Clasen <mclasen@redhat.com>
154 Bug 523742 – Use noinst for non-installable libraries
156 * tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled
157 libraries.Patch by Björn Lindqvist
159 2009-02-06 Murray Cumming <murrayc@murrayc.com>
161 * gio/gfilterinputstream.c:
162 * gio/gfilteroutputstream.c: Correct the grammar in some property
164 * gio/gdatainputstream.c:
165 * glib/gregex.c: Correct the spelling of
166 occurrence in documentation.
168 2009-02-02 Matthias Clasen <mclasen@redhat.com>
170 * configure.in: Bump version
172 2009-02-02 Matthias Clasen <mclasen@redhat.com>
174 * === Released 2.19.6 ===
176 2009-02-02 Matthias Clasen <mclasen@redhat.com>
178 * configure.in: Bump version
180 2009-01-31 Matthias Clasen <mclasen@redhat.com>
184 2009-01-31 Matthias Clasen <mclasen@redhat.com>
186 Bug 569105 – g_time_val_to_iso8601() assumes time_t==long
188 * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
189 Pointed out by Matthias Drochner.
191 2009-01-27 Christian Persch <chpe@gnome.org>
194 * docs/reference/glib/glib-sections.txt:
195 * docs/reference/macros_misc.sgml:
196 * docs/reference/glib/tmpl/types.sgml: Add
197 G_GOFFSET_FORMAT and friends. Bug #563141.
199 2009-01-23 Stefan Kost <ensonic@users.sf.net>
201 * docs/reference/glib/Makefile.am:
202 Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
203 on problem with the doc build.
205 2009-01-21 Tor Lillqvist <tml@novell.com>
207 * glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
208 in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
211 2009-01-20 Matthias Clasen <mclasen@redhat.com>
213 Bug 568294 – A wrong reference in the description of
214 g_bookmark_file_add_application()
216 * glib/gbookmarkfile.c (g_bookmark_file_add_application):
217 Fix a typo in the docs. Pointed out by Takeshi Aihana
219 2009-01-19 Matthias Clasen <mclasen@redhat.com>
221 * === Released 2.19.5 ===
223 2009-01-18 Matthias Clasen <mclasen@redhat.com>
225 * glib/gstrfuncs.c (g_strdup_printf): Fix a doc typo.
227 2009-01-18 Matthias Clasen <mclasen@redhat.com>
231 2009-01-18 Matthias Clasen <mclasen@redhat.com>
233 Bug 512779 – --disable-regex breaks compilation
235 * configure.in: Define an ENABLE_REGEX macro
237 * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
240 2009-01-18 Matthias Clasen <mclasen@redhat.com>
242 * glib/gbsearcharray.h: Quell some compiler warnings.
244 2009-01-18 Matthias Clasen <mclasen@redhat.com>
246 * glib/pcre: Update to PCRE 7.8
248 2009-01-17 Matthias Clasen <mclasen@redhat.com>
250 Bug 567977 – textdomain() macro should not return NULL when
251 ENABLE_NLS is not set
253 * glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
254 return "messages" in case of a NULL argument. Patch by
257 2009-01-17 Matthias Clasen <mclasen@redhat.com>
259 Bug 567838 – G_STRUCT_OFFSETOF fails to compile under icc 9.1
261 * glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
262 __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.
264 2009-01-13 Matthias Clasen <mclasen@redhat.com>
266 Bug 564728 Add function to decode base64 encoded data in place
269 * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
270 API to decode in place, overwriting the input string. Patch by
273 2009-01-12 Matthias Clasen <mclasen@redhat.com>
275 * glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL
276 handling in the docs.
278 2009-01-12 Tor Lillqvist <tml@novell.com>
280 * glib/goption.c (parse_arg): Guard against a mis-written
281 GOptionArgFunc that has returned FALSE but not set the GError.
283 2009-01-10 Matthias Clasen <mclasen@redhat.com>
285 Bug 566573 – g_match_info_fetch_pos docs
287 * glib/gregex.c: Mention that positions are in bytes.
288 Proposed by Christian Persch.
290 2009-01-10 Matthias Clasen <mclasen@redhat.com>
292 Bug 566569 – gregex docs clarification
294 * glib/gregex.c: Copy the warning about @string to all
295 relevant docs. Proposed by Christian Persch
297 2009-01-09 Tor Lillqvist <tml@iki.fi>
299 Bug 567138 - get_package_directory_from_module() does not free its
302 * glib/gwin32.c (get_package_directory_from_module): Obvious fix.
304 2009-01-05 Matthias Clasen <mclasen@redhat.com>
306 * configure.in: Bump version
308 2009-01-05 Matthias Clasen <mclasen@redhat.com>
310 * === Released 2.19.4 ===
314 2009-01-05 Dan Winship <danw@gnome.org>
316 * glib/tests/.gitignore: update
318 * tests/.gitignore: update, sort
320 * tests/gobject/.gitignore: add
322 2009-01-05 Tor Lillqvist <tml@iki.fi>
324 Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
326 * glib/gfileutils.c: Move the binary compatibility versions of
327 g_file_test(), g_file_get_contents(), g_mkstemp() and
328 g_file_open_tmp() last in the file. Remove the restriction that
329 the XXXXXX is last in the template in the binary compatibility
330 version of g_mkstemp(). Thanks to Morten Welinder and Jody
333 2009-01-03 Matthias Clasen <mclasen@redhat.com>
337 2009-01-02 Matthias Clasen <mclasen@redhat.com>
339 * glib/gregex.c: Add an example to the g_regex_replace_eval() docs.
341 2009-01-02 Matthias Clasen <mclasen@redhat.com>
343 * glib/gstrfuncs.c: Move docs inline, adding references to g_free()
346 2009-01-02 Matthias Clasen <mclasen@redhat.com>
348 Bug 564210 – SUN Studio 12 has supported visibility attribute
350 * configure.in: Use visibility attribute for new enough sun cc.
353 2008-12-30 Matthias Clasen <mclasen@redhat.com>
355 Bug 565905 – There is no named g_context_group_set_translation_domain()
356 in GOption command line parser
358 * glib/goption.c: Fix a wrong reference in the docs, reported by
361 2008-12-30 Matthias Clasen <mclasen@redhat.com>
371 * glib/gbookmarkfile.c:
372 * glib/gbacktrace.c: Fix some compiler warnings.
374 2008-12-19 Tor Lillqvist <tml@novell.com>
376 * glib/glib.symbols: Add g_thread_get_initialized here,
377 too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.
379 2008-12-18 Mike Kestner <mkestner@novell.com>
381 Bug 560676 - function access for g_threads_supported
383 * glib/gthreads.c (g_thread_get_initialized): new accessor for
384 g_threads_supported macro.
385 * glib/gthreads.h: add g_thread_get_initialized
387 2008-12-15 Matthias Clasen <mclasen@redhat.com>
389 * configure.in: Bump version
391 * === Released 2.19.3 ===
393 2008-12-13 Matthias Clasen <mclasen@redhat.com>
397 2008-12-12 Dan Winship <danw@gnome.org>
399 * glib/pltcheck.sh: make this work on x86_64
401 2008-12-12 Behdad Esfahbod <behdad@gnome.org>
403 * glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.
405 2008-12-07 Matthias Clasen <mclasen@redhat.com>
407 Bug 508021 – Add support for the CRIS and CRISv32 architectures
410 * glib/gatomic.c: Add an implementation for the CRIS and CRISv32
411 architectures, by Peter Kjellerstedt
413 2008-12-02 Matthias Clasen <mclasen@redhat.com>
415 * glib/gkeyfile.c: Some more documentation additions.
417 2008-12-01 Matthias Clasen <mclasen@redhat.com>
419 * configure.in: Bump version
421 2008-12-01 Matthias Clasen <mclasen@redhat.com>
423 * === Released 2.19.2 ===
425 2008-12-01 Matthias Clasen <mclasen@redhat.com>
427 * configure.in: Bump version
429 2008-12-01 Matthias Clasen <mclasen@redhat.com>
431 * === Released 2.19.1 ===
435 2008-11-28 Behdad Esfahbod <behdad@gnome.org>
437 Bug 562639 – g_parse_debug_flags() parsing "help"
439 * glib/gutils.c (g_parse_debug_string): Print available keys if
442 2008-11-28 Behdad Esfahbod <behdad@gnome.org>
444 Bug 562638 – GDebugKey key member should be const
446 * glib/gutils.h: Change GDebugKey key member from gchar * to
449 2008-11-28 Matthias Clasen <mclasen@redhat.com>
451 Bug 547264 – Missing "no flags" flag
453 * glib/gregex.c: Mention 0 as value for 'no flags' in some places..
454 Pointed out by Bastien Nocera
456 2008-11-28 Matthias Clasen <mclasen@redhat.com>
458 Bug 562544 – g_key_file_get_string and g_key_file_get_value
459 documentation does not explain the difference
461 * glib/gkeyfile.c (g_key_file_get_string): Explain the difference
462 to g_key_file_get_value(). Pointed out by Mart Raudsepp.
464 2008-11-28 Matthias Clasen <mclasen@redhat.com>
466 * glib/gkeyfile.c: Refer to @locale parameters as locale identifier
469 2008-11-28 Matthias Clasen <mclasen@redhat.com>
471 Bug 557603 – carbon check output misplaced
473 * configure.in: Call AC_PROG_CPP early to avoid it messing up
474 carbon check output. Fix proposed by Christian Persch
476 2008-11-28 Matthias Clasen <mclasen@redhat.com>
478 Bug 559110 – Do not include libintl.h after glibintl.h
480 * glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
481 branch. Patch by Peter Kjellerstedt.
483 * glib/gutil.c: Don't include libintl.h directly.
485 2008-11-28 Matthias Clasen <mclasen@redhat.com>
487 Bug 562378 – callback return value not respected for callback option
490 * glib/goption.c (parse_long_option): Return the parse_arg return
491 value even for no-arg callbacks. Patch by Christian Persch
493 * glib/tests/option-context.c: Add a test for a callback which
496 2008-11-23 Christian Persch <chpe@gnome.org>
498 Bug 559413 – g_option_group_set_error_hook docs buglet
500 * glib/goption.c: Doc fix.
502 2008-11-23 Christian Persch <chpe@gnome.org>
504 Bug 560568 – gkeyfile docs buglet
506 * glib/gkeyfile.c: Clarify the docs.
508 2008-11-23 Christian Persch <chpe@gnome.org>
510 Bug 560569 – gkeyfile doesn't use the set list_separator in some cases
512 * glib/gkeyfile.c: (g_key_file_get_locale_string_list),
513 (g_key_file_set_locale_string_list), (g_key_file_set_integer_list),
514 (g_key_file_set_double_list): Use the key file's list separator character,
517 * glib/tests/keyfile.c: (test_lists), (test_reload_idempotency): Test
520 2008-11-21 Christophe Fergeau <teuf@gnome.org>
522 Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function
524 * gio/giotypes.h: fix name of function referred to in
525 GFileReadMoreCallback API documentation
527 2008-11-21 Matthias Clasen <mclasen@redhat.com>
529 * configure.in: Bump gtk-doc dependency to 1.11 for
530 nicer index-generation.
532 2008-11-14 Matthias Clasen <mclasen@redhat.com>
536 2008-11-04 Christian Dywan <christian@imendio.com>
538 Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()
541 Clarify g_hash_table_lookup_extended
543 2008-11-02 Tor Lillqvist <tml@novell.com>
545 * configure.in: Expand also build/win32/vs9/Makefile.
547 2008-10-31 Christian Dywan <christian@imendio.com>
549 Bug 558513 – g_warn_if_fail FIXME in gtestutils
551 * glib/gtestutils.c (g_test_log_send):
552 Turn g_assert into g_warn_if_fail as advised
554 2008-10-31 Grahame Bowland <grahame@angrygoats.net>
556 Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name()
557 hits g_object_unref(NULL) assertion
560 - remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au>
562 2008-10-29 16:11:14 Tim Janik <timj@gtk.org>
564 * glib/gmacros.h: added G_PASTE() and G_STATIC_ASSERT(), based on
565 patches by Christian Persch and Christian Dywan. Fixes:
566 Bug 558381 - Add support for compile time assertions
568 2008-10-27 Joseph Pingenot <gnomesvn@digitasaru.net>
570 * glib/ghash.c: changed "#GHashTableIterator" to "#GHashTableIter"
571 in the documentation-comments above g_hash_table_foreach_remove()
572 and g_hash_table_foreach_steal() to correctly name and link to
573 GHashTableIter. This affects the GNOME documentation website
574 as well, so further steps are likely necessary beyond this subproject..
576 2008-10-23 Matthias Clasen <mclasen@redhat.com>
578 Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes
580 * glib/gchecksum.c (g_compute_checksum_for_data): Accept
581 lengths < 2. Patch by Tommi Komulainen
583 * tests/checksum-test.c: Add a test for this
585 2008-10-23 Matthias Clasen <mclasen@redhat.com>
587 Bug 556921 – gpoll.h breaks hal compilation
589 * glib/gpoll.h: Include gtypes.h. Pointed out by Anis Elleuch
591 2008-10-20 Christian Persch <chpe@gnome.org>
593 Bug 557087 – mem leak in g_content_types_get_registered
595 * gio/gcontenttype.c: Plug a mem leak.
597 2008-10-19 Michael Natterer <mitch@imendio.com>
599 Bug 556186 – gpoll.h breaks gmain.h inclusion
601 * glib/gpoll.h: different fix: disallow direct inclusion
602 unconditionally again but make an exception if included from
603 gmain.h to maintain compatibility.
605 2008-10-16 Matthias Clasen <mclasen@redhat.com>
607 * configure.in: Bump version to 2.19.1
609 * === Released 2.19.0 ===
613 2008-10-14 Christian Persch <chpe@gnome.org>
615 Bug 556186 – gpoll.h breaks gmain.h inclusion
617 * glib/gpoll.h: Only disallow direct inclusion when
618 G_DISABLE_SINGLE_INCLUDES is defined.
620 2008-10-13 Sven Herzberg <sven@imendio.com>
622 Bug 556101 – static mutex yields warnings with g++
623 Reviewed by Tim Janik
625 * configure.in: added an intermediate cast to gpointer
627 2008-10-13 Christian Persch <chpe@gnome.org>
629 Bug 555311 – format not a string literal and no format arguments
632 * glib/gshell.c: Use literal errors where appropriate.
634 2008-10-10 Behdad Esfahbod <behdad@gnome.org>
636 Bug 551355 – [PATCH] Make glib build with libtool 2.2
638 * autogen.sh: Accept libtool 2.2. We are moving towards having
641 2008-10-10 Behdad Esfahbod <behdad@gnome.org>
643 * configure.in: With libtool 2.x, regenerate libtool early.
644 Based on bug 552107, patch by Patryk Zawadzki
646 2008-10-10 Matthias Clasen <mclasen@redhat.com>
648 Bug 554557 – Patch to fix gcc warnings about missing format
653 * glib/grel.c: Fix gcc warnings. Patch by Kjartan Maraas
655 2008-10-10 Matthias Clasen <mclasen@redhat.com>
657 Bug 552861 – glib-2.0.m4 calls system(3) without storing its result
659 * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
660 Patch by Andreas Köhler
662 2008-10-08 Christian Persch <chpe@gnome.org>
664 Bug 555313 – GFileAttribute boxed type get_type function should
665 use usual get_type pattern
667 * gio/gfileattribute.c (g_file_attribute_info_list_get_type): Use
668 g_once_init_enter/leave.
670 2008-10-08 Christian Persch <chpe@gnome.org>
672 Bug 555314 – mem leak in gmarkup
674 * glib/gmarkup.c: (g_markup_parse_context_parse): Plug a mem leak.
676 2008-10-08 Tor Lillqvist <tml@novell.com>
678 Bug 554790 - g_convert() misbehaves with winiconv versions
680 * glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
681 explicitly check for and reject 8bit chars. MultiByteToWideChar()
682 doesn't, at least not on XP.
684 2008-10-06 Matthias Clasen <mclasen@redhat.com>
686 * glib/gtypes.h: Properly include gmacros.h
688 2008-10-06 Behdad Esfahbod <behdad@gnome.org>
690 Bug 555309 – giochannel breaks on error
691 Patch from Christian Persch
693 * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
694 (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags):
695 Don't shadow err. Oops!
697 2008-10-06 Christophe Fergeau <teuf@gnome.org>
699 Bug 555224 – Improve g_format_size_for_display doc
701 * glib/gfileutils.c: change g_format_size_for_display API doc to
702 explicitly say that the returned string has to be freed. Change
703 spelling of "newly allocated" to "newly-allocated" in g_file_read_link
704 API doc to be more consistent with what is done in that file.
706 2008-10-01 David Zeuthen <davidz@redhat.com>
708 * README.in: Add "Notes about glib 2.20" section detailing the
709 ramifications of the patch from bug #528670.
711 2008-09-30 Behdad Esfahbod <behdad@gnome.org>
713 Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X
715 * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
716 (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
717 (g_io_unix_get_flags), (g_io_channel_new_file):
718 Like mclasen says: "well, thats the way errno works...,
719 save it or loose it". Save errno.
721 2008-09-30 Tor Lillqvist <tml@novell.com>
724 * glib/tests/Makefile.am: Bypass gtester related stuff on Windows.
726 2008-09-30 Tor Lillqvist <tml@novell.com>
729 * glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
730 as _GNU_SOURCE has unintended side effects when compiling against
731 newest mingw headers.
733 2008-09-26 Dan Winship <danw@gnome.org>
735 Bug 553447 – g_assert_no_error()
737 * glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
738 assert that a GError is not set, or else is set to a particular
741 * glib/gtestutils.c (g_assertion_message_error): utility for
744 * glib/tests/keyfile.c:
745 * tests/asyncqueue-test.c:
746 * tests/bookmarkfile-test.c:
747 * tests/convert-test.c:
748 * tests/file-test.c: Use g_assert_error/g_assert_no_error
750 2008-09-26 Dan Winship <danw@gnome.org>
752 * glib/gthreadpool.c (wakeup_thread_marker): make this a "const
753 gpointer" rather than a gconstpointer to avoid warnings later
755 * glib/pcre/pcre_ucp_searchfuncs.c:
756 * glib/pcre/pcre_valid_utf8.c: #include "config.h"
758 * glib/tests/printf.c (test_d): fool gcc into not warning about
759 some printf format strings that we know are dubious
761 2008-09-26 Matthias Clasen <mclasen@redhat.com>
763 Bug 553857 – gbacktrace.h requires signal.h
765 * glib/gbacktrace.h: Include signal.h for raise().
766 Pointed out by Sebastien Bacher
768 2008-09-26 Matthias Clasen <mclasen@redhat.com>
770 Bug 553724 – python interpretter path not patched in correctly
772 * glib/Makefile.am: Fix the sed magic to replace python.
774 2008-09-26 Matthias Clasen <mclasen@redhat.com>
776 * glib/gmain.c: Add some more docs.
778 * glib/giochannel.c: Move more docs inline, and improve them
781 2008-09-25 Tor Lillqvist <tml@novell.com>
783 Bug 553820 - gpoll.c: undeclared identifier
786 * glib/gpoll.c: Make the g_poll() function non-static also on
787 Windows. Prefix an underscore to the g_main_poll_debug variable
788 and make it non-static in gmain.c so that it can be used in
789 gpoll.c. Add back missing variable declaration.
791 2008-09-25 Tor Lillqvist <tml@novell.com>
793 * glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly):
794 Just ignore the child_setup function, never call it. The is no
795 situation in which it could be useful on Windows. Do print a
796 warning, like before.
798 * glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change
801 2008-09-24 Sven Herzberg <sven@imendio.com>
803 Be a little more explcit in the docs. Includes Owen's requested
806 * glib/gmain.c: improved documentation for g_source_attach() and
809 2008-09-23 Michael Natterer <mitch@imendio.com>
811 * glib/glib.h: #include <glib/gpoll.h>
813 * glib/gpoll.h: #error out if gpoll.h is included directly.
815 * glib/gpoll.c: remove trailing whitespace.
817 2008-09-23 Dan Winship <danw@gnome.org>
819 * glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part
820 of the public API. (Part of Bug 505361 - gunixinputstream.c assumes
823 2008-09-23 Tor Lillqvist <tml@novell.com>
825 * glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
826 passing an incorrect third parameter to memmove(), had forgotten
827 to multiply by the size of the table entry. Just use a for loop
828 instead, clearer. Odd I didn't notice when testing this code.
830 2008-09-19 Hans Petter Jansson <hpj@novell.com>
832 Rewrite most of GHashTable to use open addressing with quadratic
833 probing instead of chaining. This has the potential to reduce memory
834 fragmentation significantly, while being slightly faster due to
835 better locality and no need to call alloc/free functions for nodes.
836 Benchmarks suggest it also uses less memory overall.
838 * glib/ghash.c (prime_mod): Table of suitable primes for
839 initial-probe distribution.
840 (g_hash_table_set_shift): New function.
841 (g_hash_table_find_closest_shift): New function.
842 (g_hash_table_set_shift_from_size): New function.
843 (g_hash_table_lookup_node_for_insertion): New function.
844 (g_hash_table_lookup_node): Rewritten to return node index instead of
845 pointer, use quadratic probe on flat table, and not return insertion
846 data. The latter saves some computation for read-only lookups.
847 (g_hash_table_remove_node): Rewrite to take a pointer directly to the
848 node structure to remove, and clear that. Remove unlinking code.
849 (g_hash_table_remove_all_nodes): Rewrite to not clear nodes
850 individually, but en masse using memset () after potentially calling
852 (iter_remove_or_steal): Use new data structure and algorithm. Vastly
853 simplified - now just a call to g_hash_table_remove_node ().
854 (g_hash_table_resize): New resize code, re-indexing with new prime
855 and cleaning up tombstones.
856 (g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
857 than 1/4 load excluding tombstones, and no more than 15/16 load
858 including tombstones. These numbers are the results of a lot of
859 benchmarking with multiple complex applications, and should not be
861 (g_hash_table_iter_next)
862 (g_hash_table_lookup)
863 (g_hash_table_lookup_extended)
864 (g_hash_table_insert_internal)
865 (g_hash_table_remove_internal)
866 (g_hash_table_foreach_remove_or_steal)
867 (g_hash_table_foreach)
869 (g_hash_table_get_keys)
870 (g_hash_table_get_values): Use new data structure and algorithm,
871 fairly trivial changes.
873 2008-09-19 Tor Lillqvist <tml@novell.com>
875 * glib-zip.in: Look for man pages in share/man.
877 * glib/gutils.c (_glib_get_dll_directory)
878 * glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
879 restrictive, look for the helper programs in the same folder where
880 the GLib DLL is, not necessarily in a "bin" subfolder of the top
881 GLib installation folder.
883 2008-09-18 Matthias Clasen <mclasen@redhat.com>
885 * configure.in: Bump version to 2.19.0
887 * ChangeLog.pre-2-18: rotate ChangeLog
889 * === branch for 2.18 ===