X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-10;h=6bc764156631bd1a7ea47c8f097db7ce0e8a295b;hb=a436817718f7d4436c3ed1da4022f062dcb81c54;hp=ea4012c484edb5fe72a69c8367d27744619edd53;hpb=f92ba4ece80477bbac21e409dbb3beca5ba21fb6;p=platform%2Fupstream%2Fglib.git diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ea4012c..6bc7641 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,303 @@ +Thu Nov 21 16:19:21 2002 Owen Taylor + + * glib/ghash.c: Patch from Morten Welinder to + make ghash.c properly obey DISABLE_MEM_POOLS. (#96600) + +Thu Nov 21 14:09:44 2002 Owen Taylor + + * glib/gmacros.h: Add G_GNUC_DEPRECATED. (Tom Tromey, + #87969) + +2002-11-21 Tor Lillqvist + + * config.h.win32.in: Update to match what is currently produced by + autotools. + + * configure.in: Remove superfluous spaces on two shell variable + assignment lines. Don't define HAVE_GOOD_PRINTF as 0 if we don't + have a good printf, it is tested with #ifdef. + + * glib/glib.def: Add new functions. + + * glib/Makefile.am: If !HAVE_GOOD_PRINTF, add libtrio.la to LIBADD + and DEPENDENCIES. + + * glib/glib.rc.in + * gmodule/gmodule.rc.in + * gobject/gobject.rc.in + * gthread/gthread.rc.in + * {glib,gmodule,gobject,gthread}/makefile.{mingw,msc}.in: + Hardcode 2.0 in the names, as that is what Makefile.am does. + +2002-11-21 Matthias Clasen + + Include a printf implementation supporting C99 snprintf and SUS + positional parameters: (#79488) + + * glib/gstrfuncs.c: + * glib/gspawn-win32.c: + * glib/gscanner.c: + * glib/gconvert.c: + * glib/gbacktrace.c: Use _g_printf wrappers. + + * glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99 + snprintf semantics now. + + * glib/gmessages.c (printf_string_upper_bound): No longer needed, + since we can assume C99 snprintf semantics now. + (g_logv): Simplify. + + * acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether + printf supports SUS positional parameters. + + * configure.in: New option --enable-included-printf to force + compilation of trio; otherwise trio is compiled if the system + printf misses either C99 snprintf semantics of SUS positional + parameters. + + * glib/Makefile.am (SUBDIRS): Conditionally compile trio. + (libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h. + (glibsubinclude_HEADERS): Add gprintf.h. + + * glib/gprintfint.h: New private wrapping either system printf + or trio printf variants in _g_printf wrappers for use inside glib. + + * glib/gprintf.h: New public header declaring g_printf variants. + * glib/gprintf.c: Corresponding implementations. + + * glib/trio/*: New directory, containing the trio-1.9 sources. + +2002-11-20 Matthias Clasen + + * glib/gmessages.h (g_return_if_fail): + (g_return_val_if_fail): Use G_LIKELY. (#69022) + + * glib/gmacros.h (G_LIKELY): + (G_UNLIKELY): New macros for hinting the compiler about the + expected result of expressions. For gcc 3.x, define these + using __builtin_expect. (#69022) + +Tue Nov 19 14:38:18 2002 Owen Taylor + + * glib/gstrfuncs.c (g_ascii_strtoull): Fix + strtull/strtoull type in docs (#99012, Morten + Welinder.) Add copyright information for code + taken from GNU libc. + +2002-11-18 Tor Lillqvist + + * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle + G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the + flag is not set, don't call DuplicateHandle() on the handle + returned by the helper process, and set the "child pid" returned + to the called to zero. Close the handle to the helper process in + all cases. + + * glib/gspawn.c (g_spawn_async_with_pipes): Document Windows + behaviour of G_SPAWN_DO_NOT_REAP_CHILD. + +2002-11-18 Tor Lillqvist + + [Win32] Fix the asynchronous g_spawn* to return the process handle + of the started program properly. (Note: not the process id. The + spawn*() functions in the C runtime return the created process's + handle. There doesn't seem to be any way to get the process id of + a child process if you have the handle. But then, the process + handle usually is more useful anyway.) + + * glib/gspawn-win32-helper.c (WinMain): If the spawning of the + child process succeeded, and if asynchronous spawn (P_NOWAIT), + write the result handle up to the parent process, waiting to read + it in do_spawn_with_pipes(). + + * glib/gspawn-win32.c (do_spawn): Use return value from spawning + the helper. If it is -1 the helper wasn't found or couldn't be run + for some reason. Otherwise it is the helper's process handle. + + (g_spawn_async_with_pipes): Pass the child_pid parameter on to + do_spawn_with_pipes(). + + (do_spawn_with_pipes): Take also a child_pid parameter. If + do_spawn() returned -1, fail immediately. Otherwise make the + handle passed to us by the helper process into a handle valid in + this process by calling DuplicateHandle(). + +2002-11-17 Tor Lillqvist + + * glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the + G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented + on Windows, at least not now. Always pass dont_wait as TRUE to + do_spawn_with_pipes(). The semantics of the dont_wait parameter is + very different from the semantics of the intermediate_child + parameter to fork_exec_with_pipes() in the Unix version. This + fixes a serious bug, g_spawn_async() in fact behaved + synchronously. + + (do_spawn_with_pipes, do_spawn): Rename from + fork_exec_with_pipes() and do_exec(), those names were from the + Unix bersion, and misleading. + + (close_and_invalidate): Don't try to close invalid fds. + + * glib/gspawn.c (g_spawn_async_with_pipes): Add warning about + Windows behaviour. There is no fork(), so the child_setup() + function is in fact called in the parent. + + * glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv + debugging output. + + * tests/spawn-test-win32-gui.c: New file. Test program to be + linked as a GUI application. Behaves differently depending on how + invoked (by spawn-test). + + * tests/spawn-test.c (run_tests): On Win32, run the + spawn-test-win32-gui program, too, in several ways, synchronously + and asynchronously. + + * tests/Makefile.am: Corresponding change. + +Fri Nov 8 19:44:20 2002 Soeren Sandmann + + * docs/reference/glib/tmpl/arrays.sgml: + * docs/reference/glib/tmpl/arrays_byte.sgml: + * docs/reference/glib/tmpl/arrays_pointer.sgml: + * docs/reference/glib/tmpl/date.sgml: + * docs/reference/glib/tmpl/linked_lists_double.sgml: + * docs/reference/glib/tmpl/linked_lists_single.sgml: + * docs/reference/glib/tmpl/main.sgml: + * docs/reference/glib/tmpl/queue.sgml: + * docs/reference/glib/tmpl/random_numbers.sgml: + * docs/reference/glib/tmpl/relations.sgml: + * docs/reference/glib/tmpl/scanner.sgml: + * docs/reference/gobject/tmpl/gtype.sgml: + * docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h: + * glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c: + * glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h: + * glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h: + + Trivial s/foo/foo_/ fixes to make includable with + -Wshadow without warnings (#91680) + +Thu Nov 7 19:32:26 2002 Owen Taylor + + * glib/gutils.[ch] (g_set/get_application_name): + Patch from Havoc Pennington to add functions for + setting and getting a human readable application + name. + + * configure.in: Up to version 2.1.3, since we'll + need to depend on last addition for GTK+. + +2002-11-06 Tor Lillqvist + + * glib/glib.def: Add g_main_thread_init. + +2002-11-06 Matthias Clasen + + * glib/gstrfuncs.c (g_str_has_suffix): + (g_str_has_prefix): Minor doc markup fix. + +Mon Nov 4 10:45:48 2002 Owen Taylor + + * configure.in: Add -DG_DISABLE_CAST_CHECKS for + everything but --enable-debug. + + * configure.in: Require pkg-config 0.14. (#97553) + +Mon Nov 4 14:41:48 2002 Owen Taylor + + * glib/gbsearcharray.c: Include config.h + so DISABLE_MEMPOOLS actually has an effect. + (#96437, Morten Welinder) + + * tests/uri-test.c: Include + +2002-11-03 Dmitry G. Mastrukov + + * configure.in: Added Belarusian to ALL_LINGUAS + +2002-11-02 Daniel Elstner + + * glib/giochannel.c (g_io_channel_write_chars): Fix left_len + calculation in the from UTF-8 to UTF-8 case: left_len should + be the number of bytes left in the input buffer rather than + channel->write_buf. (#96373) + +2002-10-27 Tor Lillqvist + + * configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes + trouble. + + * glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs + (http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html) + and others. We waited for events only for GPollFDs whose events + field had G_IO_IN set. We need to wait also for events for + GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the + process of being connect()ed are one such case. Also silence a + couple of gcc warnings. + +Fri Oct 18 13:41:30 2002 Manish Singh + + * glib/giochannel.c (g_io_channel_read_line_backend): avoid + creating negative values out of unsigned values using MAX, + check to see if the result would be positive before doing + the calculation. + +Tue Oct 15 15:28:47 2002 Manish Singh + + * tests/iochannel-test.c: use gsize instead of int where appropriate + (64-bit cleanliness fix). Removed leftover line_term cruft. + +Tue Oct 15 15:07:45 2002 Manish Singh + + * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am: + add -DG_DISABLED_DEPRECATED + + * tests/gio-test.c tests/mainloop-test.c tests/string-test.c + tests/testglib.c test/tree-test.c tests/unicode-collate.c + tests/unicode-normalize.c: Deprecation cleanup + +Mon Oct 14 15:51:05 2002 Owen Taylor + + * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory + leak. (#94550, Sebastian Rittau) + +Mon Oct 14 15:36:11 2002 Owen Taylor + + * glib/gcompletion.[ch] (g_completion_complete): Make + prefix argument const. (#91662, Gustavo Carneiro) + +Mon Oct 14 15:32:14 2002 Owen Taylor + + * tests/mainloop-test.c (adder_response): Fix a minor memory + leak. + +Sat Oct 12 21:30:41 2002 Tim Janik + + * merged up from glib-2-0: + + * glib/gstrfuncs.c (g_ascii_strtod): fix comment. + (g_ascii_strtoull): new function, acting like strtoull(3) in the C + locale. + + * glib/gscanner.[hc]: fix 32bit issues with integer parsing and + support storing 64bit values in GTokenValue by + using g_ascii_strtoull(). + +Sat Oct 12 12:34:22 2002 Soeren Sandmann + + * glib/gtree.c (g_tree_search), glib/gspawn.c + (g_spawn_async_with_pipes): + + Documentation fixes: #71778, Owen Taylor; #85095, Bill Janssen, + Owen Taylor. + +Thu Oct 10 23:27:02 2002 Tim Janik + + * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL, + print out "" instead of completely skipping input specification + and thusly loosing error line information. + Sun Sep 29 12:15:44 2002 Manish Singh * tests/mainloop-test.c: use gsize instead of int where appropriate