xml2tsv, branch HEADa simple xml-to-tsv converter, based on xmlparser
e45f9c38cbcc4c544f0107d1abc79f4e1e0394132021-12-08T22:24:31Z2021-12-08T22:24:31Zfix the condition to emit SEP in xmldataKatolaZkatolaz@freaknet.orgcommit e45f9c38cbcc4c544f0107d1abc79f4e1e039413
parent df38d2270241927e5436a0bc36ffb99044a8f4fb
Author: KatolaZ <katolaz@freaknet.org>
Date: Wed, 8 Dec 2021 22:24:31 +0000
fix the condition to emit SEP in xmldata
df38d2270241927e5436a0bc36ffb99044a8f4fb2021-12-08T21:44:11Z2021-12-08T21:44:11Zcount tag childrend to fix lack of SEP emission on data with leading whitespacesKatolaZkatolaz@freaknet.orgcommit df38d2270241927e5436a0bc36ffb99044a8f4fb
parent b0601f2be7df28d3fab982344a2cc0df8960b012
Author: KatolaZ <katolaz@freaknet.org>
Date: Wed, 8 Dec 2021 21:44:11 +0000
count tag childrend to fix lack of SEP emission on data with leading whitespaces
b0601f2be7df28d3fab982344a2cc0df8960b0122021-01-06T10:51:59Z2021-01-06T15:45:49Zdo not suppress compilation output with the @ prefixAnders Damsgaardanders@adamsgaard.dkcommit b0601f2be7df28d3fab982344a2cc0df8960b012
parent f7457cb90397ac1c6df8c4bc05ebbf2cf4334a68
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 6 Jan 2021 11:51:59 +0100
do not suppress compilation output with the @ prefix
As "Considerations" in bitreich-style/c/makefile-guideline.txt:
>87 * It is not recommended to suppress compilation output with the @ prefix (for
>88 example to make output look nicer aligned). The verbose output is very useful
>89 for debugging and suppressing it only adds debugging abstractions.
f7457cb90397ac1c6df8c4bc05ebbf2cf4334a682021-01-06T10:49:43Z2021-01-06T15:45:42Zinstall/uninstall xml2tsv(1) man pageAnders Damsgaardanders@adamsgaard.dkcommit f7457cb90397ac1c6df8c4bc05ebbf2cf4334a68
parent 60c249ec24ab865c4a55759c7ffde2da99530b1d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 6 Jan 2021 11:49:43 +0100
install/uninstall xml2tsv(1) man page
60c249ec24ab865c4a55759c7ffde2da99530b1d2020-09-30T10:42:07Z2020-09-30T10:42:07Zseveral improvements and more efficient xml parserHiltjo Posthumahiltjo@codemadness.orgcommit 60c249ec24ab865c4a55759c7ffde2da99530b1d
parent b416c171bb34297d7f8bc4c027de7136a113d144
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 30 Sep 2020 11:42:07 +0100
several improvements and more efficient xml parser
b416c171bb34297d7f8bc4c027de7136a113d1442020-02-05T19:22:30Z2020-02-05T19:22:30Zmerge new version of xmlparser (f32a38c45da3bd764f1708600a33bd878cbe8afc)KatolaZkatolaz@freaknet.orgcommit b416c171bb34297d7f8bc4c027de7136a113d144
parent 1e797ce6bffc927a69bc38828b5158dbb68b5950
Author: KatolaZ <katolaz@freaknet.org>
Date: Wed, 5 Feb 2020 19:22:30 +0000
merge new version of xmlparser (f32a38c45da3bd764f1708600a33bd878cbe8afc)
1e797ce6bffc927a69bc38828b5158dbb68b59502020-01-12T19:15:56Z2020-01-12T19:15:56Zavoid unnecessary fields due to data after tagsKatolaZkatolaz@freaknet.orgcommit 1e797ce6bffc927a69bc38828b5158dbb68b5950
parent 77a22b4fd5d8f6c9f64245788e5726de78f8c30e
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 12 Jan 2020 19:15:56 +0000
avoid unnecessary fields due to data after tags
Avoid to include more fields than needed in a record when there is
some data (e.g., spaces) after the end of a tag
77a22b4fd5d8f6c9f64245788e5726de78f8c30e2020-01-07T15:58:34Z2020-01-07T15:58:34Zremove CFLAGS from linkingKatolaZkatolaz@freaknet.orgcommit 77a22b4fd5d8f6c9f64245788e5726de78f8c30e
parent 921bd2cd5dda0f9d25343a445493a1ebee78868b
Author: KatolaZ <katolaz@freaknet.org>
Date: Tue, 7 Jan 2020 15:58:34 +0000
remove CFLAGS from linking
921bd2cd5dda0f9d25343a445493a1ebee78868b2020-01-07T15:52:52Z2020-01-07T15:52:52Zfix xml2tsv makefile target for compatibilityKatolaZkatolaz@freaknet.orgcommit 921bd2cd5dda0f9d25343a445493a1ebee78868b
parent 11b4f557a5927fdc9277a071f4c9bcc76cf725df
Author: KatolaZ <katolaz@freaknet.org>
Date: Tue, 7 Jan 2020 15:52:52 +0000
fix xml2tsv makefile target for compatibility
11b4f557a5927fdc9277a071f4c9bcc76cf725df2020-01-05T15:06:56Z2020-01-05T15:06:56Zavoid double printout on short tagsKatolaZkatolaz@freaknet.orgcommit 11b4f557a5927fdc9277a071f4c9bcc76cf725df
parent c974d52007f0362f455b6a544e1ff2f14929a9ee
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 5 Jan 2020 15:06:56 +0000
avoid double printout on short tags
c974d52007f0362f455b6a544e1ff2f14929a9ee2020-01-05T14:53:49Z2020-01-05T14:53:49Zadd newline to error printoutsKatolaZkatolaz@freaknet.orgcommit c974d52007f0362f455b6a544e1ff2f14929a9ee
parent 8401a64f99c614fa5e32c1b34e5499e0ab948d85
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 5 Jan 2020 14:53:49 +0000
add newline to error printouts
8401a64f99c614fa5e32c1b34e5499e0ab948d852020-01-05T07:47:33Z2020-01-05T07:47:33Zuse stack_empty in stack-related functionsKatolaZkatolaz@freaknet.orgcommit 8401a64f99c614fa5e32c1b34e5499e0ab948d85
parent 2245701946acd39e542918839c9dd80b19f6902e
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 5 Jan 2020 07:47:33 +0000
use stack_empty in stack-related functions
2245701946acd39e542918839c9dd80b19f6902e2020-01-05T07:40:47Z2020-01-05T07:40:47Zadd manpageKatolaZkatolaz@freaknet.orgcommit 2245701946acd39e542918839c9dd80b19f6902e
parent c12282c0074f4af4ef5c41ab489f64576bc932c3
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 5 Jan 2020 07:40:47 +0000
add manpage
c12282c0074f4af4ef5c41ab489f64576bc932c32020-01-05T06:54:27Z2020-01-05T06:54:27Zadd LDFLAGS in config.mkKatolaZkatolaz@freaknet.orgcommit c12282c0074f4af4ef5c41ab489f64576bc932c3
parent 302088dbb8f0eb6bca0c3d97bb2066bad3d5d4c5
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 5 Jan 2020 06:54:27 +0000
add LDFLAGS in config.mk
302088dbb8f0eb6bca0c3d97bb2066bad3d5d4c52020-01-05T06:54:03Z2020-01-05T06:54:03Zremove control charsKatolaZkatolaz@freaknet.orgcommit 302088dbb8f0eb6bca0c3d97bb2066bad3d5d4c5
parent 90c501f47d0a32cedca9a4ea27fbe27be9fb3be4
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 5 Jan 2020 06:54:03 +0000
remove control chars
90c501f47d0a32cedca9a4ea27fbe27be9fb3be42020-01-04T12:17:30Z2020-01-04T12:18:30Zprint unclosed tags after EOF and rename print_no_crKatolaZkatolaz@freaknet.orgcommit 90c501f47d0a32cedca9a4ea27fbe27be9fb3be4
parent 6b7046c7c6b7d269067b2586f676c81a0c531420
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 12:17:30 +0000
print unclosed tags after EOF and rename print_no_cr
6b7046c7c6b7d269067b2586f676c81a0c5314202020-01-04T11:12:02Z2020-01-04T11:12:02Zquote \ appropriatelyKatolaZkatolaz@freaknet.orgcommit 6b7046c7c6b7d269067b2586f676c81a0c531420
parent e555494626790aabcb838227d8e7115bf3081da8
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 11:12:02 +0000
quote \ appropriately
e555494626790aabcb838227d8e7115bf3081da82020-01-04T02:08:24Z2020-01-04T02:08:24Zadd minimal README.mdKatolaZkatolaz@freaknet.orgcommit e555494626790aabcb838227d8e7115bf3081da8
parent 6b04af1604ce0e04acf9b0bb2529d2ca53f4c8fc
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 02:08:24 +0000
add minimal README.md
6b04af1604ce0e04acf9b0bb2529d2ca53f4c8fc2020-01-04T01:47:56Z2020-01-04T01:47:56Zuse config.hKatolaZkatolaz@freaknet.orgcommit 6b04af1604ce0e04acf9b0bb2529d2ca53f4c8fc
parent a0bed6034c4da3cba70fc2df3f6ef5204e10eea9
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 01:47:56 +0000
use config.h
a0bed6034c4da3cba70fc2df3f6ef5204e10eea92020-01-04T01:47:18Z2020-01-04T01:47:18Zadd Makefile and config.hKatolaZkatolaz@freaknet.orgcommit a0bed6034c4da3cba70fc2df3f6ef5204e10eea9
parent d1d29f3306ef651796d171c8d406b14fc74778ca
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 01:47:18 +0000
add Makefile and config.h
d1d29f3306ef651796d171c8d406b14fc74778ca2020-01-04T01:31:40Z2020-01-04T01:31:40Zquote newline and tabs; set separator and attribute assign charsKatolaZkatolaz@freaknet.orgcommit d1d29f3306ef651796d171c8d406b14fc74778ca
parent 171b4c872cde8fea8cd6ddc0bc5df3e3bb5c3dcb
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 01:31:40 +0000
quote newline and tabs; set separator and attribute assign chars
171b4c872cde8fea8cd6ddc0bc5df3e3bb5c3dcb2020-01-04T00:48:52Z2020-01-04T00:48:52Zfix buffer overflowKatolaZkatolaz@freaknet.orgcommit 171b4c872cde8fea8cd6ddc0bc5df3e3bb5c3dcb
parent 5cb461a629973380fc58050bee2d8d893db7923d
Author: KatolaZ <katolaz@freaknet.org>
Date: Sat, 4 Jan 2020 00:48:52 +0000
fix buffer overflow
5cb461a629973380fc58050bee2d8d893db7923d2020-01-03T15:37:46Z2020-01-03T16:30:10Zsome fixes and improvementsHiltjo Posthumahiltjo@codemadness.orgcommit 5cb461a629973380fc58050bee2d8d893db7923d
parent 0fe049559d88b204e73332e205caa8c5936985d6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 3 Jan 2020 16:37:46 +0100
some fixes and improvements
- print_no_cr: fix for modification of const buffer.
- improve buffering of data handlers using the start and end handlers.
- add XML entity conversion.
- some white-space fixes.
0fe049559d88b204e73332e205caa8c5936985d62020-01-03T15:52:16Z2020-01-03T16:29:30Zimprove output when a tag contains a shorttagHiltjo Posthumahiltjo@codemadness.orgcommit 0fe049559d88b204e73332e205caa8c5936985d6
parent 8cf4ed89a038cae37878fead482aec23a9755e9e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 3 Jan 2020 16:52:16 +0100
improve output when a tag contains a shorttag
for example:
<root><p>test file<br/>abc</p></root>
8cf4ed89a038cae37878fead482aec23a9755e9e2020-01-03T12:47:08Z2020-01-03T12:47:08Zfix use of strncpy (thanks Hiltjo Posthuma)KatolaZkatolaz@freaknet.orgcommit 8cf4ed89a038cae37878fead482aec23a9755e9e
parent d10d115bb1de07e38a31f2e5946150f1f86e2d3e
Author: KatolaZ <katolaz@freaknet.org>
Date: Fri, 3 Jan 2020 12:47:08 +0000
fix use of strncpy (thanks Hiltjo Posthuma)
d10d115bb1de07e38a31f2e5946150f1f86e2d3e2020-01-03T12:25:34Z2020-01-03T12:25:34Zinitial commitKatolaZkatolaz@freaknet.orgcommit d10d115bb1de07e38a31f2e5946150f1f86e2d3e
Author: KatolaZ <katolaz@freaknet.org>
Date: Fri, 3 Jan 2020 12:25:34 +0000
initial commit