1. 11 Jun, 2019 4 commits
    • Ulrich Sibiller's avatar
      os: fix BigReq ignoring when another request is pending · a736122f
      Ulrich Sibiller authored
      Not sure how it came to this situation, but the following commit is
      partly contained in our version of the code. Some lines had not been
      removed, tough...
      
        commit c80c41767eb101e9dbd8393d8cca7764b4e248a4
        Author: Aaron Plattner <aplattner@nvidia.com>
        Date:   Mon Oct 25 22:01:32 2010 -0700
      
          os: Fix BigReq ignoring when another request is pending
      
          Commit cf88363db0ebb42df7cc286b85d30d7898aea840 fixed the handling of
          BigReq requests that are way too large and handles the case where the
          read() syscall returns a short read.  However, it neglected to handle
          the case where it returns a long read, which happens when the client
          has another request in the queue after the bogus large one.
      
          Handle the long read case by subtracting the smaller of 'needed' and
          'gotnow' from oci->ignoreBytes.  If needed < gotnow, simply subtract
          the two, leaving gotnow equal to the number of extra bytes read.
          Since the code immediately following the (oci->ignoreBytes > 0) block
          tries to handle the next request, advance oci->bufptr immediately
          instead of setting oci->lenLastReq and letting the next call to
          ReadRequestFromClient do it.
      
          Fixes the XTS pChangeKeyboardMapping-3 test.
      
                   CASES TESTS  PASS UNSUP UNTST NOTIU  WARN   FIP  FAIL UNRES  UNIN ABORT
          -Xproto    122   389   367     2    19     0     0     0     1     0     0     0
          +Xproto    122   389   368     2    19     0     0     0     0     0     0     0
      Signed-off-by: 's avatarAaron Plattner <aplattner@nvidia.com>
      Reviewed-by: 's avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
      a736122f
    • Ulrich Sibiller's avatar
      render/glyph.c: add missing usage_hint · 49adb1e5
      Ulrich Sibiller authored
      was missing in 8b5bb2cd
      49adb1e5
    • Ulrich Sibiller's avatar
      Fix NXevents.c: Reactivate errornously commented function · fd842700
      Ulrich Sibiller authored
      CheckMotion() had been commented in
      add88193 as it looked identical to the
      version from dix/events.c except for some commented code. But this
      based (probably) on a thinko - code that had been disabled by NX
      became active again this way. Fix this by removing the comments and
      by adding #ifdef/else to emphasize the difference.
      fd842700
    • Mike Gabriel's avatar
  2. 29 May, 2019 1 commit
    • Ulrich Sibiller's avatar
      dix: remove unused requestLogIndex · 0eab060d
      Ulrich Sibiller authored
      As done in these commits:
      
        commit 6583477035234e23ead2fad9db7a07e5862447a4
        Author: Nicolai Hähnle <nhaehnle@gmail.com>
        Date:   Sat May 23 13:35:24 2009 +0200
      
          Remove reference to non-existing requestLog and requestLogIndex
      
          These fields were removed in 252ec504817e05b185e4896a2d899e9c00b8aeef.
      Signed-off-by: 's avatarNicolai Haehnle <nhaehnle@gmail.com>
      Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
      
        commit 252ec504817e05b185e4896a2d899e9c00b8aeef
        Author: Adam Jackson <ajax@redhat.com>
        Date:   Mon Mar 30 15:18:30 2009 -0400
      
          Document which bits of ClientRec are currently unused
      0eab060d
  3. 21 May, 2019 1 commit
  4. 17 May, 2019 3 commits
  5. 13 May, 2019 1 commit
  6. 11 May, 2019 1 commit
  7. 10 May, 2019 27 commits
  8. 23 Apr, 2019 1 commit
  9. 22 Apr, 2019 1 commit