1. 23 May, 2017 1 commit
  2. 22 May, 2017 4 commits
  3. 17 May, 2017 2 commits
  4. 16 May, 2017 4 commits
    • Emmanuele Bassi's avatar
      Check for a recent enough libmount · 5faaaac9
      Emmanuele Bassi authored
      We need mnt_unref_table() in order to use libmount, but we also need to
      keep the fallback code for installations of libmount without a
      pkg-config file.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=782628
      5faaaac9
    • Emmanuele Bassi's avatar
      mkenums: Support public/private trigraph · 9ba17d51
      Emmanuele Bassi authored
      It is possible, when using GTK-Doc, to mark sections of an enumeration
      type as "private": the values are there, but they are not documented,
      and GTK-Doc won't complain about missing symbols:
      
          typedef enum {
            /*< private >*/
            MY_FOO_PRIVATE,
      
            /*< public >*/
            MY_FOO_VALUE_A,
            MY_FOO_VALUE_B,
      
            /*< private >*/
            MY_FOO_VALUE_C,
            MY_FOO_VALUE_D
          } MyFooValue;
      
      The glib-mkenums parser also allows skipping enumeration values, using a
      slightly different syntax:
      
          typedef enum P
            MY_BAR_PRIVATE, /*< skip >*/
            MY_BAR_VALUE_A,
            MY_BAR_VALUE_B
          } MyBarValue;
      
      The annotation must sit on the same line as the enumeration value.
      
      Both GTK-Doc and glib-mkenum use the same trigraph syntax, but slightly
      different keys. This makes combining them slightly redundant, but
      feasible.
      
      All would be well and good, except that glib-mkenum will generate a
      warning for lines it does not understand — and that includes the GTK-Doc
      annotation trigraph, which, when confronted with the MyFooValue
      enumeration above, will result in a warning like:
      
          glib-mkenums: myfoo.h:2: Failed to parse `  /*< private >*/ '
          glib-mkenums: myfoo.h:5: Failed to parse `  /*< public >*/ '
          glib-mkenums: myfoo.h:9: Failed to parse `  /*< private >*/ '
      
      Of course, we could make glib-mkenum ignore any trigraph comment on a
      stand alone line, but it would probably be better to ensure that both
      glib-mkenums and gtk-doc behave consistently with each other, and
      especially with the maintainer's intent of hiding some values from the
      user, and reserving them for internal use.
      
      So we should ensure that glib-mkenums automatically skips all the
      enumeration values after a "private" flag has been set, until it reaches
      a "public" stanza.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=782162
      9ba17d51
    • Mohammed Sadiq's avatar
      docs: Trivial typo fixes · 274f336f
      Mohammed Sadiq authored
      The presence of space was resulting in wrongly rendered documentation
      in devhelp (and probably in other documentations).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=782068
      274f336f
    • Alexandru Pandelea's avatar
      xdgmime: fix special case for mime_type_subclass · eb7b796b
      Alexandru Pandelea authored
      Currently, all mime types are considered subclasses of
      application/octet-stream, but according to the freedesktop
      standard, everything but the inode/* types is a subclass of
      application/octet-stream.
      
      Update the special case for application/octet-stream so that all
      types but inode/* will match with it and add unit test for it.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=782311
      eb7b796b
  5. 15 May, 2017 1 commit
  6. 14 May, 2017 1 commit
  7. 12 May, 2017 3 commits
  8. 10 May, 2017 6 commits
    • Krzesimir Nowak's avatar
      gstrfuncs: Fix translation issues · e8222c33
      Krzesimir Nowak authored
      The tool that extracts the translatable strings to .po files does not
      cope with the G_GUINTX_FORMAT macros, so we preformat the numbers to
      strings and use the strings in the translatable error messages.
      e8222c33
    • Piotr Drąg's avatar
      Update POTFILES.in · 6b19907a
      Piotr Drąg authored
      6b19907a
    • Krzesimir Nowak's avatar
      docs: Fix typos · b89fed05
      Krzesimir Nowak authored
      Something I spotted by accident with git log.
      b89fed05
    • Krzesimir Nowak's avatar
      docs: Add index for 2.54 api · ce7e0219
      Krzesimir Nowak authored
      ce7e0219
    • Krzesimir Nowak's avatar
      gstrfuncs: Add replacement for string-to-number functions · 4fe89b04
      Krzesimir Nowak authored
      Very often when we want to convert a string to number, we assume that
      the string contains only a number. We have g_ascii_strto* family of
      functions to do the conversion but they are awkward to use - one has
      to check if errno is zero, end_ptr is not NULL and *end_ptr points to
      the terminating nul and then do the bounds checking. Many projects
      need this kind of functionality, so it gets reimplemented all the
      time.
      
      This commit adds some replacement functions that convert a string to a
      signed or unsigned number that also follows the usual way of error
      reporting - returning FALSE on failure and filling an error output
      parameter.
      4fe89b04
    • Chun-wei Fan's avatar
      win32/replace.py: Fix replacing items in files with UTF-8 content · 58ecc57c
      Chun-wei Fan authored
      Some files that this script will process might have UTF-8 items in
      there, which can cause problems on Python 3.x as it is more strict and
      careful on unicode issues.  Fix this by:
      
      -Doing what we did before on Python 2.x
      -Open the file with encoding='utf-8' on Python 3.x
      58ecc57c
  9. 09 May, 2017 4 commits
  10. 08 May, 2017 1 commit
  11. 07 May, 2017 1 commit
  12. 05 May, 2017 2 commits
  13. 04 May, 2017 2 commits
  14. 02 May, 2017 7 commits
  15. 01 May, 2017 1 commit