Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'master' into errai-codegen-apt

  1. … 142 more files in changeset.
Support custom security exception handling (#311)

Move security redirection logic to security handler that can be replaced via IOC alternatives.

  1. … 20 more files in changeset.
AF-546: Reduce startup time of AppFormer apps and workbenches

This commit:

* Adds logging to audit startup to entrypoints, RPCs, bean manager

* Load RPC proxies before the bus initializes so that startup RPC calls

can be queued up and sent in a single payload

* Don't wait for bus to initialize to send CDI client assoicate message

(allows this to also be sent with initial bus payload)

* Don't delay InitVotes in SecurityContextImpl if a user has been injected

onto the host page

  1. … 8 more files in changeset.
ERRAI-961: Migrate IOCUtil functionality from kie-wb-common into errai-ioc as enhanced version of Instance<T>

Created a ManagedInstance<T> type with an API like Instance<T> except

with different memory management semantics. A ManagedInstance<T> holds

references to all dependent beans it creates and will destroy them

when it itself is destroyed.

This feature required adding capability to for disposing beans

to IOCProviders.

  1. … 24 more files in changeset.
ERRAI-937: Looking up unqualified beans with Instance<T> fails.

Also fix Instance.select implementations that did not

retain qualifiers of original Instance.

  1. … 12 more files in changeset.
Add missing cdi-client for cdi-server tests

  1. … 1 more file in changeset.
Refactor errai-cdi so that errai-cdi-client dependency is not required for server-side code.

  1. … 17 more files in changeset.
Fix compilation warning in WindowEventObservers (see below)

- Change return type of get() from list to array since we need to be able

to use it from JavaScript (from another runtime module) and list is not a

"shared" type

  1. … 1 more file in changeset.
Remove old JsType annotations (use only jsinterop.annotation.*)

  1. … 4 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
    ./EventQualifierSerializer.java
  1. … 35 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3045 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. … 3071 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3153 more files in changeset.
Support injecting Instance<T> for sync types when async is enabled.

  1. … 6 more files in changeset.
Load async types with only sync dependencies.

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

    • -0
    • +12
    ./JsTypeEventObserver.java
    • -0
    • +54
    ./WindowEventObservers.java
  1. … 5 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. … 4 more files in changeset.
Fixed ERRAI-781: deleted outdated eager observer registration logic

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

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.