Witold Filipczyk
7ea04c7f0f
[isspace] Some implementations of isspace require unsigned char
2022-06-28 20:25:06 +02:00
Witold Filipczyk
8a3b08aea0
[dom] enum dom_config_flag -> unsigned int
2022-01-26 18:49:44 +01:00
Witold Filipczyk
d822b6af9c
[dom] casts
2022-01-24 20:24:44 +01:00
Witold Filipczyk
53a860a3d6
[strchr] casting first parameter to const char * was not a good idea
2022-01-18 20:30:48 +01:00
Witold Filipczyk
8999a19593
[cast] Explicit casts for narrowing conversions
2022-01-17 17:07:46 +01:00
Witold Filipczyk
0fea79cc8f
[cflags] Removed -Wno-pointer-sign
...
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
52d6f37c8e
Explicit cast to (const char *) for strchr function (C++)
2016-04-20 19:43:37 +02:00
Jonas Fonseca
1bd98053b0
Fix memory leak in the DOM configuration module
...
... by making the (only) user (which is the RSS renderer) responsible
allocation of the dom_config structure.
2008-06-21 00:19:15 +02:00
Jonas Fonseca
92a9cafb6e
DOM: Replace various DOM status/error/exception codes with dom_code enum
...
Replaces sgml_parser_code, dom_stack_code, and dom_exception_code and
generally tries to simplify things and remove redundant codes.
2006-01-31 22:01:35 +01:00
Jonas Fonseca
f268d0c495
DOM: Add missing config.h #include
2006-01-30 05:55:35 +01:00
Jonas Fonseca
2918e3f595
DOM: Add STATIC_DOM_STRING macro and make INIT_DOM_STRING cleaner
2006-01-28 22:55:15 +01:00
Jonas Fonseca
24a9d103b4
DOM: Add allocated flag to struct dom_node; replaces subtype flags
...
Prepare for handling of allocated strings in the various nodes.
2006-01-28 04:50:04 +01:00
Jonas Fonseca
7fe214fbb2
Fix text node appending; fix DOM configuration parser
2006-01-19 04:54:30 +01:00
Jonas Fonseca
2cd151c5c5
Add parse_dom_config() which converts a textual config list to flags
2006-01-17 16:55:10 +01:00
Jonas Fonseca
6c85c0f009
Add DOM configuration inspired module
...
It add support for normalizing a DOM document in various ways, such as
removing comments, converting CDATA section nodes to text nodes, cleanup
whitespace, etc.
Use it in the RSS renderer to sanitize the text to be rendered.
2006-01-16 05:12:34 +01:00