1 2006-07-20 Matthias Clasen <mclasen@redhat.com>
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
7 * xdgmime.c (xdg_check_dir): Look for mime.cache first.
8 (xdg_check_file): Report existance of the file separately.
10 2006-07-20 Matthias Clasen <mclasen@redhat.com>
12 * xdgmime.c (xdg_mime_shutdown): Unref the caches.
13 Patch by Yevgen Muntyan, bugs.freedesktop.org #7496
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
23 2006-07-19 Matthias Clasen <mclasen@redhat.com>
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
29 2006-07-02 Matthias Clasen <mclasen@redhat.com>
31 * === Released 2.10.0 ===
33 2006-06-21 Matthias Clasen <mclasen@redhat.com>
35 * === Released 2.9.4 ===
37 2006-06-12 Matthias Clasen <mclasen@redhat.com>
39 * === Released 2.9.3 ===
41 2006-06-05 Matthias Clasen <mclasen@redhat.com>
43 * === Released 2.9.2 ===
45 2006-05-16 Matthias Clasen <mclasen@redhat.com>
47 * === Released 2.9.1 ====
49 2006-05-04 Matthias Clasen <mclasen@redhat.com>
51 * === Released 2.9.0 ===
53 2006-04-03 Matthias Clasen <mclasen@redhat.com>
55 * xdgmime.[hc]: Move xdg_mime_type_unknown to .rodata.
57 2006-03-06 Matthias Clasen <mclasen@redhat.com>
59 * xdgmimemagic.c: Remove superfluous extern errno
60 declaration. (#333605, Tommi Komulainen)
62 2006-02-27 Matthias Clasen <mclasen@redhat.com>
64 * xdgmime.h (xdg_mime_dump): Don't export xdg_mime_dump.
66 2005-12-01 Matthias Clasen <mclasen@redhat.com>
68 * Merge upstream changes to handle duplicate glob
71 2005-11-04 Matthias Clasen <mclasen@redhat.com>
73 * xdgmime.c (xdg_mime_list_mime_parents): Prevent
76 2005-10-18 Matthias Clasen <mclasen@redhat.com>
78 * xdgmimecache.c: Make magic comparisons work correctly
81 2005-10-17 Matthias Clasen <mclasen@redhat.com>
83 * xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
86 2005-09-01 Matthias Clasen <mclasen@redhat.com>
89 * xdgmime.c (xdg_mime_get_mime_type_for_file): Take
90 a struct statbuf * as argument.
92 * test-mime.c (main): Adjust.
94 2005-08-24 Matthias Clasen <mclasen@redhat.com>
96 * === Released 2.8.2 ===
98 * === Released 2.8.1 ===
100 2005-08-13 Matthias Clasen <mclasen@redhat.com>
102 * === Released 2.8.0 ===
104 2005-08-07 Matthias Clasen <mclasen@redhat.com>
106 * Rename caches to _caches, so it doesn't
107 get exported. Also don't export n_caches.
109 2005-08-02 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.7.5 ===
113 2005-07-22 Matthias Clasen <mclasen@redhat.com>
115 * === Released 2.7.4 ===
117 2005-07-15 Matthias Clasen <mclasen@redhat.com>
119 * === Released 2.7.3 ===
121 2005-07-08 Matthias Clasen <mclasen@redhat.com>
123 * === Released 2.7.2 ===
125 2005-07-01 Matthias Clasen <mclasen@redhat.com>
127 * === Released 2.7.1 ===
129 2005-06-20 Matthias Clasen <mclasen@redhat.com>
131 * xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg
134 2005-06-20 Matthias Clasen <mclasen@redhat.com>
136 * === Released 2.7.0 ===
138 2005-06-10 Federico Mena Quintero <federico@ximian.com>
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.
143 2005-06-09 Matthias Clasen <mclasen@redhat.com>
145 * xdgmimemagic.c: Don't declare errno, including errno.h
146 is enough. (#304164, Joerg Sonnenberger)
148 2005-05-20 Matthias Clasen <mclasen@redhat.com>
150 * xdgmimecache.c (GET_UINT32): Don't rely on C99
151 types. (#304924, John Ehresman)
153 2005-04-29 Matthias Clasen <mclasen@redhat.com>
157 2005-04-08 Matthias Clasen <mclasen@redhat.com>
159 * xdgmimecache.c (cache_magic_matchlet_compare_to_data)
160 (cache_magic_matchlet_compare): Use cache->buffer, not
163 Tue Apr 5 16:00:04 2005 Manish Singh <yosh@gimp.org>
165 * Makefile.am: add xdgmimecache.[ch].
167 2005-03-28 Matthias Clasen <mclasen@redhat.com>
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.
174 Sat Mar 19 23:52:33 2005 Manish Singh <yosh@gimp.org>
176 * xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
177 in the call to free().
179 2005-03-20 Matthias Clasen <mclasen@redhat.com>
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)
185 2005-01-08 Matthias Clasen <mclasen@redhat.com>
187 * === Released 2.6.1 ===
189 2004-12-16 Matthias Clasen <mclasen@redhat.com>
191 * === Released 2.6.0 ===
193 2004-12-13 Marco Pesenti Gritti <marco@gnome.org>
195 * xdgmimeglob.c: (_xdg_glob_hash_lookup_file_name):
197 Resync with upstream again
199 Fri Dec 10 13:58:38 2004 Manish Singh <yosh@gimp.org>
201 * xdgmime.h: wrap new API in XDG_ENTRY().
203 2004-12-09 Marco Pesenti Gritti <marco@gnome.org>
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):
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):
213 * xdgmimemagic.c: (_xdg_mime_magic_read_from_file):
214 * xdgmimeparent.c: (_xdg_mime_parent_list_lookup):
218 2004-12-09 Matthias Clasen <mclasen@redhat.com>
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)
225 2004-12-02 Matthias Clasen <mclasen@redhat.com>
227 * === Released 2.5.6 ===
229 2004-11-29 Matthias Clasen <mclasen@redhat.com>
231 * xdgmimeparent.c (_xdg_mime_parent_list_lookup):
232 * xdgmimealias.c (_xdg_mime_alias_list_lookup): Protect
233 against stupid bsearch() implementations. (#159737,
236 2004-11-24 Matthias Clasen <mclasen@redhat.com>
238 * xdgmimeparent.c (_xdg_mime_parent_read_from_file):
239 Initialize the parent field of the newly allocate list
240 entry. (#159330, Alex Larsson)
242 Fri Nov 19 15:10:32 2004 Manish Singh <yosh@gimp.org>
244 * xdgmime.c: Don't put /* within a comment.
246 2004-11-09 Matthias Clasen <mclasen@redhat.com>
248 * xdgmime.h: Prefix all symbols.
250 2004-11-08 Matthias Clasen <mclasen@redhat.com>
252 * xdgmime.c (xdg_mime_mime_type_subclass): Enable matching
253 of supertypes as text/*.
257 2004-10-27 Matthias Clasen <mclasen@redhat.com>
259 * === Released 2.5.4 ===
261 2004-09-19 Matthias Clasen <mclasen@redhat.com>
263 * === Released 2.5.3 ===
265 2004-08-25 Matthias Clasen <mclasen@redhat.com>
267 * === Released 2.5.2 ===
269 Wed Aug 11 20:44:35 2004 Matthias Clasen <maclas@gmx.de>
271 * xdgmime.h (xdg_mime_shutdown): Add the XDG_PREFIX to
272 this function as well.
274 2004-08-01 Matthias Clasen <mclasen@redhat.com>
276 * === Released 2.5.1 ===
278 Tue Jul 20 22:24:35 2004 Matthias Clasen <maclas@gmx.de>
280 * xdgmimeglob.h: Remove trailing commas from
281 enumerations. (#148035)
283 Sun Jul 18 20:17:41 2004 Soeren Sandmann <sandmann@daimi.au.dk>
285 * === Released 2.5.0 ==
287 Thu May 27 15:23:17 2004 Jonathan Blandford <jrb@gnome.org>
291 Fri Apr 30 00:19:11 2004 Matthias Clasen <maclas@gmx.de>
293 * xdgmimemagic.c (_xdg_mime_magic_read_a_number): Make sure
294 the static string is long enough. (#136323, Morten Welinder)
296 2004-03-12 Morten Welinder <terra@gnome.org>
298 * *.c: Make sure to include <config.h> (#137001)
300 Wed Mar 10 22:48:15 2004 Jonathan Blandford <jrb@gnome.org>
304 Sun Feb 8 19:05:16 2004 Manish Singh <yosh@gimp.org>
306 * xdgmimeint.h: declare _xdg_utf8_skip as extern to prevent multiple
309 Wed Jan 21 09:33:13 2004 Jonathan Blandford <jrb@gnome.org>
311 * libgnomevfs/xdgmimeglob.c:
312 * libgnomevfs/xdgmimemagic.c: Sync from upstream
314 Tue Jan 20 13:07:04 2004 Jonathan Blandford <jrb@gnome.org>
316 * xdgmime.c: resync with upstream sources.
318 Fri Oct 24 16:54:57 2003 Owen Taylor <otaylor@redhat.com>
320 * Makefile.am (libxdgmime_la_SOURCES): Add .h files to
323 Fri Oct 24 16:02:32 2003 Owen Taylor <otaylor@redhat.com>
325 * *.[ch]: Relicense to be dual AFL/LGPL (and thus also
326 GPL) rather than AFL/GPL. Also update AFL version to 1.2.
328 Tue Jul 22 15:37:45 2003 Jonathan Blandford <jrb@gnome.org>
330 * xdgmime/xdgmime.c (xdg_mime_init): use XDG_DATA_HOME instead of