tophf
170bd0ccb1
reuse line index cache for posFromIndex
...
100ms -> 50ms rendering time in updateInvisible() for "RU AdList CSS Fixes" style
300ms -> 50ms is the final speedup with the widget height cache in 3fd4343c
2017-11-27 02:43:10 +03:00
eight
5dbd2249dd
Add: use cache template
2017-11-27 02:43:10 +03:00
tophf
3fd4343cfd
usercss: don't recalc widget height => spend 0 time in CM
...
300ms -> 100ms rendering time in updateInvisible() for "RU AdList CSS Fixes" style
2017-11-27 01:33:16 +03:00
tophf
05677d93b3
usercss: use cm.changeGeneration() to detect dirtiness
2017-11-27 00:57:25 +03:00
tophf
76b49af81f
finally rename the only camelCase-named file
2017-11-26 22:09:01 +03:00
tophf
23efcb1db8
usercss: inform when the entire metadata block is missing/invalid
2017-11-26 21:13:54 +03:00
tophf
0d80177691
accept xhr options in download(url, options)
...
also fixup d1964bbc: an error should reject with a code, not XHR's ProgressEvent
2017-11-26 21:09:29 +03:00
tophf
ff175d9af4
store installDate and updateDate
2017-11-26 20:47:23 +03:00
tophf
4fd25f9e1a
add hover on filter selectors to indicate the clickable area
2017-11-26 20:36:43 +03:00
tophf
77a07b7f2b
open editor on clicking anywhere in the cell; add hover effect
2017-11-26 20:36:14 +03:00
tophf
5a489e7043
add "usercss" label
...
reimplements #262
2017-11-26 20:24:42 +03:00
tophf
a58f42dee0
usercss editor: save as template when @name is empty
...
* reduced the flickering on page open
* show * in title for new styles
* align the values in the default template
* don't ask to save an untouched template
* don't spam the console with errors
* trivial code refactor and cosmetics
2017-11-26 18:43:40 +03:00
tophf
b63449f299
show tooltips in popup on ellipsized names
2017-11-26 15:31:00 +03:00
tophf
af64ec4ac0
show a real hotkey in Save button tooltip
2017-11-26 15:08:47 +03:00
tophf
fb9abee285
FF options: match the default FF theme color
2017-11-26 14:25:46 +03:00
tophf
288f347e40
fixup 978e5ca9
and ee86ef30: editor.contextDelete option
2017-11-26 14:20:44 +03:00
tophf
74e6ea5a56
fixup c8c02805: +1 only when no previous widget found
2017-11-26 05:10:31 +03:00
narcolepticinsomniac
95ebe96bc2
Proper IDs like other pages
2017-11-25 20:53:21 -05:00
tophf
0e518bddcb
don't add usercss vars to empty sections
2017-11-26 04:52:14 +03:00
tophf
fb3554a351
simplify orphanCheck; use IIFE; fix comm issues
2017-11-26 04:24:23 +03:00
tophf
babeb695c1
kick out orphaned script
2017-11-26 00:23:38 +03:00
tophf
e4de02995c
fixup 978e5ca9: don't reuse the same object in async code!
2017-11-26 00:04:19 +03:00
tophf
2495ded507
fixup c8b6672d: restore deleted elements
2017-11-25 23:47:39 +03:00
tophf
47c6e7a52e
bump version to 1.1.6.3
2017-11-25 20:24:50 +03:00
tophf
6aef6cdcd7
0 is a valid tab id
2017-11-25 20:24:15 +03:00
tophf
ea277bcf4c
show a spinner on usercss install page while fetching code
2017-11-25 18:24:37 +03:00
tophf
e7175c261a
don't confirm on clicking "install" for a new usercss
2017-11-25 18:24:37 +03:00
tophf
aedb02bbb1
install usercss from raw.githubusercontent.com
2017-11-25 18:24:37 +03:00
tophf
59d32e6f2f
inline and simplify closeTab()
2017-11-25 18:00:41 +03:00
tophf
978e5ca9f0
sendMessage()
...
Promise mode [default]:
- rejects on receiving {__ERROR__: message} created by
background.js::onRuntimeMessage
- suppresses chrome.runtime.lastError
by browserAction.setText which lacks a callback param in chrome API
Callback mode:
- enabled by passing a second param
- doesn't suppress chrome.runtime.lastError
2017-11-25 18:00:38 +03:00
tophf
226fc471eb
bump version to 1.1.6.2
2017-11-25 17:44:32 +03:00
tophf
c8c02805f4
fixup 82651ed6: recreate widgets for active line if needed
2017-11-25 17:44:32 +03:00
tophf
326dc5fb86
don't autofocus colorpicker input fields on small touch devices
2017-11-25 16:47:05 +03:00
tophf
71b2ab14a0
pull locales from transifex
2017-11-25 16:34:43 +03:00
tophf
8f04e17d27
fix #223 - Android compatibility
2017-11-25 16:25:20 +03:00
tophf
febaefd8dc
don't show autocomplete on numbers
2017-11-25 04:30:19 +03:00
tophf
3ed98cb506
fixup 80547aef: autocomplete should fallback to original helper
2017-11-25 04:29:56 +03:00
tophf
2dda22f700
fix color swatch glitch on lint markers
2017-11-25 04:28:55 +03:00
tophf
08fab9559c
CodeMirror 5.32
2017-11-24 13:19:20 +03:00
tophf
15c5df0e6e
colorpicker always picks up the only color in a line
2017-11-24 13:19:19 +03:00
tophf
7c0d8f0841
prevent inline overlays from breaking color swatches
2017-11-24 13:19:19 +03:00
tophf
7e4683d417
USO-vars in CSSLint
2017-11-24 13:19:19 +03:00
tophf
60247a6443
don't lowercase the original line!
2017-11-24 13:19:18 +03:00
tophf
7c746ab9a3
fix colorpicker keyboard increment with #HEX in CAPS
2017-11-24 13:19:18 +03:00
tophf
80547aef70
recognize USO-variables /*[[foo]]*/ and provide autocomplete hints
2017-11-24 13:19:18 +03:00
tophf
3152a7ebfe
simpler plain string method for same token check
2017-11-24 13:19:18 +03:00
tophf
8bff4a297e
disallow Space as a colorpicker hotkey
2017-11-24 13:19:17 +03:00
tophf
d2826d92f6
CodeMirror css mode: recognize "isolation"
2017-11-24 13:19:17 +03:00
tophf
def05f2f0a
csslint: add "isolation"
2017-11-24 13:19:17 +03:00
tophf
55360c731a
move helpers and defaults to the end when everything is ready
2017-11-24 13:19:17 +03:00