2006-05-26 Matthias Clasen * === Released 2.10.3 === * NEWS: Updates Tue May 2 14:18:25 2006 Tim Janik * glib/goption.c (g_option_context_parse): fixed leak in short option parsing. rewrote parts of the code to be more concise to enhance readability. fixed exaggerated uses of strlen. 2006-05-12 Tor Lillqvist * glib/giowin32.c (g_io_win32_sock_set_flags): Implement setting/clearing G_IO_FLAG_NONBLOCK for channels attached to sockets. (#341192) (g_io_win32_unimpl_set_flags): set_flags method for the unimplemented case. 2006-05-07 Matthias Clasen * glib/gkeyfile.c (g_key_file_set_locale_string_list): (g_key_file_set_string_list): Fix an invalid memory read. (#340816, Nick Treleaven) 2006-04-26 Matthias Clasen * glib/grand.c (g_rand_new): Don't repeat a failed fclose() call, since that invokes undefined behaviour. (Coverity) 2006-04-25 Matthias Clasen * glib/gkeyfile.c (g_key_file_lookup_group_node): Remove redundant code. (g_key_file_get_group_comment): Don't dereference before checking for NULL. (#338572, Coverity, Pascal Terjan) 2006-04-19 Matthias Clasen * glib/gdataset.c: Add some missing Since 2.8 flags. 2006-04-19 Tor Lillqvist * glib/gatomic.c: Adapt to the changed prototype of InterlockedCompareExchange() in newer SDKs. Use InterlockedCompareExchangePointer() when applicable. (#155884, John Ehresman) 2006-04-18 Matthias Clasen * glib/gkeyfile.c (g_key_file_add_group): Accept duplicate groups. (#157877, Sebastien Bacher) * tests/keyfile-test.c: Add tests for duplicate key and duplicate group handling. 2006-04-17 Matthias Clasen * glib/gcompletion.c (g_completion_complete_utf8): Make passing NULL for new_prefix work as documented. (#338845, Yevgen Muntyan) * tests/completion-test.c: Test that passing NULL for new_prefix in g_completion_complete_utf8 works. 2006-04-16 Matthias Clasen * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array overrun. (Coverity, fix by Pascal Terjan) 2006-04-07 Martyn Russell * tests/threadpool-test.c: (test_thread_stop_unused): Removed an assertion which can fail and is not a critical test.