1. 12 Oct, 2016 1 commit
  2. 12 Sep, 2015 1 commit
  3. 27 Mar, 2014 1 commit
  4. 08 Feb, 2014 2 commits
  5. 31 Jan, 2014 1 commit
  6. 28 Nov, 2013 1 commit
  7. 27 Nov, 2013 1 commit
  8. 24 Nov, 2013 1 commit
    • Manuel Bachmann's avatar
      Fix G_OS #ifdefs in gbusserver.c · 1fb4b3b2
      Manuel Bachmann authored
      G_OS #ifdefs are only available once glibconfig.h has been
      evaluated ; that is, after including glib headers.
      Move this block down so it gets correctly evaluated.
      1fb4b3b2
  9. 20 Nov, 2013 1 commit
    • Dan Winship's avatar
      Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX · 158dde05
      Dan Winship authored
      In Windows development environments that have it, <unistd.h> is mostly
      just a wrapper around several other native headers (in particular,
      <io.h>, which contains read(), close(), etc, and <process.h>, which
      contains getpid()). But given that some Windows dev environments don't
      have <unistd.h>, everything that uses those functions on Windows
      already needed to include the correct Windows header as well, and so
      there is never any point to including <unistd.h> on Windows.
      
      Also, remove some <unistd.h> includes (and a few others) that were
      unnecessary even on unix.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=710519
      158dde05
  10. 21 May, 2013 1 commit
    • Dan Winship's avatar
      Use 'dumb quotes' rather than `really dumb quotes' · 4b94c083
      Dan Winship authored
      Back in the far-off twentieth century, it was normal on unix
      workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027
      APOSTROPHE to be drawn as "’". This led to the convention of using
      them as poor-man's ‛smart quotes’ in ASCII-only text.
      
      However, "'" is now universally drawn as a vertical line, and "`" at a
      45-degree angle, making them an `odd couple' when used together.
      
      Unfortunately, there are lots of very old strings in glib, and also
      lots of new strings in which people have kept up the old tradition,
      perhaps entirely unaware that it used to not look stupid.
      
      Fix this by just using 'dumb quotes' everywhere.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=700746
      4b94c083
  11. 29 Jan, 2013 1 commit
    • Colin Walters's avatar
      Add g_close(), use it · f398bec5
      Colin Walters authored
      There are two benefits to this:
      
      1) We can centralize any operating system specific knowledge of
         close-vs-EINTR handling.  For example, while on Linux we should never
         retry, if someone cared enough later about HP-UX, they could come by
         and change this one spot.
      2) For places that do care about the return value and want to provide
         the caller with a GError, this function makes it convenient to do so.
      
      Note that gspawn.c had an incorrect EINTR loop-retry around close().
      
      https://bugzilla.gnome.org/show_bug.cgi?id=682819
      f398bec5
  12. 19 Apr, 2012 1 commit
  13. 31 Mar, 2012 1 commit
  14. 24 Feb, 2012 1 commit
  15. 11 Jan, 2012 1 commit
  16. 03 Jan, 2012 1 commit
  17. 07 Oct, 2011 1 commit
  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. 27 Apr, 2011 1 commit
  22. 15 Apr, 2011 1 commit
  23. 08 Apr, 2011 1 commit
  24. 24 Mar, 2011 1 commit
  25. 09 Sep, 2010 1 commit
  26. 04 Sep, 2010 1 commit
  27. 30 Aug, 2010 1 commit
    • Christian Persch's avatar
      Plug a mem leak · 802c2583
      Christian Persch authored
      ==6793== 19 (8 direct, 11 indirect) bytes in 1 blocks are definitely lost in loss record 640 of 1,423
      ==6793==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
      ==6793==    by 0x4057094: g_malloc (gmem.c:134)
      ==6793==    by 0x40573DB: g_malloc_n (gmem.c:281)
      ==6793==    by 0x4073D1B: g_strsplit (gstrfuncs.c:2436)
      ==6793==    by 0x4224A89: initable_init (gdbusserver.c:1040)
      ==6793==    by 0x41A73F9: g_initable_init (ginitable.c:105)
      ==6793==    by 0x41A759B: g_initable_new_valist (ginitable.c:218)
      ==6793==    by 0x41A743E: g_initable_new (ginitable.c:138)
      ==6793==    by 0x42238F5: g_dbus_server_new_sync (gdbusserver.c:484)
      
      Bug #628328.
      802c2583
  28. 28 Jul, 2010 1 commit
  29. 20 Jul, 2010 1 commit
  30. 07 Jul, 2010 3 commits
  31. 30 Jun, 2010 1 commit
  32. 22 Jun, 2010 1 commit
  33. 20 May, 2010 1 commit
    • David Zeuthen's avatar
      Bug 619142 – Build fixes · 366b3ffc
      David Zeuthen authored
       - Fix various #include issues
      
       - Change #error to #warning for the EXTERNAL authentication mechanism.
         It is not clear if this should work on Win32 at all.
      
       - Call close() before unlink() for the SHA1 keyring
      
       - Change #error to #warning so we don't forget to do
         permission checking of the .dbus-keyrings directory
      
       - Use Win32 SID for the SHA1 auth mech
      
       - Apparently we can't use word 'interface' as an identifier
      
       - Implement a _g_dbus_win32_get_user_sid() function. For now it's
         private. Don't know if it should be public somewhere. Maybe in
         a future GCredentials support for Win32? I don't know.
      
       - GFileDescriptorBased is not available on Win32. So avoid using
         it in GLocalFile stuff. Now, Win32 still uses GLocalFile + friends
         (which works with file descriptors) so expose a private function
         to get the fd for an OutputStream so things still work.
      
       - Fixup gio.symbols
      
       - Fixup tests/gdbus-peer.c so it builds
      
      With this, at least things compile and the gdbus-peer.exe test case
      passes. Which is a great start. I've tested this by cross-compiling on
      a x86_64 Fedora 13 host using mingw32 and running the code on a 32-bit
      Windows 7 box.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=619142Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
      366b3ffc
  34. 14 May, 2010 1 commit
    • Matthias Clasen's avatar
      Cleanups · 1d22b648
      Matthias Clasen authored
      Sort #includes a bit better, and don't include platform-specific
      headers in gio.h.
      1d22b648
  35. 10 May, 2010 1 commit
  36. 09 May, 2010 1 commit
  37. 06 May, 2010 1 commit