webdump, branch HEAD [FORK] git://git.codemadness.org/webdump 1ccfc4c151797ab36eaa37d0b84e9c12236af6c3 2020-03-12T21:33:53Z 2020-03-13T10:18:50Z handle closed tag with no corresponding open tag (for malformed HTML) Leonardo Taccari iamleot@gmail.com commit 1ccfc4c151797ab36eaa37d0b84e9c12236af6c3 parent 6675aae92b4d75ad0b40216faf66db996fd298e4 Author: Leonardo Taccari <iamleot@gmail.com> Date: Thu, 12 Mar 2020 22:33:53 +0100 handle closed tag with no corresponding open tag (for malformed HTML) This avoid possible NULL pointer dereference, e.g. when just parsing `</a>'. 6675aae92b4d75ad0b40216faf66db996fd298e4 2020-03-12T08:30:41Z 2020-03-12T08:30:41Z mini-consistency fix Hiltjo Posthuma hiltjo@codemadness.org commit 6675aae92b4d75ad0b40216faf66db996fd298e4 parent bc1669d7927bb347612b5fbd74754207266654d2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 12 Mar 2020 09:30:41 +0100 mini-consistency fix bc1669d7927bb347612b5fbd74754207266654d2 2020-03-11T14:46:26Z 2020-03-11T14:46:26Z improve XML entity conversion Hiltjo Posthuma hiltjo@codemadness.org commit bc1669d7927bb347612b5fbd74754207266654d2 parent 1c95e7d86a0dc62670a87f755b3507ceab912ec1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 11 Mar 2020 15:46:26 +0100 improve XML entity conversion - return -1 for invalid XML entities. - separate between NUL (&#0;) and invalid entities: although both are unwanted in sfeed. - validate the number range more strictly and don't wrap to unsigned. entities lik: "&#-1;" are handled as invalid now. "&#;" is also invalid instead of the same as "&#0;". 1c95e7d86a0dc62670a87f755b3507ceab912ec1 2020-03-11T14:44:22Z 2020-03-11T14:44:22Z add initial "optional" tag handling, rework some tag handling Hiltjo Posthuma hiltjo@codemadness.org commit 1c95e7d86a0dc62670a87f755b3507ceab912ec1 parent ff081bef0cfc66b4a5960996a0fc41dea868ac60 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 11 Mar 2020 15:44:22 +0100 add initial "optional" tag handling, rework some tag handling - add initial support for "optional" closing tags which is used in HTML, not XHTML. - align the tags table. - rework some end tag handling. ff081bef0cfc66b4a5960996a0fc41dea868ac60 2019-12-09T23:24:32Z 2019-12-09T23:24:32Z use field isvoid from the looked up tag (should be the same) Hiltjo Posthuma hiltjo@codemadness.org commit ff081bef0cfc66b4a5960996a0fc41dea868ac60 parent c438bee21c66000911d88b01fc6c1b7024b50f18 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 10 Dec 2019 00:24:32 +0100 use field isvoid from the looked up tag (should be the same) c438bee21c66000911d88b01fc6c1b7024b50f18 2019-12-09T23:22:54Z 2019-12-09T23:22:54Z rm unused variable Hiltjo Posthuma hiltjo@codemadness.org commit c438bee21c66000911d88b01fc6c1b7024b50f18 parent ea742c1140fa02bb5328c0c6f005c74150ec4c41 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 10 Dec 2019 00:22:54 +0100 rm unused variable ea742c1140fa02bb5328c0c6f005c74150ec4c41 2019-12-09T23:13:16Z 2019-12-09T23:13:16Z hide tags if parent is hidden Hiltjo Posthuma hiltjo@codemadness.org commit ea742c1140fa02bb5328c0c6f005c74150ec4c41 parent 2ef6d5a9e0fb526243121a4ac99f97f22ae6cd1a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 10 Dec 2019 00:13:16 +0100 hide tags if parent is hidden 2ef6d5a9e0fb526243121a4ac99f97f22ae6cd1a 2019-12-09T18:05:44Z 2019-12-09T18:05:44Z improve hidden elements, add "hidden" and "aria-hidden" attribute parsing Hiltjo Posthuma hiltjo@codemadness.org commit 2ef6d5a9e0fb526243121a4ac99f97f22ae6cd1a parent a7a2ba6114f500856fbe532006fb15d9a18f5e2f Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 9 Dec 2019 19:05:44 +0100 improve hidden elements, add "hidden" and "aria-hidden" attribute parsing a7a2ba6114f500856fbe532006fb15d9a18f5e2f 2019-12-09T18:05:27Z 2019-12-09T18:05:27Z refactor bsearch to findtag() Hiltjo Posthuma hiltjo@codemadness.org commit a7a2ba6114f500856fbe532006fb15d9a18f5e2f parent a49448ef41b7d425b1b7c5a29119f52d1c735cd5 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 9 Dec 2019 19:05:27 +0100 refactor bsearch to findtag() a49448ef41b7d425b1b7c5a29119f52d1c735cd5 2019-12-09T18:04:45Z 2019-12-09T18:04:45Z rename autoclose to isvoid (void element) Hiltjo Posthuma hiltjo@codemadness.org commit a49448ef41b7d425b1b7c5a29119f52d1c735cd5 parent 956ad097d43cce10c04be9cb5f3f97b4dc703067 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 9 Dec 2019 19:04:45 +0100 rename autoclose to isvoid (void element) void elements are not allowed to be closed, so ignore them. 956ad097d43cce10c04be9cb5f3f97b4dc703067 2019-12-09T17:46:55Z 2019-12-09T17:46:55Z hide script, style and template tag Hiltjo Posthuma hiltjo@codemadness.org commit 956ad097d43cce10c04be9cb5f3f97b4dc703067 parent d51661848fc21d2657e3465cfda192a6df482c0e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 9 Dec 2019 18:46:55 +0100 hide script, style and template tag d51661848fc21d2657e3465cfda192a6df482c0e 2019-12-09T17:46:40Z 2019-12-09T17:46:40Z use binary search for tags Hiltjo Posthuma hiltjo@codemadness.org commit d51661848fc21d2657e3465cfda192a6df482c0e parent db8f34a3ca6cfbde225ad4d723b3978e4f34578c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 9 Dec 2019 18:46:40 +0100 use binary search for tags db8f34a3ca6cfbde225ad4d723b3978e4f34578c 2019-12-09T17:38:41Z 2019-12-09T17:38:41Z sort tags Hiltjo Posthuma hiltjo@codemadness.org commit db8f34a3ca6cfbde225ad4d723b3978e4f34578c parent 0aaf37618319738faf0c0014c9b8c80abf39e3f6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 9 Dec 2019 18:38:41 +0100 sort tags 0aaf37618319738faf0c0014c9b8c80abf39e3f6 2019-12-08T15:41:00Z 2019-12-08T15:41:00Z use binary search (bsearch) for named entity lookup on the sorted list Hiltjo Posthuma hiltjo@codemadness.org commit 0aaf37618319738faf0c0014c9b8c80abf39e3f6 parent fb8467d36699d79fa9678342993180ddd7590c29 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 8 Dec 2019 16:41:00 +0100 use binary search (bsearch) for named entity lookup on the sorted list using the big list namedentities.all.h this is much faster (of course). fb8467d36699d79fa9678342993180ddd7590c29 2019-12-08T15:31:38Z 2019-12-08T15:31:38Z sort named entities, add laquo, raquo and REG to the common-used list Hiltjo Posthuma hiltjo@codemadness.org commit fb8467d36699d79fa9678342993180ddd7590c29 parent 48014d5cd3f8f97438edcf6ffd7110338e5c2f3b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 8 Dec 2019 16:31:38 +0100 sort named entities, add laquo, raquo and REG to the common-used list 48014d5cd3f8f97438edcf6ffd7110338e5c2f3b 2019-12-08T15:23:25Z 2019-12-08T15:23:25Z show img alt text Hiltjo Posthuma hiltjo@codemadness.org commit 48014d5cd3f8f97438edcf6ffd7110338e5c2f3b parent 855c8fd52cde5d086eba217b865772a2b59ac4eb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 8 Dec 2019 16:23:25 +0100 show img alt text 855c8fd52cde5d086eba217b865772a2b59ac4eb 2019-12-08T15:20:41Z 2019-12-08T15:20:41Z README: minor reword Hiltjo Posthuma hiltjo@codemadness.org commit 855c8fd52cde5d086eba217b865772a2b59ac4eb parent 1cea64472638b69e7c4747729e33a15c58cab5d9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 8 Dec 2019 16:20:41 +0100 README: minor reword 1cea64472638b69e7c4747729e33a15c58cab5d9 2019-12-08T15:09:00Z 2019-12-08T15:09:00Z simplify link reference type, remove ifdefs and some debug code Hiltjo Posthuma hiltjo@codemadness.org commit 1cea64472638b69e7c4747729e33a15c58cab5d9 parent 044d586ba0ed57e8cba46603e68a6392a22b3511 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 8 Dec 2019 16:09:00 +0100 simplify link reference type, remove ifdefs and some debug code 044d586ba0ed57e8cba46603e68a6392a22b3511 2019-12-08T14:57:44Z 2019-12-08T14:57:44Z only show link references at the bottom if there are any, remove #ifdef for it Hiltjo Posthuma hiltjo@codemadness.org commit 044d586ba0ed57e8cba46603e68a6392a22b3511 parent 41c9468ad0eecb17decb3417d3cd60d3be70bace Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 8 Dec 2019 15:57:44 +0100 only show link references at the bottom if there are any, remove #ifdef for it 41c9468ad0eecb17decb3417d3cd60d3be70bace 2019-11-29T14:25:16Z 2019-11-29T14:25:16Z add tel: as link reference, only mailto: and tel: may be used in <a> Hiltjo Posthuma hiltjo@codemadness.org commit 41c9468ad0eecb17decb3417d3cd60d3be70bace parent dc6abb72ba42569b71ac27b79ca69f29263a01c2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:25:16 +0100 add tel: as link reference, only mailto: and tel: may be used in <a> dc6abb72ba42569b71ac27b79ca69f29263a01c2 2019-11-29T14:22:54Z 2019-11-29T14:22:54Z add a case for mailto: urls for link references Hiltjo Posthuma hiltjo@codemadness.org commit dc6abb72ba42569b71ac27b79ca69f29263a01c2 parent 4668757e454aab81f013856c4320bec8710e427c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:22:54 +0100 add a case for mailto: urls for link references 4668757e454aab81f013856c4320bec8710e427c 2019-11-29T14:08:34Z 2019-11-29T14:08:34Z update README Hiltjo Posthuma hiltjo@codemadness.org commit 4668757e454aab81f013856c4320bec8710e427c parent 99cb10c132f2adfc1616798f67f57e65cfd0ef65 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:08:34 +0100 update README 99cb10c132f2adfc1616798f67f57e65cfd0ef65 2019-11-29T14:06:58Z 2019-11-29T14:06:58Z disable ANSI codes by default now that there is a -a option Hiltjo Posthuma hiltjo@codemadness.org commit 99cb10c132f2adfc1616798f67f57e65cfd0ef65 parent a0989953b412e2baa791c9e64f4ebdcbf0e0ab33 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:06:58 +0100 disable ANSI codes by default now that there is a -a option a0989953b412e2baa791c9e64f4ebdcbf0e0ab33 2019-11-29T14:05:48Z 2019-11-29T14:05:48Z underline references/links Hiltjo Posthuma hiltjo@codemadness.org commit a0989953b412e2baa791c9e64f4ebdcbf0e0ab33 parent 7d852a154dc83f7da5bff8b697e5ec0ecf3611fa Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:05:48 +0100 underline references/links 7d852a154dc83f7da5bff8b697e5ec0ecf3611fa 2019-11-29T14:05:07Z 2019-11-29T14:05:07Z update README Hiltjo Posthuma hiltjo@codemadness.org commit 7d852a154dc83f7da5bff8b697e5ec0ecf3611fa parent 87933418d5a1082772e9416156dbeef8ed9c652c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:05:07 +0100 update README 87933418d5a1082772e9416156dbeef8ed9c652c 2019-11-29T14:04:02Z 2019-11-29T14:04:02Z improvem man page, change -s to -r Hiltjo Posthuma hiltjo@codemadness.org commit 87933418d5a1082772e9416156dbeef8ed9c652c parent 6b646d82367267f2edf62cbbd5affb67f9767225 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 29 Nov 2019 15:04:02 +0100 improvem man page, change -s to -r change "-s" option to "-r" because I'm going to rewrite "soft" line-wrapping at some point. 6b646d82367267f2edf62cbbd5affb67f9767225 2019-11-29T09:49:14Z 2019-11-29T13:56:06Z Add ability to toggle rendering options Willy Goiffon contact@z3bra.org commit 6b646d82367267f2edf62cbbd5affb67f9767225 parent bed530b4daefa4d846e400873db07753a79694f8 Author: Willy Goiffon <contact@z3bra.org> Date: Fri, 29 Nov 2019 10:49:14 +0100 Add ability to toggle rendering options bed530b4daefa4d846e400873db07753a79694f8 2019-11-29T09:42:23Z 2019-11-29T13:56:06Z Ensure no unnecessary newline is appended at end of dump Willy Goiffon contact@z3bra.org commit bed530b4daefa4d846e400873db07753a79694f8 parent 14ce2c581f0b10a0ce502c5fc2cd6b6618705169 Author: Willy Goiffon <contact@z3bra.org> Date: Fri, 29 Nov 2019 10:42:23 +0100 Ensure no unnecessary newline is appended at end of dump 14ce2c581f0b10a0ce502c5fc2cd6b6618705169 2019-11-28T21:23:56Z 2019-11-28T21:23:56Z named entities: add &reg; Hiltjo Posthuma hiltjo@codemadness.org commit 14ce2c581f0b10a0ce502c5fc2cd6b6618705169 parent 704af411d72351174342dda310c134da407ec0cb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 22:23:56 +0100 named entities: add &reg; 704af411d72351174342dda310c134da407ec0cb 2019-11-28T21:23:52Z 2019-11-28T21:23:52Z update README Hiltjo Posthuma hiltjo@codemadness.org commit 704af411d72351174342dda310c134da407ec0cb parent 7615046ff3b05e22ffcf31fe73f384f6e094c3c6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 22:23:52 +0100 update README 7615046ff3b05e22ffcf31fe73f384f6e094c3c6 2019-11-28T21:22:58Z 2019-11-28T21:22:58Z "autoclose" certain tags if they are not defined in the short form Hiltjo Posthuma hiltjo@codemadness.org commit 7615046ff3b05e22ffcf31fe73f384f6e094c3c6 parent 27d6623ea727df2e7442c5f9035b5b7808518bbb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 22:22:58 +0100 "autoclose" certain tags if they are not defined in the short form for example: <br> is equivalent to <br/> note that </br> is not checked for being invalid (yet) 27d6623ea727df2e7442c5f9035b5b7808518bbb 2019-11-28T18:27:45Z 2019-11-28T18:27:45Z use a list of common-used named entities Hiltjo Posthuma hiltjo@codemadness.org commit 27d6623ea727df2e7442c5f9035b5b7808518bbb parent 34f14d8e8b3fdf86c8dd9ebd9a41062e6d4cbd0a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 19:27:45 +0100 use a list of common-used named entities keep the original list for reference. shrinks the binary size a lot. 34f14d8e8b3fdf86c8dd9ebd9a41062e6d4cbd0a 2019-11-28T18:18:20Z 2019-11-28T18:18:20Z remove local TODO Hiltjo Posthuma hiltjo@codemadness.org commit 34f14d8e8b3fdf86c8dd9ebd9a41062e6d4cbd0a parent 7013a747fe23af9af20cc8bc61f5710c4c1f23f1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 19:18:20 +0100 remove local TODO 7013a747fe23af9af20cc8bc61f5710c4c1f23f1 2019-11-28T18:17:28Z 2019-11-28T18:17:28Z don't hide data inside unknown tags, just show it as inline Hiltjo Posthuma hiltjo@codemadness.org commit 7013a747fe23af9af20cc8bc61f5710c4c1f23f1 parent f4dcb532c8a82ac9b3703312e0e1be0de355308b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 19:17:28 +0100 don't hide data inside unknown tags, just show it as inline also reported by z3bra, thanks. f4dcb532c8a82ac9b3703312e0e1be0de355308b 2019-11-28T18:16:14Z 2019-11-28T18:16:14Z fix formatting inside <pre> containing markup Hiltjo Posthuma hiltjo@codemadness.org commit f4dcb532c8a82ac9b3703312e0e1be0de355308b parent e108b339266f4513f7e2aa97213e87f24b53b9b8 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Nov 2019 19:16:14 +0100 fix formatting inside <pre> containing markup refactor the node traversing function, make it more reusable. e108b339266f4513f7e2aa97213e87f24b53b9b8 2019-11-22T12:15:02Z 2019-11-22T12:15:02Z disable reverse for <code> Hiltjo Posthuma hiltjo@codemadness.org commit e108b339266f4513f7e2aa97213e87f24b53b9b8 parent 7b43920e76626603478ed53f5d6138fcaae1aec8 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Nov 2019 13:15:02 +0100 disable reverse for <code> 7b43920e76626603478ed53f5d6138fcaae1aec8 2019-11-22T12:14:24Z 2019-11-22T12:14:24Z add strikethrough, blink. refactor bitmasks for displaytypes Hiltjo Posthuma hiltjo@codemadness.org commit 7b43920e76626603478ed53f5d6138fcaae1aec8 parent 2720d0c98e33bf3bfce68368087b7e2ec35ce304 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Nov 2019 13:14:24 +0100 add strikethrough, blink. refactor bitmasks for displaytypes 2720d0c98e33bf3bfce68368087b7e2ec35ce304 2019-11-22T12:13:38Z 2019-11-22T12:13:38Z add all named entities. Hiltjo Posthuma hiltjo@codemadness.org commit 2720d0c98e33bf3bfce68368087b7e2ec35ce304 parent 22ff00cdaf8d9737890239664b27dac1a84bfbaf Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Nov 2019 13:13:38 +0100 add all named entities. this bloats up the size a lot, so might be reworked later 22ff00cdaf8d9737890239664b27dac1a84bfbaf 2019-11-22T12:12:47Z 2019-11-22T12:12:47Z add <br> handling in tagstart Hiltjo Posthuma hiltjo@codemadness.org commit 22ff00cdaf8d9737890239664b27dac1a84bfbaf parent 3ec685a587b8404367c9c0fc6e2ec6a8f1b40c77 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Nov 2019 13:12:47 +0100 add <br> handling in tagstart this makes sure both <br/> and <br> works (the invalid </br> doesn't work) 3ec685a587b8404367c9c0fc6e2ec6a8f1b40c77 2019-11-22T12:12:04Z 2019-11-22T12:12:04Z print and reset each style (do not reset all attributes) Hiltjo Posthuma hiltjo@codemadness.org commit 3ec685a587b8404367c9c0fc6e2ec6a8f1b40c77 parent 0b1fba4c2076d4f687ad03f7c6eb202acfece173 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Nov 2019 13:12:04 +0100 print and reset each style (do not reset all attributes) reset all attributes at the end (in case of invalid HTML). 0b1fba4c2076d4f687ad03f7c6eb202acfece173 2019-11-22T12:11:05Z 2019-11-22T12:11:05Z add one printansi function for printing ANSI codes or not Hiltjo Posthuma hiltjo@codemadness.org commit 0b1fba4c2076d4f687ad03f7c6eb202acfece173 parent d6a93314849f631b92ff6023e6e3bd0c2e7ca1ce Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Nov 2019 13:11:05 +0100 add one printansi function for printing ANSI codes or not d6a93314849f631b92ff6023e6e3bd0c2e7ca1ce 2019-11-20T23:43:46Z 2019-11-20T23:43:46Z print reset sequence first, some small cleanups Hiltjo Posthuma hiltjo@codemadness.org commit d6a93314849f631b92ff6023e6e3bd0c2e7ca1ce parent 698358715695476320282cec4ced913cb7395555 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:43:46 +0100 print reset sequence first, some small cleanups 698358715695476320282cec4ced913cb7395555 2019-11-20T23:38:15Z 2019-11-20T23:38:15Z show usage on invalid flag (or -h) Hiltjo Posthuma hiltjo@codemadness.org commit 698358715695476320282cec4ced913cb7395555 parent b4ff11ec72b2811a10c271ffd0bcc4d6d15f1eec Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:38:15 +0100 show usage on invalid flag (or -h) b4ff11ec72b2811a10c271ffd0bcc4d6d15f1eec 2019-11-20T23:37:19Z 2019-11-20T23:37:19Z update TODO Hiltjo Posthuma hiltjo@codemadness.org commit b4ff11ec72b2811a10c271ffd0bcc4d6d15f1eec parent 81e0e398237cc21c522de1678a96d7d9f8064389 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:37:19 +0100 update TODO 81e0e398237cc21c522de1678a96d7d9f8064389 2019-11-20T23:37:02Z 2019-11-20T23:37:02Z webdump.1: minimal documentation for flags Hiltjo Posthuma hiltjo@codemadness.org commit 81e0e398237cc21c522de1678a96d7d9f8064389 parent 45b58808b6fad12458215819093db4cbf40a6f09 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:37:02 +0100 webdump.1: minimal documentation for flags 45b58808b6fad12458215819093db4cbf40a6f09 2019-11-20T23:36:29Z 2019-11-20T23:36:29Z make table cell header (th) and headers bold Hiltjo Posthuma hiltjo@codemadness.org commit 45b58808b6fad12458215819093db4cbf40a6f09 parent cb392adbd4c011cf9ccabe36ec8c96bbbd5769da Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:36:29 +0100 make table cell header (th) and headers bold cb392adbd4c011cf9ccabe36ec8c96bbbd5769da 2019-11-20T23:36:10Z 2019-11-20T23:36:10Z add arg.h and option parsing: -b and -w Hiltjo Posthuma hiltjo@codemadness.org commit cb392adbd4c011cf9ccabe36ec8c96bbbd5769da parent 4114c598f45d4e1176a018f6532545b622f8d0e0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:36:10 +0100 add arg.h and option parsing: -b and -w 4114c598f45d4e1176a018f6532545b622f8d0e0 2019-11-20T23:24:07Z 2019-11-20T23:24:07Z make (soft)line-wrapping an option, still WIP though Hiltjo Posthuma hiltjo@codemadness.org commit 4114c598f45d4e1176a018f6532545b622f8d0e0 parent 46afcf5acd4771e10f93530cd4108a14dc416564 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:24:07 +0100 make (soft)line-wrapping an option, still WIP though 46afcf5acd4771e10f93530cd4108a14dc416564 2019-11-20T23:18:22Z 2019-11-20T23:18:22Z define some run-time options, change some options Hiltjo Posthuma hiltjo@codemadness.org commit 46afcf5acd4771e10f93530cd4108a14dc416564 parent 553dfc4b2c06d714579eba44fbdf812520477a51 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:18:22 +0100 define some run-time options, change some options 553dfc4b2c06d714579eba44fbdf812520477a51 2019-11-20T23:03:22Z 2019-11-20T23:03:22Z improve table row and cell rendering a bit Hiltjo Posthuma hiltjo@codemadness.org commit 553dfc4b2c06d714579eba44fbdf812520477a51 parent 7c84c8c7f112f38ecf911f274c50b9eca2dfd6e2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 21 Nov 2019 00:03:22 +0100 improve table row and cell rendering a bit 7c84c8c7f112f38ecf911f274c50b9eca2dfd6e2 2019-11-20T22:57:31Z 2019-11-20T22:57:31Z add formatting improvements from z3bra Hiltjo Posthuma hiltjo@codemadness.org commit 7c84c8c7f112f38ecf911f274c50b9eca2dfd6e2 parent 70517df2a33adb49a59c451f58891a38449d20f8 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 23:57:31 +0100 add formatting improvements from z3bra - bigger list item indentation. - for now use tabs as table-cell separator (until there is fancier table rendering). - change bullet item for list item to UTF-8 bullet item. 70517df2a33adb49a59c451f58891a38449d20f8 2019-11-20T22:49:57Z 2019-11-20T22:49:57Z rm TODO comment Hiltjo Posthuma hiltjo@codemadness.org commit 70517df2a33adb49a59c451f58891a38449d20f8 parent c19b45dfe23bfa615aa965c574ae8f6e7a9864ec Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 23:49:57 +0100 rm TODO comment c19b45dfe23bfa615aa965c574ae8f6e7a9864ec 2019-11-20T22:48:54Z 2019-11-20T22:48:54Z Translate semantic tags to ANSI escapes Hiltjo Posthuma hiltjo@codemadness.org commit c19b45dfe23bfa615aa965c574ae8f6e7a9864ec parent 5f9f773188b1302892021161d0656bb57e0323c0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 23:48:54 +0100 Translate semantic tags to ANSI escapes Based on ideas from z3bra, thanks. Refactored a bit to make it more generic and reuse. 5f9f773188b1302892021161d0656bb57e0323c0 2019-11-20T22:30:21Z 2019-11-20T22:30:21Z disable (soft)-line wrapping Hiltjo Posthuma hiltjo@codemadness.org commit 5f9f773188b1302892021161d0656bb57e0323c0 parent 8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 23:30:21 +0100 disable (soft)-line wrapping 8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e 2019-11-20T22:29:30Z 2019-11-20T22:29:30Z refactor nbsp handling and named entities to codepoints Hiltjo Posthuma hiltjo@codemadness.org commit 8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e parent fc07cb6c73b027722f67b491899d9fc7f5fff505 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 23:29:30 +0100 refactor nbsp handling and named entities to codepoints fc07cb6c73b027722f67b491899d9fc7f5fff505 2019-11-20T17:29:34Z 2019-11-20T17:29:34Z rename count to nchildren, some cleanups Hiltjo Posthuma hiltjo@codemadness.org commit fc07cb6c73b027722f67b491899d9fc7f5fff505 parent b86543ca5fdf0639730cfe957866904abbf398f1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 18:29:34 +0100 rename count to nchildren, some cleanups b86543ca5fdf0639730cfe957866904abbf398f1 2019-11-20T17:24:24Z 2019-11-20T17:24:24Z improvements Hiltjo Posthuma hiltjo@codemadness.org commit b86543ca5fdf0639730cfe957866904abbf398f1 parent 3bebb5f7caaf7ac19c3aa58571856ee27e2e418c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 20 Nov 2019 18:24:24 +0100 improvements - Add a soft line-wrapping mode: tries to wraps words to termwidth. It can still be longer if the word is longer. - Handle ordered and unordered lists and logic for numbering of nodes: list items, table rows, table cells, etc. - Handle &nbsp; properly. Output the UTF-8 codepoint. - Much improved rendering of white-spaces (still needs some tweaks here and there). - Print <pre> content safely (no control-characters). - Fix printing of ruler (<hr/>). 3bebb5f7caaf7ac19c3aa58571856ee27e2e418c 2019-11-10T19:55:23Z 2019-11-10T19:55:23Z Makefile: remove config.mk, simplify Hiltjo Posthuma hiltjo@codemadness.org commit 3bebb5f7caaf7ac19c3aa58571856ee27e2e418c parent bc99a8d588ffa6f168c4171613a213eb4a29cc75 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 10 Nov 2019 20:55:23 +0100 Makefile: remove config.mk, simplify bc99a8d588ffa6f168c4171613a213eb4a29cc75 2019-09-23T07:38:44Z 2019-09-23T07:38:44Z update TODO Hiltjo Posthuma hiltjo@codemadness.org commit bc99a8d588ffa6f168c4171613a213eb4a29cc75 parent f0d80eb0978a24a020847aa15f1f5f2cd8b4e469 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 23 Sep 2019 09:38:44 +0200 update TODO f0d80eb0978a24a020847aa15f1f5f2cd8b4e469 2019-09-22T18:16:57Z 2019-09-22T18:16:57Z man page: remove copy-pasta line, prefix "DEBUG:" for debug line Hiltjo Posthuma hiltjo@codemadness.org commit f0d80eb0978a24a020847aa15f1f5f2cd8b4e469 parent d8b340df62971844bafc357d981d9c03af741742 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 20:16:57 +0200 man page: remove copy-pasta line, prefix "DEBUG:" for debug line d8b340df62971844bafc357d981d9c03af741742 2019-09-22T17:54:31Z 2019-09-22T17:54:31Z add TODO item Hiltjo Posthuma hiltjo@codemadness.org commit d8b340df62971844bafc357d981d9c03af741742 parent ba6a6e188dd51d566586c46a21b296d9319fa149 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:54:31 +0200 add TODO item ba6a6e188dd51d566586c46a21b296d9319fa149 2019-09-22T17:48:35Z 2019-09-22T17:48:35Z fix bug in ignoring character in <style> or <script> Hiltjo Posthuma hiltjo@codemadness.org commit ba6a6e188dd51d566586c46a21b296d9319fa149 parent ce36531a689dad978e803008ff0600aa7984e380 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:48:35 +0200 fix bug in ignoring character in <style> or <script> ce36531a689dad978e803008ff0600aa7984e380 2019-09-22T17:45:06Z 2019-09-22T17:45:06Z absolute link references, add base href argument to program Hiltjo Posthuma hiltjo@codemadness.org commit ce36531a689dad978e803008ff0600aa7984e380 parent b089e00f076e857bbd8f9f1c316ab55891916aad Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:45:06 +0200 absolute link references, add base href argument to program make link references an #ifdef LINKREFS for now b089e00f076e857bbd8f9f1c316ab55891916aad 2019-09-22T17:19:13Z 2019-09-22T17:19:13Z use cflags, ldflags, fix directory name (sfeed copy-pasta) Hiltjo Posthuma hiltjo@codemadness.org commit b089e00f076e857bbd8f9f1c316ab55891916aad parent 2fd29f177b3495b50c4a335d7ffb6352d58bd9eb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:19:13 +0200 use cflags, ldflags, fix directory name (sfeed copy-pasta) 2fd29f177b3495b50c4a335d7ffb6352d58bd9eb 2019-09-22T17:17:32Z 2019-09-22T17:17:32Z fix make dist Hiltjo Posthuma hiltjo@codemadness.org commit 2fd29f177b3495b50c4a335d7ffb6352d58bd9eb parent f97e56d00c9acd861c2b702ab054fd8552453998 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:17:32 +0200 fix make dist f97e56d00c9acd861c2b702ab054fd8552453998 2019-09-22T17:16:52Z 2019-09-22T17:16:52Z add bare minimum man page for now Hiltjo Posthuma hiltjo@codemadness.org commit f97e56d00c9acd861c2b702ab054fd8552453998 parent 09d3f6928ca9f9936b86c0a82a06551f15cbb6ee Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:16:52 +0200 add bare minimum man page for now 09d3f6928ca9f9936b86c0a82a06551f15cbb6ee 2019-09-22T17:14:58Z 2019-09-22T17:14:58Z initial Makefile Hiltjo Posthuma hiltjo@codemadness.org commit 09d3f6928ca9f9936b86c0a82a06551f15cbb6ee parent b82529ac7152b6326161c23b267d7719090ba168 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:14:58 +0200 initial Makefile b82529ac7152b6326161c23b267d7719090ba168 2019-09-22T17:14:41Z 2019-09-22T17:14:41Z rename main.c to webdump.c Hiltjo Posthuma hiltjo@codemadness.org commit b82529ac7152b6326161c23b267d7719090ba168 parent f3f8b7d8e8f4b72c072488b524cfd0b08791fdb4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:14:41 +0200 rename main.c to webdump.c f3f8b7d8e8f4b72c072488b524cfd0b08791fdb4 2019-09-22T17:10:00Z 2019-09-22T17:10:00Z disable display inline (#ifdef), its the default type now Hiltjo Posthuma hiltjo@codemadness.org commit f3f8b7d8e8f4b72c072488b524cfd0b08791fdb4 parent 2a56590cbe1c1739171a28d4c30b5b318cb0b364 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Sep 2019 19:10:00 +0200 disable display inline (#ifdef), its the default type now 2a56590cbe1c1739171a28d4c30b5b318cb0b364 2019-09-21T18:02:18Z 2019-09-21T18:02:18Z testing improve white-space handling Hiltjo Posthuma hiltjo@codemadness.org commit 2a56590cbe1c1739171a28d4c30b5b318cb0b364 parent e4a9e2404be2db1687430631e912f1809992a23b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 20:02:18 +0200 testing improve white-space handling e4a9e2404be2db1687430631e912f1809992a23b 2019-09-21T17:14:40Z 2019-09-21T17:14:40Z hide tag if DisplayNone, separate white-space handling Hiltjo Posthuma hiltjo@codemadness.org commit e4a9e2404be2db1687430631e912f1809992a23b parent 4fea38d503fe668601fef6ffc9b21c94e24c542e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 19:14:40 +0200 hide tag if DisplayNone, separate white-space handling 4fea38d503fe668601fef6ffc9b21c94e24c542e 2019-09-21T14:43:16Z 2019-09-21T14:43:16Z show "code" as pre for now, disable showing links for now Hiltjo Posthuma hiltjo@codemadness.org commit 4fea38d503fe668601fef6ffc9b21c94e24c542e parent 74ca65d0beb13f86344479079cc3bfcc924c30ae Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 16:43:16 +0200 show "code" as pre for now, disable showing links for now 74ca65d0beb13f86344479079cc3bfcc924c30ae 2019-09-21T14:37:58Z 2019-09-21T14:37:58Z add a few HTML5 tags, update TODO, tiny cleanup Hiltjo Posthuma hiltjo@codemadness.org commit 74ca65d0beb13f86344479079cc3bfcc924c30ae parent 02ccf13986f580df16d65a35ceb8c334100d6ef6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 16:37:58 +0200 add a few HTML5 tags, update TODO, tiny cleanup 02ccf13986f580df16d65a35ceb8c334100d6ef6 2019-09-21T14:31:27Z 2019-09-21T14:31:27Z add strlcat, strlcpy, update README, TODO and display "code" inline Hiltjo Posthuma hiltjo@codemadness.org commit 02ccf13986f580df16d65a35ceb8c334100d6ef6 parent fd8b8950efb4f0b5d2d2bb679b7ded6131725fb5 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 16:31:27 +0200 add strlcat, strlcpy, update README, TODO and display "code" inline fd8b8950efb4f0b5d2d2bb679b7ded6131725fb5 2019-09-21T14:25:35Z 2019-09-21T14:25:35Z more refactoring, update TODO and bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit fd8b8950efb4f0b5d2d2bb679b7ded6131725fb5 parent d87d026a246edadd201b607c15881172ac2564f1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 16:25:35 +0200 more refactoring, update TODO and bump LICENSE year d87d026a246edadd201b607c15881172ac2564f1 2019-09-21T13:41:34Z 2019-09-21T13:41:34Z refactor display type handling Hiltjo Posthuma hiltjo@codemadness.org commit d87d026a246edadd201b607c15881172ac2564f1 parent 9ac2648a64f0b2d125da2a39ed8e8f4ff2e234b4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 15:41:34 +0200 refactor display type handling 9ac2648a64f0b2d125da2a39ed8e8f4ff2e234b4 2019-09-21T13:23:08Z 2019-09-21T13:23:08Z improvements Hiltjo Posthuma hiltjo@codemadness.org commit 9ac2648a64f0b2d125da2a39ed8e8f4ff2e234b4 parent b708236e10ae2b6af6e62514f2ca159fd6eeeabd Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 21 Sep 2019 15:23:08 +0200 improvements - initial url parsing and base href support (WIP). - rename xstrdup and xcalloc to estrdup and ecalloc (exits on failure). - show links inline, disable printing references at the bottom for now. - update TODO. b708236e10ae2b6af6e62514f2ca159fd6eeeabd 2019-09-15T18:03:21Z 2019-09-15T18:03:21Z some improvements Hiltjo Posthuma hiltjo@codemadness.org commit b708236e10ae2b6af6e62514f2ca159fd6eeeabd parent 69314d208de2a232366a14a9c9fef7400e4e0647 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Sep 2019 20:03:21 +0200 some improvements - improve table rendering (in a hacky way for now). - print some characters safe (disallow control-characters except TAB and newline for now). - print "Link references" before the links at the bottom. - update TODO. 69314d208de2a232366a14a9c9fef7400e4e0647 2019-06-28T11:20:33Z 2019-06-28T11:20:33Z update README Hiltjo Posthuma hiltjo@codemadness.org commit 69314d208de2a232366a14a9c9fef7400e4e0647 parent cd440128ab251321e18dc25802936a30cf25a5e9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 28 Jun 2019 13:20:33 +0200 update README cd440128ab251321e18dc25802936a30cf25a5e9 2019-06-27T17:41:13Z 2019-06-27T17:41:13Z sync XML improvements from sfeed Hiltjo Posthuma hiltjo@codemadness.org commit cd440128ab251321e18dc25802936a30cf25a5e9 parent 0ac210d169689c8e8a33351adf6a2d06b9f7322d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 27 Jun 2019 19:41:13 +0200 sync XML improvements from sfeed 0ac210d169689c8e8a33351adf6a2d06b9f7322d 2019-06-27T17:40:15Z 2019-06-27T17:40:15Z improve tag handling, by pazz0 Hiltjo Posthuma hiltjo@codemadness.org commit 0ac210d169689c8e8a33351adf6a2d06b9f7322d parent ec68d5635764887d323bc7e3e09c01fda411e865 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 27 Jun 2019 19:40:15 +0200 improve tag handling, by pazz0 example: <pre>Das ist ein Test</pre> ec68d5635764887d323bc7e3e09c01fda411e865 2019-06-27T17:37:07Z 2019-06-27T17:37:07Z ignore all within <script> or <style> (WIP) Hiltjo Posthuma hiltjo@codemadness.org commit ec68d5635764887d323bc7e3e09c01fda411e865 parent 26361ccd0ab0f19276d7727b8f589b1109cfbfd1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 27 Jun 2019 19:37:07 +0200 ignore all within <script> or <style> (WIP) 26361ccd0ab0f19276d7727b8f589b1109cfbfd1 2018-09-12T20:29:07Z 2018-09-12T20:29:07Z add work-in-progress code, listing of goals/scope and TODO Hiltjo Posthuma hiltjo@codemadness.org commit 26361ccd0ab0f19276d7727b8f589b1109cfbfd1 parent d22cedcf1a4d6a4066489e029ee2888d76308318 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 12 Sep 2018 22:29:07 +0200 add work-in-progress code, listing of goals/scope and TODO d22cedcf1a4d6a4066489e029ee2888d76308318 2018-08-26T13:27:26Z 2018-08-26T13:27:26Z xml: sync many XML parser improvements Hiltjo Posthuma hiltjo@codemadness.org commit d22cedcf1a4d6a4066489e029ee2888d76308318 parent b0fd3fce528a98b283ee135d2a09da04191223c3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Aug 2018 15:27:26 +0200 xml: sync many XML parser improvements b0fd3fce528a98b283ee135d2a09da04191223c3 2017-08-26T13:33:55Z 2017-08-26T13:33:55Z improve ignore tag handling, cleanup a bit Hiltjo Posthuma hiltjo@codemadness.org commit b0fd3fce528a98b283ee135d2a09da04191223c3 parent 0a87ef4d7cdee5b3b0fc5b5430edd21eb9dba8d4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 26 Aug 2017 15:33:55 +0200 improve ignore tag handling, cleanup a bit 0a87ef4d7cdee5b3b0fc5b5430edd21eb9dba8d4 2017-08-26T10:49:21Z 2017-08-26T10:49:21Z simplify ignore tags parsing Hiltjo Posthuma hiltjo@codemadness.org commit 0a87ef4d7cdee5b3b0fc5b5430edd21eb9dba8d4 parent de7e902fa925618e4cfb24b044a18b5db2118b03 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 26 Aug 2017 12:49:21 +0200 simplify ignore tags parsing de7e902fa925618e4cfb24b044a18b5db2118b03 2017-08-26T10:45:00Z 2017-08-26T10:45:00Z remove code from block tag, add some TODO Hiltjo Posthuma hiltjo@codemadness.org commit de7e902fa925618e4cfb24b044a18b5db2118b03 parent d43a011c4cd01f75ec9169ce745d6d1e13958729 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 26 Aug 2017 12:45:00 +0200 remove code from block tag, add some TODO d43a011c4cd01f75ec9169ce745d6d1e13958729 2017-08-24T22:29:06Z 2017-08-24T22:29:06Z simplify a bit, add <label> inline and <div> as block for now Hiltjo Posthuma hiltjo@codemadness.org commit d43a011c4cd01f75ec9169ce745d6d1e13958729 parent ac91a742d386618a025609433e3e43b303272b3e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 25 Aug 2017 00:29:06 +0200 simplify a bit, add <label> inline and <div> as block for now ac91a742d386618a025609433e3e43b303272b3e 2017-08-24T15:17:59Z 2017-08-24T15:17:59Z initial patch to ignore <script> and <style> Hiltjo Posthuma hiltjo@codemadness.org commit ac91a742d386618a025609433e3e43b303272b3e parent 54f38abd3722c07e900820343e7c5288c6b0fdce Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 24 Aug 2017 17:17:59 +0200 initial patch to ignore <script> and <style> 54f38abd3722c07e900820343e7c5288c6b0fdce 2017-08-20T18:56:39Z 2017-08-20T18:56:39Z remove preprocess code, compare tags and attribute case-insensitive Hiltjo Posthuma hiltjo@codemadness.org commit 54f38abd3722c07e900820343e7c5288c6b0fdce parent dacc8c21011cdd6f6c9dc4ebd177478b2151a2c1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 20 Aug 2017 20:56:39 +0200 remove preprocess code, compare tags and attribute case-insensitive idea to ignore literal tags (HTML). dacc8c21011cdd6f6c9dc4ebd177478b2151a2c1 2017-08-20T18:19:56Z 2017-08-20T18:19:56Z support th (hack), disable ignore tags for now (requires parser change) Hiltjo Posthuma hiltjo@codemadness.org commit dacc8c21011cdd6f6c9dc4ebd177478b2151a2c1 parent 114efd43e79a417abbda2e8c427d9dd57b482bce Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 20 Aug 2017 20:19:56 +0200 support th (hack), disable ignore tags for now (requires parser change) 114efd43e79a417abbda2e8c427d9dd57b482bce 2017-07-24T08:06:48Z 2017-07-24T08:06:48Z wip Hiltjo Posthuma hiltjo@codemadness.org commit 114efd43e79a417abbda2e8c427d9dd57b482bce parent ea14e82082be78917aaa6e380879c0e230330b47 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 24 Jul 2017 10:06:48 +0200 wip ea14e82082be78917aaa6e380879c0e230330b47 2017-07-22T21:49:01Z 2017-07-22T21:49:01Z improve whitespace handling (needs more work) Hiltjo Posthuma hiltjo@codemadness.org commit ea14e82082be78917aaa6e380879c0e230330b47 parent 421341e1a2b737cb269a144a1634511705161651 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 22 Jul 2017 23:49:01 +0200 improve whitespace handling (needs more work) 421341e1a2b737cb269a144a1634511705161651 2017-07-22T14:02:56Z 2017-07-22T14:02:56Z initial support to ignore tags (script and CSS) Hiltjo Posthuma hiltjo@codemadness.org commit 421341e1a2b737cb269a144a1634511705161651 parent 6dae546b7c15b859321849c8b7b7294e6d916adc Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 22 Jul 2017 16:02:56 +0200 initial support to ignore tags (script and CSS) this is not fully working yet because scripts can contain literal characters such as < and >. 6dae546b7c15b859321849c8b7b7294e6d916adc 2017-07-22T13:46:15Z 2017-07-22T13:46:15Z simplify cdata handler, show src attribute (disabled for now) Hiltjo Posthuma hiltjo@codemadness.org commit 6dae546b7c15b859321849c8b7b7294e6d916adc parent db8bb6f1a0e1ca29e8cdfd8a6c098fc1076fea80 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 22 Jul 2017 15:46:15 +0200 simplify cdata handler, show src attribute (disabled for now) db8bb6f1a0e1ca29e8cdfd8a6c098fc1076fea80 2017-07-22T13:29:22Z 2017-07-22T13:29:22Z simplify pre-like tags parsing, support some basic entities Hiltjo Posthuma hiltjo@codemadness.org commit db8bb6f1a0e1ca29e8cdfd8a6c098fc1076fea80 parent 6437b1c9d5dd27a1e29e10bda42264127383281e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 22 Jul 2017 15:29:22 +0200 simplify pre-like tags parsing, support some basic entities remove comment handling 6437b1c9d5dd27a1e29e10bda42264127383281e 2017-07-22T13:14:02Z 2017-07-22T13:14:02Z simplify tag type matching, add nested list-item support... Hiltjo Posthuma hiltjo@codemadness.org commit 6437b1c9d5dd27a1e29e10bda42264127383281e parent dcc69463abb4a70f95b6126629e5d6ab57e393e3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 22 Jul 2017 15:14:02 +0200 simplify tag type matching, add nested list-item support... ... indicate page headers (will be improved). dcc69463abb4a70f95b6126629e5d6ab57e393e3 2017-07-22T12:36:51Z 2017-07-22T12:36:51Z initial repo (experiment) Hiltjo Posthuma hiltjo@codemadness.org commit dcc69463abb4a70f95b6126629e5d6ab57e393e3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 22 Jul 2017 14:36:51 +0200 initial repo (experiment)