Commit Graph

133 Commits

Author SHA1 Message Date
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
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
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
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
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
Xavier Ducrohet
4cc22e5ebf ADT: Move more packages into internal
project.*
refactorings.*

Also: moved the export wizard from project.export to wizards.export, moved some
actions out of project into the new internal package actions.
2009-05-13 17:03:26 -07:00
Xavier Ducrohet
f127736264 ADT: Remove StreamHelper and integrate it in AdtPlugin.
StreamHelper was used before by AdtPlugin, DdmsPlugin and EditorsPlugin. It's now
only used by AdtPlugin, so the only 2 methods in it can go in AdtPlugin.
I merged the externalized string in the messages.properties file used by AdtPlugin.
2009-05-13 16:46:31 -07:00
Xavier Ducrohet
9eedccd52c Moved more ADT packages into internal.
adt.build
adt.launch.*
adt.preferences

Also started combining adt and common.
2009-05-13 16:37:55 -07:00
Xavier Ducrohet
2c83a9f10c Update ADT to use the refactored sdklib from previous patch. 2009-05-13 15:10:20 -07:00
Xavier Ducrohet
68d017af64 Move some classes that have non ready APIs to internal packages
- com.android.sdklib.avd -> com.android.sdklib.internal.avd
- com.android.sdklib.project -> com.android.sdklib.internal.project
2009-05-13 15:00:01 -07:00
Raphael
0b62151cda ADT #1715616: "New Android Test Project" wizard.
Also updates eclipse/changes.txt
2009-05-08 14:06:44 -07:00
Android (Google) Code Review
a123cea7c8 Merge change 1002 into donut
* changes:
  runtest.py bug fixes.
2009-05-06 10:31:01 -07:00
Raphael
1bb52f2587 Fix ADT junit test for AndroidManifestParser following API change. 2009-05-05 13:41:59 -07:00
Brett Chabot
8a101cb057 runtest.py bug fixes.
Improved error handling, and added support for "size" and "package" arguments.
Removed deprecated runtest shell script.
2009-05-05 13:06:00 -07:00
Raphael
816ba073c6 ADT #1825491: Provide default choices for <uses-library>
We currently hardcode a list in the PlatformTarget and propagate
it to the UI via the AndroidTargetParser. This way we can later
decide to actually get the info from some kind of manifest.
2009-05-04 15:37:40 -07:00
Raphael
beb3214b46 ADT #1823896: Ability to add an "extra" action to the AVD Selector.
Used to display the AVD Manager from the Device Chooser/Launch config.
Used to delete AVDs from the AVD Manager.

In AVD Manager, also hide the Cancel button since actions are
immediate and not cancelable.
2009-05-01 13:58:31 -07:00
Raphael
e940a1cad7 ADT #1823896: AVD Manager button in the AVD Selector.
Device chooser: avd manager callback + avd list refresh.
Device chooser: dialog title.
Device launcher tab: avd manager callaback + avd list refresh.
2009-04-30 17:14:58 -07:00
Xavier Ducrohet
7bfac3d8c7 Display the AVD manager wizard during launches where no compatible AVDs exist. 2009-04-30 14:20:33 -07:00
Android (Google) Code Review
9e2993ed2e Merge change 770 into donut
* changes:
  ADT 1603194: Android Package browser for Instrumentation nodes.
2009-04-30 11:59:01 -07:00
Xavier Ducrohet
1003a3b691 Make sure we request the Client allocation status even if we fail to open a debugger port for it. 2009-04-29 18:18:36 -07:00
Raphael
1a93c942f0 ADT 1603194: Android Package browser for Instrumentation nodes. 2009-04-29 17:36:39 -07:00
Xavier Ducrohet
70fc6e96af Make sure that any exception during the final packaging properly put an error marker on the project (since build failed. 2009-04-29 14:38:30 -07:00
Raphael
b7327498cb ADT #1820114: Provide a quick UI to edit AVD.
This is temporary and will be replaced once we get the standalone AVD UI.
2009-04-29 11:29:55 -07:00
Raphael
5a3361ddb5 Fix ADT#1807821: -f option ignored when avd dir already existed.
Also fixed an NPE when parsing some invalid AVDs.
2009-04-28 12:54:47 -07:00
Android (Google) Code Review
594999277e Merge change 627 into donut
* changes:
  Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk />
2009-04-28 11:02:14 -07:00
Xavier Ducrohet
1ec5e2f4bb Move ADT to 0.9.1 2009-04-27 19:02:03 -07:00
Xavier Ducrohet
d1e88a3fcb Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk /> 2009-04-27 18:52:49 -07:00
Xavier Ducrohet
b1be9fb509 Make traceview compile with the new API from SdkStats. 2009-04-27 17:38:40 -07:00
Xavier Ducrohet
fe3af81580 Fix the opt-in window for usage stat so that it works when running from ADT. 2009-04-27 15:05:06 -07:00
Raphael
aa8c266ed0 Split development/.gitignore into separate gitignore files per project.
Added missing gitignore for layoutlib_utils.
Changed mkstubs build path to use prebuilt/asm-3.1 instead of asm-3.1 project.
2009-04-26 18:12:36 -07:00
Android (Google) Code Review
782884aef3 Merge change 556 into donut
* changes:
  Fixed a bug in XML parser handler where some words were being split in two. Fixes #1812655.
2009-04-24 16:08:21 -07:00
Amith Yamasani
6fdf92fb26 Fixed a bug in XML parser handler where some words were being split in two. Fixes #1812655.
Properly concatenate characters to create a full word before adding the word to the tree.
2009-04-24 15:51:15 -07:00
Iliyan Malchev
7abfb48551 yuv420sp2rgb: a tool to convert from YUV 4:2:0 semiplanar to various RGB formats
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-04-23 13:14:30 -07:00
Raphael Moll
faffd247ee AI 147264: am: CL 147262 ADT #1761055: Pre-select node types when adding node in manifest & resource based on context
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147264
2009-04-21 15:49:49 -07:00
Raphael Moll
ee8f65c4f7 AI 147193: am: CL 147190 Javadoc for MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147193
2009-04-21 13:22:51 -07:00
Raphael Moll
01c1ad4af5 AI 147177: am: CL 147175 ADT #1801951: "adb.exe" misses the dot in android_rules.xml
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147177
2009-04-21 13:07:50 -07:00
Raphael Moll
c23e021f02 AI 147176: am: CL 147174 ADT #1801919: Make default options output a bit more friendly.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147176
2009-04-21 13:04:49 -07:00
Raphael Moll
a2c6807bd6 AI 147027: am: CL 147025 ADT #1795718: disable --mode in "android create project".
The alias build rules do not work and the flag wasn't even used
  by ProjectCreator anyway. Will reintroduce later.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147027
2009-04-20 16:15:15 -07:00
Raphael Moll
6aa2c4996b AI 147013: am: CL 147012 A readme describing the usage and limitations of MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147013
2009-04-20 15:41:59 -07:00
Xavier Ducrohet
1d2e8e7de7 AI 146983: am: CL 146980 Fix the display of the target hash string when displaying unresolved target errors.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146983
2009-04-20 14:11:22 -07:00
Raphael Moll
32557b47c5 AI 146870: am: CL 146865 Final pass on stubber: properly filter fields and methods.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146870
2009-04-19 09:47:11 -07:00
Xavier Ducrohet
a4bdb32554 AI 146847: am: CL 146845 Fix detecting "home" activities when parsing the Android Manifest
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146847
2009-04-18 12:23:40 -07:00
Xavier Ducrohet
922b7f3289 AI 146808: am: CL 146806 Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146808
2009-04-18 12:15:12 -07:00
Xavier Ducrohet
2013a91fad AI 146784: am: CL 146783 Update New project wizard with the less confusing "Build Target" label.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146784
2009-04-18 12:05:57 -07:00
Xavier Ducrohet
2eeb203c31 AI 146778: am: CL 146776 fix NPE in AvdManager
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146778
2009-04-18 12:02:53 -07:00
Raphael Moll
08bb0ab656 AI 146771: am: CL 146770 ADT #1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146771
2009-04-18 11:56:49 -07:00
Raphael Moll
323557aaf9 AI 146744: am: CL 146720 ADT Jar Stubber: generate stubbed jar.
This also reorganizes some source so it's 90% refactoring.
  There will be more filtering to do in another CL.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146744
2009-04-17 11:33:07 -07:00
Xavier Ducrohet
08ceafea54 AI 146740: am: CL 146692 Clean up the output of "android list targets" and fix the image.sysdir.# to only be present if the image folders really contain *.img files.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146740
2009-04-17 11:21:13 -07:00