Commit Graph

302 Commits

Author SHA1 Message Date
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