Commit Graph

72 Commits

Author SHA1 Message Date
Xavier Ducrohet
f065b3f626 AI 146839: am: CL 146784 am: CL 146783 Update New project wizard with the less confusing "Build Target" label.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146839
2009-04-18 23:15:16 -07:00
Xavier Ducrohet
20ae70599f AI 146825: am: CL 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/...
  Original author: android-build

Automated import of CL 146825
2009-04-18 22:39:06 -07:00
Xavier Ducrohet
a3dfdef1b8 AI 146822: am: CL 146736 am: CL 146674 "Target" nomenclature fixes
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146822
2009-04-18 22:31:03 -07:00
Raphael Moll
e2404ec9d7 AI 146638: am: CL 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/...
  Original author: android-build

Automated import of CL 146638
2009-04-18 22:12:06 -07:00
Raphael Moll
7ceec5e103 AI 146600: am: CL 146597 am: CL 146595 ADT #1794560: prevent from loading more than one SDK at once.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146600
2009-04-18 21:55:54 -07:00
Xavier Ducrohet
17c6f4deb6 AI 146576: am: CL 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/...
  Original author: android-build

Automated import of CL 146576
2009-04-18 21:17:49 -07:00
Raphael Moll
0930502ee4 AI 146570: am: CL 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/...
  Original author: android-build

Automated import of CL 146570
2009-04-18 21:01:33 -07:00
Raphael Moll
bc15cfa7d2 AI 146555: am: CL 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/...
  Original author: android-build

Automated import of CL 146555
2009-04-18 16:08:17 -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
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
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
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
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
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
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
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
Raphael Moll
085bd7bd57 AI 144491: am: CL 144489 am: CL 144487 ADT: Add "New String" refactoring to the other Resource Chooser.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144491
2009-04-03 13:37:10 -07:00
Raphael Moll
45857dfe38 AI 144490: am: CL 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/...
  Original author: android-build

Automated import of CL 144490
2009-04-03 13:34:00 -07:00
Xavier Ducrohet
17915d4e6d AI 144419: am: CL 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/...
  Original author: android-build

Automated import of CL 144419
2009-04-02 23:52:36 -07:00
Brett Chabot
90d63fa3a4 AI 144408: am: CL 144322 am: CL 144320 ADT: Fix debugger launch connection when debugging Android JUnit
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144408
2009-04-02 23:23:38 -07:00
Raphael Moll
a2f0d15ace AI 144402: am: CL 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/...
  Original author: android-build

Automated import of CL 144402
2009-04-02 23:07:49 -07:00
Xavier Ducrohet
891bad051d AI 144394: am: CL 144254 am: CL 144252 Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144394
2009-04-02 22:46:50 -07:00
Raphael Moll
57392cb174 AI 144095: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 144095
2009-04-02 09:27:21 -07:00
Brett Chabot
ac2a8469f2 AI 143919: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143919
2009-03-31 19:16:14 -07:00
Raphael Moll
99a0b5c4a2 AI 143887: am: CL 143886 am: CL 143882 ADT #1743364: Refactor misc UI widgets together in package adt.ui.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143887
2009-03-31 17:26:38 -07:00
Raphael Moll
4ca8a78df7 AI 143885: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143885
2009-03-31 17:24:12 -07:00
Xavier Ducrohet
363efea89c AI 143701: am: CL 143672 am: CL 143499 Fix the icon for the JUnit launch shortcut
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143701
2009-03-31 14:18:00 -07:00
Xavier Ducrohet
153b961cb6 AI 143410: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143410
2009-03-27 20:06:23 -07:00
Raphael Moll
f4ecf73761 AI 143401: am: CL 143273 am: CL 143259 ADT #1743364: Refactor all wizard classes & their actions together.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143401
2009-03-27 20:01:34 -07:00
Xavier Ducrohet
5398a409ab AI 143399: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143399
2009-03-27 19:59:24 -07:00
Xavier Ducrohet
970bafbfae AI 143398: am: CL 143269 am: CL 143143 Update ADT changes.txt with JUnit features, and properly restrict ADT package access.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143398
2009-03-27 19:58:10 -07:00
Raphael Moll
f4d5d5c082 AI 143350: am: CL 143199 am: CL 142978 ADT #1738393: fix typo in launch controller.
Also fixed some javadoc warnings.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143350
2009-03-27 19:02:53 -07:00
Raphael Moll
66c0d68c53 AI 143304: am: CL 143157 am: CL 142852 ADT fix #1682502: New XML File Wizard root combo is sometimes empty.
Two issues in fact:
  1- On some selections the resource type is determined before the
  root values are computed.
  2- Added an sdk target change listener to refresh the project's roots
  if the SDK was still loading or if the project changed targets.
  The New Project Wizard has been updated with a similar sdk change
  listener to refresh the target selector. This is useful when the NPW
  is used before the targets have finished loading, e.g. upon lauching
  Eclipse.
  Note: this requires CL 142690 to compile.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143304
2009-03-27 17:54:21 -07:00
Raphael Moll
9350fdf467 AI 143303: am: CL 143156 am: CL 142851 ADT GLE fix #1731389: widgets dropped in <merge> lack their default layout_widht/height.
Issue: <merge> did not have layout attributes. When new widgets are
  dropped in a layout, GLE only adds layout width/height if the parent
  supports them.
  Fix: Make <merge> have layout attributes from FrameLayout. The ideal
  choice would have been ViewGroup, but since ViewGroup is abstract we
  don't have any ViewDescriptor for it. FrameLayout should provide a
  sensible replacement.
  Note: this requires CL 142780 to compile.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143303
2009-03-27 17:53:01 -07:00
Raphael Moll
11d34ff88b Automated import from //branches/master/...@142745,142745 2009-03-25 15:57:47 -07:00
Raphael Moll
1de6b8b355 Automated import from //branches/master/...@142744,142744 2009-03-25 15:56:43 -07:00
Raphael Moll
e8c4a0d267 Automated import from //branches/master/...@142743,142743 2009-03-25 15:55:29 -07:00
Raphael Moll
8652fb4175 Automated import from //branches/master/...@142292,142292 2009-03-24 22:30:00 -07:00
Raphael Moll
c9c303f28e Automated import from //branches/master/...@142288,142288 2009-03-24 22:29:25 -07:00
Raphael Moll
36105790be Automated import from //branches/master/...@141824,141824 2009-03-24 21:01:03 -07:00
Xavier Ducrohet
2ab5f37d9d Automated import from //branches/master/...@141811,141811 2009-03-24 20:57:46 -07:00
Brett Chabot
6dc9883c6e Automated import from //branches/master/...@141783,141783 2009-03-24 20:54:44 -07:00
Xavier Ducrohet
0b0b08bbf7 Automated import from //branches/master/...@141558,141558 2009-03-24 20:33:11 -07:00
Ricky Ng-Adam
7a5c517aca Automated import from //branches/master/...@141519,141519 2009-03-24 20:27:43 -07:00
Ricky Ng-Adam
1d6b4ed813 Automated import from //branches/master/...@141511,141511 2009-03-24 20:26:27 -07:00
Raphael Moll
8f87735e01 Automated import from //branches/master/...@141483,141483 2009-03-24 20:24:09 -07:00
Brett Chabot
106ca48f72 Automated import from //branches/master/...@141464,141464 2009-03-24 20:21:14 -07:00
Ricky Ng-Adam
0a001932dc Automated import from //branches/master/...@141414,141414 2009-03-24 20:14:26 -07:00
Xavier Ducrohet
05fcbf1335 Automated import from //branches/master/...@140724,140724 2009-03-24 18:20:00 -07:00
Xavier Ducrohet
ea2f618d74 Automated import from //branches/master/...@140701,140701 2009-03-24 18:15:58 -07:00