OSDN Git Service

android-x86/sdk.git
13 years agoremove unnecessary stuff on x86 froyo-x86 android-x86-2.2 android-x86-2.2-r2
Chih-Wei Huang [Sun, 15 Nov 2009 04:09:30 +0000 (12:09 +0800)]
remove unnecessary stuff on x86

13 years agoDO NOT MERGE: cherry-pick https://review.source.android.com/14536 into tools_r6.
Brett Chabot [Mon, 3 May 2010 19:47:49 +0000 (12:47 -0700)]
DO NOT MERGE: cherry-pick https://review.source.android.com/14536 into tools_r6.

Original commit message:
------------
Attempt to fix intermittent ADT test run failures.

Change the ADT test run steps to be more deterministic:
1) Start the JDT test run listener server side connection before the client
side (this is invokked via the launch.addProcess call)
2) Don't fork off a separate thread to run the tests. This was always
redundant and inefficient anyway, since the AndroidLaunchController already
forks off a thread to perform the launch

Bug 7976

Change-Id: Ie237e7d83e1f5a945a2061506b7c302c04aef8d0

13 years agoDO NOT MERGE: Cherry pick https://review.source.android.com/14514 into tools_r6,
Brett Chabot [Thu, 6 May 2010 00:11:39 +0000 (17:11 -0700)]
DO NOT MERGE: Cherry pick https://review.source.android.com/14514 into tools_r6,

Original commit message is:
-------------------
Add more console logs during ADT test run.

This is intended to give the user more visibility the exact progress of the
test run. And also better notification of failures.

Also tweak the ADT launch action so it reports its terminated when the test
runner thread is no longer active.

Related bug 7976

Change-Id: If6d0fd94930c57750af3f18bec1c8a0a8b4792e9

14 years agoSDK Setup fixes.
Raphael Moll [Wed, 28 Apr 2010 21:23:50 +0000 (14:23 -0700)]
SDK Setup fixes.

- SDK Setup: cd to the SDK dir, to cope with the case
  where the setup is executed from a shortcut with a
  different base directory.

- SDK Manager: properly detect "update sdk" and "update avds"
  commands.

(Merge SDK Setup fix from master open Change I1f0d32ff)

Change-Id: I35fc55a5967225f19def89d5c3015dd72f26a36c

14 years agoAdd missing windres to build SDK Setup.exe using MinGW/Linux
Raphael [Fri, 16 Apr 2010 02:41:05 +0000 (19:41 -0700)]
Add missing windres to build SDK Setup.exe using MinGW/Linux

(This mirrors what we did with the emulator in Change Ib4ce944b )

(Merge master Change I09f2e154)

14 years agoSDK Manager: Rename "add site" to "add addon-site".
Raphael [Tue, 6 Apr 2010 19:39:23 +0000 (12:39 -0700)]
SDK Manager: Rename "add site" to "add addon-site".

And add explicit information in the dialog.

SDK Bug 2283498

(merge from master Change I1f7ae926)

Change-Id: Ib5bbd02f54785c0eb473b01a055f6196933112ad

14 years agoSDK Manager: add tooltips to "Create new AVD" dialog.
Raphael [Tue, 6 Apr 2010 19:03:13 +0000 (12:03 -0700)]
SDK Manager: add tooltips to "Create new AVD" dialog.

Also rewrods the "Force create" checkbox to be more
explicit -- its tooltip is not visible till the box
is enabled.

(merge from master Change Ifcb014a1)

SDK Bug 2572299

Change-Id: I06608d7f9041cd54385c4db2d24b3e604a965a8e

14 years agoSDK Manager: fix error message when missing XML validator.
Raphael [Mon, 5 Apr 2010 23:44:31 +0000 (16:44 -0700)]
SDK Manager: fix error message when missing XML validator.

SDK Bug 2306644

(merge Change I2e698ea0 from master)

Change-Id: Ia4be1d58c11ebccb811005ac21cf19b8d734e0c1

14 years agoFix Ant test rules.
Xavier Ducrohet [Fri, 2 Apr 2010 22:57:50 +0000 (15:57 -0700)]
Fix Ant test rules.

- Fix import of the main rules since we changed the name!
- Added main project libraries to the classpath of the test project.

Bug: 2568115
Change-Id: I8803b84a179c6301736d7e2558e06a1734eef650

14 years agoFix gen folder sometimes not found during build.
Raphael [Fri, 2 Apr 2010 19:06:33 +0000 (12:06 -0700)]
Fix gen folder sometimes not found during build.
Fix NPE in GLE config composite.

SDK Bug 2567451

Merged from master Change Iae315a57

Change-Id: I75017e7eb2edf377e3bf00a47b809300324babac

14 years agoGLE1: stop showing outline/properties when opening GLE.
Raphael [Fri, 2 Apr 2010 17:25:33 +0000 (10:25 -0700)]
GLE1: stop showing outline/properties when opening GLE.

This CL reverts two annoying behaviors when using GLE:
- it stops opening the outline/properties (either for GLE1 or GLE2...
  in GLE2 will need to use different views and have a better
  behavior anyway.)
- it selects the XML text editor by default for GLE1 since
  the graphical one is mostly useless.

Merged from master Change I634e6dbe

Change-Id: I43731248acec22cff628afc940bea69431bb93dd

14 years agoMerge "ADT: Add native support to library projects." into tools-r6
Xavier Ducrohet [Fri, 2 Apr 2010 04:18:14 +0000 (21:18 -0700)]
Merge "ADT: Add native support to library projects." into tools-r6

14 years agoADT: Add native support to library projects.
Xavier Ducrohet [Fri, 2 Apr 2010 01:22:00 +0000 (18:22 -0700)]
ADT: Add native support to library projects.

Bug: 2565909

Change-Id: I4342c58d9306c13f963c6c52fc202bd28ad25626

14 years agoADT: Customize project selection message.
Xavier Ducrohet [Fri, 2 Apr 2010 00:28:05 +0000 (17:28 -0700)]
ADT: Customize project selection message.

Bug: 2565629
Change-Id: I10a1aceaa5f0d0e157a9eccf7bffb312c7fc3bcc

14 years agoProject lib NPE when closing a lib project.
Raphael [Thu, 1 Apr 2010 22:41:38 +0000 (15:41 -0700)]
Project lib NPE when closing a lib project.

(merge Change Ia77122bc from master)

Change-Id: Iad27a002d387f9537e487ddd669831ef65e9e7b0

14 years agoAdd missing licensing files.
David 'Digit' Turner [Thu, 1 Apr 2010 19:47:21 +0000 (12:47 -0700)]
Add missing licensing files.

Change-Id: I1e3159ac3d322ca70c2d9d7faf3a0ecac4313468

14 years agoADT NPW and GLE: fix AdtPlugin.getEmbeddedFileUrl
Raphael [Wed, 31 Mar 2010 23:25:10 +0000 (16:25 -0700)]
ADT NPW and GLE: fix AdtPlugin.getEmbeddedFileUrl

The method was always adding an initial slash to the path.
This is only needed if the requested path doesn't have one.

This fixes the NPW templates and the GLE scripts usage.

SDK Bug: 2546962

Change-Id: If19eb0a5b931eeb1d160c980f950eb0a974246e8

14 years agoADT NPW: logging for missing templates.
Raphael [Wed, 31 Mar 2010 23:18:37 +0000 (16:18 -0700)]
ADT NPW: logging for missing templates.

This does not solve the NPE, it adds even more logging
which will warn users when something goes horribly wrong.
Basically these logs should never happen.

SDK Bug: 2546962

Change-Id: Ibcd4f6fc9efc478d84236003cabde5ccf520a378

14 years agoADT NPW: NPE when trying to expand project templates.
Raphael [Wed, 31 Mar 2010 21:27:38 +0000 (14:27 -0700)]
ADT NPW: NPE when trying to expand project templates.

This does not solve the NPE, it adds logging so that we
can identify the issue since it doesn't happend in debug mode.
Probably some template is not loaded correctly.

SDK Bug: 2546962

Change-Id: I4dbd6f2e7f88d4e6eae660cb1b5bffb768a59131

14 years agoChange visibility of constructor to let tests run.
Xavier Ducrohet [Wed, 31 Mar 2010 00:50:57 +0000 (17:50 -0700)]
Change visibility of constructor to let tests run.

Bug: 2461413

Change-Id: Ib014b7a5ff032bd925f3eac17a066d81654edff8

14 years agoADT: fix library support: force save on del/up/down.
Xavier Ducrohet [Tue, 30 Mar 2010 23:44:11 +0000 (16:44 -0700)]
ADT: fix library support: force save on del/up/down.

Bug: 2558499
Change-Id: Ic632822000ebd4e86d02a6f0517cf6ca89ee3cbc

14 years agoMerge "Disable export for library projects." into tools-r6
Xavier Ducrohet [Tue, 30 Mar 2010 18:18:18 +0000 (11:18 -0700)]
Merge "Disable export for library projects." into tools-r6

14 years agoDisable export for library projects.
Xavier Ducrohet [Tue, 30 Mar 2010 01:03:17 +0000 (18:03 -0700)]
Disable export for library projects.

Change-Id: I050e5b39027b960e28e6e463dc6048c02848d091

14 years agoDisable launch for library projects.
Xavier Ducrohet [Tue, 30 Mar 2010 01:20:00 +0000 (18:20 -0700)]
Disable launch for library projects.

Change-Id: Ieee0bb7db7e854a2c71600baaf050b8dd0d6582a

14 years agoMerge "ADT: Fix NPE when opening a project-library." into tools-r6
Raphael [Mon, 29 Mar 2010 23:35:19 +0000 (16:35 -0700)]
Merge "ADT: Fix NPE when opening a project-library." into tools-r6

14 years agoADT: Fix NPE when opening a project-library.
Raphael [Mon, 29 Mar 2010 21:20:11 +0000 (14:20 -0700)]
ADT: Fix NPE when opening a project-library.

Use case:
- start IDE with main project open and project library closed.
- open libray.
- NPE when main project refreshes.

Change-Id: I1ebfdc8848b2fe250c56ed90a61bd09c10cd3b4c

14 years agoADT: repo schema change tell users to update ADT, not tools.
Raphael [Mon, 29 Mar 2010 22:38:04 +0000 (15:38 -0700)]
ADT: repo schema change tell users to update ADT, not tools.

SDK Bug 2438713

Change-Id: Ia01ceb415a7b384ff683ab63c2e9a00355fa58c9

14 years agoADT: Don't add duplicate source folder.
Xavier Ducrohet [Sat, 27 Mar 2010 00:38:40 +0000 (17:38 -0700)]
ADT: Don't add duplicate source folder.

When a project is opened, and libraries are resolved, make
sure that linked source folder are not already in the
classpath entries before adding theme.

Bug: 2549864
Change-Id: Ibb946b7e37ff3a9f3bae2c713e31b482c365cec3

14 years agoMerge "ADT: Fix a potential NPE and detect change in gdbserver."
Xavier Ducrohet [Fri, 26 Mar 2010 23:52:18 +0000 (16:52 -0700)]
Merge "ADT: Fix a potential NPE and detect change in gdbserver."

14 years agoADT: Fix a potential NPE and detect change in gdbserver.
Xavier Ducrohet [Fri, 26 Mar 2010 22:52:40 +0000 (15:52 -0700)]
ADT: Fix a potential NPE and detect change in gdbserver.

Change-Id: Ic6f6760854a3fecccdf19117e534170e426dfc03

14 years agoMerge "ADT project-lib: handle \\ dir separator for windows path."
Raphael [Fri, 26 Mar 2010 22:57:53 +0000 (15:57 -0700)]
Merge "ADT project-lib: handle \\ dir separator for windows path."

14 years agoADT: Fix possible NPE in final builder.
Xavier Ducrohet [Fri, 26 Mar 2010 22:31:54 +0000 (15:31 -0700)]
ADT: Fix possible NPE in final builder.

Bug: 2546973
Change-Id: I920f67277486c17e6d2790e6921c98864a8c24b0

14 years agoADT project-lib: handle \\ dir separator for windows path.
Raphael [Fri, 26 Mar 2010 22:17:27 +0000 (15:17 -0700)]
ADT project-lib: handle \\ dir separator for windows path.

SDK Bug 2546969

Change-Id: I594bb83321e19af0968c2b4fedc08712547e5583

14 years agoMerge "Prevent overflow in the AVD creation dialog"
Xavier Ducrohet [Fri, 26 Mar 2010 21:13:35 +0000 (14:13 -0700)]
Merge "Prevent overflow in the AVD creation dialog"

14 years agoPrevent overflow in the AVD creation dialog
Xavier Ducrohet [Sat, 20 Mar 2010 00:48:39 +0000 (17:48 -0700)]
Prevent overflow in the AVD creation dialog

Entering a sd card size too big would overflow
the int variable and revert to the message about
the SD Card being <9MB.

Fixed the overflow for normal values and added a check
on values too big (1TB+)

Bug: 2528357

Change-Id: I052e6ca20c4919ab621138250f21d8eaa7e1d01d

14 years agoSDK Manager: edit errors displayed when ANDROID_SDK_HOME is missing.
Raphael [Fri, 26 Mar 2010 20:57:21 +0000 (13:57 -0700)]
SDK Manager: edit errors displayed when ANDROID_SDK_HOME is missing.

Change-Id: I5748ced7efbcabf77a72670f577269f89da99925

14 years agoSDK Manager: Make AVD names case-insensitive under Windows.
Raphael [Thu, 25 Mar 2010 22:54:26 +0000 (15:54 -0700)]
SDK Manager: Make AVD names case-insensitive under Windows.

SDK Bug 2545530

Change-Id: I015b62ad21aea8fdf741b733d2c5f2a2b08d9e73

14 years agoSDK Manager: correctly handle lack of AvdManager
Raphael [Thu, 25 Mar 2010 22:15:53 +0000 (15:15 -0700)]
SDK Manager: correctly handle lack of AvdManager

Digit's issue in SDK Bug 2535112 was that AndroidLocation failed
to get the SDK home dir; consequently the SdkManager failed to
create an AvdManager and was using a null ptr everywhere.

This CL addresses the core issue here:
- The New AVD button should be grayed if there is AvdManager.

- UpdaterData.initSdk was catching the error and printing an
  error log that is not shown in the UI. There's now an explicit
  dialog box that explains the error and how to solve it.

- UpdaterWindow now aborts if the above dialog is shown. There's
  no need to keep the SDK Manager window around -- OK maybe that's
  a bit harsh since the SDK download/install part can stil lbe used
  by do we really want to deal with an half-functional window?
  No we don't really want that use-case. Let's force the user to
  fix it.

- Fixed the AndroidLocation error message to something more usable.
  Most people can set an environment variable, however few know
  how to "set up the user.home property" (I don't even know how
  to do that.)

- Display the AVD base folder in the AVD page.

Change-Id: I2b9dbc7180e4bb3ff696de257bb260e808301d2d

14 years agoMerge "Clean create_symlink for windows."
Raphael [Fri, 26 Mar 2010 21:02:14 +0000 (14:02 -0700)]
Merge "Clean create_symlink for windows."

14 years agoClean create_symlink for windows.
Raphael [Thu, 25 Mar 2010 20:34:04 +0000 (13:34 -0700)]
Clean create_symlink for windows.

Change-Id: Iac03183e10a49d60f42d69c33e97f3e62ec0c5b9

14 years agoSDK Manager: fix crash when creating new AVD with no home.
Raphael [Thu, 25 Mar 2010 20:31:37 +0000 (13:31 -0700)]
SDK Manager: fix crash when creating new AVD with no home.

This also fixes the logging:
- properly propagate the ISdkLog to the AvdCreateDialog.
- properly use the ADT console for logging when invoked from Eclipse.

SDK Bug 2535112

Change-Id: I9e059fe30fe02c4f5d3e70054b4454f5703df515

14 years agoMerge "Externalize ADT JUnit launch strings."
Brett Chabot [Mon, 22 Mar 2010 19:52:09 +0000 (12:52 -0700)]
Merge "Externalize ADT JUnit launch strings."

14 years agoSave/restore layout configuration.
Xavier Ducrohet [Fri, 19 Mar 2010 02:37:22 +0000 (19:37 -0700)]
Save/restore layout configuration.

When opening layout files in the editor, we know attempt
to return the last state the display was in the last time
the file was used (device/config, locale, theme).

Also simplified somewhat the different UI-initializing
method of the ConfigurationComposite.

Change-Id: Ice6b39775eaf9af46707e4156cd14751be90dcbc

14 years agoExternalize ADT JUnit launch strings.
Brett Chabot [Thu, 18 Mar 2010 04:27:15 +0000 (21:27 -0700)]
Externalize ADT JUnit launch strings.

Bug 1722668

Change-Id: I260525aaccbd6e243b43d4229ef943978f9c1cf1

14 years agoMerge "Add support for the new Ant rules files."
Xavier Ducrohet [Thu, 18 Mar 2010 22:54:36 +0000 (15:54 -0700)]
Merge "Add support for the new Ant rules files."

14 years agoMerge "Put back the old Ant rules and put the new ones under new names."
Xavier Ducrohet [Thu, 18 Mar 2010 22:54:29 +0000 (15:54 -0700)]
Merge "Put back the old Ant rules and put the new ones under new names."

14 years agoADT: New Project Wizard can now scroll if the window is too small
Xavier Ducrohet [Thu, 18 Mar 2010 22:19:10 +0000 (15:19 -0700)]
ADT: New Project Wizard can now scroll if the window is too small

Change-Id: I5fca534ef714a22d54d1a2e6ed028c7f22ddb07e

14 years agoAdd support for the new Ant rules files.
Xavier Ducrohet [Thu, 18 Mar 2010 20:37:06 +0000 (13:37 -0700)]
Add support for the new Ant rules files.

The new Ant rules files are located in <platform>/ant
instead of <platform>/templates

Also, the name of the file now include the revision
number to make it easier to update them, so the custom
task must deal with this.

Change-Id: I8fff9656b17c5afad8f22b23052dfca4c598d712

14 years agoPut back the old Ant rules and put the new ones under new names.
Xavier Ducrohet [Wed, 17 Mar 2010 23:45:26 +0000 (16:45 -0700)]
Put back the old Ant rules and put the new ones under new names.

Change-Id: Ie6c99be890ac78ba578234be0c145147fc6afa5e

14 years agoMerge "ADT: Fix minor NPE in UI Node/descriptors when no SDK is loaded yet."
Raphael [Wed, 17 Mar 2010 23:35:49 +0000 (16:35 -0700)]
Merge "ADT: Fix minor NPE in UI Node/descriptors when no SDK is loaded yet."

14 years agoADT: Fix minor NPE in UI Node/descriptors when no SDK is loaded yet.
Raphael [Wed, 17 Mar 2010 22:41:07 +0000 (15:41 -0700)]
ADT: Fix minor NPE in UI Node/descriptors when no SDK is loaded yet.

Change-Id: I075cc7cce0b9814c2f71a1b61cff117b80d7457b

14 years agoMerge "Update changes.txt for tools r6 and adt 0.9.7"
Xavier Ducrohet [Wed, 17 Mar 2010 22:32:53 +0000 (15:32 -0700)]
Merge "Update changes.txt for tools r6 and adt 0.9.7"

14 years agoMerge "ADT: Do not run apkbuilder on libraries."
Xavier Ducrohet [Wed, 17 Mar 2010 22:32:43 +0000 (15:32 -0700)]
Merge "ADT: Do not run apkbuilder on libraries."

14 years agoADT GLE: Only use children which have a ViewKey of the correct type.
Raphael [Wed, 17 Mar 2010 18:48:07 +0000 (11:48 -0700)]
ADT GLE: Only use children which have a ViewKey of the correct type.

We can't interact with those with have a null key or one of
an incompatible type.

Change-Id: Ida4af3753ec7f62c2061bfa765d660fddef2e087

14 years agoUpdate changes.txt for tools r6 and adt 0.9.7
Xavier Ducrohet [Wed, 17 Mar 2010 18:47:43 +0000 (11:47 -0700)]
Update changes.txt for tools r6 and adt 0.9.7

Change-Id: If2eb8ef197953c616f98b32764d01d7a1eb4d47f

14 years agoADT: Do not run apkbuilder on libraries.
Xavier Ducrohet [Wed, 17 Mar 2010 18:35:59 +0000 (11:35 -0700)]
ADT: Do not run apkbuilder on libraries.

Change-Id: Ic930074835621c8a2e942de6e0f642b7a8dae5c6

14 years agoAttempt to make ADT JUnit error messages more user friendly.
Brett Chabot [Wed, 17 Mar 2010 00:22:25 +0000 (17:22 -0700)]
Attempt to make ADT JUnit error messages more user friendly.

Change-Id: Idb3e03b7273872da0d615c83c0ecbe55b65a6ad1

14 years agoMerge "ADT: New project properties panel for libraries."
Xavier Ducrohet [Wed, 17 Mar 2010 17:41:35 +0000 (10:41 -0700)]
Merge "ADT: New project properties panel for libraries."

14 years agoADT: New project properties panel for libraries.
Xavier Ducrohet [Tue, 16 Mar 2010 17:14:01 +0000 (10:14 -0700)]
ADT: New project properties panel for libraries.

Change-Id: I21efbcfd4bfcb552e1ecceee7cc611efa6b737f3

14 years agoMerge "Handle invalid syntax response in DDMS testrunner parser."
Brett Chabot [Tue, 16 Mar 2010 23:25:53 +0000 (16:25 -0700)]
Merge "Handle invalid syntax response in DDMS testrunner parser."

14 years agoHandle invalid syntax response in DDMS testrunner parser.
Brett Chabot [Tue, 16 Mar 2010 23:15:48 +0000 (16:15 -0700)]
Handle invalid syntax response in DDMS testrunner parser.

Bug 1713395

Change-Id: Id614ddd6c74fa02b5fba6a6fb9e994bae4809bf4

14 years agoADT fix: Manifest editor doesn't reload properly on SDK change.
Raphael [Tue, 16 Mar 2010 22:09:30 +0000 (15:09 -0700)]
ADT fix: Manifest editor doesn't reload properly on SDK change.

Always refresh the pointer to the XML manifest node when descriptors
have changed.

SDK Bug 2517314

Change-Id: Icea694e10924ce2faf9dbd064f94933134a3640d

14 years agoFix HierarchyViewer's loupe mode. It was displaying black with 2.0+ devices.
Romain Guy [Tue, 16 Mar 2010 20:44:30 +0000 (13:44 -0700)]
Fix HierarchyViewer's loupe mode. It was displaying black with 2.0+ devices.

Change-Id: I645520ec8063efd522a5fecf3b0e204e8b94056e

14 years agoADT fix: Manifest editor doesn't reload properly on SDK change.
Raphael [Tue, 16 Mar 2010 04:31:45 +0000 (21:31 -0700)]
ADT fix: Manifest editor doesn't reload properly on SDK change.

Cause: typo due to autocompletion.

SDK Bug 2517314

Change-Id: I81b285b5d5c7781ea0c4e18e500a5d72fb29d994

14 years agoMerge "Handle new sdcard mount point in DDMS."
Xavier Ducrohet [Mon, 15 Mar 2010 22:05:25 +0000 (15:05 -0700)]
Merge "Handle new sdcard mount point in DDMS."

14 years agoFix symbol resolution for libc.
Xavier Ducrohet [Sat, 13 Mar 2010 02:41:08 +0000 (18:41 -0800)]
Fix symbol resolution for libc.

There's no libc_debug anymore. This prevented the
resolution from working for all libc addresses.

Change-Id: Id909719cd38170192b14d05f9ce5e47b640ea469

14 years agoHandle new sdcard mount point in DDMS.
Xavier Ducrohet [Fri, 12 Mar 2010 22:21:23 +0000 (14:21 -0800)]
Handle new sdcard mount point in DDMS.

Bug: 2482010
Change-Id: I68e7f3361bc44251b3767ffe6bcba21e649c4407

14 years agoADT GLE: treat all unknown layout XML nodes as base View objects.
Raphael [Fri, 12 Mar 2010 23:23:51 +0000 (15:23 -0800)]
ADT GLE: treat all unknown layout XML nodes as base View objects.

This adds an interface that UIElementNode queries when it needs
to treat an unknown XML local name. The default is to create
ElementDescriptors, but layout overrides this to deal with
custom view and to create base View descriptors by default.

Change-Id: I639fb169a6b1b53b28715c88f9a037426d7ca88f

14 years agoFix potential NPE detected by Eclipse's static analysis.
Raphael [Fri, 12 Mar 2010 21:18:06 +0000 (13:18 -0800)]
Fix potential NPE detected by Eclipse's static analysis.

Also add some missing NON-NLS.

Change-Id: I5712d9ebc2f971af54592011fa42fe9a901235b2

14 years agoMerge "Disable writting the apk settings."
Xavier Ducrohet [Fri, 12 Mar 2010 20:17:12 +0000 (12:17 -0800)]
Merge "Disable writting the apk settings."

14 years agoDisable writting the apk settings.
Xavier Ducrohet [Fri, 12 Mar 2010 02:48:56 +0000 (18:48 -0800)]
Disable writting the apk settings.

This is not fully supported. Its presence in
default.properties can be confusing the devs
in thinking this is supported.

Also removed a useless helper class.

Change-Id: Ia26b31e258f53964a437c7bbe202da857796df8e

14 years agoMerge "Make ADT requires the exact same version of DDMS."
Xavier Ducrohet [Fri, 12 Mar 2010 19:53:42 +0000 (11:53 -0800)]
Merge "Make ADT requires the exact same version of DDMS."

14 years agoRemove aidl step from library ant rules
Xavier Ducrohet [Fri, 12 Mar 2010 03:54:31 +0000 (19:54 -0800)]
Remove aidl step from library ant rules

aidl is not supported by libraries.

Change-Id: Id37d71ac2f1f48776bf9bff72e2a3099a1511c64

14 years agoMake ADT requires the exact same version of DDMS.
Xavier Ducrohet [Fri, 12 Mar 2010 01:12:57 +0000 (17:12 -0800)]
Make ADT requires the exact same version of DDMS.

Bug: 2129570
Change-Id: Id351fa7f0459a66bf432976d5550d95d7ddc795a

14 years agoMove ant.prop to sdk.prop and up a folder.
Xavier Ducrohet [Thu, 11 Mar 2010 00:49:38 +0000 (16:49 -0800)]
Move ant.prop to sdk.prop and up a folder.

this file is meant to have general sdk properties, not
just Ant ones.

Also separated the library support from the Ant build version.
It's clearer whether or not libraries are supported, and it's
not just tied to Ant anyway (ADT needs to know as well).

Finally use that new property to do checks on library support
in both the custom Ant tasks and ADT.

Depends on a CL in development.git (sdk.atree change).

Change-Id: I77d229ed3fd60f0468b1d3d31f7cf147b03a32fb

14 years agoMerge "Make some errors warnings instead when parsing the SDK."
Xavier Ducrohet [Thu, 11 Mar 2010 21:06:17 +0000 (13:06 -0800)]
Merge "Make some errors warnings instead when parsing the SDK."

14 years agoMerge "Make sure to compare normalize path when comparing libraries."
Xavier Ducrohet [Thu, 11 Mar 2010 21:04:37 +0000 (13:04 -0800)]
Merge "Make sure to compare normalize path when comparing libraries."

14 years agoMake sure to compare normalize path when comparing libraries.
Xavier Ducrohet [Thu, 11 Mar 2010 03:27:53 +0000 (19:27 -0800)]
Make sure to compare normalize path when comparing libraries.

Change-Id: Idb8e7fcf316202c9b9a937e9b67bcce3db419fc0

14 years agoMake some errors warnings instead when parsing the SDK.
Xavier Ducrohet [Wed, 10 Mar 2010 22:29:59 +0000 (14:29 -0800)]
Make some errors warnings instead when parsing the SDK.

Errors are always displayed, warning only in verbose mode.

Bug: 2502224

Change-Id: I8380e63d7a9c936187fa4c557849d9a2bacc13a2

14 years agoHandle incomplete instrumentation test as a failure.
Brett Chabot [Wed, 10 Mar 2010 22:09:02 +0000 (14:09 -0800)]
Handle incomplete instrumentation test as a failure.

Change instrumentation result parser to record a instrumentation test that was
started, but not completed due to a run failure, as a test failure.

Change-Id: I1296a9064a13ee0ba10e8352cd2cc8b54930043e

14 years agoMerge "Add support for multiple instrumentation test result listeners."
Brett Chabot [Wed, 10 Mar 2010 20:57:57 +0000 (12:57 -0800)]
Merge "Add support for multiple instrumentation test result listeners."

14 years agoMerge "ADT: reload libraries when default.properties is edited."
Xavier Ducrohet [Wed, 10 Mar 2010 20:40:03 +0000 (12:40 -0800)]
Merge "ADT: reload libraries when default.properties is edited."

14 years agoAdd support for multiple instrumentation test result listeners.
Brett Chabot [Wed, 10 Mar 2010 03:58:47 +0000 (19:58 -0800)]
Add support for multiple instrumentation test result listeners.

Change-Id: I12b273582880fadefcd233df45960811b8f16d49

14 years agoMerge "Make "Main menu > Run As > Android application" appear in ADT ."
Brett Chabot [Wed, 10 Mar 2010 03:55:13 +0000 (19:55 -0800)]
Merge "Make "Main menu > Run As > Android application" appear in ADT ."

14 years agoMake "Main menu > Run As > Android application" appear in ADT .
Brett Chabot [Wed, 10 Mar 2010 02:24:04 +0000 (18:24 -0800)]
Make "Main menu > Run As > Android application" appear in ADT .

Bug 1841601

Change-Id: I7035584a18cf43eb488215c5ff6832ba499498e1

14 years agoADT: reload libraries when default.properties is edited.
Xavier Ducrohet [Fri, 5 Mar 2010 02:39:27 +0000 (18:39 -0800)]
ADT: reload libraries when default.properties is edited.

Misc: add a folder decorator for library source folders.

Change-Id: I8c9d8abba2341c0caca09ad1bd706613103cee05

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:05:23 +0000 (18:05 -0800)]
Add an empty CleanSpec.mk

Change-Id: Id24b3d91d79b0dac9402c9eaab49c8742a089aaa

14 years agoMerge "ADT GLE: pass dragged FQCN to IViewRules"
Raphael [Tue, 9 Mar 2010 00:48:39 +0000 (16:48 -0800)]
Merge "ADT GLE: pass dragged FQCN to IViewRules"

14 years agoADT GLE: pass dragged FQCN to IViewRules
Raphael [Tue, 9 Mar 2010 00:27:27 +0000 (16:27 -0800)]
ADT GLE: pass dragged FQCN to IViewRules

Change-Id: Iee6868e65ebdb98a8b62dd07d8490e5363e6f3af

14 years agoMerge "SDK Manager: fix displayed dependencies at installation."
Raphael [Tue, 9 Mar 2010 00:45:49 +0000 (16:45 -0800)]
Merge "SDK Manager: fix displayed dependencies at installation."

14 years agoMerge "SDK Manager: Fix typo in addon dir selection."
Raphael [Mon, 8 Mar 2010 21:11:49 +0000 (13:11 -0800)]
Merge "SDK Manager: Fix typo in addon dir selection."

14 years agoADT NPW: fixes in "create project from existing" mode.
Raphael [Sun, 7 Mar 2010 01:36:14 +0000 (17:36 -0800)]
ADT NPW: fixes in "create project from existing" mode.

When an activity is found in the imported manifest:
- do not check that there's a .java matching the activity name found
- do not check the Create Activity checkbox
- do not fill the activity name in the info panel.
- disable app name in info panel and don't fill
- disable minSdkVersion

Change-Id: Ifc15b6e019e45a561c3a6ce781bfc48f3f097962

14 years agoSDK Manager: Fix typo in addon dir selection.
Raphael [Mon, 8 Mar 2010 19:22:46 +0000 (11:22 -0800)]
SDK Manager: Fix typo in addon dir selection.

Follow up for change I1d7412de
SDK Bug 2277394

Change-Id: I553e8db093661f9abfd45791f194929e52775212

14 years agoMerge "SDK Manager recomputes addon install folder name."
Raphael [Mon, 8 Mar 2010 19:13:46 +0000 (11:13 -0800)]
Merge "SDK Manager recomputes addon install folder name."

14 years agoMerge "ADT GLE2: Fix drop coordinates, add FrameLayout.groovy"
Raphael [Mon, 8 Mar 2010 19:13:29 +0000 (11:13 -0800)]
Merge "ADT GLE2: Fix drop coordinates, add FrameLayout.groovy"

14 years agoMerge "NPE in ADT when opening/closing projects if there's a layout open."
Raphael [Mon, 8 Mar 2010 19:11:56 +0000 (11:11 -0800)]
Merge "NPE in ADT when opening/closing projects if there's a layout open."

14 years agoMerge "ADT NPW: fill the samples combo when only one platform is installed."
Raphael [Mon, 8 Mar 2010 19:11:51 +0000 (11:11 -0800)]
Merge "ADT NPW: fill the samples combo when only one platform is installed."

14 years agoSDK Manager recomputes addon install folder name.
Raphael [Sun, 7 Mar 2010 03:54:27 +0000 (19:54 -0800)]
SDK Manager recomputes addon install folder name.

SDK Bug 2277349

Change-Id: I1d7412deeda45c8a85072a7ee8d371b5bee6a9a0

14 years agoMerge "Add ability to detect incomplete test runs to InstrumentationResultParser."
Brett Chabot [Mon, 8 Mar 2010 18:58:11 +0000 (10:58 -0800)]
Merge "Add ability to detect incomplete test runs to InstrumentationResultParser."

14 years agoSDK Manager: fix displayed dependencies at installation.
Raphael [Sun, 7 Mar 2010 03:09:22 +0000 (19:09 -0800)]
SDK Manager: fix displayed dependencies at installation.

2 changes:
- No longer display packages already locally installed as dependencies.
- Changed the wording at install time to clearly indicate that
  "installing package X also requires installing Y and Z".

That's just wording but I think it should clear the confusion and
really says what the code is actually going to do, e.g.:
- if X depends on tools r5 and you don't have r5, it will correctly
  state "requires installing missing tools r5"
- if X depends on tools r5 and you have r6 in the repo, it will
  correctly state "requires installing tools r6".

SDK Bug 2418140

Change-Id: I84f8d145d896102410349241ad39eadd09215de8