1. 15 Feb, 2014 1 commit
    • Matthias Clasen's avatar
      docs: let go of * · bc6ee788
      Matthias Clasen authored
      Since we are no longer using sgml mode, using /* */ to
      escape block comments inside examples does not work anymore.
      Switch to using line comments with //
      bc6ee788
  2. 02 Feb, 2014 3 commits
  3. 01 Feb, 2014 3 commits
  4. 31 Jan, 2014 3 commits
  5. 15 Dec, 2013 1 commit
  6. 24 Nov, 2013 2 commits
  7. 20 Nov, 2013 1 commit
    • Dan Winship's avatar
      Require C90 compliance · 6e4a7fca
      Dan Winship authored
      Assume all supported platforms implement C90, and therefore they
      (correctly) implement atexit(), memmove(), setlocale(), strerror(),
      and vprintf(), and have <float.h> and <limits.h>.
      
      (Also remove the configure check testing that "do ... while (0)" works
      correctly; the non-do/while-based version of G_STMT_START and
      G_STMT_END was removed years ago, but the check remained. Also, remove
      some checks that configure.ac claimed were needed for libcharset, but
      aren't actually used.)
      
      Note that removing the g_memmove() function is not an ABI break even
      on systems where g_memmove() was previously not a macro, because it
      was never marked GLIB_AVAILABLE_IN_ALL or listed in glib.symbols, so
      it would have been glib-internal since 2004.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=710519
      6e4a7fca
  8. 05 Nov, 2013 1 commit
  9. 09 Nov, 2012 1 commit
  10. 01 Nov, 2012 1 commit
  11. 23 Sep, 2012 1 commit
  12. 31 Mar, 2012 1 commit
  13. 16 Mar, 2012 1 commit
  14. 25 Jan, 2012 2 commits
  15. 14 Jan, 2012 1 commit
    • Benjamin Otte's avatar
      array: return_if_fail() if element size is 0 · a6e149e4
      Benjamin Otte authored
      This is particular useful for:
        g_array_new (sizeof (MyStruct), FALSE, FALSE);
      because the correct incantation is
        g_array_new (FALSE, FALSE, sizeof (MyStruct));
      and these warnings will trigger in the first situation.
      a6e149e4
  16. 14 Dec, 2011 3 commits
  17. 24 Nov, 2011 1 commit
    • Stef Walter's avatar
      GBytes: A new type for an immutable set of bytes. · fcc69fd3
      Stef Walter authored
       * Represents an immutable reference counted block of memory.
       * This is basically the internal glib GBuffer structure exposed,
         renamed, and with some additional capabilities.
       * The GBytes name comes from python3's immutable 'bytes' type
       * GBytes can be safely used as keys in hash tables, and have
         functions for doing so: g_bytes_hash, g_bytes_equal
       * GByteArray is a mutable form of GBytes, and vice versa. There
         are functions for converting from one to the other efficiently:
         g_bytes_unref_to_array() and g_byte_array_free_to_bytes()
       * Adds g_byte_array_new_take() to support above functions
      
      https://bugzilla.gnome.org/show_bug.cgi?id=663291
      fcc69fd3
  18. 19 Sep, 2011 1 commit
  19. 22 Jul, 2011 1 commit
  20. 04 Jun, 2011 1 commit
  21. 29 May, 2011 2 commits
  22. 15 May, 2011 3 commits
  23. 01 Feb, 2011 1 commit
  24. 09 Aug, 2010 1 commit
  25. 07 Jul, 2010 1 commit
  26. 20 Jun, 2010 1 commit
  27. 03 Feb, 2010 1 commit
    • Krzesimir Nowak's avatar
      Add checks for NULL pointer in arrays. · 33b011ce
      Krzesimir Nowak authored
      Fixes: Bug 599197 -  array ref and unref functions crash on NULL
      array.
      
      * garray.c: Added safety guards to all public functions, which did
      not have them earlier. Now when NULL is passed to them, they will
      issue a warning and return, instead of segfaulting.
      33b011ce