bluehero 
							
						 
					 
					
						
						
							
						
						c831675026 
					 
					
						
						
							
							modify  
						
						
						
						
					 
					
						2017-08-07 11:58:37 +08:00 
						 
				 
			
				
					
						
							
							
								bluehero 
							
						 
					 
					
						
						
							
						
						5fb06596a9 
					 
					
						
						
							
							modify  
						
						
						
						
					 
					
						2017-08-07 11:44:27 +08:00 
						 
				 
			
				
					
						
							
							
								bluehero 
							
						 
					 
					
						
						
							
						
						8ba1f84f47 
					 
					
						
						
							
							modify unittest  
						
						
						
						
					 
					
						2017-08-05 20:39:31 +08:00 
						 
				 
			
				
					
						
							
							
								bluehero 
							
						 
					 
					
						
						
							
						
						9eb7bf895c 
					 
					
						
						
							
							add unittest  
						
						
						
						
					 
					
						2017-08-05 18:12:44 +08:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						14218aeb0a 
					 
					
						
						
							
							ParseResult: improve bool conversion and add operator!=  
						
						... 
						
						
						
						* Use safe-bool idiom for boolean conversion to avoid accidental
   misuse of ParseResult values (closes  #989 )
 * Add operator!= to support more comparison expressions
   (previously silently/erroneously used operator bool) 
						
						
					 
					
						2017-07-09 11:13:31 +02:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						c843a2655b 
					 
					
						
						
							
							Try to fix all /W4 warnings in VC2015  
						
						
						
						
					 
					
						2016-04-04 15:01:34 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						a62777487d 
					 
					
						
						
							
							Normalize line endings but not JSON files  
						
						
						
						
					 
					
						2016-03-04 11:52:18 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						7fb84d304b 
					 
					
						
						
							
							Revert "Normalize all the line endings"  
						
						... 
						
						
						
						This reverts commit 6047e3ce12 
						
						
					 
					
						2016-03-04 11:51:30 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						6047e3ce12 
					 
					
						
						
							
							Normalize all the line endings  
						
						
						
						
					 
					
						2016-03-04 09:46:11 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						a907ca490e 
					 
					
						
						
							
							Fix another VC2010 compilation error  
						
						
						
						
					 
					
						2016-02-21 14:14:49 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						9fe18f71c1 
					 
					
						
						
							
							Add Document::Parse() overloads  
						
						
						
						
					 
					
						2016-02-15 17:15:27 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						d8c793f23f 
					 
					
						
						
							
							Disable type_traits  
						
						
						
						
					 
					
						2016-01-23 15:27:59 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						a6eb15d274 
					 
					
						
						
							
							Fix warnings in clang for C++11  
						
						
						
						
					 
					
						2016-01-23 14:37:15 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						74c8dcfd57 
					 
					
						
						
							
							Fix clang -Weverything  
						
						
						
						
					 
					
						2015-12-18 18:34:04 +08:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						9378001e35 
					 
					
						
						
							
							documenttest.cpp: check/use conversion from Document to ParseResult  
						
						
						
						
					 
					
						2015-11-26 22:33:14 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						c8d298bc9e 
					 
					
						
						
							
							documenttest.cpp: EXPECT_THROW when checking empty allocator ( closes   #469 )  
						
						... 
						
						
						
						In the MoveConstructor/MoveAssignment tests, a check for a `NULL` allocator
return has been used to check for the correct moved-from state of a Document.
After the merge of #426 , the GetAllocator call fails with an assertion,
if the allocator of a GenericDocument is NULL.
Check for the throw, instead of NULL in the move-related tests.
Tested with GCC 4.9 on Linux with C++11 enabled.
Reported-by: @woldendans 
						
						
					 
					
						2015-11-16 21:32:09 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						41dd68f092 
					 
					
						
						
							
							add simple test for unchanged DOM after parse error  
						
						
						
						
					 
					
						2015-10-07 21:50:14 +02:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						46e1696316 
					 
					
						
						
							
							add free inline swap functions  
						
						
						
						
					 
					
						2015-07-13 09:35:15 +02:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						dd901f498b 
					 
					
						
						
							
							add GenericDocument<>::Swap  
						
						... 
						
						
						
						See #368 . 
						
						
					 
					
						2015-07-04 01:57:24 +02:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						0edd743c83 
					 
					
						
						
							
							Fix Document.UserBuffer test  
						
						
						
						
					 
					
						2015-05-11 13:58:45 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						a72c35b9fa 
					 
					
						
						
							
							Workaround for Valgrind false alarm on wcscmp()  
						
						
						
						
					 
					
						2015-05-06 10:49:01 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						3c73975513 
					 
					
						
						
							
							Fix 2 FILE* leaks in documenttest.cpp  
						
						
						
						
					 
					
						2015-05-03 20:52:44 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						8d39282af5 
					 
					
						
						
							
							Update license headers for tests  
						
						
						
						
					 
					
						2015-04-18 21:41:38 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						3675b33a2a 
					 
					
						
						
							
							Search more paths for different build situations  
						
						
						
						
					 
					
						2015-04-14 10:35:45 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						bff588e665 
					 
					
						
						
							
							Typo  
						
						
						
						
					 
					
						2015-04-14 09:50:22 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						5dde9ae45e 
					 
					
						
						
							
							Cover MemoryPoolAllocator::Capacity()  
						
						
						
						
					 
					
						2015-04-14 09:49:55 +08:00 
						 
				 
			
				
					
						
							
							
								miloyip 
							
						 
					 
					
						
						
							
						
						985971a563 
					 
					
						
						
							
							Fix gcc/clang compilation  
						
						
						
						
					 
					
						2015-04-13 22:46:09 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						3bc95ecd7c 
					 
					
						
						
							
							Add coverage for Document::ParseXXX()  
						
						
						
						
					 
					
						2015-04-13 22:04:00 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						fb4f321d82 
					 
					
						
						
							
							Fix another -Wfloat-equal warning  
						
						
						
						
					 
					
						2015-04-10 23:10:08 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						b8cc02e0aa 
					 
					
						
						
							
							Try to fix a compilation error on gcc/clang  
						
						
						
						
					 
					
						2015-04-03 11:35:32 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						2d920e7e0f 
					 
					
						
						
							
							Add user buffer unit test  
						
						
						
						
					 
					
						2015-04-03 11:25:19 +08:00 
						 
				 
			
				
					
						
							
							
								unknown 
							
						 
					 
					
						
						
							
						
						63ad11c367 
					 
					
						
						
							
							add support for AppVeyor CI for checking Windows builds  
						
						
						
						
					 
					
						2015-02-17 10:42:43 +01:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						24dd7ef839 
					 
					
						
						
							
							Merge branch 'movetestleak'  
						
						
						
						
					 
					
						2015-01-14 23:03:04 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						7c47cd3498 
					 
					
						
						
							
							Remove 2 unit tests which make memory leaks  
						
						
						
						
					 
					
						2015-01-14 23:02:29 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						24563b28fb 
					 
					
						
						
							
							Correct Value(kStringType) and more assertions  
						
						
						
						
					 
					
						2015-01-13 23:49:53 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						c8bed6b8cc 
					 
					
						
						
							
							Fix compilation errors in unit tests for VC  
						
						
						
						
					 
					
						2014-11-23 08:38:48 +08:00 
						 
				 
			
				
					
						
							
							
								Drew Noakes 
							
						 
					 
					
						
						
							
						
						6aa664eeef 
					 
					
						
						
							
							Document traits of types using <type_traits> and static_assert in tests.  
						
						... 
						
						
						
						The tests state the current traits of types Document, Value and
StringBuffer. There are slight differences between them. It seems like a
good idea to extend this approach across more types, and to review the
expected traits across the board. 
						
						
					 
					
						2014-10-31 11:00:57 +00:00 
						 
				 
			
				
					
						
							
							
								Philipp A. Hartmann 
							
						 
					 
					
						
						
							
						
						1a31767dcf 
					 
					
						
						
							
							DocumentMove tests: compiler error due to -Wsign-compare  
						
						... 
						
						
						
						On GCC 4.9, the documenttest.cpp fails to compile in C++11 mode,
as the MoveConstructor/Assignment tests contain left-over
comparisons between signed and unsigned expressions. 
						
						
					 
					
						2014-10-30 19:23:57 +01:00 
						 
				 
			
				
					
						
							
							
								ecorm 
							
						 
					 
					
						
						
							
						
						fd12dcb3db 
					 
					
						
						
							
							Added MemoryPoolAllocator to GenericDocument moveunit tests. Added comment in GenericDocument move assignment operator explaining why the static_cast is needed to move the base class.  
						
						
						
						
					 
					
						2014-10-24 14:05:32 -03:00 
						 
				 
			
				
					
						
							
							
								ecorm 
							
						 
					 
					
						
						
							
						
						cb33f910c3 
					 
					
						
						
							
							Merge branch 'master' into issue123movesupport  
						
						
						
						
					 
					
						2014-10-24 03:11:34 -03:00 
						 
				 
			
				
					
						
							
							
								ecorm 
							
						 
					 
					
						
						
							
						
						02f3b00ee6 
					 
					
						
						
							
							Implemented C++11 move semantics for GenericDocument  
						
						
						
						
					 
					
						2014-10-24 02:51:17 -03:00 
						 
				 
			
				
					
						
							
							
								Zhihao Yuan 
							
						 
					 
					
						
						
							
						
						7303d92990 
					 
					
						
						
							
							Disambiguate GenericValue's [0] and ["string"]  
						
						
						
						
					 
					
						2014-10-23 21:50:39 -04:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						d6513e251c 
					 
					
						
						
							
							Fix a gcc compilation error  
						
						
						
						
					 
					
						2014-08-17 18:55:36 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						941aa93f45 
					 
					
						
						
							
							Separate Document's value and stack allocator.  
						
						... 
						
						
						
						Use CrtAllocator for stack.
ShrinkToFit stack after parsing. 
						
						
					 
					
						2014-08-17 18:33:47 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						0dbcc1cf2e 
					 
					
						
						
							
							Add license and change indents from tab to space.  
						
						
						
						
					 
					
						2014-08-11 22:26:45 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						469333af8f 
					 
					
						
						
							
							Fixes filename cases in source code  
						
						
						
						
					 
					
						2014-07-04 17:03:58 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						0bff4ffd0c 
					 
					
						
						
							
							Adds unit tests about streams.  
						
						
						
						
					 
					
						2014-07-04 16:39:09 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						b01093b16c 
					 
					
						
						
							
							Fixes a compilation error in Reader when using encoded stream.  
						
						... 
						
						
						
						Added unit test for parsing EncodedStream to Document. 
						
						
					 
					
						2014-07-04 14:32:44 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						9ed11d29a2 
					 
					
						
						
							
							Safer implementation of Swap()  
						
						... 
						
						
						
						Also added documentation, unit tests for swapping Document/Value,
Document/Document. 
						
						
					 
					
						2014-07-04 00:59:16 +08:00 
						 
				 
			
				
					
						
							
							
								Milo Yip 
							
						 
					 
					
						
						
							
						
						1d14748bc9 
					 
					
						
						
							
							Added overloaded functions for default parseFlags  
						
						... 
						
						
						
						Can write d.Parse(...) instead of d.Parse<0>(...)
Hope to reduce strangeness and confusion for beginner. 
						
						
					 
					
						2014-06-29 15:03:38 +08:00