Commit Graph

2676 Commits

Author SHA1 Message Date
eight
095998f07c Change: switch to msg.js 2018-10-06 13:27:58 +08:00
eight
fa3127d988 Change: switch to msg.js 2018-10-06 13:02:45 +08:00
eight
05d582c726 Add: msg.sendBg 2018-10-06 11:43:42 +08:00
eight
171339f710 WIP: drop api.js 2018-10-06 04:39:48 +08:00
eight
3a618aca2a WIP: use deepCopy 2018-10-06 03:19:51 +08:00
eight
bb1cb58024 WIP: msg.js 2018-10-06 03:10:04 +08:00
eight
2472e91f57 WIP: emitChangesToTabs 2018-10-05 21:28:19 +08:00
eight
34497ebe16 WIP: switch to API 2018-10-05 18:47:52 +08:00
eight
f1639cc33e WIP: broadcastMessage 2018-10-05 01:03:40 +08:00
eight
81e4823f46 Debounce updateAllTabsIcon 2018-10-04 19:39:59 +08:00
eight
dc5f3e209f Fix: settings could be empty on the first install 2018-10-04 19:34:36 +08:00
eight
2328cf623a Change: start-firefox -> start 2018-10-04 19:34:22 +08:00
eight
7be6a1cba9 Add: applications 2018-10-04 19:24:35 +08:00
eight
630725196f fixup! Fix: update all icons when some prefs changed 2018-10-04 19:22:44 +08:00
eight
0d0e1b4dc0 Fix: update all icons when some prefs changed 2018-10-04 19:20:36 +08:00
eight
5c0288e9ba fixup! Remove unused FIREFOX_NO_DOM_STORAGE 2018-10-04 19:20:11 +08:00
eight
56b737b65a Remove unused FIREFOX_NO_DOM_STORAGE 2018-10-04 18:14:57 +08:00
eight
829a134ed1 Fix: this -> prefs 2018-10-04 18:10:53 +08:00
eight
d35f92250e Fixme: styleViaAPI 2018-10-04 18:08:19 +08:00
eight
8a6e8ac03a Change: drop prefChanged, use prefs service 2018-10-04 18:05:41 +08:00
eight
10f9449144 Change: move setupLivePrefs to dom.js. Remove prefs.js dependencies 2018-10-04 17:46:45 +08:00
eight
dd2b8ed091 Fix: type error 2018-10-04 17:18:38 +08:00
eight
3af310c341 Fix: open-manager has no default value 2018-10-04 17:09:26 +08:00
eight
874a2da33e Enhance: make prefs use storage.sync 2018-10-04 17:04:23 +08:00
eight
c01f93f62c WIP 2018-10-04 15:57:02 +08:00
eight
6d32ffb76b WIP 2018-10-04 12:46:19 +08:00
eight
0f148eac32 WIP 2018-10-04 03:35:07 +08:00
eight
282bdf7706 Fix: numbers are not compared correctly 2018-10-03 20:24:06 +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
9058c06c54 Fix: bad API 2018-10-01 23:24:29 +08:00
eight
1f2d116aae Fix: use meta parser 2018-10-01 23:14:56 +08:00
eight
918e47b1ed Fix: emit update event if no fatal errors 2018-10-01 23:01:21 +08:00
eight
81a7bb9ac9 Add: editorWorker.metalint 2018-10-01 22:56:25 +08:00
eight
f47d57aea8 Change: use editorWorker.metalint 2018-10-01 22:49:16 +08:00
eight
5778d5c858 Change: editor-worker-body -> editor-worker 2018-10-01 22:39:01 +08:00
eight
268e1716b4 Change: switch to worker-util 2018-10-01 22:38:06 +08:00
eight
cc2980b647 Drop: parserlib-loader 2018-10-01 22:30:16 +08:00
eight
08adcb60f2 Merge branch 'master' into dev-usercss-meta 2018-10-01 22:29:39 +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
eight
e4135ce35d Fix: remove unused function 2018-09-28 11:57:34 +08:00
eight
39a6d1909f Fix: prefs doesn't work in FF's private windows. Add web-ext. Drop prefs.readOnlyValues 2018-09-28 00:26:29 +08:00
eight
6909c73c69 Fix: minor 2018-09-26 12:16:33 +08:00
eight
79833d8bba Fix: a better way to draw list? 2018-09-26 11:40:04 +08:00
eight
a849fd6dda Fix: missing placeholders 2018-09-26 11:39:53 +08:00
eight
d5ee31a080 Fix: a better way to draw character list? 2018-09-26 11:37:50 +08:00
eight
7b959af3e3 Update usercss-meta 2018-09-26 11:30:10 +08:00
eight
fefa987c4d Change: sections-equal -> sections-util 2018-09-26 10:37:28 +08:00
eight
2abbf670d8 Fix: check err.code 2018-09-26 10:37:14 +08:00
eight
1fe0586b29 Add: i18n error message 2018-09-26 10:33:02 +08:00