Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add rudimentary history support. | Case Duckworth | 2020-06-01 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds `history_init`, `history_append`, `history_back`, and `history_forward` functions. The history is implemented as an array, HISTORY, which is appended to with history_append when pages are visited, and a pointer, HN, which points to the current position in the array. When history_back is called, it moves the pointer back 2 and calls blastoff to the URL there. When history_forward is called, it does not move the pointer and blastsoff to the URL. Why back and forward basically have an off-by-one error is beyond me at this time. ISSUES: - if the user goes back then forward, the history is not rewritten for later URLs. for example, if the history is 1.gmi 2.gmi 3.gmi* where the * indicates the current history position, when the user goes back 2, it looks like this: 1.gmi* 2.gmi 3.gmi if the user then navigates to another page: 1.gmi 4.gmi* 3.gmi 3.gmi is still in the history, so the user can go forward from 4. This is unexpected as far as every other client that I know of goes. | ||
* | Accept but ignore pre lines with alt text | Case Duckworth | 2020-06-01 |
| | |||
* | Add quit message and set title | Case Duckworth | 2020-05-31 |
| | |||
* | Trim mime and only look at it once | Case Duckworth | 2020-05-31 |
| | |||
* | Handle different charsets | Case Duckworth | 2020-05-31 |
| | |||
* | Change config and args order | Case Duckworth | 2020-05-31 |
| | |||
* | Log, don't echo | Case Duckworth | 2020-05-31 |
| | |||
* | Version bump | Case Duckworth | 2020-05-31 |
| | |||
* | Fix config file location | Case Duckworth | 2020-05-31 |
| | |||
* | Fix line endings | Case Duckworth | 2020-05-30 |
| | |||
* | Version bump | Case Duckworth | 2020-05-30 |
| | |||
* | Remove port number from parsed authority | Case Duckworth | 2020-05-30 |
| | | | | | | | | | When navigating to a link with the port included, request_url doesn't do the right thing. For now I've changed the code in transform_resource to remove the port from the authority field, but that is probably not the right place to put it. I'm going to deal with this later though. | ||
* | Update docs | Case Duckworth | 2020-05-30 |
| | |||
* | Change margin stuff | Case Duckworth | 2020-05-30 |
| | |||
* | Update typesetting of text/gemini | Case Duckworth | 2020-05-30 |
| | |||
* | Archive | Case Duckworth | 2020-05-30 |
| | |||
* | Change some functions to only Bash | Case Duckworth | 2020-05-30 |
| | |||
* | Remove unneeded files | Case Duckworth | 2020-05-30 |
| | |||
* | Bring URL transforming up to spec | Case Duckworth | 2020-05-30 |
| | | | | | | URL transformation (formerly called "munging") is now (afaict) fully compliant with the RFC spec. It's also implemented in pure bash and is available as a library at https://git.sr.ht/~acdw/shurlie. | ||
* | Backup | Case Duckworth | 2020-05-30 |
| | |||
* | Start testing transform_uri | Case Duckworth | 2020-05-28 |
| | |||
* | Change typesetting | Case Duckworth | 2020-05-28 |
| | |||
* | Add Makefiles | Case Duckworth | 2020-05-26 |
| | |||
* | Fix dumb mistake | Case Duckworth | 2020-05-26 |
| | |||
* | Add Makefile | Case Duckworth | 2020-05-26 |
| | |||
* | Add less prompts | Case Duckworth | 2020-05-25 |
| | |||
* | Update README | Case Duckworth | 2020-05-25 |
| | |||
* | Add LICENSE | Case Duckworth | 2020-05-25 |
| | |||
* | Add usage and header | Case Duckworth | 2020-05-25 |
| | |||
* | Major rewrite, v0.1 | Case Duckworth | 2020-05-25 |
| | |||
* | Update README | Case Duckworth | 2020-05-24 |
| | |||
* | Add tee to prepare for links | Case Duckworth | 2020-05-24 |
| | |||
* | Update display() to use less and better mimetypes | Case Duckworth | 2020-05-23 |
| | |||
* | Add option parsing and change order of operations | Case Duckworth | 2020-05-23 |
| | |||
* | Fix redirects | Case Duckworth | 2020-05-23 |
| | |||
* | Change awk to gawk | Case Duckworth | 2020-05-23 |
| | |||
* | Read statusline until \r | Case Duckworth | 2020-05-23 |
| | |||
* | Add SNI support | Case Duckworth | 2020-05-23 |
| | |||
* | Add URL normalizing functions for use later | Case Duckworth | 2020-05-23 |
| | |||
* | Fix redirecting issues | Case Duckworth | 2020-05-23 |
| | |||
* | Add usage() | Case Duckworth | 2020-05-23 |
| | |||
* | Fix colors | Case Duckworth | 2020-05-22 |
| | |||
* | Change file descriptors and add functions | Case Duckworth | 2020-05-22 |
| | |||
* | Wait for responses | Case Duckworth | 2020-05-22 |
| | |||
* | Statify URL and require things | Case Duckworth | 2020-05-22 |
| | |||
* | Bump version | Case Duckworth | 2020-05-22 |
| | |||
* | Download non-text mimetypes | Case Duckworth | 2020-05-22 |
| | |||
* | Reorder variables | Case Duckworth | 2020-05-22 |
| | |||
* | Normalize line endings | Case Duckworth | 2020-05-22 |
| | |||
* | Remove unneeded stuff | Case Duckworth | 2020-05-22 |
| |