|
|
| version 1.501, 2001/12/15 21:28:23 | version 1.540, 2002/01/25 12:59:05 |
|---|---|
| Line 1 | Line 1 |
| @auto[] | |
| $request:charset[windows-1251] | |
| $response:charset[windows-1251] | |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | |
| @main[] | @main[] |
| ^exec2[] | |
| #^tlock[] | |
| #^xmloutattrwithoutvalue[] | |
| #^precisionProblem[] | |
| #^xpath[] | |
| #^ttablesetlang[] | |
| #^mail3[] | |
| #^ttime[] | |
| #^tupper[] | |
| #^treplace[] | #^treplace[] |
| #^xslt2[] | #^xslt2[] |
| #^tcache2[] | #^tcache2[] |
| Line 9 | Line 23 |
| #^badvsnprintf[] | #^badvsnprintf[] |
| #^badoracequoting[] | #^badoracequoting[] |
| #^badconstructors[] | #^badconstructors[] |
| ^xloadwrongtable[] | #^xloadwrongtable[] |
| #^xsetwrongtable[] | #^xsetwrongtable[] |
| #^if($form:test){y}{n} | #^if($form:test){y}{n} |
| #^tablecolumnerror[] | #^tablecolumnerror[] |
| Line 77 | Line 91 |
| <hr> | <hr> |
| OK | OK |
| @exec2[] | |
| $a[^file::exec[bin/t.cmd]] | |
| <pre>^taint[$a.text]</pre>|$a.status|$a.stderr<hr> | |
| @tlock[] | |
| ^file:lock[lockfile]{ | |
| code | |
| } | |
| @xmloutattrwithoutvalue[] | |
| #$ORIGINS(1) | |
| $doc[^xdoc::set{<?xml version="1.0"?><doc background="">zz</doc>}] | |
| $doc[^doc.transform[global.xsl]] | |
| =^taint[html][^doc.string[$.method[html]]]= | |
| @precisionProblem[] | |
| $a[123456789012345678901234567890] | |
| $b(^a.double[]) | |
| ^b.format{%.20E} | |
| <hr> | |
| ^eval(2*2) | |
| @xpath[] | |
| $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?> | |
| <document><block><p>привет</p></block></document> | |
| }] | |
| #^show-xdoc2[$xdoc] | |
| $node[^xdoc.selectSingle[/document/block/p]] | |
| ^if(def $node){ | |
| ^if($node is string){ | |
| $node | |
| }{ | |
| ^if($node is hash){ | |
| ^node._count[] | |
| }{ | |
| $node.nodeType | |
| } | |
| } | |
| #$node.firstChild.nodeValue | |
| }{ | |
| node not found | |
| } | |
| @ttablesetlang[] | |
| $a-tab-b[a b | |
| 1 2] | |
| $t[^table::set{$a-tab-b}] | |
| =$t.a= | |
| <hr> | |
| $t[^table::set[nameless]{^taint[$a-tab-b]}] | |
| =$t.0= | |
| <hr> | |
| $t[^table::set{^untaint{^taint[$a-tab-b]}}] | |
| =$t.a= | |
| #^t.append{1 2} | |
| @mail3[] | |
| ^mail:send[ | |
| $.from[Александр Петросян <paf@design.ru>] | |
| $.to[Александр Петросян <paf@design.ru>] | |
| $.subject[проверка4] | |
| $.body[ | |
| $.text[ | |
| $.content-type[$.value[text/plain] $.charset[windows-1251]] | |
| $.body[проверка] | |
| ] | |
| $.attachment[ | |
| $.value[^file::load[text;index.html]] | |
| $.file-name[привет всем.html] | |
| ] | |
| ] | |
| ] | |
| @ttime[] | |
| $now[^date::now[]] | |
| $now.hour:$now.minute | |
| @tupper[] | |
| $t[abcABCабвАБВ] | |
| $t<br> | |
| ^t.upper[] | |
| @treplace[] | @treplace[] |
| $copy-paste-clean[^table::set{a b | $copy-paste-clean[^table::set{a b |
| . _ | . _ |
| Line 98 $cache[^file:list[.;\.cache^$]] | Line 203 $cache[^file:list[.;\.cache^$]] |
| @xslt2[] | @xslt2[] |
| $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?> | $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?> |
| <document><block><p>hi</p></block></document> | <document><block><p>привет</p></block></document> |
| }] | }] |
| #^show-xdoc2[$xdoc] | ^show-xdoc2[$xdoc] |
| ^show-xdoc2[^xdoc.transform[templates/_document.xslt]] | ^show-xdoc2[^xdoc.transform[templates/_document.xslt]] |
| <hr> | <hr> |
| Line 165 $bred[^int::int[]] | Line 270 $bred[^int::int[]] |
| @xloadwrongtable[] | @xloadwrongtable[] |
| $constr[^xdoc::load[wrongtable.xml]] | $constr[^xdoc::load[wrongtable.xml]] |
| ^show-xdoc2[$constr] | |
| @xsetwrongtable[] | @xsetwrongtable[] |
| $constr[^xdoc::set{<?xml version="1.0" encoding="windows-1251z" ?> | $constr[^xdoc::set{<?xml version="1.0" encoding="windows-1251z" ?> |
| Line 299 $dom_created_in_air[^xdoc::create[doc]] | Line 405 $dom_created_in_air[^xdoc::create[doc]] |
| @tcache[] | @tcache[] |
| ^rem{ | |
| #^hashfile:clear[cache] | #^hashfile:clear[cache] |
| $code[^hashfile::open[$DB_HOME;cache]] | $code[^hashfile::open[$DB_HOME;cache]] |
| ^code.cache[key](2){ | ^code.cache[key](2){ |
| ^math:random(100) | ^math:random(100) |
| # ^code.delete[] | # ^code.delete[] |
| } | } |
| } | |
| @thashfileexp[] | @thashfileexp[] |
| $hf[^hashfile::open[$DB_HOME;hashfile]] | $hf[^hashfile::open[$DB_HOME;hashfile]] |
| Line 727 by id: | Line 831 by id: |
| @show-xdoc2[xdoc] | @show-xdoc2[xdoc] |
| ^xdoc.save[out/save.xml; | ^xdoc.save[out/save.xml; |
| # $.encoding[windows-1251] | # $.encoding[utf-8] |
| $.method[xml] | $.method[xml] |
| ] | ] |
| $file[^xdoc.file[ | $file[^xdoc.file[ |
| # $.encoding[windows-1251] | $.encoding[utf-8] |
| $.method[html] | $.method[html] |
| ]] | ]] |
| ^file.save[text;out/save_file.html] | ^file.save[text;out/save_file.html] |
| #$response:body[^xdoc.file[ $.media-type[text/paf] ]] | #$response:body[^xdoc.file[ $.media-type[text/paf] ]] |
| <pre>^taint[html][^xdoc.string[ | <pre>^taint[html][^xdoc.string[ |
| # $.method[html] | $.method[html] |
| # $.version[1.0] | # $.encoding[utF-8] |
| # $.encoding[utf-8] | |
| # $.omit-xml-declaration[yes] | # $.omit-xml-declaration[yes] |
| # $.standalone[yes] | # $.standalone[no] |
| # $.doctype-public[-//W3C//DTD XHTML] | # -$.doctype-public[-//W3C//DTD XHTML] |
| # $.doctype-system[/a/b/c/] | # -$.doctype-system[/a/b/c/] |
| # $.indent[no] | # $.indent[yes] |
| $.media-type[text/paf] | # $.media-type[text/paf] |
| ]] | ]] |
| </pre> | </pre> |