OSDN Git Service

android-x86/sdk.git
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

13 years agoMerge "New ApkBuilder class."
Xavier Ducrohet [Tue, 22 Jun 2010 21:13:02 +0000 (14:13 -0700)]
Merge "New ApkBuilder class."

13 years agoAdd support for Dock, Night mode, and Navigation state resource qualifiers.
Xavier Ducrohet [Tue, 22 Jun 2010 19:37:08 +0000 (12:37 -0700)]
Add support for Dock, Night mode, and Navigation state resource qualifiers.

Change-Id: I6b84248354c48accaed4baab7d9c12d8757a335b

13 years agoNew ApkBuilder class.
Xavier Ducrohet [Thu, 17 Jun 2010 18:04:26 +0000 (11:04 -0700)]
New ApkBuilder class.

this is meant to replace the one previously in apkbuilder.jar and the
one in ADT, while being part of the public sdklib API so that other
tools can use it if needed (to deprecate the command line version)

Another changelist will rename the ApkBuilder classes inside
ADT to make things less confusing.

Change-Id: I13f2a09d8d507a85be33af3fe659d175819cb641

13 years agoADT GLE2: render moved items in RelativeLayout.
Raphael Moll [Mon, 21 Jun 2010 23:45:25 +0000 (16:45 -0700)]
ADT GLE2: render moved items in RelativeLayout.

Change-Id: I8ac4d8dd7abe43a1e5b32e234a74be80708144ec

14 years agoMerge changes Ib9f3473d,Ic9ac3d34,I1e26f9c5,I64959e27
Raphael Moll [Mon, 21 Jun 2010 20:09:23 +0000 (13:09 -0700)]
Merge changes Ib9f3473d,Ic9ac3d34,I1e26f9c5,I64959e27

* changes:
  ADT GLE2: cleanup some constants and review feedback.
  ADT GLE2: drag'n'drop in RelativeLayout.
  ADT GLE2: readme (first quick'n'dirty draft)
  ADT GLE2: drag'n'drop for LinearLayout

14 years agoADT GLE2: cleanup some constants and review feedback.
Raphael Moll [Mon, 21 Jun 2010 19:58:20 +0000 (12:58 -0700)]
ADT GLE2: cleanup some constants and review feedback.

Change-Id: Ib9f3473d49bc27dfb87d29855a832a21bdcf3100

14 years agoADT GLE2: drag'n'drop in RelativeLayout.
Raphael Moll [Sun, 20 Jun 2010 05:45:26 +0000 (22:45 -0700)]
ADT GLE2: drag'n'drop in RelativeLayout.

First pass. There are some details to take care of later.

Change-Id: Ic9ac3d34ce4061ed2a8c257ce6bd40ea30497eb8

14 years agoADT GLE2: readme (first quick'n'dirty draft)
Raphael Moll [Fri, 18 Jun 2010 20:23:42 +0000 (13:23 -0700)]
ADT GLE2: readme (first quick'n'dirty draft)

Change-Id: I1e26f9c50d647893d93747ccdbe73e27a5100cef

14 years agoADT GLE2: drag'n'drop for LinearLayout
Raphael Moll [Fri, 18 Jun 2010 05:34:20 +0000 (22:34 -0700)]
ADT GLE2: drag'n'drop for LinearLayout

Change-Id: I64959e27f2c08c459e15323d7c8d2cdb041ba9dd

14 years agoMove Apkbuilder into sdklib.
Xavier Ducrohet [Wed, 16 Jun 2010 22:02:35 +0000 (15:02 -0700)]
Move Apkbuilder into sdklib.

Change-Id: I88f7e6101b8c03157a320a6c9d9b7424ffbdc7f5

14 years agoRemove more mentions of jarutils.
Xavier Ducrohet [Wed, 16 Jun 2010 22:06:40 +0000 (15:06 -0700)]
Remove more mentions of jarutils.

Change-Id: I1075f4e5f61128991aef8368ec0595ec0b8116b0

14 years agoFix build. Jarutils was referenced by the eclipse pluging build script.
Raphael Moll [Wed, 16 Jun 2010 21:25:32 +0000 (14:25 -0700)]
Fix build. Jarutils was referenced by the eclipse pluging build script.

Change-Id: I2b1d5475ddcddf1f54260b688bf9b8236c2bf5cf

14 years agoMerge "Refactoring of ApkBuilder to prepare for its integration into sdklib."
Xavier Ducrohet [Wed, 16 Jun 2010 19:01:36 +0000 (12:01 -0700)]
Merge "Refactoring of ApkBuilder to prepare for its integration into sdklib."

14 years agoRefactoring of ApkBuilder to prepare for its integration into sdklib.
Xavier Ducrohet [Tue, 15 Jun 2010 23:20:59 +0000 (16:20 -0700)]
Refactoring of ApkBuilder to prepare for its integration into sdklib.

Change-Id: If75b9262126813769537435546be0ad4e4648ac2

14 years agoMerge "SdkManager: don't user versionName for new platform packages."
Raphael Moll [Tue, 15 Jun 2010 23:01:33 +0000 (16:01 -0700)]
Merge "SdkManager: don't user versionName for new platform packages."

14 years agoMove jarutils into sdklib.
Xavier Ducrohet [Tue, 15 Jun 2010 19:39:43 +0000 (12:39 -0700)]
Move jarutils into sdklib.

Change-Id: Ic99564a7671e588bbf6bc9ee08f7ae1f02a6dcb2

14 years agoSdkManager: don't user versionName for new platform packages.
Raphael Moll [Tue, 15 Jun 2010 22:26:44 +0000 (15:26 -0700)]
SdkManager: don't user versionName for new platform packages.

Change-Id: I56f0a619a5b050c65843730a4fe86a50b3c127ae

14 years agoADT: Multi-apk export action.
Xavier Ducrohet [Mon, 14 Jun 2010 21:45:35 +0000 (14:45 -0700)]
ADT: Multi-apk export action.

This is a first step with no UI.

Still needed:
- handling signing
- add control to how ApkBuilderHelper handles errors to prevent
  output to the console during export.

Change-Id: Id44d708c2b0f5bb52508c33a241bbe921b4297e1

14 years agoMerge "ADT: Editor for export.properties in export-projects."
Raphael Moll [Tue, 15 Jun 2010 04:07:16 +0000 (21:07 -0700)]
Merge "ADT: Editor for export.properties in export-projects."

14 years agoMerge "Saving ProjectProperties now keeps existing file and replaces values."
Xavier Ducrohet [Tue, 15 Jun 2010 00:10:56 +0000 (17:10 -0700)]
Merge "Saving ProjectProperties now keeps existing file and replaces values."

14 years agoADT: Editor for export.properties in export-projects.
Raphael Moll [Mon, 14 Jun 2010 22:31:21 +0000 (15:31 -0700)]
ADT: Editor for export.properties in export-projects.

This is an initial framework that needs to be refined.

Change-Id: I2cd8a7708c30826075de076d2b5826ed8af77eb9

14 years agoSaving ProjectProperties now keeps existing file and replaces values.
Xavier Ducrohet [Mon, 14 Jun 2010 17:29:49 +0000 (10:29 -0700)]
Saving ProjectProperties now keeps existing file and replaces values.

Change-Id: I15663980f931e0d15998f0430ee7154446036fca

14 years agoMerge "Remove debug printfs"
Xavier Ducrohet [Mon, 14 Jun 2010 19:39:15 +0000 (12:39 -0700)]
Merge "Remove debug printfs"

14 years agoMerge "Fix adt-tests (broken by last ADT GLE2 AttributeDescriptor change)"
Raphael Moll [Fri, 11 Jun 2010 23:23:02 +0000 (16:23 -0700)]
Merge "Fix adt-tests (broken by last ADT GLE2 AttributeDescriptor change)"

14 years agoMerge "ADT: Refactor AndroidEditor into AndroidXmlEditor."
Raphael Moll [Fri, 11 Jun 2010 23:20:40 +0000 (16:20 -0700)]
Merge "ADT: Refactor AndroidEditor into AndroidXmlEditor."

14 years agoFix adt-tests (broken by last ADT GLE2 AttributeDescriptor change)
Raphael Moll [Fri, 11 Jun 2010 23:14:49 +0000 (16:14 -0700)]
Fix adt-tests (broken by last ADT GLE2 AttributeDescriptor change)

Change-Id: I7b494743c2b7e8c2bfd6a89cc031f7eb3989ea6c

14 years agoRemove debug printfs
Xavier Ducrohet [Fri, 11 Jun 2010 21:48:37 +0000 (14:48 -0700)]
Remove debug printfs

Change-Id: I34f2aa0d35c904a421654e320c9bdfc229583fab