xml2tsv, branch HEAD a simple xml-to-tsv converter, based on xmlparser e45f9c38cbcc4c544f0107d1abc79f4e1e039413 2021-12-08T22:24:31Z 2021-12-08T22:24:31Z fix the condition to emit SEP in xmldata KatolaZ katolaz@freaknet.org commit 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 df38d2270241927e5436a0bc36ffb99044a8f4fb 2021-12-08T21:44:11Z 2021-12-08T21:44:11Z count tag childrend to fix lack of SEP emission on data with leading whitespaces KatolaZ katolaz@freaknet.org commit 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 b0601f2be7df28d3fab982344a2cc0df8960b012 2021-01-06T10:51:59Z 2021-01-06T15:45:49Z do not suppress compilation output with the @ prefix Anders Damsgaard anders@adamsgaard.dk commit 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. f7457cb90397ac1c6df8c4bc05ebbf2cf4334a68 2021-01-06T10:49:43Z 2021-01-06T15:45:42Z install/uninstall xml2tsv(1) man page Anders Damsgaard anders@adamsgaard.dk commit f7457cb90397ac1c6df8c4bc05ebbf2cf4334a68 parent 60c249ec24ab865c4a55759c7ffde2da99530b1d Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 6 Jan 2021 11:49:43 +0100 install/uninstall xml2tsv(1) man page 60c249ec24ab865c4a55759c7ffde2da99530b1d 2020-09-30T10:42:07Z 2020-09-30T10:42:07Z several improvements and more efficient xml parser Hiltjo Posthuma hiltjo@codemadness.org commit 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 b416c171bb34297d7f8bc4c027de7136a113d144 2020-02-05T19:22:30Z 2020-02-05T19:22:30Z merge new version of xmlparser (f32a38c45da3bd764f1708600a33bd878cbe8afc) KatolaZ katolaz@freaknet.org commit b416c171bb34297d7f8bc4c027de7136a113d144 parent 1e797ce6bffc927a69bc38828b5158dbb68b5950 Author: KatolaZ <katolaz@freaknet.org> Date: Wed, 5 Feb 2020 19:22:30 +0000 merge new version of xmlparser (f32a38c45da3bd764f1708600a33bd878cbe8afc) 1e797ce6bffc927a69bc38828b5158dbb68b5950 2020-01-12T19:15:56Z 2020-01-12T19:15:56Z avoid unnecessary fields due to data after tags KatolaZ katolaz@freaknet.org commit 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 77a22b4fd5d8f6c9f64245788e5726de78f8c30e 2020-01-07T15:58:34Z 2020-01-07T15:58:34Z remove CFLAGS from linking KatolaZ katolaz@freaknet.org commit 77a22b4fd5d8f6c9f64245788e5726de78f8c30e parent 921bd2cd5dda0f9d25343a445493a1ebee78868b Author: KatolaZ <katolaz@freaknet.org> Date: Tue, 7 Jan 2020 15:58:34 +0000 remove CFLAGS from linking 921bd2cd5dda0f9d25343a445493a1ebee78868b 2020-01-07T15:52:52Z 2020-01-07T15:52:52Z fix xml2tsv makefile target for compatibility KatolaZ katolaz@freaknet.org commit 921bd2cd5dda0f9d25343a445493a1ebee78868b parent 11b4f557a5927fdc9277a071f4c9bcc76cf725df Author: KatolaZ <katolaz@freaknet.org> Date: Tue, 7 Jan 2020 15:52:52 +0000 fix xml2tsv makefile target for compatibility 11b4f557a5927fdc9277a071f4c9bcc76cf725df 2020-01-05T15:06:56Z 2020-01-05T15:06:56Z avoid double printout on short tags KatolaZ katolaz@freaknet.org commit 11b4f557a5927fdc9277a071f4c9bcc76cf725df parent c974d52007f0362f455b6a544e1ff2f14929a9ee Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 15:06:56 +0000 avoid double printout on short tags c974d52007f0362f455b6a544e1ff2f14929a9ee 2020-01-05T14:53:49Z 2020-01-05T14:53:49Z add newline to error printouts KatolaZ katolaz@freaknet.org commit c974d52007f0362f455b6a544e1ff2f14929a9ee parent 8401a64f99c614fa5e32c1b34e5499e0ab948d85 Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 14:53:49 +0000 add newline to error printouts 8401a64f99c614fa5e32c1b34e5499e0ab948d85 2020-01-05T07:47:33Z 2020-01-05T07:47:33Z use stack_empty in stack-related functions KatolaZ katolaz@freaknet.org commit 8401a64f99c614fa5e32c1b34e5499e0ab948d85 parent 2245701946acd39e542918839c9dd80b19f6902e Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 07:47:33 +0000 use stack_empty in stack-related functions 2245701946acd39e542918839c9dd80b19f6902e 2020-01-05T07:40:47Z 2020-01-05T07:40:47Z add manpage KatolaZ katolaz@freaknet.org commit 2245701946acd39e542918839c9dd80b19f6902e parent c12282c0074f4af4ef5c41ab489f64576bc932c3 Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 07:40:47 +0000 add manpage c12282c0074f4af4ef5c41ab489f64576bc932c3 2020-01-05T06:54:27Z 2020-01-05T06:54:27Z add LDFLAGS in config.mk KatolaZ katolaz@freaknet.org commit c12282c0074f4af4ef5c41ab489f64576bc932c3 parent 302088dbb8f0eb6bca0c3d97bb2066bad3d5d4c5 Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 06:54:27 +0000 add LDFLAGS in config.mk 302088dbb8f0eb6bca0c3d97bb2066bad3d5d4c5 2020-01-05T06:54:03Z 2020-01-05T06:54:03Z remove control chars KatolaZ katolaz@freaknet.org commit 302088dbb8f0eb6bca0c3d97bb2066bad3d5d4c5 parent 90c501f47d0a32cedca9a4ea27fbe27be9fb3be4 Author: KatolaZ <katolaz@freaknet.org> Date: Sun, 5 Jan 2020 06:54:03 +0000 remove control chars 90c501f47d0a32cedca9a4ea27fbe27be9fb3be4 2020-01-04T12:17:30Z 2020-01-04T12:18:30Z print unclosed tags after EOF and rename print_no_cr KatolaZ katolaz@freaknet.org commit 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 6b7046c7c6b7d269067b2586f676c81a0c531420 2020-01-04T11:12:02Z 2020-01-04T11:12:02Z quote \ appropriately KatolaZ katolaz@freaknet.org commit 6b7046c7c6b7d269067b2586f676c81a0c531420 parent e555494626790aabcb838227d8e7115bf3081da8 Author: KatolaZ <katolaz@freaknet.org> Date: Sat, 4 Jan 2020 11:12:02 +0000 quote \ appropriately e555494626790aabcb838227d8e7115bf3081da8 2020-01-04T02:08:24Z 2020-01-04T02:08:24Z add minimal README.md KatolaZ katolaz@freaknet.org commit e555494626790aabcb838227d8e7115bf3081da8 parent 6b04af1604ce0e04acf9b0bb2529d2ca53f4c8fc Author: KatolaZ <katolaz@freaknet.org> Date: Sat, 4 Jan 2020 02:08:24 +0000 add minimal README.md 6b04af1604ce0e04acf9b0bb2529d2ca53f4c8fc 2020-01-04T01:47:56Z 2020-01-04T01:47:56Z use config.h KatolaZ katolaz@freaknet.org commit 6b04af1604ce0e04acf9b0bb2529d2ca53f4c8fc parent a0bed6034c4da3cba70fc2df3f6ef5204e10eea9 Author: KatolaZ <katolaz@freaknet.org> Date: Sat, 4 Jan 2020 01:47:56 +0000 use config.h a0bed6034c4da3cba70fc2df3f6ef5204e10eea9 2020-01-04T01:47:18Z 2020-01-04T01:47:18Z add Makefile and config.h KatolaZ katolaz@freaknet.org commit a0bed6034c4da3cba70fc2df3f6ef5204e10eea9 parent d1d29f3306ef651796d171c8d406b14fc74778ca Author: KatolaZ <katolaz@freaknet.org> Date: Sat, 4 Jan 2020 01:47:18 +0000 add Makefile and config.h d1d29f3306ef651796d171c8d406b14fc74778ca 2020-01-04T01:31:40Z 2020-01-04T01:31:40Z quote newline and tabs; set separator and attribute assign chars KatolaZ katolaz@freaknet.org commit 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 171b4c872cde8fea8cd6ddc0bc5df3e3bb5c3dcb 2020-01-04T00:48:52Z 2020-01-04T00:48:52Z fix buffer overflow KatolaZ katolaz@freaknet.org commit 171b4c872cde8fea8cd6ddc0bc5df3e3bb5c3dcb parent 5cb461a629973380fc58050bee2d8d893db7923d Author: KatolaZ <katolaz@freaknet.org> Date: Sat, 4 Jan 2020 00:48:52 +0000 fix buffer overflow 5cb461a629973380fc58050bee2d8d893db7923d 2020-01-03T15:37:46Z 2020-01-03T16:30:10Z some fixes and improvements Hiltjo Posthuma hiltjo@codemadness.org commit 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. 0fe049559d88b204e73332e205caa8c5936985d6 2020-01-03T15:52:16Z 2020-01-03T16:29:30Z improve output when a tag contains a shorttag Hiltjo Posthuma hiltjo@codemadness.org commit 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> 8cf4ed89a038cae37878fead482aec23a9755e9e 2020-01-03T12:47:08Z 2020-01-03T12:47:08Z fix use of strncpy (thanks Hiltjo Posthuma) KatolaZ katolaz@freaknet.org commit 8cf4ed89a038cae37878fead482aec23a9755e9e parent d10d115bb1de07e38a31f2e5946150f1f86e2d3e Author: KatolaZ <katolaz@freaknet.org> Date: Fri, 3 Jan 2020 12:47:08 +0000 fix use of strncpy (thanks Hiltjo Posthuma) d10d115bb1de07e38a31f2e5946150f1f86e2d3e 2020-01-03T12:25:34Z 2020-01-03T12:25:34Z initial commit KatolaZ katolaz@freaknet.org commit d10d115bb1de07e38a31f2e5946150f1f86e2d3e Author: KatolaZ <katolaz@freaknet.org> Date: Fri, 3 Jan 2020 12:25:34 +0000 initial commit