Tcl Library Source Code

Changes On Branch dt-html-fixes
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch dt-html-fixes Excluding Merge-Ins

This is equivalent to a diff from 0faffc01e5 to 83742e01e4

2017-05-29
23:01
Merge doctools HTML comment fix check-in: 463f99dd29 user: aku tags: trunk
2016-12-13
18:35
Added a standalone sleep event Added some procs needed for tao/tool backward compaditbility check-in: 34996bb8c0 user: hypnotoad tags: trunk
2016-12-06
13:19
* mpformats/_html.tcl, tests/html/*: Fix invalid comment start delimiter emitted by ht_comment. Closed-Leaf check-in: 83742e01e4 user: ssoberni tags: dt-html-fixes
07:18
Create new branch named "dt-html-fixes" check-in: 31c9174051 user: ssoberni tags: dt-html-fixes
2016-11-28
16:44
Bug/Typo fixes to the new units module as well as its regression tests check-in: 0faffc01e5 user: tne tags: trunk
2016-11-21
20:42
Fixed a bug in coroutine::util::gets. The prior blocking state was overwritten inside of the loop. Added a new command to the coroutine::util namespace: gets_safety. It is intended for http servers which have to read in a line from a socket, but where attackers may attempt to pull off a stack overflow by sending a stream of data with no newline. Modified the http package to utilize the new gets_safety command. check-in: 1e34743148 user: hypnotoad tags: trunk

Changes to modules/doctools/mpformats/_html.tcl.

176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
	taga $t $args
    } else {
	tag $t
    }
}

proc ht_comment {text}   {
    return "[markup <]! -- [join [split $text \n] "   -- "]\n   --[markup >]"
}

# wrap content gi --
#	Returns $content wrapped inside <$gi> ... </$gi> tags.
#
proc wrap {content gi} {
    return "[tag $gi]${content}[tag/ $gi]"







|







176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
	taga $t $args
    } else {
	tag $t
    }
}

proc ht_comment {text}   {
    return "[markup <]!-- [join [split $text \n] "   -- "]\n   --[markup >]"
}

# wrap content gi --
#	Returns $content wrapped inside <$gi> ... </$gi> tags.
#
proc wrap {content gi} {
    return "[tag $gi]${content}[tag/ $gi]"

Changes to modules/doctools/tests/html/00.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/01.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; **Copyright**
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; **Copyright**
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/02.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;..THE_MODULE..&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST - ..THE_TITLE..</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;..THE_MODULE..&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST - ..THE_TITLE..</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/03.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/04.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/05.

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- BASIC.a
   -->
<body><div class="doctools">
<h1 class="doctools_title">BASIC(a) 5 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>BASIC -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- BASIC.a
   -->
<body><div class="doctools">
<h1 class="doctools_title">BASIC(a) 5 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>BASIC -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/06.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/07.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; .COPYRIGHT.
   -->
<! -- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; .COPYRIGHT.
   -->
<!-- TEST.z
   -->
<body><div class="doctools">
<h1 class="doctools_title">TEST(z) 3.14.15.926 .MODULE. &quot;&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>TEST -</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>

Changes to modules/doctools/tests/html/08.

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<! -- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<! -- Copyright &copy; **Copyright**
   -->
<! -- ALL.a
   -->
<body><div class="doctools">
<h1 class="doctools_title">ALL(a) 5 .MODULE. &quot;..THE_MODULE..&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>ALL - ..THE_TITLE..</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>







|

|

|







88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    }
    UL.doctools_requirements {
	margin-bottom: 	1em;
	border-bottom:	1px solid black;
    }
--></style>
</head>
<!-- Generated from file '.FILE.' by tcllib/doctools with format 'html'
   -->
<!-- Copyright &copy; **Copyright**
   -->
<!-- ALL.a
   -->
<body><div class="doctools">
<h1 class="doctools_title">ALL(a) 5 .MODULE. &quot;..THE_MODULE..&quot;</h1>
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
<p>ALL - ..THE_TITLE..</p>
</div>
<div id="toc" class="doctools_section"><h2><a name="toc">Table Of Contents</a></h2>