1. 25 Feb, 2019 1 commit
  2. 20 Jan, 2019 1 commit
  3. 25 Oct, 2018 1 commit
  4. 24 Oct, 2018 2 commits
  5. 23 Oct, 2018 1 commit
    • Friedrich W. H. Kossebau's avatar
      Generate all kdebugsettings .categories files automatically · 774429d0
      Friedrich W. H. Kossebau authored
      Summary:
      Adds two wrapping variants of the macros
      declare_qt_logging_category() & install_qt_logging_categories()
      which have an argument TYPE to control specific behaviour that
      otherwise is generalized in the wrapping macros to not have to repeat
      any things with every macro call and to ensure consistency, e.g. in
      the used description texts.
      
      The wrapper macros also handle linking things by the matching EXPORT ids,
      so the caller does not have to care for this.
      
      No perfect solution yet, but at least a first working approach to automatic
      generation of the kdebugsettings files.
      
      Test Plan:
      Generated categories files contain same ids with same descriptions as
      before.
      
      Reviewers: #kdevelop, kfunk
      
      Reviewed By: #kdevelop, kfunk
      
      Subscribers: kfunk, apol, kdevelop-devel
      
      Tags: #kdevelop
      
      Differential Revision: https://phabricator.kde.org/D16032
      774429d0
  6. 30 Aug, 2018 1 commit
  7. 29 Aug, 2018 2 commits
  8. 26 Aug, 2018 1 commit
  9. 19 Aug, 2018 1 commit
  10. 15 Aug, 2018 1 commit
  11. 29 Apr, 2018 2 commits
  12. 13 Mar, 2018 2 commits
  13. 19 Feb, 2018 2 commits
  14. 02 Feb, 2018 2 commits
  15. 06 Jan, 2018 2 commits
  16. 01 Jan, 2018 2 commits
  17. 04 Dec, 2017 1 commit
  18. 27 Nov, 2017 1 commit
  19. 22 Nov, 2017 3 commits
  20. 21 Nov, 2017 1 commit
  21. 17 Nov, 2017 2 commits
  22. 24 Oct, 2017 2 commits
  23. 28 Sep, 2017 1 commit
  24. 25 Sep, 2017 2 commits
  25. 17 Sep, 2017 1 commit
  26. 13 Sep, 2017 1 commit
  27. 21 Jul, 2017 1 commit
    • Friedrich W. H. Kossebau's avatar
      Proper lifetime support for one-time menu objects with contextMenuExtension · 1c7d1e65
      Friedrich W. H. Kossebau authored
      Summary:
      For actions and submenus created only for the given context for the menu,
      as opposed to persistent context-ignorant actions kept around all the time
      and owned by the plugin instance, in IPlugin::contextMenuExtension()
      overrides was no access to a QObject/QWidget element which could be used
      as QObject-style memory management for the given context menu event.
      So the old code for that either used instances like the plugin objects
      themselves or even none at all, which both de-facto results in
      accumulating lots of out-of-use QActions and QMenus during the runtime
      of KDevelop, only to be cleaned up either on destruction of the plugin
      instances at process end or never.
      
      Passing to IPlugin::contextMenuExtension a QWidget* object to be used
      as memory management parent matching the lifetime of the context menu
      allows to fix that.
      
      Test Plan:
      Invoked the context menus changed by the patch, and the temporarily
      added slots connected to QObject::destroyed handlers of the
      per-context-menu QAction & QMenu objects were invoked at the right time.
      No new crashes seen.
      
      Reviewers: #kdevelop, kfunk
      
      Reviewed By: #kdevelop, kfunk
      
      Subscribers: kfunk, kdevelop-devel
      
      Differential Revision: https://phabricator.kde.org/D6769
      1c7d1e65