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.
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

    • -14
    • +13
    ./GeneratorMappingContextFactory.java
  1. … 154 more files in changeset.
Add Errai APT Generators mechanism

    • -1
    • +1
    ./model/impl/SimpleConstructorMapping.java
    • -1
    • +1
    ./model/impl/SimpleFactoryMapping.java
  1. … 268 more files in changeset.
attempt to fix for integration tests.

attempt to fix for integration tests.

Minor fixes for "Fix for marshall() and demarshall() generated methods".

  1. … 7 more files in changeset.
Minor fixes for "Fix for marshall() and demarshall() generated methods".

  1. … 7 more files in changeset.
marshallEnum() optimized.

marshallEnum() optimized.

Fix for marshall() and demarshall() generated methods. In my project resulting js code size went down from 433kb to 380kb, and demarshall() performance few times better now. Fixes both: https://issues.jboss.org/browse/ERRAI-1055 https://issues.jboss.org/browse/ERRAI-892

  1. … 13 more files in changeset.
Fix for marshall() and demarshall() generated methods. In my project resulting js code size went down from 433kb to 380kb, and demarshall() performance few times better now. Fixes both: https://issues.jboss.org/browse/ERRAI-1055 https://issues.jboss.org/browse/ERRAI-892

  1. … 13 more files in changeset.
Fix inconsistency in getConstructor methods of MetaClass between GWT and Reflection impls.

  1. … 11 more files in changeset.
Delete dead code

  1. … 43 more files in changeset.
Cleanup and fixes based on FindBugs analysis

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

    • -0
    • +16
    ./MarshallingExtensionConfigurator.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.

    • -16
    • +0
    ./MarshallingExtensionConfigurator.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -0
    • +16
    ./MarshallingExtensionConfigurator.java
  1. … 3150 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. … 380 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.
Fixed invalid @MapsTo in RoleImpl

    • -8
    • +8
    ./model/impl/SimpleConstructorMapping.java
    • -8
    • +8
    ./model/impl/SimpleFactoryMapping.java
  1. … 2 more files in changeset.
Fixed invalid @MapsTo in RoleImpl

    • -8
    • +8
    ./model/impl/SimpleConstructorMapping.java
    • -8
    • +8
    ./model/impl/SimpleFactoryMapping.java
  1. … 2 more files in changeset.
Fixed ERRAI-794: @MapsTo parameter order no longer affects back reference resolution

    • -0
    • +13
    ./model/impl/NoConstructMapping.java
    • -9
    • +46
    ./model/impl/SimpleConstructorMapping.java
    • -9
    • +45
    ./model/impl/SimpleFactoryMapping.java
  1. … 11 more files in changeset.
Fixed ERRAI-794: @MapsTo parameter order no longer affects back reference resolution

    • -0
    • +13
    ./model/impl/NoConstructMapping.java
    • -9
    • +46
    ./model/impl/SimpleConstructorMapping.java
    • -9
    • +45
    ./model/impl/SimpleFactoryMapping.java
  1. … 10 more files in changeset.
Fixed mem. leak in DevMode when storing mapping context

Fixed marshaller gen. problem when using multiple devmode sessions

    • -11
    • +32
    ./GeneratorMappingContextFactory.java
  1. … 4 more files in changeset.
Fix to avoid duplicate generation of abstract marshaller class for arrays

  1. … 2 more files in changeset.
Eagerly initializing nested marshallers for built-in types

  1. … 2 more files in changeset.
Ensured nested marshaller fields are created for inherited built-in mappings

  1. … 1 more file in changeset.