1. 17 May, 2017 2 commits
  2. 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.
    • 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 >*/
            /*< public >*/
            /*< private >*/
          } MyFooValue;
      The glib-mkenums parser also allows skipping enumeration values, using a
      slightly different syntax:
          typedef enum P
            MY_BAR_PRIVATE, /*< skip >*/
          } 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
      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.
    • 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).
    • 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
      Update the special case for application/octet-stream so that all
      types but inode/* will match with it and add unit test for it.
  3. 15 May, 2017 1 commit
  4. 14 May, 2017 1 commit
  5. 12 May, 2017 3 commits
  6. 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.
    • Piotr Drąg's avatar
      Update POTFILES.in · 6b19907a
      Piotr Drąg authored
    • Krzesimir Nowak's avatar
      docs: Fix typos · b89fed05
      Krzesimir Nowak authored
      Something I spotted by accident with git log.
    • Krzesimir Nowak's avatar
      docs: Add index for 2.54 api · ce7e0219
      Krzesimir Nowak authored
    • 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
      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
    • 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
  7. 09 May, 2017 4 commits
  8. 08 May, 2017 1 commit
  9. 07 May, 2017 1 commit
  10. 05 May, 2017 2 commits
  11. 04 May, 2017 2 commits
  12. 02 May, 2017 7 commits
  13. 01 May, 2017 2 commits
  14. 30 Apr, 2017 2 commits
  15. 29 Apr, 2017 2 commits