tophf
2c9ea4fdc0
CodeMirror update leftovers
2021-01-23 10:14:16 +03:00
tophf
8cabf8a8aa
CodeMirror 5.59.2
2021-01-20 14:59:31 +03:00
tophf
02bd682135
ignore executeScript errors e.g. due to frame removal
2021-01-19 09:36:53 +03:00
tophf
a88996be6f
restore correct handling of openEditInWindow
...
regressed in fdbfb235
fixes #1156
2021-01-19 09:27:19 +03:00
tophf
a66a1f8ed6
code cosmetics
2021-01-18 09:50:27 +03:00
tophf
4338f67352
LESS: use math:parens-division
...
This is the default mode in LESS4.
Fixes #1154 .
2021-01-16 09:18:54 +03:00
tophf
914943ed4c
remove sliders
...
* can be already implemented as a userstyle
* will be exposed in usercss config dialog later
2021-01-15 13:24:21 +03:00
tophf
eb5fd90dc7
remember CM bookmarks on reload/revisit
2021-01-12 17:39:24 +03:00
tophf
b00e6d23fe
revert CodeMirror to 5.59.0
...
5.59.1 is bugged https://github.com/codemirror/CodeMirror/issues/6558
2021-01-10 13:44:38 +03:00
tophf
fe176c9b62
[compact layout] show sections TOC on first click
2021-01-09 13:21:06 +03:00
tophf
ac7b33d7e0
fix resizing of last section if page is scrolled
2021-01-07 14:52:38 +03:00
tophf
39e03b0a9f
fix autocomplete after var(
, autocompleteOnTyping
2021-01-07 14:52:38 +03:00
tophf
312f444ec7
fix 'true' === true check in setupLivePrefs
2021-01-07 14:52:38 +03:00
tophf
1308efb8d0
fix/simplify fitSelectBox
2021-01-07 14:52:38 +03:00
tophf
11d311d1e8
avoid forced layout in highlightEditedStyle
2021-01-07 14:52:38 +03:00
tophf
767b2017e0
wait for main stylesheet to load before forcing layout
2021-01-05 19:54:49 +03:00
tophf
dfb9135f6a
stylelint 13.8.0
2021-01-05 18:51:01 +03:00
tophf
7d6b4fc8ac
csslint: code cosmetics
2021-01-05 18:27:46 +03:00
tophf
57233db546
csslint: add 'shorthand-overrides' rule
2021-01-05 12:14:26 +03:00
tophf
cb85fe9392
get the full list of stylelint rules
2021-01-04 09:28:59 +03:00
tophf
fd890f8e61
show "Options" heading in options UI
2021-01-02 23:34:42 +03:00
tophf
8807819f16
parserlib: update props
2021-01-01 19:49:38 +03:00
tophf
6563aca141
CodeMirror 5.59.1 + use emptyDirSync instead of shx
...
+ restore the original jsonlint with its trailing spaces, accidentally fixed by fdbfb235
2021-01-01 18:36:05 +03:00
tophf
d26dd92f44
use .meta.css in update check on greasyfork
2021-01-01 18:20:25 +03:00
tophf
c35302dff6
add margins for updateAllCheckSucceededSomeEdited
2021-01-01 18:20:25 +03:00
tophf
fdbfb23547
API groups + use executeScript for early injection ( #1149 )
...
* parserlib: fast section extraction, tweaks and speedups
* csslint: "simple-not" rule
* csslint: enable and fix "selector-newline" rule
* simplify db: resolve with result
* simplify download()
* remove noCode param as it wastes more time/memory on copying
* styleManager: switch style<->data names to reflect their actual contents
* inline method bodies to avoid indirection and enable better autocomplete/hint/jump support in IDE
* upgrade getEventKeyName to handle mouse clicks
* don't trust location.href as it hides text fragment
* getAllKeys is implemented since Chrome48, FF44
* allow recoverable css errors + async'ify usercss.js
* openManage: unminimize windows
* remove the obsolete Chrome pre-65 workaround
* fix temporal dead zone in apply.js
* ff bug workaround for simple editor window
* consistent window scrolling in scrollToEditor and jumpToPos
* rework waitForSelector and collapsible <details>
* blank paint frame workaround for new Chrome
* extract stuff from edit.js and load on demand
* simplify regexpTester::isShown
* move MozDocMapper to sections-util.js
* extract fitSelectBox()
* initialize router earlier
* use helpPopup.close()
* fix autofocus in popups, follow-up to 5bb1b5ef
* clone objects in prefs.get() + cosmetics
* reuse getAll result for INC
2021-01-01 17:27:58 +03:00
tophf
06823bd5b4
CodeMirror 5.59.0 + bump deps
2020-12-22 01:17:56 +03:00
tophf
1e614fa2bc
don't count&title removed sections
2020-12-15 01:52:10 +03:00
tophf
7140993e6c
parserlib: fix reading \\, regressed in 6d04c0e
2020-12-14 21:18:15 +03:00
tophf
775d77a3a8
clone change
positions to avoid breaking CodeMirror
2020-12-10 23:25:07 +03:00
tophf
579750fbc0
fix linting when style was initially error-free
...
regressed in e6f94378
2020-12-10 11:00:24 +03:00
tophf
0b540fbabd
parserlib: up to 10% faster first run
...
* inline generation of trivial tokens
* remove Tokens.CUSTOM_PROP
* allow fit-content keyword as it's used in the wild
* add color-scheme
* add path()
* don't try to validate props with vars
* auto-compile function grammar
* remove CSS4 color functions
* show full error stack
2020-12-10 01:30:17 +03:00
tophf
75cf46aaa7
fix search-target-editor style
2020-12-08 23:03:13 +03:00
tophf
26a539bd62
fix closestVisible nearby check
2020-12-08 18:50:14 +03:00
tophf
463c3b5139
fix subsequent clicks in colorpicker
...
seems like new CodeMirror modifies the position object
2020-12-08 14:46:03 +03:00
tophf
6d04c0eb7d
optimize parserlib by ~10%
...
* add skipValidation option
* set `recoverable:true` on errors inside declarations
2020-11-29 15:11:31 +03:00
tophf
e6f94378bf
re-enable linter after import + async'ify
...
regressed in 420733b9
2020-11-29 14:25:07 +03:00
tophf
207afccd65
improve autocomplete ( #1136 )
...
* fix interaction when search overlay splits `styles`
* handle @rules and @-moz-document functions
* show props in stylus-lang
2020-11-28 23:29:33 +03:00
tophf
6847681ed3
fix findSections for {}
+ detect reusedEnd
2020-11-27 15:10:03 +03:00
tophf
a87c49f0fc
autoresize embedded popup for config dialogs
2020-11-27 15:09:16 +03:00
tophf
cb64a6bac9
use jumpToPos more, fix coords calc
2020-11-26 17:04:51 +03:00
tophf
6451eb533c
switch to styleMissingName
2020-11-26 12:09:11 +03:00
tophf
355f240779
add a suffix in editor title
2020-11-26 12:04:42 +03:00
tophf
a91183e1bb
fix scrolling in jumpToPos
2020-11-25 23:28:22 +03:00
tophf
a5848682b3
normalize linebreaks in parseMozFormat
2020-11-24 21:04:11 +03:00
tophf
7c2b46be83
fix PortDownloader::onDisconnect
2020-11-24 17:06:25 +03:00
tophf
c635f2e38c
monkeypatch next/prevBookmark commands to use jumpToPos
2020-11-24 15:17:14 +03:00
tophf
657798d219
improve bookmarking + rework codemirror-factory.js
...
* pull editing-only stuff from codemirror-default.js
* switch throttledSetOption to IntersectionObserver
2020-11-24 13:16:51 +03:00
tophf
b4ca17c531
call rerouteHotkeys when restoring scrollInfo
...
...because we intentionally don't focus any CM in this case as it's bugged as hell
2020-11-24 13:16:51 +03:00
tophf
32cca90ddd
limit button reposition to usercss ( 8b58b228
fixup)
2020-11-24 12:54:39 +03:00