summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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
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-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-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-10Added format_no_escapes flagarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@819 99668b35-9821-0410-8761-19e4c4f06640
2011-08-19Fixed unspecified bool conversion for MSVC CLR for the case when pugixml is ↵arseny.kapoulkine
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-07-24Fixed compilation for gcc 4.2.1 (apparently not all gcc versions properly ↵arseny.kapoulkine
implement strict aliasing warning...) git-svn-id: http://pugixml.googlecode.com/svn/trunk@813 99668b35-9821-0410-8761-19e4c4f06640
2011-07-19Implemented support for non-seekable streamsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@809 99668b35-9821-0410-8761-19e4c4f06640
2011-02-16Fixed C++/CLI compilation errorarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@806 99668b35-9821-0410-8761-19e4c4f06640
2011-01-15Replaced std::wstring with std::basic_string<wchar_t> (fixes Android ↵arseny.kapoulkine
compilation) git-svn-id: http://pugixml.googlecode.com/svn/trunk@803 99668b35-9821-0410-8761-19e4c4f06640
2010-12-19Enabled many additional GCC warnings (most notably -Wshadow and ↵arseny.kapoulkine
-Wold-style-cast), fixed the code accordingly git-svn-id: http://pugixml.googlecode.com/svn/trunk@800 99668b35-9821-0410-8761-19e4c4f06640
2010-11-13Fixed pugiconfig XPath-related commentsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@798 99668b35-9821-0410-8761-19e4c4f06640
2010-11-12Improved STLport support (now code compiles fine if STLport is in its own ↵arseny.kapoulkine
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-10-31Updated version to 1.0 everywherearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@789 99668b35-9821-0410-8761-19e4c4f06640
2010-10-31Added xml_document::reset() function with document parameterarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@786 99668b35-9821-0410-8761-19e4c4f06640
2010-10-26Added xml_document::reset, added append/prepend/insert child overloads for ↵arseny.kapoulkine
elements (with explicit name) git-svn-id: http://pugixml.googlecode.com/svn/trunk@779 99668b35-9821-0410-8761-19e4c4f06640
2010-10-22Added a workaround for GCC 4.2 bogus warningarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@778 99668b35-9821-0410-8761-19e4c4f06640
2010-10-22XPath: Moved STL replacement algorithms to anonymous namespacearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@777 99668b35-9821-0410-8761-19e4c4f06640
2010-10-22XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@776 99668b35-9821-0410-8761-19e4c4f06640
2010-10-22XPath: Moved implementation details to anonymous namespacearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@775 99668b35-9821-0410-8761-19e4c4f06640
2010-10-19If an element node has the only child, and it is of CDATA type, then the ↵arseny.kapoulkine
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-19Added prepend_attribute, prepend_child and prepend_copy functionsarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@769 99668b35-9821-0410-8761-19e4c4f06640
2010-10-18Added xml_document::document_element functionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@768 99668b35-9821-0410-8761-19e4c4f06640
2010-10-18Fixed internal_object() const-correctness, added xml_node::hash_value and ↵arseny.kapoulkine
xml_attribute::hash_value functions git-svn-id: http://pugixml.googlecode.com/svn/trunk@767 99668b35-9821-0410-8761-19e4c4f06640
2010-10-14Updated site URL everywherearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@766 99668b35-9821-0410-8761-19e4c4f06640
2010-10-03XPath: evaluate_string now guarantees zero-terminated result (unless the ↵arseny.kapoulkine
buffer size is zero) git-svn-id: http://pugixml.googlecode.com/svn/trunk@762 99668b35-9821-0410-8761-19e4c4f06640
2010-10-03XPath: If exceptions are enabled, std::bad_alloc is thrown for all out of ↵arseny.kapoulkine
memory situation (instead of xpath_exception) git-svn-id: http://pugixml.googlecode.com/svn/trunk@759 99668b35-9821-0410-8761-19e4c4f06640
2010-09-26Added DOCTYPE node and parse_doctype flag (the node contains DOCTYPE value ↵arseny.kapoulkine
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-25Fixed MinGW45 in C++0x modearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@755 99668b35-9821-0410-8761-19e4c4f06640
2010-09-22Minor UTF8 conversion refactoring, added as_utf8 and as_wide overloads with ↵arseny.kapoulkine
string arguments git-svn-id: http://pugixml.googlecode.com/svn/trunk@749 99668b35-9821-0410-8761-19e4c4f06640
2010-09-22Removed document_order() function, added internal_object() accessor and ↵arseny.kapoulkine
exposed xml_node/xml_attribute constructor from internal object pointer (this makes implementing fast binding to scripting languages easier) git-svn-id: http://pugixml.googlecode.com/svn/trunk@747 99668b35-9821-0410-8761-19e4c4f06640
2010-09-21Major header cleanup: removed redundant comments (single-line function/type ↵arseny.kapoulkine
descriptions are left for convenience), removed parse()/as_utf16(), removed deprecated function tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@746 99668b35-9821-0410-8761-19e4c4f06640
2010-09-21Minor load_file_impl refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@745 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Added large file support for MinGWarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@744 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Improved large file support: added overflow checks, _ftelli64/_fseeki64 are ↵arseny.kapoulkine
used on MSVC git-svn-id: http://pugixml.googlecode.com/svn/trunk@743 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Implemented load_file and save_file for wide character pathsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@741 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20XPath: xpath_parse_result is now default-initialized to object with failed ↵arseny.kapoulkine
status git-svn-id: http://pugixml.googlecode.com/svn/trunk@738 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20xml_parse_result now has a default ctor, minor parsing optimizationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@736 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Memory allocation error now preserves last parsed offset, minor optimization ↵arseny.kapoulkine
(removed by-reference parameters where possible) git-svn-id: http://pugixml.googlecode.com/svn/trunk@735 99668b35-9821-0410-8761-19e4c4f06640
2010-09-15Added more assertionsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@734 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: evaluate_string refactoring (also fixes setjmp warning on MinGW ↵arseny.kapoulkine
without breaking DMC/SunCC) git-svn-id: http://pugixml.googlecode.com/svn/trunk@733 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: Fixed MinGW compilation warningarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@732 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: Fixed MSVC6 compilationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@729 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: Added out of memory handling during evaluationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@727 99668b35-9821-0410-8761-19e4c4f06640