1. 06 Mar, 2021 1 commit
  2. 01 Mar, 2021 1 commit
  3. 21 Feb, 2021 1 commit
  4. 17 Feb, 2021 1 commit
  5. 07 Feb, 2021 2 commits
  6. 03 Feb, 2021 1 commit
  7. 02 Feb, 2021 8 commits
  8. 29 Jan, 2021 2 commits
  9. 21 Jan, 2021 1 commit
  10. 23 Oct, 2020 1 commit
  11. 20 Sep, 2020 1 commit
  12. 30 Jun, 2020 1 commit
  13. 20 Apr, 2020 1 commit
  14. 06 Oct, 2019 3 commits
  15. 27 Sep, 2019 2 commits
  16. 16 Sep, 2019 1 commit
  17. 07 Sep, 2019 1 commit
  18. 08 Apr, 2019 3 commits
  19. 07 Apr, 2019 2 commits
  20. 04 Feb, 2019 1 commit
  21. 30 Sep, 2018 1 commit
  22. 23 May, 2018 1 commit
  23. 25 Feb, 2018 1 commit
    • Dominik Haumann's avatar
      Projects plugin: fix git file listing for umlauts such as äöü · a5923791
      Dominik Haumann authored
      Summary:
      git ls-files avoids umlauts or unicode surrogate characters.
      The problem is that `git ls-files` outputs:
      
        $ git ls-files | grep Der
        "Der B\303\244cker/L\303\266ffler.txt"
        DerBaecker/Loeffler.txt
      
      instead of "Der Bäcker\Löffler.txt".
      It uses quotes and unicode escape sequences to avoid the ä and ö.
      
      This patch uses `git ls-files -z` for listing the contents. Instead
      of \r\n, the file listing the dumps a bytearray that is \0 separated
      for each entry.
      
      In the -z mode, no unicode escaping is done, and the umlauts such
      as äöü or any other unicode characters are displayed correctly.
      
      There is still room for improvement, since readAllStandardOutput()
      might return a very large listing, which allocates a lot of memory.
      Therefore, a buffered solution (using a lambda or so) would probably
      be better. This, however, can be done in a separate patch.
      
      BUG: 389415
      
      Test Plan: make test
      
      Reviewers: cullmann, gregormi, ngraham, brauch
      
      Reviewed By: cullmann, brauch
      
      Subscribers: brauch, #kate
      
      Tags: #kate
      
      Differential Revision: https://phabricator.kde.org/D10311
      a5923791
  24. 23 Jul, 2017 1 commit
  25. 24 Apr, 2016 1 commit