| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* tolower: strutils toLowerAscii is good enough for the cases where
we need it. Also, it's easy to confuse with unicode toLower and
vice versa.
* isWhitespace: in AsciiWhitespace is more idiomatic. Also has a
naming collision with unicode toLower.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
use what is documented
|
| |
|
| |
|
|
|
|
| |
yay
|
|
|
|
|
|
|
|
|
|
|
| |
Add w3m-style local CGI support.
It is not quite as powerful as w3m's local CGI, because it lacks an
equivalent to W3m-control. Not sure if it's worth adding; we certainly
shouldn't allow passing JS in headers, but a custom language for
headers does not sound like a great idea either...
eh, idk. also, TODO add multipart
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Bare strings are now allowed when specifying config options
through -o.
* Fix a bug where options specified with -o would be disregarded
unless a newline was included.
* (Also, add a TOML stringifier routine for debugging.)
|
|
|
|
| |
not that this code path is ever executed
|
|
|
|
|
|
|
|
| |
* quote substituted URLs, mime types and named attributes too
* change quote state: now we use a stack of quote states, new
states are pushed/popped when a process substitution is encountered
* fix named attribute state (it was incomplete)
* remove superfluous tolower statements
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* ips -> io/
* loader related stuff -> loader/
* tempfile -> extern/
* buffer, forkserver -> server/
* lineedit, window -> display/
* cell -> types/
* opt -> types/
|
|
|
|
|
|
| |
Underscores should not be added to repr.
Also, was_num should only start as true if the first character is
a number, and must be true after the while loop.
|
|
|
|
| |
aaaaaa
|
|
|
|
| |
I meant to put this in the previous commit
|
|
|
|
|
| |
The input c was not considered, so positive/negative/non-decimal
number parsing was incorrect.
|
|
|
|
|
|
|
|
|
| |
It is more efficient to just read the whole file into memory than
to... read the whole file into memory, but one piece at a time,
while calling the rather slow readLine function for each chunk.
(Also, configuration files are rather small, so even a proper streaming
implementation would be pointless.)
|
| |
|
|
|
|
|
|
|
|
| |
* it is now possible to jump to the nth line by typing {n}G
* gotoLine is now 1-based, so to go to the first line you would use
pager.gotoLine(1)
* it is now allowed to return a function from a keybinding (which will be
subsequently executed as a regular keybinding)
|
| |
|
| |
|
|
|
|
| |
also, replace the todo comment
|
| |
|
|
|
|
| |
mostly for symmetry with real objects
|
|
|
|
|
|
|
|
|
| |
jssetprop just adds the set_property exotic function.
ActionMap is now editable from JS; the setter is implemented in the
same way as bindPagerKey/bindLineKey. (In fact, now those two just
call the setter.) But this is still rather inefficient and subject
to change.
|
|
|
|
|
|
|
| |
Split out parts of the JS module, because it was starting to confuse
the compiler a little.
(Peakmem is back at 750M. Interesting.)
|
|
|
|
|
|
|
| |
Also, make ActionMap use getters/hasprop instead of a table copy.
peakmem remains up +200M at 950M after commit
9991bd3393483158ab0d1b9d995f695dee3c65dc. :(
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
skipBlanks should not consume newlines.
|
|
|
|
|
| |
* simplify ActionMap reading
* introduce separate case for Table
|
| |
|
|
|
|
|
| |
* Increase line counter on newline in array & inline table parsing
* Fix broken inline table parsing
|
| |
|
|
|
|
| |
Operation "modularize Chawan somewhat" part 1
|
| |
|
| |
|
|
|
|
|
| |
Make mime.types behavior consistent with mailcap: that is, the *first*
match counts.
|
|
|
|
|
|
|
|
| |
* add mailcap: works with copiousoutput, needsterminal, etc.
* add mime.types (only works with mailcap)
* refactor pipeBuffer
* remove "dispatcher"
* fix bug in directory display where baseurl would not be used
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Import punycode, as it has been removed from stdlib.
* Fix some syntax errors
* Apparently you can no longer compare distinct pointers with nil.
Add explicit comparisons with typeof(nil) instead.
* htmlparser: rename _ to other, as semantics of _ have changed.
(Quite a shame, it looked better with _. Oh well.)
* Explicitly specify mm:refc, as the browser OOMs with orc for
some reason.
Confirmed to compile & run on 2.0.0, 1.6.14, 1.6.12, 1.6.10 and 1.6.8.
(<1.6.8 it's broken & wontfix.)
|
| |
|
|
|
|
|
|
|
| |
This makes it so that host = 'example\.org' mandates an exact match,
but host = '^example' matches example.org, example.com, etc.
(Previously, 'example\.org' would have matched exampleexample.org
as well, which was quite counter-intuitive.)
|
| |
|
| |
|
| |
|