OSDN Git Service
Raphael [Sun, 14 Jun 2009 05:42:31 +0000 (22:42 -0700)]
SDK Updater: update all existing local archives, license click through.
Android (Google) Code Review [Mon, 15 Jun 2009 18:16:32 +0000 (11:16 -0700)]
Merge change 4116 into donut
* changes:
- Moved the build variants descriptions into build_system - Added Makefile stub into sensors.jd as a starting point - Small cleanup to build_new_device to reference the PRODUCT_* parameters - Fixed URL in the README for app engine testing
Android (Google) Code Review [Mon, 15 Jun 2009 17:53:39 +0000 (10:53 -0700)]
Merge change 4187 into donut
* changes:
Add runtest test definition for framework-permission
Brett Chabot [Mon, 15 Jun 2009 17:46:49 +0000 (10:46 -0700)]
Add runtest test definition for framework-permission
Reena Lee [Sat, 13 Jun 2009 22:08:56 +0000 (15:08 -0700)]
- Moved the build variants descriptions into build_system
- Added Makefile stub into sensors.jd as a starting point
- Small cleanup to build_new_device to reference the PRODUCT_* parameters
- Fixed URL in the README for app engine testing
Conflicts:
pdk/README
pdk/docs/guide/build_new_device.jd
pdk/docs/guide/build_system.jd
pdk/docs/guide/sensors.jd
Xavier Ducrohet [Sat, 13 Jun 2009 01:12:20 +0000 (18:12 -0700)]
Fix the reload of pages after installation of packages.
Android (Google) Code Review [Fri, 12 Jun 2009 22:44:23 +0000 (15:44 -0700)]
Merge change 3933 into donut
* changes:
- Moved the build variants descriptions into build_system - Added Makefile stub into sensors.jd as a starting point - Small cleanup to build_new_device to reference the PRODUCT_* parameters - Fixed URL in the README for app engine testing
Android (Google) Code Review [Fri, 12 Jun 2009 20:19:35 +0000 (13:19 -0700)]
Merge change 4031 into donut
* changes:
SDK Updater: provide a "force http" setting.
Android (Google) Code Review [Fri, 12 Jun 2009 20:19:07 +0000 (13:19 -0700)]
Merge change 4015 into donut
* changes:
SDK Updater: SettingsController that handles the settings.
Suchi Amalapurapu [Thu, 11 Jun 2009 23:05:10 +0000 (16:05 -0700)]
Define a new activity that lists permissions and apps using that permission with some additional details as well
First pass.
Raphael [Fri, 12 Jun 2009 04:45:07 +0000 (21:45 -0700)]
SDK Updater: provide a "force http" setting.
Note that the setting operates on every source by converting
the https:// links into http:// before fetching the sources
or the archives.
This also reorganize some things: the RepoSourceAdapter now
takes the UpdaterData as parameter (so both Adapters work the
same) and the label/contentProviders are nested classes instead
of static classes. Cleanup some stuff that was no longer useful
such as the RepoSources.TaskFactory (it's in UpdaterData already).
With this change I can install from the dl site over http at home!
Raphael [Fri, 12 Jun 2009 01:10:08 +0000 (18:10 -0700)]
SDK Updater: SettingsController that handles the settings.
There is not any longer any logic in the SettingsPage,
it is handled now by a "SettingsControllers" which is
available via UpdaterData. The page only takes care of
notifying the controller via a callback when settings
have changed in the UI.
Raphael [Thu, 11 Jun 2009 22:55:42 +0000 (15:55 -0700)]
SDK Updater: remove UpdaterData() constructor.
We don't really need for SWT Designer.
Also fix the main window icon to show it again.
Raphael [Thu, 11 Jun 2009 22:34:24 +0000 (15:34 -0700)]
SDK Updater: icons for packages in remote page.
One of the rationales behind this was to show
incompatible archives using some icon.
This moves all SDK Updater icons in internal/repository/icons
and create an ImageFactory available to the remote page via
the UpdaterData.
Xavier Ducrohet [Wed, 10 Jun 2009 18:22:46 +0000 (11:22 -0700)]
Centralized the local data, and create new listener mechanism to access it.
Created a permanent SdkManager in UpdaterData (alongside a new AvdManager).
Pages can request a reload (for example on install/delete of a local package),
and other pages are notified of SDK changes to update their display (local
packages, local AVDs, available packages, etc...)
Removed references to UpdaterWindow from the pages (moved some actions
like installArchives and refreshSources into UpdaterData).
Added a new page for the AVDs. Pretty basic for now (only the current AVD
display).
Clicking refresh on the Local pages causes a reload which triggers a
refresh of the listeners pages which properly reloads the AVD page.
Reena Lee [Thu, 11 Jun 2009 20:26:29 +0000 (13:26 -0700)]
- Moved the build variants descriptions into build_system
- Added Makefile stub into sensors.jd as a starting point
- Small cleanup to build_new_device to reference the PRODUCT_* parameters
- Fixed URL in the README for app engine testing
Android (Google) Code Review [Thu, 11 Jun 2009 18:56:08 +0000 (11:56 -0700)]
Merge change 3869 into donut
* changes:
SDK Updater: implement tree check callback on remote page.
Android (Google) Code Review [Thu, 11 Jun 2009 18:55:36 +0000 (11:55 -0700)]
Merge change 3868 into donut
* changes:
ADT #
1909458: fix 'android update project': "build.xml is too old"
Android (Google) Code Review [Thu, 11 Jun 2009 17:24:54 +0000 (10:24 -0700)]
Merge change 3856 into donut
* changes:
SDK Updater: fix install in new directory.
Raphael [Thu, 11 Jun 2009 06:08:53 +0000 (23:08 -0700)]
SDK Updater: implement tree check callback on remote page.
Raphael [Thu, 11 Jun 2009 04:33:38 +0000 (21:33 -0700)]
ADT #
1909458: fix 'android update project': "build.xml is too old"
Android (Google) Code Review [Thu, 11 Jun 2009 02:49:47 +0000 (19:49 -0700)]
Merge change 3848 into donut
* changes:
SDK Updater: Revamp ITaskMonitor to be able to create sub monitors.
Raphael [Thu, 11 Jun 2009 02:35:50 +0000 (19:35 -0700)]
SDK Updater: fix install in new directory.
Also change the getenv hack so that multiple sources
can be specified, separated by ;
Raphael [Thu, 11 Jun 2009 01:33:45 +0000 (18:33 -0700)]
SDK Updater: Revamp ITaskMonitor to be able to create sub monitors.
This allows us to nest tasks that share the same
progress task dialog..
Android (Google) Code Review [Thu, 11 Jun 2009 00:28:21 +0000 (17:28 -0700)]
Merge change 3807 into donut
* changes:
Remove an old backup file.
Android (Google) Code Review [Thu, 11 Jun 2009 00:11:57 +0000 (17:11 -0700)]
Merge change 3770 into donut
* changes:
Add SdkManager#reloadSdk().
Dan Bornstein [Wed, 10 Jun 2009 23:08:38 +0000 (16:08 -0700)]
Remove an old backup file.
Android (Google) Code Review [Wed, 10 Jun 2009 22:30:15 +0000 (15:30 -0700)]
Merge change 3743 into donut
* changes:
ADT #
1856119: 'android update project' can now update sub-projects.
Xavier Ducrohet [Wed, 10 Jun 2009 21:48:08 +0000 (14:48 -0700)]
Add SdkManager#reloadSdk().
Android (Google) Code Review [Wed, 10 Jun 2009 20:57:03 +0000 (13:57 -0700)]
Merge change 3763 into donut
* changes:
SDK Updater: Fix the build.
Raphael [Wed, 10 Jun 2009 20:43:44 +0000 (13:43 -0700)]
SDK Updater: Fix the build.
Seems like the server doesn't have Properties.load(Reader)!??!
Android (Google) Code Review [Wed, 10 Jun 2009 19:35:44 +0000 (12:35 -0700)]
Merge change 3691 into donut
* changes:
SDK Updater: handle HTTP proxy settings, load & save.
Eric Fischer [Wed, 10 Jun 2009 19:29:56 +0000 (12:29 -0700)]
am
4b04cfae: AI 149721: Import Portuguese translations.
Merge commit '
4b04cfae5b35b820e460e9533dfbd8b080484103' into donut
* commit '
4b04cfae5b35b820e460e9533dfbd8b080484103':
AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:25:53 +0000 (12:25 -0700)]
AI 149721: Import Portuguese translations.
Automated import of CL 149721
Android (Google) Code Review [Wed, 10 Jun 2009 19:02:40 +0000 (12:02 -0700)]
Merge change 3748 into donut
* changes:
Fix enter key and control keys in Terminal emulator.
Android (Google) Code Review [Wed, 10 Jun 2009 19:01:28 +0000 (12:01 -0700)]
Merge change 3747 into donut
* changes:
Add the Term terminal emulator to the default Eclipse project classpath.
Jack Palevich [Wed, 10 Jun 2009 18:54:02 +0000 (11:54 -0700)]
Fix enter key and control keys in Terminal emulator.
Previously the enter key only worked after the trackball had been
clicked at least once. Fixed by calling setFocibleInTouchMode.
Fix bug where control keys didn't work with the soft keyboard.
Fix some warnings reported by Eclipse IDE. (Missing @Overrides, needless
imports, unused variables.)
Raphael [Wed, 10 Jun 2009 04:40:22 +0000 (21:40 -0700)]
SDK Updater: handle HTTP proxy settings, load & save.
Raphael [Wed, 10 Jun 2009 18:34:08 +0000 (11:34 -0700)]
ADT #
1856119: 'android update project' can now update sub-projects.
Brett Chabot [Wed, 10 Jun 2009 02:41:27 +0000 (19:41 -0700)]
Change cts-permission runtest def to use proper runner.
Jack Palevich [Wed, 10 Jun 2009 17:37:28 +0000 (10:37 -0700)]
Add the Term terminal emulator to the default Eclipse project classpath.
Android (Google) Code Review [Wed, 10 Jun 2009 17:33:09 +0000 (10:33 -0700)]
Merge change 3642 into donut
* changes:
Use the same lock for Sdk class than the one used for loading the SDK.
Android (Google) Code Review [Wed, 10 Jun 2009 14:36:16 +0000 (07:36 -0700)]
Merge change 3557 into donut
* changes:
SDK Updater: Support local archives
Karl Rosaen [Wed, 10 Jun 2009 10:46:55 +0000 (11:46 +0100)]
Add GlobalSearch to test definitions.
Raphael [Tue, 9 Jun 2009 06:40:29 +0000 (23:40 -0700)]
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.
Reena Lee [Tue, 9 Jun 2009 23:04:20 +0000 (16:04 -0700)]
Removed SDK add-on product specification parameters (likely will add a separate SDK add-on section in the future).
Removed reference to stack tool in debugging section, which is an internal-only tool.
Xavier Ducrohet [Tue, 9 Jun 2009 22:38:45 +0000 (15:38 -0700)]
Use the same lock for Sdk class than the one used for loading the SDK.
This will prevent deadlocks when launching Eclipse.
Android (Google) Code Review [Tue, 9 Jun 2009 22:13:44 +0000 (15:13 -0700)]
Merge change 3622 into donut
* changes:
Move the custom widgets for avd/targets/apk-config into internal.widgets
Android (Google) Code Review [Tue, 9 Jun 2009 22:13:40 +0000 (15:13 -0700)]
Merge change 3597 into donut
* changes:
Add missing file and remove unused imports
Android (Google) Code Review [Tue, 9 Jun 2009 21:56:05 +0000 (14:56 -0700)]
Merge change 3626 into donut
* changes:
Added the test definiton for the cameraLatnecy and the mediamemorystress test
Yu Shan Emily Lau [Tue, 9 Jun 2009 21:31:39 +0000 (14:31 -0700)]
Added the test definiton for the cameraLatnecy and the mediamemorystress test
Android (Google) Code Review [Tue, 9 Jun 2009 21:22:49 +0000 (14:22 -0700)]
Merge change 3546 into donut
* changes:
SDK Updater: fix repo URL
Android (Google) Code Review [Tue, 9 Jun 2009 21:22:40 +0000 (14:22 -0700)]
Merge change 3545 into donut
* changes:
SDK Updater: fix for new archives.
Xavier Ducrohet [Tue, 9 Jun 2009 20:49:51 +0000 (13:49 -0700)]
Move the custom widgets for avd/targets/apk-config into internal.widgets
Xavier Ducrohet [Tue, 9 Jun 2009 18:56:46 +0000 (11:56 -0700)]
Add missing file and remove unused imports
(git commit -a missed it)
Android (Google) Code Review [Tue, 9 Jun 2009 18:30:46 +0000 (11:30 -0700)]
Merge change 3532 into donut
* changes:
Add menu + bigger icons for MacOS. Also added name to shell (macos also)
Android (Google) Code Review [Tue, 9 Jun 2009 16:23:51 +0000 (09:23 -0700)]
Merge change 3351 into donut
* changes:
Add new text display attribute for gles version number
Raphael [Tue, 9 Jun 2009 04:52:05 +0000 (21:52 -0700)]
SDK Updater: fix repo URL
Raphael [Tue, 9 Jun 2009 04:47:04 +0000 (21:47 -0700)]
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.)
Xavier Ducrohet [Tue, 9 Jun 2009 01:27:03 +0000 (18:27 -0700)]
Add menu + bigger icons for MacOS. Also added name to shell (macos also)
Android (Google) Code Review [Mon, 8 Jun 2009 20:27:35 +0000 (13:27 -0700)]
Merge change 3345 into donut
* changes:
SDK Updater: Add optional license elements to XML schema.
Android (Google) Code Review [Mon, 8 Jun 2009 20:24:37 +0000 (13:24 -0700)]
Merge change 3407 into donut
* changes:
SDK updater: refactor install into Archive.
Xavier Ducrohet [Mon, 8 Jun 2009 18:16:44 +0000 (11:16 -0700)]
am
c3c97d1d: AI 149620: mkstubs should ignore all the methods/fields/classes with default access. External bug: 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.
Android (Google) Code Review [Mon, 8 Jun 2009 17:49:11 +0000 (10:49 -0700)]
Merge change 3359 into donut
* changes:
* Added in-page TOC to all pages. * Removed "Introduction" title from all pages.
Suchi Amalapurapu [Fri, 5 Jun 2009 21:33:17 +0000 (14:33 -0700)]
Add new text display attribute for gles version number
Raphael [Thu, 4 Jun 2009 22:14:24 +0000 (15:14 -0700)]
SDK updater: refactor install into Archive.
Xavier Ducrohet [Sat, 6 Jun 2009 00:06:37 +0000 (17:06 -0700)]
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
Android (Google) Code Review [Sat, 6 Jun 2009 00:02:04 +0000 (17:02 -0700)]
Merge change 3342 into donut
* changes:
Add revision to Android targets.
Xavier Ducrohet [Fri, 5 Jun 2009 20:01:03 +0000 (13:01 -0700)]
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.
David Warren [Fri, 5 Jun 2009 22:11:21 +0000 (15:11 -0700)]
* Added in-page TOC to all pages.
* Removed "Introduction" title from all pages.
Raphael [Fri, 5 Jun 2009 20:53:08 +0000 (13:53 -0700)]
SDK Updater: Add optional license elements to XML schema.
Android (Google) Code Review [Fri, 5 Jun 2009 19:15:18 +0000 (12:15 -0700)]
Merge change 3316 into donut
* changes:
Fix make_windows_sdk to make sure we're not creating files as directories :-)
Raphael [Fri, 5 Jun 2009 18:20:23 +0000 (11:20 -0700)]
Fix make_windows_sdk to make sure we're not creating
files as directories :-)
Android (Google) Code Review [Fri, 5 Jun 2009 18:13:13 +0000 (11:13 -0700)]
Merge change 3241 into donut
* changes:
New page, release_keys.jd, requested by bug
1884389. Small fix (broken link) to display_drivers.jd. Audio.jd has new right-side in-page TOC. telephony.jd fixes a bug.
Raphael [Fri, 5 Jun 2009 05:17:37 +0000 (22:17 -0700)]
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.
Android (Google) Code Review [Fri, 5 Jun 2009 01:54:50 +0000 (18:54 -0700)]
Merge change 3202 into donut
* changes:
Make runtest wait for instrumentation install before running test.
Brett Chabot [Thu, 4 Jun 2009 20:50:55 +0000 (13:50 -0700)]
Make runtest wait for instrumentation install before running test.
This attempts to address bug
1872940 where runtest will attempt to
run the test before all the new packages pushed via adb sync are
actually installed. This won't completely fix the bug in all cases,
but hopefully will help most situations.
Android (Google) Code Review [Fri, 5 Jun 2009 00:48:15 +0000 (17:48 -0700)]
Merge change 3228 into donut
* changes:
ADT: make sure to log exceptions that might happen when loading the SDK.
Raphael [Thu, 4 Jun 2009 23:58:55 +0000 (16:58 -0700)]
Change scripts to support x86_64 for DDMS.
Raphael [Thu, 4 Jun 2009 22:13:28 +0000 (15:13 -0700)]
ADT: make sure to log exceptions that might happen when
loading the SDK.
Android (Google) Code Review [Thu, 4 Jun 2009 22:00:45 +0000 (15:00 -0700)]
Merge change 3195 into donut
* changes:
Change the SDK, DDMS and Traceview to work with the new SWT libraries.
David Warren [Thu, 4 Jun 2009 21:59:40 +0000 (14:59 -0700)]
New page, release_keys.jd, requested by bug
1884389.
Small fix (broken link) to display_drivers.jd.
Audio.jd has new right-side in-page TOC.
telephony.jd fixes a bug.
Xavier Ducrohet [Wed, 3 Jun 2009 23:07:36 +0000 (16:07 -0700)]
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.
Android (Google) Code Review [Thu, 4 Jun 2009 20:16:08 +0000 (13:16 -0700)]
Merge change 3141 into donut
* changes:
SDK Updater: Unzip archives.
Nicolas Catania [Thu, 4 Jun 2009 16:42:03 +0000 (09:42 -0700)]
Fixed valgrind handling issue.
Turns out valgrind always exits with error code 0 even when a leak is
detected. Instead we are now looking for an empty output.
Raphael [Thu, 4 Jun 2009 05:42:44 +0000 (22:42 -0700)]
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.
Android (Google) Code Review [Wed, 3 Jun 2009 18:01:14 +0000 (11:01 -0700)]
Merge change 3016 into donut
* changes:
SDK Updater: Refactor, polish and complete the progress dialog.
Android (Google) Code Review [Wed, 3 Jun 2009 18:01:07 +0000 (11:01 -0700)]
Merge change 3009 into donut
* changes:
SDK Updater: fix download URL, fix checksum computation.
Android (Google) Code Review [Wed, 3 Jun 2009 17:49:54 +0000 (10:49 -0700)]
Merge change 2428 into donut
* changes:
Fix misleading comment.
Raphael [Wed, 3 Jun 2009 07:19:09 +0000 (00:19 -0700)]
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.)
Raphael [Wed, 3 Jun 2009 05:12:01 +0000 (22:12 -0700)]
SDK Updater: fix download URL, fix checksum computation.
Android (Google) Code Review [Tue, 2 Jun 2009 23:53:22 +0000 (16:53 -0700)]
Merge change 2768 into donut
* changes:
Add an API demo that shows the effets of setting Bitmaps as being purgeable.
Reena Lee [Tue, 2 Jun 2009 23:42:47 +0000 (16:42 -0700)]
am
c91e5f15: AI 149502: - Adding sensors to PDK TOC - Added initial table of Product Definition file parameters - Added initial table of Android.mk LOCAL_* parameters
Merge commit '
c91e5f15bab34364e67b578bfa49ea5a46d1e604' into donut
* commit '
c91e5f15bab34364e67b578bfa49ea5a46d1e604':
AI 149502: - Adding sensors to PDK TOC
The Android Open Source Project [Tue, 2 Jun 2009 23:37:56 +0000 (16:37 -0700)]
The Android Open Source Project [Tue, 2 Jun 2009 23:37:48 +0000 (16:37 -0700)]
Reena Lee [Tue, 2 Jun 2009 22:00:28 +0000 (15:00 -0700)]
AI 149502: - Adding sensors to PDK TOC
- Added initial table of Product Definition file parameters
- Added initial table of Android.mk LOCAL_* parameters
Automated import of CL 149502
Raphael [Tue, 2 Jun 2009 21:08:46 +0000 (14:08 -0700)]
Fix build: Add SWT dependency to SdkManager.
David Turner [Tue, 2 Jun 2009 19:30:46 +0000 (12:30 -0700)]
AI 149496: Backport emulator-related donut fixes into cupcake.
This includes the following fixes:
- remove potential qemud crash at system boot
- fix GPS fix emulation
- fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems)
- add -prop <name>=<value> option to add system properties on boot
- allow F5 keybinding for SEARCH on keyboard-less hardware configurations
- allow skins to provide a "search" button
- fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation
Automated import of CL 149496
Android (Google) Code Review [Tue, 2 Jun 2009 19:25:47 +0000 (12:25 -0700)]
Merge change 2868 into donut
* changes:
SDK Updater: Placeholder pages for about and settings.
Xavier Ducrohet [Tue, 2 Jun 2009 19:06:12 +0000 (12:06 -0700)]
AI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb to use.
BUG=
1890147
Automated import of CL 149491