1. 28 Jul, 2008 1 commit
  2. 24 Jul, 2008 5 commits
  3. 23 Jul, 2008 5 commits
  4. 20 Jul, 2008 1 commit
  5. 18 Jul, 2008 2 commits
  6. 17 Jul, 2008 4 commits
  7. 16 Jul, 2008 6 commits
  8. 15 Jul, 2008 2 commits
    • Daniel Stone's avatar
      OS/KDrive/XFree86: Sanitise colour initialisation · e6f35f28
      Daniel Stone authored
      OsInitColors always just returned TRUE, so just remove calls to it and
      insane special-case logic.  Remove unused kcolor.c implementation, and
      merge oscolor.h into oscolor.c since it was the only user.  Remove
      open-coded strncasecmp in oscolor.c.
      
      Since we no longer need to call OsInitColors after reading the config
      file, just call PostConfigInit() from one place, and move PM handling to
      one place so we can install the signal handlers earlier.
      e6f35f28
    • Daniel Stone's avatar
      DIX: Add strncasecmp from FreeBSD, make strcasecmp args const · 11f9e352
      Daniel Stone authored
      Add strncasecmp (as we're now using it) in case someone doesn't have it,
      and also change strncasecmp args to be const, in accordance with
      everything else.
      11f9e352
  9. 13 Jul, 2008 2 commits
  10. 11 Jul, 2008 1 commit
  11. 10 Jul, 2008 5 commits
    • Peter Hutterer's avatar
      Xi: pack the property stuff into a struct, make handlers a linked list. · e4054e5c
      Peter Hutterer authored
      We may need more than one handler to deal with a property (e.g. one in the
      driver, one in the DIX), so get the handlers into a linked list and call them
      one-by-one. This is of course slightly less entertaining than the hilarious
      WRAP/UNWRAP game we play in other parts of the server.
      
      XIRegisterPropertyHandler/XIUnregisterPropertyHandler are the interface
      drivers/the DIX should use to attach themselves to the device.
      
      XIDeleteAllDeviceProperties destroys everything, including the handlers.
      e4054e5c
    • Peter Hutterer's avatar
      Xi: add support for input device properties. · 2039c6ea
      Peter Hutterer authored
      Basically just copied from randr properties, with minor changes only.
      Each device supports arbitrary properties that can be modified by clients.
      Modifications to the properties are passed to the driver (if applicable) and
      can then affect the configuration of the device.
      
      Note that device properties are limited to a specific device. A property set
      on a slave device does not migrate to the master.
      2039c6ea
    • Peter Hutterer's avatar
      Revert "Xi: add support for input device properties." · 4ab01fe5
      Peter Hutterer authored
      Note to self: don't mix up branches with half-finished cherrypicks.
      
      This reverts commit 666838fc.
      4ab01fe5
    • Peter Hutterer's avatar
      Xi: add support for input device properties. · 666838fc
      Peter Hutterer authored
      Basically just copied from randr properties, with minor changes only.
      Each device supports arbitrary properties that can be modified by clients.
      Modifications to the properties are passed to the driver (if applicable) and
      can then affect the configuration of the device.
      
      Note that device properties are limited to a specific device. A property set
      on a slave device does not migrate to the master.
      666838fc
    • Peter Hutterer's avatar
  12. 07 Jul, 2008 1 commit
  13. 26 Jun, 2008 1 commit
    • Peter Hutterer's avatar
      input: for non-device events (e.g. DevicePresence) use MAX_DEVICES as id. · 15e4b6c5
      Peter Hutterer authored
      Using id = 0 only worked pre-MPX since XInput didn't allow XOpenDevice for the
      core devices (0 and 1). Now we can now legally register for events so we may
      overwrite our device-independent classes with the ones selected for the VCP.
      
      So, increase the EMASKSIZE to MAX_DEVICES + 1 and use MAX_DEVICES as the ID
      when we don't have a device.
      15e4b6c5
  14. 25 Jun, 2008 2 commits
  15. 24 Jun, 2008 1 commit
    • Adam Jackson's avatar
      Check for __amd64__, not __x86_64__. · 9719354a
      Adam Jackson authored
      Spiritual revert of 1fa4de80.  Intel's C
      compiler claims to be gcc-compatible; if they're not defining the same
      macros as gcc then that's their bug, not ours.  Even if we were to do
      this aliasing we should do it once and for all in servermd.h.
      9719354a
  16. 19 Jun, 2008 1 commit
    • Keith Packard's avatar
      Make button down state a bitmask. Master buttons track union of slave buttons · cfcb3da7
      Keith Packard authored
      
      
      Mixing usage where some parts of the code treated this field as a bitmask
      and other parts as an array of card8 was wrong, and as the wire protocol
      wanted bitmasks, it was less invasive to switch the newer counting code use
      booleans.
      
      Master devices track slave buttons by waiting for all slave buttons to be
      released before delivering the release event to the client.
      
      This also removes the state merging code in DeepCopyDeviceClasses -- that
      code was changing master device state without delivering any events,
      violating protocol invariants. The result will be that existing slave
      button state which does not match the master will not be visible through the
      master device. Fixing this would require that we synthesize events in this
      function, which seems like a bad idea. Note that keyboards have the same
      issue.
      
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Signed-off-by: default avatarPeter Hutterer <peter@cs.unisa.edu.au>
      cfcb3da7