Commit graph

547 commits

Author SHA1 Message Date
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
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
Jez Higgins
fae0ecf960 Merge pull request #1 from sradomski/master
DOM Level2 Events
2013-01-20 10:30:44 -08:00
Stefan Radomski
fb1ac6da38 Reverted last commit 2013-01-13 18:57:22 +01:00
Stefan Radomski
96f2fb050a MSVC10 does not know operator+ for string and const char* 2013-01-13 17:49:54 +01:00
Stefan Radomski
f46a265432 Fixed issue with gcc 2013-01-10 23:06:40 +01:00
Stefan Radomski
dc1c1c0225 Dispatch DOMCharacterDataModified as well 2013-01-10 22:18:45 +01:00
Stefan Radomski
3fbde80063 Added operator< for nodes to function as STL keys 2013-01-07 14:55:13 +01:00
Stefan Radomski
d04316460c Fixed memory leak
- initialize refCount
- return true for hasFeature Events and MutationEvents
2013-01-07 03:02:04 +01:00
Stefan Radomski
0732013c6e Some bug-fixes
- Count references
- Provide Node constructor from EventTarget
2013-01-06 22:56:53 +01:00
Jez Higgins
0333a2cc0d Fallback to std::set because I can't work out how to use boost::unordered_set with silly_string 2013-01-05 23:42:06 +00:00
Jez Higgins
2a9d8ca748 Use boost::unordered_set for the String pool rather than my rather rubbish std::list. Much quicker. Patch provided by Gunther Laure 2013-01-05 21:55:09 +00:00
Jez Higgins
97ecf9040b Don't create a namespace context unless we need one - performance tweak provided by Gunther Laure 2013-01-05 21:53:59 +00:00
Jez Higgins
b65f7be0b3 Applied Oncaphillis' patch for gcc 4.7 2013-01-05 21:26:35 +00:00
Stefan Radomski
2e486cfd96 More work on DOM Level2 events
- dispatchEvent follows standard now
- actually dsipatch events when modifying the dom
2013-01-01 23:35:42 +01:00
Stefan Radomski
0619f2deb0 Started DOM Level2 Events 2012-12-30 01:10:31 +01:00
Jez Higgins
130cc3cdc2 Restored line controlling attribute output that I'd accidentally deleted 2012-11-21 19:52:16 +00:00
Jez Higgins
4555948aae OK, I really think that's it 2012-11-21 11:12:35 +00:00