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