--- parser3/ChangeLog 2024/11/11 02:05:13 1.205 +++ parser3/ChangeLog 2024/12/16 02:05:13 1.210 @@ -1,5 +1,359 @@ +2024-12-16 moko + + * operators.txt: actualized for 3.5.0 + + * src/classes/table.C: exception text fixed + +2024-12-15 moko + + * tests/: 102.html, results/102.processed: tests updated after + $form:fields not editable again (related to feature #1254) + + * src/types/pa_vform.C: $form:tables/files (not $form:fields) can + be edited (related to feature #1254) + + * src/types/pa_vform.C: reverted that + $form:fields/tables/files/imap can be edited (related to feature + #1254) for backward compatibility + +2024-12-14 moko + + * operators.txt: + array in operators.txt + + * tests/results/auto.p: avoid $mac execution unless on OS X + + * tests/388-sql.html: more OS support + +2024-12-13 moko + + * tests/388-sql.html: sql tests under OS X now fixed + + * tests/results/auto.p: curl test under OS X now works + + * tests/: 346-curl.html, 347-curl.html, results/347-curl.processed: + no dll name under Windows, hiding + + * tests/: 379-curl.html, results/379-curl.processed: some curl + versions accept "HTTP/1.0 200OK? OK" status, some not, ignore + + * tests/: 030.html, 212.html, 219.html, 273.html, 346-curl.html, + 389.html, results/030.processed, results/212.processed, + results/219.processed, results/273.processed, + results/320.processed, results/346-curl.processed, + results/389.processed, results/auto.p: ^try-catch-filtered added + and used + + * tests/: 347-curl.html, results/347-curl.processed: support for + different error messages + + * src/classes/curl.C: several curl libraries supported, + ^curl:options[ $.library[] ] resets to default + + * tests/: 223-curl.html, results/223-curl.processed: CONTENT_LENGTH + removed as depends on curl version + + * tests/results/: 223-curl.processed, 394-curl.processed: curl + fixed bug with \n in file names, test result updated + + * tests/388-sql.html: +libmysqlclient.so + + * etc/auto.p.in: +libmariadb + +2024-12-12 moko + + * tests/: 388-sql.html, results/429-sql.processed: test results + updated after test changed + + * tests/: 388-sql.html, 428-sql.html, 429-sql.html: tests updated + for newer MariaDB compatibility + + * tests/: 388-sql.html, 429-sql.html, results/388-sql.processed, + results/429-sql.processed: key -> id for new MariaDB + compatibility + + * src/types/pa_vmethod_frame.h: warning war + + * src/: include/pa_charset.h, main/pa_charset.C: Adopted patch from + Yavor Doganov with extra libxml2 headers + including for Debian package + +2024-12-11 moko + + * src/: targets/apache/mod_parser3_core.C, targets/cgi/parser3.C, + targets/isapi/parser3isapi.C, types/pa_vstatus.C: + $status:log-filename added (related to feature #1262) + + * tests/: 440.html, results/440.processed: test for row is checked + before accessing when table is modified during select (related to + bug #1258) + + * src/: classes/table.C, include/pa_table.h: row should be checked + before accessing as table can be modified during select (related + to bug #1258) + + * src/types/pa_vmail.C: $mail:received tables -> elements array + (related to feature #1226) + + * src/: classes/file.C, classes/image.C, classes/table.C, + include/pa_exception.h: FIRST_ARG_MUST_NOT_BE_CODE replace with + better messages (related to feature #1267) + + * tests/results/: 065.processed, 246.processed, 337.processed, + 342.processed, 352.processed, 356.processed, 364.processed, + 372.processed, 373.processed, 389.processed, 404.processed, + 406.processed, 414.processed, 430.processed, 432.processed, + 442.processed: tests updated after params.as_string error + reporting was improved (related to feature #1267) + + * src/classes/reflection.C: error messages optimized (related to + feature #1267) + + * src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: even better + error reporing for params.as_* (related to feature #1267) + + * src/: classes/file.C, classes/string.C, include/pa_exception.h: + MODE_MUST_NOT_BE_CODE -> MODE_MUST_BE_STRING (related to feature + #1267) + + * tests/results/: 246.processed, 414.processed, 432.processed: + tests updated after params.as_string error reporting was improved + (related to feature #1267) + + * src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: better error + reporing for params.as_string (implements feature #1267) + + * tests/: 065.html, results/065.processed: tests for file methods + accepting file as filename added (related to feature #1265) + + * src/: classes/file.C, include/pa_exception.h, + types/pa_vmethod_frame.C, types/pa_vmethod_frame.h: some file + methods now accept file as path specification (adopted Sumo patch + implements feature #1265) + + * tests/: 400.html, results/400.processed: tests for result + optimization "locks" after first method call (related to feature + #1266) + +2024-12-10 moko + + * src/types/: pa_method.h, pa_vmethod_frame.h: detailed + result_optimization comments (related to feature #1266) + + * src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: optimization: + $result now stored in my_result, not in local variables hash + (implements feature #1266) + +2024-12-09 moko + + * src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: my.set -> + set_my_variable in preparation for $result optimization (related + to feature #1266) + + * tests/results/119.processed: newline corrected for some OS + + * tests/: 441.html, results/441.processed: Debian-specific test + commented + + * buildall: pcre2 10.42 -> 10.44 + +2024-12-08 moko + + * buildall: external links fixed + + * src/include/pa_version.h: 3.4.7b -> 3.5.0rc + + * src/include/pa_table.h: some clang versions compilation fix + + * configure.ac: 3.4.7b -> 3.5.0rc + +2024-12-07 moko + + * tests/: 443.html, 444.html, results/443.processed, + results/444.processed: tests for named params (related to feature + #1205) + + * src/: classes/reflection.C, types/pa_method.h: named_params + support in reflection (related to feature #1205) + + * src/types/pa_vmethod_frame.h: extra_params and named params + should be also inited in ^method[] call (related to feature + #1205) + + * src/types/: pa_method.h, pa_vmethod_frame.h: named arguments + support using @method[arg;.named_arg;.named_arg2] syntax + (implements feature #1205) + + * tests/: 443.html, results/443.processed: test for *args inited + added (related to bug #1264) + + * src/types/pa_vmethod_frame.h: *args are now inited even if not + specified (fixes bug #1264) + + * tests/: 442.html, results/442.processed: tests for + params.as_file_name(N) with empty file name added (related to + feature #1121) + + * src/: classes/file.C, classes/hashfile.C, classes/image.C, + classes/op.C, classes/string.C, classes/table.C, classes/xdoc.C, + include/pa_exception.h, types/pa_vmethod_frame.h: + params.as_file_name(N) added and used instead of + params.as_string(1, FILE_NAME_MUST_BE_STRING) where appropriate + (implements feature #1121) + + * src/: classes/file.C, classes/image.C, classes/op.C, + classes/table.C, include/pa_exception.h: filename is everywhere + params.as_string, unify exception and remove + FILE_NAME_MUST_NOT_BE_CODE (related to feature #1121) + + * tests/: 141.html, results/141.processed: test for + ^math:digest[...; $.hmac[$file] $.format[file] ] added (related + to feature #1263) + + * src/classes/math.C: ^math:digest[...; $.hmac[$file] + $.format[file] ] now supported (implements feature #1263) + +2024-12-06 moko + + * src/: targets/apache/mod_parser3_core.C, targets/cgi/parser3.C, + targets/isapi/parser3isapi.C, types/pa_vstatus.C: $status:mode + (cgi/console/mail/httpd/apache/isapi) added (related to feature + #1262) + +2024-12-05 moko + + * src/targets/cgi/parser3.C: more correct arguments processing to + block -fl config.file log.file logic (related to feature #1262) + +2024-12-04 moko + + * src/targets/cgi/parser3.C: now only one log location is selected + and tried. -l - supported for stderr specification (related to + feature #1262) + +2024-12-03 moko + + * tests/: 010.html, 415_dir/30.p, 415_dir/31.p, + results/010.processed, results/415.processed: tests for + $.(expression)[value], $a.(expression), ^v.(expression)[args] + added (related to feature #1064) + + * src/main/compile.y: $.(expression)[value], $a.(expression), + ^v.(expression)[args] now supported (implements feature #1064) + +2024-12-02 moko + + * src/targets/cgi/parser3.C: -l /path/to/log options added + (implements feature #1262) + +2024-12-01 moko + + * tests/: 010.html, results/010.processed: some tests related to + bug #1149 added + + * src/main/compile.y: the check pc.pos.col > 1 is not required + because we can't be here without a '$' before. The begin == end + check was incorrect since $[a]{b} fits this condition (fixes bug + #1149) + +2024-11-29 moko + + * src/classes/array.C: warning war + +2024-11-26 moko + + * tests/: 441.html, results/441.processed: a bit more testing + (related to bug #1238) + + * src/main/pa_exec.C: only " now quoted (related to bug #1239) + + * src/main/pa_exec.C: simplification arg_quote added (related to + bug #1229) + +2024-11-25 moko + + * src/main/pa_exec.C: separated cmd_quote and exe_quote (related to + bug #1239) + +2024-11-24 moko + + * src/main/pa_exec.C: added cmd.exe specific + + * tests/: 441.html, cat-windows.sh, cat.sh, results/441.processed: + tests for ^file::exec env and args tainting tests (related to bug + #1239) + + * src/main/pa_exec.C: shell_quote added (partial fix for bug #1239) + + * src/include/pa_config_includes.h: added recommendations for + libxslt.a and and libexslt.a compilation under cygwin + + * tests/results/102.processed: $form:fields.value is now writable, + as $form:value (related to feature #1254) + + * src/include/pa_config_includes.h: cigwin compilation fixes + +2024-11-23 moko + + * tests/httpd/site/run_server.sh: to simplify testing + + * tests/httpd/: 030.txt, 031.curl, 040.txt, ok.log, run_tests.sh, + site/form.html: $form:files and $form:elements tests added, tests + with curl supported (related to feature #1254) + + * src/: include/pa_symbols.h, main/pa_symbols.C, types/pa_vform.C, + types/pa_vform.h: $form:elements implemented, VForm::get_element + uses faster SYMBOLS_EQ, hashes no longer copied when using + $form:fields/tables/files/imap and can be edited (implements + feature #1254) + + * src/main/pa_http.C: pa_send added to handle partial writes (fixes + bug #1261) + +2024-11-17 moko + + * tests/: 440.html, results/440.processed: tests for + ^table.array[], offset restoration, iterators robust tests + (related to bug #1258, features #1259 and #1260) + + * tests/: 439.html, results/439.processed: array and hash iterators + robust tests (related to feature #1260) + + * src/: classes/array.C, classes/table.C, include/pa_array.h, + include/pa_table.h: Array_robust_iterator added and used in cases + where array can be modified during iteration (implements feature + #1260) + + * src/classes/table.C: ^table.array[], ^table.array[column name], + ^table.array{code} added (implements feature #1259) + +2024-11-16 moko + + * src/: classes/table.C, include/pa_table.h, main/pa_table.C: fixed + table current row restoration after exception and table changes + (fixes bug #1258) + +2024-11-13 moko + + * src/classes/table.C: minor optimization + + * src/main/pa_string.C: \r added to default ^string.trim chars list + (https://www.parser.ru/forum/?id=86648) + 2024-11-11 moko + * src/classes/classes.C: set_base commented + + * src/classes/: classes.C, xdoc.C: cleanup after classes.awk + deleted + + * src/classes/classes.vcproj: no more classes.awk and classes.inc + + * src/classes/: Makefile.am, classes.awk: no more classes.awk and + classes.inc + + * src/: classes/classes.C, classes/classes.awk, classes/classes.h, + main/pa_globals.C: classes.awk is useless, preparing to delete it + * src/classes/classes.h: temp fix 2024-11-10 moko