arseny.kapoulkine@gmail.com
|
dae6d908e5
|
Const-correctness 'fixes' (it's impossible to be const-correct here so remove redundant member)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@879 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 03:57:12 +00:00 |
|
arseny.kapoulkine@gmail.com
|
35c0c6aa5c
|
Fixed member shadowing warnings for gcc
git-svn-id: http://pugixml.googlecode.com/svn/trunk@878 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 03:51:00 +00:00 |
|
arseny.kapoulkine@gmail.com
|
5e33adbc68
|
Added xml_text::data() (for regular xml_node operations, i.e. remove_child)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@876 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 03:40:12 +00:00 |
|
arseny.kapoulkine@gmail.com
|
43fac19d81
|
Added xml_text &&/|| operators for Borland C++
git-svn-id: http://pugixml.googlecode.com/svn/trunk@874 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 03:24:44 +00:00 |
|
arseny.kapoulkine@gmail.com
|
48391dbe8c
|
Moved default value selection logic into get_value functions, added xml_node::text() accessor
git-svn-id: http://pugixml.googlecode.com/svn/trunk@873 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 03:08:38 +00:00 |
|
arseny.kapoulkine@gmail.com
|
096a6d0e9c
|
Implemented xml_text helper (work in progress)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@872 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 03:02:57 +00:00 |
|
arseny.kapoulkine@gmail.com
|
17bd46eee6
|
Extracted xml_attribute value setter/getter code to separate functions (for xml_text)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@871 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-23 02:37:18 +00:00 |
|
arseny.kapoulkine@gmail.com
|
5e8e325d85
|
Fixed strict aliasing violation warning in output buffer conversion via union. Fixed BlackBerry NDK -O3 compilation in header-only wchar mode.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@869 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-20 07:07:01 +00:00 |
|
arseny.kapoulkine@gmail.com
|
4935e2356f
|
MinGW does not have _wfopen in strict ANSI mode (fixes mingw45 C++0x compilation)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@867 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-20 06:16:01 +00:00 |
|
arseny.kapoulkine@gmail.com
|
40ed110136
|
Explicitly ignore fwrite result - nothing else can be done with the current writer interface, unfortunately
git-svn-id: http://pugixml.googlecode.com/svn/trunk@866 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-20 05:47:55 +00:00 |
|
arseny.kapoulkine@gmail.com
|
07cda98d66
|
Fixed Borland C++ issues when compiling pugixml as header-only
git-svn-id: http://pugixml.googlecode.com/svn/trunk@864 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-20 04:00:10 +00:00 |
|
arseny.kapoulkine@gmail.com
|
800288d351
|
Intel C++ 11 has the same warning pop bug... Disable warning popping on all Intel C++ versions. Fixes Intel C++ 11 compilation in PUGIXML_NO_STL mode.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@862 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-15 07:08:32 +00:00 |
|
arseny.kapoulkine@gmail.com
|
a58131c9dc
|
Added PUGIXML_MEMORY constants for tweaking memory behaviour; useful for embedded systems or for unusual cases (i.e. thousands of small documents in memory)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@860 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-14 06:04:50 +00:00 |
|
arseny.kapoulkine@gmail.com
|
e4ae729370
|
Dereferemce operators in both iterators are now const; this fixes iterator compatibility with parts of Boost Iterator (i.e. filter_iterator). It is now possible to damage the state of const_iterator by directly mutating internal handle - working around that introduces additional performance penalties and is generally extremely unlikely to be useful - constant iterator objects are rarely used.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@858 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-14 05:34:00 +00:00 |
|
arseny.kapoulkine@gmail.com
|
2f6baa1005
|
Implemented optional header-only mode (still need to do a couple of fixes for rare compilers, but it seems to work on the majority of configurations). Tests work in header-only mode, but testing is not enabled yet (still a bit more work to be done, and compiling header-only tests is up to 4 times slower, so we can't test more than one-two configurations per toolset)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@855 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-14 03:08:01 +00:00 |
|
arseny.kapoulkine@gmail.com
|
7df35dabd5
|
Fixed clang warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@854 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-10 09:29:47 +00:00 |
|
arseny.kapoulkine@gmail.com
|
eca76db49d
|
Fixed clang compilation warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@849 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-06 09:43:00 +00:00 |
|
arseny.kapoulkine@gmail.com
|
eea13e4d72
|
Fix 'cast increases required alignment of target type' warning for BlackBerry NDK in PUGIXML_WCHAR_MODE (wchar_t is 4 bytes)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@842 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-06 07:02:40 +00:00 |
|
arseny.kapoulkine@gmail.com
|
6e02258ef6
|
Fix 'cast increases required alignment of target type' warnings (some of them are fixed by handling different wchar_t sizes through overloading, others - by casting to void* since we know the alignment restrictions are not violated)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@838 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-06 06:12:39 +00:00 |
|
arseny.kapoulkine@gmail.com
|
cbf42c3c93
|
Removed setjmp from XML parsing; now pugixml does not require setjmp support (unless XPath is compiled in with PUGIXML_NO_EXCEPTIONS). Should improve compatibility with certain platforms (also makes pugixml clr:pure-compatible)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@837 99668b35-9821-0410-8761-19e4c4f06640
|
2012-03-06 04:23:21 +00:00 |
|
arseny.kapoulkine@gmail.com
|
be7bdafa45
|
Define uintptr_t for WinCE if necessary (thankfully all MSVC versions seem to define _UINTPTR_T_DEFINED appropriately)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@833 99668b35-9821-0410-8761-19e4c4f06640
|
2012-02-19 05:47:54 +00:00 |
|
arseny.kapoulkine
|
a0769dfe38
|
Introduced encoding_latin1 support (conversion on loading, conversion on saving, encoding name in declaration in document::save)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@829 99668b35-9821-0410-8761-19e4c4f06640
|
2011-12-20 09:45:10 +00:00 |
|
arseny.kapoulkine
|
5a312a8ea8
|
Apply patch that should fix Windows Mobile compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@828 99668b35-9821-0410-8761-19e4c4f06640
|
2011-12-09 07:22:46 +00:00 |
|
arseny.kapoulkine
|
1b87d3dcbf
|
Introduced parse_ws_pcdata_single flag: only parses whitespace-only PCDATA if it's the only child of the parent node (middle ground between default flags and parse_ws_pcdata)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@825 99668b35-9821-0410-8761-19e4c4f06640
|
2011-12-09 05:24:07 +00:00 |
|
arseny.kapoulkine
|
696a0ea588
|
Fixed 'conversion from pointer to same-sized integral type' warning for Intel C++ compiler in case anyone compiles with -Wp64
git-svn-id: http://pugixml.googlecode.com/svn/trunk@822 99668b35-9821-0410-8761-19e4c4f06640
|
2011-10-08 04:14:12 +00:00 |
|
arseny.kapoulkine
|
cf85e59f12
|
Fixed 'controlling expression is constant' warning for new versions of Intel C++ compiler
git-svn-id: http://pugixml.googlecode.com/svn/trunk@821 99668b35-9821-0410-8761-19e4c4f06640
|
2011-10-08 03:19:12 +00:00 |
|
arseny.kapoulkine
|
7757503d72
|
Added format_no_escapes flag
git-svn-id: http://pugixml.googlecode.com/svn/trunk@819 99668b35-9821-0410-8761-19e4c4f06640
|
2011-09-10 03:05:29 +00:00 |
|
arseny.kapoulkine
|
8a5144a927
|
Fixed unspecified bool conversion for MSVC CLR for the case when pugixml is compiled as unmanaged and calling code is compiled as managed. Fixes issue 121.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@817 99668b35-9821-0410-8761-19e4c4f06640
|
2011-08-19 04:25:13 +00:00 |
|
arseny.kapoulkine
|
414ad96d7a
|
Fixed compilation for gcc 4.2.1 (apparently not all gcc versions properly implement strict aliasing warning...)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@813 99668b35-9821-0410-8761-19e4c4f06640
|
2011-07-24 03:19:31 +00:00 |
|
arseny.kapoulkine
|
f3c29ef3d8
|
Implemented support for non-seekable streams
git-svn-id: http://pugixml.googlecode.com/svn/trunk@809 99668b35-9821-0410-8761-19e4c4f06640
|
2011-07-19 15:20:20 +00:00 |
|
arseny.kapoulkine
|
c21c682c4e
|
Fixed C++/CLI compilation error
git-svn-id: http://pugixml.googlecode.com/svn/trunk@806 99668b35-9821-0410-8761-19e4c4f06640
|
2011-02-16 20:00:36 +00:00 |
|
arseny.kapoulkine
|
81e4707fca
|
Replaced std::wstring with std::basic_string<wchar_t> (fixes Android compilation)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@803 99668b35-9821-0410-8761-19e4c4f06640
|
2011-01-15 10:56:18 +00:00 |
|
arseny.kapoulkine
|
d99745be21
|
Enabled many additional GCC warnings (most notably -Wshadow and -Wold-style-cast), fixed the code accordingly
git-svn-id: http://pugixml.googlecode.com/svn/trunk@800 99668b35-9821-0410-8761-19e4c4f06640
|
2010-12-19 10:16:37 +00:00 |
|
arseny.kapoulkine
|
9eae52a7cd
|
Improved STLport support (now code compiles fine if STLport is in its own namespace and does #define std), fixed AirPlay SDK compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@796 99668b35-9821-0410-8761-19e4c4f06640
|
2010-11-12 19:28:51 +00:00 |
|
arseny.kapoulkine
|
07043107c7
|
Updated version to 1.0 everywhere
git-svn-id: http://pugixml.googlecode.com/svn/trunk@789 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-31 07:44:14 +00:00 |
|
arseny.kapoulkine
|
4920e4fec9
|
Added xml_document::reset() function with document parameter
git-svn-id: http://pugixml.googlecode.com/svn/trunk@786 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-31 07:33:01 +00:00 |
|
arseny.kapoulkine
|
09b5dfdcb0
|
Added xml_document::reset, added append/prepend/insert child overloads for elements (with explicit name)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@779 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-26 17:09:34 +00:00 |
|
arseny.kapoulkine
|
948cb037ae
|
Added a workaround for GCC 4.2 bogus warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@778 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-22 20:05:54 +00:00 |
|
arseny.kapoulkine
|
f7e6723b63
|
XPath: Moved STL replacement algorithms to anonymous namespace
git-svn-id: http://pugixml.googlecode.com/svn/trunk@777 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-22 19:16:13 +00:00 |
|
arseny.kapoulkine
|
0e73657345
|
XPath: Minor refactoring
git-svn-id: http://pugixml.googlecode.com/svn/trunk@776 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-22 19:08:46 +00:00 |
|
arseny.kapoulkine
|
59c88d7236
|
XPath: Moved implementation details to anonymous namespace
git-svn-id: http://pugixml.googlecode.com/svn/trunk@775 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-22 19:02:47 +00:00 |
|
arseny.kapoulkine
|
a18385e1e0
|
If an element node has the only child, and it is of CDATA type, then the extra indentation is omitted (previously this behavior only held for PCDATA children)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@770 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-19 15:38:10 +00:00 |
|
arseny.kapoulkine@gmail.com
|
b979d4c2bd
|
Added prepend_attribute, prepend_child and prepend_copy functions
git-svn-id: http://pugixml.googlecode.com/svn/trunk@769 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-19 14:29:02 +00:00 |
|
arseny.kapoulkine
|
d8c19b201f
|
Added xml_document::document_element function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@768 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-18 18:27:13 +00:00 |
|
arseny.kapoulkine
|
498947c718
|
Fixed internal_object() const-correctness, added xml_node::hash_value and xml_attribute::hash_value functions
git-svn-id: http://pugixml.googlecode.com/svn/trunk@767 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-18 16:59:31 +00:00 |
|
arseny.kapoulkine
|
b1bc4e4ed5
|
Updated site URL everywhere
git-svn-id: http://pugixml.googlecode.com/svn/trunk@766 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-14 17:35:19 +00:00 |
|
arseny.kapoulkine
|
a32b4392bb
|
XPath: evaluate_string now guarantees zero-terminated result (unless the buffer size is zero)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@762 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-03 18:14:12 +00:00 |
|
arseny.kapoulkine
|
a6c756b8bc
|
XPath: If exceptions are enabled, std::bad_alloc is thrown for all out of memory situation (instead of xpath_exception)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@759 99668b35-9821-0410-8761-19e4c4f06640
|
2010-10-03 14:27:52 +00:00 |
|
arseny.kapoulkine
|
605ab1b145
|
Added DOCTYPE node and parse_doctype flag (the node contains DOCTYPE value so that the document contents can be preserved)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@756 99668b35-9821-0410-8761-19e4c4f06640
|
2010-09-26 19:00:48 +00:00 |
|
arseny.kapoulkine
|
901f3b1f29
|
Fixed MinGW45 in C++0x mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@755 99668b35-9821-0410-8761-19e4c4f06640
|
2010-09-25 18:14:03 +00:00 |
|