1. 08 Jan, 2019 1 commit
  2. 26 Nov, 2018 1 commit
    • Matthias Clasen's avatar
      GApplication: Add a way to replace a unique instance · 3a4b18f9
      Matthias Clasen authored
      While uniqueness is great, sometimes you want to restart
      a newer version of the same app. These two flags make that
      We also add a ::name-lost signal, that is emitted when it
      happens. The default handler for this signal just calls
      g_application_quit(), but applications may want to connect
      and do cleanup or state-saving here.
  3. 21 Nov, 2018 1 commit
    • Michael Catanzaro's avatar
      Deprecate TLS rehandshake APIs · 85f7d493
      Michael Catanzaro authored
      Allowing unsafe rehandshakes used to be required for web compatibility,
      but this is no longer a concern in 2018. So there should no longer be
      compatibility benefits to calling this function. All it does is make
      your TLS connection insecure.
      Also, rehandshaking no longer exists at all in TLS 1.3.
      At some point (maybe soon!) glib-networking will begin ignoring the
      rehandshake mode, so let's deprecate it now.
  4. 07 Aug, 2018 1 commit
  5. 21 Jun, 2018 1 commit
  6. 08 Feb, 2018 1 commit
  7. 07 Nov, 2017 1 commit
  8. 07 Aug, 2017 2 commits
  9. 29 May, 2017 1 commit
  10. 16 Mar, 2017 1 commit
  11. 12 Oct, 2016 1 commit
  12. 02 Jun, 2016 1 commit
  13. 17 Apr, 2016 1 commit
  14. 18 Feb, 2016 2 commits
  15. 09 Oct, 2015 1 commit
  16. 01 Oct, 2015 1 commit
  17. 05 Jun, 2015 1 commit
  18. 04 Apr, 2015 1 commit
  19. 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
      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
      Port the inotify backend to adjust to the changes above.  None of the
      other backends are ported yet.  Those will come in future commits.
  20. 10 Dec, 2014 1 commit
  21. 05 Dec, 2014 1 commit
  22. 02 Dec, 2014 2 commits
  23. 29 Nov, 2014 1 commit
    • Dan Winship's avatar
      gsocket: add G_IO_ERROR_CONNECTION_CLOSED · 967fedc0
      Dan Winship authored
      Add G_IO_ERROR_CONNECTION_CLOSED as an alias for
      G_IO_ERROR_BROKEN_PIPE, and also return it on ECONNRESET.
      It doesn't really make sense to try to distinguish EPIPE and
      ECONNRESET at the GLib level, since the exact choice of which error
      gets returned in what conditions depends on the OS. Given that, we
      ought to map the two errors to the same value, and since we're already
      mapping EPIPE to G_IO_ERROR_BROKEN_PIPE, we need to map ECONNRESET to
      that too. But the existing name doesn't really make sense for sockets,
      so we add a new name.
  24. 29 Sep, 2014 1 commit
  25. 28 Jun, 2014 2 commits
  26. 22 May, 2014 1 commit
  27. 24 Apr, 2014 1 commit
  28. 09 Apr, 2014 1 commit
  29. 30 Mar, 2014 1 commit
    • Dan Winship's avatar
      gioerror: map some more values to G_IO_ERROR_NOT_SUPPORTED · 9fc35dbf
      Dan Winship authored
      G_IO_ERROR_NOT_SUPPORTED in g_io_error_from_errno(). (GSocket's
      socket_io_error_from_errno() already did this with the corresponding
      Winsock errors.)
      Also map EOPNOTSUPP, which on Linux is the same as ENOTSUP, but may
      not be on other platforms.
      Also, rewrite the EAGAIN/EWOULDBLOCK section to use the simpler idiom
  30. 20 Mar, 2014 1 commit
  31. 02 Mar, 2014 1 commit
  32. 10 Feb, 2014 1 commit
  33. 31 Jan, 2014 1 commit
  34. 28 Oct, 2013 1 commit
  35. 17 Oct, 2013 1 commit
    • Colin Walters's avatar
      GSubprocess: New class for spawning child processes · 5b48dc40
      Colin Walters authored
      There are a number of nice things this class brings:
      0) Has a race-free termination API on all platforms (on UNIX, calls to
         kill() and waitpid() are coordinated as not to cause problems).
      1) Operates in terms of G{Input,Output}Stream, not file descriptors
      2) Standard GIO-style async API for wait() with cancellation
      3) Makes some simple cases easy, like synchronously spawning a
         process with an argument list
      4) Makes hard cases possible, like asynchronously running a process
         with stdout/stderr merged, output directly to a file path
      Much rewriting and code review from Ryan Lortie <desrt@desrt.ca>
  36. 04 Oct, 2013 1 commit