| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ /
| | |
| | |
| | | |
Change-Id: Ic64930c80777d7ecdedfebcbac87a4fa919e6937
|
|\ \ \
| | | |
| | | |
| | | | |
style' dialog"
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ie77933fdb529fd5c8cfc960804196fed3ea3c659
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Idc1d27a727a24230ae2fcc58dbd2f08673425100
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for Vertex Buffer Object operations:
- Add VBO state
- Add transforms for VBO operations:
glGenBuffers, glDeleteBuffers, glBufferData & glBufferSubData
- Add details provider that can display the buffer data in
a bunch of different formats.
Change-Id: I30fe1b0924f180ba40fca04a8a4dd53357cc6a7e
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't check for final field when parsing R.java (in libraries
fields are not final anymore) and fix a bug in the new
aaptparser which would return a failed to parse aapt error
when the output is empty.
Also add customview in library test app.
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset makes @SuppressLint work for classfile based detectors
when the error is found in an inner class and the SuppressLint
annotations is on an outer class.
Innerclasses are actually separate classes from their outer classes,
so they are processed separately (each .class file is read and
analyzed independently).
This changeset processes the class files in alphabetical* order such
that it can maintain a stack of outerclasses when processing a
class. The suppress lint check can then visit the outer class'
annotations to see if the error should be suppressed. (*: The order
isn't exactly alphabetical: We want Foo$Bar.class to come after
Foo.class)
This changeset also tweaks the Add Annotation quickfix such that it
only offers per-method or per-class annotations, since class files do
not maintain annotation info for other granularities (such as on
variable declarations, so you cannot suppress classfile based issues
with annotations there.) We could make a lint check which ensures that
you don't try to put these annotations there :-)
(This is related to issue http://b.android.com/25948)
Change-Id: Ia9dbc39b1adc73a1b60e375edbf9b5618c7d2353
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is only an issue in Ant because in Eclipse we don't automatically
pull the jar files from libraries into the main project (we should somehow
now that we have the Library Projects jar container that is dynamic).
Right now we do a simple size/sha1 check on libraries that have the same
name to figure out if they are the same version. If they are we only
use one in the dex step (that notoriously fails to add the same class
twice). If they are different we stop the build as it's an error (having
two library projects depending on two different versions of a jar file
should be an error as we can be sure the two versions are API compatible).
For later: not use the file name only? find a way to version the libraries
and to have them declare whether they are API compatible with older versions?
Also added a hard-coded case for the Android Support Library. If both the v4
and the v13 are detected, use the v13 only as it includes the v4 already.
New test apps. Three cases:
- main and library projects with duplicate jar files that are identical
- main and library projects with duplicate jar files that are NOT identical
- main and library projects with v4 and v13 in the dependency list.
Change-Id: I3a9abdcbec635d7c9d3228bdd105120f77178b27
|
| |
| |
| |
| | |
Change-Id: I9e4b35a370f9f3bf7b2868b4a267907bfa8d4cd4
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset fixes a couple of Lint bugs:
(1) Handle BOMs (byte order marks) in Java files. We already handle
this for XML files (where it's common) but these can be present in
other file types as well, such as Java.
See http://code.google.com/p/android/issues/detail?id=25952
(2) Fix a bug (false positive) in the FloatMath detector; the visitor
approach can get confused; do simple ASM node iteration instead
(which is how all the other detectors work; this detector was
written before we had the ASM DOM model)
Change-Id: I65b4e6cd8d8e6c7e591433d8eb5aedf273e2caad
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I16fadfbf801bcb60e0d7edda6af163bf158a4c21
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Before selecting a target device."
* commit 'bcf3d2fbb58f832ef0fae628fc8175d2e91e8fd1':
Disabling action buttons in device panel. Before selecting a target device.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
selecting a target device."
* commit 'bcc8185eb311085b10c05c8e767c6abec5fb8eaf':
Disabling action buttons in device panel. Before selecting a target device.
|
| | |\ \
| | | | |
| | | | |
| | | | | |
device."
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Before selecting a target device.
Change-Id: I704d8af3d5f89dcbc5eb8e5e6b6090ddd8561e22
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
On Windows, when using java 1.5/1.6 running javac without
fork=true can result in file locking preventing further changes
to them.
This changes sets fork=true in this case (win, java 1.5/1.6).
More info: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6558476
Bug: 24577
Change-Id: I6477ab0615c5a535b2011f2e9f40bc8f818f67a2
|
|\ \ \ \ \ \
| | |/ / / /
| |/| | | /
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
aapt Ant task."
* commit '1bc6e780661c67c9464c907c8eba74ae929ca0d8':
Add --rename-manifest-package option to aapt Ant task.
|
| |\ \ \ \
| | | |/ /
| | |/| |
| | | | |
| | | | | |
* commit 'd7d4e9866d44219b67142db30f68186ac0b1abc0':
Add --rename-manifest-package option to aapt Ant task.
|
| | |\ \ \
| | | |/ /
| | |/| | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the Lint API check is analyzing code in a library project, it
should use the min sdk version from the main project (unless you are
linting just a library project without including a main project).
Change-Id: I6d09f2d3e406213014df55832e781813c96aedfd
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Element.getAttribute isn't supposed to return null, but in Eclipse it
sometimes does. It was common in 3.5.2, which we've dropped support
for, but issue 25668 shows that it can happen in Eclipse 3.7.1 too
though it's rare.
This changeset attempts to address the issue in two ways:
(1) Spotfix the specific NPE
(2) Hold the readlock on the XML document while the detectors are
using the DOM nodes (this is in case the nulls are related to
this, which is not certain given that the issue is rare and not
reproducible)
Change-Id: I14727531ea9e08abf45d70013248e702cf5a15eb
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset fixes issue 25862 and also makes a couple of other
tweaks such as avoiding the location getting cleared when you edit the
project name in a particular scenario.
Change-Id: I2ca0b4224a2c626fd0b525a34e9de527227c87ac
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In the past we've only used dynamic IDs for missing resources of
type ResourceType.ID because they can be created by layout files that
are not saved.
However if auto-refresh and auto-build are both disabled, there can
be operations that create resources that won't be present in R.java yet
but are still needed for rendering. So we need to create dynamic
IDs for them too.
This commit reuse the new DynamicIdMap from the layoutlib since we needed
one that included resource type instead of just resource name.
The dynamic map is reset every time the resources are compiled and we get
a new set of ID from aapt.
Change-Id: I059c93f63f32a2e389783d21c66c7d8c7d818a2d
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I5a42a436dd9d21a632af175a860a85aa1d3b5a1d
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id62e675e467a4c9754515640194c836ab4cb9a83
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This adds an optional integer>0 as "beta release candiate" to
repository packages. This will be used in tools 18 to allow
us to push beta versions of packages and still know how to
update them compared to non-beta packages.
Change-Id: I2f0d3cb75171bc23bce1eb511a4e3b86ca97245b
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Change-Id: I6eec29a0f48291324178d9e419cc10013274e0ff
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
We don't want the multi-touch part in there yet.
Change-Id: I4b7d214dd42b124cac592981cf71aedd408966ec
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
config"
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I79cbdf874cffe78eb62f9af2e22e6cc780853e6a
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This amends the ADT version check to help the user either:
- open the SDK Manager
- open the P2 Updater
- open the Android Preference
On Windows the launch the *external* SDK Manager since
eventually we know that ADT will lock something that would
prevent the update from working in the first place.
Change-Id: Ib20e4e1411b36e3cd794cccbc02518db0a40ced9
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset splits the proguard.cfg into two halves:
(1) All the general Android settings go into
$ANDROID_SDK/proguard/proguard-android.txt.
This defines shrinking rules like keep custom views, etc. The
crucial point is that this information is maintained and updated
by Tools updates, so whenever new APIs are added to Android, or
whenever bugs are found in the configuration such as flags needed
to work with Dalvik, we can make the updates - we don't have old
snapshots living on in projects.
(2) Any project specific settings go to proguard-project.txt in the
project.
(3) The proguard.config property in project.properties now refers to a
*path* of configuration files, which are all passed to ProGuard in
the given order. The code which processes this setting will
substitute android.sdk.home and user.home variables, so the path
does not have to be hardcoded to point to the project-android.txt
file.
The default project templates have been updated to include a
commented out configuration setting up proguard as described
above.
The default proguard file name was changed from proguard.cfg to
proguard-project.txt such that it can be directly opened in Eclipse
and to make it clear it's an editable text file.
Lint was updated to find the Proguard file via the proguard.config
property as well as via the old and new default names for projects not
enabled with ProGuard.
A subsequent CL will add a lint check which identifies projects
containing the old setup (full local configuration) and offer to
replace it with the new setup.
Change-Id: I44b4c97a160114c2382f02f843c95486a0dc9d6b
|
|\ \ \ \ |
|