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