OSDN Git Service

android-x86/sdk.git
12 years agoexclude unnecessary qemu stuff from android-x86 gingerbread-x86
Chih-Wei Huang [Mon, 17 Jan 2011 02:37:56 +0000 (10:37 +0800)]
exclude unnecessary qemu stuff from android-x86

13 years agoMerge "Merge "Fix emulator GPS support"" into tools_r7
Brett Chabot [Tue, 3 May 2011 23:04:17 +0000 (16:04 -0700)]
Merge "Merge "Fix emulator GPS support"" into tools_r7

13 years agoMerge "Fix emulator GPS support"
Mike Lockwood [Tue, 15 Feb 2011 04:54:04 +0000 (23:54 -0500)]
Merge "Fix emulator GPS support"

Use create_thread_cb instead of pthread_create to create gps_state_thread
so it can safely call into the Java framework.

BUG: 3375089

Signed-off-by: Mike Lockwood <lockwood@android.com>
(cherry picked from commit 11e72f25bfc05bef01ef1198dc9c9f5f7ee4ec52)

Change-Id: I73f04a3589f14121e8827120e3f182432b1ec5b8

13 years agoMerge "Add missing property expected by XML repository." into tools_r7
Ralf [Fri, 25 Mar 2011 23:36:59 +0000 (16:36 -0700)]
Merge "Add missing property expected by XML repository." into tools_r7

13 years agoAdd missing property expected by XML repository.
Ralf [Fri, 25 Mar 2011 21:15:25 +0000 (14:15 -0700)]
Add missing property expected by XML repository.

This adds a property required to conform to the latest
XML Repository schema version 3, used by the build system.
It is ignored by older builds.

Change-Id: I98c8d62c724ce3c5465b2c9161a4444ecc25363d

13 years agoMerge "Update XML schemas used for SDK Repository. Do not merge." into tools_r7
Ralf [Fri, 25 Mar 2011 19:58:11 +0000 (12:58 -0700)]
Merge "Update XML schemas used for SDK Repository. Do not merge." into tools_r7

13 years agoUpdate XML schemas used for SDK Repository. Do not merge.
Ralf [Fri, 25 Mar 2011 18:04:52 +0000 (11:04 -0700)]
Update XML schemas used for SDK Repository. Do not merge.

Note these are not used by the tools' Java code (the SdkRepository
max schema is still 2 here).
This is only useful to help with build scripts which expect these files.

Change-Id: Ife65fae7e65e77f8a26e0578c097ee9235901a26

13 years agoMerge "Volume keys need to be wake keys in order for them to work when the screen...
Xavier Ducrohet [Tue, 12 Oct 2010 18:16:41 +0000 (11:16 -0700)]
Merge "Volume keys need to be wake keys in order for them to work when the screen is off." into tools_r7

13 years agoVolume keys need to be wake keys in order for them to work when the screen is off.
Joe Onorato [Mon, 11 Oct 2010 18:29:33 +0000 (11:29 -0700)]
Volume keys need to be wake keys in order for them to work when the screen is off.

Bug: 3083496
Change-Id: I9b456cf002a8a9d953d631c163054f8ccc9572fa

13 years agoSDK specific atree file. DO NOT MERGE.
Xavier Ducrohet [Mon, 27 Sep 2010 22:48:38 +0000 (15:48 -0700)]
SDK specific atree file. DO NOT MERGE.

Change-Id: I804f0884cb090943a968091528f60390e700bc7c

13 years agoADT: change to 0.9.9 (fix for ADT removing source folders)
Raphael Moll [Wed, 22 Sep 2010 19:41:35 +0000 (12:41 -0700)]
ADT: change to 0.9.9 (fix for ADT removing source folders)

Change-Id: I0a177531edd35d91a7994760881474f285dc7832

13 years agoFix an issue where src files can be deleted in ADT.
Xavier Ducrohet [Wed, 22 Sep 2010 17:23:38 +0000 (10:23 -0700)]
Fix an issue where src files can be deleted in ADT.

Older projects generated the java class (R, aidl) into
the main src folder.

There is code in ADT to migrate them to the new model
(where generated classes go in gen/) by removing derived
resources from the source folder. This is also used
by the clean feature of the pre-compiler builder
to clean the content of gen.

To make it better, in ADT 0.9.8, we added something to
delete the folder containing the derived resources.
Except this doesn't check if the folder is not empty
after the derived resources have been deleted (or
not if it contained non-derived resources).

this means importing older projects (or possibly
team projects -- see http://b.android.com/11347)
would delete the whole content of the source folder.

This change makes sure that only folders for which
all members have been deleted are deleted.

Change-Id: I1ddbb3bd4c37859c7ddbf660377c598bae246269

13 years agoRevert "Fixed problem with keymap files copied to target"
Jean-Baptiste Queru [Wed, 1 Sep 2010 13:16:36 +0000 (06:16 -0700)]
Revert "Fixed problem with keymap files copied to target"

This reverts commit 1fc95cae8ec2ccfe134ff279ed9082311ad0d877.

13 years agoFixed problem with keymap files copied to target
Magnus Karlsson [Mon, 30 Aug 2010 14:54:03 +0000 (16:54 +0200)]
Fixed problem with keymap files copied to target

Moved Android.mk and keymap files except AVRCP.kl from sdk/emulator/keymaps
to build/target/board/generic. This causes the keymap files to copied into
the system image of generic and sdk products, but not into the system image
of HW products. Originally the qwerty.kl was copied to target no matter
if the target had a qwerty keyboard or not, which is the case for e.g.
the Nexus One.

Change-Id: I6f76bcd4e23b8478f36f213090d22d7d3ea1255b

13 years agoAdd Ant property when in release mode.
Xavier Ducrohet [Fri, 27 Aug 2010 20:47:42 +0000 (13:47 -0700)]
Add Ant property when in release mode.

Also fix some NPE in usage of ISdkLog.warning

Change-Id: Id2803f7692b82d0d2f5dea49f17f916509a7b205

13 years agoMerge "SDK Launcher: add win32 app manifest" into tools_r7
Xavier Ducrohet [Mon, 23 Aug 2010 22:14:24 +0000 (15:14 -0700)]
Merge "SDK Launcher: add win32 app manifest" into tools_r7

13 years agoSDK Launcher: add win32 app manifest
Raphael Moll [Sun, 22 Aug 2010 00:59:12 +0000 (17:59 -0700)]
SDK Launcher: add win32 app manifest

Merged from master to tools_r7

Change-Id: Ic9b8d265868b0e062fce067312c9e9fa89bba3c7

13 years agoMerge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"" into tools_r7
Xavier Ducrohet [Mon, 23 Aug 2010 22:13:28 +0000 (15:13 -0700)]
Merge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"" into tools_r7

13 years agoSDK: Rename "SDK Setup.exe" to "SDK Manager.exe"
Raphael Moll [Sun, 22 Aug 2010 01:03:49 +0000 (18:03 -0700)]
SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"

Merged from master to tools_r7

Change-Id: Ib8e702344dd2d593d7f7e6d56b0c3534480ff376

13 years agoImprove capability of the post-compile target.
Xavier Ducrohet [Mon, 23 Aug 2010 21:42:33 +0000 (14:42 -0700)]
Improve capability of the post-compile target.

Make the dex target use a different property to read
the input folder for classes to dexify.
By default the new property has the same value but can
be overriden if a post-compile target modify (obfuscate)
code into a different location.

Merged from master into tools_r7

Change-Id: I1fe2fd2a2678d8c4354702250cea1481f74dd7cf

13 years agoAndroid.bat support for Java 64-bit.
Raphael Moll [Sat, 21 Aug 2010 04:54:59 +0000 (21:54 -0700)]
Android.bat support for Java 64-bit.

android.bat: properly encode file using CRLF (not Unix mode).
find_java.bat: properly check for Java in the 64-bit ProgramFiles path.

Change-Id: If4a106f144b5b890a62fc5543b35df85ab5ab06c

13 years agoMerge sdklib manifest fix for r7. DO NOT MERGE.
Xavier Ducrohet [Wed, 18 Aug 2010 18:54:31 +0000 (11:54 -0700)]
Merge sdklib manifest fix for r7. DO NOT MERGE.

Original commit msg:
Fix missing dependency in the sdklib manifest + improved error reporting.

Change-Id: I778a839cc280db8bcc7a4a0b11378119de9aed57

13 years agoFix broken generation of default keystore. Do not merge.
Xavier Ducrohet [Thu, 29 Jul 2010 19:05:51 +0000 (12:05 -0700)]
Fix broken generation of default keystore. Do not merge.

The location of the debug keystore was validated (to make sure
it was not a directory or an unreadable file), but it also threw
an exception if the file didn't exist, preventing the creation
from happening.

This is integrated from master.

Change-Id: I4025bb7282c1c4ea5dd56d6c2497c9c670ee5579

13 years agoFix missing goto label in android.bat
Xavier Ducrohet [Tue, 27 Jul 2010 23:52:25 +0000 (16:52 -0700)]
Fix missing goto label in android.bat

Change-Id: I1da6089cabe4a00567f2b7d1a7e5d2847f5799d4

13 years agoFix issue with qualifier combo box not filled up in device mode DO NOT MERGE
Xavier Ducrohet [Mon, 26 Jul 2010 21:02:57 +0000 (14:02 -0700)]
Fix issue with qualifier combo box not filled up in device mode DO NOT MERGE

device mode is when the qualifier values must match what a device
would report. For instance nodpi should not be selectable.

Cherry-picked from master to tools_r7

Change-Id: I22cbd5b3522ae17d4d7f61e95ca20deeea825a79

13 years agoFix a potential npe preventing the library project selection from working.
Xavier Ducrohet [Thu, 22 Jul 2010 18:46:11 +0000 (11:46 -0700)]
Fix a potential npe preventing the library project selection from working.

If the workspace has broken projects, Sdk.getProjectState() can return
null for them, causing an NPE in the IProjectChooserFilter.

I had fixed NonLibraryProjectOnlyFilter but apparently, not
LibraryProjectOnlyFilter.

Change-Id: I9a85ce61885888e0107acf2f9cb5e3491ed8f1fb

13 years agoFix DDMS's dependencies in the feature declaration.
Xavier Ducrohet [Tue, 20 Jul 2010 00:21:00 +0000 (17:21 -0700)]
Fix DDMS's dependencies in the feature declaration.

Change-Id: I215862930f2336b59e6d733bff4ed9dffcca58d8

13 years agoDisable setDerived(true) on linked library source folders.
Xavier Ducrohet [Mon, 19 Jul 2010 21:21:18 +0000 (14:21 -0700)]
Disable setDerived(true) on linked library source folders.

It turns out it's a bad idea as the user will get a warning
when editing the files in the linked folder. Eclipse documentation
says that Team plug-ins should handle the linked folder and not
add them to the repository.

Change-Id: I1f439cf2007a730a4d857ff98283311b1cf36afd

13 years agoMerge "Improve library link/unlink again."
Xavier Ducrohet [Fri, 16 Jul 2010 01:44:03 +0000 (18:44 -0700)]
Merge "Improve library link/unlink again."

13 years agoMerge "Add new exceptions to ddmlib."
Xavier Ducrohet [Fri, 16 Jul 2010 00:10:32 +0000 (17:10 -0700)]
Merge "Add new exceptions to ddmlib."

13 years agoAdd new exceptions to ddmlib.
Xavier Ducrohet [Thu, 15 Jul 2010 03:17:50 +0000 (20:17 -0700)]
Add new exceptions to ddmlib.

- AdbCommandRejectedException is thrown when adb doesn't respond
to the command with OKAY. This used to throw a normal IOException
but it can be useful to throw a different type. The message
of the exception is the error string returned by adb.

- ShellCommandUnresponsiveException is the new "timeout" exception
for output received by shell command running on devices. This
makes the distinction between timeout when talking to adb and
issue with shell command not outputting anything. Also made the
javadoc for the IDevice.executeShellCommand clearer to what the
"timeout" (renamed to maxTimeToOutputResponse) does.

Also added a better timeout to the IDevice methods to install/uninstall
apps as the default 5sec timeout was likely to be too low.
Current default value is 2min.

Change-Id: I4ecb9498926295a4e801e71b33df5d611e8120b8

13 years agoImprove library link/unlink again.
Xavier Ducrohet [Thu, 15 Jul 2010 00:28:24 +0000 (17:28 -0700)]
Improve library link/unlink again.

Improved library list added to the bundle by comparing
the old and new library list when something changed.
This is the only way to ensure that all indirect libraries
are added removed.

Since it means we now have a list of added and a list
of removed libraries, the link and unlink methods are
merged into a single updateLink method that does it all.

This also means that there's only one type of action
bundle, so the class/fields name have been updated to
reflect the new way it's done.

Change-Id: I808a8f1536171ebebca3a9bb5370e9dc0b6433d5

13 years agoMerge "Force recompilation after library changes and fix some clean-up/refresh issue...
Xavier Ducrohet [Thu, 15 Jul 2010 17:14:42 +0000 (10:14 -0700)]
Merge "Force recompilation after library changes and fix some clean-up/refresh issue in the builders"

13 years agoAdd support for specifying adb timeout in ddms testrunner.
Brett Chabot [Thu, 15 Jul 2010 00:06:05 +0000 (17:06 -0700)]
Add support for specifying adb timeout in ddms testrunner.

Also handle TimeoutException in ADT test runner.

Change-Id: I585c2818f1c77ec80222bad282ae10b3ee8f5e1c

13 years agoFix some javadocs regarding the timeout API change.
Xavier Ducrohet [Wed, 14 Jul 2010 02:42:26 +0000 (19:42 -0700)]
Fix some javadocs regarding the timeout API change.

Change-Id: I7e96c253aa07b124bceab99b6f5ce11e17f7b950

13 years agoMerge "Fix how the default.prop modifications from the UI are reloaded."
Xavier Ducrohet [Wed, 14 Jul 2010 02:22:20 +0000 (19:22 -0700)]
Merge "Fix how the default.prop modifications from the UI are reloaded."

13 years agoForce recompilation after library changes and fix some clean-up/refresh issue in...
Xavier Ducrohet [Wed, 14 Jul 2010 01:40:29 +0000 (18:40 -0700)]
Force recompilation after library changes and fix some clean-up/refresh issue in the builders

One of the fix is that the gen folder is no longer deleted on clean (or full build)
which should reduce errors where eclipse complain the gen folder is missing
even though it's present.

Also move ProjectState into SDK as it's really only managed
by the SDK and it allows us to move its constructor to package private.

Change-Id: I321ac23f756652e7082297d2ef560a654e97cf67

13 years agoMerge "Fix a possible deadlock in Eclipse/ADT."
Xavier Ducrohet [Wed, 14 Jul 2010 01:46:09 +0000 (18:46 -0700)]
Merge "Fix a possible deadlock in Eclipse/ADT."

13 years agoFix how the default.prop modifications from the UI are reloaded.
Xavier Ducrohet [Mon, 12 Jul 2010 23:04:21 +0000 (16:04 -0700)]
Fix how the default.prop modifications from the UI are reloaded.

The UI to edit the target and library changed the ProjectState
directly, causing havoc on the filelistener which *must* be the
entry point to reload modification into ProjectState.

This patch makes the UI work on a copy of the properties which
are then saved separately from the ProjectState (whose save()
method disappeared).

A next patch will enforce the ProjectProperties of the ProjectState
to be read only so that this does not happen again (forcing
to clone it before modifying/saving it).

This patch also fixes the reloading/relinking of the libraries upon
modification of the default.prop but more work is needed here.

Change-Id: Ie6a23111242005eb91b7533b506c029ba602f0f3

13 years agoFix a possible deadlock in Eclipse/ADT.
Xavier Ducrohet [Fri, 2 Jul 2010 01:05:58 +0000 (18:05 -0700)]
Fix a possible deadlock in Eclipse/ADT.

The issue is that sometimes phones will stop responding to shell
commands launched through adb.

One of these commands is executed in DeviceMonitor#queryNewDeviceForInfo
However this is done from a loop that acquires a lock that is used in
other places, including building. This basically renders eclipse
useless as Eclipse will refuse to do anything until the build is
finished.

The fix is twofold:
First, move the call to queryNewDeviceForInfo outside of the
synchronized block.

This fixes the deadlock issue but this will not fix the problem
that the device monitor will still be stuck with a shell command
that never returns.

The second part of the fix is to add a timeout to shell command
execution. Additionnaly, this patch contains a lot of clean up
of the adb API in ddmlib, especially around exceptions thrown
during timeout.

Change-Id: Ice8ef787c825e0e7b535ff0bb939bf6f25e3d7e4

13 years agoMerge "Remove the modal dialog that showed when ADT start with no SDK setup."
Xavier Ducrohet [Mon, 12 Jul 2010 19:28:14 +0000 (12:28 -0700)]
Merge "Remove the modal dialog that showed when ADT start with no SDK setup."

13 years agoAdd hours to ddms log timestamp.
Brett Chabot [Mon, 12 Jul 2010 18:29:44 +0000 (11:29 -0700)]
Add hours to ddms log timestamp.

Change-Id: I293b049e73e4776d969706b28ae7533ed581dfcd

13 years agoRemove the modal dialog that showed when ADT start with no SDK setup.
Xavier Ducrohet [Fri, 9 Jul 2010 23:30:34 +0000 (16:30 -0700)]
Remove the modal dialog that showed when ADT start with no SDK setup.

Change-Id: Ibb2085fbbb59216f73da376b8283d2ccc1652c08

13 years agoFix a memory leak in the Graphical Layout Editor.
Xavier Ducrohet [Fri, 9 Jul 2010 19:48:04 +0000 (12:48 -0700)]
Fix a memory leak in the Graphical Layout Editor.

The rendering requires a looper, but never actually uses it.
Some views (like scrollView) make use of messages during rendering
putting messages into the looper message queue which was never
read or emptied.

In the case of the scrollview, the message actually contains
a reference to the scrollview, which would then leak (with all
its children views)

The fix is to delete the looper that was created. This must be
done by reflection as there's no public access to it, and this
must be done from ADT so that all versions of layoutlib get
the fix.

Change-Id: I998ad0ec17e77e36a42d77f8ab888917a9ff6441

13 years agoMerge "ADT: dock/night combos in layout editor."
Xavier Ducrohet [Fri, 9 Jul 2010 21:17:10 +0000 (14:17 -0700)]
Merge "ADT: dock/night combos in layout editor."

13 years agoMerge "Prevent output to console when closing several projects+libs at once."
Xavier Ducrohet [Fri, 9 Jul 2010 17:03:54 +0000 (10:03 -0700)]
Merge "Prevent output to console when closing several projects+libs at once."

13 years agoPrevent output to console when closing several projects+libs at once.
Xavier Ducrohet [Fri, 9 Jul 2010 01:00:22 +0000 (18:00 -0700)]
Prevent output to console when closing several projects+libs at once.

This is due to link updates on closed projects.

Change-Id: I64eda43cbe574efc6e76f2a83490b5cb2585dfc4

13 years agoAdd new default devices to the layout editor.
Xavier Ducrohet [Fri, 9 Jul 2010 00:37:45 +0000 (17:37 -0700)]
Add new default devices to the layout editor.

Those devices represent one of each res/density combo for officially
supported screens.

See http://developer.android.com/guide/practices/screens_support.html#range

Change-Id: I6b8348ae1ab96b6b1f27fa2afd655ff6f3866dd8

13 years agoADT: dock/night combos in layout editor.
Xavier Ducrohet [Wed, 7 Jul 2010 17:44:36 +0000 (10:44 -0700)]
ADT: dock/night combos in layout editor.

Added proper support for qualifiers that have fake values
like "__" for language/region or "none" for dock mode. Those
are used by ADT internally but do not represent valid values, so
some UI (like the config creator) must handle them.

They didn't do it before which led to some weird UI behavior such
as a language or region qualifier with "__" value.

Added some missing icons.

Clean-up some qualifiers by moving similar code into a base class
for enum based qualifiers

Removed dependency on the current IAndroidTarget to get the
folder segment corresponding to a qualifier as it's not needed
anymore now that targets use recent versions of aapt (and will
move to using the most recent one soon).

Change-Id: I29c7bb5a7783db1696f53d0e38f46f64671e5e0d

13 years agoMark linked folders from Library projects to be derived.
Xavier Ducrohet [Thu, 8 Jul 2010 18:33:49 +0000 (11:33 -0700)]
Mark linked folders from Library projects to be derived.

Team plug-ins should already ignore linked resources, but it seems
that some don't so marking them as derived is a safer bet.

Change-Id: Id1c82ae8a5aafabd39829034aa805cd3339f0c1a

13 years agoMerge "ADT: Fix NPE in resource editor on Eclipse 3.6"
Raphael Moll [Fri, 2 Jul 2010 22:55:40 +0000 (15:55 -0700)]
Merge "ADT: Fix NPE in resource editor on Eclipse 3.6"

13 years agoMerge "Disable unsupported feature for now."
Xavier Ducrohet [Fri, 2 Jul 2010 22:06:25 +0000 (15:06 -0700)]
Merge "Disable unsupported feature for now."

13 years agoADT: Fix NPE in resource editor on Eclipse 3.6
Raphael Moll [Fri, 2 Jul 2010 21:41:39 +0000 (14:41 -0700)]
ADT: Fix NPE in resource editor on Eclipse 3.6

SDK Bug: 2814467

The fix is a workaround around Eclipse issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318108

Change-Id: I5684db244d5663ffa47407bd356a5bd233578612

13 years agoMerge "ADT GLE2: synchronized selection between canvas, outline and properties."
Raphael Moll [Fri, 2 Jul 2010 21:54:41 +0000 (14:54 -0700)]
Merge "ADT GLE2: synchronized selection between canvas, outline and properties."

13 years agoDisable unsupported feature for now.
Xavier Ducrohet [Fri, 2 Jul 2010 18:51:54 +0000 (11:51 -0700)]
Disable unsupported feature for now.

Change-Id: I2f2af2a0ba6087b99a7d0b9ed3acea62a48991f4

13 years agoUpdate change log with libraries in libraries.
Xavier Ducrohet [Fri, 2 Jul 2010 17:39:07 +0000 (10:39 -0700)]
Update change log with libraries in libraries.

Change-Id: Ie6c37e7273ef5ed6c006170f32af396f0b4ef98d

13 years agoMerge "Update Android project properties to support libraries depending on libraries."
Xavier Ducrohet [Fri, 2 Jul 2010 16:55:44 +0000 (09:55 -0700)]
Merge "Update Android project properties to support libraries depending on libraries."

13 years agoMerge "Fix icons for some DDMS view by cleaning up an redundant/obsolete .gitignore...
Xavier Ducrohet [Fri, 2 Jul 2010 16:55:36 +0000 (09:55 -0700)]
Merge "Fix icons for some DDMS view by cleaning up an redundant/obsolete .gitignore file."

13 years agoMerge "ADT support for libraries depending on libraries."
Xavier Ducrohet [Fri, 2 Jul 2010 16:55:33 +0000 (09:55 -0700)]
Merge "ADT support for libraries depending on libraries."

13 years agoUpdate Android project properties to support libraries depending on libraries.
Xavier Ducrohet [Fri, 2 Jul 2010 01:01:43 +0000 (18:01 -0700)]
Update Android project properties to support libraries depending on libraries.

This is simply enabling the ability to add libraries to a library project
in the UI.

Also updated the change log.

Change-Id: Ibaf67ce8c2af10ff890038a72de9f176bfae8592

13 years agoADT support for libraries depending on libraries.
Xavier Ducrohet [Wed, 30 Jun 2010 01:03:32 +0000 (18:03 -0700)]
ADT support for libraries depending on libraries.

Major change in the workflow linking projects and library together.
This is now done through a single job with a queue of action to do.
This ensure that each new opened project is processed one at a time
and not in parallel which would generate problems.

Change-Id: I2a05ada293a21faba65bb639092f77ff7e5ffb2d

13 years agoFix icons for some DDMS view by cleaning up an redundant/obsolete .gitignore file.
Xavier Ducrohet [Fri, 2 Jul 2010 00:29:03 +0000 (17:29 -0700)]
Fix icons for some DDMS view by cleaning up an redundant/obsolete .gitignore file.

Change-Id: I3fc0fb9195b661b1b6732128cfd95e518ffb93b1

13 years agoMerge "Allow for platform projects to be used with the "debug running app" button."
Xavier Ducrohet [Thu, 1 Jul 2010 16:30:02 +0000 (09:30 -0700)]
Merge "Allow for platform projects to be used with the "debug running app" button."

13 years agoADT GLE2: synchronized selection between canvas, outline and properties.
Raphael Moll [Thu, 1 Jul 2010 06:33:42 +0000 (23:33 -0700)]
ADT GLE2: synchronized selection between canvas, outline and properties.

This CL adds a LayoutCanvasViewer, a JFace viewer wrapping the
LayoutCanvas control. This allows the canvas to participate in the
workbench "site" selection.

To summarize:
- The workbench site selection service can be seen as "centralized"
  service that registers selection providers and selection listeners.
- The editor part and the ouline are selection providers.
- The editor part, the outline and the property sheet are listener
  which all listen to each others indirectly.
- Hilarity ensues.

I tried to add enough javadoc in the classes to explain what's
going on, so please tell me if more is needed. (Editor part also
has a link to the one web page article that brings some sense to
this stuff. I recommend reading the web page first.)

Change-Id: Ief83f9fe2fc1cb5c0c1fa9ae174a58c8daf17ac4

13 years agoMerge "ADT: Fix NPE in ConfigComposite"
Raphael Moll [Tue, 29 Jun 2010 22:06:39 +0000 (15:06 -0700)]
Merge "ADT: Fix NPE in ConfigComposite"

13 years agoAllow for platform projects to be used with the "debug running app" button.
Xavier Ducrohet [Tue, 29 Jun 2010 21:58:07 +0000 (14:58 -0700)]
Allow for platform projects to be used with the "debug running app" button.

Since there's no way to figure out automatically which project is valid
for a given running app, we read the name of the project through an
environment variable.

NOTE: The goal of this new feature is for people working on the
platform but who still want to use the DDMS plugin and some of its
features.

Change-Id: I6f124c0413dab5c9f1fb240a3b311ba7234c4378

13 years agoADT: Fix NPE in ConfigComposite
Raphael Moll [Tue, 29 Jun 2010 21:52:16 +0000 (14:52 -0700)]
ADT: Fix NPE in ConfigComposite

For some reason the locale used by the ConfigState in the
ConfigurationComposite had null members. Failed to reproduce
it. One clue might be there was a non-selected GLE2 open
as an editor tab but the Java workspace was not the main
visible one. It's possible some event fired before the
composite controls got created.

Change-Id: I2c8b6c86842f3c772c2a7ec113941eb8fc01b9e4

13 years agoMerge "Ant support for library depending on other libraries."
Xavier Ducrohet [Tue, 29 Jun 2010 21:34:18 +0000 (14:34 -0700)]
Merge "Ant support for library depending on other libraries."

13 years agoMerge "ADT GLE2: Synchronize selection outline->canvas"
Raphael Moll [Tue, 29 Jun 2010 21:31:47 +0000 (14:31 -0700)]
Merge "ADT GLE2: Synchronize selection outline->canvas"

13 years agoAnt support for library depending on other libraries.
Xavier Ducrohet [Mon, 28 Jun 2010 21:47:13 +0000 (14:47 -0700)]
Ant support for library depending on other libraries.

Change-Id: Ief8261327f7917d158fc8ad4dd4e4c3d322bbce2

13 years agoMerge "Update change log."
Xavier Ducrohet [Tue, 29 Jun 2010 17:56:35 +0000 (10:56 -0700)]
Merge "Update change log."

13 years agoUpdate change log.
Xavier Ducrohet [Mon, 28 Jun 2010 20:58:11 +0000 (13:58 -0700)]
Update change log.

Change-Id: I7a3fbcc9d89f5c7e50f881c0029fbba1718cfcfe

13 years agoADT GLE2: Synchronize selection outline->canvas
Raphael Moll [Tue, 29 Jun 2010 04:50:14 +0000 (21:50 -0700)]
ADT GLE2: Synchronize selection outline->canvas

Change-Id: I21458fe649b2d62390edba5ea107afe888185d3f

13 years agoFix ddms projects in Eclipse for Windows/Cygwin.
Raphael Moll [Tue, 29 Jun 2010 00:39:53 +0000 (17:39 -0700)]
Fix ddms projects in Eclipse for Windows/Cygwin.

Change-Id: Ie68b8c0dd9eecbc14a2bb86247b767ea47c6842c

13 years agoADT GLE2: OutlinePage NPE fix.
Raphael Moll [Mon, 28 Jun 2010 23:17:13 +0000 (16:17 -0700)]
ADT GLE2: OutlinePage NPE fix.

Change-Id: Ib54c5af251eb0a21fa43e9ecfa0878004516fc87

13 years agoSupport for aidl files in library project in the Ant build system.
Xavier Ducrohet [Fri, 25 Jun 2010 22:11:17 +0000 (15:11 -0700)]
Support for aidl files in library project in the Ant build system.

Change-Id: I3e36e6f4db60d3d979b24c2b88d496f453394127

13 years agoMerge "update 404'd source.android.com URLs"
Xavier Ducrohet [Sat, 26 Jun 2010 02:00:05 +0000 (19:00 -0700)]
Merge "update 404'd source.android.com URLs"

13 years agoupdate 404'd source.android.com URLs
Chris Peterson [Sat, 26 Jun 2010 00:32:29 +0000 (17:32 -0700)]
update 404'd source.android.com URLs

Change-Id: Ia902f1bd737eb1ecc0a015e9d63fd8a05cf3ae26

13 years agoMerge "Fix the ddmlib/ddmuilib links making script."
Xavier Ducrohet [Sat, 26 Jun 2010 00:18:07 +0000 (17:18 -0700)]
Merge "Fix the ddmlib/ddmuilib links making script."

13 years agoMerge "ADT GLE2: Outline Page, display root, preserve state."
Raphael Moll [Sat, 26 Jun 2010 00:03:54 +0000 (17:03 -0700)]
Merge "ADT GLE2: Outline Page, display root, preserve state."

13 years agoMerge "ADT GLE2: Outline with selection synchronized from canvas."
Raphael Moll [Sat, 26 Jun 2010 00:03:46 +0000 (17:03 -0700)]
Merge "ADT GLE2: Outline with selection synchronized from canvas."

13 years agoFix the ddmlib/ddmuilib links making script.
Xavier Ducrohet [Fri, 25 Jun 2010 17:38:13 +0000 (10:38 -0700)]
Fix the ddmlib/ddmuilib links making script.

Change-Id: I899d1094dd0b81ca47e5b0409e426f8cbe61f2b5

13 years agoRemove hard-coded source folder name for library projects in ADT.
Xavier Ducrohet [Fri, 25 Jun 2010 01:31:57 +0000 (18:31 -0700)]
Remove hard-coded source folder name for library projects in ADT.

Previously, the library mechanism expected the library to have a single source folder called 'src'.

There can now be more than one source folder (but the 'gen' folder of the library is always excluded),
and they don't need to be directly under the project folder. For example src/java is supported.

Change-Id: If139bd69cb720c331a1e5d1543a0cd4a91b8d675

13 years agoMerge "Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks."
Xavier Ducrohet [Fri, 25 Jun 2010 16:02:19 +0000 (09:02 -0700)]
Merge "Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks."

13 years agoADT GLE2: Outline Page, display root, preserve state.
Raphael Moll [Fri, 25 Jun 2010 05:07:20 +0000 (22:07 -0700)]
ADT GLE2: Outline Page, display root, preserve state.

- Correctly displays the root element of the layout.
- Preserve select and expanded state when reloading layout.

Change-Id: Ic5786d08fe4e36f02ff658f23e66c66f372f58f8

13 years agoADT GLE2: Outline with selection synchronized from canvas.
Raphael Moll [Wed, 23 Jun 2010 22:55:30 +0000 (15:55 -0700)]
ADT GLE2: Outline with selection synchronized from canvas.

Next CL will be selection synchro outline->canvas.

Change-Id: I0e395313f0365830db7eb96e33077844d68f301e

13 years agoFix error when closing a library and project(s) using it at the same time.
Xavier Ducrohet [Thu, 24 Jun 2010 21:22:56 +0000 (14:22 -0700)]
Fix error when closing a library and project(s) using it at the same time.

By the time the job launched to unlink the linked source folder is running
the main project will be closed and its properties cannot be edited.

Change-Id: I1e5d9f4eb4899d58d3de3d5cc5f422e42d2db71e

13 years agoMake ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks.
Xavier Ducrohet [Wed, 23 Jun 2010 00:55:45 +0000 (17:55 -0700)]
Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks.

Also cleaned up the abstraction layer to load images from ddmuilib since
its image are now always located inside ddmuilib jar.

Change-Id: Id9d283df18a05b7b5593e4593e90dac6e5548b94

13 years agoMerge "Fix a crash in DDMS when parsing an unexpected sync event format due to a...
Xavier Ducrohet [Thu, 24 Jun 2010 16:21:14 +0000 (09:21 -0700)]
Merge "Fix a crash in DDMS when parsing an unexpected sync event format due to a change in froyo."

13 years agoFix a crash in DDMS when parsing an unexpected sync event format due to a change...
Xavier Ducrohet [Thu, 24 Jun 2010 00:47:34 +0000 (17:47 -0700)]
Fix a crash in DDMS when parsing an unexpected sync event format due to a change in froyo.

Change-Id: I878911b3167ff12b48fa3ea3a7bfb9129466b9bd

13 years agoMoving SDK howto docs from development.git into sdk.git.
Raphael Moll [Wed, 23 Jun 2010 22:58:16 +0000 (15:58 -0700)]
Moving SDK howto docs from development.git into sdk.git.

Will update content in another CL.

Change-Id: I7827d3f3cc6b8ba96822170949618dc75d879d28

13 years agoMerge "Rename ADT's ApkBuilder to PostCompilerBuilder."
Xavier Ducrohet [Tue, 22 Jun 2010 23:24:16 +0000 (16:24 -0700)]
Merge "Rename ADT's ApkBuilder to PostCompilerBuilder."

13 years agoMerge "Update changelog for ADT with the new qualifier support."
Xavier Ducrohet [Tue, 22 Jun 2010 22:55:23 +0000 (15:55 -0700)]
Merge "Update changelog for ADT with the new qualifier support."

13 years agoUpdate changelog for ADT with the new qualifier support.
Xavier Ducrohet [Tue, 22 Jun 2010 22:54:39 +0000 (15:54 -0700)]
Update changelog for ADT with the new qualifier support.

Change-Id: I7f3190d293a065724005d18eac8437b66aee1b21

13 years agoRename ADT's ApkBuilder to PostCompilerBuilder.
Xavier Ducrohet [Tue, 22 Jun 2010 22:49:58 +0000 (15:49 -0700)]
Rename ADT's ApkBuilder to PostCompilerBuilder.

This was confusing with the presence of ApkBuilder in sdklib,
which really only does the final APK building, while the one in ADT
does all the building steps after compilation (resource packaging,
dexing the java bytecode, and finally calling Apkbuilder).

Change-Id: I5b8b566e1560fd00b0fb4e5353b101401afe2b13

13 years agoMerge "Move the exceptions out of ApkBuilder."
Xavier Ducrohet [Tue, 22 Jun 2010 22:43:07 +0000 (15:43 -0700)]
Merge "Move the exceptions out of ApkBuilder."

13 years agoMerge "ADT GLE2: drag'n'drop in FrameLayout"
Raphael Moll [Tue, 22 Jun 2010 22:38:33 +0000 (15:38 -0700)]
Merge "ADT GLE2: drag'n'drop in FrameLayout"

13 years agoMove the exceptions out of ApkBuilder.
Xavier Ducrohet [Tue, 22 Jun 2010 21:58:22 +0000 (14:58 -0700)]
Move the exceptions out of ApkBuilder.

Change-Id: I66e767cbd4f3f3521bb994b281140a433f63291f

13 years agoMerge "Add support for Dock, Night mode, and Navigation state resource qualifiers."
Xavier Ducrohet [Tue, 22 Jun 2010 21:18:27 +0000 (14:18 -0700)]
Merge "Add support for Dock, Night mode, and Navigation state resource qualifiers."

13 years agoADT GLE2: drag'n'drop in FrameLayout
Raphael Moll [Tue, 22 Jun 2010 21:16:09 +0000 (14:16 -0700)]
ADT GLE2: drag'n'drop in FrameLayout

Change-Id: I397dfbee84928cc336238f3092e86364edeb1f18