Merge branch 'patches/ws620' into patches/ws482 * patches/ws620: RXML.PXml: Do not format empty error messages. Documentation [RXML.Parser]: Minor language adjustment. RXML.Parser: Do not format empty error messages.
Merge branch 'patches/ws620' into 6.1 * patches/ws620: Documentation [RXML.Parser]: Minor language adjustment. RXML.Parser: Do not format empty error messages.
Merge branch 'patches/ws620' into 6.2 * patches/ws620: Documentation [RXML.Parser]: Minor language adjustment. RXML.Parser: Do not format empty error messages.
Merge branch 'patches/ws620' into devel * patches/ws620: Documentation [RXML.Parser]: Minor language adjustment. RXML.Parser: Do not format empty error messages.
Documentation [RXML.Parser]: Minor language adjustment.
RXML.Parser: Do not format empty error messages. report_error() now avoids adding formatting to the empty error message. This removes extraneous <pre> and <br> tags when eg "RXML Errors: Quiet RXML Parse errors" is enabled. Fixes [WS-620].
Merge branch 'grubba/rxml-memory-leak' into 6.1 * grubba/rxml-memory-leak: RXML [GC]: Fixed memory leak.
Merge branch 'grubba/rxml-memory-leak' into 6.2 * grubba/rxml-memory-leak: RXML [GC]: Fixed memory leak.
Merge branch 'grubba/rxml-memory-leak' into devel * grubba/rxml-memory-leak: RXML [GC]: Fixed memory leak.
RXML [GC]: Fixed memory leak. The RXML CompositeTagSet cache had a too primitive gc, in that it threw away the entire cache every 30 minutes. This caused composite tag sets to be recreated every 30 minutes even if they were still in use. The RXML compositeTagSet cache now instead uses weak references to only throw away the unused tag sets.
Merge branch 'patches/ws562' into patches/ws558 * patches/ws562: (9454 commits) VFS: find_above(): Don't add to cache if no cache key. [WS-562] Perform negative caching of (typically) htaccess files for 5 seconds. Fixed request trace nesting inconsistency. FTP: Allow anonymous ftp without TLS even when TLS required. FTP: Added support for the CCC command. FTP: Default to PROT P for FTPS. FTP: Allow FEAT before login. FTP: Fixed bug in MLSD/MLST handling. FTP: Extended AUTH TLS config option. FTP: Fixed SSL data connection. Pike 8.0: Temporary workaround for SSL/TLS API change. FTP: Fixed typo in PBSZ error message. FTP: Support ending the TLS control connection with REIN. FTP: Added configuration flag to require AUTH TLS. FTP: Support AUTH TLS (RFC 4217). FTP: The ftp server is always the server side of TLS. FTP: Splitted send() into low_send() and send(). Pike 8.0: More SSL/TLS API changes. FTP: Prepare for supporting AUTH TLS (RFC 4217). Protocols: Added StartTLSProtocol. ...
Merge branch 'patches/ws475' into 6.1 * patches/ws475: RXML: Improved diagnostics in VERBOSE_RXML_ERRORS mode. RXML: Simplified rxml_{parse,run}_error(). RXML.Parser: Changed calling convention for report_error().
Merge branch 'patches/ws475' into 6.2 * patches/ws475: RXML: Improved diagnostics in VERBOSE_RXML_ERRORS mode. RXML: Simplified rxml_{parse,run}_error(). RXML.Parser: Changed calling convention for report_error().
Merge branch 'patches/ws475' into patches/ws482 * patches/ws475: RXML: Improved diagnostics in VERBOSE_RXML_ERRORS mode. RXML: Simplified rxml_{parse,run}_error(). RXML.Parser: Changed calling convention for report_error().
Merge branch 'patches/ws475' into devel * patches/ws475: RXML: Improved diagnostics in VERBOSE_RXML_ERRORS mode. RXML: Simplified rxml_{parse,run}_error(). RXML.Parser: Changed calling convention for report_error().
RXML.Parser: Changed calling convention for report_error(). report_error() for the Parser now assumes responsibility for quoting and formatting error messages. This makes for a more robust handling of quoting of errors. Fixes some of [WS-475].
Merge branch 'devel' into kg/WS-168-webdav * devel: (1803 commits) Loader [MariaDB]: Set sql_mode in my.cnf. DBManager: Use CREATE USER with MariaDB 10.2 and later. WebDAV: Use urn:uuid: namespace for locks. Version bumped to 6.2.94 by buildsystem. APIs: Roxen.lookup_real_path_case_insens() now assumes utf-8 fs. APIs: Improved ambiguity recovery in lookup_real_path_case_insens(). APIs: Roxen.lookup_real_path_case_insens() now survives NFD. FTP: Normalize filenames to NFC. APIs: find_dir() now normalizes paths to NFC. HTTP: Normalize paths to Unicode NFC. Fixes bug [WS-172] where an empty initial prestate issued an internal server error. Loader: Remove the global __pragma_save_parent__. Version bumped to 6.2.93 by buildsystem. Use string_to_utf8 rather than Charset.Encoder when possible. Added more verifications in test base class. [WS-168] Adding support for copy and move between different mount points. [WS-168] Broke out parent class from RoxenTest_webdav.pike [WS-168] Version bumped to 6.2.92 by buildsystem. Fixed FIXME comment in RoxenTest_webdav.pike. [WS-168] Version bumped to 6.2.91 by buildsystem. ...
Merge branch 'devel' into ponost/admin-if-17
Merge branch 'patches/rxml' into devel * patches/rxml: Documentation [RXML]: Added some API documentation.
Documentation [RXML]: Added some API documentation.
Merge branch 'feature/CMS-297-secure-sitebuilder-cookie' into patches/ws-135 * feature/CMS-297-secure-sitebuilder-cookie: (804 commits) ...
Merge commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc' into patches/ftp Synch with Roxen 6.0/6.1 split. * commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc': (428 commits)
Merge branch 'devel' into kg/archive-client
Don't try to count ints and floats to PCode entry size
Also exempt Tag objects when calculating PCode entry size Since they are global objects referenced from many PCode objects.
Don't add RXML.Type objects size to calculated PCode size When objects like RXML.t_html(text/html, xml) was added to the calculated size of PCode objects it could inflate the numbers by up to several MB per object.
Merge branch 'patches/bug7602' into grubba/patchsystem Note: This makes this branch no longer compatible with Roxen 5.2 and earlier. * patches/bug7602: (117 commits) RoxenPatch: Complain but proceed when the CA list is empty. RoxenPatch: The patch cluster is fetched over HTTPS... RoxenPatch: Support relative URLs from the HTTPS action. Config IF: Reordered settings somewhat. Config IF: Join the tabs "Auto {Restart,Patching}" to "Auto Maintenance". RoxenPatch: Revert the patch installation on manual restart option. RoxenPatch: Don't apply pending patches on signal exit. RoxenPatch: More permission filtering. RoxenPatch: Fixed some NULL-dereferences and calls. RoxenPatch: Complain if not running a dist. RoxenPatch: Use HTTPS to fetch the patch cluster. RoxenPatch: Added control of patch installation to the restart action. RoxenPatch: Added option to automatically install patches on restart. RoxenPatch: Throw proper errors instead of arrays with a single string. RoxenPatch: Clean up the debug log output somewhat. RoxenPatch: The refresh fetch now also tries If-Modified-Since. RoxenPatch: The ETag refresh fetch now actually works. RoxenPatch: Added support for automatic fetch of patch clusters. RoxenPatch: Perform refresh fetch of the patch cluster. RoxenPatch: Inhibit "Import from Roxen" without VERSION.DIST. ...
Merge branch 'patches/ws33' into 6.1 * patches/ws33: RXML.Value: Support nested scopes in rxml_var_eval(). RXML.Context: Support dotted scope_name in parse_user_var().
Merge branch 'patches/ws33' into devel * patches/ws33: RXML.Value: Support nested scopes in rxml_var_eval(). RXML.Context: Support dotted scope_name in parse_user_var().
RXML.Value: Support nested scopes in rxml_var_eval(). rxml_var_eval() failed to store the evaluation result when evaluating in nested scopes with "Unknown scope "foo.bar".". Fixes remainder of [WS-33].
RXML.Context: Support dotted scope_name in parse_user_var(). In some circumstances (like eg RXML.Value()->rxml_var_eval()) dot-separated scopes may show up, so make sure that we support them. Fixes some of [WS-33].
Revert "PCode: Make sure to compile everything in PCode used by subevalers." This reverts commit b96e06a15958bc80162cfa0ed99a95ac42a4632f. Attempt to reduce possible overhead introduced by always compiling in PikeCompile instances.
RXML: Don't leak recorded changes to surrounding scopes when evaling PCode. Fixes [RT #25739].
Merge commit '5ee4d2b88e3e12d1622f9a161e9a29484cbf6e4c' into patches/bug7602 Bump base version to Roxen 5.2.335.
Merge commit '8a2ce4a87' into patches/bug7582 * commit '8a2ce4a87': (7413 commits)
Require threads.
Fix decoding of Roxen built-in font by updating old reference to Crypto.arcfour which isn't covered by Pike compat in 8.0. Fixes [bug 7470 (#7470)].
Merge branch 'patches/pike8.0' into devel * patches/pike8.0: RXML: Make sure to bump the RXML TagSet generation counter on added tags.
RXML: Make sure to bump the RXML TagSet generation counter on added tags. Pike 8.0 and later have optimizations for the += operator and indexing this that may cause `->=() not to be called. Potential fix for the RXML parser losing track of recently added tags.
RXML: Be more specific about weak mappings. Potential fix for the RXML parser losing track of tags in the testsuite.
Improve cache size calculation of PCode objects in general. Also trick the RAM cache manager to set a low cost on entries coming from persistent storage.
Merge branch 'patches/poodle' into 5.2 * patches/poodle: SSL: Disable support for SSL 3.0 by default. Pike 8.0: Add support for some new SSL features. Pike 8.0: #if efun() is obsolete since 10 years back. Pike 8.0: String.Buffer contains a sprintf(). Pike 8.0: Unset variables are UNDEFINED.
Merge branch 'patches/poodle' into 5.4 * patches/poodle: SSL: Disable support for SSL 3.0 by default. Pike 8.0: Add support for some new SSL features. Pike 8.0: #if efun() is obsolete since 10 years back. Pike 8.0: String.Buffer contains a sprintf(). Pike 8.0: Unset variables are UNDEFINED.
Merge branch 'patches/pike8.0' into devel * patches/pike8.0: Pike 8.0: Change static to protected.
Pike 8.0: Change static to protected. Pike 8.0 warns about use of this old keyword.
Merge branch 'patches/pike8.0' into patches/bug4594 * patches/pike8.0: (230 commits) Pike 8.0: More SSL/TLS API changes. FTPS: Fixed support for Pike 8.0. Roxen: Use the current names for the ASN1 classes. SNMP: The LDAP private ASN.1 classes aren't available in Pike 8.0. SNMP: The fields tag and cls are variables in Pike 8.0. Pike 8.0: More SSL changes. Pike 8.0: Improved robustness when upgrading old certs. Pike 8.0: Upgrade old automatic X.509v1 certs to X.509v3. Pike 8.0: Fixed SSL port binding with new API. Pike 8.0: Take advantage of the improved SSL support. Pike 8.0: Add support for some new SSL features. Pike 8.0: #if efun() is obsolete since 10 years back. Pike 8.0: String.Buffer contains a sprintf(). Pike 8.0: Unset variables are UNDEFINED. Roxen 5.4.1. ABS: List the pending call_outs. Fix warnings generated by Pike 8.0. DB browser: add support for custom DB field formatters in owning modules. DBManager.module_table_info: Consider all module entries from the DB. Added transliteration module. ... Conflicts: server/base_server/roxen.pike
Merge branch 'marty/rxml-garb-fixes-5.4' into 5.4 * marty/rxml-garb-fixes-5.4: 1000 iterations doesn't seem to be enough when collecting PCode objects. PCode: Make sure to compile everything in PCode used by subevalers. TagCache: Fix bug that prevented persistent saving of alternatives. TagCache: Store individual entries in Roxen's cache. Move the CacheTagEntry class out of the TagCache class. UserTag: Store saved scopes in external mapping to avoid circular refs.
PCode: Make sure to compile everything in PCode used by subevalers. This helps breaking up cycles, resulting in less garbage.
Merge commit '64ea9f116367427932716bbbb417bd3f20b99feb' into patches/pike8.0 * commit '64ea9f116367427932716bbbb417bd3f20b99feb': (904 commits) Roxen 5.4.1. ... Updates the base version for the Pike 8.0 patches to Roxen 5.4.1.
Merge branch 'patches/pike8.0' into devel * patches/pike8.0: Pike 8.0: Add support for some new SSL features. Pike 8.0: #if efun() is obsolete since 10 years back. Pike 8.0: String.Buffer contains a sprintf(). Pike 8.0: Unset variables are UNDEFINED.
Pike 8.0: String.Buffer contains a sprintf(). PikeCompiler has inherited String.Buffer, so we need to make sure not to call the inherited sprintf() when we want the global one. Fixes "Bad argument 1 to add(). Expected string|String.Buffer.".
Pike 8.0: Unset variables are UNDEFINED. Use object_variablep() to test whether a variable exists in an object (that's what it's for...) instead of zero_type() to check if it doesn't. Fixes issues with the config interface and Pike 8.0.
RXML: Avoid use of sscanf() to optimize PI-tag handling. Inspired by a patch by Stephen R. van den Berg <srb@cuci.nl>, thanks. Fixes [bug 5383 (#5383)].
RXML: <replace/> needs to avoid decoding the XML/HTML quotes too. Decoding quotes in attribute values breaks the markup. Fixes [bug 6902 (#6902)] and [bug 4128 (#4128)].
Fixed path display when server path contains symlinks. This is a bugfix of commit 92dc21b1d1cc2167fc52841d9f88edace5d88dc7 and solves [bug 6267 (#6267)].
RXML: Don't type check empty arguments. Also updates the roxen.version test in the BaseRXML testsuite. Fixes remaining testsuite failures.
Merge branch 'patches/bug6902' into devel * patches/bug6902: RXML: <replace/> needs to avoid decoding the XML/HTML quotes too.
Merge branch 'patches/pike7.9' into devel * patches/pike7.9: [compat][debug] Fix PikeCompile compat with Pike 7.9.
Merge branch 'patches/pike7.9' into 5.2 * patches/pike7.9: [compat][debug] Fix PikeCompile compat with Pike 7.9.
[compat][debug] Fix PikeCompile compat with Pike 7.9. String.Buffer in Pike 7.9 contains a sprintf() function. Make sure not to call it (due to our inherit) since we want the normal one. Fixes some more cases of "Bad argument 1 to add(). Expected string." where add() was passed an int.
Merge commit '6d239d6' into patches/pike7.9 * commit '6d239d6': [compat][debug] Fix PikeCompile compat with Pike 7.9.
Merge branch 'patches/bug6866' into devel * patches/bug6866: RXML: Fix recursive mutex bug.
Merge branch 'patches/bug6866' into 5.2 * patches/bug6866: RXML: Fix recursive mutex bug.
RXML: Fix recursive mutex bug. The tentative fix for [bug 6467 (#6467)] was broken. Fixes [bug 6866 (#6866)] and some of [bug 6467 (#6467)].
Removed leftover debug message.
[compat][debug] Fix PikeCompile compat with Pike 7.9. String.Buffer in Pike 7.9 contains a sprintf() function. Make sure not to call it (due to our inherit) since we want the normal one. Fixes "Bad argument 1 to add(). Expected string." where add() was passed an int.
Merge branch 'patches/bug6607 (#6607)' into devel * patches/bug6607 (#6607): RXML: Fixed width check for narrow strings. Fixes [bug 6607 (#6607)].
RXML: Fixed width check for narrow strings. Fixes [bug 6607 (#6607)].
Merge branch 'patches/bug6607 (#6607)' into devel * patches/bug6607 (#6607): RXML: header/@value is now an 8-bit string. Fixes [bug 6607 (#6607)]. RXML.t_narrowtext: Added type for 8-bit text. RXML: Perform type checking of attribute values.
RXML.t_narrowtext: Added type for 8-bit text. Needed to fix [bug 6607 (#6607)].
RXML: Perform type checking of attribute values. Call the attribute type checker (if any) in the PCode compiler. This should help catch invalid RXML earlier. Required for the fix of [bug 6607 (#6607)].
No more foreign_idents. More pain than they are worth.
RXML.PikeCompile: Removed unused function add_var(). It likely got broken by the previous commit, but it seems not to have been be used anyway. Rev: server/etc/modules/RXML.pmod/module.pmod:1.433
RXML.PikeCompiler: Split generated Pike code into ~64KB segments. This is to reduce the continuous compilation time and thus let other threads run. Hopefully alleviates [bug 6467 (#6467)]. Note: RXML.PikeCompiler()->compile() now returns void. Rev: server/etc/modules/RXML.pmod/module.pmod:1.432
Ensure that the empty value is copied when it may later be modified destructively. Only applicable to mappings, in practice. Fixes [bug 6342 (#6342)]. Backported from 5.2. Rev: server/etc/modules/RXML.pmod/module.pmod:1.424
Ensure that the empty value is copied when it may later be modified destructively. Only applicable to mappings, in practice. Fixes [bug 6342 (#6342)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.431 Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.110
Fixed some AutoDoc mk II markup. Rev: server/etc/modules/RXML.pmod/module.pmod:1.430
RXML: Adjusted some Autodoc markup to make the extractor happy. Rev: server/etc/modules/RXML.pmod/module.pmod:1.429
Fixed path bug in the decoder introduced in 1.426. Rev: server/etc/modules/RXML.pmod/module.pmod:1.428
Avoid large line numbers in generated pike code. Workaround for [bug 6146 (#6146)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.427
Avoid large line numbers in generated pike code. Workaround for [bug 6146 (#6146)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.423
Use the logical server path for source files. Rev: server/base_server/module_support.pike:1.147 Rev: server/base_server/roxenlib.pike:1.227 Rev: server/etc/modules/RXML.pmod/module.pmod:1.426
Recognize both the physical and the logical path to the server dir. May avoid showing/storing absolute paths in some cases when the server path contains symlinks. Rev: server/base_server/roxen.pike:1.1100 Rev: server/config_interface/actions/debug_info.pike:1.48 Rev: server/etc/modules/RXML.pmod/module.pmod:1.425 Rev: server/etc/modules/RoxenDebug.pmod:1.14 Rev: server/protocols/http.pike:1.642
Incorporated the true, false and null global constants into rxml. Val.true, Val.false, and Val.null are extended with the necessary rxml stuff, and they're now available in the roxen scope (as roxen.true, roxen.false, and roxen.null). Rev: server/base_server/roxen.pike:1.1091 Rev: server/etc/modules/RXML.pmod/module.pmod:1.424 Rev: server/etc/modules/Roxen.pmod:1.325 Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.109 Rev: server/modules/configuration/roxen_test.pike:1.89
Added type objects for some composite types. RXML.t_str_or_int, RXML.t_num_array, RXML.t_int_array, RXML.t_str_array, RXML.t_map_array. Rev: server/etc/modules/RXML.pmod/module.pmod:1.423
Fixed the last checkin: You cannot detect UNDEFINED by ==. Rev: server/etc/modules/RXML.pmod/module.pmod:1.422
Header changes through extra_heads should now be recorded properly by RXML and played back with correct header values. Reported in [RT#16690] but also observed independently. Rev: server/base_server/prototypes.pike:1.280 Rev: server/etc/modules/RXML.pmod/module.pmod:1.421
Header changes through extra_heads should now be recorded properly by RXML and played back with correct header values. Reported in [RT#16690] but also observed independently. Rev: server/base_server/prototypes.pike:1.281 Rev: server/etc/modules/RXML.pmod/module.pmod:1.421
Fixed bug with backslashes in paths on windows. This could cause the p-code encoder to store file references with absolute path instead of relative to the server root. Fixes RT #16326. Rev: server/etc/modules/RXML.pmod/module.pmod:1.420
Avoid rounding errors when comparing the compat level. Fixes [bug 3877 (#3877)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.419
Always sort markup attributes in order to get stable ETag hashes for same content on different servers. Fixes [bug 5676 (#5676)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.418 Rev: server/etc/modules/Roxen.pmod:1.298 Rev: server/modules/js-support/javascript_support.pike:1.73
The new t_ignore must be a subtype of all other types. Rev: server/etc/modules/RXML.pmod/module.pmod:1.417
Worked a bit more on the doc for t_ignore. Rev: server/etc/modules/RXML.pmod/module.pmod:1.416
Added a special type for <nooutput>. Rev: server/etc/modules/RXML.pmod/module.pmod:1.415
Added RXML.Frame cleanup callback. Fixes [bug 5473 (#5473)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.414 Rev: server/modules/tags/rxmltags.pike:1.632
Added RXML.Frame cleanup callback. Fixes [bug 5473 (#5473)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.359 Rev: server/modules/tags/rxmltags.pike:1.556
Fixed Context.list_var to correctly filter Value objects returning nil. Fixes [bug 5386 (#5386)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.413
Fixed missing context problem in RXML.Tag.eval_args. Rev: server/etc/modules/RXML.pmod/module.pmod:1.412
Fixed scope cloning when result p-code is evaluated. This bug could cause incorrect sharing of the same scope objects between requests when RAM cached p-code is reused. Only affected scopes on object form. Rev: server/etc/modules/RXML.pmod/module.pmod:1.411
Fixed missing type conversion of variable entities when encodings are specified. E.g. using <foo a="&var.x:url;"/> where TagFoo has declared "a" as RXML.t_int still gave a string in args["a"]. This problem is not new in 5.0, but it might possibly have compatibility aspects so it is not fixed in older versions. Also, the problem rarely manifests itself in older versions since the type system is less exposed there. Rev: server/etc/modules/RXML.pmod/module.pmod:1.410 Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.100
Removed a werror that got in by mistake. Rev: server/etc/modules/RXML.pmod/module.pmod:1.409
A new attempt, this time without the bug that caused the content to be replaced with the empty value in internally generated tags (e.g. through RXML.make_tag). Rev: server/etc/modules/RXML.pmod/module.pmod:1.408 Rev: server/etc/test/tests/rxml/RoxenTest_BaseRXML.xml:1.99 Rev: server/modules/configuration/roxen_test.pike:1.81
Roll out r1.406 since it destroyed many graphics elements in administration and Content Editor interfaces. Rev: server/etc/modules/RXML.pmod/module.pmod:1.407
Added a flag RXML.FLAG_CONTENT_VAL_REQ. This flag forces the content to have a valid value (instead of RXML.nil). Incidentally, this fix also eliminates the annoying RXML.nil when a tag with a sequential content type has no content. Rev: server/etc/modules/RXML.pmod/module.pmod:1.406
Fixed handling of nonsequential attribute values (e.g. ints and floats). Earlier the rxml parser returned RXML.nil as the value if the attribute contained no value at all. Now it instead signals an error if the attribute is required, and treat the attribute as nonexisting if it is optional. COMPAT NOTE: This change makes the parser stricter, so it isn't compatible. The error is not signalled if the compat level is 4.5 or lower. (Since it's still close after the 5.0 release we pretend that this is a 5.0 change without 5.0rel1 provision.) Rev: server/etc/modules/RXML.pmod/module.pmod:1.405
Fixed a bug where the raw arg mapping could become partially parsed in p-code when an earlier parsing of it failed with an error. This bug could cause "Bad argument 1 to finish(). Expected string" errors inside RXML.Frame._prepare(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.404
Fix argument list in error message. Rev: server/etc/modules/RXML.pmod/module.pmod:1.403
Added a fixme about adding a new "xml" type. Rev: server/etc/modules/RXML.pmod/module.pmod:1.402
Fixed bug where variable changes didn't get recorded properly if they occurred on tag entry and the first thing in the content was an uncached tag. Fixes [bug 3965 (#3965)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.358
Fixed bug where variable changes didn't get recorded properly if they occurred on tag entry and the first thing in the content was an uncached tag. Fixes [bug 3965 (#3965)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.401
Amended fix 1.339 for the t_xml and t_html types. Rev: server/etc/modules/RXML.pmod/module.pmod:1.400
Always set the truth value (page.last-true) to false when an rxml error is catched. Compatibility note: This is a change that might have compat implications. It's only enabled on compat level 5.0. Rev: server/etc/modules/RXML.pmod/module.pmod:1.399
Fix for [bug 4763 (#4763)]: Keep raw arg mapping when evaluating unparsed tags. This fixes a bug when a <cache> tag compiles the result but not the content. This bug is not new, but became more noticeable in 5.0 since type attributes, which get replaced by objects, are more common. When it didn't fail with a backtrace, the effect was that attributes got double-evaluated, which probably very rarely had any observable effect. Rev: server/etc/modules/RXML.pmod/module.pmod:1.398
Fixed missing initialization in the previous commit. Rev: server/etc/modules/RXML.pmod/module.pmod:1.397
Fixed the protocol_cache_time setting to only record cache time changes during the time the p-code is collected. This fixes bugs when e.g. shared cache entries could propagate lowered cache times incorrectly between pages. Rev: server/etc/modules/RXML.pmod/module.pmod:1.396
The whitespace handling for the string type is not expected to change anymore. Rev: server/etc/modules/RXML.pmod/module.pmod:1.395
Some more hints on the use of RXML.t_any_text. Rev: server/etc/modules/RXML.pmod/module.pmod:1.394
Make the Autodoc extractor happy. Rev: server/etc/modules/RXML.pmod/module.pmod:1.393
Do not implicitly propagate state_update events from evaluation in exec arrays. Frames now has to do it explicitly through the new RXML.Frame.exec_array_state_update callback. This fixes a bug where persistent cache entries could get updated continuously if they contain certain (fairly uncommon) rxml combinations. Note: This is strictly speaking an incompatible change of semantics, although it should affect very few tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.392
Improved RXML_PCODE_UPDATE_DEBUG logging. Rev: server/etc/modules/RXML.pmod/module.pmod:1.391
Added debug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.390 Rev: server/protocols/http.pike:1.588
Patch from srb: Use compacter (and faster) Crypto.XYZ.hash() member function. Rev: server/base_server/global_variables.pike:1.115 Rev: server/base_server/prototypes.pike:1.224 Rev: server/base_server/roxen.pike:1.1009 Rev: server/bin/setup_nsr.pike:1.5 Rev: server/etc/modules/RXML.pmod/module.pmod:1.389 Rev: server/modules/tags/rxmltags.pike:1.582 Rev: server/protocols/http.pike:1.574
Allow rxml_var_eval to return this without creating a loop. Rev: server/etc/modules/RXML.pmod/module.pmod:1.388
Fixed missing invalidation of CompositeTagSet objects which could cause overcaching problems, resulting in internal server errors when tag modules are reloaded. Rev: server/etc/modules/RXML.pmod/module.pmod:1.387
Made RXML.t_mapping->encode conform better to the spec. Allow and ignore RXML.nil in RXML.t_array->encode, afterall. Rev: server/etc/modules/RXML.pmod/module.pmod:1.386
Fixed an O(n^2) performance problem in the p-code compactor. A typical case is when building a cache entry of an expanded emit loop with many iterations. As a side effect the compactor got a lot simpler (mostly indentation change). Added request trace of the compactor. Added a recognition constant to RXML.nil and RXML.empty. Rev: server/etc/modules/RXML.pmod/module.pmod:1.385
And another.. :P Rev: server/etc/modules/RXML.pmod/module.pmod:1.357
Fixed silly off-by-one error. Rev: server/etc/modules/RXML.pmod/module.pmod:1.356
Amended the type hierarchy so that RXML.t_any_seq (which is a new alias for RXML.t_array) works as a tag content type to collect a sequence of arbitrary values. Rev: server/etc/modules/RXML.pmod/module.pmod:1.384
Fixed an O(n^2) performance problem in PCode.finish that could get really bad when compacting large p-code arrays. A typical case is when building a cache entry of an expanded emit loop with many iterations. Rev: server/etc/modules/RXML.pmod/module.pmod:1.355
Added some handy type recognition constants. Rev: server/etc/modules/RXML.pmod/module.pmod:1.383
Backported t_array and t_mapping types for internal prototyping purposes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.354
Tweaked a comment. Rev: server/etc/modules/RXML.pmod/module.pmod:1.382
Fixed RXML.t_array to behave more like a sequential type should. Fixed type check in RXML.t_any to not accept RXML.nil, since it isn't a value (other type checks already does this). Rev: server/etc/modules/RXML.pmod/module.pmod:1.381
Simplified _sprintf's for types and made them understand %s to print the type name. Rev: server/etc/modules/RXML.pmod/module.pmod:1.380
Fixed a bogus debug check. Rev: server/etc/modules/RXML.pmod/module.pmod:1.379
Added pike_cycle_depth constants to make Pike.count_memory avoid the most central global structures. Rev: server/base_server/configuration.pike:1.658 Rev: server/base_server/module.pike:1.232 Rev: server/base_server/roxen.pike:1.996 Rev: server/etc/modules/RXML.pmod/module.pmod:1.378 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.35 Rev: server/etc/modules/Roxen.pmod:1.249
Removed two unused constants. Rev: server/etc/modules/RXML.pmod/module.pmod:1.377
Fixed missing functions for dumping CSF.EnterScope and CSF.LeaveScope. Rev: server/etc/modules/RXML.pmod/module.pmod:1.376
Fix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.375
Modernized foreach'es. Made RXML.nil and RXML.empty known to type_for_value. Fixed a couple of debug checks. Rev: server/etc/modules/RXML.pmod/module.pmod:1.374
Fixed optimization bugs that could cause scopes to have the wrong visibility in cached p-code: Scope enter/leave is now separated from the scope variable assignments to ensure correct sequence. Rewrote the p-code compactor to cope with this. Rev: server/etc/modules/RXML.pmod/module.pmod:1.373
Updated the p-code version since the last fix makes the p-code incompatible. Rev: server/etc/modules/RXML.pmod/module.pmod:1.353
Fixed overoptimization errors for result collected pcode which could cause nested scopes to incorrectly remain after the tag ends. Unfortunately this fix makes the pcode compactor a lot less efficient. Rev: server/etc/modules/RXML.pmod/module.pmod:1.352
Fixed some Type.type_check functions to accept RXML.empty. Added a function to get the rxml type based on a value. Rev: server/etc/modules/RXML.pmod/module.pmod:1.372
Renamed the new t_any_seq to t_array and added a t_mapping type. Rev: server/etc/modules/RXML.pmod/module.pmod:1.371
Added RXML.t_any_seq, which makes it possible to collect several results of any type to an array. Rev: server/etc/modules/RXML.pmod/module.pmod:1.370
Clarified the docs for RXML.Context.extend_scope - it does not always copy the scope. Rev: server/etc/modules/RXML.pmod/module.pmod:1.369
Clean up request tracing regarding HTML quoting. Tracing may be sent to the log, to a web page or both so the tracing module cannot expect to pass HTML data. This change is incompatible in the sense that old calls may render with double quoting but that's arguably better than leaking unquoted tags to the Resolve Path web page. The Resolve Path wizard now identifies messages containing linefeeds and present them in <pre> style to maintain columns etc. Rev: server/base_server/configuration.pike:1.656 Rev: server/config_interface/actions/resolv.pike:1.34 Rev: server/etc/include/request_trace.h:1.14 Rev: server/etc/modules/RXML.pmod/module.pmod:1.368
Moving to pike 7.8 and dropping compatibility with earlier pikes. Rev: server/arg_cache_plugins/replicate.pike:1.27 Rev: server/base_server/__default.pmod:1.2 Rev: server/base_server/cache.pike:1.90 Rev: server/base_server/config_userdb.pike:1.53 Rev: server/base_server/configuration.pike:1.653 Rev: server/base_server/emit_object.pike:1.7 Rev: server/base_server/fonts.pike:1.87 Rev: server/base_server/global_variables.pike:1.110 Rev: server/base_server/javamodule.pike:1.7 Rev: server/base_server/language.pike:1.43 Rev: server/base_server/module.pike:1.231 Rev: server/base_server/module_support.pike:1.135 Rev: server/base_server/prototypes.pike:1.219 Rev: server/base_server/roxen.pike:1.981 Rev: server/base_server/roxenlib.pike:1.224 Rev: server/base_server/roxenloader.pike:1.397 Rev: server/base_server/rxmlhelp.pike:1.65 Rev: server/base_server/smtprelay.pike:3.2 Rev: server/base_server/snmpagent.pike:1.24 Rev: server/bin/buildenv.pike:1.10 Rev: server/bin/create_testcert.pike:1.2 Rev: server/bin/functions:1.19 Rev: server/bin/garbagecollector.pike:1.23 Rev: server/bin/setup_nsr.pike:1.4 Rev: server/bin/sqlhelper.pike:1.4 Rev: server/config_interface/actions/change_version.pike:1.15 Rev: server/config_interface/actions/debug_info.pike:1.40 Rev: server/config_interface/actions/feature_list.pike:1.14 Rev: server/config_interface/actions/ftpstatus.pike:1.4 Rev: server/config_interface/actions/generate_rsa.pike:1.7 Rev: server/config_interface/actions/make_rsa_csr.pike:1.11 Rev: server/config_interface/actions/make_selfsigned_dsa.pike:1.11 Rev: server/config_interface/actions/make_selfsigned_rsa.pike:1.10 Rev: server/config_interface/actions/ssl_common.pike:1.8 Rev: server/config_interface/actions/tablist.pike:1.10 Rev: server/config_interface/actions/threads.pike:1.8 Rev: server/etc/env.d/java.pike:1.19 Rev: server/etc/include/variables.h:1.18 Rev: server/etc/modules/DBManager.pmod:1.76 Rev: server/etc/modules/ExtSQL.pmod:1.4 Rev: server/etc/modules/ExtScript.pmod:1.22 Rev: server/etc/modules/GText.pmod:1.20 Rev: server/etc/modules/HTML.pmod:1.8 Rev: server/etc/modules/JavaModule.pmod:1.25 Rev: server/etc/modules/LazyImage.pmod/CoordinateSystem.pike:1.4 Rev: server/etc/modules/LazyImage.pmod/Legend.pike:1.5 Rev: server/etc/modules/LazyImage.pmod/module.pmod:1.19 Rev: server/etc/modules/License.pmod:1.27 Rev: server/etc/modules/Map.pmod:1.7 Rev: server/etc/modules/PropertySet.pike:1.12 Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.24 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.65 Rev: server/etc/modules/RXML.pmod/module.pmod:1.367 Rev: server/etc/modules/Roxen.pmod:1.246 Rev: server/etc/modules/RoxenDebug.pmod:1.12 Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.10 Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.6 Rev: server/etc/modules/RoxenSSLFile.pike:1.27(DEAD) Rev: server/etc/modules/SNMP.pmod:1.10 Rev: server/etc/modules/Servlet.pmod:1.31 Rev: server/etc/modules/SloppyDOM.pmod:1.16 Rev: server/etc/modules/StateHandler.pmod:1.13 Rev: server/etc/modules/VFS.pmod:1.7 Rev: server/etc/modules/Variable.pmod/Date.pike:1.9 Rev: server/etc/modules/Variable.pmod/Email.pike:1.15 Rev: server/etc/modules/Variable.pmod/Image.pike:1.5 Rev: server/etc/modules/Variable.pmod/Language.pike:1.2 Rev: server/etc/modules/Variable.pmod/MapLocation.pike:1.6 Rev: server/etc/modules/Variable.pmod/Mapping.pike:1.9 Rev: server/etc/modules/Variable.pmod/Upload.pike:1.5 Rev: server/etc/modules/Variable.pmod/module.pmod:1.108 Rev: server/etc/modules/_NewLDAP.pmod/client.pike:1.11(DEAD) Rev: server/etc/modules/_NewLDAP.pmod/ldap_globals.h:1.1(DEAD) Rev: server/etc/modules/_NewLDAP.pmod/ldap_privates.pmod:1.1(DEAD) Rev: server/etc/modules/_NewLDAP.pmod/module.pmod:1.4(DEAD) Rev: server/etc/modules/_NewLDAP.pmod/protocol.pike:1.1(DEAD) Rev: server/etc/roxen_master.pike:1.150 Rev: server/etc/test/tests/ftp/ftp_test.pike:1.4 Rev: server/font_handlers/freetype.pike:1.30 Rev: server/font_handlers/imagedir.pike:1.15 Rev: server/font_handlers/imagetar.pike:1.10 Rev: server/font_handlers/ttf.pike:1.18 Rev: server/languages/catala.pike:1.11 Rev: server/languages/chinese.pike:1.2 Rev: server/languages/croatian.pike:1.11 Rev: server/languages/czech.pike:1.18 Rev: server/languages/dutch.pike:1.11 Rev: server/languages/finnish.pike:1.10 Rev: server/languages/french.pike:1.13 Rev: server/languages/german.pike:1.11 Rev: server/languages/hungarian.pike:1.7 Rev: server/languages/italian.pike:1.13 Rev: server/languages/japanese.pike:1.22 Rev: server/languages/maori.pike:1.9 Rev: server/languages/norwegian.pike:1.12 Rev: server/languages/polish.pike:1.8 Rev: server/languages/portuguese.pike:1.11 Rev: server/languages/russian.pike:1.10 Rev: server/languages/serbian.pike:1.10 Rev: server/languages/slovenian.pike:1.17 Rev: server/languages/spanish.pike:1.12 Rev: server/languages/swedish.pike:1.20 Rev: server/modules/configuration/config_tags.pike:1.197 Rev: server/modules/configuration/roxen_test.pike:1.68 Rev: server/modules/configuration/update.pike:1.40 Rev: server/modules/examples/userdb_ex.pike:1.8 Rev: server/modules/filesystems/filesystem.pike:1.157 Rev: server/modules/filesystems/incoming.pike:1.19 Rev: server/modules/filesystems/restrictedfs.pike:1.24 Rev: server/modules/filesystems/sqlfs.pike:1.9 Rev: server/modules/filesystems/userfs.pike:1.71 Rev: server/modules/filters/tableborder.pike:1.13 Rev: server/modules/filters/whitespace_remover.pike:1.4 Rev: server/modules/graphics/business.pike:1.152 Rev: server/modules/graphics/gxml.pike:1.38 Rev: server/modules/graphics/pimage.pike:1.31 Rev: server/modules/graphics/rimage/rimage.pike:1.23 Rev: server/modules/icecast/icecast.pike:1.12 Rev: server/modules/icecast/pl_common.pike:1.9 Rev: server/modules/js-support/javascript_support.pike:1.68 Rev: server/modules/ldap/ldaptag.pike:2.38 Rev: server/modules/ldap/userdb_ldap.pike:1.14 Rev: server/modules/logging/home_logger.pike:1.35 Rev: server/modules/misc/preferred_language.pike:1.32 Rev: server/modules/misc/randomtext.pike:1.10 Rev: server/modules/misc/wapadapter.pike:1.13 Rev: server/modules/misc/webdav.pike:1.38 Rev: server/modules/proxies/connect.pike:1.20 Rev: server/modules/proxies/proxy.pike:1.57 Rev: server/modules/proxies/wais.pike:1.28 Rev: server/modules/scripting/cgi.pike:2.65 Rev: server/modules/scripting/fastcgi.pike:2.13 Rev: server/modules/scripting/perl.pike:2.26 Rev: server/modules/scripting/php.pike:2.5 Rev: server/modules/scripting/piketag.pike:2.38 Rev: server/modules/scripting/servlet.pike:2.24 Rev: server/modules/scripting/webapp.pike:2.32 Rev: server/modules/security/auth_httpbasic.pike:1.12 Rev: server/modules/security/auth_httpcookie.pike:1.12 Rev: server/modules/security/htaccess.pike:1.106 Rev: server/modules/security/userdb_sql.pike:1.10 Rev: server/modules/security/userdb_system.pike:1.12 Rev: server/modules/tags/accessed.pike:1.57 Rev: server/modules/tags/email.pike:1.43 Rev: server/modules/tags/emit_exec.pike:1.4 Rev: server/modules/tags/emit_timerange.pike:1.29 Rev: server/modules/tags/insert_cached_href.pike:1.22 Rev: server/modules/tags/obox.pike:1.41 Rev: server/modules/tags/rxmltags.pike:1.553 Rev: server/modules/tags/wizz.pike:1.10 Rev: server/modules/tags/writefile.pike:1.20 Rev: server/modules/throttling/throttling_byaddress.pike:1.6 Rev: server/modules/throttling/throttling_bytime.pike:1.8 Rev: server/ntroxenloader.pike:1.9 Rev: server/protocols/ftp.pike:2.125 Rev: server/protocols/http.pike:1.561 Rev: server/protocols/prot_hilfe.pike:2.15 Rev: server/protocols/prot_snmp.pike:2.8 Rev: server/sbin/roxen-create-server:1.5 Rev: server/tools/ntroxen/startdll/cmdline.cpp:1.21
Workaround for unused variable warnings in compiled p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.366
Avoid false alarms about creating tag sets during rxml evaluation from within the admin interface. Fixes [bug 4499 (#4499)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.365 Rev: server/modules/configuration/config_filesystem.pike:1.115
Fixed some 7.7 warnings. Rev: server/base_server/disk_cache.pike:1.63 Rev: server/base_server/global_variables.pike:1.109 Rev: server/etc/modules/DBManager.pmod:1.73 Rev: server/etc/modules/RXML.pmod/module.pmod:1.364 Rev: server/etc/modules/Roxen.pmod:1.238
Fixed _sprintf in some classes that are commonly inherited to show the actual class name. Rev: server/etc/modules/RXML.pmod/module.pmod:1.363
Added a warning to detect if tag sets are being created at runtime. Better typing of the internal composite tag sets. Rev: server/etc/modules/RXML.pmod/module.pmod:1.362
Avoid stacking up several stale p-code notes in the same error. Rev: server/etc/modules/RXML.pmod/module.pmod:1.361
Fixed VariableChange.eval_rxml_consts to adhere better to the full RXML.Scope API. Rev: server/etc/modules/RXML.pmod/module.pmod:1.360
Don't convert encodable RXML.Value and RXML.Scope objects to plain values in scopes when p-code is encoded. Rev: server/etc/modules/RXML.pmod/module.pmod:1.359
Changed the p-code codec to fall back to the pike codec. That way it's possible to encode references to arbitrary pike modules. Paths to modules in the server tree are encoded relative to the server-x.y.z directory. Other paths are encoded absolute, which could lead to problems with local modules in a replicated setup. We'd have to implement a system to search through the roxen module paths to avoid that. Anyway, it only becomes a problem if local modules start to use things like RXML.Scope or RXML.Value objects that are dumped directly into the p-code (i.e. have is_RXML_encodable flags). Rev: server/etc/modules/RXML.pmod/module.pmod:1.358
Extended the Scope interface to allow cloning, and use it when recording changes for cache static frames. Rev: server/etc/modules/RXML.pmod/module.pmod:1.357
Fixed a case where object scopes weren't correctly converted to mappings. Added a tool function scope_to_mapping for this. Rev: server/etc/modules/RXML.pmod/module.pmod:1.356
Added null recognition constant to RXML.nil for use with null objects that inherit it. Rev: server/etc/modules/RXML.pmod/module.pmod:1.355
Fixed many _sprintf's to only return a debug description when given the 'O' flag, as they should. (Some are declared void|int to keep inherit compatibility.) Rev: server/etc/modules/RXML.pmod/module.pmod:1.354
Bumped the major p-code version for 4.6. Rev: server/etc/modules/RXML.pmod/module.pmod:1.353
Do not allow an RXML variable to be set to RXML.nil. That deletes the variable instead. Added option to RXML.Context.list_var to not check for and correctly avoid listing variables with RXML.nil values. Rev: server/etc/modules/RXML.pmod/module.pmod:1.352
Made the RXML.Empty (exists only in >= 4.0) and RXML.Nil classes available from the outside to make it possible to inherit them. Rev: server/etc/modules/RXML.pmod/module.pmod:1.351
Made the RXML.Empty (exists only in >= 4.0) and RXML.Nil classes available from the outside to make it possible to inherit them. Rev: server/etc/modules/RXML.pmod/module.pmod:1.320
Made the RXML.Empty (exists only in >= 4.0) and RXML.Nil classes available from the outside to make it possible to inherit them. Rev: server/etc/modules/RXML.pmod/module.pmod:1.343
Fixed and documented "rxmlsrc" and "rxmlpcode" for $eval-status. Rev: server/base_server/configuration.pike:1.616 Rev: server/etc/modules/RXML.pmod/module.pmod:1.350
Fixed and documented "rxmlsrc" and "rxmlpcode" for $eval-status. Rev: server/base_server/configuration.pike:1.594 Rev: server/etc/modules/RXML.pmod/module.pmod:1.342
Fixed bug when entities and tags return RXML.empty. Rev: server/etc/modules/RXML.pmod/module.pmod:1.341 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.33
Fixed bug when entities and tags return RXML.empty. Rev: server/etc/modules/RXML.pmod/module.pmod:1.349 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.33
Bumped the major p-code version to keep in synch with 4.5. Rev: server/etc/modules/RXML.pmod/module.pmod:1.348
Fixed a bug that could cause variable changes to be tracked incorrectly in result p-code when a scope is nested within another scope with the same name. This could in some very rare cases result in bogus "Unknown scope" RXML errors when such p-code is evaluated. It could also theoretically cause a variable in the outer scope to incorrectly become visible in the inner scope, but a test case where this has a visible effect is not known. The p-code version number has been bumped to flush out old p-code which can possibly contain this bug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.347
Fixed a bug that could cause variable changes to be tracked incorrectly in result p-code when a scope is nested within another scope with the same name. This could in some very rare cases result in bogus "Unknown scope" RXML errors when such p-code is evaluated. It could also theoretically cause a variable in the outer scope to incorrectly become visible in the inner scope, but a test case where this has a visible effect is not known. The p-code version number has been bumped to flush out old p-code which can possibly contain this bug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.340
Fixed a bug that could cause variable changes to be tracked incorrectly in result p-code when a scope is nested within another scope with the same name. This could in some very rare cases result in bogus "Unknown scope" RXML errors when such p-code is evaluated. It could also theoretically cause a variable in the outer scope to incorrectly become visible in the inner scope, but a test case where this has a visible effect is not known. The p-code version number has been bumped to flush out old p-code which can possibly contain this bug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.319
Added a debug check to discover a tricky sequencing error when both scopes and variables in them gets set in the same pcode entry. Rev: server/etc/modules/RXML.pmod/module.pmod:1.346
Don't decode the markup sensitive chars "<", ">" and "&" in the <replace> tag. Fixes [bug 4128 (#4128)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.339 Rev: server/modules/tags/rxmltags.pike:1.494
Don't decode the markup sensitive chars "<", ">" and "&" in the <replace> tag. Fixes [bug 4128 (#4128)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.345 Rev: server/modules/tags/rxmltags.pike:1.511
Handle all the decode errors due to bytecode incompatibilities. Rev: server/etc/modules/RXML.pmod/module.pmod:1.344
Small debug fix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.343
Fixed bug when a tag starts a new scope with the same variable mapping/object as the closest surrounding tag with a scope. Fixes [bug 3875 (#3875)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.338
Store the p code version as a string instead since floats doesn't cope well with equality comparisons. This could cause bogus "P-code is stale" errors, particularly on 64 bit systems where the internal float precision is higher than the encoded one. Rev: server/etc/modules/RXML.pmod/module.pmod:1.337
Some autodoc syntax fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.342
Some autodoc syntax fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.336
Store the p code version as a string instead since floats doesn't cope well with equality comparisons. This could cause bogus "P-code is stale" errors, particularly on 64 bit systems where the internal float precision is higher than the encoded one. Rev: server/etc/modules/RXML.pmod/module.pmod:1.341
Small clarification. Rev: server/etc/modules/RXML.pmod/module.pmod:1.340
Fix for the previous checkin: Don't feed nonstrings to Parser.HTML. Rev: server/etc/modules/RXML.pmod/module.pmod:1.339
Potential fix for [bug 3883 (#3883)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.338
Fixed bug when a tag starts a new scope with the same variable mapping/object as the closest surrounding tag with a scope. Fixes [bug 3875 (#3875)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.337
Fixed a small spello. Rev: server/etc/modules/RXML.pmod/module.pmod:1.336
Bugfix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.335
Added grouping to use of `+() in finish() to avoid huge stack usage. Rev: server/etc/modules/RXML.pmod/module.pmod:1.334
Fixed nocache propagation through cache static tags. This bug could give overcaching if a <cache> or <nocache> tag was used inside a cache static tag like <if> or <emit> which in turn was used inside a non-cache static tag such as <replace> or <trimlines>. Rev: server/etc/modules/RXML.pmod/module.pmod:1.333
Fixed nocache propagation through cache static tags. This bug could give overcaching if a <cache> or <nocache> tag was used inside a cache static tag like <if> or <emit> which in turn was used inside a non-cache static tag such as <replace> or <trimlines>. Rev: server/etc/modules/RXML.pmod/module.pmod:1.318
Added kludge to catch and rethrow the internal errors in decode_value that are due to staleness. Handle missing context in run_error and parse_error. Rev: server/etc/modules/RXML.pmod/module.pmod:1.332
Throw a typed error for stale p-code errors. Rev: server/etc/modules/RXML.pmod/module.pmod:1.331
Fixed aesthetic bug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.330
Made the tolerant_charref_decode_parser a bit more tolerant. Rev: server/etc/modules/RXML.pmod/module.pmod:1.329
Added RXML.t_xml->decode_charrefs. Rev: server/etc/modules/RXML.pmod/module.pmod:1.328
t_nil better be a subtype of every other type. Rev: server/etc/modules/RXML.pmod/module.pmod:1.327
Fixed confusion regarding the use of RXML.nil as empty value (it should not ever be used that way) and introduced a new object RXML.empty for that instead. This is mostly a documentation fix, actually. Also use a new type t_bottom as subtype of every type instead of t_nil, which represents the type with no storage (like void in Pike). Don't try to graft a generic empty value into the type tree; it can't be made to work well enough. Compatibility issues because of this should be rare since the type system hardly is used at all. Rev: server/etc/modules/RXML.pmod/module.pmod:1.326
Refactored the p-code compactor a little and fixed a bug in it that was introduced in revision 1.320. The effect was that parts of tag content could be lost in certain situations. Rev: server/etc/modules/RXML.pmod/module.pmod:1.325
Improved robustness in a destroy(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.324 Rev: server/etc/modules/Variable.pmod/module.pmod:1.84
Don't introduce sequence bugs in VariableChange objects by merging them when the PCode is compacted. Amends the fix for [bug 3478 (#3478)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.323
Don't introduce sequence bugs in VariableChange objects by merging them when the PCode is compacted. Amends the fix for [bug 3478 (#3478)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.317
Fixed bug in handling of subvariables (foo.bar.gnu etc) in Context.set_var and delete_var. That code has probably not been used much.. Rev: server/etc/modules/RXML.pmod/module.pmod:1.316
Fixed bug in handling of subvariables (foo.bar.gnu etc) in Context.set_var and delete_var. That code has probably not been used much.. Rev: server/etc/modules/RXML.pmod/module.pmod:1.307
Fixed bug in handling of subvariables (foo.bar.gnu etc) in Context.set_var and delete_var. That code has probably not been used much.. Rev: server/etc/modules/RXML.pmod/module.pmod:1.294
Fixed bug in handling of subvariables (foo.bar.gnu etc) in Context.set_var and delete_var. That code has probably not been used much.. Rev: server/etc/modules/RXML.pmod/module.pmod:1.322
Fixed the PCode compactor to correctly merge a VariableChange object also when it's first in the exec array. Rev: server/etc/modules/RXML.pmod/module.pmod:1.321
Some debug logging improvements. Rev: server/etc/modules/RXML.pmod/module.pmod:1.320
Fixed warning. Rev: server/etc/modules/RXML.pmod/module.pmod:1.319 Rev: server/modules/logging/roxen_network.pike:1.12
Workaround for circular dependency. Rev: server/etc/modules/RXML.pmod/module.pmod:1.318
Evaluate constant RXML.Value objects in p-code variable settings so that we don't try to encode the objects themselves. Rev: server/etc/modules/RXML.pmod/module.pmod:1.317
Instantiate scopes correctly in result p-code and ensure that variable settings aren't attempted before the corresponding scope is in place. This fixes [bug 3478 (#3478)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.316
Instantiate scopes correctly in result p-code and ensure that variable settings aren't attempted before the corresponding scope is in place. This fixes [bug 3478 (#3478)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.315
Instantiate scopes correctly in result p-code and ensure that variable settings aren't attempted before the corresponding scope is in place. This fixes [bug 3478 (#3478)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.306
Made eval_finish a tentative symbol. Rev: server/etc/modules/RXML.pmod/module.pmod:1.315
More "by the book" locking in PikeCompile, to dispell doubts. Rev: server/etc/modules/RXML.pmod/module.pmod:1.314
More "by the book" locking in PikeCompile, to dispell doubts. Rev: server/etc/modules/RXML.pmod/module.pmod:1.305
More "by the book" locking in PikeCompile, to dispell doubts. Rev: server/etc/modules/RXML.pmod/module.pmod:1.293
Handle destructed tag sets in TagSet.get_hash_data. Rev: server/etc/modules/RXML.pmod/module.pmod:1.313
Small doc fix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.312
Fixed overcaching problem with RXML.Value.rxml_const_eval in cases like this: &client.ip; <nocache>&client.ip;</nocache> Rev: server/etc/modules/RXML.pmod/module.pmod:1.304
Fixed overcaching problem with RXML.Value.rxml_const_eval in cases like this: &client.ip; <nocache>&client.ip;</nocache> Rev: server/etc/modules/RXML.pmod/module.pmod:1.311
Fixed return value from CompiledCallback. Rev: server/etc/modules/RXML.pmod/module.pmod:1.310
Fixed bug with CompiledCallback clobbering in ram cached p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.309
Fixed the implementation of add_p_code_callback so that order is reserved wrt cached variable assignments. Rev: server/etc/modules/RXML.pmod/module.pmod:1.308
Added Context.add_p_code_callback to be able to execute arbitrary code when result p-code is evaluated (necessary to fix the bug with the <charset> tag). Also made some _sprintf's more robust. Rev: server/etc/modules/RXML.pmod/module.pmod:1.307
Improved RXML_OBJ_DEBUG to do better than "destroy RXML.Frame(0)" in many cases. Rev: server/etc/modules/RXML.pmod/module.pmod:1.306
Made TagSet._sprintf more robust wrt destructed objects(?). Rev: server/etc/modules/RXML.pmod/module.pmod:1.305
Encode the compat level with configuration objects, since there are several occasions where it affects the type or the flags of tags. Upped P_CODE_VERSION for 3.4. Rev: server/etc/modules/RXML.pmod/module.pmod:1.304
Markup fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.303
Made the autogenerated identifiers in PikeCompile more unique as a kludge to avoid that the slightly bogus cyclic check in the compiler kicks in between unrelated compiles. Fixes [bug 3289 (#3289)] (which looks like a very rare circumstance). Rev: server/etc/modules/RXML.pmod/module.pmod:1.302
Made the autogenerated identifiers in PikeCompile more unique as a kludge to avoid that the slightly bogus cyclic check in the compiler kicks in between unrelated compiles. Fixes [bug 3289 (#3289)] (which looks like a very rare circumstance). Rev: server/etc/modules/RXML.pmod/module.pmod:1.292
Made the autogenerated identifiers in PikeCompile more unique as a kludge to avoid that the slightly bogus cyclic check in the compiler kicks in between unrelated compiles. Fixes [bug 3289 (#3289)] (which looks like a very rare circumstance). Rev: server/etc/modules/RXML.pmod/module.pmod:1.274
Don't use sort() when generating the tag set hash, since it's locale dependent. This could cause bugs where stored p-code wouldn't get loaded claiming that "the tag set has changed since it was encoded". Rev: server/etc/modules/RXML.pmod/module.pmod:1.301
Added RXML.Context.set_id_misc and RXML.Context.set_root_id_misc as alternatives to set_misc which works better when the value should be used after the RXML pass has finished. Rev: server/etc/modules/RXML.pmod/module.pmod:1.300
Refdoc fixes. Rev: server/etc/modules/License.pmod:1.20 Rev: server/etc/modules/RXML.pmod/module.pmod:1.299 Rev: server/etc/modules/Roxen.pmod:1.150 Rev: server/etc/modules/SloppyDOM.pmod:1.7 Rev: server/etc/modules/Variable.pmod/Schedule.pike:1.8 Rev: server/modules/examples/userdb_ex.pike:1.4 Rev: server/modules/security/userdb_sql.pike:1.9 Rev: server/protocols/ftp.pike:2.82
Disabled RXML.Value.rxml_const_eval (= made it equivalent with RXML.Value.rxml_var_eval) due to the double encoding problem when the cached value is used (c.f. [bug 2736 (#2736)]). A better but not completely compatible fix has been made in 3.3. Rev: server/etc/modules/RXML.pmod/module.pmod:1.273
Disabled RXML.Value.rxml_const_eval (= made it equivalent with RXML.Value.rxml_var_eval) due to the double encoding problem when the cached value is used (c.f. [bug 2736 (#2736)]). A better but not completely compatible fix has been made in 3.3. Rev: server/etc/modules/RXML.pmod/module.pmod:1.291
Fixed quoting inconsistency when RXML.Value.rxml_const_eval is used; the cached value could be encoded twice. rxml_const_eval will now never get a type argument. Rev: server/etc/modules/RXML.pmod/module.pmod:1.298
Bumped the p-code version for the release. Should have been done before the release, but better late than never.. :\ Rev: server/etc/modules/RXML.pmod/module.pmod:1.297
Fixed a delayed resolve bug that could occur when a frame has thrown an exception. Rev: server/etc/modules/RXML.pmod/module.pmod:1.296
Fixed the second issue in [bug 3235 (#3235)], where the compilation object wasn't propagated properly when a RenewablePCode was renewed. Also fixed a potential concurrency bug which could possibly give the same effect. Fixed some debug messages. Rev: server/etc/modules/RXML.pmod/module.pmod:1.295
More graceful handling of the case when a context with p-code compilation activated is used in a recursive parse without compilation. Rev: server/etc/modules/RXML.pmod/module.pmod:1.294
Forgot one case. Rev: server/etc/modules/RXML.pmod/module.pmod:1.293
More controlled reuse of PikeCompile objects (it's not good to store them in the context since several p-code objects with very different life lengths can be created/updated in the same context). Also a fix in the delayed resolve of arg functions (a frame that gets stored in result p-code and that got FLAG_DONT_CACHE_RESULT set from inner tags won't have a delayed resolved arg function at the time it's added, but might get it later on). These two things fixes [bug 3235 (#3235)], which was introduced in the previous revision (thus it's 3.3 only). Also added some more debug checks in PikeCompile. Rev: server/etc/modules/RXML.pmod/module.pmod:1.292
Resolve the generated argument functions more quickly so that we don't have to deal with unresolved references in PCode._eval. This can improve performance somewhat. Rev: server/etc/modules/RXML.pmod/module.pmod:1.291
Turn off nested result collection through Context.evaled_p_code during execution of exec arrays. (This bug surfaced due to the fix of the previous one.) Rev: server/etc/modules/RXML.pmod/module.pmod:1.290
Fixed a bug that caused cache entries in the <cache> tag to be incomplete: If there's a tag inside that isn't cache static and that doesn't loop then the the contents of any following cache static tags were left out. Rev: server/etc/modules/RXML.pmod/module.pmod:1.289
Fixed a bug that caused encoding of p-code containing CacheStaticFrame objects to fail. Made VariableChange._sprintf a bit more robust. Rev: server/etc/modules/RXML.pmod/module.pmod:1.288
Implemented handling of cache static tags to improve caching; see FLAG_IS_CACHE_STATIC for details. Rev: server/etc/modules/RXML.pmod/module.pmod:1.287
Added Frame.check_security_object to make it possible to fix a temporary leak involving UserTag objects. Improved the request trace for frames without tag objects. Rev: server/etc/modules/RXML.pmod/module.pmod:1.286
Added Frame.check_security_object to make it possible to fix a temporary leak involving UserTag objects. Rev: server/etc/modules/RXML.pmod/module.pmod:1.272
Set up module, program and include paths correctly. Rev: server/etc/modules/.autodoc:1.1(DEAD) Rev: server/etc/modules/DBManager.pmod:1.54(DEAD) Rev: server/etc/modules/Dims.pmod:1.11(DEAD) Rev: server/etc/modules/ExtScript.pmod:1.15(DEAD) Rev: server/etc/modules/GText.pmod:1.14(DEAD) Rev: server/etc/modules/HTML.pmod:1.5(DEAD) Rev: server/etc/modules/JavaModule.pmod:1.23(DEAD) Rev: server/etc/modules/LazyImage.pmod/CoordinateSystem.pike:1.1(DEAD) Rev: server/etc/modules/LazyImage.pmod/Legend.pike:1.1(DEAD) Rev: server/etc/modules/LazyImage.pmod/module.pmod:1.6(DEAD) Rev: server/etc/modules/License.pmod:1.17(DEAD) Rev: server/etc/modules/Map.pmod:1.4(DEAD) Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.23(DEAD) Rev: server/etc/modules/RXML.pmod/PExpr.pike:1.2(DEAD) Rev: server/etc/modules/RXML.pmod/PXml.pike:1.63(DEAD) Rev: server/etc/modules/RXML.pmod/module.pmod:1.285(DEAD) Rev: server/etc/modules/RXML.pmod/refs.pmod:1.12(DEAD) Rev: server/etc/modules/RXML.pmod/utils.pmod:1.29(DEAD) Rev: server/etc/modules/Roxen.pmod:1.142(DEAD) Rev: server/etc/modules/RoxenDebug.pmod:1.4(DEAD) Rev: server/etc/modules/RoxenRPC.pmod/Client.pike:1.15(DEAD) Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.8(DEAD) Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.4(DEAD) Rev: server/etc/modules/RoxenRPC.pmod/Server.pike:1.18(DEAD) Rev: server/etc/modules/Servlet.pmod:1.26(DEAD) Rev: server/etc/modules/SloppyDOM.pmod:1.5(DEAD) Rev: server/etc/modules/StateHandler.pmod:1.9(DEAD) Rev: server/etc/modules/VFS.pmod:1.4(DEAD) Rev: server/etc/modules/Variable.pmod/Date.pike:1.7(DEAD) Rev: server/etc/modules/Variable.pmod/Email.pike:1.11(DEAD) Rev: server/etc/modules/Variable.pmod/Image.pike:1.4(DEAD) Rev: server/etc/modules/Variable.pmod/Language.pike:1.1(DEAD) Rev: server/etc/modules/Variable.pmod/MapLocation.pike:1.3(DEAD) Rev: server/etc/modules/Variable.pmod/Mapping.pike:1.6(DEAD) Rev: server/etc/modules/Variable.pmod/Schedule.pike:1.5(DEAD) Rev: server/etc/modules/Variable.pmod/Upload.pike:1.4(DEAD) Rev: server/etc/modules/Variable.pmod/VerifiedPassword.pike:1.2(DEAD) Rev: server/etc/modules/Variable.pmod/VerifiedString.pike:1.5(DEAD) Rev: server/etc/modules/Variable.pmod/VerifiedText.pike:1.1(DEAD) Rev: server/etc/modules/Variable.pmod/module.pmod:1.77(DEAD) Rev: server/pike_modules/.autodoc:1.1 Rev: server/pike_modules/DBManager.pmod:1.54 Rev: server/pike_modules/Dims.pmod:1.11 Rev: server/pike_modules/ExtScript.pmod:1.15 Rev: server/pike_modules/GText.pmod:1.14 Rev: server/pike_modules/HTML.pmod:1.5 Rev: server/pike_modules/JavaModule.pmod:1.23 Rev: server/pike_modules/LazyImage.pmod/CoordinateSystem.pike:1.1 Rev: server/pike_modules/LazyImage.pmod/Legend.pike:1.1 Rev: server/pike_modules/LazyImage.pmod/module.pmod:1.6 Rev: server/pike_modules/License.pmod:1.17 Rev: server/pike_modules/Map.pmod:1.4 Rev: server/pike_modules/RXML.pmod/PEnt.pike:1.23 Rev: server/pike_modules/RXML.pmod/PExpr.pike:1.2 Rev: server/pike_modules/RXML.pmod/PXml.pike:1.63 Rev: server/pike_modules/RXML.pmod/module.pmod:1.285 Rev: server/pike_modules/RXML.pmod/refs.pmod:1.12 Rev: server/pike_modules/RXML.pmod/utils.pmod:1.29 Rev: server/pike_modules/Roxen.pmod:1.142 Rev: server/pike_modules/RoxenDebug.pmod:1.4 Rev: server/pike_modules/RoxenRPC.pmod/Client.pike:1.15 Rev: server/pike_modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.8 Rev: server/pike_modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.4 Rev: server/pike_modules/RoxenRPC.pmod/Server.pike:1.18 Rev: server/pike_modules/Servlet.pmod:1.26 Rev: server/pike_modules/SloppyDOM.pmod:1.5 Rev: server/pike_modules/StateHandler.pmod:1.9 Rev: server/pike_modules/VFS.pmod:1.4 Rev: server/pike_modules/Variable.pmod/Date.pike:1.7 Rev: server/pike_modules/Variable.pmod/Email.pike:1.11 Rev: server/pike_modules/Variable.pmod/Image.pike:1.4 Rev: server/pike_modules/Variable.pmod/Language.pike:1.1 Rev: server/pike_modules/Variable.pmod/MapLocation.pike:1.3 Rev: server/pike_modules/Variable.pmod/Mapping.pike:1.6 Rev: server/pike_modules/Variable.pmod/Schedule.pike:1.5 Rev: server/pike_modules/Variable.pmod/Upload.pike:1.4 Rev: server/pike_modules/Variable.pmod/VerifiedPassword.pike:1.2 Rev: server/pike_modules/Variable.pmod/VerifiedString.pike:1.5 Rev: server/pike_modules/Variable.pmod/VerifiedText.pike:1.1 Rev: server/pike_modules/Variable.pmod/module.pmod:1.77 Rev: server/start:1.196
With the changed handling of PikeCompile objects we must expect unresolved argument functions in _encode since the used PikeCompile object might come from an older context and thus won't have gotten a compile() call at the top level of the evaluation. Rev: server/etc/modules/RXML.pmod/module.pmod:1.285
With the changed handling of PikeCompile objects we must expect unresolved argument functions in _encode since the used PikeCompile object might come from an older context and thus won't have gotten a compile() call at the top level of the evaluation. Rev: server/etc/modules/RXML.pmod/module.pmod:1.271
(Probably) fixed bug with mixup of compilation contexts which caused "Indexing the NULL value with <some tag argument>" errors in certain cases where there had been concurrent requests to the same page. This bug was introduced in revision 1.269. Rev: server/etc/modules/RXML.pmod/module.pmod:1.270
(Probably) fixed bug with mixup of compilation contexts which caused "Indexing the NULL value with <some tag argument>" errors in certain cases where there had been concurrent requests to the same page. This bug was introduced in revision 1.281. Rev: server/etc/modules/RXML.pmod/module.pmod:1.284
Added debug code to get a better report for the argmap being NULL bug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.283
Improved the rxml backtraces that are attached to normal exceptions inside the parser. Rev: server/etc/modules/RXML.pmod/module.pmod:1.282
Handle the PikeCompile objects properly when delayed resolving p-code in PCode._eval. This fixes the problem which could give the backtrace 'Cannot index the NULL value with "resolve"' in situations with concurrent requests. Rev: server/etc/modules/RXML.pmod/module.pmod:1.269
Handle the PikeCompile objects properly when delayed resolving p-code in PCode._eval. This fixes the problem which could give the backtrace 'Cannot index the NULL value with "resolve"' in situations with concurrent requests. Rev: server/etc/modules/RXML.pmod/module.pmod:1.281
Added some debug checks to detect concurrent use of rxml frames between threads. Rev: server/etc/modules/RXML.pmod/module.pmod:1.280
More accurate fix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.279
More accurate fix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.268
Fix in the last checkin. Rev: server/etc/modules/RXML.pmod/module.pmod:1.278
Fix in the last checkin. Rev: server/etc/modules/RXML.pmod/module.pmod:1.267
Fixed a race that could occur when two result p-code objects were created simultaneously from the same source p-code. Also modified the p-code version scheme slightly to avoid accidental equal values between different Roxen releases. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.63 Rev: server/etc/modules/RXML.pmod/module.pmod:1.277 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.29
Fixed a race that could occur when two result p-code objects were created simultaneously from the same source p-code. Also modified the p-code version scheme slightly to avoid accidental equal values between different Roxen releases. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.63 Rev: server/etc/modules/RXML.pmod/module.pmod:1.266 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.29
Extended Context.eval_and_compile a little. Added Context.alloc_internal_var, which allows tags to allocate temporary variables in the semi-hidden scope "_internal_". Added a callback to Value, Scope and Frame to allow the object to control how it's formatted in RXML backtraces. Rev: server/etc/modules/RXML.pmod/module.pmod:1.276
Do not result cache frames until the content has been parsed, so we're certain that there isn't any FLAG_DONT_CACHE_RESULT frames in it. Register runtime tags properly when p-code is executed. Rev: server/etc/modules/RXML.pmod/module.pmod:1.275
Do not result cache frames until the content has been parsed, so we're certain that there isn't any FLAG_DONT_CACHE_RESULT frames in it. Register runtime tags properly when p-code is executed. Rev: server/etc/modules/RXML.pmod/module.pmod:1.265
Make sure the same frame is not cached in more than one p-code array. Fixes various intermittent parse errors, such as [bug 2543 (#2543)] (probably). One situation where the bug occurs is when two requests access the same compiled rxml code simultaneously, where one get a hit in a p-code cache while the other don't. Rev: server/etc/modules/RXML.pmod/module.pmod:1.274
Make sure the same frame is not cached in more than one p-code array. Fixes various intermittent parse errors, such as [bug 2543 (#2543)] (probably). One situation where the bug occurs is when two requests access the same compiled rxml code simultaneously, where one get a hit in a p-code cache while the other don't. Rev: server/etc/modules/RXML.pmod/module.pmod:1.264
Removed an unnecessary catch where the exception only is rethrown. Rev: server/etc/modules/RXML.pmod/module.pmod:1.273
Removed some debug macros which now are in roxen.h and module.h. Rev: server/etc/modules/RXML.pmod/module.pmod:1.272
Fixed bug in PCode compression that could cause loss of constant entries (not applicable in 2.2). Slightly more describing results from VariableChange._sprintf. Rev: server/etc/modules/RXML.pmod/module.pmod:1.271
Store id->misc->cacheable in result collected p-code so that it's reinstated correctly when (partially) evaluated cache entries are used. Fixes [bug 2758 (#2758)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.270
Store id->misc->cacheable in result collected p-code so that it's reinstated correctly when (partially) evaluated cache entries are used. Fixes [bug 2758 (#2758)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.263
Fixed bug in indirect type conversion, which made conversion e.g. from t_xml to t_string fail. Improved the error messages in the codec somewat. Rev: server/etc/modules/RXML.pmod/module.pmod:1.269
Bumped P_CODE_VERSION to ensure invalidation of p-code generated with buggy cached <define> tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.268
Bumped P_CODE_VERSION to ensure invalidation of p-code generated with buggy cached <define> tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.262
Moved init based on additional_tags to after do_enter has been called. Take local_tags into account when the result is being parsed too. Moved the internal _local_tag_set from TagSetParser to Parser to avoid special cases before assigning it. Rev: server/etc/modules/RXML.pmod/module.pmod:1.267
Bumped p-code version since the bugs in <expire-time> and <header> affects the dumped p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.261
Bumped p-code version since bugs with lost http headers has been fixed. Rev: server/etc/modules/RXML.pmod/module.pmod:1.266
Added Context.signal_var_change. Rev: server/etc/modules/RXML.pmod/module.pmod:1.265
Fixed [bug 2650 (#2650)]: Result p-code could contain assignments to variables which had fallen out of scope. Invalidates old p-code. Thanks to srb@cuci.nl. Rev: server/etc/modules/RXML.pmod/module.pmod:1.264
Fixed [bug 2650 (#2650)]: Result p-code could contain assignments to variables which had fallen out of scope. Invalidates old p-code. Thanks to srb@cuci.nl. Rev: server/etc/modules/RXML.pmod/module.pmod:1.260
Always do the debug check to ensure that encoded p-code is fully resolved. Rev: server/etc/modules/RXML.pmod/module.pmod:1.263
Always do the debug check to ensure that encoded p-code is fully resolved. Rev: server/etc/modules/RXML.pmod/module.pmod:1.259
Debug check ctx->misc == ctx->id->misc->defines after the tag instead of before it, since it's probably clobbered in the tag callbacks. Rev: server/etc/modules/RXML.pmod/module.pmod:1.262
Added Context.id_defines for use with the id->misc->defines kludge in rxml.pike. Rev: server/etc/modules/RXML.pmod/module.pmod:1.258
Added Context.id_defines for use with the id->misc->defines kludge in rxml.pike. Rev: server/etc/modules/RXML.pmod/module.pmod:1.261
Improved doc for RXML.TagSet.create. Rev: server/etc/modules/RXML.pmod/module.pmod:1.260
Removed a too noisy debug message that got in by mistake. Rev: server/etc/modules/RXML.pmod/module.pmod:1.259
Compact result compiled p-code better. Improved _sprintf in some objects. Rev: server/etc/modules/RXML.pmod/module.pmod:1.258
Fixed bug where rxml errors could be propagated too far when combining p-code compilation with <cache>. Also added a RXML_REQUEST_VERBOSE debug define. Rev: server/etc/modules/RXML.pmod/module.pmod:1.257
Fix to the last kludge. Rev: server/etc/modules/RXML.pmod/module.pmod:1.256
Added special case to automatically detect changes of the _ok flag (ctx->misc[" _ok"]). This is to avoid the compatibility problem in all tags that sets it directly instead of using RXML_CONTEXT->set_misc. Fixes [bug 2522 (#2522)]. To avoid using old buggy p-code, the p-code format is also changed. Rev: server/etc/modules/RXML.pmod/module.pmod:1.255
Fixed allocation bug in the p-code generation that could cause an internal server error like "Error: Index 16 is out of array range 0 - 15." Rev: server/etc/modules/RXML.pmod/module.pmod:1.254
Do not declare variables that inheriting classes should have the choice to make either constant or variable: RXML.Tag.flags, RXML.TagSet.prefix and RXML.TagSet.prefix_req. Rev: server/etc/modules/RXML.pmod/module.pmod:1.253
Commented out the p-code staleness error, since it doesn't work well enough (see the comment in the code). This fixes the manifestation of [bug 2009 (#2009)], but I don't think it fixes the cause. Rev: server/etc/modules/RXML.pmod/module.pmod:1.252
Removed the debug check that was added in an attempt to track down [bug 1977 (#1977)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.251
Fixed bug that caused RenewablePCode to store frames that haven't been properly compiled when it recompiled from source. This should fix the elusive [bug 1977 (#1977)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.250
Fixed compile errors caused by the fix of [bug 486 (#486)]. (Overload variable with constant.) Rev: server/etc/modules/RXML.pmod/module.pmod:1.249 Rev: server/etc/modules/Variable.pmod/VerifiedPassword.pike:1.2 Rev: server/modules/graphics/cimg.pike:1.48 Rev: server/modules/graphics/gbutton.pike:1.91 Rev: server/modules/graphics/graphic_text.pike:1.280 Rev: server/modules/graphics/wiretap.pike:1.32 Rev: server/modules/tags/rxmltags.pike:1.315 Rev: server/modules/tags/translation_mod.pike:1.12 Rev: server/modules/tags/vform.pike:1.30
Fixed bug where required tag arguments weren't checked if there was no arguments at all to the tag. Fixed bugs in Frame._prepare when used with tagless frames with arguments. Rev: server/etc/modules/RXML.pmod/module.pmod:1.248
Made the most interesting types inheritable. Rev: server/etc/modules/RXML.pmod/module.pmod:1.247
Kludge for the loop detection between Scope.m_delete and Scope._m_delete. Rev: server/etc/modules/RXML.pmod/module.pmod:1.246
Fixed bugs when strings are used as index with RXML.Context.set_misc. Rev: server/etc/modules/RXML.pmod/module.pmod:1.245
Call _indices properly in object scopes if they are fed to extend_scope. (Partly) fixes [bug 2113 (#2113)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.244
Allow ([])[0] and RXML.nil to be indexed with 1 and -1, just like the other scalar values. Rev: server/etc/modules/RXML.pmod/module.pmod:1.243
Renamed the Debug module RoxenDebug to resolve name conflict with Debug.pmod in Pike. Compatibility issue, but it shouldn't matter much since it's barely used. Rev: server/etc/modules/Debug.pmod:1.4(DEAD) Rev: server/etc/modules/RXML.pmod/module.pmod:1.242 Rev: server/etc/modules/RoxenDebug.pmod:1.4 Rev: server/protocols/http.pike:1.334
Added ignore_tag_set_hash arg to string_to_p_code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.241
Potential fix for [bug 2045 (#2045)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.240
Modified the temporary debug check again to try to get some more info on the elusive [bug 1977 (#1977)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.239
Added a small doc note. Rev: server/etc/modules/RXML.pmod/module.pmod:1.238
Simplified the encoding of tag sets a little, which usually also makes the encoded p-code a tad more compact. Rev: server/etc/modules/RXML.pmod/module.pmod:1.237
Fixed bug where p-code couldn't be decoded in a site configuration with a different name than the one it was encoded in. This fix made it necessary to identify tag sets relatively to an owner object (typically a roxen module or configuration) rather than absolutely. Compatibility note: The new tag set identification system caused an incompatible API change in RXML.TagSet.create. It's fairly easy to rewrite those calls, though. Note: The format of encoded p-code has changed; old dumped p-code won't be decodable. Rev: server/etc/modules/RXML.pmod/module.pmod:1.236
Fixed bug introduced yesterday where expanded entities got value 0 in result p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.235
Fixed bug causing errors to be lost in result cached p-code. A slight redesign of the workload between Frame._eval and its callers was necessary for this. Fixed bug which occasionally could cause "Invalid args 0 in frame about to be added to p-code" or similar error when more result cache p-code was built from p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.234
mast: Do not record variable changes that happen during uncached tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.233
Fixed bug where the <cache> tag sometimes cached the unevaluated content instead of the result. Rev: server/etc/modules/RXML.pmod/module.pmod:1.232
Take care to not propagate FLAG_DONT_CACHE_RESULT when we switch caches. Rev: server/base_server/rxml.pike:1.313 Rev: server/etc/modules/RXML.pmod/module.pmod:1.231
Added FLAG_CUSTOM_TRACE. Rev: server/etc/modules/RXML.pmod/module.pmod:1.230
Made the "P-code is stale" error a bit more verbose. Rev: server/etc/modules/RXML.pmod/module.pmod:1.229
Added temporary extra debug check for the intermittent "Bad argument 1 to finish(). Expected string" bug. Include the parser name in the _sprintf functions for the types. Rev: server/etc/modules/RXML.pmod/module.pmod:1.228
Added RXML_PCODE_UPDATE_DEBUG define for debugging cases when the p-code gets updated. Fixed case when p-code got updated but the update isn't actually saved due to a later exception, causing repeated saves of the same p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.227
Fixed bug introduced yesterday that effectively caused p-code result caching to cache the unevaluated content instead. Added Context.set_misc to be able to set value in RXML_CONTEXT->misc (aka id->misc->defines) that are cached properly when result caching is used. Fixed a bug in p-code generation that could cause the frame state to be saved twice. Rev: server/etc/modules/RXML.pmod/module.pmod:1.226
Fixed problem where unresolved references to compiled functions were left behind when an rxml evaluation with compilation was interrupted with an error. Also improved the p-code compilation debug a bit. Rev: server/etc/modules/RXML.pmod/module.pmod:1.225
@list -> @ul Rev: server/etc/modules/RXML.pmod/module.pmod:1.224
Support non-threaded operation. Rev: server/base_server/roxenloader.pike:1.276 Rev: server/etc/modules/RXML.pmod/module.pmod:1.223
Updated the API stability blurb. Rev: server/etc/modules/RXML.pmod/module.pmod:1.222
Added RXML_RESCACHE_DEBUG. Fixed bug in Nil.``+ that caused [bug 1962 (#1962)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.221
Share the codec object. Rev: server/etc/modules/RXML.pmod/module.pmod:1.220
Don't reset the frame before calling Frame.save. Fixes the "No associated defined tag to get contents from" bug in the config if. Rev: server/etc/modules/RXML.pmod/module.pmod:1.219
A couple more support functions in TagSet. A bit better debug in the codec. Rev: server/etc/modules/RXML.pmod/module.pmod:1.218
Autodoc fixes Rev: server/etc/modules/RXML.pmod/module.pmod:1.217
More robustness in class Backtrace when the frame stack is deeper than Context.frame_depth. Added debug check to ensure ctx->misc == id->misc->defines. Rev: server/etc/modules/RXML.pmod/module.pmod:1.216
Fixed bug which caused a backtrace when help was requested. Rev: server/etc/modules/RXML.pmod/module.pmod:1.215
Added p-code update tracking; new functions Context.state_update and PCode.is_updated. Rev: server/etc/modules/RXML.pmod/module.pmod:1.214
Misc fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.213
Added the type t_parser. Fixed some outdated function prototypes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.212
Extended the variable change tracking in compiled results to delete_var, add_scope, extend_scope and remove_scope. A couple of other cleanups. Rev: server/etc/modules/RXML.pmod/module.pmod:1.211
Bugfixes in result compilation. Compact sequences of constant in compiled results. Rev: server/etc/modules/RXML.pmod/module.pmod:1.210
Implemented p-coding of the (mostly) evaluated content: Three new flags FLAG_GET_RAW_CONTENT, FLAG_GET_EVALED_CONTENT, FLAG_DONT_CACHE_RESULT and the variable Frame.evaled_content control it. Changed the handling of stale p-code; users should now check with PCode.is_stale instead of watching for a special return value. Allow changes of the error message in Backtrace through the hideous standard exception object "API". Fixed some duplicate calls to handle_exception on the same level. Also some docstring improvements and various small fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.209
Minor comment changes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.208
Fixed type conversion bug when evaluating from p-code. Rev: server/etc/modules/RXML.pmod/module.pmod:1.207
Fixed a binding bug in PikeCompile. Be more failsafe when keeping track of the frame depth, which ought to fix [bug 1874 (#1874)] that was caused by an earlier context never being finished correctly. Rev: server/etc/modules/RXML.pmod/module.pmod:1.206
Added RenewablePCode and fixed bug when strings are replaced with p-code which then becomes stale. Might fix [bug 1874 (#1874)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.205
Added TagSet.get_hash and checks when decoding p-code to detect whether the tag set has changed since it was encoded. Rev: server/etc/modules/RXML.pmod/module.pmod:1.204
Improved the explanation of p-code decode exceptions. Rev: server/etc/modules/RXML.pmod/module.pmod:1.203
Improved debug facilities, especially for the codec. Added a small blurb explaining the probable cause if any exception is thrown when p-code is decoded. Some minor optimizations in the codec. Rev: server/etc/modules/RXML.pmod/module.pmod:1.202
Unfortunately we must let a new tag set override an older one with the same name. Also fixed some bugs. Rev: server/etc/modules/RXML.pmod/module.pmod:1.201
Fixed bug in generation handling when tag sets are replaced. Added checks for stale p-code to avoid executing old objects when e.g. a module has been reloaded. Minor optimizations in PikeCompile. Keep the cached frames internally when p-code is encoded. Rev: server/etc/modules/RXML.pmod/module.pmod:1.200
Fixed some delayed resolving bugs. Rev: server/etc/modules/RXML.pmod/module.pmod:1.199
Moved the PikeCompile object from PCode to Context to share it better. Various smaller optimizations to produce less garbage. Rev: server/etc/modules/RXML.pmod/module.pmod:1.198
It might be useful to be able to dump direct references to frames afterall, but only allow it if the frame contains an identifier RXML_dump_frame_reference to avoid frames being dumped by mistake. Rev: server/etc/modules/RXML.pmod/module.pmod:1.197
Fixed inadvertent dumping of frames with splice args. Rev: server/etc/modules/RXML.pmod/module.pmod:1.196
Some work on breaking the evaluation of frames. Rev: server/etc/modules/RXML.pmod/module.pmod:1.195
Fixed some bugs in the tag set name handling, which ought to remedy [bug 1862 (#1862)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.194
Removed the FLAG_PARENT_SCOPE feature, which has proven useless. Added ability to have callbacks and nil in exec arrays. Rev: server/etc/modules/RXML.pmod/module.pmod:1.193
Fixed bug where missing variable references with encodings became "0" in p-code. Improved RXML_VERBOSE. Rev: server/etc/modules/RXML.pmod/module.pmod:1.192
Bugfix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.191
Changes in handling of reused frames; among other things they're no longer dumped, only cached. Added Frame.save and Frame.restore and removed Frame.clone. Added compilation in exec arrays and a flag FLAG_COMPILE_RESULT to control it. Fixed decoding of composite tag sets. Fixed dumping of parse_frame. Fixed bug in initialization of Frame.parent_frame in compiled frames. Fixed type problem with variable references in p-code. Type.get_parser no longer defaults the tag set. Various minor fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.190
Fixed bug with context inheritance when using the old parse_rxml to do a subparse. Known misfeature: The parent parser is no longer tracked during parsing. That should only show itself in that runtime tags doesn't propagate into the surrounding parsers when Roxen.parse_rxml, Roxen.compile_rxml or Roxen.get_rxml_parser is used. I'm not sure that's undesirable, but it is a potential compatibility problem. Rev: server/base_server/rxml.pike:1.307 Rev: server/etc/modules/RXML.pmod/module.pmod:1.189
Use the html_encode_string in _Roxen Rev: server/etc/modules/RXML.pmod/module.pmod:1.188 Rev: server/etc/modules/Roxen.pmod:1.101
Slight optimization. Rev: server/etc/modules/RXML.pmod/module.pmod:1.187
Fixed bug with delayed destroy of tag sets which occasionally caused "The tag set name "foo" is not unique" warnings. Misc fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.186 Rev: server/etc/modules/RXML.pmod/refs.pmod:1.10
Fixed encoding of parser programs, so that types with parsers works. As a result, parsers now got names. Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.23 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.60 Rev: server/etc/modules/RXML.pmod/module.pmod:1.185
The debug argument is now _debug_ to be more xml compliant. Fixed bug when errors are thrown in variable expansions. Rev: server/etc/modules/RXML.pmod/module.pmod:1.184
Various codec improvements. Among other things it has better error checks and it no longer inherits roxens codec, so we have full control over what goes into the encoded strings. Rev: server/etc/modules/RXML.pmod/module.pmod:1.183 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.26
Unregister the tag set properly on destruct. Rev: server/etc/modules/RXML.pmod/module.pmod:1.182
Better handling of tag sets with non-unique names. Rev: server/etc/modules/RXML.pmod/module.pmod:1.181
I decided that TagSet.name should be unique, so TagSet.id_string is no more. Removed some context dependent data from the PCode objects. Fix in Context.handle_exception when there's no tag set. Fixes in several decode functions to throw errors when they can't look up the requested item. Temporary kludge for encode problem with Frame._eval_args. Rev: server/etc/modules/RXML.pmod/module.pmod:1.180
Fixed silly bug causing exponential growth of the p-code arrays. Rev: server/etc/modules/RXML.pmod/module.pmod:1.179
PCodec changes suggested by Mast and Per. Add tag reference for runtime tags where tag->tagset is not available. Rev: server/etc/modules/RXML.pmod/module.pmod:1.178
P-code bug fixes. Only encode and decode the persistent data for PCode objects. Rev: server/etc/modules/RXML.pmod/module.pmod:1.177
Ensure compile-time lookups in the generated code wherever possible. Rev: server/etc/modules/RXML.pmod/module.pmod:1.176
Minimized compilation overhead when not collecting p-code. Tag contents are only compiled if they're evaluated more than once. Compile the argument evaluation functions lazily to collect them in as large compilation units as possible. Fixed some cases of cyclic references in p-code. Removed a forgotten debug writeout. Rev: server/etc/modules/RXML.pmod/module.pmod:1.175
Fixed problem with thread safety in p-code evaluation. Rev: server/etc/modules/RXML.pmod/module.pmod:1.174
Made the _cur_rxml_context variable a global constant to get the dumping system working again. Removed the "//(!)" markup. Rev: server/etc/modules/RXML.pmod/module.pmod:1.173
Fixed [bug 1750 (#1750)] where the flags variable couldn't be changed in parse_frame, which usually showed as a "Cannot re-assign functions or constants." backtrace in the <cond> tag. Don't encode results when p-code is encoded. Fixed encoding of CompiledError objects. Rev: server/etc/modules/RXML.pmod/module.pmod:1.172
PCode encoding added. Rev: server/etc/modules/RXML.pmod/module.pmod:1.171
A few optimizations. Note: Requires a fresh Pike with the new features in String.Buffer. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.59 Rev: server/etc/modules/RXML.pmod/module.pmod:1.170
Various p-code fixes, especially wrt error handling. The known bug with compiled-in rxml backtraces is now fixed. Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.22 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.58 Rev: server/etc/modules/RXML.pmod/module.pmod:1.169 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.25
Fixed propagation of the recover_errors flag in PCode objects. Defeat streaming in the top level eval calls unless a flag is given. Rev: server/etc/modules/RXML.pmod/module.pmod:1.168
Modified the t_string type to ignore whitespace between tokens (i.e. handle_literals but not free_text). The new type t_any_text replaces the old t_string as the supertype for all text types. Modified the default in RXML.Tag.result_types to accept t_string. Note that the semantics of the t_string type is not yet finalized. Added TagSet.eval_finish, a callback to do things when a top level evaluation ends. Also added Context.eval_and_compile, eval_p_code and some other stuff to facilitate streaming and p-code generation/evaluation. Added a Context.misc mapping. This is intended to contain various state info that the tags need to maintain at runtime but shouldn't be user accessible in the scopes. It's initialized with the same mapping as id->misc->defines, which should be considered a compatibility measure now. Added Context.get_scope. Fixed various bugs in p-code generation/evaluation. Fixed a bug which caused problems with RXML.nil when not running with DEBUG. Rev: server/etc/modules/RXML.pmod/module.pmod:1.167
Another more compatible fix in the tag formatting done by propagate_tag. Rev: server/etc/modules/RXML.pmod/module.pmod:1.166
Fixed bug where propagated tags could become containers. Use String.Buffer in t_xml->format_tag. Rev: server/etc/modules/RXML.pmod/module.pmod:1.165
Cleaned up the reparsing of the tag from raw_tag_text a bit. Fixed the bug with splice arguments in combination with propagate_tag. Rev: server/etc/modules/RXML.pmod/module.pmod:1.164
The documentation for eval_args was not entierly true. It does affect attributes not listed in req_arg_types and opt_arg_types. Added argument ignore_args where one can list attributes that must not be touched, e.g. because they are not strings and would cause a backtrace should they be evaluated again. Rev: server/etc/modules/RXML.pmod/module.pmod:1.163
Implemented PCode compilation and evaluation. Known bugs: RXML error backtraces might be duplicated since they're stored as text in the compiled code. Splice args doesn't yet work together with raw_tag_text. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.56 Rev: server/etc/modules/RXML.pmod/module.pmod:1.162 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.23
Mast fix. Rev: server/etc/modules/RXML.pmod/module.pmod:1.161
Removed softcast to more general type. Rev: server/etc/modules/RXML.pmod/module.pmod:1.160
Cleaned up _eval a bit to make it somewhat easier to grasp. Fixed bug in Context.current_scope. Improved the debug messages somewhat. Rev: server/etc/modules/RXML.pmod/module.pmod:1.159
Some work on PCode, but nothing serious yet. Fixed markup in a bunch of comments. Slightly better handling of the content when PI tags are formatted with TXml.format_tag (the content should include the necessary preceding space which separates it from the tag, but we're a little dwim:y and add it if it's missing). Rev: server/etc/modules/RXML.pmod/module.pmod:1.158
A PI could be without content according to XML 1.0. Fix format_tag so that it can produce such things. Rev: server/etc/modules/RXML.pmod/module.pmod:1.157
Fixed macro THIS_TAG_DEBUG_ENTER_SCOPE without debug enabled. Rev: server/etc/modules/RXML.pmod/module.pmod:1.156
Fixed a bogus debug check. Some cleanups. Do the conversion to the surrounding content type in Frame._eval to get better error reports if it fails. Rev: server/etc/modules/RXML.pmod/module.pmod:1.155
Fixed a bogus debug check. Rev: server/etc/modules/RXML.pmod/module.pmod:1.126
Count RXML overhead and entities when using AVERAGE_PROFILING Rev: server/base_server/configuration.pike:1.432 Rev: server/base_server/rxml.pike:1.300 Rev: server/etc/modules/RXML.pmod/module.pmod:1.154
I forgot to check these in last thursday. Rev: server/base_server/configuration.pike:1.430 Rev: server/etc/modules/RXML.pmod/module.pmod:1.153
Fixed bug in lookup of overridden processing instructions. Fixed [bug 1433 (#1433)] that caused RXML.Frame.propagate_tag to propagate incorrect tag args/contents in several different circumstances. Updated a couple of the autodoc comments some more. Added a very simple profilation system. Rev: server/etc/modules/RXML.pmod/module.pmod:1.152
Fixed bug in lookup of overridden processing instructions. Fixed [bug 1433 (#1433)] that caused RXML.Frame.propagate_tag to propagate incorrect tag args/contents in several different circumstances. Rev: server/etc/modules/RXML.pmod/module.pmod:1.125
Added error wrappers that scans the imported tag sets for an applicable error handler. Rev: server/etc/modules/RXML.pmod/module.pmod:1.151
Use tag_set->handle_{parse|run}_error instead of having them in id->conf. This allows tag sets with other error policies than the global one. Rev: server/etc/modules/RXML.pmod/module.pmod:1.150
[docs] Made inline autodocs more autodocwise. Rev: server/etc/modules/RXML.pmod/module.pmod:1.149
Added feature to let types parse literal values. Added the type t_type. Don't glob on the type name to decide subtype relationships. Somewhat better error messages. Cleaned up the PXml specific callbacks in Tag and Parser. Fixed bug with leftover frame when an error is thrown during argument parsing. Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.20 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.54 Rev: server/etc/modules/RXML.pmod/module.pmod:1.148 Rev: server/etc/modules/RXML.pmod/refs.pmod:1.9 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.20
Use callablep Rev: server/etc/modules/RXML.pmod/module.pmod:1.147
Use callablep if it's available Rev: server/etc/modules/RXML.pmod/module.pmod:1.124
Fixed [bug 1421 (#1421)]: Incorrect error reporting when an invalid encoding is given in a character reference. Rev: server/etc/modules/RXML.pmod/module.pmod:1.146
Fixed [bug 1421 (#1421)]: Incorrect error reporting when an invalid encoding is given in a character reference. Rev: server/etc/modules/RXML.pmod/module.pmod:1.123
Fixed incorrect use of Parser.HTML.parse_tag_args in Frame.propagate_tag. Fixes the argument parsing problem in [bug 1168 (#1168)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.145
Fixed incorrect use of Parser.HTML.parse_tag_args in Frame.propagate_tag. Fixes the argument parsing problem in [bug 1168 (#1168)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.122
Fixed bug in debug check of return value from Scope.`[]. Added Parser.initialize for doing initialization in parser objects. Various minor twiddling. Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.19 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.53 Rev: server/etc/modules/RXML.pmod/module.pmod:1.144 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.19
Use the new auth-api in more places Rev: server/base_server/roxen.pike:1.649 Rev: server/base_server/rxml.pike:1.287 Rev: server/config_interface/event_log/clear_log.pike:1.6 Rev: server/etc/modules/RXML.pmod/module.pmod:1.143 Rev: server/etc/modules/Roxen.pmod:1.79 Rev: server/modules/filesystems/filesystem.pike:1.97 Rev: server/modules/filters/htaccess.pike:1.70 Rev: server/modules/proxies/wais.pike:1.24 Rev: server/modules/security/auth_httpcookie.pike:1.6 Rev: server/modules/tags/rxmltags.pike:1.217 Rev: server/modules/tags/ssi.pike:1.39 Rev: server/modules/throttling/throttling_byaddress.pike:1.3
Use t_string for splice args to avoid any quoting. Use t_string when an encoding is given to avoid any quoting prior to the one specified by the encoding. Rev: server/etc/modules/RXML.pmod/module.pmod:1.142 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.18
Temporary fix for the bug that <set> ceased to accept plain strings. Rev: server/etc/modules/RXML.pmod/module.pmod:1.141
Renamed the new type RXML.t_plain to RXML.t_text, which is arguably less misleading (though still so). Rev: server/etc/include/module.h:1.48 Rev: server/etc/modules/RXML.pmod/module.pmod:1.140 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.17 Rev: server/etc/modules/Roxen.pmod:1.78 Rev: server/modules/configuration/config_tags.pike:1.144 Rev: server/modules/tags/rxmltags.pike:1.216
Fixed some references to t_text. Rev: server/etc/modules/RXML.pmod/module.pmod:1.139 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.16 Rev: server/etc/modules/Roxen.pmod:1.77
Introduced two new types RXML.t_string and RXML.t_plain to replace RXML.t_text. RXML.t_text is now equivalent to RXML.t_plain, which means that it no longer is a supertype for all text and string types. Also allow a result type to be a subtype of the surrounding content type. Fixed a bogus debug check in rxml_index. Rev: server/etc/modules/RXML.pmod/module.pmod:1.138
Fixed bugs in Type.indirect_convert. Introduced a type RXML.t_scalar to be used as conversion type between strings, ints and floats (it's not yet properly recognized as a supertype for them). Rev: server/etc/modules/RXML.pmod/module.pmod:1.137
Made RXML.t_any special in that a value of any type can be converted to it without changing it in any way. Changed the type API to not root the conversion_type tree in t_any. Removed a bit of debug code that caused backtrace in indirect_convert. Rev: server/etc/modules/RXML.pmod/module.pmod:1.136
Bugfix so that entities works in compatibility mode. Changed werror to report_debug Rev: server/etc/modules/RXML.pmod/module.pmod:1.135
Improved the design of the type system. Should not give any noticeable compatibility problems, though. Added types t_int and t_float. Added upper_case, lower_case and capitalize to the text types. Rev: server/etc/modules/RXML.pmod/module.pmod:1.134
Corrected doc for FLAG_EMPTY_ELEMENT. Rev: server/etc/modules/RXML.pmod/module.pmod:1.121
Corrected doc for FLAG_EMPTY_ELEMENT. Rev: server/etc/modules/RXML.pmod/module.pmod:1.133
Fixes in Parser.handle_var; now the ':' quoting method actually works too. Rev: server/etc/modules/RXML.pmod/module.pmod:1.132
Reverted the special cases introduced in 1.127; use ':' in front of a character reference to quote it. Improved Parser.handle_var to give a helpful error message in this case. Rev: server/etc/modules/RXML.pmod/module.pmod:1.131
Further optimized parse_user_var to avoid parallell replace as much as possible. Fixed the doc. Note that parse_user_var has changed incompatibly in its handling of the empty string. Rev: server/etc/modules/RXML.pmod/module.pmod:1.130
Fixed parse_user_var again to not require any other special character than '.'. Rev: server/etc/modules/RXML.pmod/module.pmod:1.129
Added some design discussion to justify the type argument to Value.rxml_var_eval. Also added a similar argument to Scope.`[], which is an incompatible change. Added debug code to detect cyclic rxml_var_eval calls in rxml_index. Rev: server/etc/modules/RXML.pmod/module.pmod:1.128
Made two modifications to parse_user_var. First it does now accept .. as quoting on the whole entity, thus &form..bar; generates &form.bar; in the resulting page. Second the functions is made a bit faster, partly by introducing limitations that shouldn't be any problem to comply. An emit that iterates 5000 times, printing out an entity each round, is about 14% faster. Rev: server/etc/modules/RXML.pmod/module.pmod:1.127
Fixed bug in TagSet.get_overridden_tag for plugin tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.126
Fixed bug in TagSet.get_overridden_tag for plugin tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.120
Fixed bug in tag arg parsing in Frame.propagate_tag. This bug has manifested itself by RXML backtraces "Internal server error: args not set" for some tags when using the compatibility module. Rev: server/etc/modules/RXML.pmod/module.pmod:1.125
Fixed bug in tag arg parsing in Frame.propagate_tag. This bug has manifested itself by RXML backtraces "Internal server error: args not set" for some tags when using the compatibility module. Rev: server/etc/modules/RXML.pmod/module.pmod:1.119
Support the Freetype2 library Rev: server/etc/modules/RXML.pmod/module.pmod:1.124 Rev: server/font_handlers/builtin.pike:1.6 Rev: server/font_handlers/freetype.pike:1.1 Rev: server/font_handlers/rbf:1.4 Rev: server/font_handlers/ttf.pike:1.8
Here be dragons Rev: server/etc/modules/RXML.pmod/module.pmod:1.123 Rev: server/font_handlers/rbf:1.3
Made some global service functions final to make inlining possible. Rev: server/etc/modules/RXML.pmod/module.pmod:1.122
Moved all the compatible_scope stuff from get_var and set_var to the user_*_var varieties. This solves a bug where an entity &foo.bar; would insert the variable "foo.bar" in the form scope instead of complaining about nonexisting scope "foo". Rev: server/etc/modules/RXML.pmod/module.pmod:1.118
Restructured the subindex lookup code a bit and fixed it for set_var and delete_var. Be more careful with special cases. Handle Context.compatible_scope separately to avoid semi-broken mix of old and new variable lookup methods. Fixed bypassing for plain entities in Parser.handle_var. Rev: server/etc/modules/RXML.pmod/module.pmod:1.121
Made some local functions final to avoid the risk for confusing behavior if someone tries to override them. Rev: server/etc/modules/RXML.pmod/module.pmod:1.120
Support indexing of complex types in entities, as an example: &form.arrayval.1; &modvars.gtext.1.default_font; etc. Rev: server/etc/modules/RXML.pmod/module.pmod:1.119
Fixed design flaw in error handling: Errors now abort execution up to the level where the rxml backtrace is reported. (Previously the error was just reported on that level, while execution resumed right after the tag or entity reference that failed.) This changes the behavior of FLAG_DONT_REPORT_ERRORS, which now have the preferred name FLAG_DONT_RECOVER. Fixes [bug 442 (#442)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.118
Fixed design flaw in error handling: Errors now abort execution up to the level where the rxml backtrace is reported. (Previously the error was just reported on that level, while execution resumed right after the tag or entity reference that failed.) This changes the behavior of FLAG_DONT_REPORT_ERRORS, which now have the preferred name FLAG_DONT_RECOVER. Fixes [bug 442 (#442)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.117
Removed the local modifiers to many of the service functions in the Frame class; they're not that unlikely to be overridden as I thought. Fixes [bug 527 (#527)]. Rev: server/etc/modules/RXML.pmod/module.pmod:1.117
Added Frame.get_overridden_tag as shortcut to TagSet.get_overridden_tag. Rev: server/etc/modules/RXML.pmod/module.pmod:1.116
Removed scopename magic Rev: server/etc/modules/RXML.pmod/module.pmod:1.115
When you revert you remove the new _insert_ the old code Rev: server/etc/modules/RXML.pmod/module.pmod:1.116
Removed scopename magic. Available through &page.scope;. Rev: server/etc/modules/RXML.pmod/module.pmod:1.115
Minor adjustments Rev: server/etc/modules/RXML.pmod/module.pmod:1.114
Added hint to the empty element error message. Rev: server/etc/modules/RXML.pmod/module.pmod:1.113
More Pike 7.1 style stuff. Rev: server/etc/modules/RXML.pmod/module.pmod:1.113 Rev: server/etc/modules/Roxen.pmod:1.41 Rev: server/protocols/ftp.pike:2.42
Handle missing Gz and/or Image.TTF Rev: server/base_server/roxenloader.pike:1.199 Rev: server/etc/modules/RXML.pmod/module.pmod:1.112
Minor adjustments Rev: server/base_server/cache.pike:1.57 Rev: server/base_server/roxenloader.pike:1.197 Rev: server/etc/include/config.h:1.23 Rev: server/etc/modules/RXML.pmod/module.pmod:1.111 Rev: server/etc/modules/Roxen.pmod:1.40 Rev: server/font_handlers/builtin.pike:1.4 Rev: server/font_handlers/rbf:1.2
Fixed a compatibility issue with variables containing "." Rev: server/etc/modules/RXML.pmod/module.pmod:1.110
Slight changes to the api stability notes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.109
Added FLAG_DEBUG for assisting in tag debugging. It shows how the tag and frame objects are handled. Fixed a bug where the content wasn't converted before being assigned to the result when there's no do_return. The t_text type is no longer a supertype over the formatted text types; it's now named text/plain. Rev: server/etc/modules/RXML.pmod/module.pmod:1.108
Make sure that the error report is propagated outside the outermost frame with RXML.FLAG_DONT_REPORT_ERRORS. Rev: server/etc/modules/RXML.pmod/module.pmod:1.107
Added Frame.parent_frame to easily access the "mother frames" for local and added tags. Added TagSet.has_tag(). More specific doc of the "officialness" of different parts of the API. Rev: server/etc/modules/RXML.pmod/module.pmod:1.106
Added sanity checks for bad tag names. Rev: server/etc/modules/RXML.pmod/module.pmod:1.105
Bugfix for TXml.format_tag Rev: server/etc/modules/RXML.pmod/module.pmod:1.104
Added some sanity checks when registering tags (requires MODULE_DEBUG). Rev: server/etc/modules/RXML.pmod/module.pmod:1.103
Added RXML.FLAG_DONT_REPORT_ERRORS. Rev: server/etc/modules/RXML.pmod/module.pmod:1.102
Fixed frame initialization bug. Trig a parse error if content is sent to an empty element tag. Fixed TRACE_LEAVE calls. Rev: server/etc/modules/RXML.pmod/module.pmod:1.101
More (incompatible) fixes in the type system. Fixed bug that caused frames to get a nil content in some circumstances. Rev: server/etc/modules/RXML.pmod/module.pmod:1.100 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.12
Cleaned up various details in the type system and documented some things more clearly. Incompatible change: t_none is now t_nil. Void is now called nil, but the old name still works. Rev: server/etc/modules/RXML.pmod/module.pmod:1.99
Zap the result from a frame when it's exited through an exception. Rev: server/etc/modules/RXML.pmod/module.pmod:1.98
Zap the result from a frame when it's exited through an exception. Rev: server/etc/modules/RXML.pmod/module.pmod:1.89
Added handle of processing instruction tags. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.48 Rev: server/etc/modules/RXML.pmod/module.pmod:1.97
Return the name of the scope, in a magic way (e.g. won't appear on entity listings etc. ÄDBED?) Rev: server/etc/modules/RXML.pmod/module.pmod:1.96
Fixed argument quoting bug when reformatting Tag.raw_tag_text after parsing the splice argument. Rev: server/etc/modules/RXML.pmod/module.pmod:1.95
Quote " to " instead of " since it seems like some browsers have trouble decoding the latter in javascript etc. Rev: server/etc/modules/RXML.pmod/module.pmod:1.88
Quote " to " instead of " since it seems like some browsers have trouble decoding the latter in javascript etc. Rev: server/etc/modules/RXML.pmod/module.pmod:1.94
Removed the low_tags/low_containers compatibility code that isn't used anymore. Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.15 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.47 Rev: server/etc/modules/RXML.pmod/module.pmod:1.93 Rev: server/etc/modules/RXML.pmod/refs.pmod:1.8
Implemented the general tag argument "help", module level security and tracing for newstyle tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.92
Cache lookups of overridden tags. Added RXML.Frame.propagate_tag and RXML.Frame.raw_tag_text. Added RXML.FLAG_COMPAT_PARSE. Added feature to make frames for overridden tags in RXML.make_tag and RXML.make_unparsed_tag. Rev: server/etc/modules/RXML.pmod/module.pmod:1.91
Added cast method to RXML.Void Rev: server/etc/modules/RXML.pmod/module.pmod:1.90
A bit stricter checking: Don't allow unknown entities in a non-free_text context. Rev: server/etc/modules/RXML.pmod/module.pmod:1.89 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.11
Support for entity quoting. Rev: server/etc/modules/RXML.pmod/module.pmod:1.88
Fixed bug with registration of several runtime tags with the same name. Rev: server/etc/modules/RXML.pmod/module.pmod:1.87
Added workaround for a bug in the type-inferer for this_object(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.86
Fixed an indexing zero bug in Type.eval(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.85
Added (kind of) RequestID prototype Rev: server/etc/modules/RXML.pmod/module.pmod:1.84
Garb the local tag set cache less frequently. Rev: server/etc/modules/RXML.pmod/module.pmod:1.83
Added caching of local tag sets. Fiddled a bit with the object debug stuff. Rev: server/etc/modules/RXML.pmod/module.pmod:1.82
Added resolv kludge for the Roxen module. Rev: server/etc/modules/RXML.pmod/module.pmod:1.81 Rev: server/etc/modules/RXML.pmod/refs.pmod:1.7
Can use compile-time binding for roxen_encode(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.80
Fixed som reference bugs. Added more debug facilities to hunt down leaking objects. Rev: server/etc/modules/RXML.pmod/module.pmod:1.79
Fixed a forgotten block. Rev: server/etc/modules/RXML.pmod/module.pmod:1.78
Default return value is now empty Rev: server/etc/modules/RXML.pmod/module.pmod:1.77
Incompatible change: do_return renamed to do_process, and a new do_return callback added which is called last thing before finishing the frame. The change should only affect tags that use do_return and are either streaming or iterating. Rev: server/etc/modules/RXML.pmod/module.pmod:1.76
Added shortcuts at the global level to get_var(), set_var() etc in the current context. Rev: server/etc/modules/RXML.pmod/module.pmod:1.75
Fixed bug with continuation after rxml errors. Rev: server/base_server/rxml.pike:1.159 Rev: server/etc/modules/RXML.pmod/module.pmod:1.74
Don't html encode splice args. All arguments now optional to Backtrace(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.73
Don't send the request id to the error handler, since there's now a context to fetch it from Rev: server/etc/modules/RXML.pmod/module.pmod:1.72
Leave the context a little later in Parser.write() and Parser.write_end(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.71
Provide request id to error handler. Rev: server/etc/modules/RXML.pmod/module.pmod:1.70
Changed RXML.FLAG_NONCONTAINER to RXML.FLAG_EMPTY_ELEMENT, since that's what the rest of the world call them. Rev: server/base_server/rxml.pike:1.146 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.36 Rev: server/etc/modules/RXML.pmod/module.pmod:1.69 Rev: server/modules/tags/rxmltags.pike:1.75
Don't do default propagation of content to result for noncontainers. Rev: server/etc/modules/RXML.pmod/module.pmod:1.68
Fixed some bugs in error reporting. Rev: server/etc/modules/RXML.pmod/module.pmod:1.67
Limit recursion. Added wrappers for Context.get_var() etc in Frame. Fixed parser cloning bug in Type.get_parser(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.66
Documented a restriction on Context.remove_runtime_tag(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.65
Fixed bug with Void in the content variable. Rev: server/etc/modules/RXML.pmod/module.pmod:1.64
Moved define of OLD_RXML_COMPAT to config.h. Rev: server/base_server/rxml.pike:1.134 Rev: server/etc/include/config.h:1.18 Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.11 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.33 Rev: server/etc/modules/RXML.pmod/module.pmod:1.63
A somewhat more complicated form/default-scope wrapper. Rev: server/etc/modules/RXML.pmod/module.pmod:1.62
Don't touch fiddle with runtime tags in parsers that have a local tag set. Rev: server/etc/modules/RXML.pmod/module.pmod:1.61
Added kludge function TagSet.call_prepare_funs() used by rxml.pike.do_parse(). Don't start a recursive parser when the content is empty. Rev: server/etc/modules/RXML.pmod/module.pmod:1.60
Fixed bug in Context.enter_scope(). Changed parser API for add_runtime_tag(), remove_runtime_tag(), and reset(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.59
Allow vars to be changed from do_return(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.58
Fixed bug with runtime_tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.57
Fixed some scope enter/exit bugs. Rev: server/etc/modules/RXML.pmod/module.pmod:1.56
Fixed bugs in runtime tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.55
Dropped the unnecessarily verbose prefix "rxml_" from run_error() and parse_error(). Rev: server/base_server/rxml.pike:1.124 Rev: server/etc/modules/RXML.pmod/module.pmod:1.54 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.6 Rev: server/modules/compat/compat.pike:1.22 Rev: server/modules/tags/rxmltags.pike:1.66
Better error handling. Some incompatible cleanups: o FLAG_CONTAINER is replaced by FLAG_NONCONTAINER, with the reverse meaning. o PHtml changed name to PXml. o Error routines rxml_error() and rxml_fatal() are replaced by rxml_run_error() and rxml_parse_error(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.53
Fixed `->= misconception. Added parse_frame(). Fixed assorted evaluation bugs. Added t_none. Rev: server/etc/modules/RXML.pmod/module.pmod:1.52
Added some helpful debug checks. Rev: server/etc/modules/RXML.pmod/module.pmod:1.51
Fixed type check on objects in Frame._exec_array(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.50
Fixed too strong debug check. Rev: server/etc/modules/RXML.pmod/module.pmod:1.49
Kludge for splice args. Don't supply a body for Value.rxml_const_eval(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.48
Support for page-constant variables. Rev: server/etc/modules/RXML.pmod/module.pmod:1.47
Commented out strict_types since it won't get working before the release. Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.4 Rev: server/etc/modules/RXML.pmod/PEntCompat.pike:1.4 Rev: server/etc/modules/RXML.pmod/PHtmlCompat.pike:1.10 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.24 Rev: server/etc/modules/RXML.pmod/module.pmod:1.46
Small fix in Context.get_var(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.45
Fixed bug where Tag.def_arg_type didn't have any effect when {req|opt}_arg_types aren't set. Context.get_var() now converts to the type given as the last argument. Fixed missed quoting bug in TXml.convert(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.44
Fixed tag result quoting based on types. Rev: server/etc/modules/RXML.pmod/module.pmod:1.43
Added system for default encoding based on type. Added explicit encodings in variable entities. Rev: server/etc/modules/RXML.pmod/module.pmod:1.42
Changed interface for socket tags. Rev: server/etc/modules/RXML.pmod/module.pmod:1.41
Initialize a variable Rev: server/etc/modules/RXML.pmod/module.pmod:1.40
Added unparsed frames. Added make_tag() and make_unparsed_tag(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.39
Added plugin tag system. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.22 Rev: server/etc/modules/RXML.pmod/module.pmod:1.38
Reserve some flags that the simpletag system use Rev: server/etc/modules/RXML.pmod/module.pmod:1.37
Added Tag.def_arg_type. Don't initialize scope_name, additional_tags or local_tags in the frame from the Tag object, since that's often unnecessary overhead. Rev: server/etc/modules/RXML.pmod/module.pmod:1.36
Incompatible API change: Frame.do_enter() now returns an exec array. Frame.do_iterate() is a new function to handle iteration. Separated the rxml error exceptions into an error and a fatal type. Removed restriction to keep the Frame.vars mapping throughout the evaluation. Fixed proper hidden scope handling in Context.extend_scope(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.35
Less logic in extend_scope. It now only extend scopes Rev: server/etc/modules/RXML.pmod/module.pmod:1.34
Make scope_name be the fallback scope in user-functions, instead of an overriding scope. Rev: server/etc/modules/RXML.pmod/module.pmod:1.33
[mast] Fixed bugs in Context.leave_scope(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.32
Attempt to merge scope object with scope mapping in extend_scope, otherwise overwrite. Rev: server/etc/modules/RXML.pmod/module.pmod:1.31
user_delete should delete. Rev: server/etc/modules/RXML.pmod/module.pmod:1.30
Added some methods to Context that proved to be handy when writing tags that handles entities. Rev: server/etc/modules/RXML.pmod/module.pmod:1.29
Fixed problems with cyclic references to make refcount garbing work. Added OBJ_COUNT_DEBUG debug helper. Rev: server/etc/modules/RXML.pmod/PHtmlCompat.pike:1.5 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.18 Rev: server/etc/modules/RXML.pmod/module.pmod:1.28 Rev: server/etc/modules/RXML.pmod/utils.pmod:1.1
Made get_overridden_tags work Rev: server/etc/modules/RXML.pmod/module.pmod:1.27
Added extend_scope method to Context Rev: server/etc/modules/RXML.pmod/module.pmod:1.26
Removed some now obsolete kludges. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.17 Rev: server/etc/modules/RXML.pmod/module.pmod:1.25
Some incompatible API tunings: o Tag.frame is now Tag.Frame. o TagSet.prefix_required is now TagSet.prefix_req. o A ':' is used between TagSet.prefix and the tag name. Also fixed some container loop bugs. Rev: server/etc/modules/RXML.pmod/module.pmod:1.24
Fixed silly bug in get_var with object scopes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.23
The current scope is now "_", to make the rxml variable entities well formed according to xml. Rev: server/etc/modules/RXML.pmod/module.pmod:1.22
Fixed bug where variable entities wouldn't be parsed. Rev: server/etc/modules/RXML.pmod/module.pmod:1.21
Martin wants to put the flags declaration in a comment. Rev: server/etc/modules/RXML.pmod/module.pmod:1.20
Fixed a trivial bug. Rev: server/etc/modules/RXML.pmod/module.pmod:1.19
A bit more fixes to rxml error reporting. Rev: server/etc/modules/RXML.pmod/module.pmod:1.18
Just a small name change. Rev: server/base_server/rxml.pike:1.67 Rev: server/etc/modules/RXML.pmod/module.pmod:1.17
Better error handling. Some fixes to the object-as-scope stuff. Frames now always get all the passed arguments, not only those mentioned in req_arg_types and opt_arg_types. Fixes to variable evaluation. New type t_html. Rev: server/etc/modules/RXML.pmod/module.pmod:1.16
Allow objects as scopes. Added Context.exist_scope(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.15
Added TagSet.prepare_context for callbacks to set up initial scopes etc. Rev: server/etc/modules/RXML.pmod/module.pmod:1.14
Changed some tag search functions in TagSet to handle low tag/container definitions. Rev: server/etc/modules/RXML.pmod/module.pmod:1.13
Renamed the eval function in evaluated variable objects to rxml_var_eval to avoid potential name clashes. Added FLAG_NO_PREFIX. Rev: server/etc/modules/RXML.pmod/module.pmod:1.12
Some code to handle rxml error reporting. Fixed a couple of bugs. Rev: server/etc/modules/RXML.pmod/module.pmod:1.11
Some more service functions in TagSet. Rev: server/etc/modules/RXML.pmod/module.pmod:1.10
Fixed a bug. A simple tag is now known to work. Rev: server/etc/modules/RXML.pmod/module.pmod:1.9
Reverted a rather silly name change. Rev: server/base_server/module.pike:1.63 Rev: server/base_server/rxml.pike:1.52 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.7 Rev: server/etc/modules/RXML.pmod/module.pmod:1.8 Rev: server/etc/modules/RXML.pmod/refs.pmod:1.3
More work. Now known to work a bit. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.4 Rev: server/etc/modules/RXML.pmod/module.pmod:1.7
Corrected implementation of runtime tags. Lots of type meddling. Rev: server/etc/modules/RXML.pmod/PXml.pike:1.3 Rev: server/etc/modules/RXML.pmod/module.pmod:1.6
Some type fixes. Rev: server/etc/modules/RXML.pmod/module.pmod:1.5
Fixed type error in VoidType->_sprintf(). Rev: server/etc/modules/RXML.pmod/module.pmod:1.4
More work. Rev: server/etc/modules/RXML.pmod/PExpr.pike:1.2 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.2 Rev: server/etc/modules/RXML.pmod/module.pmod:1.3
Did a "comment declaration" of two "abstract" variables. Rev: server/etc/modules/RXML.pmod/module.pmod:1.2
Preliminary checkin. Some details are still missing. Rev: server/etc/modules/RXML.pmod/PExpr.pike:1.1 Rev: server/etc/modules/RXML.pmod/PXml.pike:1.1 Rev: server/etc/modules/RXML.pmod/module.pmod:1.1 Rev: server/etc/modules/RXML.pmod/refs.pmod:1.1