Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ERRAI-1098: Implement PayloadPreprocessor for server side payload processing.

    • -1
    • +21
    ./protocol/ErraiProtocolServer.java
    • -0
    • +30
    ./protocol/PayloadPreprocessor.java
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. … 177 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

    • -6
    • +1
    ./marshallers/DefaultArrayMarshaller.java
  1. … 156 more files in changeset.
Add Errai APT Generators mechanism

    • -5
    • +5
    ./marshallers/DefaultArrayMarshaller.java
    • -1
    • +1
    ./marshallers/DefaultDefinitionMarshaller.java
  1. … 269 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 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.
Delete dead code

  1. … 43 more files in changeset.
ERRAI-973: java.lang.Class is not marshallable

    • -0
    • +58
    ./marshallers/ServerClassMarshaller.java
  1. … 6 more files in changeset.
Cleanup ClassChangeUtil warnings and fix return value of generateClassFile (description below).

* Fix raw-type warnings.

* Fix warning for unclosed FileInputStream.

* Fix returned path of generateClassFile (was returning wrong path in source directory).

  1. … 2 more files in changeset.
ERRAI-682+: Fix bug introduced by marshalling refactoring.

ERRAI-682: Qualifiers with members on events

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

  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.

  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3150 more files in changeset.
Fixed ERRAI-461: shouldn't fall back to dynamic marshalling when static is enforced

Fixed marshaller gen. problem when using multiple devmode sessions

  1. … 4 more files in changeset.
Progress on ERRAI-621: Deferred array marshalling working

  1. … 14 more files in changeset.
Progress on custom marshaller generator for ERRAI-612

- first set of tests passing (missing deferred generation of array marshallers on client)

  1. … 15 more files in changeset.
Made exception marshalling work with dynamic marshalling (was only working for static marshalling)

Clarified MappingContext.getMarshaller() API contract, added test, and fixed the dynamic impl.

  1. … 4 more files in changeset.
Made exception marshalling work with dynamic marshalling (was only working for static marshalling)

Clarified MappingContext.getMarshaller() API contract, added test, and fixed the dynamic impl.

  1. … 4 more files in changeset.
code cleanup

  1. … 4 more files in changeset.
code cleanup of codegen and additional unit tests

  1. … 17 more files in changeset.
Merge branch '2.3'

Conflicts:

errai-marshalling/src/main/java/org/jboss/errai/marshalling/rebind/DefinitionsFactoryImpl.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/server/MappingContextSingleton.java

  1. … 1 more file in changeset.
Fixed ERRAI-532: Errai fails to find array marshallers for non-concrete types in DevMode

  1. … 1 more file in changeset.
more fixes to marshalling

  1. … 4 more files in changeset.
fix to marshalling problems

  1. … 7 more files in changeset.
experiments to reduce marshaller size:

- getHandledType() deleted

- redundant StringBuilder declaration removed

- null checks removed from marshallers (marshalling framework should check for null values before calling the marshallers themselves)

    • -2
    • +2
    ./marshallers/DefaultDefinitionMarshaller.java
    • -7
    • +2
    ./marshallers/DefaultEnumMarshaller.java
  1. … 45 more files in changeset.
fix to ERRAI-518

    • -10
    • +10
    ./marshallers/DefaultDefinitionMarshaller.java
initial implementation of @ShadowService as well as fixes to connection recovery with SSE

Conflicts:

errai-ioc/src/main/java/org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCGenerator.java

errai-jpa/errai-jpa-client/src/main/java/org/jboss/errai/jpa/rebind/ErraiEntityManagerGenerator.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/rebind/MarshallersGenerator.java

errai-navigation/src/main/java/org/jboss/errai/ui/nav/rebind/NavigationGraphGenerator.java

  1. … 16 more files in changeset.
- fix to thread-race problems with new parallel generator framework - cleaned up the generator framework - fixed bugs in async bean manager (generator was calculating wrong variable names for beans looked up by interfaces instead of concrete types)

  1. … 52 more files in changeset.