Commit Graph

402 Commits

Author SHA1 Message Date
tophf
c3472207bf Editor: add Undo button to CSS-beautifier 2015-07-04 06:39:39 +03:00
tophf
5caab7ab47 Editor: better async adding of sections in initWithStyle 2015-07-04 06:39:39 +03:00
tophf
fa6b0f4477 prefs: handle object type 2015-07-04 06:39:39 +03:00
tophf
b5df8802a0 Editor: CSS-beautifier 2015-07-04 06:39:39 +03:00
tophf
0ebb464e5d Add more options to beautify-css.js 2015-07-04 06:38:37 +03:00
tophf
901000101a Add beautify-css.js 2015-07-04 06:38:37 +03:00
Jason Barnabe
997a0d432c Merge pull request #118 from tophf/lint-msg-block
Editor: show a list of all CSSLint messages
2015-07-03 22:37:32 -05:00
tophf
1250bb970e Editor: show a list of all CSSLint messages 2015-07-04 06:33:40 +03:00
Jason Barnabe
c61b715e2f Merge pull request #124 from tophf/manage-scroll-save
Manage: remember scroll position, initialize styles earlier
2015-06-19 22:58:29 -05:00
Jason Barnabe
4d768d8740 Merge pull request #128 from tophf/empty-code-section
Editor: show an empty code box for styles with no sections
2015-06-19 21:39:44 -05:00
Jason Barnabe
f97989877f Merge pull request #127 from tophf/keymap-default-fix
Editor: set OS-dependent default keymap consistently
2015-06-19 21:39:27 -05:00
tophf
8b890e8652 Editor: don't save window size after browser restart
Because if an edit style window was the only window open when closing the browser it'll become the main browser window after restart and is likely to be resized differently.
2015-06-15 18:56:48 +03:00
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