Skip to content
Tcl Source Code History Of Ticket 557486ffffffffff
Login

History Of Ticket 557486ffffffffff

Artifacts Associated With Ticket 557486ffffffffff

  1. Ticket change [4e33cd2495] (rid 127183) by paulgardner on 2002-05-17 22:44:27:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      tools/tcltk-man2html.tcl generates links called 
      Copyright to a file copyright.htm that does not 
      exist.  For example the bottom of: 
      http://tcl.activestate.com/man/tcl8.4/TclCmd/contents.htm
      
      Also, the links in the Keywords/*.htm files point to 
      a copyright.htm file within their own directory, 
      rather than in the doc root like everyone else.
      
      The following patch replaces all the occurences of 
      literal text with [Copyright], making proc Copyright 
      an easy place to alter the link. The default is the 
      word Copyright with no link.
      
      The patch unfortunately also mixes in the one-line 
      <td> change I mentioned in a previous post.  Sorry.
      
      
      diff -u tcl8.4a4/tools/tcltk-man2html.tcl 
      VRWtcl8.4a4/tools/tcltk-man2html.tcl
      --- tcl8.4a4/tools/tcltk-man2html.tclThu May  3 
      16:47:28 2001
      +++ VRWtcl8.4a4/tools/tcltk-man2html.tclFri 
      May 17 13:27:41 2002
      @@ -1269,6 +1269,14 @@
           }
       }
       
      +proc Copyright {dir} {
      +# Old-style, produces a broken link unless a 
      copyright.htm is created
      +#return "<A 
      HREF=\"$dir/copyright.htm\">Copyright</A> &#169;"
      +
      +# New-style, no link.
      +return "Copyright &copy;"
      +}
      +
       ##
       ## foreach of the man directories specified by args
       ## convert manpages into hypertext in the directory
      @@ -1489,9 +1497,9 @@
       }
       man-puts <HR><PRE>
       foreach copyright $manual(copyrights) 
      {
      -    man-puts "<A 
      HREF=\"../copyright.htm\">Copyright</A> &#169; 
      [lrange $copyright 2 end]"
      +    man-puts "[Copyright ..] [lrange 
      $copyright 2 end]"
       }
      -man-puts "<A 
      HREF=\"../copyright.htm\">Copyright</A> &#169; 
      1995-1997 Roger E. Critchlow Jr.</PRE>"
      +man-puts "[Copyright ..] 1995-1997 
      Roger E. Critchlow Jr.</PRE>"
       set manual(wing-copyrights) 
      [merge-copyrights $manual(wing-copyrights) 
      $manual(copyrights)]
           } elseif {[next-op-is .TH rest]} {
       set manual($manual(name)-title) 
      "[lrange $rest 4 end] - [lindex $rest 0] manual page"
      @@ -1505,9 +1513,9 @@
       }
       man-puts <HR><PRE>
       foreach copyright $manual(copyrights) 
      {
      -    man-puts "<A 
      HREF=\"../copyright.htm\">Copyright</A> &#169; 
      [lrange $copyright 2 end]"
      +    man-puts "[Copyright ..] [lrange 
      $copyright 2 end]"
       }
      -man-puts "<A 
      HREF=\"../copyright.htm\">Copyright</A> &#169; 
      1995-1997 Roger E. Critchlow Jr.</PRE>"
      +man-puts "[Copyright ..] 1995-1997 
      Roger E. Critchlow Jr.</PRE>"
       set manual(wing-copyrights) 
      [merge-copyrights $manual(wing-copyrights) 
      $manual(copyrights)]
           } else {
       manerror "no .HS or .TH record found"
      @@ -1539,7 +1547,7 @@
           }
           set tail [file tail $tail]
           append rows([expr {$n%$nrows}]) \
      -    "<td> <a 
      href=\"$tail.htm\">$name</a>"
      +    "<td> <a 
      href=\"$tail.htm\">$name</a></td>"
           incr n
       }
       puts $manual(wing-toc-fp) <table>
      @@ -1553,9 +1561,9 @@
       #
       puts $manual(wing-toc-fp) "<HR><PRE>"
       foreach copyright $manual(wing-copyrights) {
      -    puts $manual(wing-toc-fp) "<A 
      HREF=\"../copyright.htm\">Copyright</A> &#169; 
      [lrange $copyright 2 end]"
      +    puts $manual(wing-toc-fp) "[Copyright ..] 
      [lrange $copyright 2 end]"
       }
      -puts $manual(wing-toc-fp) "<A 
      HREF=\"../copyright.htm\">Copyright</A> &#169; 
      1995-1997 Roger E. Critchlow Jr."
      +puts $manual(wing-toc-fp) "[Copyright ..] 
      1995-1997 Roger E. Critchlow Jr."
       puts $manual(wing-toc-fp) 
      "</PRE></BODY></HTML>"
       close $manual(wing-toc-fp)
       set manual(merge-copyrights) 
      [merge-copyrights $manual(merge-copyrights) 
      $manual(wing-copyrights)]
      @@ -1597,9 +1605,9 @@
       puts $afp "</DL><HR><PRE>"
       # insert merged copyrights
       foreach copyright $manual(merge-copyrights) {
      -    puts $afp "<A 
      HREF=\"copyright.htm\">Copyright</A> &#169; [lrange 
      $copyright 2 end]"
      +    puts $afp "[Copyright ..] [lrange 
      $copyright 2 end]"
       }
      -puts $afp "<A 
      HREF=\"copyright.htm\">Copyright</A> &#169; 1995-1997 
      Roger E. Critchlow Jr."
      +puts $afp "[Copyright ..] 1995-1997 Roger E. 
      Critchlow Jr."
       puts $afp "</PRE></BODY></HTML>"
       close $afp
           }
      @@ -1607,9 +1615,9 @@
       
           # insert merged copyrights
           foreach copyright $manual(merge-copyrights) {
      -puts $keyfp "<A 
      HREF=\"copyright.htm\">Copyright</A> &#169; [lrange 
      $copyright 2 end]"
      +puts $keyfp "[Copyright ..] [lrange 
      $copyright 2 end]"
           }
      -    puts $keyfp "<A 
      HREF=\"copyright.htm\">Copyright</A> &#169; 1995-1997 
      Roger E. Critchlow Jr."
      +    puts $keyfp "[Copyright ..] 1995-1997 Roger E. 
      Critchlow Jr."
           puts $keyfp </PRE><HR></BODY></HTML>
           close $keyfp
       
      @@ -1620,9 +1628,9 @@
           puts $manual(short-toc-fp) "</DL><HR><PRE>"
           # insert merged copyrights
           foreach copyright $manual(merge-copyrights) {
      -puts $manual(short-toc-fp) "<A 
      HREF=\"copyright.htm\">Copyright</A> &#169; [lrange 
      $copyright 2 end]"
      +puts $manual(short-toc-fp) "[Copyright .] 
      [lrange $copyright 2 end]"
           }
      -    puts $manual(short-toc-fp) "<A 
      HREF=\"copyright.htm\">Copyright</A> &#169; 1995-1997 
      Roger E. Critchlow Jr."
      +    puts $manual(short-toc-fp) "[Copyright .] 
      1995-1997 Roger E. Critchlow Jr."
           puts $manual(short-toc-fp) "</PRE></BODY></HTML>"
           close $manual(short-toc-fp)
      
      
      I apologize for the length and would be happy to 
      provide a patched file if that would be more 
      convenient.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "paulgardner"
    9. subsystem initialized to: "None"
    10. title initialized to: "tcltk-man2html broken copyright links"
    11. type initialized to: "Patch"
  2. Ticket change [9d71a2bca3] (rid 96307) by hobbs on 2002-05-25 04:11:57:

    1. assignee changed to: "andreas_kupries"
  3. Ticket change [366b246f81] (rid 107099) by andreas_kupries on 2002-06-18 03:10:46:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I would be more happy if I the patch would have been 
      attached to this report instead of providing it inline. This 
      solves the length problem, and makes the patch actually 
      useable. In the current form extraction from the report will 
      most likely result in an in-applicable patch.
      
      See below the comment entry box for the form items to 
      upload and attach a file to this report.
      
      
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  4. Add attachment "tcltk-man2html_copyrightpatch.txt" [7585fce156] (rid 105405) by paulgardner on 2002-06-20 00:24:05.

  5. Ticket change [cef24407d1] (rid 112872) by paulgardner on 2002-06-20 00:24:05:

    1. icomment:
      Logged In: YES 
      user_id=546567
      
      Sorry about that.
      
      
      
    2. login: "paulgardner"
    3. mimetype: "text/plain"
    4. username: "paulgardner"
  6. Ticket change [b1480988f4] (rid 98122) by paulgardner on 2002-06-20 00:24:06:

    1. icomment:
      
      
      File Added - 25408: tcltk-man2html_copyrightpatch.txt
      
      
      
    2. login: "paulgardner"
    3. mimetype: "text/plain"
    4. username: "paulgardner"
  7. Ticket change [de66aa97f8] (rid 114842) by dkf on 2008-12-08 18:11:07:

    1. assignee changed to: "dkf"
  8. Ticket change [db4eff2c11] (rid 107937) by dkf on 2009-06-15 16:42:37:

    1. closedate changed to: "2009-06-15T09:42:37"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      All useful bits now applied.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dkf"