1. 07 Oct, 2005 1 commit
    • dscho's avatar
      The PseudoEncoding extension code was getting silly: · 951ec26b
      dscho authored
      If the client asked for an encoding, and no enabled extension handled it,
      LibVNCServer would walk through all extensions, and if they promised to handle
      the encoding, execute the extension's newClient() if it was not NULL.
      
      However, if newClient is not NULL, it will be called when a client connects,
      and if it returns TRUE, the extension will be enabled. Since all the state of
      the extension should be in the client data, there is no good reason why
      newClient should return FALSE the first time (thus not enabling the extension),
      but TRUE when called just before calling enablePseudoEncoding().
      
      So in effect, the extension got enabled all the time, even if that was not
      necessary.
      
      The resolution is to pass a void** to enablePseudoEncoding. This has the
      further advantage that enablePseudoEncoding can remalloc() or free() the
      data without problems. Though keep in mind that if enablePseudoEncoding()
      is called on a not-yet-enabled extension, the passed data points to NULL.
      951ec26b
  2. 06 Oct, 2005 8 commits
  3. 03 Oct, 2005 1 commit
  4. 29 Sep, 2005 1 commit
  5. 28 Sep, 2005 1 commit
  6. 27 Sep, 2005 3 commits
  7. 26 Sep, 2005 1 commit
  8. 22 Aug, 2005 1 commit
  9. 21 Aug, 2005 1 commit
  10. 18 Jul, 2005 1 commit
  11. 13 Jul, 2005 2 commits
  12. 11 Jul, 2005 1 commit
  13. 09 Jul, 2005 1 commit
  14. 07 Jul, 2005 1 commit
  15. 02 Jul, 2005 1 commit
  16. 28 Jun, 2005 1 commit
  17. 27 Jun, 2005 2 commits
  18. 21 Jun, 2005 2 commits
  19. 18 Jun, 2005 1 commit
  20. 14 Jun, 2005 1 commit
  21. 11 Jun, 2005 1 commit
  22. 06 Jun, 2005 3 commits
  23. 04 Jun, 2005 1 commit
  24. 31 May, 2005 1 commit
  25. 25 May, 2005 2 commits