Commit Graph

8257 Commits

Author SHA1 Message Date
Raymond Hill ba833d3391
Use EasyList as nominal reference for filter creation 2020-08-14 10:15:14 -04:00
Raymond Hill 94650e260e
Fix nowoif decoy
Related issue:
- https://github[.]com/uBlockOrigin/uAssets/issues/6019
2020-08-14 09:52:20 -04:00
Raymond Hill 8dd500357d
Make Firefox dev build auto-update 2020-08-13 09:45:46 -04:00
Raymond Hill 929bfa710a
New revision for dev build 2020-08-13 09:41:46 -04:00
Raymond Hill 24ef0cb753
Fix typo in comment 2020-08-13 09:40:43 -04:00
Raymond Hill 00b790ce72
Add support for more `!#if` pre-parser directive tokens
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1205
2020-08-13 09:32:34 -04:00
Raymond Hill 45f26d7319
Better parsing of hosts file system addresses
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/877
2020-08-10 10:56:28 -04:00
Raymond Hill 673971875d
Fix bad test cases 2020-08-10 10:45:46 -04:00
Raymond Hill 411eda1d4c
Remove duplicate 2020-08-10 10:40:57 -04:00
Raymond Hill c68a7da9ff
Add more test patterns
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/877
2020-08-10 10:35:21 -04:00
Raymond Hill cf11228432
Make Firefox dev build auto-update 2020-08-10 09:05:25 -04:00
Raymond Hill 48e64b349d
New revision for dev build 2020-08-10 08:34:59 -04:00
Raymond Hill b01cc6ca4f
Fix cloud storage errors not reported in user interface
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/i6e7lr/
2020-08-10 08:30:52 -04:00
Raymond Hill 3bcd970e07
New revision for stable release 2020-08-09 10:43:45 -04:00
Raymond Hill 7e91d0c840
Make Firefox dev build auto-update 2020-08-07 09:25:52 -04:00
Raymond Hill 887e0fa1f7
New revision for release candidate 2020-08-07 08:43:25 -04:00
Raymond Hill 79ccd23ccf
Also remove references to remove scriptlets
Related commit:
- 7c22a31294
2020-08-06 11:40:18 -04:00
Raymond Hill 7c22a31294
Remove experimental click-to-load disqus scriptlets
As per AMO reviewer:

> We will need you to remove the remote scripts in
>
> web_accessible_resources\disqus_embed.js - line 48
> web_accessible_resources\disqus_forums_embed.js - line 44

Related issue:
- https://github.com/gorhill/uBlock/issues/1899
2020-08-06 09:30:34 -04:00
Raymond Hill c892718021
Make Firefox dev build auto-update 2020-08-06 09:16:16 -04:00
Raymond Hill 2bbaa11541
New revision for dev build 2020-08-06 09:06:58 -04:00
Raymond Hill f574a7e74d
Remove more cases of svg/use
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1196
2020-08-06 09:05:10 -04:00
Raymond Hill 47ee4979c8
Make Firefox dev build auto-update 2020-08-05 13:31:12 -04:00
Raymond Hill f2fb90231d
New revision for dev build 2020-08-05 13:22:28 -04:00
Raymond Hill 290f3d124f
Fix stray `<symbol>` in path attribute
Related commit:
- 12be265e7d
2020-08-05 12:10:03 -04:00
Raymond Hill b51f25d032
Make Firefox dev build auto-update 2020-08-05 11:50:36 -04:00
Raymond Hill 0ab73ee276
New revision for dev build 2020-08-05 11:41:04 -04:00
Raymond Hill 12be265e7d
Fix performance issue with SVG-based icons in dashboard
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1196

For yet unknown reasons, in Chromium 84 the rendering of
`svg/use`-based icons in the dashboard causes page load
stall and undue high memory usage when the dashboard is
opened, especially the Filter list pane.

The fix in this commit is to avoid using `svg/use` and to
directly create and insert the `path` element defining an
icon.
2020-08-05 11:36:54 -04:00
Raymond Hill 4bc1e1f708
Merge branch 'master' of github.com:gorhill/uBlock
Fixed bad commit message.
2020-08-04 16:01:10 -04:00
Raymond Hill dae25b0bae
Fix regression breaking filters with `-`-prefixed pseudo-elements
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/89#issuecomment-668701495
2020-08-04 16:00:22 -04:00
Raymond Hill dad6599138
Fix regression causing preventing using `-`-prefixed pseudo-elements
Related feedback:
- https://github.com/uBlockOrigin/uBlock-issues/issues/89#issuecomment-668701495
2020-08-04 15:58:32 -04:00
Raymond Hill 2fd63b61a0
Make Firefox dev build auto-update 2020-08-04 12:00:50 -04:00
Raymond Hill b53c7ea949
New revision for dev build 2020-08-04 11:52:25 -04:00
Raymond Hill 4c6ee1e0d3
Fix broken `:spath` operators starting with `>`
Related feedback:
- 7dd48a6c8c (r41180568)

Regression from:
- 7dd48a6c8c
2020-08-04 11:30:04 -04:00
Raymond Hill 49aa9ba549
New revision for dev build 2020-08-04 10:28:30 -04:00
Raymond Hill 0d266218d0
Import translation work from https://crowdin.com/project/ublock 2020-08-04 10:28:09 -04:00
Raymond Hill e44af458c0
Fine tune visuals of CodeMirror's search feature
Added a dotted box around found text occurrences,
as just pale yellow to highlight the text is not
enough to visually distinguish from surrounding text.

Iterating through found text occurrences will now
ensure they are vertically positioned in the middle
of the editor.
2020-08-04 10:14:38 -04:00
Raymond Hill 59496cfa45
Restore visual of input field on Firefox 2020-08-03 14:30:30 -04:00
Raymond Hill 9c653341c1
Make Firefox dev build auto-update 2020-08-03 10:45:34 -04:00
Raymond Hill 811852bda2
New revision for dev build 2020-08-03 10:41:06 -04:00
Raymond Hill c8127ec3bf
Fix typo as per https://github.com/uBlockOrigin/uBlock-issues/issues/1191 2020-08-03 10:39:17 -04:00
C0rn3j 3fed25a52d
Use ISO8061 dates in filter comments 2020-08-03 10:30:36 -04:00
Raymond Hill 50bf999a12
Fine tune CodeMirror editor's search widget
Code review following latest changes.

Also, move the input field to the left so that it
renders properly on smaller displays and does not
jump around when the result position/count numbers
change.

This also makes it easier to add more functionality
to the editor's toolbar in the future.
2020-08-03 08:55:02 -04:00
Raymond Hill 6f4e12ac5d
Make Firefox dev build auto-update 2020-08-02 13:05:34 -04:00
Raymond Hill eba9f82dcc
New revision for dev build 2020-08-02 12:49:05 -04:00
Raymond Hill d654a5d6cf
Fix search operation broken by search worker going away
Related commit:
- 23332400f5

Since the search worker can go away after its time-to-live
elapsed, we may need to pass again the haystack on which
search operations are performed.
2020-08-02 12:46:52 -04:00
Raymond Hill cff589637c
Make Firefox dev build auto-update 2020-08-02 12:40:49 -04:00
Raymond Hill 128c6174a3
New revision for dev build 2020-08-02 12:32:40 -04:00
Raymond Hill 23332400f5
Improve annotations for search operations in CodeMirror editor
Before this commit, CodeMirror's add-on for search occurrences
was limited to find at most 1000 first occurrences, because of
performance considerations.

This commit removes this low limit by having the search
occurrences done in a dedicated worker. The limit is now
time-based, and highly unlikely to ever be hit under normal
condition.

With this change, all search occurrences are gathered,
and as a result:

- All occurrences are reported in the scrollbar instead of
just the 1,000 first

- The total count of all occurrences is now reported, instead
of capping at "1000+".

- The current occurrence rank at the cursor or selection
position is now reported -- this was not possible to report
this before.

The number of occurrences is line-based, it's not useful to
report finer-grained occurences in uBO.
2020-08-02 12:18:01 -04:00
Raymond Hill 90c7e79f4f
Consolidate filter list reverse lookup code into a single file
Since it's possible to execute specific code paths according
to whether the context is that of a worker or not, it's possible
to keep the main/thread code in a single file. Keeping the
main/worker code paths into a single file is more convenient
for both code maintenance and code review.
2020-08-01 10:32:40 -04:00
Raymond Hill 7dd48a6c8c
Allow `:upward()` operator to select `html` element
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/hvwwj0/element_hiding_by_url_not_by_domain_is_it_possible/fyzykw0/
2020-07-30 11:58:49 -04:00