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

789 Commits

Author SHA1 Message Date
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
76ef04129d tests: Added WinCE to autotest
git-svn-id: http://pugixml.googlecode.com/svn/trunk@836 99668b35-9821-0410-8761-19e4c4f06640
2012-02-19 09:06:24 +00:00
arseny.kapoulkine@gmail.com
568648923c Added WinCE building support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@835 99668b35-9821-0410-8761-19e4c4f06640
2012-02-19 09:06:01 +00:00
arseny.kapoulkine@gmail.com
9133322c4c tests: Minor fixes for WinCE compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@834 99668b35-9821-0410-8761-19e4c4f06640
2012-02-19 09:05:23 +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@gmail.com
1835571886 tests: Add an explicit test for empty xpath_node_set copying (regression test for issue 143)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@832 99668b35-9821-0410-8761-19e4c4f06640
2012-02-18 03:35:37 +00:00
arseny.kapoulkine
0d4020e96e tests: Added version test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@831 99668b35-9821-0410-8761-19e4c4f06640
2011-12-20 10:34:37 +00:00
arseny.kapoulkine
e6c226561a docs: Mentioned encoding_latin1 in encoding list
git-svn-id: http://pugixml.googlecode.com/svn/trunk@830 99668b35-9821-0410-8761-19e4c4f06640
2011-12-20 09:55:35 +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
aef822c27e Added PUGIXML_VERSION define to enable preprocessor-based version checks in case compatibility workarounds are needed
git-svn-id: http://pugixml.googlecode.com/svn/trunk@827 99668b35-9821-0410-8761-19e4c4f06640
2011-12-09 06:48:46 +00:00
arseny.kapoulkine
678d81bea6 docs: Documented parse_ws_pcdata_single flag
git-svn-id: http://pugixml.googlecode.com/svn/trunk@826 99668b35-9821-0410-8761-19e4c4f06640
2011-12-09 06:34:55 +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
fbfd2ae25a docs: Minor clarification: put an emphasis on PCDATA nodes since it's a common point of confusion.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@824 99668b35-9821-0410-8761-19e4c4f06640
2011-11-15 05:31:20 +00:00
arseny.kapoulkine
5c02ac5645 Added icc toolset support for Linux/MacOS X
git-svn-id: http://pugixml.googlecode.com/svn/trunk@823 99668b35-9821-0410-8761-19e4c4f06640
2011-10-08 04:14:39 +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
fb8eb3ae3f docs: Added format_no_escapes documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@820 99668b35-9821-0410-8761-19e4c4f06640
2011-09-10 03:14:53 +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
74f33b1a6c tests: Fixed linking issues on freebsd32 (unresolved __stack_chk_fail_local symbol)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@818 99668b35-9821-0410-8761-19e4c4f06640
2011-08-19 05:19:54 +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
1d6db79bd9 tests: Updated autotest-linux.sh for Fedora
git-svn-id: http://pugixml.googlecode.com/svn/trunk@816 99668b35-9821-0410-8761-19e4c4f06640
2011-07-27 07:40:38 +00:00
arseny.kapoulkine
0a0c71875d Fixed gcc building for platforms without statically-linked CRT (only static link on MinGW)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@815 99668b35-9821-0410-8761-19e4c4f06640
2011-07-27 07:21:38 +00:00
arseny.kapoulkine
4d605eb865 tests: Disabled VM shutdown/startup overlap to decrease peak memory consumption
git-svn-id: http://pugixml.googlecode.com/svn/trunk@814 99668b35-9821-0410-8761-19e4c4f06640
2011-07-24 06:19:57 +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
27c5c5e1cb scripts: Added BUILD_SHARED_LIBS option to CMakeLists.txt for building pugixml as a shared library. Fixes issue 113.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@812 99668b35-9821-0410-8761-19e4c4f06640
2011-07-20 04:21:49 +00:00
arseny.kapoulkine
0b40577f14 docs: Removed seek/tell restriction for stream loading
git-svn-id: http://pugixml.googlecode.com/svn/trunk@811 99668b35-9821-0410-8761-19e4c4f06640
2011-07-19 15:21:31 +00:00
arseny.kapoulkine
39e6b2701d tests: Added tests for non-seekable streams
git-svn-id: http://pugixml.googlecode.com/svn/trunk@810 99668b35-9821-0410-8761-19e4c4f06640
2011-07-19 15:20:39 +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
fb7a3defcc scripts: Renamed AirPlay project to have correct extension
git-svn-id: http://pugixml.googlecode.com/svn/trunk@808 99668b35-9821-0410-8761-19e4c4f06640
2011-07-07 07:37:52 +00:00
arseny.kapoulkine
5f318e056e tests: Fixed C++/CLI compilation warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@807 99668b35-9821-0410-8761-19e4c4f06640
2011-02-16 20:00:54 +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
5f4ecb9ec3 tests: Added C++/CLI support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@805 99668b35-9821-0410-8761-19e4c4f06640
2011-02-16 20:00:08 +00:00
arseny.kapoulkine
d79477859f contrib: Fixed foreach helper (children and attributes functions are now inline)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@804 99668b35-9821-0410-8761-19e4c4f06640
2011-02-12 11:04:44 +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
175b3ff633 Improved gcc version checking, disabled some warnings for gcc 4.0.1
git-svn-id: http://pugixml.googlecode.com/svn/trunk@802 99668b35-9821-0410-8761-19e4c4f06640
2010-12-19 12:46:14 +00:00
arseny.kapoulkine
d77e8a42b5 Several relatively new options are enabled for GCC4.4+ instead of everything except GCC3.4
git-svn-id: http://pugixml.googlecode.com/svn/trunk@801 99668b35-9821-0410-8761-19e4c4f06640
2010-12-19 11:57:11 +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
5720761685 scripts: Ported premake script to premake4.3, regenerated all projects
git-svn-id: http://pugixml.googlecode.com/svn/trunk@799 99668b35-9821-0410-8761-19e4c4f06640
2010-11-17 19:25:20 +00:00
arseny.kapoulkine
8f1a304dbf Fixed pugiconfig XPath-related comments
git-svn-id: http://pugixml.googlecode.com/svn/trunk@798 99668b35-9821-0410-8761-19e4c4f06640
2010-11-13 19:02:16 +00:00
arseny.kapoulkine
1bdf8e896d scripts: Added AirPlay SDK project file
git-svn-id: http://pugixml.googlecode.com/svn/trunk@797 99668b35-9821-0410-8761-19e4c4f06640
2010-11-12 21:45:29 +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
a049c2db1d docs: Regenerated HTML documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@792 99668b35-9821-0410-8761-19e4c4f06640
v1.0
2010-10-31 17:58:31 +00:00
arseny.kapoulkine
f463f6b744 docs: Minor fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@791 99668b35-9821-0410-8761-19e4c4f06640
2010-10-31 17:44:52 +00:00
arseny.kapoulkine
186e491d1e docs: Regenerated HTML documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@790 99668b35-9821-0410-8761-19e4c4f06640
2010-10-31 07:45:27 +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
056175369d docs: Mentioned new xml_document::reset function, minor fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@788 99668b35-9821-0410-8761-19e4c4f06640
2010-10-31 07:41:59 +00:00
arseny.kapoulkine
0a96b552d6 tests: Added document reset-self test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@787 99668b35-9821-0410-8761-19e4c4f06640
2010-10-31 07:37:37 +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