OSDN Git Service
The Android Open-Source Project [Thu, 4 Aug 2011 20:14:40 +0000 (13:14 -0700)]
merge from open-source master
Change-Id: Ic8120ec9bcca6cb563d8da72ff8234ed446ecdda
Tor Norbye [Thu, 4 Aug 2011 20:10:14 +0000 (13:10 -0700)]
Merge "Fix formatting bug for formatting ranges"
Tor Norbye [Thu, 4 Aug 2011 20:09:56 +0000 (13:09 -0700)]
Merge "Add tag-handling for Go To Matching in XML documents"
Tor Norbye [Thu, 4 Aug 2011 20:09:46 +0000 (13:09 -0700)]
Merge "Improve smart-indent handling in XML files"
The Android Open-Source Project [Thu, 4 Aug 2011 19:10:47 +0000 (12:10 -0700)]
merge from open-source master
Change-Id: I12dcc0f85622b1d1baf89feedde0143252a35cec
Siva Velusamy [Thu, 4 Aug 2011 19:00:28 +0000 (12:00 -0700)]
Merge "Initial implementation of the new logcat panel."
Siva Velusamy [Wed, 3 Aug 2011 18:19:33 +0000 (11:19 -0700)]
Initial implementation of the new logcat panel.
This logcat panel will show up in ddms if it is launched with -Dcom.android.ddms.useNewLogCatView.
Currently, this implementation only displays a table with a list of logcat messages. It lacks
features such as filters, go-to source of exception, export to log, user preferences, etc.
Future patches should enhance the UI to achieve feature parity with older UI.
Change-Id: I3dde3c590c839318ce57bb5f005627f580ebb06c
The Android Open-Source Project [Thu, 4 Aug 2011 18:57:10 +0000 (11:57 -0700)]
merge from open-source master
Change-Id: Id2bc8ffee99950b65406027fb45c3d174e909182
Siva Velusamy [Thu, 4 Aug 2011 18:54:16 +0000 (11:54 -0700)]
Merge "Conditionally create old logcat view."
The Android Open-Source Project [Thu, 4 Aug 2011 18:05:24 +0000 (11:05 -0700)]
merge from open-source master
Change-Id: I569fa0135c3e25126df9cea9684ba1c692935e6b
Siva Velusamy [Thu, 4 Aug 2011 17:58:06 +0000 (10:58 -0700)]
Merge "Convert tabs to spaces"
Siva Velusamy [Tue, 2 Aug 2011 23:18:41 +0000 (16:18 -0700)]
Conditionally create old logcat view.
As a first step towards replacing the logcat view, wrap the code that creates
and manages the current logcat view to first check which implementation to use.
The old implementation is used unless a JVM property
"com.android.ddms.useNewLogCatView" is set.
Change-Id: Idbdfcc55f0f5f28f7004b010875b89de8a4cea12
Siva Velusamy [Tue, 2 Aug 2011 22:34:25 +0000 (15:34 -0700)]
Convert tabs to spaces
Change-Id: I7032663689943b22342b49736f0656df778cd456
The Android Open-Source Project [Thu, 4 Aug 2011 01:06:36 +0000 (18:06 -0700)]
merge from open-source master
Change-Id: I37d59786bc2cabac8a48f4e76fdec83ed652cfd3
Raphael Moll [Thu, 4 Aug 2011 00:53:02 +0000 (17:53 -0700)]
Merge "sdkman2: if nothing selected yet, select new/updates."
Tor Norbye [Thu, 4 Aug 2011 00:34:25 +0000 (17:34 -0700)]
Fix formatting bug for formatting ranges
Fix bug discovered by Raphael, where you select a portion of a node
and then try to format it; the bug happens if the node is indented at
column 0. I'll add unit tests for this in the next checkin along with
wider tests for node-replacements.
Change-Id: I6488dce530e0663c83b063da906ab6a5e0bcc1d6
Tor Norbye [Wed, 3 Aug 2011 23:43:19 +0000 (16:43 -0700)]
Add tag-handling for Go To Matching in XML documents
Eclipse has a Go to Matching feature, bound to Ctrl-Shift-P. However,
for XML documents it only works on the character level, so if the
caret is inside a tag it does nothing, and if you place it on an angle
bracket, it just jumps to the opposite angle bracket for the same tag.
This changeset adds a new character pair matcher which works at the
tag level, so if you for example place the caret anywhere in an end
tag, it will highlight the first character of the opening tag, and if
you jump it will jump to that opening tag. Similarly, if you place the
caret next to the < or tag name of an opening tag, it will jump to the
closing tag.
Change-Id: Id25487b24616abf79c71de5eec21f8c0f07e68cc
The Android Open-Source Project [Wed, 3 Aug 2011 19:36:33 +0000 (12:36 -0700)]
merge from open-source master
Change-Id: Ic7c118d50e67a9c5d7ddd26634d0c835bdf6f60e
Raphael Moll [Thu, 7 Jul 2011 15:14:23 +0000 (11:14 -0400)]
sdkman2: if nothing selected yet, select new/updates.
Also synchronize selection between the sort-by-api
and the sort-by-source mode.
Updated with unit tests.
Change-Id: I714953dee219bc7a5471a347571262459f6052de
Tor Norbye [Tue, 2 Aug 2011 21:13:47 +0000 (14:13 -0700)]
Improve smart-indent handling in XML files
This changeset adds a new "auto edit strategy" for Android XML files,
which replaces the default XML auto-indenter (which just copied the
indentation of the previous line.)
The new indenter instead uses the lexical information to indent based
on the tag and bracket balance.
For example, if the | represents the caret position, then the
following shows how the edits are transformed:
<foo name="value"/>| => <foo name="value"/>
|
<foo name="value">| => <foo name="value">
|
<foo <foo
attr1 = "value1"|> => attr1 = "value1"
|>
<foo <foo
attr1 = "value1"/>| => attr1 = "value1"/>
|
It can also modify the text after the caret, as in the following
transformation:
<foo>|</foo> => <foo>
|
</foo>
See the unit test for more cases.
Change-Id: Ia99ecf6573ff4a9473970aa2fd481d2228ddf45d
Tor Norbye [Wed, 3 Aug 2011 18:25:15 +0000 (11:25 -0700)]
Merge "Use Windows line delimiters on Windows"
Xavier Ducrohet [Wed, 3 Aug 2011 18:04:38 +0000 (11:04 -0700)]
Merge "Update tools/ADT to rev 14."
The Android Open-Source Project [Wed, 3 Aug 2011 12:30:17 +0000 (05:30 -0700)]
merge from open-source master
Change-Id: Id7f3eb4665e093e7eb56afdadcc4a412c7536a4e
David Turner [Wed, 3 Aug 2011 12:20:05 +0000 (05:20 -0700)]
Merge "Fix magnetic field sensor string."
Xavier Ducrohet [Wed, 3 Aug 2011 01:20:38 +0000 (18:20 -0700)]
Update tools/ADT to rev 14.
Change-Id: Id29498fde61185a63812b7267b64560a8fd54dc5
The Android Open-Source Project [Tue, 2 Aug 2011 22:18:46 +0000 (15:18 -0700)]
merge from open-source master
Change-Id: Ie9bb30a3e763bb1d5f83c6e18303ca7317279176
Raphael Moll [Tue, 2 Aug 2011 22:11:14 +0000 (15:11 -0700)]
Merge "SDK Man2: Fix initial load of all sources."
The Android Open-Source Project [Tue, 2 Aug 2011 21:53:43 +0000 (14:53 -0700)]
merge from open-source master
Change-Id: I07b53044c974653154d7c4628d9141b7a3cb7479
Tor Norbye [Tue, 2 Aug 2011 21:43:03 +0000 (14:43 -0700)]
Merge "Add a new XML formatter, new options, and format on save"
Tor Norbye [Tue, 2 Aug 2011 21:41:07 +0000 (14:41 -0700)]
Use Windows line delimiters on Windows
Change-Id: I33094888432214fc5c70c4c4392d8afd932a3a7a
The Android Open-Source Project [Tue, 2 Aug 2011 21:28:29 +0000 (14:28 -0700)]
merge from open-source master
Change-Id: I2da24f65530d426b967f7f2712a21d851bea113c
Tor Norbye [Tue, 2 Aug 2011 21:25:29 +0000 (14:25 -0700)]
Merge "Add clipart support to the asset set wizard"
Tor Norbye [Fri, 29 Jul 2011 02:33:36 +0000 (19:33 -0700)]
Add clipart support to the asset set wizard
This changeset adds clipart support to the asset set wizard. There is
only one placeholder clipart image now but the code reads the
available images from the jar dynamically.
This changeset also adds "file exists - replace yes, no, always,
never" handling for the generated icons.
Change-Id: I38d0c40957eff4a9e844e29d61f2c57493bd10f0
Raphael Moll [Tue, 2 Aug 2011 21:10:38 +0000 (14:10 -0700)]
SDK Man2: Fix initial load of all sources.
Change-Id: I54598804adad6b21ba524829570d28135f0586ca
The Android Open-Source Project [Tue, 2 Aug 2011 20:49:17 +0000 (13:49 -0700)]
merge from open-source master
Change-Id: I65eaff5a9d6c43a4d2547dfd8db02c3f9066b1e0
Raphael Moll [Tue, 2 Aug 2011 20:39:17 +0000 (13:39 -0700)]
Merge "Fix ADT on Windows: don't use private FontData fields."
Raphael Moll [Tue, 2 Aug 2011 20:17:27 +0000 (13:17 -0700)]
Fix ADT on Windows: don't use private FontData fields.
Most FontData fields must NOT be accessed directly
as they are platform-dependent.
Change-Id: I26ad9b40b9d2040931551c6f08fa033ef3c24386
The Android Open-Source Project [Tue, 2 Aug 2011 20:08:57 +0000 (13:08 -0700)]
merge from open-source master
Change-Id: Iad708bec6e3d604922c8fa8ea629af1e7fa42df9
Josiah Gaskin [Tue, 2 Aug 2011 20:02:07 +0000 (13:02 -0700)]
Merge "ADT Resource Repo stores IDs and Called Once"
The Android Open Source Project [Tue, 2 Aug 2011 14:33:56 +0000 (07:33 -0700)]
Reconcile with honeycomb-LTE-release
Change-Id: I8eb46c1d82342f537a880adf8fa1cd0f1612ed2c
The Android Automerger [Tue, 2 Aug 2011 14:07:00 +0000 (07:07 -0700)]
merge in honeycomb-LTE-release history after reset to honeycomb-LTE
Tor Norbye [Fri, 29 Jul 2011 20:04:31 +0000 (13:04 -0700)]
Add a new XML formatter, new options, and format on save
This changeset adds a custom XML formatter for the Android XML
editors.
There is an option for turning off this formatter and using the
standard XML formatter instead.
The new custom formatter offers the following features:
* By default, it formats files following the Android conventions for
XML formatting. This means not only that it indents with 4 space
characters (instead of the Eclipse default of one tab character),
but it places attributes on a line of their own, it adds blank
lines in certain places, and so on.
* It sorts attributes (logically, alphabetically, or none)
* It formats files with different styles depending on the context.
For example, in layout files it always places a single blank line
between view elements, whereas in manifest files it only places
blank lines between elements of different types such that for
example the <uses-permission> elements all form a logical group,
separated from <uses-sdk> and so on.
The fact that strings.xml and layout.xml are usually formatted with
different flavors is one of the reasons setting up the old Eclipse
XML formatter to do the right thing was not possible.
In addition, there are various user options added to the Editors
preference page where you can tweak the behavior of the formatter,
such as turning off blank lines completely, controlling whether there
is a space before the > or /> closing characters, and you can also
tell the formatter to use Eclipse's indentation setting (indentation
size and whether to use spaces or tabs).
Finally, there is a new "Format on Save" option which behaves just
like Format on Save for Java files: when you press Ctrl-S to save a
file, the XML content will be formatted before the file is saved.
Change-Id: Ic6f05c768ab063b09f6f0248f60fbe8722fb149d
Josiah Gaskin [Mon, 18 Jul 2011 23:54:43 +0000 (16:54 -0700)]
ADT Resource Repo stores IDs and Called Once
This change makes ADT parse out @+id declarations from layout and
menu files and store them in its ResourceRepository. This eliminates
the need to merge in IDs from the generated R.java in order to have
a complete repository of resources.
In order to do this, a new type of ResourceFile is created:
IdGeneratingResourceFile which is used for xml files in menu/ and layout/.
Also includes an IdResourceParser which finds all the declared IDs in an XML.
This change also includes a change to the ResourceMananger to process
raw deltas that can be provided either from the PreCompilerBuilder or from
the GlobalProjectManager. This is to avoid duplicate deltas being passed
to ResourceManager when autobuilding.
Change-Id: I1c705a5f5a01ce7daa3eb76f14bd6cb9e11b5248
The Android Open-Source Project [Mon, 1 Aug 2011 23:29:15 +0000 (16:29 -0700)]
merge from open-source master
Change-Id: I11f2b91a09037d224b65ade5302b42f18ed9ea6d
Xavier Ducrohet [Mon, 1 Aug 2011 23:15:46 +0000 (16:15 -0700)]
Merge "New plug-in supporting NDK with CDT"
The Android Open-Source Project [Mon, 1 Aug 2011 21:19:02 +0000 (14:19 -0700)]
merge from open-source master
Change-Id: I4ee46e1d89a7d2a42d441e8b3114b009673078b2
Raphael Moll [Mon, 1 Aug 2011 21:10:26 +0000 (14:10 -0700)]
Merge "SDK Manager2 revamp of package display"
Raphael Moll [Mon, 1 Aug 2011 21:10:20 +0000 (14:10 -0700)]
Merge "SDK Manager: Fix display of Archive sizes."
The Android Open Source Project [Mon, 1 Aug 2011 14:22:49 +0000 (07:22 -0700)]
Reconcile with honeycomb-LTE-release
Change-Id: I1855bbd05797c3065b484baf436445f135c167c5
The Android Automerger [Mon, 1 Aug 2011 14:05:51 +0000 (07:05 -0700)]
merge in honeycomb-LTE-release history after reset to honeycomb-LTE
The Android Open Source Project [Sat, 30 Jul 2011 20:12:46 +0000 (13:12 -0700)]
Reconcile with honeycomb-LTE-release
Change-Id: Iea71d90e2cb1a6b076d596f5cf249ea3e9fa4eb2
Raphael Moll [Fri, 29 Jul 2011 23:57:33 +0000 (16:57 -0700)]
SDK Manager2 revamp of package display
Always compute the sort-by-api and the sort-by-source
lists together. This allows the UI to change the display
whilst the underlying packages are being updated.
Change-Id: I6dc551bc27afa1b81bb4a26c236d8fcf5d910884
Raphael Moll [Fri, 29 Jul 2011 22:57:14 +0000 (15:57 -0700)]
SDK Manager: Fix display of Archive sizes.
SDK Issue: 18875
Change-Id: I702e11cff07bded8e90d415541040fc06ceb7d49
The Android Automerger [Fri, 29 Jul 2011 23:36:48 +0000 (16:36 -0700)]
merge in honeycomb-LTE-release history after reset to honeycomb-LTE
Raphael Moll [Fri, 29 Jul 2011 20:50:34 +0000 (13:50 -0700)]
Merge "Make SDK Manager2 window app-modal."
Raphael Moll [Fri, 29 Jul 2011 19:49:38 +0000 (12:49 -0700)]
Make SDK Manager2 window app-modal.
SDK Bug:
5097338
Change-Id: I3969ac6920e70513723a6fb917be520b59ebd7f1
Tor Norbye [Fri, 29 Jul 2011 20:17:10 +0000 (13:17 -0700)]
Merge "Add Java Quick Assistant for Extracting Strings"
Tor Norbye [Thu, 28 Jul 2011 21:07:18 +0000 (14:07 -0700)]
Add Java Quick Assistant for Extracting Strings
This changeset adds a Quick Assistant to Java files in Android
projects, which proposes "Extract String" when the caret is within a
String literal.
It also moves a couple of utility methods from the Hyperlinks class to
the AdtUtils class.
Change-Id: Ica5ff40e32e3e145481d6c895178109289ed1d9b
Tor Norbye [Fri, 29 Jul 2011 19:17:44 +0000 (12:17 -0700)]
Merge "Add text support to asset studio wizard"
Tor Norbye [Fri, 29 Jul 2011 19:16:49 +0000 (12:16 -0700)]
Merge "Add tooltip drag feedback for relative layout"
Tor Norbye [Fri, 29 Jul 2011 19:15:11 +0000 (12:15 -0700)]
Merge "Back out quick-outline customization: Requires Eclipse 3.6"
Tor Norbye [Fri, 29 Jul 2011 19:13:50 +0000 (12:13 -0700)]
Back out quick-outline customization: Requires Eclipse 3.6
Change-Id: I7c529c81dd53c8ff0ad12ada78de2961910aa336
Tor Norbye [Fri, 29 Jul 2011 19:10:23 +0000 (12:10 -0700)]
Merge "Customize Quick Outline for Layout and Resource editors"
Tor Norbye [Fri, 29 Jul 2011 18:48:40 +0000 (11:48 -0700)]
Customize Quick Outline for Layout and Resource editors
The XML editor has a Quick Outline (Cmd-O) but it only displays the
tag name. This means that you only see "Button" instead of ids to
distinguish similar widgets - and it also means that you can't filter
based on the ids or names.
This changeset adds a custom configuration for the XML quick outline
used by the layout editor and the resource editor which includes the
id or name attributes, and it also picks up the palette icons for the
various widgets.
Change-Id: I08e5d8d10f8f2ad0c2633488d3520d48da6c20cb
Raphael Moll [Fri, 29 Jul 2011 18:26:51 +0000 (11:26 -0700)]
Merge "Style: space after synchronized (object) {...}"
Raphael Moll [Fri, 29 Jul 2011 18:26:16 +0000 (11:26 -0700)]
Merge "SDK Manager2: Revamp progress bar handling."
Tor Norbye [Thu, 28 Jul 2011 22:18:33 +0000 (15:18 -0700)]
Add text support to asset studio wizard
Change-Id: I91fe21d73d642c1c5931ad346c7db7534a05262c
Tor Norbye [Thu, 28 Jul 2011 23:33:14 +0000 (16:33 -0700)]
Merge "Add a text rendering utility class to the Asset Studio library."
Roman Nurik [Thu, 28 Jul 2011 06:39:32 +0000 (23:39 -0700)]
Add a text rendering utility class to the Asset Studio library.
Add a text rendering utility class to the Asset Studio library. Also
fix a tiny edge-case bug in image scaling. The text rendering class
allows rendering a String with some options to a BufferedImage, for
input as the sourceImage to a GraphicGenerator.
Change-Id: I8e17e9a25ac2e48fa55e2994706aeb572da54223
Tor Norbye [Tue, 12 Jul 2011 21:21:08 +0000 (14:21 -0700)]
Add tooltip drag feedback for relative layout
This changeset adds tooltip drag feedback for RelativeLayout. During
dragging, the matched edge can quickly change from the left side to
the right side or the top to the bottom edge, so the tooltip support
now allows a client to specify where to align the tooltip not just at
creation but also during updates. This is particularly important for
RelativeLayout where we need to ensure that the tooltips do not
obscure the constraint feedback arrows. And to prevent flicker, it
uses a timer to ensure that there is at least 750 ms between the
repositioning of the tooltip (but it will apply a side change
immediately if it has been 750 ms since the last time the alignment
changed).
Change-Id: I8817db67844ad13c651d343ad310d8646e34dfca
Tor Norbye [Wed, 27 Jul 2011 23:51:06 +0000 (16:51 -0700)]
Merge "Allow GridLayout to exist in project packages"
Tor Norbye [Fri, 15 Jul 2011 20:04:29 +0000 (13:04 -0700)]
Allow GridLayout to exist in project packages
Change-Id: Ia455a9c9de853dcc0e5152a8b24a09192c39b3b4
Tor Norbye [Wed, 27 Jul 2011 23:48:46 +0000 (16:48 -0700)]
Merge "18623: Adding ImageView in xml file causes crash of Eclipse"
Tor Norbye [Wed, 27 Jul 2011 23:48:25 +0000 (16:48 -0700)]
Merge "Asset Studio wizard"
Tor Norbye [Sat, 16 Jul 2011 04:16:56 +0000 (21:16 -0700)]
Asset Studio wizard
This is an initial integration of the Android Asset Studio into
Eclipse, as a New Asset wizard. It uses the Java port of the Android
Asset Studio to generate the assets:
https://code.google.com/a/google.com/p/android-asset-studio-java/
It only supports launcher icons, and some of the configurable
parameters (file, shape, crop).
To run it, put the AssetStudioLib.jar file into the the adt libs
directory.
There's a new "Asset Set" wizard in the New wizard, which will open up
a two page wizard; the first page lets you select the project (which
it attempts to pick up from context), as well as the type of asset to
create, and the asset output name.
In the second page there are the various widgets to tweak the code
generator, and a preview area on the right which updates as you tweak
the various controls.
The main remaining work is to support additional asset types as
they are added to the assetstudio generator library.
Change-Id: I2e556337f8e5c3bc09e84b35a342ba05110abebc
Raphael Moll [Wed, 27 Jul 2011 23:36:44 +0000 (16:36 -0700)]
Style: space after synchronized (object) {...}
For keywords such as if, for, while, we put a space
between the keyword and the expression. Same should
go for synchronized (object) {}.
Change-Id: I5b145912f9346e3f4d8367865c2729abea68fdbc
Xavier Ducrohet [Wed, 27 Jul 2011 23:31:18 +0000 (16:31 -0700)]
Merge "Initial commit for the Asset Studio library in the SDK"
Tor Norbye [Wed, 27 Jul 2011 23:15:21 +0000 (16:15 -0700)]
Merge "Fix undo problems in the XML editor (issue #15901)"
Tor Norbye [Wed, 27 Jul 2011 23:15:08 +0000 (16:15 -0700)]
Merge "Sort XML attributes logically"
Raphael Moll [Wed, 27 Jul 2011 22:12:14 +0000 (15:12 -0700)]
SDK Manager2: Revamp progress bar handling.
Change-Id: Ic5751f5c86f7cd4cf31927d83368a7fcb432e216
Raphael Moll [Wed, 27 Jul 2011 20:23:08 +0000 (13:23 -0700)]
Merge changes I984ae397,I24f74378
* changes:
SDK Man2: Clear local source caches when reloading.
A few minor UI tweaks to SDK Manager 2.
Raphael Moll [Wed, 27 Jul 2011 20:20:25 +0000 (13:20 -0700)]
Merge "SDK Manager2: revamp package diff logic."
Tor Norbye [Wed, 27 Jul 2011 17:18:59 +0000 (10:18 -0700)]
Merge "Fix code completion handling for text selection"
Tor Norbye [Wed, 27 Jul 2011 16:42:51 +0000 (09:42 -0700)]
Merge "Fix 18539: "Extract Android String" mangles the replacement str"
Tor Norbye [Wed, 27 Jul 2011 02:15:32 +0000 (19:15 -0700)]
18623: Adding ImageView in xml file causes crash of Eclipse
Catch exceptions encountered during preview rendering in resource
choosers to ensure that they don't derail the chooser dialog.
Change-Id: I6a0763cea2598b609283d284967c1121b1b18fdb
Tor Norbye [Wed, 27 Jul 2011 01:44:46 +0000 (18:44 -0700)]
Fix 18539: "Extract Android String" mangles the replacement str
The refactoring could end up processing the current Java file twice -
first using the normal code path, and a second time if the "Replace in
All Java Files" checkbox was checked. This second pass would add a
second set of edits which would mangle the file.
Change-Id: I99ed50ab477af12d7fb54a7de6401689dad5d104
Tor Norbye [Wed, 27 Jul 2011 00:43:22 +0000 (17:43 -0700)]
Fix code completion handling for text selection
This CL fixes
18607: ADT 12 problems with xml files
The bug is that if there is a text selection and you invoke code
completion and select an alternative, the wrong number of characters
is deleted as part of the replacement.
The fix is simple: remove the code which adds in the selection count
from the replacement string, since the complete replacement count is
now already computed properly without regard for the selection (we
should -always- replace the complete value token, not just the
selection).
Most of the diffs actually pertain to new unit tests for this because
the testing infrastructure needed some changes to handle references to
selection ranges rather than just caret offsets.
There are also a couple of updates to some test goldenfiles unrelated
to this fix, which updates the golden files to reflect recent changes
like the package name of GestureOverlayViews and the @attr resource
type in completion.
Change-Id: Ie4f680f201930414457a79846f722db6efc89f93
Raphael Moll [Tue, 26 Jul 2011 17:21:00 +0000 (10:21 -0700)]
SDK Man2: Clear local source caches when reloading.
Change-Id: I984ae397ada014ff8869d5775be1bc779ef22319
Raphael Moll [Mon, 25 Jul 2011 22:59:37 +0000 (15:59 -0700)]
A few minor UI tweaks to SDK Manager 2.
- Make the tree filter checkboxes (new, installed, obsolete)
work again but this time by using a proper TreeViewer filter.
- Fix missing name column icons in the TreeViewer.
- Fix display of obsolete items, trimming the duplicated platform
name when possible.
Change-Id: I24f743788b01fe8c9c5f9a7f9b301f725e32f666
Raphael Moll [Thu, 21 Jul 2011 22:53:43 +0000 (15:53 -0700)]
SDK Manager2: revamp package diff logic.
This revamps the diff algorithm used to merge
the local and remote packages found during a
repository load into the PkgItems displayed in
the tree viewer.
FYI all the Package and Archive sub-classes are getting
an equals() and hashCode() methods to make them behave
correctly when put it in a HashTable or Set. These are
the auto-generated stuff from Eclipse.
Change-Id: I1494a0ed44cd768eed252e3a81b9e74bf86d563c
Raphael Moll [Mon, 25 Jul 2011 21:32:36 +0000 (14:32 -0700)]
Merge "SDK Man2: New UTs for install/delete cases."
Raphael Moll [Wed, 20 Jul 2011 21:36:00 +0000 (14:36 -0700)]
SDK Man2: New UTs for install/delete cases.
Change-Id: I1f1e95592f4946ab61ad512f187f87be60ea5834
Xavier Ducrohet [Thu, 21 Jul 2011 19:52:13 +0000 (12:52 -0700)]
Merge "Fix possible NPE in prop page if ProjectState is null."
Josiah Gaskin [Thu, 21 Jul 2011 16:51:17 +0000 (09:51 -0700)]
Merge "Add support for aapt CrunchCache in ADT and Ant"
Josiah Gaskin [Tue, 7 Jun 2011 23:06:06 +0000 (16:06 -0700)]
Add support for aapt CrunchCache in ADT and Ant
This change lets ADT and Ant use the crunch cache system
set up in change I58271fb2. This commit is separate because
sdk and framework are separate git repositories.
Change-Id: If2828d157acad0b5adb812001e777c199e3c62fe
Josiah Gaskin [Thu, 21 Jul 2011 16:48:04 +0000 (09:48 -0700)]
Merge "Add support to Ant for packaging dependency checks"
Xavier Ducrohet [Thu, 21 Jul 2011 00:24:19 +0000 (17:24 -0700)]
Fix possible NPE in prop page if ProjectState is null.
If default.prop is not present then ProjectState is null,
but the property page is required to set the target (to create
the file)...
Change-Id: I8bb9337476c4de1d20feca946a6f2361dc8c9af3
Josiah Gaskin [Wed, 20 Jul 2011 23:00:22 +0000 (16:00 -0700)]
Merge "Fix to avoid NPE in ADT PreCompiler"
Josiah Gaskin [Wed, 20 Jul 2011 22:52:56 +0000 (15:52 -0700)]
Fix to avoid NPE in ADT PreCompiler
This change removes the possibility of throwing an NPE when calling
AAPT from the PreCompilerBuilder.
Change-Id: I521e4088d1f0942e575d6edff91049c78d9c1eb8
Raphael Moll [Wed, 20 Jul 2011 20:41:23 +0000 (13:41 -0700)]
Merge "SDK Manager 2: incremental sort when sorting by source + UT"