1. 04 Mar, 2022 1 commit
  2. 02 Aug, 2021 1 commit
    • Emmanuele Bassi's avatar
      docs: Start stanzas with a single paragraph · f62622fc
      Emmanuele Bassi authored
      When rendering the contents of the GLib documentation stored inside the
      introspection data, a common behaviour is to take the first paragraph as
      a summary of the symbol being documented.
      
      The documentation is assumed to be in Markdown format, which means:
      
       - paragraphs must be separated by newlines
       - lines that have an indentation of four or more spaces are considered
         code blocks
       - lines that start with a `#` are considered titles
      
      This means we need to slightly tweak the documentation in our sources to
      ensure that it can be rendered appropriately by tools that are not
      gtk-doc.
      
      See issue: #2365
      f62622fc
  3. 22 Jul, 2021 1 commit
  4. 27 Apr, 2021 1 commit
  5. 20 Nov, 2020 1 commit
  6. 07 Oct, 2020 1 commit
  7. 27 Jul, 2020 1 commit
  8. 25 Jun, 2020 1 commit
  9. 20 May, 2020 1 commit
    • Edward Hervey's avatar
      gobject: Handle runtime checks as such · 898baa07
      Edward Hervey authored and Edward Hervey's avatar Edward Hervey committed
      The various `g_strdup_printf()` returns values in the implementations of GValue
      lcopy_func are runtime checks which could be disabled if one wants and therefore
      should be handled as such with g_return_val_if_fail()
      898baa07
  10. 05 Sep, 2019 1 commit
  11. 17 May, 2019 1 commit
  12. 02 May, 2019 1 commit
  13. 08 Mar, 2019 1 commit
  14. 11 Oct, 2017 1 commit
  15. 24 May, 2017 1 commit
  16. 10 Apr, 2017 1 commit
  17. 22 Nov, 2016 1 commit
  18. 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
  19. 11 Feb, 2015 1 commit
  20. 05 Feb, 2015 1 commit
  21. 04 Feb, 2014 1 commit
  22. 31 Jan, 2014 1 commit
  23. 23 Jan, 2014 1 commit
  24. 15 Nov, 2013 1 commit
  25. 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
  26. 01 Jan, 2013 1 commit
  27. 11 Dec, 2012 1 commit
  28. 20 Nov, 2012 1 commit
  29. 05 Nov, 2012 1 commit
  30. 25 Oct, 2012 2 commits
  31. 06 Sep, 2012 1 commit
  32. 27 Feb, 2012 1 commit
  33. 25 Jan, 2012 1 commit
    • Emmanuele Bassi's avatar
      Deprecate GValueArray · 0ac9ab4e
      Emmanuele Bassi authored and Matthias Clasen's avatar Matthias Clasen committed
      The GValueArray type was added in a time, during the Jurassic era or so,
      when GArray did not have a representable GType. The GValueArray API has
      various issues as well:
      
        - it doesn't match the other GLib array types;
        - it is not reference counted;
        - the structure is fully exposed on the stack, so it cannot be
          extended to add reference counting;
        - it cannot be forcibly resized.
      
      The nice thing is that now we have a GArray type that can replace in
      full GValueArray, so we can deprecate the latter, and reduce the
      complexity in GLib, application code, and bindings.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=667228
      0ac9ab4e
  34. 30 Nov, 2011 1 commit
  35. 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
  36. 15 Oct, 2011 1 commit
  37. 31 Aug, 2011 1 commit
  38. 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
  39. 17 Aug, 2011 1 commit