• Home
  • History
  • Annotate
  • only in /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
History log of /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4bba5894f1291dde9fb5b06b8f7a33db0bc5b670 30-Jan-2016 Deepanshu Gupta <deepanshu@google.com> Fix getStackTrace

Change-Id: I0aee931ab9df26d27a610442290774dd31ae8818
.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
.java
mlEditor.java
4ba16229a40e9758db86d4fb1df5119fdcb8aa2a 22-Dec-2015 Deepanshu Gupta <deepanshu@google.com> Change from commons-lang3 to guava

Change-Id: I1a18e06af7bf2d65228f1491663b6e096a9538ed
.java
arserHelper.java
ourceCodeEscapers.java
tringUtils.java
mlEditor.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
mlEditor.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
mlEditor.java
92a428505b9102bc0560d2d5be1768da097909c2 06-Aug-2015 George Mount <mount@google.com> Support binding expressions in android:tag attribute.

Bug 22972105

Also added error reporting for tags on root elements
and tests. ICS+ supports tags on root elements.

Change-Id: I1f3fe5e59b68a04fd80e3e2638a7b7743fac027d
mlEditor.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
.java
4df4ba38a62b791bbbc25e923efe8d9c2f9a52e9 27-Jun-2015 Yigit Boyar <yboyar@google.com> Data binding startup improvement

This CL replaces how we map tags(string) to layout ids in the
generated DataBindingMapper class. Previously, we would create
a hashmap which was some unnecessary work in startup. The alternative
was using switch(string) but we did not want to require java 7.
This CL does what java 7's switch(string) would do thanks to the
well defined API of String.hashCode.

This CL also adds a method to DataBindingUtil to convert BR.ids
back to String for debugging purposes.

Bug: 22108735
Change-Id: I4b8ef816f4aac99b2963793dd46519b056ce4a30
reconditions.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
mlEditor.java
2611838bffef5a009ca71e3e9e59a93f29b098ed 24-Jun-2015 Yigit Boyar <yboyar@google.com> Remove guava from compiler

This CL removes all dependency from guava and replaces it w/ either plain
java or some utilities.

Bug: 22047836
Change-Id: I94be54ed992ab6b5f27c47a8cf400ae60aef02f8
reconditions.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
mlEditor.java
2ac58b34e5200a34b0ba63884c375a68c9a84303 15-Jun-2015 George Mount <mount@google.com> Fix bug where parent of include not being tagged.

Bug 21850030

Change-Id: I977ff4879d8bf2dff408a6ad7f7ba539d979cf60
mlEditor.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
.java
arserHelper.java
mlEditor.java