| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* encode path URLs
* accept directories without trailing slash
* sort file names
|
|
|
|
| |
see header for usage
|
| |
|
|
|
|
|
|
|
| |
* highlight shortened commit hashes (up to 7 chars)
* send status
* refactor cgi commands
* support git branch -a
|
| |
|
|
|
|
| |
it's safer this way
|
|
|
|
|
|
|
|
|
| |
* gitcha stash list special processing
* gitcha switch no longer opens the branch view; it is now opened by
gitcha branch
* make gitcha branch UI consistent with the rest of the script. (the
idea is that clicking on refs does not modify the repo, only action
links like (switch) or (apply).)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous solution had the issue that it switched between "delete
buffer, then move back" and "delete buffer, then move forward" depending
on whether the buffer was the root of the buffer tree, which made its
behavior quite unpredictable.
Now the pager (sort of) remembers the direction you are coming from,
and D moves in that direction. So e.g.:
* Enter, D just moves back to where you were coming from (as before)
* Comma, D deletes the previous buffer, then returns to the current
buffer
If no buffer exists in the target direction, then we alert.
Also, new commands are: `d,' `d.'. They do the same thing the
non-d-prefixed variations do, but also delete the current buffer. Useful
if you're no longer sure where you are coming from, but know where you
want to go. (`d,' in particular is equivalent to w3m's `B'.)
|
|
|
|
|
|
|
| |
Use content type attributes so e.g. git.cgi can set the title even with
a text/x-ansi content type.
(This commit also fixes some bugs in content type attribute handling.)
|
|
|
|
| |
Array.prototype.at is not present in previous QJS releases.
|
|
|
|
| |
as described in <https://todo.sr.ht/~bptato/chawan/6>
|
| |
|
|
|
|
| |
just a clickable UI for switching branches
|
|
|
|
|
| |
this way its output can be embedded into documents without a pointless
DT declaration
|
| |
|
|
|
|
| |
just for clickable git log hashes
|
| |
|
|
|
|
|
|
| |
only for source for now, rendered document is a bit more complicated
(also, get rid of useless extern/editor module)
|
|
|
|
| |
this is more or less how it works in w3m
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add functions for moving to the beginning/end of words (vi `b', `e').
* As it turns out, there are many possible interpretations of what a
word is. Now we have a function for each reasonable interpretation,
and the default settings match those of vi (and w3m in w3m.toml).
(Exception: it's still broken on line boundaries... TODO)
* Remove `bounds` from lineedit, it was horrible API design and mostly
useless. In the future, an API similar to what pager now has could
be added.
* Update docs, and fix some spacing issues with symbols in the tables.
|
|
|
|
|
|
|
| |
strncat does not work like that :P
Luckily, BSD has strlcat which does.
(While we're at it, remove the unused PDIE macro.)
|
|
|
|
|
|
|
|
|
|
| |
* Fix incorrect internal definition of the fragment percent-encode set
* urlenc, urldec: these are simple utility programs mainly for use
with shell local CGI scripts. (Sadly the printf + xargs solution is
not portable.)
* Pass libexec directory as an env var to local CGI scripts
* Update trans.cgi to use urldec and add an example for combining
it with selections
|
|
|
|
|
|
|
| |
It has roughly zero utility, but maybe it's a good demonstration
of local CGI?
(TODO: add libfetch FTP too, that might actually be useful.)
|
| |
|
|
|
|
|
| |
No need to leave gemini support in the bonus folder.
Still TODO: proxy support.
|
|
|
|
|
|
| |
* Add a default urimethodmap that points finger: to cha-finger
* Install cha-finger to /usr/local/libexec/cha/cgi-bin by default
* cha-finger: use ALL_PROXY if given, die if curl is not installed
|
|
|
|
|
| |
Default is vi-style, but w3m-style marks work as well; see
bonus/w3m.toml.
|
|
|
|
| |
C is scary
|
| |
|
| |
|
|
|
|
|
|
| |
* Accept port 79, not 73
* Accept ipv6 addresses
* We no longer have to URL decode the input
|
|
|
|
| |
sort of based on lynx's finger URL parsing, except it's dumber
|
|
|
|
|
|
|
| |
* Setting minimum TLS versions by SSL_CTX_set_options is deprecated,
and we were doing it wrong anyway. Use SSL_CTX_set_min_proto_version
instead.
* Include string.h header to reduce clang whining.
|
|
|
|
|
|
|
| |
* fix invalid file pointer being used after adding certificate (a pointer
deref was missing there)
* fix compatibility with gemini servers that refuse to interpret URLs that
contain the default port (yes, seriously)
|
| |
|
| |
|
| |
|
|
|
|
| |
document, simplify, ...
|
|
|
|
| |
it was horrible code style... (gmifetch still kind of is :/)
|
| |
|
|
|
|
| |
ew
|
|
|
|
| |
yay
|
|
|
|
|
|
|
| |
This used to be possible until I moved everything under separate
headers to their respective objects.
Now it works again, mostly; modification of some attributes is still
missing.
|
| |
|
| |
|
|
|
|
| |
Also, a little bonus: w3m keybindings
|
| |
|
|
|