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