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