Age | Commit message (Collapse) | Author |
|
Ensured all tests passed and upgraded from alpha release
of constraint layout.
Test: gw runAllTests
Change-Id: Ieccee7f5dd1a4ca6a291763c6a6c47a07b779e09
|
|
Fixed gradle version.
Removed obsolete test.
Removed test for legacy versions.
Test: gw runAllTests
Taken from: Ia5a37722af011a41efbffe6ae809917a722b93a2
Change-Id: Id313c1118f267071d671f02b7f08d370b9979cc2
|
|
This test is not necessary anymore since min version is 13.
Test: GeneratedLayoutTest
Bug: n/a
Change-Id: I3eee300122829c69b452d02f32979a997ec8dcec
|
|
This CL adds a task to update gradle versions. This only fixes runtime tests,
we still need to fix compilation tests but a better solution would be moving
to the tools infra.
Bug: N/A
Test: testApp tests pass
Change-Id: I2d3b576f65ca9c42ef07325a1ce8f4aade70ba68
|
|
… which broke the Android Studio build.
Change-Id: I2e44e3d8e73a28b0bdf84c9ae65c03e4e0cfe6b8
|
|
This is a re-implementation of the CL that was previously
reverted due to missing prebuilts: ag/1955754
Change-Id: I8dba2911908ce9e6a27e182a35c5d29d4722cfc6
|
|
Bug 36104712
Data binding was delivering messages as they occured. Unfortunately,
when that happens, the java compiler ignores the output from the
annotation processor and ends its processing, delivering java
compilation error messages including incomplete classes like
BR and DataBindingComponent. This means that a single error
means huge numbers of data binding errors, making it very
difficult to find the one that caused the problem.
This delays the messages until the last round of annotation
processing. The output will have already been generated by then,
so the java compiler won't give those extraneous errors.
Test: tried a few errors manually and ran all tests
Change-Id: I0c0562214f6a81cebaef475fa61c6fdc615ecc91
|
|
This reverts commit de9f59db94300f57aa9c62de50995f3e20609980.
Change-Id: Ib121ddb5f0330ccad3df89cb726603495226b5e5
|
|
This CL adds ability to pass additional licenses into the localize task.
Bug: N/A
Test: N/A
Change-Id: I02f09072d8db47a648d762242caae35701f477fd
|
|
|
|
Change-Id: If73c174803a0e66c2bb38b10dd2b59311f8b5de6
|
|
Test: tests pass
Bug: N/A
Change-Id: I8ad1265d2eb61666585e6e69c24b9a2d5579f1c8
|
|
This CL moves the dependency of extensions to core-utils to avoid
lint errors starting 2.3.
It also updates the test projects to use gradle 3.2.
Bug: https://code.google.com/p/android/issues/detail?id=229664
Test: existing tests pass
Change-Id: I125c17d6cf6f18fa4d29f8831ba43a07ba20ccff
|
|
Also updated gradle version to match tools
Change-Id: I891fd065dada67bbe847bb88c1e1cef030db454b
|
|
This CL adds support for assigning callbacks to listeners using lambda expressions.
These expressions can receive either 0 or N arguments where N is equal to the
number of parameters in the callback function.
These expressions are evaluated when the callback is invoked. In other words, they
are independent from the rest of the ExprModel except the Identifier expressions.
Since these are limited to 1 full expression and they don't have any invalidation
flags; we use a verbose branching code generation mode where we calculate all possible
execution paths, eliminate trivial ones and generate the code. This allows callbacks
to be thread safe as well. See ExecutionPath class for details.
It is not efficient but since these are rere occasions, should be OK.
Callback expressions are still forced to be expressions that return value. To handle
`void` case, I've added `void` and `Void` as acceptable symbols. Also, if the callback
method returns void, the expression is free to return `void` or any other value.
¯\\_(ツ)_/¯
I've also moved kotlin to rc0. Although rc0 is unrelated to this task, it made more
sense to upgrade here because most changes it will ask for were already done in
this branch.
Bug: 26849440
Change-Id: I805b3d470f85df9c2ce3f3ed5ca74925a08bb7a5
|
|
Change-Id: I1a642a954d3b9f7fb5bcb5639f21a58192349a31
|
|
This CL fixes a bad code generation where we would set a variable to itself,
which breaks if you use a tool like ErrorProne.
I've also updated gradle version and data binding versions.
Bug: 25077399
Change-Id: I6620faf4cad5fa74dc7c35be03c46c4a76c9cfbc
|
|
Change-Id: I62b77fd118e2715d272a16d96b9083d2347f5fb1
|
|
This CL removes data binding's bintray plugin and starts using
the tools project. It can be uploaded to bintray only from tools
project.
databinding.properties file still reference rc3. We'll change it
when rc5 is public.
Change-Id: Id5801e488ae30cf0003372b5ae94f01306fbfa99
|
|
For some reason, the tools integration CL reverted some
previous CLs in these files. Putting them back
Change-Id: Iae68077c8885ad7a5546465936a8d4ae1e702019
|
|
This reverts commit f5517fe4100cc751b365edb43a07455b7b435215.
Change-Id: Ic60d99c9a9508dbd912a67fa2d467e7332c51dfb
|
|
This reverts commit 0a39d327fc5dedb0a766f1ad44d7b1fc7048ef84.
Change-Id: I72fad57691ac1fb1f74ccdd82d61d16b0b52e435
|
|
Change-Id: I3d5e2a07075603fbc2ee9b6c93490f6ea2d7c594
|
|
This CL gets rid of the gradle plugin and instead provides
DataBindingBuilder for the gradle plugin to directly use.
Now, everything that is deployed via SDK Manager (lib and adapters)
are included as prebuilts so that we avoid accidently changing
them w/o an SDK manager release.
There is still work to do:
> re-enable proguard for externel dependencies
> release a batch to ensure everything works
Bug: 22516688
Change-Id: I83ace15bd6d3d23bf5b4ad850f36453dd23ebd43
|
|
Change-Id: Id241077e22bef6000ae13c06c8538dd59a5293c8
|
|
Change-Id: I10c41d5b9edc1312000b6cfbfc5b481dd72f031c
|
|
Bug 24507894
The character set was not being properly detected for the XML
file when it was being loaded, so it was always using the default
character set. For Windows, this turned out to be something other
than UTF-8. Now, a library is used to detect the character set
before parsing.
Change-Id: I2ea041701de59f0e72fd18288b0f62cb2beb74e6
|
|
This CL fixes local builds where some deps were not
downloaded but they were coming from maven (by mistake).
Bug: 24000910
Change-Id: Id188b30a6ac94c14e382dcedab1906bfb7a7e4f0
|
|
Release versions of the gradle plugin and annotation processor
now contain all of their dependencies, repackaged.
Change-Id: I93fba3eed150aafa8a88d439103b90d270e71cdf
|
|
Bug 22561972
Change-Id: I36b1279838e21043e22ad64981373910210f622e
|
|
This CL introduces a new development plugin that downloads all
dependencies into the given repository. This will allow us to
build data binding in build servers w/o internet connection.
By default, it is setup to disable public repositories to avoid
adding a new dependency w/o running the script.
Public repositories can be added by running -PaddRemoteRepos=true.
There is also a convenience script to fetch dependencies.
localize.sh
Bug: 19626302
Change-Id: I9d200550b76c3b60119cdbbdb4e1e7772d0da1d7
|