1. 11 Jun, 2018 1 commit
  2. 09 Apr, 2018 2 commits
  3. 02 Apr, 2018 1 commit
  4. 19 Mar, 2018 1 commit
  5. 16 Mar, 2018 1 commit
  6. 15 Mar, 2018 1 commit
  7. 26 Feb, 2018 1 commit
  8. 23 Feb, 2018 1 commit
  9. 09 Feb, 2018 1 commit
  10. 08 Aug, 2017 2 commits
  11. 01 Aug, 2017 1 commit
  12. 25 Jul, 2017 1 commit
  13. 12 Jul, 2017 1 commit
  14. 21 Feb, 2017 2 commits
  15. 14 Feb, 2017 1 commit
  16. 07 Feb, 2017 1 commit
  17. 25 Jan, 2017 1 commit
  18. 22 Sep, 2016 1 commit
  19. 20 Sep, 2016 1 commit
  20. 13 Sep, 2016 1 commit
  21. 06 Sep, 2016 1 commit
  22. 30 Aug, 2016 1 commit
  23. 16 Aug, 2016 1 commit
  24. 01 Jun, 2016 2 commits
  25. 24 May, 2016 1 commit
  26. 18 May, 2016 1 commit
  27. 04 May, 2016 1 commit
  28. 29 Feb, 2016 1 commit
  29. 17 Feb, 2016 2 commits
  30. 16 Feb, 2016 1 commit
  31. 09 Feb, 2016 1 commit
  32. 02 Feb, 2016 1 commit
  33. 19 Jan, 2016 2 commits
  34. 17 Nov, 2015 1 commit
    • Peter Hutterer's avatar
      Validate the protocol xml during scanning · f66e2d53
      Peter Hutterer authored
      Embed the wayland.dtd protocol data into the scanner binary so we can validate
      external protocol files without requiring makefile changes. Hat-tip to Pekka
      Paalanen for the embedding trick.
      The embedding trick doesn't work well if the to-be-embedded file is in a
      different location than the source file, so copy/link it during configure and
      then build it in from the local directory.
      
      The current expat parser is not a validating parser, moving scanner.c to
      another parser has the risk of breaking compatibility. This patch adds libxml2
      as extra (optional) dependency, but that also requires parsing the input
      twice.
      
      If the protocol fails validation a warning is printed but no error is returned
      otherwise.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      f66e2d53