Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch tcllib-1-16-rc
Excluding Merge-Ins
This is equivalent to a diff from
a5597ab71e
to 6430a704e6
2014-02-11
| | |
19:04 |
|
check-in: 2847321e30 user: aku tags: trunk, release, tcllib-1-16
|
18:58 |
|
Closed-Leaf
check-in: 6430a704e6 user: aku tags: tcllib-1-16-rc
|
18:58 |
|
check-in: 1e63edd954 user: aku tags: tcllib-1-16-rc
|
2014-02-04
| | |
22:17 |
|
check-in: 9cb9bdee5a user: aku tags: tcllib-1-16-rc
|
22:03 |
|
check-in: a5597ab71e user: andreask tags: trunk
|
21:16 |
|
check-in: cfd881b6f8 user: aku tags: trunk
|
| | |
Changes to embedded/man/files/modules/debug/debug.n.
︙ | | |
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
|
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
|
-
+
|
.SH DESCRIPTION
Debugging areas of interest are represented by 'tags' which have
independently settable levels of interest (an integer, higher is more
detailed)\&.
.SH API
.TP
\fBdebug\&.\fBtag\fR\fR \fImessage\fR ?\fIlevel\fR?
For each known tag the package creates a command with this signatur
For each known tag the package creates a command with this signature
the user can then use to provide the debug narrative of the tag\&.
The narrative \fImessage\fR is provided as a Tcl script whose value is
\fBsubst\fRed in the caller's scope if and only if the current level of
interest for the \fItag\fR matches or exceeds the call's \fIlevel\fR
of detail\&. This is useful, as one can place arbitrarily complex
narrative in code without unnecessarily evaluating it\&.
.sp
|
︙ | | |
Changes to embedded/man/files/modules/dns/tcllib_ip.n.
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-
+
|
'\"
'\" Generated from file 'tcllib_ip\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2004, Pat Thoyts
'\" Copyright (c) 2005 Aamer Akhter <aakhter@cisco\&.com>
'\"
.TH "tcllib_ip" n 1\&.2\&.1 tcllib "Domain Name Service"
.TH "tcllib_ip" n 1\&.2\&.2 tcllib "Domain Name Service"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
-
+
|
..
.BS
.SH NAME
tcllib_ip \- IPv4 and IPv6 address manipulation
.SH SYNOPSIS
package require \fBTcl 8\&.2\fR
.sp
package require \fBip ?1\&.2\&.1?\fR
package require \fBip ?1\&.2\&.2?\fR
.sp
\fB::ip::version\fR \fIaddress\fR
.sp
\fB::ip::is\fR \fIclass\fR \fIaddress\fR
.sp
\fB::ip::equal\fR \fIaddress\fR \fIaddress\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/math/math_geometry.n.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-
+
|
'\"
'\" Generated from file 'math_geometry\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2001 by Ideogramic ApS and other parties
'\" Copyright (c) 2004 by Arjen Markus
'\" Copyright (c) 2010 by Andreas Kupries
'\" Copyright (c) 2010 by Kevin Kenny
'\"
.TH "math::geometry" n 1\&.1\&.2 tcllib "Tcl Math Library"
.TH "math::geometry" n 1\&.1\&.3 tcllib "Tcl Math Library"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
-
+
|
..
.BS
.SH NAME
math::geometry \- Geometrical computations
.SH SYNOPSIS
package require \fBTcl ?8\&.3?\fR
.sp
package require \fBmath::geometry ?1\&.1\&.2?\fR
package require \fBmath::geometry ?1\&.1\&.3?\fR
.sp
\fB::math::geometry::+\fR \fIpoint1\fR \fIpoint2\fR
.sp
\fB::math::geometry::-\fR \fIpoint1\fR \fIpoint2\fR
.sp
\fB::math::geometry::p\fR \fIx\fR \fIy\fR
.sp
|
︙ | | |
310
311
312
313
314
315
316
317
318
319
320
321
322
323
|
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
|
+
+
|
\fB::math::geometry::angle\fR \fIline\fR
.sp
\fB::math::geometry::calculateDistanceToLine\fR \fIP\fR \fIline\fR
.sp
\fB::math::geometry::calculateDistanceToLineSegment\fR \fIP\fR \fIlinesegment\fR
.sp
\fB::math::geometry::calculateDistanceToPolyline\fR \fIP\fR \fIpolyline\fR
.sp
\fB::math::geometry::calculateDistanceToPolygon\fR \fIP\fR \fIpolygon\fR
.sp
\fB::math::geometry::findClosestPointOnLine\fR \fIP\fR \fIline\fR
.sp
\fB::math::geometry::findClosestPointOnLineSegment\fR \fIP\fR \fIlinesegment\fR
.sp
\fB::math::geometry::findClosestPointOnPolyline\fR \fIP\fR \fIpolyline\fR
.sp
|
︙ | | |
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
|
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
|
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
first and last points of the line segment
.RE
.sp
.sp
.TP
\fB::math::geometry::calculateDistanceToPolyline\fR \fIP\fR \fIpolyline\fR
Calculate the distance of point P to the polyline and
return the result\&.
return the result\&. Note that a polyline needs not to be closed\&.
.RS
.TP
list \fIP\fR
List of two numbers, the coordinates of the point
.TP
list \fIpolyline\fR
List of numbers, the coordinates of the
vertices of the polyline
.RE
.sp
.TP
\fB::math::geometry::calculateDistanceToPolygon\fR \fIP\fR \fIpolygon\fR
Calculate the distance of point P to the polygon and
return the result\&. If the list of coordinates is not closed (first and last
points differ), it is automatically closed\&.
.RS
.TP
list \fIP\fR
List of two numbers, the coordinates of the point
.TP
list \fIpolygon\fR
List of numbers, the coordinates of the
vertices of the polygon
.RE
.sp
.TP
\fB::math::geometry::findClosestPointOnLine\fR \fIP\fR \fIline\fR
Return the point on a line which is closest to a given point\&.
.RS
.TP
list \fIP\fR
|
︙ | | |
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
|
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
|
-
+
+
|
list \fIdist\fR
Distance over which to move the point
.RE
.sp
.TP
\fB::math::geometry::lineSegmentsIntersect\fR \fIlinesegment1\fR \fIlinesegment2\fR
Check if two line segments intersect or coincide\&. Returns 1 if that is
the case, 0 otherwise (in two dimensions only)\&.
the case, 0 otherwise (in two dimensions only)\&. If an endpoint of one segment lies on
the other segment (or is very close to the segment), they are considered to intersect
.RS
.TP
list \fIlinesegment1\fR
First line segment
.TP
list \fIlinesegment2\fR
Second line segment
|
︙ | | |
Changes to embedded/man/files/modules/pt/pt_peg_from_peg.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'from\&.inc' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "pt::peg::from::peg" n 1 tcllib "Parser Tools"
.TH "pt::peg::from::peg" n 1\&.0\&.2 tcllib "Parser Tools"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
-
+
|
..
.BS
.SH NAME
pt::peg::from::peg \- PEG Conversion\&. Read PEG format
.SH SYNOPSIS
package require \fBTcl 8\&.5\fR
.sp
package require \fBpt::peg::from::peg ?1?\fR
package require \fBpt::peg::from::peg ?1\&.0\&.2?\fR
.sp
\fBpt::peg::from::peg\fR \fBconvert\fR \fItext\fR
.sp
.BE
.SH DESCRIPTION
.PP
Are you lost ?
|
︙ | | |
Changes to embedded/man/files/modules/pt/pt_peg_op.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'pt_peg_op\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "pt_peg_op" i 1 tcllib "Parser Tools"
.TH "pt_peg_op" i 1\&.0\&.1 tcllib "Parser Tools"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
-
+
|
..
.BS
.SH NAME
pt_peg_op \- Parser Tools PE Grammar Utility Operations
.SH SYNOPSIS
package require \fBTcl 8\&.5\fR
.sp
package require \fBpt::peg::op 1\fR
package require \fBpt::peg::op 1\&.0\&.1\fR
.sp
\fB::peg::peg::op\fR \fBcalled\fR \fIcontainer\fR
.sp
\fB::peg::peg::op\fR \fBdechain\fR \fIcontainer\fR
.sp
\fB::peg::peg::op\fR \fBdrop unreachable\fR \fIcontainer\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/pt/pt_peg_to_peg.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'to\&.inc' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "pt::peg::to::peg" n 1 tcllib "Parser Tools"
.TH "pt::peg::to::peg" n 1\&.0\&.1 tcllib "Parser Tools"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
-
+
|
..
.BS
.SH NAME
pt::peg::to::peg \- PEG Conversion\&. Write PEG format
.SH SYNOPSIS
package require \fBTcl 8\&.5\fR
.sp
package require \fBpt::peg::to::peg ?1?\fR
package require \fBpt::peg::to::peg ?1\&.0\&.1?\fR
.sp
package require \fBpt::peg \fR
.sp
package require \fBpt::pe \fR
.sp
package require \fBtext::write \fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/pt/pt_pgen.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'pt_pgen\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "pt::pgen" n 1\&.0\&.1 tcllib "Parser Tools"
.TH "pt::pgen" n 1\&.0\&.2 tcllib "Parser Tools"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
-
+
|
..
.BS
.SH NAME
pt::pgen \- Parser Generator
.SH SYNOPSIS
package require \fBTcl 8\&.5\fR
.sp
package require \fBpt::pgen ?1\&.0\&.1?\fR
package require \fBpt::pgen ?1\&.0\&.2?\fR
.sp
\fB::pt::pgen\fR \fIinputformat\fR \fItext\fR \fIresultformat\fR ?\fIoptions\&.\&.\&.\fR?
.sp
.BE
.SH DESCRIPTION
.PP
Are you lost ?
|
︙ | | |
Changes to embedded/man/files/modules/rest/rest.n.
1
2
3
4
5
6
7
8
9
10
11
|
1
2
3
4
5
6
7
8
9
10
11
|
-
+
|
'\"
'\" Generated from file 'rest\&.man' by tcllib/doctools with format 'nroff'
'\"
.TH "rest" n 1\&.0 tcllib "A framework for RESTful web services"
.TH "rest" n 1\&.0\&.1 tcllib "A framework for RESTful web services"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
-
+
|
..
.BS
.SH NAME
rest \- define REST web APIs and call them inline or asychronously
.SH SYNOPSIS
package require \fBTcl 8\&.5\fR
.sp
package require \fBrest ?1\&.0?\fR
package require \fBrest ?1\&.0\&.1?\fR
.sp
\fB::rest::simple\fR \fIurl\fR \fIquery\fR ?config? ?body?
.sp
\fB::rest::get\fR \fIurl\fR \fIquery\fR ?config? ?body?
.sp
\fB::rest::post\fR \fIurl\fR \fIquery\fR ?config? ?body?
.sp
|
︙ | | |
Changes to embedded/man/files/modules/struct/struct_list.n.
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-
+
|
'\"
'\" Generated from file 'struct_list\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2003-2005 by Kevin B\&. Kenny\&. All rights reserved
'\" Copyright (c) 2003-2012 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "struct::list" n 1\&.8\&.2 tcllib "Tcl Data Structures"
.TH "struct::list" n 1\&.8\&.3 tcllib "Tcl Data Structures"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
-
+
|
..
.BS
.SH NAME
struct::list \- Procedures for manipulating lists
.SH SYNOPSIS
package require \fBTcl 8\&.4\fR
.sp
package require \fBstruct::list ?1\&.8\&.2?\fR
package require \fBstruct::list ?1\&.8\&.3?\fR
.sp
\fB::struct::list\fR \fBlongestCommonSubsequence\fR \fIsequence1\fR \fIsequence2\fR ?\fImaxOccurs\fR?
.sp
\fB::struct::list\fR \fBlongestCommonSubsequence2\fR \fIsequence1 sequence2\fR ?\fImaxOccurs\fR?
.sp
\fB::struct::list\fR \fBlcsInvert\fR \fIlcsData\fR \fIlen1\fR \fIlen2\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/term/ansi_cctrl.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'ansi_cctrl\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2006-2008 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "term::ansi::code::ctrl" n 0\&.1 tcllib "Terminal control"
.TH "term::ansi::code::ctrl" n 0\&.2 tcllib "Terminal control"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
|
-
+
-
+
|
..
.BS
.SH NAME
term::ansi::code::ctrl \- ANSI control sequences
.SH SYNOPSIS
package require \fBTcl 8\&.4\fR
.sp
package require \fBterm::ansi::code ?0\&.1?\fR
package require \fBterm::ansi::code ?0\&.2?\fR
.sp
package require \fBterm::ansi::code::ctrl ?0\&.1\&.1?\fR
package require \fBterm::ansi::code::ctrl ?0\&.2?\fR
.sp
\fB::term::ansi::code::ctrl::names\fR
.sp
\fB::term::ansi::code::ctrl::import\fR ?\fIns\fR? ?\fIarg\fR\&.\&.\&.?
.sp
\fB::term::ansi::code::ctrl::eeol\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/term/ansi_code.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'ansi_code\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2006 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "term::ansi::code" n 0\&.1 tcllib "Terminal control"
.TH "term::ansi::code" n 0\&.2 tcllib "Terminal control"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
-
+
|
..
.BS
.SH NAME
term::ansi::code \- Helper for control sequences
.SH SYNOPSIS
package require \fBTcl 8\&.4\fR
.sp
package require \fBterm::ansi::code ?0\&.1?\fR
package require \fBterm::ansi::code ?0\&.2?\fR
.sp
\fB::term::ansi::code::esc\fR \fIstr\fR
.sp
\fB::term::ansi::code::escb\fR \fIstr\fR
.sp
\fB::term::ansi::code::define\fR \fIname\fR \fIescape\fR \fIcode\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/term/ansi_send.n.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
|
'\"
'\" Generated from file 'ansi_send\&.man' by tcllib/doctools with format 'nroff'
'\" Copyright (c) 2006 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
'\"
.TH "term::ansi::send" n 0\&.1 tcllib "Terminal control"
.TH "term::ansi::send" n 0\&.2 tcllib "Terminal control"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
-
+
|
..
.BS
.SH NAME
term::ansi::send \- Output of ANSI control sequences to terminals
.SH SYNOPSIS
package require \fBTcl 8\&.4\fR
.sp
package require \fBterm::ansi::send ?0\&.1?\fR
package require \fBterm::ansi::send ?0\&.2?\fR
.sp
\fB::term::ansi::send::import\fR ?\fIns\fR? \fI\&.\&.\&.\fR
.sp
\fB::term::ansi::send::eeol\fR
.sp
\fB::term::ansi::send::esol\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/textutil/textutil.n.
1
2
3
4
5
6
7
8
9
10
11
|
1
2
3
4
5
6
7
8
9
10
11
|
-
+
|
'\"
'\" Generated from file 'textutil\&.man' by tcllib/doctools with format 'nroff'
'\"
.TH "textutil" n 0\&.7\&.1 tcllib "Text and string utilities, macro processing"
.TH "textutil" n 0\&.8 tcllib "Text and string utilities, macro processing"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
-
+
|
..
.BS
.SH NAME
textutil \- Procedures to manipulate texts and strings\&.
.SH SYNOPSIS
package require \fBTcl 8\&.2\fR
.sp
package require \fBtextutil ?0\&.7\&.1?\fR
package require \fBtextutil ?0\&.8?\fR
.sp
\fB::textutil::adjust\fR \fIstring args\fR
.sp
\fB::textutil::adjust::readPatterns\fR \fIfilename\fR
.sp
\fB::textutil::adjust::listPredefined\fR
.sp
|
︙ | | |
Changes to embedded/man/files/modules/textutil/textutil_string.n.
1
2
3
4
5
6
7
8
9
10
11
|
1
2
3
4
5
6
7
8
9
10
11
|
-
+
|
'\"
'\" Generated from file 'textutil_string\&.man' by tcllib/doctools with format 'nroff'
'\"
.TH "textutil::string" n 0\&.7 tcllib "Text and string utilities, macro processing"
.TH "textutil::string" n 0\&.8 tcllib "Text and string utilities, macro processing"
.\" The -*- nroff -*- definitions below are for supplemental macros used
.\" in Tcl/Tk manual entries.
.\"
.\" .AP type name in/out ?indent?
.\" Start paragraph describing an argument to a library procedure.
.\" type is type of argument (int, etc.), in/out is either "in", "out",
.\" or "in/out" to describe whether procedure reads or modifies arg,
|
︙ | | |
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
|
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
|
-
+
+
+
|
..
.BS
.SH NAME
textutil::string \- Procedures to manipulate texts and strings\&.
.SH SYNOPSIS
package require \fBTcl 8\&.2\fR
.sp
package require \fBtextutil::string ?0\&.7?\fR
package require \fBtextutil::string ?0\&.8?\fR
.sp
\fB::textutil::string::chop\fR \fIstring\fR
.sp
\fB::textutil::string::tail\fR \fIstring\fR
.sp
\fB::textutil::string::cap\fR \fIstring\fR
.sp
\fB::textutil::string::capEachWord\fR \fIstring\fR
.sp
\fB::textutil::string::uncap\fR \fIstring\fR
.sp
\fB::textutil::string::longestCommonPrefixList\fR \fIlist\fR
.sp
\fB::textutil::string::longestCommonPrefix\fR ?\fIstring\fR\&.\&.\&.?
.sp
|
︙ | | |
303
304
305
306
307
308
309
310
311
312
313
314
315
316
|
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
|
+
+
+
+
+
|
\fB::textutil::string::tail\fR \fIstring\fR
A convenience command\&. Removes the first character of \fIstring\fR and
returns the shortened string\&.
.TP
\fB::textutil::string::cap\fR \fIstring\fR
Capitalizes the first character of \fIstring\fR and returns the
modified string\&.
.TP
\fB::textutil::string::capEachWord\fR \fIstring\fR
Capitalizes the first character of word of the \fIstring\fR and
returns the modified string\&. Words quoted with either backslash or
dollar-sign are left untouched\&.
.TP
\fB::textutil::string::uncap\fR \fIstring\fR
The complementary operation to \fB::textutil::string::cap\fR\&. Forces
the first character of \fIstring\fR to lower case and returns the
modified string\&.
.TP
\fB::textutil::string::longestCommonPrefixList\fR \fIlist\fR
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/debug/debug.html.
︙ | | |
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
-
+
|
<p>Debugging areas of interest are represented by 'tags' which have
independently settable levels of interest (an integer, higher is more
detailed).</p>
</div>
<div id="section2" class="section"><h2><a name="section2">API</a></h2>
<dl class="definitions">
<dt><a name="1"><b class="cmd">debug.<b class="variable">tag</b></b> <i class="arg">message</i> <span class="opt">?<i class="arg">level</i>?</span></a></dt>
<dd><p>For each known tag the package creates a command with this signatur
<dd><p>For each known tag the package creates a command with this signature
the user can then use to provide the debug narrative of the tag.
The narrative <i class="arg">message</i> is provided as a Tcl script whose value is
<b class="cmd"><a href="../../../../index.html#key269">subst</a></b>ed in the caller's scope if and only if the current level of
interest for the <i class="arg">tag</i> matches or exceeds the call's <i class="arg">level</i>
of detail. This is useful, as one can place arbitrarily complex
narrative in code without unnecessarily evaluating it.</p>
<p>See methods <b class="method">level</b> and <b class="method">setting</b> for querying
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/dns/tcllib_ip.html.
1
2
3
4
5
6
7
|
1
2
3
4
5
6
7
8
|
+
|
<html><head>
<title>tcllib_ip - Domain Name Service</title>
<style type="text/css"><!--
HTML {
background: #FFFFFF;
color: black;
}
|
︙ | | |
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">tcllib_ip(n) 1.2.1 tcllib "Domain Name Service"</h1>
<h1 class="title">tcllib_ip(n) 1.2.2 tcllib "Domain Name Service"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>tcllib_ip - IPv4 and IPv6 address manipulation</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
|
︙ | | |
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
-
+
|
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.2</b></li>
<li>package require <b class="pkgname">ip <span class="opt">?1.2.1?</span></b></li>
<li>package require <b class="pkgname">ip <span class="opt">?1.2.2?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::ip::version</b> <i class="arg">address</i></a></li>
<li><a href="#2"><b class="cmd">::ip::is</b> <i class="arg">class</i> <i class="arg">address</i></a></li>
<li><a href="#3"><b class="cmd">::ip::equal</b> <i class="arg">address</i> <i class="arg">address</i></a></li>
<li><a href="#4"><b class="cmd">::ip::normalize</b> <i class="arg">address</i></a></li>
<li><a href="#5"><b class="cmd">::ip::contract</b> <i class="arg">address</i></a></li>
|
︙ | | |
|
Changes to embedded/www/tcllib/files/modules/math/math_geometry.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
-
+
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">math::geometry(n) 1.1.2 tcllib "Tcl Math Library"</h1>
<h1 class="title">math::geometry(n) 1.1.3 tcllib "Tcl Math Library"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>math::geometry - Geometrical computations</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">PROCEDURES</a></li>
<li class="section"><a href="#section3">References</a></li>
<li class="section"><a href="#section4">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl <span class="opt">?8.3?</span></b></li>
<li>package require <b class="pkgname">math::geometry <span class="opt">?1.1.2?</span></b></li>
<li>package require <b class="pkgname">math::geometry <span class="opt">?1.1.3?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::math::geometry::+</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li>
<li><a href="#2"><b class="cmd">::math::geometry::-</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li>
<li><a href="#3"><b class="cmd">::math::geometry::p</b> <i class="arg">x</i> <i class="arg">y</i></a></li>
<li><a href="#4"><b class="cmd">::math::geometry::distance</b> <i class="arg">point1</i> <i class="arg">point2</i></a></li>
<li><a href="#5"><b class="cmd">::math::geometry::length</b> <i class="arg">point</i></a></li>
<li><a href="#6"><b class="cmd">::math::geometry::s*</b> <i class="arg">factor</i> <i class="arg">point</i></a></li>
<li><a href="#7"><b class="cmd">::math::geometry::direction</b> <i class="arg">angle</i></a></li>
<li><a href="#8"><b class="cmd">::math::geometry::h</b> <i class="arg">length</i></a></li>
<li><a href="#9"><b class="cmd">::math::geometry::v</b> <i class="arg">length</i></a></li>
<li><a href="#10"><b class="cmd">::math::geometry::between</b> <i class="arg">point1</i> <i class="arg">point2</i> <i class="arg">s</i></a></li>
<li><a href="#11"><b class="cmd">::math::geometry::octant</b> <i class="arg">point</i></a></li>
<li><a href="#12"><b class="cmd">::math::geometry::rect</b> <i class="arg">nw</i> <i class="arg">se</i></a></li>
<li><a href="#13"><b class="cmd">::math::geometry::nwse</b> <i class="arg">rect</i></a></li>
<li><a href="#14"><b class="cmd">::math::geometry::angle</b> <i class="arg">line</i></a></li>
<li><a href="#15"><b class="cmd">::math::geometry::calculateDistanceToLine</b> <i class="arg">P</i> <i class="arg">line</i></a></li>
<li><a href="#16"><b class="cmd">::math::geometry::calculateDistanceToLineSegment</b> <i class="arg">P</i> <i class="arg">linesegment</i></a></li>
<li><a href="#17"><b class="cmd">::math::geometry::calculateDistanceToPolyline</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li>
<li><a href="#18"><b class="cmd">::math::geometry::calculateDistanceToPolygon</b> <i class="arg">P</i> <i class="arg">polygon</i></a></li>
<li><a href="#18"><b class="cmd">::math::geometry::findClosestPointOnLine</b> <i class="arg">P</i> <i class="arg">line</i></a></li>
<li><a href="#19"><b class="cmd">::math::geometry::findClosestPointOnLineSegment</b> <i class="arg">P</i> <i class="arg">linesegment</i></a></li>
<li><a href="#20"><b class="cmd">::math::geometry::findClosestPointOnPolyline</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li>
<li><a href="#21"><b class="cmd">::math::geometry::lengthOfPolyline</b> <i class="arg">polyline</i></a></li>
<li><a href="#22"><b class="cmd">::math::geometry::movePointInDirection</b> <i class="arg">P</i> <i class="arg">direction</i> <i class="arg">dist</i></a></li>
<li><a href="#23"><b class="cmd">::math::geometry::lineSegmentsIntersect</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></li>
<li><a href="#24"><b class="cmd">::math::geometry::findLineSegmentIntersection</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></li>
<li><a href="#25"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></li>
<li><a href="#26"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></li>
<li><a href="#27"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></li>
<li><a href="#28"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></li>
<li><a href="#29"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></li>
<li><a href="#30"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></li>
<li><a href="#31"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li>
<li><a href="#32"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></li>
<li><a href="#33"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></li>
<li><a href="#19"><b class="cmd">::math::geometry::findClosestPointOnLine</b> <i class="arg">P</i> <i class="arg">line</i></a></li>
<li><a href="#20"><b class="cmd">::math::geometry::findClosestPointOnLineSegment</b> <i class="arg">P</i> <i class="arg">linesegment</i></a></li>
<li><a href="#21"><b class="cmd">::math::geometry::findClosestPointOnPolyline</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li>
<li><a href="#22"><b class="cmd">::math::geometry::lengthOfPolyline</b> <i class="arg">polyline</i></a></li>
<li><a href="#23"><b class="cmd">::math::geometry::movePointInDirection</b> <i class="arg">P</i> <i class="arg">direction</i> <i class="arg">dist</i></a></li>
<li><a href="#24"><b class="cmd">::math::geometry::lineSegmentsIntersect</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></li>
<li><a href="#25"><b class="cmd">::math::geometry::findLineSegmentIntersection</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></li>
<li><a href="#26"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></li>
<li><a href="#27"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></li>
<li><a href="#28"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></li>
<li><a href="#29"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></li>
<li><a href="#30"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></li>
<li><a href="#31"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></li>
<li><a href="#32"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></li>
<li><a href="#33"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></li>
<li><a href="#34"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></li>
</ul>
</div>
</div>
<div id="section1" class="section"><h2><a name="section1">Description</a></h2>
<p>The <b class="package">math::geometry</b> package is a collection of functions for
computations and manipulations on two-dimensional geometrical objects,
such as points, lines and polygons.</p>
|
︙ | | |
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
|
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
|
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
|
<dd><p>List of two numbers, the coordinates of the point</p></dd>
<dt>list <i class="arg">linesegment</i></dt>
<dd><p>List of four numbers, the coordinates of the
first and last points of the line segment</p></dd>
</dl></dd>
<dt><a name="17"><b class="cmd">::math::geometry::calculateDistanceToPolyline</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt>
<dd><p>Calculate the distance of point P to the polyline and
return the result.</p>
return the result. Note that a polyline needs not to be closed.</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>List of two numbers, the coordinates of the point</p></dd>
<dt>list <i class="arg">polyline</i></dt>
<dd><p>List of numbers, the coordinates of the
vertices of the polyline</p></dd>
</dl></dd>
<dt><a name="18"><b class="cmd">::math::geometry::calculateDistanceToPolygon</b> <i class="arg">P</i> <i class="arg">polygon</i></a></dt>
<dd><p>Calculate the distance of point P to the polygon and
return the result. If the list of coordinates is not closed (first and last
points differ), it is automatically closed.</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>List of two numbers, the coordinates of the point</p></dd>
<dt>list <i class="arg">polygon</i></dt>
<dd><p>List of numbers, the coordinates of the
vertices of the polygon</p></dd>
</dl></dd>
<dt><a name="18"><b class="cmd">::math::geometry::findClosestPointOnLine</b> <i class="arg">P</i> <i class="arg">line</i></a></dt>
<dt><a name="19"><b class="cmd">::math::geometry::findClosestPointOnLine</b> <i class="arg">P</i> <i class="arg">line</i></a></dt>
<dd><p>Return the point on a line which is closest to a given point.</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>List of two numbers, the coordinates of the point</p></dd>
<dt>list <i class="arg">line</i></dt>
<dd><p>List of four numbers, the coordinates of two points
on the line</p></dd>
</dl></dd>
<dt><a name="19"><b class="cmd">::math::geometry::findClosestPointOnLineSegment</b> <i class="arg">P</i> <i class="arg">linesegment</i></a></dt>
<dt><a name="20"><b class="cmd">::math::geometry::findClosestPointOnLineSegment</b> <i class="arg">P</i> <i class="arg">linesegment</i></a></dt>
<dd><p>Return the point on a <em>line segment</em> which is closest to a given
point.</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>List of two numbers, the coordinates of the point</p></dd>
<dt>list <i class="arg">linesegment</i></dt>
<dd><p>List of four numbers, the first and last
points on the line segment</p></dd>
</dl></dd>
<dt><a name="20"><b class="cmd">::math::geometry::findClosestPointOnPolyline</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt>
<dt><a name="21"><b class="cmd">::math::geometry::findClosestPointOnPolyline</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt>
<dd><p>Return the point on a <em>polyline</em> which is closest to a given
point.</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>List of two numbers, the coordinates of the point</p></dd>
<dt>list <i class="arg">polyline</i></dt>
<dd><p>List of numbers, the vertices of the polyline</p></dd>
</dl></dd>
<dt><a name="21"><b class="cmd">::math::geometry::lengthOfPolyline</b> <i class="arg">polyline</i></a></dt>
<dt><a name="22"><b class="cmd">::math::geometry::lengthOfPolyline</b> <i class="arg">polyline</i></a></dt>
<dd><p>Return the length of the <em>polyline</em> (note: it not regarded as a
polygon)</p>
<dl class="arguments">
<dt>list <i class="arg">polyline</i></dt>
<dd><p>List of numbers, the vertices of the polyline</p></dd>
</dl></dd>
<dt><a name="22"><b class="cmd">::math::geometry::movePointInDirection</b> <i class="arg">P</i> <i class="arg">direction</i> <i class="arg">dist</i></a></dt>
<dt><a name="23"><b class="cmd">::math::geometry::movePointInDirection</b> <i class="arg">P</i> <i class="arg">direction</i> <i class="arg">dist</i></a></dt>
<dd><p>Move a point over a given distance in a given direction and return the
new coordinates (in two dimensions only).</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>Coordinates of the point to be moved</p></dd>
<dt>double <i class="arg">direction</i></dt>
<dd><p>Direction (in degrees; 0 is to the right, 90
upwards)</p></dd>
<dt>list <i class="arg">dist</i></dt>
<dd><p>Distance over which to move the point</p></dd>
</dl></dd>
<dt><a name="23"><b class="cmd">::math::geometry::lineSegmentsIntersect</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></dt>
<dt><a name="24"><b class="cmd">::math::geometry::lineSegmentsIntersect</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></dt>
<dd><p>Check if two line segments intersect or coincide. Returns 1 if that is
the case, 0 otherwise (in two dimensions only).</p>
the case, 0 otherwise (in two dimensions only). If an endpoint of one segment lies on
the other segment (or is very close to the segment), they are considered to intersect</p>
<dl class="arguments">
<dt>list <i class="arg">linesegment1</i></dt>
<dd><p>First line segment</p></dd>
<dt>list <i class="arg">linesegment2</i></dt>
<dd><p>Second line segment</p></dd>
</dl></dd>
<dt><a name="24"><b class="cmd">::math::geometry::findLineSegmentIntersection</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></dt>
<dt><a name="25"><b class="cmd">::math::geometry::findLineSegmentIntersection</b> <i class="arg">linesegment1</i> <i class="arg">linesegment2</i></a></dt>
<dd><p>Find the intersection point of two line segments. Return the coordinates
or the keywords "coincident" or "none" if the line segments coincide or
have no points in common (in two dimensions only).</p>
<dl class="arguments">
<dt>list <i class="arg">linesegment1</i></dt>
<dd><p>First line segment</p></dd>
<dt>list <i class="arg">linesegment2</i></dt>
<dd><p>Second line segment</p></dd>
</dl></dd>
<dt><a name="25"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></dt>
<dt><a name="26"><b class="cmd">::math::geometry::findLineIntersection</b> <i class="arg">line1</i> <i class="arg">line2</i></a></dt>
<dd><p>Find the intersection point of two (infinite) lines. Return the coordinates
or the keywords "coincident" or "none" if the lines coincide or
have no points in common (in two dimensions only).</p>
<dl class="arguments">
<dt>list <i class="arg">line1</i></dt>
<dd><p>First line</p></dd>
<dt>list <i class="arg">line2</i></dt>
<dd><p>Second line</p></dd>
</dl>
<p>See section <span class="sectref"><a href="#section3">References</a></span> for details on the algorithm and math behind it.</p></dd>
<dt><a name="26"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></dt>
<dt><a name="27"><b class="cmd">::math::geometry::polylinesIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i></a></dt>
<dd><p>Check if two polylines intersect or not (in two dimensions only).</p>
<dl class="arguments">
<dt>list <i class="arg">polyline1</i></dt>
<dd><p>First polyline</p></dd>
<dt>list <i class="arg">polyline2</i></dt>
<dd><p>Second polyline</p></dd>
</dl></dd>
<dt><a name="27"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></dt>
<dt><a name="28"><b class="cmd">::math::geometry::polylinesBoundingIntersect</b> <i class="arg">polyline1</i> <i class="arg">polyline2</i> <i class="arg">granularity</i></a></dt>
<dd><p>Check whether two polylines intersect, but reduce
the correctness of the result to the given granularity.
Use this for faster, but weaker, intersection checking.</p>
<p>How it works:</p>
<p>Each polyline is split into a number of smaller polylines,
consisting of granularity points each. If a pair of those smaller
lines' bounding boxes intersect, then this procedure returns 1,
otherwise it returns 0.</p>
<dl class="arguments">
<dt>list <i class="arg">polyline1</i></dt>
<dd><p>First polyline</p></dd>
<dt>list <i class="arg">polyline2</i></dt>
<dd><p>Second polyline</p></dd>
<dt>int <i class="arg">granularity</i></dt>
<dd><p>Number of points in each part (<=1 means check
every edge)</p></dd>
</dl></dd>
<dt><a name="28"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></dt>
<dt><a name="29"><b class="cmd">::math::geometry::intervalsOverlap</b> <i class="arg">y1</i> <i class="arg">y2</i> <i class="arg">y3</i> <i class="arg">y4</i> <i class="arg">strict</i></a></dt>
<dd><p>Check if two intervals overlap.</p>
<dl class="arguments">
<dt>double <i class="arg">y1,y2</i></dt>
<dd><p>Begin and end of first interval</p></dd>
<dt>double <i class="arg">y3,y4</i></dt>
<dd><p>Begin and end of second interval</p></dd>
<dt>logical <i class="arg">strict</i></dt>
<dd><p>Check for strict or non-strict overlap</p></dd>
</dl></dd>
<dt><a name="29"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></dt>
<dt><a name="30"><b class="cmd">::math::geometry::rectanglesOverlap</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">Q1</i> <i class="arg">Q2</i> <i class="arg">strict</i></a></dt>
<dd><p>Check if two rectangles overlap.</p>
<dl class="arguments">
<dt>list <i class="arg">P1</i></dt>
<dd><p>upper-left corner of the first rectangle</p></dd>
<dt>list <i class="arg">P2</i></dt>
<dd><p>lower-right corner of the first rectangle</p></dd>
<dt>list <i class="arg">Q1</i></dt>
<dd><p>upper-left corner of the second rectangle</p></dd>
<dt>list <i class="arg">Q2</i></dt>
<dd><p>lower-right corner of the second rectangle</p></dd>
<dt>list <i class="arg">strict</i></dt>
<dd><p>choosing strict or non-strict interpretation</p></dd>
</dl></dd>
<dt><a name="30"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></dt>
<dt><a name="31"><b class="cmd">::math::geometry::bbox</b> <i class="arg">polyline</i></a></dt>
<dd><p>Calculate the bounding box of a polyline. Returns a list of four
coordinates: the upper-left and the lower-right corner of the box.</p>
<dl class="arguments">
<dt>list <i class="arg">polyline</i></dt>
<dd><p>The polyline to be examined</p></dd>
</dl></dd>
<dt><a name="31"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt>
<dt><a name="32"><b class="cmd">::math::geometry::pointInsidePolygon</b> <i class="arg">P</i> <i class="arg">polyline</i></a></dt>
<dd><p>Determine if a point is completely inside a polygon. If the point
touches the polygon, then the point is not completely inside the
polygon.</p>
<dl class="arguments">
<dt>list <i class="arg">P</i></dt>
<dd><p>Coordinates of the point</p></dd>
<dt>list <i class="arg">polyline</i></dt>
<dd><p>The polyline to be examined</p></dd>
</dl></dd>
<dt><a name="32"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></dt>
<dt><a name="33"><b class="cmd">::math::geometry::rectangleInsidePolygon</b> <i class="arg">P1</i> <i class="arg">P2</i> <i class="arg">polyline</i></a></dt>
<dd><p>Determine if a rectangle is completely inside a polygon. If polygon
touches the rectangle, then the rectangle is not complete inside the
polygon.</p>
<dl class="arguments">
<dt>list <i class="arg">P1</i></dt>
<dd><p>Upper-left corner of the rectangle</p></dd>
<dt>list <i class="arg">P2</i></dt>
<dd><p>Lower-right corner of the rectangle</p></dd>
<dt>list <i class="arg">polygon</i></dt>
<dd><p>The polygon in question</p></dd>
</dl></dd>
<dt><a name="33"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></dt>
<dt><a name="34"><b class="cmd">::math::geometry::areaPolygon</b> <i class="arg">polygon</i></a></dt>
<dd><p>Calculate the area of a polygon.</p>
<dl class="arguments">
<dt>list <i class="arg">polygon</i></dt>
<dd><p>The polygon in question</p></dd>
</dl></dd>
</dl>
</div>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/pt/pt_peg_from_peg.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">pt::peg::from::peg(n) 1 tcllib "Parser Tools"</h1>
<h1 class="title">pt::peg::from::peg(n) 1.0.2 tcllib "Parser Tools"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>pt::peg::from::peg - PEG Conversion. Read PEG format</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
|
︙ | | |
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
-
+
|
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.5</b></li>
<li>package require <b class="pkgname">pt::peg::from::peg <span class="opt">?1?</span></b></li>
<li>package require <b class="pkgname">pt::peg::from::peg <span class="opt">?1.0.2?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">pt::peg::from::peg</b> <b class="method">convert</b> <i class="arg">text</i></a></li>
</ul>
</div>
</div>
<div id="section1" class="section"><h2><a name="section1">Description</a></h2>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/pt/pt_peg_op.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">pt_peg_op(i) 1 tcllib "Parser Tools"</h1>
<h1 class="title">pt_peg_op(i) 1.0.1 tcllib "Parser Tools"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>pt_peg_op - Parser Tools PE Grammar Utility Operations</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">API</a></li>
<li class="section"><a href="#section3">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.5</b></li>
<li>package require <b class="pkgname">pt::peg::op 1</b></li>
<li>package require <b class="pkgname">pt::peg::op 1.0.1</b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::peg::peg::op</b> <b class="method">called</b> <i class="arg">container</i></a></li>
<li><a href="#2"><b class="cmd">::peg::peg::op</b> <b class="method">dechain</b> <i class="arg">container</i></a></li>
<li><a href="#3"><b class="cmd">::peg::peg::op</b> <b class="method">drop unreachable</b> <i class="arg">container</i></a></li>
<li><a href="#4"><b class="cmd">::peg::peg::op</b> <b class="method">drop unrealizable</b> <i class="arg">container</i></a></li>
<li><a href="#5"><b class="cmd">::peg::peg::op</b> <b class="method">flatten</b> <i class="arg">container</i></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/pt/pt_peg_to_peg.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">pt::peg::to::peg(n) 1 tcllib "Parser Tools"</h1>
<h1 class="title">pt::peg::to::peg(n) 1.0.1 tcllib "Parser Tools"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>pt::peg::to::peg - PEG Conversion. Write PEG format</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
|
︙ | | |
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
-
+
|
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.5</b></li>
<li>package require <b class="pkgname">pt::peg::to::peg <span class="opt">?1?</span></b></li>
<li>package require <b class="pkgname">pt::peg::to::peg <span class="opt">?1.0.1?</span></b></li>
<li>package require <b class="pkgname">pt::peg</b></li>
<li>package require <b class="pkgname">pt::pe</b></li>
<li>package require <b class="pkgname">text::write</b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">pt::peg::to::peg</b> <b class="method">reset</b></a></li>
<li><a href="#2"><b class="cmd">pt::peg::to::peg</b> <b class="method">configure</b></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/pt/pt_pgen.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">pt::pgen(n) 1.0.1 tcllib "Parser Tools"</h1>
<h1 class="title">pt::pgen(n) 1.0.2 tcllib "Parser Tools"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>pt::pgen - Parser Generator</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">API</a></li>
<li class="section"><a href="#section3">Example</a></li>
<li class="section"><a href="#section4">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.5</b></li>
<li>package require <b class="pkgname">pt::pgen <span class="opt">?1.0.1?</span></b></li>
<li>package require <b class="pkgname">pt::pgen <span class="opt">?1.0.2?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::pt::pgen</b> <i class="arg">inputformat</i> <i class="arg">text</i> <i class="arg">resultformat</i> <span class="opt">?<i class="arg">options...</i>?</span></a></li>
</ul>
</div>
</div>
<div id="section1" class="section"><h2><a name="section1">Description</a></h2>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/rest/rest.html.
︙ | | |
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">rest(n) 1.0 tcllib "A framework for RESTful web services"</h1>
<h1 class="title">rest(n) 1.0.1 tcllib "A framework for RESTful web services"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>rest - define REST web APIs and call them inline or asychronously</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">INCLUDED</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.5</b></li>
<li>package require <b class="pkgname">rest <span class="opt">?1.0?</span></b></li>
<li>package require <b class="pkgname">rest <span class="opt">?1.0.1?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::rest::simple</b> <i class="arg">url</i> <i class="arg">query</i> <span class="opt">?config?</span> <span class="opt">?body?</span></a></li>
<li><a href="#2"><b class="cmd">::rest::get</b> <i class="arg">url</i> <i class="arg">query</i> <span class="opt">?config?</span> <span class="opt">?body?</span></a></li>
<li><a href="#3"><b class="cmd">::rest::post</b> <i class="arg">url</i> <i class="arg">query</i> <span class="opt">?config?</span> <span class="opt">?body?</span></a></li>
<li><a href="#4"><b class="cmd">::rest::head</b> <i class="arg">url</i> <i class="arg">query</i> <span class="opt">?config?</span> <span class="opt">?body?</span></a></li>
<li><a href="#5"><b class="cmd">::rest::put</b> <i class="arg">url</i> <i class="arg">query</i> <span class="opt">?config?</span> <span class="opt">?body?</span></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/struct/struct_list.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">struct::list(n) 1.8.2 tcllib "Tcl Data Structures"</h1>
<h1 class="title">struct::list(n) 1.8.3 tcllib "Tcl Data Structures"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>struct::list - Procedures for manipulating lists</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
|
︙ | | |
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
-
+
|
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.4</b></li>
<li>package require <b class="pkgname">struct::list <span class="opt">?1.8.2?</span></b></li>
<li>package require <b class="pkgname">struct::list <span class="opt">?1.8.3?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::struct::list</b> <b class="method">longestCommonSubsequence</b> <i class="arg">sequence1</i> <i class="arg">sequence2</i> <span class="opt">?<i class="arg">maxOccurs</i>?</span></a></li>
<li><a href="#2"><b class="cmd">::struct::list</b> <b class="method">longestCommonSubsequence2</b> <i class="arg">sequence1 sequence2</i> <span class="opt">?<i class="arg">maxOccurs</i>?</span></a></li>
<li><a href="#3"><b class="cmd">::struct::list</b> <b class="method">lcsInvert</b> <i class="arg">lcsData</i> <i class="arg">len1</i> <i class="arg">len2</i></a></li>
<li><a href="#4"><b class="cmd">::struct::list</b> <b class="method">lcsInvert2</b> <i class="arg">lcs1</i> <i class="arg">lcs2</i> <i class="arg">len1</i> <i class="arg">len2</i></a></li>
<li><a href="#5"><b class="cmd">::struct::list</b> <b class="method">lcsInvertMerge</b> <i class="arg">lcsData</i> <i class="arg">len1</i> <i class="arg">len2</i></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/term/ansi_cctrl.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">term::ansi::code::ctrl(n) 0.1 tcllib "Terminal control"</h1>
<h1 class="title">term::ansi::code::ctrl(n) 0.2 tcllib "Terminal control"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>term::ansi::code::ctrl - ANSI control sequences</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
|
︙ | | |
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
-
-
+
+
|
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.4</b></li>
<li>package require <b class="pkgname">term::ansi::code <span class="opt">?0.1?</span></b></li>
<li>package require <b class="pkgname">term::ansi::code::ctrl <span class="opt">?0.1.1?</span></b></li>
<li>package require <b class="pkgname">term::ansi::code <span class="opt">?0.2?</span></b></li>
<li>package require <b class="pkgname">term::ansi::code::ctrl <span class="opt">?0.2?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::term::ansi::code::ctrl::names</b></a></li>
<li><a href="#2"><b class="cmd">::term::ansi::code::ctrl::import</b> <span class="opt">?<i class="arg">ns</i>?</span> <span class="opt">?<i class="arg">arg</i>...?</span></a></li>
<li><a href="#3"><b class="cmd">::term::ansi::code::ctrl::eeol</b></a></li>
<li><a href="#4"><b class="cmd">::term::ansi::code::ctrl::esol</b></a></li>
<li><a href="#5"><b class="cmd">::term::ansi::code::ctrl::el</b></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/term/ansi_code.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">term::ansi::code(n) 0.1 tcllib "Terminal control"</h1>
<h1 class="title">term::ansi::code(n) 0.2 tcllib "Terminal control"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>term::ansi::code - Helper for control sequences</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.4</b></li>
<li>package require <b class="pkgname">term::ansi::code <span class="opt">?0.1?</span></b></li>
<li>package require <b class="pkgname">term::ansi::code <span class="opt">?0.2?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::term::ansi::code::esc</b> <i class="arg">str</i></a></li>
<li><a href="#2"><b class="cmd">::term::ansi::code::escb</b> <i class="arg">str</i></a></li>
<li><a href="#3"><b class="cmd">::term::ansi::code::define</b> <i class="arg">name</i> <i class="arg">escape</i> <i class="arg">code</i></a></li>
<li><a href="#4"><b class="cmd">::term::ansi::code::const</b> <i class="arg">name</i> <i class="arg">code</i></a></li>
</ul>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/term/ansi_send.html.
︙ | | |
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">term::ansi::send(n) 0.1 tcllib "Terminal control"</h1>
<h1 class="title">term::ansi::send(n) 0.2 tcllib "Terminal control"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>term::ansi::send - Output of ANSI control sequences to terminals</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
<li class="section"><a href="#copyright">Copyright</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.4</b></li>
<li>package require <b class="pkgname">term::ansi::send <span class="opt">?0.1?</span></b></li>
<li>package require <b class="pkgname">term::ansi::send <span class="opt">?0.2?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::term::ansi::send::import</b> <span class="opt">?<i class="arg">ns</i>?</span> <i class="arg">...</i></a></li>
<li><a href="#2"><b class="cmd">::term::ansi::send::eeol</b></a></li>
<li><a href="#3"><b class="cmd">::term::ansi::send::esol</b></a></li>
<li><a href="#4"><b class="cmd">::term::ansi::send::el</b></a></li>
<li><a href="#5"><b class="cmd">::term::ansi::send::ed</b></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/textutil/textutil.html.
︙ | | |
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">textutil(n) 0.7.1 tcllib "Text and string utilities, macro processing"</h1>
<h1 class="title">textutil(n) 0.8 tcllib "Text and string utilities, macro processing"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>textutil - Procedures to manipulate texts and strings.</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#see-also">See Also</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.2</b></li>
<li>package require <b class="pkgname">textutil <span class="opt">?0.7.1?</span></b></li>
<li>package require <b class="pkgname">textutil <span class="opt">?0.8?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::textutil::adjust</b> <i class="arg">string args</i></a></li>
<li><a href="#2"><b class="cmd">::textutil::adjust::readPatterns</b> <i class="arg">filename</i></a></li>
<li><a href="#3"><b class="cmd">::textutil::adjust::listPredefined</b></a></li>
<li><a href="#4"><b class="cmd">::textutil::adjust::getPredefined</b> <i class="arg">filename</i></a></li>
<li><a href="#5"><b class="cmd">::textutil::indent</b> <i class="arg">string</i> <i class="arg">prefix</i> <span class="opt">?<i class="arg">skip</i>?</span></a></li>
|
︙ | | |
Changes to embedded/www/tcllib/files/modules/textutil/textutil_string.html.
1
2
3
4
5
6
7
|
1
2
3
4
5
6
7
8
|
+
|
<html><head>
<title>textutil::string - Text and string utilities, macro processing</title>
<style type="text/css"><!--
HTML {
background: #FFFFFF;
color: black;
}
|
︙ | | |
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
-
+
-
+
+
-
-
-
+
+
+
+
+
+
+
-
+
-
+
-
+
|
| <a href="../../../../toc.html">Main Table Of Contents</a>
| <a href="../../../toc.html">Table Of Contents</a>
| <a href="../../../../index.html">Keyword Index</a>
| <a href="../../../../toc0.html">Categories</a>
| <a href="../../../../toc1.html">Modules</a>
| <a href="../../../../toc2.html">Applications</a>
] <hr>
<h1 class="title">textutil::string(n) 0.7 tcllib "Text and string utilities, macro processing"</h1>
<h1 class="title">textutil::string(n) 0.8 tcllib "Text and string utilities, macro processing"</h1>
<div id="name" class="section"><h2><a name="name">Name</a></h2>
<p>textutil::string - Procedures to manipulate texts and strings.</p>
</div>
<div id="toc" class="section"><h2><a name="toc">Table Of Contents</a></h2>
<ul class="toc">
<li class="section"><a href="#toc">Table Of Contents</a></li>
<li class="section"><a href="#synopsis">Synopsis</a></li>
<li class="section"><a href="#section1">Description</a></li>
<li class="section"><a href="#section2">Bugs, Ideas, Feedback</a></li>
<li class="section"><a href="#see-also">See Also</a></li>
<li class="section"><a href="#keywords">Keywords</a></li>
<li class="section"><a href="#category">Category</a></li>
</ul>
</div>
<div id="synopsis" class="section"><h2><a name="synopsis">Synopsis</a></h2>
<div class="synopsis">
<ul class="requirements">
<li>package require <b class="pkgname">Tcl 8.2</b></li>
<li>package require <b class="pkgname">textutil::string <span class="opt">?0.7?</span></b></li>
<li>package require <b class="pkgname">textutil::string <span class="opt">?0.8?</span></b></li>
</ul>
<ul class="syntax">
<li><a href="#1"><b class="cmd">::textutil::string::chop</b> <i class="arg">string</i></a></li>
<li><a href="#2"><b class="cmd">::textutil::string::tail</b> <i class="arg">string</i></a></li>
<li><a href="#3"><b class="cmd">::textutil::string::cap</b> <i class="arg">string</i></a></li>
<li><a href="#4"><b class="cmd">::textutil::string::capEachWord</b> <i class="arg">string</i></a></li>
<li><a href="#4"><b class="cmd">::textutil::string::uncap</b> <i class="arg">string</i></a></li>
<li><a href="#5"><b class="cmd">::textutil::string::longestCommonPrefixList</b> <i class="arg">list</i></a></li>
<li><a href="#6"><b class="cmd">::textutil::string::longestCommonPrefix</b> <span class="opt">?<i class="arg">string</i>...?</span></a></li>
<li><a href="#5"><b class="cmd">::textutil::string::uncap</b> <i class="arg">string</i></a></li>
<li><a href="#6"><b class="cmd">::textutil::string::longestCommonPrefixList</b> <i class="arg">list</i></a></li>
<li><a href="#7"><b class="cmd">::textutil::string::longestCommonPrefix</b> <span class="opt">?<i class="arg">string</i>...?</span></a></li>
</ul>
</div>
</div>
<div id="section1" class="section"><h2><a name="section1">Description</a></h2>
<p>The package <b class="package">textutil::string</b> provides miscellaneous string
manipulation commands.</p>
<p>The complete set of procedures is described below.</p>
<dl class="definitions">
<dt><a name="1"><b class="cmd">::textutil::string::chop</b> <i class="arg">string</i></a></dt>
<dd><p>A convenience command. Removes the last character of <i class="arg">string</i> and
returns the shortened string.</p></dd>
<dt><a name="2"><b class="cmd">::textutil::string::tail</b> <i class="arg">string</i></a></dt>
<dd><p>A convenience command. Removes the first character of <i class="arg">string</i> and
returns the shortened string.</p></dd>
<dt><a name="3"><b class="cmd">::textutil::string::cap</b> <i class="arg">string</i></a></dt>
<dd><p>Capitalizes the first character of <i class="arg">string</i> and returns the
modified string.</p></dd>
<dt><a name="4"><b class="cmd">::textutil::string::capEachWord</b> <i class="arg">string</i></a></dt>
<dd><p>Capitalizes the first character of word of the <i class="arg">string</i> and
returns the modified string. Words quoted with either backslash or
dollar-sign are left untouched.</p></dd>
<dt><a name="4"><b class="cmd">::textutil::string::uncap</b> <i class="arg">string</i></a></dt>
<dt><a name="5"><b class="cmd">::textutil::string::uncap</b> <i class="arg">string</i></a></dt>
<dd><p>The complementary operation to <b class="cmd">::textutil::string::cap</b>. Forces
the first character of <i class="arg">string</i> to lower case and returns the
modified string.</p></dd>
<dt><a name="5"><b class="cmd">::textutil::string::longestCommonPrefixList</b> <i class="arg">list</i></a></dt>
<dt><a name="6"><b class="cmd">::textutil::string::longestCommonPrefixList</b> <i class="arg">list</i></a></dt>
<dd></dd>
<dt><a name="6"><b class="cmd">::textutil::string::longestCommonPrefix</b> <span class="opt">?<i class="arg">string</i>...?</span></a></dt>
<dt><a name="7"><b class="cmd">::textutil::string::longestCommonPrefix</b> <span class="opt">?<i class="arg">string</i>...?</span></a></dt>
<dd><p>Computes the longest common prefix for either the <i class="arg">string</i>s given
to the command, or the strings specified in the single <i class="arg">list</i>, and
returns it as the result of the command.</p>
<p>If no strings were specified the result is the empty string. If only
one string was specified, the string itself is returned, as it is its
own longest common prefix.</p></dd>
</dl>
|
︙ | | |
|
Changes to modules/aes/aes.test.
︙ | | |
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
|
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
|
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
|
# -------------------------------------------------------------------------
## TODO: Go through the various possible options and combinations.
test aes-sf-3612645-a0 {aes use of -in option, allura 1366} -setup {
set key [binary format a32 0123456789012345678901234567890123456789]
set encfile [tcltest::makeFile {} aes.encrypt]
set decfile [tcltest::makeFile {} aes.decrypt]
set outchan [open $encfile wb+]
set outchan [open $encfile w]
fconfigure $outchan -translation binary
aes::aes -key $key -out $outchan "Hello World Tcl"
close $outchan
unset outchan
} -body {
set inchan [open $encfile rb]
set inchan [open $encfile r]
fconfigure $inchan -translation binary
set outchan [open $decfile w+]
aes::aes -dir decrypt -key $key -in $inchan -out $outchan
close $inchan
close $outchan
viewFile $decfile
} -cleanup {
file delete $encfile $decfile
unset key encfile decfile inchan outchan
} -result "Hello World Tcl\000"
test aes-sf-3612645-a1 {aes use of -in option, allura 1366} -setup {
set key [binary format a32 0123456789012345678901234567890123456789]
set encfile [tcltest::makeFile {} aes.encrypt]
set outchan [open $encfile wb+]
set outchan [open $encfile w]
fconfigure $outchan -translation binary
aes::aes -key $key -out $outchan "Hello World Tcl"
close $outchan
unset outchan
} -body {
set inchan [open $encfile rb]
set inchan [open $encfile r]
fconfigure $inchan -translation binary
set out [aes::aes -dir decrypt -key $key -in $inchan]
close $inchan
set out
} -cleanup {
file delete $encfile
unset out key encfile inchan
} -result "Hello World Tcl\000"
test aes-sf-3612645-b0 {aes non-use of -in option, allura 1366} -setup {
set key [binary format a32 0123456789012345678901234567890123456789]
set encfile [tcltest::makeFile {} aes.encrypt]
set decfile [tcltest::makeFile {} aes.decrypt]
set outchan [open $encfile wb+]
set outchan [open $encfile w]
fconfigure $outchan -translation binary
aes::aes -key $key -out $outchan "Hello World Tcl"
close $outchan
unset outchan
} -body {
set inchan [open $encfile rb]
set inchan [open $encfile r]
fconfigure $inchan -translation binary
set outchan [open $decfile w+]
aes::aes -dir decrypt -key $key -out $outchan [read $inchan]
close $inchan
close $outchan
viewFile $decfile
} -cleanup {
file delete $encfile $decfile
unset key encfile decfile inchan outchan
} -result "Hello World Tcl\000"
test aes-sf-3612645-b1 {aes non-use of -in option, allura 1366} -setup {
set key [binary format a32 0123456789012345678901234567890123456789]
set encfile [tcltest::makeFile {} aes.encrypt]
set outchan [open $encfile wb+]
set outchan [open $encfile w]
fconfigure $outchan -translation binary
aes::aes -key $key -out $outchan "Hello World Tcl"
close $outchan
unset outchan
} -body {
set inchan [open $encfile rb]
set inchan [open $encfile r]
fconfigure $inchan -translation binary
set out [aes::aes -dir decrypt -key $key [read $inchan]]
close $inchan
set out
} -cleanup {
file delete $encfile
unset out key encfile inchan
} -result "Hello World Tcl\000"
|
︙ | | |
Changes to modules/debug/debug.man.
︙ | | |
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
-
+
|
[section API]
[list_begin definitions]
[comment {= = == === ===== ======== ============= =====================}]
[call [cmd debug.[var tag]] [arg message] [opt [arg level]]]
For each known tag the package creates a command with this signatur
For each known tag the package creates a command with this signature
the user can then use to provide the debug narrative of the tag.
The narrative [arg message] is provided as a Tcl script whose value is
[cmd subst]ed in the caller's scope if and only if the current level of
interest for the [arg tag] matches or exceeds the call's [arg level]
of detail. This is useful, as one can place arbitrarily complex
narrative in code without unnecessarily evaluating it.
|
︙ | | |
Changes to modules/ftp/ftp.tcl.
︙ | | |
3013
3014
3015
3016
3017
3018
3019
3020
|
3013
3014
3015
3016
3017
3018
3019
3020
|
-
+
|
set ::ftp::VERBOSE 1
set ::ftp::DEBUG 0
}
# ==================================================================
# At last, everything is fine, we can provide the package.
package provide ftp [lindex {Revision: 2.4.11} 1]
package provide ftp [lindex {Revision: 2.4.12} 1]
|
Changes to modules/ftp/pkgIndex.tcl.
1
2
3
|
1
2
3
|
-
+
|
if {![package vsatisfies [package provide Tcl] 8.2]} {return}
package ifneeded ftp 2.4.11 [list source [file join $dir ftp.tcl]]
package ifneeded ftp 2.4.12 [list source [file join $dir ftp.tcl]]
package ifneeded ftp::geturl 0.2.1 [list source [file join $dir ftp_geturl.tcl]]
|
Changes to modules/grammar_fa/fa.tcl.
︙ | | |
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
## A class whose instances hold all the information describing a
## single finite automaton (states, symbols, start state, set of
## accepting states, transition function), and operations to define,
## manipulate, and query this information.
# ### ### ### ######### ######### #########
## Requisites
package require grammar::fa::op ; # Heavy FA operations.
package require snit 1.3- ; # OO system in use (Using hierarchical methods)
package require Tcl 8.4
if {[package vcompare [package present Tcl] 8.5] >= 0} {
# Tcl 8.5+, extended package version numbers.
# Require 1.3 and beyond, regardless of major version number.
package require snit 1.3- ; # OO system in use (Using hierarchical methods)
} else {
# Tcl 8.4, emulate, ask for 2.x first, then 1.3+.
if {[catch {
package require snit 2 ; # OO system in use (Using hierarchical methods)
}]} {
package require snit 1.3 ; # OO system in use (Using hierarchical methods)
}
}
package require grammar::fa::op ; # Heavy FA operations.
package require struct::list ; # Extended list operations.
package require struct::set ; # Extended set operations.
# ### ### ### ######### ######### #########
## Implementation
snit::type ::grammar::fa {
|
︙ | | |
Changes to modules/math/geometry.tcl.
︙ | | |
1258
1259
1260
1261
1262
1263
1264
1265
|
1258
1259
1260
1261
1262
1263
1264
1265
|
-
+
|
namespace export \
+ - s* direction v h p between distance length \
nwse rect octant findLineSegmentIntersection \
findLineIntersection bbox x y conjx conjy
}
package provide math::geometry 1.1.2
package provide math::geometry 1.1.3
|
Changes to modules/math/statistics.man.
︙ | | |
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
|
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
|
-
+
|
[arg_def list sample_a] - First list of data
[arg_def list sample_b] - Second list of data
[list_end]
[call [cmd ::math::statistics::kernel-density] [arg data] opt [arg "-option value"] ...]]
Return the density function based on kernel density estimation. The procedure is controlled by
a small set of options, each of which is given a reasonable default.
[nl]
[para]
The return value consists of three lists: the centres of the bins, the associated probability
density and a list of computational parameters (begin and end of the interval, mean and standard
deviation and the used bandwidth). The computational parameters can be used for further analysis.
[list_begin arguments]
[arg_def list data] - The data to be examined
[arg_def list args] - Option-value pairs:
|
︙ | | |
Changes to modules/math/statistics.tcl.
︙ | | |
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
# as suggested by Dimitrios Zachariadis
# version 0.6: added pdf and cdf procedures for various distributions
# (provided by Eric Kemp-Benedict)
# version 0.7: added Kruskal-Wallis test (by Torsten Berg)
# version 0.8: added Wilcoxon test and Spearman rank correlation
# version 0.9: added kernel density estimation
package require Tcl 8.4
package provide math::statistics 0.9
package require math
if {![llength [info commands ::lrepeat]]} {
# Forward portability, emulate lrepeat
proc ::lrepeat {n args} {
if {$n < 1} {
return -code error "must have a count of at least 1"
}
set res {}
while {$n} {
foreach x $args { lappend res $x }
incr n -1
}
return $res
}
}
# ::math::statistics --
# Namespace holding the procedures and variables
#
namespace eval ::math::statistics {
#
|
︙ | | |
Changes to modules/pop3d/pop3d.test.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
-
+
-
+
|
# -*- tcl -*-
# pop3.test: tests for the simple pop3 server.
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No output means no errors were found.
#
# Copyright (c) 2002 by Andreas Kupries <[email protected]>
# Copyright (c) 2002-2014 by Andreas Kupries <[email protected]>
# All rights reserved.
#
# RCS: @(#) $Id: pop3d.test,v 1.24 2011/11/14 22:33:48 andreas_kupries Exp $
# -------------------------------------------------------------------------
source [file join \
[file dirname [file dirname [file join [pwd] [info script]]]] \
devtools testutilities.tcl]
testsNeedTcl 8.3
testsNeedTcl 8.5 ;# Required by mime.tcl
testsNeedTcltest 1.0
support {
#use comm/comm.tcl comm
useTcllibFile devtools/coserv.tcl ; # loads comm too
useTcllibFile devtools/dialog.tcl
use md5/md5x.tcl md5
|
︙ | | |
Changes to modules/pop3d/pop3d_dbox.test.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
-
+
-
+
|
# -*- tcl -*-
# pop3_dbox.test: tests for the simple pop3 mail database.
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No output means no errors were found.
#
# Copyright (c) 2002 by Andreas Kupries <[email protected]>
# Copyright (c) 2002-2014 by Andreas Kupries <[email protected]>
# All rights reserved.
#
# RCS: @(#) $Id: pop3d_dbox.test,v 1.11 2006/10/09 21:41:41 andreas_kupries Exp $
# -------------------------------------------------------------------------
source [file join \
[file dirname [file dirname [file join [pwd] [info script]]]] \
devtools testutilities.tcl]
testsNeedTcl 8.3
testsNeedTcl 8.5 ;# Required by mime.tcl
testsNeedTcltest 1.0
support {
use md5/md5x.tcl md5
use mime/mime.tcl mime
}
testing {
|
︙ | | |
Changes to modules/pt/pkgIndex.tcl.
︙ | | |
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-
+
|
package ifneeded pt::pe 1 [list source [file join $dir pt_pexpression.tcl]]
package ifneeded pt::pe::op 1 [list source [file join $dir pt_pexpr_op.tcl]]
# Parsing Expression Grammar support.
package ifneeded pt::peg 1 [list source [file join $dir pt_pegrammar.tcl]]
package ifneeded pt::peg::container 1 [list source [file join $dir pt_peg_container.tcl]]
package ifneeded pt::peg::interp 1 [list source [file join $dir pt_peg_interp.tcl]]
package ifneeded pt::peg::op 1 [list source [file join $dir pt_peg_op.tcl]]
package ifneeded pt::peg::op 1.0.1 [list source [file join $dir pt_peg_op.tcl]]
package ifneeded pt::parse::peg 1 [list source [file join $dir pt_parse_peg.tcl]]
# Export/import managers. Assumes an untrusted environment.
package ifneeded pt::peg::export 1 [list source [file join $dir pt_peg_export.tcl]]
package ifneeded pt::peg::import 1 [list source [file join $dir pt_peg_import.tcl]]
|
︙ | | |
Changes to modules/pt/pt_peg_op.man.
1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
+
-
+
|
[comment {-*- text -*- doctools manpage}]
[manpage_begin pt_peg_op i 1]
[manpage_begin pt_peg_op i 1.0.1]
[include include/module.inc]
[titledesc {Parser Tools PE Grammar Utility Operations}]
[require pt::peg::op 1]
[require pt::peg::op 1.0.1]
[description]
[include include/ref_intro.inc]
This package provides a number of utility commands manipulating a PE
grammar (container) in various ways.
[section API]
|
︙ | | |
Changes to modules/pt/pt_peg_op.tcl.
︙ | | |
369
370
371
372
373
374
375
376
377
|
369
370
371
372
373
374
375
376
377
|
-
+
|
## State / Configuration :: n/a
namespace eval ::pt::peg::op {}
# # ## ### ##### ######## ############# #####################
## Ready
package provide pt::peg::op 1
package provide pt::peg::op 1.0.1
return
|
Changes to modules/rest/pkgIndex.tcl.
1
2
|
1
2
|
-
+
|
if {![package vsatisfies [package provide Tcl] 8.5]} {return}
package ifneeded rest 1.0 [list source [file join $dir rest.tcl]]
package ifneeded rest 1.0.1 [list source [file join $dir rest.tcl]]
|
Changes to modules/rest/rest.man.
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-
+
-
+
|
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin rest n 1.0]
[manpage_begin rest n 1.0.1]
[moddesc {A framework for RESTful web services}]
[titledesc {define REST web APIs and call them inline or asychronously}]
[require Tcl 8.5]
[require rest [opt 1.0]]
[require rest [opt 1.0.1]]
[description]
[para]
There are 2 types of usage this package supports: simple calls, and complete interfaces. In an interface you specify a set of rules and then the package builds commands which correspond to the REST methods. These commands can have many options such as input and output transformations and data type specific formatting. This results in a cleaner and simpler script. On the other hand, a simple call is easier and quicker to implement but less featureful. It takes the url and a few options on the command and returns the result directly. Any formatting or checking is up to rest of the script.
Simple usage
In simple usage you make calls using http method procedures and then check or process the returned data yourself
|
︙ | | |
Changes to modules/rest/rest.tcl.
︙ | | |
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
-
+
|
package require Tcl 8.5
package require http 2.7
package require json
package require tdom
package require base64
package provide rest 1.0
package provide rest 1.0.1
namespace eval ::rest {
namespace export create_interface parameters parse_opts save \
describe substitute
}
# simple --
|
︙ | | |
Changes to modules/term/ansi/code.tcl.
︙ | | |
46
47
48
49
50
51
52
53
54
55
56
|
46
47
48
49
50
51
52
53
54
55
56
|
-
+
|
namespace eval ::term::ansi::code {
namespace export esc escb define const
}
# ### ### ### ######### ######### #########
## Ready
package provide term::ansi::code 0.1
package provide term::ansi::code 0.2
##
# ### ### ### ######### ######### #########
|
Changes to modules/term/ansi/code/ctrl.tcl.
︙ | | |
260
261
262
263
264
265
266
267
268
269
270
|
260
261
262
263
264
265
266
267
268
269
270
|
-
+
|
}
::term::ansi::code::ctrl::INIT
# ### ### ### ######### ######### #########
## Ready
package provide term::ansi::code::ctrl 0.1.2
package provide term::ansi::code::ctrl 0.2
##
# ### ### ### ######### ######### #########
|
Changes to modules/term/ansi/send.tcl.
︙ | | |
82
83
84
85
86
87
88
89
90
91
92
|
82
83
84
85
86
87
88
89
90
91
92
|
-
+
|
}
::term::ansi::send::INIT
# ### ### ### ######### ######### #########
## Ready
package provide term::ansi::send 0.1
package provide term::ansi::send 0.2
##
# ### ### ### ######### ######### #########
|
Changes to modules/term/ansi_cctrl.man.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
-
+
-
-
+
+
|
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin term::ansi::code::ctrl n 0.1]
[manpage_begin term::ansi::code::ctrl n 0.2]
[keywords ansi]
[keywords {attribute control}]
[keywords {color control}]
[keywords control]
[keywords terminal]
[copyright {2006-2008 Andreas Kupries <[email protected]>}]
[moddesc {Terminal control}]
[titledesc {ANSI control sequences}]
[category {Terminal control}]
[require Tcl 8.4]
[require term::ansi::code [opt 0.1]]
[require term::ansi::code::ctrl [opt 0.1.1]]
[require term::ansi::code [opt 0.2]]
[require term::ansi::code::ctrl [opt 0.2]]
[description]
This package provides symbolic names for the ANSI control
sequences. For each sequence a single command is provided which
returns the sequence as its result. None of the commands of this
package write to a channel; that is handled by higher level packages,
like [package term::ansi::send].
|
︙ | | |
Changes to modules/term/ansi_code.man.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
-
+
-
+
|
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin term::ansi::code n 0.1]
[manpage_begin term::ansi::code n 0.2]
[keywords control]
[keywords declare]
[keywords define]
[keywords terminal]
[copyright {2006 Andreas Kupries <[email protected]>}]
[moddesc {Terminal control}]
[titledesc {Helper for control sequences}]
[category {Terminal control}]
[require Tcl 8.4]
[require term::ansi::code [opt 0.1]]
[require term::ansi::code [opt 0.2]]
[description]
This package provides commands enabling the definition of control
sequences in an easy manner.
[para]
|
︙ | | |
Changes to modules/term/ansi_send.man.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
-
+
-
+
|
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin term::ansi::send n 0.1]
[manpage_begin term::ansi::send n 0.2]
[keywords {character output}]
[keywords control]
[keywords terminal]
[copyright {2006 Andreas Kupries <[email protected]>}]
[moddesc {Terminal control}]
[titledesc {Output of ANSI control sequences to terminals}]
[category {Terminal control}]
[require Tcl 8.4]
[require term::ansi::send [opt 0.1]]
[require term::ansi::send [opt 0.2]]
[description]
This package provides commands to send ANSI terminal control sequences to a
terminal. All commands come in two variants, one for sending to any channel,
the other for sending to [emph stdout].
[para]
|
︙ | | |
Changes to modules/term/pkgIndex.tcl.
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-
+
-
+
-
+
|
if {![package vsatisfies [package provide Tcl] 8.4]} return
package ifneeded term 0.1 [list source [file join $dir term.tcl]]
package ifneeded term::ansi::code 0.1 [list source [file join $dir ansi/code.tcl]]
package ifneeded term::ansi::code 0.2 [list source [file join $dir ansi/code.tcl]]
package ifneeded term::ansi::code::attr 0.1 [list source [file join $dir ansi/code/attr.tcl]]
package ifneeded term::ansi::code::ctrl 0.1.2 [list source [file join $dir ansi/code/ctrl.tcl]]
package ifneeded term::ansi::code::ctrl 0.2 [list source [file join $dir ansi/code/ctrl.tcl]]
package ifneeded term::ansi::code::macros 0.1 [list source [file join $dir ansi/code/macros.tcl]]
package ifneeded term::ansi::ctrl::unix 0.1.1 [list source [file join $dir ansi/ctrlunix.tcl]]
package ifneeded term::ansi::send 0.1 [list source [file join $dir ansi/send.tcl]]
package ifneeded term::ansi::send 0.2 [list source [file join $dir ansi/send.tcl]]
package ifneeded term::interact::menu 0.1 [list source [file join $dir imenu.tcl]]
package ifneeded term::interact::pager 0.1 [list source [file join $dir ipager.tcl]]
package ifneeded term::receive 0.1 [list source [file join $dir receive.tcl]]
package ifneeded term::receive::bind 0.1 [list source [file join $dir bind.tcl]]
package ifneeded term::send 0.1 [list source [file join $dir send.tcl]]
|
Changes to modules/textutil/textutil.test.
︙ | | |
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
-
+
|
textutil::capEachWord alpha
} -result Alpha
test textutil-7.4 {capEachWord, multiple words} -body {
textutil::capEachWord {here comes the sun}
} -result {Here Comes The Sun}
test textutil-7.5 {capEachWord, blocks} {
test textutil-7.5 {capEachWord, blocks} -body {
textutil::capEachWord {here \comes the $sun}
} -result {Here \comes The $sun}
# -------------------------------------------------------------------------
testsuiteCleanup
return
|
Changes to sak.tcl.
︙ | | |
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
|
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
set packages($p) [lindex $vm 0]
}
nparray packages $f
close $f
}
proc modified-modules {} {
global distribution
set mlist [modules]
set modified [list]
foreach m $mlist {
set cl [file join $distribution modules $m ChangeLog]
if {![file exists $cl]} {
lappend modified [list $m no-changelog]
continue
}
# Look for 'Released and tagged' within
# the first four lines of the file. If
# not present assume that the line is
# deeper down, indicating that the module
# has been modified since the last release.
set f [open $cl r]
set n 0
set mod 1
while {$n < 5} {
gets $f line
incr n
if {[string match -nocase "*Released and tagged*" $line]} {
if {$n <= 4} {set mod 0 ; break}
}
}
if {$mod} {
lappend modified $m
}
close $f
}
return $modified
}
# --------------------------------------------------------------
# Handle modules using docstrip
proc docstripUser {m} {
global distribution
set mdir [file join $distribution modules $m]
|
︙ | | |
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
|
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
|
+
+
|
gd-gen-rpmspec
puts "Created RPM spec file \"${package_name}.spec\""
}
proc __release {} {
# Regenerate PACKAGES, and extend
gd-gen-packages
return
global argv argv0 distribution package_name package_version
getpackage textutil textutil/textutil.tcl
if {[llength $argv] != 2} {
puts stderr "$argv0: wrong#args: release name sf-user-id"
|
︙ | | |
Changes to support/devel/sak/readme/readme.tcl.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
|
# -*- tcl -*-
# (C) 2009 Andreas Kupries <[email protected]>
##
# ###
package require sak::color
package require sak::review
namespace eval ::sak::readme {
namespace import ::sak::color::*
}
# ###
proc ::sak::readme::usage {} {
package require sak::help
puts stdout \n[sak::help::on readme]
exit 1
}
proc ::sak::readme::run {} {
global package_name package_version
getpackage struct::set struct/sets.tcl
getpackage struct::matrix struct/matrix.tcl
getpackage textutil::adjust textutil/adjust.tcl
# Future: Consolidate with ... review ...
# Determine which packages are potentially changed, from the set
# of modules touched since the last release, as per the fossil
# repository's commit log.
set trunk [sak::review::Leaf trunk] ;# rid
set release [sak::review::YoungestOfTag release] ;# datetime
sak::review::AllParentsAfter $trunk $release -> rid {
sak::review::FileSet $rid -> path action {
lappend modifiedm [lindex [file split $path] 1]
}
}
set modifiedm [lsort -unique $modifiedm]
set issues {}
# package -> list(version)
set old_version [loadoldv [location_PACKAGES]]
array set releasep [loadpkglist [location_PACKAGES]]
array set currentp [ipackages]
# Determine which packages are potentially changed, from the set
# of modules touched since the last release, as per their
# changelog ... (future: md5sum of files in a module, and
# file/package association).
set modifiedm [modified-modules]
array set changed {}
foreach p [array names currentp] {
foreach {vlist module} $currentp($p) break
set currentp($p) $vlist
set changed($p) [struct::set contains $modifiedm $module]
}
|
︙ | | |
Changes to support/devel/sak/review/review.tcl.
︙ | | |
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
|
proc ::sak::review::Scan {} {
global distribution
variable review
Banner "Scan for modules and packages to review..."
# Future: Consolidate with ... readme ...
# Determine which packages are potentially changed and therefore
# in need of review, from the set of modules touched since the
# last release, as per their changelog ... (future: md5sum of
# files in a module, and file/package association).
# last release, as per the fossil repository's commit log.
# list of modified modules.
set modifiedm {}
# database of commit message per changed module.
array set cm {}
set trunk [Leaf trunk] ;# rid
set release [YoungestOfTag release] ;# datetime
AllParentsAfter $trunk $release -> rid {
Next ; Progress " $rid"
set d [Description $rid]
Progress " D"
FileSet $rid -> path action {
Progress .
set px [file split $path]
set themodule [lindex $px 1]
lappend modifiedm $themodule
lappend cm($themodule) $d
# ignore files in modules/
if {[llength $px] < 3} continue
lappend pt($themodule) [file join {*}[lrange $px 2 end]]
}
}
Next
# cleanup module list, may have duplicates
set modifiedm [lsort -unique $modifiedm]
array set review {}
# package -> list(version)
set old_version [loadoldv [location_PACKAGES]]
array set releasep [loadpkglist [location_PACKAGES]]
array set currentp [ipackages]
set modifiedm [modified-modules]
array set changed {}
foreach p [array names currentp] {
foreach {vlist module} $currentp($p) break
set currentp($p) $vlist
set changed($p) [struct::set contains $modifiedm $module]
}
|
︙ | | |
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
-
+
-
-
+
+
-
-
-
+
+
-
-
|
#Progress " [=cya mismatch]"
incr np
}
}
Close
# Postprocessing phase, pull in all relevant changelogs.
# Postprocessing phase, pull in all relevant commit messages of the module.
foreach m [array names review] {
set clog [fileutil::cat $distribution/modules/$m/ChangeLog]
set entries {}
# commit messages
set entries [lsort -unique $cm($m)]
foreach e [doctools::changelog::scan $clog] {
if {[string match -nocase "*Released and tagged*" $e]} break
lappend entries $e
# and affected files
lappend entries [join [lsort -dict [lsort -unique $pt($m)]] \n]
}
set entries [doctools::changelog::flatten $entries]
set review($m) [list $review($m) [join $entries \n\n]]
}
set review() $np
return
}
|
︙ | | |
228
229
230
231
232
233
234
235
236
237
238
239
240
241
|
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
set notes($k) $t
}
close $f
}
return
}
proc ::sak::review::FileSet {rid _ pv av script} {
upvar 1 $pv thepath $av theaction
lappend map @rid@ $rid
foreach line [split [string trim [F [string map $map {
SELECT filename.name,
CASE WHEN nullif(mlink.pid,0) is null THEN 'added'
WHEN nullif(mlink.fid,0) is null THEN 'deleted'
ELSE 'edited'
END
FROM mlink, filename
WHERE mlink.mid = @rid@
AND mlink.fnid = filename.fnid
ORDER BY filename.name;
}]]] \n] {
foreach {thepath theaction} [split $line |] break
# ignore all changes not in modules
if {![string match modules* $thepath]} continue
uplevel 1 $script
}
return
}
proc ::sak::review::Description {rid} {
lappend map @rid@ $rid
string trim [F [string map $map {
SELECT coalesce(event.ecomment,event.comment)
FROM event
WHERE event.objid = @rid@
;
}]]
}
proc ::sak::review::AllParentsAfter {rid cut _ rv script} {
upvar 1 $rv therev
array set rev {}
set rev($rid) .
lappend front $rid
# Initial run, for the starting revision.
set therev $rid
uplevel 1 $script
# Standard iterative incremental transitive-closure. We have a
# front of revisions whose parents we take, which become the new
# front to follow, until no parents are delivered anymore due to
# the cutoff condition (timestamp, only the revisions coming after
# are accepted).
while {1} {
set new {}
foreach cid $front {
foreach pid [split [Parents $cid $cut] \n] {
foreach {pid uuid mtraw mtime} [split [string trim $pid |] |] break
lappend new $pid $mtime $uuid
if {$mtraw <= $cut} {
puts "Overshot: $rid $mtime $uuid"
}
}
}
if {![llength $new]} break
# record new parents, and make them the new starting points
set front {}
foreach {pid mtime uuid} $new {
if {[info exists rev($pid)]} continue
set rev($pid) .
lappend front $pid
set therev $pid
uplevel 1 $script
}
}
}
proc ::sak::review::Parents {rid cut} {
lappend map @rid@ $rid
lappend map @cutoff@ $cut
F [string map $map {
SELECT pid, blob.uuid, event.mtime, datetime(event.mtime)
FROM plink, blob, event
WHERE plink.cid = @rid@
AND plink.pid = blob.rid
AND plink.pid = event.objid
AND event.mtime > @cutoff@
;
}]
}
proc ::sak::review::YoungestOfTag {tag} {
lappend map @tag@ $tag
puts stderr "last $tag = [F [string map $map {
SELECT datetime (event.mtime)
FROM tag, tagxref, event
WHERE tag.tagname = 'sym-' || '@tag@'
AND tagxref.tagid = tag.tagid
AND tagxref.tagtype > 0
AND tagxref.rid = event.objid
AND event.type = 'ci'
ORDER BY event.mtime DESC
LIMIT 1
;
}]]"
F [string map $map {
SELECT event.mtime
FROM tag, tagxref, event
WHERE tag.tagname = 'sym-' || '@tag@'
AND tagxref.tagid = tag.tagid
AND tagxref.tagtype > 0
AND tagxref.rid = event.objid
AND event.type = 'ci'
ORDER BY event.mtime DESC
LIMIT 1
;
}]
}
proc ::sak::review::Leaf {branch} {
lappend map @branch@ $branch
F [string map $map {
SELECT blob.rid
FROM leaf, blob, tag, tagxref
WHERE blob.rid = leaf.rid
AND tag.tagname = 'sym-' || '@branch@'
AND tagxref.tagid = tag.tagid
AND tagxref.tagtype > 0
AND tagxref.rid = leaf.rid
;
}]
}
proc ::sak::review::F {script} {
exec fossil sqlite3 << $script
}
# # ## ### ##### ######## ############# #####################
## Phase II. Interactively review the changes packages.
# Namespace variables
#
# review : array, database of all modules, keyed by name
|
︙ | | |
Changes to support/installation/version.tcl.
1
2
3
4
5
6
7
8
|
1
2
3
4
5
6
7
8
|
-
+
|
package_version 1.15
package_version 1.16
package_name tcllib
dist_exclude config
dist_exclude modules/ftp/example
dist_exclude modules/ftpd/examples
dist_exclude modules/stats
dist_exclude modules/fileinput
|
︙ | | |
Changes to support/releases/PACKAGES.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-
+
-
-
+
+
+
-
+
|
@@ RELEASE 1.15
@@ RELEASE 1.16
S3 1.0.0
SASL 1.3.2
SASL::NTLM 1.1.1
SASL 1.3.3
SASL::NTLM 1.1.2
SASL::SCRAM 0.1
SASL::XGoogleToken 1.0.1
aes 1.1
aes 1.1.1
ascii85 1.0
asn 0.8.4
autoproxy 1.5.3
base32 0.1
base32::core 0.1
base32::hex 0.1
base64 2.4.2
|
︙ | | |
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
-
+
+
+
+
+
-
-
+
+
|
clock::iso8601 0.1
clock::rfc2822 0.1
cmdline 1.3.3
comm 4.6.2
configuration 1
control 0.1.3
coroutine 1.1
coroutine::auto 1.1
coroutine::auto 1.1.1
counter 2.0.4
crc16 1.1.2
crc32 1.3.1
csv 0.8
debug 1.0.2
debug::caller 1
debug::heartbeat 1
debug::timestamp 1
des 1.1.0
dns 1.3.3
docstrip 1.2
docstrip::util 1.3
doctools 1.4.14
doctools::changelog 1
doctools 1.4.17
doctools::changelog 1.1
doctools::config 0.1
doctools::cvs 1
doctools::html 0.1
doctools::html::cssdefaults 0.1
doctools::idx 1.0.4
doctools::idx 2
doctools::idx::export 0.1
|
︙ | | |
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
+
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
|
doctools::toc::export::text 0.1
doctools::toc::export::wiki 0.1
doctools::toc::import 0.1
doctools::toc::import::doctoc 0.1
doctools::toc::import::json 0.1
doctools::toc::parse 0.1
doctools::toc::structure 0.1
dtplite 1.1
exif 1.1.2
fileutil 1.14.5
fileutil::decode 0.1
fileutil 1.14.6
fileutil::decode 0.2
fileutil::magic::cfront 1.0
fileutil::magic::cgen 1.0
fileutil::magic::filetype 1.0.2
fileutil::magic::mimetype 1.0.2
fileutil::magic::rt 1.0
fileutil::multi 0.1
fileutil::multi::op 0.5.3
fileutil::traverse 0.4.3
ftp 2.4.11
ftp 2.4.12
ftp::geturl 0.2.1
ftpd 1.2.6
generator 0.1
gpx 1
grammar::aycock 1.0
grammar::aycock::debug 1.0
grammar::aycock::runtime 1.0
grammar::fa 0.4
grammar::fa 0.5
grammar::fa::dacceptor 0.1.1
grammar::fa::dexec 0.2
grammar::fa::op 0.4.1
grammar::me::cpu 0.2
grammar::me::cpu::core 0.2
grammar::me::cpu::gasm 0.1
grammar::me::tcl 0.1
grammar::me::util 0.1
grammar::peg 0.2
grammar::peg::interp 0.1.1
hook 0.1
html 1.4
htmlparse 1.2.1
huddle 0.1.5
ident 0.42
imap4 0.4
imap4 0.5.2
inifile 0.2.5
interp 0.1.2
interp::delegate::method 0.2
interp::delegate::proc 0.2
ip 1.2
ip 1.2.2
irc 0.6.1
javascript 1.0.2
jpeg 0.4.0
json 1.1.2
jpeg 0.5
json 1.3.2
json::write 1.0.2
lambda 1
ldap 1.8
ldapx 1.0
log 1.3
logger 0.9.3
logger::appender 1.3
logger::utils 1.3
map::geocode::nominatim 0.1
map::slippy 0.5
map::slippy::cache 0.2
map::slippy::fetcher 0.3
mapproj 1.0
math 1.2.5
math::bigfloat 1.2.2
math::bigfloat 2.0.1
math::bignum 3.1.1
math::calculus 0.7.1
math::calculus 0.7.2
math::calculus::symdiff 1.0
math::complexnumbers 1.0.2
math::constants 1.0.1
math::decimal 1.0.2
math::decimal 1.0.3
math::fourier 1.0.2
math::fuzzy 0.2.1
math::geometry 1.1.2
math::interpolate 1.0.3
math::geometry 1.1.3
math::interpolate 1.1
math::linearalgebra 1.1.4
math::machineparameters 0.1
math::numtheory 1.0
math::optimize 1.0
math::polynomials 1.0.1
math::rationalfunctions 1.0.1
math::roman 1.0
math::special 0.2.2
math::statistics 0.8.0
math::statistics 0.9
md4 1.0.5
md5 1.4.4
md5 2.0.7
md5crypt 1.1.0
mime 1.5.6
mime 1.6
multiplexer 0.2
nameserv 0.4.2
nameserv::auto 0.3
nameserv::common 0.1
nameserv::server 0.3.2
namespacex 0.1
ncgi 1.4.1
ncgi 1.4.2
nmea 1.0.0
nntp 0.2.1
oo::util 1.1
oo::util 1.2
otp 1.0.0
page::analysis::peg::emodes 0.1
page::analysis::peg::minimize 0.1
page::analysis::peg::reachable 0.1
page::analysis::peg::realizable 0.1
page::compiler::peg::mecpu 0.1.1
page::config::peg 0.1
|
︙ | | |
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
|
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
|
-
+
-
+
-
+
-
+
+
-
+
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
-
+
-
+
-
+
-
+
-
+
|
pt::peg::container 1
pt::peg::container::peg 1
pt::peg::export 1
pt::peg::export::container 1
pt::peg::export::json 1
pt::peg::export::peg 1
pt::peg::from::json 1
pt::peg::from::peg 1
pt::peg::from::peg 1.0.2
pt::peg::import 1
pt::peg::import::json 1
pt::peg::import::peg 1
pt::peg::interp 1
pt::peg::op 1
pt::peg::op 1.0.1
pt::peg::to::container 1
pt::peg::to::cparam 1.0.1
pt::peg::to::json 1
pt::peg::to::param 1
pt::peg::to::peg 1
pt::peg::to::peg 1.0.1
pt::peg::to::tclparam 1
pt::pgen 1.0.1
pt::pgen 1.0.2
pt::rde 1.0.2
pt::rde::oo 1.0.2
pt::tclparam::configuration::snit 1.0.1
pt::tclparam::configuration::tcloo 1.0.2
pt::tclparam::configuration::tcloo 1.0.3
rc4 1.1.0
rcs 0.1
report 0.3.1
resolv 1.0.3
rest 1.0
rest 1.0.1
ripemd128 1.0.4
ripemd160 1.0.4
sha1 1.1.0
sha1 2.0.3
sha256 1.0.3
simulation::annealing 0.2
simulation::montecarlo 0.1
simulation::random 0.3.1
smtp 1.4.5
smtpd 1.5
snit 1.4.2
snit 2.3.2
soundex 1.0
spf 1.1.1
stooop 4.4.1
string::token 1
string::token::shell 1.1
stringprep 1.0.1
stringprep::data 1.0.1
struct 1.4
struct 2.1
struct::disjointset 1.0
struct::graph 1.2.1
struct::graph 2.4
struct::graph::op 0.11.3
struct::list 1.8.2
struct::list 1.8.3
struct::matrix 1.2.1
struct::matrix 2.0.2
struct::matrix 2.0.3
struct::pool 1.2.1
struct::prioqueue 1.4
struct::queue 1.4.4
struct::queue 1.4.5
struct::record 1.2.1
struct::set 2.2.3
struct::skiplist 1.3
struct::stack 1.5.3
struct::tree 1.2.2
struct::tree 2.1.2
sum 1.1.0
switched 2.2.1
tar 0.7.1
tar 0.9
tcl::chan::cat 1.0.2
tcl::chan::core 1
tcl::chan::events 1
tcl::chan::facade 1.0.1
tcl::chan::fifo 1
tcl::chan::fifo2 1
tcl::chan::halfpipe 1
tcl::chan::memchan 1.0.2
tcl::chan::memchan 1.0.3
tcl::chan::null 1
tcl::chan::nullzero 1
tcl::chan::random 1
tcl::chan::std 1.0.1
tcl::chan::string 1.0.1
tcl::chan::string 1.0.2
tcl::chan::textwindow 1
tcl::chan::variable 1.0.2
tcl::chan::variable 1.0.3
tcl::chan::zero 1
tcl::randomseed 1
tcl::transform::adler32 1
tcl::transform::base64 1
tcl::transform::core 1
tcl::transform::counter 1
tcl::transform::crc32 1
tcl::transform::hex 1
tcl::transform::identity 1
tcl::transform::limitsize 1
tcl::transform::observe 1
tcl::transform::otp 1
tcl::transform::rot 1
tcl::transform::spacer 1
tcl::transform::zlib 1
tclDES 1.0.0
tclDESjr 1.0.0
tepam 0.4.0
tepam 0.5.0
tepam::doc_gen 0.1.1
term 0.1
term::ansi::code 0.1
term::ansi::code 0.2
term::ansi::code::attr 0.1
term::ansi::code::ctrl 0.1.2
term::ansi::code::ctrl 0.2
term::ansi::code::macros 0.1
term::ansi::ctrl::unix 0.1.1
term::ansi::send 0.1
term::ansi::send 0.2
term::interact::menu 0.1
term::interact::pager 0.1
term::receive 0.1
term::receive::bind 0.1
term::send 0.1
text::write 1
textutil 0.7.1
textutil 0.8
textutil::adjust 0.7.1
textutil::expander 1.3.1
textutil::repeat 0.7
textutil::split 0.7
textutil::string 0.7.1
textutil::string 0.8
textutil::tabify 0.7
textutil::trim 0.7
tie 1.1
tie::std::array 1.0
tie::std::dsource 1.0
tie::std::file 1.0.4
tie::std::growfile 1.0
|
︙ | | |
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
|
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
|
-
+
-
+
+
-
-
+
+
|
treeql 1.3.1
try 1
uevent 0.3.1
uevent::onidle 0.1
unicode 1.0.0
unicode::data 1.0.0
units 2.1.1
uri 1.2.2
uri 1.2.4
uri::urn 1.0.2
uuencode 1.1.5
uuid 1.0.2
valtype::common 1
valtype::creditcard::amex 1
valtype::creditcard::discover 1
valtype::creditcard::mastercard 1
valtype::creditcard::visa 1
valtype::gs1::ean13 1
valtype::iban 1.1
valtype::iban 1.4
valtype::imei 1
valtype::isbn 1
valtype::luhn 1
valtype::luhn5 1
valtype::usnpi 1
valtype::verhoeff 1
websocket 1.3
wip 1.2
wip 2.2
xsxp 1.0
yaml 0.3.6
yencode 1.1.3
zipfile::decode 0.2
zipfile::encode 0.1
zipfile::decode 0.4
zipfile::encode 0.3
|
Added support/releases/history/README-1.16.txt.