1. 17 Jun, 2019 1 commit
    • Christian Hergert's avatar
      gio: remove use of generic marshaller from GIO objects · 22ba4411
      Christian Hergert authored
      Using the generic marshaller has drawbacks beyond performance. One such
      drawback is that it breaks the stack unwinding from the Linux kernel due
      to having unsufficient data to walk past ffi_call_unixt64. That means that
      performance profiling by application developers looks grouped among
      seemingly unrelated code paths.
      
      While we can't fix the kernel unwinding here, we can provide proper
      c_marshallers and va_marshallers for objects within Gio so that
      performance profiling of applications is more reliable.
      
      Related to Initiatives#10
      22ba4411
  2. 29 May, 2017 1 commit
  3. 22 Nov, 2016 1 commit
  4. 06 Jul, 2016 1 commit
  5. 30 Oct, 2015 1 commit
  6. 20 Mar, 2015 1 commit
    • Allison Karlitskaya's avatar
      substantially rework file monitors · 2737ab32
      Allison Karlitskaya authored
      Remove all event merging and dispatch logic from GFileMonitor.  The only
      implementation of GFileMonitor outside of glib is in gvfs and it already
      does these things properly.
      
      Get rid of GLocalDirectoryMonitor.  We will use a single class,
      GLocalFileMonitor, for both directory and file monitoring.  This will
      prevent every single backend from having to create two objects
      separately (eg: ginotifydirectorymonitor.c and ginotifyfilemonitor.c).
      
      Introduce GFileMonitorSource as a thread-safe cross-context dispatch
      mechanism.  Put it in GLocalFileMonitor.  All backends will be expected
      to dispatch via the source and not touch the GFileMonitor object at all
      from the worker thread.
      
      Remove all construct properties from GLocalFileMonitor and remove the
      "context" construct property from GFileMonitor.  All backends must now
      get the information about what file to monitor from the ->start() call
      which is mandatory to implement.
      
      Remove the implementation of rate limiting in GFileMonitor and add an
      implementation in GLocalFileMonitor.  gvfs never did anything with this
      anyway, but if it wanted to, it would have to implement it for itself.
      This was done in order to get the rate_limit field into the
      GFileMonitorSource so that it could be safely accessed from the worker
      thread.
      
      Expose g_local_file_is_remote() internally for NFS detection.
      
      With the "is_remote" functionality exposed, we can now move all
      functions for creating local file monitors to a proper location in
      glocalfilemonitor.c
      
      Port the inotify backend to adjust to the changes above.  None of the
      other backends are ported yet.  Those will come in future commits.
      2737ab32
  7. 27 Mar, 2014 1 commit
  8. 08 Feb, 2014 1 commit
  9. 31 Jan, 2014 1 commit
  10. 03 Oct, 2013 1 commit
  11. 24 Jun, 2013 2 commits
  12. 06 Oct, 2012 1 commit
  13. 27 Mar, 2012 1 commit
  14. 11 Jan, 2012 1 commit
  15. 05 Jan, 2012 1 commit
  16. 07 Oct, 2011 1 commit
  17. 09 Sep, 2011 1 commit
    • Allison Karlitskaya's avatar
      Deprecated (undocumented) g_thread_gettime · e48573c4
      Allison Karlitskaya authored
      g_thread_gettime() is an undocumented public function pointer that
      points to a function that returns the monotonic time in nanoseconds.
      g_get_monotonic_time() does the same in microseconds, so it can be used
      instead.
      
      GLib had one internal user in GFileMonitor that only cared about
      millisecond accuracy; it has been ported to g_get_monotonic_time().
      e48573c4
  18. 29 Aug, 2011 1 commit
    • Matthias Clasen's avatar
      Spelling fixes · 1b28408b
      Matthias Clasen authored
      Spelling fixes in comments and docs, provided by
      Kjartan Maraas in bug 657336.
      1b28408b
  19. 19 Jul, 2011 1 commit
  20. 20 Jun, 2011 1 commit
  21. 28 Nov, 2010 2 commits
  22. 07 Jul, 2010 1 commit
  23. 01 Jul, 2009 2 commits
  24. 20 May, 2009 1 commit
  25. 17 Mar, 2009 1 commit
    • Colin Walters's avatar
      Bug 575708 - runaway inotify madness ... · 1d1fba44
      Colin Walters authored
      2009-03-17  Colin Walters  <walters@redhat.com>
      
      	Bug 575708 - runaway inotify madness ...
      
      	* gfilemonitor.c: Queue up events in a local list and
      	fire one idle, instead of queuing lots of individual
      	idles which has bad performance behavior.
      
      
      svn path=/trunk/; revision=8010
      1d1fba44
  26. 05 Aug, 2008 1 commit
  27. 02 Jul, 2008 1 commit
  28. 01 Jul, 2008 1 commit
    • Cody Russell's avatar
      Moved all relevant typedefs into these files. · 3d93bf69
      Cody Russell authored
      2008-07-01  Cody Russell  <bratsche@gnome.org>
      
              * gio/gioenums.h:
              * gio/giotypes.h:
      	Moved all relevant typedefs into these	files.
      
              * gio/*.[ch]:
      	Updated wrt added files.
      
              Split types into separate file	for easier maintainership. (#538564)
      
      
      svn path=/trunk/; revision=7127
      3d93bf69
  29. 22 Jun, 2008 1 commit
  30. 16 Jun, 2008 1 commit
  31. 14 Mar, 2008 1 commit
  32. 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
  33. 05 Mar, 2008 1 commit
    • Alexander Larsson's avatar
      Make cancellation threadsafe (i.e. guarantee its only done once, and · 60229515
      Alexander Larsson authored
      2008-03-05  Alexander Larsson  <alexl@redhat.com>
      
              * gfilemonitor.c:
      	Make cancellation threadsafe (i.e.
      	guarantee its only done once, and always
      	done)
      	
              * glocaldirectorymonitor.c:
      	Make sure we the monitor lives while the
      	mounts_changed callback is being called (#520484)
      
      
      svn path=/trunk/; revision=6630
      60229515
  34. 25 Feb, 2008 1 commit
  35. 21 Feb, 2008 1 commit
  36. 25 Jan, 2008 1 commit
  37. 21 Jan, 2008 1 commit