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