Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

  1. … 3076 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3158 more files in changeset.
Minor optimizations for implementations of AbstractAsyncGenerator.isRelevantClass.

    • -4
    • +11
    ./BindableProxyLoaderGenerator.java
  1. … 3 more files in changeset.
Minor optimizations for implementations of AbstractAsyncGenerator.isRelevantClass.

    • -4
    • +11
    ./BindableProxyLoaderGenerator.java
  1. … 3 more files in changeset.
Fix async generator caching corner-case and add more logging (description below).

Call isRelevant for updated class so that classes can become

relevant to a generator after creation. Previously if

@Bindable was added to a type that already existed, the

BindableProxyLoaderGenerator would not run until some

other bindable type was changed.

  1. … 5 more files in changeset.
Fix async generator caching corner-case and add more logging (description below).

Call isRelevant for updated class so that classes can become

relevant to a generator after creation. Previously if

@Bindable was added to a type that already existed, the

BindableProxyLoaderGenerator would not run until some

other bindable type was changed.

  1. … 5 more files in changeset.
Add support for non-composite templated beans, js type data fields, and elemental data fields.

Errai UI now supports:

* @Templated beans without Composite base class (or any other particular base class).

* @JsType element wrappers or elemental element wrappers as @DataFields.

* Style-binding and data-binding for non-composite templates and element wrappers.

  1. … 52 more files in changeset.
Performance improvments and IOCExtensionConfigurator API change (details below).

* Don't pass in IOCProcessor to IOCExtentionsConfigurators. Allows caching

of scanned extensions, decorators, and tasks.

* Don't load class from class loader in JavaReflectionClass.

* Reduce usage of MetaClass.asClass for class literals in generated code.

* Overload some methods in EnvUtil to take MetaClasses (to avoid calling asClass).

* Never clear non-reloadable types from MetaClassCache.

  1. … 25 more files in changeset.
ERRAI-590, ERRAI-850, ERRAI-851: Implement new IOC container (more description below).

The new container uses code genererated in multiple files instead

of a single monolithic file. At compile time an implementation of

org.jboss.errai.ioc.client.container.Factory is generated for each bean.

The factory is responsible for requesting dependencies from other

factories to wire the bean, running code generated by decorators,

and cleaning up when the bean is destroyed.

The GWT.create calls for the factories are generated in the

BootstrapperImpl. The BootstrapperImpl now only registers

factories with their respective contexts.

This container has the following differences from behaviour

in the 3.x version of errai-ioc:

* Normal scoped beans must be proxiable.

* The @New qualifier is not supported.

* Normal scoped beans (except @Entrypoint or with @Startup) are lazily instatiated.

* @Alternative beans must be explicitly enabled (even if no other beans match).

* Resolution of types behaves like CDI. Some cases that worked in 3.x may now be ambiguous.

** Injecting a common supertype of multiple concrete classes is ambiguous.

* Different API for programmtically adding beans to bean manager.

  1. … 378 more files in changeset.
Refresh bindable types defined in ErraiApp.properties.

ERRAI-840: Avoid agent name collision in proxies

  1. … 5 more files in changeset.
Refactoring for ERRAI-852: keyup bindings

  1. … 6 more files in changeset.
Added support for binding on KeyUpEvents.

  1. … 10 more files in changeset.
Fixed ERRAI-807: Nested bindings not updated for types in ErraiApp.properties

  1. … 3 more files in changeset.
Fixed ERRAI-807: Nested bindings not updated for types in ErraiApp.properties

  1. … 3 more files in changeset.
Enhanced cache invalidation for all async generators

    • -3
    • +16
    ./BindableProxyLoaderGenerator.java
  1. … 8 more files in changeset.
Enhanced cache invalidation for all async generators

    • -3
    • +16
    ./BindableProxyLoaderGenerator.java
  1. … 8 more files in changeset.
Fixed ERRAI-763: Bean Validation causes NPE for uninitialized collections

  1. … 1 more file in changeset.
Fixed ERRAI-763: Bean Validation causes NPE for uninitialized collections

  1. … 1 more file in changeset.
Improved fix for ERRAI-745 to work with all collection types

  1. … 2 more files in changeset.
Fixed ERRAI-745: Bean validation fails for collections of bindable types

  1. … 2 more files in changeset.
Fixed ERRAI-741: allow proxying of methods called set* and get* that are not property accessors

  1. … 2 more files in changeset.
Perf. improvement when scanning for bindable types

Fixed ERRAI-729: Incorrect code gen. for nested bindable type defined in ErraiApp.properties

  1. … 2 more files in changeset.
More perf. improvements and fixes in ClassScanner

  1. … 15 more files in changeset.
Added unit test for ERRAI-672

  1. … 2 more files in changeset.