1 2003-02-18 Sebastian Wilhelmi <seppi@seppi.de>
3 * configure.in: Make glib_thread_test not unnecessarily convert
4 between int and void*. (#106278). Let main return int.
6 * configure.in: Add an argument to specify the default thread
7 attribute to glib_thread_test. Disappeared somewhere between 2.0
10 2003-02-14 Sebastian Wilhelmi <seppi@seppi.de>
12 Fixes for #101264 and #99372:
14 * glib/gconvert.h, glib/gmain.c, glib/gmem.c, glib/gmessages.c,
15 glib/grand.c: Include gthreadinit.h and rename the thread
16 initialization functions a bit and let them start with _, so that
17 later we can stop exporting them.
19 * glib/gmem.c, glib/gmessages.c: Move the g_private_new() calls to
20 new functions. They have to be called after setting
21 g_threads_got_initialized to TRUE (see #101264).
23 * glib/gthread.c: Include gthreadinit.h. Renamed g_mutex_init() to
24 g_thread_init_glib(). Call the thread initialization functions
25 (which are not allowed to call g_private_new), then set
26 g_threads_got_initialized to TRUE, then call the other thread
27 initialization functions (which must not call anything but
30 * glib/gthreadinit.h: New private header to cleanly declare all
31 thread initialization functions.
33 * gthread/gthread-impl.c: Include gthreadinit.h. In
34 g_thread_init() just call g_thread_init_glib(), which in turn calls the
35 other functions (see #99372).
37 * glib/Makefile.am: Added gthreadinit.h.
39 2003-02-12 Sebastian Wilhelmi <seppi@seppi.de>
41 * configure.in: Make GLib recognize Tru64Unix thread system. (#103020)
43 2003-02-11 Tor Lillqvist <tml@iki.fi>
45 * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
47 * glib-zip.in: Include also the gtk-doc/html documentation in the
50 * README.win32: Updates.
52 2003-02-11 Sebastian Wilhelmi <seppi@seppi.de>
54 * AUTHORS: Changed my e-mail address.
55 * glib/grand.c: Removed my e-mail address.
57 2003-02-10 Mohammad DAMT <mdamt@bisnisweb.com>
59 * po/id.po: Added Indonesian translation
60 * configure.in: Added "id" to ALL_LINGUAS
62 2003-02-06 Matthias Clasen <maclas@gmx.de>
70 * glib/gtypes.h: Fix a bunch of typos in header comments.
71 (#102422, Morten Welinder)
73 2003-02-04 Tor Lillqvist <tml@iki.fi>
75 * glib/giowin32.c (g_io_channel_unix_new): Fix typo: Should be
76 SOCKET_ERROR, not SO_ERROR. Noticed by Daniel Kaufmann.
78 Merge from stable branch:
80 Fix for bug #104014, reported by Alex Shaduri:
82 * glib/gspawn-win32.c (protect_argv): New function. Add
83 double-quotes around argv elements that need it, and escape
84 embedded double-quotes with backslash.
85 (do_spawn_with_pipes) Call protect_argv().
87 * glib/gspawn-win32-helper.c (WinMain): Call protect_argv().
89 * glib/gspawn.c (g_spawn_async_with_pipes): Document argument
90 vector vs. command line details on Win32.
91 (g_spawn_command_line_sync): Improve documentation about
92 backslashes in the command line on Windows.
94 Thu Jan 30 16:45:13 2003 Owen Taylor <otaylor@redhat.com>
96 * Makefile.am: Remove references to glib.spec.
99 * configure.in: Don't generate glib.spec.
101 Tue Jan 28 16:08:56 2003 Owen Taylor <otaylor@redhat.com>
103 * m4macros/glib-gettext.m4: If msgfmt isn't found,
104 unset gt_cv_have_gettext. (#102552, Tim Mooney)
106 Tue Jan 28 15:18:24 2003 Owen Taylor <otaylor@redhat.com>
108 * autogen.sh (have_automake): Fix version in complaint
109 message about automake. (#104366, Rich Burridge)
111 2003-01-22 Pablo Saratxaga <pablo@mandrakesoft.com>
113 * configure.in: Added Bengali (bn) to ALL_LINGUAS
115 2003-01-21 Christian Rose <menthos@menthos.com>
117 * configure.in: Added "mn" to ALL_LINGUAS.
119 2003-01-20 Pablo Saratxaga <pablo@mandrakesoft.com>
121 * configure.in: Added Farsi (fa), Italian (it), Latvian (lv),
122 Macedonian (mk) to ALL_LINGUAS
124 2003-01-16 Daniel Yacob <locales@geez.org>
126 * configure.in: added am to ALL_LINGUAS
128 2003-01-12 Tor Lillqvist <tml@iki.fi>
130 * glib/glib.def: Add some missing entries. Thanks to Kenichi SUTO.
132 2003-01-05 Tor Lillqvist <tml@iki.fi>
134 * README.win32: Updates.
136 * configure.in: Don't use -lm in TRIO_LIBS on Windows, with no
137 libm. (Mingw has a dummy libm.a, but the .pc file should be
138 useable by MSVC users, too.)
140 2003-01-25 Ron Steinke <rsteinke@w-link.net>
142 (Ancient, binary compatible fixes found sitting in my tree)
144 * Added early checks for count == 0 and buf == NULL in g_io_channel_read()
146 * Better error message for EFAULT in g_io_channel_error_from_errno()
148 2003-01-04 Tor Lillqvist <tml@iki.fi>
150 * Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
152 * {glib,gmodule,gobject,gthread}/Makefile.am:
153 [Win32] Install also the .def files, to help users generate
154 import libraries for other compilers. Uninstall, too.
156 * glib-zip.in: Include .def files from above.
158 * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Don't claim
159 broken pipes are unreadable. (Well, they are, but read() handles
160 it, and treats it like EOF.)
162 Thu Jan 2 16:19:15 2003 Manish Singh <yosh@gimp.org>
164 * configure.in: use AC_COMPILE_IFELSE instead of AC_TRY_COMPILE for
165 tests for inline keywords. Fixes #101976.
167 2003-01-02 Tor Lillqvist <tml@iki.fi>
169 * glib/gwin32.h: Correct the comment telling what headers have
170 the declarations of some POSIXish functions.
172 * glib/giowin32.c (g_io_win32_fd_get_flags_internal): Fix braino:
173 The checks for readability/writeability were backwards.
175 2003-01-01 Tor Lillqvist <tml@iki.fi>
177 * glib/gmessages.c (ensure_stderr_valid): New function, parallel
178 to ensure_stdout_valid(). #defined as empty on Unix. Move the
179 alloc_console_called static flag inside these two functions.
180 (ensure_stdout_valid, ensure_stderr_valid): Check the C stdout and
181 stderr streams for validity, instead of what GetStdHandle() returns.
182 (mklevel_prefix): Do use either stderr or stdout on Windows,
183 too. Otherwise g_warning() messages (that are just warnings, by
184 definition) will get mixed with proper stdout output. Noticed in
185 GIMP's gimpconfig-dump.
186 (strdup_convert, mklevel_prefix, g_printerr): Call
187 ensure_stderr_valid() before trying to use stderr.
188 (g_logv): [Win32] Convert message to current codepage before
189 display with MessageBox().
191 2002-12-28 Tõivo Leedjärv <toivo@linux.ee>
193 * configure.in: Added et to ALL_LINGUAS.