Compare commits

...

17 commits
1.6.0 ... main

Author SHA1 Message Date
829ee33c32 Merge pull request 'Lock file maintenance' (#487) from renovate/lock-file-maintenance into main
Reviewed-on: #487
2025-04-22 20:09:19 +00:00
44a3e406a8 Lock file maintenance 2025-04-22 20:08:15 +00:00
cdbbe92e89 Merge pull request 'Update dependency generate-license-file to v4' (#492) from renovate/generate-license-file-4.x into main
Reviewed-on: #492
2025-04-22 20:05:44 +00:00
d62ada6c53 Update dependency generate-license-file to v4 2025-04-22 20:05:44 +00:00
342712e72f Merge pull request 'Update dependency codemirror to v5.65.19' (#493) from renovate/codemirror-5.x into main
Reviewed-on: #493
2025-04-22 19:56:43 +00:00
59c17419a9
Merge remote-tracking branch 'origin/main' into renovate/codemirror-5.x
# Conflicts:
#	package-lock.json
#	package.json
2025-04-22 21:52:38 +02:00
ac978f9555 Merge pull request 'Update dependency less to v4.3.0' (#494) from renovate/less-4.x into main
Reviewed-on: #494
2025-04-22 19:48:26 +00:00
4f97663619 Update dependency less to v4.3.0 2025-04-22 19:48:26 +00:00
7723a55306 Update dependency alpinejs to v3.14.9 2025-04-22 19:44:15 +00:00
45c8131c84 Merge pull request 'Update dependency org.jsoup:jsoup to v1.19.1' (#489) from renovate/org.jsoup-jsoup-1.x into main 2025-04-22 19:43:07 +00:00
147bd635fc
Merge remote-tracking branch 'origin/main' into renovate/org.jsoup-jsoup-1.x
# Conflicts:
#	code/Global/Global.js
2025-04-22 21:41:54 +02:00
a0e78d7fa6
Bump imported Jsoup version 2025-04-22 21:37:27 +02:00
7e32c3ad6f Update dependency gradle to v8.13 2025-04-22 19:20:46 +00:00
6e6a5ce191 Merge pull request 'Get rid of the annoying log message “done”' (#495) from remove-annoying-log-message into main 2025-04-22 19:17:32 +00:00
eb3f749ba1
Get rid of the annoying log message “done”
It is triggered by the LessCss compiler in the lesscss-1.7.9.1.1.jar file, META-INF/lessc-rhino-1.7.0.js – it’s an unminified JS file, so it’s simply patched by adding comments before the console.log("done") call.

Also see https://github.com/marceloverdijk/lesscss-java/issues/59
2025-04-08 00:46:40 +02:00
f005cb7b17 Update dependency codemirror to v5.65.19
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
2025-03-23 16:42:51 +00:00
dbec9f22b2 Update dependency org.jsoup:jsoup to v1.19.1 2025-03-04 04:42:47 +00:00
7 changed files with 960 additions and 840 deletions

View file

@ -42,15 +42,19 @@ allprojects {
version = distVersion()
configurations {
lessCss
}
dependencies {
implementation 'org.commonmark:commonmark:0.24.0'
implementation 'org.commonmark:commonmark-ext-autolink:0.24.0'
implementation 'org.commonmark:commonmark-ext-gfm-strikethrough:0.24.0'
implementation 'org.commonmark:commonmark-ext-gfm-tables:0.24.0'
implementation 'org.jsoup:jsoup:1.18.3'
implementation 'org.jsoup:jsoup:1.19.1'
implementation 'rome:rome:1.0'
implementation('org.lesscss:lesscss:1.7.0.1.1') {
lessCss('org.lesscss:lesscss:1.7.0.1.1') {
exclude group: 'org.mozilla', module: 'rhino'
exclude group: 'org.slf4j', module: 'slf4j-api'
exclude group: 'org.slf4j', module: 'slf4j-simple'
@ -319,3 +323,52 @@ tasks.register('distTar', Tar) {
destinationDirectory = file(outputDir)
archiveFileName = outputFile
}
// Task to patch the lesscss JAR file
// This task modifies the lessc-rhino-1.7.0.js file in the JAR to comment out an annoying console.log statement (done)
def patchLessCssJar = tasks.register('patchLessCssJar') {
def name = 'lesscss-1.7.0.1.1'
def targetFile = 'META-INF/lessc-rhino-1.7.0.js' // File to patch
def tempDir = file("${buildDir}/${name}") // Temporary directory for extraction
def patchedJar = file("${buildDir}/${name}-patched.jar") // Output patched JAR
outputs.file patchedJar
doLast {
if (tempDir.exists()) {
tempDir.deleteDir()
}
tempDir.mkdirs()
def jarFile = configurations.lessCss.find {
it.name.contains(name)
}
println "Patching $jarFile…"
ant.unzip(src: jarFile, dest: tempDir)
def targetFilePath = new File(tempDir, targetFile)
def content = targetFilePath.text
content = content.replace('console.log("done")', '// console.log("done")')
targetFilePath.text = content
ant.zip(destfile: patchedJar) {
fileset(dir: tempDir)
}
}
}
// Ensure the patchLessCssJar task runs before the classes task
tasks.named('build').configure {
dependsOn patchLessCssJar
}
// Exclude the original lesscss JAR from the runtime classpath
// and include the patched JAR instead
configurations.runtimeClasspath {
exclude group: 'org.lesscss', module: 'lesscss'
dependencies {
runtimeOnly(patchLessCssJar.map { it.outputs.files })
}
}

View file

@ -22,8 +22,9 @@
String.ELLIPSIS = '…';
app.addRepository(app.dir + '/../lib/jdom-1.0.jar');
app.addRepository(app.dir + '/../lib/jsoup-1.18.3.jar');
app.addRepository(app.dir + '/../lib/lesscss-1.7.0.1.1.jar');
app.addRepository(app.dir + '/../lib/jsoup-1.19.1.jar');
// See the patchLessCssJar task in build.gradle
app.addRepository(app.dir + '/../lib/lesscss-1.7.0.1.1-patched.jar');
app.addRepository(app.dir + '/../lib/rome-1.0.jar');
app.addRepository('modules/core/Global.js');

Binary file not shown.

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

2
gradlew vendored
View file

@ -205,7 +205,7 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

1726
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -31,8 +31,8 @@
"author": "The Antville People",
"license": "Apache-2.0",
"dependencies": {
"alpinejs": "3.14.8",
"codemirror": "5.65.18",
"alpinejs": "3.14.9",
"codemirror": "5.65.19",
"jquery": "3.7.1",
"jquery-collagePlus": "github:antville/jquery-collagePlus#0.3.4",
"js-md5": "0.8.3",
@ -40,9 +40,9 @@
},
"devDependencies": {
"browserify": "17.0.1",
"generate-license-file": "3.7.0",
"generate-license-file": "4.0.0",
"jsdoc": "4.0.4",
"less": "4.2.2",
"less": "4.3.0",
"less-plugin-clean-css": "1.6.0",
"npm-run-all2": "7.0.2",
"onchange": "7.1.0",