eight
|
05a87ed00f
|
Fix: minor
|
2018-10-14 15:58:33 +08:00 |
|
eight
|
576f73f333
|
Fix: always register listeners
|
2018-10-14 03:03:35 +08:00 |
|
eight
|
e93819deb4
|
Fix: unused statement
|
2018-10-14 02:58:49 +08:00 |
|
eight
|
7d005f3eaa
|
Change: kill style.reason
|
2018-10-14 01:09:22 +08:00 |
|
eight
|
1a5a206fe6
|
Refactor: pull out sections editor section
|
2018-10-12 16:18:40 +08:00 |
|
eight
|
8016346035
|
Fix: replaceStyle make style name undefined
|
2018-10-12 15:30:35 +08:00 |
|
eight
|
1b2c88f926
|
Fix: no need to access db
|
2018-10-12 03:46:51 +08:00 |
|
eight
|
bdae1c3697
|
Change: simpler styleCodeEmpty
|
2018-10-11 20:00:25 +08:00 |
|
eight
|
bd4a453f45
|
Merge branch 'dev-usercss-meta' into dev-exclusions
|
2018-10-11 19:49:37 +08:00 |
|
eight
|
f3a103645d
|
Fix: various
|
2018-10-11 02:11:14 +08:00 |
|
eight
|
ba64b95575
|
WIP: kill cachedStyles
|
2018-10-11 00:54:38 +08:00 |
|
eight
|
7eba890a21
|
Merge branch 'dev-private-prefs' into dev-exclusions
|
2018-10-10 23:15:14 +08:00 |
|
eight
|
d2b36a168e
|
Kill hidden globals
|
2018-10-10 23:05:20 +08:00 |
|
eight
|
6494985b50
|
Fix: various
|
2018-10-10 16:14:51 +08:00 |
|
eight
|
d26ce3238e
|
Add: codemirror-factory
|
2018-10-10 14:49:37 +08:00 |
|
eight
|
15a1f552f6
|
WIP: kill getSection
|
2018-10-10 12:08:35 +08:00 |
|
eight
|
ba6159e067
|
WIP: edit page
|
2018-10-10 02:43:09 +08:00 |
|
eight
|
fd9ab5d6e5
|
Fix: switch to editor
|
2018-10-10 00:41:07 +08:00 |
|
eight
|
06e22d0d18
|
Change: add sections-editor
|
2018-10-09 23:38:29 +08:00 |
|
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
|
34497ebe16
|
WIP: switch to API
|
2018-10-05 18:47:52 +08:00 |
|
eight
|
8a6e8ac03a
|
Change: drop prefChanged, use prefs service
|
2018-10-04 18:05:41 +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
|
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
|
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
|
92d6530c8f
|
simplify listener registration
since the function reference is constant, only one listener will be registered
|
2018-08-07 20:11:11 +03:00 |
|
tophf
|
eff0a7030c
|
display only style name in the editor tab title
"Edit Style" was redundant and made the title unreadable when many tabs were opened.
"Add Style" is still displayed for the new styles.
|
2018-08-07 19:59:16 +03:00 |
|
tophf
|
5da1e0fb9b
|
set onbeforeunload only when dirty
https://developers.google.com/web/updates/2018/07/page-lifecycle-api#legacy-lifecycle-apis-to-avoid
|
2018-08-02 20:54:40 +03:00 |
|
tophf
|
0c58783a6c
|
add buttons to restore, clone, move a section
|
2018-07-23 21:24:35 +03:00 |
|
tophf
|
4283cc53a7
|
use the global line wrapping option in moz-export popup
|
2018-07-22 20:08:13 +03:00 |
|
tophf
|
126d909ca7
|
use a typical OS order for #help-popup buttons
* horizontally centered in Windows
* right-aligned otherwise
|
2018-07-22 19:55:27 +03:00 |
|
tophf
|
87da06037f
|
make showCodeMirrorPopup modal
closes #437
|
2018-07-22 19:37:49 +03:00 |
|
Rob Garrison
|
bfe54ab4c4
|
Add tab communication
|
2018-07-22 11:21:45 -05:00 |
|
Rob Garrison
|
68dfa0153c
|
Add style exclusions. Closes #113
|
2018-07-22 11:21:43 -05:00 |
|
tophf
|
e3d1c6588d
|
prefill new style name with the domain/hostname
implements #344
|
2018-02-14 05:53:35 +03:00 |
|
tophf
|
dc1cd890ee
|
notify event subscribers when toggling the style via Alt-Enter
|
2018-01-14 17:40:09 +03:00 |
|
tophf
|
fb1ef71f25
|
don't save the style in toggleStyle; use data-hotkey-tooltip
|
2018-01-12 14:32:15 +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
|
d2cba96e10
|
refactor CSSLint
* reduce linting delay
* parse mozformat in worker
* allow empty functions in 'filter:' property
https://drafts.fxtf.org/filter-effects/#supported-filter-functions
* support comma-separated list in :lang()
* strip vendor prefix in isLiteral()
|
2018-01-07 12:31:23 +03:00 |
|
tophf
|
3418ac9cb9
|
FF: support private/container tabs
|
2018-01-03 10:43:56 +03:00 |
|
tophf
|
27fe9fa9db
|
search/replace in extra CodeMirror boxes e.g. lint config
|
2018-01-01 10:35:22 +03:00 |
|
tophf
|
f2efff64fd
|
FF weird bug workaround: delay initLint() by 100ms
|
2017-12-25 09:28:26 +03:00 |
|
tophf
|
57806bed45
|
don't set sessionStorage.justEditedStyleId to null
|
2017-12-24 02:37:26 +03:00 |
|
tophf
|
001db9a19f
|
make editor fully clean on saving
|
2017-12-18 10:27:50 +03:00 |
|
tophf
|
6ee952f3d3
|
more things made focusable
* mozilla-format (i) icon
* showHelp() restores original focus
* showHelp's nested confirmation is debounced to enable focusing Yes/No
* RegExp tester tab URLs are focusable now
|
2017-12-13 07:38:36 +03:00 |
|
tophf
|
fefe82fd54
|
remove what-input, use own implementation, rebase on master
|
2017-12-13 03:27:10 +03:00 |
|