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
tophf
972a83d5bc
restore simpleDeepEqual ( b56dacb6
fixup)
2020-10-31 21:00:19 +03:00
silverwind
caec255e16
Simplify CI action
...
Only run on a single node version, that way you won't get tripe error
annotations, and it's really not neccessary for this repo to test on
multiples anyways.
2020-10-30 08:22:53 +03:00
tophf
72cb5bdc9a
don't spam console errors on contextMenu 'delete' command
2020-10-29 00:13:15 +03:00
tophf
b56dacb6b2
save prefs in bg to avoid data loss
...
* add `now` to simplify usage of prefs.subscribe
* tweak/simplify bits by separating bg/content concerns
2020-10-28 21:10:57 +03:00
tophf
be47cfc471
throttle colorview on page load
2020-10-28 21:05:19 +03:00
tophf
6d7bd650e9
strip stylelint warnings for // comments with @preprocessor
2020-10-28 13:19:17 +03:00
tophf
a81e1b8ac3
async'ify worker-util, reduce indirection
2020-10-28 13:19:17 +03:00
tophf
4764f91453
fix radiateArray when focusing search with extra CMs around
2020-10-28 13:08:00 +03:00
tophf
74364b9d63
hide incremental search textarea, 2a6850c0
fixup
2020-10-27 13:00:32 +03:00
tophf
2747d3930b
simplify resizing of editor-in-new-window
2020-10-26 18:04:37 +03:00
tophf
bd3f630617
use a safe regexp for comments
2020-10-26 18:04:37 +03:00
tophf
2a6850c02e
avoid scrollbar due to incremental search + subsequent filter
2020-10-26 18:04:36 +03:00
tophf
2c674bdc0c
remove the extraneous margin between applies-to
2020-10-26 18:04:35 +03:00
tophf
2ed936af00
don't autojump to first match when opening search
2020-10-26 18:04:34 +03:00
tophf
89431615b3
improve colorpicker dialog ( #1079 )
...
* switch to a user-resizable palette
* allow moving
* remove hideDelay
2020-10-26 18:03:41 +03:00
tophf
bf40fa81e8
async'ify msg, don't throw for flow control ( #1078 )
2020-10-26 17:39:07 +03:00
tophf
1a7b51be6b
warn when paste-importing usercss with @preprocessor, #1082
2020-10-26 17:37:31 +03:00
tophf
4fade0fdfe
async'ify replaceStyle
2020-10-26 17:33:23 +03:00
tophf
34ad3cfaef
embed replaceSections as replace
option of initSections
2020-10-26 17:24:11 +03:00
tophf
92fcb02a57
handle document.cookie exceptions in sandboxed frames
2020-10-26 07:49:08 +03:00
tophf
4eabdf3f57
warn when paste-importing usercss with @preprocessor
2020-10-25 22:36:41 +03:00
tophf
5ba111dce9
update parserlib
...
* min(), max(), clamp(), also in @media
* add/fix some props and units
* handle `attr()`
* use lowerCmp()
* approve functions with USO vars
2020-10-25 00:24:28 +03:00
tophf
3a615e4e06
CodeMirror 5.58.2
2020-10-23 22:35:14 +03:00
tophf
2af83ee846
remove more -webkit- prefixes
2020-10-23 21:32:02 +03:00