Commit Graph

2272 Commits

Author SHA1 Message Date
Raphael Moll
06803ce63d AI 146634: am: CL 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.
  Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146634
2009-04-16 16:02:29 -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
568b71576e AI 146597: am: CL 146595 ADT #1794560: prevent from loading more than one SDK at once.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146597
2009-04-16 12:59:01 -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
Raphael Moll
2d919feb3a Merge branch 'readonly-p4-master' 2009-04-16 11:45:38 -07:00
Raphael Moll
fb9412141e AI 146508: am: CL 146035 am: CL 146034 ADT #1786173: NPW should not overwritte user-customized path
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146508
2009-04-16 11:44:28 -07:00
Xavier Ducrohet
f9829628ec Merge branch 'readonly-p4-master' 2009-04-16 11:12:59 -07:00
Xavier Ducrohet
eabaca062a AI 146504: am: CL 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/...
  Original author: android-build

Automated import of CL 146504
2009-04-16 11:11:48 -07:00
Raphael Moll
3d08017479 Merge branch 'readonly-p4-master' 2009-04-16 11:01:53 -07:00
Raphael Moll
75001e746c AI 146500: am: CL 145985 am: CL 145929 ADT #1781076: fix missing \n in "android delete avd"
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146500
2009-04-16 11:00:30 -07:00
Raphael Moll
f760f34a48 Merge branch 'readonly-p4-master' 2009-04-16 10:55:25 -07:00
Raphael Moll
9cdcde3017 AI 146498: am: CL 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/...
  Original author: android-build

Automated import of CL 146498
2009-04-16 10:54:10 -07:00
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