1. 07 Nov, 2015 1 commit
    • Philip Withnall's avatar
      glib: Add missing (nullable) and (optional) annotations · 25a7c817
      Philip Withnall authored
      Add various (nullable) and (optional) annotations which were missing
      from a variety of functions. Also port a couple of existing (allow-none)
      annotations in the same files to use (nullable) and (optional) as
      appropriate instead.
      
      Secondly, add various (not nullable) annotations as needed by the new
      default in gobject-introspection of marking gpointers as (nullable). See
      https://bugzilla.gnome.org/show_bug.cgi?id=729660.
      
      This includes adding some stub documentation comments for the
      assertion macro error functions, which weren’t previously documented.
      The new comments are purely to allow for annotations, and hence are
      marked as (skip) to prevent the symbols appearing in the GIR file.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=719966
      25a7c817
  2. 08 Oct, 2014 1 commit
  3. 13 Sep, 2014 1 commit
    • Sébastien Wilmet's avatar
      docs: various small fixes · 25990eb2
      Sébastien Wilmet authored
      For the GPtrArray example, several variables declared on the same line
      is harder to read and to work with (to move, remove or comment a single
      variable declaration).
      25990eb2
  4. 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
  5. 02 Feb, 2014 3 commits
  6. 01 Feb, 2014 3 commits
  7. 31 Jan, 2014 3 commits
  8. 15 Dec, 2013 1 commit
  9. 24 Nov, 2013 2 commits
  10. 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
  11. 05 Nov, 2013 1 commit
  12. 09 Nov, 2012 1 commit
  13. 01 Nov, 2012 1 commit
  14. 23 Sep, 2012 1 commit
  15. 31 Mar, 2012 1 commit
  16. 16 Mar, 2012 1 commit
  17. 25 Jan, 2012 2 commits
  18. 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
  19. 14 Dec, 2011 3 commits
  20. 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
  21. 19 Sep, 2011 1 commit
  22. 22 Jul, 2011 1 commit
  23. 04 Jun, 2011 1 commit
  24. 29 May, 2011 2 commits
  25. 15 May, 2011 3 commits
  26. 01 Feb, 2011 1 commit
  27. 09 Aug, 2010 1 commit