--- parser3/ChangeLog 2019/09/16 02:05:41 1.121 +++ parser3/ChangeLog 2020/05/25 02:05:07 1.136 @@ -1,3 +1,382 @@ +2020-05-23 moko + + * src/: classes/mail.C, types/pa_vmail.C, types/pa_vmail.h: + whitespace, unused level removed + +2020-05-19 moko + + * src/types/pa_vmail.C: whitespace + + * src/types/pa_vmail.C: files should be processed last (related to + feature #1176) + +2020-05-12 moko + + * src/include/pa_memory.h: no new/delete checks for for FreeBSD1X.X + due to https://bugs.llvm.org/show_bug.cgi?id=40161 bug + + * configure.ac: FreeBSD1X.X check added to avoid + https://bugs.llvm.org/show_bug.cgi?id=40161 bug. + +2020-02-26 moko + + * src/main/pa_common.C: entry_exists -> entry_ifdir to fix Windows + compilation issue (related to bug #1201) + + * src/main/pa_common.C: entry_readable -> entry_exists, + undocumented access(fname, R_OK) call removed (fixes bug #1201) + -f and -d now works under Windows in UTF-8 with Russian + filenames. + + * src/types/pa_vmail.C: g_mime_stream_pipe_new used by gmime author + advice (related to feature #1199) + +2020-02-25 moko + + * buildall: --silent removed + + * configure.ac: gmime-3.0 support + + * buildall: --with-system-mailreceive option added to build with + system libgmime + + * src/types/pa_vmail.C: avoiding + https://github.com/jstedfast/gmime/issues/83 "feature" (related + to feature #1199) + +2020-02-18 moko + + * src/classes/op.C: windows x64 debug mode compile fix + + * src/main/pa_globals.C: no longer required due to -MD -> -MT + change (releated to feature #1200) + + * src/: classes/classes.vcproj, lib/cord/cord.vcproj, + lib/gd/gd.vcproj, lib/json/json.vcproj, lib/ltdl/ltdl.vcproj, + lib/md5/md5.vcproj, lib/memcached/memcached.vcproj, + lib/pcre/pcre_internal.vcproj, lib/punycode/punycode.vcproj, + lib/sdbm/sdbm.vcproj, lib/smtp/smtp.vcproj, main/main.vcproj, + targets/apache/ApacheModuleParser3.vcproj, + targets/apache/ApacheModuleParser3Core.vcproj, + targets/cgi/parser3.vcproj, targets/isapi/parser3isapi.vcproj, + types/types.vcproj: -MD -> -MT to remove msvcp71.dll/etc + dependency (related to feature #1200) + +2020-02-12 moko + + * src/types/pa_vmail.C: minimize diff + + * src/types/pa_vmail.C: libgmime 3.X support (implements feature + #1199) + +2020-01-18 moko + + * tests/: 388-sql.html, results/388-sql.processed: +postprocess + +2019-12-28 moko + + * src/targets/cgi/parser3.C: avoid empty ? + +2019-12-27 moko + + * src/targets/cgi/parser3.C: PATH_INFO check in reinventing + DOCUMENT_ROOT (related to feature #1164) + + * src/targets/cgi/parser3.C: IIS5 support removed to simplify + fcgiwrap setup (implements feature #1164) + + * src/targets/cgi/parser3.C: real_parser_handler logic simplified, + but no issues found (related to feature #1164) + + * src/targets/cgi/parser3.C: actualized + +2019-12-26 moko + + * src/targets/apache/ApacheModuleParser3.vcproj: apache stop/start + removed + + * src/targets/isapi/parser3isapi.vcproj: inetinfo stop/start + removed + + * src/: lib/gc/include/gc.h, main/pa_globals.C: As we log + allocation errors, we don't want default gc warnings (without + timestamp and URI). + + * src/: classes/memory.C, main/pa_globals.C, + targets/apache/mod_parser3_core.C, targets/cgi/parser3.C, + targets/isapi/parser3isapi.C: GC_dont_gc=1 moved to + pa_globals_init + + * src/main/pa_globals.C: setup_hex_value() removed, static array + initialization used (optimization) + + * src/: main/pa_globals.C, targets/apache/mod_parser3_core.C, + targets/cgi/parser3.C, targets/isapi/parser3isapi.C: + pa_socks_init/pa_socks_done moved inside pa_globals_init + (optimization) + +2019-12-09 moko + + * src/include/pa_config_fixed.h: warning war + +2019-12-08 moko + + * src/main/main.vcproj: compile.y - ExcludedFromBuild, as we + process grammar under Unix. + +2019-12-07 moko + + * tests/389.html: For Windows XP. :) + + * tests/388-sql.html: Windows compatibility added + +2019-12-06 moko + + * src/targets/cgi/parser3.C: warning war + + * src/main/pa_string.C: + COMPILE_ASSERT(sizeof(String::Languages) + == sizeof(CORD)) to avoid aligning bugs in future + + * src/: include/pa_config_fixed.h, main/pa_globals.C: simplified to + XML_STATIC + + * src/include/pa_request.h: StackItem() not required + + * src/include/pa_stack.h: warning war + + * src/include/pa_config_includes.h: GCC warning silenced + + * src/include/pa_memory.h: warning war: the program should also + define 'void operator delete [](void*, std::size_t)' + [-Wsized-deallocation] + + * src/types/: pa_vregex.h, pa_vtable.h: warning war + + * src/classes/string.C: not reqired cast removed + + * src/classes/string.C: not reqired cast removed + +2019-12-05 moko + + * src/lib/sdbm/pa_file_io.C: warning war + + * src/include/pa_string.h: bugfix for Windows x64: enum Language -> + enum Language : size_t - required for VS2015+ to make + sizeof(Languages::opt) == sizeof(CORD), will be 16 byte under x64 + without it (related to feature #1198) + +2019-12-04 moko + + * src/main/pa_base64.C: unsigned char -> uchar + + * src/main/: main.vcproj, pa_globals.C: libpcre now linked same way + as other libs + + * src/include/pa_version.h: +amd64 + +2019-12-03 moko + + * src/: classes/classes.vcproj, types/types.vcproj: sync debug with + release + + * src/include/pa_config_includes.h: warning war + + * src/classes/image.C: warning war + + * src/main/pa_globals.C: x64 libs support + + * src/include/pa_config_includes.h: warning war + + * src/types/pa_method.h: warning war + +2019-11-28 moko + + * src/classes/math.C: vs2003 compatibility + warning war + + * buildall: libxslt-1.1.29 -> libxslt-1.1.34, libxml2-2.9.4 -> + libxml2-2.9.9 (related to feature #1136) + + * src/classes/xdoc.C: xmlHashScanner declaration changed, using + typecast for more compatibility (related to feature #1136) + + * buildall: --direct-download option added, gc-7.6.2 -> gc-8.0.4 + + libatomic no longer required, pcre-8.40 -> pcre-8.43 (related to + feature #1136) + +2019-11-26 moko + + * src/main/: compile_tools.C, compile_tools.h: invalid assert + removed (it was failing in $$var case), condition added + +2019-11-25 moko + + * tests/: 397.html, 399.html, results/141.processed, + results/399.processed: base64 options tested + + * src/: classes/math.C, main/pa_http.C: base64 options used + + * src/main/pa_base64.C: base64 encode rewritten, base64 options + implemented (feature #986) + + * src/main/pa_cache_managers.C: whitespace + + * tests/: 397.html, 399.html, results/399.processed: tests for + ^base64 encode options added (related to feature #986) + + * src/: classes/file.C, include/pa_base64.h, main/pa_base64.C: + pa_base64_encode(file) removed - more memory, but faster and less + code (related fo feature #986) + +2019-11-24 moko + + * tests/: 155.html, results/155.processed: limit and offset in + ^table::load[] now supported, thus test added + + * src/: classes/file.C, classes/table.C, include/pa_common.h, + main/pa_common.C: optimization: offset and limit options parsing + moved inside file_load. + +2019-11-23 moko + + * src/: classes/file.C, classes/op.C, include/pa_common.h, + main/pa_common.C, main/pa_request.C, types/pa_vform.C: + optimization: file_read replaced with simplified file_read_binary + + * src/: classes/op.C, main/pa_common.C, main/pa_request.C, + types/pa_vform.C: whitespace + + * src/: include/pa_common.h, main/pa_common.C: never used params + removed + +2019-11-21 moko + + * tests/: 193.html, results/193.processed, results/389.processed: + test results updated as now base64 does not discard tail without + padding (related to feature #986) + +2019-11-20 moko + + * src/: classes/file.C, classes/string.C, include/pa_base64.h, + main/pa_base64.C: optimization: void pa_base64_decode -> size_t + pa_base64_decode (related to feature #986) + + * tests/398.html: tests for base64 decode added (related to feature + #986) + + * src/main/pa_base64.C: base64_decode rewritten - padding option + support, padding inside base 64 supported (related to feature + #096) + +2019-11-19 moko + + * src/include/pa_memory.h: CHECK_DELETE_USAGE tested to work under + FreeBSD 12 + +2019-11-16 moko + + * src/main/pa_base64.C: base64_decode converted to C++, url-safe + support added, step support removed (related to #986) + +2019-11-15 moko + + * src/classes/math.C: using log since log2 is not present on + FreeBSD < 8.4 (related to feature #1177) + + * src/: include/pa_base64.h, main/pa_base64.C: whitespace, + pa_base64_size extracted and used for files as well (related to + feature 986) + +2019-11-14 moko + + * tests/: 397.html, results/397.processed: + content check + + * tests/: 141.html, results/141.processed: make test resuls more + readable + + * tests/: 397.html, results/193.processed, results/397.processed: + test results updated after \x00 character was disabled in + math:convert string mode (related to feature #1177) + + * src/classes/: math.C, string.C: \\x00 character disabled while + converting to string (as in base64, related to feature #1177) + + * src/classes/file.C: more correct arguments separation + + * src/: classes/file.C, classes/math.C, classes/string.C, + include/pa_base64.h, include/pa_common.h, main/pa_base64.C, + main/pa_http.C, types/pa_vfile.C, types/pa_vmail.C: base64 + options added, but not yet implemented (related to feature #986) + + * src/classes/math.C: whitespace + +2019-11-13 moko + + * tests/: 397.html, results/397.processed: +tainting test (related + to feature #1177) + + * src/classes/math.C: as we now produce not only digits, result + should be tainted (related to feature #1177) + + * src/main/pa_base64.C: whitespace + + * src/: include/Makefile.am, main/Makefile.am, main/main.vcproj, + include/pa_base64.h, include/pa_common.h, main/pa_base64.C, + main/pa_common.C: pa_base64.h and pa_base64.C added, base64 + implementation moved from pa_common.h and pa_common.C + +2019-11-12 moko + + * tests/: 275.html, results/275.processed: out of range test fixed, + as ^math:convert now supports arbitrary precision + +2019-11-11 moko + + * tests/results/389.processed: uctualized error message + + * tests/: 389.html, 397.html, results/397.processed: tests for + ^math:convert added (related to feature #1177) + + * src/classes/math.C: ^math:convert now supports arbitrary + precision, alphabet support added (implements feature #1177) + +2019-11-06 moko + + * tests/: 181.html, results/181.processed: entities usage added, + more entites load tests (related to bug #842 discussion) + +2019-11-05 moko + + * src/main/pa_xml_io.C: bugfix: no more extra http://localhost/ + call from xmlFileOpen if http://localhost/ was not found + (related to bug #842) + + * src/main/pa_xml_io.C: rename + + * src/main/pa_xml_io.C: +MemoryStream constructor + + * src/main/pa_xml_io.C: whitespace + +2019-10-31 moko + + * src/classes/xdoc.C: XML_PARSE_OPTIONS (XML_PARSE_DTDLOAD | + XML_PARSE_NOENT) added to fix entities load, (related to feature + #1181) + +2019-10-25 moko + + * tests/: 388-sql.html, results/388-sql.processed: more multiple + queries tests + +2019-10-24 moko + + * tests/: 388-sql.html, results/388-sql.processed: support for + pgsql driver test + + * tests/: 388-sql.html, results/388-sql.processed: + multi_statements=1 now tested, mysql test now supported + (connection must be specified in [parser3] section in .my.cnf) + related to issues #1195 and #1194 + 2019-09-11 moko * src/classes/int.C: whitespace