Clone Tools
  • last updated 37 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ERRAI-1019: +Fix MarshallerModelStrategy (details below)

- No longer stop searching after first portable class was

found, but instead collect all matches (a portable class

could be found in a project that is not a webapp e.g.

errai-common when executed from errai root)

- Avoid writing ServerMarshallerFactory.class files to

target dirs of projects which are no webapps

ERRAI-1019: Intermittent build failures with Maven parallel builds (-T)

Delete dead code

  1. … 43 more files in changeset.
ERRAI-1005+: Shorten package name of generated ServerMarhsallingFactoryImpl.

ERRAI-1005+: Shorten package name of generated ServerMarhsallingFactoryImpl.

ERRAI-1005: Add property to generate extremely-shortened marshaller class names

    • -27
    • +24
    ./MarshallerGeneratorFactory.java
  1. … 2 more files in changeset.
ERRAI-1005: Add property to generate extremely-shortened marshaller class names

    • -20
    • +17
    ./MarshallerGeneratorFactory.java
  1. … 2 more files in changeset.
Server marshalling workaround for @CustomMappings in OSGI environment.

Server marshalling workaround for OSGI environments.

Add boolean property to @Portable to generate marshallers for concrete supertypes.

When @Portable(mapSuperTypes=true) is on a class, all concrete

super types will have marshallers generated as if marked portable

themselves.

  1. … 8 more files in changeset.
Fix codegen bug: _elseif triggers generation at statement creation time

  1. … 2 more files 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.

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

  1. … 34 more files in changeset.
ERRAI-948: infinite loop 100% CPU in generated ServerMarshallingFactoryImpl.getMarshaller

    • -16
    • +18
    ./MarshallerGeneratorFactory.java
ERRAI-927: Array marshaller generation causes rebind error.

Write generated source to correct package folders in .errai dir.

  1. … 6 more files in changeset.
Refactor and change ordering of auto-discovery logic for class output.

Name DiscoverStrategies in OuptutDirectoryUtil and move some methods there form ClassChangeUtil.

Clean up DiscoveryStrategies and try CurrentWorkingDirectory strategy first.

    • -122
    • +237
    ./util/OutputDirectoryUtil.java
  1. … 1 more file in changeset.
Improve logging for generation of MarshallerFactory and EventQualifierSerializerImpl classes.

  1. … 3 more files in changeset.
ERRAI-922: MarshallerImpl will fail to generate if there are too many @Portable Types

    • -127
    • +195
    ./MarshallerGeneratorFactory.java
Add property for setting class file output directory for marshallers and event qualifier serializers.

  1. … 2 more files in changeset.
ERRAI-682+: Fix EventQualifierSerializerImpl class-loading issue (description below).

Fix two separate issues with the loading and generation of the

EventQualifierSerializerImpl:

* At runtime, only try to load class files with the "file" protocol

(in particular, don't load impls from jars on the classpath -- this

caused the ClassChangeUtil.loadClassDefinition to throw an exception

because it is only meant to load files from within the current project).

* Only generate impls into class output folders when running a

production compile.

  1. … 2 more files in changeset.
ERRAI-682: Qualifiers with members on events

    • -0
    • +31
    ./util/DiscoveryContext.java
    • -0
    • +42
    ./util/DiscoveryContextImpl.java
    • -0
    • +25
    ./util/DiscoveryStrategy.java
    • -0
    • +226
    ./util/OutputDirectoryUtil.java
  1. … 33 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -2
    • +2
    ./api/GeneratorMappingContextFactory.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.

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

    • -3
    • +3
    ./api/GeneratorMappingContextFactory.java
  1. … 3150 more files in changeset.
Fix async generator caching corner-case and add more logging (description below).

Call isRelevant for updated class so that classes can become

relevant to a generator after creation. Previously if

@Bindable was added to a type that already existed, the

BindableProxyLoaderGenerator would not run until some

other bindable type was changed.

  1. … 5 more files in changeset.
Fix async generator caching corner-case and add more logging (description below).

Call isRelevant for updated class so that classes can become

relevant to a generator after creation. Previously if

@Bindable was added to a type that already existed, the

BindableProxyLoaderGenerator would not run until some

other bindable type was changed.

  1. … 5 more files in changeset.
Remove old/unused reachability analysis logic (ERRAI-846)

  1. … 2 more files in changeset.
Reuse client MarshallerFactoryImpl when no portable types have changed.

    • -0
    • +34
    ./MarshallerGenerationCallback.java
Performance improvments and IOCExtensionConfigurator API change (details below).

* Don't pass in IOCProcessor to IOCExtentionsConfigurators. Allows caching

of scanned extensions, decorators, and tasks.

* Don't load class from class loader in JavaReflectionClass.

* Reduce usage of MetaClass.asClass for class literals in generated code.

* Overload some methods in EnvUtil to take MetaClasses (to avoid calling asClass).

* Never clear non-reloadable types from MetaClassCache.

  1. … 27 more files in changeset.