Arseny Kapoulkine
|
6056ba2f89
|
Simplify header-only mode usage: it's sufficient to define PUGIXML_HEADER_ONLY anywhere now, source is automatically included
git-svn-id: http://pugixml.googlecode.com/svn/trunk@964 99668b35-9821-0410-8761-19e4c4f06640
|
2014-02-08 20:44:20 +00:00 |
|
Arseny Kapoulkine
|
0557a06764
|
Fix test suite stringizing macros to be C++11-compliant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@963 99668b35-9821-0410-8761-19e4c4f06640
|
2014-02-08 20:39:25 +00:00 |
|
Arseny Kapoulkine
|
f9bbc39bd9
|
Implement long long support if PUGIXML_HAS_LONG_LONG is defined (autodetection is not implemented yet)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@962 99668b35-9821-0410-8761-19e4c4f06640
|
2014-02-08 20:36:09 +00:00 |
|
Arseny Kapoulkine
|
c3550de72b
|
Ignore stream errors generated by a failing tellg() for non-seekable streams
git-svn-id: http://pugixml.googlecode.com/svn/trunk@961 99668b35-9821-0410-8761-19e4c4f06640
|
2014-01-27 04:06:35 +00:00 |
|
Arseny Kapoulkine
|
0938714fa0
|
Change xml_named_node_iterator to be bidirectional and to match xml_node_iterator in terms of internals
git-svn-id: http://pugixml.googlecode.com/svn/trunk@960 99668b35-9821-0410-8761-19e4c4f06640
|
2014-01-27 03:54:05 +00:00 |
|
Arseny Kapoulkine
|
4d8974f1fd
|
Replace offsetof with sizeof since some compilers don't recognize offsetof as a compile-time constant expression
git-svn-id: http://pugixml.googlecode.com/svn/trunk@959 99668b35-9821-0410-8761-19e4c4f06640
|
2014-01-15 18:13:51 +00:00 |
|
Arseny Kapoulkine
|
7f6b062e9f
|
Implement automatic hexadecimal decoding for xml_attribute::as_int and xml_text::as_int. This is effectively a form of strtol with base 0, but without octal support.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@958 99668b35-9821-0410-8761-19e4c4f06640
|
2014-01-15 04:28:10 +00:00 |
|
arseny.kapoulkine@gmail.com
|
783af79264
|
Fix gcc-4.9 compilation warning when using -Wstrict-overflow
git-svn-id: http://pugixml.googlecode.com/svn/trunk@957 99668b35-9821-0410-8761-19e4c4f06640
|
2013-12-20 08:24:38 +00:00 |
|
arseny.kapoulkine@gmail.com
|
79109a8546
|
Fix gcc-4.8 compilation warning when using -Wstrict-overflow
git-svn-id: http://pugixml.googlecode.com/svn/trunk@956 99668b35-9821-0410-8761-19e4c4f06640
|
2013-11-26 04:34:41 +00:00 |
|
arseny.kapoulkine@gmail.com
|
48600c3a9d
|
Fix _root checking inconsistency in xml_document::destroy
git-svn-id: http://pugixml.googlecode.com/svn/trunk@955 99668b35-9821-0410-8761-19e4c4f06640
|
2013-08-02 02:43:13 +00:00 |
|
arseny.kapoulkine@gmail.com
|
888934dac6
|
Clarify value() behavior in header comments; hopefully that'll help with value vs child_value confusion.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@954 99668b35-9821-0410-8761-19e4c4f06640
|
2013-07-27 11:32:44 +00:00 |
|
arseny.kapoulkine@gmail.com
|
cac6b8720a
|
Make sure newlines are consistent for both .zip and .tar.gz archives
git-svn-id: http://pugixml.googlecode.com/svn/trunk@953 99668b35-9821-0410-8761-19e4c4f06640
|
2013-07-20 05:55:22 +00:00 |
|
arseny.kapoulkine@gmail.com
|
63c0f55ee7
|
docs: Fix manual.xsl to work with newer xsltproc
git-svn-id: http://pugixml.googlecode.com/svn/trunk@950 99668b35-9821-0410-8761-19e4c4f06640
|
2013-07-10 06:10:03 +00:00 |
|
arseny.kapoulkine@gmail.com
|
e300701d3f
|
docs: XPath select_single_node sample checks return value for clarity
git-svn-id: http://pugixml.googlecode.com/svn/trunk@949 99668b35-9821-0410-8761-19e4c4f06640
|
2013-07-10 04:47:25 +00:00 |
|
arseny.kapoulkine@gmail.com
|
4c57df7cb6
|
docs: Minor grammar fix
git-svn-id: http://pugixml.googlecode.com/svn/trunk@948 99668b35-9821-0410-8761-19e4c4f06640
|
2013-07-10 04:46:59 +00:00 |
|
arseny.kapoulkine@gmail.com
|
ff14ae6daf
|
Fix documentation building on Linux
git-svn-id: http://pugixml.googlecode.com/svn/trunk@947 99668b35-9821-0410-8761-19e4c4f06640
|
2013-07-10 04:38:21 +00:00 |
|
arseny.kapoulkine@gmail.com
|
4e1add1a46
|
Fix invalid assertion in XPath: reallocation can result in allocating buffer of the same size due to pointer-sized alignment
git-svn-id: http://pugixml.googlecode.com/svn/trunk@946 99668b35-9821-0410-8761-19e4c4f06640
|
2013-03-20 02:44:05 +00:00 |
|
arseny.kapoulkine@gmail.com
|
28def6fbca
|
docs: Fix format_no_escapes documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@945 99668b35-9821-0410-8761-19e4c4f06640
|
2013-03-20 02:36:48 +00:00 |
|
arseny.kapoulkine@gmail.com
|
33301e9f42
|
Fix XPath return type for contains() and string-length()
git-svn-id: http://pugixml.googlecode.com/svn/trunk@944 99668b35-9821-0410-8761-19e4c4f06640
|
2013-03-19 15:11:40 +00:00 |
|
arseny.kapoulkine@gmail.com
|
2e4f6c54a8
|
Work around clang static analysis false positives using extra assertions.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@943 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-08 04:06:37 +00:00 |
|
arseny.kapoulkine@gmail.com
|
389d1c2893
|
Only include wchar.h in PUGIXML_WCHAR_MODE; use a custom implementation of wcslen in case there is no wide character support.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@942 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 08:11:23 +00:00 |
|
arseny.kapoulkine@gmail.com
|
30549910db
|
Fix uninitialized variable in case append_buffer fails with out of memory due to buffer copy allocation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@941 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 06:56:31 +00:00 |
|
arseny.kapoulkine@gmail.com
|
7b61ad6379
|
tests: Fix msvc11_arm toolset setup
git-svn-id: http://pugixml.googlecode.com/svn/trunk@940 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 06:41:48 +00:00 |
|
arseny.kapoulkine@gmail.com
|
9b9a414ab6
|
Compatibility fixes (fixed warnings in gcc, msvc7, fixed errors in bcc, cw, msvc6)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@939 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 06:35:53 +00:00 |
|
arseny.kapoulkine@gmail.com
|
26444f90a9
|
docs: Added append_buffer documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@938 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 05:15:09 +00:00 |
|
arseny.kapoulkine@gmail.com
|
00d4994f24
|
tests: Added append_buffer tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@937 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 04:49:51 +00:00 |
|
arseny.kapoulkine@gmail.com
|
456527b44a
|
Implement xml_node::append_buffer as a faster alternative to assembling documents from fragments (compared to parse & clone)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@936 99668b35-9821-0410-8761-19e4c4f06640
|
2012-12-07 04:49:23 +00:00 |
|
arseny.kapoulkine@gmail.com
|
efc634a718
|
archive.pl now creates a wrapping folder in both .tar.gz and .zip archives
git-svn-id: http://pugixml.googlecode.com/svn/trunk@935 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-20 05:34:06 +00:00 |
|
arseny.kapoulkine@gmail.com
|
3af13f1cb8
|
scripts: Apply pugixml-soversion.patch: SOVERSION is now 1 instead of 1.2 (make install will deploy both libpugixml.so.1 and libpugixml.so.1.2)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@934 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-20 05:27:46 +00:00 |
|
arseny.kapoulkine@gmail.com
|
a3aa5d39b8
|
XPath stack optimization: Reduce convert_number_to_string stack usage by reducing mantissa_buffer size and filling resulting string on heap without an extra copy from stack.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@933 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-18 23:11:59 +00:00 |
|
arseny.kapoulkine@gmail.com
|
c95900e354
|
XPath: Fix BCC/DMC compilation (overloading workaround)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@932 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-18 01:14:33 +00:00 |
|
arseny.kapoulkine@gmail.com
|
4fe55906fa
|
XPath stack optimization: Rewrite part of the recursive descent parser to precedence climbing to reduce stack usage
git-svn-id: http://pugixml.googlecode.com/svn/trunk@931 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-18 01:11:50 +00:00 |
|
arseny.kapoulkine@gmail.com
|
cee7eca229
|
XPath: Fix unit test that (incorrectly) relied on right-associativity of union operator to trigger out of memory condition
git-svn-id: http://pugixml.googlecode.com/svn/trunk@930 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-17 23:51:43 +00:00 |
|
arseny.kapoulkine@gmail.com
|
48f9343c05
|
XPath: Add unit test for unary minus and union precedences
git-svn-id: http://pugixml.googlecode.com/svn/trunk@929 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-17 22:50:05 +00:00 |
|
arseny.kapoulkine@gmail.com
|
ed30b95a42
|
XPath stack optimization: Reduce stack usage during parsing by sharing scratch buffer for variable/number parsing (we only need one per parser)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@928 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-17 21:52:02 +00:00 |
|
arseny.kapoulkine@gmail.com
|
971fd96764
|
Fix PUGIXML_MEMORY_* constants for header-only mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@927 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-17 04:55:24 +00:00 |
|
arseny.kapoulkine@gmail.com
|
43f3888dc1
|
Fix undefined pointer arithmetic for reverse() and unique() in case the range is empty (begin == end)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@926 99668b35-9821-0410-8761-19e4c4f06640
|
2012-11-08 16:01:23 +00:00 |
|
arseny.kapoulkine@gmail.com
|
973296bcb1
|
Minor refactoring
git-svn-id: http://pugixml.googlecode.com/svn/trunk@923 99668b35-9821-0410-8761-19e4c4f06640
|
2012-10-31 04:56:27 +00:00 |
|
arseny.kapoulkine@gmail.com
|
09f9ab079e
|
Adjust parsing so that it is possible to parse a document fragment into an existing subtree; can be used to implement append_buffer.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@922 99668b35-9821-0410-8761-19e4c4f06640
|
2012-10-31 04:47:17 +00:00 |
|
arseny.kapoulkine@gmail.com
|
68d533a828
|
tests: Remove 'con' loading from tests since it stopped working under Windows 8...
git-svn-id: http://pugixml.googlecode.com/svn/trunk@921 99668b35-9821-0410-8761-19e4c4f06640
|
2012-10-31 04:45:38 +00:00 |
|
arseny.kapoulkine@gmail.com
|
2876af6773
|
Fix find_child_by_attribute assertion for attributes with null name/value.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@920 99668b35-9821-0410-8761-19e4c4f06640
|
2012-09-29 06:36:29 +00:00 |
|
arseny.kapoulkine@gmail.com
|
ff715f672f
|
Add xml_object_range::iterator to work around Boost.ForEach errors without BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION feature (i.e. SunCC 12). Fixes issue 164.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@919 99668b35-9821-0410-8761-19e4c4f06640
|
2012-08-02 09:22:43 +00:00 |
|
arseny.kapoulkine@gmail.com
|
1c82e0cf7d
|
scripts: Allow to customize library install location for CMake
git-svn-id: http://pugixml.googlecode.com/svn/trunk@918 99668b35-9821-0410-8761-19e4c4f06640
|
2012-07-03 15:04:48 +00:00 |
|
arseny.kapoulkine@gmail.com
|
215ecbcff6
|
Add PUGIXML_CLASS to xml_named_node_iterator to make dllexport possible. Fixes issue 161.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@917 99668b35-9821-0410-8761-19e4c4f06640
|
2012-06-28 15:36:58 +00:00 |
|
arseny.kapoulkine@gmail.com
|
a9a537ad40
|
Iterator improvements: safety assertions in xml_named_node_iterator, const_cast workaround for BCC32 bug
git-svn-id: http://pugixml.googlecode.com/svn/trunk@915 99668b35-9821-0410-8761-19e4c4f06640
|
2012-05-02 15:38:09 +00:00 |
|
arseny.kapoulkine@gmail.com
|
a50f47f805
|
docs: Regenerated HTML documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@910 99668b35-9821-0410-8761-19e4c4f06640
|
2012-04-30 15:37:36 +00:00 |
|
arseny.kapoulkine@gmail.com
|
22a999f7e4
|
docs: Several typo fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@909 99668b35-9821-0410-8761-19e4c4f06640
|
2012-04-30 15:37:08 +00:00 |
|
arseny.kapoulkine@gmail.com
|
7e71534577
|
docs: Regenerated HTML documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@908 99668b35-9821-0410-8761-19e4c4f06640
|
2012-04-29 22:51:21 +00:00 |
|
arseny.kapoulkine@gmail.com
|
a1f4ff0467
|
docs: Added xml_text documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@907 99668b35-9821-0410-8761-19e4c4f06640
|
2012-04-29 22:50:43 +00:00 |
|
arseny.kapoulkine@gmail.com
|
fadead179c
|
docs: Documented adding custom declaration node. Fixes issue 155.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@906 99668b35-9821-0410-8761-19e4c4f06640
|
2012-04-29 21:13:08 +00:00 |
|