Commit graph

91 commits

Author SHA1 Message Date
jez_higgins
35acd2eea7 Added third template parameter to wrappers, together with a bit of
meta-programming magic so that everything builds through with MSXML.

See http://www.jezuk.co.uk/cgi-bin/view/SAX/news?id=2713 for details of
the problem.

This may break VC6, but I haven't checked
2005-12-07 10:51:00 +00:00
jez_higgins
a36a7adde7 identical to utf16utf8codecvt but better named 2005-12-07 10:48:15 +00:00
jez_higgins
f9079bb67f gcc 4.0.2 fixes 2005-11-25 13:47:27 +00:00
jez_higgins
d1cd312267 qualify calls down to base class properly - not quite sure why i missed this before 2005-11-25 00:44:20 +00:00
jez_higgins
48b7995fa8 when following one's own advice, it's best to do it properly 2005-11-25 00:20:18 +00:00
jez_higgins
134b343711 Finally took my own advice on how to write custom streams :)
See http://www.jezuk.co.uk/accu2005/stream-a-poloza/html/ from about slide 30
2005-11-22 12:57:45 +00:00
jez_higgins
9bc4f06dfb Took my own advice. See from about slide 30 of
http://www.jezuk.co.uk/accu2005/stream-a-poloza/html/
2005-11-22 11:25:42 +00:00
jez_higgins
f159e99764 *** empty log message *** 2005-10-27 21:50:10 +00:00
craigp98072
20191d188d added a couple required tyename's in StringAdapter.h and test/XPath/execute_test.hpp
added Makefile.common for CPPUNIT* definitions (and future maintenance)
added include Makefile.common in Makefile.header*
cleaned a couple test Makefiles; everything now compiles under linux gcc4.0.2
2005-10-24 03:33:52 +00:00
craigp98072
08abd5220f this had failed to compile for unicode
refactored; put common code in base class
2005-10-22 03:21:05 +00:00
jez_higgins
9fed2bb035 added wide tests 2005-10-17 22:35:25 +00:00
jez_higgins
b730a73f62 fixed construct_from_utf16 2005-10-15 22:43:36 +00:00
jez_higgins
37e114a49d phew! 2005-10-03 12:40:44 +00:00
jez_higgins
d7e2d7fb33 *** empty log message *** 2005-09-30 21:36:11 +00:00
jez_higgins
eb3005637f get it - partly broken 2005-09-28 20:02:00 +00:00
jez_higgins
f354817b66 working towards excising all std::string-isms, so that Arabica can be used with any string type 2005-09-08 21:43:21 +00:00
jez_higgins
b0033ea027 Bug fix - codecvt not parameterised properly 2005-08-23 08:22:27 +00:00
jez_higgins
4014643f71 Binned out DOM/Simple/StringAdaptor.h - it hasn't been used for ages, because
everything uses SAX/helpers/StringAdaptor.h
Binned out SAX/helpers/StringAdaptor.h - moved it to Utils/StringAdaptor.h and
changed namespace from SAX to Arabica.
2005-08-15 21:09:13 +00:00
jez_higgins
b515ec10a7 fixes to silence gcc warnings 2005-08-07 20:16:02 +00:00
jez_higgins
4249ede14d compliance fixes 2005-07-21 10:58:12 +00:00
jez_higgins
4f63d8dcdf Fixed embarrassing bug in max 2005-07-04 13:23:24 +00:00
jez_higgins
6cd0039207 Sorted out to get rid of implicit cast warnings 2005-04-03 18:55:14 +00:00
jez_higgins
7f0224ffc1 VS6 workaround 2005-02-21 13:44:56 +00:00
jez_higgins
b0210e2253 bug fix 2004-12-16 20:40:07 +00:00
jez_higgins
d205ed74c0 throw specifier fix 2004-10-12 20:50:27 +00:00
jez_higgins
a79b0ce020 fixes so compiles with gcc 3.4.2 2004-09-20 19:45:51 +00:00
jez_higgins
7d0d6d8cd5 Added using declarations so will build under gcc 3.4.2 2004-09-14 19:41:43 +00:00
jez_higgins
aa2c7837e1 gcc 3.4.1/3.4.2 fixes 2004-09-11 10:11:03 +00:00
jez_higgins
344b4a1841 *** empty log message *** 2003-10-27 16:09:54 +00:00
jez_higgins
e99734c401 Added set_stream to the stream adaptors. In the process made
bufadaptor.set_buffer work :)  This entailed making externalBuf_ an
externalStreamBufT* rather than a externalStreamBufT&.
2003-10-27 15:43:26 +00:00
jez_higgins
afc249c33a readIn - fix the read loop so eof is detected properly when reading
binary streams
2003-10-27 15:00:43 +00:00
jez_higgins
74303f894e lots of work in readIn
better handling for partial conversions
additional logic so we don't try and read a stream that's already eof
2003-09-18 08:21:28 +00:00
jez_higgins
b141c147ba Reworked so don't inadvertantly run off the end of the input stream 2003-09-18 08:19:01 +00:00
jez_higgins
2a1bc2a3dc fixed end-point and (embarrassing) byte order 2003-09-18 08:18:21 +00:00
jez_higgins
6b28b28af5 Ensure the stream is flushed 2003-09-17 11:09:20 +00:00
jez_higgins
1c1ff5ab96 *** empty log message *** 2003-09-15 16:07:35 +00:00
jez_higgins
117190ebd8 *** empty log message *** 2003-09-15 10:03:41 +00:00
jez_higgins
6262bfa004 fixed line endings 2003-09-15 10:02:55 +00:00
jez_higgins
0de640587e *** empty log message *** 2003-09-12 23:33:19 +00:00
jez_higgins
ac90b206a6 *** empty log message *** 2003-09-12 23:15:14 +00:00
jez_higgins
251869b2ca *** empty log message *** 2003-09-11 14:26:26 +00:00
jez_higgins
bb927066bf Moved Utils/* into Arabica namespace 2003-09-11 14:05:18 +00:00
jez_higgins
ec8f21d472 namespace ArabicaInternal -> Arabica::Internal 2003-09-11 13:01:00 +00:00
jez_higgins
10668086f8 cosmetic include guard changes 2003-09-11 10:26:53 +00:00
jez_higgins
48f0f2a705 Took out code conversion - it is inappropriate here 2003-09-11 10:06:12 +00:00
jez_higgins
9c937a5ac9 VS6 Portability fixes 2003-09-10 15:15:55 +00:00
jez_higgins
6879cbc81f Added wchar_t guards 2003-09-10 12:40:58 +00:00
jez_higgins
fbf317098b *** empty log message *** 2003-09-10 11:47:39 +00:00
jez_higgins
f356c2cf10 codecvt workarounds -
some implementations don't provide function bodies for the codecvt template
clase - I need to check spec on this
some implementations have an opaque definition of std::mbstate_t which means
it's actually exceeding difficult to use :)
2003-09-10 10:39:01 +00:00
jez_higgins
fdb2825e52 Some library implementations do not provide member function
definitions for the codecvt template, so we may have to.
2003-09-10 10:32:57 +00:00