1. 04 Oct, 2013 1 commit
    • Kalev Lember's avatar
      xdgmime: Fix an invalid read · be7f4018
      Kalev Lember authored
      This commit factors out a function for comparing string suffixes, and at
      the same time makes it safe for mime types that are shorter than the
      "/*" suffix.
      
      ==25418== Invalid read of size 1
      ==25418==    at 0x3C6D0F9D22: __gio_xdg_cache_mime_type_subclass (xdgmimecache.c:848)
      ==25418==    by 0x3C6D09ED8C: g_content_type_is_a (gcontenttype.c:158)
      ==25418==    by 0x34D8031E95: gtk_recent_filter_filter (gtkrecentfilter.c:733)
      ==25418==    by 0x34D802F167: _gtk_recent_chooser_get_items (gtkrecentchooserutils.c:387)
      ==25418==    by 0x34D802D07F: idle_populate_func (gtkrecentchoosermenu.c:1011)
      ==25418==    by 0x34D7A20477: gdk_threads_dispatch (gdk.c:804)
      ==25418==    by 0x3C6C0492F5: g_main_context_dispatch (gmain.c:3065)
      ==25418==    by 0x3C6C049677: g_main_context_iterate.isra.23 (gmain.c:3712)
      ==25418==    by 0x3C6C04972B: g_main_context_iteration (gmain.c:3773)
      ==25418==    by 0x34D7FC2AF4: gtk_main_iteration (gtkmain.c:1262)
      ==25418==    by 0x408EB4: main (in /usr/bin/glade)
      
      https://bugzilla.gnome.org/show_bug.cgi?id=708529
      be7f4018
  2. 28 Aug, 2012 1 commit
  3. 09 Aug, 2010 1 commit
  4. 17 Nov, 2009 1 commit
  5. 25 Oct, 2009 1 commit
  6. 08 Oct, 2009 1 commit
  7. 02 Oct, 2009 4 commits
  8. 09 Jan, 2009 1 commit
  9. 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
  10. 22 Jun, 2008 1 commit
  11. 09 Jun, 2008 1 commit
  12. 16 Apr, 2008 2 commits
    • Matthias Clasen's avatar
      Partically revert the last commit after realizing that · 07ad3555
      Matthias Clasen authored
      2008-04-16  Matthias Clasen  <mclasen@redhat.com>
      
              Partically revert the last commit after realizing that
              xdg_mime_media_type_equal doesn't have to init at all.
      
              * xdgmime/xdgmime.h:
              * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
      
              * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
      
      svn path=/trunk/; revision=6857
      07ad3555
    • Matthias Clasen's avatar
      Avoid possible memory corruption in xdgmime, fd.o bug 12512, reported by · 101521f6
      Matthias Clasen authored
      2008-04-16  Matthias Clasen  <mclasen@redhat.com>
      
              Avoid possible memory corruption in xdgmime, fd.o bug 12512,
              reported by Joe Shaw and Federico Mena Quintero.
      
              * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
              (xdg_mime_media_type_equal): Turn into a wrapper around the
              _-prefixed version.
      
              * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
              functions throughout.
      
      
      svn path=/trunk/; revision=6854
      101521f6
  13. 06 Mar, 2008 1 commit
    • Alexander Larsson's avatar
      Fix sparse warnings (#519489) · 5241d96b
      Alexander Larsson authored
      2008-03-06  Alexander Larsson  <alexl@redhat.com>
      
              * gdesktopappinfo.c:
              * gfilemonitor.c:
              * gthemedicon.c:
              * gunionvolumemonitor.c:
              * gunixmounts.c:
              * tests/g-file.c:
              * tests/live-g-file.c:
              * xdgmime/xdgmimecache.c:
      	Fix sparse warnings (#519489)
      
      
      svn path=/trunk/; revision=6632
      5241d96b
  14. 29 Jan, 2008 1 commit
    • Alexander Larsson's avatar
      Use list_parents, not get_parents from xdgmime, because the later doesn't · e064f284
      Alexander Larsson authored
      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
      e064f284
  15. 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