| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
much better
|
|
|
|
| |
whoops
|
|
|
|
| |
(still no module support in buffer...)
|
|
|
|
|
|
|
|
| |
One is a false-positive (in dom).
The other one in pager is something I hadn't noticed before, that's
nice. For now I want to avoid making a change that may break things, so
I just removed the dead code.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See e.g. the sr.ht issue tracker, now forever tainted by the tickets
I accidentally submitted :P Chawan will gladly autosubmit without the
user having written anything in the textbox just by writing some text
in the title.
The problem is that graphical web browsers typically have a "submit"
keybinding (enter), and a "next field" keybinding (tab). The implicit
submission mechanism was created with graphical browsers in mind;
like w3m, Chawan only has an "ok" keybinding, which may or may not
also mean "submit".
With this solution, only forms that could not otherwise be submitted
will autosubmit.
|
|
|
|
|
| |
Avoid computing e.g. charwidth data for http which does not need it
at all.
|
|
|
|
|
| |
Instead, make finalizers optionally pass their runtime for resource
deallocation.
|
| |
|
|
|
|
| |
(and expose it as a JS function)
|
|
|
|
|
|
| |
* parentElement is now just a function.
* Remove TODO from node.document; it is useful and not going anywhere.
* Check for Nim type in Node.document, not nodeType
|
|
|
|
| |
It is only defined for Document, Element, DocumentFragment.
|
| |
|
|
|
|
|
| |
Also, func-ize some similar identity functions, and add TODOs about
[Replaceable].
|
| |
|
|
|
|
|
|
|
| |
* Add DOMContentLoaded
* Re-use the same event object for all elements
* Reshape if an event was fired
* Reshape on setTimeout/setInterval fired
|
| |
|
|
|
|
| |
not a real implementation, just to reduce exceptions
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
both just return identity
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also, misc. refactorings
|
|
|
|
| |
yay
|
| |
|
|
|
|
|
| |
We now expose some functions from QuickJS to interact with JavaScript
strings without re-encoding them into UTF-8.
|
| |
|
|
|
|
|
|
| |
* rename module (window -> winattrs, to avoid conflict with env/window)
* do not use result
* remove unused cell_ratio
|
|
|
|
|
| |
* merge dom.console & client.Console
* move client-specific stuff out of Console (into callbacks when necessary)
|
| |
|
|
|
|
|
| |
It was used by mistake in a hundred percent of the cases we were
using it.
|
|
|
|
|
|
| |
* Implement the "default button" part of the standard.
* If the submitter is the form, formmethod may be called on it. Check if
this is the case in the function, and if yes, return the form's method.
|
|
|
|
|
| |
We don't use the generic feature of selectors, so just unify the
client & buffer timeout types.
|
|
|
|
|
|
| |
padToWidth should be called for all input types in InputWithSize.
Also, they should be underlined by ua.css.
|
| |
|
|
|
|
| |
and with that, resolve the unknown input type issue
|
| |
|
|
|
|
|
|
|
|
| |
* Fix an issue with Collection cache invalidation (we must invalidate
collections of the parent node on insertion, so that it triggers
a refresh).
* Remove circular reference of document.document, now we use a function
instead.
|
| |
|
| |
|
| |
|
| |
|