Commit graph

2053 commits

Author SHA1 Message Date
Raymond Hill
a015ad0a5c
Merge branch 'master' of github.com:gorhill/uBlock 2018-04-06 16:02:41 -04:00
Raymond Hill
4d8974fe80
code review: avoid redundant PSL selfie 2018-04-06 16:02:35 -04:00
Hugo Xu
fc4fccd8e3 Accept # Title: and # Expires:; optimize RegExp (#3679)
* Accept `# Title:` and `# Expires`; optimize RegExp

* Prevent confusion with network filter
2018-04-06 15:59:01 -04:00
Raymond Hill
c0387835fa
code review: modernize old code 2018-04-05 15:22:19 -04:00
Raymond Hill
c1d3b6222e
code review: use regex to speed up CSS selector validation 2018-04-05 09:45:11 -04:00
Raymond Hill
93f49a61d7
add pre-processor directives to filter list compiler (https://github.com/AdguardTeam/AdguardBrowserExtension/issues/917) 2018-04-05 07:29:15 -04:00
Raymond Hill
bf384e2bca
better evaluate vAPI.webextFlavor 2018-04-04 12:42:01 -04:00
Raymond Hill
c695599860
code review: adjust position of eraser/padlock only when needed 2018-04-04 08:17:53 -04:00
Raymond Hill
e64a59b32c
fix #3667 2018-04-02 18:40:29 -04:00
Raymond Hill
98df44c373
invalidate resources selfie when new version is detected [Firefox] 2018-04-02 11:03:12 -04:00
Raymond Hill
fe11ff61c8
mind whitelist directives for filterable behind-the-scene requests (#3654) 2018-04-02 09:10:38 -04:00
Raymond Hill
2b92f114bb
fix dashboard icon issue for Pale Moon (#3665) 2018-04-02 06:51:57 -04:00
Raymond Hill
9bc029b72c
allow un-whitelisting in non-advanced user mode 2018-03-31 15:02:12 -04:00
Raymond Hill
2632cf63b2
code review for 588a8acc 2018-03-31 12:12:31 -04:00
Raymond Hill
b91c2a7b41
import translation work from https://crowdin.com/project/ublock 2018-03-31 10:26:17 -04:00
Raymond Hill
588a8accb1
add default noop rules for behind-the-scene scope 2018-03-31 10:21:11 -04:00
Raymond Hill
0451758163
mind rc when deriving an integer from version string 2018-03-30 09:58:30 -04:00
Raymond Hill
0a879a816b
treat behind-the-scene network requests like all others 2018-03-30 08:55:51 -04:00
Raymond Hill
dd49e0ad7c
oops, file picker button shouldn't be visible 2018-03-28 19:28:29 -04:00
Raymond Hill
9fdda522a1
send cursor at the end when opening "My filters" pane 2018-03-28 19:04:04 -04:00
Raymond Hill
fce2eaf3c3
further improving UI for small screens 2018-03-28 16:15:50 -04:00
Raymond Hill
88f0fd6c00
avoid spurious select-all 2018-03-28 09:43:48 -04:00
Raymond Hill
f764435812
various changes to enhance UI for mobile devices 2018-03-28 09:11:55 -04:00
Raymond Hill
782faf4f44
fix #3646 2018-03-27 19:10:31 -04:00
Raymond Hill
827732a991
revert attempted fix for #3646 2018-03-27 15:03:24 -04:00
Raymond Hill
376c95bcc9
#3646: find out if this makes a difference 2018-03-27 14:11:06 -04:00
Raymond Hill
e35f6b3df6
code review: no need for callback arg 2018-03-23 15:05:35 -04:00
Raymond Hill
d9161aeffa
fix #3636 2018-03-23 15:03:29 -04:00
Raymond Hill
fca714c12d
code review for 6871d9aed4: mind rtl languages 2018-03-21 09:04:08 -04:00
Raymond Hill
431b40f8e4
code review for 6871d9aed4 2018-03-21 08:42:21 -04:00
Raymond Hill
6871d9aed4
add ability to filter out rules in "My rules" pane 2018-03-21 07:24:52 -04:00
Raymond Hill
9ce1f8af08
fix https://www.reddit.com/r/uBlockOrigin/comments/8524cf/my_custom_scriptlets_doesnt_work_what_am_i_doing/ 2018-03-19 10:25:03 -04:00
Raymond Hill
96d4f987ac
use default codemirror input style, contenteditable interferes with search widget 2018-03-18 14:04:58 -04:00
Raymond Hill
2afd9919cc
fix #3624 2018-03-18 13:56:20 -04:00
anvakl
33fa25bbe5 fix for gorhill/uBlock#3464 (#3616)
Adding index to insertRule fixed the issue
2018-03-17 13:35:36 -04:00
Raymond Hill
23accd1c57
fix #3615 2018-03-17 10:25:03 -04:00
Raymond Hill
d29b40991a
remove use of innerHTML to please Firefox validator (see https://github.com/codemirror/CodeMirror/pull/5313) 2018-03-17 08:58:55 -04:00
Raymond Hill
e26e70ad4e
fix #3614 2018-03-17 08:38:49 -04:00
Raymond Hill
dbd34c4592
force default pointer because Firefox legacy (#3611) 2018-03-16 20:49:00 -04:00
Raymond Hill
fc850ec8b9
force default pointer for find next-prev buttons 2018-03-16 20:28:17 -04:00
Raymond Hill
31eaa766dc
fix other quirks with rtl languages (#3611) 2018-03-16 19:38:43 -04:00
Raymond Hill
7d110250f3
fix #3611 2018-03-16 18:33:50 -04:00
Raymond Hill
e5eb0ac362
remove comment with erroneous information 2018-03-16 07:49:56 -04:00
Raymond Hill
fe791b9bd2
import translation work from https://crowdin.com/project/ublock 2018-03-14 12:12:09 -04:00
Raymond Hill
11ccb4523a
update fix for https://github.com/gorhill/uMatrix/issues/967 2018-03-14 12:06:49 -04:00
Raymond Hill
95398b85f9
Merge branch 'master' of github.com:gorhill/uBlock 2018-03-13 17:24:40 -04:00
Raymond Hill
04cee142bc
fix https://github.com/gorhill/uMatrix/issues/967 (uBO-side) 2018-03-13 17:24:07 -04:00
hiikezoe
d104ee27ec Specify a transform value at 0% keyframe (#3598)
In Firefox, transform animations which don't specify 0% or 100% keyframe value
are not properly optimized if the animations are scrolled-out [1]. Such
animations unfortunately consume much CPU rather than visible ones. An easy
way to avoid this is to specify the missing keyframe value.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1430884
2018-03-13 06:07:53 -04:00
Raymond Hill
b89ec2861c
fix #3594: incomplete conversion to CodeMirror widget 2018-03-12 12:08:45 -04:00
Raymond Hill
9715d1e8b9
make use of CodeMirror for Whitelist pane 2018-03-12 08:28:07 -04:00
Raymond Hill
1e8d966938
fix regression in Firefox legacy version 2018-03-11 18:59:21 -04:00
Raymond Hill
eb789939ca
code review for b10ac0020d: fix too rigid field separator 2018-03-11 12:52:02 -04:00
Raymond Hill
b10ac0020d
make use of CodeMirror in "My rules" pane 2018-03-11 10:59:39 -04:00
Raymond Hill
caef7d00bb
add CodeMirror's merge.js addon + modify imported diff code for compatibility 2018-03-11 10:59:02 -04:00
Raymond Hill
2aa704651d
import original version of https://github.com/Swatinem/diff 2018-03-11 10:54:29 -04:00
Raymond Hill
dd979ff5ff
code review: allow dev build of Firefox to update resources.txt 2018-03-11 10:38:35 -04:00
Raymond Hill
081e5b4db9
fix #3581 2018-03-07 10:37:18 -05:00
Raymond Hill
333c6f60fb
fix #3580 2018-03-07 06:28:26 -05:00
Raymond Hill
a470c119aa
make options separator standout a bit better 2018-03-06 15:47:40 -05:00
Raymond Hill
15530df0e7
code review: reset internal parser data once done parsing 2018-03-06 15:46:05 -05:00
Raymond Hill
ec56165d0d
new script:inject syntax, use only when next release is *very* widespread 2018-03-06 09:09:53 -05:00
Raymond Hill
34efe9d6f2
[codemirror] use inputStyle=contenteditable for better select-all performance 2018-03-06 06:22:11 -05:00
Raymond Hill
d2be9aeb0b
fix asset viewer rendering for mobile device 2018-03-06 06:19:48 -05:00
Raymond Hill
7a90a69347
fine tuning syntax highlighter 2018-03-05 13:05:26 -05:00
Raymond Hill
ed8c9ac04e
add missing addon for 9df0202a00 2018-03-05 11:27:23 -05:00
Raymond Hill
9b803a2295
fine tuning syntax highlighter 2018-03-05 11:25:45 -05:00
Raymond Hill
9df0202a00
[codemirror] add active line addon 2018-03-05 06:59:03 -05:00
Raymond Hill
1205156ca3
prevent search bar from shrinking (#3567) 2018-03-04 18:23:01 -05:00
Raymond Hill
65e55549c7
fix resizing quirk due to new top panel (#3567) 2018-03-04 18:09:06 -05:00
Raymond Hill
ee357eeb15
import translation work from https://crowdin.com/project/ublock 2018-03-04 17:21:30 -05:00
Raymond Hill
2c45971c65
code review: fine tuning look/behavior (#3567) 2018-03-04 17:13:27 -05:00
Raymond Hill
c59ceff6a1
code review: always search from current cursor position (#3567) 2018-03-04 15:52:34 -05:00
Raymond Hill
a69379068e
fix nonsensical "obsolete" status for user filters 2018-03-04 15:00:42 -05:00
Raymond Hill
d6b733010d
add missing stylesheet (#3567) 2018-03-04 15:00:00 -05:00
Raymond Hill
bc61bef9a7
address #3567 2018-03-04 14:07:01 -05:00
Raymond Hill
b14011deb8
add CodeMirror's lib README to the package 2018-03-02 07:15:41 -05:00
Raymond Hill
8cf87061f4
fix #3562 2018-03-01 14:12:16 -05:00
Raymond Hill
8d5ebf44ef
support saving using keyboard (through codemirror) in "My filters" 2018-03-01 13:37:23 -05:00
Raymond Hill
959f68ce89
fix #3494 2018-03-01 13:11:17 -05:00
Raymond Hill
8b538de0cd
import translation work from https://crowdin.com/project/ublock/ 2018-03-01 11:44:24 -05:00
Raymond Hill
8680bbc086
fine tuning codemirror styles 2018-03-01 11:26:24 -05:00
Raymond Hill
273c80564a
fix rendering of comments starting with # 2018-02-28 19:16:19 -05:00
Raymond Hill
e5bb1eee1b
add credit for CodeMirror 2018-02-28 19:04:52 -05:00
Raymond Hill
61ec088d43
integrate codemirror into "My filters" pane 2018-02-28 18:51:33 -05:00
Raymond Hill
cff1bcb24f
minor code review 2018-02-28 12:36:18 -05:00
Raymond Hill
ac7e012633
start integration of codemirror to improve UI 2018-02-28 12:31:43 -05:00
Raymond Hill
7eeba29220
fix #3551: regressions as a result of fix to #3428 2018-02-27 06:54:48 -05:00
Raymond Hill
0414ce80a0
code review for #3428 2018-02-26 16:52:16 -05:00
Raymond Hill
67e06f53b4
offer concise version of often-used filter options (see https://github.com/NanoAdblocker/NanoCore/blob/master/Notes/FilterIncompatibility.MD#convenience-options) 2018-02-26 14:08:16 -05:00
Raymond Hill
2c901588c7
fix #3546, #3428 2018-02-26 13:59:16 -05:00
Raymond Hill
a0505b2adf
import translation work from https://crowdin.com/project/ublock 2018-02-24 11:11:57 -05:00
Raymond Hill
d42adc912d
fix silly mistake in fix for #3526 2018-02-23 09:45:51 -05:00
Raymond Hill
9fb455d2df
fix #3406 2018-02-23 06:42:17 -05:00
Raymond Hill
a81d2a759b
fix #3318, #3387 2018-02-21 13:29:36 -05:00
Raymond Hill
6b7d8e75f4
bring out of band fixes (c5cbf5db47, 2999dbee5c) for Firefox/webext into master 2018-02-21 08:19:43 -05:00
Raymond Hill
0c94716b75
import translation work from https://crowdin.com/project/ublock 2018-02-18 07:26:43 -05:00
Raymond Hill
21f7d42f54
fix #3507 2018-02-18 07:16:10 -05:00
Raymond Hill
c3f9f6b716
code review: bit stricter code path 2018-02-18 06:08:48 -05:00
Raymond Hill
4ed0d87b7b
code review: prevent redirection to WAR when request is xmlhttprequest 2018-02-16 13:37:20 -05:00
Raymond Hill
207a7b10d0
fix typos 2018-02-16 09:11:22 -05:00
Raymond Hill
287f04b47e
code review for #3474, #2823: simplify management of "web accessible resources" 2018-02-16 09:07:20 -05:00
Raymond Hill
47152560af
import emergency fix from 1.15.6 2018-02-15 17:39:31 -05:00
Raymond Hill
17930cc778
fix #3474, #2823 2018-02-15 17:25:38 -05:00
Raymond Hill
473358cfbc
import translation work from https://crowdin.com/project/ublock 2018-02-12 12:09:17 -05:00
Raymond Hill
94c8cfc3f3
fix #3506 2018-02-12 08:18:24 -05:00
Raymond Hill
f6afd8c90b
help address https://github.com/nikrolls/uBlock-Edge/pull/103 2018-02-04 10:43:10 -05:00
Raymond Hill
43eab7aff7
import translation work from https://crowdin.com/project/ublock 2018-02-03 12:10:01 -05:00
Raymond Hill
613ff9cc9b
tentatively fix #3478: need feedback from reporter 2018-02-03 09:34:27 -05:00
Raymond Hill
7f9435f8b2
import Kazakh translation work 2018-01-31 12:49:23 -05:00
Raymond Hill
6602ed27e0
import translation work from https://crowdin.com/project/ublock 2018-01-31 12:29:01 -05:00
Raymond Hill
36da71f547
import translation work from https://crowdin.com/project/ublock 2018-01-30 09:18:02 -05:00
Raymond Hill
51fc60223a
fix #3450 2018-01-20 09:10:23 -05:00
Raymond Hill
dada3fe6bc
import translation work from https://crowdin.com/project/ublock 2018-01-18 12:32:43 -05:00
Raymond Hill
55be87223e
import translation work from https://crowdin.com/project/ublock 2018-01-16 09:22:37 -05:00
Raymond Hill
ecb5ca393e
import translation work from https://crowdin.com/project/ublock 2018-01-13 09:48:58 -05:00
Raymond Hill
888d36fd06
fix #3433 2018-01-13 09:42:42 -05:00
Raymond Hill
a217ca42c9
fix https://github.com/nikrolls/uBlock-Edge/issues/101 2018-01-13 09:07:34 -05:00
Raymond Hill
6219866b53
fix #3430 (regression) 2018-01-12 09:33:01 -05:00
Raymond Hill
a73e1460b8
import translation work from https://crowdin.com/project/ublock 2018-01-11 09:09:56 -05:00
Raymond Hill
36b1eac88e
fix #3425 (regression from 6cdb20df) 2018-01-10 17:59:07 -05:00
Raymond Hill
41c2c33ce2
import translation work from https://crowdin.com/project/ublock 2018-01-10 11:55:16 -05:00
Raymond Hill
9fa1c37183
code review: fix eraser when using "Current tab" view in logger 2018-01-10 11:50:08 -05:00
Raymond Hill
4ed8184d2c
import translation work from https://crowdin.com/project/ublock 2018-01-09 09:40:14 -05:00
Raymond Hill
6cdb20dffe
improve logger convenience following fix for #2854 2018-01-09 08:08:17 -05:00
Raymond Hill
689d18c54f
fix #2854 2018-01-08 14:29:39 -05:00
Raymond Hill
f53b3e3930
fix #3416 2018-01-08 07:33:38 -05:00
Raymond Hill
b7155a0e0f
fix #3408 2018-01-07 17:53:33 -05:00
jspenguin2017
178b82eb6a
https://github.com/NanoAdblocker/NanoCore/issues/40 2018-01-06 08:54:28 -05:00
Raymond Hill
7cd8185f3a
import translation work from https://crowdin.com/project/ublock 2018-01-05 13:26:16 -05:00
Raymond Hill
a0375bb6a3
add support for iso-8859-1/windows-1252 encoding (https://github.com/gorhill/uBlock/issues/3391#issuecomment-354868704) 2018-01-05 13:15:56 -05:00
Raymond Hill
4812ac9b68
fix #3399 (part 1) 2018-01-04 18:26:52 -05:00
Raymond Hill
21b52ec10b
code review: remove pointless test 2018-01-04 17:55:59 -05:00
Raymond Hill
04d84cf92a
fix #3397 2018-01-03 13:59:38 -05:00
Raymond Hill
5a468be661
import translation work from https://crowdin.com/project/ublock 2018-01-02 23:25:42 -05:00
Raymond Hill
455bf281f0
fix #3391 2018-01-02 23:06:16 -05:00
Raymond Hill
636dcf7ee4
fix #3383 2018-01-01 07:52:03 -05:00
Raymond Hill
ce696e5fbe
fix #3386 2017-12-31 21:13:06 -05:00
Raymond Hill
ec29c9a127
fix #3382 2017-12-31 16:05:23 -05:00
Raymond Hill
37fde84a45
code review #3367 + improve compatibility with Adguard filters 2017-12-31 08:44:29 -05:00
Raymond Hill
17dfec5759
fix #3372 2017-12-30 18:55:01 -05:00
Raymond Hill
1cd61063fa
fix #3380 2017-12-30 17:38:07 -05:00
Raymond Hill
e84e79f96e
fix #3367 2017-12-30 16:02:34 -05:00
Raymond Hill
9f89c67f3f
import translation work from https://crowdin.com/project/ublock 2017-12-30 11:26:06 -05:00
Raymond Hill
f659dc8e49
add TODOs comments 2017-12-30 11:21:23 -05:00
Raymond Hill
f7c02e237f
code review for #3331: increase restrictions
Only resources from within current directory will be allowed,
everything else will be silently rejected.
For example, this will forbid pulling lists from different repos
on GitHub, despite the lists being same origin.
2017-12-30 11:05:15 -05:00
Raymond Hill
6ab34efe44
minor code review: remove pointless test 2017-12-29 21:54:03 -05:00
Raymond Hill
3ec9377c3e
code review: disregard case sensitivity 2017-12-29 21:29:57 -05:00
Raymond Hill
a3f7392f06
code review: mind length of data available 2017-12-29 20:33:24 -05:00
Raymond Hill
b36320c643
code review: improve scriptlet inject code in stream data listener 2017-12-29 20:26:03 -05:00
Raymond Hill
6f8099fb90
fix regression in scriptlet injection: mind BOM sequence in response data filtering 2017-12-29 15:56:15 -05:00