Fix #357585, Padraig O'Briain.
[platform/upstream/glib.git] / ChangeLog
1 2006-12-15  Matthias Clasen  <mclasen@redhat.com>
2
3         Fix #357585, Padraig O'Briain.
4         
5         * configure.in: Check for fdwalk.
6         
7         * glib/gspawn.c (do_exec): Use fdwalk() to close all
8         file descriptors. 
9
10         * glib/gspawn.c (fdwalk): Fallback implementation of
11         fdwalk.
12
13 2006-12-14  Matthias Clasen  <mclasen@redhat.com>
14
15         * glib/gconvert.c (open_converter): Don't use alloca
16         and avoid allocating memory for small keys that are 
17         already cached.  (#172406, Morten Welinder)
18
19         * glib/gmain.c (g_child_watch_add_full): Improve the docs.
20         (#345569, Tim-Philipp Müller)
21
22         * glib/gkeyfile.c (g_key_file_add_group): If the group
23         is already there, make it current.  (#385910, Joe Halliwell)
24
25         * tests/keyfile-test.c: Add a test for duplicate groups/keys.
26
27 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
28
29         * m4macros/glib-gettext.m4: Require AC_CANONICAL_HOST in
30         GLIB_WITH_NLS.  (#385132, Laszlo Peter)
31
32 2006-12-12  Matthias Clasen  <mclasen@redhat.com>
33
34         * configure.in: Add a check for broken poll on Mac OS X.
35
36         * glib/gmain.c: Use poll emulation on OS X.  (#302672, Toby Peterson,
37         patch by Dave Vasilevsky)
38
39 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
40
41         * glib/gatomic.c: Don't use local numeric labels in
42         inline assembler on AIX.  (#316434, Hans Rosenfeld)
43
44         * glib/gunicode.h (g_utf8_next_char): Cast to const char *,
45         not char *.  (#138153, Nikolai Weibull)
46
47 Wed Nov 22 16:09:13 2006  Tim Janik  <timj@gtk.org>
48
49         * glib/gmacros.h: added G_GNUC_MAY_ALIAS, suggested by Mathias
50         Hasselmann in bug #335341, fixes bug #335853.
51
52 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
53
54         * m4macros/glib-gettext.m4: Apply a patch from James 
55         Henstridge for compatibility with automake 2.60 (#343825)
56
57 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
58
59         * sanity_check: Replace bash-specific == with sh-understood =.
60         Fixes bug #373864.
61
62 2006-11-05  Hans Breuer  <hans@breuer.org>
63
64         * glib/makefile.msc.in : glib/ version not the gobject/ 
65         one I accidentially commited. Fixes bug #371074.
66         
67 2006-11-05  Tor Lillqvist  <tml@novell.com>
68
69         * makefile.mingw
70         * gmodule/makefile.mingw.in
71         * glib/makefile.mingw.in
72         * gobject/makefile.mingw.in
73         * gthread/makefile.mingw.in
74         * tests/makefile.mingw.in: Remove from CVS. Haven't been
75         maintained or distributed for long.
76
77 2006-10-26  Pascal Terjan  <pterjan@linuxfr.org>
78
79         * glib/libcharset/localcharset.c: Fix small leak on failed
80         realloc in _g_locale_get_charset_aliases (#338582)
81
82 2006-10-16  Behdad Esfahbod  <behdad@gnome.org>
83
84         * glib/gnulib/Makefile.am: Add $(GLIB_DEBUG_FLAGS).  (#362543,
85         Peter Kjellerstedt)
86
87 2006-10-15  Sebastian Wilhelmi  <seppi@seppi.de>
88
89         * tests/Makefile.am: Compile errorcheck-mutex-test with thread
90         libraries explicitly. (#74748, Javier Villavicencio)
91
92 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
93
94         Add a way to obtain Unicode script information.  (#348348,
95         Marco Barisione)
96
97         * glib/glib.symbols:
98         * glib/gunicode.h: Add GUnicodeScript enumeration and
99         g_unichar_get_script. 
100         
101         * glib/guniprop.c: Implement g_unichar_get_script.
102
103         * glib/gscripttable.h: Generated private header containing
104         script tables.
105
106         * glib/gen-script-table.pl: Script to generate gscripttable.h.
107
108         * glib/Makefile.am: Update
109
110 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
111
112         * tests/run-markup-tests.sh: Small portability fix.  (#347944,
113         Dan McMahill)
114
115 2006-10-07  Tor Lillqvist  <tml@novell.com>
116
117         * glib/gwin32.c (get_package_directory_from_module)
118         (g_win32_get_package_installation_directory): g_strdup the keys
119         that we are passed before adding them to the hash tables, to guard
120         against the caller freeing them. (#355955, Andreas Köhler)
121
122 2006-10-06  Matthias Clasen  <mclasen@redhat.com> 
123
124         * glib/gtimer.c: Fix a typo.  (#359190)
125
126 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
127
128         * glib/Makefile.am:
129         * gobject/Makefile.am:
130         Include pltcheck.sh in EXTRA_DIST, and remove redefinition of TESTS.
131         (#358966)
132
133 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
134
135         * glib/gtimer.c (g_usleep): Use nsleep to implement
136         g_usleep on AIX.  (#321974, Andrew Paprocki)
137
138         * configure.in: Check for nsleep
139
140         * glib/gmain.c: Fix typos in doc comments.  
141         (#358421, Tom Tromey)
142
143 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
144
145         * glib/pltcheck.sh: A script to check PLT entries.
146         * glib/Makefile.am (TESTS): Run pltcheck.sh
147
148         * glib/*: Fix includes to correct some issues with
149         PLT entries.  (#354522, Behdad Esfahbod)
150
151 2006-09-17  Hans Breuer  <hans@breuer.org>
152
153         * glib/makefile.msc.in gobject/makefile.msc.in : better filtering
154         of G_GNUC_* stuff when generating .def files. Now also works with
155         newer (less tolerant) linkers, e.g. from vc2500e
156
157 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
158
159         * glib/gbacktrace.c: Assume string.h is available. 
160         (#354523, Behdad Esfahbod)
161
162         * configure.in: Bump version to 2.13.0
163
164         * glib/glib.symbols:
165         * glib/gmain.[hc]: Add functions to create approximate
166         timeouts.  (#353942, Arjan van de Ven)
167
168         * glib/gstdio.c (g_rename): Initialize save_errno.
169         (#355206, Mike Edenfield)
170
171 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
172
173         * glib/gerror.c: Allocate GErrors using the slice allocator.
174         (#354054, Matt Barnes)
175
176 2006-09-02  Matthias Clasen  <mclasen@redhat.com>
177
178         * glib/gtimer.c: Forgotten HAVE_CLOCK_GETTIME.
179
180 2006-09-02  Tor Lillqvist  <tml@novell.com>
181
182         * glib/gutils.c (g_get_any_init_do): Correct C99ism (mixed
183         declarations and code) in Win32 ifdef branch. (#353903, Mike
184         Edenfield)
185
186 2006-09-01  Abel Cheung  <abel@oaka.org>
187
188         * configure.in: Added 'dz' 'hy' to ALL_LINGUAS.
189
190 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
191
192         * configure.in: Check for CLOCK_MONOTONIC.
193
194         * glib/gtimer.c: Only use clock_gettime if we
195         have a monotonic clock.
196
197 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
198
199         * configure.in: Add missing includes to a few test
200         programs.  (#353580, Chris Wilson)
201
202 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
203
204         * glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
205         va_end on caller-provided va_args.  (#353584, Chris Wilson)
206
207 2006-08-29  Tor Lillqvist  <tml@novell.com>
208
209         Remove support for Windows 9x/ME, as will be done also in Pango
210         and GTK+. GTK+ hasn't worked on Win9x since 2.6 or 2.8 anyway, so
211         it's pretty pointless to keep the Win9x code in here either. If
212         somebody is interested, the code can always be found in older GLib
213         versions, and in CVS.
214
215         * glib/gdir.c
216         * glib/gfileutils.c
217         * glib/gspawn-win32-helper.c
218         * glib/gspawn-win32.c
219         * glib/gstdio.c
220         * glib/gutils.c
221         * glib/gwin32.c
222         * glib/gwin32.h: Remove the G_WIN32_IS_NT_BASED() and
223         G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
224         branches, and any variables or static functions used only by the
225         Win9x branches.
226
227         * glib/gwin32.c (g_win32_windows_version_init): Call g_error() if
228         run on Win9x.
229
230 2006-08-27  Matthias Clasen  <mclasen@redhat.com>
231
232         * configure.in: Fix pthread compiler flag detection.
233
234         * glib/gtimer.c: Use Posix monotonic clocks instead of 
235         gettimeofday when available.  (#336114, William Jon McCann)
236
237 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
238
239         * glib/gutils.h: 
240         * glib/gscanner.c: Fix some typos.  (#351741, Kjartan Maraas)
241
242 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
243
244         * configure.in: Fix the pthread compiler flag detection.
245
246         * glib/gunicode.h: 
247         * glib/gutf8.c (_g_utf8_make_valid): Rename make_valid_utf8
248         from gconvert.c, move it to gutf8.c, and export it privately.
249
250         * glib/gconvert.c (g_filename_display_name): Adjust callers.
251
252         * glib/gkeyfile.c: Use _g_utf8_make_valid() in a number of
253         places to ensure error messages are valid UTF-8.  (#351853,
254         Simon Budig)
255
256 2006-08-22  Matthias Clasen <mclasen@redhat.com>
257
258         * Branch for 2.12
259