Commit graph

219 commits

Author SHA1 Message Date
jez_higgins
b7d79f2144 Use CatchErrorHandler.h to report errors 2003-10-29 15:51:55 +00:00
jez_higgins
df3d61ce71 An ErrorHandler implementation that grabs hold of any errors reported, so
you can check later to see if anything happened.
2003-10-29 15:51:21 +00:00
jez_higgins
344b4a1841 *** empty log message *** 2003-10-27 16:09:54 +00:00
jez_higgins
bf2c892506 Added option to read from and write to files as well as console. This allows
transcode to process binary files properly - eg to Base64 an image.
2003-10-27 15:44:32 +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
6699386b56 *** empty log message *** 2003-10-08 15:32:44 +00:00
jez_higgins
de3fd21d0b *** empty log message *** 2003-10-08 14:39:43 +00:00
jez_higgins
182cc06058 Portability fixes 2003-10-08 14:22:20 +00:00
jez_higgins
7d9a07ff85 *** empty log message *** 2003-10-08 07:55:38 +00:00
jez_higgins
84b93c75c9 added ifdefs so we can build with ARABICA_NO_WCHAR_T 2003-10-03 05:56:26 +00:00
jez_higgins
5075dc5b7a *** empty log message *** 2003-09-22 14:43:41 +00:00
jez_higgins
be44ac6302 *** empty log message *** 2003-09-18 08:25:27 +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
5064d9c19c *** empty log message *** 2003-09-17 11:08:31 +00:00
jez_higgins
d727f783a9 s/int/size_t 2003-09-17 11:07:36 +00:00
jez_higgins
fd0a760dab *** empty log message *** 2003-09-17 08:37:57 +00:00
jez_higgins
fa62d8c699 Diddled to silence
../../SAX/filter/Writer.h: In constructor
   `SAX::basic_Writer<string_type>::basic_Writer(std::basic_ostream<string_type::value_type,
	    string_type::traits_type>&, unsigned int) [with string_type = std::string]':
			writer.cpp:23:   instantiated from here
../../SAX/filter/Writer.h:96: warning: member initializers for `
   SAX::basic_LexicalHandler<std::string>*SAX::basic_Writer<std::string>::lexicalHandler_'
../../SAX/filter/Writer.h:94: warning:   and `
   SAX::basic_Writer<std::string>::<anonymous enum>
   SAX::basic_Writer<std::string>::lastTag_'
../../SAX/filter/Writer.h:43: warning:   will be re-ordered to match declaration order
warning.
2003-09-17 08:24:00 +00:00
jez_higgins
1c1ff5ab96 *** empty log message *** 2003-09-15 16:07:35 +00:00
jez_higgins
95ea8e834f VS6 workarounds 2003-09-15 16:04:37 +00:00
jez_higgins
88e35887d9 automagically link to wsock32 2003-09-15 16:03:46 +00:00
jez_higgins
0e0a73dbe7 gcc fix 2003-09-15 13:13:05 +00:00
jez_higgins
c236102d0d *** empty log message *** 2003-09-15 13:12:08 +00:00
jez_higgins
96ae40e974 s/int/size_t/ 2003-09-15 13:11:37 +00:00
jez_higgins
92a1bf27b9 s/int/size_t 2003-09-15 13:09:57 +00:00
jez_higgins
4670ce19aa added xerces_string_janitor class
Ordinarily you'd expect to be able to use Xerces' Array janitor class.  However,
Windows exes and dlls use seperate heaps, so you can't delete something in one
module that was allocated by another.  It's a pita.  The solution here is to useXMLString::release.
Although this simply does a delete[], the deletion occurs in the Xerces DLL, so
it will work correctly.
2003-09-15 13:00:43 +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
927feee5d1 *** empty log message *** 2003-09-14 21:50:56 +00:00
jez_higgins
193f570096 *** empty log message *** 2003-09-14 20:47:43 +00:00
jez_higgins
0de640587e *** empty log message *** 2003-09-12 23:33:19 +00:00
jez_higgins
74581840f9 no message 2003-09-12 23:26:50 +00:00
jez_higgins
ba5fecddc3 *** empty log message *** 2003-09-12 23:24:26 +00:00
jez_higgins
3bb32e1a17 no message 2003-09-12 23:16:47 +00:00
jez_higgins
ac90b206a6 *** empty log message *** 2003-09-12 23:15:14 +00:00
jez_higgins
73b6ec0402 *** empty log message *** 2003-09-12 21:19:17 +00:00
jez_higgins
9c7bb92e25 *** empty log message *** 2003-09-12 16:24:18 +00:00
jez_higgins
d31cba3174 *** empty log message *** 2003-09-12 16:05:53 +00:00
jez_higgins
4e7e47a6de applied Philip Walford's patches 2003-09-12 14:09:13 +00:00
jez_higgins
2141921a5b *** empty log message *** 2003-09-11 15:55:52 +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
d11e03155b *** empty log message *** 2003-09-10 15:36:58 +00:00
jez_higgins
d19f187414 *** empty log message *** 2003-09-10 15:27:46 +00:00