summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-20Fixed strict aliasing violation warning in output buffer conversion via ↵arseny.kapoulkine@gmail.com
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-20STL forward declaration experiment failed; revert to using STL headers. ↵arseny.kapoulkine@gmail.com
Reasons: bugs in old compilers (i.e. SunCC, DMC, BCC require using the same names in forward declarations as in actual declarations), incompatibility between buggy compilers and different STL versions (i.e. SunCC has two STL versions with mismatching names), problems with C++0x inline namespaces (used in Clang libc++, see http://llvm.org/bugs/show_bug.cgi?id=5590), and this is an undefined behavior so other problems may come up. git-svn-id: http://pugixml.googlecode.com/svn/trunk@868 99668b35-9821-0410-8761-19e4c4f06640
2012-03-20MinGW does not have _wfopen in strict ANSI mode (fixes mingw45 C++0x ↵arseny.kapoulkine@gmail.com
compilation) git-svn-id: http://pugixml.googlecode.com/svn/trunk@867 99668b35-9821-0410-8761-19e4c4f06640
2012-03-20Explicitly ignore fwrite result - nothing else can be done with the current ↵arseny.kapoulkine@gmail.com
writer interface, unfortunately git-svn-id: http://pugixml.googlecode.com/svn/trunk@866 99668b35-9821-0410-8761-19e4c4f06640
2012-03-20tests: Added new test for string/istream include interaction (this actually ↵arseny.kapoulkine@gmail.com
fails on DMC) git-svn-id: http://pugixml.googlecode.com/svn/trunk@865 99668b35-9821-0410-8761-19e4c4f06640
2012-03-20Fixed Borland C++ issues when compiling pugixml as header-onlyarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@864 99668b35-9821-0410-8761-19e4c4f06640
2012-03-20scripts: Ignored temporary Visual Studio filesarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@863 99668b35-9821-0410-8761-19e4c4f06640
2012-03-15Intel C++ 11 has the same warning pop bug... Disable warning popping on all ↵arseny.kapoulkine@gmail.com
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-14docs: Slightly extended portability section, documented PUGIXML_MEMORY_* definesarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@861 99668b35-9821-0410-8761-19e4c4f06640
2012-03-14Added PUGIXML_MEMORY constants for tweaking memory behaviour; useful for ↵arseny.kapoulkine@gmail.com
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-14tests: Added tests for constant iterator objectsarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@859 99668b35-9821-0410-8761-19e4c4f06640
2012-03-14Dereferemce operators in both iterators are now const; this fixes iterator ↵arseny.kapoulkine@gmail.com
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-14Different versions of RWSTL have different headers; revert the previous ↵arseny.kapoulkine@gmail.com
change and instead introduce PUGIXML_NO_STL_FWDDECL macro (that disables forward declaration of STL classes, which is not compliant). git-svn-id: http://pugixml.googlecode.com/svn/trunk@857 99668b35-9821-0410-8761-19e4c4f06640
2012-03-14Fixed SunCC compilation when using RWSTL instead of STLport; should fix ↵arseny.kapoulkine@gmail.com
issue 101. git-svn-id: http://pugixml.googlecode.com/svn/trunk@856 99668b35-9821-0410-8761-19e4c4f06640
2012-03-14Implemented optional header-only mode (still need to do a couple of fixes ↵arseny.kapoulkine@gmail.com
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-10Fixed clang warningarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@854 99668b35-9821-0410-8761-19e4c4f06640
2012-03-08docs: Documented the fact that error descriptions are always const char* ↵arseny.kapoulkine@gmail.com
regardless of char/wchar_t mode git-svn-id: http://pugixml.googlecode.com/svn/trunk@853 99668b35-9821-0410-8761-19e4c4f06640
2012-03-07tests: Fixed gcc version detectionarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@852 99668b35-9821-0410-8761-19e4c4f06640
2012-03-07tests: Added MSVC11 variants to test suitearseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@851 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06tests: Miscellaneous fixesarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@850 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06Fixed clang compilation warningarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@849 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06tests: Added Android to testing (STLport variant is only tested without ↵arseny.kapoulkine@gmail.com
exceptions because of library issues) git-svn-id: http://pugixml.googlecode.com/svn/trunk@848 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06Android build supportarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@847 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06tests: Android compilation fixesarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@846 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06tests: Added BlackBerry NDK to test suitearseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@845 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06Added BlackBerry NDK build supportarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@844 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06tests: Use mkstemp on Unix and QNX (BlackBerry) to avoid tmpnam deprecation ↵arseny.kapoulkine@gmail.com
warning git-svn-id: http://pugixml.googlecode.com/svn/trunk@843 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06Fix 'cast increases required alignment of target type' warning for ↵arseny.kapoulkine@gmail.com
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-06tests: Added BadaSDK to tests, changed report coloring to mark cells that ↵arseny.kapoulkine@gmail.com
compiled successfully but skipped execution git-svn-id: http://pugixml.googlecode.com/svn/trunk@841 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06Fixed gcc version detection in build scripts, added BadaSDK supportarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@840 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06tests: Fixed compilation errors for BadaSDKarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@839 99668b35-9821-0410-8761-19e4c4f06640
2012-03-06Fix 'cast increases required alignment of target type' warnings (some of ↵arseny.kapoulkine@gmail.com
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-06Removed setjmp from XML parsing; now pugixml does not require setjmp support ↵arseny.kapoulkine@gmail.com
(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-02-19tests: Added WinCE to autotestarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@836 99668b35-9821-0410-8761-19e4c4f06640
2012-02-19Added WinCE building supportarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@835 99668b35-9821-0410-8761-19e4c4f06640
2012-02-19tests: Minor fixes for WinCE compilationarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@834 99668b35-9821-0410-8761-19e4c4f06640
2012-02-19Define uintptr_t for WinCE if necessary (thankfully all MSVC versions seem ↵arseny.kapoulkine@gmail.com
to define _UINTPTR_T_DEFINED appropriately) git-svn-id: http://pugixml.googlecode.com/svn/trunk@833 99668b35-9821-0410-8761-19e4c4f06640
2012-02-18tests: Add an explicit test for empty xpath_node_set copying (regression ↵arseny.kapoulkine@gmail.com
test for issue 143) git-svn-id: http://pugixml.googlecode.com/svn/trunk@832 99668b35-9821-0410-8761-19e4c4f06640
2011-12-20tests: Added version testarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@831 99668b35-9821-0410-8761-19e4c4f06640
2011-12-20docs: Mentioned encoding_latin1 in encoding listarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@830 99668b35-9821-0410-8761-19e4c4f06640
2011-12-20Introduced encoding_latin1 support (conversion on loading, conversion on ↵arseny.kapoulkine
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-09Apply patch that should fix Windows Mobile compilationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@828 99668b35-9821-0410-8761-19e4c4f06640
2011-12-09Added PUGIXML_VERSION define to enable preprocessor-based version checks in ↵arseny.kapoulkine
case compatibility workarounds are needed git-svn-id: http://pugixml.googlecode.com/svn/trunk@827 99668b35-9821-0410-8761-19e4c4f06640
2011-12-09docs: Documented parse_ws_pcdata_single flagarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@826 99668b35-9821-0410-8761-19e4c4f06640
2011-12-09Introduced parse_ws_pcdata_single flag: only parses whitespace-only PCDATA ↵arseny.kapoulkine
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-11-15docs: Minor clarification: put an emphasis on PCDATA nodes since it's a ↵arseny.kapoulkine
common point of confusion. git-svn-id: http://pugixml.googlecode.com/svn/trunk@824 99668b35-9821-0410-8761-19e4c4f06640
2011-10-08Added icc toolset support for Linux/MacOS Xarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@823 99668b35-9821-0410-8761-19e4c4f06640
2011-10-08Fixed 'conversion from pointer to same-sized integral type' warning for ↵arseny.kapoulkine
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-08Fixed 'controlling expression is constant' warning for new versions of Intel ↵arseny.kapoulkine
C++ compiler git-svn-id: http://pugixml.googlecode.com/svn/trunk@821 99668b35-9821-0410-8761-19e4c4f06640
2011-09-10docs: Added format_no_escapes documentationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@820 99668b35-9821-0410-8761-19e4c4f06640