Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | switch to permissive license HEAD master | Ali Fardan | 2021-02-06 | 2 | -672/+12 |
| | |||||
* | gemtext_encode: update manpage CAVEATS section to note about HTML encoder | Ali Fardan | 2021-01-18 | 2 | -5/+11 |
| | |||||
* | add mkfile for compiling on 9front using APE | Ali Fardan | 2020-11-20 | 1 | -0/+9 |
| | |||||
* | introduce gemtext_list_encode_to_html class of functions | Ali Fardan | 2020-11-05 | 7 | -27/+391 |
| | | | | | | | - add gemtext_list_encode_html, gemtext_list_encode_to_html_fd and gemtext_list_encode_to_html_file - add gemtext_link_has_label - update gemtext_list_encode class of functions to use size_t instead of int for text size calculation - update manpages | ||||
* | typofix | Ali Fardan | 2020-11-05 | 1 | -1/+1 |
| | |||||
* | introduce new gemtext_text_strlen class of functions | Ali Fardan | 2020-11-05 | 10 | -0/+156 |
| | |||||
* | decode: handle no text | Ali Fardan | 2020-11-03 | 1 | -0/+12 |
| | |||||
* | encode: handle headings with arbitrary amout of whitespace | Ali Fardan | 2020-10-27 | 7 | -13/+164 |
| | | | | https://lists.orbitalfox.eu/archives/gemini/2020/002939.html | ||||
* | fix makefile on OpenBSD | Ali Fardan | 2020-10-25 | 1 | -2/+2 |
| | |||||
* | deocde: handle whitespace in link lines properly | Ali Fardan | 2020-10-25 | 5 | -7/+104 |
| | |||||
* | change parsing and encoding for strict compliance with the spec ↵ | Ali Fardan | 2020-10-24 | 9 | -76/+45 |
| | | | | (https://lists.orbitalfox.eu/archives/gemini/2020/002908.html) | ||||
* | introduce new function to the library, gemtext_list_append(3) | Ali Fardan | 2020-10-24 | 12 | -34/+91 |
| | |||||
* | README typofix | Ali Fardan | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | add README | Ali Fardan | 2020-10-23 | 1 | -0/+87 |
| | |||||
* | fix makefile | Ali Fardan | 2020-10-23 | 1 | -2/+4 |
| | |||||
* | makefile: add all as dependency for install | Ali Fardan | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | couple of bugfixes in encode.c, and additional tests for gemtext_encode() | Ali Fardan | 2020-10-23 | 2 | -184/+425 |
| | |||||
* | update .gitignore | Ali Fardan | 2020-10-23 | 1 | -0/+1 |
| | |||||
* | add CAVEATS section to gemtext_encode(3) | Ali Fardan | 2020-10-23 | 1 | -0/+16 |
| | |||||
* | allow passing NULL pointer to gemtext_encode() len | Ali Fardan | 2020-10-23 | 3 | -10/+19 |
| | |||||
* | update makefile to build dynamic library object and add install rule | Ali Fardan | 2020-10-23 | 1 | -5/+25 |
| | |||||
* | manpages update, plus new manpage for gemtext_text_string(3) | Ali Fardan | 2020-10-23 | 2 | -1/+98 |
| | |||||
* | new gemtext_text_new(3) manpage plus other manpage fixes and updates | Ali Fardan | 2020-10-23 | 5 | -12/+151 |
| | |||||
* | encode: fix garbage in gemtext_encode output | Ali Fardan | 2020-10-23 | 1 | -0/+4 |
| | |||||
* | typofix | Ali Fardan | 2020-10-23 | 1 | -2/+2 |
| | |||||
* | write tests for gemtext_decode() | Ali Fardan | 2020-10-23 | 28 | -29/+634 |
| | |||||
* | - fix manpages | Ali Fardan | 2020-10-23 | 6 | -12/+276 |
| | | | | | - introduce new family of function for handling struct gemtext* - update makefile | ||||
* | remove binary test and add .gitignore | Ali Fardan | 2020-10-23 | 2 | -0/+3 |
| | |||||
* | - rename previous gemtext_decode() family of functions to gemtext_list_decode() | Ali Fardan | 2020-10-23 | 9 | -256/+333 |
| | | | | | | | | | | - change behavior of gemtext_decode family of functions to handle struct gemtext* only - introduce new gemtext_list_decode() family of functions to handle lists of struct gemtext* - rename previous gemtext_encode() family of functions to gemtext_list_encode() - change behavior of gemtext_encode family of functions to handle struct gemtext* only - introduce new gemtext_list_encode() family of functions to handle lists of struct gemtext* - reexport gemtext_free() - update manpages | ||||
* | gemtext_encode_fd(): fix memory leak | Ali Fardan | 2020-10-23 | 1 | -0/+1 |
| | |||||
* | - unlist gemtext_free() from gemtext.h since we don't want it to be exported | Ali Fardan | 2020-10-22 | 6 | -11/+161 |
| | | | | - write manpages for gemtext_encode*(), gemtext_decode*(), and gemtext_list_free() | ||||
* | - implement the rest of decode.c functions: gemtext_decode_fd() and ↵ | Ali Fardan | 2020-10-22 | 8 | -158/+562 |
| | | | | | | | | gemtext_decode_file() - introduce gemtext_encode() with helper functions gemtext_encode_fd() and gemtext_encode_file() - simplify handling of unordered lists in decode.c - add test.c rule to makefile | ||||
* | initial commit, decoder working | Ali Fardan | 2020-10-21 | 6 | -0/+1521 |