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

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

    • -2
    • +20
    ./integration/client/ErraiUICDIIntegrationTest.java
    • -0
    • +3
    ./integration/client/res/BeanWithElementInjectionSites.java
    • -0
    • +33
    ./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

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

    • -0
    • +11
    ./integration/client/ErraiUICDIIntegrationTest.java
    • -0
    • +6
    ./integration/client/res/BeanWithElementInjectionSites.java
    • -0
    • +44
    ./integration/client/res/InputElementWithClassAndPropertyAnnotations.java
    • -0
    • +37
    ./integration/client/res/InputElementWithClassAnnotations.java
  1. … 138 more files in changeset.
[ERRAI-1080] Add @ClassNames annotation support.

    • -0
    • +11
    ./integration/client/ErraiUICDIIntegrationTest.java
    • -0
    • +6
    ./integration/client/res/BeanWithElementInjectionSites.java
    • -0
    • +44
    ./integration/client/res/InputElementWithClassAndPropertyAnnotations.java
    • -0
    • +37
    ./integration/client/res/InputElementWithClassAnnotations.java
  1. … 3 more files in changeset.
Replace org.codehaus.jackson with com.fasterxml.jackson

  1. … 5 more files in changeset.
Add ErraiModule files to errai-ui tests

    • -0
    • +24
    ./basic/ErraiTestModule.java
    • -0
    • +24
    ./binding/ErraiTestModule.java
    • -0
    • +24
    ./common/ErraiTestModule.java
    • -0
    • +24
    ./designer/ErraiTestModule.java
    • -0
    • +24
    ./element/ErraiTestModule.java
    • -0
    • +24
    ./elemental2/ErraiTestModule.java
    • -0
    • +24
    ./error/ErraiTestModule.java
    • -0
    • +24
    ./extended/ErraiTestModule.java
    • -0
    • +24
    ./form/ErraiTestModule.java
    • -0
    • +24
    ./handler/ErraiTestModule.java
    • -0
    • +24
    ./i18n/ErraiTestModule.java
    • -0
    • +24
    ./integration/ErraiTestModule.java
    • -0
    • +24
    ./nested/ErraiTestModule.java
    • -0
    • +24
    ./nestedcyclic/ErraiTestModule.java
    • -0
    • +24
    ./path/ErraiTestModule.java
  1. … 5 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#286)

    • -0
    • +49
    ./elemental2/client/CompositeElementTemplateTestApp.java
    • -0
    • +37
    ./elemental2/client/DefaultIsElementTest.java
    • -0
    • +78
    ./elemental2/client/ElementTemplateTest.java
    • -0
    • +28
    ./elemental2/client/ElementTemplateTestApp.java
    • -0
    • +49
    ./elemental2/client/NonCompositeElementTemplateTestApp.java
    • -0
    • +124
    ./elemental2/client/res/CompositeElementFormComponent.java
    • -0
    • +39
    ./elemental2/client/res/ElementPresenter.java
    • -0
    • +122
    ./elemental2/client/res/NonCompositeElementFormComponent.java
  1. … 48 more files in changeset.
Revert ERRAI-1064 temporarily until downstream projects upgrade GWT version to 2.8.1

    • -49
    • +0
    ./elemental2/client/CompositeElementTemplateTestApp.java
    • -37
    • +0
    ./elemental2/client/DefaultIsElementTest.java
    • -78
    • +0
    ./elemental2/client/ElementTemplateTest.java
    • -28
    • +0
    ./elemental2/client/ElementTemplateTestApp.java
    • -49
    • +0
    ./elemental2/client/NonCompositeElementTemplateTestApp.java
    • -124
    • +0
    ./elemental2/client/res/CompositeElementFormComponent.java
    • -39
    • +0
    ./elemental2/client/res/ElementPresenter.java
    • -122
    • +0
    ./elemental2/client/res/NonCompositeElementFormComponent.java
  1. … 36 more files in changeset.
ERRAI-1064: Add support for Elemental2 API (#280)

    • -0
    • +25
    ./elemental2/Test.gwt.xml
    • -0
    • +49
    ./elemental2/client/CompositeElementTemplateTestApp.java
    • -0
    • +37
    ./elemental2/client/DefaultIsElementTest.java
    • -0
    • +78
    ./elemental2/client/ElementTemplateTest.java
    • -0
    • +28
    ./elemental2/client/ElementTemplateTestApp.java
    • -0
    • +49
    ./elemental2/client/NonCompositeElementTemplateTestApp.java
    • -0
    • +124
    ./elemental2/client/res/CompositeElementFormComponent.java
    • -0
    • +42
    ./elemental2/client/res/ElementFormComponent.html
    • -0
    • +46
    ./elemental2/client/res/ElementFormComponent.java
    • -0
    • +39
    ./elemental2/client/res/ElementPresenter.java
    • -0
    • +41
    ./elemental2/client/res/Elemental2EmailAnchor.java
    • -0
    • +122
    ./elemental2/client/res/NonCompositeElementFormComponent.java
    • -0
    • +3
    ./elemental2/client/res/TemplatedIsElementBean.html
    • -0
    • +35
    ./elemental2/client/res/TemplatedIsElementBean.java
    • -0
    • +23
    ./producer/Test.gwt.xml
  1. … 36 more files in changeset.
Support Elemental 2 elements in template quick event handlers.

    • -0
    • +72
    ./elemental2/client/ElementalQuickEventHandlerTest.java
    • -0
    • +4
    ./elemental2/client/res/ElementalComponent.html
    • -0
    • +106
    ./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
    • +10
    ./i18n/client/I18nPropertyBundleTemplateTest.java
  1. … 2 more files in changeset.
Regression test for ERRAI-757.

    • -0
    • +28
    ./extended/client/res/ChildWithoutTemplatedFragmentValue.java
    • -0
    • +28
    ./extended/client/res/CompositeChildWithoutTemplatedFragmentValue.java
    • -0
    • +30
    ./extended/client/res/CompositeParentWithRootFragmentValue.java
    • -0
    • +3
    ./extended/client/res/ParentWithRootFragmentValue.html
    • -0
    • +29
    ./extended/client/res/ParentWithRootFragmentValue.java
ERRAI-993: i18n allow translations in template views to use keys without prefix

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

    • -0
    • +1
    ./basic/client/res/less-style-with-import.less
  1. … 2 more files in changeset.
Support loading less imports from arbitrary paths in the classpath.

  1. … 3 more files in changeset.
Support data-binding with @JsOverlay overrides of HasValue on an interface.

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

    • -1
    • +72
    ./basic/client/BasicTemplateTest.java
    • -0
    • +36
    ./basic/client/res/LessStyledComponent.java
    • -0
    • +4
    ./basic/client/res/LessStyledComponent.less
    • -0
    • +36
    ./basic/client/res/LessStyledComponentAbsolute.java
    • -0
    • +36
    ./basic/client/res/LessStyledComponentRelative.java
    • -0
    • +36
    ./basic/client/res/LessStyledComponentWithImport.java
    • -0
    • +7
    ./basic/client/res/less-style-with-import.less
    • -0
    • +4
    ./basic/client/res/less-style.less
    • -0
    • +1
    ./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
    ./basic/client/AppScopedTemplateTest.java
    • -0
    • +3
    ./basic/client/res/AppScoped.html
    • -0
    • +41
    ./basic/client/res/AppScopedParent1.java
    • -0
    • +41
    ./basic/client/res/AppScopedParent2.java
    • -0
    • +43
    ./basic/client/res/NestedAppScopedTemplate.java
  1. … 1 more file in changeset.
Fix compilation errors when using @EventHandler on private method with JS interop event.

    • -0
    • +6
    ./quickhandler/client/InteropEventQuickHandlerTemplateTest.java
    • -0
    • +1
    ./quickhandler/client/res/InteropEventQuickHandlerTemplate.html
    • -0
    • +9
    ./quickhandler/client/res/InteropEventQuickHandlerTemplate.java
  1. … 1 more file in changeset.
Consolidate test code for intercepting adding/removing browser event listeners.

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

    • -0
    • +113
    ./basic/client/AttributeMergingTest.java
    • -23
    • +23
    ./basic/client/BasicTemplateTest.java
    • -0
    • +4
    ./basic/client/res/Attributes.html
    • -0
    • +56
    ./basic/client/res/BeanStrategy.java
    • -0
    • +58
    ./basic/client/res/MixedStrategy.java
    • -0
    • +56
    ./basic/client/res/TemplateStrategy.java
  1. … 9 more files in changeset.
ERRAI-970: Allow using IsWidget implementations with @DataField annotation (#181)

    • -0
    • +65
    ./basic/client/IsWidgetComponentTest.java
    • -0
    • +44
    ./basic/client/IsWidgetComponentTestApp.java
    • -0
    • +34
    ./basic/client/res/IsWidgetComponent.java
    • -0
    • +3
    ./basic/client/res/IsWidgetComponentView.html
    • -0
    • +33
    ./basic/client/res/IsWidgetComponentView.java
    • -0
    • +4
    ./basic/client/res/IsWidgetParentComponent.html
    • -0
    • +41
    ./basic/client/res/IsWidgetParentComponent.java
  1. … 1 more file in changeset.
Update GWT to 2.8.0-rc1 (lots of details below).

Most of the items below were fixes for tests (which

are now production compiled by default) and dependency

issues (since gwt-user/gwt-dev now bring in transitive

dependencies instead of bundling them in fat jars).

* Upgrade jetty to version in ip-bom

* Fix errai-bus test issues.

* Remove GuardedBy and Nonnull annotations from errai-bus.

* Fix javadoc bug in errai-bus.

* Fix test failures caused by GWT type oracle behaviour change.

(This commit causes the type oracle to hide non-abstract methods

in interfaces:

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

* Fix AbstractErraiTest so it is usable in errai-ioc-bus-support production compiled tests.

* Fix data-binding tests (have to manually invoke event listeners because dispatchEvent does not work).

* Fixes for errai-cdi-server tests (description below).

* Upgrade Jetty version

* Add -devMode gwt.arg

* Add missing inherited modules

(This was to try and get the tests to run in prod mode,

but there appears to be a compiler bug that prevents this

-- interned value is used before being referenced)

* Use errai.devel.nocache property in Errai GWT generators.

* Fix jaxrs-client bug with Date params.

* Fix errai-ui tests (notes below).

** Fix event dispatching issue (same problem as with data-binding tests).

** Fix NPE when an empty input element fires a change event while bound

to a primitive property in a model.

* Fix errai-navigation native anchor test (same problem as data-binding tests).

* Fix Errai Security tests.

* Fix errai-jpa-client tests.

* Fix gwt-dev version in demos.

* Manage gson version in errai-bom to version required by gwt-dev.

    • -36
    • +145
    ./binding/client/BindingTemplateTest.java
  1. … 100 more files in changeset.
ERRAI-968: Support Errai UI quick event handlers using native @JsType events

    • -0
    • +213
    ./quickhandler/client/InteropEventQuickHandlerTemplateTest.java
    • -0
    • +8
    ./quickhandler/client/res/InteropEventQuickHandlerTemplate.html
    • -0
    • +128
    ./quickhandler/client/res/InteropEventQuickHandlerTemplate.java
  1. … 40 more files in changeset.
Add IsElement in Errai UI with default impl that returns templated bean root elements.

    • -0
    • +34
    ./element/client/DefaultIsElementTest.java
    • -0
    • +3
    ./element/client/res/TemplatedIsElementBean.html
    • -0
    • +37
    ./element/client/res/TemplatedIsElementBean.java
  1. … 2 more files in changeset.
ERRAI-932: Provide more informative error messages

Improved some error messages around rendering @Templated beans

to include information about the @Templated beant type and

@DataField name involved in the error.

    • -0
    • +49
    ./error/client/TemplateErrorTest.java
    • -0
    • +36
    ./error/client/res/TemplateWithDifferentDataFieldElementKind.java
    • -0
    • +33
    ./error/client/res/TemplateWithNullDataField.java
  1. … 2 more files in changeset.
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.

    • -7
    • +8
    ./integration/client/res/TestAppBean.java
  1. … 22 more files in changeset.
Add tests for error reporting of missing data-fields in Errai UI.

    • -0
    • +23
    ./error/Test.gwt.xml
    • -0
    • +276
    ./error/client/TemplateErrorTest.java
    • -0
    • +36
    ./error/client/res/AbstractTemplatedWithPackagePrivateField.java
    • -0
    • +36
    ./error/client/res/AbstractTemplatedWithPrivateField.java
    • -0
    • +36
    ./error/client/res/AbstractTemplatedWithProtectedField.java
    • -0
    • +36
    ./error/client/res/AbstractTemplatedWithPublicField.java
    • -0
    • +3
    ./error/client/res/AbstractWithField.html
    • -0
    • +36
    ./error/client/res/AbstractWithField.java
    • -0
    • +3
    ./error/client/res/Field.html
    • -0
    • +36
    ./error/client/res/MissingPackagePrivateFieldInTemplate.java
    • -0
    • +29
    ./error/client/res/MissingPackagePrivateSubclass.java
    • -0
    • +36
    ./error/client/res/MissingPrivateFieldInTemplate.java
    • -0
    • +29
    ./error/client/res/MissingPrivateSubclass.java
    • -0
    • +36
    ./error/client/res/MissingProtectedFieldInTemplate.java
    • -0
    • +29
    ./error/client/res/MissingProtectedSubclass.java
  1. … 18 more files in changeset.
Remove "HTML" prefix and "Element" suffix from DOM wrapper types.

    • -3
    • +3
    ./element/client/res/ElementPresenter.java
  1. … 73 more files in changeset.