You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/09/25 13:20:45 UTC
(grails-core) branch 8.0.x updated (5fd59fc100 -> e4cde3c99b)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 5fd59fc100 Merge pull request #16401 from codeconsole/fix/ast-implements-interface-8.0.x
add cced8d1b05 Let a view resolver subclass create the view for a page it located
add 64277e1c6d Serve a scaffolded view from the page the build compiled for its template
add cd0d023fa0 Keep the scaffolding templates in a native image
add e86825c2c0 Compile scaffold pages by domain and template, not into controller view directories
add 0b9528b5d6 Document build-time compilation of scaffolded pages
add 611f3a5b92 Expand scaffold pages with the application's own scaffolding library and Groovy
add 9b82324dc1 Name a scaffold page for its template, and by only the model names the template mentions
add 723bc2a8a3 Warn once when a scaffolded view is expanded where compiled pages are used
add 39c1039657 Serve a native image the page compiled from another copy of a template
add 74056b3205 Check that the scaffolding example serves every scaffolded view from a compiled page
add eb108e2f06 Document how scaffold pages are expanded, and what a native image does without one
add 7e3eb2313d Merge branch '8.0.x' into feat/scaffold-precompiled-lookup-8.0.x
add eb48a8f615 Read scaffolding templates from the classpath the application runs with
add d5d2667f4a Compile every copy of a scaffolding template, not the one the resolver is expected to choose
add 2f977b6569 Never serve a scaffolded view the page compiled from a template it did not choose
add 2ad94590f3 Document which scaffolding templates are compiled, and what a native image does without a page
add a1fa28e750 Warn about an expanded scaffolded view only where the page locator uses compiled pages
add 9171b3781d Read the templates and find the generator in one pass over the runtime classpath
add d60007f1d4 Leave out a generated page that does not compile instead of failing the build
add 829dc89381 Say that a template the build cannot expand fails the same way when rendered
add c0c075baf2 Expand for each scaffolded controller only the templates it can resolve
add efb57e7958 Expand the pages of the scaffolded controllers plugins provide
add ca93e229b6 Expand the templates an application keeps with its resources
add 776d9a02af Write scaffolded pages in the encoding they are compiled with
add e5f942e93c Keep scaffolded pages built on one platform out of another's build cache
add ce3a422e38 Recognise @Scaffold written out in full when deciding to stage the views
add 3b4210fbcd Note a scaffolded view with no compiled page, and warn only in a native image
add b44b2ac099 Give the resolver's template lookup for a controller a method of its own
add c751e6a184 Hold the example's compiled scaffolded pages to the resolver's own choice
add f2a8c55154 Document which scaffolded pages the build compiles, and the upgrade to it
add ab0ff4cd8e Say exactly what the name of a scaffolded page depends on
add 595b0ab9f8 Expand every copy of a template for every controller again
add 880fb78dde Warn when a controller or its superclass cannot be read
add a1f16a494b Find a namespace a controller takes from an interface constant
add 0edabf666e Read the packaged templates wherever compiled pages are used regardless of mode
add 4bec666e9d Test that page compilation is told which pages are generated, and their encoding
add 140d01d93f Say what to do about each kind of scaffolded view a native image cannot render
add 5667b77f47 Read runtime classpath archives whatever they are named
add ce375e1de2 Read the application's templates from its processed resources
add 25eaa76616 Name the template each scaffolded page was expanded from
add 8c955bede4 Show that a controller the build cannot read is warned about in the build output
add 4a8cb1ac7e Keep eight bytes of the digest in a scaffolded page's name
add d240490509 Remove what was compiled for a page that is no longer compiled
add 7d53c116c7 Fail the build for a template of the application's own that cannot be expanded
add 82027061d1 Compile only the pages from a dependency's templates as optional
add 30ff3f9932 Run the generator only when it speaks the Gradle plugin's version of their exchange
add 9ef8d46af5 Compile directories of generated pages in the same page compilation
add 7ac17a48f4 Generate scaffolded pages in every project, compiled beside the views
add b5534e36f9 Compile generated pages in a project with no views of its own
add 212cdd9171 Say which grails-scaffolding the Gradle plugin cannot work with
add e61d5cb5ec Expect the generator's report paths the same way on Windows
new e4cde3c99b Merge pull request #16398 from codeconsole/feat/scaffold-precompiled-lookup-8.0.x
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
grails-doc/src/en/guide/scaffolding.adoc | 10 +-
.../src/en/guide/upgrading/upgrading80x.adoc | 34 +
.../main/groovy/grails/util/BuildSettings.groovy | 20 +
.../scaffolding/GenerateScaffoldedViewsTask.groovy | 657 ++++++++++++-------
.../views/gsp/GroovyPageForkCompileTask.groovy | 44 +-
.../plugin/views/gsp/GroovyPagePlugin.groovy | 139 ++--
.../scaffolding/ScaffoldedPagesGenerator.java | 81 +++
.../GenerateScaffoldedViewsTaskSpec.groovy | 696 +++++++++++----------
.../gsp/GroovyPagePluginFunctionalSpec.groovy | 264 ++++++--
.../grails/web/pages/GroovyPageForkedCompiler.java | 55 ++
.../grails/gsp/compiler/GroovyPageCompiler.groovy | 108 +++-
.../grails/gsp/io/DefaultGroovyPageLocator.java | 4 +-
.../gsp/compiler/GroovyPageCompilerSpec.groovy | 131 +++-
.../DefaultGroovyPageLocatorPrecompiledSpec.groovy | 20 +
.../web/pages/GroovyPageForkedCompiler.groovy | 35 +-
.../web/servlet/view/GroovyPageViewResolver.java | 9 +-
.../web/pages/GroovyPageForkedCompilerSpec.groovy | 125 ++++
grails-scaffolding/build.gradle | 1 +
.../scaffolding/ScaffoldingViewResolver.groovy | 157 ++++-
.../apache/grails/scaffolding/ScaffoldedPages.java | 130 ++++
.../scaffolding/ScaffoldedPagesGenerator.groovy | 215 +++++++
.../scaffolding/aot/ScaffoldingRuntimeHints.java | 10 +-
.../scaffolding/ScaffoldingViewResolverSpec.groovy | 260 +++++++-
.../ScaffoldedPagesGeneratorSpec.groovy | 203 ++++++
.../grails/scaffolding/ScaffoldedPagesSpec.groovy | 98 +++
.../aot/ScaffoldingRuntimeHintsSpec.groovy | 51 ++
grails-test-examples/scaffolding/build.gradle | 21 +
.../controllers/com/example/BookController.groovy | 6 -
.../templates/scaffolding/community/summary.gsp | 28 +
.../src/main/templates/scaffolding/summary.gsp | 28 +
.../example/PrecompiledScaffoldPagesSpec.groovy | 104 +++
31 files changed, 2993 insertions(+), 751 deletions(-)
create mode 100644 grails-gradle/plugins/src/test/groovy/org/apache/grails/scaffolding/ScaffoldedPagesGenerator.java
create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/web/pages/GroovyPageForkedCompiler.java
create mode 100644 grails-gsp/grails-web-gsp/src/test/groovy/org/grails/web/pages/GroovyPageForkedCompilerSpec.groovy
create mode 100644 grails-scaffolding/src/main/groovy/org/apache/grails/scaffolding/ScaffoldedPages.java
create mode 100644 grails-scaffolding/src/main/groovy/org/apache/grails/scaffolding/ScaffoldedPagesGenerator.groovy
create mode 100644 grails-scaffolding/src/test/groovy/org/apache/grails/scaffolding/ScaffoldedPagesGeneratorSpec.groovy
create mode 100644 grails-scaffolding/src/test/groovy/org/apache/grails/scaffolding/ScaffoldedPagesSpec.groovy
create mode 100644 grails-scaffolding/src/test/groovy/org/apache/grails/scaffolding/aot/ScaffoldingRuntimeHintsSpec.groovy
create mode 100644 grails-test-examples/scaffolding/src/main/templates/scaffolding/community/summary.gsp
create mode 100644 grails-test-examples/scaffolding/src/main/templates/scaffolding/summary.gsp
create mode 100644 grails-test-examples/scaffolding/src/test/groovy/com/example/PrecompiledScaffoldPagesSpec.groovy
(grails-core) 01/01: Merge pull request #16398 from codeconsole/feat/scaffold-precompiled-lookup-8.0.x
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit e4cde3c99b22c96b3aa2879c4a0151108466fcca
Merge: 5fd59fc100 e61d5cb5ec
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Sep 25 09:20:38 2026 -0400
Merge pull request #16398 from codeconsole/feat/scaffold-precompiled-lookup-8.0.x
grails-doc/src/en/guide/scaffolding.adoc | 10 +-
.../src/en/guide/upgrading/upgrading80x.adoc | 34 +
.../main/groovy/grails/util/BuildSettings.groovy | 20 +
.../scaffolding/GenerateScaffoldedViewsTask.groovy | 657 ++++++++++++-------
.../views/gsp/GroovyPageForkCompileTask.groovy | 44 +-
.../plugin/views/gsp/GroovyPagePlugin.groovy | 139 ++--
.../scaffolding/ScaffoldedPagesGenerator.java | 81 +++
.../GenerateScaffoldedViewsTaskSpec.groovy | 696 +++++++++++----------
.../gsp/GroovyPagePluginFunctionalSpec.groovy | 264 ++++++--
.../grails/web/pages/GroovyPageForkedCompiler.java | 55 ++
.../grails/gsp/compiler/GroovyPageCompiler.groovy | 108 +++-
.../grails/gsp/io/DefaultGroovyPageLocator.java | 4 +-
.../gsp/compiler/GroovyPageCompilerSpec.groovy | 131 +++-
.../DefaultGroovyPageLocatorPrecompiledSpec.groovy | 20 +
.../web/pages/GroovyPageForkedCompiler.groovy | 35 +-
.../web/servlet/view/GroovyPageViewResolver.java | 9 +-
.../web/pages/GroovyPageForkedCompilerSpec.groovy | 125 ++++
grails-scaffolding/build.gradle | 1 +
.../scaffolding/ScaffoldingViewResolver.groovy | 157 ++++-
.../apache/grails/scaffolding/ScaffoldedPages.java | 130 ++++
.../scaffolding/ScaffoldedPagesGenerator.groovy | 215 +++++++
.../scaffolding/aot/ScaffoldingRuntimeHints.java | 10 +-
.../scaffolding/ScaffoldingViewResolverSpec.groovy | 260 +++++++-
.../ScaffoldedPagesGeneratorSpec.groovy | 203 ++++++
.../grails/scaffolding/ScaffoldedPagesSpec.groovy | 98 +++
.../aot/ScaffoldingRuntimeHintsSpec.groovy | 51 ++
grails-test-examples/scaffolding/build.gradle | 21 +
.../controllers/com/example/BookController.groovy | 6 -
.../templates/scaffolding/community/summary.gsp | 28 +
.../src/main/templates/scaffolding/summary.gsp | 28 +
.../example/PrecompiledScaffoldPagesSpec.groovy | 104 +++
31 files changed, 2993 insertions(+), 751 deletions(-)