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