Commit Graph

303 Commits

Author SHA1 Message Date
gorhill 00559d42d3
import Malay, some translated strings are now available 2017-11-11 07:56:40 -05:00
gorhill cfef3aeb2b
minor review of shell scripts 2017-11-10 11:36:55 -05:00
gorhill fd5f63d850
fix #3196 2017-11-10 11:36:14 -05:00
gorhill 23487a643a
prepend vapi-usercss.js to contentscript.js in extension package 2017-10-24 12:40:58 -04:00
gorhill 2be7bbf6e9
drop webext-hybrid support 2017-10-23 13:39:45 -04:00
gorhill 6112a68faf
fix #2984 2017-10-21 13:43:46 -04:00
gorhill a19efa4ebe
fix #3082 (use "dev build" in extension name) 2017-10-01 10:28:33 -04:00
gorhill ec3d1bfc88
fix "Preferences" button in about:addons (see https://www.ghacks.net/2017/09/29/firefox-adblock-plus-lost-millions-of-users-in-the-past-year/#comment-4233295) 2017-09-30 10:41:58 -04:00
gorhill a0c595d02d
fix #2950 2017-09-02 06:11:33 -04:00
gorhill beb7933016
fix #2925 2017-08-29 18:32:00 -04:00
gorhill ccc4324583
fix non-dev build versioning 2017-08-11 00:41:53 -04:00
gorhill 04057d40ea
fix #2855 2017-08-10 18:50:23 -04:00
gorhill 61a538e9f2
fix #2843: do not auto open dashboard on Firefox 2017-08-05 09:50:21 -04:00
gorhill e903752037
rename webext to webext-hybrid, add pure webext version 2017-08-04 18:19:55 -04:00
gorhill 8393e77ab0
rename webext to webext-hybrid 2017-08-04 17:59:30 -04:00
gorhill f328687663
implement user styles in webext platform 2017-07-23 11:33:39 -04:00
gorhill 57c5e645df
opera store requires translated description 2017-06-08 08:43:18 -04:00
gorhill 43656e64dc
translation work from https://crowdin.com/project/ublock, Georgian added 2017-05-13 08:32:12 -04:00
gorhill 2369794c2c
translation work from https://crowdin.com/project/ublock 2017-04-24 10:34:38 -04:00
gorhill bad345ea23
new languages available from https://crowdin.com/translate/ublock 2017-04-03 10:07:59 -04:00
gorhill e420db1f1f
keep using `.xpi` for webext 2017-04-02 10:55:50 -04:00
gorhill e0a5116348
fix #2454 2017-03-14 16:01:35 -04:00
Andrei Petcu e8375f91cd #2433 Changed the XML namespaces to please jpm sign (#2434)
*  #2433 changed the legacy install.rdf to match MDN
https://developer.mozilla.org/en-US/Add-ons/Install_Manifests

*  #2433 changed webext install.rdf to match MDN docs
 https://developer.mozilla.org/en-US/Add-ons/Install_Manifests

*  #2433 changed property added by mistake

*  #2433 changed localization XML namespaces to match install.rdf

*  #2433 small fixes
2017-03-10 07:01:57 -05:00
gorhill fafe4c8abc fix #2436 2017-03-08 13:44:01 -05:00
gorhill 4d1ed37556 Firefox WebExt readiness (#622) + support more webRequest types when available (websocket, font, csp_report) 2017-03-05 08:25:55 -05:00
gorhill 00b19515cf minor change 2017-01-18 13:36:24 -05:00
Raymond Hill 3b9fd49c50 Assets management refactored (#2314)
* refactoring assets management code

* finalizing refactoring of assets management

* various code review of new assets management code

* fix #2281

* fix #1961

* fix #1293

* fix #1275

* fix update scheduler timing logic

* forward compatibility (to be removed once 1.11+ is widespread)

* more codereview; give admins ability to specify own assets.json

* "assetKey" is more accurate than "path"

* fix group count update when building dom incrementally

* reorganize content (order, added URLs, etc.)

* ability to customize updater through advanced settings

* better spinner icon
2017-01-18 13:17:47 -05:00
gorhill 5a50f4ecfa use chromium manifest as the official one on which others are based 2016-10-19 19:07:59 -04:00
gorhill 71066206e0 webext as new target platform 2016-10-19 10:21:19 -04:00
gorhill 95ec573141 fix #2014 2016-09-24 14:36:08 -04:00
gorhill a7fe367eec refactor where appropriate to make use of ES6 Set/Map (#1070)
At the same time, the following issues were fixed:
- #1954: automatically lookup site-specific scriptlets
- https://github.com/uBlockOrigin/uAssets/issues/23
2016-09-12 10:22:25 -04:00
gorhill d1413bef69 revision 100+ will be release candidates 2016-08-16 14:04:49 -04:00
gorhill c274195b69 bring support for dev build in Chrome store 2016-08-04 08:24:11 -04:00
gorhill c94d24c2ed remove obsolete shell scripts 2016-07-30 17:46:43 -04:00
gorhill 8ee1f8812f fix #1661 as suggested 2016-06-09 12:32:00 -04:00
gorhill 909ef5303d prevent pushd/popd from polluting output 2016-04-03 18:06:19 -04:00
gorhill a9d36027e1 this fixes #1531 2016-04-03 17:45:02 -04:00
gorhill 5fda221031 this fixes travis? 2016-04-03 14:25:56 -04:00
gorhill cad3c5f5cb update packaging scripts for https://github.com/uBlockOrigin/uAssets repo 2016-04-03 13:07:46 -04:00
gorhill 18d6041ef1 somehow removed cp command before last checkin 2016-04-02 08:59:43 -04:00
gorhill 1357cd0bd9 updated script to pull all from uAssets 2016-04-02 08:31:29 -04:00
gorhill d286eff4ba spin-off filter lists into their own dedicated project 2016-04-01 20:58:35 -04:00
gorhill ea2b706a9a updated translation stuff for Opera store 2016-02-22 09:01:37 -05:00
Aaron Bieber 98b0967d69 allow scripts to run with bash in other locations 2016-01-31 12:17:04 -05:00
gorhill 6a1ef6aa75 translation work from https://crowdin.com/project/ublock 2016-01-25 10:29:03 -05:00
gorhill 89148351e8 #1163: this implements "block elements by size" 2016-01-17 13:30:43 -05:00
gorhill 241352bf3b this fixes #1225 2016-01-14 07:23:46 -05:00
gorhill ee2a657f84 AMO review feedback: remove unecessary files from package 2015-12-26 15:53:56 -05:00
gorhill 57b037be18 moving update checksums script to tools 2015-12-16 11:25:40 -05:00
gorhill 3c4a9b4e53 translation work from https://crowdin.com/project/ublock 2015-12-13 09:51:25 -05:00
gorhill d9e56d1396 this completes the fix to #602 2015-11-24 20:53:02 -05:00
gorhill e2bc299dc9 Opera also needs managed_schema.json 2015-10-24 13:13:29 -04:00
gorhill 892913d185 this fixes #832 2015-10-21 11:53:03 -04:00
gorhill 53fa8f7a50 new: Basque translation by https://crowdin.com/profile/Osoitz 2015-09-12 11:00:57 -04:00
gorhill c21a91d318 translation work from https://crowdin.com/project/ublock 2015-09-03 18:29:17 -04:00
gorhill 02be0e3c39 adding whitespaces for better alignment with uMatrix script 2015-08-27 13:52:05 -04:00
gorhill 9fa05aa7c4 changed "make" scripts for #602
All the assets which are not selected by default out-of-the-box will
be converted into an empty file. This is a first step, the final step
will be to removed completely the files from the package once everybody
is using v1.1.0.0+.
2015-08-17 09:29:11 -04:00
gorhill 5a8079940c no need for dash separator 2015-08-12 16:34:33 -04:00
gorhill 29b695d813 changes for a beta channel on AMO 2015-08-12 16:31:19 -04:00
gorhill e135496504 remove ta until description available (Opera store policy) 2015-08-01 14:56:17 -04:00
gorhill d9da7c996b translation work from https://crowdin.com/project/ublock 2015-07-12 19:08:39 -04:00
gorhill 65647860f6 translation work from https://crowdin.com/project/ublock 2015-07-05 08:04:24 -04:00
gorhill 34485a0465 code review 2015-06-17 14:06:59 -04:00
gorhill 2c3d810840 translation work from https://crowdin.com/project/ublock 2015-05-26 16:49:49 -04:00
gorhill 4afc2e2959 translation work from https://crowdin.com/project/ublock 2015-04-23 08:49:02 -04:00
gorhill 045fe4cc06 various minor changes need for Opera version 2015-04-18 13:09:49 -04:00
gorhill fcfdfdf9c3 this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Chromium 2015-04-09 07:29:07 -04:00
gorhill b9e07a16e3 this fixes https://github.com/chrisaljoudi/uBlock/issues/1219 for Firefox 2015-04-09 07:15:14 -04:00
gorhill 63366e9e94 opera build 2015-03-22 16:16:27 -04:00
Chris 798e641765 Safari build script: slightly more accurate progress reporting 2015-03-16 23:01:22 -06:00
gorhill 6b8118bb68 update opera 2015-03-16 13:33:56 -04:00
gorhill b83e0b46d5 move platform-specific images to their respective platform 2015-03-15 08:17:38 -04:00
gorhill 6312e98cfe translation work from https://crowdin.com/project/ublock 2015-03-14 11:15:04 -04:00
gorhill bced12efdb added newly available translations 2015-03-13 17:27:25 -04:00
gorhill 08a76a5287 translation work from https://crowdin.com/translate/ublock 2015-03-13 17:21:00 -04:00
AlexVallat 3d385c3821 Move Windows Development environment into own branch 2015-03-07 14:32:08 +00:00
AlexVallat 31188c6330 Tidying .xul location, update linux script to match windows one 2015-03-03 07:58:35 +00:00
AlexVallat 2b60436ece Initial UI support for Fennec 2015-03-02 18:49:34 +00:00
AlexVallat 97028e5032 Add helper script for deploying to firefox android 2015-03-01 16:46:07 +00:00
AlexVallat b2f578a517 Windows build environment 2015-03-01 09:49:26 +00:00
Deathamns dc8623f1e8 Firefox/Fennec code cleanup 2015-02-28 20:46:49 +01:00
Chris e709901785 Safari: fix meta script permission 2015-02-16 21:15:47 -07:00
gorhill b3d673164c translation work from https://crowdin.com/project/ublock 2015-02-16 21:19:28 -05:00
gorhill 12daca3dc4 remove newly added Albanian until description available 2015-02-15 23:14:52 -05:00
gorhill 70488274b1 as per comment, this should work well enough 2015-02-15 23:05:50 -05:00
gorhill 7fc6d35dd3 translation work from https://crowdin.com/project/ublock 2015-02-15 14:55:01 -05:00
gorhill aa01233cfc support for fennec 2015-02-15 12:23:59 -05:00
gorhill ba2962bad6 opera-specific package 2015-02-09 15:23:27 -05:00
gorhill 863aaa5401 this fixes #685 2015-02-06 10:30:22 -05:00
gorhill 9a6c87d0dd Revert "µBlock logo refinement and browser icon organization"
This reverts commit e43931f075.
2015-02-06 07:56:59 -05:00
Chris e43931f075 µBlock logo refinement and browser icon organization
This includes a new, refined µBlock logo, rendered more coherently
and consistently for different sizes and display pixel densities.
The Safari build script has been modified to bundle appropriate
resolutions. The Firefox build script was slightly changed to
adhere to the naming convention. The Chrome manifest was
modified/ammended slightly to take advantage of new renderings.
README's beginning has been modified to be nicer and more
minimal.
Other than the logo's slightly refined look and having better
resolution on different browsers and setups, this should have
no effect on the user experience or further development.
2015-02-06 04:24:25 -07:00
Chris b2ae524ed8 Fix cleanup in build script so rm won't complain during first build 2015-02-05 15:13:39 -07:00
Deathamns 37540a0196 Firefox: Title Case Context Menu Entry 2015-02-05 07:51:03 +01:00
gorhill b0999c8af7 translation work from crowdin.com/project/ublock 2015-01-30 01:04:28 -05:00
gorhill d0af26571a transation work from crowdin.com/project/ublock 2015-01-29 09:43:26 -05:00
gorhill e1a7ac1c04 translation work from crowdin 2015-01-28 09:10:26 -05:00
Deathamns 7f877e64a3 Firefox: add localized descriptions to install.rdf 2015-01-27 12:44:35 +01:00
gorhill 3b3fcef9a0 Vietnamese description now available 2015-01-26 08:38:19 -05:00
Chris f32de43500 Change Safari build -- can't build a Safari extension from the command line without a hack (have to have a certificate to sign, must use Extension Builder) 2015-01-14 18:14:27 -07:00
hotdogman 0e0db3c80d Update make-safari.sh 2015-01-14 17:47:00 -06:00
Deathamns ed818c92fe Remove comment 2015-01-14 19:12:10 +01:00
Florian Walch 9e7909b62e Set up Travis releases. 2015-01-14 09:25:14 +01:00
gorhill 580d3a81db build package only if "all" arg specified 2015-01-13 09:28:53 -05:00
gorhill 7e6acb9200 fix script 2015-01-13 08:14:00 -05:00
gorhill da0a2cd206 create package 2015-01-13 07:55:45 -05:00
gorhill 929466b429 chmod u+x 2015-01-13 07:51:14 -05:00
Deathamns e0f214961d Miscellaneous changes 2015-01-13 07:30:04 +01:00
Deathamns 9169388849 Firefox: ownsWeak=true for observers, +minor mods 2015-01-13 07:29:47 +01:00
Deathamns 7815455aca Fix build scipts' shebang, let -> const 2015-01-13 07:29:40 +01:00
Deathamns a07b3a1d3e Python2 compatibility for build scripts 2015-01-13 07:29:32 +01:00
Deathamns 90c874c2aa Slight update for Python scripts 2015-01-13 07:29:29 +01:00
Deathamns aa2dc049a2 Firefox: set "en" as default locale 2015-01-13 07:29:23 +01:00
Deathamns e61514b9b1 Firefox,Safari: fill vAPI.app in a different way
Pass the extension data (name and version) as the fragment of the URL
for the background script, so vAPI.app can be filled without using XHR
to read the manifest files.
2015-01-13 07:29:21 +01:00
Deathamns 4e271aebb3 Include LICENSE.txt into extension packages 2015-01-13 07:29:18 +01:00
Deathamns f74f07e092 Firefox: implement vAPI.tabs.injectScript 2015-01-13 07:29:12 +01:00
Deathamns 45137c2be9 Firefox: update manifest files when building 2015-01-13 07:29:06 +01:00
Deathamns e4329b7dfe Firefox: blocking and content scripts for e10s 2015-01-13 07:29:00 +01:00
Deathamns 3c76c61f61 Firefox: partial vAPI.tabs implementation 2015-01-13 07:28:57 +01:00
Deathamns 8297014700 Firefox: implement vAPI.storage via SQLite 2015-01-13 07:28:56 +01:00
Deathamns 67f18d023c Initial Firefox port (base, messaging, locales) 2015-01-13 07:28:52 +01:00
Chris c5e5ad65b6 More compatible build -- use codecs module 2015-01-11 18:05:22 -07:00
Chris 2526faf3d0 Fix permissions for tools 2015-01-11 14:46:48 -07:00
gorhill df12d61cbc do not import zh_TW since it is not on crowdin yet 2015-01-02 19:07:08 -05:00
gorhill b0b81bb8dc put back "nb" 2014-12-25 07:28:02 -05:00
gorhill 2c7d75c868 looks like Chrome store quietly changed `nb` to `no`... 2014-12-21 16:12:13 -05:00
Peter Dave Hello d4e15af494 add zh_TW translation 2014-12-22 03:25:17 +08:00
gorhill 8ea558e41e Opera requires detailed description 2014-12-16 11:16:44 -05:00
gorhill 21b5709fbb fixed paths 2014-12-16 10:07:47 -05:00
gorhill 4527252a03 fixed Opera script 2014-12-13 17:11:22 -05:00
Deathamns 857acaf2d2 Safari: auto-update *.plist files when building 2014-12-11 16:47:51 +01:00
Deathamns 25cf80838b Safari: small locale improvements
Since there is no API for localization in Safari, we read the locale files
every time when an extension page opens.
This commit adds a new file "make-locale-safari.py", which will make the
size of the locale files smaller.
2014-12-08 08:15:08 +01:00
Raymond Hill d0e34faac5 translation work from Crowdin 2014-12-04 12:56:21 -02:00
Deathamns 2a26448734 Safari: slightly better pop-up blocking 2014-12-01 21:09:25 +01:00
Deathamns c0e11d8182 Safari: fix vAPI.tabs.close() + cleanup 2014-12-01 20:47:23 +01:00
Raymond Hill 2e4c0a2bfe remove depending on vapi-appinfo.js 2014-12-01 14:25:33 -02:00
Raymond Hill 7980996423 fr, de now also on Crowdin 2014-12-01 12:27:08 -02:00
Raymond Hill 6294dea81d "platform" is more accurate 2014-11-29 17:51:19 -02:00
Raymond Hill fb66fd4f36 translation work from Crowdin 2014-11-26 17:34:48 -02:00
Raymond Hill a430e526b6 use "platform" as suggested in #360 2014-11-24 14:49:11 -02:00
Raymond Hill 2ae09084e0 more accurately, it is for chromium 2014-11-24 13:01:39 -02:00
Raymond Hill 369b038f92 jshint 2014-11-24 12:48:33 -02:00
Deathamns 219eddab74 Ports cleanup
- Remove duplicate platform specific (from src/) and other unnecessary
  files
- Fix and update vapi-*.js files for Safari
- Add tools/make-safari.sh
- Move js/vapi-appinfo.js to meta/ (so, every vendor specific file will be
  at the same location)
2014-11-23 18:21:06 +01:00
Raymond Hill 36befae83c cleanup before rebuilding 2014-11-18 13:35:57 -02:00
Raymond Hill 370ff5aee8 updated according to new project layout 2014-11-16 14:41:20 -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
Deathamns 41ae0c08c7 Building missed a file for Safari 2014-11-10 12:04:03 +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 30ef97a678 Fix messaging for Safari 2014-11-09 17:41:07 +01:00
Deathamns 6f2e449e61 Preferences button for Safari
Brings back the possibility to click a checkbox which opens the extension
settings from Safari's Preferences/Extensions.
2014-11-09 17:41:05 +01:00
Deathamns 54749b31fb Building Info.plist was missing 2014-11-09 17:40:46 +01:00
Deathamns 749b6f186d Use a dedicated file for storing extension info
Chrome has getManifest(), Safari doesn't have anything, Firefox has an
asynchronous API...
So, instead of using extension APIs, store the common informations
(extension name, version, homepage url) in a file (vapi-appinfo.js), which
can be included when it's needed (its data will be available at vAPI.app.____).
The file's content is updated each time the extension is being built, so
it shouldn't be modified manually.
2014-11-09 17:39:38 +01:00
Deathamns 5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00