eight
|
0f148eac32
|
WIP
|
2018-10-04 03:35:07 +08:00 |
|
eight
|
24b1eea8a4
|
Merge branch 'master' of https://github.com/openstyles/stylus into dev-exclusions
|
2018-10-03 15:00:07 +08:00 |
|
eight
|
5cbe8a8d78
|
Add: fetch style object from DB directly in the editor (#507)
|
2018-10-02 20:22:18 +08:00 |
|
eight
|
2fd531e253
|
Rewrite linter system (#487)
* Add: implement new linter system
* Refactor: pull out editor worker
* Switch to new linter and worker
* Enable eslint cache
* Fix: undefined error
* Windows compatibility
* Fix: refresh linter if the editor.linter changes
* Add: stylelint
* Add: getStylelintRules, getCsslintRules
* Fix: logic to get correct linter
* WIP: linter-report
* Fix: toggle hidden state
* Add: matain the order of lint report for section editor
* Add: unhook event
* Add: gotoLintIssue
* Fix: shouldn't delete rule.init
* Add: linter-help-dialog
* Drop linterConfig
* Add: linter-config-dialog, cacheFn
* Add: use cacheFn
* Drop lint.js
* Add: refresh. Fix report order
* Fix: hide empty table
* Add: updateCount. Fix table caption
* Switch to new linter/worker
* Fix: remove unneeded comment
* Fix: cacheFn -> cacheFirstCall
* Fix: use cacheFirstCall
* Fix: cache metaIndex
* Fix: i < trs.length
* Fix: drop isEmpty
* Fix: expose some simple states to global
* Fix: return object code style
* Fix: use proxy to reflect API
* Fix: eslint-disable-line -> eslint-disable-next-line
* Fix: requestId -> id
* Fix: one-liner
* Fix: one-liner
* Fix: move dom event block to top
* Fix: pending -> pendingResponse
* Fix: onSuccess -> onUpdated
* Fix: optimize row removing when i === 0
* Fix: hook/unhook -> enableForEditor/disableForEditor
* Fix: linter.refresh -> linter.run
* Fix: some shadowing
* Fix: simplify getAnnotations
* Fix: cacheFirstCall -> memoize
* Fix: table.update -> table.updateCaption
* Fix: unneeded reassign
* Fix: callbacks -> listeners
* Fix: don't compose but extend
* Refactor: replace linter modules with linter-defaults and linter-engines
* Fix: implement linter fallbacks
* Fix: linter.onChange -> linter.onLintingUpdated
* Fix: cms -> tables
* Fix: parseMozFormat is not called correctly
* Move csslint-loader to background
* Fix: watch config changes
* Fix: switch to LINTER_DEFAULTS
* Fix: csslint-loader -> parserlib-loader
|
2018-10-01 09:03:17 -05:00 |
|
tophf
|
af77b55eea
|
fixup 2fdfd966
#482
|
2018-08-27 20:42:51 +03:00 |
|
tophf
|
2fdfd96699
|
use the new originalDigest in update UI
...when force-updating a locally edited style that turned out to be equal to the remote one
fixes #482
|
2018-08-27 20:39:36 +03:00 |
|
tophf
|
c0c5f1dbcc
|
avoid overwriting existing usercss on saving a new one
|
2018-08-18 23:17:20 +03:00 |
|
tophf
|
406a7cd4c0
|
FF bug workaround: apply styles to more iframes
|
2018-08-09 21:22:26 +03:00 |
|
tophf
|
be94303bad
|
simplify onInstalled
|
2018-08-06 18:20:57 +03:00 |
|
Rob Garrison
|
8a6011de8c
|
Attempt to update icon count
|
2018-07-22 11:21:45 -05:00 |
|
Rob Garrison
|
4fcb1a88d7
|
Fix empty exclusion storage error
|
2018-07-22 11:21:45 -05:00 |
|
Rob Garrison
|
bfe54ab4c4
|
Add tab communication
|
2018-07-22 11:21:45 -05:00 |
|
Rob Garrison
|
e94c7edb38
|
Attempt to fix popup exclusion issues
|
2018-07-22 11:21:44 -05:00 |
|
Rob Garrison
|
2b4a1a5635
|
Modify input method
|
2018-07-22 11:21:44 -05:00 |
|
Rob Garrison
|
68dfa0153c
|
Add style exclusions. Closes #113
|
2018-07-22 11:21:43 -05:00 |
|
tophf
|
15c3c7c8ab
|
fixup 3418ac9c: explicitly set the optional parameter
fixes #423
|
2018-07-09 09:10:36 +03:00 |
|
tophf
|
0d7b8152e8
|
code cosmetics
|
2018-07-05 15:46:01 +03:00 |
|
tophf
|
d8b776bedf
|
try installing from full code if 'sections' is empty in style json
fixes #414
|
2018-07-05 15:46:01 +03:00 |
|
tophf
|
d37b113d0d
|
retry on HTTP status 429 "Too Many Requests"
|
2018-07-02 17:20:22 +03:00 |
|
tophf
|
711a3afeee
|
logQueue can be empty
|
2018-05-24 21:09:00 +03:00 |
|
tophf
|
82b797738a
|
use Alarms API since js timers are limited to 596 hours
fixes #388
|
2018-05-14 08:56:31 +03:00 |
|
tophf
|
d36fea27ad
|
fixup 3418ac9c: append to updateLog
|
2018-05-09 18:33:28 +03:00 |
|
tophf
|
3548a6caed
|
fixup c26fa76f: parameter is an object =_='
|
2018-05-09 18:11:59 +03:00 |
|
tophf
|
1f347df8cf
|
fixup c26fa76f: Set#has
#380
|
2018-05-04 22:08:19 +03:00 |
|
tophf
|
c26fa76f53
|
retry the update check on 503
fixes #380
|
2018-04-30 20:05:52 +03:00 |
|
tophf
|
0a082f30d2
|
Chrome with NativeCrxBindings: ignore lastError in injectCS
|
2018-04-25 10:37:07 +03:00 |
|
tophf
|
677bf7b9bf
|
Chrome with NativeCrxBindings: check lastError in injectCS
|
2018-04-24 22:16:21 +03:00 |
|
tophf
|
e80efa7604
|
FF: hotkeys dialog
|
2018-04-12 21:28:45 +03:00 |
|
tophf
|
8524c76f66
|
setBadgeText has a callback in Chrome 67+
|
2018-04-05 00:41:05 +03:00 |
|
tophf
|
36b0e8f4bb
|
clear entire cache when updating styles with global sections
|
2018-03-22 04:26:43 +03:00 |
|
tophf
|
4901e97f9f
|
open USO style settings even if the site tab is auto-activated
|
2018-03-13 18:35:28 +03:00 |
|
tophf
|
a7774c26fb
|
bump version
|
2018-03-13 17:24:10 +03:00 |
|
tophf
|
40054902e9
|
USO can't handle POST requests for style json
|
2018-03-13 17:23:47 +03:00 |
|
tophf
|
28ef5572ba
|
FF: ensure styles are applied to about:blank iframes
fixes #215
|
2018-03-08 19:25:09 +03:00 |
|
tophf
|
850b7dc635
|
clear localStorage for CM themes on extension update
|
2018-03-03 23:45:14 +03:00 |
|
tophf
|
918888ffb0
|
code cosmetics
|
2018-02-16 18:05:25 +03:00 |
|
DecentM
|
44a11508ff
|
Add OpenUserCSS support (#328)
|
2018-02-15 11:27:00 +03:00 |
|
tophf
|
f6991c4f57
|
fallback to 'path' when Canvas is blocked in FF
fixes #335
|
2018-01-30 19:42:30 +03:00 |
|
tophf
|
02989edb05
|
eat unclosed comments
|
2018-01-30 18:59:28 +03:00 |
|
tophf
|
90aacefff8
|
ignore @charset when deciding if section is empty
fixes #337
|
2018-01-30 18:59:28 +03:00 |
|
tophf
|
ca5f8c941b
|
don't refresh own tabs twice
fixes #336
|
2018-01-29 04:37:24 +03:00 |
|
tophf
|
bc2da3f66a
|
prevent hanging when parent frame is absent
|
2018-01-20 02:28:20 +03:00 |
|
tophf
|
a3962b7adf
|
put https://top.site.origin in "stylus-iframe" attr
|
2018-01-19 15:37:26 +03:00 |
|
tophf
|
72e0f5fbf5
|
update refreshAllTabs cache and icon on disabling livepreview
|
2018-01-14 17:32:25 +03:00 |
|
tophf
|
b42dfc8300
|
fixup bb34538d: decrement styles.length on delete
|
2018-01-14 15:40:36 +03:00 |
|
tophf
|
eabfaca08e
|
run webNavUsercssInstallerFF on the entire githubusercontent.com
fixes #329
|
2018-01-14 15:23:09 +03:00 |
|
tophf
|
bb34538da0
|
smart invalidateCache: try to update filters in-place
|
2018-01-12 00:54:40 +03:00 |
|
tophf
|
989df35b05
|
live preview in editor
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
|
2018-01-12 00:54:36 +03:00 |
|
tophf
|
650cf3521b
|
correctly strip 'code' from style hash
|
2018-01-10 22:18:35 +03:00 |
|
tophf
|
9fdabe3582
|
simplify getStyles
* 'asHash' implies 'enabled'
* 'length' is added to the style hash
|
2018-01-10 22:18:30 +03:00 |
|