Diff for /parser3/ChangeLog between versions 1.191 and 1.199

version 1.191, 2024/05/27 02:05:14 version 1.199, 2024/09/30 02:05:17
Line 1 Line 1
   2024-09-29  moko
   
           * src/classes/array.C: synced ^array::sql multi_statements logic
             with ^hash::sql new behavour
   
   2024-09-28  moko
   
           * tests/: 428-sql.html, results/388-sql.processed,
             results/428-sql.processed: tests updated after column names were
             fixed in multi_statements mode (related to feature #1197)
   
           * src/classes/hash.C: column names are fixed for most cases in
             multi_statements mode (related to feature #1197)
   
           * tests/: 428-sql.html, results/195.processed,
             results/224.processed, results/239.processed,
             results/254.processed, results/261.processed,
             results/306.processed, results/333.processed,
             results/341.processed, results/343.processed,
             results/344.processed, results/348.processed,
             results/364.processed, results/389.processed,
             results/390.processed, results/415.processed,
             results/420.processed, results/421.processed: tests results
             updated after error messages spelling minor fixes
   
           * src/types/: pa_value.h, pa_vstateless_class.h: a bit more
             spelling
   
           * src/: classes/curl.C, classes/file.C, classes/hash.C,
             classes/image.C, classes/math.C, classes/string.C,
             classes/table.C, lib/memcached/pa_memcached.C, main/compile.y,
             main/execute.C, main/pa_charset.C, main/pa_common.C,
             main/pa_http.C, main/pa_request.C, main/pa_socks.C,
             main/pa_sql_driver_manager.C, types/pa_value.C, types/pa_value.h,
             types/pa_vmail.C, types/pa_vobject.C,
             types/pa_vstateless_class.C, types/pa_vstateless_class.h,
             types/pa_vxdoc.C: minor error messages spelling fixes
   
           * src/: classes/array.C, types/pa_varray.h: initial ^array::sql{}
             implementation (related to feature #930)
   
           * tests/: 388-sql.html, results/388-sql.processed: test results
             updated after rows number ^file::sql{} check added
   
           * src/classes/file.C: rows number now checked in ^file::sql{}
   
           * tests/: 428-sql.html, results/428-sql.processed: more tests
   
           * tests/: 428-sql.html, results/428-sql.processed: more
             multi_statements testing before bugfix
   
           * tests/: 388-sql.html, 428-sql.html, results/388-sql.processed,
             results/428-sql.processed: support for multiple sql test files
             added
   
           * tests/: 388-sql.html, results/388-sql.processed: more sql testing
   
           * src/classes/hash.C: more accurate one_bool_column processing
   
           * tests/: 427.html, results/427.processed: Constructors as methods
             behavour documented in test
   
           * src/classes/hash.C: HashStringValue::Iterator used for options
   
           * tests/: 388-sql.html, results/388-sql.processed: even more tests
   
           * tests/: 388-sql.html, results/388-sql.processed: a bit more
             testing
   
           * tests/results/367-curl.processed: test result updated after
             server charset changed
   
           * tests/results/347-curl.processed: error messages updated
   
           * tests/results/: 346-curl.processed, 379-curl.processed,
             394-curl.processed: tests results updated after Type -> Exception
             type replacement
   
           * tests/results/388-sql.processed: tests result updated after Type
             -> Exception type
   
   2024-09-27  moko
   
           * src/classes/hash.C: minor simplification
   
   2024-09-24  moko
   
           * src/main/pa_string.C: atoui error messages improved
   
           * tests/: 165.html, 312.html, results/165.processed,
             results/312.processed, results/379.processed: tests updated after
             default endless loop limit increased, atoi error messages
             improved
   
           * src/classes/hash.C: VBool::get used, unification
   
   2024-09-22  moko
   
           * src/classes/array.C: minor simplification
   
           * src/classes/array.C: ^array.left(N),
             ^array.right(N),^array.mid(P;N) added (related to feature #930)
   
           * src/: classes/array.C, include/pa_request.h, main/pa_request.C,
             types/pa_varray.C, types/pa_varray.h: $MAIN:LIMITS.max_array_size
             added, default 1000000 (related to feature #930)
   
           * tests/: 426.html, results/426.processed: test for negative limit
             and offset processing for table options added
   
           * src/: classes/table.C, include/pa_array.h, main/pa_table.C:
             bugfix: negative limit and offset processing for table options
             fixed
   
   2024-09-21  moko
   
           * src/: classes/array.C, types/pa_varray.h: join supports hash;
             ^for added that also iterates holes; ^remove added (related to
             feature #930)
   
           * src/classes/array.C: ^array.join[$another_array; $.limit(N)
             $.offset(M) ] added (related to feature #930)
   
   2024-09-20  moko
   
           * src/: classes/array.C, types/pa_varray.h: array:
             +foreach[value]{code}, + add[hash with numeric keys] (related to
             feature #930)
   
   2024-09-19  moko
   
           * src/: include/pa_opcode.h, main/compile.y, main/compile_tools.h,
             main/execute.C, types/pa_varray.h: OP_CONSTRUCT_ARRAY added to
             support $a[v1;v2;...] syntax (related to feature #930)
   
   2024-09-17  moko
   
           * src/: classes/reflection.C, include/pa_request.h,
             main/compile_tools.h, main/pa_request.C:
             ^reflection:class_alias[existing class name;alias class name]
             added. The array class can now be redefined regardless of the
             $.replace(bool) option value (related to feature #930)
   
           * src/main/: compile.y, compile_tools.h: class_add return value
             inverted to add it to request class
   
           * src/: classes/array.C, include/pa_array.h, include/pa_request.h,
             include/pa_stack.h, types/pa_varray.C, types/pa_varray.h,
             types/pa_vmethod_frame.h: array: fused -> fsize, fit(index) to
             resize if required. spared array - added fused, append.
   
   2024-09-16  moko
   
           * src/types/pa_varray.h: get moved to where it belongs
   
   2024-09-15  moko
   
           * src/: include/pa_array.h, types/pa_varray.h: more agressive
             expansion to minimize reallocs: fallocated/32 -> fallocated/4
   
           * tests/: 421.html, results/323.processed, results/421.processed:
             tests updated after 'spared-array' class renamed to 'array'
             following a discussion on the forum (related to feature #930)
   
           * src/: include/pa_array.h, types/pa_value.h, types/pa_varray.h,
             types/pa_vmail.C: initial SparseArray separation from Array,
             parser class now 'array'
   
   2024-09-14  moko
   
           * tests/: 030.html, results/030.processed: out of range expires
             check added
   
           * src/types/pa_vcookie.C: VDate range is narrower than gmtime, thus
             checking expires time using VDate
   
   2024-09-13  moko
   
           * src/: classes/array.C, classes/curl.C, classes/date.C,
             classes/file.C, classes/hash.C, classes/image.C, classes/json.C,
             classes/memcached.C, classes/op.C, classes/regex.C,
             classes/string.C, classes/xdoc.C, classes/xnode.C,
             main/execute.C, main/pa_http.C, main/pa_request.C,
             types/pa_value.C, types/pa_value.h, types/pa_vclass.C,
             types/pa_vclass.h, types/pa_vcookie.C, types/pa_vhashfile.C,
             types/pa_vmail.C, types/pa_vobject.C, types/pa_vobject.h,
             types/pa_vxdoc.C, types/pa_vxdoc.h: optimization: Value::as()
             removed as dynamic_cast is faster, Value::is() is still required
             for is operator.
   
   2024-09-12  moko
   
           * src/: classes/file.C, classes/image.C, classes/reflection.C,
             classes/table.C, classes/xnode.C, include/pa_array.h,
             include/pa_string.h, main/pa_common.C, main/pa_request.C,
             main/pa_string.C, targets/cgi/pa_sapi_info.h, types/pa_vform.C,
             types/pa_vhash.h, types/pa_vtable.C, types/pa_vxnode.C: faster
             templated pa_itoa/pa_uitoa added to work with any integer type,
             String::Body::Format removed
   
   2024-09-10  moko
   
           * src/classes/array.C: append and insert methods added to
             sparse-array (related to feature #930)
   
           * tests/: 253.html, 255.html, 421.html, results/421.processed:
             tests updated after sparse-array was added to avoid ^json:parse[]
             using it in old tests (related to feature #930)
   
           * src/: classes/array.C, classes/json.C, types/pa_varray.C,
             types/pa_varray.h: sparse-array class added (initial feature #930
             implementation)
   
           * src/: classes/Makefile.am, types/Makefile.am: Makefiles update
             for sparse-array class files (related to feature #930)
   
           * src/: classes/json.C, include/pa_array.h, types/pa_value.h,
             types/pa_vhash.h: VArray support functions without actual VArray
             files (related to feature #930)
   
   2024-09-07  moko
   
           * src/: classes/curl.C, classes/string.C, classes/table.C,
             include/pa_array.h, main/execute.C, main/pa_dictionary.C,
             main/pa_http.C, main/pa_sql_driver_manager.C,
             main/pa_stylesheet_manager.C, main/pa_table.C, types/pa_vclass.C,
             types/pa_vmethod_frame.C, types/pa_vstateless_class.C,
             types/pa_vtable.C, types/pa_wcontext.C: Array::Iterator unified
             with Hash::Iterator, has_next() replaced with operator bool
             (related to feature #930)
   
           * src/: classes/string.C, include/pa_array.h, main/pa_http.C,
             main/pa_table.C, types/pa_vclass.C, types/pa_vmethod_frame.C,
             types/pa_vstateless_class.C: Array class extended,
             Array::Iterator added and used (related to feature #930)
   
   2024-08-26  moko
   
           * src/targets/cgi/parser3.C: under Windows back_slashes_to_slashes
             should be used on argv[0] as well to match document root.
   
   2024-08-25  moko
   
           * src/main/pa_request.C: be more specific
   
           * src/targets/cgi/parser3.C: parser3 t.html now behaves identically
             to /usr/bin/parser3 t.html in terms of /etc/parser3/auto.p load
             (fixes bug #1244)
   
           * src/targets/cgi/parser3.C: avoid "parser allready configured"
             exception when ./parser3.cgi <file> is used; rsplit(..., '/') ||
             rsplit(..., '\\') is not correct when / and \ are mixed in path
   
           * src/targets/cgi/parser3.C: full_disk_path now uses pa_strcat()
   
   2024-07-24  moko
   
           * src/: include/pa_config_includes.h, lib/gd/gifio.C,
             main/execute.C, main/pa_string.C: Warning war: clang changed
             -Wdeprecated-register warning to -Wregister, it's easier to
             remove all register vars then continue this fight. :)
   
           * src/main/: compile.y, compile.tab.C: warning war: register
             removed
   
   2024-07-14  moko
   
           * src/targets/cgi/pa_sapi_info.h: When accessing $env:name,
             checking the HTTP request environment; if the variable is not
             present, checking the web server process environment (implements
             feature #1242)
   
 2024-05-26  moko  2024-05-26  moko
   
         * tests/: 195.html, 229.html, results/096.processed,          * tests/: 195.html, 229.html, results/096.processed,

Removed from v.1.191  
changed lines
  Added in v.1.199


E-mail: