9fdf70ba5f1b997181501ca81e69343c650c9bed |
|
20-Feb-2009 |
Alexander Larsson <alexl@redhat.com> |
Don't ever sniff desktop files when the filename is known. In other words, 2009-02-20 Alexander Larsson <alexl@redhat.com> * gcontenttype.c: (g_content_type_guess): Don't ever sniff desktop files when the filename is known. In other words, only allow desktop files with the .desktop extension and when the filename isn't known. This is a security precaution since desktop files can execute arbitrary code when launched and we don't want to allow them to try and hide as another type. There is no legit reason to not have the .desktop extension anyway. svn path=/trunk/; revision=7892
/external/bluetooth/glib/gio/gcontenttype.c
|
8dc9c875ffdfc27edef549b25d0b7baa0e6c7d7b |
|
21-Nov-2008 |
Cosimo Cecchi <cosimoc@gnome.org> |
Bug 561352 – Leak of icon description 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org> Bug 561352 – Leak of icon description * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype generic icon string. svn path=/trunk/; revision=7660
/external/bluetooth/glib/gio/gcontenttype.c
|
cef6abff8e58b597d6ba751999d5ce9989e71b78 |
|
20-Oct-2008 |
Christian Persch <chpe@src.gnome.org> |
Bug 557087 – mem leak in g_content_types_get_registered svn path=/trunk/; revision=7616
/external/bluetooth/glib/gio/gcontenttype.c
|
a8c88cae768e4ea41d21a495096e5ef72490db96 |
|
10-Oct-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Bug 555711 – Wrong fallback order of mimetype icons * gcontenttype.c: Don't prefer generic icons over default mimetype icons. * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon): * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back to generic icons. Patch by Krysztof Kosiński svn path=/trunk/; revision=7587
/external/bluetooth/glib/gio/gcontenttype.c
|
2623f6fc0f6ae69a771ddc6d7bd474973555d442 |
|
16-Sep-2008 |
Michael Natterer <mitch@imendio.com> |
can't assign the return value of g_strdupv() to an array. Fill the array 2008-09-16 Michael Natterer <mitch@imendio.com> * gcontenttype.c (g_content_type_guess): can't assign the return value of g_strdupv() to an array. Fill the array manually with const strings instead (it is never freed anyway). Fixes the build. Also fixed indentation. svn path=/trunk/; revision=7501
/external/bluetooth/glib/gio/gcontenttype.c
|
f634171ec54ae45c8633013521260bf45cd6de06 |
|
15-Sep-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Bug 551681 – g_content_type_guess() too naive with filenames * gcontenttype.c (g_content_type_guess): Check whether there's a '/' at the end of the filename, and declare it a directory. Patch by Bastien Nocera svn path=/trunk/; revision=7491
/external/bluetooth/glib/gio/gcontenttype.c
|
48867a895c446d22caae76bb2fc5cfdea3596bf8 |
|
19-Jul-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Remove debug spew svn path=/trunk/; revision=7206
/external/bluetooth/glib/gio/gcontenttype.c
|
38d4e3fd4869655359a87a2ad4e647721f39df76 |
|
18-Jul-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Add g_content_type_guess_for_tree svn path=/trunk/; revision=7199
/external/bluetooth/glib/gio/gcontenttype.c
|
eb4ce9620a604245fc03fe2f37823c3f00b7a0c2 |
|
02-Jul-2008 |
Colin Walters <walters@redhat.com> |
Use UNLOCK to unlock, not LOCK. 2008-07-02 Colin Walters <walters@redhat.com> * gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK. svn path=/trunk/; revision=7146
/external/bluetooth/glib/gio/gcontenttype.c
|
a6a4779108259c8dfa84b76d2ea44ed2d447e73a |
|
02-Jul-2008 |
Cody Russell <bratsche@src.gnome.org> |
Fixed some more includes svn path=/trunk/; revision=7131
/external/bluetooth/glib/gio/gcontenttype.c
|
9b89825af0dcd78d6ddbde921e94509c5554a07a |
|
30-Jun-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Unalias. Patch by Markus Bergman * gcontentype.c (g_content_type_from_mime_type): Unalias. Patch by Markus Bergman svn path=/trunk/; revision=7109
/external/bluetooth/glib/gio/gcontenttype.c
|
761424465aaad736916b029383483b6ac419d831 |
|
22-Jun-2008 |
Johan Dahlin <jdahlin@async.com.br> |
Include "config.h" instead of <config.h> Command used: find -name 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch svn path=/trunk/; revision=7092
/external/bluetooth/glib/gio/gcontenttype.c
|
cc8adfaeb84d666aeb8afadb7501498a0c8970fe |
|
16-Jun-2008 |
Tor Lillqvist <tml@novell.com> |
Bug 538362 - Get Win32 icons back in the file chooser 2008-06-16 Tor Lillqvist <tml@novell.com> Bug 538362 - Get Win32 icons back in the file chooser * gcontenttype.c (g_content_type_get_icon): Look up the icon corresponding to a file extension in the Registry. Patch by Hans Breuer. (get_registry_classes_key): Handle also REG_EXPAND_SZ type values. 2008-06-16 Tor Lillqvist <tml@novell.com> Patches by Hans Breuer: * glocalfile.c (is_xp_or_later): Handle compiling against older SDK headers with missing VerifyVersionInfo(). Conditioned on _MSC_VER, but should probably use some better test. * glocalfile.c (g_local_file_query_filesystem_info): Don't test uninitialised statfs_result variable on Win32. svn path=/trunk/; revision=7049
/external/bluetooth/glib/gio/gcontenttype.c
|
b15a223a8ab3b411b49a854470d0df003acba8b2 |
|
10-Jun-2008 |
Michael Natterer <mitch@imendio.com> |
fix SEGV by not using uninitialized memory as array index. 2008-06-10 Michael Natterer <mitch@imendio.com> * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using uninitialized memory as array index. svn path=/trunk/; revision=6981
/external/bluetooth/glib/gio/gcontenttype.c
|
8b5ad297dacab81e7d528d5ab203d2eb37747958 |
|
10-Jun-2008 |
Tor Lillqvist <tml@novell.com> |
Add TODO comments. 2008-06-10 Tor Lillqvist <tml@novell.com> * gcontenttype.c (g_content_type_get_icon) [Win32]: Add TODO comments. svn path=/trunk/; revision=6980
/external/bluetooth/glib/gio/gcontenttype.c
|
c7b21acd7bf3e17ac0a8e90015d5ea34a6f3e2d7 |
|
10-Jun-2008 |
Tor Lillqvist <tml@novell.com> |
Add TODO comment. 2008-06-10 Tor Lillqvist <tml@novell.com> * gcontenttype.c (g_content_type_can_be_executable) [Win32]: Add TODO comment. svn path=/trunk/; revision=6979
/external/bluetooth/glib/gio/gcontenttype.c
|
c82988e262b67a4a16c0803a27738e8c31aff014 |
|
09-Jun-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Use icons from the shared mime database, if available. svn path=/trunk/; revision=6976
/external/bluetooth/glib/gio/gcontenttype.c
|
4f21fe18cbd1500e626b859861e8f47d98a97a48 |
|
18-May-2008 |
Matthias Clasen <mclasen@redhat.com> |
New function to create a content type from a mime type. (#527175, Milan 2008-05-17 Matthias Clasen <mclasen@redhat.com> * gcontenttype.h: * gcontenttype.c: (g_content_type_from_mime_type): New function to create a content type from a mime type. (#527175, Milan Crha) svn path=/trunk/; revision=6906
/external/bluetooth/glib/gio/gcontenttype.c
|
82046b6c979e2896e48ff6eb27ee2d016884d4d9 |
|
27-Feb-2008 |
Alexander Larsson <alexl@redhat.com> |
Fix type warnings 2008-02-27 Alexander Larsson <alexl@redhat.com> * gcontenttype.c: Fix type warnings * gunixvolume.c: (g_unix_volume_mount): Add missing GMountMountFlags argument svn path=/trunk/; revision=6599
/external/bluetooth/glib/gio/gcontenttype.c
|
5f6ccf9a3fbba8da459b29744481598fd398c76a |
|
22-Feb-2008 |
Alexander Larsson <alexl@redhat.com> |
Look at old-style gnome mime icon names too, as many have not moved to the 2008-02-22 Alexander Larsson <alexl@redhat.com> * gcontenttype.c (g_content_type_get_icon): Look at old-style gnome mime icon names too, as many have not moved to the new style. svn path=/trunk/; revision=6557
/external/bluetooth/glib/gio/gcontenttype.c
|
f3144c7efe8c84f7a00bff9b796d5e73efc151cf |
|
21-Feb-2008 |
Matthias Clasen <matthiasc@src.gnome.org> |
Doc fixes svn path=/trunk/; revision=6554
/external/bluetooth/glib/gio/gcontenttype.c
|
bfda430eff9778c8b2b01c7af8fda19e491c9a7d |
|
21-Feb-2008 |
David Zeuthen <davidz@redhat.com> |
Implement this function by moving bits from glocalfileinfo.c 2008-02-21 David Zeuthen <davidz@redhat.com> * glocalfileinfo.c: (_g_local_file_info_get): * gcontenttype.c: (g_content_type_get_icon): Implement this function by moving bits from glocalfileinfo.c (g_content_type_get_description): Unalias before getting description (#517687) * gfile.c: (g_file_class_init), (g_file_query_filesystem_info_async), (g_file_query_filesystem_info_finish), (query_filesystem_info_data_free), (query_filesystem_info_async_thread), (g_file_real_query_filesystem_info_async), (g_file_real_query_filesystem_info_finish): * gfile.h: Implement async version of g_file_query_filesystem_info() * gfileinfo.h: Add new attributes for filesystem::use-preview * gio.symbols: Update * gthemedicon.c: (g_themed_icon_append_name): * gthemedicon.h: Add new new convenience function. * gunionvolumemonitor.c: (g_union_volume_monitor_dispose), (get_mounts), (get_volumes), (get_connected_drives), (get_volume_for_uuid), (get_mount_for_uuid), (g_union_volume_monitor_init), (populate_union_monitor), (g_volume_monitor_get), (_g_mount_get_for_mount_path), (g_volume_monitor_adopt_orphan_mount): * gvolumemonitor.c: * gvolumemonitor.h: Use recursive locks so it's safe for volume monitor implementations to call into the main volume monitor. Also separate object initialization and volume monitor initialization such that non-native volume monitors can properly adopt their mounts away. svn path=/trunk/; revision=6550
/external/bluetooth/glib/gio/gcontenttype.c
|
573a73f3915a74b72a1f13c24beafc749b56e3d3 |
|
01-Feb-2008 |
Michael Natterer <mitch@imendio.com> |
assign the return value of xdg_mime_list_mime_parents() to a variable of 2008-02-01 Michael Natterer <mitch@imendio.com> * gcontenttype.c (_g_unix_content_type_get_parents): assign the return value of xdg_mime_list_mime_parents() to a variable of the correct type. svn path=/trunk/; revision=6441
/external/bluetooth/glib/gio/gcontenttype.c
|
1efe9d9cd19aa77f57289f6b839107b3f91c9da4 |
|
29-Jan-2008 |
Alexander Larsson <alexl@redhat.com> |
Don't treat whitespace as control chars. 2008-01-29 Alexander Larsson <alexl@redhat.com> * gcontenttype.c (looks_like_text): Don't treat whitespace as control chars. svn path=/trunk/; revision=6414
/external/bluetooth/glib/gio/gcontenttype.c
|
e064f28435e4edeac7e3128f80af3ecfc5e09bb9 |
|
29-Jan-2008 |
Alexander Larsson <alexl@redhat.com> |
Use list_parents, not get_parents from xdgmime, because the later doesn't 2008-01-29 Alexander Larsson <alexl@redhat.com> * gcontenttype.c: (_g_unix_content_type_get_parents): Use list_parents, not get_parents from xdgmime, because the later doesn't use the cache. * xdgmime/xdgmimecache.c: (_xdg_mime_cache_list_mime_parents): Don't list the same type as parent multiple times. svn path=/trunk/; revision=6407
/external/bluetooth/glib/gio/gcontenttype.c
|
90023950118ef7e459eacc42d52cb77d0c298ab0 |
|
31-Dec-2007 |
Mathias Hasselmann <hasselmm@src.gnome.org> |
Updates to GIO documentation. (#506395, Mikael Hermansson) * gcontenttype.c: Describe memory management for return value of g_content_types_get_registered(). Missing piece from #505815. * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to GVolume, GDrive, GMounts, which hopefully gives the user less confusions when using this API. Following explainations from Alexander Larsson on gtk-devel-list. svn path=/trunk/; revision=6222
/external/bluetooth/glib/gio/gcontenttype.c
|
a06dd20aefd2d43d3363b87ff9df4b654e8a8e5c |
|
27-Dec-2007 |
Matthias Clasen <mclasen@redhat.com> |
Don't return freed memory (#505815, Mikael Hermansson) 2007-12-26 Matthias Clasen <mclasen@redhat.com> * gcontenttype.c (g_content_types_get_registered): Don't return freed memory (#505815, Mikael Hermansson) svn path=/trunk/; revision=6205
/external/bluetooth/glib/gio/gcontenttype.c
|
0debd52858ffb4f468e55cd2f3c7e4dec5455b94 |
|
18-Dec-2007 |
Matthias Clasen <matthiasc@src.gnome.org> |
Fix up includes in section docs svn path=/trunk/; revision=6149
/external/bluetooth/glib/gio/gcontenttype.c
|
2f3aef1617b23b636033516361cc3fef06590460 |
|
15-Dec-2007 |
Matthias Clasen <matthiasc@src.gnome.org> |
Use hash iterators svn path=/trunk/; revision=6132
/external/bluetooth/glib/gio/gcontenttype.c
|
41d1650c9b6b0b8368c0648d2885b83e18020303 |
|
12-Dec-2007 |
Alexander Larsson <alexl@redhat.com> |
Fix up a bunch of details in the docs. 2007-12-12 Alexander Larsson <alexl@redhat.com> * gappinfo.[ch]: * gasyncresult.c: * gbufferedinputstream.c: * gbufferedoutputstream.c: * gcancellable.c: * gcontenttype.c: * gdatainputstream.[ch]: * gdesktopappinfo.c: * gdirectorymonitor.c: * gfile.[ch]: * gfileattribute.[ch]: * gfileicon.[ch]: * gfileinfo.h: * gfileinputstream.h: * gfilemonitor.[ch]: * gfileoutputstream.[ch]: * gfilterinputstream.h: * gfilteroutputstream.h: * gicon.h: * gioscheduler.c: * gloadableicon.[ch]: * gmemoryinputstream.c: * gmountoperation.c: * gthemedicon.c: Fix up a bunch of details in the docs. * glocalfileinfo.c: CR/LF -> LF fixups svn path=/trunk/; revision=6100
/external/bluetooth/glib/gio/gcontenttype.c
|
43ae3892110d4d4a0c744a10cbcbdcc337efefc1 |
|
03-Dec-2007 |
Hans Breuer <hans@breuer.org> |
[start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include 2007-12-03 Hans Breuer <hans@breuer.org> [start of port to win32/msvc] * gcancellable.c : HAVE_UNIST_H and _pipe() * gcontenttype.c : only include <dirent.h> in the UNIX branch * gdatainputstream.c : pointer arithmetic on void* is a gcc extension * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use HAVE_UNIST_H * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/ * glocalvfs.c : use HAVE_PWD_H * gio.symbols : ifdef unix specific functions with G_OS_UNIX * makefile.msc : new file (maybe later converted to makefile.msc.in) * Makefile.am : added to EXTRA_DIST svn path=/trunk/; revision=6027
/external/bluetooth/glib/gio/gcontenttype.c
|
650c65e892ba6d04bdecf32be16287c3f4dc861e |
|
01-Dec-2007 |
Matthias Clasen <matthiasc@src.gnome.org> |
Doc improvements svn path=/trunk/; revision=6005
/external/bluetooth/glib/gio/gcontenttype.c
|
09471fec46619a62fbe9b6e7a7b67c9a421f919e |
|
29-Nov-2007 |
Matthias Clasen <matthiasc@src.gnome.org> |
Coding style fixups svn path=/trunk/; revision=5993
/external/bluetooth/glib/gio/gcontenttype.c
|
7f3280230bc9448a5750fc17a6eabef691ba25f4 |
|
28-Nov-2007 |
Alexander Larsson <alexl@redhat.com> |
Added. Added. Added. Added. 2007-11-28 Alexander Larsson <alexl@redhat.com> * Makefile.am: * abicheck.sh: Added. * makegioalias.pl: Added. * pltcheck.sh: Added. * gio.symbols: Added. * *.c: * inotify/*.c Initial work on adding symbol handling. * gvfs.h: Correct ifdef guard name * fam/Makefile.am: * inotify/Makefile.am: * xdgmime/Makefile.am: Include toplevel Makefile.decl svn path=/trunk/; revision=5972
/external/bluetooth/glib/gio/gcontenttype.c
|
54e52e099e11e0fd6541ce97c16b9f2dd381eb91 |
|
28-Nov-2007 |
Matthias Clasen <matthiasc@src.gnome.org> |
More trivial doc fixes svn path=/trunk/; revision=5968
/external/bluetooth/glib/gio/gcontenttype.c
|
5247f12f3649726471080440de0d37b78c1cec33 |
|
27-Nov-2007 |
Andrew Walton <awalton@src.gnome.org> |
Bumps documentation to 93% symbol coverage, touching most of the public files. Fixes broken function documentation prototypes. Fixes GCancellable inaccuracies. Removes unnecessary incomplete gtk-doc headers in private files. svn path=/trunk/; revision=5953
/external/bluetooth/glib/gio/gcontenttype.c
|
3781343738de4abddf56982325a77bd70a98cd26 |
|
26-Nov-2007 |
Alexander Larsson <alexl@redhat.com> |
gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 Alexander Larsson <alexl@redhat.com> * Makefile.am: * configure.in: * gio-2.0-uninstalled.pc.in: * gio-2.0.pc.in: * gio-unix-2.0-uninstalled.pc.in: * gio-unix-2.0.pc.in: * gio/ * docs/reference/gio Merged gio-standalone into glib. * glib/glibintl.h: * glib/gutils.c: Export glib_gettext so that gio can use it Add P_ (using same domain for now) Add I_ as g_intern_static_string svn path=/trunk/; revision=5941
/external/bluetooth/glib/gio/gcontenttype.c
|