Commit graph

100 commits

Author SHA1 Message Date
jez
6e2f594dc9 more reworking on XPathValuePtr -> XPathValue. XPathValue contains rather than derives from boost::shared_ptr. Added operator== so can still compare to 0 to see if the value is null or not. 2007-10-22 14:10:49 +00:00
jez
9b32ed13e4 Some time ago, it was gently suggested to me that XPathValuePtr and XPathExpressionPtr both exposed an implementation detail, because they derive fromboost::shared_ptr, and provided an interface that was inconsisted with the DOM classes, because you accessed the member functions via -> rather than .
At the time, I was just pleased to have got the XPath stuff done and wasn't really fussed, so I left it.  Since then though, it's niggled and niggled away at the back of my mind and now I've decided to do something about it.

XPathValuePtr will become XPathValue, with the member functions accessed through the . operator.  The XPathValuePtr name and -> member access will be retained for the meantime, so that existing code won't be broken.  XPathExpressionPtr will be similarly changed.

This commit is the first bit of that work, now I've satisfied myself it's going to be pretty easy so long as I pay proper attention.
2007-10-19 21:59:24 +00:00
jez
3f156c9fcf reworked MatchExpr so that it doesn't expose its inner XPathExpression 2007-10-14 20:06:27 +00:00
jez
f213c402cd moved DOM streaming from Utils/ to io/ 2007-09-13 21:21:55 +00:00
jez
77fdf64971 sorted out makefiles to fix dist targets 2007-09-11 09:25:18 +00:00
jez
c3bffa005a renamed include/Utils to include/Arabica 2007-09-10 17:52:04 +00:00
jez
8fe1e5f9c5 moved convert_adaptor and convertstream into Arabica::io namespace 2007-09-10 17:39:52 +00:00
jez
0525191ebe move convert_adaptor.hpp and convertstream.hpp into io subdirectory 2007-09-10 17:32:43 +00:00
jez
17248585af more namespace and file moving shenanigans 2007-09-10 17:24:17 +00:00
jez
caebe3f63e moved codecvt facets into convert subdirectory 2007-09-10 16:21:31 +00:00
jez
2ef3dffa7d moved URI into io subdirectory 2007-09-10 15:58:45 +00:00
jez
e4352a910e test Autotools to ignore the result of these tests - returning magic number 77 2007-09-08 22:30:13 +00:00
jez
7b43037a37 Added string_adaptor parameter to DOM classes. DOM and XPath tests compile and run, but still need to add defaults so more "normal" bits of code will go. 2007-09-07 23:52:30 +00:00
jez
bbcf3e1001 all SAX classes now take both string_type and string_adaptor. everything builds through. tests pass 2007-09-06 18:54:02 +00:00
jez
a76b137b60 removed basic_ prefixes from SAX classes, removed typedefs 2007-09-05 12:57:07 +00:00
jez
7d46f6f4e2 Moved DOM:: into Arabica::DOM:: 2007-09-05 11:47:13 +00:00
jez
a6c116acd6 moved SAX:: into Arabica::SAX:: 2007-09-05 09:49:18 +00:00
jez
7cf3897061 renamed all .h to .hpp 2007-09-04 22:55:47 +00:00
jez
c8927a92ff corrected VS warnings 2007-08-31 10:59:35 +00:00
jez
4b255762c5 fixed xslt_test so it can be built and run outside the source tree 2007-08-30 12:39:45 +00:00
jez
afe8903976 reworked test builds to use Automakes built in check target 2007-08-29 02:03:12 +00:00
jez
07b7e8e9bb disable VS8 warning about unsafe library functions - in this case sprinf 2007-08-29 02:01:08 +00:00
jez
f370e9277a corrected dependencies 2007-08-28 01:57:39 +00:00
jez
13a5baae06 2007-08-27 02:42:08 +00:00
jez
04411f4cd9 Error in test data - correct namespace declaration 2007-08-27 01:42:22 +00:00
jez
cc1ad0ca24 got a couple of cases which now work 2007-08-25 12:35:36 +00:00
jez
1c78d6cadc Error in test data - namespace declaration didn't match stylesheet or expected output 2007-08-25 12:34:42 +00:00
jez
d2b66ca34f mdocs14 now passes 2007-08-25 10:09:38 +00:00
jez
887e4d9003 whitespace changes 2007-08-24 08:49:58 +00:00
jez
b1149906ab skip mdocs14 2007-08-22 12:37:36 +00:00
jez
584299cf94 2007-08-10 11:28:45 +00:00
jez
74da13769b added silly and wide string versions of these tests 2007-08-08 09:09:28 +00:00
jez
cc374c5f8f what it says - whitespace stripping filter tests 2007-08-07 21:31:18 +00:00
jez
0dd9e4f728 cross-platform std::mbstate_t initialisation 2007-08-07 16:11:29 +00:00
jez
6b7de2cb2b ensure state is zeroed before test 2007-08-07 11:11:42 +00:00
jez
7b03098199 whitespace changes 2007-07-20 21:13:09 +00:00
jez
85dc57160c corrected test - worked for vstudio, but started failing on other platforms 2007-07-20 21:11:53 +00:00
jez
669200cd59 fixed wide string detection 2007-07-20 20:54:29 +00:00
jez
136a68107e let's call that that then 2007-07-19 18:57:37 +00:00
jez
4861c93e6c renamed test directory to tests 2007-07-19 17:43:13 +00:00
jez
13a0c3c3c2 renamed tests back to test 2007-06-20 23:22:10 +00:00
jez
7574ae9253 added treewalker header to dependencies 2007-01-16 16:47:07 +00:00
jez
3a18023963 TreeWalker: C++ compliance fixes 2007-01-12 14:52:14 +00:00
jez
8c89727a06 tests from Node's operator bool() 2007-01-02 11:33:29 +00:00
jez
d1ca51079f add more TreeWalker tests, including one with a NodeFilter 2006-12-14 19:34:48 +00:00
jez
664f6fd116 added TreeWalker implementation, dondated by craigp 2006-12-14 15:06:36 +00:00
jez
78c783b7c1 bug fix to Attr::setValue 2006-12-14 11:51:23 +00:00
jez
eb65f43391 made verbose test output the default 2006-11-13 16:52:25 +00:00
jez
618371db52 added first cut at test target 2006-10-11 23:04:59 +00:00
jez
c12723cfb7 2006-10-11 22:51:04 +00:00