Commit Graph

867 Commits

Author SHA1 Message Date
Lee Thomason c3a19156ff Merge pull request #510 from leethomason/kezenator-line-numbering
Kezenator line numbering
2016-12-24 07:38:43 -08:00
Lee Thomason e90e901041 tweaks, clarification to line numbers 2016-12-24 07:34:39 -08:00
Lee Thomason 002713856b Merge remote-tracking branch 'origin/master' into kezenator-line-numbering 2016-12-24 07:27:40 -08:00
Lee Thomason 855a66c0ff Merge pull request #509 from leethomason/fix-win-dll-build
Fix windows dll build/run
2016-12-24 07:27:25 -08:00
Lee Thomason ef7fe0fd98 fix windows dll build/run 2016-12-24 07:07:56 -08:00
Dmitry-Me 34a3f8e34d Ensure existing attributes are not leaked on attribute insertion 2016-12-19 12:05:21 +03:00
kezenator 19d8ea836f CodeReview Fix: GetLineNum()? 2016-11-29 19:50:27 +10: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 a43ff7210e Removed line numbering support as an advantage of TinyXML-1.
Added error reporting system that discusses the support for line number information.
2016-11-26 17:33:12 +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
Lee Thomason 5bbb6fb052 Merge pull request #500 from Dmitry-Me/reuseAttributeCreation
Reuse attribute creation code
2016-11-25 22:05:34 -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 f80d78d938 Merge pull request #499 from Dmitry-Me/unifyNullComparisons
Unify null pointer checks
2016-11-17 14:43:55 -08:00
Dmitry-Me ebb1660c2f Unify null pointer checks 2016-11-16 17:22:45 +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
Lee Thomason cd47f8e0d3 Merge pull request #495 from Dmitry-Me/pointerAssertionAfterIdentify
Pointer post-assertion
2016-11-10 14:36:10 -08:00
Dmitry-Me 4336431272 Pointer post-assertion 2016-11-07 18:48:50 +03:00
Lee Thomason 13cbc9a708 add test files. fix doc. 2016-10-27 14:55:07 -07:00
Lee Thomason c9a6102bf1 Merge branch 'master' of git://github.com/jwittner/tinyxml2 into jwittner-master 2016-10-27 14:33:52 -07:00
Lee Thomason 6bbcda0215 Merge pull request #490 from Dmitry-Me/avoidCastToSigned
Avoid cast to signed integer type
2016-10-17 15:34:20 -07:00
Lee Thomason 15ad07170d Merge pull request #489 from Armagetron/master
Use correct file pointer
2016-10-17 15:33:57 -07:00
Lee Thomason ed2627e5a7 Merge pull request #487 from jwittner/dev/slnFixes
Fixes for Visual Studio builds and gitignore output
2016-10-17 15:33:26 -07:00
Dmitry-Me c5f1e7ce6e Avoid cast to signed integer type 2016-10-14 10:33:02 +03:00
Armagetron 3c21d6fbb7 Use correct file pointer 2016-10-13 13:31:23 +02:00
Lee Thomason f6106bec9a Merge pull request #488 from Dmitry-Me/reuseElementWithNameCheck
Reuse "is element with name" check
2016-10-12 15:23:39 -07:00
Dmitry-Me ecb9b07476 Reuse "is element with name" check 2016-10-12 16:44:59 +03:00
Josh Wittner edb3261c51 Ignore SLn output dirs, VC files 2016-10-11 19:04:15 -07:00
Josh Wittner 01f6cca9e1 Standardize output directory - fixes conflicts 2016-10-11 19:03:10 -07: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
Lee Thomason e8157ff9ae Merge pull request #484 from kainjow/patch-2
Fix warning on PowerPC
2016-10-11 13:52:45 -07:00
Lee Thomason b2f4dc2a7b Merge pull request #483 from kainjow/patch-1
Fix typo
2016-10-11 13:45:35 -07:00
Lee Thomason 0d3de1edbe Merge pull request #482 from Dmitry-Me/stringEqualAssertions
Assertions in string comparison
2016-10-11 13:11:06 -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
Kevin Wojniak 3c97724d0e Fix typo 2016-10-06 16:05:59 -07:00
Dmitry-Me 21f996960d Assertions in string comparison 2016-10-03 13:01:57 +03:00
Lee Thomason f00c179eba Merge pull request #480 from kurylo/fix/2016-09-29-cmake-warning
Fix cmake warnings on new cmake versions.
2016-10-02 21:24:49 -07:00
Lee Thomason 7fcf31b2c3 Merge pull request #477 from bejado/XML_NO_ERROR_Comments
Update comments to reflect single successful return type
2016-10-02 21:22:42 -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
Łukasz Kuryło aad61870a9 Fix cmake warnings on new cmake versions. 2016-09-29 18:59:07 +02:00
Benjamin Doherty 3b9cf99916 Update comments to reflect single successful return type 2016-09-23 18:42:23 -06:00
Lee Thomason e9b547a9ee Merge pull request #475 from Dmitry-Me/splitAccessAndAdjustment
Split access and pointer adjustment
2016-09-14 10:31:10 -07:00