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