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