Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
51383d5
decaffeinate: Rename ajax.coffee and 27 other files from .coffee to .js
thiagohp Apr 4, 2025
6312423
decaffeinate: Convert ajax.coffee and 27 other files to JS
thiagohp Apr 4, 2025
cf8a6ca
TAP5-2804: moving converted CoffeeScript sources to TS project
thiagohp Apr 4, 2025
80152bc
TAP5-2804: creating TypeScript project
thiagohp Apr 4, 2025
47699c6
TAP5-2804: changing file extensions from .js to .ts
thiagohp Apr 4, 2025
353b4f0
TAP5-2804: moving TypeScript files to correct folder
thiagohp Apr 4, 2025
3ca15b6
TAP5-2805: Upgrade underscore.js to 1.36.7
thiagohp Apr 4, 2025
26c4b6c
TAP5-2804: another pass at the CoffeeScript to TypeScript conversion
thiagohp Apr 8, 2025
aa089fd
TAP5-2804: finishing the CoffeeScript to TypeScript conversion
thiagohp Apr 9, 2025
ec642d7
TAP5-2804: finishing the CoffeeScript to TypeScript conversion
thiagohp Apr 9, 2025
fac3530
TAP5-2804: adding dom-prototype.ts plus little tweaks
thiagohp Apr 13, 2025
560f2c1
TAP5-2804: adapting the build system to the TS codebase
thiagohp Apr 18, 2025
4744bf3
TAP5-2804: renaming 'exports' variable in TS sources
thiagohp Apr 18, 2025
f9ecabf
TAP5-2804: fixing typeScriptDocs() task type
thiagohp Apr 19, 2025
2b2972d
TAP5-2804: removing t5-core-dom.coffee
thiagohp Apr 19, 2025
69eea35
decaffeinate: Rename beanvalidator-validation.coffee from .coffee to .js
thiagohp Apr 19, 2025
919937d
decaffeinate: Convert beanvalidator-validation.coffee to JS
thiagohp Apr 19, 2025
017ea48
TAP5-2804: moving former Coffee file to resources
thiagohp Apr 19, 2025
bb811d0
TAP5-2804: moving beanvalidator-validation JS
thiagohp Apr 19, 2025
dd2abbb
TAP5-2804: beanvalidator-validation JS to TS
thiagohp Apr 19, 2025
011f6b0
TAP5-2804: tapestry-beanvalidator cleanup
thiagohp Apr 19, 2025
5f176b8
decaffeinate: Rename zonedemo.coffee and 10 other files from .coffee …
thiagohp Apr 19, 2025
95959ad
decaffeinate: Convert zonedemo.coffee and 10 other files to JS
thiagohp Apr 19, 2025
cb774ac
TAP5-2804: moving converted CoffeeScript to JS files
thiagohp Apr 19, 2025
b051ea8
TAP5-2804: more CS to TS adjustments
thiagohp Apr 19, 2025
75881a2
TAP5-2804: removing last remnants of CoffeeScript
thiagohp Apr 19, 2025
edb6027
Trying to figure out Jenkins test failures
thiagohp Apr 22, 2025
cb768ec
Another attempt to figure out Jenkins test failures
thiagohp Apr 22, 2025
11670a2
Attempt #3
thiagohp Apr 22, 2025
fc6b151
TAP5-2804: bunch of small adjustments
thiagohp Apr 26, 2025
488e55a
TAP5-2804: fixing imports and JSDoc
thiagohp May 3, 2025
8183481
TAP5-2804: initial work on option to disable Require.js
thiagohp May 3, 2025
a50136f
TAP5-2804: more little fixes
thiagohp May 7, 2025
fb73230
TAP5-2804: fixing onDocument() and its usages, plus imports
thiagohp May 24, 2025
028d829
TAP5-2804: adapting test JS code to AMD module changes.
thiagohp May 24, 2025
f8f62ea
TAP5-2804: jQuery fixes
thiagohp May 25, 2025
e125a6e
TAP5-2804: test JS fixes plus TS conversion fixes
thiagohp May 27, 2025
588c6e0
TAP5-2804: fixing scanners initialization in dom.js
thiagohp Jun 2, 2025
03230ed
TAP5-2804: fixed ElementWrapper.attr() in jQuery.
thiagohp Jun 3, 2025
eb37533
Testing logging in Jenkins builds
thiagohp Jun 7, 2025
e8e10d9
Enabling logging to Gradle console on tapestry-beanvalidator
thiagohp Jun 7, 2025
a952e27
Changing logging to stdout
thiagohp Jun 7, 2025
06c87a8
Temporary changes to figure out failing tests on Jenkins
thiagohp Jun 7, 2025
fb457f8
More temporary logging
thiagohp Jun 7, 2025
ab926c9
More test logging (attempt 2)
thiagohp Jun 7, 2025
c84c17c
More test logging (attempt 3)
thiagohp Jun 7, 2025
e02d8e0
More test logging (attempt 4)
thiagohp Jun 8, 2025
b6822a6
More test logging (attempt 5)
thiagohp Jun 8, 2025
d9e150c
More test logging (attempt 6)
thiagohp Jun 8, 2025
5b10b01
More test logging (attempt 7)
thiagohp Jun 8, 2025
5cbfade
More test logging (attempt 8)
thiagohp Jun 8, 2025
69a29ab
TAP5-2804: task tapestry-core:compileTypeScript not being called
thiagohp Jun 8, 2025
adcc6c5
Revert "More test logging (attempt 8)"
thiagohp Jun 8, 2025
1b3087e
Revert "More test logging (attempt 7)"
thiagohp Jun 8, 2025
93675eb
Revert "More test logging (attempt 6)"
thiagohp Jun 8, 2025
e939060
Revert "More test logging (attempt 5)"
thiagohp Jun 8, 2025
19fb2d6
Revert "More test logging (attempt 4)"
thiagohp Jun 8, 2025
d81eb09
Revert "More test logging (attempt 3)"
thiagohp Jun 8, 2025
73e7309
Revert "More test logging (attempt 2)"
thiagohp Jun 8, 2025
71cc56c
Revert "More temporary logging"
thiagohp Jun 8, 2025
3691197
Revert "Temporary changes to figure out failing tests on Jenkins"
thiagohp Jun 8, 2025
42c553b
Revert "Changing logging to stdout"
thiagohp Jun 8, 2025
736bea0
Revert "Enabling logging to Gradle console on tapestry-beanvalidator"
thiagohp Jun 8, 2025
1d8b2fb
Revert "Testing logging in Jenkins builds"
thiagohp Jun 8, 2025
233fac5
TAP5-2804: renaming Require.js-enabling configuration symbol
thiagohp Jun 8, 2025
7540860
Trying to speed up integration tests
thiagohp Jun 8, 2025
015aff6
TAP5-2804: adding test suites for Require.js enabled and not
thiagohp Jun 8, 2025
3108833
Disabling tests with Require.js disabled while it's been worked
thiagohp Jun 8, 2025
529776a
Fixing broken tests
thiagohp Jun 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion 5_10_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Scratch pad for changes destined for the 5.10.0 release notes page.

# Added configuration symbols

* `tapestry.es-module-path-prefix` (`SymbolConstants.ES_MODULE_PATH_PREFIX`)
* `tapestry.require-js-enabled`(`SymbolConstants.REQUIRE_JS_ENABLED`) (default value: `code`false).


# Added methods
Expand All @@ -20,5 +20,13 @@ Scratch pad for changes destined for the 5.10.0 release notes page.

# Non-backward-compatible changes (but that probably won't cause problems)

# Non-backward-compatible changes

When using Require.js and AMD modules, from Tapestry 5.10.0 on,
the previously returned objects, functions or values are now
the `default` property of the object received from `require()`.
This is a consequence we couldn't avoid from the CoffeeScript
to JavaScript to TypeScript conversion.


# Overall notes
40 changes: 14 additions & 26 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -500,29 +500,12 @@ task aggregateJavadoc(type: Javadoc) {
}
}

task coffeeScriptDocs(type: Exec) {
task typeScriptDocs() {
group "Documentation"
description "Build docco documentation for all CoffeeScript sources"
dependsOn project(":tapestry-core").tasks.preprocessCoffeeScript

def outputDir = file("$buildDir/documentation/coffeescript")

def sources = files()

subprojects.each { sub ->
sources += sub.fileTree("src/main/coffeescript", { include "**/*.coffee" })
}

sources += project(":tapestry-core").tasks.preprocessCoffeeScript.outputs.files.asFileTree

// Needs to be installed via "npm install -g docco@0.6.3"
executable isWindows() ? "docco.cmd" : "docco"
args "--output", outputDir
args sources.files.sort({ a, b -> a.name.compareTo b.name })
description "Builds typedoc documentation for all TypeScript sources"
dependsOn project(":tapestry-core").tasks.generateTypeScriptDocs
}



dependencies {
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
meta aggregateJavadoc.outputs.files
Expand Down Expand Up @@ -556,7 +539,11 @@ task combinedJacocoReport(type:JacocoReport){

task continuousIntegration {
// tapestry-javadoc doesn't work with Java 8 anymore. That's why it's only added if != 8.
def dependants = [subprojects.build, 'tapestry-core:testWithPrototype', combinedJacocoReport]
def dependants = [subprojects.build, // jQuery and Require.js enabled
// 'tapestry-core:testWithJqueryAndRequireJsDisabled',
// 'tapestry-core:testWithPrototypeAndRequireJsEnabled',
'tapestry-core:testWithPrototypeAndRequireJsDisabled',
combinedJacocoReport]
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
dependants << aggregateJavadoc
}
Expand All @@ -568,9 +555,7 @@ task zippedSources(type: Zip) {
description "Creates a combined Zip file of all sub-project's sources"
group "Release artifact"

dependsOn("tapestry-beanvalidator:compileCoffeeScript")
dependsOn("tapestry-core:compileCoffeeScript")
dependsOn("tapestry-core:compileProcessedCoffeescript")
dependsOn("tapestry-core:compileTypeScript")

destinationDirectory = buildDir
archiveBaseName = "apache-tapestry"
Expand All @@ -587,11 +572,14 @@ task zippedSources(type: Zip) {
exclude "**/target/**"
exclude "**/build/**"
exclude "**/test-output/**" // Left around by TestNG sometimes
exclude "**/modules/***.js"
exclude "**/es-modules/***.js"
}

task zippedApidoc(type: Zip) {
dependsOn typeScriptDocs
dependsOn aggregateJavadoc
description "Zip archive of the project's aggregate JavaDoc and CoffeeScript documentation"
description "Zip archive of the project's aggregate JavaDoc and TypeScript documentation"
group "Release artifact"

destinationDirectory = buildDir
Expand All @@ -611,7 +599,7 @@ task zippedApidoc(type: Zip) {
into "apidocs", { from aggregateJavadoc.outputs.files }


into "coffeescript", { from coffeeScriptDocs.outputs.files }
into "typescript", { from typeScriptDocs.outputs.files }

}

Expand Down
17 changes: 0 additions & 17 deletions buildSrc/build.gradle

This file was deleted.

58 changes: 0 additions & 58 deletions buildSrc/src/main/groovy/t5build/CompileCoffeeScript.groovy

This file was deleted.

103 changes: 0 additions & 103 deletions buildSrc/src/main/groovy/t5build/PreprocessCoffeeScript.groovy

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ buildCache {
}
}

rootProject.name = "tapestry"
rootProject.name = "tapestry-5"

include "plastic", "tapestry5-annotations", "tapestry-test", "tapestry-func", "tapestry-ioc", "tapestry-json", "tapestry-http", "tapestry-core"
include "tapestry-hibernate-core", "tapestry-hibernate", "tapestry-jmx", "tapestry-upload"
Expand Down
12 changes: 0 additions & 12 deletions tapestry-beanvalidator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,11 @@ dependencies {

}

task compileCoffeeScript(type: CompileCoffeeScript) {
outputDir "src/main/generated/compiled-coffeescript"
}

// Start up the test app, useful when debugging failing integration tests
task runTestApp303(type:JavaExec) {
main = 'org.apache.tapestry5.test.JettyRunner'
args "-d", "src/test/webapp", "-p", "8080"
classpath += project.sourceSets.test.runtimeClasspath
}

clean.delete 'src/main/generated'

sourceSets {
main {
output.dir(compileCoffeeScript.outputDir, builtBy: compileCoffeeScript)
}
}

jar.manifest.attributes 'Tapestry-Module-Classes': 'org.apache.tapestry5.beanvalidator.modules.BeanValidatorModule'

This file was deleted.

Loading