0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-31 00:13:01 +08:00

312 Commits

Author SHA1 Message Date
arseny.kapoulkine
8afeb9d71a Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@406 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 16:43:07 +00:00
arseny.kapoulkine
a6dc5ff70b Optimized memory consumption (removed last_child and last_attribute, sibling/attribute lists are now one-way cyclic)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@405 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 16:38:22 +00:00
arseny.kapoulkine
4a90b861d9 Minor allocation refactoring and optimization
git-svn-id: http://pugixml.googlecode.com/svn/trunk@404 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 14:58:28 +00:00
arseny.kapoulkine
9441757ef6 Internal iterator constructors are now private, added empty document test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@403 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 13:31:38 +00:00
arseny.kapoulkine
14bda69d0d Optimized xml_document::destroy
git-svn-id: http://pugixml.googlecode.com/svn/trunk@402 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 12:21:51 +00:00
arseny.kapoulkine
47c23efe62 Reworked DOM memory allocation scheme (name/value allocations use the same pages as node/attribute structures, pages are now deallocated when completely free)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@401 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 08:59:48 +00:00
arseny.kapoulkine
5ff56a6d68 Removed document order optimization (it helps on a tiny percentage of queries), XPath tests now compute their own order
git-svn-id: http://pugixml.googlecode.com/svn/trunk@400 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 20:37:49 +00:00
arseny.kapoulkine
e96af87b5d Enabled MSVC10 x64 in autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@399 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 18:47:23 +00:00
arseny.kapoulkine
57702ccba3 Improved memory leak detection
git-svn-id: http://pugixml.googlecode.com/svn/trunk@398 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 18:23:50 +00:00
arseny.kapoulkine
464d0f4ff9 Added empty stream/buffer tests, fixed null buffer parsing in wchar_t mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@397 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 17:53:59 +00:00
arseny.kapoulkine
78057035d2 Build system fixes (old-style debug format for MSVC, removed Wp64 for MSVC9/10)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@396 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 17:26:08 +00:00
arseny.kapoulkine
427714178e Minor loading functions refactoring, fixed XPath append_node for MSVC10
git-svn-id: http://pugixml.googlecode.com/svn/trunk@395 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 17:25:35 +00:00
arseny.kapoulkine
ca9704d651 Added fulldebug flag for debug information generation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@394 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 10:20:43 +00:00
arseny.kapoulkine
3a9d992883 Removed std::string and contents_push from XPath parsing
git-svn-id: http://pugixml.googlecode.com/svn/trunk@393 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 10:20:17 +00:00
arseny.kapoulkine
664638059a Minor coverage improvements
git-svn-id: http://pugixml.googlecode.com/svn/trunk@392 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 21:35:42 +00:00
arseny.kapoulkine
44a8f9ea1d Added MSVC8 x64 support to build framework and autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@391 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 21:08:03 +00:00
arseny.kapoulkine
8b6be5c02e Don't use global no-deprecate switch for newer GCC/MinGW, fixed warnings because of deprecation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@390 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 20:36:20 +00:00
arseny.kapoulkine
6706a3f8ba Deprecated all wildcard functions and parse_wnorm_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@389 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 20:30:29 +00:00
arseny.kapoulkine
1172d9bc4a Fixed tests in NO_STL mode and IntelC deprecated constant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@388 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 17:32:01 +00:00
arseny.kapoulkine
981a445319 Implemented PUGIXML_DEPRECATED for GCC and MSVC7+
git-svn-id: http://pugixml.googlecode.com/svn/trunk@387 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 17:10:16 +00:00
arseny.kapoulkine
021574a484 Added 0.5-compatible interfaces for compatibility
git-svn-id: http://pugixml.googlecode.com/svn/trunk@386 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 16:44:04 +00:00
arseny.kapoulkine
18819327e9 Updated copyright year, updated changelog in documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@385 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:54:02 +00:00
arseny.kapoulkine
d217517975 Changed version number to 0.6, merged Unicode utilities to pugixml.cpp
git-svn-id: http://pugixml.googlecode.com/svn/trunk@384 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:39:14 +00:00
arseny.kapoulkine
f542c5ebb8 Integrated changes from unicode branch to trunk
git-svn-id: http://pugixml.googlecode.com/svn/trunk@383 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:28:36 +00:00
arseny.kapoulkine
efee7df3f4 Fixed invalid document contents when document parsing fails
git-svn-id: http://pugixml.googlecode.com/svn/trunk@282 99668b35-9821-0410-8761-19e4c4f06640
2010-04-21 06:48:32 +00:00
arseny.kapoulkine
516e4d63ce unicode: Fixed tests for Linux
git-svn-id: http://pugixml.googlecode.com/svn/trunk@280 99668b35-9821-0410-8761-19e4c4f06640
2010-04-20 20:46:42 +00:00
arseny.kapoulkine
dc0a2a815b unicode: Default toolset for Unix systems is gcc
git-svn-id: http://pugixml.googlecode.com/svn/trunk@279 99668b35-9821-0410-8761-19e4c4f06640
2010-04-20 20:46:18 +00:00
arseny.kapoulkine
20edc02ff7 unicode: Added Linux build rules, converted Jamrules.jam to Unix file endings
git-svn-id: http://pugixml.googlecode.com/svn/trunk@278 99668b35-9821-0410-8761-19e4c4f06640
2010-04-20 20:44:06 +00:00
arseny.kapoulkine
7fa89486bf docs: Minor HTML fix
git-svn-id: http://pugixml.googlecode.com/svn/trunk@249 99668b35-9821-0410-8761-19e4c4f06640
2010-02-23 09:56:54 +00:00
arseny.kapoulkine
a78e1ec91c Replaced int with ptrdiff_t for offset_debug() and last parsed offset in xml_parse_result
git-svn-id: http://pugixml.googlecode.com/svn/trunk@248 99668b35-9821-0410-8761-19e4c4f06640
2010-02-08 11:52:45 +00:00
arseny.kapoulkine
f5bdc4b9dc Added inline directive to ischartype in case automatic inlining is not enabled
git-svn-id: http://pugixml.googlecode.com/svn/trunk@247 99668b35-9821-0410-8761-19e4c4f06640
2010-02-06 12:02:24 +00:00
arseny.kapoulkine
c4c6adce6d contrib: Renamed header-only.hpp to header_only.hpp
git-svn-id: http://pugixml.googlecode.com/svn/trunk@246 99668b35-9821-0410-8761-19e4c4f06640
2010-02-04 20:57:07 +00:00
arseny.kapoulkine
333ad80a15 contrib: Added header-only version example
git-svn-id: http://pugixml.googlecode.com/svn/trunk@245 99668b35-9821-0410-8761-19e4c4f06640
2010-02-02 20:58:38 +00:00
arseny.kapoulkine
88865fc911 XPath: Renamed character type-related functions/types to avoid conflict with pugixml ones (for header-only mode)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@244 99668b35-9821-0410-8761-19e4c4f06640
2010-02-02 20:57:39 +00:00
arseny.kapoulkine
764b54d042 contrib: Added Boost.Foreach helpers
git-svn-id: http://pugixml.googlecode.com/svn/trunk@243 99668b35-9821-0410-8761-19e4c4f06640
2010-02-02 20:45:55 +00:00
arseny.kapoulkine
933c092395 XPath: xpath_ast_node ctors now initialize all members (code analysis warnings fix)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@242 99668b35-9821-0410-8761-19e4c4f06640
2010-02-02 19:59:06 +00:00
arseny.kapoulkine
9429411e99 Renamed ERROR to THROW_ERROR to solve macro name conflicts
git-svn-id: http://pugixml.googlecode.com/svn/trunk@240 99668b35-9821-0410-8761-19e4c4f06640
v0.5
2010-01-21 21:12:07 +00:00
arseny.kapoulkine
db550f5f80 Fixed several code analysis warnings
git-svn-id: http://pugixml.googlecode.com/svn/trunk@239 99668b35-9821-0410-8761-19e4c4f06640
2010-01-20 22:15:15 +00:00
arseny.kapoulkine
9731626489 XPath: Removed variable shadowing (fixes warnings in static analyzers)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@238 99668b35-9821-0410-8761-19e4c4f06640
2010-01-20 22:01:18 +00:00
arseny.kapoulkine
e27ed958c1 docs: Updated mime-types for google code online viewing
git-svn-id: http://pugixml.googlecode.com/svn/trunk@237 99668b35-9821-0410-8761-19e4c4f06640
2010-01-05 17:04:50 +00:00
arseny.kapoulkine
a3c386c4bd More branch probability tuning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@236 99668b35-9821-0410-8761-19e4c4f06640
2009-11-10 11:26:42 +00:00
arseny.kapoulkine
8a2b1b6e7a Parsing optimization: removed some redundant checks, reordered branches by probability, extracted two unlikely code paths in separate functions, node construction tuning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@235 99668b35-9821-0410-8761-19e4c4f06640
2009-11-10 09:26:40 +00:00
arseny.kapoulkine
bd2c777ac2 docs: Updated Doxygen documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@234 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 19:17:47 +00:00
arseny.kapoulkine
3cf6af6428 docs: Minor documentation changes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@233 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 19:16:43 +00:00
arseny.kapoulkine
f0f7ac697b XPath: Added xpath_query::return_type() function, fixed evaluate_node_set documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@232 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 19:05:05 +00:00
arseny.kapoulkine
85f97d8e08 docs: Updated version and changelog
git-svn-id: http://pugixml.googlecode.com/svn/trunk@231 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 18:51:51 +00:00
arseny.kapoulkine
c389916348 Updated header/footer comments - included MIT license text as per user request, removed old notes, updated version number
git-svn-id: http://pugixml.googlecode.com/svn/trunk@230 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 18:34:59 +00:00
arseny.kapoulkine
f02208b12f tests: Final coverage improvements
git-svn-id: http://pugixml.googlecode.com/svn/trunk@229 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 16:15:05 +00:00
arseny.kapoulkine
c1b2ecc799 tests: MSVC warning fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@228 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 15:57:04 +00:00
arseny.kapoulkine
f5389e364a XPath: Removed redundant code
git-svn-id: http://pugixml.googlecode.com/svn/trunk@227 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 15:56:33 +00:00