Commit Graph

810 Commits

Author SHA1 Message Date
Xavier Ducrohet
774ac9a0dc Make 'android update adb' write the USB vendor IDs in hexa. 2009-05-22 13:47:07 -07:00
Android (Google) Code Review
953d1855a3 am 906e6529: Merge change 2300 into donut
Merge commit '906e6529fce5e5c4473d9bcdb05c03b13dac2b8f'

* commit '906e6529fce5e5c4473d9bcdb05c03b13dac2b8f':
  SDK Updater: some refactoring and some new features.
2009-05-22 12:32:57 -07:00
Android (Google) Code Review
906e6529fc Merge change 2300 into donut
* changes:
  SDK Updater: some refactoring and some new features.
2009-05-22 12:30:35 -07:00
Android (Google) Code Review
2b210d79d9 am c3515737: Merge change 2281 into donut
Merge commit 'c35157377ba06eeef32bc6eaf582fd6e4c9805a8'

* commit 'c35157377ba06eeef32bc6eaf582fd6e4c9805a8':
  Moved updateAdb into SdkManager and updated with new adb_usb.ini format.
2009-05-22 11:32:03 -07:00
Raphael
1c7b811fe4 SDK Updater: some refactoring and some new features.
The refactoring part involves moving as much as possible stuff
in SdkLib/internal/repository.

The UI has moved in SdkUiLib/internal/repository except a specific
public wrapper for calling the Sdk Updater window.

There are also a bunch of new classes to handle the internal
structures: Package is the base type and to match the XML element
names we have PlatformPackage, AddonPackage, DocPackage and
ToolPackage.

All headers have been fixed.
2009-05-22 11:31:50 -07:00
Android (Google) Code Review
c35157377b Merge change 2281 into donut
* changes:
  Moved updateAdb into SdkManager and updated with new adb_usb.ini format.
2009-05-22 10:44:46 -07:00
Xavier Ducrohet
0064943f50 Moved updateAdb into SdkManager and updated with new adb_usb.ini format.
New format is: 1 number per line. First number is vendor ID count, followed
by  the vendor IDs themselves. Comment lines starting with # accepted.
2009-05-21 18:11:36 -07:00
Raphael
e56dc15be2 am cbfa85a4: Sdk Updater: Split UI in window and independant composites.
Merge commit 'cbfa85a410cc51330454e6318bbdd88dd17b2401'

* commit 'cbfa85a410cc51330454e6318bbdd88dd17b2401':
  Sdk Updater: Split UI in window and independant composites.
2009-05-21 15:34:49 -07:00
Raphael
cbfa85a410 Sdk Updater: Split UI in window and independant composites. 2009-05-21 15:22:50 -07:00
Android (Google) Code Review
2e41227a6e am 38ea3827: Merge change 2122 into donut
Merge commit '38ea38278923db2823f159df7d53e7964466bc2e'

* commit '38ea38278923db2823f159df7d53e7964466bc2e':
  Add support for USB Vendor ID in the add-ons.
2009-05-21 10:16:40 -07:00
Android (Google) Code Review
38ea382789 Merge change 2122 into donut
* changes:
  Add support for USB Vendor ID in the add-ons.
2009-05-21 10:14:27 -07:00
Xavier Ducrohet
4817a2b5b3 Add support for USB Vendor ID in the add-ons.
The add-on manifest can now declare a USB vendor ID with the line
   usb-vendor=<id>
The ID must be a 16 hexadecimal value in the format 0xABCD.

The 'android' tool now has a new command 'android upate abd' that will create
a file called 'adb_usb.ini' in ~/.android/
This file will be read by adb to add support to those new vendor IDs.
2009-05-20 18:06:15 -07:00
Android (Google) Code Review
435f32e41c am 06b9f977: Merge change 2118 into donut
Merge commit '06b9f977c36980e0e8ac4bca4fad6da0b46eac7a'

* commit '06b9f977c36980e0e8ac4bca4fad6da0b46eac7a':
  Add work-around for running DDMS on 64-bit Linux.
2009-05-20 16:14:15 -07:00
Jack Palevich
92b6f2b72b Add work-around for running DDMS on 64-bit Linux. 2009-05-20 14:42:04 -07:00
Android (Google) Code Review
b5fb938998 am 7114c7bf: Merge change 2066 into donut
Merge commit '7114c7bf1c02390c7e328775aadc400c3b2b8603'

* commit '7114c7bf1c02390c7e328775aadc400c3b2b8603':
  SDK Updater: Fetch source XML, display them in tree.
2009-05-20 12:06:10 -07:00
Raphael
08226b31f8 SDK Updater: Fetch source XML, display them in tree.
There's a notion of an asynchronous task with a progress bar & status UI.
That's still just experimental. Will need some refactoring, etc.
2009-05-20 11:58:16 -07:00
Android (Google) Code Review
3206e3df5f am 02347199: Merge change 1834 into donut
Merge commit '02347199b12c796414e17d615a010f7d72344e2a'

* commit '02347199b12c796414e17d615a010f7d72344e2a':
  Skeleton App Windows for Sdk Updater built using SWT Designer.
2009-05-15 21:32:50 -07:00
Android (Google) Code Review
02347199b1 Merge change 1834 into donut
* changes:
  Skeleton App Windows for Sdk Updater built using SWT Designer. The window is shown when the "android" tool is invoked with no parameter.
2009-05-15 18:51:02 -07:00
Raphael
49060501cc Skeleton App Windows for Sdk Updater built using SWT Designer.
The window is shown when the "android" tool is invoked with no parameter.
2009-05-15 17:36:26 -07:00
Android (Google) Code Review
47d9b4efb2 am d06f8e2f: Merge change 1730 into donut
Merge commit 'd06f8e2f4cb97b5a397793ba7b53e62ab73925f8'

* commit 'd06f8e2f4cb97b5a397793ba7b53e62ab73925f8':
  Make the ddmlib API use IDevice instead of Device
2009-05-15 16:25:37 -07:00
Android (Google) Code Review
d06f8e2f4c Merge change 1730 into donut
* changes:
  Make the ddmlib API use IDevice instead of Device
2009-05-15 15:21:13 -07:00
Xavier Ducrohet
2dec13440e am 5048d7e4: Update ADT feature dependency.
Merge commit '5048d7e4b3467eaafa4d06ca1978ad86c3a1f3d0'

* commit '5048d7e4b3467eaafa4d06ca1978ad86c3a1f3d0':
  Update ADT feature dependency.
2009-05-15 15:05:47 -07:00
Xavier Ducrohet
5048d7e4b3 Update ADT feature dependency. 2009-05-15 14:45:17 -07:00
Xavier Ducrohet
114b9b7b31 Make the ddmlib API use IDevice instead of Device
Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.
2009-05-15 14:01:12 -07:00
Raphael
a019d19ce1 am 17c674d1: ADT #1844909: Tweak XML schema, add more tests.
Merge commit '17c674d1057aeb3946747ca3b1d67a8468e1efb4'

* commit '17c674d1057aeb3946747ca3b1d67a8468e1efb4':
  ADT #1844909: Tweak XML schema, add more tests.
2009-05-15 13:31:48 -07:00
Raphael
90df9f56cd am 08376195: ADT #1844909: Move sdk-repository XSD and tests from SdkManager to SdkLib.
Merge commit '0837619559dc2384c32a91f4ec4ca6ea69a17fcf'

* commit '0837619559dc2384c32a91f4ec4ca6ea69a17fcf':
  ADT #1844909: Move sdk-repository XSD and tests from SdkManager to SdkLib.
2009-05-15 13:31:48 -07:00
Raphael
17c674d105 ADT #1844909: Tweak XML schema, add more tests.
Change XML schema to allow for empty <libs>, e.g. one can create
and add-on that doesn't declare any extra lib.
However enforce that <archives> contains at least one <archive>
element to prevent someone from declaring a download element
that cannot actually be downloaded.

Added a couple tests for validation of empty documents.
2009-05-15 12:46:02 -07:00
Raphael
0837619559 ADT #1844909: Move sdk-repository XSD and tests from SdkManager to SdkLib. 2009-05-14 19:48:53 -07:00
Android (Google) Code Review
3ffb5c7544 am 71f5d130: Merge change 1739 into donut
Merge commit '71f5d130f5d2c512cc811f538b4d0f6613451973'

* commit '71f5d130f5d2c512cc811f538b4d0f6613451973':
  Fix an NPE in the New Project Wizard when no test project is specified
2009-05-14 19:43:59 -07:00
Android (Google) Code Review
71f5d130f5 Merge change 1739 into donut
* changes:
  Fix an NPE in the New Project Wizard when no test project is specified on the second NPW page.
2009-05-14 19:36:03 -07:00
Raphael
9c19555d2d Fix an NPE in the New Project Wizard when no test project is specified
on the second NPW page.
2009-05-14 19:17:39 -07:00
Android (Google) Code Review
91d128f0f0 am 83674be9: Merge change 1699 into donut
Merge commit '83674be98d72991dc907cd47bd5a73c68c949c35'

* commit '83674be98d72991dc907cd47bd5a73c68c949c35':
  Make IDevice#getSyncService() throws an IOException.
2009-05-14 16:03:04 -07:00
Android (Google) Code Review
83674be98d Merge change 1699 into donut
* changes:
  Make IDevice#getSyncService() throws an IOException.
2009-05-14 16:00:17 -07:00
David 'Digit' Turner
5d83352be2 am c39a26b6: Fix bad automatic dependency computations
Merge commit 'c39a26b6f52d189a0bec85cbe168006454b14a9b'

* commit 'c39a26b6f52d189a0bec85cbe168006454b14a9b':
  Fix bad automatic dependency computations
  Remove duplicate initialization in AdtPlugin.
2009-05-14 15:39:58 -07:00
Xavier Ducrohet
2d83a425c2 Make IDevice#getSyncService() throws an IOException.
This lets callers differentiate between errors when connecting to adb and
errors because adb couldn't talk to the device.
2009-05-14 15:18:56 -07:00
Android (Google) Code Review
ba7de1f325 Merge change 1681 into donut
* changes:
  Remove duplicate initialization in AdtPlugin.
2009-05-14 14:57:44 -07:00
Android (Google) Code Review
bc984cfba7 am f89a4d35: Merge change 1501 into donut
Merge commit 'f89a4d3524b099cb30a4183a59fce82d6e59ac91'

* commit 'f89a4d3524b099cb30a4183a59fce82d6e59ac91':
  ADT #1844909: SDK manager, define XML schemas & sample XMLs
2009-05-14 14:53:22 -07:00
Xavier Ducrohet
e9b9596bd6 Remove duplicate initialization in AdtPlugin.
The is a remnant of the old #start() method of the Editors Plugin class.
2009-05-14 13:31:11 -07:00
Android (Google) Code Review
f89a4d3524 Merge change 1501 into donut
* changes:
  ADT #1844909: SDK manager, define XML schemas & sample XMLs
2009-05-14 12:56:35 -07:00
Raphael
9cf3c16d5d ADT #1844909: SDK manager, define XML schemas & sample XMLs
For reference, there's an XSD primer here:
- http://www.w3.org/TR/xmlschema-0/#NS
- http://www.w3schools.com/Schema/
2009-05-14 12:43:08 -07:00
Xavier Ducrohet
4dca12b57e am c15ed2d: Fix a double issue regarding interrupted builds due to pre-e
Merge commit 'c15ed2d771b4b02bab5f2a2281d08a050ee1df89'

* commit 'c15ed2d771b4b02bab5f2a2281d08a050ee1df89':
  Fix a double issue regarding interrupted builds due to pre-existing errors.
2009-05-14 11:36:50 -07:00
Xavier Ducrohet
c15ed2d771 Fix a double issue regarding interrupted builds due to pre-existing errors.
First, the ApkBuilder didn't cancel its run if the project had markers from JDT.
Second, the try/catch on ApkBuilder#build didn't properly test the
CoreException status severity (used getCode instead of getSeverity), so it did
not detect cancels being thrown by #abortOnBadSetup and displayed the error
in the console instead.
2009-05-13 18:03:14 -07:00
Xavier Ducrohet
1e074599b5 am 20d4ecf: ADT: remove an obsolete import from the manifest.
Merge commit '20d4ecf2d785bb0120222ab4ab249abc1165314c'

* commit '20d4ecf2d785bb0120222ab4ab249abc1165314c':
  ADT: remove an obsolete import from the manifest.
2009-05-13 17:46:49 -07:00
Xavier Ducrohet
f6d154a2b7 am 770dfc5: ADT: Refactoring classes dealing with android resources out
Merge commit '770dfc5ed43089228af1892eef3a73a0e7220bc7'

* commit '770dfc5ed43089228af1892eef3a73a0e7220bc7':
  ADT: Refactoring classes dealing with android resources out of the editor.
2009-05-13 17:46:49 -07:00
Xavier Ducrohet
20d4ecf2d7 ADT: remove an obsolete import from the manifest. 2009-05-13 17:41:07 -07:00
Xavier Ducrohet
770dfc5ed4 ADT: Refactoring classes dealing with android resources out of the editor.
Basically:
editors.resources.manager -> resources.manager
editors.resources.configurations -> resources.configurations

This is to make it less confusing between the "Resources editors" and the
class parsing/handling Android resources (either in a project or in the
framework).
Also moved the ResourceExplorerView out of the resources editors, and clean
up a few other misc classes.
2009-05-13 17:36:25 -07:00
Xavier Ducrohet
30e2507154 am 5bb7e1e: ADT: Move more packages into internal:
Merge commit '5bb7e1e0cdb1b135968b279f7e4350769160ba11'

* commit '5bb7e1e0cdb1b135968b279f7e4350769160ba11':
  ADT: Move more packages into internal:
2009-05-13 17:27:15 -07:00
Xavier Ducrohet
5bb7e1e0cd ADT: Move more packages into internal:
editors -> adt.internal.editors.

This also marks the final refactoring of combining previous editors/common
plugin under the adt package.
2009-05-13 17:23:00 -07:00
Xavier Ducrohet
cb975e4579 am 9ed226a: ADT: Move more packages into internal.
Merge commit '9ed226af6a2946146a989f3c066150a8a98e4a1d'

* commit '9ed226af6a2946146a989f3c066150a8a98e4a1d':
  ADT: Move more packages into internal.
2009-05-13 17:19:08 -07:00
Xavier Ducrohet
9ed226af6a ADT: Move more packages into internal.
common.project -> adt.internal.project
adt.resources -> adt.internal.resources
adt.wizards.* -> adt.internal.wizards
adt.ui -> adt.internal.ui
2009-05-13 17:13:15 -07:00