1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00
Commit Graph

69 Commits

Author SHA1 Message Date
cketti
ba69b3a647 Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
Koji Arai
9c5b9cce90 Adapt to the astyle version 2.04.
* max-instatement-indent:
The valid value is 40 thru 120.

* brackets=attach:
We should change the brackets options to the style option in v2.02 or later.

For more detail, see the http://astyle.sourceforge.net/news.html.
2014-05-02 14:31:13 +09:00
cketti
16ec0337d1 Fix building with ant 2014-04-01 02:50:12 +02:00
Joe Steele
1f5e1660a8 build.xml improvements
Modify -pre-bump-check so that it verifies that there is no
existing git tag for the new version.
2014-02-24 17:04:29 -05:00
Joe Steele
84a6842550 Fixes for automated change log publication
The build.xml script was failing if there wasn't already a gh-pages
branch in the local git repo.

Changes:

Fetch the origin/gh-pages branch.

Create a temporary "gh-pages-tmp" branch using origin/gh-pages as the
starting point.  And then as before, copy the changelog to the branch,
push the branch back to origin, and finally delete the temporary branch.

Added more comments to the script.

Ref: comments on Github attached to commit k9mail/k-9@09c27d9.
2013-08-27 20:28:06 -04:00
Joe Steele
b795106289 New "-pre-bump-check" target for sanity checks.
Perform all sanity checks before making any changes.
2013-08-01 11:21:52 -04:00
Joe Steele
b8b21a0bcb Make sure the gh-pages branch is pushed. 2013-08-01 11:02:58 -04:00
Joe Steele
6e62081390 More robust parsing of changelog in build.xml 2013-08-01 11:02:57 -04:00
Joe Steele
57c998becc Automate publishing of the changelogs.
Publishes the changelog on github using a gh-pages branch.

This implementation changes back and forth between git
branches without updating the working tree.  This should
be faster because the branches are unrelated so updating
the tree would require removing and recreating all the files.
2013-08-01 11:02:49 -04:00
cketti
55b10948c4 Fix "-set-version" build target that checks if the changelog is up-to-date
Adjust path to the master changelog file.
2013-07-23 20:53:47 +02:00
Ashley Willis
cdad73ce6f verify res/raw/changelog.xml for an entry for the version being bumped to before changing anything for target bump-version. 2013-07-06 23:33:38 -04:00
cketti
ffda532612 Add (heavily modified) HoloColorPicker 2013-01-17 09:03:11 +01:00
cketti
aafa26d7de Fix build.xml so Jenkins is happy again 2013-01-08 09:28:46 +01:00
Jesse Vincent
c640598ebe remove submodule code from build.xml 2012-11-24 17:16:45 -05:00
cketti
e85bca648c Use android.bat on Windows systems 2012-11-20 04:06:14 +01:00
ashley willis
900959c0d5 added 'init' target to build.xml which initializes the submodules, and is a depends for overridden debug target. 2012-11-09 14:30:53 -06:00
ashley willis
cb715387b5 summary: updated build.xml and tests/build.xml.
build.xml and tests/build.xml:
  updated general format to match what is generated in a new project.
  moved targets common to both to build_common.xml.
  replaced some exec calls (perl, mv) and inline javascript with ant tasks (including extensions from Android and ant-contrib).

build.xml:
  fixed indentation.
  privatized targets that don't need to be called directly from command-line.
  renamed some properties.

tests/build.xml:
  renamed test project from K9 to K9Tests.

tools/ant-contrib.jar:
  new!

.gitignore:
  added note about local per-repo rules.
2012-06-01 15:41:14 -05:00
ashley willis
a0ee0b1561 summary: updated build scripts for testing.
.gitignore:
  added files created by new targets.

build.xml:
  removed targets install and reinstall.
  modified target help to depend on android_rules.help and only explain targets defined here.
  updated target javadoc.
  added targets lint-xml, lint-html, and monkey.
  added private target -pre-clean to remove files created by new targets.

tests/AndroidManifest.xml:
  updated note on running the tests.

tests/ant.properties:
  removed test.runner as target test is now overridden.

tests/build.xml:
  removed target test-report as it is now integrated with overridden target test.
  overrode target test to disable deleting coverage.em and use the new test runner.
  overrode target help to depend on android_rules.help and only explain targets defined here.
  added targets javadoc, lint-xml, lint-html, and artifacts.
  added private target -pre-clean to remove files created by new targets.

tests/clean-tests.sh:
  new sh script to run through all the tests.
2012-05-30 18:02:57 -05:00
ashley willis
2674079fc0 removed stylesheets from javadoc target, as not found on cloudbees. they weren't quite right, anyway. 2012-05-23 21:34:00 -05:00
ashley willis
2ffc18f224 Replaced android.test.InstrumentationTestRunner with com.zutubi.android.junitreport.JUnitReportTestRunner.
Create javadoc/ directory when doing "ant javadoc". Fixed installing debug builds with ant.

"ant -f tests/build.xml debug && ant -f tests/build.xml installt test test-report" compiles, installs, tests,
and saves output to tests/junit-report.xml.
2012-05-23 21:16:12 -05:00
ashley willis
820c16ca94 added javadoc target to build.xml 2012-05-20 00:56:05 -05:00
cketti
8f4ede0c79 Updated astyle rules 2012-04-25 17:02:24 +00:00
Jesse Vincent
da7f2a2943 update our upload target for sdk 16 2012-01-17 17:50:25 -08:00
Jesse Vincent
5c9b1db459 fix the push-tags target 2012-01-17 17:47:20 -08:00
Jesse Vincent
188a9fd070 Upgrade us to android-14 infrastructure
(Backport from Kaiten)

Conflicts:

	build.xml
	default.properties
	plugins/ActionBar/project.properties
	plugins/QuickAction/project.properties
	plugins/SplitView/ant.properties
	plugins/SplitView/build.xml
	plugins/SplitView/local.properties
	plugins/SplitView/proguard.cfg
	plugins/SplitView/project.properties
	project.properties
2011-10-27 12:41:24 -04:00
Fiouz
27e996b5f7 Don't force Eclipse settings on users
Ant target to setup the Eclipse .settings directory with predefined settings
2011-06-10 20:25:40 +02:00
Jesse Vincent
996646e33a fix a bug in our git-tag target. 2011-04-08 14:03:04 +10:00
Jesse Vincent
0f896ff606 fix our bump-version to push only the current tag 2011-03-29 12:24:19 +08:00
Jesse Vincent
5cc80372bc Fixes to the bump-version target 2011-02-13 14:29:41 -05:00
Jesse Vincent
4f77063755 fix our install target to match the new world order 2011-02-08 19:34:53 -05:00
Jesse Vincent
b50a4f7528 partial update of build.xml to match the current AOSP standard.
More work needed before we get to use their test harness :/
2011-02-08 19:34:53 -05:00
Jesse Vincent
df5c44cc33 Add the astyle target 2011-02-06 15:08:09 -05:00
Jesse Vincent
c1df45414f git push --tags 2011-02-05 21:45:39 -05:00
Jesse Vincent
35fcbd3428 switch build infrastructure to git 2011-02-05 21:45:12 -05:00
Jesse Vincent
eb6e48c7bd Add support for building with precompiled JARs 2011-01-31 17:19:43 +00:00
Jesse Vincent
9fc60210db comment out a lib search path we don't appear to need that's
incompatible with the latest google sdk
2010-12-07 01:22:29 +00:00
Fiouz
e8f1584c78 Fix version-name variable name spelling (was version.name) in commit-version target 2010-11-18 20:00:51 +00:00
Jesse Vincent
3353e2711b yay! android changed build variables again 2010-10-05 06:17:47 +00:00
Jesse Vincent
ee62ab9138 typo fix in releng targets 2010-10-03 17:07:06 +00:00
Jesse Vincent
8797e2228f catch trying to set the version without passing a version 2010-10-03 17:05:16 +00:00
Jesse Vincent
bf9022403d defang new targets 2010-10-03 17:05:13 +00:00
Jesse Vincent
99a7015a5d further tweaks to our "upload" target 2010-10-03 17:05:10 +00:00
Jesse Vincent
56ffee1554 new releng targets for easier version bumping 2010-10-03 17:05:07 +00:00
Jesse Vincent
1516127b09 fixups to our upload step 2010-03-24 01:21:09 +00:00
Jesse Vincent
f349af5129 trying to get us back to "stock" build infrastructure 2010-03-24 01:11:49 +00:00
Jesse Vincent
9c9eb60993 Experimentally bump us up to the 2.0.1 SDK to use cketti's new code for addresses.
I'd bet 50% that we need to revert this in the end, but I wanted to get
a build out
2010-03-23 03:19:22 +00:00
Daniel Applebaum
d245e81679 Reorganize remote control pieces.
Automatically build jar file for external applications.
Create convenience functions in K9RemoteControl so that external
applications do not need to know the details of handling the Intents
and broadcasts.
Send a permission string in the broadcasts so that unauthorized
applications cannot intercept communication to authorized
applications, such as K-9 Mail.
2010-01-15 05:02:27 +00:00
Jesse Vincent
f31b2702a4 Massive rename to K9, step 1.
Conflicts:

	src/com/android/email/Email.java
2009-12-15 02:50:53 +00:00
Jesse Vincent
88e6c59e7e Get K-9 building on Java 1.5 again 2009-12-06 22:41:19 +00:00
Jesse Vincent
04e8c6a55c use the right variable when pushing to gcode 2009-11-24 18:11:26 +00:00