--- parser3/www/htdocs/Attic/index.html 2002/08/08 09:52:46 1.97
+++ parser3/www/htdocs/Attic/index.html 2002/08/12 10:32:54 1.105
@@ -1,5 +1,5 @@
-#@USE
-#t.p
+@USE
+/derived.p
@auto[filespec]
$selffilespec[$filespec]
@@ -77,7 +77,6 @@ $selffilespec[$filespec]
#^precisionProblem[]
#^xpath[]
#^ttablesetlang[]
-#^mail3[]
#^ttime[]
#^tupper[]
#^treplace[]
@@ -193,7 +192,6 @@ $selffilespec[$filespec]
#^sergestrandef[]
#^tstdin[]
#^tfind[]
-#^calendar[]
#^mimet[]
#^cgit[]
#^joinlimit[]
@@ -202,10 +200,57 @@ $selffilespec[$filespec]
#^sendtests[]
#^wwrapperpass[]
#^badpos[]
-^processtest[]
+#^processtest[]
+#^mail3[]
+#^mail4[]
+#^datesaving[]
+#^badconstructor[]
+#^calendar[]
+#^monthdays(8)
+#^xdoctypetest[]
+#^xtabletest[]
+^staticstest[]
OK
+@staticstest[]
+$derived[^derived::create[]]
+^derived.test[]
+
+@xdoctypetest[]
+$xdoc[^xdoc::create[x]]
+^if($xdoc is xdoc){y}{n}
+
+@xtabletest[]
+$xtableo[^xtable::create[]]
+^if($xtableo is table){y}{n}
+#^xtableo.columns[]
+
+@monthdays[month]
+$from[^date::create(2000;$month;1)]
+$to[^date::create($from)] ^to.roll[month](+1)
+$result($to-$from)
+
+@badconstructor[]
+^date::now[]
+
+@datesaving[]
+$now[^date::now[]]
+$now.daylightsaving
+$now.yearday
+#
+$date[^date::create(2002;1;3)]
+$date.daylightsaving
+$date.yearday
+
+@mail4[]
+^mail:send[
+ $.from[paf@mail.design.ru]
+ $.to[paf@mail.design.ru]
+ $.subject[^taint[uri][москва]=2]
+ $.text[^taint[uri][москва]=]
+ $.html{link}
+]
@processtest[]
$f[^file::load[text;piece.p]] ^process{$f.text}
$ORIGINS(1)
@@ -1210,13 +1255,13 @@ $t[^table::set{^untaint{^taint[$a-tab-b]
@mail3[]
^mail:send[
- $.from[Александр Петросян ]
- $.to[Александр Петросян ]
- $.subject[проверка4]
+ $.from[Александр Петросян ]
+ $.to[Александр Петросян ]
+ $.subject[проверка2]
$.body[
$.text[
$.content-type[$.value[text/plain] $.charset[windows-1251]]
- $.body[проверка]
+ $.body[проверка^taint[uri][москва]=]
]
$.attachment[
$.value[^file::load[text;index.html]]
@@ -1676,11 +1721,11 @@ $abc[abc]
@calendar[]
$year(2002)
-$month(8)
+$month(12)
${year}-${month}:
$week_days[^date:calendar[rus]($year;$month)]
-^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week=
}
+^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week,$week_days.year=
}
@thash[]