--- parser3/ChangeLog 2008/04/10 09:09:32 1.64 +++ parser3/ChangeLog 2008/06/24 13:27:58 1.72 @@ -1,4 +1,428 @@ +2008-06-24 misha + * tests/176.html 1.3: + * tests/176_dir/a.p 1.2: + * tests/176_dir/d.p 1.2: + * tests/results/176.processed 1.2: + - @OPTION => @OPTIONS + + * tests/182.html 1.1: + * tests/182_dir/a1.p 1.1: + * tests/182_dir/a2.p 1.1: + * tests/182_dir/a3.p 1.1: + - tests for @OPTIONS\nappend + + * src/main/compile.tab.C 1.119: + * src/main/compile.y 1.226: + - stuff for @OPTIONS\nappend + + * src/main/compile_tools.h 1.79: + - new methods for @OPTIONS\nappend + + * src/types/pa_vmethod_frame.h 1.65: + - ALL_VARS_LOCAL_NAME moved fo compile.y + +2008-06-17 misha + * src/main/compile.tab.C 1.118: + * src/main/compile.y 1.225: + - bugfix in 'def' compilation: ^if(default){true. it's + incorrect. must be exception} + +2008-06-16 misha + * tests/181.ent 1.1: + * tests/181.html 1.1: + * tests/results/181.processed 1.1: + - test for checking external reference loading with 'http:// + localhost' prefix while creating xdoc + + * src/classes/Makefile.in 1.65: + *** empty log message *** + + * tests/180.html 1.2: + - use ^inet:ntoa[] and ^inet:aton[] instead of ^math:long2ip[] + and ^math:ip2long[] + + * src/types/pa_vobject.C 1.26: + * src/types/pa_vobject.h 1.49: + - get_scalar_value method added which use scalar stateless class method when user object used in + scalar context + - use get_scalar_value when user object requested in scalar context + + * src/main/pa_common.C 1.235: + - size must be int but not size_t or we can't compare with 0 + sprintf result + + * src/main/execute.C 1.321: + * src/main/pa_request.C 1.297: + * src/types/pa_vmethod_frame.C 1.9: + * src/types/pa_vmethod_frame.h 1.64: + - go back to one VMethodFrame with internal switch between local/ + global vars + + * src/types/pa_vclass.C 1.36: + - register scalar if method @GET[] was specified + + * src/types/pa_vstateless_class.C 1.33: + * src/types/pa_vstateless_class.h 1.60: + * src/types/pa_vstateless_object.h 1.38: + - stateless class and object now has private scalar field and + getter/setter for working with it + + * src/classes/math.C 1.53: + - methods math:long2ip & math:ip2long were moved to inet static + class + + * src/classes/Makefile.am 1.51: + * src/classes/classes.vcproj 1.17: + * src/classes/inet.C 1.1: + - inet static class added (^inet:aton[IP], ^inet:ntoa(number)) + + * tests/180.html 1.1: + * tests/results/180.processed 1.1: + - tests for ^math:long2ip(long) and ^math:ip2long[IP] + + * src/classes/math.C 1.52: + - ^math:ip2long[IP] added + +2008-06-11 misha + * src/main/pa_xml_io.C 1.22: + - use file_read_text again because of we need cut BOM code and + remove DOS newline chars. but don't transcode it anyway. + + * src/include/pa_common.h 1.123: + * src/include/pa_http.h 1.2: + * src/main/pa_common.C 1.234: + * src/main/pa_http.C 1.15: + - option for disable transcoding while file_read and + file_read_text added + +2008-06-10 misha + * tests/179.html 1.1: + * tests/179.p 1.1: + * tests/results/179.processed 1.1: + - test for many classes in 1 file + + * src/main/compile.tab.C 1.117: + * src/main/compile.y 1.224: + - compile return list of classes now. internals. + + * src/main/compile.C 1.79: + * src/main/compile_tools.h 1.78: + - compile return list of classes now. + + * src/main/pa_request.C 1.295: + - compile return list of classes now. try call @conf and @auto + for each returned class + + * src/include/pa_request.h 1.189: + - compile return list of classes now + + * src/types/pa_vstateless_class.h 1.59: + - typedef ArrayClass added (for return list of classes when + compile buf) + +2008-06-07 misha + * src/main/pa_request.C 1.294: + - constructing VRequest object with 3rd param -- form + + * src/types/pa_vrequest.C 1.40: + * src/types/pa_vrequest.h 1.35: + - constructor acceps 3rd param: form. needed for get + post_charset + + * src/types/pa_vform.C 1.93: + * src/types/pa_vform.h 1.54: + - VForm::get_post_charset() added + + * src/include/pa_common.h 1.122: + * src/main/pa_common.C 1.233: + * src/main/pa_http.C 1.14: + * src/types/pa_vform.C 1.92: + * src/types/pa_vform.h 1.53: + - some polish + +2008-06-06 misha + * src/types/pa_vform.C 1.91: + * src/types/pa_vform.h 1.52: + - if POST -- try detec charset and decode chars from it but not + from response:charset + + * src/main/pa_http.C 1.13: + - detect_charset moved out of here + + * src/include/pa_common.h 1.121: + * src/main/pa_common.C 1.232: + - more helpers methods moved here + - unescape_chars accepn one charset now + + * src/main/pa_http.C 1.12: + - new constants used + - don't allow $.content-type in ^file::load[;http://;$.method[POST]] + - add charset info while ^file::load[;http://;$.method[POST]] + - option $.omit-post-charset(true) added to ^file::load[;http://] for disabling charset during post + + * src/types/pa_vform.C 1.90: + - new constants used + + * src/include/pa_common.h 1.120: + - some constants were added + + * src/classes/form.C 1.41: + * src/types/pa_vform.C 1.89: + - use StrStartFromNC instead of StrEqNc + + * src/main/pa_common.C 1.231: + - new method for caseless search c-substring in c-string + - use isxdigit instead of is_hex_digit + + * src/include/pa_common.h 1.119: + - new method for caseless search c-substring in c-string + +2008-06-05 misha + * tests/178.html 1.1: + * tests/results/178.processed 1.1: + - test for testing default getter + + * tests/178_dir/178a.p 1.1: + * tests/178_dir/178b.p 1.1: + * tests/178_dir/178c.p 1.1: + * tests/178_dir/178d.p 1.1: + * tests/178_dir/178e.p 1.1: + - classes for test for testing default getter + + * src/main/execute.C 1.320: + - default getter soul + + * src/types/pa_vobject.C 1.25: + * src/types/pa_vobject.h 1.48: + - get default getter if requested objects' field not found + + * src/types/pa_vclass.C 1.35: + - register default getter if defined + - get default getter if requested field not found + + * src/types/pa_vstateless_object.h 1.37: + - method get_default_getter was added + + * src/types/pa_vstateless_class.C 1.32: + * src/types/pa_vstateless_class.h 1.58: + - pointer to default getter and methods for get/set it were + added + + * src/types/pa_junction.h 1.8: + * src/types/pa_vjunction.h 1.26: + - junction has auto_name field (for default getter) + +2008-06-04 misha + * src/main/pa_xml_io.C 1.21: + - load external xml in binary mode (no transcoding, no cutting + BOM code, no fixing line breaks) and get it to libxml "as is" + +2008-06-03 misha + * src/main/pa_common.C 1.230: + - use store_Char instead of transcodeCharFromUTF8 + + * src/include/pa_charset.h 1.34: + * src/main/pa_charset.C 1.58: + - method store_Char added, transcodeCharFromUTF8 -- removed + +2008-06-02 misha + * tests/177.html 1.1: + * tests/results/177.processed 1.1: + - test for checking .[acm]date after local ^file::load[] was + added + + * tests/176.html 1.1: + * tests/results/176.processed 1.1: + - test for checking @OPTION\locals + @method[vars][locals] added + + * tests/results/auto.p 1.3: + - CLASS_PATH specified for checking use + +2008-05-30 misha + * Makefile.am 1.55: + * Makefile.am 1.56: + * Makefile.in 1.70: + * Makefile.in 1.71: + * acinclude.m4 1.41: + * acinclude.m4 1.42: + * aclocal.m4 1.44: + * aclocal.m4 1.45: + * acsite.m4 1.19: + * acsite.m4 1.20: + * configure 1.97: + * configure 1.98: + * configure.in 1.100: + * configure.in 1.99: + * src/types/Makefile.in 1.63: + *** empty log message *** + + * src/main/compile.tab.C 1.116: + * src/main/compile.y 1.223: + - changes in compiler: @OPTION\nlocals + @method[vars][;locals;] + were added + + * src/main/execute.C 1.319: + - code of OP_CALL and OP_CALL__WRITE was moved to separate method op_code + - switch from VMethodFrame to VMethodFrameGlobal + VMethodFrameLocal + + * src/include/pa_request.h 1.188: + - code of OP_CALL and OP_CALL__WRITE was moved to separate + method op_code + + * src/main/pa_request.C 1.293: + - use VMethodFrameGlobal instead of VMethodFrame now + + * src/types/pa_vstateless_class.h 1.57: + - stateless class have bool flag all_vars_local as well + + * src/types/Makefile.am 1.42: + * src/types/pa_vmethod_frame.h 1.63: + * src/types/pa_vmethod_frame_global.h 1.1: + * src/types/pa_vmethod_frame_local.h 1.1: + - who children for VMethodFrame were added: one (global) works + as VMethodFrame before and second (local) write all vars in self + vars scope + + * src/types/pa_method.h 1.8: + - method has bool flag all_vars_local now + +2008-05-29 misha + * tests/129.html 1.4: + * tests/results/129.processed 1.6: + - more tests for ^table.hash[] + + * src/classes/hash.C 1.86: + - ^hash::sql has a new option: $.type[hash|string|table] as ^ + table.hash[] one. + + * src/classes/op.C 1.179: + - ^try has 3rd param now: finally code which executed anyway + after try or catch section + +2008-05-27 misha + * src/classes/table.C 1.243: + - bugfix: ^table.hash[key][$.type[table]] must not fail if $ + .distinct(1) wasn't specified + +2008-05-26 misha + * src/classes/op.C 1.178: + - allow ^throw[my type] + +2008-05-22 misha + * configure 1.96: + * configure.in 1.98: + - version number updated to 3.2.4b + + * src/classes/op.C 1.177: + * src/classes/string.C 1.159: + - trim format string before eval/format + + * tests/175.html 1.1: + * tests/results/175.processed 1.1: + - more tests for different format strings in .format[] + + * src/types/pa_vform.C 1.88: + - while decoding get values decode %uXXXX as well (not only %XX) + + * src/main/pa_common.C 1.229: + - unescape_chars can decode %uXXXX if charset specified + - checks for format before print number (^d.format[>...<], ^eval($d)[>...<]) + - formating with spaces (instead of tabs) removed + + * src/include/pa_common.h 1.118: + - unescape_chars can decode %uXXXX if charset specified + + * src/include/pa_charset.h 1.33: + * src/main/pa_charset.C 1.57: + - method for get char in requested charset from utf code was + added + +2008-05-19 misha + * tests/174.html 1.2: + * tests/results/174.processed 1.2: + - test for ^hashfile.cleanup[] added + + * src/classes/hashfile.C 1.44: + - optimization: don't create any key or value variable if it's + name weren't specified (^hf.foreach[;v]{...}) + +2008-05-16 misha + * src/classes/hash.C 1.85: + - optimization: don't create any key variable if variable name + wasn't specified (^h.foreach[;v]{...}) + +2008-05-15 misha + * src/classes/op.C 1.176: + - small changes + + * src/classes/hashfile.C 1.43: + - code reformating (as hash.foreach) + + * src/classes/hash.C 1.84: + - calculate var_context once before foreach + +2008-05-14 misha + * src/classes/hashfile.C 1.42: + - incorrect vars context calculation for ^hashfile.foreach[;]{} + fixed + + * src/classes/hash.C 1.83: + * src/classes/table.C 1.242: + - little optimisation + + * src/classes/file.C 1.169: + - bugfix: double absolute path while loading file + + * tests/174.html 1.1: + * tests/results/174.processed 1.1: + - tests for hashfile were added + + * buildall-with-xml 1.23: + - moving to libxslt 1.1.24 + +2008-04-30 misha + * src/classes/file.C 1.168: + - stat file while loading (local only) so .adate, .mdate and + .cdate available without additional ::stat + +2008-04-28 misha + * src/classes/file.C 1.167: + - $.name and $.content-type available for stated file + +2008-04-14 misha + * src/targets/cgi/parser3.C 1.247: + - new year in copyright %-) + + * src/include/pa_version.h 1.30: + - new version number in head + 2008-04-10 misha + * Makefile.am [release_3_2_3] 1.54.2.1: + * Makefile.am [release_3_2_3] 1.54.2.2: + * Makefile.am [release_3_2_3] 1.54.2.3: + * Makefile.in [release_3_2_3] 1.69.2.1: + * Makefile.in [release_3_2_3] 1.69.2.2: + * Makefile.in [release_3_2_3] 1.69.2.3: + * acinclude.m4 [release_3_2_3] 1.40.2.1: + * acinclude.m4 [release_3_2_3] 1.40.2.2: + * acinclude.m4 [release_3_2_3] 1.40.2.3: + * aclocal.m4 [release_3_2_3] 1.43.2.1: + * aclocal.m4 [release_3_2_3] 1.43.2.2: + * aclocal.m4 [release_3_2_3] 1.43.2.3: + * acsite.m4 [release_3_2_3] 1.18.2.1: + * acsite.m4 [release_3_2_3] 1.18.2.2: + * acsite.m4 [release_3_2_3] 1.18.2.3: + * configure [release_3_2_3] 1.95.2.1: + * configure [release_3_2_3] 1.95.2.2: + * configure [release_3_2_3] 1.95.2.3: + * configure.in [release_3_2_3] 1.97.2.1: + * configure.in [release_3_2_3] 1.97.2.2: + * configure.in [release_3_2_3] 1.97.2.3: + *** empty log message *** + + * src/include/pa_version.h [release_3_2_3] 1.29.2.1: + =no message + * tests/080.html 1.3: * tests/results/080.processed 1.5: - cut '0' from exponential part because of on diff OS it differ (