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