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