Clone Tools
  • last updated a few minutes ago
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 file

* Fix typo on test class name in the file

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

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

  1. … 1 more file in changeset.
Fixed marshaller gen. problem when using multiple devmode sessions

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

  1. … 15 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. … 16 more files in changeset.
major code cleanup

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

  1. … 47 more files in changeset.
Attempt at eliminating the need for special generated array marshallers.

This is SO CLOSE to working: all we would need is a way of getting the GWT typeid of the array

we want to create. Then we can use JSNI to call Array.initDims() and we're done!

In that case, we would also want to remove all the code and logic responsible for generating

array marshallers. This would shrink both the javascript payload as well as Errai's marshaller

generator complexity.

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

  1. … 71 more files in changeset.
1. Use a List<Object> for the MethodParms in RPC calls on the wire as it is more efficient and does not require coercion on the receiving end. 2. Fixes to the dynamic marshallers and code cleanup 3. Re add a force_errai_marshallers option which attempts to "force" generation of the marshallers at runtime rather than switch to dynamic marshallers automatically.

  1. … 12 more files in changeset.
fix to dynamic marshallers

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

  1. … 11 more files in changeset.
BUG FIX: non-module dependent scoped beans do not work as expected -- were improperly excluded from consideration. (test added) BUG FIX: introducing new classes in development mode causes Errai to fail in some cases -- add support for hot file reload directly in MetaClassFactory. This does not work with annotations -- updated GWTUtil to throw a sane exception explaining to user the reason for the failure. BUG FIX: transmission buffer will produce corrupt data if it overflows instead of failing gracefully -- will now through and IOException (test added) REFACTORING: move Java compiling utility class from marshalling into codgen to resolve silly dependency from IOC.

  1. … 21 more files in changeset.
- default buffer size changed to 32MB - JNDI support *removed* - Configuration cleanup

  1. … 46 more files in changeset.
merge in Jonathan's fixes

add tests and update other tests to confirm bean manager properly cleans up after destruction of beans

  1. … 3 more files in changeset.
change marshaller generator to always computer classpath

  1. … 5 more files in changeset.

  1. … 3 more files in changeset.
major cleanup of logging: most info() moved to debug()

  1. … 24 more files in changeset.
Added debug logging to the classpath discovery routine. Should help identify problems with missing jars at compile time.

fix to classloading of marshallers

more cleanup to marshaller generator logic

  1. … 6 more files in changeset.
institute a more reliable mechanism for depositing server marshallers

  1. … 7 more files in changeset.