Commit Graph

1191 Commits

Author SHA1 Message Date
Xavier Ducrohet
e223b7b371 am 61676a40: Merge change 26540 into eclair
Merge commit '61676a4061ef0400baa0c75c44a06bf740a55dc6' into eclair-plus-aosp

* commit '61676a4061ef0400baa0c75c44a06bf740a55dc6':
  Make the Density enum use the int value from the api Density enum.
2009-09-23 20:42:28 -07:00
Xavier Ducrohet
0d3e110b36 Disable clipping toggle when not supported.
This is only supported in Eclair+, so the toggle button
is disable if the edited file is donut or before.

Change-Id: I8bf1f8a8aa3604f269cb226d788c5e1438a5ae0b
2009-09-23 20:40:36 -07:00
Xavier Ducrohet
d0306ecd58 Add warning on mismatch minSdkVersion.
This is for both Ant and ADT.
For Ant, also added a check for non-integer values when the platform
is not a preview.

BUG:2118374

Change-Id: Ic8ec533d66a31d9e4b51c9c38b5eaab97bca7414
2009-09-23 20:38:33 -07:00
Android (Google) Code Review
61676a4061 Merge change 26540 into eclair
* changes:
  Make the Density enum use the int value from the api Density enum.
2009-09-23 23:34:38 -04:00
Xavier Ducrohet
9dac83d610 am 00652320: Merge change 26751 into eclair
Merge commit '006523204335a8c18ab57dbcd34a81a95a11d31f' into eclair-plus-aosp

* commit '006523204335a8c18ab57dbcd34a81a95a11d31f':
  Hide APK split UI (not ready yet)
2009-09-23 19:57:43 -07:00
Android (Google) Code Review
0065232043 Merge change 26751 into eclair
* changes:
  Hide APK split UI (not ready yet)
2009-09-23 22:49:47 -04:00
Piotr Gurgul
c01095003c am 5b6f3cbe: Add --no-locals to dx when dexing instrumented classes
Merge commit '5b6f3cbe4b88a98262a8b30b546543b8394e1f67' into eclair-plus-aosp

* commit '5b6f3cbe4b88a98262a8b30b546543b8394e1f67':
  Add --no-locals to dx when dexing instrumented classes
2009-09-23 18:34:29 -07:00
Xavier Ducrohet
019685753e Hide APK split UI (not ready yet)
Change-Id: I2ace823139710e836c72cc323427024b54384e38
2009-09-23 18:22:49 -07:00
Piotr Gurgul
5b6f3cbe4b Add --no-locals to dx when dexing instrumented classes
Emma instrumentation modifies .class files in that way they cannot be processed
by dx without --no-locals option.
2009-09-23 18:20:25 -07:00
Xavier Ducrohet
252ad3146a Make the Density enum use the int value from the api Density enum.
Change-Id: I13cace9a3fd7d17171ebe1e8b98c31adfa8509dc
2009-09-23 15:11:32 -07:00
Xavier Ducrohet
6ef34c54db am 68cc2b00: Merge change 26490 into eclair
Merge commit '68cc2b0084e81cdf4156a57ebd43f06da4918ccc' into eclair-plus-aosp

* commit '68cc2b0084e81cdf4156a57ebd43f06da4918ccc':
  Fix possible NPE in DDMS plugin init.
2009-09-23 10:44:19 -07:00
Android (Google) Code Review
68cc2b0084 Merge change 26490 into eclair
* changes:
  Fix possible NPE in DDMS plugin init.
2009-09-23 13:33:35 -04:00
mike ritter
2bff9f91af adding a recorder function to collect output into an xml file; adding getvars and listvars command to MonkeyRunner 2009-09-23 10:08:59 -07:00
Xavier Ducrohet
c29e58952e Fix possible NPE in DDMS plugin init.
Change-Id: Ie1649b319948514473e11c27b4ad126ffe2d40ef
2009-09-22 20:37:24 -07:00
Xavier Ducrohet
68c32ee43e am d582592e: Merge change 26495 into eclair
Merge commit 'd582592ea58188ad3b43523326dda5f9ae2669c7' into eclair-plus-aosp

* commit 'd582592ea58188ad3b43523326dda5f9ae2669c7':
  Disable menu items based on device/app selection.
2009-09-22 20:35:07 -07:00
Xavier Ducrohet
7b26a0e066 am c733a529: Merge change 26521 into eclair
Merge commit 'c733a52949c8f98e57ca360cb421f480487ff774' into eclair-plus-aosp

* commit 'c733a52949c8f98e57ca360cb421f480487ff774':
  Force update to the next plugin.
2009-09-22 20:35:03 -07:00
Android (Google) Code Review
d582592ea5 Merge change 26495 into eclair
* changes:
  Disable menu items based on device/app selection.
2009-09-22 23:24:32 -04:00
Android (Google) Code Review
c733a52949 Merge change 26521 into eclair
* changes:
  Force update to the next plugin.
2009-09-22 23:06:48 -04:00
Xavier Ducrohet
7856a59e68 am 350187ab: Create Density based resource values when needed.
Merge commit '350187ab93e12031ddcd57e5faa2312e6099ebba' into eclair-plus-aosp

* commit '350187ab93e12031ddcd57e5faa2312e6099ebba':
  Create Density based resource values when needed.
2009-09-22 20:01:24 -07:00
Xavier Ducrohet
350187ab93 Create Density based resource values when needed.
This will let the layoutlib know when to scale bitmaps
that are not in the native density of the rendering.

Change-Id: I08c99666460b5b5a3ed8d0aac7fa1b7c0136fd6b
2009-09-22 19:51:52 -07:00
Xavier Ducrohet
154bc29a03 am 038300d9: Merge change 26471 into eclair
Merge commit '038300d95f69ab2ddf56526bcfc5f1028c40e6f2' into eclair-plus-aosp

* commit '038300d95f69ab2ddf56526bcfc5f1028c40e6f2':
  Fix the qualifier match algorithm.
2009-09-22 19:51:44 -07:00
Android (Google) Code Review
038300d95f Merge change 26471 into eclair
* changes:
  Fix the qualifier match algorithm.
2009-09-22 22:40:48 -04:00
Xavier Ducrohet
a96c9885d7 Force update to the next plugin.
Change-Id: I2f1042a087ca6227396a41d23eed26525fbbbbf6
2009-09-22 18:45:44 -07:00
Piotr Gurgul
d3868d3803 am fa0062da: Add legacy support for application.package property
Merge commit 'fa0062da90e158b18a4250a003304bf40832423a' into eclair-plus-aosp

* commit 'fa0062da90e158b18a4250a003304bf40832423a':
  Add legacy support for application.package property
2009-09-22 17:53:54 -07:00
Xavier Ducrohet
9f6551b303 Disable menu items based on device/app selection.
Change-Id: I78572430c68f2c1952a118814d4b467182004e23
2009-09-22 17:38:24 -07:00
Piotr Gurgul
fa0062da90 Add legacy support for application.package property
application.package in android_rules.xml and android_test_rules.xml has been
replaced by manifest.package which value is taken from AndroidManifest.xml.
This is because old versions of build.properties contain already
application.package property which has precedence over the extracted one
and overrides it.

Change-Id: I909e145926169922ec6ec0e179ad88c413aa85b2
2009-09-22 17:31:14 -07:00
Xavier Ducrohet
cf51575c5e Fix the qualifier match algorithm.
Add proper support for density and keyboard state match.

Change-Id: I410aba52ee0f0d9df31fa2abdc9485054595263f
2009-09-22 16:46:19 -07:00
Xavier Ducrohet
d88e95f92c am dd9683a8: Merge change 26441 into eclair
Merge commit 'dd9683a8247c8e14619d068f81d10dea10e4decb' into eclair-plus-aosp

* commit 'dd9683a8247c8e14619d068f81d10dea10e4decb':
  Add support for Keyboard state "Soft"
2009-09-22 15:04:55 -07:00
Android (Google) Code Review
dd9683a824 Merge change 26441 into eclair
* changes:
  Add support for Keyboard state "Soft"
2009-09-22 17:57:40 -04:00
Piotr Gurgul
dccc44df44 am 07fc39ed: Merge change 26440 into eclair
Merge commit '07fc39edda5e53bb3ddd980a05ab2c6573685feb' into eclair-plus-aosp

* commit '07fc39edda5e53bb3ddd980a05ab2c6573685feb':
  Add auto-generated tested.project.dir property
2009-09-22 14:28:51 -07:00
Android (Google) Code Review
07fc39edda Merge change 26440 into eclair
* changes:
  Add auto-generated tested.project.dir property
2009-09-22 17:21:05 -04:00
Xavier Ducrohet
14fff84f14 Add support for Keyboard state "Soft"
Change-Id: Ief65b3988973fb3b3d9edbbb99df9354ffe85663
2009-09-22 14:16:26 -07:00
Piotr Gurgul
28265ed42f Add auto-generated tested.project.dir property
Adds tested.project.dir=".." to ProjectDir/tests/build.properties in order
to indicate automatically that this is a test project and point the
tested project directory.
2009-09-22 13:58:28 -07:00
Piotr Gurgul
b824d51914 am 36ee5daf: Merge change 26329 into eclair
Merge commit '36ee5dafd0e106e40f6f1d3e3dffd60315ea659f' into eclair-plus-aosp

* commit '36ee5dafd0e106e40f6f1d3e3dffd60315ea659f':
  Distinguish jar folders and jar files in ApkBuilder script
2009-09-22 11:52:04 -07:00
Android (Google) Code Review
36ee5dafd0 Merge change 26329 into eclair
* changes:
  Distinguish jar folders and jar files in ApkBuilder script
2009-09-22 14:44:28 -04:00
Piotr Gurgul
666d24cc3c Distinguish jar folders and jar files in ApkBuilder script
Checking if -rj parameter value is a directory or a file
and calling the appropriate function for each of them.
2009-09-22 11:28:43 -07:00
Piotr Gurgul
d176d42d67 am 3cbe2b79: Add automatic application package extraction from manifest
Merge commit '3cbe2b7943c0437ffb8c2a03a679c0ca8b9f527e' into eclair-plus-aosp

* commit '3cbe2b7943c0437ffb8c2a03a679c0ca8b9f527e':
  Add automatic application package extraction from manifest
2009-09-22 11:21:16 -07:00
Piotr Gurgul
3cbe2b7943 Add automatic application package extraction from manifest
Automatic extraction of the application.package property has been added
leveradging xpath ant task. This reduces redundancy, removes hardcoded
application.package and solves bug with uninstalling test application
package. In order to function properly needs removing application.package
from build.properties file.
2009-09-21 21:44:00 -07:00
Xavier Ducrohet
61c8308205 am 27e73ec5: Merge change 26291 into eclair
Merge commit '27e73ec55b1eea4186482ff54aa087eaa4d9263c' into eclair-plus-aosp

* commit '27e73ec55b1eea4186482ff54aa087eaa4d9263c':
  Update the SDK/AVD manager toolbar icon tooltip to be consistent.
2009-09-21 17:49:04 -07:00
Android (Google) Code Review
27e73ec55b Merge change 26291 into eclair
* changes:
  Update the SDK/AVD manager toolbar icon tooltip to be consistent.
2009-09-21 20:42:14 -04:00
Piotr Gurgul
2b7ecb4a49 am 6440b667: Merge change 26292 into eclair
Merge commit '6440b667b07f085faf5916a1c7836597ac0f6b63' into eclair-plus-aosp

* commit '6440b667b07f085faf5916a1c7836597ac0f6b63':
  Increase reusability of zipalign macrodef
2009-09-21 17:39:41 -07:00
Android (Google) Code Review
6440b667b0 Merge change 26292 into eclair
* changes:
  Increase reusability of zipalign macrodef
2009-09-21 20:31:08 -04:00
Xavier Ducrohet
d4d74b2b41 am 303d6948: Merge change 26277 into eclair
Merge commit '303d694863f055f09ed9b4a1b2eebeb809a2ddad' into eclair-plus-aosp

* commit '303d694863f055f09ed9b4a1b2eebeb809a2ddad':
  Add an XPath Ant task to be used in the android_rules.xml file.
2009-09-21 17:29:44 -07:00
Piotr Gurgul
9a73cd9add Increase reusability of zipalign macrodef
debug-helper macro has been renamed to zipalign-helper to reflect better its
function. Two parameters for input and output packages have been introduced.
Macro has been additionally leveradged in 'release' target where zipalign
was previously called directly, duplicating the code.
2009-09-21 17:22:34 -07:00
Android (Google) Code Review
303d694863 Merge change 26277 into eclair
* changes:
  Add an XPath Ant task to be used in the android_rules.xml file.
2009-09-21 20:22:27 -04:00
Xavier Ducrohet
54bc097702 Update the SDK/AVD manager toolbar icon tooltip to be consistent.
Change-Id: Ie4c98537035e11543dd22b870880d52506ca1b99
2009-09-21 17:20:48 -07:00
Piotr Gurgul
7d268ab9b8 am fddd720c: Add global verbosity control for SDK ant targets
Merge commit 'fddd720cf2530606b86f9a18f6e397dd9988958d' into eclair-plus-aosp

* commit 'fddd720cf2530606b86f9a18f6e397dd9988958d':
  Add global verbosity control for SDK ant targets
2009-09-21 16:55:22 -07:00
Piotr Gurgul
fddd720cf2 Add global verbosity control for SDK ant targets
The user-configurable property 'verbose' has been introduced. It is set by
default to 'false' and switching in on enables verbose mode for all the
intermediate steps for a given target.
2009-09-21 16:33:30 -07:00
Xavier Ducrohet
f8caa29838 Add an XPath Ant task to be used in the android_rules.xml file.
This task is designed to run XPath expression targetting Android XML files.
It will handle the Android namespace with the 'android' prefix, and store
the result of the XPath into a property.

Change-Id: I9094f5661d5e1ef86553ee1c54bdeca62366e0cd
classname: XPathTask
classpath: anttasks.jar, sdklib.jar

Usage:
<xpathtask input="path/of/file/to/read" output="name.of.property.to.write"
    expression="/xpath/expression/to/evaluate" />
2009-09-21 16:10:37 -07:00
Piotr Gurgul
6c324cbb23 am fbc5cc74: Merge change 25692 into eclair
Merge commit 'fbc5cc7488204b9b74acc587efa3c5d76a52c58b' into eclair-plus-aosp

* commit 'fbc5cc7488204b9b74acc587efa3c5d76a52c58b':
  Fix a bug in processing jarfolders in ApkBuilder
2009-09-17 20:08:43 -07:00