0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-28 14:48:43 +08:00

1729 Commits

Author SHA1 Message Date
arseny.kapoulkine
4394a588c2 XPath: Rewritten number->string conversion using CRT scientific format (much better XPath REC compliance)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@523 99668b35-9821-0410-8761-19e4c4f06640
2010-06-14 18:03:50 +00:00
arseny.kapoulkine
30fbb3e328 Fixed MSVC x64 warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@522 99668b35-9821-0410-8761-19e4c4f06640
2010-06-13 20:41:12 +00:00
arseny.kapoulkine
2b29b15573 tests: Added tests for parsing offset values
git-svn-id: http://pugixml.googlecode.com/svn/trunk@521 99668b35-9821-0410-8761-19e4c4f06640
2010-06-13 20:00:51 +00:00
arseny.kapoulkine
ab72b14d17 Internal XML parsing error handling is done via setjmp/longjmp, all allocation errors are now handled correctly (parser returns status_out_of_memory, modification functions return errors); added tests for some out of memory situations
git-svn-id: http://pugixml.googlecode.com/svn/trunk@520 99668b35-9821-0410-8761-19e4c4f06640
2010-06-13 19:24:20 +00:00
arseny.kapoulkine
e5014db32a contrib: Removed header_only.hpp (can't link without FORCE:MULTIPLE, users can include cpp files themselves)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@519 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12 11:57:54 +00:00
arseny.kapoulkine
ce94228629 Fixed IntelC warnings, removed unnecessary hack for BCC
git-svn-id: http://pugixml.googlecode.com/svn/trunk@518 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12 11:09:47 +00:00
arseny.kapoulkine
a562014cc2 Declaration nodes improvements (they now automatically get name "xml", they can't be inserted as a non-document child, document saving prints declaration only if there is none present in the document)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@517 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12 09:04:52 +00:00
arseny.kapoulkine
1a007d66e6 tests: Added non top-level declaration test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@516 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12 07:35:08 +00:00
arseny.kapoulkine
0ed895d79c Refactored PI/declaration parsing, now non top-level declarations result in parsing errors
git-svn-id: http://pugixml.googlecode.com/svn/trunk@515 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12 07:30:13 +00:00
arseny.kapoulkine
f2050e5170 tests: Fixed PI test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@514 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11 22:04:23 +00:00
arseny.kapoulkine
12843b2f1b tests: Added more (failing) declaration/PI tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@513 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11 21:44:28 +00:00
arseny.kapoulkine
624b5702d7 Rewritten numeric character reference parsing (fixed &#; and &#x; parsing), added more character reference tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@512 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11 20:39:57 +00:00
arseny.kapoulkine
141d26d3af Minor refactoring (moved unicode utilities to anonymous namespace, moved decode functions to templated class to work around function instantiation bugs, removed optN_to_type)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@511 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11 19:01:40 +00:00
arseny.kapoulkine
f8179496c7 tests: Added SunCC x64 support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@510 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11 07:30:36 +00:00
arseny.kapoulkine
6e1777619e tests: Autotest now targets several architectures on MacOS, minor report refactoring
git-svn-id: http://pugixml.googlecode.com/svn/trunk@509 99668b35-9821-0410-8761-19e4c4f06640
2010-06-10 17:52:08 +00:00
arseny.kapoulkine
c74fe071dd scripts: XCode fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@508 99668b35-9821-0410-8761-19e4c4f06640
2010-06-10 17:09:14 +00:00
arseny.kapoulkine
face963aab scripts: Added projects for Code::Blocks, Codelite and XCode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@507 99668b35-9821-0410-8761-19e4c4f06640
2010-06-10 16:47:16 +00:00
arseny.kapoulkine
158236b1da scripts: Added build scripts for various build systems (CMake, premake, VS2002-2010)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@506 99668b35-9821-0410-8761-19e4c4f06640
2010-06-10 07:23:01 +00:00
arseny.kapoulkine
47c17a25d9 tests: Added C++0x support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@505 99668b35-9821-0410-8761-19e4c4f06640
2010-06-07 16:07:03 +00:00
arseny.kapoulkine
45a0392656 Replaced charN_t types with uintN_t (C++0x compatibility)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@504 99668b35-9821-0410-8761-19e4c4f06640
2010-06-06 19:06:15 +00:00
arseny.kapoulkine
9fa82b15f5 Optimized attribute parsing; behavior of parse_wconv changed, it now assumes that parse_eol is set
git-svn-id: http://pugixml.googlecode.com/svn/trunk@503 99668b35-9821-0410-8761-19e4c4f06640
2010-06-04 18:50:26 +00:00
arseny.kapoulkine
f9c7855143 Minor strcpy_insitu optimization for large strings, removed now redundant impl::strcpy
git-svn-id: http://pugixml.googlecode.com/svn/trunk@502 99668b35-9821-0410-8761-19e4c4f06640
2010-06-03 07:12:51 +00:00
arseny.kapoulkine
63e29e1d1e tests: Fixed report CSS, VMs are now started in minimized state (GUI mode)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@501 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 20:29:03 +00:00
arseny.kapoulkine
366c6d8241 tests: Add Subversion revision info to build report
git-svn-id: http://pugixml.googlecode.com/svn/trunk@500 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 19:27:05 +00:00
arseny.kapoulkine
95dd352eca tests: Temporary file name is obtained via mkstemp on Unix systems
git-svn-id: http://pugixml.googlecode.com/svn/trunk@499 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 17:59:37 +00:00
arseny.kapoulkine
e596d86ca0 tests: Use ... instead of ### as autotest info prefix (sh compatibility)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@498 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 07:25:38 +00:00
arseny.kapoulkine
ae83fae821 tests: Don't wait for full jam output before parsing
git-svn-id: http://pugixml.googlecode.com/svn/trunk@497 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 07:16:00 +00:00
arseny.kapoulkine
7703d96dcb tests: Use colon instead of semicolon as define set separator (sh compatibility)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@496 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 06:51:41 +00:00
arseny.kapoulkine
5a6b19b278 tests: Added -j6 jam argument for non-Windows OS
git-svn-id: http://pugixml.googlecode.com/svn/trunk@495 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 06:43:15 +00:00
arseny.kapoulkine
bef9439b01 tests: Fixed test race condition (a better way would be to use argv[0]-relative path, but let's leave it like that till it breaks)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@494 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 06:37:29 +00:00
arseny.kapoulkine
c622ce6fed tests: Redesigned test building; now all configurations of a single toolset are built in a single jam run
git-svn-id: http://pugixml.googlecode.com/svn/trunk@493 99668b35-9821-0410-8761-19e4c4f06640
2010-06-02 06:25:40 +00:00
arseny.kapoulkine
8a51e7d6d3 tests: Added fp:precise flag for IntelC (the default seems to be fp:fast, which breaks some tests with fp specials)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@492 99668b35-9821-0410-8761-19e4c4f06640
2010-06-01 06:40:43 +00:00
arseny.kapoulkine
f8e9905339 Removed redundant function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@491 99668b35-9821-0410-8761-19e4c4f06640
2010-06-01 06:39:55 +00:00
arseny.kapoulkine
a9d08d9923 tests: Improved IntelC support, added more compilers to autotest, removed old autotest script
git-svn-id: http://pugixml.googlecode.com/svn/trunk@490 99668b35-9821-0410-8761-19e4c4f06640
2010-06-01 05:41:26 +00:00
arseny.kapoulkine
a248138ced Constant deprecation is disabled only on old IntelC, removed deprecation warnings with appropriate define instead of disabling warning via pragma
git-svn-id: http://pugixml.googlecode.com/svn/trunk@489 99668b35-9821-0410-8761-19e4c4f06640
2010-06-01 05:40:03 +00:00
arseny.kapoulkine
1f8ba5aa60 XPath: Added check for fpclassify presence before use
git-svn-id: http://pugixml.googlecode.com/svn/trunk@488 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 17:33:55 +00:00
arseny.kapoulkine
88bdad514c XPath: Slightly optimized lexer
git-svn-id: http://pugixml.googlecode.com/svn/trunk@487 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 16:57:51 +00:00
arseny.kapoulkine
8af48d7e23 tests: Added /[1] test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@486 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 16:55:16 +00:00
arseny.kapoulkine
4c0e67ae92 XPath: Replaced backtracking with lookahead in absolute path parsing
git-svn-id: http://pugixml.googlecode.com/svn/trunk@485 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 16:53:13 +00:00
arseny.kapoulkine
18848ef589 Fixed DMC compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@484 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 16:12:16 +00:00
arseny.kapoulkine
d8b256203c tests: Added more XPath tests based on recommendation errata
git-svn-id: http://pugixml.googlecode.com/svn/trunk@483 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 12:00:38 +00:00
arseny.kapoulkine
a2433c90a2 XPath: Removed separate semantics checking pass, types are verified during parsing
git-svn-id: http://pugixml.googlecode.com/svn/trunk@482 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 11:45:03 +00:00
arseny.kapoulkine
2f88c5dbdf tests: Added more XPath parsing tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@481 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 11:43:54 +00:00
arseny.kapoulkine
f1bfe4cc64 Simplified fp specials handling in XPath (using common faster implementation for both MSVC and BCC)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@480 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 07:56:13 +00:00
arseny.kapoulkine
51bb70cdcf Changed fp specials handling in XPath (using fpclassify/fpclass where possible, NaN generation is based on float QNaN, removed magic double constants/byte arrays)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@479 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 07:41:54 +00:00
arseny.kapoulkine
a0887a0124 tests: Disabled failing checks for MacOS (second try)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@478 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 05:22:59 +00:00
arseny.kapoulkine
ec69de8154 tests: Disabled failing checks for MacOS because of incorrect ceil implementation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@477 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31 05:21:53 +00:00
arseny.kapoulkine
555a184f4f Fixed XPath parsing (numbers of the form \d+\. are now parsed correctly, stray colon does not act as eof token)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@476 99668b35-9821-0410-8761-19e4c4f06640
2010-05-30 20:44:15 +00:00
arseny.kapoulkine
97a761615f tests: Extended wchar_t mode tests (broken UTF16 test, some tests were erroneously utf8-only), added final Xalan tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@475 99668b35-9821-0410-8761-19e4c4f06640
2010-05-30 20:17:05 +00:00
arseny.kapoulkine
d567700d19 tests: Added more tests (including a couple of failing ones)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@474 99668b35-9821-0410-8761-19e4c4f06640
2010-05-30 18:21:49 +00:00