1. 02 Apr, 2018 1 commit
  2. 23 Nov, 2016 1 commit
    • Pekka Paalanen's avatar
      tests: add scanner tests · c9f64544
      Pekka Paalanen authored
      Add tests that ensure that wayland-scanner output for a given input does
      not change unexpectedly. This makes it very easy to review
      wayland-scanner patches.
      Before, when patches were proposed for wayland-scanner, I had to
      build wayland without the patches, save the generated files into a
      temporary directory, apply the patches, build again, and diff the old
      vs. new generated file.
      No more. Now whenever someone makes intentional changes to
      wayland-scanner's output, he will also have to patch the example output
      files to match. That means that reviewers see the diff of the generated
      files straight from the patch itself. Verifying the diff is true is as
      easy as 'make check'.
      The tests use separate example XML files instead of wayland.xml
      directly, so that wayland.xml can be updated without fixing scanner
      tests, avoiding the churn.
      example.xml starts as a copy of wayland.xml. If wayland.xml starts using
      new wayland-scanner features, they should be copied into example.xml
      again to be covered by the tests.
      This patch relies on the previous patch to actually add all the data
      files for input and reference output.
      The scanner output is fed through sed to remove parts that are allowed
      to vary: the scanner version string.
      v2: no need for scanner-test.sh to depend on the test data
      Task: https://phabricator.freedesktop.org/T3313Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> (v1)
      Reviewed-by: 's avatarYong Bakos <ybakos@humanoriented.com>
      Tested-by: 's avatarYong Bakos <ybakos@humanoriented.com>
  3. 31 Jul, 2015 1 commit
  4. 27 May, 2015 2 commits
  5. 30 Jan, 2015 1 commit
  6. 19 Nov, 2014 1 commit
  7. 25 Jul, 2014 1 commit
  8. 10 Mar, 2014 1 commit
  9. 11 Sep, 2013 1 commit
  10. 24 Jan, 2013 1 commit
  11. 25 Sep, 2012 1 commit
    • David Herrmann's avatar
      man: add man-page infrastructure · 49dee9a8
      David Herrmann authored
      This adds a man-page infrastructure based on Docbook XML files. This
      allows us to integrate the man-pages into the publican books later. An
      example page for wl_display_connect() (with an alias
      wl_display_connect_to_fd()) is also added.
      Feel free to add more man-pages. Function calls are put in man3 and
      overview pages into man7. All pages (including aliases) have to be added
      to the Makefile.
      Docbook does generate aliases automatically from the additional names that
      were put in the XML file. However, a small SED script is needed to fixup
      the include-paths in the generated troff files. If someone knows how to
      avoid that (or even install them gzip'ped), please fix it up.
      Signed-off-by: 's avatarDavid Herrmann <dh.herrmann@googlemail.com>
  12. 23 Jul, 2012 1 commit
  13. 29 Apr, 2011 1 commit
  14. 12 Nov, 2010 1 commit
  15. 14 Sep, 2010 1 commit
  16. 16 Aug, 2010 1 commit
  17. 03 Aug, 2010 1 commit
  18. 11 Jun, 2010 1 commit
  19. 05 Jun, 2010 1 commit
  20. 06 Feb, 2009 1 commit
  21. 10 Dec, 2008 1 commit
  22. 08 Dec, 2008 1 commit
  23. 05 Dec, 2008 2 commits
  24. 02 Dec, 2008 1 commit
  25. 26 Nov, 2008 1 commit