Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge in the removal of the "framework" package in the 2.0 (master) branch.

Classes that are 2.1 specific have also been moved as part of this commit.

Conflicts:

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

errai-codegen/src/main/java/org/jboss/errai/codegen/builder/callstack/LoadLiteral.java

errai-codegen/src/main/java/org/jboss/errai/codegen/literal/LiteralFactory.java

errai-uibinder/pom.xml

    • -37
    • +0
    ./exception/CyclicalObjectGraphException.java
  1. … 20 more files in changeset.
Added "canned representation" feature that's required for JPA Attributes to refer back to their containing EntityType.

  1. … 2 more files in changeset.
refactoring: removed framework from root package name in codegen

  1. … 607 more files in changeset.
refactoring and javadocs for Context

    • -1
    • +0
    ./meta/impl/build/BuildMetaMethod.java
  1. … 3 more files in changeset.
Re-merging the alternate history that Mike created with his push last night

Switch the new SnapshotMaker to use the MetaClass API rather than plain Java reflection classes

Merge branch 'master' into 2.1

  1. … 7 more files in changeset.
more diagnotic information for codegen issue

  1. … 1 more file in changeset.
Fix to prevent discarding the true cause of a generation failure.

This is a technique we can replicate throughout the code base where the true causes of exceptions are getting suppressed.

    • -3
    • +45
    ./exception/GenerationException.java
Fix to prevent discarding the true cause of a generation failure.

This is a technique we can replicate throughout the code base where the true causes of exceptions are getting suppressed.

    • -3
    • +45
    ./exception/GenerationException.java
adding diagnostic information for codegen issue (randomly occuring OutOfScopeExceptions in MVP)

  1. … 3 more files in changeset.
fixes to problem associated with wildcard type parameters -- work around to use Cast.to() where neccessary

  1. … 9 more files in changeset.
fixes to problem associated with wildcard type parameters -- work around to use Cast.to() where neccessary

  1. … 9 more files in changeset.
Fixed ERRAI-238: MetaClass.isAssignableFrom() does not take into account interfaces on supertypes

https://issues.jboss.org/browse/ERRAI-238

    • -28
    • +27
    ./meta/impl/AbstractMetaClass.java
  1. … 10 more files in changeset.
Fixed ERRAI-238: MetaClass.isAssignableFrom() does not take into account interfaces on supertypes

https://issues.jboss.org/browse/ERRAI-238

    • -28
    • +27
    ./meta/impl/AbstractMetaClass.java
  1. … 10 more files in changeset.
Factored out the "fill metaclassfactory cache from GWT typeoracle" routine into a shared, central, documented, place.

  1. … 2 more files in changeset.
Factored out the "fill metaclassfactory cache from GWT typeoracle" routine into a shared, central, documented, place.

  1. … 2 more files in changeset.
Avoid unnecessarily wrapping RuntimeExceptions. This makes catching a specific codegen failure more reliable.

It would even make sense to remove this method completely, but I'm in

the middle of a bigger change and it would pollute the commit.

Avoid unnecessarily wrapping RuntimeExceptions. This makes catching a specific codegen failure more reliable.

It would even make sense to remove this method completely, but I'm in

the middle of a bigger change and it would pollute the commit.

weird regression: code generator can't figure out type of expression, yet it removes the explicit cast as redundant in it's optimizer later ??? -- workaround implemented for now.

  1. … 8 more files in changeset.
weird regression: code generator can't figure out type of expression, yet it removes the explicit cast as redundant in it's optimizer later ??? -- workaround implemented for now.

  1. … 8 more files in changeset.
Fixed cycle detection and re-enabled the test for it

    • -0
    • +37
    ./exception/CyclicalObjectGraphException.java
  1. … 1 more file in changeset.
remove unnecessary need to pass in context object

  1. … 1 more file in changeset.
add javadocs

add support for SnapshotMarker in the LiteralFactory to automatically reify object to code snapshots if the supertypes and interfaces of those objects are marked literalizable in the codegen context

  1. … 3 more files in changeset.
New codegen feature: create snapshot of arbitrary graphs of value class instances.

We're planning to use this for JPA metamodel generation.

    • -0
    • +136
    ./SnapshotMaker.java
  1. … 4 more files in changeset.
add support for comments to classes, constructors and fields

    • -0
    • +11
    ./meta/impl/build/BuildMetaClass.java
    • -10
    • +13
    ./meta/impl/build/BuildMetaConstructor.java
    • -1
    • +15
    ./meta/impl/build/BuildMetaField.java
  1. … 1 more file in changeset.
update unit test

    • -24
    • +24
    ./builder/ClassMethodBuilder.java
    • -0
    • +8
    ./builder/MethodCommentBuilder.java
    • -28
    • +30
    ./builder/impl/ClassBuilder.java
    • -1
    • +3
    ./builder/impl/ClassBuilderAbstractMethodOption.java
    • -2
    • +10
    ./builder/impl/MethodBlockBuilderImpl.java
    • -3
    • +3
    ./builder/impl/MethodBuilderAbstractOption.java
    • -4
    • +15
    ./meta/impl/build/BuildMetaMethod.java
  1. … 2 more files in changeset.
add support for List, Set, Map literal encoding.

    • -0
    • +34
    ./literal/ListValue.java
    • -0
    • +32
    ./literal/MapValue.java
    • -0
    • +32
    ./literal/SetValue.java
  1. … 35 more files in changeset.
Added a convenience method for extending a class, similar to the existing implement() methods