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

  1. … 6 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. … 155 more files in changeset.
Create APT generators for errai-ioc module

  1. … 253 more files in changeset.
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. … 29 more files in changeset.
Generate dummy implementations for some JsTypes to avoid compiler inlining.

    • -0
    • +38
    ./DummyJsTypeProvider.java
  1. … 4 more files in changeset.
Selecting subtype and then destroying all with should only affect the selected ManagedInstance.

    • -28
    • +123
    ./ManagedInstanceProvider.java
  1. … 1 more file 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
    • +180
    ./ManagedInstanceProvider.java
  1. … 24 more files in changeset.
Add DOM JsTypes to errai-common. Change IsElement to use new HTMLElement wrapper.

  1. … 98 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

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

  1. … 3157 more files in changeset.
Enhance WidgetIOCExtension and related fixes (description below).

Cache concrete subtypes of Widget in MetaClassBridgeUtil

to add provider extensions in WidgetIOCExtension.

Remove subtype matching feature and fixup exact type matching

feature.

  1. … 11 more files in changeset.
Don't assume void return type in caller when no callback passed in.

  1. … 3 more files in changeset.
Fix several minor issues (descriptions below).

* Add error messages for public fields in normal scoped beans (except @EntryPoint).

* Remove "Concrete" and "Abstract" from toString of Injectables.

* Add tests that lazily-loaded @Page and @Templated beans are in time.

* Don't use universal qualifier for Providers (only for ContextualTypeProvider).

* Add @IOCProducer annotation (for projects that don't depend on CDI @Produces).

* Make provider of ErraiEntityManager to producer so that it also matches EntityManager.

  1. … 16 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. … 49 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. … 381 more files in changeset.
add support for boilerplate-free calls to RPC endpoints that return void.

  1. … 3 more files in changeset.
Merge remote-tracking branch 'remotes/upstream/master' into 3.0

Migrate fix for ERRAI-528 from master

Conflicts:

errai-bus/pom.xml

errai-cdi/weld-integration/src/test/java/org/jboss/errai/cdi/ErraiCDITestSuite.java

errai-cdi/weld-integration/src/test/java/org/jboss/errai/cdi/injection/client/test/InjectionIntegrationTest.java

errai-ioc/src/main/java/org/jboss/errai/ioc/client/container/AbstractIOCBean.java

errai-ioc/src/main/java/org/jboss/errai/ioc/client/container/SyncBeanManagerImpl.java

errai-ioc/src/main/java/org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCBootstrapGenerator.java

  1. … 35 more files in changeset.
remove uneeded method from previous fix

  1. … 33 more files in changeset.
- Massive refactoring to bus API - @Disposes methods now work properly with the async bean manager.

  1. … 245 more files in changeset.
Merge branch 'master' into 3.0

  1. … 43 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.
- remove yielding behavior in AsyncBeanContext to avoid screen flickering problem in widgets updating from async callbacks - fix ListWidget so if setItems() is called more than once between asynchronous loads that all previous calls to the bean manager are discarded.

  1. … 6 more files in changeset.
Introduce new common interface for async and sync bean manager

  1. … 32 more files in changeset.
Introduced new RestErrorCallback as a specialization of Errai's standard ErrorCallback, +minor refactorings

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

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

  1. … 79 more files in changeset.
lifecycles now working and all proxies getting resolved!

  1. … 32 more files in changeset.
kind of working... but not really!

    • -0
    • +39
    ./AsyncBeanManagerProvider.java
    • -0
    • +33
    ./AsyncDisposerProvider.java
  1. … 20 more files in changeset.
make minor change to log message

  1. … 1 more file in changeset.