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