Commit Graph

1453 Commits

Author SHA1 Message Date
Raymond Hill 578735dd58 avoid memory leaks in case no request handler found 2014-11-18 11:35:42 -02:00
Raymond Hill f090144d09 requests must be deemed unhandled by default 2014-11-18 11:29:55 -02:00
Raymond Hill d4402dfe02 assets has to be in project root, because existing installations 2014-11-18 08:42:00 -02:00
Raymond Hill 888b820278 to reflect changes in mirror-candidates.txt 2014-11-18 08:36:20 -02:00
Raymond Hill 2ee7d34880 Merge branch 'master' of https://github.com/gorhill/uBlock 2014-11-18 08:31:07 -02:00
Raymond Hill 6f4b703b38 update of third-party assets 2014-11-18 08:30:53 -02:00
Raymond Hill 965f0bff2f Merge pull request #370 from rlex/master
Re-add yastatic to proper asset
2014-11-18 08:06:10 -02:00
Lex Rivera 3043051598 Re-add yastatic to proper asset 2014-11-18 12:13:38 +03:00
Raymond Hill 10ec58fd4a Merge pull request #369 from rlex/master
add yandex to mirror candidates
2014-11-17 11:42:22 -02:00
Lex Rivera cc1811b1b6 Be more precise about yandex.st caching 2014-11-17 16:28:11 +03:00
Lex Rivera 5936d88346 add yandex to mirror candidates 2014-11-17 15:57:46 +03:00
Raymond Hill 9bd81aee8c Merge pull request #368 from ialexsilva/patch-2
Update from crowdin
2014-11-17 09:31:43 -02:00
Alex Silva 5b5c50255b Update from crowdin 2014-11-17 01:19:56 -02:00
Raymond Hill 7ea6f9dd0a Merge pull request #367 from ialexsilva/patch-1
Update from crowdin
2014-11-17 01:12:39 -02:00
Alex Silva f89ac7cf48 Update from crowdin 2014-11-17 01:04:59 -02:00
Raymond Hill 0d920e4e44 code review 2014-11-16 22:40:34 -02:00
Raymond Hill 17044ebdd9 put back obsolete JPN list for the time being 2014-11-16 21:39:56 -02:00
Raymond Hill 81a0052f39 remove code failing at trying to be smart re. obsolete filter lists 2014-11-16 21:27:48 -02:00
Raymond Hill 458e0abec2 redirection is not working, avoid it for now 2014-11-16 21:13:04 -02:00
Raymond Hill 4eab87a6a3 put back obsolete list until all moved to new 2014-11-16 20:39:21 -02:00
Raymond Hill d54e8f1c83 updated checksums 2014-11-16 20:30:36 -02:00
Raymond Hill 7be60a89cd removing obsolete filter list 2014-11-16 20:29:45 -02:00
Raymond Hill 94ffaafd98 Merge pull request #366 from xupefei/master
New URL for Japanese filter
2014-11-16 20:28:14 -02:00
Paddy Xu 805fa7aab5 Add "old" property to the new URL and remove the old one 2014-11-16 23:10:55 +01:00
Paddy Xu 19d1297380 Add new URL for AdBlock Japanese filter 2014-11-16 22:44:17 +01:00
Paddy Xu 133efcf11f "の" in Japanese is "'s", should be removed 2014-11-16 22:14:40 +01:00
Raymond Hill 1626051299 now it's fixed... 2014-11-16 17:22:27 -02:00
Raymond Hill c4838581fd this fixes #365 2014-11-16 17:06:29 -02:00
Raymond Hill f88d1849d0 fix bug introduced in 338bf59507 2014-11-16 17:04:37 -02:00
Raymond Hill 370ff5aee8 updated according to new project layout 2014-11-16 14:41:20 -02:00
Raymond Hill adbc0ee2aa code review 2014-11-16 14:39:38 -02:00
Raymond Hill 91276bebfb eliminate overhead of creating two funcs/closure for each port connection 2014-11-16 12:49:55 -02:00
Raymond Hill 338bf59507 give specific message handlers priority over default one 2014-11-16 11:09:28 -02:00
Raymond Hill 2b957dc389 respect project layout as set by @Deathamns 2014-11-16 08:47:47 -02:00
Raymond Hill 84c069dfaa continued: corralling platform-specific stuff into their meta folder 2014-11-16 00:21:13 -02:00
Raymond Hill eafc96859c further separate platform-specific code 2014-11-15 16:15:11 -02:00
Raymond Hill 8444923c0c forgot to push 3rd-party assets 2014-11-15 16:10:46 -02:00
Raymond Hill a515c99cbf we need this for installed clients until uAssets 2014-11-14 08:59:16 -05:00
Raymond Hill 54a91b9374 Merge pull request #360 from Deathamns/ports/safari
Portability
2014-11-14 08:32:02 -05:00
Deathamns 8f0b3cf592 Move MutationObserver shim
Since it will be used only for older Safari versions, move it to Safari
related code, so it doesn't pollute the content scripts.
2014-11-12 10:22:57 +01:00
Deathamns 36ad23a1db Respect `defer` attribute when mirroring 2014-11-11 16:33:50 +01:00
Deathamns 812da0900e Call XHR.open even if the request will be blocked
Without calling it an error may be thrown if other XHR parameters are set.
2014-11-11 16:32:17 +01:00
Deathamns 8edb628e1e Only top window should have type `main_frame` 2014-11-11 13:33:55 +01:00
Deathamns 2024ba1bcd Fix wrong fix in 4bf6664 2014-11-10 19:25:17 +01:00
Deathamns 41ae0c08c7 Building missed a file for Safari 2014-11-10 12:04:03 +01:00
Deathamns fb0cacb44d Remove unnecessary messaging workaround
A better fix was introduced in e36c702 for this issue.

The actual problem was that Safari when sends a message from the
background to content, then it passes to all the frames in the target tab,
but it doesn't make copies, it passes only references to the same object,
so if one frame modifies the message, then other frames would have
received the modified message.
2014-11-10 08:11:49 +01:00
Deathamns 4c9f2b81d7 Add .gitignore 2014-11-09 19:29:58 +01:00
Deathamns 0d9d285608 Building extension files
Adds possibility to build extension files (Chrome and Safari) from
command line.

To run from the project directory:
python tools/build.py [meta]

If the optional `meta` argument is set, then only the manifest and
language files are uptated.
Without that everything is being built (extension files too) into the
`dist/build/version_number` folder.

For Chrome there will be two files, a crx, and a .zip file which
includes the key.pem private key (so this must not be shared,
it's just a bit help for publishing it to the Chrome Web Store).

Beside the extension files, update-files are generated too (for self
hosting - Safari needs it).
2014-11-09 18:58:46 +01:00
Deathamns 4bf6664d6b Fix double definition of `length` property in uDom
The `length` property of `DOMList` couldn't be re-defined, because earlier
an Object.defineProperty was used on the object without a setter.
2014-11-09 17:41:09 +01:00
Deathamns 30ef97a678 Fix messaging for Safari 2014-11-09 17:41:07 +01:00