Commit Graph

2327 Commits

Author SHA1 Message Date
Android (Google) Code Review
defc3d14e1 Merge change 3407 into donut
* changes:
  SDK updater: refactor install into Archive.
2009-06-08 13:24:37 -07:00
Xavier Ducrohet
6247235b4c am fd9b2a0b: am c3c97d1d: AI 149620: mkstubs should ignore all the methods/fields/classes with default access. External bug: http://code.google.com/p/android/issues/detail?id=2806 BUG=1901455
Merge commit 'fd9b2a0b72fdd2a4907e786d5e55ab4a6e64f669'

* commit 'fd9b2a0b72fdd2a4907e786d5e55ab4a6e64f669':
  AI 149620: mkstubs should ignore all the methods/fields/classes with default access.
2009-06-08 11:27:41 -07:00
Xavier Ducrohet
fd9b2a0b72 am c3c97d1d: AI 149620: mkstubs should ignore all the methods/fields/classes with default access. External bug: http://code.google.com/p/android/issues/detail?id=2806 BUG=1901455
Merge commit 'c3c97d1db391f4e400343fd69be11c8b1f951ff3' into donut

* commit 'c3c97d1db391f4e400343fd69be11c8b1f951ff3':
  AI 149620: mkstubs should ignore all the methods/fields/classes with default access.
2009-06-08 11:16:44 -07:00
Android (Google) Code Review
bd45dfcdaa am 55899308: Merge change 3342 into donut
Merge commit '5589930805c71791ecdd3c4847bd18aab5eed937'

* commit '5589930805c71791ecdd3c4847bd18aab5eed937':
  Add revision to Android targets.
2009-06-05 21:17:40 -07:00
Raphael
4d18cb21f2 SDK updater: refactor install into Archive. 2009-06-05 19:46:34 -07:00
Xavier Ducrohet
c3c97d1db3 AI 149620: mkstubs should ignore all the methods/fields/classes with default access.
External bug: http://code.google.com/p/android/issues/detail?id=2806
  BUG=1901455

Automated import of CL 149620
2009-06-05 17:06:37 -07:00
Android (Google) Code Review
5589930805 Merge change 3342 into donut
* changes:
  Add revision to Android targets.
2009-06-05 17:02:04 -07:00
Xavier Ducrohet
9d5a88398e Add revision to Android targets.
The add-on use the "revision" property of the manifest (if it does not
exists, it looks for the old deprecated "version" property).
The platform uses the ro.build.version.incremental which is only an integer
for builds from the build servers.
Local builds contain <buildtype>.<username>.<date>.<time>. For those will
use the date.
2009-06-05 16:59:53 -07:00
Raphael
21c57d743a SDK Updater: Add optional license elements to XML schema. 2009-06-05 14:01:10 -07:00
Raphael
15b82d84b8 am f5803d7d: SDK Updater: add comments to the XML Schema.
Merge commit 'f5803d7d18d9d51d9437013088eb8789d35eb3ac'

* commit 'f5803d7d18d9d51d9437013088eb8789d35eb3ac':
  SDK Updater: add comments to the XML Schema.
2009-06-05 11:41:23 -07:00
Raphael
f5803d7d18 SDK Updater: add comments to the XML Schema.
This patch also moves the checksumType at the bottom
so that the main sdk-repository element definition
be the first thing in the file.
2009-06-05 10:59:56 -07:00
Android (Google) Code Review
00df6beced am 48d160dd: Merge change 3228 into donut
Merge commit '48d160dd89a009bfbc30ba3751850a8c4dd96cf6'

* commit '48d160dd89a009bfbc30ba3751850a8c4dd96cf6':
  ADT: make sure to log exceptions that might happen when
2009-06-05 00:29:57 -07:00
Raphael
9aa9fcf0c1 am 0dbf4c8b: Change scripts to support x86_64 for DDMS.
Merge commit '0dbf4c8bcfc95bc09cca46e523094c3be9ab0d48'

* commit '0dbf4c8bcfc95bc09cca46e523094c3be9ab0d48':
  Change scripts to support x86_64 for DDMS.
2009-06-05 00:29:53 -07:00
Android (Google) Code Review
ab16f45d67 am 79508571: Merge change 3195 into donut
Merge commit '79508571c00bfdfb7e46f99d3df1c4ecd5f9a282'

* commit '79508571c00bfdfb7e46f99d3df1c4ecd5f9a282':
  Change the SDK, DDMS and Traceview to work with the new SWT libraries.
2009-06-04 23:48:05 -07:00
Android (Google) Code Review
0f413df2e7 am 318b0565: Merge change 3141 into donut
Merge commit '318b0565685ef7ac5f95cb13dbb34dc5d3d6302a'

* commit '318b0565685ef7ac5f95cb13dbb34dc5d3d6302a':
  SDK Updater: Unzip archives.
2009-06-04 22:43:42 -07:00
Android (Google) Code Review
48d160dd89 Merge change 3228 into donut
* changes:
  ADT: make sure to log exceptions that might happen when loading the SDK.
2009-06-04 17:48:15 -07:00
Raphael
0dbf4c8bcf Change scripts to support x86_64 for DDMS. 2009-06-04 16:58:55 -07:00
Raphael
0104d05f40 ADT: make sure to log exceptions that might happen when
loading the SDK.
2009-06-04 15:13:28 -07:00
Android (Google) Code Review
79508571c0 Merge change 3195 into donut
* changes:
  Change the SDK, DDMS and Traceview to work with the new SWT libraries.
2009-06-04 15:00:45 -07:00
Xavier Ducrohet
c5a89e256c Change the SDK, DDMS and Traceview to work with the new SWT libraries.
The SDK now contains 32 and 64 bit version of SWT. DDMS and Traceview
use the archquery java app to check the architecture of the VM to decide
which version of SWT should be used to run the apps.
2009-06-04 14:50:43 -07:00
Raphael
f555bd3bff SDK Updater: Unzip archives.
This adds the following:
- unzip archives
- if dest dir already exists (typicaly update case),
  unzips in a temp dir then swap dirs then delete
  the old install. In case of error, the old archive
  has not been lost.
- computes stats for download: percentage, speed, time left.
- compute percent for install, on top of progress bar.

The install code will need to move somewhere
out of the window. I think I'll put in the Archive
itself with the window just looping on all archives
and doing some progress bar bookeeping.
2009-06-03 23:08:05 -07:00
Android (Google) Code Review
db014ae68e am ab16d9f7: Merge change 3016 into donut
Merge commit 'ab16d9f7d51be7264f9066bf01846e0c98dfb5df'

* commit 'ab16d9f7d51be7264f9066bf01846e0c98dfb5df':
  SDK Updater: Refactor, polish and complete the progress dialog.
2009-06-03 13:00:18 -07:00
Android (Google) Code Review
69ed6eb6eb am afa99510: Merge change 3009 into donut
Merge commit 'afa9951064cfab5074a29c814dd1811ec7364e73'

* commit 'afa9951064cfab5074a29c814dd1811ec7364e73':
  SDK Updater: fix download URL, fix checksum computation.
2009-06-03 13:00:15 -07:00
Raphael
5ae0e07701 SDK Updater: Refactor, polish and complete the progress dialog.
This splits the former ProgressTask in 2 parts:
ProgressDialog is just the SWT dialog and ProgressTask
is the task handling.

This helps avoiding confusing SWT Designer each time
I do a change in the logic. Plus it seems cleaner anyway.

The other thing this CL does is implement the pause/close
I originally wanted: the pause button is greyed once used
by the user whilst the task completes. After, it becomes
a "Close" button if there's a result text displayed.
Closing the window using the close box is now the same as
using the pause/close button (to avoid closing the dialog
with a running thread.)
2009-06-03 00:19:09 -07:00
Raphael
b997c230db SDK Updater: fix download URL, fix checksum computation. 2009-06-02 22:12:01 -07:00
Raphael
1031a79ea3 am df399393: Fix build: Add SWT dependency to SdkManager.
Merge commit 'df399393bac20c4d5fcc4c030ff5b76bde50c0be'

* commit 'df399393bac20c4d5fcc4c030ff5b76bde50c0be':
  Fix build: Add SWT dependency to SdkManager.
2009-06-02 14:12:08 -07:00
Raphael
df399393ba Fix build: Add SWT dependency to SdkManager. 2009-06-02 14:08:46 -07:00
Android (Google) Code Review
e86b8f9690 am 6eaf0e1a: Merge change 2868 into donut
Merge commit '6eaf0e1afe39436f0335584dbb7f43501fedeb81'

* commit '6eaf0e1afe39436f0335584dbb7f43501fedeb81':
  SDK Updater: Placeholder pages for about and settings.
2009-06-02 12:27:31 -07:00
Android (Google) Code Review
6eaf0e1afe Merge change 2868 into donut
* changes:
  SDK Updater: Placeholder pages for about and settings.
2009-06-02 12:25:47 -07:00
Xavier Ducrohet
9e24d24b06 AI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb to use.
BUG=1890147

Automated import of CL 149491
2009-06-02 12:06:12 -07:00
Android (Google) Code Review
a6cf186619 am 3c502eb0: Merge changes 2853,2885 into donut
Merge commit '3c502eb060b578c73df13e63aa748ef00bfe3f76'

* commit '3c502eb060b578c73df13e63aa748ef00bfe3f76':
  Misc updates on the Sdklib.
  Export all ADT packages.
2009-06-02 11:58:44 -07:00
Android (Google) Code Review
3c502eb060 Merge changes 2853,2885 into donut
* changes:
  Misc updates on the Sdklib.
  Export all ADT packages.
2009-06-02 11:56:59 -07:00
Raphael
36e11cb354 SDK Updater: Placeholder pages for about and settings.
These pages are now in the SdkManager project
with a mechanism to instantiate them from the UI on demand.
2009-06-02 11:40:29 -07:00
Android (Google) Code Review
b07ab9bf6f am 55b47f8d: Merge change 2863 into donut
Merge commit '55b47f8d7523ec0686dabb466cbe0620f5946cfa'

* commit '55b47f8d7523ec0686dabb466cbe0620f5946cfa':
  SDK Updater: Minor change to make composite constructor compliant with
2009-06-02 00:36:17 -07:00
Xavier Ducrohet
b10ffbaf3d Misc updates on the Sdklib.
- moved some code around
- made the constant in IAndroidTarget actual constant (they were not final)
2009-06-01 17:16:07 -07:00
Raphael
861624885d SDK Updater: Minor change to make composite constructor compliant with
SWT designer.

All custom params should be last. SWT Designer expects the first
arg to be the parent composite.
2009-06-01 15:21:22 -07:00
Xavier Ducrohet
8a0c221a20 Export all ADT packages. 2009-06-01 14:38:29 -07:00
Android (Google) Code Review
86efa4e531 am 595a0167: Merge change 2771 into donut
Merge commit '595a016713267168b8b01833fb51283f1c2b40fb'

* commit '595a016713267168b8b01833fb51283f1c2b40fb':
  SDK Updater: parse local packages, download and install remote packages.
2009-06-01 12:06:31 -07:00
Android (Google) Code Review
595a016713 Merge change 2771 into donut
* changes:
  SDK Updater: parse local packages, download and install remote packages.
2009-06-01 12:04:59 -07:00
Raphael
2382dd7514 SDK Updater: parse local packages, download and install remote packages.
The install phase is still work in progress.
The local part needs to display descriptions.
Buttons callback are generally not implemented yet.
2009-06-01 11:38:51 -07:00
Android (Google) Code Review
a2a6a5064c am 5868443a: Merge change 2770 into donut
Merge commit '5868443aa40d2bee9f953eccaca70cadb0efe675'

* commit '5868443aa40d2bee9f953eccaca70cadb0efe675':
  SDK Updater stuff.
2009-06-01 11:19:29 -07:00
Android (Google) Code Review
5868443aa4 Merge change 2770 into donut
* changes:
  SDK Updater stuff.
2009-06-01 11:17:19 -07:00
Raphael Moll
6f56ebc737 AI 149397: ADT 1807821 and 1841824: Fixes in android tool
- Bug 1807821: create avd -f option does nothing.
  - Bug 1841824: NPE during AVD delete or update.
  BUG=1841824,1807821

Automated import of CL 149397
2009-05-29 16:39:42 -07:00
Android (Google) Code Review
e5ee8856eb am a23df99e: Merge change 2749 into donut
Merge commit 'a23df99ecf5080e4b9f819f76d7d135915b37a4a'

* commit 'a23df99ecf5080e4b9f819f76d7d135915b37a4a':
  Make CompiledResourcesMonitor#getRClassName more error proof.
2009-05-29 15:38:44 -07:00
Android (Google) Code Review
a23df99ecf Merge change 2749 into donut
* changes:
  Make CompiledResourcesMonitor#getRClassName more error proof.
2009-05-29 15:36:42 -07:00
Xavier Ducrohet
3106768f31 Make CompiledResourcesMonitor#getRClassName more error proof. 2009-05-29 15:18:24 -07:00
Jack Palevich
055fcd23fb Use bash instead of sh because of the '[[' command
The '[[' command is not guaranteed to be present in /bin/sh, and in fact
is missing in stock Ubuntu 8.04
2009-05-28 15:10:26 -07:00
Jack Palevich
dd3cf52f6f Improve Linux 32-bit JVM detection logic.
Now we detect if the JVM we are about to run is 32-bit or not,
rather than checking if the CPU is capable of executing 64-bit
code or not.
2009-05-28 15:09:59 -07:00
Jack Palevich
c73dabc0d7 Use bash instead of sh because of the '[[' command
The '[[' command is not guaranteed to be present in /bin/sh, and in fact
is missing in stock Ubuntu 8.04
2009-05-28 14:53:02 -07:00
Jack Palevich
5715029663 Improve Linux 32-bit JVM detection logic.
Now we detect if the JVM we are about to run is 32-bit or not,
rather than checking if the CPU is capable of executing 64-bit
code or not.
2009-05-27 18:06:52 -07:00