1. 25 Apr, 2016 1 commit
    • Allison Karlitskaya's avatar
      GDesktopAppInfo: support bus activation with '-' · 3301b852
      Allison Karlitskaya authored
      GApplication has accepted any valid bus name as an application ID since
      before the time of D-Bus activation.  This includes bus names with '-'.
      Several applications have even attempted support bus activation with
      these names, going as far as installing D-Bus service files, without
      realising that they are silently falling back to fork()/exec() on
      account of the name containing a dash.
      
      The reason for the problem is that D-Bus object paths cannot contain
      dashes.  We solved this problem privately in an unspecified way inside
      of GApplication but substituting '_' in this case, but never made this
      part of the Desktop Entry Specification.
      
      The fact that these apps with '-' in the desktop file names aren't
      actually using D-Bus activation is beside the point: their intent here
      was clear.  Let's avoid forcing them to rename their desktop files again
      by simply accepting '-' in desktop file names and munging the path in
      the way that GApplication did so historically.
      
      The new path escaping code here has been copied more or less verbatim
      from GApplication's own code for the same purpose, with only the removal
      of one irrelevant part.
      
      An update to the desktop entry specification will follow.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764754
      3301b852
  2. 21 Apr, 2016 1 commit
    • Chun-wei Fan's avatar
      build/win32/pc_base.py: Allow custom options · bd0911af
      Chun-wei Fan authored
      Some packages might have some parts that are built for certain build
      configs, meaning that they could have .pc files of their own, such as
      Pango, where PangoFT2 is optionally built.  Allow such an option if
      needed.
      
      Also remove some trailing whitespaces.
      bd0911af
  3. 17 Apr, 2016 1 commit
  4. 13 Apr, 2016 2 commits
  5. 12 Apr, 2016 4 commits
  6. 09 Apr, 2016 1 commit
  7. 07 Apr, 2016 1 commit
  8. 04 Apr, 2016 4 commits
    • Bastien Nocera's avatar
      tests: Fix compilation errors due to Y2K format problems · 35bd6920
      Bastien Nocera authored
      Newer versions of GCC are particularly verbose in relation to
      formatting errors, use GCC pragmas to disable warnings for this
      section.
      
      gdatetime.c: In function ‘test_strftime’:
      gdatetime.c:1334:3: error: ‘%c’ yields only last 2 digits of year in some locales [-Werror=format-y2k]
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^
      gdatetime.c:1334:3: note: in definition of macro ‘TEST_FORMAT’
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gdatetime.c:1334:3: error: ‘%g’ yields only last 2 digits of year [-Werror=format-y2k]
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^
      gdatetime.c:1334:3: note: in definition of macro ‘TEST_FORMAT’
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gdatetime.c:1334:3: error: ‘%x’ yields only last 2 digits of year in some locales [-Werror=format-y2k]
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^
      gdatetime.c:1334:3: note: in definition of macro ‘TEST_FORMAT’
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      gdatetime.c:1334:3: error: ‘%y’ yields only last 2 digits of year [-Werror=format-y2k]
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^
      gdatetime.c:1334:3: note: in definition of macro ‘TEST_FORMAT’
         "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Note that the pragma is outside the function as older versions of GCC
      don't support pragma inside functions.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764575
      35bd6920
    • Bastien Nocera's avatar
      build: Fix all statfs() tests failing · e9cf9f2c
      Bastien Nocera authored
      The current statfs() compilation tests all fail because statfs() expects
      the first argument to be non-null. Pass a dummy path instead of NULL to
      satisfy the compiler.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764574
      e9cf9f2c
    • Bastien Nocera's avatar
    • Bastien Nocera's avatar
      gstrfuncs: Document the behaviour of g_strjoinv() · 283c565a
      Bastien Nocera authored
      The behaviour of g_strjoinv() isn't explicitely explained when the array
      contains less than 2 items. This removes the guesswork.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764092
      283c565a
  9. 03 Apr, 2016 1 commit
  10. 02 Apr, 2016 2 commits
  11. 27 Mar, 2016 1 commit
  12. 26 Mar, 2016 2 commits
  13. 23 Mar, 2016 2 commits
  14. 22 Mar, 2016 1 commit
  15. 21 Mar, 2016 3 commits
  16. 20 Mar, 2016 1 commit
  17. 17 Mar, 2016 1 commit
  18. 16 Mar, 2016 1 commit
  19. 15 Mar, 2016 7 commits
  20. 14 Mar, 2016 3 commits