]> git.sesse.net Git - xml-template/log
xml-template
18 years agoAdd PHP and Python variants of attribute-empty.
Steinar H. Gunderson [Tue, 3 Oct 2006 23:58:18 +0000 (01:58 +0200)]
Add PHP and Python variants of attribute-empty.

18 years agoAdd a new "attribute-empty" test.
Steinar H. Gunderson [Tue, 3 Oct 2006 23:56:04 +0000 (01:56 +0200)]
Add a new "attribute-empty" test.

18 years agoFix some possible attribute issues with the Python code, and make it clean
sgunderson@bigfoot.com [Wed, 6 Sep 2006 16:30:00 +0000 (18:30 +0200)]
Fix some possible attribute issues with the Python code, and make it clean
away the xmlns stuff.

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

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

18 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!

18 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!

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

18 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!

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

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

18 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!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 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)

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

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

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

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

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

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

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

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

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

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

18 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*

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 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!

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

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

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