bollux.git/.git
3 years agoVersion bump 0.3.0
Case Duckworth [Thu, 4 Jun 2020 04:22:55 +0000 (23:22 -0500)]
Version bump

3 years agoUpdate docs
Case Duckworth [Wed, 3 Jun 2020 13:17:34 +0000 (08:17 -0500)]
Update docs

3 years agoAdd G bind
Case Duckworth [Wed, 3 Jun 2020 12:43:46 +0000 (07:43 -0500)]
Add G bind

3 years agoAdd back/forward binds to statusline
Case Duckworth [Wed, 3 Jun 2020 04:08:21 +0000 (23:08 -0500)]
Add back/forward binds to statusline

3 years agoFix title extraction
Case Duckworth [Wed, 3 Jun 2020 03:37:27 +0000 (22:37 -0500)]
Fix title extraction

3 years agoChange variables and update manpages
Case Duckworth [Wed, 3 Jun 2020 03:24:49 +0000 (22:24 -0500)]
Change variables and update manpages

3 years agoCustomize Bye Message
Case Duckworth [Wed, 3 Jun 2020 03:14:36 +0000 (22:14 -0500)]
Customize Bye Message

3 years agoChange ssl_cmd setting
Case Duckworth [Wed, 3 Jun 2020 03:03:08 +0000 (22:03 -0500)]
Change ssl_cmd setting

3 years agoAdded explicit support for TLS v1.3
Parker Ellertson [Tue, 2 Jun 2020 22:16:28 +0000 (15:16 -0700)]
Added explicit support for TLS v1.3

From 8d20bf3b790991a33c0ab721a2746ec222a74f2a Mon Sep 17 00:00:00 2001
From: Parker Ellertson <pellertson@firemail.cc>
Date: Tue, 2 Jun 2020 15:06:34 -0700
Subject: [PATCH bollux] Added explicit support for TLS v1.3

3 years agoAdd wip
Case Duckworth [Wed, 3 Jun 2020 02:53:52 +0000 (21:53 -0500)]
Add wip

This is where all my works in progress are going to go.
Expect it to be really messy.

3 years agoAdd history file origin/history
Case Duckworth [Wed, 3 Jun 2020 02:51:24 +0000 (21:51 -0500)]
Add history file

I added a history file at $XDG_DATA_HOME/bollux/history.
Its format is of the form
<date %FT%T> <URL> <TITLE>
the date is generated with the printf trick.  I should probably be doing
version checking or at least say we require bash 4+.

The code to get the title of the page is pretty gross.  Basically I have
to run the content of the pipeline through like, two times? A read loop.
Check out ll. 333-348 to see how weird it is.

3 years agoReimplement extract_links in bash
Case Duckworth [Wed, 3 Jun 2020 02:07:46 +0000 (21:07 -0500)]
Reimplement extract_links in bash

3 years agoRemove iconv dash
Case Duckworth [Wed, 3 Jun 2020 02:05:42 +0000 (21:05 -0500)]
Remove iconv dash

3 years agoMerge branch 'master' into history
Case Duckworth [Tue, 2 Jun 2020 03:55:50 +0000 (22:55 -0500)]
Merge branch 'master' into history

3 years agoAdd keybind
Case Duckworth [Tue, 2 Jun 2020 03:55:40 +0000 (22:55 -0500)]
Add keybind

3 years agoFix beginning of history detection
Case Duckworth [Mon, 1 Jun 2020 20:36:33 +0000 (15:36 -0500)]
Fix beginning of history detection

3 years agoAdd INSTALL section
Case Duckworth [Mon, 1 Jun 2020 20:13:31 +0000 (15:13 -0500)]
Add INSTALL section

3 years agoupdate README
Case Duckworth [Mon, 1 Jun 2020 20:08:53 +0000 (15:08 -0500)]
update README

3 years agoAdd rudimentary history support.
Case Duckworth [Mon, 1 Jun 2020 19:58:51 +0000 (14:58 -0500)]
Add rudimentary history support.

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.

3 years agoAccept but ignore pre lines with alt text
Case Duckworth [Mon, 1 Jun 2020 14:08:48 +0000 (09:08 -0500)]
Accept but ignore pre lines with alt text

3 years agoAdd quit message and set title
Case Duckworth [Sun, 31 May 2020 15:58:44 +0000 (10:58 -0500)]
Add quit message and set title

3 years agoTrim mime and only look at it once
Case Duckworth [Sun, 31 May 2020 15:28:59 +0000 (10:28 -0500)]
Trim mime and only look at it once

3 years agoHandle different charsets
Case Duckworth [Sun, 31 May 2020 15:07:03 +0000 (10:07 -0500)]
Handle different charsets

3 years agoChange config and args order
Case Duckworth [Sun, 31 May 2020 13:50:27 +0000 (08:50 -0500)]
Change config and args order

3 years agoLog, don't echo
Case Duckworth [Sun, 31 May 2020 13:47:46 +0000 (08:47 -0500)]
Log, don't echo

3 years agoVersion bump 0.2.2
Case Duckworth [Sun, 31 May 2020 13:44:25 +0000 (08:44 -0500)]
Version bump

3 years agoFix config file location
Case Duckworth [Sun, 31 May 2020 13:40:26 +0000 (08:40 -0500)]
Fix config file location

3 years agoFix line endings 0.2.1
Case Duckworth [Sat, 30 May 2020 22:09:52 +0000 (17:09 -0500)]
Fix line endings

3 years agoVersion bump 0.2
Case Duckworth [Sat, 30 May 2020 21:58:12 +0000 (16:58 -0500)]
Version bump

3 years agoRemove port number from parsed authority
Case Duckworth [Sat, 30 May 2020 21:54:30 +0000 (16:54 -0500)]
Remove port number from parsed authority

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.

3 years agoUpdate docs
Case Duckworth [Sat, 30 May 2020 21:46:04 +0000 (16:46 -0500)]
Update docs

3 years agoChange margin stuff
Case Duckworth [Sat, 30 May 2020 21:45:56 +0000 (16:45 -0500)]
Change margin stuff

3 years agoUpdate typesetting of text/gemini
Case Duckworth [Sat, 30 May 2020 21:00:12 +0000 (16:00 -0500)]
Update typesetting of text/gemini

3 years agoArchive
Case Duckworth [Sat, 30 May 2020 20:59:52 +0000 (15:59 -0500)]
Archive

3 years agoChange some functions to only Bash
Case Duckworth [Sat, 30 May 2020 19:35:17 +0000 (14:35 -0500)]
Change some functions to only Bash

3 years agoRemove unneeded files origin/url-rfc
Case Duckworth [Sat, 30 May 2020 18:41:12 +0000 (13:41 -0500)]
Remove unneeded files

3 years agoBring URL transforming up to spec
Case Duckworth [Sat, 30 May 2020 18:38:18 +0000 (13:38 -0500)]
Bring URL transforming up to spec

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.

3 years agoBackup
Case Duckworth [Sat, 30 May 2020 18:35:32 +0000 (13:35 -0500)]
Backup

3 years agoStart testing transform_uri
Case Duckworth [Thu, 28 May 2020 13:37:40 +0000 (08:37 -0500)]
Start testing transform_uri

3 years agoChange typesetting
Case Duckworth [Thu, 28 May 2020 13:37:06 +0000 (08:37 -0500)]
Change typesetting

3 years agoAdd Makefiles
Case Duckworth [Wed, 27 May 2020 00:31:06 +0000 (19:31 -0500)]
Add Makefiles

3 years agoFix dumb mistake v0.1.1
Case Duckworth [Tue, 26 May 2020 23:23:37 +0000 (18:23 -0500)]
Fix dumb mistake

3 years agoAdd Makefile
Case Duckworth [Tue, 26 May 2020 12:02:25 +0000 (07:02 -0500)]
Add Makefile

3 years agoAdd less prompts v0.1
Case Duckworth [Tue, 26 May 2020 03:18:43 +0000 (22:18 -0500)]
Add less prompts

3 years agoUpdate README
Case Duckworth [Tue, 26 May 2020 02:48:36 +0000 (21:48 -0500)]
Update README

3 years agoAdd LICENSE
Case Duckworth [Tue, 26 May 2020 02:42:16 +0000 (21:42 -0500)]
Add LICENSE

3 years agoAdd usage and header
Case Duckworth [Tue, 26 May 2020 02:41:42 +0000 (21:41 -0500)]
Add usage and header

3 years agoMajor rewrite, v0.1
Case Duckworth [Tue, 26 May 2020 02:37:55 +0000 (21:37 -0500)]
Major rewrite, v0.1

3 years agoUpdate README origin/less
Case Duckworth [Sun, 24 May 2020 05:28:01 +0000 (00:28 -0500)]
Update README

3 years agoAdd tee to prepare for links
Case Duckworth [Sun, 24 May 2020 05:26:02 +0000 (00:26 -0500)]
Add tee to prepare for links

3 years agoUpdate display() to use less and better mimetypes
Case Duckworth [Sun, 24 May 2020 04:49:48 +0000 (23:49 -0500)]
Update display() to use less and better mimetypes

3 years agoAdd option parsing and change order of operations
Case Duckworth [Sun, 24 May 2020 00:49:20 +0000 (19:49 -0500)]
Add option parsing and change order of operations

3 years agoFix redirects
Case Duckworth [Sun, 24 May 2020 00:49:06 +0000 (19:49 -0500)]
Fix redirects

3 years agoChange awk to gawk
Case Duckworth [Sun, 24 May 2020 00:48:49 +0000 (19:48 -0500)]
Change awk to gawk

3 years agoRead statusline until \r
Case Duckworth [Sun, 24 May 2020 00:47:44 +0000 (19:47 -0500)]
Read statusline until \r

3 years agoAdd SNI support
Case Duckworth [Sun, 24 May 2020 00:47:23 +0000 (19:47 -0500)]
Add SNI support

3 years agoAdd URL normalizing functions for use later
Case Duckworth [Sun, 24 May 2020 00:46:58 +0000 (19:46 -0500)]
Add URL normalizing functions for use later

3 years agoFix redirecting issues
Case Duckworth [Sun, 24 May 2020 00:46:22 +0000 (19:46 -0500)]
Fix redirecting issues

3 years agoAdd usage()
Case Duckworth [Sun, 24 May 2020 00:45:21 +0000 (19:45 -0500)]
Add usage()

3 years agoFix colors
Case Duckworth [Sat, 23 May 2020 04:06:30 +0000 (23:06 -0500)]
Fix colors

3 years agoChange file descriptors and add functions
Case Duckworth [Sat, 23 May 2020 01:34:27 +0000 (20:34 -0500)]
Change file descriptors and add functions

3 years agoWait for responses
Case Duckworth [Sat, 23 May 2020 01:16:32 +0000 (20:16 -0500)]
Wait for responses

3 years agoStatify URL and require things
Case Duckworth [Fri, 22 May 2020 23:56:28 +0000 (18:56 -0500)]
Statify URL and require things

3 years agoBump version
Case Duckworth [Fri, 22 May 2020 22:19:00 +0000 (17:19 -0500)]
Bump version

3 years agoDownload non-text mimetypes
Case Duckworth [Fri, 22 May 2020 22:12:15 +0000 (17:12 -0500)]
Download non-text mimetypes

3 years agoReorder variables
Case Duckworth [Fri, 22 May 2020 22:11:31 +0000 (17:11 -0500)]
Reorder variables

3 years agoNormalize line endings
Case Duckworth [Fri, 22 May 2020 21:11:39 +0000 (16:11 -0500)]
Normalize line endings

3 years agoRemove unneeded stuff
Case Duckworth [Fri, 22 May 2020 20:55:03 +0000 (15:55 -0500)]
Remove unneeded stuff

3 years agoIt works!
Case Duckworth [Fri, 22 May 2020 20:53:35 +0000 (15:53 -0500)]
It works!

3 years agoReady to upload
Case Duckworth [Fri, 22 May 2020 13:38:40 +0000 (08:38 -0500)]
Ready to upload