Skip to content
Tcl Source Code History Of Ticket 2605263fffffffff
Login

History Of Ticket 2605263fffffffff

Artifacts Associated With Ticket 2605263fffffffff

  1. Ticket change [9052cb4cbc] (rid 120432) by nijtmans on 2009-02-16 11:46:43:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Currently, on UNIX, the configure script checks if the system has a
      suitable built-in zlib library. If so, the external library is
      used, otherwise the one from compat.
      
      On win32, there is an official zlib build that has two advantages
      compared to the current situation:
      - The basic compression functions come from hand-optimized
        assembler code, so it is faster.
      - The library has the form of a dll, so when a better zlib
        version comes out, it's just a matter of replacing this
        dll with a newer one and everything will still work.
      
      This should only be used for win32 (not for win64) and
      only with --enable-shared: For starpacks we don't want
      to depend on an external zlib1.dll, which is not
      guaranteed to be installed. Rule: only depend on
      zlib1.dll when we depend on tcl86.dll already.
      
      There is a disadvantage as well: The official build is
      missing two functions which (by accident) are not
      exported from the dll although they are part of the
      official API. There exists a hack for that.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "57. zlib"
    11. title initialized to: "use official win32 zlib build."
    12. type initialized to: "RFE"
  2. Ticket change [f71e734ad4] (rid 130436) by dkf on 2009-02-16 20:33:47:

    1. icomment:
      If we're having to hack around faults in the official build, that negates the benefits of using it since we can build our own easily enough. Since the official build is broken, we can close this bug as a "won't fix" until that is fixed.
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [cab219e7ed] (rid 95403) by nijtmans on 2009-02-16 20:40:17:

    1. icomment:
      Yes, agreed. However, in this case the 'hack' only consists of
      copying the missing functions (of only a few lines each) in
      tclZlib.c. So, the 'hack' is 'easy enough' as well. Given the
      fact that the official zlib build is faster then ours, I am
      inclined to fix this (I already have tested the fix locally,
      so I am confident enough about it!). However, I encourage
      anyone to give more arguments pro or contra.
      
      Thanks, Donal!
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [6a0bb8ad24] (rid 128080) by nijtmans on 2009-02-17 06:07:52:

    1. icomment:
      Fixed for win/Makefile, win/makefile.vc still to be done.
      Tested with both msvc and mingw32.
      
      For related install scripts (Activetcl ???), this change means
      that zlib1.dll must be installed side by side with tcl86.dll
      as a companion.
      
      For tkImg, I am planning to make the same change, so zlib1.dll
      will be used by both tcl and tkImg. And there are a lot other
      applications which distribute the same zlib1.dll.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "nijtmans"
  5. Ticket change [a08413d769] (rid 96828) by dkf on 2009-02-17 16:47:43:

    1. icomment:
      You need to ensure that you use configure.in to detect whether a zlib1.dll is present and has all the functions required. I advise adapting what the Unix configure.in does; that already spots the function that tends to be the issue when it comes to versioning...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [14b77a4421] (rid 124443) by nijtmans on 2009-02-17 18:10:31:

    1. icomment:
      On Windows, zlib1.dll is never present on the system. It comes with
      the applications that need it. As soon as there exists an official
      zlib1.dll which doesn't need the hack any more, you are right that
      your suggestion would be better. At this moment I see more risks
      in doing that than that it benefits. It can always be added in the
      future.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  7. Ticket change [ed68519218] (rid 103875) by nijtmans on 2009-07-08 15:14:33:

    1. closedate changed to: "2009-07-08T08:14:33"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Already in the build, so can be closed now
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "nijtmans"