]> git.sesse.net Git - xml-template/log
xml-template
17 years agoMake the test suite output slightly easier (?) to read.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:11:42 +0000 (18:11 +0200)]
Make the test suite output slightly easier (?) to read.

17 years agoDocument that we've got a Python version.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:05:24 +0000 (18:05 +0200)]
Document that we've got a Python version.

17 years agoImplement alternate() in Python. All Python tests pass!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:04:33 +0000 (18:04 +0200)]
Implement alternate() in Python. All Python tests pass!

17 years agoFix DOM replacement. include.py works!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:01:59 +0000 (18:01 +0200)]
Fix DOM replacement. include.py works!

17 years agoFix a possible latent overwrite bug in the Python version.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:59:54 +0000 (17:59 +0200)]
Fix a possible latent overwrite bug in the Python version.

17 years agoFix even more silly errors in attribute.py. attribute.py passes!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:58:26 +0000 (17:58 +0200)]
Fix even more silly errors in attribute.py. attribute.py passes!

17 years agoAll xml-diff errors should be fatal.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:57:44 +0000 (17:57 +0200)]
All xml-diff errors should be fatal.

17 years agoFix silly error in attribute.py test.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:57:22 +0000 (17:57 +0200)]
Fix silly error in attribute.py test.

17 years agoFix cleaning in the Python version. clone test passes!
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:56:37 +0000 (17:56 +0200)]
Fix cleaning in the Python version. clone test passes!

17 years agoIn Python substitute, compare on local name, not name.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:51:20 +0000 (17:51 +0200)]
In Python substitute, compare on local name, not name.

17 years agoFix much of the cloning.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:48:41 +0000 (17:48 +0200)]
Fix much of the cloning.

17 years agoFix the exceptions in the cloning. Still doesn't work, though.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:37:56 +0000 (17:37 +0200)]
Fix the exceptions in the cloning. Still doesn't work, though.

17 years agoMake the Python tests use lists instead of tuples.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:36:22 +0000 (17:36 +0200)]
Make the Python tests use lists instead of tuples.

17 years agoStart implementing cloning in Python.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:34:24 +0000 (17:34 +0200)]
Start implementing cloning in Python.

17 years agoWrite enough of the Python version to make it pass simple.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 15:28:49 +0000 (17:28 +0200)]
Write enough of the Python version to make it pass simple.

17 years agoDon't need to run the full battery of tests every time.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:54:33 +0000 (16:54 +0200)]
Don't need to run the full battery of tests every time.

17 years agoAdd a skeleton xmltemplate.alternate.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:53:35 +0000 (16:53 +0200)]
Add a skeleton xmltemplate.alternate.

17 years agoAdd full range of Python regression tests.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:52:21 +0000 (16:52 +0200)]
Add full range of Python regression tests.

17 years agoMake the Python version pass the passthru test...
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:45:48 +0000 (16:45 +0200)]
Make the Python version pass the passthru test...

17 years agoAdd a trivial new “pass through” test.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:45:12 +0000 (16:45 +0200)]
Add a trivial new “pass through” test.

17 years agoAdd a skeleton python version.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:42:36 +0000 (16:42 +0200)]
Add a skeleton python version.

17 years agoRun PHP4 tests with -q, to avoid trying to diff non-XML.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:20:53 +0000 (16:20 +0200)]
Run PHP4 tests with -q, to avoid trying to diff non-XML.

17 years agoActually output the error when we get one.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:18:31 +0000 (16:18 +0200)]
Actually output the error when we get one.

17 years agoFix an error in test.sh.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:17:59 +0000 (16:17 +0200)]
Fix an error in test.sh.

17 years agoBe yet more flexible about the textual node diffing.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:17:33 +0000 (16:17 +0200)]
Be yet more flexible about the textual node diffing.

17 years agoBe a bit more friendly in the textual diff.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:16:07 +0000 (16:16 +0200)]
Be a bit more friendly in the textual diff.

17 years agoAdd reference files, and fix a few bugs in the test harness.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:14:34 +0000 (16:14 +0200)]
Add reference files, and fix a few bugs in the test harness.

17 years agoAdd a simple test harness.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:10:51 +0000 (16:10 +0200)]
Add a simple test harness.

17 years agoCheck the contents of text nodes when diffing.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 14:04:38 +0000 (16:04 +0200)]
Check the contents of text nodes when diffing.

17 years agoRemember to die if number of children differs.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:58:26 +0000 (15:58 +0200)]
Remember to die if number of children differs.

17 years agoIgnore xmlns stuff on both sides.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:57:55 +0000 (15:57 +0200)]
Ignore xmlns stuff on both sides.

17 years agoWork around that XML::NamespaceSupport uses undef instead of '' for no NSURI
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:57:24 +0000 (15:57 +0200)]
Work around that XML::NamespaceSupport uses undef instead of '' for no NSURI
(sane enough, really)

17 years agoFix yet more undefined variable errors.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:56:21 +0000 (15:56 +0200)]
Fix yet more undefined variable errors.

17 years agoMore fixes.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:55:43 +0000 (15:55 +0200)]
More fixes.

17 years agoFix more silly errors.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:55:12 +0000 (15:55 +0200)]
Fix more silly errors.

17 years agoFix a syntax error.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:54:45 +0000 (15:54 +0200)]
Fix a syntax error.

17 years agoAdd the beginnings of a test suite.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:52:03 +0000 (15:52 +0200)]
Add the beginnings of a test suite.

17 years agoAdd (empty) python directory.
sgunderson@bigfoot.com [Wed, 6 Sep 2006 13:14:19 +0000 (15:14 +0200)]
Add (empty) python directory.

17 years agoFinally figure out how to remove attributes in PHP.
sgunderson@bigfoot.com [Sun, 13 Aug 2006 00:07:40 +0000 (02:07 +0200)]
Finally figure out how to remove attributes in PHP.

17 years agoFix "ID bleeding" in the PHP.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 23:36:04 +0000 (01:36 +0200)]
Fix "ID bleeding" in the PHP.

17 years agoRevert the NULL mess in PHP; we don't need it anyhow.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:35:28 +0000 (00:35 +0200)]
Revert the NULL mess in PHP; we don't need it anyhow.

17 years agoTweaks to "empty cloning" in PHP.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:28:03 +0000 (00:28 +0200)]
Tweaks to "empty cloning" in PHP.

17 years agoYet more cloning fixes for PHP. *sigh*
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:16:46 +0000 (00:16 +0200)]
Yet more cloning fixes for PHP. *sigh*

17 years agoYet more clone fixes for PHP.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 22:08:36 +0000 (00:08 +0200)]
Yet more clone fixes for PHP.

17 years agoFix some cleaning bugs.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:49:51 +0000 (23:49 +0200)]
Fix some cleaning bugs.

17 years agoMake a workaround for PHP's broken clone_node().
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:33:16 +0000 (23:33 +0200)]
Make a workaround for PHP's broken clone_node().

17 years agoAdd a small cloning test, which PHP fails...
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:17:01 +0000 (23:17 +0200)]
Add a small cloning test, which PHP fails...

17 years agoHorrible workaround for PHP's namespace bugs.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 21:02:19 +0000 (23:02 +0200)]
Horrible workaround for PHP's namespace bugs.

17 years ago"Deep clean" the DOM object we include.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 20:13:44 +0000 (22:13 +0200)]
"Deep clean" the DOM object we include.

17 years agoDon't clean attributes in PHP anymore -- it's too broken.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 19:37:02 +0000 (21:37 +0200)]
Don't clean attributes in PHP anymore -- it's too broken.

17 years agoFix the include example for PHP as well.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 19:36:47 +0000 (21:36 +0200)]
Fix the include example for PHP as well.

17 years agoIn the Perl variant, do a clean on a newly inserted DOM tree.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 19:28:28 +0000 (21:28 +0200)]
In the Perl variant, do a clean on a newly inserted DOM tree.

17 years agoFix the include example.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 19:26:07 +0000 (21:26 +0200)]
Fix the include example.

17 years agoFix the namespace handling in the Perl variant.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 19:25:23 +0000 (21:25 +0200)]
Fix the namespace handling in the Perl variant.

17 years agoMake the "include" template a bit harder -- both the Perl and the PHP
sgunderson@bigfoot.com [Sat, 12 Aug 2006 19:17:58 +0000 (21:17 +0200)]
Make the "include" template a bit harder -- both the Perl and the PHP
now fail the test.

17 years agoNULL fixes for the PHP code.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 18:45:49 +0000 (20:45 +0200)]
NULL fixes for the PHP code.

17 years agoChange the syntax for attributes from tag.attribute to tag/attribute; we
sgunderson@bigfoot.com [Sat, 12 Aug 2006 17:51:18 +0000 (19:51 +0200)]
Change the syntax for attributes from tag.attribute to tag/attribute; we
might want classes quite soon, and that would be more logical to have as
tag.class.

17 years agoUse t: all over instead of tmpl:.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 17:04:40 +0000 (19:04 +0200)]
Use t: all over instead of tmpl:.

17 years agoAdd a simple introduction document.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 15:05:22 +0000 (17:05 +0200)]
Add a simple introduction document.

17 years agoOrganize everything into neat directories.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 14:09:05 +0000 (16:09 +0200)]
Organize everything into neat directories.

17 years agoAdd alternate() to the PHP version, which should now be rather feature-complete.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 14:04:05 +0000 (16:04 +0200)]
Add alternate() to the PHP version, which should now be rather feature-complete.

17 years agoAdd include support to the PHP version.
sgunderson@bigfoot.com [Sat, 12 Aug 2006 00:00:35 +0000 (02:00 +0200)]
Add include support to the PHP version.

17 years agoMake sure we don't rely on namespace declarations in the parent node.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 23:53:35 +0000 (01:53 +0200)]
Make sure we don't rely on namespace declarations in the parent node.

17 years agoFix attributes in PHP.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 23:47:20 +0000 (01:47 +0200)]
Fix attributes in PHP.

17 years agoAdd attribute test to the PHP test kit.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 23:47:01 +0000 (01:47 +0200)]
Add attribute test to the PHP test kit.

17 years agoFix cleaning in PHP. clone.php looks much better.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 23:45:41 +0000 (01:45 +0200)]
Fix cleaning in PHP. clone.php looks much better.

17 years agoUtilize the undocumented (!!) namespace support.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 23:32:12 +0000 (01:32 +0200)]
Utilize the undocumented (!!) namespace support.

17 years agoRemove obsolete comment.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 22:48:28 +0000 (00:48 +0200)]
Remove obsolete comment.

17 years agoAdd clone support to the PHP code; clone.php works.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 22:47:30 +0000 (00:47 +0200)]
Add clone support to the PHP code; clone.php works.

17 years agoStart on a PHP translation. simple.php works!
sgunderson@bigfoot.com [Fri, 11 Aug 2006 22:20:52 +0000 (00:20 +0200)]
Start on a PHP translation. simple.php works!

17 years agoOne less regex in the world...
sgunderson@bigfoot.com [Fri, 11 Aug 2006 22:16:37 +0000 (00:16 +0200)]
One less regex in the world...

17 years agoBugfix in attribute handling.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 22:13:56 +0000 (00:13 +0200)]
Bugfix in attribute handling.

17 years agoInitial checkin.
sgunderson@bigfoot.com [Fri, 11 Aug 2006 21:17:47 +0000 (23:17 +0200)]
Initial checkin.