Commit Graph

39 Commits

Author SHA1 Message Date
eight
d02984ee2a Add: expose parseError.index 2017-11-09 15:53:09 +08:00
eight
7842ac752a i18n: styleMetaErrorPreprocessor 2017-11-09 09:12:15 +08:00
eight
09e7d67dd2 Refactor: buildMeta 2017-11-09 09:12:15 +08:00
eight
a1b818f0c5 Fix: invalid default value for dropdown 2017-11-09 09:12:15 +08:00
eight
f86d0fc2e7 Fix: use sticky flag to avoid slicing string 2017-11-09 09:12:15 +08:00
eight
6358162bec Fix: createOption in one line 2017-11-09 09:12:15 +08:00
eight
3a78681d9e Fix: use .map to build varDef 2017-11-09 09:12:14 +08:00
eight
5a9f78e2ac Add: key:label syntax in var select 2017-11-04 08:38:17 +08:00
eight
db1643e9b8 Refactor: pull out colorParser 2017-11-01 11:18:13 +08:00
eight
71a1c5e18a Fix: old -> oldStyle 2017-11-01 11:17:01 +08:00
eight
f35fbb5b36 Fix: add styleMetaErrorSelectValueMismatch 2017-11-01 11:17:01 +08:00
eight
79b6266cf9 Fix: no new line before use strict 2017-11-01 11:13:57 +08:00
eight
62748b3b79 Fix: use arrow function for IIFE 2017-10-30 01:22:10 +08:00
eight
3906060aef Add: multi-line string syntax 2017-10-09 02:45:26 +08:00
eight
4115705d8f Fix: uso replace doesn't work on var select 2017-10-09 02:45:11 +08:00
eight
c0378e3f05 Fix: uso preprocessor infinite recursion 2017-10-09 02:44:17 +08:00
eight
77b6b6c857 Change: drop looseJSONParse 2017-10-09 01:03:51 +08:00
eight
a901ca29c1 Add: allow array in var select 2017-10-09 00:59:10 +08:00
eight
56e669fbcf Fix: normalize version 2017-10-06 17:09:28 +08:00
eight
1e9ee786ea Fix: normalize new line 2017-09-18 08:16:11 +08:00
eight
aed3698c74 Fix: looseJSONParse doesn't work on chrome 49 2017-09-16 10:14:24 +08:00
eight
a0495f466f Change style structure 2017-09-16 10:14:23 +08:00
eight
eaf33afbe3 Rewrite parser, add uso preprocessor 2017-09-15 13:40:04 +08:00
eight
2506b957f8 Fix: rewrite loadScript, merge onDOMscripted, injectCSS, injectScript 2017-09-12 23:19:16 +08:00
eight
23bd3e2cc7 fixup! Fix: err -> e 2017-09-12 20:48:03 +08:00
eight
6b1d6564fb Fix: drop pad 2017-09-12 20:44:12 +08:00
eight
8e5ffd036f Fix: use rgb() when alpha === 1 2017-09-12 20:29:09 +08:00
eight
a3f26d89b8 Fix: _parse -> parseRGB 2017-09-12 20:25:59 +08:00
eight
e3c3dcc1ff Fix: use .map to build vars 2017-09-12 20:24:25 +08:00
eight
41f0174362 Add: valid url 2017-09-12 02:46:37 +08:00
eight
381ee88e94 Fix: i18n error message 2017-09-12 01:48:10 +08:00
eight
f305719db3 Fix: update progress 2017-09-12 01:23:32 +08:00
eight
8bc6986cac Change: make unknown preprocessor throw 2017-09-12 00:10:27 +08:00
eight
3daff40acf Add: vars validation 2017-09-09 19:29:35 +08:00
eight
4e0f4b34bb Add: colorParser 2017-09-07 01:51:27 +08:00
eight
1f44898475 Add: adopt node-semver 2017-09-06 03:08:03 +08:00
eight
78264a1c34 Add: parse more metas, add variable type 2017-09-05 18:48:18 +08:00
eight
8607d779f9 Change how var is saved 2017-09-01 14:38:46 +08:00
eight
dece4b57f3 Add: install styles from *.user.css file
Fix: handle dup name+namespace

Fix: eslint eqeqeq

Fix: trim @name's spaces

Add: check update for userstyle

Add: build CSS variable

Fix: only check dup when id is not provided

Refactor: userStyle2json -> userstyle.json

Add: style for input

Add: config dialog

Fix: preserve config during update

Fix: onchange doesn't fire on keyboard enter event

Fix: remove empty file

Add: validator. Metas must stay in the same line

Add: warn the user if installation failed

Fix: add some delay before starting installation

Add: open the editor after first installation

Fix: add openEditor to globals

Fix: i18n

Add: preprocessor. Move userstyle.build to background page.

Fix: remove unused global

Fix: preserved unknown prop in saveStyleSource() like saveStyle()

Add: edit userstyle source

Fix: load preprocessor dynamically

Fix: load content script dynamically

Fix: buildCode is async function

Fix: drop Object.entries

Fix: style.sections is undefined

Fix: don't hide the name input but disable it

Fix: query the style before installation

Revert: changes to editor, editor.html

Refactor: use term `usercss` instead of `userstyle`

Fix: don't show homepage action for usercss

Refactor: move script-loader to js/

Refactor: pull out mozParser

Fix: code style

Fix: we don't need to build meta anymore

Fix: use saveUsercss instead of saveStyle to get responsed error

Fix: last is undefined, load script error

Fix: switch to moz-format

Fix: drop injectContentScript. Move usercss check into install-user-css

Fix: response -> respond

Fix: globals -> global

Fix: queryUsercss -> filterUsercss

Fix: add processUsercss function

Fix: only open editor for usercss

Fix: remove findupUsercss fixme

Fix: globals -> global

Fix: globals -> global

Fix: global pollution

Revert: update.js

Refactor: checkStyle

Add: support usercss

Fix: no need to getURL in background page

Fix: merget semver.js into usercss.js

Fix: drop all_urls in match pattern

Fix: drop respondWithError

Move stylus -> stylus-lang

Add stylus-lang/readme

Fix: use include_globs

Fix: global pollution
2017-08-30 17:29:41 +08:00