Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Upgrade GWT to 2.8.2

GWT 2.8.2 is the first release that should support bulding with Java 9

(it does not support Java 9 features; just the legacy classpath mode)

  1. … 17 more files in changeset.
Remove 'destroyAllBeans' method from bean manager API.

  1. … 20 more files in changeset.
Fix codegen for ShadowService with checked exception.

    • -0
    • +27
    ./tests/client/res/CheckedException.java
    • -1
    • +1
    ./tests/client/res/OfflineService.java
  1. … 1 more file in changeset.
Fix another ShadowService error.

    • -0
    • +2
    ./tests/client/res/OfflineService.java
    • -0
    • +5
    ./tests/client/res/OfflineServiceImpl.java
  1. … 1 more file in changeset.
Fix error in ShadowService. Add argument to test service.

    • -11
    • +11
    ./tests/client/ShadowServiceIntegrationTest.java
    • -1
    • +1
    ./tests/client/res/OfflineService.java
    • -2
    • +2
    ./tests/client/res/OfflineServiceImpl.java
  1. … 1 more file in changeset.
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

    • -88
    • +0
    ./tests/client/UncaughtExceptionHandlingIntegrationTest.java
    • -63
    • +0
    ./tests/client/res/ExceptionHandlingBean.java
  1. … 19 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.
Fixes for RPC shadow services (see below)

- RPC return value now properly passed on to remote callback

- Shadow services are now being used if the message bus is

offline, remote communication is disabled or no remote

endpoint for the service exists

- No longer attempt to contact remote endpoint if message

was deferred or was already delivered to a shadow service

- No longer swallow exceptions thrown by shadow service

implementations

- Test coverage

    • -0
    • +88
    ./tests/client/ShadowServiceIntegrationTest.java
    • -0
    • +24
    ./tests/client/res/CallerBean.java
    • -0
    • +15
    ./tests/client/res/Greeter.java
    • -0
    • +24
    ./tests/client/res/OfflineMessageCallback.java
    • -0
    • +9
    ./tests/client/res/OfflineService.java
    • -0
    • +20
    ./tests/client/res/OfflineServiceImpl.java
    • -0
    • +9
    ./tests/client/res/OnlineService.java
    • -0
    • +20
    ./tests/server/OnlineServiceImpl.java
  1. … 6 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -2
    • +2
    ./tests/client/AfterInitLookupTest.java
    • -0
    • +16
    ./tests/client/BusServiceInjectionsTest.java
    • -3
    • +3
    ./tests/client/LocalServiceIntegrationTest.java
    • -1
    • +17
    ./tests/client/SenderIntegrationTest.java
    • -3
    • +3
    ./tests/client/UncaughtExceptionHandlingIntegrationTest.java
    • -2
    • +2
    ./tests/client/res/AfterInitLookupBean.java
    • -2
    • +2
    ./tests/client/res/ExceptionHandlingBean.java
    • -2
    • +2
    ./tests/client/res/ExceptionService.java
    • -0
    • +16
    ./tests/client/res/FirstAfterInitBean.java
    • -2
    • +2
    ./tests/client/res/RpcBatchService.java
    • -0
    • +16
    ./tests/client/res/SecondAfterInitBean.java
  1. … 3042 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.

    • -3
    • +3
    ./tests/client/AfterInitLookupTest.java
    • -16
    • +0
    ./tests/client/BusServiceInjectionsTest.java
    • -4
    • +4
    ./tests/client/LocalServiceIntegrationTest.java
    • -16
    • +0
    ./tests/client/SenderIntegrationTest.java
    • -4
    • +4
    ./tests/client/UncaughtExceptionHandlingIntegrationTest.java
    • -3
    • +3
    ./tests/client/res/AfterInitLookupBean.java
    • -3
    • +3
    ./tests/client/res/ExceptionHandlingBean.java
    • -3
    • +3
    ./tests/client/res/ExceptionService.java
    • -16
    • +0
    ./tests/client/res/FirstAfterInitBean.java
    • -3
    • +3
    ./tests/client/res/RpcBatchService.java
    • -16
    • +0
    ./tests/client/res/SecondAfterInitBean.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -3
    • +3
    ./tests/client/AfterInitLookupTest.java
    • -0
    • +16
    ./tests/client/BusServiceInjectionsTest.java
    • -4
    • +4
    ./tests/client/LocalServiceIntegrationTest.java
    • -0
    • +16
    ./tests/client/SenderIntegrationTest.java
    • -4
    • +4
    ./tests/client/UncaughtExceptionHandlingIntegrationTest.java
    • -3
    • +3
    ./tests/client/res/AfterInitLookupBean.java
    • -3
    • +3
    ./tests/client/res/ExceptionHandlingBean.java
    • -3
    • +3
    ./tests/client/res/ExceptionService.java
    • -0
    • +16
    ./tests/client/res/FirstAfterInitBean.java
    • -3
    • +3
    ./tests/client/res/RpcBatchService.java
    • -0
    • +16
    ./tests/client/res/SecondAfterInitBean.java
  1. … 3150 more files in changeset.
Remove redundant async IoC tests and change IOC.getBeanManager() behaviour.

errai-ioc-async-tests now runs all tests from errai-ioc with

the async flag set to true. Duplicate tests have been removed.

When the async flag is set to true, IOC.getBeanManager() returns

as SyncBeanManager that is used internally by the AsyncBeanManager

(containing beans from all downloaded code fragments).

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

    • -9
    • +9
    ./tests/client/LocalServiceIntegrationTest.java
    • -13
    • +16
    ./tests/client/SenderIntegrationTest.java
  1. … 379 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.
Fixed LocalServiceIntegrationTests

- not dependend on execution order anymore

- also now correctly checking if server message made it through to local service

    • -9
    • +17
    ./tests/client/LocalServiceIntegrationTest.java
    • -1
    • +0
    ./tests/server/LocalTestTesterService.java
Fixed tests in errai-ioc-bus-support

    • -0
    • +14
    ./tests/client/BatchCallerIntegrationTest.java
    • -9
    • +9
    ./tests/client/res/ExceptionHandlingBean.java
Implemented ERRAI-538: Global error handling to catch uncaught exceptions in ErraiBus

    • -0
    • +88
    ./tests/client/UncaughtExceptionHandlingIntegrationTest.java
    • -0
    • +63
    ./tests/client/res/ExceptionHandlingBean.java
    • -0
    • +24
    ./tests/client/res/ExceptionService.java
    • -0
    • +26
    ./tests/client/res/TestException.java
    • -0
    • +31
    ./tests/server/ExceptionServiceImpl.java
  1. … 4 more files in changeset.
Fixed ERRAI-617: Dynamically looking up beans in @AfterInitialization methods causes a concurrent modification exception

    • -0
    • +50
    ./tests/client/AfterInitLookupTest.java
    • -0
    • +44
    ./tests/client/res/AfterInitLookupBean.java
    • -0
    • +27
    ./tests/client/res/FirstAfterInitBean.java
    • -0
    • +20
    ./tests/client/res/SecondAfterInitBean.java
  1. … 3 more files in changeset.
- Massive refactoring to bus API - @Disposes methods now work properly with the async bean manager.

    • -2
    • +2
    ./tests/client/LocalServiceIntegrationTest.java
    • -2
    • +2
    ./tests/client/SenderIntegrationTest.java
    • -1
    • +1
    ./tests/client/res/SimpleSuperBean.java
    • -3
    • +2
    ./tests/server/LocalTestTesterService.java
  1. … 238 more files in changeset.
- first stab at refactoring the bus to move the transport implementations out of the main message bus code. (most tests passing)

  1. … 26 more files in changeset.
renamed endBatch to sendBatch for RPC batching

    • -11
    • +11
    ./tests/client/BatchCallerIntegrationTest.java
  1. … 2 more files in changeset.
Implemented ERRAI-293: Ability to batch/chain rpc service requests to server

    • -0
    • +174
    ./tests/client/BatchCallerIntegrationTest.java
    • -0
    • +27
    ./tests/client/res/RpcBatchService.java
    • -0
    • +40
    ./tests/server/RpcBatchServiceImpl.java
  1. … 11 more files in changeset.
ERRAI-430

Note: ClientMessageBusImpl *cannot* be directly injected anymore. As a concrete implementation that matches the type of the top-level provider, it is disabled by default.

  1. … 8 more files in changeset.
push changes

    • -3
    • +2
    ./tests/server/LocalTestTesterService.java
  1. … 11 more files in changeset.
Introduced new RestErrorCallback as a specialization of Errai's standard ErrorCallback, +minor refactorings

    • -2
    • +2
    ./tests/server/LocalTestTesterService.java
  1. … 17 more files in changeset.
all errai-ioc-bus-support tests passing

    • -17
    • +0
    ./tests/AbstractErraiIOCBusTest.java
    • -0
    • +42
    ./tests/client/LifecycleExtensionsTest.java
    • -6
    • +3
    ./tests/client/LocalServiceIntegrationTest.java
    • -8
    • +0
    ./tests/client/SenderIntegrationTest.java
    • -0
    • +1
    ./tests/server/LocalTestTesterService.java
  1. … 25 more files in changeset.
MAJOR REFACTORING! Lots of breaking API Changes.

- All bus-related stuff has been moved out of errai-ioc and into errai-ioc-bus-support (new module)

- Interfaces from errai-bus which are common to multiple modules but not exclusive to errai-bus, have been moved to errai-common

- A new cycle-breaking module has been added (errai-codegen-tools), which imports errai-common and errai-codegen, used for the ProxyUtil facility. This is required since errai-codegen depends on errai-common.

- CDI tests are known to be passing with the changes. But nothing else. Will begin testing tomorrow. =)

    • -0
    • +17
    ./tests/AbstractErraiIOCBusTest.java
    • -5
    • +6
    ./tests/client/SenderIntegrationTest.java
    • -0
    • +37
    ./tests/server/ListCapitializationService.java
  1. … 62 more files in changeset.
MAJOR REFACTORING! Lots of breaking API Changes.

- All bus-related stuff has been moved out of errai-ioc and into errai-ioc-bus-support (new module)

- Interfaces from errai-bus which are common to multiple modules but not exclusive to errai-bus, have been moved to errai-common

- A new cycle-breaking module has been added (errai-codegen-tools), which imports errai-common and errai-codegen, used for the ProxyUtil facility. This is required since errai-codegen depends on errai-common.

- CDI tests are known to be passing with the changes. But nothing else. Will begin testing tomorrow. =)

    • -0
    • +9
    ./tests/BusIOCSupportTests.gwt.xml
    • -0
    • +31
    ./tests/client/BusServiceInjectionsTest.java
    • -3
    • +3
    ./tests/client/LocalServiceIntegrationTest.java
    • -0
    • +102
    ./tests/client/res/SimpleBean.java
    • -0
    • +10
    ./tests/client/res/SimpleSuperBean.java
    • -0
    • +27
    ./tests/server/EmptyReplyService.java
    • -3
    • +4
    ./tests/server/LocalTestTesterService.java
  1. … 74 more files in changeset.