Arseny Kapoulkine
7e702740ff
Merge pull request #623 from r-barnes/master
...
throw() -> noexcept
2024-10-22 18:59:45 -07:00
Arseny Kapoulkine
3b17184379
docs: Work around asciidoc bug with TOC numbering
...
For some reason using a code import right before a header breaks
numbering on that header; fix by moving the import above text.
2024-09-12 09:49:35 -07:00
Richard Barnes
6247ece208
throw() -> noexcept
2024-07-16 06:48:23 -07:00
Arseny Kapoulkine
7c66cf7b06
docs: Add C++20 ranges documentation
...
This doesn't require any implementation changes, as the existing support
for C++11 ranged for loops automatically makes nodes and node/attribute
range objects work as C++20 ranges.
Fixes #613 .
2024-05-19 13:24:34 -07:00
Arseny Kapoulkine
b2b4664030
docs: Adjust docs wrt parse_merge_pcdata x parse_embed_pcdata
...
parse_merge_pcdata expects to find node_pcdata nodes which aren't
present when parse_embed_pcdata is active. For now we mention this in
the documentation; changing this is possible in the future, but carries
a small performance penalty so it requires a specific use case.
Fixes #600
2024-01-26 09:23:26 -08:00
Arseny Kapoulkine
3cc2daf449
Update year to 2024 everywhere
...
... except .html files that will be regenerated later.
2024-01-26 09:18:48 -08:00
Arseny Kapoulkine
db78afc2b7
Update version to 1.14 everywhere
2023-09-07 11:55:13 -07:00
Arseny Kapoulkine
bd70bd7662
docs: Update release notes and regenerate HTML documentation
...
The large amount of changes seems to be due to asciidoctor now omitting
empty spans in formatted code.
2023-09-07 11:52:15 -07:00
Arseny Kapoulkine
1a9a41b0f4
Update copyright year (2022 => 2023)
2023-09-06 20:39:25 -07:00
Arseny Kapoulkine
1118066f0b
Merge pull request #576 from vineethkuttan/Merge-pcdata-#546
...
Implement parse_merge_pcdata
2023-09-06 08:01:56 -07:00
Arseny Kapoulkine
efb76c1128
docs: Update external XPath links
...
Both w3schools tutorial and the W3C spec have changed their URLs; I
don't think we actually need the second tutorial so we can simply drop
that one.
2023-08-28 21:26:09 -07:00
Arseny Kapoulkine
5a33d2b1d7
docs: Add forgotten set_name overloads to API reference
2023-08-26 08:38:42 -07:00
Stefan Roellin
f4d4316eba
Add overloads with size_t type argument
...
* bool xml_attribute::set_name(const char_t* rhs, size_t sz)
* bool xml_node::set_name(const char_t* rhs, size_t sz)
2023-08-26 11:30:49 +02:00
Arseny Kapoulkine
0189471a3a
docs: Fix up grammar
2023-08-25 18:48:32 -07:00
vineeth-11316
a28252205a
Final Commit
2023-08-20 10:21:26 +05:30
vineeth-11316
068aa22b1a
documentation Change
2023-08-19 09:54:01 +05:30
Arseny Kapoulkine
e383ce5d82
docs: Update HTML documentation
2023-03-19 15:41:31 -07:00
Arseny Kapoulkine
02930331f8
docs: Add a note to parse_fragment documentation
...
Fixes #554
2023-03-19 15:41:12 -07:00
Arseny Kapoulkine
1dc3266fff
docs: Add missing documentation for xml_node::attribute with hint
...
The feature was added in 2015 but somehow was never documented.
2022-11-08 16:49:34 -08:00
Arseny Kapoulkine
c5b288d91a
Update HTML documentation
2022-10-20 20:20:45 -07:00
Arseny Kapoulkine
0ef3da1e6e
Update release notes and manual for 1.13
...
This includes a previously unnoticed link fix for xml_text::set
2022-10-20 20:18:08 -07:00
Arseny Kapoulkine
314baf6605
docs: Regenerate HTML documentation
2022-02-08 20:09:10 -08:00
Arseny Kapoulkine
eb918f2078
docs: Update manual with 1.12 changelog
2022-02-08 19:59:44 -08:00
Arseny Kapoulkine
25c4fb74a8
Update copyright year to 2022
2022-02-08 19:58:58 -08:00
Arseny Kapoulkine
8bd209fb8b
docs: Update manual to be more explicit about save_file return
...
The function returns true on success and false on failure.
2021-07-09 17:27:01 -07:00
Arseny Kapoulkine
5a0fd5d85f
docs: Rebuild HTML documentation
2020-12-04 16:31:20 -08:00
Ben Boeckel
d1d415e666
docs: add a note about the new imported target name for CMake
2020-12-02 17:17:21 -05:00
Arseny Kapoulkine
fe4bc946b2
Update copyright year to 2020 everywhere
2020-11-26 01:00:27 -08:00
Arseny Kapoulkine
70bd6a6b0a
Update version to 1.11 and update documentation
2020-11-25 10:18:42 -08:00
Arseny Kapoulkine
f49d7acdfb
Clarify the document element behavior.
...
pugixml currently unconditionally accepts documents with multiple
top-level element nodes in absence of parse_fragment. This is an
unfortunate omission; while it can be corrected, it will result in
regressions for some users, and it's trivial to perform the validity
check after the parse is done.
Because of this, for now we're just going to amend documentation here to
both highlight this in the W3C Conformance section, but also to more
strongly push users into realizing that there's just a single document
element (normally).
We might decide to change the behavior here to prohibit such documents
by default in the future, but for now a documentation change seems like
a better tradeoff.
Fixes #337
2020-05-02 09:47:34 -07:00
Tuan Anh Tran
b9b2aeecaf
Custom precision ( #300 )
...
Fixes #285
2019-09-22 08:42:41 -07:00
Tuan Anh Tran
fd7326fb91
feat: add remove_attributes() and remove_children() ( #296 )
...
These functions remove all attributes / child nodes in bulk which is faster than removing them one at a time.
2019-09-17 20:18:41 -07:00
Arseny Kapoulkine
3c59df555b
docs: Update documentation for 1.10 release
...
Update changelog and regenerate HTML documentation.
2019-09-11 21:51:02 -07:00
m-naumann
5a867cb1e3
Add support for using single quotes to enclose attribute values
...
This change adds format_attribute_single_quote flag that uses single quotes (`'`) instead of double quotes (`"`) for formatting attribute values.
Internal quotation marks are escaped using `"` and `'`.
2019-06-18 19:51:10 -07:00
Arseny Kapoulkine
b01569918a
docs: Regenerate HTML documentation
...
Includes wording fixes and format_skip_control_chars
2019-03-09 06:55:55 -08:00
Yan Pas
138976fd95
unit test and doc
2019-03-08 19:17:19 +03:00
Arseny Kapoulkine
160c1c23d9
docs: Improve null node comparison wording
...
Change confusing wording: null nodes compare as equal to null handles, the previous wording implied that each null handle is unique
2019-01-25 16:42:25 -08:00
Arseny Kapoulkine
b67ef29c08
docs: Draw attention to the fact that you have to compile pugixml.cpp
...
This may or may not make it more clear that pugixml.cpp has to be
compiled - either as one of the projects or as a standalone project via
CMake et al - for it to work by default.
Fixes #256 .
2019-01-19 18:25:25 -08:00
Arseny Kapoulkine
9fcae40bb5
Happy New Year!
2019-01-01 23:05:04 +03:00
Arseny Kapoulkine
fa686f004a
Update all URLs to pugixml.org to https://
2018-11-12 12:28:54 -08:00
Arseny Kapoulkine
e584ea337e
docs: Mention that node is a container of children in ranged for section
...
This is implicitly true due to the following section, but that was
written before C++11 so this does deserve a special mention in ranged
for section as well.
Fixes #210 .
2018-05-17 08:04:47 -07:00
Arseny Kapoulkine
341cea5a32
docs: Fix changelog formatting
2018-04-04 08:26:21 -07:00
Arseny Kapoulkine
be260a09c1
docs: Regenerate HTML documentation
2018-04-02 21:46:57 -07:00
Arseny Kapoulkine
cff1933ec9
docs: Update changelog
2018-04-02 21:07:58 -07:00
Arseny Kapoulkine
cb0e8937da
docs: Update v1.9 release date to 04.04
2018-04-02 19:15:23 -07:00
Arseny Kapoulkine
cec32da2b5
docs: Update changelog
...
Mention ubsan fixes; these fixes probably fix compact mode on some
64-bit architecture where unaligned pointer reads aren't valid as well
but it's probably not very relevant...
2018-03-16 21:34:56 -07:00
Arseny Kapoulkine
655bc825a1
docs: Add preliminary 1.9 changelog
...
Still trying to decide if the next version should be 1.9 or 1.8x and
what other changes need to go in.
2018-03-12 19:00:31 -07:00
Arseny Kapoulkine
3f28a5d97a
Update all copyright notices to specify year 2018
2018-01-07 20:28:42 -08:00
Arseny Kapoulkine
f360842d48
docs: Fix a typo in dom_tree.png
...
<mesh> node attribute name is "name", not "mesh".
2017-12-29 17:03:54 -08:00
Arseny Kapoulkine
cb7b78b039
docs: Fixed quickstart links
...
Fixes #176 .
2017-12-22 10:40:42 -08:00