| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | | |
Change-Id: If341cde0f0600c5975c6e847e228d72f5deefb23
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The HELO and APNM packets may append the user id at the end of the
packet. If that data is available, display it as part of the
application name.
Change-Id: Ie353c2cc2895db649fc6ab6054f1c88f5d2f247f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a project contains errors in the source code, lint won't be able to
parse the source code, and in that case it might draw the wrong
conclusions about unused resources.
This can also happen if there's an actual bug in the Java parser,
which is sometimes the case; see for example
http://code.google.com/p/projectlombok/issues/detail?id=415
http://code.google.com/p/projectlombok/issues/detail?id=311
In both cases, when we encounter a failure to parse a Java file, we
record the fact that not all Java files were properly processed, and
rules, such as the UnusedResource detector, can (and now does) use
this to for example skip reporting unused resources in this case since
it is operating with incomplete data.
Change-Id: I00991c10d05965ce151fb0dd322f32229dcd12cd
|
|\ \ \ \
| |/ / /
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset collapses the layout property category by default in
the property sheet.
If you for example select a button in a RelativeLayout, the entire
property sheet would be filled with the various layout parameters in a
RelativeLayout, which meant you'd need to collapse or scroll
immediately anyway.
Even in other layouts, you typically only see properties such as width
and height there, which can usually be better manipulated in the
layout actions bar. This just makes the property sheet more useful
since it shows the other common attributes closer to the top.
Change-Id: I27d27f0453ac1b6897b80b0001e56e8690198bbb
|
|\ \ \
| |/ /
|/| | |
|
|/ /
| |
| |
| | |
Change-Id: I6c281183a176210a6991e81497d9fb242c3851bd
|
|\ \ |
|
|/ /
| |
| |
| | |
Change-Id: Ia5a57139cf76cec559c557011a2acee2af58457a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Provides the ability to obtain user options for systrace,
launch systrace with those options and save the results in
an HTML file.
Change-Id: I4564421b86ebb384e5bd2b3e2329249abd3771aa
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | | |
Change-Id: I88cfbb3c497cc65e3d16c3ba1fe9ceeaf2613103
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
They all output into out/host/repo
Change-Id: I78a1a976f0a99860a66248492da7fd9c6593b1c2
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ib3a4f7c0c479b4c8c7f2e27d47ba756969d4f0b4
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
For now, text-oriented widgets declare their default action to
be to set the text attribute. Also hook up the default rename
keybinding to setting the id.
Change-Id: I14e8e06d0842759b1ac05e7e9494deb30b3cc40f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is just a refactor to move classes around.
No functionality is actually changed.
The sdkman2 package contains classes that are now
sorted between "ui" and "core" packages. The core
stuff has no UI dependency and can be used in
unit tests, whereas the ui stuff needs SWT somehow.
In a later CL some of the UI stuff will be changed
to make it easier to mock for testing.
Change-Id: I86606df7992de6ca6ae1df95f7b712cbba4fd3b6
|
|\ \ \ \
| |_|/ /
|/| | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Fix the sed filter so that it work on MacOS.
Change-Id: I920e5e713bd48c47c9b9c99ba52be64bcefaa69c
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I2d34f5a4ebeaff0a75abc7cdbb41132d860c95eb
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When exceptions are encountered during layout rendering, the user
experience isn't very good - the exceptions are sent to the IDE log,
and the layout editor view adds the error message from the exception
(which can sometimes be something like just "2", which is the case for
an ArrayIndexOutOfBoundsException for example).
This changeset improves this a bit:
* First, when the error message is just an exception error message,
it's prefixed by a message stating that an exception was raised
during layout rendering.
* Second, the first exception encountered is now shown in the layout
editor itself. Only the frames that are part of the android view
hierarchy is shown; all the frames from layoutlib and on down into
the IDE are omitted. Frames that are probably part of the user's
code (meaning they're not in the android.* or java.* namespaces) are
hyperlinkable.
* This also includes exceptions encountered during class
initialization. In this case, the tip message that View#isInEditMode
can be used to do conditional code is displayed in bold.
This changeset also fixes some bugs in the SourceRevealer such that it
can handle constructors, and such that it will use the line number to
pinpoint a line within a method (as long as the line number is in the
correct range).
Change-Id: I43b635eb24b8e0e64988958c56bdb7dbc1af7221
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When using switch statements on enums, the compiler will generate
extra code to make the switch invocation efficient. For example, it
generates a method which looks up all the values in the enum, calls
ordinal() on each, and then creates an array which has all the enum
values indexed by ordinal.
The problem is that this helper code will end up referencing fields
which may have a higher API requirement than is currently being used,
and Lint would flag these as illegal API references. That's not
correct in this case; as long as the corresponding jump table does not
actually use these references, there's no problem.
This changeset makes lint aware of this pattern, and when it
encounters an invalid field reference inside one of these synthetic
switch constant lookup methods, it will search for the corresponding
table lookup, check whether the actual key is used, and only in that
case complain.
It also makes error messages associated with enums in general a bit
better, when the whole enum class itself requires a higher API. (This
would generate a message related to invocation of ordinal() which
might not be obvious to everybody.) Finally, it cleans up class name
formatting such that we never reference inner classes using "$" in
error messages.
Change-Id: I28a14084c160866e69f63f62b5bc8f21ee50215c
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | | |
Change-Id: Iffd270a227a8a76636cbfa5d19c6e0330a8391fb
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| | |
Change-Id: I4286930a2d36d21d9eb60a1c96c70276b77b9d4a
|
|\ \
| |/
|/| |
|
|/
|
|
| |
Change-Id: I5996187d0ccd002d9ec3fe8c0fa5d17a96671431
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We have some code which runs asynchronously to add or clean up
error markers. In some cases this code runs after a project has
been closed or deleted, which results in errors. Guard these
marker access points with an IResource.isAccessible() check
(which performs both exists(), and for projects, isOpen()).
Change-Id: Ie4884db13b1e00236c1c219d95c3544fcdee9610
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The existing hooks for closing the editor when the underlying file is
deleted was not working correctly, and was inefficient (since each
editor added their own global resource listener, so every editor would
find out about every other editor's file changes).
Instead, this generalizes the single editor listener which was used to
initialize editor types such that it also listens for deletion, and
then finds any open editor mapped to that file. It also hooks up to
the pre-close events for projects and closes all files related to the
project as well.
This will hopefully fix this issue as well:
20836: Can't delete a layout XML via Package Explorer > Delete if it
has an error
Finally, it removes a bunch of now obsolete logging code for an issue
which seems to be permanently fixed.
Change-Id: I90b38984639a605755f2d67ca2413cc925f730d1
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I54e99cff338a62147af3247446148d88a73a4ddb
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL adds a dialog to the locale menu in the configuration chooser
which makes it easy to add a new language into the set of languages
used by the project.
Also add some null annotations.
Change-Id: I70ea2f623e6c56684e7b2a51b391f472bf31529b
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I95bf3bc87e4378af6ef866df0a1ffb69f8fd7a41
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset expands on the lint check for calling String
convenience methods that are locale sensitive without an explicit
locale (issue 36822). It checks whether a SimpleDateFormat constructor
that uses the default locale is called, and if so suggests either
specifying a locale or using one of the pre-configured locale
sensitive instances of SimpleDateFormat.
Change-Id: Ic4fcb72c2ee6b31d1534b4d909493fef7dcff867
|