Commit Graph

75 Commits

Author SHA1 Message Date
Raphael Moll
42c230dd91 AI 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.
  BUG=1778786

Automated import of CL 146720
2009-04-17 08:00:06 -07:00
Xavier Ducrohet
5ca1e5e36b AI 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.
BUG=1795815,1791666

Automated import of CL 146692
2009-04-16 20:14:14 -07:00
Xavier Ducrohet
fd8601d289 AI 146689: Broken AVDs are now loaded by default, and we provide a way to fix one (new) type of error (wrong paths to the system image)
BUG=1791664

Automated import of CL 146689
2009-04-16 19:32:36 -07:00
Xavier Ducrohet
1313b05655 AI 146674: "Target" nomenclature fixes
BUG=1795612

Automated import of CL 146674
2009-04-16 18:39:57 -07:00
Raphael Moll
a43533117c AI 146631: ADT #1793333: fix Widget disposed in SdkTargetSelector.
This happens when you open the Windows > Prefs > Android panel
  while an SDK is initially loading or when you change the
  SDK in the pref panel. The target change listener was not
  properly removed since the field was not properly disposed.
  This also removed the multiple selection handling in the
  SdkTargetSelector, which we never use. In the unlikely event
  we want to use it later, it would be trivial to add it back.
  BUG=1793333

Automated import of CL 146631
2009-04-16 15:59:55 -07:00
Raphael Moll
550c75344b AI 146595: ADT #1794560: prevent from loading more than one SDK at once.
BUG=1794560

Automated import of CL 146595
2009-04-16 12:08:00 -07:00
Xavier Ducrohet
bc88010503 AI 146351: Fix aidl 2 issues: aidl file change for parcelable didnt trigger a recompilation. Folder creation failed if parent folder didn't exist.
BUG=1789903

Automated import of CL 146351
2009-04-15 11:42:45 -07:00
Raphael Moll
5acf706a10 AI 146335: ADT: Rework the Manifest class browser.
For ADT #1603194, it is desirable to select the Instrumentation
  Runner class from the android.jar. The class browser was filtering
  it out. The class browser has been changed like this:
  - include all source & jar package roots
  - a checkbox let the user toggle between searching only sources
  (of the project) or anything in the classpath (thus include jars.)
  The default is to include everything for the instrumentation and only
  the source for other browsers.
  Also improved a bit the filter by not iterating over the hierarchy
  and filtering out abstract classes (which was not needed before.)
  BUG=1603194

Automated import of CL 146335
2009-04-15 11:14:04 -07:00
Raphael Moll
f10beab9c8 AI 146238: ADT #1761064: Properly refresh UiTreeBlock when SDK is reloaded.
The fix I did last week was just refreshing the UiRootNode
  but it turns out we need to refresh the DescriptorFilters too
  (since they are null when there's no SDK.) So the old fix was
  wrong, what we need is to generate a new tree model when the
  SDK is reloaded.
  BUG=1761064

Automated import of CL 146238
2009-04-14 16:14:38 -07:00
Raphael Moll
7650bff067 AI 146237: ADT #1789339: Manifest editor now displays all extra sub-elements.
Bug description is to add support for <uses-configuration>.
  Currently the Manifest editor already supports <uses-sdk> (which is an
  element node, not an attribute) by exposing it as a manifest attribute.
  That doesn't scale. So instead just provide a tree for all <manifest>
  child elements that are not handled in other pages. Currently that
  contains uses-sdk and uses-configuration but the nice part of it is that
  it will pick up automatically any new manfiest sub elements in the future.
  BUG=1789339

Automated import of CL 146237
2009-04-14 16:13:37 -07:00
Xavier Ducrohet
2bd33b8f87 AI 146233: Update Eclipse feature licenses to mention embedded jar files licences.
BUG=1789489

Automated import of CL 146233
2009-04-14 16:02:51 -07:00
Xavier Ducrohet
54ed5a2f90 AI 146229: Fix aidl error parsing (BUG #1789273)
BUG=1789273

Automated import of CL 146229
2009-04-14 15:57:23 -07:00
Raphael Moll
833361cdb5 AI 146034: ADT #1786173: NPW should not overwritte user-customized path
BUG=1786173

Automated import of CL 146034
2009-04-13 17:12:59 -07:00
Xavier Ducrohet
ae600adcd5 AI 146023: Make the add-on implement getPath for IAndroidTarget.SAMPLES (only if the add-on actually has samples) (BUG #1781751)
BUG=1781751

Automated import of CL 146023
2009-04-13 16:40:06 -07:00
Raphael Moll
a2c0ebd1ed AI 145929: ADT #1781076: fix missing \n in "android delete avd"
BUG=1781076

Automated import of CL 145929
2009-04-13 14:16:10 -07:00
Raphael Moll
6c0d467cc2 AI 145911: ADT #1778786: tool to generate stubbed jar file.
This is only a preliminary CL. More will follow but this is
  a good start, with the following caveats:
  What it does:
  - take an input jar, a list of includes, a list of excludes.
  - generate actual Java source for the filtered classes.
  What it doesn't do yet:
  - some more work on filtering inner elements (methods, etc.)
  - properly generate inner classes.
  - hide synthetic fields.
  - some classes body are missing
  - directly generate a stubbed bytecode/jar rather than source.
  I'll likely want to keep the source generator for debugging
  purposes or if we want to integrate with a build system instead.
  - classpath will be changed in the final CL to refer to the external
  ASM lib rather than the project. I need the source for debugging
  rigth now.
  - will review comments before submitting.
  BUG=1778786

Automated import of CL 145911
2009-04-13 12:53:34 -07:00
Xavier Ducrohet
b20c95f355 AI 145394: Fix 'android create project': it was swapping activity and package names (bug #1781137)
BUG=1781137

Automated import of CL 145394
2009-04-09 12:55:15 -07:00
Xavier Ducrohet
55081c290b AI 145229: Make the mismatch API level/minSdkVersion a warning instead of an error.
BUG=1779278

Automated import of CL 145229
2009-04-08 18:44:51 -07:00
Raphael Moll
a49714f9b9 AI 145204: ADT #1761137: collect_sources_for_sdk.sh fails on the Mac
It's really time to let the hackish bash/sed version go away,
  especially since it's really really slow, and provide a
  better python version instead.
  BUG=1761137

Automated import of CL 145204
2009-04-08 15:16:47 -07:00
Raphael Moll
931838e07e AI 145083: ADT #1777728: fix NPE when AVD list is empty
BUG=1777728

Automated import of CL 145083
2009-04-08 12:43:22 -07:00
Raphael Moll
0a7d0399c6 AI 145004: ADT #1761064: Properly refresh manifest activity list on framework reload.
Issue: when the SDK gets (re)loaded, the uiRootNode changes
  in the UiTreeBlock. However the TreeViewer is using a
  content provider which root node was not updated. The fix is
  to make the content provider dynamically ask for the root
  node to the tree block. Instead of depending on the class
  directly, a new interface is passed for this.
  BUG=1761064

Automated import of CL 145004
2009-04-07 20:31:00 -07:00
Raphael Moll
7bfaaa8c46 AI 144940: ADT #1722971: Fix refactoring menu contribution for Eclipse 3.3/3.4 on Linux/Mac.
The fix is that a menu contribution should redefine the menu that it is
  contributing too. In this case it seems the JDT is not yet loaded or at
  least hasn't defined the menu that we're contributing too, so we need to
  define it. This definition is extracted from the jdt.ui/plugin.xml from
  3.4 in order to define the same group names in the same order.
  BUG=1722971

Automated import of CL 144940
2009-04-07 16:30:57 -07:00
Xavier Ducrohet
6778fc22a4 AI 144938: Fix the classpath container cache for project targeting add-ons (bug #1775936).
Also renamed the container for add-ons to include the base platform name (so that at least a version is displayed).
  BUG=1775936

Automated import of CL 144938
2009-04-07 16:27:46 -07:00
Xavier Ducrohet
5993ade9b0 AI 144921: Fix add-on javadoc display in Eclipse (bug #1775744)
BUG=1775744

Automated import of CL 144921
2009-04-07 14:24:32 -07:00
Raphael Moll
d7c946dcef AI 144487: ADT: Add "New String" refactoring to the other Resource Chooser.
BUG=1722971

Automated import of CL 144487
2009-04-03 13:33:43 -07:00
Raphael Moll
bc659bb756 AI 144486: ADT: Call the Extract String Refactoring to create a new XML String
ID when selecting a string reference.
  BUG=1722971

Automated import of CL 144486
2009-04-03 13:32:32 -07:00
Xavier Ducrohet
01cdf8fe24 AI 144366: Activity Launcher filters out unlauncheable activity (bug #1736754)
Activities that do not have an action, or that are set to not be exported cannot be launched from 'am start...' so they should not be considered when finding an activity to launch.
  BUG=1736754

Automated import of CL 144366
2009-04-02 21:44:15 -07:00
Brett Chabot
979e0dc0c5 AI 144320: ADT: Fix debugger launch connection when debugging Android JUnit
BUG=1753089

Automated import of CL 144320
2009-04-02 15:36:04 -07:00
Raphael Moll
b41d8daf77 AI 144283: ADT: Enhance Resource Chooser with ability to create new XML strings.
That's a first pass. There's a fair bit of refactoring
  involved, so it's split in two CLs. Next CL will add more
  functionality.
  BUG=1722971

Automated import of CL 144283
2009-04-02 13:42:29 -07:00
Xavier Ducrohet
a248b46de4 AI 144252: Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
BUG=1683892

Automated import of CL 144252
2009-04-02 11:32:07 -07:00
Raphael Moll
8a2dece67d AI 144048: ADT #1743364: Uncomment the system resource chooser code.
Rationale: we want to keep that code around, so we need to compile
  it to make sure it doesn't use obsoleted APIs. That does it.
  BUG=1743364

Automated import of CL 144048
2009-04-01 12:29:32 -07:00
Brett Chabot
09f36bfffb AI 143917: ADT Android JUnit: Change logic to provide an explicit project or package to run to the device InstrumentationTestRunner, instead of providing the potentially huge list of test classes. Discontinue support for running all tests in a source folder.
BUG=1749513

Automated import of CL 143917
2009-03-31 19:13:57 -07:00
Raphael Moll
0f25507fb0 AI 143882: ADT #1743364: Refactor misc UI widgets together in package adt.ui.
BUG=1743364

Automated import of CL 143882
2009-03-31 17:22:27 -07:00
Raphael Moll
c01f497ad9 AI 143881: AVD #1703143: delete AVDs not loaded correctly.
This covers the case where an AVD has an invalid target
  or is missing its AVD folder or the config.ini in it.
  Made some cosmetic cleanup too.
  BUG=1703143

Automated import of CL 143881
2009-03-31 17:21:21 -07:00
Raphael Moll
e529390a9c AI 143754: SdkManager: list unknown AVDs and why they didn't load.
BUG=1703143

Automated import of CL 143754
2009-03-31 12:39:09 -07:00
Xavier Ducrohet
9738144670 AI 143499: Fix the icon for the JUnit launch shortcut
BUG=866690

Automated import of CL 143499
2009-03-30 12:31:27 -07:00
Amith Yamasani
2f1d5e3425 AI 143472: Reduce dictionary size.
Changed the tree structure to have variable length nodes to save an average of 21% on the dictionary size.
  Created a shortened English dictionary for Dream - 50K words.
  Added a shortened Spanish dictionary for Dream - 32K words.
  BUG=1743626

Automated import of CL 143472
2009-03-30 07:28:42 -07:00
Xavier Ducrohet
3141ffd322 AI 143407: Prevent reinstalling APKs during launch if they have not been recompiled since the previous launch.
BUG=1743026

Automated import of CL 143407
2009-03-27 18:28:38 -07:00
Raphael Moll
f739e79bf4 AI 143259: ADT #1743364: Refactor all wizard classes & their actions together.
BUG=1743364

Automated import of CL 143259
2009-03-27 16:06:03 -07:00
Xavier Ducrohet
fe8bec70ca AI 143149: Make ADT look for javadoc in docs/reference for the optional libraries (to match the base docs).
BUG=1743022

Automated import of CL 143149
2009-03-27 15:05:58 -07:00
Xavier Ducrohet
ad30a85cfc AI 143143: Update ADT changes.txt with JUnit features, and properly restrict ADT package access.
BUG=1743054

Automated import of CL 143143
2009-03-27 14:31:26 -07:00
Raphael Moll
08f10baa11 Automated import from //branches/cupcake/...@143034,143034 2009-03-26 18:38:21 -07:00
Raphael Moll
e71a4a39a4 Automated import from //branches/cupcake/...@142978,142978 2009-03-26 13:53:00 -07:00
Raphael Moll
4ec2d6f603 Automated import from //branches/cupcake/...@142852,142852 2009-03-25 21:11:59 -07:00
Raphael Moll
c22f78e238 Automated import from //branches/cupcake/...@142851,142851 2009-03-25 21:11:04 -07:00
Raphael Moll
fbeb67eb39 Automated import from //branches/cupcake/...@142586,142586 2009-03-25 15:04:55 -07:00
Raphael Moll
660c0c97ee Automated import from //branches/cupcake/...@142585,142585 2009-03-25 15:03:39 -07:00
Raphael Moll
1e163c86ed Automated import from //branches/cupcake/...@142584,142584 2009-03-25 15:02:20 -07:00
Raphael Moll
4595b7960d Automated import from //branches/cupcake/...@142191,142191 2009-03-24 19:15:35 -07:00
Raphael Moll
076609b9c9 Automated import from //branches/cupcake/...@142190,142190 2009-03-24 19:14:49 -07:00