--- parser3/www/htdocs/Attic/index.html 2002/08/06 09:49:05 1.86
+++ parser3/www/htdocs/Attic/index.html 2002/08/08 14:35:31 1.101
@@ -18,8 +18,15 @@ $selffilespec[$filespec]
#$result[111]
#^f[a]
#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{
-# ^int:sql{select news_id from news where news_id=-1}[$.default{2}]
+# ^int:sql{select news_id from news where news_id=-1}[
+## $.default{2}
+# ]
# ^string:sql{select news_id from news where news_id=-1}[$.default{2}]
+# ^file::load[text;^string:sql{select '^^hello[]' }]
+# ^string:sql{select '^^hello[]' }] $ORIGINS(1)
+# ^process{ ^^h[]}
+# ^process{^string:sql{select '1
+# ^^hello[]' }] }
#}
#^eval(2)
#^tcrashlocaljunctionsv2[]
@@ -41,7 +48,6 @@ $selffilespec[$filespec]
#^subjvaltest[]
#^tableselect0[]
#^memnotest1[]
-#^transparams[]
#^voidparams[]
#^rolls2[]
#^cacheexpireschanging[]
@@ -71,7 +77,6 @@ $selffilespec[$filespec]
#^precisionProblem[]
#^xpath[]
#^ttablesetlang[]
-#^mail3[]
#^ttime[]
#^tupper[]
#^treplace[]
@@ -182,18 +187,101 @@ $selffilespec[$filespec]
#^tfilespec[]
#^tcrypt[]
#^cryptdocsample[]
-#^sendtests[]
#^tnormalize[]
#^xmltransformbyxdoc[]
#^sergestrandef[]
#^tstdin[]
#^tfind[]
-#^calendar[]
#^mimet[]
-^cgit[]
+#^cgit[]
+#^joinlimit[]
+#^tableclonelimit[]
+#^transparams[]
+#^sendtests[]
+#^wwrapperpass[]
+#^badpos[]
+#^processtest[]
+#^mail3[]
+#^mail4[]
+#^datesaving[]
+#^badconstructor[]
+^calendar[]
OK
+@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)
+
+
+@badpos[]
+$s[123]
+^s.mid(0;2)
+
+@wwrapperpass[]
+$h[^hash::create[]]
+$h.a(1)
+^my_method[^if(1){$h}]
+работает. так и должно быть?
+
+@my_method[p]
+^p._count[]
+
+
+@tableclonelimit[]
+$source[^table::create{a
+aa
+bb
+cc}]
+^source.offset(1)
+#$dest[^table::create[$source]]
+$dest[^table::create[$source;$.offset(2)]]
+$dest[^table::create[$source;$.limit(2)]]
+$dest[^table::create[$source;$.offset(1)$.limit(1)]]
+$dest[^table::create[$source;$.offset(1)$.limit(2)]]
+$dest[^table::create[$source;$.offset[cur]$.limit(2)]]
+
+^dest.menu{$dest.a}[,]
+
+@joinlimit[]
+$source[^table::create{a
+aa
+bb
+cc}]
+^source.offset(2)
+$dest[^table::create{a
+xx
+}]
+#^dest.join[$source]
+#^dest.join[$source;$.offset(2)]
+#^dest.join[$source;$.limit(2)]
+#^dest.join[$source;$.offset(1)$.limit(1)]
+#^dest.join[$source;$.offset(1)$.limit(2)]
+#^dest.join[$source;$.offset[cur]$.limit(1)]
+^dest.join[$source;$.limit(0)]
+
+^dest.menu{$dest.a}[,]
+
@cgit[]
$f[^file::cgi[showenv.cmd]]
$f.HELLO=
@@ -284,12 +372,12 @@ $s[^for[i](0;999){фрагмент }]
#^normalized.match[фраг][g]{перга}
@sendtests[]
-#^text[]
+^text[]
#^html[]
#^text-n-html[]
#^file[]
#^text-n-file[]
-^text-n-html-n-file[]
+#^text-n-html-n-file[]
#^backwardcomp[]
@backwardcomp[]
@@ -1145,13 +1233,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]]
@@ -1610,12 +1698,12 @@ $abc[abc]
^abc.save[abc]
@calendar[]
-$year(2002)
-$month(8)
+$year(2007)
+$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[]