| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
you can't bisearch an unsorted map...
(also, turn on text styling for colored layout tests because it would
have caught this)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mostly compatible with other browsers/tools that follow the
Netscape/curl format.
Cookie jars are represented by prepending "jar@" to the host part, but
*only* if the target jar is different than the domain. Hopefully, other
software at least does not choke on this convention. (At least curl
seems to simply ignore the entries.)
Also, I've moved cookies.nim to config so that code for local files
parsed at startup remains in one place.
|
|
|
|
|
| |
"No CGI dir configured" is no longer a common case, so it's OK to just
return "CGI file not found".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This only resulted in false negatives; seems like it's a remnant from
the old, non-standard implementation that did not correctly check for
the per-cookie domain.
(also, fix a strict def)
|
|
|
|
|
|
|
|
| |
They need some peculiar conditions to manifest, but the logic errors
are clear:
* padding contributing to intrinsic minimum size wasn't being clamped
* inline padding was being applied twice
|
| |
|
| |
|
|
|
|
| |
Now screen.width etc. works in the pager too.
|
|
|
|
|
| |
it has to accept percentage sizes too for intrinsic size clamping,
it seems
|
|
|
|
|
|
|
|
|
| |
Looking at it closer, this never actually did what it advertised to do.
It only affected first-party cookies from subdomains, but that has been
fixed; third-party cookies were never supported in the first place.
(In fact, even first-party cookies are still skipped unless directly
received on navigation. This should probably be fixed.)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If the image has an offx or offy, then it means it is partially outside
the screen, so its offx2/offy2 is already accounted for.
|
|
|
|
|
|
|
| |
It isn't really limited to config. It just happens to be in
XDG_CONFIG_HOME because XDG basedirs suck.
(W3M_DIR works similarly.)
|
|
|
|
|
| |
Licenses now ordered by "explicitly PD", "PD-equivalent" and
"not PD-equivalent".
|
|
|
|
| |
Respects autofocus.
|
| |
|
|
|
|
|
| |
It's a fair bit more accurate now on flex-heavy pages.
Image sizing remains a broken mess.
|
| |
|
|
|
|
| |
Also fixes the -O option.
|
| |
|
|
|
|
| |
toJS is generally more efficient
|
|
|
|
| |
it should have been a function
|
|
|
|
|
|
|
|
|
|
| |
For APIs that cannot be implemented in a privacy-friendly manner.
As a start, I've added accurate screen size queries; getComputedStyle,
getBoundingClientRect, etc. should follow. (We have a harmless
getComputedStyle already, but it's broken.)
Probably, things like JS-based scroll belong in here too, but I'm not
sure yet. (Perhaps autofocus should be reused instead?)
|
| |
|
|
|
|
|
|
|
| |
In my infinite wisdom, I typed two paragraphs about this issue in
c45502f8, but never actually changed the default config.
Also, it's been almost a year now; time to drop yc.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This caused buffer cloning to choke on armhf.
It seems that cris and S/390 architectures also swap flags and stack;
luckily, both are dead.
|
|
|
|
|
| |
next's pointer backwards must be updated too, or it the dropped ref will
be erroneously displayed on the history screen.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is unfortunately a breaking change, but the existing behavior was
practically broken anyway.
The only issue I can think of is that keybindings like `yy' now override
`y', which previously worked because y (regrettably) calls feedNext. But
those should be added to the default config anyway.
(If a user really desires the old behavior, they can just re-bind y to
cmd.buffer.copySelection after their own custom bindings. Config values
are now stored in an ordered table, so this should work.)
I've left the undocumented JS setter as it is, because the old behavior
seems more useful there. (Perhaps there should be a separate function
that behaves like toml?)
|
|
|
|
|
| |
Otherwise, it complains about missing syscalls on cross compilation.
(Also, fix the warnings this revealed.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.)
|
|
|
|
|
| |
It's still missing a "color visited links" feature, but it's better
than nothing.
|
|
|
|
|
| |
* accept quoted-string
* quote values in setContentTypeAttr
|
|
|
|
|
| |
It is still wrong in case the table is too small, but at least it fixes
the regression from 0971ad85.
|
|
|
|
| |
what was I expecting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Welp, turns out I was overthinking it. CSS does not support inline
position: absolute at all, it just blockifies.
That does leave us with the question of "why does inline-block behave
differently than block?" Especially because both in Gecko and Blink,
getComputedStyle for absolute inline-blocks gives me "block", not
"inline-block", and yet there is the same difference in rendering when I
change the CSS.
I first thought it's a quirks mode issue, but standards mode doesn't
affect it. Wat.
|
|
|
|
|
|
| |
It was named "fragment" mainly because I added it back when there was
still a separate InlineBox type and I needed another name.
Now InlineBox is gone, and I'm tired of typing fragment.
|
|
|
|
|
|
|
| |
* isValidEscape was fairly pointless, and occasionally used incorrectly.
* "starts with an ident sequence" is normally called on the next 3
codepoints; on the one occasion where it isn't, just hardcode the dash
case.
|
| |
|
|
|
|
|
|
|
| |
this is exactly why I shimmed in unsafeAddr, but the compiler isn't
cooperating... :(
well, it seems to work with auto.
|