1. 26 Sep, 2012 1 commit
  2. 25 Sep, 2012 1 commit
  3. 24 Sep, 2012 1 commit
  4. 23 Sep, 2012 3 commits
  5. 22 Sep, 2012 1 commit
    • Alexander Maret-Huskinson's avatar
      Added unit test data files and improved tablet backend factory class. · df67a24f
      Alexander Maret-Huskinson authored
      Added some unit test data files and a method to resolve the absolute
      file path to these files. The absolute path is required as otherwise the
      KDE configuration file classes will try to look these files up in the
      default KDE locations.
      
      Also added a unit testing mode to the tablet backend factory class. This
      way the factory will not try to lookup device information if no mock
      object is set. This gives us a more controlled environment.
      df67a24f
  6. 21 Sep, 2012 2 commits
  7. 20 Sep, 2012 2 commits
  8. 19 Sep, 2012 2 commits
  9. 18 Sep, 2012 1 commit
  10. 17 Sep, 2012 3 commits
    • Alexander Maret-Huskinson's avatar
      Code cleanup. · 444eb4c0
      Alexander Maret-Huskinson authored
      Removed obsolete method from tablet handler. It was only required to
      ease the transission to the new d-bus interface.
      444eb4c0
    • Alexander Maret-Huskinson's avatar
      Added property adaptor mock template class. · a2f00556
      Alexander Maret-Huskinson authored
      Added a property adaptor template class which can be used as a mock for
      any property that uses QString as its key type. This class will be
      used by our unit tests as a mock for XinputAdaptor and
      XsetwacomAdaptor. It lets us test the tablet handler and other central
      classes without the need for a tablet being connected.
      a2f00556
    • Alexander Maret-Huskinson's avatar
      Final D-Bus interface changes. · 1ec63123
      Alexander Maret-Huskinson authored
      Updated D-Bus interface so that the device name is no longer required.
      Instead of the device name only the device type has to be passed to the
      get/set property methods.
      1ec63123
  11. 16 Sep, 2012 1 commit
    • Alexander Maret-Huskinson's avatar
      Reworked tablet backend. · b6d33ea3
      Alexander Maret-Huskinson authored
      Replaced old DeviceInterface backend by a new one which works based on
      property adaptors. The new backend supports multiple device backends
      (= property adaptors) for each device which is required if we want to
      support projects like the Intuos Led Project. We also need this for
      Xinput cursor settings support.
      b6d33ea3
  12. 15 Sep, 2012 2 commits
    • Alexander Maret-Huskinson's avatar
      More cleanup and code separation. · c8db8b08
      Alexander Maret-Huskinson authored
      Moved X11 device detection code from tablet handler to X event notifier
      class. This cleans up the tablet handler from any window system specific
      code and makes unit testing easier.
      
      Also switched the tablet rotation enum to our implementation as it
      ensures that enum values are correctly converted to strings and the
      compiler does all the necessary checks for us.
      c8db8b08
    • Alexander Maret-Huskinson's avatar
      Simplified tablet handler interface. · e9401415
      Alexander Maret-Huskinson authored
      Removed unecessary methods from the tablet handler interface and updated
      affected classes.
      e9401415
  13. 14 Sep, 2012 1 commit
    • Alexander Maret-Huskinson's avatar
      Improved the X device event notifier. · 033defd8
      Alexander Maret-Huskinson authored
      Added an EventNotifier interface which is independent of the underlying
      window system and adapted XDeviceEventNotifier to implement that
      interface. Also renamed XDeviceEventNotifier to XEventNotifier as it
      sends notifications about screen events, too.
      
      The implemenation was separated from the interface so we can implement
      a mock object for unit testing. Further we will be able to support
      Wayland easily.
      033defd8
  14. 13 Sep, 2012 2 commits
  15. 12 Sep, 2012 1 commit
  16. 11 Sep, 2012 2 commits
  17. 10 Sep, 2012 4 commits
  18. 09 Sep, 2012 5 commits
  19. 07 Sep, 2012 2 commits
  20. 06 Sep, 2012 2 commits
  21. 05 Sep, 2012 1 commit
    • Alexander Maret-Huskinson's avatar
      Added Xinput1 mouse cursor settings support. · 73e209ee
      Alexander Maret-Huskinson authored
      * Added more properties to support mouse cursor configuration.
      * Added Xinput1 setters to X11Utils.
      * Added an Xinput property adaptor which supports mouse cursor settings and tablet to screen mapping.
      * Removed obsolete code from WacomInterface.
      73e209ee