OSDN Git Service

android-x86/sdk.git
14 years agoMake "android update test-project" create all necessary files.
Xavier Ducrohet [Thu, 21 Jan 2010 00:57:29 +0000 (16:57 -0800)]
Make "android update test-project" create all necessary files.

Previous implementation only created build.properties to set
the location of the main project.

This new version will also update/create files as the main
"android update project" command does.

Bug: 2284744
Change-Id: I8938d0a49537c5d4fbc60d3557a21ab7c40fad3e

14 years agoFix issue with absolute path in -nf parameter of apkbuilder.
Xavier Ducrohet [Wed, 20 Jan 2010 22:23:28 +0000 (14:23 -0800)]
Fix issue with absolute path in -nf parameter of apkbuilder.

Bug: 1607862
Change-Id: I7fecc99fe7319f566d2d78ccc82c73d86067db51

14 years agoADT: Fix arrayoutofboundexception
Xavier Ducrohet [Tue, 19 Jan 2010 19:20:06 +0000 (11:20 -0800)]
ADT: Fix arrayoutofboundexception

Bug: 2378994
Change-Id: I4844addc3fe006f1739015522dc45e43d70cc966

14 years agoADT GRE: create base class for IViewRule.
Raphael [Fri, 15 Jan 2010 01:16:24 +0000 (17:16 -0800)]
ADT GRE: create base class for IViewRule.

This adds BaseViewRule (better name welcome) that is basically
an empty IViewRule so that groovy classes don't have to
systematically redefine the same empty boilerplate.

Change-Id: Ibf9a03d3aa0ca8a42534f5693792235c31100273

14 years agoADT GRE: Move gscripts package.
Raphael [Fri, 15 Jan 2010 00:13:26 +0000 (16:13 -0800)]
ADT GRE: Move gscripts package.

Moving the public API from com.android.ide.eclispse.adt.gscripts
to ...adt.editors.layout.gscripts.

Change-Id: Idf5b979d47dbbbe2514cce8cc3c688eb273bcce6

14 years agoMerge "AD Tests: fix missing LayoutDevices sample xml." into eclair
Raphael Moll [Thu, 14 Jan 2010 23:57:38 +0000 (15:57 -0800)]
Merge "AD Tests: fix missing LayoutDevices sample xml." into eclair

14 years agoMerge "Cleanup mock class, don't use NotImplementedException." into eclair
Raphael Moll [Thu, 14 Jan 2010 23:57:11 +0000 (15:57 -0800)]
Merge "Cleanup mock class, don't use NotImplementedException." into eclair

14 years agoADT GLE: pass RulesEngine to LayoutCanvas.
Raphael [Thu, 14 Jan 2010 22:14:53 +0000 (14:14 -0800)]
ADT GLE: pass RulesEngine to LayoutCanvas.

This fixes a corner case where the canvas might find
itself using a null RulesEngine.

Change-Id: I9c5f2ec7f3d4e98d35995d5529f00d15ebd76faa

14 years agoAD Tests: fix missing LayoutDevices sample xml.
Raphael [Thu, 14 Jan 2010 23:17:50 +0000 (15:17 -0800)]
AD Tests: fix missing LayoutDevices sample xml.

Change-Id: I879dd9fd3465491b0e8143a81d3a696e50212b99

14 years agoCleanup mock class, don't use NotImplementedException.
Raphael [Thu, 14 Jan 2010 22:18:15 +0000 (14:18 -0800)]
Cleanup mock class, don't use NotImplementedException.

It has a non-java namespace we don't want to use.

Change-Id: I67f247b38df16e1a62957e84ce9e03c449ffae5a

14 years agoADT/GLE: Dynamically create ID values for non saved layout
Xavier Ducrohet [Wed, 13 Jan 2010 01:15:38 +0000 (17:15 -0800)]
ADT/GLE: Dynamically create ID values for non saved layout

When a non saved layout is rendered it is possible that some
views reference IDs that don't yet exists in the R class
because those IDs are created on the fly through @+id/...

For some layouts (RelativeLayout) this has a huge impact
on the rendering to the point of making useless. By
dynamically creating unknown ID, we can have a correct
rendering even if the layout is non saved.

Bug: 2370047
Change-Id: I09a0dfaa9d2a767229ab778438256a7609d6d337

14 years agoADT/GLE: remove unneeded exception when exploding a non supported layout
Xavier Ducrohet [Tue, 12 Jan 2010 22:49:51 +0000 (14:49 -0800)]
ADT/GLE: remove unneeded exception when exploding a non supported layout

Change-Id: Ia6e0e6ef814b39403adb8c5edb9b2a1f41af81d8

14 years agoMerge "Add support for Sample packages in the SDK Manager" into eclair
Xavier Ducrohet [Tue, 12 Jan 2010 21:03:48 +0000 (13:03 -0800)]
Merge "Add support for Sample packages in the SDK Manager" into eclair

14 years agoAdd support for Sample packages in the SDK Manager
Xavier Ducrohet [Tue, 12 Jan 2010 19:51:03 +0000 (11:51 -0800)]
Add support for Sample packages in the SDK Manager

Bug: 2296352
Change-Id: Id26fdb02030d00a27960b3e0a21d3c537e7cf8da

14 years agoADV Manager: prevent deletion of running AVDs
Xavier Ducrohet [Tue, 12 Jan 2010 02:15:12 +0000 (18:15 -0800)]
ADV Manager: prevent deletion of running AVDs

Bug: 2364918
Change-Id: Ibe01e0b2d51f6d7df1972f57ff7fadb6116175df

14 years agoAVD Mananger: Fix the deletion of a folder content.
Xavier Ducrohet [Tue, 12 Jan 2010 01:01:05 +0000 (17:01 -0800)]
AVD Mananger: Fix the deletion of a folder content.

Bug: 2364917
Change-Id: I9585200adad5deb2ef27ea157ddd25e7124c2e73

14 years agoMerge "ADT/GLE: Fix config selector to not select a config that has a better match...
Xavier Ducrohet [Mon, 11 Jan 2010 23:47:41 +0000 (15:47 -0800)]
Merge "ADT/GLE: Fix config selector to not select a config that has a better match than the current file." into eclair

14 years agoADT/GLE: Fix config selector to not select a config that has a better match than...
Xavier Ducrohet [Sat, 9 Jan 2010 00:24:55 +0000 (16:24 -0800)]
ADT/GLE: Fix config selector to not select a config that has a better match than the current file.

When replacing a file with another one (because of a user "open action")
it is possible the config selector will find the current config compatible,
even though the previous layout was a better for match for it.

The config selector now attemps to find a config for which the new
file is the best match.

Change-Id: I7d794c2a8b9a90a120970049cb402f9ee84f8749

14 years agoADT GLE: Support drop in AbsoluteLayout and create XML node.
Raphael [Fri, 8 Jan 2010 21:46:01 +0000 (13:46 -0800)]
ADT GLE: Support drop in AbsoluteLayout and create XML node.

This is a *temporary* CL just to get some things out of the way:
- it adds some method to create some XML from groovy
- it uses the new dropStart/dropFinish API.

However after this is submitted I'll change the IViewRule API as
we discussed so all this code will need to change. Again.

Change-Id: Ie9c7eebf0f9e1d48e364467fbaac5615b4c42f21

14 years agoFor now make ADT still use fill_parent instead of match_parent
Xavier Ducrohet [Sat, 9 Jan 2010 02:18:06 +0000 (18:18 -0800)]
For now make ADT still use fill_parent instead of match_parent

Change-Id: I7d59600e036a630daaaac0cda53487c24ab0c3fc

14 years agoDeprecate fill_parent and introduce match_parent. (do not merge)
Romain Guy [Fri, 8 Jan 2010 23:07:24 +0000 (15:07 -0800)]
Deprecate fill_parent and introduce match_parent. (do not merge)
Bug: #2361749.

Change-Id: I7a75cd7f0887dd8135c43f71d1b15165306bfa9b

14 years agoADT/GLE: Fix issue with the locale list refresh in the ConfigComposite
Xavier Ducrohet [Fri, 8 Jan 2010 19:30:23 +0000 (11:30 -0800)]
ADT/GLE: Fix issue with the locale list refresh in the ConfigComposite

One of the problem stemmed from the ResourceMonitor sending removed
resource events to the ResourceManager first and then to other listeners.
Other listeners then failed to get a corresponding ResourceFolder
or ResourceFile since it was deleted by the ResourceManager.

Solution: add a resource-specific change listener in the ResourceManager.
Using this listener is much more efficient as the ResourceFolder/File
do not need to be figured out by the listener from the IFolder/IFile.

Also renamed the ResourceMonitor as it's confusing (it listens to
Eclipse resource changes, not Android project resource changes).
Since it deals mostly with projects and their resources, and is
global and used by other monitor, it's now called GlobalProjectMonitor.

Also cleaned up the ResourceManager and LayoutReloadMonitor to
implements their interface as internal classes so that the
methods do not show up in their public API.

Change-Id: I1967a48364fd946c98d9eee5bd4a333fc01bea2d

14 years agoADT/GLE: Cleaned up the open/replace file process in the GLE and the config composite
Xavier Ducrohet [Fri, 8 Jan 2010 01:49:37 +0000 (17:49 -0800)]
ADT/GLE: Cleaned up the open/replace file process in the GLE and the config composite

The GLE and the config composite must handle 3 cases:
- new file opened following the creation of the editor
- replacement file when the user opens a different version of a layout
  that's already opened. The editor stays and switch to the new file.
- replacement file whne the user change the configuration and a new
  file that better matches the config is automicatlly opened.

Additionally, the editor/config composite must handle files being
opened while the SDK or the file's project's target are not yet
loaded.

File change or change in the SDK/Target must attempts to keep the
config/theme selection as close as possible as the previous state
while still remaining compatible with the new file/sdk/target.

Also removed the duplicate ITargetChangeListener, by making the
one in AndroidEditor optional (constructor flag), so that the
one in GraphicalLayoutEditor/Part is the only one used in the GLE
(it gives us more control on the order in which the code previously
executed by both listeners is now executed).

Also split the themes and locales updates as they happen on
different triggers.

Change-Id: If6d73bbe8af11cd221fb7830a37ffcc163135fc4

14 years agoADT/GLE: Improve the config selector.
Xavier Ducrohet [Thu, 7 Jan 2010 01:21:48 +0000 (17:21 -0800)]
ADT/GLE: Improve the config selector.

- Better support for device/config, properly select config when opening
files, proper support for files that have different config versions

- Better language support, with default values and languages
with no regions.

- (attempt to) Properly set locale combo when opening files

- attempt to keep a somewhat compatible config when changing
device.

- general clean up of the API. More to come.

Change-Id: I45652bb18e6a61b443a7f0c1087a9b2d3f81e033

14 years agoFix the locale selection in the config selector.
Xavier Ducrohet [Wed, 6 Jan 2010 23:12:12 +0000 (15:12 -0800)]
Fix the locale selection in the config selector.

default locale means nothing. Instead we replace it with
- "any" if there are no resources specific to a locale in the project.
- "other" if there are resources specific to a locale in the project.

In both case, the actual locale used by the config is hard-coded to
a value that cannot be used by the resources ("__" for the language,
and "__" for the region), to enforce using the default resources.
Using a config with no language nor region had the effect to take
the first resources with a valid qualifier for language and/or
region.

Change-Id: I67a34d1a026a5d3d5e1438d3763ae27c5ed0ce55

14 years agoMove LayoutLib API library to sdk.git
Xavier Ducrohet [Thu, 7 Jan 2010 16:30:01 +0000 (08:30 -0800)]
Move LayoutLib API library to sdk.git

Change-Id: I8a54705a75d79c743e59c763ed2464408a836ebf

14 years agoADT/GLE2: send new width/heigh when in explode mode instead of original ones.
Xavier Ducrohet [Tue, 5 Jan 2010 18:30:55 +0000 (10:30 -0800)]
ADT/GLE2: send new width/heigh when in explode mode instead of original ones.

Change-Id: I9f0743ad6c3a79254c1296f78a9845dbf6c65ca5

14 years agoADT GLE: defer drop to first parent view that accepts it.
Raphael [Mon, 4 Jan 2010 22:44:04 +0000 (14:44 -0800)]
ADT GLE: defer drop to first parent view that accepts it.

Change-Id: I021539e26a1feb0f5a89d907142ed4532fae8320

14 years agoADT GRE: move scripts to ADT /gscripts.
Raphael [Mon, 4 Jan 2010 21:29:09 +0000 (13:29 -0800)]
ADT GRE: move scripts to ADT /gscripts.

So right now we have:
- some GRE/GLE code in internal that uses the scripts
- the "public" bases client classes in ADT src/gscripts (not internal)
- the "client scripts" in ADT /gscripts.
- projects use their own /gscripts folder.

Change-Id: I899d272233f35f493317a56fde60eb7e4a257c7a

14 years agoADT GRE (Groovy Rules Engine), drag'n'drop.
Raphael [Sat, 2 Jan 2010 00:01:08 +0000 (16:01 -0800)]
ADT GRE (Groovy Rules Engine), drag'n'drop.

Start support for drag'n'drop. with visual feedback.

Change-Id: I27f896c2e954dec0cb43103417d888d8df5a288e

14 years agoADT GRE (Groovy Rules Engine), part 1.
Raphael [Sat, 26 Dec 2009 18:53:03 +0000 (10:53 -0800)]
ADT GRE (Groovy Rules Engine), part 1.

This CL adds the new "Groovy Rules Engine" (GRE) to the GLE2.

The rules engine can load groovy files located in the ADT
namespace or the project associated with the current GLE2.
Each groovy file defines a class with callbacks invoked
by the LayoutCanvas.
Project rules are reloaded when they change.

Change-Id: I168234da739b2120374d3eb4552169f7dd36439d

14 years agoADT: Refactor in ViewElementDescriptor.
Raphael [Sun, 27 Dec 2009 05:27:14 +0000 (21:27 -0800)]
ADT: Refactor in ViewElementDescriptor.

This changes the member "CanonicalClassName" into "FullClassName"
since the value is the FQCN of the java View.

Change-Id: Idbfcf665c12c598f680fdf58ecb0ae7820da8bdb

14 years agoMerge change Iaadf3b84 into eclair
Android (Google) Code Review [Sun, 20 Dec 2009 18:56:16 +0000 (10:56 -0800)]
Merge change Iaadf3b84 into eclair

* changes:
  ADT: Fix potential NPE.

14 years agoADT: Fix potential NPE.
Raphael [Sun, 20 Dec 2009 18:50:03 +0000 (10:50 -0800)]
ADT: Fix potential NPE.

Workbench.getActiveWorkbenchWindows() can potentially return null.
That just happened to me when trying to update an SVN project.

Change-Id: Iaadf3b84778f2f556b66fbc94fd8a59c7cb14b3d

14 years agoADT: GLE toggle buttons in configuration composite.
Raphael [Sat, 19 Dec 2009 00:27:47 +0000 (16:27 -0800)]
ADT: GLE toggle buttons in configuration composite.

New GLE2 toggles:
- explode view
- show borders

Change-Id: I638b1d4591bee4729be7b4dff753cb166b3eaa61

14 years agoADT-Tests: Create a suite for the Groovy test.
Raphael [Sat, 19 Dec 2009 00:50:56 +0000 (16:50 -0800)]
ADT-Tests: Create a suite for the Groovy test.

This is a "feasibility" test, to make sure the groovy
stuff works in the context of the plugin and correctly
gets its files from the JAR.

Change-Id: Ic2a784a2c30848c1919c3530debcbc5633a0b3bf

14 years agoMerge change I2c1b68ce into eclair
Android (Google) Code Review [Sat, 19 Dec 2009 00:02:01 +0000 (16:02 -0800)]
Merge change I2c1b68ce into eclair

* changes:
  ADT: Refactor GLE1 and GLE2 classes in their own package.

14 years agoADT: Refactor GLE1 and GLE2 classes in their own package.
Raphael [Fri, 18 Dec 2009 23:48:08 +0000 (15:48 -0800)]
ADT: Refactor GLE1 and GLE2 classes in their own package.

This means we have to change a couple classes to public
instead of package protected. However it makes it easier to
read the project and see what files we'll want to deprecate
with GLE1.

Change-Id: I2c1b68ce27773253473cbef5bcef085f9eecfafe

14 years agoMerge change Idcb3586e into eclair
Android (Google) Code Review [Fri, 18 Dec 2009 23:10:28 +0000 (15:10 -0800)]
Merge change Idcb3586e into eclair

* changes:
  Groovy test for ADT-tests.

14 years agoGroovy test for ADT-tests.
Raphael [Thu, 17 Dec 2009 02:35:48 +0000 (18:35 -0800)]
Groovy test for ADT-tests.

Change-Id: Idcb3586e62fbc85f008627dc323f40dba12e8121

14 years agoPrevent project from building before their target data has been loaded.
Xavier Ducrohet [Wed, 16 Dec 2009 01:10:13 +0000 (17:10 -0800)]
Prevent project from building before their target data has been loaded.

Projects that attempts to build before their target data has been loaded
are put in a list of project to be recompile upon load completion.

Bug: 2303254
Change-Id: Iad9a652ac5455432b2616334bcc8536e169c2adb

14 years agoAdd support for manually uninstalled apk in the launcher
Xavier Ducrohet [Wed, 16 Dec 2009 02:54:17 +0000 (18:54 -0800)]
Add support for manually uninstalled apk in the launcher

Bug: 2306782
Change-Id: I45eb8b3e61631c0656fb6c4870c7a1c7542a0bca

14 years agoLink the "force error on native lib" preferences to the Apkbuilder.
Xavier Ducrohet [Tue, 15 Dec 2009 23:22:06 +0000 (15:22 -0800)]
Link the "force error on native lib" preferences to the Apkbuilder.

Change-Id: I57a812946586d89a1abef4bff70d11985fcacc0e

14 years agoCleaned up Markers in ADT.
Xavier Ducrohet [Tue, 15 Dec 2009 22:41:24 +0000 (14:41 -0800)]
Cleaned up Markers in ADT.

New packaging marker specific to packaging error coming from
ApkBuilder. This prevent conflicts with other builders adding
or removing those same markers (which apparently prevent those
markers from appearing if ApkBuilder sets them.

Fixed some conflicts between different version of
BaseProjectHelper.addMarker. Renamed the method markResource
and markProject to make it clearer.

Change-Id: I53663a052e3014fd0bff1757a9ae3d642133689f

14 years agoMerge change I4d043716 into eclair
Android (Google) Code Review [Tue, 15 Dec 2009 18:26:08 +0000 (10:26 -0800)]
Merge change I4d043716 into eclair

* changes:
  GLE2: Add groovy.jar to ADT and ADT-tests

14 years agoGLE2: Add groovy.jar to ADT and ADT-tests
Raphael [Fri, 11 Dec 2009 00:50:29 +0000 (16:50 -0800)]
GLE2: Add groovy.jar to ADT and ADT-tests

Change-Id: I4d0437161b582ae23c23606a8bfa16b04ae508c0

14 years agoMerge change Ibf602fbb into eclair
Android (Google) Code Review [Mon, 14 Dec 2009 23:02:23 +0000 (15:02 -0800)]
Merge change Ibf602fbb into eclair

* changes:
  Fix the combos in the editors on MacOS to trigger event on selection from list.

14 years agoFix the combos in the editors on MacOS to trigger event on selection from list.
Xavier Ducrohet [Mon, 14 Dec 2009 22:48:31 +0000 (14:48 -0800)]
Fix the combos in the editors on MacOS to trigger event on selection from list.

BUG: 2323805
Change-Id: Ibf602fbb92da548254051c15e16526348788d56a

14 years agoFix ADT Tests (see Change If49c1e1a)
Raphael [Sat, 12 Dec 2009 05:33:24 +0000 (21:33 -0800)]
Fix ADT Tests (see Change If49c1e1a)

Change-Id: Ief3c7bf7fddc6a91fb1c00b5cffcc7778b12815b

14 years agoMerge change If49c1e1a into eclair
Android (Google) Code Review [Fri, 11 Dec 2009 23:20:51 +0000 (15:20 -0800)]
Merge change If49c1e1a into eclair

* changes:
  Exploded view rendering.

14 years agoExploded view rendering.
Xavier Ducrohet [Fri, 11 Dec 2009 03:48:39 +0000 (19:48 -0800)]
Exploded view rendering.

- Override padding values on layout when sent to the layoutlib rendering.
  Either set a 10px padding, or add 10px to the current padding (resolving
  values in dip, sp, pt, in, mm)

- Screen size is increased to match the new padding. this is a work
  in progress and a lot of logic for each layout still needs to be done

- Display a white outline for the exploded layouts in the GLE1.
  GLE2 support to come.

All of this is currently on the same toggle as the clipped rendering.
Need to add a new toggle button for it (and map it to a key shortcut)

Change-Id: If49c1e1a07923aeeca9dbc76f978afff2d106b51

14 years agoMerge change I772404ad into eclair
Android (Google) Code Review [Fri, 11 Dec 2009 20:12:07 +0000 (12:12 -0800)]
Merge change I772404ad into eclair

* changes:
  Fix in ADT prefs: make sure unrecognized build verbosity values don't crash ADT.

14 years agoFix in ADT prefs: make sure unrecognized build verbosity values don't crash ADT.
Xavier Ducrohet [Fri, 11 Dec 2009 19:21:44 +0000 (11:21 -0800)]
Fix in ADT prefs: make sure unrecognized build verbosity values don't crash ADT.

Change-Id: I772404ad500462da94ba243ebc4f7c26ea2a267a

14 years agoMerge change Ib350e6de into eclair
Android (Google) Code Review [Fri, 11 Dec 2009 02:49:14 +0000 (18:49 -0800)]
Merge change Ib350e6de into eclair

* changes:
  Fix layoutopt.bat to start layoutopt on Windows.

14 years agoFix layoutopt.bat to start layoutopt on Windows.
Romain Guy [Fri, 11 Dec 2009 02:35:48 +0000 (18:35 -0800)]
Fix layoutopt.bat to start layoutopt on Windows.

14 years agoMerge change I21c4911e into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 23:39:29 +0000 (15:39 -0800)]
Merge change I21c4911e into eclair

* changes:
  Update builder to check for native libs in 3rd party jar.

14 years agoUpdate builder to check for native libs in 3rd party jar.
Xavier Ducrohet [Thu, 10 Dec 2009 23:01:16 +0000 (15:01 -0800)]
Update builder to check for native libs in 3rd party jar.

- Apkbuilder now look for .jnilib / .so libs in 3rd party jars files
  and complain if any are found
- preferences to set error/warning on libraries that don't interfer with
  NDK native lib path

- refactoring of the Preferences into AdtPrefs as too much was getting
  in AdtPlugin. Merged the PreferenceInitializer into AdtPrefs.

- merged AdtConstants and AndroidConstants, as there were remnants of
  the common/adt/editor merge.

- Looks like there are issues with some markers. I did some changes
  but I'll clean it up in the next commit.

BUG 2242132

Change-Id: I21c4911e9c8bd32fcff17a7788b37d920b7acbf5

14 years agoMerge change I8ce7b882 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 03:39:49 +0000 (19:39 -0800)]
Merge change I8ce7b882 into eclair

* changes:
  Update the Eclipse plug-in change files with new updates.

14 years agoUpdate the Eclipse plug-in change files with new updates.
Xavier Ducrohet [Wed, 9 Dec 2009 00:05:19 +0000 (16:05 -0800)]
Update the Eclipse plug-in change files with new updates.

Change-Id: I8ce7b882fd72b9d3d517210cafeef5d9dadbf33c

14 years agoAdd the allocation tracker to the DDMS plug-in.
Xavier Ducrohet [Tue, 8 Dec 2009 23:27:43 +0000 (15:27 -0800)]
Add the allocation tracker to the DDMS plug-in.

Change-Id: I294d92046fccdba71ba1b2ab4280014a7722e65e

14 years agoMerge change I3cc4f3fe into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 22:08:31 +0000 (14:08 -0800)]
Merge change I3cc4f3fe into eclair

* changes:
  Properly order targets.

14 years agoProperly order targets.
Xavier Ducrohet [Tue, 8 Dec 2009 21:52:19 +0000 (13:52 -0800)]
Properly order targets.

Change-Id: I3cc4f3fe39715750b72a89a28b682eb16c3a8c27

14 years agoADT GLE2: Implement Edit > Select All.
Raphael [Tue, 8 Dec 2009 21:17:15 +0000 (13:17 -0800)]
ADT GLE2: Implement Edit > Select All.

Also wires copy/paste/cut even though they are not used yet.

Change-Id: I265566bd5f4a612f03e9919bd34d47869006b7b6

14 years agoMerge change Iba88d526 into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 21:36:06 +0000 (13:36 -0800)]
Merge change Iba88d526 into eclair

* changes:
  Load the SDK target data dynamically when a project requires it.

14 years agoLoad the SDK target data dynamically when a project requires it.
Xavier Ducrohet [Tue, 8 Dec 2009 02:41:34 +0000 (18:41 -0800)]
Load the SDK target data dynamically when a project requires it.

BUG 2303254

Change-Id: Iba88d526f50218bb57c41109ca1777bad441bb00

14 years agoMerge change Ic07e0d19 into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 00:16:46 +0000 (16:16 -0800)]
Merge change Ic07e0d19 into eclair

* changes:
  GLE2: fix group toggle & scrollbar in layout palette.

14 years agoGLE2: fix group toggle & scrollbar in layout palette.
Raphael [Mon, 7 Dec 2009 22:40:55 +0000 (14:40 -0800)]
GLE2: fix group toggle & scrollbar in layout palette.

Change-Id: Ic07e0d19b21434c5f9bf7c0149d1f402e1e5a1bd

14 years agoMerge change Iaf2904b2 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 19:09:36 +0000 (11:09 -0800)]
Merge change Iaf2904b2 into eclair

* changes:
  AVD Selector now sort AVDs

14 years agoMerge change Ia935511f into eclair
Android (Google) Code Review [Sat, 5 Dec 2009 03:19:16 +0000 (19:19 -0800)]
Merge change Ia935511f into eclair

* changes:
  Update ADT's changes.txt file.

14 years agoUpdate ADT's changes.txt file.
Xavier Ducrohet [Sat, 5 Dec 2009 01:55:30 +0000 (17:55 -0800)]
Update ADT's changes.txt file.

14 years agoAVD Selector now sort AVDs
Xavier Ducrohet [Sat, 5 Dec 2009 03:07:02 +0000 (19:07 -0800)]
AVD Selector now sort AVDs

Also fixed the IAndroidTarget comparison to sort first by revision
and then per platform or addon and then per vendor/name (for add-ons)

BUG 2302823

14 years agoListen to default.properties change from outside of ADT and update the project.
Xavier Ducrohet [Sat, 5 Dec 2009 01:33:21 +0000 (17:33 -0800)]
Listen to default.properties change from outside of ADT and update the project.

BUG 2287591

14 years agoMake the SDK stat opt-out dialog not interfer with other modal dialogs.
Xavier Ducrohet [Fri, 4 Dec 2009 22:47:40 +0000 (14:47 -0800)]
Make the SDK stat opt-out dialog not interfer with other modal dialogs.

BUG 2305986

14 years agoAdd a new device to devices.xml for the Layout Editor.
Xavier Ducrohet [Thu, 3 Dec 2009 22:54:32 +0000 (14:54 -0800)]
Add a new device to devices.xml for the Layout Editor.

BUG 2296284

14 years agoRemove files that have been moved into development.git
Xavier Ducrohet [Thu, 3 Dec 2009 03:10:44 +0000 (19:10 -0800)]
Remove files that have been moved into development.git

14 years agoMerge change I79854c45 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 21:44:59 +0000 (13:44 -0800)]
Merge change I79854c45 into eclair

* changes:
  Enforce 9+ MB sdcard size when creating AVDs.

14 years agoEnforce 9+ MB sdcard size when creating AVDs.
Xavier Ducrohet [Wed, 2 Dec 2009 21:01:51 +0000 (13:01 -0800)]
Enforce 9+ MB sdcard size when creating AVDs.

BUG 2296337

14 years agoMerge change Iaa970a49 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 20:59:44 +0000 (12:59 -0800)]
Merge change Iaa970a49 into eclair

* changes:
  Clean up the content of scripts/ folder.

14 years agoFix a possible NPE when add-ons don't have optional APIs.
Xavier Ducrohet [Tue, 1 Dec 2009 22:40:42 +0000 (14:40 -0800)]
Fix a possible NPE when add-ons don't have optional APIs.

BUG 2235023

14 years agoClean up the content of scripts/ folder.
Xavier Ducrohet [Tue, 1 Dec 2009 21:02:31 +0000 (13:02 -0800)]
Clean up the content of scripts/ folder.

- move back some scripts into development/scripts/
- templates for Ant project go in sdk/templates/
- files that are packaged with the sdk go in sdk/files/

14 years agoADT GLE2: palette view with drag'n'drop source.
Raphael [Mon, 30 Nov 2009 19:07:45 +0000 (11:07 -0800)]
ADT GLE2: palette view with drag'n'drop source.

Work in progress.

14 years agoam 109964b3: ADT fix: layout device config files can be empty (no devices)
Raphael [Fri, 20 Nov 2009 21:19:15 +0000 (13:19 -0800)]
am 109964b3: ADT fix: layout device config files can be empty (no devices)

Merge commit '109964b3c9b274d5c69f10114dff6917b597365b' into eclair

* commit '109964b3c9b274d5c69f10114dff6917b597365b':
  ADT fix: layout device config files can be empty (no devices)

14 years agoADT fix: layout device config files can be empty (no devices)
Raphael [Fri, 20 Nov 2009 20:46:08 +0000 (12:46 -0800)]
ADT fix: layout device config files can be empty (no devices)

SDK BUG 2275276

Change-Id: I139f3b16a258a8e1b223b62d9c93e9870b6fb27c

14 years agoUpdate doc/platform source.prop to match 2.1/7
Xavier Ducrohet [Fri, 20 Nov 2009 00:42:33 +0000 (16:42 -0800)]
Update doc/platform source.prop to match 2.1/7

14 years agoMerge change I2b17d396 into eclair
Android (Google) Code Review [Thu, 19 Nov 2009 19:46:00 +0000 (11:46 -0800)]
Merge change I2b17d396 into eclair

* changes:
  More ADT to 0.9.6

14 years agoMore ADT to 0.9.6
Xavier Ducrohet [Thu, 19 Nov 2009 19:28:42 +0000 (11:28 -0800)]
More ADT to 0.9.6

14 years agoam 4b38ad89: SDK Manager: sort packages from remote repositories.
Raphael [Thu, 19 Nov 2009 18:55:36 +0000 (10:55 -0800)]
am 4b38ad89: SDK Manager: sort packages from remote repositories.

Merge commit '4b38ad894bdc56b21c0d7c2a169df49a8c4898b6' into eclair

* commit '4b38ad894bdc56b21c0d7c2a169df49a8c4898b6':
  SDK Manager: sort packages from remote repositories.

14 years agoam 534c38a2: Merge change I919980d2 into eclair-sdk
Raphael [Thu, 19 Nov 2009 18:50:56 +0000 (10:50 -0800)]
am 534c38a2: Merge change I919980d2 into eclair-sdk

Merge commit '534c38a2033a1702ab5d41edd62aab3d4e6eb27a' into eclair

* commit '534c38a2033a1702ab5d41edd62aab3d4e6eb27a':
  Display a message in the SDK Manager when a new schema tool is available.

14 years agoam ca6bb022: (-s ours) Merge change Ie805d2fa into eclair-sdk
Xavier Ducrohet [Thu, 19 Nov 2009 18:49:24 +0000 (10:49 -0800)]
am ca6bb022: (-s ours) Merge change Ie805d2fa into eclair-sdk

Merge commit 'ca6bb0220e3823f81ee9493a19bd0ad49a404dc3' into eclair

* commit 'ca6bb0220e3823f81ee9493a19bd0ad49a404dc3':
  Move Eclipse plug-ins to 0.9.5 (do not merge)

14 years agoSDK Manager: sort packages from remote repositories.
Raphael [Thu, 19 Nov 2009 06:34:49 +0000 (22:34 -0800)]
SDK Manager: sort packages from remote repositories.

SDK BUG 2271987

14 years agoMerge change I919980d2 into eclair-sdk
Android (Google) Code Review [Thu, 19 Nov 2009 18:42:59 +0000 (10:42 -0800)]
Merge change I919980d2 into eclair-sdk

* changes:
  Display a message in the SDK Manager when a new schema tool is available.

14 years agoMerge change Ie805d2fa into eclair-sdk
Android (Google) Code Review [Thu, 19 Nov 2009 18:40:53 +0000 (10:40 -0800)]
Merge change Ie805d2fa into eclair-sdk

* changes:
  Move Eclipse plug-ins to 0.9.5 (do not merge)

14 years agoMove Eclipse plug-ins to 0.9.5 (do not merge)
Xavier Ducrohet [Tue, 17 Nov 2009 23:38:04 +0000 (15:38 -0800)]
Move Eclipse plug-ins to 0.9.5 (do not merge)

14 years agoDisplay a message in the SDK Manager when a new schema tool is available.
Raphael [Thu, 19 Nov 2009 02:10:46 +0000 (18:10 -0800)]
Display a message in the SDK Manager when a new schema tool is available.

SDK BUG 2252825

14 years agoam f1d64e29: Fix the sdk/scritps/create_*_symlinks for the new SDK git project.
Raphael [Thu, 19 Nov 2009 01:12:02 +0000 (17:12 -0800)]
am f1d64e29: Fix the sdk/scritps/create_*_symlinks for the new SDK git project.

Merge commit 'f1d64e2975451e3bbbcd2e62a03a717308db500a' into eclair

* commit 'f1d64e2975451e3bbbcd2e62a03a717308db500a':
  Fix the sdk/scritps/create_*_symlinks for the new SDK git project.

14 years agoam d8ef7816: Remove sdk_clean.sh (moved to development/build/tools)
Xavier Ducrohet [Thu, 19 Nov 2009 00:49:34 +0000 (16:49 -0800)]
am d8ef7816: Remove sdk_clean.sh (moved to development/build/tools)

Merge commit 'd8ef7816f0ffafc6bcf1370ce70b5497e7587230' into eclair

* commit 'd8ef7816f0ffafc6bcf1370ce70b5497e7587230':
  Remove sdk_clean.sh (moved to development/build/tools)

14 years agoFix the sdk/scritps/create_*_symlinks for the new SDK git project.
Raphael [Wed, 18 Nov 2009 19:27:35 +0000 (11:27 -0800)]
Fix the sdk/scritps/create_*_symlinks for the new SDK git project.

14 years agoRemove sdk_clean.sh (moved to development/build/tools)
Xavier Ducrohet [Tue, 17 Nov 2009 23:10:15 +0000 (15:10 -0800)]
Remove sdk_clean.sh (moved to development/build/tools)

14 years agoMerge change I6809bd44 into eclair
Android (Google) Code Review [Tue, 17 Nov 2009 03:39:13 +0000 (19:39 -0800)]
Merge change I6809bd44 into eclair

* changes:
  SDK Manager: XML Schema for sdk-repository v2

14 years agoSDK Manager: XML Schema for sdk-repository v2
Raphael [Tue, 17 Nov 2009 02:00:59 +0000 (18:00 -0800)]
SDK Manager: XML Schema for sdk-repository v2

v2 will be a full standalone schema, not reusing any parts of v1.
Each package type is now defined using a named type, which means
a v3 version would redifine the top element and could include
some named types of v2.

Unfortunately we cannot *extend* the top element from v1 because
extension in XML Schema seems to imply a sequence (i.e. fixed order)
whereas we use a "choice" mode to have 0..N of each types in any
order.

SDK BUG 2252825

Change-Id: I6809bd4486ef2d7f2473995ed5a0abb7fa377bdd