Skip to content
Tcl Source Code History Of Ticket 3007895
Login

History Of Ticket 3007895

Artifacts Associated With Ticket 3007895

  1. Ticket change [f90395bf7a] (rid 91639) by nijtmans on 2010-05-27 11:00:38:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      From tcl.h we can see that Tcl_(Find|Create)HashEntry
      is a macro, but it is in the stub table as well. The macro
      overrides the definition in tclDecls.h:
      =========================================
      #undef  Tcl_FindHashEntry
      #define Tcl_FindHashEntry(tablePtr, key) ...
      #undef  Tcl_CreateHashEntry
      #define Tcl_CreateHashEntry(tablePtr, key, newPtr) ...
      =========================================
      So, the stub table entries are useless. The only effects
      it has is:
      - Need tricks like #undef, to make tclHash.c and
        tclInitStubs.c compile.
      - Tcl_(Find|Create)HashEntry could be static in tclHash.c,
        but only for the stub table they are made EXTERN
      
      Solution: remove those two functions from the stub
      table, and we can remove all remaining trickery.
      
    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: "10. Objects"
    11. title initialized to:
      Tcl_(Find|Create)HashEntry stub entries can never be called
      
    12. type initialized to: "Bug"
  2. Ticket change [4f0b034791] (rid 125755) by nijtmans on 2010-05-27 18:02:30:

    1. icomment:
      
      
      File Added - 375339: hash.patch
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  3. Ticket change [c226585df3] (rid 111444) by nijtmans on 2010-05-27 18:05:45:

    1. icomment:
      Another benifit: Making Tcl_(Find|Create)HashEntry
      static means that the dynamic loader has two less
      symbols which need to be resolved.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [3be3e31904] (rid 112827) by dkf on 2010-05-27 20:44:35:

    1. assignee changed to: "msofer"
    2. icomment:
      Just leave it alone, Jan. You're not the area maintainer.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. priority changed to: "4"
    6. username: "dkf"
  5. Ticket change [cb2b386b9a] (rid 95477) by nijtmans on 2010-05-28 17:22:21:

    1. icomment:
      OK, Miguel?
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  6. Ticket change [5b9e74571d] (rid 118363) by nijtmans on 2010-08-16 10:07:14:

    1. assignee changed to: "dgp"
  7. Ticket change [932878ab2b] (rid 105768) by dgp on 2010-08-16 21:52:11:

    1. priority changed to: "9 Immediate"
  8. Ticket change [897d3d5e8f] (rid 132032) by nijtmans on 2010-08-16 23:24:40:

    1. icomment:
      Why priority 9? If it's only because you want
      this to be on the top of your list, OK!
      
      Besides that, it's only about the removal
      of dead code, so I don't see the need
      for prio 9.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  9. Ticket change [cf4da407bf] (rid 112952) by dgp on 2010-08-17 00:23:41:

    1. icomment:
      
      The stub table entries were added:
      
      2000-07-21  Eric Melski  <[email protected]>
      
              * generic/tclStubInit.c:
              * generic/tclObj.c:
              * generic/tclInt.h:
              * generic/tclHash.c:
              * generic/tclDecls.h:
              * generic/tcl.h:
              * generic/tcl.decls:
              * doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables
              to allow custom key types, such as Tcl_Obj *'s, and others.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [315e464a22] (rid 93415) by dgp on 2010-08-17 00:30:46:

    1. icomment:
      
      To reclaim that patch, 
      
      cvs -D 2000-07-21 -D 2000-07-22
      
      in tcl/generic
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [5b319c547a] (rid 118274) by dgp on 2010-08-17 00:40:05:

    1. assignee changed to: "nijtmans"
    2. icomment:
      
      Aim of the patch was to move toward a
      revised hash table implementation.  The change
      was a binary incompat, though, so it was disabled
      with #ifdef TCL_PRESERVE_BINARY_COMPATIBILITY.
      
      Sometime in Tcl 8.5 development, the new maintainers
      concluded that preserving binary compat was one of
      the things Tcl 8.* development was commited to, so
      dragging around code never to be enabled was no
      longer worth doing.
      
      So now we still have stub table entries that support
      only a configuration we removed in the last minor
      release.  Seems like they can go away.  
      
      Probably best we make the change on in 8.6 development
      and delay or forgo any changes to tcl.decls in 8.5.*
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  12. Ticket change [98966536d2] (rid 110632) by nijtmans on 2010-08-19 23:06:14:

    1. icomment:
      There is another option: We could keep the stub
      table entries, but make the signature match the
      doc again. That would be OK to me too.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  13. Ticket change [8b532cabd8] (rid 127545) by nijtmans on 2010-08-23 01:15:41:

    1. icomment:
      
      
      File Deleted - 375339: 
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  14. Add attachment "hash.patch" [9fc549e69d] (rid 96700) by nijtmans on 2010-08-23 01:20:03.

  15. Ticket change [4ad0735e70] (rid 126590) by nijtmans on 2010-08-23 01:20:03:

    1. icomment:
      
      
      File Added - 384222: hash.patch
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  16. Ticket change [d08e5bffcd] (rid 113204) by nijtmans on 2010-08-23 01:22:42:

    1. icomment:
      Here is a better patch, which does the same as the
      previous one, but restores the two functions having
      the same signature and behavior as the macros.
      Still, the stub entries are useless, but at least there
      is an option now to remove the macros and still
      having everything work as before.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  17. Ticket change [ca97603a8a] (rid 95381) by nijtmans on 2011-01-01 00:20:55:

    1. closedate changed to: "2010-12-31T17:20:55"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Backported to 8.5: Now the Tcl_(Find|Create)HashEntry functions
      do exactly the same as the Tcl_(Find|Create)HashEntry macro's, so
      at least the confusion addressed in this issue is gone.
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"