Commits
Commit:
721a55a9e57cebcde535bfaa77e3bbaae956d55b
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Jan 17 10:05:04 2022 UTC
handle non-closed verbatim blocks and nil-ify empty labels

The idea behind the ``` marker is to toggle the preformatted bit on
and off, so it's not strictly speaking a "verbatim block", even if
it's easier to manage it that way.

However, don't throw generic errors like that, and handle EOF without
a closing ``` marker. While here, if label is the empty string, use
nil.
Commit:
385d8c27124fbdf6686d98559ae01dc9c6a8acd0
Author:
aartaka <aartaka@protonmail.com>
Date:
Mon Jan 17 09:29:35 2022 UTC
gemtext: Use accessors.
Commit:
a73493792e50f418dc91d5565572e510f007d004
Author:
aartaka <aartaka@protonmail.com>
Date:
Mon Jan 17 09:29:35 2022 UTC
gemtext: Type link URLs as strictly quri:uri-s.
Commit:
4800325e843eb78d81f26caa2e281fd33257405c
Author:
aartaka <aartaka@protonmail.com>
Date:
Mon Jan 17 09:29:35 2022 UTC
gemtext: Enrich gemtext classes definitions.

This adds:
- :type options.
- :documentation options.
- :accessor options.
- Class predicates.
Wherever applicable.
Commit:
588b55fbdbdb143bad22870345f7d91d8e7b7bf5
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Jan 17 09:14:15 2022 UTC
Handle gracefully invalid link lines

`=>` without other fields is not a valid link line, so let's handle it
by parsing it as a paragraph with the "=>" text in it.
Commit:
bcb8cfe712a86826bed02978c4258b92bc3efbf9
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jan 14 16:27:08 2022 UTC
refactor the gemtext parser

The old one had various issue, for instance it failed to parse
"#hello", and could mis-interpret lines starting with "=". The new
one is more robust and handles optional spaces better.
Commit:
336bee9ca0449e41d9ad18fe1f3b8dcb50f3a89a
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jan 14 16:27:08 2022 UTC
add the line-eq generic function

it's useful for the (future) tests being able to compare lines.
Commit:
e9a5e4f6741fc27471ed075066c1358908ff9cf3
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jan 14 16:27:08 2022 UTC
provide a default value for :text
Commit:
1beaad39356a9582cd6e37bdeb9663f0ca7c17c3
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jan 14 09:28:10 2022 UTC
drop debug comment
Commit:
272dc9db9f9b4d4aec058228fd28d94f1bff82b4
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jan 14 09:27:37 2022 UTC
~% instead of terpri

we need to terminate the line on the given stream, not on
*standard-output*!
Commit:
880e501071836f3c872a3e8ed996d7e88255f962
Author:
omar-polo <op@omarpolo.com>
Date:
Thu Jan 13 21:50:01 2022 UTC
Merge pull request #1 from aartaka/blockquote

Add blockquote support.
Commit:
5d750cb8221cca83b8aeccd4405926b08fef3143
Author:
aartaka <aartaka@protonmail.com>
Date:
Thu Jan 13 19:38:12 2022 UTC
gemtext.lisp: Add blockquote support.
Commit:
0276d7708733672f17b88aacd62a3092b0137019
Author:
Omar Polo <op@omarpolo.com>
Date:
Wed Nov 11 16:52:18 2020 UTC
revert the relative-to hack

was added only to ease the job of the UI, but it isn’t the right
place. The UI should do that type of checks, the parsers shouldn’t
mangle URIs.
Commit:
073b25eb0b22b8306c6e711aff1483a20be2f8f8
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Nov 9 20:31:48 2020 UTC
now it can even display pages!
Commit:
6b4d9ef20633b7e62988eb86b6e18da1e67519b2
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Nov 9 15:33:53 2020 UTC
initial commit
Omar Polo