| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* fall back to text for unimplemented input types
* add custom prompt to all text-like input types
* show min/max for range
* fix accidental override of repaint
|
|
|
|
| |
analogous to bufwriter
|
|
|
|
|
|
|
| |
So long as we have to live with siteconf, let's at least make it useful.
Also, rewrite the header overriding logic because while it did work,
it only did so accidentally.
|
| |
|
| |
|
|
|
|
| |
upstream now calls it unicode
|
| |
|
|
|
|
| |
just for consistency
|
|
|
|
| |
no reason to do it separately in setupEnv
|
|
|
|
|
|
| |
* put forkServer into main()
* use a ctx type instead of closures
* get rid of types/opt import
|
|
|
|
|
| |
this way its output can be embedded into documents without a pointless
DT declaration
|
|
|
|
|
|
|
| |
* send title to pager as soon as it's available
* expose `title' to DOM
* rename undocumented `getTitle' js function to `title' getter in
Container
|
|
|
|
| |
this is buffer reading from pager
|
|
|
|
|
|
|
| |
it still sucks, but it is at least slightly more usable.
this also fixes a bug in dirlist where sort would mess up item name
association
|
|
|
|
| |
we want to check if it's *not* text.
|
|
|
|
|
| |
Since we know the length of packets, we can also read them in in one
call. Though I really wish we could do this without the StringStream.
|
|
|
|
| |
it wouldn't start dump mode if stdout was not a tty but stdin was.
|
| |
|
|
|
|
|
|
|
|
|
| |
* `s{Enter}' now saves link, and `sS' saves source.
* Changed ;, +, @ to g0, g$, gc so that it's somewhat consistent with
vim (and won't conflict with ; for "repeat jump to char")
* Changed (, ) to -, + so that it doesn't conflict with vi's
"previous/next sentence" (once we have it...)
* Add previously missing keybindings to about:chawan
|
|
|
|
| |
it's text, so we can display it anyway.
|
|
|
|
|
|
|
|
| |
I haven't seen a single OS-shipped mailcap file yet that would be
suitable for use with Chawan. The one on Debian wants to open every
text file with vim; the one in FreeBSD ports is straight up broken.
mime.types works much better and thus stays.
|
|
|
|
| |
This way, we can use it everywhere (e.g. in mailcap).
|
|
|
|
| |
just for clickable git log hashes
|
|
|
|
|
| |
for w3m and real CGI compatibility; also, it makes more sense than using
whatever directory the user happened to be in when starting the browser
|
|
|
|
| |
we use MAPPED_URI_* now
|
|
|
|
| |
Useful when browsing plaintext files; w3m has it too.
|
|
|
|
| |
they all use the same CGI script (with varying success)
|
|
|
|
|
|
| |
it is best to base our interpretation of ^H_ on the current formatting,
because a) it works predictably well on man output and b) a formatting
mismatch results in manRe malfunctioning
|
| |
|
|
|
|
|
| |
* move mouse handling to term
* do not use File for input just to disable buffering anyway
|
|
|
|
|
|
| |
Better (and simpler) than storing them all over the place.
extra: change lmDownload text to match w3m
|
| |
|
|
|
|
|
|
|
|
|
| |
* Parse the default config at runtime. There's no significant
performance difference, but this makes it much less painful to write
config code.
* Add better error reporting
* Make fromJS2 easier to use
* Unquote ChaPaths while parsing config
|
|
|
|
| |
seems like it confuses popen()
|
|
|
|
|
| |
this is unfortunately truncated on Linux, but I don't care enough to
hack around this
|
|
|
|
| |
to avoid zombies
|
|
|
|
|
|
| |
The "redirect stderr to stdout" scheme broke with groff/man-db, as
it was spitting out warnings during execution. So now we handle stderr
and stdout separately.
|
|
|
|
| |
it's an unintended side effect that we do not want
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Unsurprisingly enough, calling `write` a million times is never going to
be very fast.
BufferedWriter basically does the same thing as serialize.swrite did,
but queues up writes in batches before sending them.
TODO: give sread a similar treatment
|
|
|
|
|
|
| |
* do not immediately quit when all containers are gone
* fix double saving bug
* fix wrong "save to" string
|
|
|
|
|
| |
we do have logic for this in replace(), but it was not working because
setContainer changed the buffer too early.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has its own problems, but application/octet-stream has the horrible
consequence that opening any local file with an unrecognized type
automatically quits the browser.
(FWIW, w3m also falls back to text/plain, so it's not such an unreasonable
default.)
The proper solution would be to a) fix the bug that makes the browser
auto-quit and b) show a "what to do" prompt for unrecognized file types
(and allow users to override it, preferably on a per-protocol basis.)
|
| |
|
|
|
|
|
| |
* embed prompt string into enums
* move pager.username to LineDataAuth
|
|
|
|
|
|
|
| |
As simple as it could be; no download panel yet.
Also, remove the xdg-open default mailcap entry; it's better to just
save by default.
|
|
|
|
|
|
|
| |
* remove unnecessarily duplicated code (probably a copy-paste error)
* apply UNIT_PERC computed widths for table cells too (just base it on
sizes the table receives)
* remove unnecessary parameters in some procs
|
|
|
|
|
|
|
| |
Seems wise to flush before e.g. reading.
And unwise to enable buffering on tee() even though we disable it on
startRequest()
|
| |
|