Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

    • -9
    • +3
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -27
    • +4
    ./databinding/rebind/DataBindingIOCExtension.java
    • -1
    • +1
    ./databinding/rebind/DataBindingUtil.java
  1. … 155 more files in changeset.
Create nonBindableTypes in ErraiConfiguration interface

    • -4
    • +6
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -5
    • +3
    ./databinding/rebind/BoundDecorator.java
    • -5
    • +3
    ./databinding/rebind/DataBindingIOCExtension.java
    • -15
    • +21
    ./databinding/rebind/DataBindingUtil.java
  1. … 21 more files in changeset.
Merge branch 'master' into errai-codegen-apt

    • -1
    • +5
    ./databinding/rebind/DataBindingUtil.java
  1. … 27 more files in changeset.
ERRAI-1072: Add parameter errai.ui.nonbindableTypes to ErraiApp.properties (#294)

* ERRAI-1072: Add parameter errai.ui.nonbindableTypes to ErraiApp.properties

* ERRAI-1072: Improvements

* ERRAI-1072: minor

* ERRAI-1072: minor

    • -40
    • +85
    ./databinding/rebind/DataBindingUtil.java
  1. … 6 more files in changeset.
Create APT generators for errai-ioc module

    • -10
    • +21
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -12
    • +26
    ./databinding/rebind/BoundDecorator.java
    • -6
    • +9
    ./databinding/rebind/DataBindingIOCExtension.java
    • -143
    • +30
    ./databinding/rebind/DataBindingUtil.java
    • -4
    • +13
    ./databinding/rebind/DataBindingValidator.java
  1. … 251 more files in changeset.
Merge module restriction logic for exported and local types

    • -0
    • +26
    ./databinding/ErraiDataBindingModule.java
  1. … 4 more files in changeset.
Partially fix errai-data-binding integration tests issue

    • -4
    • +6
    ./databinding/rebind/BindableProxyGenerator.java
    • -1
    • +1
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -12
    • +0
    ./databinding/rebind/DataBindingUtil.java
  1. … 7 more files in changeset.
Skip execution of AsyncGenerators if they've already ran via APT generators

    • -0
    • +11
    ./databinding/rebind/BindableProxyLoaderGenerator.java
  1. … 4 more files in changeset.
Workaround for casting issue found in BindableProxyLoaderGenerator

    • -1
    • +1
    ./databinding/rebind/BindableProxyGenerator.java
Rename some interfaces and create tests for ErraiModuleConfiguration

    • -2
    • +2
    ./databinding/rebind/BindableProxyLoaderGenerator.java
  1. … 22 more files in changeset.
Created ErraiModuleConfiguration class

    • -1
    • +2
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -36
    • +0
    ./databinding/rebind/MetaClassFinder.java
  1. … 8 more files in changeset.
Add ErraiModule annotation with configuration properties

  1. … 6 more files in changeset.
Make ErraiAptExportedTypes not static anymore

  1. … 8 more files in changeset.
Prepare for ErraiModules

  1. … 21 more files in changeset.
Continue supporting ErraiApp.properties for GWT generators

    • -0
    • +5
    ./databinding/rebind/BindableProxyLoaderGenerator.java
Create APT Generator for errai-data-binding

    • -13
    • +13
    ./databinding/client/BindableProxyAgent.java
    • -0
    • +1
    ./databinding/client/DataBindingModuleBootstrapper.java
    • -34
    • +0
    ./databinding/client/BindableProxyLoader.java
    • -8
    • +18
    ./databinding/rebind/BindableProxyGenerator.java
    • -38
    • +56
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -28
    • +29
    ./databinding/rebind/DataBindingUtil.java
    • -0
    • +36
    ./databinding/rebind/MetaClassFinder.java
  1. … 20 more files in changeset.
Add Errai APT Generators mechanism

    • -2
    • +1
    ./databinding/rebind/BindableProxyGenerator.java
    • -1
    • +1
    ./databinding/rebind/BindableProxyLoaderGenerator.java
    • -3
    • +3
    ./databinding/rebind/BoundDecorator.java
    • -19
    • +18
    ./databinding/rebind/DataBindingIOCExtension.java
    • -29
    • +28
    ./databinding/rebind/DataBindingUtil.java
  1. … 266 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#286)

    • -33
    • +51
    ./databinding/client/BindableProxyAgent.java
    • -20
    • +18
    ./databinding/rebind/BoundDecorator.java
  1. … 61 more files in changeset.
Revert ERRAI-1064 temporarily until downstream projects upgrade GWT version to 2.8.1

    • -51
    • +33
    ./databinding/client/BindableProxyAgent.java
    • -18
    • +20
    ./databinding/rebind/BoundDecorator.java
  1. … 49 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#280)

    • -33
    • +51
    ./databinding/client/BindableProxyAgent.java
    • -20
    • +18
    ./databinding/rebind/BoundDecorator.java
  1. … 49 more files in changeset.
Fix userCache proxy & avoid adding interfaces/abstracts as serializable types. (#274)

* Fix an issue with userCache proxy & avoid adding interfaces/abstracts as a serializable type.

This catch is for wildcard serialization definitions (*).

* Mark BasicUserCacheImpl as @Singleton & log wildcard filters.

* Changes as per requested.

    • -3
    • +11
    ./databinding/rebind/DataBindingUtil.java
  1. … 2 more files in changeset.
Fix userCache proxy & avoid adding interfaces/abstracts as serializable types. (#274)

* Fix an issue with userCache proxy & avoid adding interfaces/abstracts as a serializable type.

This catch is for wildcard serialization definitions (*).

* Mark BasicUserCacheImpl as @Singleton & log wildcard filters.

* Changes as per requested.

    • -3
    • +11
    ./databinding/rebind/DataBindingUtil.java
  1. … 2 more files in changeset.
Bindable proxies generation improved (size and performance), fixes https://issues.jboss.org/browse/ERRAI-1069

    • -76
    • +95
    ./databinding/rebind/BindableProxyGenerator.java
Support ErraiApp.properties in META-INF dir

    • -2
    • +2
    ./databinding/rebind/DataBindingUtil.java
  1. … 123 more files in changeset.
Support ErraiApp.properties in META-INF dir

    • -2
    • +2
    ./databinding/rebind/DataBindingUtil.java
  1. … 123 more files in changeset.
Fix inconsistency in getConstructor methods of MetaClass between GWT and Reflection impls.

    • -13
    • +13
    ./databinding/rebind/BindableProxyLoaderGenerator.java
  1. … 11 more files in changeset.
Fixed List component destroyer initialization with Dependent scope

    • -1
    • +1
    ./databinding/client/ListComponentProvider.java
  1. … 2 more files in changeset.
ERRAI-1032: Add declarative property change handler methods for @Bindable types

    • -14
    • +64
    ./databinding/rebind/BindableProxyGenerator.java
  1. … 2 more files in changeset.
ERRAI-1030: Add Bindable type name for NonExistingPropertyException.

    • -3
    • +3
    ./databinding/client/MapBindableProxy.java
    • -3
    • +3
    ./databinding/client/NonExistingPropertyException.java
    • -1
    • +2
    ./databinding/rebind/BindableProxyGenerator.java
  1. … 2 more files in changeset.
Add support for package scanning CONFIG_ERRAI_BINDABLE_TYPES (#225)

    • -4
    • +24
    ./databinding/rebind/DataBindingUtil.java
  1. … 6 more files in changeset.