1807 Commits

Author SHA1 Message Date
Renaud Pawlak
3eb047ab1d
More specific plan with first looking for an org to take over the maintenance if possible. 2023-11-24 09:47:51 +01:00
Louis Grignon
ca05c8e7ef
Merge pull request #768 from kohlschutter/ck/RemoveAccessibilityProvider
test: Change erased type in AnnotationTest
2023-10-17 13:14:04 +02:00
Louis Grignon
358adbc829
Merge pull request #775 from kohlschutter/ck/update-plan1
Update JSweet4 plan doc
2023-10-17 13:13:03 +02:00
Christian Kohlschütter
66288e747a Update JSweet4 plan doc 2023-10-17 12:51:12 +02:00
Renaud Pawlak
2138879e7e
Create JSweet4.md 2023-10-15 09:00:22 +02:00
Renaud Pawlak
c628192af4
Merge pull request #774 from kohlschutter/ck/UpdateDependenciesAndCandyGenerator
Update dependencies and candy generator
2023-10-15 07:52:25 +02:00
Christian Kohlschütter
34d9e67b78 test: Change erased type in AnnotationTest
Just to test a type erasure, we currently reference
javax.accessibility.AccessibilityProvider, which is in the "java.deskop"
module.

If we were to modularize jsweet, we would have to "requires
java.desktop" just for this (or Eclipse would not be able to run unit
tests).

Moreover, that module may not exist in all JVM environments.

Change to a similar class in "java.base", ServiceLoader, and adjust
module-info.java.txt accordingly.
2023-10-14 19:22:22 +02:00
Christian Kohlschütter
eafe6a4ad5 candy-generator: Update jsoup dependency
... and replace obsoleted methods as described in jsoup
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
7e6e599030 candy-generator: Update jflex, jcup dependencies
Update generated parser code.
Clarify Licenses in pom.
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
050a28476c candy-generator: Build parsers with Java, not Ant
Previously, we were building the used parsers with an Ant script.
This was brittle, especially updating dependency versions was difficult.

Moreover, the generated files contained timestamps, which is why these
files were not included in version control.

Replace the generator builder code with a Java class that gets executed
upon Maven build.

The generator automatically transforms the output to remove all
information about the current timestamp, making it possible to include
the files in version control. This also helps checking for errors when
updating the parser generators.
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
7507fbcf62 candy-generator: Add generated parser files to source control 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
a742412012 transpiler: Use managed versions, update/remove dependencies
Remove mockito-core, which wasn't used.
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
26f0fce542 candy-generator: Use manged dependency versions, simplify isBlank check
candy-generator: Util: check for null (XXX)
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
cb937f30c1 Parent POM: Add dependencyManagent section
Maven dependencies should be managed centrally for the entire project.
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
c1c3ce8d99 candy-generator: Remove unused gson dependency 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
a3d1131f1c transpiler: Remove unused gson and OSGI dependencies 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
63a33981ca typescript.java-ts.core: Update dependencies 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
48715be6b3 typescript.java-ts.core: Remove OSGI dependency 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
6733b6b147 Move file-visitor code into candy-generate, remove dependency
This is code can trivially be integrated as an implementation detail
into candy generator.

Eventually, it can be replaced by standard Java API code, but now is not
the time.
2023-10-14 19:12:53 +02:00
Christian Kohlschütter
d965c6e79f file-visitor: Remove unused dependencies 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
5eddf613fc Parent POM: Update plugin dependencies, require Maven >= 3.3.9 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
d61a373088 typescript.java-ts.core: Move module-info.java to top level 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
18c5c42650 typescript.java-ts.core: Fix POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
a979860baf core-lib: Use parent POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
cf267787c3 core-lib es5: Use parent POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
ab1dca9224 Parent POM: Configure exec-maven-plugin version 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
1a4a9adda6 file-visitor: Use parent POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
d5c78cb6be typescript.java-ts.core: Use parent POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
62d93e9497 transpiler: Use parent POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
a3b1a7ebe8 candy-generator: Use parent POM 2023-10-14 19:12:53 +02:00
Christian Kohlschütter
9f5c53b7ac Update parent POM
Define plugin dependency version at the top-level POM.
2023-10-14 19:12:53 +02:00
Renaud Pawlak
c520e8b5c2
Merge pull request #770 from kohlschutter/ck/standalonecompiler
Use embedded standalone compiler from Java 11
2023-10-12 17:26:37 +02:00
Renaud Pawlak
8e1bd4daae
Merge pull request #769 from kohlschutter/ck/parentpom
Build everything from parent POM; unbreak github Action build
2023-10-12 17:24:43 +02:00
Christian Kohlschütter
2e4fee12ab Bump version to 4.0.0-SNAPSHOT 2023-10-12 17:16:19 +02:00
Christian Kohlschütter
8bad5285f5 Revert "Remove file-visitor and typescript.java-ts.core modules"
This reverts commit 1ce849d78f0ad7f2af6a719d5af7219467fbfaf0.
2023-10-10 15:41:03 +02:00
Christian Kohlschütter
cecc6d7e52 Add typescript.java.ts.core in-tree copy
This is a modified copy of
[typescript.java](https://github.com/angelozerr/typescript.java)'s
ts.core module.

The source code has been reconstructed from the source jar available at
https://repository.jsweet.org/artifactory/libs-release-local/org/jsweet/ext/typescript.java-ts.core/2.0.4/
since no other place could be found.
2023-10-10 15:40:59 +02:00
Christian Kohlschütter
c80128277f Add in-tree copy of file-visitor
Add a copy of https://github.com/cincheo/file-visitor, which is required
by candy-generator, and unvailable on Maven Central.
2023-10-10 15:40:53 +02:00
Christian Kohlschütter
af5950aeab github: Restore old push/PR behavior 2023-10-10 15:32:53 +02:00
Christian Kohlschütter
ad3ff462a7 transpiler: Use standalone-jdk11 1.0.0 2023-10-10 15:24:00 +02:00
Christian Kohlschütter
f6d5238810 Revert "test: Fix tests that spawn new processes"
This reverts commit 6dca4706c271dd03a64151b62895a08dab5a8bab.
2023-10-10 15:23:57 +02:00
Christian Kohlschütter
49a978cb51 Use standalone Java compiler
https://github.com/kohlschutter/jdk.compiler.standalone
2023-10-10 15:23:53 +02:00
Christian Kohlschütter
f055fd7578 Remove file-visitor and typescript.java-ts.core modules
... to simplify merging to upstream
2023-10-10 15:12:18 +02:00
Christian Kohlschütter
3161d8fd74 github: Use Java 11 2023-10-10 15:06:13 +02:00
Christian Kohlschütter
6b25e16263 parent-pom: Build both core-lib versions (es5/es6) 2023-10-10 15:04:57 +02:00
Christian Kohlschütter
4d5e1c0686 Bump core-lib versions to 5/6.3.1-SNAPSHOT 2023-10-10 15:04:51 +02:00
Christian Kohlschütter
ada265cb28 candy-generator: Use jsweet-core 5.3.0 2023-10-10 15:04:47 +02:00
Christian Kohlschütter
d2441423f0 Add es5 core-lib as module 2023-10-10 15:04:41 +02:00
Christian Kohlschütter
34d6b02cbf core-lib: Disable signing by default, allow snapshots 2023-10-10 15:04:33 +02:00
Christian Kohlschütter
eebd7e54db github: Use checkoutv4 2023-10-10 15:04:26 +02:00
Christian Kohlschütter
70e4483d98 Update github workflow 2023-10-10 15:02:10 +02:00