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

    • -31
    • +71
    ./api/builtin/CallerProvider.java
  1. … 6 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

    • -12
    • +10
    ./WindowInjectionContextImpl.java
  1. … 680 more files in changeset.
ERRAI-1075: Create APT generator for errai-marshalling (#296)

* Create APT generator for NavigationGraphGenerator

* Start to move errai-marshalling configuration out of EnvUtil clas

* Fixed exposed and nonExposed portable types

* Inline methods and add comment

* Fix NullPointerException

* Move Marshalling configuration out of EnvUtil

* Create MarshallersAptGenerator (not working)

* Prepare MarshallersGenerator to run in APT environment too

* Make errai-marshalling use completely interchangeable ErraiConfiguration implementations

* Fix ClassScanner parameters to use reflections while searching @Portable types

* Make MetaClassFinder available for DefinitionsFactoryImpl

* Add @MappingAlias annotation to ErraiConfiguration

* Make MarshallerAptGenerator work, but with errors

* Scan @ServerMarshallers with MetaClassFinder

* Fix tests and improve GWT environment MetaClassFinder

* Improve MarshallerAptGenerator. References not yet resolved in MarshallerFactoryImpl

* Make ErraiMarshalling.gwt.xml use APT generators and skip creation of abstract classes in generated marshallers

* MarshallerAptGenerator working with both GWT and APT generators

* MarshallerAptGenerator working and generating every Marshaller

* Fix logging in errai-demos

* Fix X marshaller not found (generics)

* Little refactors

* Remove static initialization of ErraiAppPropertiesConfiguration in MarshallingConfiguration

* Remove QualifyingMetaDataFactory property

* Remove unsafe call from errai-ioc decorators logic

* Add PageRequest in ErraiMarshallingModule's configuration

* Rollback parameter type to erased

* Revert "Remove unsafe call from errai-ioc decorators logic"

This reverts commit b496229be2f7ecaa50e9ea4c5951035772d10487.

* Fix issue with generic field/parameters. Add time logs to files generation in APT environment.

* Remove @Portable annotation added by mistake

* Remove unsafeIsAnnotationPresent from HasAnnotations

* Remove unsafe methods from HasAnnotations

* Remove AbstractHasAnnotations class

* Refactor configuration files

* Add tests to new properties in @ErraiApp

* Update comments

* PR final pass

* Remove even more unsafe calls from HasAnnotations implementation

* Removed annotation caches and unnecessary methods from subclasses of HasAnnotations

    • -1
    • +1
    ./api/builtin/AsyncDisposerProvider.java
    • -1
    • +1
    ./api/builtin/IOCBeanManagerProvider.java
  1. … 155 more files in changeset.
Create APT generators for errai-ioc module

    • -1
    • +3
    ./api/builtin/AsyncDisposerProvider.java
    • -1
    • +3
    ./api/builtin/IOCBeanManagerProvider.java
    • -1
    • +1
    ./util/AnnotationPropertyAccessor.java
    • -1
    • +1
    ./util/AnnotationPropertyAccessorBuilder.java
    • -0
    • +61
    ./util/ClientAnnotationSerializer.java
  1. … 250 more files in changeset.
ERRAI-1068 - Extend EnabledByProperty annotation to allow multiple conditions

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

    • -4
    • +35
    ./container/SyncBeanManagerImpl.java
  1. … 8 more files in changeset.
Update ClientBeanManager javadoc.

    • -18
    • +15
    ./container/ClientBeanManager.java
ERRAI-1018: Support for javax.enterprise.inject.Typed

* Rework implementation of injectables matching sites of the exact type.

Now uses a predicate on the path of references used to resolve a dependency

in order to determine if a resolved candidate satisfies an injection site.

* Use path predicate to support @Typed for resolution of dependencies at

compile time.

* When @Typed is present, only use types in @Type for assignable types.

This allows beans to only be looked up dynamically by types in @Typed.

    • -1
    • +1
    ./api/builtin/ManagedInstanceProvider.java
  1. … 29 more files in changeset.
Delete dead code

    • -211
    • +0
    ./container/async/AsyncBeanContext.java
  1. … 40 more files in changeset.
ERRAI-1016: Duplicate method getContext() in generated Proxy error

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

    • -64
    • +0
    ./container/IOCBeanManagerLifecycle.java
    • -22
    • +17
    ./container/SyncToAsyncBeanManagerAdapter.java
    • -14
    • +9
    ./container/async/AsyncBeanManagerImpl.java
  1. … 16 more files in changeset.
Support destruction of @ApplicationScoped beans.

Previously a @PreDestroy would be called but

@ApplicationScoped instance would remain in service.

    • -10
    • +21
    ./container/AbstractContext.java
    • -2
    • +14
    ./container/ApplicationScopedContext.java
    • -0
    • +5
    ./container/DependentScopeContext.java
  1. … 7 more files in changeset.
ERRAI-999: Many console errors logged when JS Interop exports not enabled

    • -4
    • +16
    ./container/SyncBeanManagerImpl.java
Use array literal for assignable types in IOC factories instead of adding to list.

  1. … 2 more files in changeset.
Reduce code size of IOC factories by removing 'addQualifier' invocations.

  1. … 4 more files in changeset.
Reduce number of generated methods in IOC factories.

  1. … 1 more file in changeset.
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

    • -0
    • +61
    ./api/UncaughtExceptionHandler.java
    • -0
    • +58
    ./container/ErraiUncaughtExceptionHandler.java
  1. … 18 more files in changeset.
ERRAI-975: Remove temporary client-side replacements of Optional, Function, Supplier, etc.

    • -1
    • +1
    ./container/DependentScopeContext.java
  1. … 22 more files in changeset.
Disable WindowInjectionContext by default (add property to enable).

    • -4
    • +13
    ./container/SyncBeanManagerImpl.java
  1. … 4 more files in changeset.
Fix bugs with ManagedInstance in producer methods (description below).

* Destroy dependent scoped parameters of producer methods.

* Fix stack overflow when when destroying managed bean returned by producer method.

    • -10
    • +36
    ./container/AbstractContext.java
  1. … 7 more files in changeset.
Generate dummy implementations for some JsTypes to avoid compiler inlining.

    • -0
    • +38
    ./api/builtin/DummyJsTypeProvider.java
  1. … 4 more files in changeset.
Make native JsType interface for WindowInjectionContext and add logging.

    • -0
    • +88
    ./WindowInjectionContextImpl.java
    • -0
    • +49
    ./WindowInjectionContextStorage.java
    • -2
    • +14
    ./container/SyncBeanManagerImpl.java
  1. … 3 more files in changeset.
Selecting subtype and then destroying all with should only affect the selected ManagedInstance.

    • -28
    • +123
    ./api/builtin/ManagedInstanceProvider.java
  1. … 1 more file in changeset.
ERRAI-961+: Fix javadocs copied from Instance<T> in ManagedInstance<T>.

Generate factory for types from ContextualTypeProviders.

    • -1
    • +13
    ./container/DependentScopeContext.java
    • -0
    • +44
    ./container/HasContextualInstanceSupport.java
  1. … 10 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.

    • -0
    • +111
    ./api/ManagedInstance.java
    • -0
    • +180
    ./api/builtin/ManagedInstanceProvider.java
    • -2
    • +6
    ./container/DependentScopeContext.java
  1. … 20 more files in changeset.
Remove default method from JsTypeProvider (see below)

GWT is now hiding default methods from generators and

prevents us from generating subtypes of JsTypeProvider

which override getQualifiers:

https://github.com/gwtproject/gwt/commit/75382f1202bf3eaa399d60ebdba42bd7522da3bb

  1. … 1 more file in changeset.
ERRAI-959: Dependent bean in cycle with no default constructor can blow up at runtime.

    • -1
    • +10
    ./container/DependentScopeContext.java
  1. … 3 more files in changeset.
Improve bootstrapper startup by replacing hashmaps with lists in FactoryHandleImpl.

    • -10
    • +15
    ./container/SyncBeanManagerImpl.java
Add wiring type for pseudo-scopes, validate lack of pseudo-scope cycles (with tests).

This commit changes @EntryPoint and @Singleton to pseudo-scopes, meaning

they are not proxied and cannot be in a cycle that does not contain a

normal-scoped bean.

    • -35
    • +9
    ./container/ApplicationScopedContext.java
    • -23
    • +10
    ./container/DependentScopeContext.java
  1. … 19 more files in changeset.