Matthias Clasen
a8fc5b41a4
2.11.3
...
svn path=/trunk/; revision=18154
2007-06-16 02:02:37 +00:00
Matthias Clasen
9c9e5dab9f
2.11.2
...
svn path=/trunk/; revision=18057
2007-06-06 13:40:24 +00:00
Matthias Clasen
0f4d0f8e62
2.11.1
...
svn path=/trunk/; revision=18027
2007-06-04 17:01:14 +00:00
Matthias Clasen
6921206dd8
2.11.0
...
svn path=/trunk/; revision=17903
2007-05-24 05:51:56 +00:00
Matthias Clasen
8140741f89
Duplicate the mime_type when storing it in a hash node, to avoid leaks.
...
2007-04-09 Matthias Clasen <mclasen@redhat.com>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): Duplicate the
mime_type when storing it in a hash node, to avoid leaks.
Update all callers.
svn path=/trunk/; revision=17589
2007-04-09 18:31:11 +00:00
Matthias Clasen
e7fd0dbf1c
Don't return "" as match. (fd.o #9544 , Yevgen Muntyan)
...
2007-01-07 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c (cache_glob_node_lookup_suffix): Don't return ""
as match. (fd.o #9544 , Yevgen Muntyan)
svn path=/trunk/; revision=17112
2007-01-08 04:21:17 +00:00
Matthias Clasen
76565d32fa
Fix several problems with this function. (fd.o #9560 , Yevgen Muntyan)
...
2007-01-07 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c (_xdg_mime_cache_list_mime_parents): Fix
several problems with this function. (fd.o #9560 , Yevgen Muntyan)
svn path=/trunk/; revision=17110
2007-01-08 03:39:41 +00:00
Matthias Clasen
7f0d30a0cc
Check for getc_unlocked.
...
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for getc_unlocked.
* gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
unavailable. (#381499 )
2006-12-22 16:13:49 +00:00
Matthias Clasen
07e7719441
Apply a cleanup patch by Kjartan Maraas ( #341812 )
...
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812 )
2006-10-08 05:07:55 +00:00
Matthias Clasen
0c2a4ec42e
2.10.2
2006-08-18 04:34:21 +00:00
Matthias Clasen
fe03813226
2.10.1
2006-07-24 02:02:14 +00:00
Matthias Clasen
066bb1b8f6
Fix a thinko that leads to constantly reloading the mime data if a
...
2006-07-20 Matthias Clasen <mclasen@redhat.com>
Fix a thinko that leads to constantly reloading
the mime data if a mime.cache is present. Patch
by Yevgen Muntyan, bugs.freedesktop.org #7495
* xdgmime.c (xdg_check_dir): Look for mime.cache first.
(xdg_check_file): Report existance of the file separately.
2006-07-20 17:42:10 +00:00
Matthias Clasen
c0b6729871
Free caches on shutdown
2006-07-20 14:40:57 +00:00
Matthias Clasen
81c0660f19
Add xdg_init-free versions of some functions and use them internally, so
...
2006-07-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimemagic.c:
* xdgmime.c:
* xdgmime.h: Add xdg_init-free versions of some
functions and use them internally, so that we don't
reload caches and clobber data structures in the
middle of an operation. Patch by Joe Shaw,
bugs.freedesktop.org #6824
2006-07-20 04:14:59 +00:00
Matthias Clasen
ed1f9073ff
fix bug #5241
2006-07-20 03:20:16 +00:00
Matthias Clasen
d36cff3258
2.10.0
2006-07-03 06:07:00 +00:00
Matthias Clasen
01c092c00c
broken pipe
2006-06-22 02:29:37 +00:00
Matthias Clasen
f57bc65191
2.9.3
2006-06-13 05:15:01 +00:00
Matthias Clasen
b2cbfe66a4
2.9.2
2006-06-05 19:33:40 +00:00
Matthias Clasen
62bf624d84
2.9.1
2006-05-17 00:33:57 +00:00
Matthias Clasen
2fba613b4d
2.9.0
2006-05-05 16:21:19 +00:00
Matthias Clasen
c7f1892ef8
Move a constant string to rodata
2006-04-04 03:49:32 +00:00
Matthias Clasen
727b00ff13
Remove superfluous extern errno declaration. ( #333605 , Tommi Komulainen)
...
2006-03-06 Matthias Clasen <mclasen@redhat.com>
* xdgmimemagic.c: Remove superfluous extern errno
declaration. (#333605 , Tommi Komulainen)
2006-03-06 14:08:35 +00:00
Matthias Clasen
2da390bc2f
Fix symbol lists for make check.
...
2006-02-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtktrayicon-x11.c: Fix symbol lists for make check.
2006-02-27 16:48:34 +00:00
Matthias Clasen
7499e33c81
Merge upstream changes to handle duplicate glob patterns.
2005-12-01 19:04:41 +00:00
Matthias Clasen
7f6251a593
Prevent a segfault
2005-11-04 15:56:13 +00:00
Matthias Clasen
fcacded8ff
Make magic comparisons work correctly in the cache.
...
2005-10-18 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c: Make magic comparisons work correctly
in the cache.
2005-10-18 20:32:35 +00:00
Matthias Clasen
faff0f5f8b
Remove a debugging printf.
...
2005-10-17 Matthias Clasen <mclasen@redhat.com>
* xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
a debugging printf.
2005-10-18 02:54:55 +00:00
Matthias Clasen
6224a37708
Pass statbufs down to xdg_mime_get_mime_type_for_file() where possible, to
...
2005-09-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemunix.c: Pass statbufs down to
xdg_mime_get_mime_type_for_file() where possible, to avoid
useless re-stating.
2005-09-01 14:42:02 +00:00
Matthias Clasen
1255e7fabd
2.8.2
2005-08-24 18:22:23 +00:00
Matthias Clasen
ee46e2bee7
2.8.1
2005-08-24 06:29:12 +00:00
Matthias Clasen
64e268edf4
2.8.0
2005-08-13 19:34:27 +00:00
Matthias Clasen
c1eead8dad
Don't export extra stuff
2005-08-07 13:32:27 +00:00
Matthias Clasen
80578efe33
2.7.5
2005-08-03 18:51:11 +00:00
Matthias Clasen
22d4d65e01
2.7.4
2005-07-22 20:28:31 +00:00
Matthias Clasen
d585120eeb
2.7.3
2005-07-15 20:33:47 +00:00
Matthias Clasen
92da84155f
2.7.2
2005-07-08 18:52:47 +00:00
Matthias Clasen
2bd25d8f45
2.7.1
2005-07-01 19:24:05 +00:00
Matthias Clasen
a4768daec1
Handle missing MAP_FAILED. ( #308449 , Georg Schwarz)
...
2005-06-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c: Handle missing MAP_FAILED. (#308449 , Georg
Schwarz)
2005-06-21 03:36:52 +00:00
Matthias Clasen
58a1af804c
2.7.0
2005-06-20 22:06:27 +00:00
Federico Mena Quintero
252e7dfa84
Pass the correct size to realloc(). Fixes
...
2005-06-10 Federico Mena Quintero <federico@ximian.com>
* xdgmime.c (xdg_mime_init_from_directory): Pass the correct size
to realloc(). Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3506 .
2005-06-10 05:33:58 +00:00
Matthias Clasen
4a6e34d3de
Don't declare errno, including errno.h is enough. ( #304164 , Joerg
...
2005-06-09 Matthias Clasen <mclasen@redhat.com>
* xdgmimemagic.c: Don't declare errno, including errno.h
is enough. (#304164 , Joerg Sonnenberger)
2005-06-09 19:54:06 +00:00
Matthias Clasen
bd2316dcb6
Don't rely on C99 types. ( #304924 , John Ehresman)
...
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c: Don't rely on C99
types. (#304924 , John Ehresman)
2005-05-20 22:40:53 +00:00
Matthias Clasen
2464763a22
Sync to upstream.
...
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* Sync to upstream.
2005-04-29 18:24:38 +00:00
Matthias Clasen
7d6f9b81ee
Use cache->buffer, not cache.
...
2005-04-08 Matthias Clasen <mclasen@redhat.com>
* xdgmimecache.c (cache_magic_matchlet_compare_to_data)
(cache_magic_matchlet_compare): Use cache->buffer, not
cache.
2005-04-08 21:01:21 +00:00
Manish Singh
e20434093a
add xdgmimecache.[ch].
...
Tue Apr 5 16:00:04 2005 Manish Singh <yosh@gimp.org>
* Makefile.am: add xdgmimecache.[ch].
2005-04-05 23:00:53 +00:00
Matthias Clasen
415750b253
Forgotten file
2005-04-04 21:57:39 +00:00
Matthias Clasen
1adc8cb75d
Forgotten files
2005-04-04 13:21:50 +00:00
Matthias Clasen
0e832d57fc
Sync to latest upstream, including fixes for matching against multiple
...
2005-03-28 Matthias Clasen <mclasen@redhat.com>
* xdgmimeglob.c: Sync to latest upstream,
including fixes for matching against multiple
extensions (eg .tar.gz) and for suffix
patterns which don't start with a dot.
2005-03-28 19:32:07 +00:00
Manish Singh
31bfcc1a1d
cast away the constness in the call to free().
...
Sat Mar 19 23:52:33 2005 Manish Singh <yosh@gimp.org>
* xdgmimeglob.c (_xdg_glob_hash_insert_text): cast away the constness
in the call to free().
2005-03-20 07:53:16 +00:00