| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |/ / /
|/| | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For unknown reasons, in some environments dragging a SlidingDrawer or
a TabHost does not work.
This fixes 3 related problems to this:
(1) The drag doesn't work because it aborts during preview
rendering. The first part of the fix catches any exceptions thrown
by the create hooks, since we don't want an unsuccessful preview
to be able to abort the real drag.
(2) The specific exception thrown in the logs submitted by the user
shows that it's coming from the Xerces parser. It's not clear why
it throws an exception, since the arguments shown in the log are
fine, but in any case we don't need to use Xerces here; it's
better to use the Eclipse DOM since that is what is used in the
layout editor (other than palette preview), so the code to
initialize a blank model for preview rendering is changed to using
an Eclipse DOM document instead of a default Java XML DOM
document.
(3) The above fixes preview rendering for TabHosts for example.
However, SlidingDrawers are a bit unique; in preview rendering
they look just like a button. So instead of showing this, turn off
preview rendering for SlidingDrawers specifically in the metadata,
such that you drag an icon+label in the same way that
"transparent" widgets (such as layouts) are handled.
This fixes http://code.google.com/p/android/issues/detail?id=23022
Change-Id: Ib3b997d1dcfb164311ed78f819c7a2b6130b74b4
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset fixes the handling of resource references inside items,
such as creating a layout alias like this:
<item type="layout" name="foo">@layout/bar</item>
This was not working correctly for code completion (no resource
completion inside the text node area of the item, and it was not
working correctly for the unused resource detector.
Change-Id: I844bf9be4802a0d246accd47b83514ebf0ae6d53
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL restores 6f81b2073b42403d97110f5c0cd7006b3e5963eb which was
backed out because it required Eclipse 3.6. Now that we no longer
support Eclipse 3.5, add it back in.
Original description:
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: Ia2ef5486b4b519506267a74c5bd6176f84d26937
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
- move all formatting code to separate package
- show return values where applicable
- better formatting for pointers
- add unit tests
Change-Id: Iaba124c9190ebc36d059bf6312a474fd73632958
|
|/
|
|
|
|
| |
Add a perspective switcher bar to the monitor RCP application.
Change-Id: I86d8bdb5633d6566dba8aaf1c48561b947ea7420
|
|
|
|
|
|
|
| |
Add a column in the GL function trace view that shows the
GL Context in which the function was called.
Change-Id: Idedc821c66ec57eb2d4c997ad4cc936e1fe472b8
|
|
|
|
|
|
|
| |
Add the currently bound framebuffer setting to the GL state.
Set it appropriately based on the glBindFramebuffer() call.
Change-Id: I9dfc5154cd7801c2aa06920f67e31de45c63e6f7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
You currently have to select a project in the package explorer before
you click on the Run Lint toolbar action. This changeset makes the
action look harder for which project to run lint for:
- As before, look for the current selection and check whether it
provides a selection
- If there's an active editor, use its project.
- If not, if there's just one available Android project, use it.
- If not, if there's just one non-library Android project, use it.
Finally, display a warning dialog if no project can be found, or if
the selected project is not an Android project, such that it's
apparent why nothing happens.
Change-Id: I92daa080db0bd815bc3d51fe9e458df12e6cc50f
|
|
|
|
|
|
|
|
|
|
|
| |
png crunch is done by aapt which does it only on the files that
need it (new or updated file). So it's safer to always call it
from eclispe rather than trying to figure out if it's needed
from the resource delta (which could be incomplete).
In particular, right now, the resource delta only checks for
the source folder.
Change-Id: I74448eee2f826346ca5a67e8894fafa414eba559
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Idf55cd31705b9c122577c3aeabdb09bbe373b963
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset adds a new layout rule which finds cases where
you have RelativeLayout attributes pointing to id names that do
not exist, such as
layout_alignLeft="@+id/navbar"
The +id/ syntax here creates the id on the fly, so aapt does not
complain, but the new lint rule makes sure that at least one layout
actually defines this id as its id.
If no match is found, it looks for spelling mistakes and suggests
other similar ids in the error message.
This condition is flagged as an error. The detector also issues a
related warning if it finds an id reference that is not defined in the
same layout. This is sometimes okay (where you have deliberately
referred to an element which will be included into this layout, or is
in a layout including this one), but it's usually an accident.
Change-Id: I7f3fa6f4cb5cef6dcd307256050fb9580887addd
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| | |
This fixes
22842: Problem changing lint settings on Windows Eclipse Helios SR2
Change-Id: Ie937410c9e0bf47f345cd305f96dd28cd990196f
|
|/
|
|
|
|
|
| |
This changeset fixes
22501: invalid Comparator passed to Collections.sort by ADT's LintList
Change-Id: I265a2f9d5901caf9c3f6fb45009ba25a72b05d29
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The monitor plugin defines the entry point for the monitor RCP application,
and also defines the monitor.product product configuration.
The build scripts in eclipse/scripts/rcp show how to build the RCP app
from the command line.
Currently, these are not built on the build server. That will happen once
we figure out where to put the prebuilts.
Change-Id: Idc96b2c011dba55c0d6792e916193017df6ce1c1
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Idc81f7a2d033675a03209eeabda0216babc35ebe
|
|/ /
| |
| |
| |
| |
| |
| | |
- Add a new perspective.
- Move existing GL related items to show up only in this perspective
Change-Id: I50d8f2f78d983e54af03ceacad97de459fd9e745
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ie460401bcf83b3902658e05dcb6dfcec515c8b90
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. Currently, the FB image is just set as the background image on
the canvas. As a result, the image will be tiled if the view area
is larger than the FB image. This patch fixes it so that the image
is displayed correctly.
2. Add a scale image to fit canvas option.
Change-Id: Ic56bacd416645a3c84673371d68fc067873a2f8e
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset adds the Guava library to ADT and lint. (It is also a
prerequisite for the Lombok AST library which is added by a later CL.)
This changeset also uses the library in a few simple ways: It replaces
some custom I/O and collections code with calls into the equivalent
Guava methods, and it also adds the @Beta annotation on the various
"API" classes which are not yet stable.
Change-Id: I2f50febfa075c32818404e888578a2e1e447d408
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ifcc1d88dabb07dc05b2e5c934743ad52f9b6dc1d
|
|\ \ \
| | |/
| |/| |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Protocol buffer messages can optionally contain the contents of the
framebuffer. These messages are then really large in size. Rather
than storing all of these messages in memory, we remove the image
data from the message and store a pointer (offset in file) to the
image in file. When needed, the trace file is read again to retrieve
the image.
Change-Id: I3d0c65026bba29efc5e31d8c251582fdaa068c64
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Looks like issues found in 3.5 do not happen in 3.6+ and it's just
better to do non async refresh.
Change-Id: Ieaf1afb1a9f830c90cea842fbee085382259d2d9
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ib463742beb38bf9b6cc2a272f5a3662ffab18ce1
|
|\ \ \ \
| | |/ /
| |/| /
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| | |
The version with only a boolean is deprecated in 3.6+
Change-Id: I22061e53f84af674fa137d96cfb2799a0f97faad
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset fixes a bunch of issues in the infrastructure:
(1) It cleans up the Context class quite a bit. It had some hardcoded
XML stuff in it, which is now in a separate XmlContext class (and
there will be a JavaContext class in the Java support CL).
It also hides a bunch of public fields, cleans up some unused
stuff, and introduces a couple of wrapper methods to make detector
code cleaner; in particular, rather than calling
context.client.report(context, ...
you can now just call
context.report(...
and similarly there are wrappers for logging and checking for
disabled issues.
(2) The IParser interface is renamed to IDomParser since in the next
CL there will also be an IJavaParser. Some other related cleanup.
(3) There is now a "Location.Handle" interface. This allows detectors
to create light-weight location holders, and later on call
handle.resolve() to create a full-fledged Location. This is useful
when detectors don't yet know whether they'll need a location for
a node, but want to store it for later in case they do. As an
example, the unused resource detector creates location handles for
declaration and only resolves full locations for those that are
found to be unused.
Locations can now carry custom messages. For example, for a
duplicate id error, the secondary location now contains a
"original declaration here" message. And the CLI and HTML reports
now include alternate locations in the output.
Some other location cleanup too; using factory methods to make the
code cleaner, some default implementations that can be shared,
etc.
(4) There's a new SDK info class intended to provide SDK information
from a tool client (such as resource resolution). It currently
just contains parent-view information, used for the
ObsoleteLayoutParams detector and an upcoming CL for a
ViewTypeDetector.
(5) The Detector class now provides dummy implementations for the
inner-interfaces, so we no longer need the adapter classes. This
makes it easy to implement the XmlScanner or JavaScanner
interfaces without needing to also stub out a bunch of methods.
Change-Id: I4b3aaabe51febb25b000f9086703653bea6cf7c9
|
|
|
|
|
|
|
|
|
|
|
| |
There is no such 3.6.2 version for the core.runtime plugin.
The org.eclipse.ui plugin does require 3.6.2 though.
SDK Bug: 5690034
(Cherry-pick from 68afb2636d773c139e6909ad69f4fda951ee8133)
Change-Id: I90220adcc2c640df900c311a2d00d1b5ef5cb020
|
|
|
|
| |
Change-Id: I312b0dcf45c18dbe417717f7fe4eff69897a8b62
|
|
|
|
|
|
|
|
|
|
| |
When you click on the Fix icon in the Lint Warnings window, the marker
you're applying a fix for may be referencing a file that is not open
and visible. The apply fix code needs to account for this, and open
the document (such that getModelForEdit will succeed) and for
interactive fixes, also open the editor.
Change-Id: Ic9c232bd050e4d6cce8acfc41a8e24b66e21bb48
|
|
|
|
|
|
|
|
|
|
| |
This changeset fixes the auto-indent handling for a specific scenario:
pressing newline within a text node, when the next non-text region is
an element end tag, and the caret is not on the same line as the end
tag. This scenario is covered by the new unit tests testIssue22332a
and testIssue22332b.
Change-Id: I238423ddf25864746a941d6ac8c1fb6a41e37601
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib9daf9568c6263887d6ff8e75dc64807f13955a8
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Updates the feature descriptors to depend on Eclipse 3.6, such that
ADT 16 can't be installed in Eclipse 3.5. I think we agreed to require
Eclipse 3.6 recently, and Raphael has already made the build server
switch in changeset 9c014a83a.
Change-Id: I8f00f4363f23094063d4bd2876e2ac0dae24e4ec
|