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

  1. … 27 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.
Fixed List component destroyer initialization with Dependent scope

  1. … 2 more files in changeset.
ERRAI-1032: Add declarative property change handler methods for @Bindable types

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

  1. … 3 more files in changeset.
ERRAI-1006: BindableProxyAgent.oneTypeIsInterface() is implemented incorrectly

  1. … 1 more file in changeset.
Fix default inferred Widget type when user-provided converter is present.

Support data-binding to maps with a fixed set of properties.

    • -0
    • +190
    ./MapBindableProxy.java
    • -0
    • +41
    ./MapPropertyType.java
  1. … 1 more file in changeset.
Add method to get model bound to UI when DataBinder is paused.

ERRAI-975: Remove temporary client-side replacements of Optional, Function, Supplier, etc.

    • -4
    • +4
    ./components/DefaultListComponent.java
  1. … 20 more files in changeset.
Resuming binding from UI now correctly updates nested models.

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

  1. … 2 more files in changeset.
Update GWT to 2.8.0-rc1 (lots of details below).

Most of the items below were fixes for tests (which

are now production compiled by default) and dependency

issues (since gwt-user/gwt-dev now bring in transitive

dependencies instead of bundling them in fat jars).

* Upgrade jetty to version in ip-bom

* Fix errai-bus test issues.

* Remove GuardedBy and Nonnull annotations from errai-bus.

* Fix javadoc bug in errai-bus.

* Fix test failures caused by GWT type oracle behaviour change.

(This commit causes the type oracle to hide non-abstract methods

in interfaces:

https://github.com/gwtproject/gwt/commit/75382f1202bf3eaa399d60ebdba42bd7522da3bb)

* Fix AbstractErraiTest so it is usable in errai-ioc-bus-support production compiled tests.

* Fix data-binding tests (have to manually invoke event listeners because dispatchEvent does not work).

* Fixes for errai-cdi-server tests (description below).

* Upgrade Jetty version

* Add -devMode gwt.arg

* Add missing inherited modules

(This was to try and get the tests to run in prod mode,

but there appears to be a compiler bug that prevents this

-- interned value is used before being referenced)

* Use errai.devel.nocache property in Errai GWT generators.

* Fix jaxrs-client bug with Date params.

* Fix errai-ui tests (notes below).

** Fix event dispatching issue (same problem as with data-binding tests).

** Fix NPE when an empty input element fires a change event while bound

to a primitive property in a model.

* Fix errai-navigation native anchor test (same problem as data-binding tests).

* Fix Errai Security tests.

* Fix errai-jpa-client tests.

* Fix gwt-dev version in demos.

* Manage gson version in errai-bom to version required by gwt-dev.

  1. … 99 more files in changeset.
ERRAI-946: @Bound onKeyUp property doesn't work with native input elements.

  1. … 2 more files in changeset.
Unwrap proxies when checking widget type in BindableProxyAgent.

Fix compilation problem in proxy agent w/ latest GWT 2.8.0-SNAPSHOTs

Add DOM JsTypes to errai-common. Change IsElement to use new HTMLElement wrapper.

    • -11
    • +12
    ./components/DefaultListComponent.java
  1. … 97 more files in changeset.
Make generic ListComponent (to replace ListWidget).

    • -0
    • +99
    ./ListComponentProvider.java
    • -0
    • +222
    ./components/DefaultListComponent.java
    • -0
    • +291
    ./components/ListComponent.java
    • -0
    • +47
    ./components/ListContainer.java
  1. … 15 more files in changeset.
Support binding to types that wrap an element (via IsElement interface).

  1. … 6 more files in changeset.
Support looking up bindable proxies using the fqcn of the model class

  1. … 1 more file 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. … 3 more files in changeset.
Improve data binding to ensure pause has no effect if already paused

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

  1. … 17 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
    • +1
    ./PropertyChangeUnsubscribeHandle.java
    • -63
    • +0
    ./api/AbstractBindableListChangeHandler.java
    • -123
    • +0
    ./api/BindableListChangeHandler.java
  1. … 52 more files in changeset.
Fix inferWidgetValueType behaviour for ValueBox and add test (description below).

ValueBox<T> implements both HasText and TakesValue<T>. TakesValue<T> should take precedence over HasText.

Otherwise, inferWidgetValueType( ValueBox<BigDecimal> w ) will resolve to String, when it should resolve to BigDecimal.

This ends up causing a ClassCastException when binding occurs.

Add Test for dealing with data binding widget that implements both HasText and HasValue<T> where T != String (test for both null and not null values)

  1. … 1 more file in changeset.
Refactor ElementWrapperWidget to encapsulate logic for handling input element values.

  1. … 4 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.

    • -0
    • +43
    ./AbstractOneWayConverter.java
    • -0
    • +53
    ./IdentityConverter.java
    • -0
    • +31
    ./OneWayConverter.java
    • -0
    • +68
    ./TwoWayConverter.java
    • -0
    • +66
    ./api/converter/AbstractDateInputConverter.java
    • -0
    • +37
    ./api/converter/DateInputConverter.java
    • -0
    • +45
    ./api/converter/DateTimeInputConverter.java
    • -0
    • +81
    ./api/converter/TimeInputConverter.java
  1. … 15 more files in changeset.