1. 18 Jun, 2019 4 commits
  2. 12 Jun, 2019 7 commits
    • Ulrich Sibiller's avatar
      NXshm.c: remove left-overs from patch · 3900ba3f
      Ulrich Sibiller authored
      format was broken, would not compile
      3900ba3f
    • Ulrich Sibiller's avatar
      b961e190
    • Ulrich Sibiller's avatar
      mi: Hush an almost certainly bogus warning · 28e42b3b
      Ulrich Sibiller authored
        commit 57e872301f5e836be2efb8f952f9c9711650b447
        Author: Adam Jackson <ajax@redhat.com>
        Date:   Thu Apr 5 13:07:09 2018 -0400
      
          mi: Hush an almost certainly bogus warning
      
          In file included from ../mi/miexpose.c:83:
          ../mi/miexpose.c: In function ‘miHandleExposures’:
          ../include/regionstr.h:174:22: warning: ‘expBox.y2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
               (_pReg)->extents = *(_pBox);
               ~~~~~~~~~~~~~~~~~^~~~~~~~~~
          ../mi/miexpose.c:139:12: note: ‘expBox.y2’ was declared here
               BoxRec expBox;
                      ^~~~~~
      
          etc. It's initialized if (extents), and then only read if (extents),
          but gcc doesn't seem to figure that out. Whatever, bzero it to be
          explicit.
      Signed-off-by: 's avatarAdam Jackson <ajax@redhat.com>
      Acked-by: 's avatarKeith Packard <keithp@keithp.com>
      28e42b3b
    • Ulrich Sibiller's avatar
      Window.c: Drop defines CWParent and CWStackingOrder · 9f5ddede
      Ulrich Sibiller authored
      They were just aliases to already existing defines and were not used
      stringently. So we had mix of aliased and non-aliased uses which is
      confusing when trying to understand the code...
      9f5ddede
    • Ulrich Sibiller's avatar
      Window.c: remove leftover (commented) code · a3e0376f
      Ulrich Sibiller authored
      This was eventually replaced by nxagentAddConfiguredWindow(pWin,
      CW_Map) some lines below which is just leading to the same code being
      executed some time later.
      
      (nxagentAddConfiguredWindow() will add a window to a
      list. nxagentFlushConfiguredWindow() is called at certain points to
      update all windows in that list in one go. "update" here means calling
      XConfigureWindow() or XMapWindow() on the real display.)
      a3e0376f
    • Ulrich Sibiller's avatar
      NXwindow.c: fix compiler warning · d8f5e647
      Ulrich Sibiller authored
      NXwindow.c:265:27: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=]
             sprintf(artsd_port,"%d", nPort);
                                 ^~
      NXwindow.c:265:26: note: directive argument in the range [-2147476648, 2147483647]
             sprintf(artsd_port,"%d", nPort);
                                ^~~~
      NXwindow.c:265:7: note: ‘sprintf’ output between 2 and 12 bytes into a destination of size 10
             sprintf(artsd_port,"%d", nPort);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      d8f5e647
    • Ulrich Sibiller's avatar
      Remove the Must_have_memory hack. · a765857a
      Ulrich Sibiller authored
      We are not using any alloc function that respects that variable, so
      lets drop it. Backport of this commit:
      
        commit 0ce61e21d6d7dcca0090e319bbcdb678570f2c3f
        Author: Adam Jackson <ajax@redhat.com>
        Date:   Fri Oct 3 16:05:19 2008 -0400
      
          Remove the Must_have_memory hack.
      
          Also remove an astonishing amount of misunderstanding of how casts work.
      a765857a
  3. 11 Jun, 2019 27 commits
  4. 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
  5. 21 May, 2019 1 commit