Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix Hibernate proxy objects marshalling (#376)

This PR fixes the failing test on `RpcHibernateTest` and enables new Hibernate proxies to be marshalled/unmarshalled like the old ones were.

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
    • +1
    ./marshallers/ErraiProtocolEnvelopeNoAutoMarshaller.java
  1. … 176 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. … 157 more files in changeset.
ERRAI-1063: Add support for Optional fields in portable classes

    • -0
    • +54
    ./marshallers/OptionalMarshaller.java
  1. … 3 more files in changeset.
ERRAI-1063: Add support for Optional fields in portable classes

    • -0
    • +54
    ./marshallers/OptionalMarshaller.java
  1. … 3 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

    • -0
    • +7
    ./api/json/impl/gwt/GWTJSONObject.java
  1. … 12 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

    • -0
    • +7
    ./api/json/impl/gwt/GWTJSONObject.java
  1. … 12 more files in changeset.
AF-546: Reduce startup time of AppFormer apps and workbenches

This commit:

* Adds logging to audit startup to entrypoints, RPCs, bean manager

* Load RPC proxies before the bus initializes so that startup RPC calls

can be queued up and sent in a single payload

* Don't wait for bus to initialize to send CDI client assoicate message

(allows this to also be sent with initial bus payload)

* Don't delay InitVotes in SecurityContextImpl if a user has been injected

onto the host page

  1. … 8 more files in changeset.
Delete dead code

  1. … 43 more files in changeset.
ERRAI-1000: Update client-side storage handler

  1. … 2 more files in changeset.
ERRAI-1000: User is displayed as ANONYMOUS if his/her role name contains apostrophe

Back-port of ERRAI-1000

  1. … 5 more files in changeset.
ObjectMarshaller for null objects causes stack overflow

See https://issues.jboss.org/browse/ERRAI-990

ERRAI-984: Event qualifiers being missed when JSON contains empty collection

    • -2
    • +2
    ./marshallers/AbstractCollectionMarshaller.java
  1. … 10 more files in changeset.
Return true for Marshalling.canHandle for all interfaces.

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

    • -0
    • +57
    ./marshallers/ClientClassMarshaller.java
  1. … 5 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -2
    • +2
    ./MarshallingSessionProviderFactory.java
    • -2
    • +2
    ./api/DeferredMarshallerCreationCallback.java
    • -2
    • +2
    ./api/annotations/ClientMarshaller.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
    ./MarshallingSessionProviderFactory.java
    • -3
    • +3
    ./api/DeferredMarshallerCreationCallback.java
    • -3
    • +3
    ./api/annotations/ClientMarshaller.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -3
    • +3
    ./MarshallingSessionProviderFactory.java
    • -3
    • +3
    ./api/DeferredMarshallerCreationCallback.java
    • -3
    • +3
    ./api/annotations/ClientMarshaller.java
  1. … 3150 more files in changeset.
Fixed possible NPE when demarshalling non-portable exceptions

    • -1
    • +7
    ./marshallers/ErraiProtocolEnvelopeMarshaller.java
Fixed ERRAI-811: Marshalling a Map containg null keys creates invalid json

  1. … 3 more files in changeset.
Fixed ERRAI-811: Marshalling a Map containg null keys creates invalid json

  1. … 3 more files in changeset.
Fixed ERRAI-802: Jackson (de)marshalling fails for collections of enums

    • -1
    • +4
    ./marshallers/AbstractCollectionMarshaller.java
  1. … 3 more files in changeset.
Fixed ERRAI-802: Jackson (de)marshalling fails for collections of enums

    • -1
    • +4
    ./marshallers/AbstractCollectionMarshaller.java
  1. … 3 more files in changeset.
Fixed ERRAI-746: Errai Marshalling causes compile error in GWT 2.7

Improved fix for marshalling javassist proxies

Progress on ERRAI-621: Deferred array marshalling working

    • -0
    • +36
    ./api/DeferredMarshallerCreationCallback.java
    • -0
    • +1
    ./protocols/MarshallingSessionProvider.java
  1. … 10 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. … 14 more files in changeset.
Progress on ERRAI-621: Introduced custom type specific marshaller generator (not executed yet)

    • -0
    • +29
    ./api/GeneratedMarshaller.java
  1. … 5 more files in changeset.
Marshaler fix: use static marshaler for parent class if class was generated by javassist.

Replace framework calls from LogUtil to gwt-slf4j.

  1. … 20 more files in changeset.