Commit Graph

810 Commits

Author SHA1 Message Date
Xavier Ducrohet
5df2a49717 AI 146352: am: CL 146351 Fix aidl 2 issues: aidl file change for parcelable didnt trigger a recompilation. Folder creation failed if parent folder didn't exist.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146352
2009-04-15 11:43:56 -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
6ba21b98a1 AI 146336: am: CL 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.)
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146336
2009-04-15 11:15:19 -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
e8d5ba4bd5 AI 146250: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146250
2009-04-14 16:57:57 -07:00
Raphael Moll
9afdd15ac6 AI 146249: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146249
2009-04-14 16:55:07 -07:00
Xavier Ducrohet
3ff0768af1 AI 146248: am: CL 146233 Update Eclipse feature licenses to mention embedded jar files licences.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146248
2009-04-14 16:52:16 -07:00
Xavier Ducrohet
666cfd70e0 AI 146247: am: CL 146229 Fix aidl error parsing (BUG #1789273)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146247
2009-04-14 16:48:35 -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
6e00361920 AI 146035: am: CL 146034 ADT #1786173: NPW should not overwritte user-customized path
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146035
2009-04-13 18:48:47 -07:00
Xavier Ducrohet
56565ee9f0 AI 146024: am: CL 146023 Make the add-on implement getPath for IAndroidTarget.SAMPLES (only if the add-on actually has samples) (BUG #1781751)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146024
2009-04-13 18:40:32 -07:00
Raphael Moll
1bb311cc2f AI 145985: am: CL 145929 ADT #1781076: fix missing \n in "android delete avd"
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145985
2009-04-13 18:26:49 -07:00
Raphael Moll
1297169e09 AI 145983: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145983
2009-04-13 18:21:16 -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
Xavier Ducrohet
ecc4e984a1 Merge branch 'readonly-p4-master' 2009-04-13 16:27:58 -07:00
Xavier Ducrohet
01bd6306ac AI 146001: am: CL 145844 am: CL 145394 Fix 'android create project': it was swapping activity and package names (bug #1781137)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146001
2009-04-13 16:26:45 -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
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
0dd714fbd4 Merge branch 'readonly-p4-master' 2009-04-09 14:49:49 -07:00
Xavier Ducrohet
687532081f AI 145529: am: CL 145520 am: CL 145229 Make the mismatch API level/minSdkVersion a warning instead of an error.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145529
2009-04-09 14:48:37 -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
a8a9af3919 Merge branch 'readonly-p4-master' 2009-04-09 14:27:25 -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
0ed9b876f6 AI 145498: am: CL 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/...
  Original author: android-build

Automated import of CL 145498
2009-04-09 14:26:09 -07:00
Raphael Moll
8e4f7a9725 Merge branch 'readonly-p4-master' 2009-04-09 14:10:49 -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
aadd2c9c41 AI 145488: am: CL 145468 am: CL 145083 ADT #1777728: fix NPE when AVD list is empty
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145488
2009-04-09 14:09:37 -07:00
Raphael Moll
6618c0165d Merge branch 'readonly-p4-master' 2009-04-09 13:11:02 -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
Raphael Moll
39128f9aee AI 145419: am: CL 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/...
  Original author: android-build

Automated import of CL 145419
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
Raphael Moll
0cc4ffec0c Merge branch 'readonly-p4-master' 2009-04-08 19:08:10 -07:00
Raphael Moll
a8b79aee32 AI 145170: am: CL 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/...
  Original author: android-build

Automated import of CL 145170
2009-04-08 19:07:04 -07:00
Xavier Ducrohet
6f4ad71c61 Merge branch 'readonly-p4-master' 2009-04-08 19:05:29 -07:00
Xavier Ducrohet
2ae3b8f24b AI 145169: am: CL 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/...
  Original author: android-build

Automated import of CL 145169
2009-04-08 19:04:11 -07:00
Xavier Ducrohet
7827b2f49b Merge branch 'readonly-p4-master' 2009-04-08 18:59:25 -07:00
Xavier Ducrohet
29d2a8ded5 AI 145163: am: CL 145096 am: CL 144921 Fix add-on javadoc display in Eclipse (bug #1775744)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145163
2009-04-08 18:57:57 -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