đŸ’Ÿ Archived View for gmn.clttr.info â€ș sources â€ș cgmnlm.git â€ș commits captured on 2023-04-26 at 13:39:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

âŹ…ïž Previous capture (2023-04-19)

âžĄïž Next capture (2023-09-08)

-=-=-=-=-=-=-

Commits

def47c8b04aacc2074e6f65d3b7ebeb65dee927c

Author: René Wagner <rwa@clttr.info>

Date: Wed Apr 12 11:09:52 2023 +0200

Patch

Message: use uppercase K for bookmark deletion

238663dab074de51a98d28228dd10a9bdecb7ce5

Author: René Wagner <rwa@clttr.info>

Date: Wed Feb 01 14:50:45 2023 +0100

Patch

Message: restore input display after sensitive input

dd49176d53c8db2aa599c72f5a81cea1ba56e009

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Thu Dec 15 21:55:16 2022 +0100

Patch

Message: gmnlm: treat invalid cert and cert mismatch similarly

gmnlm already allows overriding invalid cert error, so it makes little

sense not to allow the same for cert mismatch one. I have also reversed

the offered options for both to reflect the suggested course of action

and added a warning for invalid cert as the possibility of MitM is quite

similar to cert mismatch.

7e3f6b7fac896d9be72b65e337a5fdb321036920

Author: René Wagner <rwa@clttr.info>

Date: Thu Aug 18 20:10:25 2022 +0200

Patch

Message: fix usage of vars in do_prompts

b262fa7c52973a1f626f54e553be49de73706638

Author: René Wagner <rwa@clttr.info>

Date: Thu Aug 18 19:53:01 2022 +0200

Patch

Message: gmnlm: make ./ prefix mandatory for relative URLs

Interpreting everything that isn't a command as relative URL wasn't

very intuitive and lead to accidental commands or requests being made.

This commit aims to clearly separate relative URLs from commands, which

also allows us to add basic error reporting for commands.

The only exception that had to be made was in regards to /whatever URLs

as those are impossible to support without changing the search command.

patch by Ondƙej Fiala

b13f8a1d3d0c1c2fbb35523a6ca183b5d86e2718

Author: René Wagner <rwa@clttr.info>

Date: Mon Aug 15 19:36:28 2022 +0200

Patch

Message: formatting more like upstream

31ab29752c6bd7132df392353cfbe88ed97fd907

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Sat Jul 02 04:45:59 2022 +0200

Patch

Message: gmnlm: tidy up help message

07cb9779e4fb904e940880d477724626a268a452

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Sat Jul 02 12:36:51 2022 +0200

Patch

Message: gmnlm: update synopsis

d145754cf4cd3feea8e58a602b36323bbc8db0bb

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Sat Jul 02 06:59:16 2022 +0200

Patch

Message: gmnlm: prompt for redirects, make max redirects configurable

Redirects are currently the most reliable way of tracking users in

geminispace. To mitigate this, similar approach as used with server

certificates is adopted -- users are prompted by default, but this

can be easily overriden with a command line flag if convenience is

preferred to tracking-resistance.

c9cabb467f939bdc0482ba50e1bef970de1bfce6

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Fri Jul 01 05:51:00 2022 +0200

Patch

Message: gmnlm: don't assume everything starting with b/f is b/f command

It was impossible to enter a file:// URL because it got interpreted

as a 'f' command without any warning about invalid argument. The same

thing happened with relative addresses beginning with 'b' or 'f'.

1c641995e7b587dfa234a2311a47a8cb8b1c9857

Author: René Wagner <rwa@clttr.info>

Date: Fri Jul 01 11:12:00 2022 +0200

Patch

Message: formatting

668d4e6df92c1bd7540f99c635bef53ffe9a002f

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Wed Jun 22 05:39:18 2022 +0200

Patch

Message: gmnlm: save non-sensitive input requests in history

Currently, followup requests to both INPUT and SENSITIVE INPUT responses are

omitted from history. However, the intended use of INPUT is for searching, and

there is SENSITIVE INPUT for sensitive information, so omitting regular INPUT

from history doesn't make much sense and only makes searching annoying as one

needs to re-enter the query when going back.

51e0ff2d1cb166c642729bb0d813b29881d49597

Author: René Wagner <rwa@clttr.info>

Date: Sat May 28 16:17:07 2022 +0200

Patch

Message: fix may uninitiliazed tempfile buffer

7f9f23b53f7dc7eb739fd9af2f8ed1beb809e702

Author: René Wagner <rwa@clttr.info>

Date: Sat May 28 16:11:46 2022 +0200

Patch

Message: fix size of temporary buffer

3d1e56e24cc45422090c9457cb8afd84a2289761

Author: Sebastiano Tronto <sebastiano@tronto.net>

Date: Thu May 19 00:00:29 2022 +0200

Patch

Message: Add d[N] to download Nth link

I wanted to add an optional [N] to 'd' and '|' to download/pipe the

Nth link instead of the current page. After getting the first one done,

I found out that '|' already has this option, so I fixed the relative

help line without changing that command.

All in all I don't know how useful this patch is, considering that

'[N]|' was already there. Feel free to discard it and just keep the

documentation change.

Cheers!

b7c63e3e10ff2318e97c1a8f1e74e5632e2e6ca9

Author: Sebastian LaVine <mail@smlavine.com>

Date: Wed Apr 20 16:05:18 2022 -0400

Patch

Message: gmni: fix -d truncation

Previously, the last character of the provided input would not be read.

For example, `gmni -d termfmt gemini://godocs.io/-/search` would search

for "termfm".

1f8c45ce3f7f20c040cd24ab8be13d2c0898929c

Author: René Wagner <rwa@clttr.info>

Date: Fri Apr 01 18:32:33 2022 +0200

Patch

Message: switch program name and url in terminal title

b127d7439f97b8a0de617fd217cef9f71a314bc3

Author: René Wagner <rwa@clttr.info>

Date: Sat Mar 19 09:30:43 2022 +0100

Patch

Message: set the URL of the current page as terminal title

additional some small adjustments to help

e67e16b268f12eb7794012ebe9948bc6324efc61

Author: René Wagner <rwa@clttr.info>

Date: Mon Feb 07 20:49:01 2022 +0100

Patch

Message: restore current url after usage of t[N] command

fixes #24

81a48d48ed0129181607129cb4f21823a71cfe32

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Sat Feb 05 12:44:52 2022 +0100

Patch

Message: gmnlm: strip control sequences from plaintext rendering

72a763f208a7f1513d363002d1d62d5e1a15ba24

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Sat Feb 05 22:43:43 2022 +0100

Patch

Message: gmnlm: fix memory leak in do_requests

8634e67bd90234dfb357ce09dcaab86718cd6775

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Tue Jan 25 17:16:57 2022 +0100

Patch

Message: gmnlm: d <path> -> d [path]

The argument is optional, the 'd' command works without it.

379b2fd1d2f545d8b863b3930200900fce1cd326

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Fri Jan 14 15:57:55 2022 +0100

Patch

Message: fix null dereference

5d09ed3ce45ba338716b70731fff7e921688c67c

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Wed Jan 12 19:04:35 2022 +0100

Patch

Message: gmnlm: add optional custom bookmark titles

It is often useful to title a bookmark differently from how the page's

author titled it.

ba32ed8883ec6e8d03d10f1b4e2cc5afd16a4f14

Author: René Wagner <rwa@clttr.info>

Date: Tue Jan 11 16:30:12 2022 +0100

Patch

Message: Update 'README.md'

93271fdd3b2f7398e85a95078463bef2f398d6cc

Author: René Wagner <rwa@clttr.info>

Date: Tue Jan 11 16:28:56 2022 +0100

Patch

Message: Update 'README.md'

bf7d1834b811f69514ce9c1ffcce368a1ec24982

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Sun Jan 09 20:20:46 2022 +0100

Patch

Message: gmnlm: output newline when quiting via Control-D

It is common practice to quit programs reading from stdin by sending

EOF to their input. This commit ensures such an exit is functionally

equivalent to a regular exit via the 'q' command.

c35d3d5251bd71c968b70103daa0615b6773dc2a

Author: René Wagner <rwa@clttr.info>

Date: Thu Jan 06 17:05:25 2022 +0100

Patch

Message: Update 'doc/cgmnlm.scd'

f2f0e0f2c89423a351bfcc57a98a5d58e795e1bc

Author: Ondƙej Fiala <temp.xanomes@volny.cz>

Date: Mon Jan 03 13:13:49 2022 +0100

Patch

Message: gmnlm: update usage to match man page

deeea437efa87993473199605e95a068861c16aa

Author: René Wagner <rwa@clttr.info>

Date: Tue Dec 07 21:04:43 2021 +0100

Patch

Message: add backlink search via `l` command

closes #22

53a79a3295d8fa5c781ffa983bed22241327c779

Author: René Wagner <rwa@clttr.info>

Date: Thu Nov 11 18:22:02 2021 +0100

Patch

Message: spelling in help output

5a191dcc2afdf846730f384c7c26d7146b95c168

Author: René Wagner <rwa@clttr.info>

Date: Wed Nov 10 21:57:54 2021 +0100

Patch

Message: update README to match 1.1

2261437727f4e142424856f93bcd4c485c5e64d7

Author: René Wagner <rwa@clttr.info>

Date: Wed Nov 10 19:40:16 2021 +0100

Patch

Message: introduce a connection timeout of ~15 seconds

closes #18

e8da1ed7a88c05e28f6cb790d9a2cb80fe79879f

Author: René Wagner <rwa@clttr.info>

Date: Wed Nov 10 18:14:16 2021 +0100

Patch

Message: clear client certificate when none is required

Otherwise we end up using the client certificate

of a previous request and the current request will

fail with a SSL error 26.

dcacb540dde3405480da29e660adea1b29f5d066

Author: René Wagner <rwa@clttr.info>

Date: Wed Nov 03 16:54:07 2021 +0100

Patch

Message: use return value of tmpnam()

fbcc28fad8870439dcd8a038f31dcab05f3e3bc9

Author: René Wagner <rwa@clttr.info>

Date: Wed Nov 03 16:34:38 2021 +0100

Patch

Message: make download_resp() match upstream

c88e697b3309784e67a7b0d44423494fbda01774

Author: René Wagner <rwa@clttr.info>

Date: Mon Nov 01 19:34:40 2021 +0100

Patch

Message: use tmpnam() instead of mkstemp() for temp file names

closes #20

a40dfb562c3abfdf884f963fed337ce558c70c55

Author: René Wagner <rwa@clttr.info>

Date: Mon Nov 01 17:18:41 2021 +0100

Patch

Message: introduce -T param to automatically open files

Files downloaded to a tmpfile using the t[N] command

will automatically be sent to the default viewer when

this commandline param is set.

This requires xdg-open.

closes #21

2d7f75383cfca3b4076a889fc7c065e06d146609

Author: René Wagner <rwa@clttr.info>

Date: Mon Nov 01 11:50:23 2021 +0100

Patch

Message: allow ~ as home alias in file path for downloads

This works for gmni and gmnlm respectively.

6e3c8e48f98c008abda2bbf7a2bbdb8ea3988b18

Author: René Wagner <rwa@clttr.info>

Date: Mon Nov 01 09:24:40 2021 +0100

Patch

Message: fix warnings

4e73bec32786491b54ba3f2b1e93e6e28bd4f4be

Author: René Wagner <rwa@clttr.info>

Date: Mon Nov 01 09:11:29 2021 +0100

Patch

Message: fix maybe uninitialized warning

2fe9bafc5cb5da96adf9068505d79bfbe9a82e9a

Author: René Wagner <rwa@clttr.info>

Date: Sun Oct 31 22:17:06 2021 +0100

Patch

Message: allow ~ as home alias in file path for download

closes #1

e84d5c5ed7c675c97c8bb4d6c6e4d43e02d5e81b

Author: René Wagner <rwa@clttr.info>

Date: Sun Oct 31 19:41:51 2021 +0100

Patch

Message: unify behavior of p, e and t commands in cgmnlm

1798cac710b18d0f05cfb69b93e7c80fc73b3eef

Author: René Wagner <rwa@clttr.info>

Date: Sat Oct 30 11:15:07 2021 +0200

Patch

Message: use light magenta for alien-protocol links

872c98e12b39e85b20ea96f1ded794fcc0204164

Author: René Wagner <rwa@noreply@clttr.info>

Date: Fri Oct 29 21:53:35 2021 +0200

Patch

Message: add release aur package to readme

53a1f61fba4853220db28178a83ce41747058a2c

Author: René Wagner <rwagner@rw-net.de>

Date: Fri Oct 29 12:47:37 2021 +0200

Patch

Message: fix missing last line in gmnlm in some cases

closes ~sircmpwn/gmni#64

6029d6a8464d26d0b9e314dc1beecca799df8d6a

Author: René Wagner <rwagner@rw-net.de>

Date: Thu Oct 28 22:09:46 2021 +0200

Patch

Message: fix downloading of files

due to the wrong handling in download_resp() files may get

broken (last chunk missing) and file descriptors have not

been closed correctly.

Additionally we now allow downloading of local ressources

as well - for what its worth.

0fa1fb5d31c69cfb9d2cb3999d835cb7282e30a7

Author: Drew DeVault <sir@cmpwn.com>

Date: Tue Sep 21 16:13:54 2021 +0200

Patch

Message: Makefile: update dependencies in pkgconfig

3c63a64288f665a272974698d547bbca79769d5a

Author: René Wagner <rwa@clttr.info>

Date: Fri Jul 02 15:09:40 2021 +0200

Patch

Message: fix typo in error message when removing a bookmark

86b299819c86758f2b537c1de0475a2906f0a4d2

Author: René Wagner <rwa@clttr.info>

Date: Thu Jul 01 20:22:01 2021 +0200

Patch

Message: add hints to history for easier navigation

This commit adds simple hints in front of the URIs on the history

page to directly show what needs to be typed to jump to this page.

18ead2644a8c525d1d3bbc729d9ccd9aa7e0d63c

Author: René Wagner <rwa@clttr.info>

Date: Mon Jun 28 22:34:26 2021 +0200

Patch

Message: add 'u' command to navigate one path element up

4dd50ac07e82dfc1785f98a3535109e2d738029d

Author: k1nkreet <polyakovskiy.ilya@gmail.com>

Date: Tue Jun 15 19:37:56 2021 +0300

Patch

Message: gmni: headers are not displayed for REDIRECT and INPUT responses in SHOW_HEADERS and ONLY_HEADERS modes

I've noticed headers are not displayed in some cases with -i/-I

specified. For example:

echo "printf" | gmni -i gemini://drewdevault.com/cgi-bin/man.sh

Output: empty

echo "printf" | gmni -IL gemini://drewdevault.com/cgi-bin/man.sh -

Output: 10 Search for a POSIX man page

INPUT header is here, but no REDIRECT header appeared.

The reason is headers processing is done after responses dispatch. So

some responses (redirect and input) are processed and dropped before.

Patch makes this logic a bit clearer imho: print response header before

any processing if mode is not OMIT_HEADERS and then process response body if mode

is not ONLY_HEADERS. It also deduplicates header printing as a bonus.

7e4e43b05c298aa812027bf1921ce3f224e86bda

Author: Andrew <git@andrewzigerelli.com>

Date: Thu Jun 10 07:36:37 2021 -0400

Patch

Message: gmnlm: host freed too early, causing UAF

The host variable is freed too early. If a client certificate is not

found, the later error message in the

GEMINI_STATUS_CLASS_CLIENT_CERTIFICATE_REQUIRED case uses the freed host

variable to produce an incorrect openssl command. This fix just delays

the free to after the switch statement.

Test case:

gmnlm gemini://feeds.drewdevault.com

Prior:

The following OpenSSL command will generate a certificate for this host:

openssl req -x509 -newkey rsa:4096 \

-keyout /home/andrew/.local/share/gmni/certs/€Ú-=öU.key \

-out /home/andrew/.local/share/gmni/certs/€Ú-=öU.crt \

-days 36500 -nodes

Now:

The following OpenSSL command will generate a certificate for this host:

openssl req -x509 -newkey rsa:4096 \

-keyout /home/andrew/.local/share/gmni/certs/feeds.drewdevault.com.key \

-out /home/andrew/.local/share/gmni/certs/feeds.drewdevault.com.crt \

-days 36500 -nodes

4274b06fe4b2702af297cd0cee3d7871741899ec

Author: René Wagner <rwa@clttr.info>

Date: Fri May 21 21:54:15 2021 +0200

Patch

Message: README cosmetics

d06c4cda5c5538ea71401bbfb9ff0bb6657d8413

Author: René Wagner <rwagner@rw-net.de>

Date: Sat Apr 10 21:27:58 2021 +0200

Patch

Message: introduce -A param for default to alt text

c3aa884144bb173073c6b973835a266bae27bf1e

Author: René Wagner <rwagner@rw-net.de>

Date: Fri Apr 09 21:38:45 2021 +0200

Patch

Message: minor improvements in rendering alt text

b54a100d7156ea279641a9e779b7658c42300fe9

Author: Zach DeCook <zachdecook@librem.one>

Date: Fri Apr 02 09:31:00 2021 -0400

Patch

Message: gmnlm: Improve paging behavior on narrow terminals

8ddc99fdc336957d7565cd50e329da9cbe9e4de8

Author: Zach DeCook <zachdecook@librem.one>

Date: Fri Apr 02 09:31:01 2021 -0400

Patch

Message: gmnlm: Include blank line to frame browser window when reading more

801d9b8f13f6adef25fb14ec2e9acbc6dd4e92a9

Author: René Wagner <rwagner@rw-net.de>

Date: Thu Mar 25 20:19:46 2021 +0100

Patch

Message: allow toggling between preformatted and alt text

alt text is prefixed with A

preformatted text is prefixed with P

closes #13 #10

78cfe1b669fad6b7a3638d371ed9825e2ee53243

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Mar 16 00:07:27 2021 -0400

Patch

Message: all: use posix_dirname rather than dirname

dbc726616e6675ae82d9bb55be5693371255ed2f

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Mar 15 19:50:52 2021 +0100

Patch

Message: Merge branch 'bearssl'

479ea9e74f4b66645c0d7b51d99adf420d831f23

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Mar 09 17:22:19 2021 +0100

Patch

Message: add s command for searching in geminispace

d3afac098e2bf0a4ed9fad89f6a748f6288ae3bc

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Mar 01 20:27:05 2021 +0100

Patch

Message: add search engine to default bookmark

e7b2013160db902df5b833ff2e49eaff90807514

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Mar 01 20:24:24 2021 +0100

Patch

Message: keep 4 char border an right side

100759a7d796f4e486a89b65b3ca491c1141056f

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Feb 23 07:56:32 2021 +0100

Patch

Message: fix display of message on TOFU_FINGERPRINT_MISMATCH

Previously the message was never displayed to users

leaving them with a simple "Error: certificate is untrusted".

This also fixes the display of line numbers in the message.

8cac260a4b7c0b4df4d1229a5e41e64c3a687173

Author: René Wagner <rwagner@rw-net.de>

Date: Sun Feb 07 11:17:45 2021 +0100

Patch

Message: 'e' command without [N] sends current URL to external

closes #6

26666e7838fd40ca7d6f20af7e0cb554ff8bb0f0

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Feb 01 17:11:12 2021 +0100

Patch

Message: fix wrong uri scheme

f8f6c5a12beeaa4ad614cc349a04e2984c06c83b

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Feb 01 17:11:12 2021 +0100

Patch

Message: fix wrong uri scheme

22a28fa92755b49254cac144894be1fdb917a6a3

Author: René Wagner <rwagner@rw-net.de>

Date: Sun Jan 31 17:41:11 2021 +0100

Patch

Message: jump more than one entry back or forth in history

by giving an optional number to b & f commands.

The default behaviour of b & f commands has not

been changed.

e299aec4a10ba3aaf01c50263cbcabe8d39a5214

Author: René Wagner <rwagner@rw-net.de>

Date: Sun Jan 24 21:00:18 2021 +0100

Patch

Message: revert kay binding modification

we'd stay close to upstream if possible

9a195d92566b5790b2b7d3ca848987a095bf3d9c

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Jan 19 15:21:31 2021 +0100

Patch

Message: fix indentation on help output

1cfe0e794936cc51b9306327634a35f1c443643f

Author: Giuseppe Lumia <g.lumia@outlook.com>

Date: Mon Jan 18 21:26:48 2021 +0100

Patch

Message: Fix incorrectly missing -g flag

On systems using dsymutil the check for the "-g" flag was failing not

because the compiler didn't provide it but because of `/dev/null`

being used as output file.

dde8799e758b1e6c3985492a8205c189d4d47b9c

Author: René Wagner <rwagner@rw-net.de>

Date: Sun Jan 10 16:54:10 2021 +0100

Patch

Message: implement s command to remove bookmark for current page

It will remove all lines from the bookmark file that

match the URL of the current page viewed in the browser.

9ef33fb102426d0bf56e93ceebcd81eb24171a9e

Author: René Wagner <rwagner@rw-net.de>

Date: Fri Jan 08 21:46:27 2021 +0100

Patch

Message: minor rendering adjustments

0ed7a4527c967ce3f14909923277cf62624f0900

Author: Giuseppe Lumia <g.lumia@outlook.com>

Date: Thu Jan 07 09:15:33 2021 +0100

Patch

Message: Fix OpenBSD compilation errors

Those changes fix the following compilation errors on OpenBSD:

src/tofu.c:128:28: error: format specifies type 'long' but the argument has type

'time_t' (aka 'long long') [-Werror,-Wformat]

"SHA-512", fingerprint, expires);

src/gmnlm.c:341:31: error: missing sentinel in function call

[-Werror,-Wsentinel]

execlp("sh", "sh", "-c", cmd);

^

, NULL

6d2f78eeded101ccd755b1b2be16105fe5af881d

Author: René Wagner <rwagner@rw-net.de>

Date: Thu Jan 07 19:28:43 2021 +0100

Patch

Message: keep source names for easier downstreaming patches

a6e0326291eee1e1f8ee723ac1e8467ed0561e86

Author: René Wagner <rwagner@rw-net.de>

Date: Wed Jan 06 20:50:43 2021 +0100

Patch

Message: different colors for local and remote gemini links

1da4ff928a44f590e2c72cda1dcb4b097845cbc3

Author: René Wagner <rwa@src.clttr.info>

Date: Wed Jan 06 19:50:24 2021 +0100

Patch

Message: Update 'README.md'

c8041a15ac7d36ecc2e1c34dcaa14c51e62de788

Author: René Wagner <rwagner@rw-net.de>

Date: Wed Jan 06 19:36:39 2021 +0100

Patch

Message: t[N] command

t[N] downloads the content behind Nth link to

a tempfile in /tmp/

closes #2

4c0f931d6688d06df2e22d001182f6fa1b776fab

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Jan 05 20:17:06 2021 +0100

Patch

Message: implement e[N] command

this command sends the URI of Nth link to `xdg-open` to open

the assoziated default program and pass the URI.

b39e196040623a80bf9f1a0a05c3da8523e26ee3

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Jan 05 19:16:06 2021 +0100

Patch

Message: use light-gray for quotes

3270a74590d4bfbbc9ae1fdc4c1d36eed943844f

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Jan 05 17:45:56 2021 +0100

Patch

Message: preserve all bytes except spaces when wrapping

When wrapping the new line should not start with a space.

All other bytes must be preserved to avoid breaking unicode chars.

fix for ~sircmpwn/gmni#21

320676ca5bc1980c96f5e4bc14240a741be8f3be

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Jan 04 20:33:37 2021 +0100

Patch

Message: update .gitignore

cc3f9a5eea25ad350039d7e552bec944b3a121b0

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Jan 04 19:07:12 2021 +0100

Patch

Message: use different colors for gemini and other links

3ce02e5183da68e017b572265d68f19fef59043c

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Jan 04 19:05:25 2021 +0100

Patch

Message: rename to cgmnlm

0513b91be1173b1ed43a0f1d28cf502a81267185

Author: René Wagner <rwagner@rw-net.de>

Date: Mon Jan 04 13:08:11 2021 +0100

Patch

Message: fix premature line wraps

caused by multibyte unicode characters.

During column count unicode continuation bytes

are not counted as columns.

71ececc4f264eed36f022b4b52c9100b9e7b1b12

Author: René Wagner <rwagner@rw-net.de>

Date: Fri Jan 01 12:41:02 2021 +0100

Patch

Message: add [N]| command to help

ae43b9190e1a18796222b94ec1e78b35f5826964

Author: René Wagner <rwagner@rw-net.de>

Date: Wed Dec 23 18:06:50 2020 +0100

Patch

Message: add coloring of headings and links

modify indenting of gemtext lines to always

indent 4 chars

c0c891f87b101db98c589da9a60e4a39bf048f0d

Author: René Wagner <rwagner@rw-net.de>

Date: Wed Dec 23 17:04:46 2020 +0100

Patch

Message: add 2 empty lines on top for better readability

84da4b3f2b95bead2c1609eb572a2369576eae77

Author: René Wagner <rwagner@rw-net.de>

Date: Wed Dec 23 16:27:06 2020 +0100

Patch

Message: modify keybindings

f5d540bc5d0112895376aebe6bf54adb32545d6e

Author: Eyal Sawady <ecs@d2evs.net>

Date: Mon Nov 30 19:44:59 2020 -0500

Patch

Message: Implement <n>| command

d8f0870446c471a42612d6a8e853ad9b723a6d39

Author: Alexey Yerin <yerinalexey98fd@gmail.com>

Date: Sun Nov 22 20:52:48 2020 +0300

Patch

Message: Refactor gmni to use Curl_URL

This also fixes relative redirects.

Signed-off-by: Alexey Yerin <yerinalexey98fd@gmail.com>

8a83030e5a390c2151c485b3c091ba28ddebcab7

Author: William Casarin <jb55@jb55.com>

Date: Fri Nov 20 08:15:25 2020 -0800

Patch

Message: Fix more strncpy bugs in gmnlm and tofu

From gcc 9.3.0:

error: '__builtin_strncpy' specified bound 4097 equals destination size

[-Werror=stringop-truncation]

Signed-off-by: William Casarin <jb55@jb55.com>

8970adc23e0a1bcf29d211f353dbd5ebd68cfe66

Author: Tommy Nguyen <remyabel@gmail.com>

Date: Wed Nov 18 04:44:06 2020 -0500

Patch

Message: Fix typo in error message.

cb63b8ddf093711607ff98e933d4bd04154a854b

Author: Giuseppe Lumia <g.lumia@outlook.com>

Date: Wed Nov 11 23:52:03 2020 +0100

Patch

Message: Fix bug on mkdirs calls

On some systems dirname uses a static string for its return value, so

we were calling mkdirs recursively on a string that was continuosly changing.

A check was also added after the `snprintf` to make sure there's no

information loss since there is no limit to the length of the string

returned by `get_data_pathfmt`.

Closes #48.

ec88f4558c48b3eece906143867dfba6d81e5e49

Author: William Casarin <jb55@jb55.com>

Date: Sat Nov 07 14:58:32 2020 -0800

Patch

Message: gmnlm: fix a few strncpy compile errors on gcc 9.3

In file included from .../include/string.h:495,

from src/gmnlm.c:11:

In function ‘strncpy’,

inlined from ‘do_prompts’ at src/gmnlm.c:627:3:

...glibc-2.31-dev/include/bits/string_fortified.h:106:10:

error: ‘__builtin_strncpy’ specified bound 1024 equals

destination size [-Werror=stringop-truncation]

return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In function ‘strncpy’,

inlined from ‘do_prompts’ at src/gmnlm.c:612:3:

...glibc-2.31-dev/include/bits/string_fortified.h:106:10:

error: ‘__builtin_strncpy’ specified bound 1024 equals destination size

[-Werror=stringop-truncation]

return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: William Casarin <jb55@jb55.com>

ab66dd2be92931bef04cbccdb3aa008615bd8eba

Author: Giuseppe Lumia <g.lumia@outlook.com>

Date: Sat Nov 07 01:23:06 2020 +0100

Patch

Message: Simplify posix_dirname logic

dirname has two main problems:

1. It could change in place the string that is passed to it.

2. It uses a static string for its return value, so one should copy it

somewhere else as soon as possible to avoid subsequent calls to

dirname to corrupt his data (see #48).

We avoid 1. passing a copy of `path` to dirname and 2. copying it's

return value into `dname`.

4a6172f1bf9cb41eb1ce3a5f720f9ebe4febc62b

Author: Giuseppe Lumia <g.lumia@outlook.com>

Date: Wed Nov 04 09:08:45 2020 +0100

Patch

Message: Remove -D option from install commands

The '-D' option of `install` is not implemented on some systems that

don't use GNU install. Its uses were replaced with `mkdir -p` commands

to eventually provide the missing folders.

1a747cb6c2765ee818506c886bad4ed36b2b9d51

Author: Giuseppe Lumia <g.lumia@outlook.com>

Date: Wed Nov 04 09:08:43 2020 +0100

Patch

Message: Fix install in case of missing docs compilation

Install on systems without `scdoc` was broken because `make install` was

attempting to install missing files.

61af57e302efd90458e17fa9f0bfaf5b3828954f

Author: René Wagner <rwagner@rw-net.de>

Date: Tue Nov 03 10:06:13 2020 +0100

Patch

Message: fix typo in PERMANENT FAILURE response

021d8f8fdfcb9be636a73d7c59d540d8255cc0df

Author: Jon Higgs <jon.higgs@redbubble.com>

Date: Tue Nov 03 08:37:21 2020 +1100

Patch

Message: Improve the -j usage

4134dc1b4a37b65f8176d799f03342583b49d932

Author: Alexandre Oliveira <eu@aoalmeida.com>

Date: Mon Nov 02 19:37:26 2020 +0100

Patch

Message: Check if pkg-config is valid before checking for libs

c036a43801d60b620262687e4bb6d98f97e23dbd

Author: Connor Kuehl <cipkuehl@gmail.com>

Date: Sat Oct 31 17:51:39 2020 -0500

Patch

Message: Initialize result if res != GEMINI_OK

My compiler barks about this unitialized variable:

CC src/gmnlm.o

src/gmnlm.c:629:7: error: variable 'result' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]

if (res != GEMINI_OK) {

^~~~~~~~~~~~~~~~

src/gmnlm.c:673:9: note: uninitialized use occurs here

return result;

^~~~~~

src/gmnlm.c:629:3: note: remove the 'if' if its condition is always false

if (res != GEMINI_OK) {

^~~~~~~~~~~~~~~~~~~~~~~

src/gmnlm.c:482:2: note: variable 'result' is declared here

enum prompt_result result;

^

1 error generated.

make: *** [src/gmnlm.o] Error 1

514cb373019e94f743424b2813602722ca09b917

Author: Joe Jenne <joe@jhjn.xyz>

Date: Thu Oct 29 22:54:27 2020 +0000

Patch

Message: Fix const comparison Werror

75087ce65f54c86d44ce13bb63e1041226a53f7b

Author: CĂ©dric Hannotier <cedric.hannotier@ulb.be>

Date: Thu Oct 29 22:59:55 2020 +0100

Patch

Message: {var//pattern/replacement} is not POSIX compliant

ac86b2f9fece0e39be57b81e02cb9946a10df570

Author: CĂ©dric Hannotier <cedric.hannotier@ulb.be>

Date: Thu Oct 29 22:57:54 2020 +0100

Patch

Message: Separate path and read buffers & use snprintf

b64d3d5ac9121bd3c5df1c48defe5fdc209e467d

Author: Luna Nieves <aicaya@posteo.net>

Date: Thu Oct 29 00:03:01 2020 -0400

Patch

Message: Add uninstall target

ce1a524642e25da8a66a18797e9afc8f54f20903

Author: Martijn Braam <martijn@brixit.nl>

Date: Sat Oct 24 23:37:45 2020 +0200

Patch

Message: Added missing filename in install

8d897e4a00be9986209f1ca394ed46befadf6088

Author: Eyal Sawady <ecs@d2evs.net>

Date: Sat Oct 24 14:04:50 2020 -0400

Patch

Message: Remove -fPIC

Breaks compilation under cproc and isn't necessary for static libraries.

f6643cf1b5ecbdd030420fb504ae2edcb9102410

Author: Eyal Sawady <ecs@d2evs.net>

Date: Sat Oct 24 13:55:33 2020 -0400

Patch

Message: Re-add public headers

122fb0a9fd5456e3b1fd9f084130df85c859394b

Author: Martijn Braam <martijn@brixit.nl>

Date: Sat Oct 24 19:40:39 2020 +0200

Patch

Message: Add static library for gmni

49c0c523c69842f8ebc33135947591cf6f7a7cab

Author: Drew DeVault <sir@cmpwn.com>

Date: Sat Oct 24 11:05:17 2020 -0400

Patch

Message: Fix possibly uninitialized variable

afab58cb64f205ce9f469a328a7477b808b0c76c

Author: Eyal Sawady <ecs@d2evs.net>

Date: Wed Oct 21 10:15:07 2020 -0400

Patch

Message: Fix plaintext display

fc6d4a6f69e305627d06955da27b8e8c4c5af6e0

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Oct 20 12:55:40 2020 -0400

Patch

Message: Add '|' to pipe page into an external program

fa78663748958eebb442f03d0406f42f6190522a

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Oct 20 12:55:39 2020 -0400

Patch

Message: Add 'd' to download page

9ddd5c16dae4b556c7aeac88c219568c479d87f2

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Oct 20 12:55:38 2020 -0400

Patch

Message: gmnlm: separate do_requests and display_response

e1d4e9a07ec31664e61aa72ac9a6f7ab2efea6b9

Author: Chris Vittal <chris@vittal.dev>

Date: Wed Oct 07 00:35:50 2020 -0400

Patch

Message: Remove gemlm with make clean

40308b8b0bd7e15d0f6e2971b901a9c09a4bc681

Author: Callum Brown <callum@calcuode.com>

Date: Tue Oct 06 17:53:56 2020 +0100

Patch

Message: gmnlm: Fix segfault when local file does not exist

7619edcd116385414b55764a3401a0c66c04da79

Author: Eyal Sawady <ecs@d2evs.net>

Date: Mon Oct 05 14:42:46 2020 -0400

Patch

Message: Display last line when it doesn't end in a newline

a5eae7ea6b35f7b2540fefdf4613a86916f0a0b0

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Sep 29 01:45:40 2020 -0400

Patch

Message: gmnlm: open_bookmarks: call mkdirs

4b7fba261a70bd37e160a7304d454c72c1f75b69

Author: Callum Brown <callum@calcuode.com>

Date: Wed Sep 30 14:36:13 2020 +0100

Patch

Message: Fix untrusted certificate message

5d3ae7b7f52ba83428ba8d728712e8c1710b2ea0

Author: Kevin Sangeelee <kevin@susa.net>

Date: Tue Sep 29 22:49:11 2020 +0100

Patch

Message: Init known_hosts prior to fopen to avoid segfault.

d84ee77e249eae11c4b240294c6d37851f1ba11f

Author: Drew DeVault <sir@cmpwn.com>

Date: Tue Sep 29 13:19:18 2020 -0400

Patch

Message: gmnlm: add -W option

90995e834f2e87427f2f4bddf26a93258b45aa31

Author: Eyal Sawady <ecs@d2evs.net>

Date: Mon Sep 28 23:42:57 2020 -0400

Patch

Message: gmnlm: show URL on untrusted cert

dcc0484a8c238acdbe988a898cf2deeac4f34ae5

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 18:06:51 2020 -0400

Patch

Message: Fix truncated hashes in known_hosts

8c473eda5e4c6537058d0ff1815f2943e7b41498

Author: Eyal Sawady <ecs@d2evs.net>

Date: Fri Sep 25 12:28:21 2020 -0400

Patch

Message: Add 'i' to show media type parameters

Also don't show media type parameters in prompt

0b5c37d2e65a46fe8e4a49c2f00cb6228fad59e3

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 13:32:55 2020 -0400

Patch

Message: Further improvement to quote display

60496bae0cbda1162ae00bc6f6f4047ba9c7d86f

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 13:25:40 2020 -0400

Patch

Message: Improve display of preformatted & quotes

b4fc0c0993229b8fc8242e314e701f33a8102688

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 11:54:32 2020 -0400

Patch

Message: tofu.c: clarify reuse warning

ce1ef1abde0d5519e0464f9326edea01b73a845f

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 11:40:49 2020 -0400

Patch

Message: TOFU: verify hostnames

77de1bb2a84e0980d23b7fc2dda1480a1093ca21

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 10:36:09 2020 -0400

Patch

Message: Revert "gmnlm: p: require whitespace before link number"

This reverts commit 963700d8d6e31aecfc14e12184637f4c3360f6ed.

Let's make the p command consistent with the others and tell users who

want to navigate to a relative URL unambiguosly to use ./page

4e61e266076fbda20cbf268300e7f645669c7062

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 27 08:51:09 2020 -0400

Patch

Message: gmni: improve unknown trust message

b298fadb216bfbac8c84e05363e508b3b3a314a5

Author: Drew DeVault <sir@cmpwn.com>

Date: Sat Sep 26 16:59:06 2020 -0400

Patch

Message: Fix segfault on connection refused

0eaf9cc109a99d6efb0d9c763291f6a5d9e74391

Author: Drew DeVault <sir@cmpwn.com>

Date: Sat Sep 26 13:13:41 2020 -0400

Patch

Message: TOFU: use ~/.local/share/gemini/known_hosts

The rest of gmni's stuff will remain in ~/.local/share/gmni, but in

order to establish a common location and format for the TOFU file

between Gemini implementations, a more general path is required.

8bb1d81f539f1e223e8fcd79e2d18f58e3c9d28f

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 15:32:16 2020 -0400

Patch

Message: gmnlm: handle CRLF line endings

Bare CRs are still printed as '.'.

Fixes https://todo.sr.ht/~sircmpwn/gmni/25

963700d8d6e31aecfc14e12184637f4c3360f6ed

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 14:56:46 2020 -0400

Patch

Message: gmnlm: p: require whitespace before link number

In order to allow users to navigate to relative URLs starting with 'p'.

5ad3f0aaccbcf328756d0eaad0e98068587395d1

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 14:49:16 2020 -0400

Patch

Message: gmnlm: open bookmarks if started without URL

b050b9e467589561b1203f99e9f58c990c824b1a

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 14:28:24 2020 -0400

Patch

Message: gmnlm: return to previous page on empty input

689fb8b470f19fb83ee1e32efe64b42d6961630c

Author: Charles E. Lehner <cel@celehner.com>

Date: Thu Sep 24 11:44:57 2020 -0400

Patch

Message: Close fd after freeing SSL

BIO_free_all may trigger write to close the SSL connection

59d19b9894083cecafc4439f7df1031bd6cefb01

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 11:35:15 2020 -0400

Patch

Message: Fix bookmark save/open

Fix a segfault on bookmark save and a memory leak on bookmark open.

f80e4037c21c87b11b7b4bfefba5d33a0fcc1ea6

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 02:09:39 2020 -0400

Patch

Message: Add 'r' to reload

5fd43e8d02ffea38b5e4a3531e366f2b9b510201

Author: Eyal Sawady <ecs@d2evs.net>

Date: Thu Sep 24 01:52:23 2020 -0400

Patch

Message: gmni: use stdio to write body

Fixes https://todo.sr.ht/~sircmpwn/gmni/22

d754f34e7eb5f700b6de13c6c4692837d0a123f4

Author: Eyal Sawady <ecs@d2evs.net>

Date: Wed Sep 23 20:12:41 2020 -0400

Patch

Message: config.sh: add args for install directories

0a03e6dadf7c30cea1fb388a9e5386a00c853dbb

Author: Eyal Sawady <ecs@d2evs.net>

Date: Wed Sep 23 18:57:46 2020 -0400

Patch

Message: Fix a bug causing some text to be duplicated

For example:

$ gmnlm gemini://gemini.circumlunar.space

[...]

11) A lissper.strangled.net/mirrorlist/ A lisssources

t of mirrored services

[...]

174fbd5d09bc13212fc1edc0cd1d3fa2400a8b7e

Author: Eyal Sawady <ecs@d2evs.net>

Date: Wed Sep 23 12:50:25 2020 -0400

Patch

Message: Fix memory leaks

0976b0e44655163a34d1b53e62a348cbf4335940

Author: Drew DeVault <sir@cmpwn.com>

Date: Wed Sep 23 12:55:12 2020 -0400

Patch

Message: Fix search command

9f98e013a6cd966cf4dc2d98187d6f0ba6f7fb5c

Author: Drew DeVault <sir@cmpwn.com>

Date: Wed Sep 23 10:20:32 2020 -0400

Patch

Message: config.sh: remove project-specific code

Or reduce, really. Just makes this script easier to re-use elsewhere.

9551d0a3822312a0a4917ccbe80fdaeb49954d70

Author: Arav K <nothien@uber.space>

Date: Tue Sep 22 14:10:56 2020 +0100

Patch

Message: Add 'p' to view link URL without visiting

Answers https://todo.sr.ht/~sircmpwn/gmni/13 by adding a 'p' command

that, when given a (valid) link number, provides the URL that that link

leads to.

be0cf0dfd1e83a1ba4f6b27fb9464c4e95d10752

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Sep 22 19:24:26 2020 -0400

Patch

Message: Makefile: clean: remove objects

b25b4576e3fd889b3edadb51ff9a387ef0bae653

Author: Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>

Date: Tue Sep 22 13:39:03 2020 +0200

Patch

Message: Correctly abort when launched with invalid URL

The return value of set_url() was not checked, meaning that when it

failed, gmnlm continued anyway, causing an assertion to fail and

subsequentially resulting in a segfault.

60cf41e7dd66897e6987704921b6cd57da1f084f

Author: Arav K <nothien@uber.space>

Date: Tue Sep 22 10:20:39 2020 +0100

Patch

Message: Add 'H' to view all page history

This adds a command, 'H', to view all the URLs in the page history. It

first prints backward URLs, then the current URL (marked with an

asterisk), followed by forward URLs.

39339c348f593bda9ca0a556affa38cd5e15138c

Author: Drew DeVault <sir@cmpwn.com>

Date: Mon Sep 21 22:22:18 2020 -0400

Patch

Message: Fix issues with tofu.c

d6777ec2788f9ece56a6201fb091dba4a15f739a

Author: Eyal Sawady <ecs@d2evs.net>

Date: Mon Sep 21 22:21:45 2020 -0400

Patch

Message: gemini_response_finish: handle null ssl connection

e80d852a1ba62c8877dab40324ac90a14a0b7eea

Author: Eyal Sawady <ecs@d2evs.net>

Date: Mon Sep 21 19:17:01 2020 -0400

Patch

Message: Makefile: silence gmni CCLD command

02f6af661513683f0c6c1465c5ff1dd8f03a30c9

Author: Drew DeVault <sir@cmpwn.com>

Date: Mon Sep 21 15:37:24 2020 -0400

Patch

Message: Implement TOFU

30660fc160a15504274d40d4a5ec1b31539f8c2f

Author: Charles E. Lehner <cel@celehner.com>

Date: Mon Sep 21 09:17:47 2020 -0400

Patch

Message: Link with libraries before objects

c7592c6a5c2ff7b390af89f297d5c9e1c34c9414

Author: Eyal Sawady <ecs@d2evs.net>

Date: Mon Sep 21 00:09:47 2020 -0400

Patch

Message: save_bookmark: fix bookmark file creation

eb2873b2ebe1f436d8fb4cd7c336889ad0ddddfd

Author: Drew DeVault <sir@cmpwn.com>

Date: Mon Sep 21 07:56:20 2020 -0400

Patch

Message: gmnlm.c: add limits.h

Supposedly fixes OpenBSD

2e9d3c0bab8e7df635a8f0968f04fe9b1e2d979c

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 23:52:18 2020 -0400

Patch

Message: Update README.md

601f9008863af571980c1cd39920483d59cfbfb4

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 23:50:50 2020 -0400

Patch

Message: Implement bookmarks

852bc7198f9d1d838d76d74a006cc2a2e63e4f1c

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 23:33:32 2020 -0400

Patch

Message: Implement file:// URLs

d5936353392a17ae6bac3303d506a7e79855da2d

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 23:13:30 2020 -0400

Patch

Message: Swap quote character to >

4c12342bcad95cdc44f9107161429524226a2d37

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:38:31 2020 -0400

Patch

Message: README.md: use newer asciinema link

6f36d2a0fc5de0a9d25229c47c75481f47f32c87

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:37:44 2020 -0400

Patch

Message: gmnlm: add install target & man page

144693a3d001a436abaa37f11b1c1c2bdf88c813

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:34:27 2020 -0400

Patch

Message: Fix segfault moving to next result outside search

5799323f4c92181a3446a729366b230456e93c81

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:28:45 2020 -0400

Patch

Message: Implement preformatted text

59d43726bb18a1e240a7188b3dd33af5876a126e

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:20:38 2020 -0400

Patch

Message: Fix segfault on name resolution errors

bb696e6e2823d38bf6ad2f5106f3808555c48b18

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:11:13 2020 -0400

Patch

Message: Correct oversight which broke link following

f4a4be2513580809c01212a08a5284f9cf16ad5f

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 22:09:26 2020 -0400

Patch

Message: Implement regex-based page search

28283bda98accf122b6424ac611fd4ff25dedbc9

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 21:53:08 2020 -0400

Patch

Message: Remove unnecessary TODO

There is no line length limit and authors are strongly discouraged from

hard-wrapping by the specification.

05cc8b85cdf731ea3a664b6099aad04f22bbca6c

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 21:42:27 2020 -0400

Patch

Message: Add help message

d2fa1b4567aa841020f4d4bbdb1298b310534c98

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 21:35:05 2020 -0400

Patch

Message: Allow user to navigate by typing in URL

1c9a6e6a35448b76063f16b0f6aaaf8d43ebee9a

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 21:29:40 2020 -0400

Patch

Message: Show [b]ack and [f]orward prompts contextually

46b5d74576ffce397c83ac53ebfacb25e1cdc851

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 21:22:40 2020 -0400

Patch

Message: Expand wrapping to all token types

fed9c0561947126442fbb32e3437922dcc467ef1

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 21:02:17 2020 -0400

Patch

Message: Whitelist control sequences in wrap()

9bd1a7457ea58ddd568fdbe46a1155c28424e8be

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:57:26 2020 -0400

Patch

Message: Remove obsolete TODO

a61a75f837239bed3aa74331699d301fb93d9da8

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:52:18 2020 -0400

Patch

Message: Implement basic word wrapping

e1d9773742b9832a87e912b44d4ad9e2e34364ef

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:42:46 2020 -0400

Patch

Message: Indent # and ## to line up with text

678bff58ed32e77c9af90a5d8fc7b1f3c38af86c

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:13:22 2020 -0400

Patch

Message: Improve links

Removing the leading [ makes links 0-9 line up with the text body, which

is nice.

d0acd0f4d08a0d5e8f6c729f53de2f381b270202

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:11:48 2020 -0400

Patch

Message: Add reduced-unicode mode

84df94447cdb081ec305a5ba9d2b0ef89dd34fc3

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:07:48 2020 -0400

Patch

Message: Scale down image

c414388c0f2c020c0e22d53f6df577e1fbeb32fc

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:05:44 2020 -0400

Patch

Message: README.md: add link to asciinema

563922a7e2da77b3973dcf707854121932ca244e

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 20:01:31 2020 -0400

Patch

Message: Merge normal mode & pagination prompts

b90888e71878eea7727cd507503198d134d91ab7

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:58:34 2020 -0400

Patch

Message: README.md: add gmnlm

211b8c3dd36a950132efa5ba4e2f0172a42bb6bc

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:40:42 2020 -0400

Patch

Message: gmnlm: Implement input responses

1808e6cd1880d3c08abb0ddfa19044afada925dd

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:40:27 2020 -0400

Patch

Message: Don't + encode spaces in URLs

4b2437b17e00d61da9356ac96bb38a8043c66fca

Author: Eyal Sawady <ecs@d2evs.net>

Date: Sun Sep 20 19:24:43 2020 -0400

Patch

Message: .gitignore: update

5a955c5f241b87018dfb0cda6872dc7ae2784222

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:33:43 2020 -0400

Patch

Message: gmnlm: refactor

dcc2b34d434d8e0f695e43a1f775759846e60417

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:14:47 2020 -0400

Patch

Message: gmnlm: implement redirects

ea595cdb2ba9d1e443c7ccdccf3842e49e7162a8

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:09:55 2020 -0400

Patch

Message: gmnlm: display plaintext files

3547fd11d57da5c7aa610366d54eef3b47d0b1a4

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 19:01:14 2020 -0400

Patch

Message: Implement history

7a099135cd9dae483679cf51a4b630a5dd64c74e

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 18:41:30 2020 -0400

Patch

Message: gmnlm: implement link following

01567e578c9632960903e1f56dd2086547806da3

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 18:31:33 2020 -0400

Patch

Message: Initial work for line-mode browser

48d0feed6d097c54662a7f231c7bc4704837f023

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 17:47:14 2020 -0400

Patch

Message: Initial pass on text/gemini parser

33495e8dd86139cafade2888227e37b1572d18ea

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 16:47:19 2020 -0400

Patch

Message: Detect attempts to use non-gemini URLs

05d112b7d347b737bdac503ea05292db3347f2a8

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 16:44:43 2020 -0400

Patch

Message: Prohibit >5 redirects

7c453fb45f831ce9178799af9855ecb0bda518ea

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 16:41:05 2020 -0400

Patch

Message: Implement SENSITIVE INPUT response

95518992983e6531106b48c82edeb0ce825bf351

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 16:32:01 2020 -0400

Patch

Message: Add response status enum

02c2be62daceb04e4891d415c997dd64db84b9d9

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 15:14:54 2020 -0400

Patch

Message: assert(url) after setting input URL

eb6a4e9740237bd1bd71c115476e187520a2fc8c

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 15:14:04 2020 -0400

Patch

Message: Set SOCK_STREAM regardless of hints

73f5a5bc2b97fb36ded8feb36828d598d6e9fed3

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 15:10:45 2020 -0400

Patch

Message: client.h: clarify some constraints

37396a375a68868490342e16140e67287445be17

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:55:33 2020 -0400

Patch

Message: Add make install target

207a72012ef69de654a78e18d28182ecde1326e2

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:51:25 2020 -0400

Patch

Message: Rename binary from gmnic -> gmni

a3d5169d71f181efaa59a619e7362911a6c048b7

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:49:57 2020 -0400

Patch

Message: Add README.md

b136eea98a33ffcaf2d965e907dd6799078d2110

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:44:30 2020 -0400

Patch

Message: Add man page

c08e934c449c7a030fb1ebacd3166820b23faeb3

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:41:03 2020 -0400

Patch

Message: Change -C to -E for client certificates

More consistent with curl

262ccc2005617eb633f5b3ba434ee26f8000e0a8

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:37:43 2020 -0400

Patch

Message: Suppress trailing newline if stdout is not a TTY

2e593cd48bd5e1f90fcbb54b83955752cd392466

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:25:42 2020 -0400

Patch

Message: config.sh: drop unused LIBSSL variable

eb01fde6007ea86b61227f690f8ee7ff0047bfeb

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:21:03 2020 -0400

Patch

Message: Implement -4 and -6

To force IPv4 and IPv6 respectively.

fd914b3aa40d63eb7fb2aafb1f6a30c1f78ee92f

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:18:40 2020 -0400

Patch

Message: Implement -L flag (follow redirects)

ee6fe47e44bfb40cd92d6668e85fd893df3a12b8

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:18:26 2020 -0400

Patch

Message: Correct trailing line feed detection

4bc55aaa138171db365377db0624c3ce0d878257

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:13:18 2020 -0400

Patch

Message: Print line feed on text/* response if not included

Adds -l flag to suppress this behavior

78eb57cad45aa27e83d3a5e78be0bb5ce4d631f7

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 14:09:45 2020 -0400

Patch

Message: Implement input

9b1a618b4211a029c352c72f6d273e3085c8457d

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 13:30:28 2020 -0400

Patch

Message: Implement reading response body & meta

abcb9caf86020a7cdd9f502fe01eb5db3c70c685

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 13:06:34 2020 -0400

Patch

Message: Initial request riggings

ccec255833fa27789ffb75551b29528b10f8c62a

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Sep 20 10:17:39 2020 -0400

Patch

Message: Initial commit

3dd06ab4813b6c8f4992e19fce9d4b094fd3a1a9

Author: Eyal Sawady <ecs@d2evs.net>

Date: Tue Mar 09 05:21:59 2021 -0500

Patch

Message: gmnlm: create cert dir on 6x response

So that the OpenSSL command doesn't fail when the cert dir hasn't

already been created.

d371589381e57835d37796f1d349638b806e43b4

Author: Drew DeVault <sir@cmpwn.com>

Date: Sun Mar 07 12:21:15 2021 -0500

Patch

Message: Always take the last cert, CA or not

ffc89b6cf01e8b68232b3de3f001d2e635936dfa

Author: Drew DeVault <sir@cmpwn.com>

Date: Fri Mar 05 08:50:50 2021 -0500

Patch

Message: Implement basic client certs for gmnlm

955f7524b955e19bc89c6e9f76f3f3ecfb7bfb58

Author: Drew DeVault <sir@cmpwn.com>

Date: Thu Mar 04 17:24:57 2021 -0500

Patch

Message: Initial support for client side certificates

This is only supported with gmni for now - gmnlm support will come

later. A limitation with BearSSL prevents us from doing automated

certificate generation for now, unfortunately.

9b0006509931c9a3defb64c64f4b0071657f8e61

Author: Drew DeVault <sir@cmpwn.com>

Date: Thu Mar 04 16:22:14 2021 -0500

Patch

Message: TOFU: more improvements to new cert handling logic

49eea555e605e6e0155756ad9739a5729340db81

Author: Drew DeVault <sir@cmpwn.com>

Date: Thu Mar 04 13:00:07 2021 -0500

Patch

Message: Remove useless variable cast

996bd24225e7a63fd160d1feb9af193225a065b3

Author: Drew DeVault <sir@cmpwn.com>

Date: Thu Mar 04 12:58:50 2021 -0500

Patch

Message: Discard CA certs unless there's no other

df2e4f8ab2f151eac61702b27f8c5cfe4145912e

Author: Drew DeVault <sir@cmpwn.com>

Date: Thu Mar 04 12:19:54 2021 -0500

Patch

Message: tofu: don't discard CA certs

fc0bf889a3e5ce270600811875ef9a50729c4135

Author: Drew DeVault <sir@cmpwn.com>

Date: Thu Mar 04 10:59:19 2021 -0500

Patch

Message: all: rewrite with BearSSL rather than OpenSSL