62 Commits

Author SHA1 Message Date
fkloft
0afa46a18c fix build script for python 2 2016-10-20 21:50:01 +02:00
Dave Ingram
a18664cdb8 Write build timestamp from build.py 2016-10-02 17:54:17 -07:00
Philipp Schaefer
128dca8dae added back privacy plugin for mobile desktop mode 2015-01-01 16:13:09 +01:00
fkloft
2c4bda7357 Improve build tools
- Makefile provides "locale" and "mobile" as targets. Mobile also installs and starts app
- build.py returns error code if ant fails
2013-12-11 00:18:07 +01:00
Mike Castle
bba6519860 Spell checking, h-r. 2013-11-23 19:16:20 -08:00
Jon Atkins
694325a39b some cleanups on build.py - in preperation for not updating date/time in file versions when no other changes occur 2013-11-13 02:24:40 +00:00
Jon Atkins
268e7c605a add semicolons between the multipme included javascript files - removes certain ambigious situations 2013-11-12 08:39:31 +00:00
Christoph
542b8f4512 compatibility with Python 2.6 2013-11-12 01:28:11 +01:00
Jon Atkins
c52d657864 fix syntax error in 9dabc33770d6d85629c85fbf271186be1e341efd - it broke all plugins (oops!) 2013-10-29 02:48:03 +00:00
Jon Atkins
9dabc33770 modify plugin wrapper, so build-script injected macros in the wrapper are in a more obvious place, so 3rd party plugin authors are less likely to make mistakes here when working outside the build.py environment
tweak the about screen to display non-standard plugins using the new interface better
2013-10-29 02:43:56 +00:00
Jon Atkins
b6eebccca9 extract script version and other data from the tampermonkey/greasemonkey GM_info and pass it through the wrapper function
modify the plugin template code to do the same for plugins - also include the plugin base filename

this is the required data to allow version checks to be performed. it will also allow IITC to know which plugins are installed and active
2013-10-28 21:56:36 +00:00
Jon Atkins
1b1c850532 update build.py to support an option to specify the build.xml filename - needed for new test builds 2013-10-22 19:59:18 +01:00
Philipp Schaefer
ffe4379684 removed ant clean in build script 2013-10-22 20:45:48 +02:00
Philipp Schaefer
3d7192ecd6 reformat code 2013-10-22 20:05:58 +02:00
Philipp Schaefer
7d60f93472 moved user location plugin back to assets root so that it's not displayed in the iitc plugins section 2013-10-11 11:29:55 +02:00
Philipp Schaefer
0601827878 reverted back to one-after-another plugin injection 2013-10-08 23:04:23 +02:00
Jon Atkins
65d02edd16 build: allow inclusion of additional parameters to 'ant' for mobile builds 2013-08-29 04:46:13 +01:00
Jon Atkins
755bc8148b sort the list of files returned from glob, for including the code/*.js. this will ensure a consistant order for every build, in case there are order-specific bugs 2013-08-19 20:43:11 +01:00
Jon Atkins
3bd8d1a548 make build script only include code/*.js - otherwise temp files can catch you out 2013-08-12 17:30:09 +01:00
Philipp Schaefer
a4f11561ea added sync plugin back to mobile build...
...it seems that google have fixed the temp redirect
2013-08-05 09:40:04 +02:00
Philipp Schaefer
3592a91e51 temporarily removed sync plugin from mobile build 2013-07-30 15:21:51 +02:00
Philipp Schaefer
b0101af429 moved user-location script to new mobile plugin folder 2013-07-08 17:17:22 +02:00
Philipp Schaefer
2f290adf5d removed disable scroll wheel plugin from mobile assets 2013-07-06 13:13:06 +02:00
Jon Atkins
7d75a928cf plugin wrapper code - convert to use build.py macros. this ensures it's identical in all plugins, so the mobile app can remove/modify it without issues. also makes it easy to change if required 2013-06-14 20:27:54 +01:00
Jon Atkins
a6ff434f33 remove the template plugin basemap-cloudmade from mobile - it can't be edited so no use embedded 2013-05-28 03:01:45 +01:00
Philipp Schaefer
58faf2e2ba removed speech-search plugin from mobile. it is not working and iitcm brings its own voice search 2013-05-24 15:54:56 +02:00
Jon Atkins
8a2ca8076b build script - remove leading zeros from timestamp part of version number - possibly helps with firefox+greasemonkey update checks? 2013-05-20 03:12:55 +01:00
Philipp Schaefer
d40323fa99 removed privacy-view from mobile assets. it does not work and is not needed on mobile 2013-05-08 18:18:37 +02:00
Jon Benson
13bd906a9e Starting work on modifying mobile app action bar. 2013-05-06 18:46:59 +10:00
Philipp Schaefer
f6e6b76249 made force-https an option in mobile settings. removed plugin from build 2013-05-03 23:53:46 +02:00
Jon Atkins
530c3cecf1 build script - add optional preBuild and postBuild settings, to allow one or more additional commands to be executed as part of a build.
could be used to copy builds to a web server, copy additional files (E.g. .htaccess), trigger browser refresh, etc
2013-05-03 19:49:12 +01:00
Philipp Schaefer
aa7de6f571 added new developer options (fix for #219) 2013-05-03 01:05:19 +02:00
Jon Atkins
18f9ef0c2e update build.py for fdroid - a 'copyonly' mode that prepares the mobile/assets folder but doesn't run 'ant' 2013-05-01 17:07:31 +01:00
Kevin
25b6f239c2 Add contribs to About IITC, fix minor newline issue in loaderMD 2013-04-28 18:55:36 -07:00
Philipp Schaefer
28233b8118 display user location on iitcm (see #179) 2013-04-28 22:46:18 +02:00
Jon Atkins
473ae4bf39 Merge pull request #174 from Fragger/about-attribution
Add ATTRIBUTION.md to About IITC pop up
2013-04-22 15:28:37 -07:00
Philipp Schaefer
99a18444bf added plugin functionality for iitc mobile 2013-04-22 16:35:15 +02:00
Kevin
31d6855535 Build script fixes to work on both python 2 and 3 2013-04-22 02:08:51 -07:00
Kevin
60a65d227a More changes from gfm to md 2013-04-16 20:34:02 -07:00
Kevin
f767b939ad Only need markdown and not GFM for .md files 2013-04-16 20:30:25 -07:00
Kevin
d59e2e2816 Use already read file instead of rereading 2013-04-16 20:22:09 -07:00
Kevin
ae8200d7be Add ATTRIBUTION.md to About IITC pop up 2013-04-16 20:18:21 -07:00
Jon Atkins
09a42d81ec change build.py to launch ant via os.system, rather than subprocess.call. this fixes building mobile on windows 2013-03-30 21:28:13 +00:00
Jon Atkins
60444c9169 build system updates, for mobile builds
- main build.py will optionally build mobile. removed now obsolete mobile build scripts and symbolic links
- external resource URL is now optional - it's no longer needed by the regular builds
2013-03-30 20:48:59 +00:00
Jon Atkins
b28da29544 remove now unnecessary 'dist' folder
most files already existed (and were used from) elsewhere. delaunay.js has been moved to external/, and max-links updated to include from there
build.py updated to take account of no 'dist' folder (although it does allow for one if it's needed again in the future)
2013-03-29 01:59:33 +00:00
Jon Atkins
edd03dcdb6 build.py fix for differences in string handling in python 2 and python 3
fix #65
2013-03-25 16:27:40 +00:00
Fragger
5474b893a6 Add in base64 image encoding to build system and move images over to use it 2013-03-23 10:31:06 -07:00
Jon Atkins
d0245394a3 build.py - read optional defaultBuild from localbuildsettings.py
fix for #20

also, some other minor tweaks/cleanups in that area of the code
2013-03-22 03:55:00 +00:00
Jon Atkins
f0e3de1a80 fix build.py so it works with python3 2013-03-21 14:45:44 +00:00
Jon Atkins
06778b2a6a build improvements
- add optional localbuildsettings.py
- remove the 'jonatkins' and 'jonatkins-dev' from buildsettings.py - some devs were using them and it'll give them unexpected update behaviour
- add a 'local' build - uses the public release for external resources (rather than a local web server as for local8000), but no distUrlBase. perfect for code-only changes
- distUrlBase can now be None - no more wacky invalid URLs

(the resourceUrlBase will become redundant once all resources are embedded, but that's still pending)
2013-03-21 03:36:12 +00:00