Commit Graph

7887 Commits

Author SHA1 Message Date
Raymond Hill 8169614b46
Import translation work from https://crowdin.com/project/ublock 2020-05-17 09:00:08 -04:00
Raymond Hill 2237d97466
Even more fine tuning of UI as per feedback
Fix unstyled checkbox in "Filter lists" pane.
Related feedback:

https://github.com/uBlockOrigin/uBlock-issues/issues/1027#issuecomment-629780098

Hopefully fix glitchy popup panel when opened
from the extension icon. By default the panel is
configured to be rendered in landscape. It will be
toggled programmatically to portrait mode when
either the environment is mobile or the viewport
is horizontally constrained. Related feedback:

https://github.com/uBlockOrigin/uBlock-issues/issues/1027#issuecomment-629712393

New layout for rendering the statistics text
strings in landscape mode, so as to avoid text
wrapping and to allow a slightly narrower basic
pane. Related discussion:

https://github.com/uBlockOrigin/uBlock-issues/issues/1027#issuecomment-629785966
2020-05-17 08:49:37 -04:00
Raymond Hill 4edbc8d456
Make Firefox dev build auto-update 2020-05-16 18:05:41 -04:00
Raymond Hill 07918ac2ef
New revision for dev build 2020-05-16 18:00:07 -04:00
Raymond Hill 5c7aa850dc
More fine tuning of new UI as per feedback
Position the backup/restore/reset buttons at the
bottom in Settings pane. Related feedback:

https://github.com/gorhill/uBlock/commit/5bee33253f45#commitcomment-39221329

Use a fixed with for the fireall pane. Related
feedback:

https://github.com/uBlockOrigin/uBlock-issues/issues/1027#issuecomment-629668065

Fall back to a polyfill compact notation when
rednering large numbers in popup panel when the
required Intl.NumberFormat API is not fully
supported, at the expense of not being i18n-
compliant. Related discussion:

https://github.com/uBlockOrigin/uBlock-issues/issues/1027#issuecomment-629696676
2020-05-16 17:51:01 -04:00
Raymond Hill 99c46fc774
Make Firefox dev build auto-update 2020-05-16 09:55:40 -04:00
Raymond Hill b0f83b641a
New revision for dev build 2020-05-16 09:44:42 -04:00
Raymond Hill 009b939d7a
Import translation work from https://crowdin.com/project/ublock 2020-05-16 09:43:58 -04:00
Raymond Hill ed49b42959
Minor fine tuning of CSS in new popup panel
Hopefully these will address some of the glitches
mentioned in the feedback comments:

https://github.com/uBlockOrigin/uBlock-issues/issues/1027#issuecomment-629636210
2020-05-16 09:30:48 -04:00
Raymond Hill 8859d4352f
Restore ability to set popup panel font size in advanced settings
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/397

Issue above will require non-trivial changes, so for
now users who prefer smaller/larger popup panel can
fall back on advanced setting `popupFontSize`:

https://github.com/gorhill/uBlock/wiki/Advanced-settings#popupfontsize
2020-05-16 07:36:03 -04:00
Raymond Hill 565680e4e5
Make Firefox dev build auto-update 2020-05-15 21:30:32 -04:00
Raymond Hill 0c4eaf56a4
New revision for dev build 2020-05-15 21:25:22 -04:00
Raymond Hill 80a6ab018c
Merge branch 'master' of github.com:gorhill/uBlock 2020-05-15 20:55:59 -04:00
Raymond Hill 1a766530d3
Remove the use of CSS `max`
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1035

It's not supported on
- Chromium 78 and older
- Firefox 74 and older

Reference:
- https://developer.mozilla.org/en-US/docs/Web/CSS/max
2020-05-15 20:55:40 -04:00
Raymond Hill c1434e6dfe
Remove the use of CSS `max`
It's not supported on
- Chromium 78 and older
- Firefox 74 and older

Reference:
- https://developer.mozilla.org/en-US/docs/Web/CSS/max
2020-05-15 20:54:33 -04:00
Raymond Hill a8acd64f96
Make Firefox dev build auto-update 2020-05-15 19:35:34 -04:00
Raymond Hill 7ba8a7c4d7
New revision for dev build 2020-05-15 19:23:58 -04:00
Raymond Hill 6fea9f9e5c
Minor fine tuning new panel
The "blocked since install" row has been moved
in last position, so that figures that represent
the current site are grouped together.

Do not prevent wrapping the count text strings,
use a minimum width instead -- those count text
strings can be more verbose in some locale, and
by allowing the text to wrap this result in a
less wide main panel.
2020-05-15 19:16:54 -04:00
Raymond Hill d65d4e34af
Make Firefox dev build auto-update 2020-05-15 18:16:02 -04:00
Raymond Hill ae4105a3f2
New revision for dev build 2020-05-15 18:11:01 -04:00
Raymond Hill 8ceed3d4ca
Fix `!#include` directive when loading from packaged lists
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1034
2020-05-15 18:06:14 -04:00
Raymond Hill 0d5f8e8fb2
Use fixed width for ruleset tools containers
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1033
2020-05-15 15:31:04 -04:00
Raymond Hill 6c9a43b99a
Remove stray test case from popup panel HTML code
Related feedback:
- https://github.com/gorhill/uBlock/commit/9a6feb34d546#r39207667
2020-05-15 13:45:00 -04:00
Raymond Hill 839b107841
Make Firefox dev build auto-update 2020-05-15 12:25:49 -04:00
Raymond Hill bb873cc776
Import translation work from https://crowdin.com/project/ublock 2020-05-15 12:13:54 -04:00
Raymond Hill 3f749b9938
New revision for dev build 2020-05-15 12:09:28 -04:00
Raymond Hill 4fa5c6b88e
Fix uselessly allocating one extra WASM page
spotted as a result of stepping in the code. The issue
is that a uBP "page size" might differ from a WASM
page size, which is always 65536 bytes.
2020-05-15 12:03:05 -04:00
Raymond Hill 2ded039b98
Increase `min-width` of #main pane in popu panel
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/gjyt4a/ubo_redesigned/fqps9ad/

As per feedback, Firefox is not causing large numbers
to be rendered in a compact form with German locale.

In Chromium, the number 40712345 renders as "40,71 Mio."
for the German locale, while in Firefox the same renders
as "40.710.000".
2020-05-15 11:49:48 -04:00
Raymond Hill f060bb5382
Replace FilterPlainHostname with composite filter
FilterPlainHostname, an atomic filter unit, has been
removed and is being replaced with a composite filter
made of a pattern filter and a filter which test
hostname boundaries.

Doing so enables filters formerly being represented
by FilterPlainHostname to be now represented as a
plain pattern, and thus to be potentially stored in
a bidi-trie.

Comparing the new filter histogram with the previous
one:

FilterPatternPlain      24612   26432    1820
FilterComposite         17656   17125    -531
FilterPlainTrie Content 12977   13519     542
FilterPlainHostname      2904       0   -2904
FilterBucket             2121    1961    -160
FilterPlainTrie          1418    1578     160

Which means:
- An extra 542 patterns could be stored in bidi-tries
- There are 531 less composite filters needed
- An extra 160 buckets could be aggregated into 160
  bidi-trie

Memory-wise, it's a marginal gain (as per Chromium's
Javascript VM instance figure) -- i.e. not worth
talking about). CPU-wise, no measurable difference.

The benefit is that I consider this conceptually
simplifies slightly the static network filtering
code base.
2020-05-15 11:00:16 -04:00
Raymond Hill edc55034d7
Add missing `;`
Related feedback:
- https://github.com/gorhill/uBlock/commit/e917213e81d4#commitcomment-39192290
2020-05-15 09:39:48 -04:00
Raymond Hill 35091e6d87
New revision for stable release 2020-05-13 08:42:00 -04:00
Raymond Hill cb08358449
Import translation work from https://crowdin.com/project/ublock 2020-05-13 07:53:08 -04:00
Raymond Hill 3d3cd58d9f
Properly auto-toggle on firewall pane [regression]
... when enabling advanced user mode. A regression
caused the pane to be toggled to hidden state instead
of being toggled to shown state.
2020-05-12 12:08:32 -04:00
Raymond Hill 91b00caa46
Make Firefox dev build auto-update 2020-05-12 10:31:06 -04:00
Raymond Hill 5d4ec45a78
New revision for release candidate 2020-05-12 10:19:17 -04:00
Raymond Hill 1b54c5eccd
Import translation work from https://crowdin.com/project/ublock 2020-05-12 10:18:26 -04:00
Raymond Hill 19e6936ed9
Do not show per-site switches at first install time
I meant to not show the per-site switches by default
at first install. I caught this misconfiguration after
testing a first-install scenario.
2020-05-12 10:11:24 -04:00
Raymond Hill 3d4d41206d
Clarify passage regarding using other blockers along uBO
Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/gi0i1u/
2020-05-12 09:08:10 -04:00
Raymond Hill b9b940912f
Make Firefox dev build auto-update 2020-05-11 18:00:58 -04:00
Raymond Hill d9c1fe6931
New revision for release candidate 2020-05-11 17:54:11 -04:00
Raymond Hill 8eab156901
Don't block on default Inter font loading 2020-05-11 17:50:53 -04:00
Raymond Hill b906dbedcf
Make Firefox dev build auto-update 2020-05-11 08:30:34 -04:00
Raymond Hill d78f85454d
Merge branch 'master' of github.com:gorhill/uBlock 2020-05-11 08:08:17 -04:00
Raymond Hill bb8945a629
Import translation work from https://crowdin.com/project/ublock 2020-05-11 08:07:52 -04:00
Raymond Hill 14b4865d7e
New revision for release candidate 2020-05-11 08:07:18 -04:00
Raymond Hill f842ab6d3c
Add new scriptlet to allow blocking Amazon's apstag.js
Related issues:
- https://github.com/NanoMeow/QuickReports/issues/3717
- https://www.reddit.com/r/uBlockOrigin/comments/ghjqph/

The specific issue on the mentioned site is that the
site's code expect `window.apstag.fetchBids` to call
client-supplied function. The new scriptlet defuse this
by calling the client code with an empty array.
2020-05-11 07:57:14 -04:00
Raymond Hill 2b955fab59
Make Firefox dev build auto-update 2020-05-10 07:50:46 -04:00
Raymond Hill 176fe14f93
New revision for release candidate 2020-05-10 07:43:59 -04:00
Raymond Hill cb719f9280
Import translation work from https://crowdin.com/project/ublock 2020-05-10 07:43:30 -04:00
Raymond Hill b94b2834d7
Fire tune CSS in new popup panel 2020-05-10 07:39:59 -04:00