--- parser3/operators.ru.txt 2003/04/11 16:05:43 1.109.2.1.2.7 +++ parser3/operators.ru.txt 2003/09/19 09:58:51 1.117 @@ -656,7 +656,7 @@ Xhashfile !/some/page.html: ^file:fullpath[a.gif] => /some/a.gif -math +!math !$math:PI !^math:round floor ceiling !^math:trunc frac @@ -666,7 +666,18 @@ math !^math:degrees radians !^math:pow sqrt !^math:random(ширина диапазона) - ^math:GUID {C2C0983C-E26E-4169-BD07-77ECE9405BA5} + !^math:uuid[] + 22C0983C-E26E-4169-BD07-77ECE9405BA5 + win32: пользуется cryptapi + unix: пользуется /dev/urandom, + если нет, /dev/random, + если нет, rand + [на solaris /dev/random можно добавить] + !^math:uid64[] + BA39BAB6340BE370 + !^math:md5[string] + выдает digest строки, длиной 16 байт в виде строки, + где байты digest выданы в hex виде, впритык, в нижнем регистре !^math:crypt[password;salt] salt prefix $apr1$ вызывает встроенный MD5 алгоритм, если нет тела salt, оно создаётся случайным @@ -919,18 +930,15 @@ xdoc(xnode) !$status:memory hash !used - Return the number of bytes in the heap. Excludes collector private - data structures. Includes empty blocks and fragmentation loss. Includes some pages that were allocated but never written. !free - Return a lower bound on the number of free bytes in the heap. - !since_compact + !ever_allocated_since_compact Return the number of bytes allocated since the last collection. - !process - Return the total number of bytes allocated in this process. + !ever_allocated_since_start + Return the total number of bytes [EVER(c)PAF] allocated in this process. Never decreases. @@ -978,7 +986,11 @@ xdoc(xnode) !это можно отключить, передав !$.any-status(1) !$.charset[кодировка удалённых докуметов по-умолчанию] << если сервер вернёт content-type:charset=ОНА_ПЕРЕБИВАЕТ - !file::load в дополнительные поля записывает ПОЛЕ:значение (имена полей ответа заглавными буквами) + !file::load в дополнительные поля записывает + !ПОЛЕ:значение (имена полей ответа заглавными буквами) + !tables << хеш их ПОЛЕ->table с единственным столбцом "value". + в таких таблицах можно брать повторяющиеся заголовки. например, несколько set-cookies + todo:сделать отдельный cookies !системные типы ошибок: !parser.compile ^test[} компиляция (непарная скобка, ...)