Commit Graph

1270 Commits

Author SHA1 Message Date
Jason Barnabe
28e34f2990 Merge pull request #114 from tophf/respect-user-extrakeys
Respect localStorage::editor.extraKeys user option
2015-05-14 14:47:41 -05:00
Jason Barnabe
1b978c2189 Merge pull request #113 from tophf/keymap-filter-by-hotkey
Editor keymap help: press a hotkey to filter the list
2015-05-14 14:47:10 -05:00
tophf
7f5580a661 Editor: press a hotkey in keymap help table to filter it
Add localizable placeholders to inputboxes
2015-05-14 22:44:28 +03:00
Jason Barnabe
c7e7bbe5d1 Merge pull request #111 from tophf/popup-fixes
Popup fixes
2015-05-14 13:58:43 -05:00
tophf
4df61c4a21 Popup: autoclose after click on 'Edit' link 2015-05-14 20:33:27 +03:00
Jason Barnabe
c84382133b Merge pull request #112 from tophf/manage-search
Manage styles: add search contents filter
2015-05-14 12:00:27 -05:00
tophf
36a70fa612 Manager: search styles filter 2015-05-14 19:57:05 +03:00
tophf
992f2bb38f Respect localStorage::editor.options.extraKeys user option 2015-05-14 00:06:46 +03:00
tophf
8a407fc0f4 Manager: styleAdded event bugfix and code dedup
styleAdded event handler was trying to use 'installed' variable
that wasn't defined in the scope
2015-05-13 23:16:06 +03:00
tophf
60381603db Popup: actually show newly installed styles
fixup 5b0d8fb
2015-05-13 23:15:46 +03:00
tophf
0b821463c8 Popup regression fix: handle disableAll checkbox in active popup
Apparently the original sender tab is excluded from
chrome.extension.sendMessage broadcast as of Chrome 44.
Even if it's a temporary bug the fixed method is okay.
2015-05-13 23:15:46 +03:00
tophf
e2bf12ac6d Popup regression fix: click style name to toggle the style 2015-05-13 23:15:45 +03:00
tophf
913d13b01a fix CodeMirror.normalizeKeyMap
The bug is reported and will be fixed in the next CM update.
2015-05-13 20:24:20 +03:00
Jason Barnabe
3817246da2 Merge pull request #110 from tophf/csslint-update
CSSLint update
2015-05-13 09:59:02 -05:00
Jason Barnabe
2048d17333 Merge pull request #105 from tophf/editor-fixes
Editor fixes
2015-05-13 09:33:40 -05:00
hideheader
af79e803e8 Remove eval from css-lint
Evaluate string token with `RegExp.exec()` instead of `eval()`.
2015-05-12 01:26:12 +03:00
tophf
f2ab3897c4 CSSLint addon: warn on nonadjacent duplicate properties 2015-05-12 01:26:12 +03:00
tophf
dda1ac7259 CSSLint: parser dev + PR
base: https://github.com/CSSLint/parser-lib/commit/b6a2cbb
PR1: https://github.com/mattiacci/parser-lib/commit/59bbfc5
PR2: https://github.com/mattiacci/parser-lib/commit/52e3ad3
2015-05-12 01:26:08 +03:00
tophf
9979f43b09 Editor: search in 'applies-to' inputs too 2015-05-10 12:40:52 +03:00
tophf
932ffa80fe Editor: use visible code box for 'find' when focused one is offscreen 2015-05-10 12:40:51 +03:00
tophf
532662672f Editor: repaint code boxes on window scroll 2015-05-10 12:40:51 +03:00
tophf
eb9e045308 Editor: Shift-Ctrl-Wheel to scroll entire page 2015-05-10 12:40:51 +03:00
tophf
e707a08a84 Editor: showHelp() as html, add help for hotkeys 2015-05-10 12:40:51 +03:00
tophf
9ae6382469 Editor: remove scroll-hack and hint-hack, not needed with CM5.2.1 2015-05-10 12:40:51 +03:00
tophf
614694cf7e Editor: reroute browser hotkeys to CM using keymaps 2015-05-10 12:40:51 +03:00
tophf
a830d5b3af Editor: use current search state in later added sections 2015-05-10 12:40:49 +03:00
tophf
c6b4c6c738 CSSLint: parser 0.2.5 2015-05-07 02:22:39 +03:00
tophf
62ec9e1c9e Editor: make newly added section visible 2015-05-06 09:13:28 +03:00
Jason Barnabe
b6444c86ec Merge pull request #103 from tophf/editor-theme
Editor: option to select CodeMirror CSS theme
2015-05-05 20:57:08 -05:00
tophf
539be4ce43 Code review & cosmetics 2015-05-05 23:42:38 +03:00
tophf
a0c5674f6f Wait for background page to load on Chrome startup
At startup Chrome lazy-loads extension's background page,
thus occasionally breaking apply.js and Stylish own pages
2015-05-05 21:36:16 +03:00
tophf
bc6476bc52 Editor: option to select CodeMirror CSS theme 2015-05-05 21:14:11 +03:00
Jason Barnabe
38d8903f8d Merge pull request #108 from tophf/codemirror-5.2.1
CodeMirror 5.2.1 update
2015-05-04 14:19:46 -05:00
tophf
d25531977e CodeMirror 5.2.1 update
* keep our custom css-lint.js, no changes in upstream
* use newer show-hint.js - {completeSingle: true} was broken in 5.2.0
* use newer search.js - replace() didn't use previous search query in 5.2.0
2015-05-04 22:06:55 +03:00
Jason Barnabe
2e02b73c77 Merge pull request #94 from tophf/localization-embed
Localization: embed in html, autorun, apply earlier
2015-05-04 12:33:41 -05:00
tophf
9efac32b85 Localize search prompts in editor 2015-05-01 13:33:01 +03:00
tophf
0e6f63951a Localization: embed in html, autorun, apply earlier 2015-05-01 13:33:01 +03:00
Jason
68fa907854 1.3.1 2015-04-22 20:11:55 -05:00
Jason Barnabe
cb9f8ffc27 Merge pull request #104 from tophf/bugfix2
Fix old Chrome error: no 'browser_action' contextMenu type
2015-04-22 14:01:09 -05:00
tophf
30598dbbf0 Fix old Chrome error: no 'browser_action' contextMenu type 2015-04-22 22:01:19 +03:00
Jason Barnabe
05911f39ac Merge pull request #102 from tophf/bugfix
Bugfix for 1.3.0 release
2015-04-22 11:39:01 -05:00
tophf
1156b3f989 Fix 'const in strict mode' error in very old Chrome 2015-04-22 14:30:55 +03:00
tophf
c66ae794bc Fix installation error 'Variable $applies$ used but not defined' 2015-04-22 14:26:41 +03:00
Jason
6fb5c44f67 1.3.0 2015-04-21 11:00:01 -05:00
Jason
cf85e50bd0 Update locales from Transifex 2015-04-17 09:41:33 -05:00
Jason
ac00f48d19 Popup CSS tweaks 2015-04-17 09:33:03 -05:00
Jason
f0e00ec5c6 Switch 'all styles off' style to strikethrough to make them not look disabled 2015-04-08 14:18:12 -05:00
Jason
cf4da22a0a Make style names in popup toggle the styles 2015-04-08 14:14:16 -05:00
Jason
32584911ea Add a bit of spacing after style name in pop-up 2015-04-08 14:10:34 -05:00
Jason
d8e9f61576 Remove extra focus style for CodeMirror 2015-04-08 14:07:59 -05:00