1. 24 Jun, 2013 2 commits
  2. 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.
  3. 13 Jan, 2013 1 commit
  4. 12 Dec, 2012 1 commit
    • Dan Winship's avatar
      Add gnetworking.h · b377e696
      Dan Winship authored
      Install a public "gnetworking.h" header that can be used to include
      the relevant OS-dependent networking headers. This does not really
      abstract away unix-vs-windows however; error codes, in particular,
      are incompatible.
      gnetworkingprivate.h now contains just a few internal URI-related
      Also add a g_networking_init() function to gnetworking.h, which can be
      used to explicitly initialize OS-level networking, rather than having
      that happen as a side-effect of registering GInetAddress.
  5. 15 Nov, 2012 1 commit
  6. 14 Apr, 2012 2 commits
  7. 03 Jan, 2012 1 commit
  8. 27 May, 2011 1 commit
  9. 13 Apr, 2011 1 commit
  10. 08 Apr, 2011 1 commit
  11. 08 Oct, 2010 1 commit
  12. 30 Aug, 2010 1 commit
    • Christian Persch's avatar
      Plug a mem leak · 6879256f
      Christian Persch authored
      ==6793== 16 bytes in 1 blocks are definitely lost in loss record 632 of 1,423
      ==6793==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
      ==6793==    by 0x4057094: g_malloc (gmem.c:134)
      ==6793==    by 0x417FC29: g_data_input_stream_read_line (gdatainputstream.c:797)
      ==6793==    by 0x41F99C1: _my_g_data_input_stream_read_line (gdbusauth.c:279)
      ==6793==    by 0x41FA728: _g_dbus_auth_run_client (gdbusauth.c:759)
      Bug #628327.
  13. 07 Jul, 2010 1 commit
  14. 02 Jul, 2010 2 commits
  15. 30 Jun, 2010 1 commit
  16. 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: 's avatarDavid Zeuthen <davidz@redhat.com>
  17. 14 May, 2010 2 commits
    • Christian Persch's avatar
      Plug a mem leak in gdbusauth · 60c53fef
      Christian Persch authored
      From valgrind running gdbus-peer test:
      ==20513== 32 bytes in 1 blocks are definitely lost in loss record 1 of 15
      ==20513==    at 0x4024E4C: realloc (vg_replace_malloc.c:429)
      ==20513==    by 0x4079BB1: g_realloc (gmem.c:174)
      ==20513==    by 0x4099472: g_string_maybe_expand (gstring.c:396)
      ==20513==    by 0x409A42A: g_string_insert_c (gstring.c:1050)
      ==20513==    by 0x42169AC: g_string_append_c_inline (gstring.h:153)
      ==20513==    by 0x421682C: _my_g_input_stream_read_line_safe (gdbusauth.c:336)
      ==20513==    by 0x421843E: _g_dbus_auth_run_server (gdbusauth.c:1265)
      ==20513==    by 0x4222B94: initable_init (gdbusconnection.c:1783)
      ==20513==    by 0x41CF8D5: g_initable_init (ginitable.c:106)
      ==20513==    by 0x41CFA8D: g_initable_new_valist (ginitable.c:219)
      ==20513==    by 0x41CF920: g_initable_new (ginitable.c:139)
      ==20513==    by 0x4223479: g_dbus_connection_new_sync (gdbusconnection.c:2046)
      Bug #618650.
    • Matthias Clasen's avatar
      Cleanups · 1d22b648
      Matthias Clasen authored
      Sort #includes a bit better, and don't include platform-specific
      headers in gio.h.
  18. 13 May, 2010 2 commits
  19. 10 May, 2010 1 commit
  20. 09 May, 2010 2 commits
  21. 06 May, 2010 4 commits