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

  1. … 158 more files in changeset.
Add Errai APT Generators mechanism

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

    • -0
    • +58
    ./ServerClassMarshaller.java
  1. … 6 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  1. … 3054 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. … 3080 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3162 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)

  1. … 46 more files in changeset.
fix to ERRAI-518

    • -10
    • +10
    ./DefaultDefinitionMarshaller.java
Cleaning up framework package: moved Assert to api package because it's meant to be public API

  1. … 43 more files in changeset.
Fixed ERRAI-370: Marshalling of enum types with abstract methods

  1. … 5 more files in changeset.
Merge branch '2.1' into gwt2.5-integration

Conflicts:

errai-codegen/src/main/java/org/jboss/errai/codegen/Context.java

errai-codegen/src/main/java/org/jboss/errai/codegen/MethodInvocation.java

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. … 15 more files in changeset.
Merge branch 'master' into 2.1

Conflicts:

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

errai-marshalling/src/main/java/org/jboss/errai/marshalling/rebind/api/impl/defaultjava/DefaultJavaMappingStrategy.java

  1. … 6 more files in changeset.
Merge remote-tracking branch 'upstream/2.1' into gwt2.5-integration

Conflicts:

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/api/AbstractMarshallingSession.java

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

errai-marshalling/src/main/java/org/jboss/errai/marshalling/rebind/api/GeneratorMappingContext.java

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

errai-marshalling/src/main/java/org/jboss/errai/marshalling/server/marshallers/DefaultArrayMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/server/marshallers/DefaultDefinitionMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/server/marshallers/DefaultEnumMarshaller.java

  1. … 5 more files in changeset.
major code cleanup

    • -20
    • +23
    ./DefaultDefinitionMarshaller.java
  1. … 21 more files in changeset.
Merge branch 'master' into 2.1

Conflicts:

errai-codegen/src/main/java/org/jboss/errai/codegen/Context.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/api/AbstractMarshallingSession.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/api/Marshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/AbstractBackReferencingMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/BooleanMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/ByteMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/CharacterMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/DateMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/ErraiProtocolEnvelopeMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/ErraiProtocolEnvelopeNoAutoMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/FloatMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/LinkedMapMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/ListMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/MapMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/PriorityQueueMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/QualifyingMarshallerWrapper.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/SetMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/ShortMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/SortedMapMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/SortedSetMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/marshallers/StringBuilderMarshaller.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/client/util/MarshallUtil.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/rebind/api/impl/defaultjava/DefaultJavaMappingStrategy.java

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

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

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

errai-marshalling/src/main/java/org/jboss/errai/marshalling/server/marshallers/DefaultDefinitionMarshaller.java

  1. … 47 more files in changeset.
Attempt to support multi-dimensional arrays

  1. … 43 more files in changeset.
Fix for ERRAI-339: Support for marshalling arrays on their own

  1. … 45 more files in changeset.
Major code cleanup: make vars that can be final, fina. Fix spelling mistakes in APIs.

    • -68
    • +66
    ./DefaultDefinitionMarshaller.java
  1. … 70 more files in changeset.
fix support for implicitly portable enums

  1. … 7 more files in changeset.
dynamic marshallers passing all tests

  1. … 2 more files in changeset.
dynamic marshallers (almost) working.

    • -28
    • +40
    ./DefaultDefinitionMarshaller.java
  1. … 7 more files in changeset.
refactoring and javadoc

  1. … 4 more files in changeset.
Fixed ERRAI-269: nonascii characters are now safely transmitted and received through ErraiBus and the Errai marshalling system

    • -13
    • +16
    ./DefaultDefinitionMarshaller.java
  1. … 11 more files in changeset.
refactoring: removed framework from root package name in codegen

  1. … 620 more files in changeset.
Major refactoring of Marshalling - Unnecessary interface methods removed from Marshaller (getEncodingType and canHandle) - Nullable type marshallers now extend AbstractNullableMarshaller to unify null handling - Removal of unused classes - Stop initializating the marshallers in a static initializer -- turns out this is BAD

    • -18
    • +14
    ./DefaultDefinitionMarshaller.java
  1. … 46 more files in changeset.
Major refactoring of Marshalling - Unnecessary interface methods removed from Marshaller (getEncodingType and canHandle) - Nullable type marshallers now extend AbstractNullableMarshaller to unify null handling - Removal of unused classes - Stop initializating the marshallers in a static initializer -- turns out this is BAD

    • -18
    • +14
    ./DefaultDefinitionMarshaller.java
  1. … 46 more files in changeset.
more cleanup to marshaller generator logic

  1. … 6 more files in changeset.
  1. … 33 more files in changeset.
more fixes to dynamic marshalling

  1. … 4 more files in changeset.
Fixed marshalling and demarshalling for all native box types.

  1. … 6 more files in changeset.