Dmitry-Me
f89bd3ef68
Initialize member variables
2017-01-18 18:33:55 +03:00
Lee Thomason
5b733ff481
Merge pull request #504 from Dmitry-Me/ensureLinkPointersAreNotOverwritten
...
Ensure existing attributes are not leaked on attribute insertion
2016-12-24 07:39:17 -08:00
Lee Thomason
e90e901041
tweaks, clarification to line numbers
2016-12-24 07:34:39 -08:00
Dmitry-Me
34a3f8e34d
Ensure existing attributes are not leaked on attribute insertion
2016-12-19 12:05:21 +03:00
kezenator
e353181a46
CodeReview Fix: initialLineNum? Something a little more descriptive?
2016-11-29 19:49:07 +10:00
kezenator
e3d44159e3
CodeReview Fix: The initializer syntax isn't used. Should be 'int unusedLineNum = 0`
2016-11-29 19:47:55 +10:00
kezenator
4f756161d0
CodeReview Fix: The non-const reference syntax isn't used in the codebase. Should be a pointer.
2016-11-29 19:46:27 +10:00
kezenator
2489afcc61
Merge branch 'master' of https://github.com/leethomason/tinyxml2
2016-11-29 19:33:44 +10:00
kezenator
ec6941503c
Added line number reporting to parse errors and to all nodes and attributes for parsed documents.
2016-11-26 17:21:43 +10:00
Lee Thomason
156bc1b99f
Merge pull request #502 from Dmitry-Me/reuseClearError
...
Reuse code for error clearing
2016-11-25 22:06:11 -08:00
kezenator
5a70071241
Added static method to convert arbitrary ErrorID to a string.
...
Updated tests to print ErrorID and bool values as strings.
2016-11-26 13:54:42 +10:00
Dmitry-Me
0d2cef0cba
Reuse code for error clearing
2016-11-25 18:39:52 +03:00
Dmitry-Me
a60caa28cc
Reuse attribute creation code
2016-11-22 18:28:08 +03:00
Lee Thomason
7de0b6dd8c
Merge pull request #493 from leethomason/jwittner
...
Friendly API for attribute query.
2016-11-15 14:09:03 -08:00
Lee Thomason
d04f21cab8
Merge pull request #496 from Dmitry-Me/detectDeclarationPlacement
...
Declarations should occur before anything else
2016-11-15 14:08:04 -08:00
Dmitry-Me
446c3bcae3
Declarations should occur before anything else
2016-11-11 10:34:56 +03:00
Dmitry-Me
4336431272
Pointer post-assertion
2016-11-07 18:48:50 +03:00
Lee Thomason
c9a6102bf1
Merge branch 'master' of git://github.com/jwittner/tinyxml2 into jwittner-master
2016-10-27 14:33:52 -07:00
Dmitry-Me
c5f1e7ce6e
Avoid cast to signed integer type
2016-10-14 10:33:02 +03:00
Dmitry-Me
ecb9b07476
Reuse "is element with name" check
2016-10-12 16:44:59 +03:00
Josh Wittner
513e69ba68
Merge branch 'master' of https://github.com/leethomason/tinyxml2
2016-10-11 19:00:53 -07:00
Josh Wittner
cf3dd09b08
Move implementations to cpp
2016-10-11 18:57:17 -07:00
Kevin Wojniak
318252a973
Fix warning on PowerPC
...
GCC 5+ will generate "error: comparison is always true due to limited range of data type" when -Wextra is used because PowerPC by default uses unsigned char, so it can never be less than 0.
2016-10-07 10:37:02 -07:00
Lee Thomason
6f1ad6153e
Merge pull request #471 from Dmitry-Me/loopInvariantAssertions
...
Loop invariant pointer assertions
2016-10-02 21:21:38 -07:00
Dmitry-Me
fed511276f
Split access and pointer adjustment
2016-09-06 18:08:55 +03:00
Lee Thomason
584af57086
fix error string memory errors
2016-09-05 14:14:16 -07:00
Dmitry-Me
2449582eaf
Use const where const is enough
2016-09-02 16:53:32 +03:00
Dmitry-Me
f9f3c3e85c
Loop invariant pointer assertions
2016-08-30 15:51:55 +03:00
Lee Thomason
4fe8c102da
Merge pull request #469 from Trebgarta/master
...
Bool true/false rather than 0/1 : #399
2016-08-28 17:21:04 -07:00
Doruk Turak
de45d04711
SetAttribute: true/false rather 1/0
2016-08-28 20:47:08 +02:00
Dmitry-Me
9cb4eca596
Reuse DeleteChild()
2016-08-18 18:10:59 +03:00
Lee Thomason
0bb5901961
Merge pull request #466 from Dmitry-Me/makeCommentMoreConcise
...
Make comment more concise
2016-08-11 07:34:16 -07:00
Dmitry-Me
caa72a641e
Make comment more concise
2016-08-10 17:34:34 +03:00
Dmitry-Me
4de7abb573
Unify node deletion
2016-08-10 17:30:02 +03:00
Lee Thomason
75c8f40640
Merge pull request #459 from Elbrasch/master
...
Added void XMLPrinter::PushText( int64_t value ), which was declared …
2016-08-05 13:10:16 -07:00
Dmitry-Me
db02b21bc5
Pointer assertion for contract clarity
2016-08-04 17:16:05 +03:00
Stefan Asbeck
e1a82c1a50
Added void XMLPrinter::PushText( int64_t value ), which was declared but not implemented.
2016-08-04 09:12:45 +02:00
Lee Thomason
5bf60e9dc6
try to fix the lld issue
2016-07-17 22:49:40 -07:00
Lee Thomason
af9bce1762
support user data
2016-07-17 22:35:52 -07:00
Lee Thomason
536a4cde37
Merge branch 'master' into int64support
2016-07-17 21:37:39 -07:00
Manlio Morini
0f45b2422f
Fixes issue #425
2016-07-11 12:14:59 +02:00
Lee Thomason
51c1271797
add int64 support
2016-06-04 20:18:49 -07:00
Lee Thomason
8553625730
one successful return type. simplify build on vs2015
2016-06-04 19:10:53 -07:00
Lee Thomason
97837e77f4
Merge pull request #428 from wvvelzen/WarningsFix
...
Fix 2 "Condition is always true" compiler warnings.
2016-03-25 07:41:51 -07:00
Wilfred van Velzen
0aeac18ad3
Fix 2 "Condition is always true" compiler warnings.
2016-03-25 14:14:03 +01:00
Wilfred van Velzen
67abee5610
Fix for Borland C++ Builder 6
2016-03-25 14:01:15 +01:00
Dmitry-Me
96b110d25e
Assert to ensure ftell() behaves as expected by later code
2016-02-09 15:12:40 +03:00
Jarle Strand
81abfd6d4c
Error fix DeleteChild
...
Added call to Unlink in XMLNode::DeleteChild() so that references to
node are removed before memory is unallocated. This will ensure the
child is removed from parent and that no pointers are referring to the
unallocated memory. (Code is now aligned with the code in
XMLNode::DeleteChildren() )
2015-12-27 17:30:04 +01:00
Dmitry-Me
0515fa9d27
Assertion in StrPair::SetStr()
2015-12-09 11:54:06 +03:00
Dmitry-Me
901fed5f19
Get rid of -Wtype-limits warning
2015-09-25 10:29:51 +03:00