| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix luwrap comparison function
* strip high unicode controls in term/pager
* use wcwidth in dirlist2html
* remove combining category from strwidth
* remove unused "disallowed" field from lineedit
My initial goal with switching to wcwidth in dirlist2html was just to
get rid of the outdated combining map in charwidth_gen. Then I realized
that layout will normalize those out anyway, so we don't actually have
to deal with them anywhere.
Also, I found a few bugs in the process; high unicode control chars not
being stripped out was a particularly bad one, as it allows for pages to
mess up the terminal output. (Easiest way to replicate: just open a
random binary file without this patch.)
|
|
|
|
|
| |
* accept quoted-string
* quote values in setContentTypeAttr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just to remove a level of indirection; the libcurl API is annoying to
deal with when you don't even need asynchrony.
It doesn't change anything in actual dependencies, because libcurl uses
libssh2 too - however, now only http depends on libcurl, which makes
reducing it to an optional module feasible.
Still, I've listed libssh2 (along with OpenSSL - long overdue) in the
readme just in case some OS doesn't pull in the headers by default as
a libcurl dependency.
Also, fix some bugs:
* fix missing CWD command in FTP
* resolve directories even if they don't end in /
* allow links without -> in dirlist
|
| |
|
|
|
|
|
|
|
|
| |
so it turns out you *can't* just deref refcounted strings through
a ptr...
the entire algorithm was a mess anyway, so I've just re-done the sorting
with refc.
|
|
Now the dirlist parser lives inside dirlist2html, and the file protocol
just emulates FTP LIST.
|