Commit Graph

11855 Commits

Author SHA1 Message Date
Raymond Hill f68683f988
Do not use implicit regex flag when pattern is regex
As discussed with filter list volunteers.
2023-11-10 12:31:30 -05:00
Raymond Hill 15e3f763a3
Mind exception filters for `replace=` option
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/discussions/2952
2023-11-10 10:45:24 -05:00
Raymond Hill a986a03b97
Make Firefox dev build auto-update 2023-11-09 20:10:36 -05:00
Raymond Hill bd54c4bff9
New revision for release candidate 2023-11-09 20:03:55 -05:00
Raymond Hill 9f52b4763e
Lookup asset key from diff name
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2948

This fix has to make it into next stable release to ensure
imported external lists can benefit from diff-updater.
2023-11-09 20:01:39 -05:00
Raymond Hill 5b7d951c4b
New revision for release candidate 2023-11-09 19:59:29 -05:00
Raymond Hill 7dd98258e9
Add `stackToMatch` vararg to `trusted-prune-inbound-object.js`
As discussed with filter list maintainers.
2023-11-09 19:57:51 -05:00
Raymond Hill 574bd8fba3
Make Firefox dev build auto-update 2023-11-09 09:50:44 -05:00
Raymond Hill eaa00607d2
New revision for stable release 2023-11-09 09:38:04 -05:00
Raymond Hill ec53a8f2c7
Re-work unescaping arguments in parser
Related issue:
https://github.com/uBlockOrigin/uAssets/issues/5184#issuecomment-1803455520
2023-11-09 09:11:59 -05:00
Raymond Hill 2bc7996d64
Remove country flag because occurrences below threshold
Related discussion:
https://github.com/uBlockOrigin/uBlock-issues/issues/2946
2023-11-09 07:10:25 -05:00
Raymond Hill 9204fdf92c
Partially revert 3ff456a
Related feedback:
3ff456a63d (commitcomment-132105051)
2023-11-09 07:01:22 -05:00
Raymond Hill 1809b2d1ad
Make Firefox dev build auto-update 2023-11-08 22:46:16 -05:00
Raymond Hill 831a707616
Typo in comment 2023-11-08 22:40:43 -05:00
Raymond Hill abe114c8e3
Update changelog 2023-11-08 22:39:19 -05:00
Raymond Hill 1100480d22
New revision for release candidate 2023-11-08 22:37:58 -05:00
Raymond Hill 1dba557c9a
Ensure CSSTree does not hold onto last parsed string
When done compiling, force CSSTree to parse an empty string, so
as to ensure it doesn't keep a reference to that string.

Typically, the string passed to CSSTree is a small slice of a
larger string which is a whole filter list. This means that
holding a reference to the sliced string causes the JS engine
to hold in memory to the whole filter list last parsed.
2023-11-08 22:33:01 -05:00
Raymond Hill f7511cc13f
Make Firefox dev build auto-update 2023-11-08 19:56:19 -05:00
Raymond Hill bef2e88199
Update changelog 2023-11-08 19:45:00 -05:00
Raymond Hill 9ebed116da
Import translation work from https://crowdin.com/project/ublock 2023-11-08 19:44:33 -05:00
Raymond Hill 4282b9ab61
New revision for release candidate 2023-11-08 19:40:40 -05:00
Raymond Hill 3c5491a8bd
Improve comment 2023-11-08 07:22:23 -05:00
Raymond Hill 856e8de64c
Diff-updater: report URL without the hash part 2023-11-08 07:16:23 -05:00
Raymond Hill eb52d46afa
Make Firefox dev build auto-update 2023-11-07 17:46:16 -05:00
Raymond Hill a1e8bcfc3b
New revision for dev build 2023-11-07 17:39:53 -05:00
Raymond Hill 2170051c4a
Fix documentation in comment following recent changes 2023-11-07 17:29:25 -05:00
Raymond Hill b8193ea5f9
Fix detection of unfilled filter list fields
Related feedback:
https://github.com/uBlockOrigin/uBlock-discussions/discussions/781#discussioncomment-7503866
2023-11-07 17:27:37 -05:00
Raymond Hill cd430386f5
Forgot to git-add this one in last commit 2023-11-07 13:48:32 -05:00
Raymond Hill 74a0af8af6
Replace flag with more relevant one
Related discussion:
https://github.com/EasyDutch-uBO/EasyDutch/issues/92
2023-11-07 13:47:04 -05:00
Raymond Hill 09b609cbb4
Update changelog 2023-11-07 10:12:21 -05:00
Raymond Hill 3ff456a63d
Prefer CDNs when subscribing to a new list
Also, purging the cache of a list should not remove the
compiled version of that list so that it keep being seen
as cached, but obsolete.
2023-11-07 08:21:22 -05:00
Raymond Hill ae24032607
Add more `replace`-able types
Reference:
https://en.wikipedia.org/wiki/M3U#Internet_media_types
2023-11-07 07:53:37 -05:00
Raymond Hill 1aa92c7570
Update image to reflect actual implementation 2023-11-07 07:52:35 -05:00
Raymond Hill f96cf25436
Update changelog 2023-11-06 20:10:36 -05:00
Raymond Hill a9a523e2fc
Make Firefox dev build auto-update 2023-11-06 19:56:22 -05:00
Raymond Hill b324b85c5d
Update changelog 2023-11-06 19:48:10 -05:00
Raymond Hill 355b40a965
New revision for release candidate 2023-11-06 19:46:42 -05:00
Raymond Hill 2360bc02f3
Lower maximum `Expires` value to 4h
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2899
2023-11-06 19:45:16 -05:00
Raymond Hill 8ed1ad9c9d
Properly reset needle length in unserialized buffer
Possible related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2925
2023-11-06 19:22:47 -05:00
Imre Kristoffer Eilertsen a2ab313ae2
Attempted to set flag codes for Chromium Windows users (#3906)
* Attempted to set flag codes for Chromium users

* Not sure how I missed MD.
2023-11-06 16:46:56 -05:00
Raymond Hill d8d42f2cc1
Synchronize changes in both versions of assets.json 2023-11-06 15:15:57 -05:00
Imre Kristoffer Eilertsen 0962366524
Added additional flags to regional lists (#3904) 2023-11-06 15:11:38 -05:00
Raymond Hill 4f48f42e26
Make Firefox dev build auto-update 2023-11-06 12:46:35 -05:00
Raymond Hill d334fd97c8
Update changelog 2023-11-06 12:19:14 -05:00
Raymond Hill 09a6ba74f8
New revision for release candidate 2023-11-06 12:18:00 -05:00
Raymond Hill 11ebb736ca
Import translation work from https://crowdin.com/project/ublock 2023-11-06 12:16:48 -05:00
Raymond Hill 7823d98070
Harden scriptlets which need to serialize function code into string
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2907
2023-11-06 09:10:21 -05:00
Raymond Hill 5d1618e1be
Reset potential `g` regex before use in `replace=` option
Related discussion:
https://github.com/uBlockOrigin/uAssets/issues/5184#issuecomment-1794058253
2023-11-06 07:16:41 -05:00
Raymond Hill b2bf5c255e
Make Firefox dev build auto-update 2023-11-05 20:50:47 -05:00
Raymond Hill 815d66bfcc
New revision for dev build 2023-11-05 20:39:09 -05:00