1. 20 Feb, 2009 1 commit
    • Alexander Larsson's avatar
      Don't ever sniff desktop files when the filename is known. In other words, · 9fdf70ba
      Alexander Larsson authored
      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
      9fdf70ba
  2. 20 Nov, 2008 1 commit
    • Cosimo Cecchi's avatar
      Bug 561352 – Leak of icon description · 8dc9c875
      Cosimo Cecchi authored
      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
      8dc9c875
  3. 20 Oct, 2008 1 commit
  4. 10 Oct, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 555711 – Wrong fallback order of mimetype icons · a8c88cae
      Matthias Clasen authored
              * 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
      a8c88cae
  5. 16 Sep, 2008 1 commit
  6. 15 Sep, 2008 1 commit
  7. 19 Jul, 2008 1 commit
  8. 18 Jul, 2008 1 commit
  9. 02 Jul, 2008 2 commits
  10. 30 Jun, 2008 1 commit
  11. 22 Jun, 2008 1 commit
  12. 16 Jun, 2008 1 commit
    • Tor Lillqvist's avatar
      Bug 538362 - Get Win32 icons back in the file chooser · cc8adfae
      Tor Lillqvist authored
      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
      cc8adfae
  13. 10 Jun, 2008 3 commits
    • Michael Natterer's avatar
      fix SEGV by not using uninitialized memory as array index. · b15a223a
      Michael Natterer authored
      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
      b15a223a
    • Tor Lillqvist's avatar
      Add TODO comments. · 8b5ad297
      Tor Lillqvist authored
      2008-06-10  Tor Lillqvist  <tml@novell.com>
      
      	* gcontenttype.c (g_content_type_get_icon) [Win32]:
      	Add TODO comments.
      
      
      svn path=/trunk/; revision=6980
      8b5ad297
    • Tor Lillqvist's avatar
      Add TODO comment. · c7b21acd
      Tor Lillqvist authored
      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
      c7b21acd
  14. 09 Jun, 2008 1 commit
  15. 18 May, 2008 1 commit
  16. 27 Feb, 2008 1 commit
    • Alexander Larsson's avatar
      Fix type warnings · 82046b6c
      Alexander Larsson authored
      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
      82046b6c
  17. 22 Feb, 2008 1 commit
  18. 21 Feb, 2008 2 commits
    • Matthias Clasen's avatar
      Doc fixes · f3144c7e
      Matthias Clasen authored
      svn path=/trunk/; revision=6554
      f3144c7e
    • David Zeuthen's avatar
      Implement this function by moving bits from glocalfileinfo.c · bfda430e
      David Zeuthen authored
      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
      bfda430e
  19. 01 Feb, 2008 1 commit
  20. 29 Jan, 2008 2 commits
  21. 31 Dec, 2007 1 commit
    • Mathias Hasselmann's avatar
      Updates to GIO documentation. (#506395, Mikael Hermansson) · 90023950
      Mathias Hasselmann authored
      * 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
      90023950
  22. 27 Dec, 2007 1 commit
  23. 18 Dec, 2007 1 commit
  24. 15 Dec, 2007 1 commit
  25. 12 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Fix up a bunch of details in the docs. · 41d1650c
      Alexander Larsson authored
      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
      41d1650c
  26. 03 Dec, 2007 1 commit
    • Hans Breuer's avatar
      [start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include · 43ae3892
      Hans Breuer authored
      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
      43ae3892
  27. 01 Dec, 2007 1 commit
  28. 29 Nov, 2007 1 commit
  29. 28 Nov, 2007 2 commits
    • Alexander Larsson's avatar
      Added. Added. Added. Added. · 7f328023
      Alexander Larsson authored
      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
      7f328023
    • Matthias Clasen's avatar
      More trivial doc fixes · 54e52e09
      Matthias Clasen authored
      svn path=/trunk/; revision=5968
      54e52e09
  30. 27 Nov, 2007 1 commit
  31. 26 Nov, 2007 1 commit
    • Alexander Larsson's avatar
      gio/ docs/reference/gio Merged gio-standalone into glib. · 37813437
      Alexander Larsson authored
      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
      37813437