Commit Graph

552 Commits

Author SHA1 Message Date
Android (Google) Code Review
c52422ac39 Merge change 3691 into donut
* changes:
  SDK Updater: handle HTTP proxy settings, load & save.
2009-06-10 12:35:44 -07:00
Raphael
8e8886e363 SDK Updater: handle HTTP proxy settings, load & save. 2009-06-10 11:39:25 -07:00
Raphael
61df13dec4 ADT #1856119: 'android update project' can now update sub-projects. 2009-06-10 11:34:08 -07:00
Android (Google) Code Review
88766276db am 792de31d: Merge change 3642 into donut
Merge commit '792de31db045e053b154f0e6068f692637f75612'

* commit '792de31db045e053b154f0e6068f692637f75612':
  Use the same lock for Sdk class than the one used for loading the SDK.
2009-06-10 10:34:40 -07:00
Android (Google) Code Review
792de31db0 Merge change 3642 into donut
* changes:
  Use the same lock for Sdk class than the one used for loading the SDK.
2009-06-10 10:33:09 -07:00
Android (Google) Code Review
a63230dc63 am 891968b7: Merge change 3557 into donut
Merge commit '891968b78e9604e0c6f06c3b142bb7274c24bc5b'

* commit '891968b78e9604e0c6f06c3b142bb7274c24bc5b':
  SDK Updater: Support local archives
2009-06-10 07:46:16 -07:00
Raphael
9be7c5b712 SDK Updater: Support local archives
- Change Archive to have a "isLocal" mode.
  - In local mode, Archive.getLocalOsPath gives the install folder.
  - In remote mode, Archive.getUrl gives the download URL.
- Implement delete on local archive.
- Started refreshing all sources. Need to revamp the progress
  dialog to share it accross methods first.
2009-06-09 22:09:34 -07:00
Android (Google) Code Review
0f825c56f5 am 1d7be865: Merge change 3622 into donut
Merge commit '1d7be8653c61636f56d707f11409fc84ba85d37c'

* commit '1d7be8653c61636f56d707f11409fc84ba85d37c':
  Move the custom widgets for avd/targets/apk-config into internal.widgets
2009-06-09 15:39:34 -07:00
Android (Google) Code Review
d7335dd86a am b72302d1: Merge change 3597 into donut
Merge commit 'b72302d19bb451c1a289ef971a232c4b8b065503'

* commit 'b72302d19bb451c1a289ef971a232c4b8b065503':
  Add missing file and remove unused imports
2009-06-09 15:39:29 -07:00
Android (Google) Code Review
3cd7bbd0a1 am 12dcaef6: Merge change 3546 into donut
Merge commit '12dcaef692b71987199c5c7e153c8b94698a757c'

* commit '12dcaef692b71987199c5c7e153c8b94698a757c':
  SDK Updater: fix repo URL
2009-06-09 15:39:17 -07:00
Android (Google) Code Review
9930525f0a am bc61b566: Merge change 3545 into donut
Merge commit 'bc61b566c86b722089703b88eb887d0e4c6acce8'

* commit 'bc61b566c86b722089703b88eb887d0e4c6acce8':
  SDK Updater: fix for new archives.
2009-06-09 15:39:14 -07:00
Xavier Ducrohet
98198685fd Use the same lock for Sdk class than the one used for loading the SDK.
This will prevent deadlocks when launching Eclipse.
2009-06-09 15:38:45 -07:00
Android (Google) Code Review
1d7be8653c Merge change 3622 into donut
* changes:
  Move the custom widgets for avd/targets/apk-config into internal.widgets
2009-06-09 15:13:44 -07:00
Android (Google) Code Review
b72302d19b Merge change 3597 into donut
* changes:
  Add missing file and remove unused imports
2009-06-09 15:13:40 -07:00
Android (Google) Code Review
12dcaef692 Merge change 3546 into donut
* changes:
  SDK Updater: fix repo URL
2009-06-09 14:22:49 -07:00
Android (Google) Code Review
bc61b566c8 Merge change 3545 into donut
* changes:
  SDK Updater: fix for new archives.
2009-06-09 14:22:40 -07:00
Android (Google) Code Review
0201f6071d am a752dc5f: Merge change 3532 into donut
Merge commit 'a752dc5f8235e208c28c6d0604d2f10c59ba4573'

* commit 'a752dc5f8235e208c28c6d0604d2f10c59ba4573':
  Add menu + bigger icons for MacOS. Also added name to shell (macos also)
2009-06-09 14:09:00 -07:00
Xavier Ducrohet
0d33d5a5cc Move the custom widgets for avd/targets/apk-config into internal.widgets 2009-06-09 13:49:51 -07:00
Xavier Ducrohet
553f9c00fd Add missing file and remove unused imports
(git commit -a missed it)
2009-06-09 11:56:46 -07:00
Raphael
986d8a082e SDK Updater: fix repo URL 2009-06-08 21:52:05 -07:00
Raphael
fea501be73 SDK Updater: fix for new archives.
Fix for detecting MacOS platforms correctly.

Fix to account for new archives with a root folder
(the root folder is ignored).

Display why archives are not compatible (print
which OS was not compatible.)
2009-06-08 21:47:04 -07:00
Xavier Ducrohet
66c2833c5d Add menu + bigger icons for MacOS. Also added name to shell (macos also) 2009-06-08 18:35:29 -07:00
Raphael
454985b6b0 SDK Updater: Add optional license elements to XML schema. 2009-06-08 15:19:48 -07:00
Android (Google) Code Review
34fb7ecf1b Merge change 3345 into donut
* changes:
  SDK Updater: Add optional license elements to XML schema.
2009-06-08 13:27:35 -07:00
Android (Google) Code Review
b58701939e am defc3d14: Merge change 3407 into donut
Merge commit 'defc3d14e1b43cbab5877f9c9112b170cc61c4a5'

* commit 'defc3d14e1b43cbab5877f9c9112b170cc61c4a5':
  SDK updater: refactor install into Archive.
2009-06-08 13:26:05 -07:00
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