Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add DOM JsTypes to errai-common. Change IsElement to use new HTMLElement wrapper.

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

    • -0
    • +16
    ./jpa/client/local/BigIntegerIdGenerator.java
    • -0
    • +16
    ./jpa/client/local/EntityJsonMatcher.java
    • -0
    • +16
    ./jpa/client/local/EntityState.java
    • -0
    • +16
    ./jpa/client/local/ErraiAttribute.java
    • -0
    • +16
    ./jpa/client/local/ErraiEntityManager.java
    • -0
    • +16
    ./jpa/client/local/ErraiEntityType.java
    • -0
    • +16
    ./jpa/client/local/ErraiIdGenerator.java
    • -0
    • +16
    ./jpa/client/local/ErraiIdentifiableType.java
    • -0
    • +16
    ./jpa/client/local/ErraiManagedType.java
    • -0
    • +16
    ./jpa/client/local/ErraiMetamodel.java
    • -0
    • +16
    ./jpa/client/local/ErraiParameter.java
    • -0
    • +16
    ./jpa/client/local/ErraiPluralAttribute.java
    • -0
    • +16
    ./jpa/client/local/ErraiSingularAttribute.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.

    • -16
    • +0
    ./jpa/client/local/BigIntegerIdGenerator.java
    • -16
    • +0
    ./jpa/client/local/EntityJsonMatcher.java
    • -16
    • +0
    ./jpa/client/local/EntityState.java
    • -16
    • +0
    ./jpa/client/local/ErraiAttribute.java
    • -16
    • +0
    ./jpa/client/local/ErraiEntityManager.java
    • -16
    • +0
    ./jpa/client/local/ErraiEntityType.java
    • -16
    • +0
    ./jpa/client/local/ErraiIdGenerator.java
    • -16
    • +0
    ./jpa/client/local/ErraiIdentifiableType.java
    • -16
    • +0
    ./jpa/client/local/ErraiManagedType.java
    • -16
    • +0
    ./jpa/client/local/ErraiMetamodel.java
    • -16
    • +0
    ./jpa/client/local/ErraiParameter.java
    • -16
    • +0
    ./jpa/client/local/ErraiPluralAttribute.java
    • -16
    • +0
    ./jpa/client/local/ErraiSingularAttribute.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -0
    • +16
    ./jpa/client/local/BigIntegerIdGenerator.java
    • -0
    • +16
    ./jpa/client/local/EntityJsonMatcher.java
    • -0
    • +16
    ./jpa/client/local/EntityState.java
    • -0
    • +16
    ./jpa/client/local/ErraiAttribute.java
    • -0
    • +16
    ./jpa/client/local/ErraiEntityManager.java
    • -0
    • +16
    ./jpa/client/local/ErraiEntityType.java
    • -0
    • +16
    ./jpa/client/local/ErraiIdGenerator.java
    • -0
    • +16
    ./jpa/client/local/ErraiIdentifiableType.java
    • -0
    • +16
    ./jpa/client/local/ErraiManagedType.java
    • -0
    • +16
    ./jpa/client/local/ErraiMetamodel.java
    • -0
    • +16
    ./jpa/client/local/ErraiParameter.java
    • -0
    • +16
    ./jpa/client/local/ErraiPluralAttribute.java
    • -0
    • +16
    ./jpa/client/local/ErraiSingularAttribute.java
  1. … 3150 more files in changeset.
Fix several minor issues (descriptions below).

* Add error messages for public fields in normal scoped beans (except @EntryPoint).

* Remove "Concrete" and "Abstract" from toString of Injectables.

* Add tests that lazily-loaded @Page and @Templated beans are in time.

* Don't use universal qualifier for Providers (only for ContextualTypeProvider).

* Add @IOCProducer annotation (for projects that don't depend on CDI @Produces).

* Make provider of ErraiEntityManager to producer so that it also matches EntityManager.

    • -2
    • +4
    ./jpa/client/local/ErraiEntityManager.java
    • -0
    • +27
    ./jpa/client/local/ErraiEntityManagerProducer.java
  1. … 14 more files in changeset.
Fix issues found in errai-jpa-grocery-list demo (described below).

* Make IoC proxies extend WrappedPortable.

* Make Providers only match exact provided type (like ContextualTypeProviders).

* Make some types @EntryPoints so that they are eagerly loaded on startup.

  1. … 19 more files in changeset.
ERRAI-590, ERRAI-850, ERRAI-851: Implement new IOC container (more description below).

The new container uses code genererated in multiple files instead

of a single monolithic file. At compile time an implementation of

org.jboss.errai.ioc.client.container.Factory is generated for each bean.

The factory is responsible for requesting dependencies from other

factories to wire the bean, running code generated by decorators,

and cleaning up when the bean is destroyed.

The GWT.create calls for the factories are generated in the

BootstrapperImpl. The BootstrapperImpl now only registers

factories with their respective contexts.

This container has the following differences from behaviour

in the 3.x version of errai-ioc:

* Normal scoped beans must be proxiable.

* The @New qualifier is not supported.

* Normal scoped beans (except @Entrypoint or with @Startup) are lazily instatiated.

* @Alternative beans must be explicitly enabled (even if no other beans match).

* Resolution of types behaves like CDI. Some cases that worked in 3.x may now be ambiguous.

** Injecting a common supertype of multiple concrete classes is ambiguous.

* Different API for programmtically adding beans to bean manager.

  1. … 381 more files in changeset.
Implemented ERRAI-832: Added support for whitelist and blacklist properties for Errai JPA

Added tests and test cases. Test cases commented out for now. Tests do not pass

Added programming logic but must be updated using Filters and Sets.

    • -20
    • +74
    ./jpa/rebind/ErraiEntityManagerGenerator.java
  1. … 14 more files in changeset.
Refactored PR-128 to make sure attributes don't cause method to exceed byte limit

    • -26
    • +22
    ./jpa/rebind/ErraiEntityManagerGenerator.java
#126 create own method for every entity type to prevent java function limit of 65536 bytes

    • -4
    • +17
    ./jpa/rebind/ErraiEntityManagerGenerator.java
disables Hibernate @Entity scanning, so server side entities are not found.

    • -1
    • +1
    ./jpa/rebind/ErraiPersistenceUnitInfo.java
Ensured to never generate the cache/debug files in .errai more than once

  1. … 2 more files in changeset.
No longer printing gen. code to stdout (not needed: gen. code is written to files in .errai)

    • -54
    • +4
    ./jpa/rebind/ErraiEntityManagerGenerator.java
  1. … 8 more files in changeset.
No longer printing gen. code to stdout (not needed: gen. code is written to files in .errai)

    • -53
    • +4
    ./jpa/rebind/ErraiEntityManagerGenerator.java
  1. … 8 more files in changeset.
Move client logging dependencies/modules to errai common

  1. … 3 more files in changeset.
Inherit and configure gwt logging in JpaTest.

This will allow apps using errai-jpa to have their own logging

configurations.

  1. … 1 more file in changeset.
Add GWT Logging to JPA.gwt.xml

Change errai-jpa-client print calls to slf4j log calls

    • -5
    • +13
    ./jpa/client/local/ErraiEntityManager.java
    • -2
    • +7
    ./jpa/client/local/ErraiManagedType.java
  1. … 1 more file in changeset.
Add gwt-slf4j to errai-jpa-client

  1. … 1 more file in changeset.
Now ensuring generated IDs don't overlap between types that share a common superclass

    • -1
    • +1
    ./jpa/client/local/BigIntegerIdGenerator.java
    • -7
    • +19
    ./jpa/client/local/ErraiEntityManager.java
    • -3
    • +4
    ./jpa/client/local/ErraiManagedType.java
    • -1
    • +1
    ./jpa/client/local/IntIdGenerator.java
    • -1
    • +1
    ./jpa/client/local/LongIdGenerator.java
    • -3
    • +8
    ./jpa/client/local/backend/StorageBackend.java
  1. … 2 more files in changeset.
Added the ability to fetch entities by supertypes rather than exact type matching

    • -5
    • +4
    ./jpa/client/local/ErraiEntityManager.java
    • -0
    • +19
    ./jpa/client/local/ErraiManagedType.java
    • -0
    • +137
    ./jpa/client/local/PersistenceContext.java
    • -2
    • +2
    ./jpa/client/local/backend/StorageBackend.java
    • -0
    • +11
    ./jpa/rebind/ErraiEntityManagerGenerator.java
  1. … 4 more files in changeset.
Added the ability to query on an entity class which subclasses another entity. (refs ERRAI-645)

    • -6
    • +9
    ./jpa/client/local/TypedQueryFactory.java
  1. … 3 more files in changeset.
Added support for polymorphic query results (refs ERRAI-645)

    • -0
    • +21
    ./jpa/client/local/ErraiManagedType.java
  1. … 3 more files in changeset.
Added support for basic store and fetch of entities that subclass other entities. (refs ERRAI-645)

Still need to test and implement:

* polymorphic query results

* abstract entities

* mapped superclasses (might be same as abstract entities)

* unmapped superclasses (ensure state inherited from these is not stored and restored)

    • -0
    • +72
    ./jpa/rebind/ClassSorter.java
  1. … 5 more files in changeset.
Factored out the IdentifiableType and ManagedType stuff from ErraiEntityType

This lays the foundation for supporting mapped supertypes (a requested feature) as well as

embeddable types (not yet requested, so we'll hold off on doing it)

    • -1
    • +1
    ./jpa/client/local/BigIntegerIdGenerator.java
    • -6
    • +6
    ./jpa/client/local/ErraiEntityManager.java
    • -750
    • +14
    ./jpa/client/local/ErraiEntityType.java
    • -0
    • +243
    ./jpa/client/local/ErraiIdentifiableType.java
    • -0
    • +592
    ./jpa/client/local/ErraiManagedType.java
    • -1
    • +1
    ./jpa/client/local/IntIdGenerator.java
    • -1
    • +1
    ./jpa/client/local/LongIdGenerator.java
    • -2
    • +2
    ./jpa/client/local/backend/StorageBackend.java
    • -4
    • +11
    ./jpa/rebind/ErraiEntityManagerGenerator.java
  1. … 2 more files in changeset.
Fixed ERRAI-629: EntityManager should treat proxies as identical to the instances they wrap

    • -2
    • +14
    ./jpa/client/local/ErraiEntityManager.java
  1. … 4 more files in changeset.
Fixed ERRAI-611

    • -5
    • +4
    ./jpa/client/local/BigIntegerIdGenerator.java
    • -8
    • +17
    ./jpa/client/local/ErraiEntityManager.java
    • -5
    • +5
    ./jpa/client/local/IntIdGenerator.java
    • -8
    • +4
    ./jpa/client/local/LongIdGenerator.java
  1. … 1 more file in changeset.
Fixed JPA method accessed property code generator to accommodate boolean getters named like isXxx()

    • -1
    • +14
    ./jpa/rebind/ErraiEntityManagerGenerator.java
  1. … 1 more file in changeset.
Created tests for primitive and non-primitive field-accessed attributes in both impls of JpaAttributeAccessor

    • -2
    • +11
    ./jpa/client/local/ErraiEntityType.java
  1. … 11 more files in changeset.
Added support for tracking removed entities. Allows merge test case 3 to pass

    • -3
    • +16
    ./jpa/client/local/ErraiEntityManager.java
  1. … 1 more file in changeset.