Commit Graph

337 Commits

Author SHA1 Message Date
Raphael
b7327498cb ADT #1820114: Provide a quick UI to edit AVD.
This is temporary and will be replaced once we get the standalone AVD UI.
2009-04-29 11:29:55 -07:00
Android (Google) Code Review
594999277e Merge change 627 into donut
* changes:
  Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk />
2009-04-28 11:02:14 -07:00
Xavier Ducrohet
1ec5e2f4bb Move ADT to 0.9.1 2009-04-27 19:02:03 -07:00
Xavier Ducrohet
d1e88a3fcb Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk /> 2009-04-27 18:52:49 -07:00
Xavier Ducrohet
fe3af81580 Fix the opt-in window for usage stat so that it works when running from ADT. 2009-04-27 15:05:06 -07:00
Raphael
aa8c266ed0 Split development/.gitignore into separate gitignore files per project.
Added missing gitignore for layoutlib_utils.
Changed mkstubs build path to use prebuilt/asm-3.1 instead of asm-3.1 project.
2009-04-26 18:12:36 -07:00
Raphael Moll
8cf1231f49 Merge branch 'readonly-p4-master' 2009-04-21 15:50:54 -07:00
Raphael Moll
faffd247ee AI 147264: am: CL 147262 ADT #1761055: Pre-select node types when adding node in manifest & resource based on context
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147264
2009-04-21 15:49:49 -07:00
Raphael Moll
b3b2fa016e AI 147265: am: CL 147264 am: CL 147262 ADT #1761055: Pre-select node types when adding node in manifest & resource based on context
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147265
2009-04-21 15:49:27 -07:00
Xavier Ducrohet
33ae76683b Merge branch 'readonly-p4-master' 2009-04-18 23:33:28 -07:00
Xavier Ducrohet
8317a67c2e AI 146848: am: CL 146847 am: CL 146845 Fix detecting "home" activities when parsing the Android Manifest
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146848
2009-04-18 23:32:15 -07:00
Xavier Ducrohet
55375f3e48 Merge branch 'readonly-p4-master' 2009-04-18 23:16:30 -07:00
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
4a41c457ee Merge branch 'readonly-p4-master' 2009-04-18 22:40:17 -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
b99f174ad8 Merge branch 'readonly-p4-master' 2009-04-18 22:32:09 -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
3a2820b2ae Merge branch 'readonly-p4-master' 2009-04-18 22:13:13 -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
038ef186ae Merge branch 'readonly-p4-master' 2009-04-18 21:57: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
37e25c1900 Merge branch 'readonly-p4-master' 2009-04-18 21:19:03 -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
306f789702 Merge branch 'readonly-p4-master' 2009-04-18 21:02:48 -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
ce6e094b82 Merge branch 'readonly-p4-master' 2009-04-18 16:09:25 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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