depot/third_party/lisp, branch refs/r/3089 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3089 2021-09-12T21:39:49+00:00 feat(3p/lisp/mime4cl): search for first (default) mime text part 2021-09-12T21:39:49+00:00 sterni sternenseemann@systemli.org 2021-08-22T12:32:44+00:00 urn:sha1:7f31562acfc9a83e042a506bf7bdaca5de4e789a Adds a simple generic function find-mime-text-part which returns the first suitable text/* part in any MIME part it is given. Has no meaningful alternatives handling at the moment: It will pick the first text part and doesn't allow specifying a preference. Change-Id: Id9b113b3ef3ca1a575ce8f3582a4f85e30edfb43 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3379 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> refactor(3p/lisp/closure-html): don't compile in asd file 2021-09-02T15:57:03+00:00 sterni sternenseemann@systemli.org 2021-09-01T23:22:29+00:00 urn:sha1:56d2b08955eb7d1b6448caaf8178ca1f587a947e This seems to be unnecessary: It doesn't muffle any SBCL warnings that affect a current version and does nothing special otherwise. Change-Id: I36efde761fc95d9df735f29d2eb369c6b61853c9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3486 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> docs(3p/lisp/closure-common): mention need for ASDF, feature macros 2021-09-02T15:57:03+00:00 sterni sternenseemann@systemli.org 2021-09-01T23:17:50+00:00 urn:sha1:761f9ce38462f2b6333f614969daecc0310d42d6 Luckily we don't need to deal with this mess since all our implementations work similarly wrt streams and “wide” characters. Change-Id: I3ccc606a59c42791f2591d752673c867d848a332 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3485 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> feat(3p/lisp/mime4cl): build using buildLisp 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-02T13:15:39+00:00 urn:sha1:8f6955176ffb216e996b0b9548127045b85522c0 The following changes are required to make mime4cl build: * file-position doesn't like to be called with NIL as the position argument, so we have to make sure to not do that in stream-file-position. My workaround is a bit clunky, but works. * Tests discover the sample file via relative path resolution. This doesn't work when they are imported into the nix store as individual files. Instead we make use of the fact that DEFVAR is a no-op if the variable is already defined and inject a file via the nix build that sets the relevant ones. For the path to sample1.msg, we need to create a new variable. Change-Id: I74eeda7bf2c2a4f64cc2b90e72081513ec3285d5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3270 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> chore(3p/lisp): import mime4cl source tarball 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-21T13:29:43+00:00 urn:sha1:901364869c4e404df0a7c0e80cfd080a56f1965e Used http://wcp.sdf-eu.org/software/mime4cl-20150207T211851.tbz (sha256 5a914669bba7561efe59a4fd0817204c07ad2add98b03ae206ef185ac04affb3). Importing seems sensible since there's no upstream repo nor has their been a release since 2015. This is just an import commit, so the changes made to make it build are more discoverable as their own commit. Change-Id: I2ff28c3c7433abdf7857204bc89eaf9edc0b1cbc Reviewed-on: https://cl.tvl.fyi/c/depot/+/3378 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> feat(3p/lisp/npg): build using buildLisp 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-02T13:14:54+00:00 urn:sha1:de0f0164d205f561cffcea12d6aaad42d848abfc Change-Id: I9f987dc25d77a829cc0716cbe4cb1b91c36de861 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3269 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> chore(3p/lisp): import npg source tarball 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-21T12:44:37+00:00 urn:sha1:8e45aace13e00b91146d47385625449d14576fe5 Used http://wcp.sdf-eu.org/software/npg-20150517T144652.tbz (sha256 42e88f6067128fbdb3a3d578371c9b0ee2a34f1d36daf80be8a520094132d828). There's no upstream repository nor a release since 2015, so importing seems to make a lot of sense. Since we can't subtree making any depot-related changes in a separate CL -- this is only the source import. Change-Id: I64c984ca0a84b9e48c6f496577ffccce1d7bdceb Reviewed-on: https://cl.tvl.fyi/c/depot/+/3377 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> feat(3p/lisp/sclf): build using buildLisp 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-02T13:14:25+00:00 urn:sha1:2e08324484aa4fcb8421900a2528ee751f905249 Adding the default.nix is quite straightforward, however we have to make today's SBCL happy: due to package locking it no longer likes sclf using an sb-impl internal constant for some reason. This is however a good opportunity to clean up the stat-*-time code: It converted the times in an implementation specific way even though time.lisp does provide a generic way to convert between unix and universal time. Note that the updated ASDF file is untested, but should be a trivial enough change. Change-Id: If193bf830ac704cc53e0855d8e9fff2b5a5ef291 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3268 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> chore(3p/lisp): import sclf source tarball 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-21T12:58:48+00:00 urn:sha1:a5dbd0f5d90f0493c89126fe279400d0e7ad7e5b Used http://wcp.sdf-eu.org/software/sclf-20150207T213551.tbz (sha256 a231aeecdb9e87c72642292a1e083fffb33e69ec1d34e667326c6c35b8bcc794). There's no upstream repository nor a release since 2015, so importing seems to make a lot of sense. Since we can't subtree making any depot-related changes in a separate CL to make them more discoverable -- this is only the source import. Change-Id: Ia51a7f4029dba3abd1eee4eeebcf99aca5c5ba4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3376 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> feat(3p/lisp/closure-html): init at 2017-04-19 2021-09-01T22:57:17+00:00 sterni sternenseemann@systemli.org 2021-08-01T13:03:40+00:00 urn:sha1:70e5783e2297ca7f59ee85f236125addc161fd27 This one requires a bit of jumping through hoops. Patching the dtd / catalog lookup is quite straightforward and similar to cxml, but the CLOSURE-HTML:*html-dtd* variable gives us a bit of trouble: It is defined quite late in `html-parser.lisp`, but files that need to be built first already reference it. SBCL has apparently decided to be particular about this and emits a `WARNING` (!) condition for this which is also worthy of `failure-p` of `compile-file` being true, so that `buildLisp` will abort compilation. We workaround this issue by injecting an extra source file which `defvar`s the desired symbol. A similar issue exists with `dump-dtd` which references `CL-USER:*HTML-DTD*` for some reason. Since this is a helper intended for development (?) and not exported we just throw it away via a patch. Change-Id: Ic0f92815a21f3793925c49a70a72f4a86791efe4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3263 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>depot/third_party/lisp, branch refs/r/3089</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3089</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3089"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2021-09-12T21:39:49+00:00</updated>
<entry>
<title>feat(3p/lisp/mime4cl): search for first (default) mime text part</title>
<updated>2021-09-12T21:39:49+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-22T12:32:44+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=7f31562acfc9a83e042a506bf7bdaca5de4e789a"/>
<id>urn:sha1:7f31562acfc9a83e042a506bf7bdaca5de4e789a</id>
<content type="text"> Adds a simple generic function find-mime-text-part which returns the first suitable text/* part in any MIME part it is given. Has no meaningful alternatives handling at the moment: It will pick the first text part and doesn't allow specifying a preference. Change-Id: Id9b113b3ef3ca1a575ce8f3582a4f85e30edfb43 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3379 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> </content>
</entry>
<entry>
<title>refactor(3p/lisp/closure-html): don't compile in asd file</title>
<updated>2021-09-02T15:57:03+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-09-01T23:22:29+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=56d2b08955eb7d1b6448caaf8178ca1f587a947e"/>
<id>urn:sha1:56d2b08955eb7d1b6448caaf8178ca1f587a947e</id>
<content type="text"> This seems to be unnecessary: It doesn't muffle any SBCL warnings that affect a current version and does nothing special otherwise. Change-Id: I36efde761fc95d9df735f29d2eb369c6b61853c9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3486 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>docs(3p/lisp/closure-common): mention need for ASDF, feature macros</title>
<updated>2021-09-02T15:57:03+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-09-01T23:17:50+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=761f9ce38462f2b6333f614969daecc0310d42d6"/>
<id>urn:sha1:761f9ce38462f2b6333f614969daecc0310d42d6</id>
<content type="text"> Luckily we don't need to deal with this mess since all our implementations work similarly wrt streams and “wide” characters. Change-Id: I3ccc606a59c42791f2591d752673c867d848a332 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3485 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>feat(3p/lisp/mime4cl): build using buildLisp</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-02T13:15:39+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=8f6955176ffb216e996b0b9548127045b85522c0"/>
<id>urn:sha1:8f6955176ffb216e996b0b9548127045b85522c0</id>
<content type="text"> The following changes are required to make mime4cl build: * file-position doesn't like to be called with NIL as the position argument, so we have to make sure to not do that in stream-file-position. My workaround is a bit clunky, but works. * Tests discover the sample file via relative path resolution. This doesn't work when they are imported into the nix store as individual files. Instead we make use of the fact that DEFVAR is a no-op if the variable is already defined and inject a file via the nix build that sets the relevant ones. For the path to sample1.msg, we need to create a new variable. Change-Id: I74eeda7bf2c2a4f64cc2b90e72081513ec3285d5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3270 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>chore(3p/lisp): import mime4cl source tarball</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-21T13:29:43+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=901364869c4e404df0a7c0e80cfd080a56f1965e"/>
<id>urn:sha1:901364869c4e404df0a7c0e80cfd080a56f1965e</id>
<content type="text"> Used http://wcp.sdf-eu.org/software/mime4cl-20150207T211851.tbz (sha256 5a914669bba7561efe59a4fd0817204c07ad2add98b03ae206ef185ac04affb3). Importing seems sensible since there's no upstream repo nor has their been a release since 2015. This is just an import commit, so the changes made to make it build are more discoverable as their own commit. Change-Id: I2ff28c3c7433abdf7857204bc89eaf9edc0b1cbc Reviewed-on: https://cl.tvl.fyi/c/depot/+/3378 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>feat(3p/lisp/npg): build using buildLisp</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-02T13:14:54+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=de0f0164d205f561cffcea12d6aaad42d848abfc"/>
<id>urn:sha1:de0f0164d205f561cffcea12d6aaad42d848abfc</id>
<content type="text"> Change-Id: I9f987dc25d77a829cc0716cbe4cb1b91c36de861 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3269 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>chore(3p/lisp): import npg source tarball</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-21T12:44:37+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=8e45aace13e00b91146d47385625449d14576fe5"/>
<id>urn:sha1:8e45aace13e00b91146d47385625449d14576fe5</id>
<content type="text"> Used http://wcp.sdf-eu.org/software/npg-20150517T144652.tbz (sha256 42e88f6067128fbdb3a3d578371c9b0ee2a34f1d36daf80be8a520094132d828). There's no upstream repository nor a release since 2015, so importing seems to make a lot of sense. Since we can't subtree making any depot-related changes in a separate CL -- this is only the source import. Change-Id: I64c984ca0a84b9e48c6f496577ffccce1d7bdceb Reviewed-on: https://cl.tvl.fyi/c/depot/+/3377 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>feat(3p/lisp/sclf): build using buildLisp</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-02T13:14:25+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=2e08324484aa4fcb8421900a2528ee751f905249"/>
<id>urn:sha1:2e08324484aa4fcb8421900a2528ee751f905249</id>
<content type="text"> Adding the default.nix is quite straightforward, however we have to make today's SBCL happy: due to package locking it no longer likes sclf using an sb-impl internal constant for some reason. This is however a good opportunity to clean up the stat-*-time code: It converted the times in an implementation specific way even though time.lisp does provide a generic way to convert between unix and universal time. Note that the updated ASDF file is untested, but should be a trivial enough change. Change-Id: If193bf830ac704cc53e0855d8e9fff2b5a5ef291 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3268 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>chore(3p/lisp): import sclf source tarball</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-21T12:58:48+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=a5dbd0f5d90f0493c89126fe279400d0e7ad7e5b"/>
<id>urn:sha1:a5dbd0f5d90f0493c89126fe279400d0e7ad7e5b</id>
<content type="text"> Used http://wcp.sdf-eu.org/software/sclf-20150207T213551.tbz (sha256 a231aeecdb9e87c72642292a1e083fffb33e69ec1d34e667326c6c35b8bcc794). There's no upstream repository nor a release since 2015, so importing seems to make a lot of sense. Since we can't subtree making any depot-related changes in a separate CL to make them more discoverable -- this is only the source import. Change-Id: Ia51a7f4029dba3abd1eee4eeebcf99aca5c5ba4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3376 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
<entry>
<title>feat(3p/lisp/closure-html): init at 2017-04-19</title>
<updated>2021-09-01T22:57:17+00:00</updated>
<author>
<name>sterni</name>
<email>sternenseemann@systemli.org</email>
</author>
<published>2021-08-01T13:03:40+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=70e5783e2297ca7f59ee85f236125addc161fd27"/>
<id>urn:sha1:70e5783e2297ca7f59ee85f236125addc161fd27</id>
<content type="text"> This one requires a bit of jumping through hoops. Patching the dtd / catalog lookup is quite straightforward and similar to cxml, but the CLOSURE-HTML:*html-dtd* variable gives us a bit of trouble: It is defined quite late in `html-parser.lisp`, but files that need to be built first already reference it. SBCL has apparently decided to be particular about this and emits a `WARNING` (!) condition for this which is also worthy of `failure-p` of `compile-file` being true, so that `buildLisp` will abort compilation. We workaround this issue by injecting an extra source file which `defvar`s the desired symbol. A similar issue exists with `dump-dtd` which references `CL-USER:*HTML-DTD*` for some reason. Since this is a helper intended for development (?) and not exported we just throw it away via a patch. Change-Id: Ic0f92815a21f3793925c49a70a72f4a86791efe4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3263 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> </content>
</entry>
</feed>