Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ERRAI-1095: Prevent callbacks from invoking with Caller<T> when user bean is destroyed

    • -0
    • +101
    ./support/bus/tests/client/CallerDestructionTest.java
    • -0
    • +25
    ./support/bus/tests/client/res/CalledService.java
    • -0
    • +38
    ./support/bus/tests/client/res/CallerTestModule.java
    • -0
    • +90
    ./support/bus/tests/client/res/MockCalledService.java
  1. … 3 more files in changeset.
ERRAI-1075: Changes necessary to run uberfire-showcase (#321)

* Create mechanism to include/exclude packages/types from an @ErraiModule

* Allow exported elements to have a different annotation than that which exported it

* Fixes in module exporting rules

* Temporary fix in attempt to run Uberfire Showcase

* First time uberfire-showcase worked

* Improved code a little bit

* Improved code a bit

* Minor changes

* Fix public elements verification for primitive types

* Removed errai-generators-apt. Code generation now runs in the last round of exporters.

* Refactors and fixes

* Fix build

* Refactors and deleted handwritten export files for exporting strategies

* Create toggle for generating code with apt generators

* Fix tests and improve code a bit

* Add log message

* Fix erraiModules and erraiApps discovery

* ExportFile with inner classes wip

* Finish shrinking export files to one per exporter

* Fix server marshalling apt generation

* Allow server code to use generated ServerMarshallerFactoryImpl to check if a type is serializable

* Fix exporting primitive types

* Revert property configuration in errai-security-demo

* Create ErraiApp targets and configure errai-bus to run tests using SERVER target too.

* Configured errai server apps in tests

* Fix ResourceFilesFinder issue for ClassLoaderResources

* Fix GWTMetaClassTest failing test

* Fix errai-cdi-server test exclusions

* Remove Guava dependency from errai-common-apt

* Add KNOWN_PROBLEMS.md file

* Fix typo on test class name in the KWNON_PROBLEMS.md file

    • -4
    • +7
    ./support/ErraiIocBusSupportTestServerApp.java
  1. … 178 more files in changeset.
ERRAI-1075: Integration tests using APT generators (#316)

* Allow multiple @ErraiApps in same jar

* Generating code for multiple @ErraiApp annotations. With problems.

* Fixed many errors in errai-ui tests APT codegen

* Partially fix errai-bus tests code generation

* Fix ErraiAptExportedTypes tests

* Fix multidimensional arrays marshaller factory generation

* Configured APT generators for errai-ioc. There are error still.

* Configure APT generators for errai-ioc-bus-support. There are still errors.

* Configure APT generators for errai-cdi-server. Fix export file exported public types

* Fix exporting only public elements in Export Files for good

* Fix exporting parameters of methods/constructors annotated with @Inject

* Fix exporting primitive values

* Configure APT generators for errai-data-binding.

* Configure APT generators for errai-jaxrs-client

* Configure APT generators for errai-navigation and errai-validation. Still broken.

* Fix random error caused by local exportable types not being erased

* Make generators be exported as part of their ErraiModule

* Remove test

* Removed unused parameter

* Reorganize tests in errai-security and configure APT generators

* Fix stylesheet files discovery

* Fix stylesheet load for reals

* Fix class name of generated files for local @ErraiApps

* Revert some undesired changes

* Prepared for running tests with apt-generated code

* Create GWT Module file generator to override rebinding rules for APT-generated code

* GWT modules being adapted to apt-generated classes in demos as well

* Place gwtModuleName in @ErraiApp

* Moved GWT module generation to ErraiAppAptGenerator

* Added additionalClassElement configuration to errai-ui

* Improve switch between generating code using APT or GWT generators

* General improvements

* Add testResources configuration to errai-ui

* Configure remaining test @ErraiApps in errai-cdi-server

* More tests configuration

* Remove comments on ErraiGenerators

* Fix errai-security-client IT tests code generation error

* General fixes

* Fixed some tests and add MetaMethodTest for all MetaMethod impls

* Add asyncBeanManager property to async tests @ErraiApp

* Add scope to un-annotated implementations of interface

* Make APTClass be the first option in MetaClassFactory

* Fix error in MetaClassFactory.get

* Resolved primitive issues in MetaClassFactory.loadClass

* Resolved primitive issues in MetaClassFactory.loadClass

* Make sure APTClassUtil is not initialized before codegen tests

* Fix broken test

* Make errai-codegen tests use APTClass before using JavaReflectionClass

* PR general pass

* Rollbcak unneeded change

* Create errai-ioc-extension-tests

* Add log4j.properties to errai-navigation tests

* CDI IOCExtensions now stay in another module and are pre-compiled

* Created mechanism to define exporting strategies depending on the annotation

* Replaced ExportedAnnotations for ExportingStrategies configuration class

* Fixed tests

* Small refactors

* Minor fixes/refactorings

* Fixed errai-navigation tests. Attemp to fix errai-validation but not complete yet

* Fix errai-jaxrs-client tests by configuring mappingAliases correctly

* Fixed one of the broken tests in errai-ioc

* Fix errai-ioc test by configuring @ErraiModule properly

* Improved exporting strategies for errai-ioc and errai-jaxrs-client

* Created jsInteropSupportEnabled configuration property

* Create dynamic validation property in @ErraiApp

* Fix almost every test in errai-data-binding

* Fix StyleBindingDecorator

* Fix errai-ioc test by dealing correctly with generic arrays as parameters in constructors/methods

* Fixed some of the server/client code generation problems

* Server code generation and CDI test fixes

* Moved Funject out of errai-cdi-server, so that it is pre-compiled

* Fix RpcIntegrationTest

* Fix SpecializationIntegrationTest

* Attempt to fix Stereotypes test

* Reset definitions factory before generating code for an @ErraiApp

* Fix JsTypeInjectionTest by changing from List to Set in WindowInjectionContextImpl providers

* General refactorings

* Fix DisconnectedEventIntegrationTest

* Fix BeanManagerIntegrationTest.testNormalScopeOverridesDependent

* Fix BeanManagerIntegrationTest.testBeanManagerLookupInheritedScopeBean by returning inherited annotations on APTClass as well

* Created tests for inherited annotations in APTClass

* Ignore tests of unsupported features in APT environment

* Fix MetaClassFinder extending/restriction methods

* Make ValidatorFactoryGenerator async and ignore dynamic validation tests for now.

* Fix configuration to ignore tests of unsupported features in APT environment

* Remove local flag from '@ErraiApp'. An app is local when the modules property is not empty

* PR final pass

* PR fixes

    • -0
    • +37
    ./support/bus/tests/ErraiTestApp.java
    • -0
    • +32
    ./support/tests/factory/ErraiTestApp.java
  1. … 679 more files in changeset.
Merge branch 'master' into errai-codegen-apt

    • -0
    • +3
    ./support/bus/tests/BusIOCSupportTests.gwt.xml
  1. … 141 more files in changeset.
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)

    • -0
    • +3
    ./support/bus/tests/BusIOCSupportTests.gwt.xml
  1. … 16 more files in changeset.
Remove random string from ExportFile names

    • -0
    • +26
    ./support/tests/factory/ErraiIocBusSupportTestModule.java
  1. … 26 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
    ./support/bus/tests/client/res/CheckedException.java
  1. … 1 more file in changeset.
Fix another ShadowService error.

  1. … 1 more file in changeset.
Fix error in ShadowService. Add argument to test service.

    • -1
    • +1
    ./support/bus/tests/client/res/OnlineService.java
  1. … 1 more file in changeset.
Fix issue with generic interfaces in ShadowServiceDecorator.

    • -0
    • +12
    ./support/tests/factory/IOCFactoryTests.gwt.xml
    • -0
    • +32
    ./support/tests/factory/client/FactoryRegressionTests.java
    • -0
    • +25
    ./support/tests/factory/client/res/repro1/Metadata.java
    • -0
    • +25
    ./support/tests/factory/client/res/repro1/Path.java
    • -0
    • +100
    ./support/tests/factory/client/res/repro1/UnderTest.java
  1. … 3 more files in changeset.
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

  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.

    • -0
    • +1
    ./support/bus/tests/BusIOCSupportTests.gwt.xml
  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
    ./support/bus/tests/client/ShadowServiceIntegrationTest.java
    • -0
    • +24
    ./support/bus/tests/client/res/CallerBean.java
    • -0
    • +15
    ./support/bus/tests/client/res/Greeter.java
    • -0
    • +24
    ./support/bus/tests/client/res/OfflineMessageCallback.java
    • -0
    • +9
    ./support/bus/tests/client/res/OfflineService.java
    • -0
    • +20
    ./support/bus/tests/client/res/OfflineServiceImpl.java
    • -0
    • +9
    ./support/bus/tests/client/res/OnlineService.java
    • -0
    • +20
    ./support/bus/tests/server/OnlineServiceImpl.java
  1. … 6 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -2
    • +2
    ./support/bus/tests/client/res/LifecycleBean.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
    ./support/bus/tests/client/res/LifecycleBean.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -3
    • +3
    ./support/bus/tests/client/res/LifecycleBean.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.

  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

Fixed tests in errai-ioc-bus-support

Implemented ERRAI-538: Global error handling to catch uncaught exceptions in ErraiBus

    • -0
    • +88
    ./support/bus/tests/client/UncaughtExceptionHandlingIntegrationTest.java
    • -0
    • +63
    ./support/bus/tests/client/res/ExceptionHandlingBean.java
    • -0
    • +24
    ./support/bus/tests/client/res/ExceptionService.java
    • -0
    • +26
    ./support/bus/tests/client/res/TestException.java
    • -0
    • +31
    ./support/bus/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
    ./support/bus/tests/client/AfterInitLookupTest.java
    • -0
    • +44
    ./support/bus/tests/client/res/AfterInitLookupBean.java
    • -0
    • +27
    ./support/bus/tests/client/res/FirstAfterInitBean.java
    • -0
    • +20
    ./support/bus/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.

  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

  1. … 2 more files in changeset.
Implemented ERRAI-293: Ability to batch/chain rpc service requests to server

    • -0
    • +174
    ./support/bus/tests/client/BatchCallerIntegrationTest.java
    • -0
    • +27
    ./support/bus/tests/client/res/RpcBatchService.java
    • -0
    • +40
    ./support/bus/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.

    • -0
    • +10
    ./support/bus/tests/client/res/SimpleBean.java
  1. … 8 more files in changeset.