144 Commits

Author SHA1 Message Date
Sebastian Pipping
50d58db001 Drop support for MSVC <=16.0/2019
.. because of GitHub Actions' removal of image "windows-2019"
2025-05-30 19:56:37 +02:00
Sebastian Pipping
a6497c3004 Bump version to 2.7.1 2025-03-27 17:45:25 +01:00
Sebastian Pipping
2ae4c8afd3 Sync file headers 2025-03-13 20:41:33 +01:00
Sebastian Pipping
0a6cbff62c Bump version to 2.7.0 2025-03-13 20:41:33 +01:00
Sebastian Pipping
9d17a3a073 doc: Add missing documentation of error XML_ERROR_NOT_STARTED 2024-11-09 19:20:58 +01:00
Sebastian Pipping
c15ac3b307 Bump version to 2.6.4 2024-11-06 17:42:20 +01:00
Sebastian Pipping
8707e02e1f Bump version to 2.6.3 2024-09-03 18:19:25 +02:00
Sebastian Pipping
2db233019f doc: Document that XML_Parse/XML_ParseBuffer reject "len < 0" 2024-08-26 22:25:19 +02:00
Sebastian Pipping
f8fb85ec8c Drop support for Visual Studio 15 2017 2024-03-23 17:22:05 +01:00
Sebastian Pipping
13cff445fa Bump version to 2.6.2 2024-03-13 14:37:05 +01:00
Sebastian Pipping
dfe043fe6a Bump version to 2.6.1 2024-02-28 23:41:31 +01:00
Sebastian Pipping
ea52834709 doc/reference.html: Drop inaccurate statement about XML_* macros
The statement is falsified by these macros:
- XML_ATTR_INFO
- XML_DTD
- XML_GE
2024-02-28 20:47:45 +01:00
Sebastian Pipping
2a10e173ab Sync file headers 2024-02-06 14:13:00 +01:00
Sebastian Pipping
310a1977f4 Bump version to 2.6.0 2024-02-06 14:08:05 +01:00
Snild Dolkow
1d3162da8a Add app setting for enabling/disabling reparse heuristic
Suggested-by: Sebastian Pipping <sebastian@pipping.org>
CI-fighting-assistance-by: Sebastian Pipping <sebastian@pipping.org>
2024-01-29 17:09:36 +01:00
Sebastian Pipping
cdead241d4 doc/reference.html: Clarify effect of XML_DTD on external entities
Defining XML_DTD emnables support for external parameter(!)
entities.  External general(!) entities have been supported
even with XML_DTD undefined.  (Only now with Expat 2.6.0
defining XML_GE as 0 can take that away.)
2023-11-07 13:00:42 +01:00
Sebastian Pipping
d3f7bbd37b doc/reference.html: Document build time macro XML_GE 2023-11-07 13:00:42 +01:00
Sebastian Pipping
76d60929c2 doc/reference.html: Add HTML anchors to definition of XML_* macros 2023-10-23 15:33:08 +02:00
Sebastian Pipping
23110a864d Be stricter about macro XML_CONTEXT_BYTES
- Start treating -DXML_CONTEXT_BYTES=0 as "no context"
  rather than "context of size 0".  Was documented as
  "must be set to a positive integer", previously.

- Enforce that macro XML_CONTEXT_BYTES is defined at build time to
  avoid accidental misbuilds lacking context in environments that
  bypass both of Expats official build systems.

- Detect and reject use of negative context size at compile time.
2023-10-05 15:44:10 +02:00
Sebastian Pipping
1d3ee5133e doc/reference.html: Make XML_Parse promote XML_ParseBuffer 2023-10-04 18:01:31 +02:00
Sebastian Pipping
81a705b6ae doc/reference.html: Wrap paragraphs by <p> for function XML_Parse 2023-10-03 23:25:09 +02:00
Sebastian Pipping
0cf825c342 doc/reference.html: Add paragraph wrap for XML_ParserCreate
.. in order to fix styling.
2023-09-28 21:00:00 +02:00
Snild Dolkow
355a123b92 docs: Document the importance of isFinal
Before the concluding `isFinal=XML_TRUE` parse call, there is no
guarantee that all input has been parsed. An application that omits
that call risks missing handler callbacks and/or parsing errors.
2023-09-14 11:15:59 +02:00
Sebastian Pipping
8249a3e62e doc/reference.html: Fix "non NULL" to "non-NULL" 2023-08-24 15:37:10 +02:00
Sebastian Pipping
c9205bb934 doc/reference.html: Be consistent about "null-terminated"
.. regarding spelling
2023-08-24 15:37:10 +02:00
Sebastian Pipping
572bab6fe5 doc/reference.html: Replace mistaken "NULL" by "null"
.. in context of string termination
2023-08-24 15:37:10 +02:00
Sebastian Pipping
f2d934910c doc/reference.html: Replace "null" by "NULL" where adequate 2023-08-24 15:37:10 +02:00
Sebastian Pipping
a779f1300c doc/reference.html: Style NULL in text as code consistently 2023-08-24 15:31:45 +02:00
Hanno Böck
c7fbfa0c1a
Use HTTPS URLs where possible in documentation, change from libexpat.org to libexpat.github.io. 2023-03-16 20:10:46 +01:00
Sebastian Pipping
454c6105bc Bump version to 2.5.0 2022-10-24 18:32:42 +02:00
Sebastian Pipping
a7103d40d8 Bump version to 2.4.9 2022-09-19 16:20:44 +02:00
Thijs Schreijer
f1a5b316fb fix(docs) update XML_DTD symbol visibility 2022-07-22 15:06:14 +02:00
Sebastian Pipping
24ae16273b Bump version to 2.4.8 2022-03-28 16:49:52 +02:00
Sebastian Pipping
e07e394771 Sync file headers 2022-03-04 19:16:16 +01:00
Sebastian Pipping
a34daa5bab Bump version to 2.4.7 2022-03-04 18:47:59 +01:00
Sebastian Pipping
c57bea96b7 lib|doc: Add a note on namespace URI validation 2022-03-04 16:56:22 +01:00
Thijs Schreijer
80553ff825
doc: Document that a call to XML_FreeContentModel can be done at a later time from outside the element declaration handler (#575) 2022-03-02 21:33:54 +01:00
Sebastian Pipping
28f74546b4 Bump version to 2.4.6 2022-02-20 16:09:26 +01:00
Sebastian Pipping
fa379d65dd Bump version to 2.4.5 2022-02-18 20:17:16 +01:00
Sebastian Pipping
a445be8e0d Bump version to 2.4.4 2022-01-29 23:20:49 +01:00
Sebastian Pipping
6496a03d40 Sync years in file headers 2022-01-13 23:45:22 +01:00
Sebastian Pipping
d102671bfe Bump version to 2.4.3 2022-01-13 20:08:47 +01:00
Sebastian Pipping
f3f6ae617c Bump version to 2.4.2 2021-12-17 18:01:39 +01:00
Sebastian Pipping
8c2b1853cd doc: Fix return value docs on XML_SetBillionLaughs[..] functions (#522) 2021-12-14 01:33:49 +01:00
Sebastian Pipping
c3300c9bf2 Get attribution headers back in sync
Follow-up to pull requests #503 and #510
2021-10-17 16:35:12 +02:00
Nicolas Cavallari
76186fb89e doc/reference.html: Docmument that XML_GetBuffers(parser, 0) may be NULL
Allocating zero bytes with XML_GetBuffers may return NULL or a non-NULL
pointer depending on the current internal buffer state (#502).

Document this behavior, as it can be surprising.
2021-07-05 16:14:36 +02:00
Sebastian Pipping
8001550dc4 Bump version to 2.4.1 2021-05-23 16:52:59 +02:00
Sebastian Pipping
b913a529ae Bump version to 2.4.0 2021-05-22 19:07:49 +02:00
Sebastian Pipping
309cd4aa4b
Merge pull request #466 from libexpat/protect-against-billion-laughs-attacks
[CVE-2013-0340, CWE-776] Protect against billion laughs attacks (fixes #34)
2021-05-11 14:53:22 +02:00
Sebastian Pipping
99bf4c370f doc/reference.html: Upgrade to OK.css 1.0.3 2021-05-08 22:14:06 +02:00