Commit Graph

2834 Commits

Author SHA1 Message Date
tophf
c83594519b correctly extend existing CSP + cosmetics 2020-11-16 09:42:08 +03:00
tophf
b8322ecf01 simplify localization 2020-11-16 00:47:46 +03:00
tophf
151805f1bb simplify getStylesViaXhr 2020-11-16 00:38:20 +03:00
tophf
0816933932 add Patch CSP option 2020-11-15 19:42:53 +03:00
tophf
497f31e3cd simplify notes in options 2020-11-15 19:33:35 +03:00
tophf
b0f08a7d6f allow <code> tag in i18n-html 2020-11-15 19:29:51 +03:00
tophf
f4a4b05b6e fixup! styleViaXhr: allow cookies for sandbox CSP 2020-11-15 12:20:17 +03:00
tophf
89ec4f352a fixup! styleViaXhr: allow cookies for sandbox CSP 2020-11-15 01:07:05 +03:00
tophf
be41f13ef3 styleViaXhr: allow cookies for sandbox CSP 2020-11-15 00:50:51 +03:00
tophf
1b8091afb7 styleViaXhr: also toggle for disableAll pref 2020-11-15 00:50:51 +03:00
tophf
40dea4df3b fixup! directly install usercss from raw github links 2020-11-14 23:34:46 +03:00
tophf
3baecb8b71 trim trailing whitespace 2020-11-14 23:22:25 +03:00
tophf
820695ebf1 directly install usercss from raw github links 2020-11-14 23:22:12 +03:00
tophf
414609297d eslint comma-dangle error + autofix files 2020-11-14 10:27:09 +03:00
tophf
5a9451f267 eslint comma-dangle warning 2020-11-14 09:59:45 +03:00
tophf
d0bb996e1e fixup! delay colorview for invisible CMs 2020-11-13 22:01:53 +03:00
tophf
3905722cdf keep scroll position and selections in tab's session 2020-11-13 21:34:33 +03:00
tophf
1d226aac8b delay colorview for invisible CMs 2020-11-13 21:25:13 +03:00
tophf
1ec8e6a41a don't scroll to last style on editing a new one 2020-11-13 21:13:36 +03:00
tophf
b19fd0dabf prioritize visible CMs in refreshOnViewListener 2020-11-13 20:38:20 +03:00
tophf
a06697808f dedupe linter.enableForEditor calls 2020-11-13 20:38:19 +03:00
tophf
184b6d4f7c fix fitToContent when applies-to is taller than window 2020-11-13 20:38:19 +03:00
tophf
001b8c6166 API.getAllStyles is actually faster with code untouched 2020-11-13 20:38:18 +03:00
tophf
e5ad9fce46 ditch localStorage, use on-demand SessionStore proxy 2020-11-13 20:38:17 +03:00
tophf
0b3e027bfd auto-promisify browser.* methods on call 2020-11-13 20:07:43 +03:00
tophf
3db6662d2f fix 1px shift of applies-to text when favicon is added in FF 2020-11-11 20:42:13 +03:00
tophf
6259cc2e79 speed up manager: render more targets only on demand 2020-11-11 20:27:54 +03:00
tophf
a26115154a fix getPrefs error on browser startup in the active tab 2020-11-11 13:28:20 +03:00
narcolepticinsomniac
da6361637d
Replace USO link 2020-11-10 17:47:23 -05:00
tophf
d183779fb5 accept any content-type for text/ except text/html 2020-11-10 21:40:50 +03:00
tophf
3a8f47f4db revert d405bc64 - obsolete since stylus-lang 0.54.7 2020-11-10 20:40:47 +03:00
tophf
eb70e5a2aa update stylus-lang dependency to 0.54.7 2020-11-10 20:40:47 +03:00
tophf
30b9378d2c use mousewheel to change a focused input[type=range] 2020-11-09 22:59:42 +03:00
tophf
dc4819e7d0
Merge pull request #1101 from tophf/import-prefs
import/export options in backup json
2020-11-09 21:18:23 +03:00
tophf
ff1fa07267 import/export options in backup json
* import options on demand
* auto-grant declarativeContent
* include lint configs and usercss template
* simplify exportFile as crbug.com/798705 was fixed
2020-11-09 21:12:14 +03:00
tophf
7d18376cf2 always use deepCopy for prefs.values for safety 2020-11-09 21:08:50 +03:00
tophf
bc8d8b235c fix equalOrEmpty for empty strings 2020-11-09 21:08:47 +03:00
tophf
a94969e47d remove padding from linter report items
(icons already take care of proper spacing)
2020-11-08 20:29:10 +03:00
tophf
4ac92a4f9b unbork marks in linter report
CodeMirror 5.58+ uses an additional class name for common stuff
2020-11-08 20:29:09 +03:00
tophf
5e5fecbcfe
editor: section labels, TOC, tweaks (#1086)
* section labels, TOC, speedups and fixes

* show section numbers in widgets
* debounce livePreview in usercss editor
* better fixed header and compact layout compatibility
* fix section sizing for compact layout + layout speedup
* DocFuncMapper + cosmetics + fix Clone button
* don't run linter during initSections
* remove unused/unnecessary DOM polyfills
* report invalid @document function as parser error
* rewrite section finder
* simplify focusedViaClick
* simplify setPreprocessor and make it synchronous
* throttle offscreen line widgets in usercss with lots of sections
* add on, off aliases for add/removeEventListener + onOff
* use on/off aliases in changed files
* use getters in more places
2020-11-08 11:12:42 +03:00
tophf
71cabc2029 fix animateElement() when animation is disabled 2020-11-06 21:04:10 +03:00
tophf
aac0f476b2 tweaks/fixes for popup search link
* use a less specific category if the inline search wasn't used yet
* set a href in html to prevent transitions during init
2020-11-05 22:45:22 +03:00
tophf
635fc705f9 correctly clear gutter marks for sublime bookmarks 2020-11-04 17:47:41 +03:00
tophf
31558d5071 we use 'true' and 'false' strings as boolean T_T
fixup for b56dacb
2020-11-04 12:50:24 +03:00
tophf
97ad0753e0 restore direct fetching of styles in the options frame
regressed in bf40fa81
2020-11-02 22:20:41 +03:00
tophf
a997ecbe24 update CSSLint
* fix missing <zero>
* retry/consume attr()
* code cosmetics
2020-11-02 22:08:14 +03:00
tophf
32728b023b respond with null to avoid "port closed" errors 2020-11-01 22:48:42 +03:00
narcolepticinsomniac
ad44fe47c8
typo 2020-11-01 14:06:18 -05:00
narcolepticinsomniac
1c7e06e980
typos 2020-11-01 14:01:44 -05:00
tophf
21d4221df9 position colorpicker correctly, cosmetics (89431615 fixup) 2020-10-31 23:45:52 +03:00