Commit Graph

2272 Commits

Author SHA1 Message Date
Android (Google) Code Review
3f351dd5df Merge change 4555 into donut
* changes:
  Force UTF-8 encoding for SDK files.
2009-06-18 10:42:43 -07:00
Android (Google) Code Review
246ad9119a am bed900d8: Merge change 4516 into donut
Merge commit 'bed900d8daf94d935627992a0c8b19f85832ffc1'

* commit 'bed900d8daf94d935627992a0c8b19f85832ffc1':
  SDK Updater: fix accept callback to update Install Selected button.
2009-06-17 21:49:54 -07:00
Raphael
691beb35a1 SDK Updater: Better guess for the addon folder name.
- Always unzip the archives first and get their root zip dir.
- Try to reusing an existing addon folder first.
- Or the root zip dir.
- Or come up with a better name for the addon folder.
2009-06-17 21:28:51 -07:00
Android (Google) Code Review
9772deff7d am 1ebf4918: Merge change 4510 into donut
Merge commit '1ebf49189c09b8480718d1cee8209103890da2e5'

* commit '1ebf49189c09b8480718d1cee8209103890da2e5':
  SDK Updater: display icons for local packages.
2009-06-17 18:46:14 -07:00
Android (Google) Code Review
0e5a1d377d am 2ea1594b: Merge change 4111 into donut
Merge commit '2ea1594b1a62c61ee28456ed7279348ed399119a'

* commit '2ea1594b1a62c61ee28456ed7279348ed399119a':
  Move package installation logic from ADT to ddmlib.
2009-06-17 18:46:08 -07:00
Raphael
444cab7efb am 340a79b5: SDK Updater: fix repository.xml to read as binary, not text to let the XML decoder handle the charset decoding.
Merge commit '340a79b5904f02bfe8793c22ca82a78d5f1aa544'

* commit '340a79b5904f02bfe8793c22ca82a78d5f1aa544':
  SDK Updater: fix repository.xml to read as binary, not text
2009-06-17 18:46:04 -07:00
Android (Google) Code Review
9db3f9658a am f08e4afd: Merge change 4425 into donut
Merge commit 'f08e4afd45a793dfe74521c84f91c8ced1eb19f9'

* commit 'f08e4afd45a793dfe74521c84f91c8ced1eb19f9':
  First step of a more standalone AvdSelector.
2009-06-17 18:45:50 -07:00
Xavier Ducrohet
fa0286d4d3 Force UTF-8 encoding for SDK files.
- project .properties files
- AVD ini files (<name>.ini and config.ini)
- add-on manifest
2009-06-17 17:51:22 -07:00
Raphael
91ddc77a92 am d05f6ef9: SDK Updater: fix install of new packages from remote page.
Merge commit 'd05f6ef99b98f158636de8916bd51c6a2e564dcb'

* commit 'd05f6ef99b98f158636de8916bd51c6a2e564dcb':
  SDK Updater: fix install of new packages from remote page.
2009-06-17 15:57:07 -07:00
Raphael
fb2a1430c9 SDK Updater: fix accept callback to update Install Selected button. 2009-06-17 15:39:52 -07:00
Android (Google) Code Review
46b4a8b26c am 678a781b: Merge change 4440 into donut
Merge commit '678a781bb59364e462dca650a21a9d4d1ad56736'

* commit '678a781bb59364e462dca650a21a9d4d1ad56736':
  Properly create Image for the icons so that they are transparent.
2009-06-17 15:38:57 -07:00
Raphael
fd8a044c5b am 4d68551e: SDK Updater: remove UpdaterData.Display
Merge commit '4d68551ef3e3e6a5e633b8e387386b43372f9e6a'

* commit '4d68551ef3e3e6a5e633b8e387386b43372f9e6a':
  SDK Updater: remove UpdaterData.Display
2009-06-17 15:38:04 -07:00
Raphael
f1210c1768 am eecf776a: SDK Updater: select specific archives in the remote page also triggers the license/install overview dialog.
Merge commit 'eecf776ac46a1eec86de5f79903bd3e7c464b0fe'

* commit 'eecf776ac46a1eec86de5f79903bd3e7c464b0fe':
  SDK Updater: select specific archives in the remote page
2009-06-17 15:37:59 -07:00
Android (Google) Code Review
1ebf49189c Merge change 4510 into donut
* changes:
  SDK Updater: display icons for local packages.
2009-06-17 15:15:52 -07:00
Android (Google) Code Review
2ea1594b1a Merge change 4111 into donut
* changes:
  Move package installation logic from ADT to ddmlib.
2009-06-17 15:03:50 -07:00
Raphael
97d3769f36 SDK Updater: display icons for local packages. 2009-06-17 14:55:57 -07:00
Raphael
340a79b590 SDK Updater: fix repository.xml to read as binary, not text
to let the XML decoder handle the charset decoding.
2009-06-17 13:35:39 -07:00
Xavier Ducrohet
2f06069269 First step of a more standalone AvdSelector.
- New/Delete/Info/Refresh/Manager buttons.
- Ability to set any kind of AVD filter
- Self-refresh: Selector knows the AvdManager and can refresh itself.
- Manager mode or simple (selection or checkboxes)
- Manager mode displays broken AVDs.

Updated the SdkUpdate AVD page and the various use of the Selector in ADT.
2009-06-17 11:40:19 -07:00
Raphael
d05f6ef99b SDK Updater: fix install of new packages from remote page. 2009-06-17 11:30:38 -07:00
Android (Google) Code Review
678a781bb5 Merge change 4440 into donut
* changes:
  Properly create Image for the icons so that they are transparent.
2009-06-17 10:12:18 -07:00
Raphael
0b182d8105 am 6a20ac09: SDK Updater: automatically accept packages with no license.
Merge commit '6a20ac0953a8a7285cafdd48bbce882e758344dd'

* commit '6a20ac0953a8a7285cafdd48bbce882e758344dd':
  SDK Updater: automatically accept packages with no license.
2009-06-16 21:59:19 -07:00
Raphael
4d68551ef3 SDK Updater: remove UpdaterData.Display 2009-06-16 19:21:53 -07:00
Xavier Ducrohet
1721fae552 Properly create Image for the icons so that they are transparent. 2009-06-16 19:16:00 -07:00
Raphael
eecf776ac4 SDK Updater: select specific archives in the remote page
also triggers the license/install overview dialog.
2009-06-16 16:17:09 -07:00
Raphael
6a20ac0953 SDK Updater: automatically accept packages with no license. 2009-06-16 12:12:08 -07:00
Android (Google) Code Review
49675ca03c am 128308e0: Merge change 4297 into donut
Merge commit '128308e01b186eccc172ce9f287c6b8183c50c12'

* commit '128308e01b186eccc172ce9f287c6b8183c50c12':
  SDK Updater: use tri-state icon for each potential
  SDK Updater: different icon theme for the repository items.
2009-06-16 11:57:28 -07:00
Android (Google) Code Review
128308e01b Merge change 4297 into donut
* changes:
  SDK Updater: different icon theme for the repository items.
2009-06-16 11:54:40 -07:00
Android (Google) Code Review
909439280f am 48bfaca2: Merge change 4261 into donut
Merge commit '48bfaca201d78fc9e111326a772f57eaf9a41a44'

* commit '48bfaca201d78fc9e111326a772f57eaf9a41a44':
  Add missing system properties to sim.
  SDK Updater: addon id is name+vendor, lower case
2009-06-16 08:36:43 -07:00
Raphael
53033b80ba SDK Updater: use tri-state icon for each potential
archive: accepted, refused or unknown.
2009-06-16 00:08:49 -07:00
Raphael
eb74e4a8d5 SDK Updater: different icon theme for the repository items. 2009-06-15 23:27:01 -07:00
Brett Chabot
377c706e0c Move package installation logic from ADT to ddmlib. 2009-06-15 19:25:48 -07:00
Raphael
624222750d SDK Updater: addon id is name+vendor, lower case 2009-06-15 16:35:41 -07:00
Android (Google) Code Review
4b6a0c77ba am 70337978: Merge change 4208 into donut
Merge commit '70337978d53c6097577fa03967e256a020cf3253'

* commit '70337978d53c6097577fa03967e256a020cf3253':
  SDK Updater: update all existing local archives, license click through.
  Modify archquery to be able to print any system property.
  Add downloadprovider permission tests runtest shortcut.
2009-06-15 15:02:39 -07:00
Android (Google) Code Review
dce71a5c6b Merge change 4220 into donut
* changes:
  SDK Updater: update all existing local archives, license click through.
2009-06-15 15:00:54 -07:00
Raphael
e073146af3 SDK Updater: update all existing local archives, license click through. 2009-06-15 13:48:50 -07:00
Raphael
cf0131406d Modify archquery to be able to print any system property.
(this is change 4207 that was abandoned due to a merge conflict.)
2009-06-15 13:36:11 -07:00
Android (Google) Code Review
a8c16a1dc4 am 31d55c61: Merge change 4116 into donut
Merge commit '31d55c618e783d937cb0342c7eeafcd0a6b990fe'

* commit '31d55c618e783d937cb0342c7eeafcd0a6b990fe':
  Add runtest test definition for framework-permission
  - Moved the build variants descriptions into build_system
  Fix the reload of pages after installation of packages.
2009-06-15 11:39:23 -07:00
Android (Google) Code Review
9c298770e0 am 07c07c2e: Merge change 3933 into donut
Merge commit '07c07c2e685d2d7bd1901432d694bd8bddb84e15'

* commit '07c07c2e685d2d7bd1901432d694bd8bddb84e15':
  Define a new activity that lists permissions and apps using that permission with some additional details as well
  SDK Updater: provide a "force http" setting.
  SDK Updater: SettingsController that handles the settings.
  - Moved the build variants descriptions into build_system
2009-06-14 21:12:29 -07:00
Xavier Ducrohet
63c20f1cd7 Fix the reload of pages after installation of packages. 2009-06-12 18:13:27 -07:00
Raphael
98b6b8c1e6 am 38ea6d2a: SDK Updater: remove UpdaterData() constructor.
Merge commit '38ea6d2afedd25705cb510f5556b2b60a310adca'

* commit '38ea6d2afedd25705cb510f5556b2b60a310adca':
  SDK Updater: remove UpdaterData() constructor.
2009-06-12 08:25:43 -07:00
Raphael
20797ca90e am 02665927: SDK Updater: icons for packages in remote page.
Merge commit '02665927836f790f1164eb5609c2d35dadd3e86d'

* commit '02665927836f790f1164eb5609c2d35dadd3e86d':
  SDK Updater: icons for packages in remote page.
2009-06-12 08:25:41 -07:00
Xavier Ducrohet
df7f226629 am 201f8316: Centralized the local data, and create new listener mechanism to access it.
Merge commit '201f83164f96036bcdc36a3c42082673a9fe429a'

* commit '201f83164f96036bcdc36a3c42082673a9fe429a':
  Centralized the local data, and create new listener mechanism to access it.
2009-06-12 08:25:07 -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
Android (Google) Code Review
d24ed7adc4 am e1c1ac8b: Merge change 3869 into donut
Merge commit 'e1c1ac8b0ea535e334b7f072aaaa98d14dcb8b81'

* commit 'e1c1ac8b0ea535e334b7f072aaaa98d14dcb8b81':
  SDK Updater: implement tree check callback on remote page.
2009-06-11 12:04:39 -07:00
Android (Google) Code Review
db08cab874 am c390708d: Merge change 3868 into donut
Merge commit 'c390708d032addd61d4a2451ee9abeaf66e43181'

* commit 'c390708d032addd61d4a2451ee9abeaf66e43181':
  ADT #1909458: fix 'android update project': "build.xml is too old"
2009-06-11 12:04:38 -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