Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove old JsType annotations (use only jsinterop.annotation.*)

  1. … 3 more files in changeset.
Instance<T> should return the iterator for T implementations

  1. … 1 more file in changeset.
ERRAI-682: Qualifiers with members on events

    • -0
    • +126
    ./jboss/errai/enterprise/client/cdi/EventQualifierSerializer.java
    • -9
    • +14
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 31 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -2
    • +3
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 3043 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.

    • -4
    • +3
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 3069 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -3
    • +4
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 3151 more files in changeset.
Support injecting Instance<T> for sync types when async is enabled.

  1. … 6 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. … 26 more files in changeset.
Load async types with only sync dependencies.

  1. … 28 more files in changeset.
Support CDI events across dynamic modules

    • -2
    • +27
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 4 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. … 380 more files in changeset.
Remove java 8 incompatible generic signatures

Implemented isUnsatisfied and isAmbiguous for Instance<T>

  1. … 3 more files in changeset.
Fixed ERRAI-781: deleted outdated eager observer registration logic

Conflicts:

errai-cdi/weld-integration/src/main/java/org/jboss/errai/cdi/server/CDIExtensionPoints.java

  1. … 3 more files in changeset.
Fixed ERRAI-781: deleted outdated eager observer registration logic

  1. … 3 more files in changeset.
Moved all test base classes to src/test/java

- This makes sure applications can compile in strict

mode without inheriting the JUnit GWT module

- To use our test base classes for application tests

the corresponding test-jar has to be included i.e.

<dependency>

<groupId>org.jboss.errai</groupId>

<artifactId>errai-cdi-client</artifactId>

<type>test-jar</type>

<scope>test</scope>

</dependency>

Conflicts:

errai-bom/pom.xml

errai-cdi/weld-integration/pom.xml

errai-ioc/pom.xml

  1. … 35 more files in changeset.
Moved all test base classes to src/test/java

- This makes sure applications can compile in strict

mode without inheriting the JUnit GWT module

- To use our test base classes for application tests

the corresponding test-jar has to be included i.e.

<dependency>

<groupId>org.jboss.errai</groupId>

<artifactId>errai-cdi-client</artifactId>

<type>test-jar</type>

<scope>test</scope>

</dependency>

  1. … 35 more files in changeset.
Refactoring: clarifying comment in AbstractCDIEventCallback

Resolve ERRAI-766: add destroy method to client-side Instance implementation.

  1. … 1 more file in changeset.
Fix select method in client-side Instance implementation.

Fix select method in client-side Instance implementation.

Make sure test failures in asyncTest don't get swallowed

Use one-time init callback in AbstractErraiCDITest.asyncTest (fixes test failures in errai-cdi-async-tests).

Performance improvement for IOC generation (faster method param scanning)

- Scanning only methods in reloadable classes manually, relying on reflections for the rest

  1. … 4 more files in changeset.
Fixed ERRAI-679: Observing java.lang.Object leads to code overload in BootsrapperImpl

  1. … 1 more file in changeset.
Fixed event advertising tests

- Now tearing down and stopping the fake bus instance

- Depending on the executing order, our event advertising tests caused failures in other CDI tests. The reason was that CDIClientBoostrap held on to static references of errai bus.

  1. … 1 more file in changeset.
Fixed bug that caused intermittent failures in EventObserverIntegrationTest

The problem was that we relied on a runtime check (canMarshall) to decided whether or not to advertise a CDI event type to the server. However, this check will always fail for abstract types as canMarshall will return false. So whenever the bus reconnected we failed to advertise observable interfaces and abstract types to the server. Since we already collect all local-only event types on startup this check can now be removed.

    • -17
    • +8
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 1 more file in changeset.
Perf. improvement for IOC bootstrapper generation

Only consider reloadable types when scanning for subtypes in the metaclass cache. Non-reloadable types (types in JARs that can't change in devmode) can be scanned using reflections which is significantly faster because the data is already cached.

  1. … 5 more files in changeset.
Replace framework calls from LogUtil to gwt-slf4j.

    • -3
    • +6
    ./jboss/errai/enterprise/client/cdi/api/CDI.java
  1. … 19 more files in changeset.
Don't attempt to send RemoteSubscribe if bus is disconnected.

Doing so was causing RemoteSubscribes to be issued twice at startup.

    • -2
    • +14
    ./jboss/errai/enterprise/client/cdi/api/CDI.java