Commit Graph

1062 Commits

Author SHA1 Message Date
Rob Garrison
47e326d293 Remove duplicate file 2017-08-27 17:20:42 -05:00
Rob Garrison
a44b4e7822 Switch from CSSLint to stylelint 2017-08-27 17:20:42 -05:00
tophf
6f2883c6d3 remember window size only in active editor 2017-08-27 19:41:09 +03:00
tophf
a52c6ed9d7 avoid creating conflicts with stylelint PR 2017-08-27 18:03:59 +03:00
tophf
feea5e834e avoid avoiding to actually avoid
it was a Chrome bug workaround which became harmful now that it's fixed in Chrome
2017-08-27 17:50:53 +03:00
tophf
fa908d1ceb fixup 58f966be 2017-08-27 17:45:15 +03:00
tophf
ec95e8e7b4 simplify tabs.onAttached 2017-08-27 17:42:59 +03:00
tophf
58f966be98 use consistent file names for options assets 2017-08-27 17:17:28 +03:00
tophf
2631e3a685 try to fit all options in 640px max-height set by Chrome 2017-08-27 17:17:28 +03:00
tophf
5620ef606e expose openEditInWindow as an option 2017-08-27 17:17:28 +03:00
tophf
d1924c1d63 deglobalize onAttached listener for editor tabs
* bonus: one unconditional global listener less
* bonus: in FF the saved window size is restored on detaching
* theoretically possible drawback: 100+ editor tabs on a slow computer may be slower than before
2017-08-27 17:17:28 +03:00
tophf
738846a614 better remember and detect resizing of editor; FF-compatibility 2017-08-27 17:05:05 +03:00
tophf
dba3de7a86 fix&simplify narrow manager media queries 2017-08-27 17:05:05 +03:00
tophf
6256f1ab2d fix narrow editor media query in FF: use column-count 2017-08-27 14:40:23 +03:00
tophf
80ff6f6832 fixup 8976bd58: specify parent to avoid deadzoning 2017-08-27 14:30:39 +03:00
tophf
543fec82ce Use our font style for 'dysfunctional' message 2017-08-27 13:28:03 +03:00
tophf
320ea3485a hyphenate blocked-info in FF 2017-08-27 13:02:58 +03:00
tophf
90ab2959a6 abandon automatic translation in CSS
* it fails with some languages in some versions of FF
* it's not as flexible as HTML templates
* we were only using it for a few messages
2017-08-27 13:02:17 +03:00
tophf
243da0b0d1 fix opening own pages from an incognito window popup in Chrome 2017-08-26 15:57:33 +03:00
tophf
8976bd58b8 inform when dysfunctional due to FF options 2017-08-26 15:34:27 +03:00
tophf
8525ea9017 unbind properly in msgbox; hide Esc/Enter from other handlers 2017-08-26 08:32:54 +03:00
tophf
0d038c59bc make getDomains foolproof
fixes #172
2017-08-26 07:57:52 +03:00
tophf
7e5396a11d prevent browser exception bug on sendResponse to a closed tab
fixes #171
2017-08-26 07:51:28 +03:00
tophf
38c7ed1bc1 prevent text selection upon click outside of messageBox 2017-08-25 20:50:15 +03:00
tophf
d932d37cff remove unused CodeMirror test files 2017-08-25 20:04:39 +03:00
tophf
fb7f7d5471 URL-mode in manager's search and popup's manage button
* in manager use search query like url:https://github.com/openstyles/stylus
* in popup shift-click or right-click on manager button opens it and applies the filter
2017-08-23 12:16:32 +03:00
tophf
6ce8ce0425 0189fc0d followup: wait for lazyload blindly only in FF 2017-08-23 09:46:36 +03:00
tophf
9a55e64bbb autosize filter select element 2017-08-22 17:24:44 +03:00
tophf
64ba125601 manage: add inverted filters (disabled, external) 2017-08-22 17:24:44 +03:00
tophf
1ecaebc51a manage: use actual prefs while loading page 2017-08-22 17:24:44 +03:00
tophf
b011d206cf make disableAll mode more reliable in popup
fixes #159
2017-08-20 17:05:59 +03:00
tophf
92ab165192 don't restore size of editor window if it has many tabs
previously it happened occasionally on browser startup resulting in unwanted resizing of the main browser window
2017-08-18 17:09:02 +03:00
tophf
21b2ba572b tHTML: handle mixed text/element nodes in top level 2017-08-18 17:00:06 +03:00
tophf
6625cd4349 use optionsOpenManager message in popup's "manage" button tooltip 2017-08-18 14:48:35 +03:00
tophf
0189fc0d6b popup should wait for tab-on-demand to start loading
fixes a rare case of the popup being invoked right after switching to a lazily restored tab-on-demand, which doesn't have an URL yet in FF or has an URL but not the content script in some Chrome forks that implement tab-on-demand
2017-08-18 14:48:11 +03:00
tophf
fef748d128 wait for bg to load before enabling filters 2017-08-18 14:32:20 +03:00
tophf
815f8ca959 also find styles for URLs with stripped #hash
kinda fixes #155

as per spec the fragment portion is ignored in @-moz-document:
https://www.w3.org/TR/2012/WD-css3-conditional-20120911/#url-of-doc
but we still respect url("foo#hash") set in userstyles
because the spec is outdated and doesn't account for SPA sites

collateral damage: simplified URLS.supported()
2017-08-18 13:18:19 +03:00
tophf
d24b62461c don't detect sloppy regexps in styles without regexps 2017-08-18 12:56:03 +03:00
tophf
aded4f7c01 display full text in tooltips of ellipsized buttons 2017-08-18 10:25:35 +03:00
narcolepticinsomniac
39e1421d29 'Check all styles for updates' button ellipsis
#156
2017-08-18 01:30:55 -04:00
tophf
1ca68b8488 fixup ede1187b: settings may be missing 2017-08-16 21:44:59 +03:00
tophf
a077de3624 fixup! 2017-08-16 14:06:06 +03:00
tophf
93fdd787d4 apply: ensure style elements follow <body> 2017-08-16 14:00:59 +03:00
tophf
f80f5612d6 code cosmetics: split manage.js 2017-08-16 08:18:23 +03:00
tophf
f001bca849 manage: show stats for filtered/total styles 2017-08-16 08:18:22 +03:00
tophf
a3d0a1e340 popup: simplify breadcrumbs; fix 1st word underline in FF 2017-08-14 21:15:29 +03:00
tophf
ede1187b31 popupWidth setting isn't a special sync case anymore 2017-08-13 17:33:57 +03:00
tophf
d49e44ddc1 csslint: CSS variables
* kinda fixes #149
* primitive recognition only
  (it's not like we expect csslint to be smart anyway)
2017-08-13 13:38:11 +03:00
tophf
d2b81be9d1 editor: CM scroller height fix for resize-grip (fixup b45f51f1)
fixes #142
2017-08-09 16:56:39 +03:00
Jeremy Schomery
a37281afb7 version 1.1.3.1 2017-08-09 13:57:15 +04:30