History log of /frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
99d74030fe5856572bd4b569bc04d2a11258f202 14-Jan-2016 George Mount <mount@google.com> Fixed warning when using a color resource.

Bug 26254496

Change-Id: Ied6b942fada3a99ec331ad59f2f5ee6e6c33a20b
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.java
90004de4330158be2351b9e26ba951f2ccbccfce 14-Nov-2015 George Mount <mount@google.com> Don't use DynamicUtil now that 1.0-rc5 has been released.

Change-Id: I017049ba3fb3c0d66982f504192d6a2814859f9a
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.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
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.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
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.java
bdc7aa8269502b3fc3ce73c124e4f1b2092502c9 23-Oct-2015 George Mount <mount@google.com> Use a dynamically-generated class to relax requirement to upgrade.

We may need some static methods between releases and instead of
requiring a release, we can now supply the methods as a dynamically
generated class, DynamicUtil

Change-Id: I9d53ae99b4b5717cd4780efdcb7a3f85bfac8dd9
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.java
b15fd21ad1821b5e6a1c0c4977bc24c01d6bc7ce 01-Jul-2015 Yigit Boyar <yboyar@google.com> Merge "Introduce Scopes to track logical stack traces" into mnc-dev
e8609ca3a9e95cb730d74f8a6114bc2ae11b6a10 30-Jun-2015 Yigit Boyar <yboyar@google.com> Add cache to GenerationalClassUtil to avoid re-reading jars

Bug:22185294
Change-Id: I0c9def9944ecc68e7e5df530228d00011c1f8c57
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.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
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.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
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.java
b1356339eaa6c8e967e4fc1dc283b82909a1208d 22-May-2015 Yigit Boyar <yboyar@google.com> Merge projects for an easier release

This CL merges annotation processor, xml grammer and grammer builder
into compiler project.

It also adds logic to pass gradle's --debug parameter to the
annotation processor so that we can grab logs when necessary.

Bug: 21327802
Change-Id: I1d07002519a6b95de3cdc0891bd00f461f73e8ea
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ProcessDataBinding.java