1. 27 Apr, 2020 1 commit
    • Nikolai Krasheninnikov's avatar
      Fix 'SVN Log...' crash while watching history in the unversioned directory.... · c64770b9
      Nikolai Krasheninnikov authored
      Fix 'SVN Log...' crash while watching history in the unversioned directory. Added checks m_log variable contains anything.
      
      Summary:
      This commits adds checks of m_log variable contains anything before using it.
      More appropriate is not showing 'SVN Log...' as available action at all, this should go in a further commits.
      Anyway checks for a m_log variable is a must.
      
      Test Plan: Run 'SVN Log...' in unversioned directory make sure it doesn't crash any more and showes empty history.
      
      Reviewers: #dolphin, meven, elvisangelaccio
      
      Reviewed By: #dolphin, meven, elvisangelaccio
      
      Differential Revision: https://phabricator.kde.org/D29043
      c64770b9
  2. 12 Apr, 2020 1 commit
    • Nikolai Krasheninnikov's avatar
      [svn] Fixed items status inside unversioned directory. · f691f024
      Nikolai Krasheninnikov authored
      Summary:
      Added special checks for items inside unversioned dirs.
      Previously those items was indicated as normal revision with a capability to launch SVN commands on it (SVN Delete, for example). Those commands ends up with an error.
      
      Unversioned item is a special case because in any other cases 'svn status' will mark every file or dir as added, removed, conflicted and so on.
      
      Test Plan:
      Inside a repo create dir with a following structure:
      {F8225757}
      
      1) Check any SVN actions available only for "dir", selecting other dirs and files causes no actions available.
      2) Check items status showing correct.
      3) Do 'SVN Add' for dir, 'SVN Revert' for dir2.
      4) Check dir (with dir1.txt, file1.txt) and dir/dir1 (with file2.txt) and dir/dir1/dir2 has SVN Actions while dir/dir1/dir2/dir3 don't.
      5) Check items status showing correct.
      
      Reviewers: meven, elvisangelaccio, #dolphin
      
      Reviewed By: meven, elvisangelaccio, #dolphin
      
      Differential Revision: https://phabricator.kde.org/D28681
      f691f024
  3. 22 Mar, 2020 1 commit
    • Nikolai Krasheninnikov's avatar
      Dolphin-SVN: code update · 2833d015
      Nikolai Krasheninnikov authored
      Summary:
      1) Pointers initialized with 'nullptr' instead of '0'.
      2) Moved to a modern Qt-way of connecting signals and slots without SIGNAL() and SLOT() macros.
      3) Class SVNCommands renamed to SvnCommands for consistency with other class names.
      
      Test Plan: Ensure everything is correct, try some basic actions.
      
      Reviewers: meven, elvisangelaccio
      
      Differential Revision: https://phabricator.kde.org/D28170
      2833d015
  4. 19 Mar, 2020 1 commit
    • Nikolai Krasheninnikov's avatar
      SVN: added SVN Log dialog · d7de9444
      Nikolai Krasheninnikov authored
      Summary:
      Added SVN Log dialog. Dialog looks and behaves similar to a TortoiseSVN one.
      Dialog supports:
      - update repo to specified revision;
      - revert repo to specified revision;
      - revert file to a specified revision;
      - show changes against previois commit;
      - show changes against working copy.
      Everything is done by the context menu.
      
      {F8181378}
      
      Test Plan: Run SVN Log dialog and check update works, revert works, revert file works, show changes and show changes against working copy works.
      
      Reviewers: #vdg, meven, elvisangelaccio
      
      Reviewed By: elvisangelaccio
      
      Subscribers: yurchor, anthonyfieroni
      
      Differential Revision: https://phabricator.kde.org/D28102
      d7de9444
  5. 10 Mar, 2020 1 commit
    • Nikolai Krasheninnikov's avatar
      Added SVN add/delete/revert directory. · 3fb84565
      Nikolai Krasheninnikov authored
      Summary:
      Added "SVN Add" on directory addition with appropriate "SVN Revert" action.
      Also for directories already under VCS control added "SVN Delete" action.
      
      Test Plan:
      1. Create empty directory.
      2. Try "SVN Add" on it: it should be added.
      3. Try "SVN Revert" on it: it should be reverted.
      4. Try "SVN Add", then "SVN Commit". It should be commited fine.
      5. Try "SVN Delete", then "SVN Commit". It should be deleted from CVS and commited fine.
      6. Try the same with a dir with an empty file in it right-clicking on the directory name and inside directory.
      
      Reviewers: meven, elvisangelaccio
      
      Reviewed By: meven
      
      Differential Revision: https://phabricator.kde.org/D27652
      3fb84565
  6. 09 Mar, 2020 1 commit
    • Nikolai Krasheninnikov's avatar
      SVN commit dialog now supports diff, add and revert actions. · 31c122b6
      Nikolai Krasheninnikov authored
      Summary:
      Added SVN commit dialog actions for diff file, add file and revert file.
      This is done by commit dialog context menu actions.
      SVN commit dialog is now a separate class and moved to a separate file.
      Also added SVNCommands class with static methods to access basic SVN actions like geting revision or geting remote URL path for a file.
      Also added ItemVersion::MissingVersion control for SVN plugin.
      
      {F8134979}
      
      Test Plan: Run SVN commit dialog and check diff file works, revert works and add works.
      
      Reviewers: #vdg, elvisangelaccio, meven, ngraham
      
      Reviewed By: #vdg, meven, ngraham
      
      Subscribers: ngraham
      
      Differential Revision: https://phabricator.kde.org/D27641
      31c122b6
  7. 18 Feb, 2020 2 commits
  8. 26 Dec, 2019 1 commit
  9. 21 Dec, 2019 1 commit
    • Nikolai Krasheninnikov's avatar
      Fixed broken SVN Commit dialog. · e8f6c72a
      Nikolai Krasheninnikov authored
      Summary:
      SVN commit dialog was showing incorrectly because QDialogBox buttons were not attached to the dialog window.
      Also fixing memory leak on QDialogButtonBox creating.
      
      Reviewers: #dolphin, elvisangelaccio, meven, ngraham
      
      Reviewed By: #dolphin, elvisangelaccio, meven, ngraham
      
      Subscribers: ngraham, meven
      
      Differential Revision: https://phabricator.kde.org/D26115
      e8f6c72a
  10. 24 Nov, 2019 1 commit
  11. 07 Aug, 2019 1 commit
  12. 17 Jul, 2019 1 commit
  13. 16 Jul, 2019 1 commit
  14. 25 Feb, 2019 1 commit
  15. 24 Jan, 2019 1 commit
  16. 14 Oct, 2018 1 commit
  17. 10 Oct, 2018 1 commit
  18. 14 Aug, 2018 2 commits
  19. 13 Aug, 2018 2 commits
  20. 30 Apr, 2018 1 commit
  21. 13 Jan, 2017 1 commit
  22. 20 Dec, 2016 1 commit
  23. 20 Jun, 2016 1 commit
  24. 07 Nov, 2015 4 commits
  25. 16 Sep, 2015 2 commits
  26. 21 Jul, 2015 1 commit
  27. 26 Feb, 2015 1 commit
  28. 25 Jul, 2014 1 commit
  29. 24 Jul, 2014 1 commit
  30. 14 Oct, 2013 1 commit
  31. 14 Mar, 2013 1 commit
  32. 23 Jan, 2013 1 commit
  33. 08 Jan, 2013 1 commit