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
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
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
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
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
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
2f88819306
Expand entity references in the DOM
2012-09-14 19:44:29 +01:00
Jez Higgins
d76e60cce5
Add this->
2012-09-14 11:22:21 +01:00
Jez Higgins
2f49994b09
Deal properly with the [dtd] pseudo-entity
...
Some parsers report the [dtd] pseudo entity through the LexicalHandler.
Arabica was incorrectly trying to create an Entity Reference for it.
2012-09-14 11:12:50 +01:00
Jez Higgins
304ddc6124
Fix for gcc4.7 provided by oncaphillis@snafu.de
2012-09-07 19:50:16 +01:00
Jez Higgins
3b54b7482a
Fixed includes for DOMException - all this time they'd been wrong :(
2011-11-26 09:19:56 +00:00
jez
deca6907e1
Massage ArabicaConfig.hpp so all macros are prefixed ARABICA_
2011-11-25 23:26:39 +00:00
jez
e4fd3c8239
If node doesn't belong to this element, complain
2010-12-29 15:41:56 +00:00
jez
90156036c0
return oldChild not newChild when replacing with a docfragment
2010-12-29 00:11:20 +00:00
jez
6c749609c0
recalculate value if child nodes are fiddled with
2010-12-29 00:10:05 +00:00
jez
a71a89e918
calculate proper node value when it has entity ref children
2010-12-27 13:43:39 +00:00
jez
6dd167b363
factored out attribute node value
2010-12-27 13:35:40 +00:00
jez
d7b9375eba
rejigged overrides
2010-12-27 13:06:18 +00:00
jez
16463bbd83
pop exception if trying to remove an item that doesn\'t exist. yay\!
2010-12-27 00:27:57 +00:00
jez
d45b5bbcb5
Check that inserted node isn't an ancestor of the new parent
2010-12-26 22:56:15 +00:00
jez
a8540e640a
check ownerdocument of inserted node
2010-12-26 22:20:33 +00:00
jez
56a3f9397f
Check attribute names in setAttribute
2010-12-24 22:44:43 +00:00
jez
92090f6377
Checked element/attribute/pi names are valid
2010-12-24 22:00:49 +00:00
jez
968671c82d
Checked element/attribute/pi names are valid
2010-12-24 21:42:30 +00:00
jez
5d572fef10
Whitespace changes
2010-12-24 21:42:06 +00:00
jez
6999f61599
Whitespace changes
2010-12-24 21:41:45 +00:00
jez
59ec067f96
Removed old CVS Id tag
2010-12-24 21:40:58 +00:00
Jez Higgins
8a9115fd53
Pulled out a couple of helper functions. Reworked CDATA output so it properly outputs wacky CDATA sections with ]]> in them.
2010-12-23 22:51:44 +00:00
jez
c29604d553
set attributes readonly when its owner element is readonly
2010-12-19 23:22:17 +00:00
jez
bbc95fdbb2
If an internal entity declaration looks like markup, parse it as markup rather than just treating it as a bit of text
2010-12-17 10:19:37 +00:00
jez
7e9722ddc3
Corrected normalization - only adjacent text nodes should be combined
2010-12-17 10:18:14 +00:00