Commit graph

563 commits

Author SHA1 Message Date
Jez Higgins
adfc70849d xslt: flush rather than endl for messages 2024-09-10 12:31:45 +01:00
Jez Higgins
bbbdcf7593 xslt: flush xsl:message output as we go 2024-09-10 12:09:09 +01:00
Jez Higgins
952e71da02 Remove std::unary_function base class
Redundant, indeed deprecated, these days.
2024-09-10 10:53:50 +01:00
Jez Higgins
09ebc8baa3 update copyright date 2024-09-09 22:19:58 +01:00
Jez Higgins
574803f9c8 Can now configure with Xerces 2024-09-08 21:12:15 +01:00
Jez Higgins
c4b21e5fee Can now properly configure build to use either Expat or libxml2 2024-09-03 15:49:31 +01:00
Jez Higgins
93ab4b064d Set ARABICA_USE_EXPAT flag in ArabicaConfig.hpp properly
Learned more about CMake in the last hour or so than I have in the last
few years. Now I've decided to bin out all the solution files and all
the Autoconf scaffolding, I want to extend the CMake build to properly
provide the same capabilities. Steffen's given me a terrific place to
work from, for which I am hugely, if extremely belatedly, grateful.
2024-09-03 10:16:06 +01:00
Jez Higgins
8182136f15 the CMake build isn't quite there - first small step forward 2024-09-02 22:24:03 +01:00
Jez Higgins
0f89518961 fixup cmake build 2024-09-02 21:58:45 +01:00
Jez Higgins
4a1eea6c74 Remove reference to XercesProperty/FeatureNames 2020-08-17 09:32:51 +01:00
Jez Higgins
d545ab3bba Reworked to avoid call to string_adaptor::append 2020-06-25 16:34:37 +01:00
Jez Higgins
8bebc65ddc Ripped out Xerces feature and property names 2020-06-25 16:33:55 +01:00
Jez Higgins
c37d974e47 Properly parameterise PYXWriter and SAX tests on string type 2020-06-25 15:09:50 +01:00
Jez Higgins
f89c8042d2
Merge pull request #21 from jezhiggins/die-autoptr-die
Die autoptr die
2020-04-25 12:26:17 +01:00
Jez Higgins
7f88a649fb
Merge pull request #12 from eburkitt/initial-clean-compile
Fix long -> unsigned long long size mismatch in function return value.
2020-04-23 16:18:57 +01:00
Jez Higgins
6659a9f259 Merge branch 'master' into die-autoptr-die 2020-04-23 15:45:24 +01:00
Jez Higgins
e4f582c013
Merge pull request #13 from lukasobr/master
Fixes for the CDATA generation and W8.1 support in XSLT
2020-04-23 15:43:49 +01:00
Jez Higgins
f70862004d Swapped auto_ptr for unique_ptr in Xerces wrapper 2020-04-17 12:06:01 +01:00
Jez Higgins
6bf75264de Completely removed XMLReader setProperty and getProperty member functions.
For nearly everyone, their use can be replaced by either setLexicalHandler
or setDeclHandler. For the particular case of the Xerces extended properties
I'll loop back round and add specific member methods for those.
2020-04-16 20:23:59 +01:00
Jez Higgins
e08ca80bb1 Remove ParserAdaptor.hpp references from build files 2020-04-16 16:51:41 +01:00
Jez Higgins
c4713e9a7b Removed ParserAdaptor.hpp
Probably never used in the entire history of Arabica. It's the result of
enthusiastic (ie overly slavish) conversion from the original Java SAX
implementation. There never were any SAX1 Arabica parsers to adapt to
SAX2.
2020-04-15 23:55:18 +01:00
Jez Higgins
36b3cd8a76 Replace auto_ptr with unique_ptr in XPath compiler 2020-04-15 23:20:50 +01:00
Jez Higgins
6674947a12 Got rid of auto_ptr in the XSLT stylesheet compiler 2020-04-15 23:05:47 +01:00
Jez Higgins
a7ff4b9a1b InputSource - Replaced use of std::auto_ptr with std::unique_ptr 2020-04-15 21:01:14 +01:00
Jez Higgins
01ada020de Use string_adaptor::empty instead of trying to call .empty on the string object 2020-04-15 20:29:55 +01:00
BenKeyFSI
0bd386630c Ported Arabica to VS2019. 2020-02-15 20:07:06 -06:00
Ben Key
a5a4d4613e Resolved warnings.
Resolved occurrences of warnings C4456 and C4457.

warning C4456: declaration of 'identifier' hides previous local
declaration
warning C4457: declaration of 'identifier' hides function parameter
2018-01-29 19:30:14 -06:00
Ben Key
33d52bf39b Applied a change necessary for JAWS.
The Flexible Web component of JAWS needs Arabica to be more forgiving of
invalid XML since it generates XML from HTML.
2018-01-29 19:30:14 -06:00
Ben Key
99fd2cf41a Resolved 64-bit specific warnings. 2018-01-29 19:30:14 -06:00
Ben Key
5885afe6b2 Resolved 64-bit specific warnings. 2018-01-29 19:21:27 -06:00
Ben Key
d656edc28b Added project files for VS2013 and VS2015.
• Added project files for Visual Studio 2013 and Visual Studio 2015.
• Made several small changes that were required to compile in Visual
Studio 2015.
2018-01-29 19:21:27 -06:00
Daniel Knibbe
c547fd279d Rewrote generation of ArabicaConfig.hpp in CMakeLists.txt
The file ArabicaConfig.hpp is now generated in build tree using cmake
configure_file() command. The input file is located in source tree
(include/SAX/ArabicaConfig.hpp.in).

Other Changes:
Boost is now actually optional. Previously it was searched for but the
necessary compile definition was not set and therefore never used.
Default option is building without boost.
2016-11-18 15:16:40 +01:00
Jez Higgins
191bb651de Merge branch 'master' of https://github.com/jezhiggins/arabica 2015-12-11 15:42:42 +00:00
Jez Higgins
13f23f7e90 Removed events 2015-12-09 23:03:49 +00:00
Jez Higgins
aa21fa7aa0 remove extraneous brackets 2015-03-25 17:31:58 +00:00
Lukas Obrdlik
7478cdb9fa Fix the CDATA start constant 2014-10-22 12:10:46 +02:00
Lukas Obrdlik
772cd0bfe9 Fix the MS XML wrapper on W8.1 2014-10-22 12:07:29 +02:00
Evan Burkitt
998260bdfc Fix long -> unsigned long long size mismatch in function return value. Add #include <algorithm> to declare std::max for MS VS2013, at least. 2014-06-11 18:15:54 -07:00
Jez Higgins
337092fa4e Merge pull request #6 from Wassasin/master
Taggle: Blocks in <a>-tags are not parsed
2014-03-03 10:00:07 +00:00
Quentin Fiard
cc9355c038 Fixed string+int issues in headers 2014-02-27 21:44:40 +00:00
Quentin Fiard
c36d945c51 Fixed language linkage issue under clang-500.2.79
The declarations must be located before the respective friend
declaration to have a correct C language linkage.
2013-11-04 21:20:18 +00:00
Wouter Geraedts
aaf2a4f478 Taggle/SAX::HTMLSchema: added M_BLOCK for anchor tags 2013-10-30 23:11:49 +01:00
Stefan Radomski
8f8db494ba SAXcharacters needs to close cdata sections 2013-08-17 20:36:52 +02:00
Stefan Radomski
824e8abc95 Install event implementation headers 2013-08-17 20:35:58 +02:00
Stefan Radomski
3cc8f64e92 CData support for libxml2 wrapper 2013-08-17 19:14:05 +02:00
Stefan Radomski
71e0fb8621 Replaced uint64_t by __int64 for better support on windows 2013-08-17 18:21:31 +02:00
Jez Higgins
959a32ef90 Moved the event implementation into the SimpleDOM namespace. 2013-02-09 14:37:12 +00:00
Jez Higgins
6505acfcda Events compile cleanly when no default_string_adaptor defined 2013-01-23 10:50:34 +00:00
Jez Higgins
3ab7bdf2a5 OK, do that properly 2013-01-20 19:09:25 +00:00
Jez Higgins
48287b4adc Accept const char* to initMutationEvent 2013-01-20 18:42:45 +00:00