| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
A capture size of 0 (e.g. |) no longer sends the regex matcher into an
infinite loop.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove some unused properties from objects
* Un-extern JSFunctionList
* Remove js/javascript dependency from regex (the wrapper functions
were rather pointless)
* Remove setProperty (only toJS(Table) used it, but there we have to
use defineProperty instead.)
* Accordingly, use definePropertyCWE in toJS(Table)
* Simplify fromJSTable (replace pointer arithmetic with UncheckedArray)
* Reduce implicit `result' usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Events: just implement the interfaces, no events are triggered yet.
JS changes:
* add LegacyUnforgeable
* make consts enumerable
* fix crash in isInstanceOf
* fix destructor warnings
* refactor registerType
As a result, peakmem is now 1G+ on 1.6.14. It stays ~750M on 2.0.0. Hmm.
Well, better upgrade to 2.0.0 I guess.
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
| |
This allows us to greatly simplify exec(Regex). In particular, we
no longer have to convert any line containing non-ascii characters
into UTF-16 (which was a significant inefficiency in regex search
until now).
|
| |
|
|
|
|
|
| |
We have to set it to (capture - cstr) >> 1, because libregexp later
shifts it left.
|
|
|
|
|
|
|
|
| |
cursorBytes uses twidth now.
cursorNextMatch matches the byte *after* the cursor (somewhat more
consistently than before).
match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes
through the entire string.
|
| |
|
|
|
|
| |
Also probably other fixes.
|
| |
|
|
|
|
| |
Including replace.
|
|
|
|
| |
Also, fix a bug in the
|
|
|
|
|
|
| |
This enables rule-based dynamic url rewriting.
Also, lineedit is a bit less broken now (though it's still less than
ideal.)
|
| |
|
| |
|
| |
|
|
Uses libregexp from QuickJS. Incremental search is quite hacky for now,
but overall it seems to work OK.
|