• Home
  • History
  • Annotate
  • only in /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
History log of /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af146d6a8c0efcf5682d14047c06866a5548f78f 22-Jan-2016 Yigit Boyar <yboyar@google.com> Update data binding to kotlin beta 4

I've also run some cleanup inspections to keep codebase
more up to date.

Bug: 26738574
Change-Id: I02aa43157cad858c0ea60dd41a22150e3cf2cfa1
ocation.java
esourceBundle.java
d3f2b9229472c9dae9bf4ae8b3e2d653b5653b01 17-Sep-2015 George Mount <mount@google.com> Two-way binding

Bug 1474349
Bug 22460238

This adds two-way data binding for those attributes
on Views that also have event listeners for them.
General use is also supported, but event listeners
are required to notify when those properties change.

Change-Id: Iedc66a604257930265f9d661f69658a0a0c3208b
ayoutFileParser.java
esourceBundle.java
4ba16229a40e9758db86d4fb1df5119fdcb8aa2a 22-Dec-2015 Deepanshu Gupta <deepanshu@google.com> Change from commons-lang3 to guava

Change-Id: I1a18e06af7bf2d65228f1491663b6e096a9538ed
ayoutFileParser.java
ocation.java
esourceBundle.java
5bd6addc9cb9dda23d022a6632e90591457f613e 08-Dec-2015 Deepanshu Gupta <deepanshu@google.com> Add modules definitions.

These are referenced by the tools/idea project.

Also, some minor code improvments.

Change-Id: Ia1f6a80c257b9022a2efda553ccc9096e03edc00
ocation.java
9eb684f8375efd59c4fd880bd578b470eb273d41 19-Nov-2015 George Mount <mount@google.com> Fix tag element usage with data binding.

Bug 25763095

White list include & view usage, but all other lower-
case tag elements are thrown out when it comes to
data binding.

Change-Id: Iccd9d31ef0dfdd6e9ded149c06ee6e295bf4fdaf
ayoutFileParser.java
28e7064d455e2ef9da31c817dfc05ec7405c60df 11-Nov-2015 Yigit Boyar <yboyar@google.com> Override layout file metadata from module

If a layout file is inherited from a module but also exists
in the app, w~e force the app version to the metadata of the
module version. This means forcing its created class location
to be the same as the module. This usually happens when gradle
or aapt generates some layout during app compilation.

Bug: 25369165
Change-Id: I5d2002ac04d16cfe9935fe5580548344b19b4aca
esourceBundle.java
9784c9aaedeb863018f5fcaa0a598e8e2f8ed2f3 13-Oct-2015 Yigit Boyar <yboyar@google.com> Data binding as studio dep + java6

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
ayoutFileParser.java
ocation.java
esourceBundle.java
ddeffcc2d89275528b2001836da2795b14ea7909 08-Oct-2015 Yigit Boyar <yboyar@google.com> Create tag from original file

XMLEditor was creating root view tag from the file in build folder
which becomes a problem if android gradle plugin decides to create
more variations of the source file. This CL fixes that issue and always
uses the folder name from the original file if exists.

Bug: 24745000
Change-Id: I169db02ffa4985328e408cc347d83c984bd2f5ad
ayoutFileParser.java
8510dab6a17ccd59a2a9cbc07f900dfc2f11ff2b 06-Oct-2015 George Mount <mount@google.com> Support including data binding layout with no variables.

Bug 24710573

Change-Id: Ic2461e5e2c440f66fe95b9714b9cbcb61f8bd82d
ayoutFileParser.java
esourceBundle.java
f1081f6a15e6b905701bd3bbcb5d598731d05afb 06-Oct-2015 George Mount <mount@google.com> Fix error processing XML when german character is used.

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
ayoutFileParser.java
890b4850c628f04eb75397e427ba7074e4f9c386 25-Sep-2015 Yigit Boyar <yboyar@google.com> Add support for gradle 1.4.0-beta3

This CL changes how we find original xml file.
Previously, it was a comment in the XML file. Now
it is another interface we can query (nicer).
This CL adds support for it but still keeps the
XML reference support.

Bug: 24408701
Change-Id: I0ac91b2f81f7264735f11d4ded154a2fd807e776
ayoutFileParser.java
6a5a45a07b074230c07f78f271e417c7f844c1ec 09-Sep-2015 George Mount <mount@google.com> Enable fragments with IDs in data binding layouts.

Bug 23611218

Change-Id: Ib33b068ce6efca865baf4a1377d96dc27ed01891
ayoutFileParser.java
23910cf498c35704a03ba4f3889de2ab97ccbe21 25-Aug-2015 George Mount <mount@google.com> Make setVariable return true for declared variables.

Bug 23518718

Change-Id: Ic147421aefe0adbf576285ca642334fcb907abfb
ayoutFileParser.java
esourceBundle.java
5d8732072543d6f6fc1aa8f8a64654bcd1784347 06-Aug-2015 George Mount <mount@google.com> Support fields for includes with IDs and no binding.

Bug 22816783

Change-Id: Id8b5b19568fedb3a39c34944a3e2bee69c036fb7
ayoutFileParser.java
aafbe5a2394ff9826201cca97d3298a9f355e311 01-Jul-2015 Yigit Boyar <yboyar@google.com> Add errors for layout files in different configs

This CL adds ScopedExceptions to multi-config layout parsing.

Bug: 21953001
Change-Id: I5d62b711120e890733e7f5c08108041109e4eefd
ayoutFileParser.java
ocation.java
esourceBundle.java
731b74f7f44e67312a1fc4161c4e0aae221b2417 25-Jun-2015 Yigit Boyar <yboyar@google.com> Introduce Scopes to track logical stack traces

This CL introduces a static class called Scope, which is
used the logical processing stack for data binding.
These scopes are used to generate meaningful error messages
when an error is detected.

Bug: 21953001
Change-Id: I5470a8c4ad94401d34a140762baae9d53c5a0402
ayoutFileParser.java
ocation.java
esourceBundle.java
c1560e6b00b398867da12fbdc5a1fcd1d50b801c 25-Jun-2015 Yigit Boyar <yboyar@google.com> Carry over location information from parser to annotation processor

This CL changes LayoutParser to use Antlr which provides us the location
information. This information is now serialized inside the bundle so
that we can read it in the annotation processor, enabling better error
logs with location information.

Bug:21953001
Change-Id: If9b5cf2f87598a609ddf77235decc17098a46a6b
ayoutFileParser.java
ocation.java
esourceBundle.java
0c2ed0cbaee2f206e926bfc780b05e9f1e52b551 24-Jun-2015 Yigit Boyar <yboyar@google.com> Remove guava dependency from the plugin

This CL is the first step in getting rid of guava dependency.
It removes guava from compilerCommon which in return removes
the dependency for the gradle plugin.

This CL also fixes compiler tests which were broken by the
listener CL.

Bug: 22047836
Change-Id: I43f87885c5291174f5bc694487fc6c075b480194
ayoutFileParser.java
esourceBundle.java
3e3bf43a2e11fb433b43558e2e05255edfa5b6a8 23-Jun-2015 George Mount <mount@google.com> Give an error when includes are in the root of data bound layouts.

Bug 22032146

Change-Id: Ia20264a843edf70358ea37cdf31ab8b5686052b8
ayoutFileParser.java
0cb9fbb96197af013f4f879ed6cddf2681b88fd6 16-Jun-2015 Yigit Boyar <yboyar@google.com> Move shared code between build and compiler to a separate project

This CL encapsulates the shared code between build time and annotation
processing into a separate project. This project has no dependency on
kotlin so we can easily use it in gradle plugin.

Bug: 21815393
Change-Id: I9fd2e88885d06ff5423121747817ffcd056e8c74
ayoutFileParser.java
esourceBundle.java