1. 17 Sep, 2020 3 commits
  2. 12 Sep, 2020 1 commit
    • Nicolas Fella's avatar
      Require C++17 · ca55797a
      Nicolas Fella authored
      We agreed to use C++17 in Plasma. Document this decision here
      ca55797a
  3. 28 May, 2020 1 commit
  4. 15 May, 2020 1 commit
  5. 14 May, 2020 1 commit
  6. 02 Apr, 2020 1 commit
  7. 22 Mar, 2020 1 commit
    • Roman Gilg's avatar
      build: ignore clang-format file · 2dd74419
      Roman Gilg authored
      A clang-format file is auto-generated on every build in the source directory
      since some recent change in ECM. The file is for local use only and not meant
      to go into the remote repository.
      2dd74419
  8. 19 Mar, 2020 2 commits
  9. 18 Mar, 2020 2 commits
    • Laurent Montel's avatar
      75797e16
    • Roman Gilg's avatar
      fix: transfer tablet mode properties · 6ba447e9
      Roman Gilg authored
      Summary:
      I forgot to copy over the tablet-mode-available and -engaged data from one
      config to the next one. Because of that the data was not available to the
      daemon.
      
      Also serialize the tablet mode properties in the Serializer. The Serializer
      is not used on Wayland afaik but if at one point for example the RandR backend
      gains auto rotation support we need to have it in the Serializer.
      
      BUG: 418739
      
      Test Plan: Manually with hard-coded tablet mode availability in KWin.
      
      Reviewers: #plasma, bshah
      
      Reviewed By: #plasma, bshah
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D28106
      6ba447e9
  10. 03 Mar, 2020 1 commit
    • Bhushan Shah's avatar
      fix: consider DSI display to be embedded panel · 624ff86e
      Bhushan Shah authored
      Summary:
      DSI connector type is widely used in mobile and tablet devices. Consider
      them embedded so auto-rotation feature is available.
      
      Test Plan: tested on pinephone and pinetab which have a DSI displays
      
      Reviewers: romangg, davidedmundson
      
      Reviewed By: davidedmundson
      
      Subscribers: davidedmundson, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D27806
      624ff86e
  11. 29 Feb, 2020 1 commit
  12. 25 Feb, 2020 1 commit
  13. 24 Feb, 2020 2 commits
    • Daniel Vrátil's avatar
      fix: handle when backend fails to load/initialize · 069bb65a
      Daniel Vrátil authored
      Summary:
      Fixes a null pointer dereference in GetConfigOperation when BackendManager
      fails to load a valid backend.
      
      Reviewers: #plasma
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D27625
      069bb65a
    • Daniel Vrátil's avatar
      fix(kwayland): wait longer for connection timeout and retry · 691c8587
      Daniel Vrátil authored
      Summary:
      During login creating the connection to Wayland server may take longer
      than 1 second (KWin busy, high CPU and IO load, ...) causing
      WaylandConfig to time out and leave the backend in an inconsistent
      state.
      
      This patch increases the timeout to 3 seconds and sets the overall
      backend status to invalid if connecting to Wayland server times out.
      This will abort the pending KScreen operation and prevent it from
      interacting with the broken backend. The next KScreen operation
      will try to set up the backend again, hopefully successfully this time.
      
      BUG: 416566
      FIXED-IN: 5.18.2
      
      Reviewers: #plasma, romangg
      
      Reviewed By: #plasma, romangg
      
      Subscribers: romangg, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D27618
      691c8587
  14. 21 Feb, 2020 5 commits
  15. 18 Feb, 2020 1 commit
  16. 13 Feb, 2020 1 commit
    • Luca Weiss's avatar
      fix: reset doctor output color before exiting · 274d94ed
      Luca Weiss authored
      Summary:
      Without this patch the blue from the "primary" output 'leaks' into the
      prompt of some shells (e.g. busybox ash).
      
      Test Plan: Run "kscreen-doctor -o" in ash and observe that the prompt isn't blue anymore afterwards.
      
      Reviewers: davidedmundson
      
      Reviewed By: davidedmundson
      
      Subscribers: romangg, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D27383
      274d94ed
  17. 06 Feb, 2020 1 commit
  18. 16 Jan, 2020 5 commits
  19. 07 Jan, 2020 3 commits
    • Roman Gilg's avatar
      fix(randr): make sure crtc exists · 05e361e5
      Roman Gilg authored
      When an output gets enabled we directly want to set the logical size. But at
      this point because of the order of calls in XRandRConfig the crtc is not yet
      set on the output.
      
      To fix this in a quick way just provide the free crtc as an argument. Long-term
      change the order of calls.
      05e361e5
    • Roman Gilg's avatar
      feat: add auto rotate and tablet mode information · 50969ab6
      Roman Gilg authored
      Summary:
      This adds feature flags if a backend supports auto rotations. While this is not
      directly a function of a backend on X11 auto rotation is not tested fully yet
      and there are problems with touch input. This way a client can query if auto
      rotation is fully functional on a backend.
      
      For the KWayland backend auto rotation and tablet mode information querying is
      already wired up but for now deactivated until all KWin patches have been
      landed.
      
      Test Plan:
      Compiles and tests with an XPS 2-in-1, which sadly does not send events about
      the tablet state.
      
      Reviewers: #plasma, apol
      
      Reviewed By: apol
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D26281
      50969ab6
    • Roman Gilg's avatar
      feat: replace replication source with logical size API · 6a5a180b
      Roman Gilg authored
      Summary:
      Just overriding the logical size of an output that replicates another one is
      simpler than trying to send a relation between both objects to the display
      server and in case of X11 it is not possible.
      
      Wires up support for that in the X11 backend.
      
      Test Plan: Compiles. Wayland replication tested.
      
      Reviewers: #kwin
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D26309
      6a5a180b
  20. 11 Dec, 2019 1 commit
  21. 11 Nov, 2019 1 commit
    • Roman Gilg's avatar
      docs: add contributing guide · 4e176e1d
      Roman Gilg authored
      Summary:
      This adds a document providing information on how to contribute to libkscreen
      and additionally a minimal readme file pointing to it.
      
      The contributing guide is the analogous to a newly added one in KScreen.
      
      It includes clarifications about the used coding style and introduces a Commit
      Message Guideline based on the KDE Commit Policy and the Conventional Commits
      specification.
      
      Reviewers: #plasma
      
      Subscribers: davidedmundson, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D25064
      4e176e1d
  22. 04 Nov, 2019 1 commit
    • David Edmundson's avatar
      Add KDEClangFormat cmake support · ee676536
      David Edmundson authored
      Summary:
      This allows devs to run: "make clang-format" and format all files easily
      using the preset KDE clang format style
      
      This patch adds support so devs can easily test the intended formatting
      now, it doesn't change the code yet.
      
      Doing an initial run to commit everything will happen later.
      
      Test Plan:
      Ran script
      git diff was full of amazingly cleaned code
      
      See D25134
      ee676536
  23. 16 Oct, 2019 1 commit
  24. 13 Oct, 2019 1 commit
  25. 10 Oct, 2019 1 commit