tophf
bc8d8b235c
fix equalOrEmpty for empty strings
2020-11-09 21:08:47 +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
narcolepticinsomniac
8598b71a73
Options tweaks ( #1077 )
...
* Options tweaks
* account for last-child change
2020-10-23 09:51:46 -04:00
tophf
595b037ab1
remove unused IS_BG and wrong AMO condition
...
* the user may have allowed access to AMO via about:config
* the code was wrong anyway, should be `!FIREFOX`
2020-10-23 15:22:18 +03:00
tophf
5a5512aa0f
use own implementation of UUIDv4
2020-10-23 09:27:33 +03:00
tophf
54605c838b
set customName only on user input
2020-10-22 23:48:17 +03:00
tophf
e6e7d7d158
leave name input empty in new usercss style
2020-10-22 23:47:46 +03:00
tophf
2d9785be6e
clear dirty
upon swapping style
2020-10-22 23:31:09 +03:00
tophf
0199b2c0bb
preserve dirty
after importing moz-format, fixes #1075
2020-10-22 23:18:58 +03:00
tophf
6593d5c05a
get disableAll pref earlier, fixes #1074
2020-10-22 22:58:45 +03:00
tophf
f9804036b2
instant style injection via synchronous XHR ( #1070 )
...
* don't run web-ext test as it fails on Chrome-only permissions
* generate stylus-firefox.zip without declarativeContent
* limit note's width in options
* run updateExposeIframes only in frames
2020-10-22 22:16:55 +03:00
tophf
7f15ae324d
Merge pull request #1054 from tophf/custom-name
...
fix local name customization for usercss/legacy
2020-10-22 15:07:33 +03:00
narcolepticinsomniac
76e2a90392
moz-format CM focus style
2020-10-22 15:05:54 +03:00
tophf
d1b9338707
make manager load real fast
2020-10-22 15:05:54 +03:00
tophf
bc6c9c826a
make editor load even faster
...
* reorder scripts
* make style request earlier
2020-10-22 15:03:07 +03:00
tophf
2e1a903cc7
fix local name customization for usercss/legacy
2020-10-22 15:01:49 +03:00