OSDN Git Service
Raphael [Tue, 26 Jan 2010 21:47:04 +0000 (13:47 -0800)]
android.bat now checks if Java is installed.
When not in the path, search for it in the program files
where java installs by default.
If not found, let the user know where to download it.
SDK Bug:
2315813
Change-Id: I4b077606d86969f989279a5eaeebb2f1895a6ef2
Xavier Ducrohet [Tue, 26 Jan 2010 02:19:11 +0000 (18:19 -0800)]
Generic Tools change log.
Change-Id: I8354405e124dd955531a22b59ff026b91359c70c
Xavier Ducrohet [Tue, 26 Jan 2010 00:36:29 +0000 (16:36 -0800)]
Update the change log for the eclipse plugin.
Change-Id: Ie3bda15b870c842fd57100d67da3620058893bb1
Xavier Ducrohet [Tue, 26 Jan 2010 00:19:18 +0000 (16:19 -0800)]
Merge "Updated to better distinguish between options and operands" into eclair
Nate Karstens [Tue, 26 Jan 2010 00:06:14 +0000 (16:06 -0800)]
Updated to better distinguish between options and operands
This is integrated from external/master/development.git in
order to not be lost when the development->sdk move is
merged into external/master
Change-Id: I51631f4efd75f8fb429499fb3ddd1926b7467038
http://android.git.kernel.org/?p=platform/development.git;a=commit;h=
582fcd428db0a49e453c64c8233f9f82ae72e1fc
Xavier Ducrohet [Mon, 25 Jan 2010 23:58:45 +0000 (15:58 -0800)]
Merge "resolves Issue #5280: Go to problem in source from Logcat." into eclair
Karl Ostmo [Mon, 25 Jan 2010 23:47:25 +0000 (15:47 -0800)]
resolves Issue #5280: Go to problem in source from Logcat.
This is integrated from external/master/development.git in
order to not be lost when the development->sdk move is
merged into external/master
Change-Id: I36b6c467900c80b58342ee586f802979e8ce821c
http://android.git.kernel.org/?p=platform/development.git;a=commit;h=
fa974da92bec6ea9bb03ac4511622d784f04d271
Raphael [Mon, 25 Jan 2010 22:54:40 +0000 (14:54 -0800)]
SDK Updater: Install samples in correct directory.
Also makes sure root directories exist before trying to
install into them
SDK Bug:
2384690
Change-Id: I9ed9f1b206debfc051d7b627afd5fd1fac96dd88
Raphael Moll [Mon, 25 Jan 2010 19:20:38 +0000 (11:20 -0800)]
Merge "ADT NPW: cleanup minSdkVersion resolution for samples." into eclair
Raphael [Sat, 23 Jan 2010 02:56:10 +0000 (18:56 -0800)]
ADT NPW: cleanup minSdkVersion resolution for samples.
This fixes a couple quirks in NPW:
- When you select a sample, its minSdkVersion is now used as-is
but the currently selected target is not changed to match.
Otherwise it invalidates the list of samples you're trying to
import from...
- This allows for samples with no minSdkVersion to properly
import with an empty field.
- Same issue if you were to manually edit the field after the fact.
Also renamed IAndroidTarget.isCompatibleBaseFor() to
IAndroidTarget.canRunOn(), which is way more readable.
This also "fixes" bug
2346838 -- kind of, the bug was obsolete
since I had added the new sample mode but there was another
quirk instead (it was reverting the target so it invalidated
the sample you were trying to import... see point #1 above.)
Change-Id: If2487632484fa5646bea7fe2625a2a55e5d26c50
Raphael [Sat, 23 Jan 2010 00:28:23 +0000 (16:28 -0800)]
SDK Updater: support <obsolete> packages.
Bug:
2390937
Change-Id: Ie571d308475a32bc81510785152b230031037094
Xavier Ducrohet [Fri, 22 Jan 2010 23:52:45 +0000 (15:52 -0800)]
Merge "Error when building application with package that has a single segment." into eclair
Xavier Ducrohet [Fri, 22 Jan 2010 23:38:21 +0000 (15:38 -0800)]
Error when building application with package that has a single segment.
Bug:
2261147
Change-Id: I92660ca99eaa7e9d180402683e5c9be0f3dc28d4
Raphael [Fri, 22 Jan 2010 21:04:52 +0000 (13:04 -0800)]
SDK Updater: samples support.
- Scan unknown /samples folders.
- Sample icon for package list.
- Renamed all package icons to <name>_pkg_16.png to simplify loader.
Bug:
2384690
Change-Id: I4deb11c37918e75357b3bb5212f0007126a8f3de
Raphael Moll [Fri, 22 Jan 2010 19:56:25 +0000 (11:56 -0800)]
Merge "SDK Updater: support sample packages." into eclair
Raphael [Fri, 22 Jan 2010 00:45:11 +0000 (16:45 -0800)]
SDK Updater: support sample packages.
TODO: needs an icon and scanning /samples folders not matching
any current platform (in next CL)
BUG:
2384690
Change-Id: I07d55a8e1ff897bde10c475050d0e18ae3ca7da8
Xavier Ducrohet [Fri, 22 Jan 2010 00:50:22 +0000 (16:50 -0800)]
ADT: Fix case where the launch config contains a deleted activity.
Bug:
2368879
Change-Id: I76719f625d792b20d362198ce060e5a33945d0d4
Xavier Ducrohet [Thu, 21 Jan 2010 23:45:43 +0000 (15:45 -0800)]
Merge "Add support for packaging gdbserver in the apk in Ant." into eclair
Xavier Ducrohet [Thu, 21 Jan 2010 23:45:37 +0000 (15:45 -0800)]
Merge "ADT: Add missing NSL comment." into eclair
Raphael Moll [Thu, 21 Jan 2010 23:32:08 +0000 (15:32 -0800)]
Merge "SDK Updater: refuse installing an addon without a matching platform." into eclair
Xavier Ducrohet [Thu, 21 Jan 2010 23:27:49 +0000 (15:27 -0800)]
ADT: Add missing NSL comment.
Change-Id: Ib660a0c039f359b5c3fd2a39680e6c343e496dcd
Xavier Ducrohet [Thu, 21 Jan 2010 20:30:36 +0000 (12:30 -0800)]
Add support for packaging gdbserver in the apk in Ant.
This must only be done in debug so there's a new flag
to detect debug mode. Support for this is added to the
build script, the Ant task and ApkBuilder itself.
Change-Id: Iaebdc60cc3e8fa08c8cb75c885a6a0db556bfd86
Xavier Ducrohet [Thu, 21 Jan 2010 22:58:33 +0000 (14:58 -0800)]
Merge "ADT: Make the builders add gdbserver with the native libs if needed." into eclair
Raphael [Thu, 21 Jan 2010 21:36:45 +0000 (13:36 -0800)]
SDK Updater: refuse installing an addon without a matching platform.
This adds support for already installed archives as well as missing
platform archives when computing dependencies.
Change-Id: I40c7838d650af0d2e2aaee6bb1e0f2b4b84760c9
Xavier Ducrohet [Thu, 21 Jan 2010 19:35:34 +0000 (11:35 -0800)]
ADT: Make the builders add gdbserver with the native libs if needed.
Change-Id: I0324919b4c1cc0ce0b597b46dac5e875f8322a1e
Raphael Moll [Thu, 21 Jan 2010 18:36:44 +0000 (10:36 -0800)]
Merge "SDK Updater: support min-api-level in Extra packages." into eclair
Xavier Ducrohet [Thu, 21 Jan 2010 17:50:51 +0000 (09:50 -0800)]
Merge "ADT: fix potential NPE when launching app." into eclair
Raphael [Thu, 21 Jan 2010 01:40:56 +0000 (17:40 -0800)]
SDK Updater: support min-api-level in Extra packages.
BUG:
2386406
Change-Id: I274079d228e9fe7ca2623b54adeae33d365662ed
Xavier Ducrohet [Thu, 21 Jan 2010 02:16:44 +0000 (18:16 -0800)]
ADT: fix potential NPE when launching app.
The problem can arise when the emulator is just starting
to boot or if a device is just connected and its build
version was not yet queried.
Bug:
2379027
Change-Id: Ib6046dc2a50a87c496034d91abc0b579e76c34cb
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
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
Xavier Ducrohet [Tue, 19 Jan 2010 19:20:06 +0000 (11:20 -0800)]
ADT: Fix arrayoutofboundexception
Bug:
2378994
Change-Id: I4844addc3fe006f1739015522dc45e43d70cc966
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
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
Raphael Moll [Thu, 14 Jan 2010 23:57:38 +0000 (15:57 -0800)]
Merge "AD Tests: fix missing LayoutDevices sample xml." 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
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
Raphael [Thu, 14 Jan 2010 23:17:50 +0000 (15:17 -0800)]
AD Tests: fix missing LayoutDevices sample xml.
Change-Id: I879dd9fd3465491b0e8143a81d3a696e50212b99
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Xavier Ducrohet [Thu, 7 Jan 2010 16:30:01 +0000 (08:30 -0800)]
Move LayoutLib API library to sdk.git
Change-Id: I8a54705a75d79c743e59c763ed2464408a836ebf
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
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
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
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
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
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
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.
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
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
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
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.
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
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.
Raphael [Thu, 17 Dec 2009 02:35:48 +0000 (18:35 -0800)]
Groovy test for ADT-tests.
Change-Id: Idcb3586e62fbc85f008627dc323f40dba12e8121
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
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
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
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
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
Raphael [Fri, 11 Dec 2009 00:50:29 +0000 (16:50 -0800)]
GLE2: Add groovy.jar to ADT and ADT-tests
Change-Id: I4d0437161b582ae23c23606a8bfa16b04ae508c0
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.
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
Raphael [Sat, 12 Dec 2009 05:33:24 +0000 (21:33 -0800)]
Fix ADT Tests (see Change If49c1e1a)
Change-Id: Ief3c7bf7fddc6a91fb1c00b5cffcc7778b12815b
Android (Google) Code Review [Fri, 11 Dec 2009 23:20:51 +0000 (15:20 -0800)]
Merge change If49c1e1a into eclair
* changes:
Exploded 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
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.
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
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.
Romain Guy [Fri, 11 Dec 2009 02:35:48 +0000 (18:35 -0800)]
Fix layoutopt.bat to start layoutopt on Windows.
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.
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
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.
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
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
Android (Google) Code Review [Tue, 8 Dec 2009 22:08:31 +0000 (14:08 -0800)]
Merge change I3cc4f3fe into eclair
* changes:
Properly order targets.
Xavier Ducrohet [Tue, 8 Dec 2009 21:52:19 +0000 (13:52 -0800)]
Properly order targets.
Change-Id: I3cc4f3fe39715750b72a89a28b682eb16c3a8c27
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
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.
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
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.
Raphael [Mon, 7 Dec 2009 22:40:55 +0000 (14:40 -0800)]
GLE2: fix group toggle & scrollbar in layout palette.
Change-Id: Ic07e0d19b21434c5f9bf7c0149d1f402e1e5a1bd
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
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.
Xavier Ducrohet [Sat, 5 Dec 2009 01:55:30 +0000 (17:55 -0800)]
Update ADT's changes.txt file.
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