OSDN Git Service

android-x86/sdk.git
13 years agomerge from open-source master
The Android Open Source Project [Wed, 25 Aug 2010 22:56:41 +0000 (15:56 -0700)]
merge from open-source master

Change-Id: I734d1d07fbf4b9e58b384e32dcfac72cb5bd0cfb

13 years agoMerge "Create MonkeyRunner docs target to generate SDK docs."
Xavier Ducrohet [Wed, 25 Aug 2010 22:48:04 +0000 (15:48 -0700)]
Merge "Create MonkeyRunner docs target to generate SDK docs."

13 years agoMerge "DOC: Updated doc for MonkeyRunner API"
Xavier Ducrohet [Wed, 25 Aug 2010 22:46:44 +0000 (15:46 -0700)]
Merge "DOC: Updated doc for MonkeyRunner API"

13 years agomerge from open-source master
The Android Open Source Project [Wed, 25 Aug 2010 19:04:48 +0000 (12:04 -0700)]
merge from open-source master

Change-Id: I2221a668ad1a63280148588b21fe9f2b64ce013f

13 years agoMerge "sdk-docs output format for use in generating the SDK documentation for MonkeyR...
Bill Napier [Wed, 25 Aug 2010 17:30:38 +0000 (10:30 -0700)]
Merge "sdk-docs output format for use in generating the SDK documentation for MonkeyRunner."

13 years agomerge from open-source master
The Android Open Source Project [Tue, 24 Aug 2010 04:44:11 +0000 (21:44 -0700)]
merge from open-source master

Change-Id: Ic946a039fe4a5021549fe87bf2cbd11aa045ce39

13 years agoMerge "Allow adt-tests to access package-private elements."
Brett Chabot [Tue, 24 Aug 2010 04:37:48 +0000 (21:37 -0700)]
Merge "Allow adt-tests to access package-private elements."

13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 22:36:40 +0000 (15:36 -0700)]
merge from open-source master

Change-Id: I3d83bcd8c99e2e91097bcff391a8bd574ac81344

13 years agomerge from tools_r7
The Android Open Source Project [Mon, 23 Aug 2010 22:25:09 +0000 (15:25 -0700)]
merge from tools_r7

Change-Id: Ib8fa2647481d2d61d9bea2d5cd30fb0207e1dcf3

13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 22:25:00 +0000 (15:25 -0700)]
merge from open-source master

Change-Id: I215cd89ec845a094137ace2e361aa76c5050e542

13 years agoMerge "SDK Launcher: add win32 app manifest" into tools_r7
Xavier Ducrohet [Mon, 23 Aug 2010 22:14:24 +0000 (15:14 -0700)]
Merge "SDK Launcher: add win32 app manifest" into tools_r7

13 years agoSDK Launcher: add win32 app manifest
Raphael Moll [Sun, 22 Aug 2010 00:59:12 +0000 (17:59 -0700)]
SDK Launcher: add win32 app manifest

Merged from master to tools_r7

Change-Id: Ic9b8d265868b0e062fce067312c9e9fa89bba3c7

13 years agoMerge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"" into tools_r7
Xavier Ducrohet [Mon, 23 Aug 2010 22:13:28 +0000 (15:13 -0700)]
Merge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"" into tools_r7

13 years agomerge from tools_r7
The Android Open Source Project [Mon, 23 Aug 2010 22:13:20 +0000 (15:13 -0700)]
merge from tools_r7

Change-Id: I36f9cb801e3dfe6338f503c49e3380d565214be3

13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 22:13:00 +0000 (15:13 -0700)]
merge from open-source master

Change-Id: Ia55cfd4c49a26447d06124b4505eeff73e5998e1

13 years agoSDK: Rename "SDK Setup.exe" to "SDK Manager.exe"
Raphael Moll [Sun, 22 Aug 2010 01:03:49 +0000 (18:03 -0700)]
SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"

Merged from master to tools_r7

Change-Id: Ib8e702344dd2d593d7f7e6d56b0c3534480ff376

13 years agoImprove capability of the post-compile target.
Xavier Ducrohet [Mon, 23 Aug 2010 21:42:33 +0000 (14:42 -0700)]
Improve capability of the post-compile target.

Make the dex target use a different property to read
the input folder for classes to dexify.
By default the new property has the same value but can
be overriden if a post-compile target modify (obfuscate)
code into a different location.

Merged from master into tools_r7

Change-Id: I1fe2fd2a2678d8c4354702250cea1481f74dd7cf

13 years agoMerge "Improve capability of the post-compile target."
Xavier Ducrohet [Mon, 23 Aug 2010 22:06:40 +0000 (15:06 -0700)]
Merge "Improve capability of the post-compile target."

13 years agoImprove capability of the post-compile target.
Xavier Ducrohet [Mon, 23 Aug 2010 21:42:33 +0000 (14:42 -0700)]
Improve capability of the post-compile target.

Make the dex target use a different property to read
the input folder for classes to dexify.
By default the new property has the same value but can
be overriden if a post-compile target modify (obfuscate)
code into a different location.

Change-Id: I9caeca9f342c7ead1dcee9b4d80cde4ad741a843

13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 21:12:07 +0000 (14:12 -0700)]
merge from open-source master

Change-Id: Iaf2f7de891f78af2eddd7a5edc6e8d5bcc4e0b48

13 years agoMerge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe""
Raphael Moll [Mon, 23 Aug 2010 21:01:32 +0000 (14:01 -0700)]
Merge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe""

13 years agoMerge "SDK Launcher: add win32 app manifest"
Raphael Moll [Mon, 23 Aug 2010 21:01:24 +0000 (14:01 -0700)]
Merge "SDK Launcher: add win32 app manifest"

13 years agoSDK: Rename "SDK Setup.exe" to "SDK Manager.exe"
Raphael Moll [Sun, 22 Aug 2010 01:03:49 +0000 (18:03 -0700)]
SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"

Change-Id: Id62b59e75e92fe14376353211dd59d89f4ee63c6

13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 20:21:03 +0000 (13:21 -0700)]
merge from open-source master

Change-Id: I0ef9172d9b16df4227c9e6ed6705d9ba699ace61

13 years agoMerge "Fix error strings: it's "dx.jar", not "dex.jar""
Raphael Moll [Mon, 23 Aug 2010 20:11:14 +0000 (13:11 -0700)]
Merge "Fix error strings: it's "dx.jar", not "dex.jar""

13 years agomerge from tools_r7
The Android Open Source Project [Mon, 23 Aug 2010 20:05:56 +0000 (13:05 -0700)]
merge from tools_r7

Change-Id: I1c48422d1732d53527d7afae6c30c285bee54146

13 years agomerge from open-source master
The Android Open Source Project [Mon, 23 Aug 2010 19:53:17 +0000 (12:53 -0700)]
merge from open-source master

Change-Id: I01a81355942ab0a11c257fd4ffa11b6db2e71e8e

13 years agoAndroid.bat support for Java 64-bit.
Raphael Moll [Sat, 21 Aug 2010 04:54:59 +0000 (21:54 -0700)]
Android.bat support for Java 64-bit.

android.bat: properly encode file using CRLF (not Unix mode).
find_java.bat: properly check for Java in the 64-bit ProgramFiles path.

Change-Id: If4a106f144b5b890a62fc5543b35df85ab5ab06c

13 years agoMerge "Android.bat support for Java 64-bit."
Raphael Moll [Mon, 23 Aug 2010 19:42:23 +0000 (12:42 -0700)]
Merge "Android.bat support for Java 64-bit."

13 years agoSDK Launcher: add win32 app manifest
Raphael Moll [Sun, 22 Aug 2010 00:59:12 +0000 (17:59 -0700)]
SDK Launcher: add win32 app manifest

Change-Id: Iac3ad3d28d62c67b15b75346a56c2194f1837096

13 years agoAllow adt-tests to access package-private elements.
Brett Chabot [Sat, 21 Aug 2010 02:22:49 +0000 (19:22 -0700)]
Allow adt-tests to access package-private elements.

Previously when running tests in the continuous tests system, adt-tests could
not access any package-private elements in adt. This was because adt-tests was
a separate plugin and thus had a separate class loader.

With this commit, adt-tests is now a fragment, and its code runs inside the
adt plugin.

Bug 2179353

Change-Id: Iec8c08bed2fa116b38490a774cd3bd6f4c7358a5

13 years agoFix error strings: it's "dx.jar", not "dex.jar"
Raphael Moll [Sat, 21 Aug 2010 19:43:31 +0000 (12:43 -0700)]
Fix error strings: it's "dx.jar", not "dex.jar"

The error message has the wrong file name and that
confused me when I manually created my platform-tools.

Change-Id: I2d1b5258db99c5359c0ebe71d42b2d93558941ac

13 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 19:23:51 +0000 (12:23 -0700)]
merge from open-source master

Change-Id: I64e1967ebe526292fb445f3a63eee6341f71d309

13 years agoDisable tests using EasyMock to fix build.
Raphael Moll [Sat, 21 Aug 2010 19:17:03 +0000 (12:17 -0700)]
Disable tests using EasyMock to fix build.

We'll try to fix it in another CL later.

Change-Id: I3a0c5131e6e9398a657081a639fbfd6aa670ba97

13 years agoAndroid.bat support for Java 64-bit.
Raphael Moll [Sat, 21 Aug 2010 04:54:59 +0000 (21:54 -0700)]
Android.bat support for Java 64-bit.

android.bat: properly encode file using CRLF (not Unix mode).
find_java.bat: properly check for Java in the 64-bit ProgramFiles path.

Change-Id: I78adb4783955cfad867d29f66d7ee58a017d41c4

13 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 18:27:20 +0000 (11:27 -0700)]
merge from open-source master

Change-Id: I9d22b5e33b228b6b54234387356bc592bfb51bb8

13 years agoMerge changes Ie49a141a,I71c6f4b6
Raphael Moll [Sat, 21 Aug 2010 18:05:37 +0000 (11:05 -0700)]
Merge changes Ie49a141a,I71c6f4b6

* changes:
  UnitTest for UpdaterLogic.findPlatformToolsDependency.
  SDK Manager support for Platform-Tools

13 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 18:05:05 +0000 (11:05 -0700)]
merge from open-source master

Change-Id: I96aa9ed93ba47b0e28f73bdf3b10119a181f633e

13 years agoMerge "ADT GLE unit tests."
Raphael Moll [Sat, 21 Aug 2010 18:01:30 +0000 (11:01 -0700)]
Merge "ADT GLE unit tests."

13 years agomerge from open-source master
The Android Open Source Project [Sat, 21 Aug 2010 00:11:05 +0000 (17:11 -0700)]
merge from open-source master

Change-Id: I3c7e9f4b3b1af8b39d1d0e3dba1ad3fc6d9033c0

13 years agoMerge "Force disconnect of all devices when adb connection is lost."
Brett Chabot [Sat, 21 Aug 2010 00:01:21 +0000 (17:01 -0700)]
Merge "Force disconnect of all devices when adb connection is lost."

13 years agomerge from open-source master
The Android Open Source Project [Fri, 20 Aug 2010 18:02:25 +0000 (11:02 -0700)]
merge from open-source master

Change-Id: I96edec07df6843984515ff92d3636434397a9d7e

13 years agomerge from tools_r7
The Android Open Source Project [Fri, 20 Aug 2010 17:51:08 +0000 (10:51 -0700)]
merge from tools_r7

Change-Id: I0a73800c5f6454a012d6556668aa98ddfb53db3a

13 years agoMerge sdklib manifest fix for r7. DO NOT MERGE.
Xavier Ducrohet [Wed, 18 Aug 2010 18:54:31 +0000 (11:54 -0700)]
Merge sdklib manifest fix for r7. DO NOT MERGE.

Original commit msg:
Fix missing dependency in the sdklib manifest + improved error reporting.

Change-Id: I778a839cc280db8bcc7a4a0b11378119de9aed57

13 years agoCreate MonkeyRunner docs target to generate SDK docs.
Bill Napier [Fri, 20 Aug 2010 05:47:36 +0000 (22:47 -0700)]
Create MonkeyRunner docs target to generate SDK docs.

Change-Id: Id84e1aec8965ac0efc58c25234855960e826fb3b

13 years agosdk-docs output format for use in generating the SDK documentation for MonkeyRunner.
Bill Napier [Fri, 20 Aug 2010 05:46:43 +0000 (22:46 -0700)]
sdk-docs output format for use in generating the SDK documentation for MonkeyRunner.

Change-Id: Iaf8cb5273d025983e62cca6ab092dca9e97c331a

13 years agoUnitTest for UpdaterLogic.findPlatformToolsDependency.
Raphael Moll [Fri, 20 Aug 2010 03:56:26 +0000 (20:56 -0700)]
UnitTest for UpdaterLogic.findPlatformToolsDependency.

Change-Id: Ie49a141ad0d25021164166aeb4405877045719bf

13 years agoSDK Manager support for Platform-Tools
Raphael Moll [Thu, 19 Aug 2010 23:55:17 +0000 (16:55 -0700)]
SDK Manager support for Platform-Tools

Changes:
- Fixed dependency (PlatformToolPackage was made to depend
  on itself... oops it should have been ToolPackage!)
- Load platform-tool from XML.
- Specify sorting order of platform-tool in list.
- Compute a platform-tool has a dependency for tool package.
- Added a totally impressive icon for the new platform-tool package.
- Update the schema comments to explicitely indicate what is new.

Change-Id: I71c6f4b61028990d051a479b919a7f55a79f87cf

13 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 22:35:31 +0000 (15:35 -0700)]
merge from open-source master

Change-Id: I86b16a803691187dc9311509042bcca68a2a9ac1

13 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 22:23:53 +0000 (15:23 -0700)]
merge from open-source master

Change-Id: I26db0ad2532f75465b4ca69463a1a593ef64e05d

13 years agoMerge "Transition from clearsilver to jsilver"
Ben Dodson [Thu, 19 Aug 2010 22:23:46 +0000 (15:23 -0700)]
Merge "Transition from clearsilver to jsilver"

13 years agoTransition from clearsilver to jsilver
Ben Dodson [Thu, 19 Aug 2010 22:15:50 +0000 (15:15 -0700)]
Transition from clearsilver to jsilver

Change-Id: Iea2fb85b246685b1c2e27866bb1c1df80fa55abe

13 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 22:07:06 +0000 (15:07 -0700)]
merge from open-source master

Change-Id: Ib2fbc41481934a38090dd1ee97d7ddec30ca8df1

13 years agoMerge "Adding property and profile viewers + misc"
Konstantin Lopyrev [Thu, 19 Aug 2010 22:06:39 +0000 (15:06 -0700)]
Merge "Adding property and profile viewers + misc"

13 years agoMerge "Increasing the changes of a device connecting properly and making sure things...
Konstantin Lopyrev [Thu, 19 Aug 2010 22:06:10 +0000 (15:06 -0700)]
Merge "Increasing the changes of a device connecting properly and making sure things are disposed of properly."

13 years agoMerge "Adding the new tree view."
Konstantin Lopyrev [Thu, 19 Aug 2010 22:05:31 +0000 (15:05 -0700)]
Merge "Adding the new tree view."

13 years agoMerge "Adding pixel perfect view, loupe and tree."
Konstantin Lopyrev [Thu, 19 Aug 2010 22:04:34 +0000 (15:04 -0700)]
Merge "Adding pixel perfect view, loupe and tree."

13 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 21:55:35 +0000 (14:55 -0700)]
merge from open-source master

Change-Id: I829f7ae2314c7415a58cbd0d82e8201ea8a99bc1

13 years agoMerge "ADT-Tests: Unit test for GRE NodeFactory."
Raphael Moll [Thu, 19 Aug 2010 21:53:36 +0000 (14:53 -0700)]
Merge "ADT-Tests: Unit test for GRE NodeFactory."

13 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 21:32:46 +0000 (14:32 -0700)]
merge from open-source master

Change-Id: I800d0c33be754591f3e11c24c209ceea77a5aeda

13 years agoMerge "Fix missing dependency in the sdklib manifest + improved error reporting."
Xavier Ducrohet [Thu, 19 Aug 2010 21:30:49 +0000 (14:30 -0700)]
Merge "Fix missing dependency in the sdklib manifest + improved error reporting."

13 years agomerge from open-source master
The Android Open Source Project [Thu, 19 Aug 2010 21:09:50 +0000 (14:09 -0700)]
merge from open-source master

Change-Id: I4841849fc8f15c9614feee5e425581ce53192bf8

13 years agoMerge "ADT-Tests: add external/easymock to the classpath."
Raphael Moll [Thu, 19 Aug 2010 21:03:57 +0000 (14:03 -0700)]
Merge "ADT-Tests: add external/easymock to the classpath."

13 years agoADT GLE unit tests.
Raphael Moll [Thu, 19 Aug 2010 21:02:25 +0000 (14:02 -0700)]
ADT GLE unit tests.

There isn't as much as would want to here.
I need to refactor the RulesEngine to make it more testable,
the major block is that it uses the static AdtPlugin to find
the groovy files path and that doesn't exist in the UT.

Change-Id: I96c0821252d5b777665ed68153fde63d140d0ee5

13 years agoFix missing dependency in the sdklib manifest + improved error reporting.
Xavier Ducrohet [Wed, 18 Aug 2010 18:54:31 +0000 (11:54 -0700)]
Fix missing dependency in the sdklib manifest + improved error reporting.

Change-Id: I197d17ee3dcf7119fe9da4b7f29bb9bce193ff12

13 years agoMerge "ADT: support xlarge resource configuration."
Xavier Ducrohet [Wed, 18 Aug 2010 22:53:27 +0000 (15:53 -0700)]
Merge "ADT: support xlarge resource configuration."

13 years agomerge from open-source master
The Android Open Source Project [Wed, 18 Aug 2010 01:10:09 +0000 (18:10 -0700)]
merge from open-source master

Change-Id: I65d2a8a84aecc3cd0477fef83c30aa422dbc90ac

13 years agoAdding property and profile viewers + misc
Konstantin Lopyrev [Wed, 11 Aug 2010 19:45:59 +0000 (12:45 -0700)]
Adding property and profile viewers + misc

Change-Id: I04b7e6045047d303b3434dc64662ffeb36c48c24

13 years agoIncreasing the changes of a device connecting properly and making sure things are...
Konstantin Lopyrev [Tue, 10 Aug 2010 00:42:51 +0000 (17:42 -0700)]
Increasing the changes of a device connecting properly and making sure things are disposed of properly.

Change-Id: Ib1190c65c8ac9795fc0b97beacd7fd102cb95abf

13 years agoAdding the new tree view.
Konstantin Lopyrev [Fri, 6 Aug 2010 01:00:36 +0000 (18:00 -0700)]
Adding the new tree view.

Change-Id: I490f475fadaec5625352a49524ec8cb3a6e9b7d4

13 years agoAdding pixel perfect view, loupe and tree.
Konstantin Lopyrev [Fri, 30 Jul 2010 00:30:16 +0000 (17:30 -0700)]
Adding pixel perfect view, loupe and tree.

Change-Id: I9be3e9037dec5eeb240608ba8c6329fd77689bbe

13 years agoMerge "Making sure the old hierarchy viewer works with categorized properties."
Xavier Ducrohet [Wed, 18 Aug 2010 00:58:05 +0000 (17:58 -0700)]
Merge "Making sure the old hierarchy viewer works with categorized properties."

13 years agomerge from open-source master
The Android Open Source Project [Tue, 17 Aug 2010 16:54:23 +0000 (09:54 -0700)]
merge from open-source master

Change-Id: I5fdfe707f9e4cf94566bb824aea0569d4bf124b5

13 years agoMerge "Add paragraph support into MonkeyRunner documentation."
Bill Napier [Tue, 17 Aug 2010 16:49:56 +0000 (09:49 -0700)]
Merge "Add paragraph support into MonkeyRunner documentation."

13 years agoDOC: Updated doc for MonkeyRunner API
Joe Malin [Fri, 6 Aug 2010 01:04:42 +0000 (18:04 -0700)]
DOC: Updated doc for MonkeyRunner API

Change-Id: Id2682f2922a5ca509211a0c18c9c1366f0b020dc

13 years agomerge from open-source master
The Android Open Source Project [Mon, 16 Aug 2010 20:58:55 +0000 (13:58 -0700)]
merge from open-source master

Change-Id: I1c60017b35d3bb5428f1868a1394323301d4e713

13 years agoADT-Tests: Unit test for GRE NodeFactory.
Raphael Moll [Mon, 16 Aug 2010 20:47:21 +0000 (13:47 -0700)]
ADT-Tests: Unit test for GRE NodeFactory.

Change-Id: I33039b0be05f0eca51f1fd5c6f616d01f46a59b7

13 years agoADT-Tests: add external/easymock to the classpath.
Raphael Moll [Mon, 16 Aug 2010 20:41:57 +0000 (13:41 -0700)]
ADT-Tests: add external/easymock to the classpath.

Change-Id: I892f686b98efad14ac5de932030238116bf0d3d4

13 years agoWXVGA 1280x800 skin for emulator.
Raphael Moll [Thu, 12 Aug 2010 22:01:17 +0000 (15:01 -0700)]
WXVGA 1280x800 skin for emulator.

Change-Id: I42b7e24a824d42bf53efcc6cf487102021c7b8d8

13 years agoForce disconnect of all devices when adb connection is lost.
Brett Chabot [Sat, 31 Jul 2010 01:18:32 +0000 (18:18 -0700)]
Force disconnect of all devices when adb connection is lost.

Bug 2873317

Change-Id: Idc56be6dbd8912ee463295ddfe6f3b0bbf0b5125

13 years agoADT: support xlarge resource configuration.
Raphael [Thu, 12 Aug 2010 02:33:42 +0000 (19:33 -0700)]
ADT: support xlarge resource configuration.

Also added a sample device configuration for the layout editor.

Change-Id: I1ec540038d2676e1f924e74f7f2aa8000d3672b3

13 years agoMaking sure the old hierarchy viewer works with categorized properties.
Konstantin Lopyrev [Wed, 11 Aug 2010 19:52:19 +0000 (12:52 -0700)]
Making sure the old hierarchy viewer works with categorized properties.

Change-Id: Ie0406055c73881a1cc238689b05567bca09fc8b1

13 years agoAnt: ensure SDK path ends with dir separator.
Raphael Moll [Tue, 10 Aug 2010 17:20:46 +0000 (10:20 -0700)]
Ant: ensure SDK path ends with dir separator.

SDK Bug: 2906094

Change-Id: Ic4053c97c8dd5a32a2276e22644b5e09c91d52f0

13 years agomerge from open-source master
The Android Open Source Project [Tue, 10 Aug 2010 03:28:14 +0000 (20:28 -0700)]
merge from open-source master

Change-Id: I83aa7f88ba7390781d0045bff3a629b71c3143a0

13 years agoADT: Fix visibility of method so that Eclipse tests can access it.
Raphael Moll [Tue, 10 Aug 2010 02:51:44 +0000 (19:51 -0700)]
ADT: Fix visibility of method so that Eclipse tests can access it.

Also added an annotation to indicate why it has been made
public.

SDK Bug: 2906164

Change-Id: I9490467a72989392f838a8c8e7137e929721358e

13 years agoAdd paragraph support into MonkeyRunner documentation.
Bill Napier [Sun, 8 Aug 2010 05:40:09 +0000 (22:40 -0700)]
Add paragraph support into MonkeyRunner documentation.

Any strings that contain a newline are now broken up when put into the HDF.
This allows the formatters to do special per-paragraph formatting (very useful
for the HTML output).

Change-Id: If2e1dd1a6c752afe900745347ff6c9a9e4bb406d

13 years agoFix permissions: source files shouldn't be executable
Omari Stephens [Fri, 6 Aug 2010 01:37:52 +0000 (18:37 -0700)]
Fix permissions: source files shouldn't be executable

Change-Id: I4030ca07fb40e171978d8eb366b6d403e3c9ea2c

13 years agoSdkManager: support for upgrade to Schema #3.
Raphael Moll [Fri, 30 Jul 2010 22:37:25 +0000 (15:37 -0700)]
SdkManager: support for upgrade to Schema #3.

This changes the way the sdk manager looks for schema upgrades:
- when trying to load an XML, parse the root element and scan
  for our XLMNS. If it parses, get the version number at the end
  and use this directly to try to load using the right schema.
- In turn this allows us to distinguish between an incorrectly
  formatted XML (but using the right schema) versus something
  that is not our XML schema or not an XML at all, and then we
  can produce better errors for the user.
- We also then directly know when the schema version is above
  the known value of the tool and can then create the upgrade
  tools node accordingly.

Change-Id: I58c7d89d7b57dd4d5488f726e5f8b21cc4308451

13 years agoUpdate sdklib to use the new sdk organization (build tools moved)
Xavier Ducrohet [Tue, 27 Jul 2010 22:08:15 +0000 (15:08 -0700)]
Update sdklib to use the new sdk organization (build tools moved)

Also do some minor clean-up from the recent change to ProjectProperties.
FileWrapper extends java.io.File so there's no need to create a File
and then create a FileWrapper around it. Directly create a FileWrapper.

Change-Id: I3f072bf7f848d63b90fa03bec2683f6a009deb88

13 years agoMerge "SdkManager: new schema with <platform-tool> package."
Raphael Moll [Fri, 30 Jul 2010 04:09:40 +0000 (21:09 -0700)]
Merge "SdkManager: new schema with <platform-tool> package."

13 years agoMerge "SdkManager: don't use deprecated methods."
Raphael Moll [Fri, 30 Jul 2010 04:08:40 +0000 (21:08 -0700)]
Merge "SdkManager: don't use deprecated methods."

13 years agoMerge "Clean up the previous fix to ApkBuilder with regard to the keystore."
Xavier Ducrohet [Fri, 30 Jul 2010 03:52:15 +0000 (20:52 -0700)]
Merge "Clean up the previous fix to ApkBuilder with regard to the keystore."

13 years agoSdkManager: new schema with <platform-tool> package.
Raphael Moll [Thu, 29 Jul 2010 20:15:04 +0000 (13:15 -0700)]
SdkManager: new schema with <platform-tool> package.

This adds the new schema (v3), the internal definitions and
constants. However the schema v3 is not enabled as default and
the whole thing is not used by the downloader/installer yet.

Note: some files in this folder are using Windows \r\n end-of-lines.
I will convert them to Unix \n EOLs in *another* CL, not this one.

Change-Id: I327f12571ad3959e85a7b972cad98663c09cce33

13 years agoSdkManager: don't use deprecated methods.
Raphael Moll [Thu, 29 Jul 2010 17:58:20 +0000 (10:58 -0700)]
SdkManager: don't use deprecated methods.

If we're going to deprecate the parsePropertyFile(File), we might
as well stop using it ourselves.

Also removes the obsolete parsePropertyFile(File) method.

Change-Id: I811590ca583f2a89d5b7d606d70a4bc14eb6230b

13 years agoMerge "Don't rely on map to store layout device configs."
Xavier Ducrohet [Fri, 30 Jul 2010 00:46:40 +0000 (17:46 -0700)]
Merge "Don't rely on map to store layout device configs."

13 years agoClean up the previous fix to ApkBuilder with regard to the keystore.
Xavier Ducrohet [Thu, 29 Jul 2010 22:52:35 +0000 (15:52 -0700)]
Clean up the previous fix to ApkBuilder with regard to the keystore.

Change-Id: I620269355e176d9167ceb733191ee5ea8908d06a

13 years agoDon't rely on map to store layout device configs.
Xavier Ducrohet [Thu, 29 Jul 2010 00:01:55 +0000 (17:01 -0700)]
Don't rely on map to store layout device configs.

Relying on maps means that we don't control the order of the configs
in the UI. Mac/Windows show a different order already, and it's just
luck that the Mac one matches the content of the XML.

Now we keep the order from the XML and display it as-is in the UI.

Change-Id: I900f330a4ea9059fe27df2bca6c3a7a770737ae4

13 years agomerge from tools_r7
The Android Open Source Project [Thu, 29 Jul 2010 19:14:57 +0000 (12:14 -0700)]
merge from tools_r7

Change-Id: I1ae4cce619e71d379f2def3f4d6f484279b600a6

13 years agoFix broken generation of default keystore. Do not merge.
Xavier Ducrohet [Thu, 29 Jul 2010 19:05:51 +0000 (12:05 -0700)]
Fix broken generation of default keystore. Do not merge.

The location of the debug keystore was validated (to make sure
it was not a directory or an unreadable file), but it also threw
an exception if the file didn't exist, preventing the creation
from happening.

This is integrated from master.

Change-Id: I4025bb7282c1c4ea5dd56d6c2497c9c670ee5579

13 years agoMerge "Fix broken generation of default keystore."
Xavier Ducrohet [Thu, 29 Jul 2010 19:09:40 +0000 (12:09 -0700)]
Merge "Fix broken generation of default keystore."