Jez Higgins
952e71da02
Remove std::unary_function base class
...
Redundant, indeed deprecated, these days.
2024-09-10 10:53:50 +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
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
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
fae0ecf960
Merge pull request #1 from sradomski/master
...
DOM Level2 Events
2013-01-20 10:30:44 -08:00
Stefan Radomski
dc1c1c0225
Dispatch DOMCharacterDataModified as well
2013-01-10 22:18:45 +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
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
304ddc6124
Fix for gcc4.7 provided by oncaphillis@snafu.de
2012-09-07 19:50:16 +01: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
c29604d553
set attributes readonly when its owner element is readonly
2010-12-19 23:22:17 +00:00
jez
7e9722ddc3
Corrected normalization - only adjacent text nodes should be combined
2010-12-17 10:18:14 +00:00
jez
dcbb59b2e8
Default setNodeValue is to do nothing.
2010-12-11 01:12:03 +00:00
jez
9643b42edd
Can now safely add an attribute the element that already owns it
2010-12-11 01:11:22 +00:00
jez
ce69150111
Improved error reporting. Fixed a couple of test functions in dom_conf_test. Skip a couple of entityRef tests
2010-12-09 19:03:23 +00:00
Jez Higgins
ef878d91a2
Got conformance tests compiling and running on Linux
2010-12-09 14:04:13 +00:00
jez
33d08c77a1
DOM Level 1 Conformance fixes found with first pass of W3C conf tests
2010-12-09 11:35:54 +00:00
Jez Higgins
7f8d20b46f
more warnings fixed
2010-01-10 18:47:09 +00:00
jez
5ec2316aa5
fixed segfault when created doctype before owner doc has been set
2010-01-06 21:52:49 +00:00
Jez Higgins
7e62969c6c
Fixed double delete problem when removing and readding an attribute
2010-01-01 23:03:01 +00:00
jez
719829f10a
Ash Berlin's patch to get Text.splitText working properly
2009-12-06 21:34:46 +00:00
Ash Berlin
31c13685d1
Remove warnings:
...
* Unused variable
* Unsigned value always >= 0
* Parameter initialization order
* Virtual destructors for virtual classes
2009-11-28 01:12:28 +00:00
jez
d173537cde
sync with home
2008-09-03 00:39:39 +01:00
jez
8f6b783dc7
don't actually need to worry about refcounting here - in fact even though I was keeping count, I wasn't actually doing anything with it :)
2007-11-12 09:06:25 +00:00
jez
c3bffa005a
renamed include/Utils to include/Arabica
2007-09-10 17:52:04 +00:00
jez
63ed794d58
finished adding string adaptor param to DOM. everything builds and runs now
2007-09-08 22:31:24 +00:00
jez
7b43037a37
Added string_adaptor parameter to DOM classes. DOM and XPath tests compile and run, but still need to add defaults so more "normal" bits of code will go.
2007-09-07 23:52:30 +00:00
jez
90685582ea
working on DOM template params - build is currently broken
2007-09-07 22:03:27 +00:00