Commit Graph

2690 Commits

Author SHA1 Message Date
tophf
67fe43e9a9 Editor: use history back for Back-To-Manage when appropriate 2015-06-10 17:18:13 +03:00
tophf
f48c0da63f Editor: show an empty code box for styles with no sections 2015-06-10 13:03:41 +03:00
tophf
ac88689533 Editor: set OS-dependent default keymap consistently 2015-06-10 12:58:01 +03:00
tophf
9cfa214d19 Manage: remember scroll position, initialize styles earlier 2015-06-10 12:20:37 +03:00
Jason Barnabe
761b5bd7d9 Merge pull request #123 from tophf/editor-fixes
Editor: fixes
2015-06-09 21:27:54 -05:00
Jason Barnabe
1c6004cbfb Merge pull request #122 from tophf/editor-hl-cmt
Editor: highlight active line, add toggle/line/block comment commands
2015-06-09 21:11:08 -05:00
Jason Barnabe
290f0635d8 Merge pull request #121 from tophf/editor-autosize
Editor: maximize height of code boxes when possible
2015-06-09 21:01:08 -05:00
tophf
3429db0ee1 Editor: correctly determine when to save the window size 2015-06-04 15:22:05 +03:00
tophf
2895ce11e2 Editor: maximize height of code boxes on start when possible 2015-06-04 13:43:04 +03:00
tophf
03c9b04503 Editor: add toggle/line/block comment commands 2015-05-27 21:03:25 +03:00
tophf
0308774fc4 Editor: highlight active line 2015-05-27 21:03:25 +03:00
Jason Barnabe
a19190b033 Merge pull request #115 from tophf/icon-no-styles
Dim toolbar icon on unstyled tabs
2015-05-21 10:45:40 -05:00
tophf
126ec0e11d Use transparent badge color when not in disableAll state
Works because Chrome *overlays* user-specified badge color onto its own default color.
2015-05-21 18:39:39 +03:00
tophf
c60a21cf12 New Tab Page: fixup for icon, badge, popup style list 2015-05-21 17:45:06 +03:00
tophf
f765934316 Dim toolbar icon on unstyled tabs, regenerate icons 2015-05-21 17:38:02 +03:00
Jason Barnabe
a7cb548f92 Merge pull request #107 from tophf/iframe-observer-speedup
Make iframe observer 10-100 times faster
2015-05-21 09:25:55 -05:00
tophf
aafa909109 Make iframe observer faster
* Process dynamic frames on DOMContentLoaded
* Apply styles to iframes with srcdoc while loading
2015-05-21 17:16:09 +03:00
tophf
2faead9732 Normalize line endings in apply.js 2015-05-21 17:15:10 +03:00
Jason Barnabe
f62ccbc0ca Merge pull request #116 from tophf/edit-world-go
Editor: add a link to the install source page
2015-05-17 19:09:57 -05:00
tophf
39021be48c Editor: add a link to the install source page 2015-05-15 19:49:56 +03:00
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