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