Commit Graph

196 Commits

Author SHA1 Message Date
tophf
5e34c9705c 1.4.8 2018-07-02 12:22:40 +03:00
tophf
361feb90d4 1.4.7 2018-06-29 18:23:32 +03:00
tophf
4dc0f33341 1.4.6 2018-06-19 02:45:08 +03:00
tophf
261b74d6ad 1.4.5 2018-05-17 19:00:08 +03:00
tophf
de2986a7c1 1.4.4 2018-05-14 09:01:32 +03:00
tophf
82b797738a use Alarms API since js timers are limited to 596 hours
fixes #388
2018-05-14 08:56:31 +03:00
tophf
d149ab662c 1.4.3 2018-05-12 15:12:08 +03:00
tophf
5730eb1206 bump version 2018-05-06 13:22:50 +03:00
tophf
f214e6a31b bump version 2018-05-04 22:31:28 +03:00
tophf
923f55d532 bump version 2018-04-30 20:45:42 +03:00
tophf
4a1c1636fe bump version 2018-04-19 20:02:23 +03:00
tophf
97178eca46 bump version 2018-04-13 14:30:53 +03:00
tophf
5bc6ce33be bump version 2018-04-12 21:32:08 +03:00
tophf
e80efa7604 FF: hotkeys dialog 2018-04-12 21:28:45 +03:00
tophf
3d6b46a14b bump version 2018-04-12 09:14:23 +03:00
tophf
9f10a30067 bump version 2018-04-11 13:01:15 +03:00
tophf
c51a345689 bump version 2018-04-09 17:33:35 +03:00
tophf
745d16b488 bump version 2018-03-31 17:16:45 +03:00
tophf
d4c3df6a09 bump version 2018-03-28 14:20:54 +03:00
tophf
18fc5fc1e5 bump version 2018-03-22 04:37:18 +03:00
tophf
0a4f0663d0 bump version 2018-03-15 20:37:27 +03:00
tophf
a7774c26fb bump version 2018-03-13 17:24:10 +03:00
tophf
64f18ab901 bump version 2018-03-13 00:15:34 +03:00
tophf
6c62b9feac bump version 2018-03-12 21:41:48 +03:00
tophf
f35a943726 bump version 2018-03-12 19:15:09 +03:00
tophf
2eb0a309b5 bump version 2018-03-04 16:30:17 +03:00
tophf
808ad0f059 bump version 2018-03-02 18:55:59 +03:00
tophf
e6b486d25f bump version 2018-03-02 15:58:39 +03:00
tophf
85f5f72832 bump version 2018-02-27 21:35:45 +03:00
tophf
d1f35a15e3 bump version 2018-02-27 12:10:28 +03:00
tophf
fd496dd546 bump version 2018-02-25 16:51:21 +03:00
tophf
d0d429bd8e bump version 2018-02-17 14:21:54 +03:00
DecentM
44a11508ff Add OpenUserCSS support (#328) 2018-02-15 11:27:00 +03:00
tophf
4772178689 bump version 2018-02-02 09:04:47 +03:00
tophf
545f0a3622 bump version 2018-01-24 03:48:00 +03:00
tophf
b03d9030e4 bump version 2018-01-23 18:01:14 +03:00
tophf
cd794b981b bump version 2018-01-20 02:32:19 +03:00
tophf
4dc6d56533 bump version 2018-01-18 20:42:31 +03:00
tophf
100f7716fd bump version 2018-01-14 18:36:16 +03:00
tophf
9005f93f56 bump version 2018-01-12 14:36:32 +03:00
tophf
989df35b05 live preview in editor
* refreshAllTabs was extracted
* ...and fixed to use each frame's url when getting the styles
2018-01-12 00:54:36 +03:00
tophf
68777f6163 bump version 2018-01-08 11:31:57 +03:00
tophf
b659dde35d bump version 2018-01-07 17:30:55 +03:00
tophf
807ea6aa70 extract colorconverter.js 2018-01-07 11:52:43 +03:00
tophf
1fe290fb8c bump version 2018-01-06 10:43:12 +03:00
tophf
bd1e6175af bump version 2018-01-04 18:24:47 +03:00
tophf
71c3e0c7a8 extract and improve dummy chrome.storage in FF
* chrome.storage.onChanged supported in own pages
* values are stored in the background page
* chrome.storage in own pages accesses that background storage
2018-01-04 17:04:23 +03:00
tophf
2374c88e1b extract styleSectionsEqual 2018-01-04 16:43:54 +03:00
tophf
eb3c770612 bump version 2018-01-03 18:45:21 +03:00
tophf
eb65ce1a88 bump version 2018-01-03 10:47:06 +03:00
tophf
3418ac9cb9 FF: support private/container tabs 2018-01-03 10:43:56 +03:00
tophf
319b2c2411 bump version 2017-12-30 04:34:55 +03:00
tophf
d9f8d1361f bump version 2017-12-26 14:42:58 +03:00
tophf
fd4300f841 add a wiki link, shorten the USO link, use https everywhere 2017-12-13 07:15:40 +03:00
tophf
c23e192b7a bump version 2017-12-11 23:58:01 +03:00
tophf
6fb9d2d157 switch to a much faster LZStringUnsafe
https://github.com/pieroxy/lz-string/pull/98
2017-12-10 11:30:57 +03:00
tophf
fa6365d297 bump version 2017-12-09 21:37:58 +03:00
tophf
e45748d515 bump version 2017-12-09 20:48:13 +03:00
tophf
a1f2d2a719 bump version to 1.1.7.6 2017-12-08 20:26:37 +03:00
tophf
0413736a29 remove the now redundant "chrome_style" from the options page 2017-12-08 06:20:30 +03:00
tophf
c723ec58ce bump version to 1.1.7.2 2017-12-03 20:36:20 +03:00
tophf
0f3ddb9c03 bump version to 1.1.7.1 2017-12-03 17:14:13 +03:00
tophf
c1d15cfeb4 bump version to 1.1.7 2017-12-03 08:27:41 +03:00
tophf
47c6e7a52e bump version to 1.1.6.3 2017-11-25 20:24:50 +03:00
tophf
978e5ca9f0 sendMessage()
Promise mode [default]:
  - rejects on receiving {__ERROR__: message} created by
    background.js::onRuntimeMessage
  - suppresses chrome.runtime.lastError
    by browserAction.setText which lacks a callback param in chrome API

Callback mode:
  - enabled by passing a second param
  - doesn't suppress chrome.runtime.lastError
2017-11-25 18:00:38 +03:00
tophf
226fc471eb bump version to 1.1.6.2 2017-11-25 17:44:32 +03:00
tophf
4e9e4d24b1 bump version to 1.1.6.1 2017-11-21 11:03:22 +03:00
tophf
46df47bf31 bump version to 1.1.6 2017-11-21 10:10:29 +03:00
tophf
40f9413207 version 1.1.5 2017-11-14 11:57:05 +03:00
Jeremy Schomery
12e2fbdd37 version 1.1.4.3 2017-11-14 10:57:20 +03:30
tophf
ac8331e6ae FF: use tabs API for XML viewer 2017-11-14 09:52:51 +03:00
eight
db1643e9b8 Refactor: pull out colorParser 2017-11-01 11:18:13 +08:00
eight
098dc10f85 Fix: pull out runtimeSend 2017-11-01 11:15:11 +08:00
eight
1d829fe8f5 Fix: split up usercss logic from saveStyle 2017-09-18 11:34:12 +08:00
eight
d4ddefe8a0 Merge branch 'master' of https://github.com/openstyles/stylus into dev-user-css 2017-09-12 03:40:56 +08:00
Jeremy Schomery
63954c986f version 1.1.4.1 2017-09-06 18:53:09 +04:30
Jeremy Schomery
8f28872830 version 1.1.4 2017-09-06 16:15:24 +04:30
eight
1f44898475 Add: adopt node-semver 2017-09-06 03:08:03 +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
Rob Garrison
988af5f1b8 Store linter rules with sync & LZ compression 2017-08-27 17:20:47 -05:00
Jeremy Schomery
a37281afb7 version 1.1.3.1 2017-08-09 13:57:15 +04:30
Jeremy Schomery
1b5db4872d version 1.1.3 2017-08-09 11:53:09 +04:30
Jeremy Schomery
f57240d3c1 version 1.1.2 2017-07-25 09:47:30 +04:30
Rob Garrison
4cbd48b9f9 Rename options.html & fix path 2017-07-14 03:25:33 -05:00
Rob Garrison
ac91e25eb4 Move messaging.js file & references 2017-07-13 19:52:40 -05:00
Rob Garrison
bb33ff3981 Fix links & split out edit.css 2017-07-12 16:26:20 -05:00
Jeremy Schomery
50a2b5dd72 Updating locales from transifex 2017-07-12 11:46:13 +04:30
Jeremy Schomery
c5a340e44e version 1.1.0 2017-06-14 09:30:19 +04:30
Jeremy Schomery
14e8dedded version 1.0.9 2017-05-30 16:21:41 +04:30
Jeremy Schomery
8989a53517 version 1.0.8 2017-05-15 18:14:59 +04:30
Jeremy Schomery
497756d838 version 1.0.7 2017-05-06 15:40:07 +04:30
Jeremy Schomery
f3c42fc27b version 0.1.6 2017-05-02 19:16:02 +04:30
tophf
e61a24b4e4 refactor install.js
* run_at: document_start
* MutationObserver to rebrand without flickering the original text
* reuse styleSectionsEqual
* don't proceed when orphaned
2017-04-18 12:46:38 +03:00
tophf
470bc92da5 Add <all_urls> in permissions
We already have full access to all sites via our content script so this permission doesn't add anything new but we need it to be able to establish page connection via tabs.executeScript when the extension is installed, reloaded, re-enabled.

<all_urls> also allows file:// URLs unlike *://*/* used previously. Of course it requires the corresponding checkbox being enabled on chrome://extensions page.
2017-04-18 12:46:36 +03:00
tophf
ca911396a1 Don't use chrome://favicon
chrome://favicon doesn't indicate an icon is missing in any way, it simply shows a placeholder instead. It also doesn't extrapolate from sub-pages so `example.com` won't have a favicon even if `example.com/subpage` has one.
2017-04-18 12:46:36 +03:00
tophf
05c05ec6b9 manage: use chrome://favicon 2017-04-18 12:46:36 +03:00
tophf
a93354de8c remove iframe observer
* documentElement may be overwritten right after iframe was initialized with contentDocument.write() and due to this change being external it's not reported in our existing rewrite observer so we enqueue an additional check using setTimeout(0).

* match_about_blank in manifest.json is back

* iframes with src = about: or javascript: don't have a proper URL when our content script runs so we get the real URL from the parent window

* minor refactoring
2017-04-18 12:46:35 +03:00
tophf
5c8d1950a7 Isolate storage.js in background context
To prevent cross-page leaks we need to create/copy prefs and cachedStyles inside the background page context.

* storage.js is now used only in the background page

* messaging.js now contains less bg-specific methods and more common methods. Added saveStyleSafe, deleteStyleSafe which automatically invoke onRuntimeMessage of the current page or just handleUpdate/handleDelete when notify:false

* prefs.js with 'prefs' for background and UI pages: separate objects because a UI page may load before the background page and it can read prefs from localStorage/sync/defaults
2017-04-18 12:46:34 +03:00
tophf
2ef87e003d Remove webSqlStorage cruft as Stylus never used it 2017-04-18 12:46:23 +03:00
tophf
a6c3424b53 Move images into a separate directory 2017-04-18 12:46:22 +03:00