Branch: Tag:

2020-05-29

2020-05-29 08:49:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2020-05-27

2020-05-27 10:35:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws620' into 6.1

* patches/ws620:
Documentation [RXML.Parser]: Minor language adjustment.
RXML.Parser: Do not format empty error messages.

2020-05-27 10:35:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws620' into 6.2

* patches/ws620:
Documentation [RXML.Parser]: Minor language adjustment.
RXML.Parser: Do not format empty error messages.

2020-05-27 10:34:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws620' into devel

* patches/ws620:
Documentation [RXML.Parser]: Minor language adjustment.
RXML.Parser: Do not format empty error messages.

2020-05-27 10:33:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [RXML.Parser]: Minor language adjustment.

2020-05-27 10:29:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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].

2020-03-25

2020-03-25 09:36:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rxml-memory-leak' into 6.1

* grubba/rxml-memory-leak:
RXML [GC]: Fixed memory leak.

2020-03-25 09:36:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rxml-memory-leak' into 6.2

* grubba/rxml-memory-leak:
RXML [GC]: Fixed memory leak.

2020-03-16

2020-03-16 14:06:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rxml-memory-leak' into devel

* grubba/rxml-memory-leak:
RXML [GC]: Fixed memory leak.

2020-03-16 14:02:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2019-10-02

2019-10-02 11:13:40 by Karl Gustav Sterneberg <kg@roxen.com>

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.
...

2019-05-22

2019-05-22 09:02:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2019-05-22 08:59:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2019-05-10

2019-05-10 09:54:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2019-05-08

2019-05-08 12:29:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2019-05-08 12:27:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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].

2018-03-16

2018-03-16 12:57:44 by Karl Gustav Sterneberg <kg@roxen.com>

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.
...

2018-03-15

2018-03-15 11:35:22 by Karl Gustav Sterneberg <kg@roxen.com>

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.
...

2018-01-26

2018-01-26 16:59:05 by Pontus Östlund <ponost@roxen.com>

Merge branch 'devel' into ponost/admin-if-17

2018-01-18

2018-01-18 15:59:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/rxml' into devel

* patches/rxml:
Documentation [RXML]: Added some API documentation.

2018-01-18 15:58:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [RXML]: Added some API documentation.

2018-01-03

2018-01-03 09:41:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'feature/CMS-297-secure-sitebuilder-cookie' into patches/ws-135

* feature/CMS-297-secure-sitebuilder-cookie: (804 commits)
...

2017-11-20

2017-11-20 14:51:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc' into patches/ftp

Synch with Roxen 6.0/6.1 split.

* commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc': (428 commits)

2017-11-17

2017-11-17 10:17:43 by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into kg/archive-client

2017-10-05

2017-10-05 17:34:09 by Pontus Östlund <ponost@roxen.com>

Merge branch 'devel' into ponost/admin-if-17

2017-10-05 09:07:18 by Anders Johansson <anders@roxen.com>

Don't try to count ints and floats to PCode entry size

2017-10-05 09:07:10 by Anders Johansson <anders@roxen.com>

Also exempt Tag objects when calculating PCode entry size

Since they are global objects referenced from many PCode objects.

2017-10-05 09:07:01 by Anders Johansson <anders@roxen.com>

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.

2017-10-05 09:03:59 by Anders Johansson <anders@roxen.com>

Don't try to count ints and floats to PCode entry size

2017-10-05 08:01:30 by Anders Johansson <anders@roxen.com>

Also exempt Tag objects when calculating PCode entry size

Since they are global objects referenced from many PCode objects.

2017-10-04

2017-10-04 16:00:23 by Anders Johansson <anders@roxen.com>

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.

2017-06-21

2017-06-21 12:16:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.
...

2017-05-05

2017-05-05 12:11:38 by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into kg/archive-client

2017-04-13

2017-04-13 09:27:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2017-04-13 09:26:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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().

2017-04-13 09:22:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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].

2017-04-13 09:17:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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].

2016-09-13

2016-09-13 13:33:19 by Martin Karlgren <marty@roxen.com>

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.

2016-09-13 13:32:23 by Martin Karlgren <marty@roxen.com>

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.

2016-09-07

2016-09-07 12:48:36 by Martin Karlgren <marty@roxen.com>

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.

2016-09-07 12:46:26 by Martin Karlgren <marty@roxen.com>

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.

2016-03-17

2016-03-17 08:15:05 by Martin Karlgren <marty@roxen.com>

RXML: Don't leak recorded changes to surrounding scopes when evaling PCode.

Fixes [RT #25739].

2016-03-17 08:14:35 by Martin Karlgren <marty@roxen.com>

RXML: Don't leak recorded changes to surrounding scopes when evaling PCode.

Fixes [RT #25739].

2016-03-17 08:14:21 by Martin Karlgren <marty@roxen.com>

RXML: Don't leak recorded changes to surrounding scopes when evaling PCode.

Fixes [RT #25739].

2016-03-16

2016-03-16 14:22:14 by Martin Karlgren <marty@roxen.com>

RXML: Don't leak recorded changes to surrounding scopes when evaling PCode.

Fixes [RT #25739].

2015-12-01

2015-12-01 14:45:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '5ee4d2b88e3e12d1622f9a161e9a29484cbf6e4c' into patches/bug7602

Bump base version to Roxen 5.2.335.

2015-10-23

2015-10-23 13:54:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '8a2ce4a87' into patches/bug7582

* commit '8a2ce4a87': (7413 commits)

2015-04-28

2015-04-28 12:32:58 by 0

Require threads.

2015-04-28 10:46:24 by 0

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)].

2015-03-23

2015-03-23 17:04:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike8.0' into devel

* patches/pike8.0:
RXML: Make sure to bump the RXML TagSet generation counter on added tags.

2015-03-23 17:03:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2015-03-20

2015-03-20 16:48:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RXML: Be more specific about weak mappings.

Potential fix for the RXML parser losing track of tags in the testsuite.

2014-11-28

2014-11-28 09:48:53 by Martin Karlgren <marty@roxen.com>

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.

2014-11-27

2014-11-27 14:25:42 by Martin Karlgren <marty@roxen.com>

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.

2014-11-27 14:25:34 by Martin Karlgren <marty@roxen.com>

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.

2014-11-27 14:23:51 by Martin Karlgren <marty@roxen.com>

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.

2014-10-22

2014-10-22 10:09:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2014-10-22 09:53:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2014-08-15

2014-08-15 16:50:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike8.0' into devel

* patches/pike8.0:
Pike 8.0: Change static to protected.

2014-08-15 16:47:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Pike 8.0: Change static to protected.

Pike 8.0 warns about use of this old keyword.

2014-08-08

2014-08-08 12:39:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2014-06-30

2014-06-30 09:03:58 by Martin Karlgren <marty@roxen.com>

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.

2014-06-30 06:55:09 by Martin Karlgren <marty@roxen.com>

PCode: Make sure to compile everything in PCode used by subevalers.

This helps breaking up cycles, resulting in less garbage.

2014-06-30 06:51:00 by Martin Karlgren <marty@roxen.com>

PCode: Make sure to compile everything in PCode used by subevalers.

This helps breaking up cycles, resulting in less garbage.

2014-06-27

2014-06-27 14:15:24 by Martin Karlgren <marty@roxen.com>

PCode: Make sure to compile everything in PCode used by subevalers.

This helps breaking up cycles, resulting in less garbage.

2014-05-16

2014-05-16 09:57:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2014-05-12

2014-05-12 16:07:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2014-05-12 15:48:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.".

2014-05-12 15:34:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2014-04-16

2014-04-16 14:13:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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)].

2014-01-27

2014-01-27 14:03:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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)].

2014-01-09

2014-01-09 10:38:02 by Anders Johansson <anders@roxen.com>

Fixed path display when server path contains symlinks.

This is a bugfix of commit 92dc21b1d1cc2167fc52841d9f88edace5d88dc7 and
solves [bug 6267 (#6267)].

2014-01-09 10:20:09 by Anders Johansson <anders@roxen.com>

Fixed path display when server path contains symlinks.

This is a bugfix of commit 92dc21b1d1cc2167fc52841d9f88edace5d88dc7 and
solves [bug 6267 (#6267)].

2013-11-25

2013-11-25 13:18:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RXML: Don't type check empty arguments.

Also updates the roxen.version test in the BaseRXML testsuite.

Fixes remaining testsuite failures.

2013-10-08

2013-10-08 12:31:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6902' into devel

* patches/bug6902:
RXML: <replace/> needs to avoid decoding the XML/HTML quotes too.

2013-10-08 12:10:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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)].

2013-10-01

2013-10-01 16:49:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike7.9' into devel

* patches/pike7.9:
[compat][debug] Fix PikeCompile compat with Pike 7.9.

2013-10-01 16:46:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike7.9' into 5.2

* patches/pike7.9:
[compat][debug] Fix PikeCompile compat with Pike 7.9.

2013-10-01 16:44:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

[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.

2013-10-01 16:40:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '6d239d6' into patches/pike7.9

* commit '6d239d6':
[compat][debug] Fix PikeCompile compat with Pike 7.9.

2013-09-03

2013-09-03 09:08:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6866' into devel

* patches/bug6866:
RXML: Fix recursive mutex bug.

2013-09-03 09:07:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6866' into 5.2

* patches/bug6866:
RXML: Fix recursive mutex bug.

2013-09-03 09:03:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RXML: Fix recursive mutex bug.

The tentative fix for [bug 6467 (#6467)] was broken.

Fixes [bug 6866 (#6866)] and some of [bug 6467 (#6467)].

2013-07-03

2013-07-03 12:21:01 by Anders Johansson <anders@roxen.com>

Removed leftover debug message.

2013-06-27

2013-06-27 10:07:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike7.9' into 5.2

* patches/pike7.9:
[compat][debug] Fix PikeCompile compat with Pike 7.9.

2013-06-27 10:05:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike7.9' into devel

* patches/pike7.9:
[compat][debug] Fix PikeCompile compat with Pike 7.9.

2013-06-27 09:59:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

[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.

2013-06-03

2013-06-03 15:07:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug6607 (#6607)' into devel

* patches/bug6607 (#6607):
RXML: Fixed width check for narrow strings. Fixes [bug 6607 (#6607)].

2013-06-03 15:05:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RXML: Fixed width check for narrow strings. Fixes [bug 6607 (#6607)].

2013-06-03 14:01:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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.

2013-06-03 13:59:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RXML.t_narrowtext: Added type for 8-bit text.

Needed to fix [bug 6607 (#6607)].

2013-06-03 13:43:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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)].

2013-03-04

2013-03-04 14:05:47 by Anders Johansson <anders@roxen.com>

No more foreign_idents.

More pain than they are worth.

2012-08-21

2012-08-21 12:13:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2012-08-20

2012-08-20 17:57:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2012-06-07

2012-06-07 08:27:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2012-05-11

2012-05-11 00:23:04 by Martin Stjernholm <mast@lysator.liu.se>

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

2012-02-20

2012-02-20 14:22:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed some AutoDoc mk II markup.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.430

2012-02-16

2012-02-16 13:10:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RXML: Adjusted some Autodoc markup to make the extractor happy.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.429

2012-01-26

2012-01-26 01:16:41 by Martin Stjernholm <mast@lysator.liu.se>

Fixed path bug in the decoder introduced in 1.426.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.428

2012-01-16

2012-01-16 11:12:50 by Martin Stjernholm <mast@lysator.liu.se>

Avoid large line numbers in generated pike code.

Workaround for [bug 6146 (#6146)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.427

2012-01-12

2012-01-12 16:12:11 by Martin Stjernholm <mast@lysator.liu.se>

Avoid large line numbers in generated pike code.

Workaround for [bug 6146 (#6146)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.423

2011-12-27

2011-12-27 19:01:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2011-12-27 18:47:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2011-11-14

2011-11-14 00:13:58 by Martin Stjernholm <mast@lysator.liu.se>

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

2011-04-27

2011-04-27 17:30:22 by Martin Stjernholm <mast@lysator.liu.se>

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

2011-03-03

2011-03-03 08:50:04 by Martin Stjernholm <mast@lysator.liu.se>

Fixed the last checkin: You cannot detect UNDEFINED by ==.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.422

2011-03-03 08:50:04 by Martin Stjernholm <mast@lysator.liu.se>

Fixed the last checkin: You cannot detect UNDEFINED by ==.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.422

2011-02-28

2011-02-28 17:45:26 by Jonas Wallden <jonasw@roxen.com>

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

2011-02-28 17:45:26 by Jonas Wallden <jonasw@roxen.com>

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

2011-01-25

2011-01-25 20:21:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2011-01-25 20:21:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2011-01-25 20:10:39 by Martin Stjernholm <mast@lysator.liu.se>

Avoid rounding errors when comparing the compat level.

Fixes [bug 3877 (#3877)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.419

2011-01-25 20:09:03 by Martin Stjernholm <mast@lysator.liu.se>

Avoid rounding errors when comparing the compat level.

Fixes [bug 3877 (#3877)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.419

2010-11-02

2010-11-02 15:20:09 by Jonas Wallden <jonasw@roxen.com>

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

2010-07-12

2010-07-12 20:21:22 by Martin Stjernholm <mast@lysator.liu.se>

The new t_ignore must be a subtype of all other types.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.417

2010-07-12 17:29:27 by Martin Stjernholm <mast@lysator.liu.se>

Worked a bit more on the doc for t_ignore.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.416

2010-07-12 17:01:53 by Martin Stjernholm <mast@lysator.liu.se>

Added a special type for <nooutput>.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.415

2010-06-02

2010-06-02 14:38:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2010-06-02 14:36:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2010-04-27

2010-04-27 20:37:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2010-04-20

2010-04-20 13:09:55 by Martin Stjernholm <mast@lysator.liu.se>

Fixed missing context problem in RXML.Tag.eval_args.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.412

2009-12-23

2009-12-23 20:27:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-09-02

2009-09-02 11:47:25 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-07-13

2009-07-13 10:28:49 by Martin Stjernholm <mast@lysator.liu.se>

Removed a werror that got in by mistake.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.409

2009-07-13 09:27:07 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-07-06

2009-07-06 10:45:42 by Jonas Wallden <jonasw@roxen.com>

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

2009-07-02

2009-07-02 19:56:51 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-07-02 18:29:20 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-07-02 12:39:39 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-05-06

2009-05-06 13:05:30 by Jonas Wallden <jonasw@roxen.com>

Fix argument list in error message.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.403

2009-04-24

2009-04-24 11:55:12 by Martin Stjernholm <mast@lysator.liu.se>

Added a fixme about adding a new "xml" type.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.402

2009-04-23

2009-04-23 20:18:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-04-23 20:15:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-04-23 17:52:14 by Martin Stjernholm <mast@lysator.liu.se>

Amended fix 1.339 for the t_xml and t_html types.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.400

2009-04-23 11:43:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-04-20

2009-04-20 13:03:18 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-04-20 11:22:41 by Martin Stjernholm <mast@lysator.liu.se>

Fixed missing initialization in the previous commit.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.397

2009-04-17

2009-04-17 15:46:42 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-04-07

2009-04-07 22:06:37 by Martin Stjernholm <mast@lysator.liu.se>

The whitespace handling for the string type is not expected to change
anymore.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.395

2009-04-07 16:04:43 by Martin Stjernholm <mast@lysator.liu.se>

Some more hints on the use of RXML.t_any_text.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.394

2009-04-03

2009-04-03 19:25:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Make the Autodoc extractor happy.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.393

2009-02-26

2009-02-26 23:52:25 by Martin Stjernholm <mast@lysator.liu.se>

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

2009-02-26 23:44:56 by Martin Stjernholm <mast@lysator.liu.se>

Improved RXML_PCODE_UPDATE_DEBUG logging.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.391

2009-02-16

2009-02-16 16:43:50 by Jonas Wallden <jonasw@roxen.com>

Added debug.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.390
Rev: server/protocols/http.pike:1.588

2009-01-08

2009-01-08 23:14:46 by Stephen R. van den Berg <srb@cuci.nl>

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

2008-12-22

2008-12-22 14:52:40 by Martin Stjernholm <mast@lysator.liu.se>

Allow rxml_var_eval to return this without creating a loop.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.388

2008-12-22 10:35:40 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-11-26

2008-11-26 01:53:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-11-19

2008-11-19 20:06:46 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-11-19 13:37:44 by Martin Stjernholm <mast@lysator.liu.se>

And another.. :P

Rev: server/etc/modules/RXML.pmod/module.pmod:1.357

2008-11-19 12:31:05 by Martin Stjernholm <mast@lysator.liu.se>

Fixed silly off-by-one error.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.356

2008-11-19 02:05:22 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-11-18

2008-11-18 21:41:46 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-11-03

2008-11-03 21:15:20 by Martin Stjernholm <mast@lysator.liu.se>

Added some handy type recognition constants.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.383

2008-10-30

2008-10-30 09:02:31 by Martin Stjernholm <mast@lysator.liu.se>

Backported t_array and t_mapping types for internal prototyping
purposes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.354

2008-10-29

2008-10-29 21:52:23 by Martin Stjernholm <mast@lysator.liu.se>

Tweaked a comment.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.382

2008-10-29 21:41:10 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-10-26

2008-10-26 21:27:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-10-12

2008-10-12 22:42:53 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a bogus debug check.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.379

2008-10-12 22:14:03 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-10-12 22:07:42 by Martin Stjernholm <mast@lysator.liu.se>

Removed two unused constants.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.377

2008-10-12 22:07:05 by Martin Stjernholm <mast@lysator.liu.se>

Fixed missing functions for dumping CSF.EnterScope and CSF.LeaveScope.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.376

2008-10-07

2008-10-07 19:56:14 by Martin Stjernholm <mast@lysator.liu.se>

Fix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.375

2008-10-07 19:49:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-10-07 19:16:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-10-07 12:20:12 by Martin Stjernholm <mast@lysator.liu.se>

Updated the p-code version since the last fix makes the p-code
incompatible.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.353

2008-10-07 12:16:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-09-28

2008-09-28 17:51:36 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-09-28 17:49:49 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-09-27

2008-09-27 18:28:54 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-09-16

2008-09-16 10:17:32 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-09-03

2008-09-03 16:14:28 by Jonas Wallden <jonasw@roxen.com>

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

2008-08-15

2008-08-15 12:33:55 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-06-24

2008-06-24 13:25:14 by Martin Stjernholm <mast@lysator.liu.se>

Workaround for unused variable warnings in compiled p-code.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.366

2008-05-08

2008-05-08 15:17:33 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-05-07

2008-05-07 11:02:41 by Martin Stjernholm <mast@lysator.liu.se>

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

2008-02-14

2008-02-14 22:13:16 by Martin Stjernholm <mast@lysator.liu.se>

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

2007-05-29

2007-05-29 13:12:37 by Martin Stjernholm <mast@lysator.liu.se>

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

2007-03-01

2007-03-01 16:06:23 by Martin Stjernholm <mast@lysator.liu.se>

Avoid stacking up several stale p-code notes in the same error.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.361

2007-01-12

2007-01-12 20:41:20 by Martin Stjernholm <mast@lysator.liu.se>

Fixed VariableChange.eval_rxml_consts to adhere better to the full
RXML.Scope API.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.360

2007-01-12 20:13:06 by Martin Stjernholm <mast@lysator.liu.se>

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

2007-01-12 19:49:03 by Martin Stjernholm <mast@lysator.liu.se>

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

2007-01-12 17:51:28 by Martin Stjernholm <mast@lysator.liu.se>

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

2007-01-12 17:35:12 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-12-12

2006-12-12 15:36:56 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-12-11

2006-12-11 17:22:53 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-11-17

2006-11-17 14:15:53 by Martin Stjernholm <mast@lysator.liu.se>

Bumped the major p-code version for 4.6.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.353

2006-11-14

2006-11-14 21:29:48 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-10-26

2006-10-26 18:09:03 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-10-26 18:09:03 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-10-26 18:09:03 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-09-14

2006-09-14 13:01:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-09-14 13:01:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-08-22

2006-08-22 12:21:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-08-22 12:21:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-05-08

2006-05-08 16:16:11 by Martin Stjernholm <mast@lysator.liu.se>

Bumped the major p-code version to keep in synch with 4.5.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.348

2006-05-08 16:15:07 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-05-08 16:15:06 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-05-08 16:15:04 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-05-08 12:59:53 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-03-22

2006-03-22 10:11:33 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-03-22 10:06:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2006-02-21

2006-02-21 06:36:32 by Martin Stjernholm <mast@lysator.liu.se>

Handle all the decode errors due to bytecode incompatibilities.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.344

2005-09-16

2005-09-16 10:50:00 by Martin Stjernholm <mast@lysator.liu.se>

Small debug fix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.343

2005-05-27

2005-05-27 12:37:36 by Martin Stjernholm <mast@lysator.liu.se>

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

2005-05-27 12:35:01 by Martin Stjernholm <mast@lysator.liu.se>

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

2005-05-27 12:34:23 by Martin Stjernholm <mast@lysator.liu.se>

Some autodoc syntax fixes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.342

2005-05-27 12:33:59 by Martin Stjernholm <mast@lysator.liu.se>

Some autodoc syntax fixes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.336

2005-05-27 12:31:34 by Martin Stjernholm <mast@lysator.liu.se>

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

2005-04-06

2005-04-06 12:47:05 by Martin Stjernholm <mast@lysator.liu.se>

Small clarification.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.340

2005-02-17

2005-02-17 17:17:46 by Martin Stjernholm <mast@lysator.liu.se>

Fix for the previous checkin: Don't feed nonstrings to Parser.HTML.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.339

2005-02-15

2005-02-15 15:46:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for [bug 3883 (#3883)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.338

2005-02-10

2005-02-10 16:23:53 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-10-20

2004-10-20 14:11:11 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a small spello.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.336

2004-08-11

2004-08-11 15:45:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.335

2004-08-11 15:31:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added grouping to use of `+() in finish() to avoid huge stack usage.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.334

2004-06-28

2004-06-28 16:01:50 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-06-28 16:01:47 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-06-23

2004-06-23 13:00:11 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-06-18

2004-06-18 16:56:02 by Martin Stjernholm <mast@lysator.liu.se>

Throw a typed error for stale p-code errors.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.331

2004-04-19

2004-04-19 18:15:07 by Martin Stjernholm <mast@lysator.liu.se>

Fixed aesthetic bug.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.330

2004-04-19 18:04:19 by Martin Stjernholm <mast@lysator.liu.se>

Made the tolerant_charref_decode_parser a bit more tolerant.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.329

2004-04-19 17:16:13 by Martin Stjernholm <mast@lysator.liu.se>

Added RXML.t_xml->decode_charrefs.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.328

2004-03-30

2004-03-30 20:21:01 by Martin Stjernholm <mast@lysator.liu.se>

t_nil better be a subtype of every other type.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.327

2004-03-30 20:09:16 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-02-20

2004-02-20 19:47:31 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-02-17

2004-02-17 20:15:40 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27

2004-01-27 19:27:49 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 19:25:26 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 18:42:39 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 18:42:37 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 18:42:34 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 18:35:41 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 18:30:36 by Martin Stjernholm <mast@lysator.liu.se>

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

2004-01-27 18:26:42 by Martin Stjernholm <mast@lysator.liu.se>

Some debug logging improvements.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.320

2003-12-17

2003-12-17 13:14:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed warning.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.319
Rev: server/modules/logging/roxen_network.pike:1.12

2003-12-15

2003-12-15 09:51:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Workaround for circular dependency.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.318

2003-10-13

2003-10-13 13:11:05 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-08-26

2003-08-26 15:43:56 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-08-26 15:43:53 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-08-26 15:43:48 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-06-24

2003-06-24 12:44:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Made eval_finish a tentative symbol.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.315

2003-05-27

2003-05-27 11:33:06 by Martin Stjernholm <mast@lysator.liu.se>

More "by the book" locking in PikeCompile, to dispell doubts.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.314

2003-05-27 11:33:04 by Martin Stjernholm <mast@lysator.liu.se>

More "by the book" locking in PikeCompile, to dispell doubts.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.305

2003-05-27 11:33:02 by Martin Stjernholm <mast@lysator.liu.se>

More "by the book" locking in PikeCompile, to dispell doubts.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.293

2003-05-22

2003-05-22 11:44:11 by Martin Stjernholm <mast@lysator.liu.se>

Handle destructed tag sets in TagSet.get_hash_data.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.313

2003-05-06

2003-05-06 12:09:07 by Anders Johansson <anders@roxen.com>

Small doc fix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.312

2003-04-23

2003-04-23 17:18:40 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-04-23 12:56:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-03-31

2003-03-31 12:58:01 by Martin Stjernholm <mast@lysator.liu.se>

Fixed return value from CompiledCallback.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.310

2003-03-31 12:50:21 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug with CompiledCallback clobbering in ram cached p-code.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.309

2003-03-25

2003-03-25 20:30:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-03-24

2003-03-24 18:05:41 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-01-20

2003-01-20 12:37:31 by Martin Stjernholm <mast@lysator.liu.se>

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

2003-01-15

2003-01-15 21:23:40 by Martin Stjernholm <mast@lysator.liu.se>

Made TagSet._sprintf more robust wrt destructed objects(?).

Rev: server/etc/modules/RXML.pmod/module.pmod:1.305

2003-01-13

2003-01-13 17:57:56 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-12-17

2002-12-17 15:35:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Markup fixes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.303

2002-11-12

2002-11-12 18:32:52 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-11-12 18:32:51 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-11-12 18:32:47 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-25

2002-10-25 23:05:48 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-24

2002-10-24 17:53:32 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-22

2002-10-22 08:50:57 by Jonas Wallden <jonasw@roxen.com>

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

2002-10-15

2002-10-15 12:44:52 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-15 12:44:49 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-15 12:05:13 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-14

2002-10-14 16:41:49 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-14 13:12:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-07

2002-10-07 17:56:53 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-07 13:35:40 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-10-03

2002-10-03 11:49:35 by Martin Stjernholm <mast@lysator.liu.se>

Forgot one case.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.293

2002-10-02

2002-10-02 23:10:26 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-09-03

2002-09-03 16:36:46 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-08-14

2002-08-14 18:22:55 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-08-12

2002-08-12 21:55:51 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-07-16

2002-07-16 09:23:18 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-06-27

2002-06-27 21:18:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-06-11

2002-06-11 14:35:16 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-06-11 14:34:38 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-06-05

2002-06-05 00:13:51 by Martin Nilsson <mani@lysator.liu.se>

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

2002-05-15

2002-05-15 22:10:38 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-05-15 22:10:34 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-05-13

2002-05-13 12:37:50 by Martin Stjernholm <mast@lysator.liu.se>

(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

2002-05-13 12:36:44 by Martin Stjernholm <mast@lysator.liu.se>

(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

2002-04-22

2002-04-22 14:39:21 by Martin Stjernholm <mast@lysator.liu.se>

Added debug code to get a better report for the argmap being NULL bug.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.283

2002-04-17

2002-04-17 12:57:03 by Martin Stjernholm <mast@lysator.liu.se>

Improved the rxml backtraces that are attached to normal exceptions
inside the parser.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.282

2002-04-17 00:44:12 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-04-17 00:44:04 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-04-09

2002-04-09 10:53:06 by Martin Stjernholm <mast@lysator.liu.se>

Added some debug checks to detect concurrent use of rxml frames
between threads.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.280

2002-04-03

2002-04-03 12:48:31 by Martin Stjernholm <mast@lysator.liu.se>

More accurate fix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.279

2002-04-03 12:48:30 by Martin Stjernholm <mast@lysator.liu.se>

More accurate fix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.268

2002-04-03 12:37:28 by Martin Stjernholm <mast@lysator.liu.se>

Fix in the last checkin.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.278

2002-04-03 12:37:26 by Martin Stjernholm <mast@lysator.liu.se>

Fix in the last checkin.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.267

2002-04-03 12:02:04 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-04-03 12:02:01 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-03-27

2002-03-27 20:45:01 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-03-25

2002-03-25 16:52:21 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-03-25 16:52:19 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-03-15

2002-03-15 16:43:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-03-15 16:43:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-03-13

2002-03-13 17:56:21 by Martin Stjernholm <mast@lysator.liu.se>

Removed an unnecessary catch where the exception only is rethrown.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.273

2002-03-12

2002-03-12 13:27:51 by Martin Stjernholm <mast@lysator.liu.se>

Removed some debug macros which now are in roxen.h and module.h.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.272

2002-02-27

2002-02-27 15:23:34 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-02-15

2002-02-15 17:11:32 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-02-15 17:11:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-02-14

2002-02-14 22:07:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-02-06

2002-02-06 17:38:59 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-02-06 17:38:56 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-02-05

2002-02-05 19:53:57 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-01-30

2002-01-30 00:39:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2002-01-30 00:32:03 by Martin Stjernholm <mast@lysator.liu.se>

Bumped p-code version since bugs with lost http headers has been
fixed.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.266

2002-01-30 00:10:29 by Martin Stjernholm <mast@lysator.liu.se>

Added Context.signal_var_change.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.265

2002-01-07

2002-01-07 17:15:46 by Stephen R. van den Berg <srb@cuci.nl>

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

2002-01-07 17:15:42 by Stephen R. van den Berg <srb@cuci.nl>

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

2001-12-04

2001-12-04 16:09:52 by Martin Stjernholm <mast@lysator.liu.se>

Always do the debug check to ensure that encoded p-code is fully
resolved.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.263

2001-12-04 16:09:50 by Martin Stjernholm <mast@lysator.liu.se>

Always do the debug check to ensure that encoded p-code is fully
resolved.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.259

2001-11-27

2001-11-27 18:57:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-11-23

2001-11-23 20:57:57 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-11-23 20:55:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-11-23 13:59:52 by Martin Stjernholm <mast@lysator.liu.se>

Improved doc for RXML.TagSet.create.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.260

2001-11-21

2001-11-21 13:15:49 by Martin Stjernholm <mast@lysator.liu.se>

Removed a too noisy debug message that got in by mistake.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.259

2001-11-21 12:26:47 by Martin Stjernholm <mast@lysator.liu.se>

Compact result compiled p-code better. Improved _sprintf in some
objects.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.258

2001-11-20

2001-11-20 17:46:05 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-11-20 17:45:49 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-11-14

2001-11-14 15:45:25 by Martin Stjernholm <mast@lysator.liu.se>

Fix to the last kludge.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.256

2001-11-14 15:33:15 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-10-29

2001-10-29 14:58:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-10-08

2001-10-08 09:54:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-10-03

2001-10-03 06:01:44 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-10-03 05:39:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-10-03 05:38:26 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-10-01

2001-10-01 09:21:37 by Anders Johansson <anders@roxen.com>

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

2001-09-27

2001-09-27 20:35:33 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-09-19

2001-09-19 18:06:07 by Martin Nilsson <mani@lysator.liu.se>

Made the most interesting types inheritable.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.247

2001-09-18

2001-09-18 18:57:45 by Martin Stjernholm <mast@lysator.liu.se>

Kludge for the loop detection between Scope.m_delete and Scope._m_delete.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.246

2001-09-13

2001-09-13 14:03:48 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bugs when strings are used as index with RXML.Context.set_misc.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.245

2001-08-31

2001-08-31 21:43:38 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-29

2001-08-29 14:54:01 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-28

2001-08-28 21:36:01 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-27

2001-08-27 20:07:27 by Martin Stjernholm <mast@lysator.liu.se>

Added ignore_tag_set_hash arg to string_to_p_code.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.241

2001-08-27 11:24:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for [bug 2045 (#2045)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.240

2001-08-24

2001-08-24 20:46:45 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-24 01:00:33 by Martin Stjernholm <mast@lysator.liu.se>

Added a small doc note.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.238

2001-08-24 00:25:10 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-23

2001-08-23 23:20:13 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-23 17:22:12 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug introduced yesterday where expanded entities got value 0 in
result p-code.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.235

2001-08-22

2001-08-22 22:19:08 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-22 17:28:22 by Marcus Wellhardh <wellhard@roxen.com>

mast: Do not record variable changes that happen during uncached tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.233

2001-08-22 16:26:39 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-22 14:14:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-22 13:01:40 by Martin Stjernholm <mast@lysator.liu.se>

Added FLAG_CUSTOM_TRACE.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.230

2001-08-21

2001-08-21 22:31:27 by Martin Stjernholm <mast@lysator.liu.se>

Made the "P-code is stale" error a bit more verbose.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.229

2001-08-21 21:50:26 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-21 18:03:55 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-21 14:46:04 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-20

2001-08-20 19:30:37 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-20 11:55:57 by Martin Nilsson <mani@lysator.liu.se>

@list -> @ul

Rev: server/etc/modules/RXML.pmod/module.pmod:1.224

2001-08-14

2001-08-14 18:35:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Support non-threaded operation.

Rev: server/base_server/roxenloader.pike:1.276
Rev: server/etc/modules/RXML.pmod/module.pmod:1.223

2001-08-14 17:05:42 by Martin Stjernholm <mast@lysator.liu.se>

Updated the API stability blurb.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.222

2001-08-14 16:59:13 by Martin Stjernholm <mast@lysator.liu.se>

Added RXML_RESCACHE_DEBUG. Fixed bug in Nil.``+ that caused [bug
1962 (#1962)].

Rev: server/etc/modules/RXML.pmod/module.pmod:1.221

2001-08-13

2001-08-13 23:02:42 by Martin Stjernholm <mast@lysator.liu.se>

Share the codec object.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.220

2001-08-13 15:58:22 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-08-10

2001-08-10 23:06:54 by Martin Stjernholm <mast@lysator.liu.se>

A couple more support functions in TagSet. A bit better debug in the
codec.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.218

2001-08-09

2001-08-09 22:43:58 by Martin Nilsson <mani@lysator.liu.se>

Autodoc fixes

Rev: server/etc/modules/RXML.pmod/module.pmod:1.217

2001-08-09 18:42:02 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-26

2001-07-26 01:51:45 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug which caused a backtrace when help was requested.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.215

2001-07-25

2001-07-25 21:02:21 by Martin Stjernholm <mast@lysator.liu.se>

Added p-code update tracking; new functions Context.state_update and
PCode.is_updated.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.214

2001-07-25 19:28:19 by Martin Stjernholm <mast@lysator.liu.se>

Misc fixes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.213

2001-07-25 18:48:07 by Martin Stjernholm <mast@lysator.liu.se>

Added the type t_parser. Fixed some outdated function prototypes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.212

2001-07-24

2001-07-24 22:35:41 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-21

2001-07-21 14:23:24 by Martin Stjernholm <mast@lysator.liu.se>

Bugfixes in result compilation. Compact sequences of constant in
compiled results.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.210

2001-07-20

2001-07-20 06:34:31 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-20 00:36:18 by Martin Stjernholm <mast@lysator.liu.se>

Minor comment changes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.208

2001-07-19

2001-07-19 00:42:20 by Martin Stjernholm <mast@lysator.liu.se>

Fixed type conversion bug when evaluating from p-code.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.207

2001-07-19 00:05:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-16

2001-07-16 21:33:21 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-16 03:12:46 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-16 02:19:54 by Martin Stjernholm <mast@lysator.liu.se>

Improved the explanation of p-code decode exceptions.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.203

2001-07-16 02:02:47 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-12

2001-07-12 21:49:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-12 18:33:45 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-11

2001-07-11 18:30:13 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some delayed resolving bugs.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.199

2001-07-11 14:55:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-11 06:22:07 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-11 06:00:37 by Martin Stjernholm <mast@lysator.liu.se>

Fixed inadvertent dumping of frames with splice args.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.196

2001-07-11 04:25:07 by Martin Stjernholm <mast@lysator.liu.se>

Some work on breaking the evaluation of frames.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.195

2001-07-11 03:10:34 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-10

2001-07-10 02:38:55 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-10 00:57:02 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-09

2001-07-09 23:05:42 by Martin Stjernholm <mast@lysator.liu.se>

Bugfix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.191

2001-07-09 04:02:15 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-07-02

2001-07-02 16:44:11 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-30

2001-06-30 16:50:40 by Per Hedbor <ph@opera.com>

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

2001-06-30 16:00:00 by Martin Stjernholm <mast@lysator.liu.se>

Slight optimization.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.187

2001-06-30 15:47:09 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-29

2001-06-29 15:11:30 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-29 12:45:42 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-29 00:21:06 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-28

2001-06-28 20:24:59 by Martin Stjernholm <mast@lysator.liu.se>

Unregister the tag set properly on destruct.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.182

2001-06-28 20:06:59 by Martin Stjernholm <mast@lysator.liu.se>

Better handling of tag sets with non-unique names.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.181

2001-06-28 19:32:37 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-28 00:24:40 by Martin Stjernholm <mast@lysator.liu.se>

Fixed silly bug causing exponential growth of the p-code arrays.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.179

2001-06-27

2001-06-27 19:24:05 by Jonas Wallden <jonasw@roxen.com>

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

2001-06-27 17:10:46 by Martin Stjernholm <mast@lysator.liu.se>

P-code bug fixes. Only encode and decode the persistent data for PCode
objects.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.177

2001-06-26

2001-06-26 22:23:34 by Martin Stjernholm <mast@lysator.liu.se>

Ensure compile-time lookups in the generated code wherever possible.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.176

2001-06-26 20:13:10 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-26 01:34:29 by Martin Stjernholm <mast@lysator.liu.se>

Fixed problem with thread safety in p-code evaluation.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.174

2001-06-25

2001-06-25 19:20:45 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-25 15:20:22 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-22

2001-06-22 01:06:19 by Marcus Comstedt <marcus@mc.pp.se>

PCode encoding added.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.171

2001-06-21

2001-06-21 02:43:46 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-20

2001-06-20 23:27:24 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-19

2001-06-19 00:24:21 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-18

2001-06-18 15:18:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-13

2001-06-13 13:51:49 by Martin Stjernholm <mast@lysator.liu.se>

Another more compatible fix in the tag formatting done by
propagate_tag.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.166

2001-06-11

2001-06-11 23:14:28 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-11 19:12:19 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-09

2001-06-09 02:39:44 by Martin Nilsson <mani@lysator.liu.se>

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

2001-06-09 00:33:25 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-06-01

2001-06-01 17:25:40 by Johan Sundström <oyasumi@gmail.com>

Mast fix.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.161

2001-05-22

2001-05-22 16:59:23 by Marcus Comstedt <marcus@mc.pp.se>

Removed softcast to more general type.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.160

2001-05-19

2001-05-19 05:34:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-05-18

2001-05-18 19:49:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-05-17

2001-05-17 22:00:32 by Martin Nilsson <mani@lysator.liu.se>

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

2001-05-17 08:38:06 by Marcus Wellhardh <wellhard@roxen.com>

Fixed macro THIS_TAG_DEBUG_ENTER_SCOPE without debug enabled.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.156

2001-05-17 02:55:22 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-05-17 02:34:25 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a bogus debug check.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.126

2001-05-16

2001-05-16 12:57:49 by Per Hedbor <ph@opera.com>

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

2001-05-14

2001-05-14 04:30:46 by Per Hedbor <ph@opera.com>

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

2001-05-08

2001-05-08 00:57:30 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-05-08 00:37:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-04-25

2001-04-25 14:05:24 by Martin Nilsson <mani@lysator.liu.se>

Added error wrappers that scans the imported tag sets for an applicable error handler.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.151

2001-04-24

2001-04-24 00:44:08 by Martin Nilsson <mani@lysator.liu.se>

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

2001-04-19

2001-04-19 12:08:27 by Johan Sundström <oyasumi@gmail.com>

[docs] Made inline autodocs more autodocwise.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.149

2001-04-18

2001-04-18 04:51:42 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-04-08

2001-04-08 23:10:24 by Per Hedbor <ph@opera.com>

Use callablep

Rev: server/etc/modules/RXML.pmod/module.pmod:1.147

2001-04-08 21:57:12 by Per Hedbor <ph@opera.com>

Use callablep if it's available

Rev: server/etc/modules/RXML.pmod/module.pmod:1.124

2001-03-26

2001-03-26 23:59:36 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-26 23:59:36 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-26 16:37:10 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-26 16:37:08 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-23

2001-03-23 22:49:43 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-15

2001-03-15 23:31:26 by Per Hedbor <ph@opera.com>

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

2001-03-15 00:30:56 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-14

2001-03-14 01:20:48 by Martin Stjernholm <mast@lysator.liu.se>

Temporary fix for the bug that <set> ceased to accept plain strings.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.141

2001-03-14 01:02:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-13

2001-03-13 20:35:18 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-13 20:21:46 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-13 17:08:29 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-12

2001-03-12 16:39:36 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-03-05

2001-03-05 19:08:16 by Martin Nilsson <mani@lysator.liu.se>

Bugfix so that entities works in compatibility mode. Changed werror to report_debug

Rev: server/etc/modules/RXML.pmod/module.pmod:1.135

2001-03-01

2001-03-01 03:06:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-02-17

2001-02-17 17:57:35 by Martin Stjernholm <mast@lysator.liu.se>

Corrected doc for FLAG_EMPTY_ELEMENT.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.121

2001-02-17 17:57:34 by Martin Stjernholm <mast@lysator.liu.se>

Corrected doc for FLAG_EMPTY_ELEMENT.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.133

2001-02-11

2001-02-11 15:28:07 by Martin Stjernholm <mast@lysator.liu.se>

Fixes in Parser.handle_var; now the ':' quoting method actually works
too.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.132

2001-02-11 15:07:44 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-02-11 13:32:48 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-02-11 12:49:43 by Martin Stjernholm <mast@lysator.liu.se>

Fixed parse_user_var again to not require any other special character
than '.'.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.129

2001-02-11 12:16:42 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-02-11 03:02:13 by Martin Nilsson <mani@lysator.liu.se>

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

2001-01-24

2001-01-24 19:49:10 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug in TagSet.get_overridden_tag for plugin tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.126

2001-01-24 19:48:14 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug in TagSet.get_overridden_tag for plugin tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.120

2001-01-18

2001-01-18 19:25:15 by Martin Stjernholm <mast@lysator.liu.se>

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

2001-01-18 19:25:11 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-12-11

2000-12-11 10:44:37 by Per Hedbor <ph@opera.com>

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

2000-12-11 04:33:34 by Per Hedbor <ph@opera.com>

Here be dragons

Rev: server/etc/modules/RXML.pmod/module.pmod:1.123
Rev: server/font_handlers/rbf:1.3

2000-11-27

2000-11-27 02:15:07 by Martin Stjernholm <mast@lysator.liu.se>

Made some global service functions final to make inlining possible.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.122

2000-11-13

2000-11-13 22:06:04 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-11-06

2000-11-06 20:28:15 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-11-04

2000-11-04 21:05:34 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-11-02

2000-11-02 16:52:08 by Per Hedbor <ph@opera.com>

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

2000-10-19

2000-10-19 01:51:10 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-10-19 01:50:52 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-10-17

2000-10-17 23:02:30 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-10-11

2000-10-11 22:48:33 by Martin Stjernholm <mast@lysator.liu.se>

Added Frame.get_overridden_tag as shortcut to
TagSet.get_overridden_tag.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.116

2000-09-28

2000-09-28 02:07:04 by Martin Nilsson <mani@lysator.liu.se>

Removed scopename magic

Rev: server/etc/modules/RXML.pmod/module.pmod:1.115

2000-09-28 01:51:09 by Martin Nilsson <mani@lysator.liu.se>

When you revert you remove the new _insert_ the old code

Rev: server/etc/modules/RXML.pmod/module.pmod:1.116

2000-09-28 01:39:13 by Martin Nilsson <mani@lysator.liu.se>

Removed scopename magic. Available through &page.scope;.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.115

2000-09-26

2000-09-26 23:16:01 by Per Hedbor <ph@opera.com>

Minor adjustments

Rev: server/etc/modules/RXML.pmod/module.pmod:1.114

2000-09-26 23:16:00 by Per Hedbor <ph@opera.com>

Minor adjustments

Rev: server/etc/modules/RXML.pmod/module.pmod:1.114

2000-09-25

2000-09-25 21:49:39 by Martin Stjernholm <mast@lysator.liu.se>

Added hint to the empty element error message.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.113

2000-09-24

2000-09-24 20:40:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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

2000-09-23

2000-09-23 02:30:25 by Per Hedbor <ph@opera.com>

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

2000-09-21

2000-09-21 03:57:44 by Per Hedbor <ph@opera.com>

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

2000-09-15

2000-09-15 00:36:04 by Martin Nilsson <mani@lysator.liu.se>

Fixed a compatibility issue with variables containing "."

Rev: server/etc/modules/RXML.pmod/module.pmod:1.110

2000-09-14

2000-09-14 21:55:53 by Martin Stjernholm <mast@lysator.liu.se>

Slight changes to the api stability notes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.109

2000-09-08

2000-09-08 03:23:58 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-09-07

2000-09-07 20:26:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-08-31

2000-08-31 19:14:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-08-29

2000-08-29 23:45:06 by Martin Stjernholm <mast@lysator.liu.se>

Added sanity checks for bad tag names.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.105

2000-08-21

2000-08-21 01:02:01 by Martin Nilsson <mani@lysator.liu.se>

Bugfix for TXml.format_tag

Rev: server/etc/modules/RXML.pmod/module.pmod:1.104

2000-08-17

2000-08-17 14:59:38 by Martin Stjernholm <mast@lysator.liu.se>

Added some sanity checks when registering tags (requires
MODULE_DEBUG).

Rev: server/etc/modules/RXML.pmod/module.pmod:1.103

2000-08-15

2000-08-15 20:15:30 by Martin Stjernholm <mast@lysator.liu.se>

Added RXML.FLAG_DONT_REPORT_ERRORS.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.102

2000-08-15 01:25:33 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-08-12

2000-08-12 21:29:22 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-08-12 04:49:08 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-08-09

2000-08-09 13:25:53 by Martin Stjernholm <mast@lysator.liu.se>

Zap the result from a frame when it's exited through an exception.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.98

2000-08-09 13:25:38 by Martin Stjernholm <mast@lysator.liu.se>

Zap the result from a frame when it's exited through an exception.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.89

2000-08-05

2000-08-05 21:57:42 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-08-05 05:05:06 by Martin Nilsson <mani@lysator.liu.se>

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

2000-08-04

2000-08-04 15:57:53 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-07-12

2000-07-12 18:58:37 by Martin Stjernholm <mast@lysator.liu.se>

Quote " to &#34; instead of &quot; since it seems like some browsers
have trouble decoding the latter in javascript etc.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.88

2000-07-12 18:57:34 by Martin Stjernholm <mast@lysator.liu.se>

Quote " to &#34; instead of &quot; since it seems like some browsers
have trouble decoding the latter in javascript etc.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.94

2000-07-05

2000-07-05 23:09:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-06-29

2000-06-29 22:00:16 by Martin Stjernholm <mast@lysator.liu.se>

Implemented the general tag argument "help", module level security and
tracing for newstyle tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.92

2000-06-23

2000-06-23 16:50:13 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-05-26

2000-05-26 15:24:51 by Martin Nilsson <mani@lysator.liu.se>

Added cast method to RXML.Void

Rev: server/etc/modules/RXML.pmod/module.pmod:1.90

2000-05-03

2000-05-03 08:52:15 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-04-15

2000-04-15 00:33:58 by Martin Nilsson <mani@lysator.liu.se>

Support for entity quoting.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.88

2000-03-25

2000-03-25 01:51:44 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug with registration of several runtime tags with the same
name.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.87

2000-03-23

2000-03-23 19:52:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added workaround for a bug in the type-inferer for this_object().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.86

2000-03-20

2000-03-20 07:27:12 by Martin Stjernholm <mast@lysator.liu.se>

Fixed an indexing zero bug in Type.eval().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.85

2000-03-19

2000-03-19 16:32:51 by Martin Nilsson <mani@lysator.liu.se>

Added (kind of) RequestID prototype

Rev: server/etc/modules/RXML.pmod/module.pmod:1.84

2000-03-18

2000-03-18 04:03:55 by Martin Stjernholm <mast@lysator.liu.se>

Garb the local tag set cache less frequently.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.83

2000-03-18 03:32:31 by Martin Stjernholm <mast@lysator.liu.se>

Added caching of local tag sets. Fiddled a bit with the object debug
stuff.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.82

2000-03-17

2000-03-17 20:54:07 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-03-17 05:48:47 by Martin Stjernholm <mast@lysator.liu.se>

Can use compile-time binding for roxen_encode().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.80

2000-03-16

2000-03-16 10:38:24 by Martin Stjernholm <mast@lysator.liu.se>

Fixed som reference bugs. Added more debug facilities to hunt down
leaking objects.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.79

2000-03-13

2000-03-13 00:42:04 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a forgotten block.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.78

2000-03-11

2000-03-11 03:26:15 by Martin Nilsson <mani@lysator.liu.se>

Default return value is now empty

Rev: server/etc/modules/RXML.pmod/module.pmod:1.77

2000-03-11 02:24:00 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-03-09

2000-03-09 09:53:10 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-03-06

2000-03-06 17:50:06 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-03-04

2000-03-04 19:08:32 by Martin Stjernholm <mast@lysator.liu.se>

Don't html encode splice args. All arguments now optional to
Backtrace().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.73

2000-03-03

2000-03-03 11:02:07 by Martin Nilsson <mani@lysator.liu.se>

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

2000-03-03 03:31:38 by Martin Stjernholm <mast@lysator.liu.se>

Leave the context a little later in Parser.write() and
Parser.write_end().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.71

2000-02-24

2000-02-24 04:06:15 by Martin Nilsson <mani@lysator.liu.se>

Provide request id to error handler.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.70

2000-02-21

2000-02-21 18:55:16 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-20

2000-02-20 04:16:22 by Martin Stjernholm <mast@lysator.liu.se>

Don't do default propagation of content to result for noncontainers.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.68

2000-02-20 02:05:32 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some bugs in error reporting.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.67

2000-02-19

2000-02-19 23:45:38 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-16

2000-02-16 23:28:05 by Martin Stjernholm <mast@lysator.liu.se>

Documented a restriction on Context.remove_runtime_tag().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.65

2000-02-16 19:10:45 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug with Void in the content variable.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.64

2000-02-16 16:21:42 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-15

2000-02-15 15:55:35 by Martin Nilsson <mani@lysator.liu.se>

A somewhat more complicated form/default-scope wrapper.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.62

2000-02-15 14:59:27 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-15 07:53:45 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-15 06:06:09 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-15 02:57:37 by Martin Stjernholm <mast@lysator.liu.se>

Allow vars to be changed from do_return().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.58

2000-02-15 02:19:33 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug with runtime_tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.57

2000-02-15 02:12:08 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some scope enter/exit bugs.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.56

2000-02-15 01:17:52 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bugs in runtime tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.55

2000-02-13

2000-02-13 18:25:59 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-13 18:04:40 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-13 11:03:32 by Martin Stjernholm <mast@lysator.liu.se>

Fixed `->= misconception. Added parse_frame(). Fixed assorted
evaluation bugs. Added t_none.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.52

2000-02-13 02:24:45 by Martin Stjernholm <mast@lysator.liu.se>

Added some helpful debug checks.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.51

2000-02-13 00:33:33 by Martin Stjernholm <mast@lysator.liu.se>

Fixed type check on objects in Frame._exec_array().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.50

2000-02-12

2000-02-12 21:24:03 by Martin Stjernholm <mast@lysator.liu.se>

Fixed too strong debug check.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.49

2000-02-11

2000-02-11 01:08:25 by Martin Stjernholm <mast@lysator.liu.se>

Kludge for splice args. Don't supply a body for
Value.rxml_const_eval().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.48

2000-02-08

2000-02-08 21:24:56 by Martin Nilsson <mani@lysator.liu.se>

Support for page-constant variables.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.47

2000-02-08 06:28:14 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-07

2000-02-07 00:12:42 by Martin Stjernholm <mast@lysator.liu.se>

Small fix in Context.get_var().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.45

2000-02-06

2000-02-06 23:35:32 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-02-05

2000-02-05 05:18:21 by Martin Stjernholm <mast@lysator.liu.se>

Fixed tag result quoting based on types.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.43

2000-02-05 04:09:14 by Martin Stjernholm <mast@lysator.liu.se>

Added system for default encoding based on type. Added explicit
encodings in variable entities.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.42

2000-02-04

2000-02-04 21:31:08 by Martin Stjernholm <mast@lysator.liu.se>

Changed interface for socket tags.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.41

2000-02-04 18:18:28 by Martin Nilsson <mani@lysator.liu.se>

Initialize a variable

Rev: server/etc/modules/RXML.pmod/module.pmod:1.40

2000-02-04 16:47:55 by Martin Stjernholm <mast@lysator.liu.se>

Added unparsed frames. Added make_tag() and make_unparsed_tag().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.39

2000-02-04 02:02:28 by Martin Stjernholm <mast@lysator.liu.se>

Added plugin tag system.

Rev: server/etc/modules/RXML.pmod/PXml.pike:1.22
Rev: server/etc/modules/RXML.pmod/module.pmod:1.38

2000-01-31

2000-01-31 03:38:53 by Martin Nilsson <mani@lysator.liu.se>

Reserve some flags that the simpletag system use

Rev: server/etc/modules/RXML.pmod/module.pmod:1.37

2000-01-28

2000-01-28 16:25:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-25

2000-01-25 20:46:33 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-25 18:06:51 by Martin Nilsson <mani@lysator.liu.se>

Less logic in extend_scope. It now only extend scopes

Rev: server/etc/modules/RXML.pmod/module.pmod:1.34

2000-01-25 16:44:10 by Martin Nilsson <mani@lysator.liu.se>

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

2000-01-25 14:09:32 by Martin Stjernholm <mast@lysator.liu.se>

[mast] Fixed bugs in Context.leave_scope().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.32

2000-01-23

2000-01-23 06:20:31 by Martin Nilsson <mani@lysator.liu.se>

Attempt to merge scope object with scope mapping in extend_scope, otherwise overwrite.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.31

2000-01-23 02:59:20 by Martin Nilsson <mani@lysator.liu.se>

user_delete should delete.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.30

2000-01-23 02:36:13 by Martin Nilsson <mani@lysator.liu.se>

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

2000-01-21

2000-01-21 22:31:35 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-21 19:47:31 by Martin Nilsson <mani@lysator.liu.se>

Made get_overridden_tags work

Rev: server/etc/modules/RXML.pmod/module.pmod:1.27

2000-01-21 13:56:34 by Martin Nilsson <mani@lysator.liu.se>

Added extend_scope method to Context

Rev: server/etc/modules/RXML.pmod/module.pmod:1.26

2000-01-19

2000-01-19 19:00:49 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-18

2000-01-18 18:11:17 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-18 10:38:21 by Martin Stjernholm <mast@lysator.liu.se>

Fixed silly bug in get_var with object scopes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.23

2000-01-18 10:33:33 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-18 09:12:04 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where variable entities wouldn't be parsed.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.21

2000-01-17

2000-01-17 18:30:24 by Fredrik Noring <noring@nocrew.org>

Martin wants to put the flags declaration in a comment.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.20

2000-01-15

2000-01-15 19:35:07 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a trivial bug.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.19

2000-01-14

2000-01-14 06:08:17 by Martin Stjernholm <mast@lysator.liu.se>

A bit more fixes to rxml error reporting.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.18

2000-01-14 05:35:58 by Martin Stjernholm <mast@lysator.liu.se>

Just a small name change.

Rev: server/base_server/rxml.pike:1.67
Rev: server/etc/modules/RXML.pmod/module.pmod:1.17

2000-01-14 05:14:48 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-12

2000-01-12 20:14:52 by Martin Stjernholm <mast@lysator.liu.se>

Allow objects as scopes. Added Context.exist_scope().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.15

2000-01-12 15:38:43 by Martin Stjernholm <mast@lysator.liu.se>

Added TagSet.prepare_context for callbacks to set up initial scopes
etc.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.14

2000-01-12 14:26:39 by Martin Stjernholm <mast@lysator.liu.se>

Changed some tag search functions in TagSet to handle low
tag/container definitions.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.13

2000-01-11

2000-01-11 02:00:38 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-08

2000-01-08 12:12:01 by Martin Stjernholm <mast@lysator.liu.se>

Some code to handle rxml error reporting. Fixed a couple of bugs.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.11

2000-01-08 03:41:49 by Martin Stjernholm <mast@lysator.liu.se>

Some more service functions in TagSet.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.10

2000-01-07

2000-01-07 04:52:43 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a bug. A simple tag is now known to work.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.9

2000-01-07 02:32:43 by Martin Stjernholm <mast@lysator.liu.se>

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

2000-01-05

2000-01-05 17:38:03 by Martin Stjernholm <mast@lysator.liu.se>

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

1999-12-31

1999-12-31 02:55:39 by Martin Stjernholm <mast@lysator.liu.se>

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

1999-12-30

1999-12-30 01:42:24 by Martin Stjernholm <mast@lysator.liu.se>

Some type fixes.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.5

1999-12-27

1999-12-27 15:29:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed type error in VoidType->_sprintf().

Rev: server/etc/modules/RXML.pmod/module.pmod:1.4

1999-12-19

1999-12-19 00:56:35 by Martin Stjernholm <mast@lysator.liu.se>

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

1999-12-13

1999-12-13 22:12:40 by Martin Stjernholm <mast@lysator.liu.se>

Did a "comment declaration" of two "abstract" variables.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.2

1999-12-11

1999-12-11 12:34:56 by Martin Stjernholm <mast@lysator.liu.se>

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