Make passing NULL for new_prefix work as documented. (#338845, Yevgen
[platform/upstream/glib.git] / ChangeLog.pre-2-12
1 2006-04-17  Matthias Clasen  <mclasen@redhat.com>
2
3         * glib/gcompletion.c (g_completion_complete_utf8): Make passing
4         NULL for new_prefix work as documented.  (#338845, Yevgen Muntyan)
5
6         * tests/completion-test.c: Test that passing NULL for 
7         new_prefix in g_completion_complete_utf8 works.
8
9 2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
10
11         * configure.in: Remove obsolete entry for no_NO.
12         * po/no.po: And the translation.
13
14 2006-04-16  Matthias Clasen  <mclasen@redhat.com>
15
16         * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
17         overrun.  (Coverity, fix by Pascal Terjan)
18
19 2006-04-12  Bastien Nocera  <hadess@hadess.net>
20
21         reviewed by: Matthias Clasen <mclasen@redhat.com>
22
23         * glib/gconvert.c: add more details about which RFC is concerned
24         when using g_filename_to_uri (#337553)
25
26 2006-04-12  Matthias Clasen  <mclasen@redhat.com>
27
28         * glib/goption.c (parse_arg): Add an assert to make it
29         clear when value can be NULL.
30
31 2006-04-07  Martyn Russell  <martyn@imendio.com>
32
33         * tests/threadpool-test.c: (test_thread_stop_unused): Removed an
34         assertion which can fail and is not a critical test.
35
36 2006-04-07  Hans Breuer  <hans@breuer.org>
37
38         * glib/makefile.msc.in : added gbase64.obj and derive the static libs
39         name from auto* variables
40         * glib/makefile.msc.in : link user32.lib for MessageBox()
41
42 2006-04-07  Martyn Russell  <martyn@imendio.com>
43
44         * glib/gasyncqueue.[ch]: Added private API
45         _g_async_queue_get_mutex so that g_thread_pool_free() can use the
46         async queue mutex. 
47         
48         * glib/gthreadpool.c: Make sure
49         g_thread_pool_stop_unused_threads() actually stops unused threads
50         and global limits (like max idle time and max unused threads) can
51         be set without creating a thread pool first. Fixed #335215 (patch
52         from Chris Wilson).  
53         
54         * tests/threadpool-test.c: Added two new tests, tests setting
55         global limits before creating a thread pool. The second test
56         makes sure unused threads are actually stopped when using the
57         g_thread_pool_stop_unused_threads(). 
58
59 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
60
61         * glib/gnulib/vasnprintf.c (vasnprintf): Make
62         long long printing work if snprintf is not 
63         available.  (#332841, Michael McDonald)
64
65 2006-04-05  Behdad Esfahbod  <behdad@gnome.org>
66
67         * tests/option-test.c: Check the return value of g_get_prgname for
68         NULL before passing to strcmp.
69
70         * tests/slice-test.c: Report the correct name in Usage summary.
71
72 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
73
74         * tests/run-collate-tests.sh: Fix up shell script.
75
76         * tests/option-test.c (arg_test5): Skip the test if
77         setting the locale fails.
78         (empty_test1): Reset prgname before the test.
79
80         * tests/Makefile.am: Arrange for run-bookmark-test.sh
81         to be run by make check.
82
83         * tests/utf8-pointer.c: 
84         * tests/tree-test.c: Silence warnings.
85
86 2006-04-04  Matthias Clasen  <mclasen@redhat.com>
87
88         * glib/glib.symbols:
89         * glib/gbase64.[hc]: Add G_GNUC_MALLOC where
90         appropriate, use glib types.
91
92 2006-04-04  Alexander Larsson  <alexl@redhat.com>
93
94         * glib/Makefile.am:
95         * glib/gbase64.[ch]:
96         * glib/glib.symbols:
97         Add base64 encode/decode functions
98         
99         * glib/glib.h:
100         Include gbase64.h
101         
102         * tests/Makefile.am:
103         * tests/base64-test.c:
104         Tests for base64 functions
105
106 2006-04-04  Matthias Clasen  <mclasen@redhat.com>
107
108         * glib/gdate.c: Move short_month_names and long_month_names
109         to bss.
110
111         * glib/gspawn-win32.c (g_spawn_error_quark):
112         * glib/gspawn.c (g_spawn_error_quark):
113         * glib/gshell.c (g_shell_error_quark):
114         * glib/gmarkup.c (g_markup_error_quark):
115         * glib/goption.c (g_option_error_quark):
116         * glib/gkeyfile.c (g_key_file_error_quark):
117         * glib/giochannel.c (g_io_channel_error_quark):
118         * glib/gfileutils.c (g_file_error_quark):
119         * glib/gconvert.c (g_convert_error_quark):
120         * glib/gbookmarkfile.c (g_bookmark_file_error_quark):
121         * glib/gthread.c (g_thread_error_quark): No point in making
122         the error path fast by caching quarks.
123
124         * glib/gbookmarkfile.c: Make the parser struct const.
125
126 2006-04-04  Behdad Esfahbod  <behdad@gnome.org>
127
128         * glib/gbookmarkfile.c: Fix accidentally broken build.
129
130 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
131
132         * glib/gbookmarkfile.c: Don't include sys/time.h  (#337027,
133          Kazuki IWAMOTO)
134
135 2006-03-31  Tor Lillqvist  <tml@novell.com>
136
137         * glib/gstdio.c (g_remove): Revert change below. It wasn't a good
138         idea after all, says the original bug reporter. See bug for
139         discussion.
140
141 2006-03-30  Tor Lillqvist  <tml@novell.com>
142
143         * glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
144         fails with errno set to ENOENT, to leave errno set to EACCESS if
145         that is the problem. (#334799, Yevgen Muntyan)
146
147 2006-03-30  Matthias Clasen  <mclasen@redhat.com>
148
149         * glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
150         the parameter names with the .h files, otherwise gtk-doc
151         misbehaves.
152
153 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
154
155         * tests/.cvsignore: Add bookmarkfile-test to the ignored files.
156
157 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
158
159         * tests/Makefile.am:
160         * tests/bookmarkfile-test.c:
161         * tests/run-bookmark-test.sh:
162         * tests/bookmarks/*.xbel: Add test suite for GBookmarkFile.
163
164 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
165
166         * docs/reference/glib/glib-docs.sgml:
167         * docs/reference/glib/glib-sections.txt:
168         * docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
169         GBookmarkFile to GLib's reference guide.
170
171 2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>
172
173         * glib/glib.h:
174         * glib/gbookmarkfile.h
175         * glib/gbookmarkfile.c: Add GBookmarkFile, a parser for files
176         containing bookmarks stored using the Desktop Bookmark
177         specification. Fixes bug #327662.
178
179         * glib/glib.symbols:
180         * glib/Makefile.am:
181         * glib/makefile.msc.in:
182         * glib/makefile.mingw.in: Build glue for GBookmarkFile.
183
184 2006-03-27  Dom Lachowicz  <cinamod@hotmail.com>
185
186         * tests/option-test.c: Copy-and-paste error slipped into test5. Enable
187         test5, as per Matthias' comments in bug 329548#c11.
188
189         Change a gboolean to an int. Fixes bug #329789.
190
191         * configure.in: Bump version number to 2.11.0
192         
193 2006-03-27  Matthias Clasen  <mclasen@redhat.com>
194
195         Add support for floating point numbers to goption.
196         (#329548, Behdad Esfahbod, patch by Antoine Dopffer and 
197          Dom Lachowicz)
198
199         * glib/goption.h:
200         * glib/goption.c: Support double arguments.
201
202         * tests/option-test.c: Test double arguments.`
203
204 2006-03-26  Matthias Clasen  <mclasen@redhat.com>
205
206         * glib/goption.c (g_option_context_new): Improve the description
207         of parameter_string in the docs.  (#336085, Claudio Saavedra)
208
209 2006-03-24  Martyn Russell  <martyn@imendio.com>
210
211         * glib/gthreadpool.c: Updated the documentation to explain that
212         when the maximum threads is > 1 the sort functionality is not 100%
213         accurate due to the ramdom nature of the scheduler choosing which
214         threads to execute. Fixes bug #334943.
215
216         * tests/threadpool-test.c: Disabled the debugging by default and
217         fixed the sort test to set the maximum threads to 1 to guarantee
218         the thread entry function is called in order. 
219
220 2006-03-23  Matthias Clasen  <mclasen@redhat.com> 
221
222         === Branch for 2.10 ===