1 2009-03-01 Matthias Clasen <mclasen@redhat.com>
3 * glib/gthread.c: Fix docs.
5 2009-03-01 Matthias Clasen <mclasen@redhat.com>
7 * tests/slice-threadinit.c: Change one magazine size from 77 to 81
8 to make distcheck work on x86-64.
10 2009-02-27 Tor Lillqvist <tml@novell.com>
12 Bug 167569 - g_string_append_printf crashes on win32 when used
15 * glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy
16 programs. Patch by Owen.
18 2009-02-23 Paolo Borelli <pborelli@katamail.com>
20 * glib/gutf8.c (_g_utf8_make_valid):
21 sanity check the input paramter.
23 2009-02-23 Tor Lillqvist <tml@novell.com>
25 Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
26 of function pointer to object pointer
28 * glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
29 the type of the function's parameter to be explicitly a function
32 * glib/gutils.h (_g_win32_get_system_data_dirs): Modify
33 declaration and the only caller, the inline
34 _g_win32_get_system_data_dirs(), accordingly. Add comments
35 pointing out these are internal GLib functions.
37 2009-02-22 Matthias Clasen <mclasen@redhat.com>
39 Bug 572151 – “it's” and “its” confused in docs and comments
41 * Fix "it's" vs "its" confusion throughout the source. Patch
44 2009-02-22 Matthias Clasen <mclasen@redhat.com>
46 Bug 572464 – Doc for g_file_get_contents
48 * glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed
49 out by Øystein Johansen.
51 2009-02-22 Matthias Clasen <mclasen@redhat.com>
53 Bug 572672 – glib/gthread.c: argument is different type
55 * glib/gthread.c (g_once_init_leave): Add a necessary cast back.
56 Pointed out by Kazuki Iwamoto.
58 2009-02-17 Matthias Clasen <mclasen@redhat.com>
60 * configure.in: Bump version
62 2009-02-17 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.19.8 ===
66 2009-02-17 Matthias Clasen <mclasen@redhat.com>
68 Fix strict aliasing warnings and viiolations to make GLib and
69 GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.
71 * glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
72 fix macro versions to only operate on objects of the same size.
76 * glib/gdatasetprivate.h: Remove unnecessary casts in
77 g_atomic_pointer_get calls.
79 2009-02-16 Matthias Clasen <mclasen@redhat.com>
81 * configure.in: Bump version
83 2009-02-16 Matthias Clasen <mclasen@redhat.com>
85 * === Released 2.19.7 ===
87 2009-02-16 Matthias Clasen <mclasen@redhat.com>
91 2009-02-13 Mathias Hasselmann <hasselmm@gnome.org>
93 Add note about g_utf8_offset_to_pointer() not checking string
96 * glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.
98 2999-02-11 Matthias Clasen <mclasen@redhat.com>
100 Bug 523742 – Use noinst for non-installable libraries
102 * tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled
103 libraries.Patch by Björn Lindqvist
105 2009-02-06 Murray Cumming <murrayc@murrayc.com>
107 * gio/gfilterinputstream.c:
108 * gio/gfilteroutputstream.c: Correct the grammar in some property
110 * gio/gdatainputstream.c:
111 * glib/gregex.c: Correct the spelling of
112 occurrence in documentation.
114 2009-02-02 Matthias Clasen <mclasen@redhat.com>
116 * configure.in: Bump version
118 2009-02-02 Matthias Clasen <mclasen@redhat.com>
120 * === Released 2.19.6 ===
122 2009-02-02 Matthias Clasen <mclasen@redhat.com>
124 * configure.in: Bump version
126 2009-01-31 Matthias Clasen <mclasen@redhat.com>
130 2009-01-31 Matthias Clasen <mclasen@redhat.com>
132 Bug 569105 – g_time_val_to_iso8601() assumes time_t==long
134 * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
135 Pointed out by Matthias Drochner.
137 2009-01-27 Christian Persch <chpe@gnome.org>
140 * docs/reference/glib/glib-sections.txt:
141 * docs/reference/macros_misc.sgml:
142 * docs/reference/glib/tmpl/types.sgml: Add
143 G_GOFFSET_FORMAT and friends. Bug #563141.
145 2009-01-23 Stefan Kost <ensonic@users.sf.net>
147 * docs/reference/glib/Makefile.am:
148 Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
149 on problem with the doc build.
151 2009-01-21 Tor Lillqvist <tml@novell.com>
153 * glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
154 in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
157 2009-01-20 Matthias Clasen <mclasen@redhat.com>
159 Bug 568294 – A wrong reference in the description of
160 g_bookmark_file_add_application()
162 * glib/gbookmarkfile.c (g_bookmark_file_add_application):
163 Fix a typo in the docs. Pointed out by Takeshi Aihana
165 2009-01-19 Matthias Clasen <mclasen@redhat.com>
167 * === Released 2.19.5 ===
169 2009-01-18 Matthias Clasen <mclasen@redhat.com>
171 * glib/gstrfuncs.c (g_strdup_printf): Fix a doc typo.
173 2009-01-18 Matthias Clasen <mclasen@redhat.com>
177 2009-01-18 Matthias Clasen <mclasen@redhat.com>
179 Bug 512779 – --disable-regex breaks compilation
181 * configure.in: Define an ENABLE_REGEX macro
183 * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
186 2009-01-18 Matthias Clasen <mclasen@redhat.com>
188 * glib/gbsearcharray.h: Quell some compiler warnings.
190 2009-01-18 Matthias Clasen <mclasen@redhat.com>
192 * glib/pcre: Update to PCRE 7.8
194 2009-01-17 Matthias Clasen <mclasen@redhat.com>
196 Bug 567977 – textdomain() macro should not return NULL when
197 ENABLE_NLS is not set
199 * glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
200 return "messages" in case of a NULL argument. Patch by
203 2009-01-17 Matthias Clasen <mclasen@redhat.com>
205 Bug 567838 – G_STRUCT_OFFSETOF fails to compile under icc 9.1
207 * glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
208 __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.
210 2009-01-13 Matthias Clasen <mclasen@redhat.com>
212 Bug 564728 Add function to decode base64 encoded data in place
215 * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
216 API to decode in place, overwriting the input string. Patch by
219 2009-01-12 Matthias Clasen <mclasen@redhat.com>
221 * glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL
222 handling in the docs.
224 2009-01-12 Tor Lillqvist <tml@novell.com>
226 * glib/goption.c (parse_arg): Guard against a mis-written
227 GOptionArgFunc that has returned FALSE but not set the GError.
229 2009-01-10 Matthias Clasen <mclasen@redhat.com>
231 Bug 566573 – g_match_info_fetch_pos docs
233 * glib/gregex.c: Mention that positions are in bytes.
234 Proposed by Christian Persch.
236 2009-01-10 Matthias Clasen <mclasen@redhat.com>
238 Bug 566569 – gregex docs clarification
240 * glib/gregex.c: Copy the warning about @string to all
241 relevant docs. Proposed by Christian Persch
243 2009-01-09 Tor Lillqvist <tml@iki.fi>
245 Bug 567138 - get_package_directory_from_module() does not free its
248 * glib/gwin32.c (get_package_directory_from_module): Obvious fix.
250 2009-01-05 Matthias Clasen <mclasen@redhat.com>
252 * configure.in: Bump version
254 2009-01-05 Matthias Clasen <mclasen@redhat.com>
256 * === Released 2.19.4 ===
260 2009-01-05 Dan Winship <danw@gnome.org>
262 * glib/tests/.gitignore: update
264 * tests/.gitignore: update, sort
266 * tests/gobject/.gitignore: add
268 2009-01-05 Tor Lillqvist <tml@iki.fi>
270 Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
272 * glib/gfileutils.c: Move the binary compatibility versions of
273 g_file_test(), g_file_get_contents(), g_mkstemp() and
274 g_file_open_tmp() last in the file. Remove the restriction that
275 the XXXXXX is last in the template in the binary compatibility
276 version of g_mkstemp(). Thanks to Morten Welinder and Jody
279 2009-01-03 Matthias Clasen <mclasen@redhat.com>
283 2009-01-02 Matthias Clasen <mclasen@redhat.com>
285 * glib/gregex.c: Add an example to the g_regex_replace_eval() docs.
287 2009-01-02 Matthias Clasen <mclasen@redhat.com>
289 * glib/gstrfuncs.c: Move docs inline, adding references to g_free()
292 2009-01-02 Matthias Clasen <mclasen@redhat.com>
294 Bug 564210 – SUN Studio 12 has supported visibility attribute
296 * configure.in: Use visibility attribute for new enough sun cc.
299 2008-12-30 Matthias Clasen <mclasen@redhat.com>
301 Bug 565905 – There is no named g_context_group_set_translation_domain()
302 in GOption command line parser
304 * glib/goption.c: Fix a wrong reference in the docs, reported by
307 2008-12-30 Matthias Clasen <mclasen@redhat.com>
317 * glib/gbookmarkfile.c:
318 * glib/gbacktrace.c: Fix some compiler warnings.
320 2008-12-19 Tor Lillqvist <tml@novell.com>
322 * glib/glib.symbols: Add g_thread_get_initialized here,
323 too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.
325 2008-12-18 Mike Kestner <mkestner@novell.com>
327 Bug 560676 - function access for g_threads_supported
329 * glib/gthreads.c (g_thread_get_initialized): new accessor for
330 g_threads_supported macro.
331 * glib/gthreads.h: add g_thread_get_initialized
333 2008-12-15 Matthias Clasen <mclasen@redhat.com>
335 * configure.in: Bump version
337 * === Released 2.19.3 ===
339 2008-12-13 Matthias Clasen <mclasen@redhat.com>
343 2008-12-12 Dan Winship <danw@gnome.org>
345 * glib/pltcheck.sh: make this work on x86_64
347 2008-12-12 Behdad Esfahbod <behdad@gnome.org>
349 * glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.
351 2008-12-07 Matthias Clasen <mclasen@redhat.com>
353 Bug 508021 – Add support for the CRIS and CRISv32 architectures
356 * glib/gatomic.c: Add an implementation for the CRIS and CRISv32
357 architectures, by Peter Kjellerstedt
359 2008-12-02 Matthias Clasen <mclasen@redhat.com>
361 * glib/gkeyfile.c: Some more documentation additions.
363 2008-12-01 Matthias Clasen <mclasen@redhat.com>
365 * configure.in: Bump version
367 2008-12-01 Matthias Clasen <mclasen@redhat.com>
369 * === Released 2.19.2 ===
371 2008-12-01 Matthias Clasen <mclasen@redhat.com>
373 * configure.in: Bump version
375 2008-12-01 Matthias Clasen <mclasen@redhat.com>
377 * === Released 2.19.1 ===
381 2008-11-28 Behdad Esfahbod <behdad@gnome.org>
383 Bug 562639 – g_parse_debug_flags() parsing "help"
385 * glib/gutils.c (g_parse_debug_string): Print available keys if
388 2008-11-28 Behdad Esfahbod <behdad@gnome.org>
390 Bug 562638 – GDebugKey key member should be const
392 * glib/gutils.h: Change GDebugKey key member from gchar * to
395 2008-11-28 Matthias Clasen <mclasen@redhat.com>
397 Bug 547264 – Missing "no flags" flag
399 * glib/gregex.c: Mention 0 as value for 'no flags' in some places..
400 Pointed out by Bastien Nocera
402 2008-11-28 Matthias Clasen <mclasen@redhat.com>
404 Bug 562544 – g_key_file_get_string and g_key_file_get_value
405 documentation does not explain the difference
407 * glib/gkeyfile.c (g_key_file_get_string): Explain the difference
408 to g_key_file_get_value(). Pointed out by Mart Raudsepp.
410 2008-11-28 Matthias Clasen <mclasen@redhat.com>
412 * glib/gkeyfile.c: Refer to @locale parameters as locale identifier
415 2008-11-28 Matthias Clasen <mclasen@redhat.com>
417 Bug 557603 – carbon check output misplaced
419 * configure.in: Call AC_PROG_CPP early to avoid it messing up
420 carbon check output. Fix proposed by Christian Persch
422 2008-11-28 Matthias Clasen <mclasen@redhat.com>
424 Bug 559110 – Do not include libintl.h after glibintl.h
426 * glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
427 branch. Patch by Peter Kjellerstedt.
429 * glib/gutil.c: Don't include libintl.h directly.
431 2008-11-28 Matthias Clasen <mclasen@redhat.com>
433 Bug 562378 – callback return value not respected for callback option
436 * glib/goption.c (parse_long_option): Return the parse_arg return
437 value even for no-arg callbacks. Patch by Christian Persch
439 * glib/tests/option-context.c: Add a test for a callback which
442 2008-11-23 Christian Persch <chpe@gnome.org>
444 Bug 559413 – g_option_group_set_error_hook docs buglet
446 * glib/goption.c: Doc fix.
448 2008-11-23 Christian Persch <chpe@gnome.org>
450 Bug 560568 – gkeyfile docs buglet
452 * glib/gkeyfile.c: Clarify the docs.
454 2008-11-23 Christian Persch <chpe@gnome.org>
456 Bug 560569 – gkeyfile doesn't use the set list_separator in some cases
458 * glib/gkeyfile.c: (g_key_file_get_locale_string_list),
459 (g_key_file_set_locale_string_list), (g_key_file_set_integer_list),
460 (g_key_file_set_double_list): Use the key file's list separator character,
463 * glib/tests/keyfile.c: (test_lists), (test_reload_idempotency): Test
466 2008-11-21 Christophe Fergeau <teuf@gnome.org>
468 Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function
470 * gio/giotypes.h: fix name of function referred to in
471 GFileReadMoreCallback API documentation
473 2008-11-21 Matthias Clasen <mclasen@redhat.com>
475 * configure.in: Bump gtk-doc dependency to 1.11 for
476 nicer index-generation.
478 2008-11-14 Matthias Clasen <mclasen@redhat.com>
482 2008-11-04 Christian Dywan <christian@imendio.com>
484 Bug 558672 – NULL key lookup using g_hash_table_lookup_extended()
487 Clarify g_hash_table_lookup_extended
489 2008-11-02 Tor Lillqvist <tml@novell.com>
491 * configure.in: Expand also build/win32/vs9/Makefile.
493 2008-10-31 Christian Dywan <christian@imendio.com>
495 Bug 558513 – g_warn_if_fail FIXME in gtestutils
497 * glib/gtestutils.c (g_test_log_send):
498 Turn g_assert into g_warn_if_fail as advised
500 2008-10-31 Grahame Bowland <grahame@angrygoats.net>
502 Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name()
503 hits g_object_unref(NULL) assertion
506 - remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au>
508 2008-10-29 16:11:14 Tim Janik <timj@gtk.org>
510 * glib/gmacros.h: added G_PASTE() and G_STATIC_ASSERT(), based on
511 patches by Christian Persch and Christian Dywan. Fixes:
512 Bug 558381 - Add support for compile time assertions
514 2008-10-27 Joseph Pingenot <gnomesvn@digitasaru.net>
516 * glib/ghash.c: changed "#GHashTableIterator" to "#GHashTableIter"
517 in the documentation-comments above g_hash_table_foreach_remove()
518 and g_hash_table_foreach_steal() to correctly name and link to
519 GHashTableIter. This affects the GNOME documentation website
520 as well, so further steps are likely necessary beyond this subproject..
522 2008-10-23 Matthias Clasen <mclasen@redhat.com>
524 Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes
526 * glib/gchecksum.c (g_compute_checksum_for_data): Accept
527 lengths < 2. Patch by Tommi Komulainen
529 * tests/checksum-test.c: Add a test for this
531 2008-10-23 Matthias Clasen <mclasen@redhat.com>
533 Bug 556921 – gpoll.h breaks hal compilation
535 * glib/gpoll.h: Include gtypes.h. Pointed out by Anis Elleuch
537 2008-10-20 Christian Persch <chpe@gnome.org>
539 Bug 557087 – mem leak in g_content_types_get_registered
541 * gio/gcontenttype.c: Plug a mem leak.
543 2008-10-19 Michael Natterer <mitch@imendio.com>
545 Bug 556186 – gpoll.h breaks gmain.h inclusion
547 * glib/gpoll.h: different fix: disallow direct inclusion
548 unconditionally again but make an exception if included from
549 gmain.h to maintain compatibility.
551 2008-10-16 Matthias Clasen <mclasen@redhat.com>
553 * configure.in: Bump version to 2.19.1
555 * === Released 2.19.0 ===
559 2008-10-14 Christian Persch <chpe@gnome.org>
561 Bug 556186 – gpoll.h breaks gmain.h inclusion
563 * glib/gpoll.h: Only disallow direct inclusion when
564 G_DISABLE_SINGLE_INCLUDES is defined.
566 2008-10-13 Sven Herzberg <sven@imendio.com>
568 Bug 556101 – static mutex yields warnings with g++
569 Reviewed by Tim Janik
571 * configure.in: added an intermediate cast to gpointer
573 2008-10-13 Christian Persch <chpe@gnome.org>
575 Bug 555311 – format not a string literal and no format arguments
578 * glib/gshell.c: Use literal errors where appropriate.
580 2008-10-10 Behdad Esfahbod <behdad@gnome.org>
582 Bug 551355 – [PATCH] Make glib build with libtool 2.2
584 * autogen.sh: Accept libtool 2.2. We are moving towards having
587 2008-10-10 Behdad Esfahbod <behdad@gnome.org>
589 * configure.in: With libtool 2.x, regenerate libtool early.
590 Based on bug 552107, patch by Patryk Zawadzki
592 2008-10-10 Matthias Clasen <mclasen@redhat.com>
594 Bug 554557 – Patch to fix gcc warnings about missing format
599 * glib/grel.c: Fix gcc warnings. Patch by Kjartan Maraas
601 2008-10-10 Matthias Clasen <mclasen@redhat.com>
603 Bug 552861 – glib-2.0.m4 calls system(3) without storing its result
605 * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy.
606 Patch by Andreas Köhler
608 2008-10-08 Christian Persch <chpe@gnome.org>
610 Bug 555313 – GFileAttribute boxed type get_type function should
611 use usual get_type pattern
613 * gio/gfileattribute.c (g_file_attribute_info_list_get_type): Use
614 g_once_init_enter/leave.
616 2008-10-08 Christian Persch <chpe@gnome.org>
618 Bug 555314 – mem leak in gmarkup
620 * glib/gmarkup.c: (g_markup_parse_context_parse): Plug a mem leak.
622 2008-10-08 Tor Lillqvist <tml@novell.com>
624 Bug 554790 - g_convert() misbehaves with winiconv versions
626 * glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
627 explicitly check for and reject 8bit chars. MultiByteToWideChar()
628 doesn't, at least not on XP.
630 2008-10-06 Matthias Clasen <mclasen@redhat.com>
632 * glib/gtypes.h: Properly include gmacros.h
634 2008-10-06 Behdad Esfahbod <behdad@gnome.org>
636 Bug 555309 – giochannel breaks on error
637 Patch from Christian Persch
639 * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
640 (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags):
641 Don't shadow err. Oops!
643 2008-10-06 Christophe Fergeau <teuf@gnome.org>
645 Bug 555224 – Improve g_format_size_for_display doc
647 * glib/gfileutils.c: change g_format_size_for_display API doc to
648 explicitly say that the returned string has to be freed. Change
649 spelling of "newly allocated" to "newly-allocated" in g_file_read_link
650 API doc to be more consistent with what is done in that file.
652 2008-10-01 David Zeuthen <davidz@redhat.com>
654 * README.in: Add "Notes about glib 2.20" section detailing the
655 ramifications of the patch from bug #528670.
657 2008-09-30 Behdad Esfahbod <behdad@gnome.org>
659 Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X
661 * glib/giounix.c (g_io_unix_read), (g_io_unix_write),
662 (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags),
663 (g_io_unix_get_flags), (g_io_channel_new_file):
664 Like mclasen says: "well, thats the way errno works...,
665 save it or loose it". Save errno.
667 2008-09-30 Tor Lillqvist <tml@novell.com>
670 * glib/tests/Makefile.am: Bypass gtester related stuff on Windows.
672 2008-09-30 Tor Lillqvist <tml@novell.com>
675 * glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows,
676 as _GNU_SOURCE has unintended side effects when compiling against
677 newest mingw headers.
679 2008-09-26 Dan Winship <danw@gnome.org>
681 Bug 553447 – g_assert_no_error()
683 * glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to
684 assert that a GError is not set, or else is set to a particular
687 * glib/gtestutils.c (g_assertion_message_error): utility for
690 * glib/tests/keyfile.c:
691 * tests/asyncqueue-test.c:
692 * tests/bookmarkfile-test.c:
693 * tests/convert-test.c:
694 * tests/file-test.c: Use g_assert_error/g_assert_no_error
696 2008-09-26 Dan Winship <danw@gnome.org>
698 * glib/gthreadpool.c (wakeup_thread_marker): make this a "const
699 gpointer" rather than a gconstpointer to avoid warnings later
701 * glib/pcre/pcre_ucp_searchfuncs.c:
702 * glib/pcre/pcre_valid_utf8.c: #include "config.h"
704 * glib/tests/printf.c (test_d): fool gcc into not warning about
705 some printf format strings that we know are dubious
707 2008-09-26 Matthias Clasen <mclasen@redhat.com>
709 Bug 553857 – gbacktrace.h requires signal.h
711 * glib/gbacktrace.h: Include signal.h for raise().
712 Pointed out by Sebastien Bacher
714 2008-09-26 Matthias Clasen <mclasen@redhat.com>
716 Bug 553724 – python interpretter path not patched in correctly
718 * glib/Makefile.am: Fix the sed magic to replace python.
720 2008-09-26 Matthias Clasen <mclasen@redhat.com>
722 * glib/gmain.c: Add some more docs.
724 * glib/giochannel.c: Move more docs inline, and improve them
727 2008-09-25 Tor Lillqvist <tml@novell.com>
729 Bug 553820 - gpoll.c: undeclared identifier
732 * glib/gpoll.c: Make the g_poll() function non-static also on
733 Windows. Prefix an underscore to the g_main_poll_debug variable
734 and make it non-static in gmain.c so that it can be used in
735 gpoll.c. Add back missing variable declaration.
737 2008-09-25 Tor Lillqvist <tml@novell.com>
739 * glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly):
740 Just ignore the child_setup function, never call it. The is no
741 situation in which it could be useful on Windows. Do print a
742 warning, like before.
744 * glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change
747 2008-09-24 Sven Herzberg <sven@imendio.com>
749 Be a little more explcit in the docs. Includes Owen's requested
752 * glib/gmain.c: improved documentation for g_source_attach() and
755 2008-09-23 Michael Natterer <mitch@imendio.com>
757 * glib/glib.h: #include <glib/gpoll.h>
759 * glib/gpoll.h: #error out if gpoll.h is included directly.
761 * glib/gpoll.c: remove trailing whitespace.
763 2008-09-23 Dan Winship <danw@gnome.org>
765 * glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part
766 of the public API. (Part of Bug 505361 - gunixinputstream.c assumes
769 2008-09-23 Tor Lillqvist <tml@novell.com>
771 * glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was
772 passing an incorrect third parameter to memmove(), had forgotten
773 to multiply by the size of the table entry. Just use a for loop
774 instead, clearer. Odd I didn't notice when testing this code.
776 2008-09-19 Hans Petter Jansson <hpj@novell.com>
778 Rewrite most of GHashTable to use open addressing with quadratic
779 probing instead of chaining. This has the potential to reduce memory
780 fragmentation significantly, while being slightly faster due to
781 better locality and no need to call alloc/free functions for nodes.
782 Benchmarks suggest it also uses less memory overall.
784 * glib/ghash.c (prime_mod): Table of suitable primes for
785 initial-probe distribution.
786 (g_hash_table_set_shift): New function.
787 (g_hash_table_find_closest_shift): New function.
788 (g_hash_table_set_shift_from_size): New function.
789 (g_hash_table_lookup_node_for_insertion): New function.
790 (g_hash_table_lookup_node): Rewritten to return node index instead of
791 pointer, use quadratic probe on flat table, and not return insertion
792 data. The latter saves some computation for read-only lookups.
793 (g_hash_table_remove_node): Rewrite to take a pointer directly to the
794 node structure to remove, and clear that. Remove unlinking code.
795 (g_hash_table_remove_all_nodes): Rewrite to not clear nodes
796 individually, but en masse using memset () after potentially calling
798 (iter_remove_or_steal): Use new data structure and algorithm. Vastly
799 simplified - now just a call to g_hash_table_remove_node ().
800 (g_hash_table_resize): New resize code, re-indexing with new prime
801 and cleaning up tombstones.
802 (g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
803 than 1/4 load excluding tombstones, and no more than 15/16 load
804 including tombstones. These numbers are the results of a lot of
805 benchmarking with multiple complex applications, and should not be
807 (g_hash_table_iter_next)
808 (g_hash_table_lookup)
809 (g_hash_table_lookup_extended)
810 (g_hash_table_insert_internal)
811 (g_hash_table_remove_internal)
812 (g_hash_table_foreach_remove_or_steal)
813 (g_hash_table_foreach)
815 (g_hash_table_get_keys)
816 (g_hash_table_get_values): Use new data structure and algorithm,
817 fairly trivial changes.
819 2008-09-19 Tor Lillqvist <tml@novell.com>
821 * glib-zip.in: Look for man pages in share/man.
823 * glib/gutils.c (_glib_get_dll_directory)
824 * glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
825 restrictive, look for the helper programs in the same folder where
826 the GLib DLL is, not necessarily in a "bin" subfolder of the top
827 GLib installation folder.
829 2008-09-18 Matthias Clasen <mclasen@redhat.com>
831 * configure.in: Bump version to 2.19.0
833 * ChangeLog.pre-2-18: rotate ChangeLog
835 * === branch for 2.18 ===