1. 29 Aug, 2018 1 commit
    • David Edmundson's avatar
      Support kwin fractional scaling in wayland backend · 3a0e9562
      David Edmundson authored
      Summary:
      Note KScreen UI is deliberately not updated as full functionality is not
      complete. However, I think it's fine to merge this and have it exposed via
      only kscreen-doctor for devs.
      
      Test Plan:
      Used kscreen-doctor with modified kwin
      Kwin got float values
      
      Reviewers: #kwin, mart
      
      Reviewed By: #kwin, mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D13617
      3a0e9562
  2. 13 Aug, 2018 1 commit
    • Frederik Gladhorn's avatar
      EDID parsing: replace non-printable characters with '-' · 13bc5bcd
      Frederik Gladhorn authored
      Summary:
      Simplify first to not have zero terminators suddenly replaced by '-'.
      This makes some screen names a lot more readable since the encoding
      seems always problematic. According to the standard it should be ipm
      437, but even with that code page, many EDIDs seem to produce garbage.
      Local8Bit also doesn't make much sense, so use Latin1 as a good
      compromise and replace everything that's not in range.
      
      Reviewers: #plasma, mart
      
      Reviewed By: #plasma, mart
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D14549
      13bc5bcd
  3. 12 Aug, 2018 2 commits
  4. 02 Aug, 2018 1 commit
  5. 27 Jul, 2018 8 commits
    • Frederik Gladhorn's avatar
      Let edidDecodeFraction return float · 15aa08f3
      Frederik Gladhorn authored
      Summary:
      All uses of the function are QQuaternion setters which take floats.
      This saves a bunch of conversions and should thus be faster. The edid
      test shows that the result is unchanged in all digits.
      
      Reviewers: romangg
      
      Reviewed By: romangg
      
      Subscribers: romangg, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D14368
      15aa08f3
    • Frederik Gladhorn's avatar
      Add test for edid parsing and fix reading gamma · b80bbeb2
      Frederik Gladhorn authored
      Summary:
      The bug in reading the gamma value was there from the start (2012),
      dividing the number by 100 will result in a truncated value.
      Add test so that we can verify that the parsing of the EDIDs work,
      it will be easy to add other problematic EDIDs later on.
      
      Let edidDecodeFraction return float
      
      All uses of the function are QQuaternion setters which take floats.
      This saves a bunch of conversions and should thus be faster. The edid
      test shows that the result is unchanged in all digits.
      
      Reviewers: #plasma, romangg
      
      Reviewed By: #plasma, romangg
      
      Subscribers: romangg, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D14418
      b80bbeb2
    • Frederik Gladhorn's avatar
      Fix memory leak in test · 931cead9
      Frederik Gladhorn authored
      931cead9
    • Frederik Gladhorn's avatar
      Make sure for loop does not detach · 7cbccda5
      Frederik Gladhorn authored
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D14350
      7cbccda5
    • Frederik Gladhorn's avatar
      When handing out ownership, use Q_REQUIRED_RESULT - Edid::clone · 10625146
      Frederik Gladhorn authored
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D14369
      10625146
    • Frederik Gladhorn's avatar
      EDID parsing: strings are up to 13 bytes · c66291ec
      Frederik Gladhorn authored
      Summary:
      The descriptor blocks with strings come every 18 bytes,
      5 are the header, e.g. for the model:
      [0x00 0x00 0x00 0xFC 0x00] followed by the data (13 bytes).
      
      Reviewers: #plasma, broulik
      
      Reviewed By: #plasma, broulik
      
      Subscribers: broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D14410
      c66291ec
    • Friedrich W. H. Kossebau's avatar
      Merge branch 'Plasma/5.13' · ade751b3
      Friedrich W. H. Kossebau authored
      ade751b3
    • Friedrich W. H. Kossebau's avatar
      Make TestInProcess skip out-of-process tests if D-Bus service uninstalled · 2b5a4727
      Friedrich W. H. Kossebau authored
      Summary:
      With the movement to support running unittests pre-installation and KDE CI
      having adapted to that for some build setups, this currently breaks tests
      which rely on subject-under-test D-Bus services being auto-started from
      D-Bus service files, given the D-Bus daemon does not see the uninstalled
      ones.
      
      One solution might be to catch that situation and do the start of the D-Bus
      service ourselves, but I failed to get this done quickly. So as intermediate
      solution, to at least have the in-process tests no longer being covered by
      the out-of-process ones failing, this patch will just skip the
      out-of-process tests if the D-Bus service could not be started.
      That follows the current behaviour of e.g. the KGlobalShortcutTest from
      KF5's kglobalaccel.
      
      Test Plan:
      TestInProcess no longer fails if the org.kde.KScreen D-Bus service cannot be
      autostarted.
      
      Reviewers: dfaure, sebas, gladhorn
      
      Reviewed By: gladhorn
      
      Subscribers: gladhorn, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D13871
      2b5a4727
  6. 26 Jul, 2018 2 commits
  7. 25 Jul, 2018 4 commits
  8. 17 Jul, 2018 1 commit
  9. 15 Jul, 2018 1 commit
  10. 12 Jul, 2018 5 commits
  11. 11 Jul, 2018 2 commits
  12. 10 Jul, 2018 2 commits
  13. 09 Jul, 2018 7 commits
  14. 08 Jul, 2018 1 commit
  15. 06 Jul, 2018 1 commit
  16. 04 Jul, 2018 1 commit
    • Roman Gilg's avatar
      Wayland: when blocking remember latest config change instead of crashing · af609c37
      Roman Gilg authored
      Summary:
      Configuration change requests by clients while the Wayland server is
      processing a change lead to a failing assert in blockSignals().
      
      Instead in such a situation remember the latest configuration change request
      and apply it after the current change has been processed.
      
      Test Plan:
      Auto test exposing the problem. Also manually with my output color correction
      code.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: apol, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D12517
      af609c37