Commit Graph

460 Commits

Author SHA1 Message Date
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
ca7264c7b7 AI 145844: am: CL 145394 Fix 'android create project': it was swapping activity and package names (bug #1781137)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145844
2009-04-13 08:25:32 -07:00
Xavier Ducrohet
83d648605c AI 145520: am: CL 145229 Make the mismatch API level/minSdkVersion a warning instead of an error.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145520
2009-04-09 14:45:56 -07:00
Raphael Moll
7ccced6c20 AI 145487: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145487
2009-04-09 14:27:04 -07:00
Raphael Moll
bcc63a634a AI 145468: am: CL 145083 ADT #1777728: fix NPE when AVD list is empty
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145468
2009-04-09 14:10:03 -07:00
Raphael Moll
d4ee68f401 AI 145402: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145402
2009-04-09 13:09:46 -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
c3e4be85ab AI 145099: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145099
2009-04-08 13:39:28 -07:00
Xavier Ducrohet
89f2842e04 AI 145098: am: CL 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).
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145098
2009-04-08 13:36:48 -07:00
Xavier Ducrohet
45b80973b3 AI 145096: am: CL 144921 Fix add-on javadoc display in Eclipse (bug #1775744)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145096
2009-04-08 13:31:14 -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
8ec960039f AI 144489: am: CL 144487 ADT: Add "New String" refactoring to the other Resource Chooser.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 144489
2009-04-03 13:35:57 -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
Raphael Moll
f23d59c068 AI 144488: am: CL 144486 ADT: Call the Extract String Refactoring to create a new XML String
ID when selecting a string reference.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 144488
2009-04-03 13:31:58 -07:00
Xavier Ducrohet
bb10b2afb6 AI 144382: am: CL 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.
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 144382
2009-04-02 22:22:29 -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
6bc8491396 AI 144322: am: CL 144320 ADT: Fix debugger launch connection when debugging Android JUnit
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144322
2009-04-02 15:37:39 -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
d63db799ea AI 144284: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 144284
2009-04-02 13:42:45 -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
7e020ebebd AI 144254: am: CL 144252 Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 144254
2009-04-02 11:36:53 -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
9ae6340786 AI 144049: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 144049
2009-04-01 12:30:50 -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
47eccd8c05 AI 143918: am: CL 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.
Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143918
2009-03-31 19:15:42 -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
37747492ad AI 143886: am: CL 143882 ADT #1743364: Refactor misc UI widgets together in package adt.ui.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143886
2009-03-31 17:27:19 -07:00
Raphael Moll
1edcab4738 AI 143883: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143883
2009-03-31 17:23:46 -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
361030c1d8 AI 143808: am: CL 143754 SdkManager: list unknown AVDs and why they didn't load.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143808
2009-03-31 15:10:16 -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
db258ddbc7 AI 143672: am: CL 143499 Fix the icon for the JUnit launch shortcut
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143672
2009-03-31 11:02:33 -07:00
Amith Yamasani
69811e3526 AI 143659: am: CL 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.
  Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 143659
2009-03-31 10:51:16 -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
c33ae50cc3 AI 143408: am: CL 143407 Prevent reinstalling APKs during launch if they have not been recompiled since the previous launch.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143408
2009-03-27 20:54:01 -07:00
Raphael Moll
1e3355dd7d AI 143273: am: CL 143259 ADT #1743364: Refactor all wizard classes & their actions together.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143273
2009-03-27 20:42:40 -07:00
Xavier Ducrohet
5303d5c523 AI 143270: am: CL 143149 Make ADT look for javadoc in docs/reference for the optional libraries (to match the base docs).
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143270
2009-03-27 20:37:00 -07:00
Xavier Ducrohet
1fd79529a9 AI 143269: am: CL 143143 Update ADT changes.txt with JUnit features, and properly restrict ADT package access.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143269
2009-03-27 20:34:05 -07:00
Raphael Moll
77708b2fd0 AI 143223: am: CL 143034 ADT #1738834: Properly validate project name, package name and
activity name for "create project".
  Also validate AVD name for "create avd".
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143223
2009-03-27 19:13:58 -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
6007018190 AI 143199: am: CL 142978 ADT #1738393: fix typo in launch controller.
Also fixed some javadoc warnings.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 143199
2009-03-27 17:36:09 -07:00