Commit Graph

  • 4d8974f1fd Replace offsetof with sizeof since some compilers don't recognize offsetof as a compile-time constant expression Arseny Kapoulkine 2014-01-15 18:13:51 +0000
  • 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. Arseny Kapoulkine 2014-01-15 04:28:10 +0000
  • 783af79264 Fix gcc-4.9 compilation warning when using -Wstrict-overflow arseny.kapoulkine@gmail.com 2013-12-20 08:24:38 +0000
  • 79109a8546 Fix gcc-4.8 compilation warning when using -Wstrict-overflow arseny.kapoulkine@gmail.com 2013-11-26 04:34:41 +0000
  • 48600c3a9d Fix _root checking inconsistency in xml_document::destroy arseny.kapoulkine@gmail.com 2013-08-02 02:43:13 +0000
  • 888934dac6 Clarify value() behavior in header comments; hopefully that'll help with value vs child_value confusion. arseny.kapoulkine@gmail.com 2013-07-27 11:32:44 +0000
  • cac6b8720a Make sure newlines are consistent for both .zip and .tar.gz archives arseny.kapoulkine@gmail.com 2013-07-20 05:55:22 +0000
  • 63c0f55ee7 docs: Fix manual.xsl to work with newer xsltproc arseny.kapoulkine@gmail.com 2013-07-10 06:10:03 +0000
  • e300701d3f docs: XPath select_single_node sample checks return value for clarity arseny.kapoulkine@gmail.com 2013-07-10 04:47:25 +0000
  • 4c57df7cb6 docs: Minor grammar fix arseny.kapoulkine@gmail.com 2013-07-10 04:46:59 +0000
  • ff14ae6daf Fix documentation building on Linux arseny.kapoulkine@gmail.com 2013-07-10 04:38:21 +0000
  • 4e1add1a46 Fix invalid assertion in XPath: reallocation can result in allocating buffer of the same size due to pointer-sized alignment arseny.kapoulkine@gmail.com 2013-03-20 02:44:05 +0000
  • 28def6fbca docs: Fix format_no_escapes documentation arseny.kapoulkine@gmail.com 2013-03-20 02:36:48 +0000
  • 33301e9f42 Fix XPath return type for contains() and string-length() arseny.kapoulkine@gmail.com 2013-03-19 15:11:40 +0000
  • 2e4f6c54a8 Work around clang static analysis false positives using extra assertions. arseny.kapoulkine@gmail.com 2012-12-08 04:06:37 +0000
  • 389d1c2893 Only include wchar.h in PUGIXML_WCHAR_MODE; use a custom implementation of wcslen in case there is no wide character support. arseny.kapoulkine@gmail.com 2012-12-07 08:11:23 +0000
  • 30549910db Fix uninitialized variable in case append_buffer fails with out of memory due to buffer copy allocation arseny.kapoulkine@gmail.com 2012-12-07 06:56:31 +0000
  • 7b61ad6379 tests: Fix msvc11_arm toolset setup arseny.kapoulkine@gmail.com 2012-12-07 06:41:48 +0000
  • 9b9a414ab6 Compatibility fixes (fixed warnings in gcc, msvc7, fixed errors in bcc, cw, msvc6) arseny.kapoulkine@gmail.com 2012-12-07 06:35:53 +0000
  • 26444f90a9 docs: Added append_buffer documentation arseny.kapoulkine@gmail.com 2012-12-07 05:15:09 +0000
  • 00d4994f24 tests: Added append_buffer tests arseny.kapoulkine@gmail.com 2012-12-07 04:49:51 +0000
  • 456527b44a Implement xml_node::append_buffer as a faster alternative to assembling documents from fragments (compared to parse & clone) arseny.kapoulkine@gmail.com 2012-12-07 04:49:23 +0000
  • efc634a718 archive.pl now creates a wrapping folder in both .tar.gz and .zip archives arseny.kapoulkine@gmail.com 2012-11-20 05:34:06 +0000
  • 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) arseny.kapoulkine@gmail.com 2012-11-20 05:27:46 +0000
  • 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. arseny.kapoulkine@gmail.com 2012-11-18 23:11:59 +0000
  • c95900e354 XPath: Fix BCC/DMC compilation (overloading workaround) arseny.kapoulkine@gmail.com 2012-11-18 01:14:33 +0000
  • 4fe55906fa XPath stack optimization: Rewrite part of the recursive descent parser to precedence climbing to reduce stack usage arseny.kapoulkine@gmail.com 2012-11-18 01:11:50 +0000
  • cee7eca229 XPath: Fix unit test that (incorrectly) relied on right-associativity of union operator to trigger out of memory condition arseny.kapoulkine@gmail.com 2012-11-17 23:51:43 +0000
  • 48f9343c05 XPath: Add unit test for unary minus and union precedences arseny.kapoulkine@gmail.com 2012-11-17 22:50:05 +0000
  • ed30b95a42 XPath stack optimization: Reduce stack usage during parsing by sharing scratch buffer for variable/number parsing (we only need one per parser) arseny.kapoulkine@gmail.com 2012-11-17 21:52:02 +0000
  • 971fd96764 Fix PUGIXML_MEMORY_* constants for header-only mode arseny.kapoulkine@gmail.com 2012-11-17 04:55:24 +0000
  • 43f3888dc1 Fix undefined pointer arithmetic for reverse() and unique() in case the range is empty (begin == end) arseny.kapoulkine@gmail.com 2012-11-08 16:01:23 +0000
  • 973296bcb1 Minor refactoring arseny.kapoulkine@gmail.com 2012-10-31 04:56:27 +0000
  • 09f9ab079e Adjust parsing so that it is possible to parse a document fragment into an existing subtree; can be used to implement append_buffer. arseny.kapoulkine@gmail.com 2012-10-31 04:47:17 +0000
  • 68d533a828 tests: Remove 'con' loading from tests since it stopped working under Windows 8... arseny.kapoulkine@gmail.com 2012-10-31 04:45:38 +0000
  • 7b7fb7d6a8 Merge e7cede7e26 into 2876af6773 Dmitry Ledentsov 2012-10-04 12:40:03 -0700
  • e7cede7e26 version 0.1.2 d-led 2012-10-04 21:39:26 +0200
  • 8f45a993e5 endlines? d-led 2012-10-04 21:27:15 +0200
  • 56307e917f merge from master d-led 2012-10-04 21:23:08 +0200
  • 17dd58b78c endlines again? d-led 2012-10-04 21:21:14 +0200
  • 3466f66e54 Merge branch 'initial' d-led 2012-10-03 21:08:38 +0200
  • 3bc04b2032 ready for the first version tag d-led 2012-10-03 21:07:07 +0200
  • 347ac65743 printing to string -> node.text d-led 2012-10-03 19:14:08 +0200
  • 3e8bdc9a22 path and node selection d-led 2012-10-03 19:11:09 +0200
  • d8c65911ce child removal and search by attribute d-led 2012-10-03 18:57:55 +0200
  • 8d8de7da84 extended node addition d-led 2012-10-03 18:45:44 +0200
  • 0c5b52744c xml_node addition by type d-led 2012-10-03 18:34:07 +0200
  • 98fe35ff0c prototype attribute addition d-led 2012-10-03 18:25:10 +0200
  • 578ed3c98a attribute addition by name d-led 2012-10-03 18:20:26 +0200
  • bdeb57221b xml_node navigation d-led 2012-10-03 18:02:49 +0200
  • 3d2d6d4f67 attributes of xml_nodes traversable d-led 2012-10-03 17:46:10 +0200
  • 07944e48c6 lxml_document not implementing lxml_node d-led 2012-10-03 17:18:41 +0200
  • c19c128c9f lxml_parse_result ok d-led 2012-10-03 17:06:18 +0200
  • 442bcedaeb update test d-led 2012-10-03 13:28:37 +0200
  • 3ebc8b043a lxml_attribute interface ok d-led 2012-10-03 13:28:01 +0200
  • 44e2d0a334 lxpath_node and lxpath_node_set d-led 2012-10-03 12:58:34 +0200
  • 9d169706de started wrapping xml_xpath_node_set d-led 2012-10-02 20:20:53 +0200
  • 135ff898e2 normalization with .gitattributes d-led 2012-10-02 19:34:47 +0200
  • dc0922d024 Update README.md Dmitry Ledentsov 2012-10-02 10:00:24 +0300
  • 7b6300707b Update README.md Dmitry Ledentsov 2012-10-02 10:00:10 +0300
  • d20b9b5a96 missing valid methods, README d-led 2012-10-02 06:49:35 +0200
  • d3f972a073 valid, child and name methods d-led 2012-10-01 23:36:48 +0200
  • 0ac3e01d56 moved to contrib directory d-led 2012-10-01 22:46:52 +0200
  • ee4625d394 initial commit d-led 2012-10-01 22:42:05 +0200
  • 2801660de8 lua wrapper for pugixml using luabridge\n todo: proper project description d-led 2012-10-01 22:39:56 +0200
  • 2876af6773 Fix find_child_by_attribute assertion for attributes with null name/value. arseny.kapoulkine@gmail.com 2012-09-29 06:36:29 +0000
  • 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. arseny.kapoulkine@gmail.com 2012-08-02 09:22:43 +0000
  • 1c82e0cf7d scripts: Allow to customize library install location for CMake arseny.kapoulkine@gmail.com 2012-07-03 15:04:48 +0000
  • 215ecbcff6 Add PUGIXML_CLASS to xml_named_node_iterator to make dllexport possible. Fixes issue 161. arseny.kapoulkine@gmail.com 2012-06-28 15:36:58 +0000
  • a9a537ad40 Iterator improvements: safety assertions in xml_named_node_iterator, const_cast workaround for BCC32 bug v1.2 arseny.kapoulkine@gmail.com 2012-05-02 15:38:09 +0000
  • a50f47f805 docs: Regenerated HTML documentation arseny.kapoulkine@gmail.com 2012-04-30 15:37:36 +0000
  • 22a999f7e4 docs: Several typo fixes arseny.kapoulkine@gmail.com 2012-04-30 15:37:08 +0000
  • 7e71534577 docs: Regenerated HTML documentation arseny.kapoulkine@gmail.com 2012-04-29 22:51:21 +0000
  • a1f4ff0467 docs: Added xml_text documentation arseny.kapoulkine@gmail.com 2012-04-29 22:50:43 +0000
  • fadead179c docs: Documented adding custom declaration node. Fixes issue 155. arseny.kapoulkine@gmail.com 2012-04-29 21:13:08 +0000
  • 879f3bd954 docs: Included range-based for information in quickstart, other minor tweaks arseny.kapoulkine@gmail.com 2012-04-29 18:06:12 +0000
  • 9b57b1bdd7 docs: Added range-based for documentation and sample arseny.kapoulkine@gmail.com 2012-04-29 17:58:05 +0000
  • 420a6fe9d5 docs: Added header-only mode documentation arseny.kapoulkine@gmail.com 2012-04-29 17:29:50 +0000
  • 89cde98e20 docs: Updated changelog, documented xml_attribute::as_string and customizable default value for xml_attribute::as_* arseny.kapoulkine@gmail.com 2012-04-28 20:27:30 +0000
  • b1a1eef0c8 Removed diag_push for SNC since the warning bug is not fixed even in the latest version arseny.kapoulkine@gmail.com 2012-04-12 03:28:02 +0000
  • 78f8662d33 scripts: Updated CMakeLists.txt to match the Gentoo distribution version more closely (install header files into include/ - this is how Fedora's distribution is set up too) arseny.kapoulkine@gmail.com 2012-04-09 06:08:12 +0000
  • 593e90e22c docs: Updated copyright year arseny.kapoulkine@gmail.com 2012-04-04 02:01:50 +0000
  • 4a2d398a07 tests: Fixed PUGIXML_NO_STL compilation arseny.kapoulkine@gmail.com 2012-04-04 02:01:22 +0000
  • bda8e935e9 Updated version number and copyright year everywhere arseny.kapoulkine@gmail.com 2012-04-03 05:04:07 +0000
  • 7d18b33292 Whitespace-only change: set noexpandtab & retab! arseny.kapoulkine@gmail.com 2012-04-03 04:58:11 +0000
  • cb1d83d32a Fixed xml_named_node_iterator category for MSVC6/7, IC8 and SunCC arseny.kapoulkine@gmail.com 2012-04-03 04:47:14 +0000
  • a47bd44953 tests: Added tests for as_string and default values in as_* arseny.kapoulkine@gmail.com 2012-04-03 04:44:54 +0000
  • 40777b2ce1 Added xml_attribute::as_string and xml_text::as_string, added default value to all as_* member functions arseny.kapoulkine@gmail.com 2012-04-03 04:44:36 +0000
  • f4ac43c549 tests: Added xml_named_node_iterator tests arseny.kapoulkine@gmail.com 2012-03-27 05:46:44 +0000
  • eefd32c2e7 contrib: Foreach contrib file is not really needed any more; left for compatibility, + removed node/attribute adapters since we now have object range support in pugixml.hpp arseny.kapoulkine@gmail.com 2012-03-27 05:31:33 +0000
  • 951ff9d1a6 xml_object_range now supports Boost.ForEach arseny.kapoulkine@gmail.com 2012-03-27 05:25:49 +0000
  • a10bb9d766 Introduced xml_named_node_iterator, introduced xml_node::children() and xml_node::attributes() for C++11 range-based for loop arseny.kapoulkine@gmail.com 2012-03-27 05:23:24 +0000
  • 579adaf301 docs: Removed 'first block with BOM is small' note from xml_writer::write description. arseny.kapoulkine@gmail.com 2012-03-27 04:23:57 +0000
  • 62204df423 Write BOM as U+FEFF to buffered writer; this makes sure we don't have a very small unbuffered write with custom writer implementations arseny.kapoulkine@gmail.com 2012-03-27 04:23:05 +0000
  • 4a5d55fc86 docs: Small fix arseny.kapoulkine@gmail.com 2012-03-27 03:28:41 +0000
  • e6fcef1b3e scripts: Added install target to CMakeLists.txt arseny.kapoulkine@gmail.com 2012-03-23 06:09:23 +0000
  • 1cd736905b tests: Added text/binary save_file tests arseny.kapoulkine@gmail.com 2012-03-23 05:38:08 +0000
  • 343107b3de Added format_save_file_text flag for opening the file in text mode arseny.kapoulkine@gmail.com 2012-03-23 05:37:45 +0000
  • 046073830b Fixed header-only compilation arseny.kapoulkine@gmail.com 2012-03-23 04:26:13 +0000
  • 5f9656c8b9 xml_document::save_file now checks for file I/O errors, fixed compilation arseny.kapoulkine@gmail.com 2012-03-23 04:24:56 +0000