Skip to content
Tcl Source Code History Of Ticket 7f6005a867
Login

History Of Ticket 7f6005a867

Artifacts Associated With Ticket 7f6005a867

  1. Ticket change [7b25b41a16] (rid 194843) by anonymous on 2021-06-18 18:20:45:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Currently, the HTML-format reference pages (as available from
      https://www.tcl.tk/man/) tend to look a bit odd on mobile browsers (Android,
      iOS). The exact misbehavior differs from device to device and browser to
      browser, but tends to involve rendering certain elements with extremely small
      font sizes. This occurs because mobile browsers pretend, by default, that their
      viewports are much larger than they really are, unless the page includes a
      special <meta> tag to tell them otherwise. The following adds such a tag to the
      generated reference pages, and makes them render more nicely, at least on my
      Android devices:
      
      Index: tools/tcltk-man2html-utils.tcl
      ==================================================================
      --- tools/tcltk-man2html-utils.tcl
      +++ tools/tcltk-man2html-utils.tcl
      @@ -78,11 +78,11 @@
           set level ""
           if {[lindex $args end] eq "../[indexfile]"} {
              # XXX hack - assume same level for CSS file
              set level "../"
           }
      -    set out "<!DOCTYPE html>\n<html lang=\"en\">\n<head><meta charset=\"utf-8\"><title>$title</title>\n[CSS $level]</head>\n"
      +    set out "<!DOCTYPE html>\n<html lang=\"en\">\n<head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><title>$title</title>\n[CSS $level]</head>\n"
           foreach {uptitle url} $args {
              set header "<a href=\"$url\">$uptitle</a> <small>&gt;</small> $header"
           }
           append out "<body><h2>$header</h2>"
           global manual
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "d53d839b44106bbdb36827934c6b01eab6894287"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to:
      Magic <meta> viewport tag in generated HTML for mobile browsers
      
    16. type initialized to: "Patch"
  2. Ticket change [e06ecfa006] (rid 259585) by anonymous on 2026-10-20 21:08:28:

    1. icomment:
      I request this change too, rerouted by my ticket
      https://core.tcl-lang.org/tcl/info/1c722347fe
      Thanks for include it in the next release (9.1.0).
      
    2. login: "anonymous"
    3. mimetype: "text/plain"
    4. username: "Thomas [TWu]"
  3. Ticket change [8005d48571] (rid 259635) by serhiy.storchaka on 2026-10-20 21:48:56:

    1. icomment:
      Proposed in branch [66f0f3eaa0|man2html-meta-viewport]: the patch from this ticket, which adds <tt>&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;</tt> to the head of every generated page (checked on the Tcl and Tk HTML: all 471 pages have it).
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [c8046f6b96] (rid 259655) by oehhar on 2026-10-21 07:59:02:

    1. icomment: "Serhiy, just merge, thanks, Harald"
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  5. Ticket change [94cb1fcd81] (rid 259663) by serhiy.storchaka on 2026-10-21 08:37:31:

    1. icomment:
      Merged to [785fa0c704|trunk], [432dc52d5b|core-9-0-branch] and [f5ead41df2|core-8-6-branch] (in 8.6, which still generates HTML 4.01, as <tt>&lt;META name="viewport" ...&gt;</tt> after <tt>&lt;HEAD&gt;</tt>).
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  6. Ticket change [30e71c12ca] (rid 259968) by serhiy.storchaka on 2026-10-22 17:19:28:

    1. closedate changed to: "2461334.85939147"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"