Commit graph

166 commits

Author SHA1 Message Date
jez_higgins
d727f783a9 s/int/size_t 2003-09-17 11:07:36 +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
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
193f570096 *** empty log message *** 2003-09-14 20:47:43 +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
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
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
d19f187414 *** empty log message *** 2003-09-10 15:27:46 +00:00
jez_higgins
9c937a5ac9 VS6 Portability fixes 2003-09-10 15:15:55 +00:00
jez_higgins
b70f4ec1c4 *** empty log message *** 2003-09-10 13:34:10 +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
1984e09c68 Reworked Makefiles again 2003-09-10 08:48:31 +00:00
jez_higgins
27d574f2a8 Wide character string fixes 2003-09-10 08:47:37 +00:00
jez_higgins
374243b4d8 *** empty log message *** 2003-09-09 23:08:15 +00:00
jez_higgins
b6e0d1a194 Reworked Makefile so it doesn't use predefined rules. It makes it
much easer for non-Makefiles experts (I'd say I was intermediate and
I've been using it 8 years, on and off) to see what's going on.
2003-09-09 22:38:45 +00:00
jez_higgins
310957593d *** empty log message *** 2003-09-09 22:02:20 +00:00
jez_higgins
b50625e4fa *** empty log message *** 2003-09-09 21:40:23 +00:00
jez_higgins
ad5c42953c more wchar_t exclusion hackery 2003-09-09 13:09:48 +00:00
jez_higgins
56408bdce2 Added ArabicaConfig.h 2003-09-09 11:14:48 +00:00
jez_higgins
80a16c347c Tweaks to build with gcc 3.2.3 on Linux 2003-09-09 09:25:42 +00:00
jez_higgins
14abddb442 minor fixes to build on Linux with gcc3.2.2 and libstdc++ 2003-09-08 16:03:57 +00:00
jez_higgins
4eac7fd788 *** empty log message *** 2003-09-08 15:15:05 +00:00
jez_higgins
bfe865d85e Added typename 2003-09-08 15:13:54 +00:00
jez_higgins
9329ac47ca added #ifndef ARABICA_NO_WCHAR_T around typedefs using wchar_t or std::wstring 2003-09-08 14:14:43 +00:00
jez_higgins
b909c6cad5 *** empty log message *** 2003-09-02 11:23:52 +00:00
jez_higgins
b2e29e67ac *** empty log message *** 2003-08-29 21:09:00 +00:00
jez_higgins
3defbb57cf added rot13_codecvt.cpp 2003-08-28 20:26:54 +00:00
jez_higgins
91200f8dfd *** empty log message *** 2003-08-27 23:06:59 +00:00
jez_higgins
e2d28dc77c *** empty log message *** 2003-08-27 14:28:01 +00:00
jez_higgins
e0dc6f0cca ErrorHandler and wide string corrections 2003-08-27 14:27:49 +00:00
jez_higgins
ccba54460b Errorhandler corrections 2003-08-27 14:27:04 +00:00
jez_higgins
98266212e2 ErrorHandler corrections 2003-08-27 14:26:32 +00:00
jez_higgins
fd7afeafbe VC7 - build with wchar_t as built in type 2003-08-27 14:25:42 +00:00
jez_higgins
bae673aa5d doxygen comment fix 2003-08-27 14:25:09 +00:00
jez_higgins
c6f9808118 Now derives from basic_ErrorHandler<string_type> not ErrorHandler.
Corresponding signature changes to warning/error/fatalError
2003-08-27 14:24:32 +00:00
jez_higgins
8f211da950 Parameterised on string_type so that it can accept the appropriate type
of basic_SAXParseException.
2003-08-27 14:22:15 +00:00
jez_higgins
5fe71a1059 Corrected setProperty call so works with std::wstring 2003-08-27 14:20:34 +00:00
jez_higgins
21a9defd91 renamed SAX.lib/libSAX to Arabica.lib/libArabica 2003-08-25 15:13:47 +00:00
jez_higgins
91b590ad66 *** empty log message *** 2003-08-22 16:13:27 +00:00
jez_higgins
1e6eda19b5 added some explicit casts from size_t to unsigned ints 2003-04-28 14:51:48 +00:00
jez_higgins
ffb7f9d6f7 VC6 fix so it doesn't choke on typenames 2003-04-28 14:49:55 +00:00
jez_higgins
60cb42d1e0 spits out qName if there is one, otherwise the localname
replaced some occurances of std::cout
2003-04-28 14:48:47 +00:00
jez_higgins
e094a4a8b4 Use boost::bind instead of our own binder class. 2003-04-04 19:30:29 +00:00
jez_higgins
90e3d6d5a0 Added constructor which takes a message, but no locator 2003-04-04 16:58:58 +00:00
jez_higgins
d33192d99d Added property names include 2003-04-04 16:58:05 +00:00
jez_higgins
6ffee1bec5 Updated to compile with boost 1.30 (spirit 1.6) 2003-04-04 16:54:54 +00:00
jez_higgins
8af13de092 confirm build on VC7 and VC6 2003-04-04 13:41:24 +00:00
jez_higgins
4b3a9684aa fixes to build with gcc 3.2.2 and libstdc++ on Linux 2003-04-04 09:26:23 +00:00
jez_higgins
2304018b6f minor makefile changes 2003-04-03 14:01:44 +00:00
jez_higgins
a5304d9e68 s/.tpl/.S/ 2003-04-03 13:24:36 +00:00
jez_higgins
6c548e4a8e initial work for new config system 2003-04-03 13:18:27 +00:00
jez_higgins
9af762fb34 renamed *.tpl -> *.S
.tpl has a special meaning for gcc it seems
2003-04-03 13:18:00 +00:00
jez_higgins
dbdcb6fde8 Writes DTD declaration, if present
All character literals now come from Unicode<>
2003-03-21 14:05:47 +00:00
jez_higgins
5b5670c9bd Added compile time messages saying whether the Xerces namespace is defined or not 2003-03-21 12:54:47 +00:00
jez_higgins
6428fb5093 Direct debug output to cerr 2003-03-21 12:53:12 +00:00
jez_higgins
61795869ae Escapes < > & and " 2003-03-21 12:52:46 +00:00
jez_higgins
b309bedb6b Now picks up lexical elements - specifically startCDATA/endCDATA. This is
the first little step to making Writer produce proper well-formed markup - atm
it doesn't do entity escaping at all.
2003-03-21 12:05:23 +00:00
jez_higgins
6d693e4e71 VC++.Net project file 2003-03-20 16:32:35 +00:00
jez_higgins
fce9d3643f Corrected MSC_VER ifdefs for VC++.Net 2003-03-20 16:31:40 +00:00
jez_higgins
1e34351b83 no message 2003-03-20 16:31:09 +00:00
jez_higgins
31b9597a4f Updated for new config mechanism 2003-03-20 16:30:31 +00:00
jez_higgins
9ccc3cdce6 Updated for now config mechanism 2003-03-20 16:30:08 +00:00
jez_higgins
924103481e Corrected for Xerces 2.2.0 release - depending on the compiler, the Xerces stuff maybe in its own namespace
couple of VC++.Net changes
Xerces initialiser stuff does not need to be templated, so isn't :)
2003-03-20 16:29:08 +00:00
jez_higgins
9bb5eba823 updated project file 2003-03-20 16:17:08 +00:00
jez_higgins
d11e758d5d Minor changes to the message 2003-03-20 16:16:32 +00:00
jez_higgins
dc3f6a01e9 ParserConfig.h is now generated from ParserConfig.tpl 2003-03-20 16:15:25 +00:00
complement
48124bd5ab fix typename problem 2002-11-23 20:10:46 +00:00
complement
90739325f9 Don't generate saxlib.cpp and ParserConfig.h; uncomment appropriate definition(s) for XML wrapper(s) in ParserConfig.h; (This should be fixed for non-Makefiles OSes, such as Windows/VC++/Borland etc.) 2002-11-23 20:09:25 +00:00
complement
08140e1876 ignore generated files 2002-11-23 19:59:57 +00:00
complement
4471e53f48 rewrite make rules, use ${MAKE} var instead of make 2002-11-23 19:53:46 +00:00
complement
d373569fc9 ignore generated files 2002-11-23 19:42:52 +00:00
pwalford
c3b07a86f6 Backing-out changes. Sorry, should have been on branch. 2002-10-08 04:37:14 +00:00
pwalford
f4c48fb092 Porting to GCC 2.95.
Changes are required for the old version of libg++ which does not support:
* std::wstring
* locale

Changes include:
* #if/#endif removal of code which won't compile.
* Addition of a xerces_string_adaptor which doesn't need locale.
2002-10-08 03:09:56 +00:00
pwalford
f77cfbd71d Addition of XercesFeatureNames class.
This class represents the features known by xerces, including both the
standard SAX features and the Apache features.
2002-10-08 02:55:54 +00:00
pwalford
34cba250a6 Fixes to the following issues:
*   Mis-capitalised parameter names.
*   Un-named parameters.
*   Use of SAXException by ErrorHandler (SAX 2.0 API uses SAXParseException
    here).
2002-10-08 02:49:59 +00:00
pwalford
481a59a813 Fixes:
*   References to DTDHandler and ContentHandler changed to DTDHandlerT and
    ContentHandlerT.  (They were referencing the std::string versions.)
2002-10-08 02:49:27 +00:00
pwalford
5f09c096a8 Changes/Fixes:
*   Addition of typedef "base" referring to basic_XMLReader.
*   Extended use of member typedefs to simplify code.
*   Added xerces_initializer class to call XMLPlatformUtils::Initialize() and
    XMLPlatformUtils::Terminate().  This avoids nested calls to Initialize()
    and Terminate().
*   Addition of xerces_string_adaptor which converts XMLCh to wchar_t and
    back.
*   Fixed adaptors to pass XMLCh to Xerces methods rather than wchar_t.
*   Added '&' to member function references in ErrorHandlerAdaptor.
*   Fixed IStreamAdaptor and InputSourceAdaptor to extend Xerces
    BinInputStream and InputSource respectively (were extending Arabica ones!)
2002-10-08 02:49:01 +00:00
pwalford
55227f742c Changes:
*   Addition of other SAX 2.0 defined feature names.
*   Addition of documentation.
2002-10-08 02:48:22 +00:00
pwalford
c13a04b386 Fixed errors in documentation. Fixed:
* "null" where "an empty string" was appropriate
* mis-spellings of parameters.
* cut-and-paste mistakes.
2002-10-08 01:00:22 +00:00
jez_higgins
1a9b0fc214 work around previous changes for VC6 2002-09-20 10:16:35 +00:00
jez_higgins
1282e95604 *** empty log message *** 2002-09-20 10:13:00 +00:00
jez_higgins
ee6e01956f made implicit typenames explicit 2002-09-20 10:11:57 +00:00
jez_higgins
7a016ee96c made implicit typenames explicit 2002-09-20 10:06:31 +00:00
jez_higgins
2a5e9736c0 set default parser to MSXML 2002-09-04 08:40:54 +00:00
jez_higgins
75cf0867ec updated for xerces 2.1 2002-09-03 14:06:48 +00:00
jez_higgins
62b73b7b75 updated for libexpat 1.95.4 2002-09-03 13:44:23 +00:00
jez_higgins
38b92a4d30 Added saxlib.tpl to build.
Made MSXML the default Win32 parser
2002-09-03 13:24:50 +00:00