OSDN Git Service

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

14 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"

14 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."

14 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

14 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."

14 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

14 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

14 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."

14 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."

14 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."

14 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

14 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

14 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

14 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."

14 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

14 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"

14 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

14 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

14 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."

14 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"

14 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

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

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

Change-Id: I7a3fbcc9d89f5c7e50f881c0029fbba1718cfcfe

14 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

14 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

14 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

14 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

14 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"

14 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

14 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."

14 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."

14 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."

14 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

14 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

14 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."

14 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

14 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

14 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

14 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

14 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."

14 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

14 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

14 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."

14 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."

14 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

14 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

14 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."

14 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"

14 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

14 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."

14 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

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

14 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

14 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

14 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

14 years agoADT: Refactor AndroidEditor into AndroidXmlEditor.
Raphael Moll [Fri, 11 Jun 2010 20:32:20 +0000 (13:32 -0700)]
ADT: Refactor AndroidEditor into AndroidXmlEditor.

Next we'll introduce a new AndroidTextEditor base class.

Change-Id: I2cdf4c7cb7a2eec03f7c523294a14f98bfd072f8

14 years agoMerge "Refactor most of the ApkBuilder into a separate helper class."
Xavier Ducrohet [Fri, 11 Jun 2010 20:30:21 +0000 (13:30 -0700)]
Merge "Refactor most of the ApkBuilder into a separate helper class."

14 years agoMerge "ADT GLE2: Access AttributeInfo from groovy scripts."
Raphael Moll [Fri, 11 Jun 2010 01:32:57 +0000 (18:32 -0700)]
Merge "ADT GLE2: Access AttributeInfo from groovy scripts."

14 years agoMerge "Add a 'removeInstrumentationArg' method to ddms testrunner."
Brett Chabot [Fri, 11 Jun 2010 01:29:57 +0000 (18:29 -0700)]
Merge "Add a 'removeInstrumentationArg' method to ddms testrunner."

14 years agoAdd a 'removeInstrumentationArg' method to ddms testrunner.
Brett Chabot [Fri, 11 Jun 2010 01:08:50 +0000 (18:08 -0700)]
Add a 'removeInstrumentationArg' method to ddms testrunner.

Change-Id: I85ba17eefbc5550dc2712b28b5d870e233c85058

14 years agoRefactor most of the ApkBuilder into a separate helper class.
Xavier Ducrohet [Thu, 10 Jun 2010 22:57:17 +0000 (15:57 -0700)]
Refactor most of the ApkBuilder into a separate helper class.

The Eclipse incremental builder will call the helper, as will
the multi-apk export code (that is not an Eclipse builder).

Change-Id: Ibac9aff4557232a3fa0033336c5d4d4327ae3883

14 years agoMerge "Add icon to export project."
Xavier Ducrohet [Thu, 10 Jun 2010 23:18:39 +0000 (16:18 -0700)]
Merge "Add icon to export project."

14 years agoMerge "Fix library-project link for library whose name isn't a valid path var."
Xavier Ducrohet [Thu, 10 Jun 2010 20:49:38 +0000 (13:49 -0700)]
Merge "Fix library-project link for library whose name isn't a valid path var."

14 years agoFix NPE when comparing project export properties with api split = false.
Xavier Ducrohet [Wed, 9 Jun 2010 23:52:53 +0000 (16:52 -0700)]
Fix NPE when comparing project export properties with api split = false.

Change-Id: I1d3135737e7c13503e0fe4e0559c62959014cd83

14 years agoAdd icon to export project.
Xavier Ducrohet [Wed, 9 Jun 2010 18:08:06 +0000 (11:08 -0700)]
Add icon to export project.

Change-Id: Ie858c3d956cc94f2e463c8f461d10697531225bd

14 years agoMerge "Add new Android Nature for export projects."
Xavier Ducrohet [Wed, 9 Jun 2010 18:26:47 +0000 (11:26 -0700)]
Merge "Add new Android Nature for export projects."

14 years agoFix library-project link for library whose name isn't a valid path var.
Xavier Ducrohet [Wed, 9 Jun 2010 18:23:57 +0000 (11:23 -0700)]
Fix library-project link for library whose name isn't a valid path var.

Change-Id: I42414bc8d560b57dbd58302a7a00203472a0d937

14 years agoMerge "Fix some handling of decimal values in the UI to handle non-en locales."
Xavier Ducrohet [Wed, 9 Jun 2010 17:40:42 +0000 (10:40 -0700)]
Merge "Fix some handling of decimal values in the UI to handle non-en locales."

14 years agoFix some handling of decimal values in the UI to handle non-en locales.
Xavier Ducrohet [Wed, 9 Jun 2010 00:16:19 +0000 (02:16 +0200)]
Fix some handling of decimal values in the UI to handle non-en locales.

Change-Id: I3f0a7e1152b8c29d02b57c41a80d431ff99e6c2b

14 years agoMerge "Add proper comment to multi-apk export build.xml template."
Xavier Ducrohet [Wed, 9 Jun 2010 17:20:28 +0000 (10:20 -0700)]
Merge "Add proper comment to multi-apk export build.xml template."

14 years agoAdd new Android Nature for export projects.
Xavier Ducrohet [Wed, 9 Jun 2010 15:53:15 +0000 (08:53 -0700)]
Add new Android Nature for export projects.

Also, renamed NATURE constant to NATURE_DEFAULT to make
the distinction between the two natures.

Change-Id: I13e83159f7f695822ed94fb2e84e1b760f00f28b

14 years agoAdd proper comment to multi-apk export build.xml template.
Xavier Ducrohet [Wed, 9 Jun 2010 01:16:36 +0000 (18:16 -0700)]
Add proper comment to multi-apk export build.xml template.

Change-Id: I5a237582fd77be24c032af61d52e26976583fcb9

14 years agoADT GLE2: Access AttributeInfo from groovy scripts.
Raphael Moll [Wed, 9 Jun 2010 04:38:19 +0000 (21:38 -0700)]
ADT GLE2: Access AttributeInfo from groovy scripts.

This CL extracts IAttributeInfo from DeclareStyleable -- this used
to be the metadata extracted from an attribute declared in attrs.xml.

The interface that is now available to groovy scripts lets them
check whether an attribute is a reference, a string, etc. For an
enum or flag that means having access to the defined values too.

In the case of the AbsoluteLayout drop, we use this info to check if
an attribute is a reference. For example when duplicating a
RelativeLayout dropped in an AbsoluteLayout, we need to create new
ids and the RelativeLayout is prone to have inner self-references
that can be automatically adjusted that way.

A large part of the CL is about refactoring the various manually-created
attributes in the Descriptors for resources, XML, and such. In this
case the IAttributeInfo that is made available via the AttributeDescriptor
is not used, but it made sense to keep this consistent in case we want
to expose it later and to avoid having to care about special cases.

Change-Id: Ic02f69bc16f0e549fcac3956ae93b86651c5be3c

14 years agoProperly handle float/double in loc control when locale is not en.
Xavier Ducrohet [Tue, 8 Jun 2010 23:34:19 +0000 (01:34 +0200)]
Properly handle float/double in loc control when locale is not en.

String.format uses the decimal point of the current locale which
we don't want since we pass the result to the emulator which expects
decimal point to be '.'

Double.parseDouble does not use the current locale and therefore
failed to read values put in the UI that used a decimal point
that is not '.'

Also simplified the GPS command to use geo fix instead of geo nmea

Change-Id: I275018e6a967c3d4fa37f25a149a840350e40bb8

14 years agoMerge "Enforce english formatting for the geo string sent to the emulator."
Xavier Ducrohet [Tue, 8 Jun 2010 21:43:07 +0000 (14:43 -0700)]
Merge "Enforce english formatting for the geo string sent to the emulator."

14 years agoEnforce english formatting for the geo string sent to the emulator.
Xavier Ducrohet [Tue, 8 Jun 2010 18:44:11 +0000 (20:44 +0200)]
Enforce english formatting for the geo string sent to the emulator.

Change-Id: I1fc90e332fff41e40d2fce740bce8e07d88586ce

14 years agoExport project creation.
Xavier Ducrohet [Fri, 4 Jun 2010 19:53:07 +0000 (12:53 -0700)]
Export project creation.

Change-Id: I22b5a1c7225425b387e1fd5b6769b5e9249b7c88