]> Pileus Git - ~andy/gtk/blob - gtk/xdgmime/ChangeLog
Free caches on shutdown
[~andy/gtk] / gtk / xdgmime / ChangeLog
1 2006-07-20  Matthias Clasen  <mclasen@redhat.com>
2
3         * xdgmime.c (xdg_mime_shutdown): Unref the caches.
4         Patch by Yevgen Muntyan, bugs.freedesktop.org #7496
5
6         * xdgmimemagic.c: 
7         * xdgmime.c: 
8         * xdgmime.h: Add xdg_init-free versions of some
9         functions and use them internally, so that we don't
10         reload caches and clobber data structures in the
11         middle of an operation.  Patch by Joe Shaw,
12         bugs.freedesktop.org #6824
13
14 2006-07-19  Matthias Clasen  <mclasen@redhat.com>
15
16         * xdgmimeglob.c (_xdg_glob_hash_node_lookup_file_name):
17         Don't return NULL as a mimetype, ever, patch
18         by Yevgen Muntyan, bugs.freedesktop.org #5241
19
20 2006-07-02  Matthias Clasen  <mclasen@redhat.com>
21         
22         * === Released 2.10.0 ===
23
24 2006-06-21  Matthias Clasen  <mclasen@redhat.com>
25         
26         * === Released 2.9.4 ===
27
28 2006-06-12  Matthias Clasen  <mclasen@redhat.com>
29
30         * === Released 2.9.3 ===
31
32 2006-06-05  Matthias Clasen  <mclasen@redhat.com>
33
34         * === Released 2.9.2 ===
35
36 2006-05-16  Matthias Clasen  <mclasen@redhat.com>
37
38         * === Released 2.9.1 ====
39
40 2006-05-04  Matthias Clasen  <mclasen@redhat.com>
41
42         * === Released 2.9.0 ===
43
44 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
45
46         * xdgmime.[hc]: Move xdg_mime_type_unknown to .rodata.
47
48 2006-03-06  Matthias Clasen  <mclasen@redhat.com>
49
50         * xdgmimemagic.c: Remove superfluous extern errno 
51         declaration.  (#333605, Tommi Komulainen)
52
53 2006-02-27  Matthias Clasen  <mclasen@redhat.com>
54
55         * xdgmime.h (xdg_mime_dump): Don't export xdg_mime_dump.
56
57 2005-12-01  Matthias Clasen  <mclasen@redhat.com>
58
59         * Merge upstream changes to handle duplicate glob
60         patterns.
61
62 2005-11-04  Matthias Clasen  <mclasen@redhat.com>
63
64         * xdgmime.c (xdg_mime_list_mime_parents): Prevent
65         a segfault.  
66
67 2005-10-18  Matthias Clasen  <mclasen@redhat.com>
68
69         * xdgmimecache.c: Make magic comparisons work correctly
70         in the cache.
71
72 2005-10-17  Matthias Clasen  <mclasen@redhat.com>
73
74         * xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
75         a debugging printf.
76
77 2005-09-01  Matthias Clasen  <mclasen@redhat.com>
78
79         * xdgmime.h:
80         * xdgmime.c (xdg_mime_get_mime_type_for_file): Take
81         a struct statbuf * as argument.
82
83         * test-mime.c (main): Adjust.
84
85 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
86
87         * === Released 2.8.2 ===
88
89         * === Released 2.8.1 ===
90
91 2005-08-13  Matthias Clasen  <mclasen@redhat.com>
92
93         * === Released 2.8.0 ===
94
95 2005-08-07  Matthias Clasen  <mclasen@redhat.com>
96
97         * Rename caches to _caches, so it doesn't
98         get exported. Also don't export n_caches.
99
100 2005-08-02  Matthias Clasen  <mclasen@redhat.com>
101
102         * === Released 2.7.5 ===
103
104 2005-07-22  Matthias Clasen  <mclasen@redhat.com>
105
106         * === Released 2.7.4 === 
107
108 2005-07-15  Matthias Clasen  <mclasen@redhat.com>
109
110         * === Released 2.7.3 ===
111         
112 2005-07-08  Matthias Clasen  <mclasen@redhat.com>
113         
114         * === Released 2.7.2 ===
115
116 2005-07-01  Matthias Clasen  <mclasen@redhat.com>
117
118         * === Released 2.7.1 ===
119         
120 2005-06-20  Matthias Clasen  <mclasen@redhat.com>
121
122         * xdgmimecache.c: Handle missing MAP_FAILED.  (#308449, Georg
123         Schwarz)
124
125 2005-06-20  Matthias Clasen  <mclasen@redhat.com>
126
127         * === Released 2.7.0 ===
128
129 2005-06-10  Federico Mena Quintero  <federico@ximian.com>
130
131         * xdgmime.c (xdg_mime_init_from_directory): Pass the correct size
132         to realloc().  Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3506.
133
134 2005-06-09  Matthias Clasen  <mclasen@redhat.com>
135
136         * xdgmimemagic.c: Don't declare errno, including errno.h 
137         is enough.  (#304164, Joerg Sonnenberger)
138
139 2005-05-20  Matthias Clasen  <mclasen@redhat.com>
140
141         * xdgmimecache.c (GET_UINT32): Don't rely on C99 
142         types.  (#304924, John Ehresman)
143
144 2005-04-29  Matthias Clasen  <mclasen@redhat.com>
145
146         * Sync to upstream.
147
148 2005-04-08  Matthias Clasen  <mclasen@redhat.com>
149
150         * xdgmimecache.c (cache_magic_matchlet_compare_to_data) 
151         (cache_magic_matchlet_compare): Use cache->buffer, not 
152         cache.  
153
154 Tue Apr  5 16:00:04 2005  Manish Singh  <yosh@gimp.org>
155
156         * Makefile.am: add xdgmimecache.[ch].
157
158 2005-03-28  Matthias Clasen  <mclasen@redhat.com>
159
160         * xdgmimeglob.c: Sync to latest upstream,
161         including fixes for matching against multiple
162         extensions (eg .tar.gz) and for suffix
163         patterns which don't start with a dot.
164
165 Sat Mar 19 23:52:33 2005  Manish Singh  <yosh@gimp.org>
166
167         * xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
168         in the call to free().
169
170 2005-03-20  Matthias Clasen  <mclasen@redhat.com>
171
172         * xdgmimeglob.c (_xdg_glob_hash_insert_text): Don't 
173         leak node->mime_type if we are reusing an existing
174         node.  (#170774, Kjartan Maraas)
175
176 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
177
178         * === Released 2.6.1 ===
179         
180 2004-12-16  Matthias Clasen  <mclasen@redhat.com>
181
182         * === Released 2.6.0 ===
183
184 2004-12-13  Marco Pesenti Gritti  <marco@gnome.org>
185
186         * xdgmimeglob.c: (_xdg_glob_hash_lookup_file_name):
187
188         Resync with upstream again
189
190 Fri Dec 10 13:58:38 2004  Manish Singh  <yosh@gimp.org>
191
192         * xdgmime.h: wrap new API in XDG_ENTRY().
193
194 2004-12-09  Marco Pesenti Gritti  <marco@gnome.org>
195
196         * xdgmime.c: (xdg_mime_unalias_mime_type),
197         (xdg_mime_mime_type_equal), (xdg_mime_mime_type_subclass),
198         (xdg_mime_get_mime_parents):
199         * xdgmime.h:
200         * xdgmimealias.c: (_xdg_mime_alias_list_lookup):
201         * xdgmimeglob.c: (_xdg_glob_hash_node_lookup_file_name):
202         * xdgmimeint.c: (_xdg_ucs4_to_lower):
203         * xdgmimeint.h:
204         * xdgmimemagic.c: (_xdg_mime_magic_read_from_file):
205         * xdgmimeparent.c: (_xdg_mime_parent_list_lookup):
206
207         Resync with upstream
208
209 2004-12-09  Matthias Clasen  <mclasen@redhat.com>
210
211         * xdgmimealias.c (_xdg_mime_alias_read_from_file): 
212         * xdgmimeparent.c (_xdg_mime_parent_read_from_file): Make
213         repeated calls accumulate the results, don't call qsort()
214         on empty arrays.  (#160838, Mariano Suárez-Alvarez)
215
216 2004-12-02  Matthias Clasen  <mclasen@redhat.com>
217
218         * === Released 2.5.6 ===
219
220 2004-11-29  Matthias Clasen  <mclasen@redhat.com>
221
222         * xdgmimeparent.c (_xdg_mime_parent_list_lookup): 
223         * xdgmimealias.c (_xdg_mime_alias_list_lookup): Protect 
224         against stupid bsearch() implementations.  (#159737,
225         Morten Welinder)
226  
227 2004-11-24  Matthias Clasen  <mclasen@redhat.com>
228
229         * xdgmimeparent.c (_xdg_mime_parent_read_from_file): 
230         Initialize the parent field of the newly allocate list 
231         entry.  (#159330, Alex Larsson)
232
233 Fri Nov 19 15:10:32 2004  Manish Singh  <yosh@gimp.org>
234
235         * xdgmime.c: Don't put /* within a comment.
236
237 2004-11-09  Matthias Clasen  <mclasen@redhat.com>
238
239         * xdgmime.h: Prefix all symbols.
240
241 2004-11-08  Matthias Clasen  <mclasen@redhat.com>
242
243         * xdgmime.c (xdg_mime_mime_type_subclass): Enable matching
244         of supertypes as text/*.
245
246         * Sync from upstream
247
248 2004-10-27  Matthias Clasen  <mclasen@redhat.com>
249
250         * === Released 2.5.4 ===
251
252 2004-09-19  Matthias Clasen  <mclasen@redhat.com>
253
254         * === Released 2.5.3 ===
255
256 2004-08-25  Matthias Clasen  <mclasen@redhat.com>
257
258         * === Released 2.5.2 ===
259
260 Wed Aug 11 20:44:35 2004  Matthias Clasen  <maclas@gmx.de>
261
262         * xdgmime.h (xdg_mime_shutdown): Add the XDG_PREFIX to
263         this function as well.
264
265 2004-08-01  Matthias Clasen  <mclasen@redhat.com>
266
267         * === Released 2.5.1 ===
268
269 Tue Jul 20 22:24:35 2004  Matthias Clasen  <maclas@gmx.de>
270
271         * xdgmimeglob.h: Remove trailing commas from 
272         enumerations. (#148035)
273
274 Sun Jul 18 20:17:41 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
275
276         * === Released 2.5.0 ==
277
278 Thu May 27 15:23:17 2004  Jonathan Blandford  <jrb@gnome.org>
279
280         * Sync from upstream
281
282 Fri Apr 30 00:19:11 2004  Matthias Clasen  <maclas@gmx.de>
283
284         * xdgmimemagic.c (_xdg_mime_magic_read_a_number): Make sure
285         the static string is long enough.  (#136323, Morten Welinder)
286
287 2004-03-12  Morten Welinder  <terra@gnome.org>
288
289         * *.c: Make sure to include <config.h>  (#137001)
290
291 Wed Mar 10 22:48:15 2004  Jonathan Blandford  <jrb@gnome.org>
292
293         * Sync from upstream
294
295 Sun Feb  8 19:05:16 2004  Manish Singh  <yosh@gimp.org>
296
297         * xdgmimeint.h: declare _xdg_utf8_skip as extern to prevent multiple
298         definitions.
299
300 Wed Jan 21 09:33:13 2004  Jonathan Blandford  <jrb@gnome.org>
301
302         * libgnomevfs/xdgmimeglob.c:
303         * libgnomevfs/xdgmimemagic.c: Sync from upstream
304
305 Tue Jan 20 13:07:04 2004  Jonathan Blandford  <jrb@gnome.org>
306
307         * xdgmime.c: resync with upstream sources.
308
309 Fri Oct 24 16:54:57 2003  Owen Taylor  <otaylor@redhat.com>
310
311         * Makefile.am (libxdgmime_la_SOURCES): Add .h files to 
312         SOURCES.
313
314 Fri Oct 24 16:02:32 2003  Owen Taylor  <otaylor@redhat.com>
315
316         * *.[ch]: Relicense to be dual AFL/LGPL (and thus also
317         GPL) rather than AFL/GPL. Also update AFL version to 1.2.
318
319 Tue Jul 22 15:37:45 2003  Jonathan Blandford  <jrb@gnome.org>
320
321         * xdgmime/xdgmime.c (xdg_mime_init): use XDG_DATA_HOME instead of
322         XDG_CONFIG_HOME.
323