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

    • -14
    • +2
    ./rebind/TemplatedCodeDecoratorTest.java
  1. … 177 more files in changeset.
ERRAI-1086: Fix use of @ClassNames and @Properties in Elemental2 elements (#318)

* Fix @Properties and @ClassNames for elemental2 Elements

* Make injetable configuration always use Elemental2 API

* Improved code of ElementProviderExtension

    • -0
    • +33
    ./test/integration/client/res/Elemental2InputWithClassAndPropertiesAnnotations.java
  1. … 2 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

    • -5
    • +16
    ./rebind/TemplatedCodeDecoratorTest.java
    • -0
    • +45
    ./test/basic/ErraiTestApp.java
    • -0
    • +45
    ./test/binding/ErraiTestApp.java
    • -24
    • +0
    ./test/binding/ErraiTestModule.java
    • -0
    • +43
    ./test/designer/ErraiTestApp.java
    • -24
    • +0
    ./test/designer/ErraiTestModule.java
    • -0
    • +45
    ./test/element/ErraiTestApp.java
    • -24
    • +0
    ./test/element/ErraiTestModule.java
    • -0
    • +45
    ./test/elemental2/ErraiTestApp.java
    • -24
    • +0
    ./test/elemental2/ErraiTestModule.java
    • -0
    • +45
    ./test/error/ErraiTestApp.java
  1. … 666 more files in changeset.
Merge branch 'master' into errai-codegen-apt

    • -1
    • +1
    ./rebind/DataFieldCodeDecoratorTest.java
    • -1
    • +1
    ./rebind/TemplatedCodeDecoratorTest.java
    • -1
    • +1
    ./test/i18n/client/I18nBundleTest.java
    • -0
    • +44
    ./test/integration/client/res/InputElementWithClassAndPropertyAnnotations.java
  1. … 136 more files in changeset.
[ERRAI-1084] upgrade mockito, gwtmockito and powermock to versions compatible with JDK9

    • -1
    • +1
    ./rebind/DataFieldCodeDecoratorTest.java
    • -7
    • +3
    ./rebind/TemplatedCodeDecoratorTest.java
  1. … 17 more files in changeset.
[ERRAI-1080] Add @ClassNames annotation support.

    • -0
    • +44
    ./test/integration/client/res/InputElementWithClassAndPropertyAnnotations.java
  1. … 3 more files in changeset.
Replace org.codehaus.jackson with com.fasterxml.jackson

    • -1
    • +1
    ./test/i18n/client/I18nBundleTest.java
  1. … 5 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
    ./rebind/TemplatedCodeDecoratorTest.java
  1. … 158 more files in changeset.
Rename classes and add clarifying comment

    • -2
    • +2
    ./rebind/DataFieldCodeDecoratorTest.java
    • -4
    • +4
    ./rebind/TemplatedCodeDecoratorTest.java
  1. … 13 more files in changeset.
Create APT generators for errai-ioc module

    • -2
    • +3
    ./rebind/DataFieldCodeDecoratorTest.java
    • -32
    • +34
    ./rebind/TemplatedCodeDecoratorTest.java
    • -5
    • +7
    ./rebind/ioc/element/Elemental2TagMappingTest.java
  1. … 254 more files in changeset.
Add ErraiModule files to errai-ui tests

    • -0
    • +24
    ./test/basic/ErraiTestModule.java
    • -0
    • +24
    ./test/binding/ErraiTestModule.java
    • -0
    • +24
    ./test/common/ErraiTestModule.java
    • -0
    • +24
    ./test/designer/ErraiTestModule.java
    • -0
    • +24
    ./test/element/ErraiTestModule.java
    • -0
    • +24
    ./test/elemental2/ErraiTestModule.java
    • -0
    • +24
    ./test/error/ErraiTestModule.java
    • -0
    • +24
    ./test/extended/ErraiTestModule.java
    • -0
    • +24
    ./test/form/ErraiTestModule.java
    • -0
    • +24
    ./test/handler/ErraiTestModule.java
    • -0
    • +24
    ./test/i18n/ErraiTestModule.java
    • -0
    • +24
    ./test/integration/ErraiTestModule.java
    • -0
    • +24
    ./test/nested/ErraiTestModule.java
    • -0
    • +24
    ./test/nestedcyclic/ErraiTestModule.java
    • -0
    • +24
    ./test/path/ErraiTestModule.java
  1. … 5 more files in changeset.
Restrict types in export files by its Errai module

  1. … 13 more files in changeset.
Remove random string from ExportFile names

    • -0
    • +26
    ./ErraiUiTestModule.java
  1. … 26 more files in changeset.
Add Errai APT Generators mechanism

    • -4
    • +4
    ./rebind/TemplatedCodeDecoratorTest.java
  1. … 271 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#286)

    • -0
    • +46
    ./rebind/ioc/element/CustomElement.java
    • -0
    • +49
    ./rebind/ioc/element/Elemental2TagMappingTest.java
    • -0
    • +78
    ./test/elemental2/client/ElementTemplateTest.java
  1. … 48 more files in changeset.
Revert ERRAI-1064 temporarily until downstream projects upgrade GWT version to 2.8.1

    • -46
    • +0
    ./rebind/ioc/element/CustomElement.java
    • -49
    • +0
    ./rebind/ioc/element/Elemental2TagMappingTest.java
    • -78
    • +0
    ./test/elemental2/client/ElementTemplateTest.java
  1. … 36 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#280)

    • -0
    • +46
    ./rebind/ioc/element/CustomElement.java
    • -0
    • +85
    ./rebind/ioc/element/ElementProviderExtensionTest.java
    • -0
    • +49
    ./rebind/ioc/element/Elemental2TagMappingTest.java
    • -0
    • +25
    ./test/elemental2/Test.gwt.xml
    • -0
    • +37
    ./test/elemental2/client/DefaultIsElementTest.java
    • -0
    • +78
    ./test/elemental2/client/ElementTemplateTest.java
    • -0
    • +28
    ./test/elemental2/client/ElementTemplateTestApp.java
    • -0
    • +49
    ./test/elemental2/client/NonCompositeElementTemplateTestApp.java
    • -0
    • +42
    ./test/elemental2/client/res/ElementFormComponent.html
    • -0
    • +46
    ./test/elemental2/client/res/ElementFormComponent.java
    • -0
    • +39
    ./test/elemental2/client/res/ElementPresenter.java
    • -0
    • +41
    ./test/elemental2/client/res/Elemental2EmailAnchor.java
  1. … 36 more files in changeset.
Throw error for event handlers with no known event type.

    • -0
    • +172
    ./rebind/TemplatedCodeDecoratorTest.java
  1. … 1 more file in changeset.
Support Elemental 2 elements in template quick event handlers.

    • -0
    • +4
    ./test/elemental2/client/res/ElementalComponent.html
    • -0
    • +106
    ./test/elemental2/client/res/ElementalComponent.java
  1. … 1 more file in changeset.
Default translation (locale == null) should be returned when there is no translation to a key in the active locale and the errai.i18n.default_per_key is set to true.

    • -0
    • +3
    ./test/i18n/client/res/AppMessages.java
  1. … 2 more files in changeset.
Regression test for ERRAI-757.

    • -6
    • +28
    ./test/extended/client/ExtendedTemplateTest.java
    • -0
    • +28
    ./test/extended/client/res/CompositeChildWithoutTemplatedFragmentValue.java
    • -0
    • +30
    ./test/extended/client/res/CompositeParentWithRootFragmentValue.java
ERRAI-993: i18n allow translations in template views to use keys without prefix

    • -2
    • +30
    ./test/i18n/client/I18nTemplateTest.java
    • -0
    • +4
    ./test/i18n/client/res/I18nNoPrefix.json
    • -0
    • +4
    ./test/i18n/client/res/I18nNoPrefix_fr_FR.json
    • -0
    • +4
    ./test/i18n/client/res/I18nPrefixingTestBean.html
    • -0
    • +42
    ./test/i18n/client/res/I18nPrefixingTestBean.java
    • -0
    • +3
    ./test/i18n/client/res/I18nPrefixingTestBean.json
    • -0
    • +3
    ./test/i18n/client/res/I18nPrefixingTestBean_fr_FR.json
    • -0
    • +28
    ./test/i18n/client/res/UnprefixedBundle.java
  1. … 3 more files in changeset.
Support less imports with absolute paths.

  1. … 2 more files in changeset.
Support loading less imports from arbitrary paths in the classpath.

    • -4
    • +0
    ./test/basic/client/res/less-style.less
  1. … 3 more files in changeset.
Support data-binding with @JsOverlay overrides of HasValue on an interface.

    • -19
    • +77
    ./test/binding/client/BindingTemplateTest.java
    • -0
    • +24
    ./test/binding/client/res/BindableEmailAnchor.java
    • -0
    • +42
    ./test/binding/client/res/JsPropertyDivElement.java
  1. … 1 more file in changeset.
Reintroduce LESS support via @Templated stylesheet attribute.

    • -1
    • +72
    ./test/basic/client/BasicTemplateTest.java
    • -0
    • +36
    ./test/basic/client/res/LessStyledComponent.java
    • -0
    • +4
    ./test/basic/client/res/LessStyledComponent.less
    • -0
    • +36
    ./test/basic/client/res/LessStyledComponentAbsolute.java
    • -0
    • +36
    ./test/basic/client/res/LessStyledComponentRelative.java
    • -0
    • +36
    ./test/basic/client/res/LessStyledComponentWithImport.java
    • -0
    • +7
    ./test/basic/client/res/less-style-with-import.less
    • -0
    • +4
    ./test/basic/client/res/less-style.less
    • -0
    • +1
    ./test/basic/client/res/less-styled-template.html
  1. … 4 more files in changeset.
ERRAI-987: Nested @Templated beans that aren't Composite or IsElement have incorrect Widget hierarchy

    • -0
    • +77
    ./test/basic/client/AppScopedTemplateTest.java
    • -0
    • +3
    ./test/basic/client/res/AppScoped.html
    • -0
    • +41
    ./test/basic/client/res/AppScopedParent1.java
    • -0
    • +41
    ./test/basic/client/res/AppScopedParent2.java
    • -0
    • +43
    ./test/basic/client/res/NestedAppScopedTemplate.java
  1. … 1 more file in changeset.
Fix compilation errors when using @EventHandler on private method with JS interop event.

  1. … 1 more file in changeset.
Consolidate test code for intercepting adding/removing browser event listeners.

    • -110
    • +12
    ./test/binding/client/BindingTemplateTest.java
  1. … 2 more files in changeset.
ERRAI-938: Having an option on @DataField for alternative attribute merging strategies

    • -0
    • +11
    ./rebind/DataFieldCodeDecoratorTest.java
    • -0
    • +113
    ./test/basic/client/AttributeMergingTest.java
    • -23
    • +23
    ./test/basic/client/BasicTemplateTest.java
    • -0
    • +4
    ./test/basic/client/res/Attributes.html
    • -0
    • +56
    ./test/basic/client/res/BeanStrategy.java
    • -0
    • +58
    ./test/basic/client/res/MixedStrategy.java
    • -0
    • +56
    ./test/basic/client/res/TemplateStrategy.java
  1. … 8 more files in changeset.