1. 24 Aug, 2016 1 commit
  2. 28 Jul, 2016 12 commits
    • Mike Gabriel's avatar
      nxagent.1 man page: Some layout fixes for string options with well-defined… · 46fef315
      Mike Gabriel authored
      nxagent.1 man page: Some layout fixes for string options with well-defined expected selections of values.
      46fef315
    • Mike Gabriel's avatar
      hw/nxagent/Display.c: Fix comment where the meaning of the "bypass"… · e9a3734a
      Mike Gabriel authored
      hw/nxagent/Display.c: Fix comment where the meaning of the "bypass" reconnectchecks parameter value is explained.
      e9a3734a
    • Mike Gabriel's avatar
    • Mike Gabriel's avatar
    • Mike Gabriel's avatar
      Merge branch 'Ionic-feature/reconnect-checks' into 3.6.x · 443b5272
      Mike Gabriel authored
      Attributes GH PR #183: https://github.com/ArcticaProject/nx-libs/pull/183
      
      Together with PR #143 this fixes ArcticaProject/nx-libs#132.
      
      t merges an updated upstream into a topic branch.
      443b5272
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Display.c: add FIXME comment to… · 64a83d1e
      Mihai Moldovan authored
      nx-X11/programs/Xserver/hw/nxagent/Display.c: add FIXME comment to nxagentCheckForColormapsCompatibility().
      
      Maybe needs special strictness handling as well.
      64a83d1e
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Display.c: add FIXME comment to nxagentInitAndCheckVisuals(). · 5ec7e48a
      Mihai Moldovan authored
      Maybe needs special strictness handling as well.
      5ec7e48a
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Display.c: split up… · e61c8c85
      Mihai Moldovan authored
      nx-X11/programs/Xserver/hw/nxagent/Display.c: split up nxagentCheckForPixmapFormatsCompatibility() and nxagentInitPixmapFormats().
      
      Don't implicitly call the checking function in the init function (and throw
      away the checking functions result...)
      
      Instead, explicitly use the checking function after the init function in other
      parts of the code and throw away the checking functions return value
      selectively or actually use it while reconnecting.
      
      This is totally different behavior compared to the original one. Hopefully it
      doesn't cause any problems (i.e., hopefully there was no good reason for never
      using the checking functions return value, but an oversight.)
      e61c8c85
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Display.c: use new ReconnectTolerance… · 66182714
      Mihai Moldovan authored
      nx-X11/programs/Xserver/hw/nxagent/Display.c: use new ReconnectTolerance nxagentOption value in nxagentCheckForPixmapFormatsCompatibility() and modify behavior based on this value.
      
      Recognized values:
        - Strict means that the number of internal and
          external pixmap formats must match exactly and
          every internal pixmap format must be available
          in the external pixmap format array.
        - Safe means that the number of pixmap formats might
          diverge, but all internal pixmap formats must
          also be included in the external pixmap formats
          array. This is recommended, because it allows
          clients with more pixmap formats to still connect,
          but not lose functionality.
        - Risky means that the internal pixmap formats array
          is allowed to be smaller than the external pixmap
          formats array, but at least one pixmap format must
          be included in both. This is potentially unsafe.
        - Bypass or higher means that all of these checks are
          essentially deactivated. This is a very bad idea.
      
      Note that the default ReconnectTolerance value is still Strict.
      
      Also, the return value of this function is currently not used or passed through
      to other functions at all. An upcoming commit will change this behavior and
      actually enable the checks.
      66182714
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Display.c: use new ReconnectTolerance… · bb9b50bf
      Mihai Moldovan authored
      nx-X11/programs/Xserver/hw/nxagent/Display.c: use new ReconnectTolerance nxagentOption value in nxagentCheckForDepthsCompatibility() and modify behavior based on this value.
      
      Recognized values:
        - Strict means that the number of old and new depths must
          match exactly and every old depth value must be
          available in the new depth array.
        - Safe means that the number of depths might diverge,
          but all former depth must also be included in the
          new depth array. This is recommended, because
          it allows clients with more depths to still
          connect, but not lose functionality.
        - Risky means that the new depths array is allowed to be
          smaller than the old depths array, but at least
          one depth value must be included in both.
          This is potentially unsafe.
        - Bypass or higher means that all of these checks are
          essentially deactivated. This is a very bad idea.
      
      Note that the default ReconnectTolerance value is still Strict.
      bb9b50bf
    • Mihai Moldovan's avatar
      nx-X11/programs/Xserver/hw/nxagent/Display.c: use new ReconnectTolerance… · 6effea54
      Mihai Moldovan authored
      nx-X11/programs/Xserver/hw/nxagent/Display.c: use new ReconnectTolerance nxagentOption in nxagentCheckForDefaultDepthCompatibility() and modify behavior based on this value.
      
      Recognized values:
        - Strict means that the old and new default depth values
          must match exactly.
        - Safe or Risky means that the default depth values
          might differ, but the new default depth value must be at
          least as high as the former default depth value. This is
          recommended, because it allows clients with a
          higher default depth value to still connect, but
          not lose functionality.
        - Bypass or higher means that all of these checks are
          essentially deactivated. This is probably a very
          bad idea.
      
      Note that the default ReconnectTolerance value is still Strict.
      6effea54
    • Mihai Moldovan's avatar
      {nx-X11/programs/Xserver/hw/nxagent/{Args.c,Options.{c,h}},nxcomp/{Loop,Misc}.cp… · 29be5cc0
      Mihai Moldovan authored
      {nx-X11/programs/Xserver/hw/nxagent/{Args.c,Options.{c,h}},nxcomp/{Loop,Misc}.cpp}: add tolerancechecks parameter as an nx/nx option and ReconnectTolerance as an nxagentOption.
      29be5cc0
  3. 27 Jul, 2016 1 commit
  4. 26 Jul, 2016 1 commit
  5. 06 Jul, 2016 4 commits
  6. 05 Jul, 2016 21 commits