Commit Graph

2596 Commits

Author SHA1 Message Date
Raphael Moll
2b50afb334 Merge branch 'readonly-p4-master' 2009-04-18 16:06:44 -07:00
Raphael Moll
aa4c92d8e7 AI 146554: am: CL 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/...
  Original author: android-build

Automated import of CL 146554
2009-04-18 16:05:38 -07:00
Xavier Ducrohet
7c7edd8396 Merge branch 'readonly-p4-master' 2009-04-18 16:04:06 -07:00
Xavier Ducrohet
5540de28e2 AI 146553: am: CL 146248 am: CL 146233 Update Eclipse feature licenses to mention embedded jar files licences.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146553
2009-04-18 16:02:59 -07:00
Xavier Ducrohet
757a80d596 Merge branch 'readonly-p4-master' 2009-04-18 16:01:21 -07:00
Xavier Ducrohet
6584643ee7 AI 146552: am: CL 146247 am: CL 146229 Fix aidl error parsing (BUG #1789273)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146552
2009-04-18 16:00:05 -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
Xavier Ducrohet
0259b7ce07 AI 146845: Fix detecting "home" activities when parsing the Android Manifest
BUG=1798186

Automated import of CL 146845
2009-04-17 17:37:23 -07:00
Xavier Ducrohet
719745bad9 AI 146806: Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
BUG=1797920

Automated import of CL 146806
2009-04-17 16:13:41 -07:00
Xavier Ducrohet
2aff1aad1d AI 146783: Update New project wizard with the less confusing "Build Target" label.
BUG=1795612

Automated import of CL 146783
2009-04-17 14:13:15 -07:00
Xavier Ducrohet
1bce95ed41 AI 146776: fix NPE in AvdManager
BUG=1791664

Automated import of CL 146776
2009-04-17 14:06:15 -07:00
Raphael Moll
546c9c9d41 AI 146770: ADT #1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
  BUG=1797369

Automated import of CL 146770
2009-04-17 14:01: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
Xavier Ducrohet
62ca2ce538 AI 146739: am: CL 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)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146739
2009-04-17 11:18:24 -07:00
Xavier Ducrohet
268c824eb1 AI 146736: am: CL 146674 "Target" nomenclature fixes
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146736
2009-04-17 11:08:12 -07:00
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
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