1. 18 May, 2021 2 commits
  2. 03 May, 2021 1 commit
  3. 28 Apr, 2021 2 commits
  4. 26 Apr, 2021 1 commit
  5. 03 Apr, 2021 1 commit
    • Waqar Ahmed's avatar
      Fix file renaming · f9653015
      Waqar Ahmed authored and Christoph Cullmann's avatar Christoph Cullmann committed
      Call to "emitDataChanged()" was causing the crash maybe. It could be
      because there were two "emitDataChanged()", hence it is removed.
      
      This change properly fixes the renaming.
      f9653015
  6. 22 Mar, 2021 2 commits
  7. 12 Mar, 2021 3 commits
  8. 06 Mar, 2021 1 commit
  9. 27 Feb, 2021 2 commits
  10. 26 Feb, 2021 1 commit
  11. 25 Feb, 2021 1 commit
  12. 21 Feb, 2021 1 commit
  13. 20 Feb, 2021 1 commit
  14. 13 Feb, 2021 1 commit
  15. 27 Sep, 2020 1 commit
  16. 20 Sep, 2020 2 commits
  17. 11 Aug, 2020 1 commit
  18. 18 Jul, 2020 1 commit
  19. 13 Jul, 2020 1 commit
  20. 06 Oct, 2019 1 commit
  21. 24 Sep, 2019 1 commit
  22. 16 Sep, 2019 1 commit
  23. 07 Sep, 2019 1 commit
  24. 08 Aug, 2019 1 commit
  25. 04 Feb, 2019 1 commit
  26. 08 Jan, 2019 1 commit
  27. 03 Dec, 2018 1 commit
    • Gregor Mi's avatar
      Add file related actions to Tabbar context menu and File menu: Rename, Delete,... · e8496c60
      Gregor Mi authored
      Add file related actions to Tabbar context menu and File menu: Rename, Delete, Compare (new), and some more
      
      Summary:
      Add some actions to Tabbar context menu and File menu
      
      New items in Tabbar context menu:
      - 'Rename file'
      - 'Delete file'
      - 'Properties'
      - 'Compare'
      
      'Compare' does the following: compare two files with an external diff tool. It works like this: right click on a tab which is NOT active and select the appropriate menu item (see screenshot). Then, the external tool opens and compares the active document with the one which was clicked on. Currently, three diff tools are supported: kdiff3, kompare and meld.
      
      New items in File main menu:
      - 'Rename file'
      - 'Delete file'
      - 'Compare'
      - 'Copy File Path'
      - 'Open Containing Folder'
      - 'Properties'
      
      Screenshots:
      
      Tab context menu:
      
      {F6414794}
      
      Tab context menu when no file is associated:
      
      {F6414793}
      
      Tab context menu with the compare feature:
      
      {F6431032}
      
      Diff tools not found:
      
      {F6450993}
      
      Actions are also available in the main File menu:
      
      {F6450928}
      
      NOTE: Some code of kfileactions.cpp was copied and adapted from katefiletree.cpp. TODO: reuse code there. Probably, this means kfileactions.h must be moved to KTextEditor.
      
      TODO: in a later change the 'Open with...' menu item which is currently available in the Projects and FileTree plugin could also be extracted and be added to the Tabbar context menu and File menu (Gwenview has it, too).
      
      Reviewers: #kate, #vdg, ngraham, cullmann
      
      Reviewed By: #kate, #vdg, ngraham, cullmann
      
      Subscribers: cullmann, anthonyfieroni, dhaumann, mmustac, ngraham, kwrite-devel
      
      Tags: #kate
      
      Differential Revision: https://phabricator.kde.org/D16830
      e8496c60
  28. 20 Nov, 2018 2 commits
  29. 19 Nov, 2018 1 commit
  30. 30 Sep, 2018 1 commit
  31. 21 Jan, 2016 1 commit
    • Gregor Mi's avatar
      fix wrong KMoreTools API usage · 52fe3861
      Gregor Mi authored
      BUG: 356615
      
      The previously used method
      KMoreToolsMenuFactory.fillMenuFromGroupingNames returns a lazy menu
      which is not filled until the menu is shown. But in the following code
      we do not show the menu but use its menu items to fill another menu. But
      there were never any menu items in gitMenu->actions().
      
      Solution: use KMoreToolsMenuFactory.fillMenuFromGroupingNames instead.
      52fe3861
  32. 23 May, 2015 1 commit
    • Gregor Mi's avatar
      Project plugin: use KMoreTools to implement the Git context menu · 4e18103e
      Gregor Mi authored
      Visible changes:
      - Move git items away from submenu but put them under a menu section
      which reduces amount of submenus
      - If one of the items is not installed it is placed in the "More"
      submenu to give a hint that the app exist and might be helpful
      - new: add gitg
      - NEW: add "Git Cola (View History)" that opens the history browser for
      the given file
      - Menu items get icons when available, e.g. git-cola and gitg
      - Menu items get caption and its translation from desktop file
      
      Replacing old code results in less code for the project plugin.
      
      REVIEW: 122374
      
      DIGEST:
      
      GUI:
      4e18103e