Commit Graph

677 Commits

Author SHA1 Message Date
Xavier Ducrohet
63c20f1cd7 Fix the reload of pages after installation of packages. 2009-06-12 18:13:27 -07:00
Android (Google) Code Review
07c07c2e68 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
2009-06-12 15:44:23 -07:00
Android (Google) Code Review
f943334af5 Merge change 4031 into donut
* changes:
  SDK Updater: provide a "force http" setting.
2009-06-12 13:19:35 -07:00
Android (Google) Code Review
670f15642c Merge change 4015 into donut
* changes:
  SDK Updater: SettingsController that handles the settings.
2009-06-12 13:19:07 -07:00
Suchi Amalapurapu
25be4bad76 Define a new activity that lists permissions and apps using that permission with some additional details as well
First pass.
2009-06-12 11:03:00 -07:00
Raphael
18a6ab32be 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!
2009-06-11 21:45:07 -07:00
Raphael
f3eed7385c 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.
2009-06-11 18:14:11 -07:00
Raphael
38ea6d2afe SDK Updater: remove UpdaterData() constructor.
We don't really need for SWT Designer.
Also fix the main window icon to show it again.
2009-06-11 15:55:42 -07:00
Raphael
0266592783 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.
2009-06-11 15:40:39 -07:00
Xavier Ducrohet
201f83164f 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.
2009-06-11 14:51:26 -07:00
Reena Lee
d39413e917 - 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
2009-06-11 13:26:29 -07:00
Android (Google) Code Review
e1c1ac8b0e Merge change 3869 into donut
* changes:
  SDK Updater: implement tree check callback on remote page.
2009-06-11 11:56:08 -07:00
Android (Google) Code Review
c390708d03 Merge change 3868 into donut
* changes:
  ADT #1909458: fix 'android update project': "build.xml is too old"
2009-06-11 11:55:36 -07:00
Android (Google) Code Review
134c84ab62 Merge change 3856 into donut
* changes:
  SDK Updater: fix install in new directory.
2009-06-11 10:24:54 -07:00
Raphael
616643f673 SDK Updater: implement tree check callback on remote page. 2009-06-10 23:08:53 -07:00
Raphael
bd13b6ce02 ADT #1909458: fix 'android update project': "build.xml is too old" 2009-06-10 21:33:38 -07:00
Android (Google) Code Review
3aa7f5d637 Merge change 3848 into donut
* changes:
  SDK Updater: Revamp ITaskMonitor to be able to create sub monitors.
2009-06-10 19:49:47 -07:00
Raphael
9888f2038e SDK Updater: fix install in new directory.
Also change the getenv hack so that multiple sources
can be specified, separated by ;
2009-06-10 19:35:50 -07:00
Raphael
b399193542 SDK Updater: Revamp ITaskMonitor to be able to create sub monitors.
This allows us to nest tasks that share the same
progress task dialog..
2009-06-10 18:33:45 -07:00
Android (Google) Code Review
91fe001269 Merge change 3807 into donut
* changes:
  Remove an old backup file.
2009-06-10 17:28:21 -07:00
Android (Google) Code Review
04d87fc25f Merge change 3770 into donut
* changes:
  Add SdkManager#reloadSdk().
2009-06-10 17:11:57 -07:00
Dan Bornstein
8fe57fa186 Remove an old backup file. 2009-06-10 16:08:38 -07:00
Android (Google) Code Review
64638a165f Merge change 3743 into donut
* changes:
  ADT #1856119: 'android update project' can now update sub-projects.
2009-06-10 15:30:15 -07:00
Xavier Ducrohet
086594ceab Add SdkManager#reloadSdk(). 2009-06-10 14:49:02 -07:00
Android (Google) Code Review
37c885e48e Merge change 3763 into donut
* changes:
  SDK Updater: Fix the build.
2009-06-10 13:57:03 -07:00
Raphael
5eebba469b SDK Updater: Fix the build.
Seems like the server doesn't have Properties.load(Reader)!??!
2009-06-10 13:51:45 -07:00
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
Eric Fischer
ecf7c59cf5 am 4b04cfae: AI 149721: Import Portuguese translations.
Merge commit '4b04cfae5b35b820e460e9533dfbd8b080484103' into donut

* commit '4b04cfae5b35b820e460e9533dfbd8b080484103':
  AI 149721: Import Portuguese translations.
2009-06-10 12:29:56 -07:00
Eric Fischer
4b04cfae5b AI 149721: Import Portuguese translations.
Automated import of CL 149721
2009-06-10 12:25:53 -07:00
Android (Google) Code Review
3945e1ae87 Merge change 3748 into donut
* changes:
  Fix enter key and control keys in Terminal emulator.
2009-06-10 12:02:40 -07:00
Android (Google) Code Review
7978517bdd Merge change 3747 into donut
* changes:
  Add the Term terminal emulator to the default Eclipse project classpath.
2009-06-10 12:01:28 -07:00
Jack Palevich
aa7160b29a 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.)
2009-06-10 11:54:02 -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
Brett Chabot
d6af1fbbfa Change cts-permission runtest def to use proper runner. 2009-06-10 11:19:58 -07:00
Jack Palevich
4a653edc67 Add the Term terminal emulator to the default Eclipse project classpath. 2009-06-10 10:37:28 -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
891968b78e Merge change 3557 into donut
* changes:
  SDK Updater: Support local archives
2009-06-10 07:36:16 -07:00
Karl Rosaen
95315b87df Add GlobalSearch to test definitions. 2009-06-10 11:55:25 +01: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
Reena Lee
8d8d324966 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.
2009-06-09 16:04:20 -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
07290d5d92 Merge change 3626 into donut
* changes:
  Added the test definiton for the cameraLatnecy and the mediamemorystress test
2009-06-09 14:56:05 -07:00
Yu Shan Emily Lau
4c48ea2c84 Added the test definiton for the cameraLatnecy and the mediamemorystress test 2009-06-09 14:33:20 -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
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