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