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