Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Create APT Generator for errai-data-binding

    • -38
    • +56
    ./BindableProxyLoaderGenerator.java
    • -0
    • +36
    ./MetaClassFinder.java
  1. … 27 more files in changeset.
Add Errai APT Generators mechanism

  1. … 266 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#286)

  1. … 62 more files in changeset.
Revert ERRAI-1064 temporarily until downstream projects upgrade GWT version to 2.8.1

  1. … 50 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#280)

  1. … 50 more files in changeset.
Fix userCache proxy & avoid adding interfaces/abstracts as serializable types. (#274)

* Fix an issue with userCache proxy & avoid adding interfaces/abstracts as a serializable type.

This catch is for wildcard serialization definitions (*).

* Mark BasicUserCacheImpl as @Singleton & log wildcard filters.

* Changes as per requested.

  1. … 2 more files in changeset.
Fix userCache proxy & avoid adding interfaces/abstracts as serializable types. (#274)

* Fix an issue with userCache proxy & avoid adding interfaces/abstracts as a serializable type.

This catch is for wildcard serialization definitions (*).

* Mark BasicUserCacheImpl as @Singleton & log wildcard filters.

* Changes as per requested.

  1. … 2 more files in changeset.
Bindable proxies generation improved (size and performance), fixes https://issues.jboss.org/browse/ERRAI-1069

Support ErraiApp.properties in META-INF dir

  1. … 123 more files in changeset.
Support ErraiApp.properties in META-INF dir

  1. … 123 more files in changeset.
Fix inconsistency in getConstructor methods of MetaClass between GWT and Reflection impls.

    • -13
    • +13
    ./BindableProxyLoaderGenerator.java
  1. … 11 more files in changeset.
ERRAI-1032: Add declarative property change handler methods for @Bindable types

  1. … 5 more files in changeset.
ERRAI-1030: Add Bindable type name for NonExistingPropertyException.

  1. … 6 more files in changeset.
Add support for package scanning CONFIG_ERRAI_BINDABLE_TYPES (#225)

  1. … 6 more files in changeset.
ERRAI-969: Remove WARN message "The property errai.marshalling.serializableTypes has been set multiple times"

  1. … 1 more file in changeset.
Fix codegen bug: _elseif triggers generation at statement creation time

  1. … 2 more files in changeset.
ERRAI-972: Cloning of bindable types doesn't clone their non-proxied bindable properties

  1. … 2 more files in changeset.
Support declarative binding directly to List<T> without 'this' property.

  1. … 2 more files in changeset.
Support binding to types that wrap an element (via IsElement interface).

  1. … 7 more files in changeset.
ERRAI-875+: Change getProperties to getBeanProperties to avoid conflict with User.getProperties in Errai security.

  1. … 2 more files in changeset.
ERRAI-875: Allow access to map of known property types via HasProperties

  1. … 4 more files in changeset.
Add support for pause/resume to data binding

  1. … 21 more files in changeset.
Support binding with non-widgets and lists through normal programmatic API.

DataBinder.bind methods now accept non-widget objects. Types should implement

one of the following:

* com.google.gwt.user.client.TakesValue

* com.google.gwt.user.client.ui.HasValue

* com.google.gwt.user.client.ui.HasText

Objects being bound can also be wrappers for native input elements.

  1. … 63 more files in changeset.
Make @Model a qualifier so DataBindingIOCExtension only satisfies @Model injection sites.

  1. … 3 more files in changeset.
Support binding to js types through native HasValue interface (description below).

Create a native js interface for allowing native components to have

values other than String. Generate code to bind value with appropriate

type.

If the type is an @Element, generate code so that even @JsOverlay

implementations of HasValue methods can be used to access values.

  1. … 9 more files in changeset.
First step in data-binding refactoring (description below).

Refactoring data-binding API so that conversion types are locked in

at binding time, and so that converters can be used to enforce

model and widget value types (causing errors if they do not line up).

All conversion between UI and model values is done with converters

and every binding has a non-null converter.

  1. … 25 more files in changeset.
Only throw exception when unable to convert from String to other type.

A previous change threw an exception in Convert.to(toType, o) if

there was no explicit conversion that could be applied. But this

breaks the scenario where "o" is already assignable to "toType".

Since we can't dynamically check this at runtime, I've added

logging and will only throw exceptions if the object is a String

and there is no built-in conversion to the toType.

  1. … 1 more file in changeset.
Fix redundant code generation for types with mutliple @Bound fields.

Allow reuse of extension provided injectables (description below).

Now injectable providers can reuse a single injectable for multiple

injection sites. This allows the WidgetIOCExtension to generate at

most one factory per Widget type, rather than one factory per

injection site.

  1. … 16 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3050 more files in changeset.