Commit Graph

454 Commits

Author SHA1 Message Date
Alexey Andreev
ac2c084290 js: add ability so refer to local files in source maps. Add copying of source files to Gradle plugin. 2023-11-24 21:28:37 +01:00
Alexey Andreev
86efdb0809 JS: remove legacy way to generate names, fix issue with duplication of some top-level names in no-optimization mode
Fix #860
2023-11-23 17:22:03 +01:00
Alexey Andreev
997a31b683 junit: don't start browser if corresponding test platforms disabled 2023-11-23 16:04:32 +01:00
kenji yoshida
07542499e1
wasm/C: fix default minHeapSize (#848) 2023-11-07 20:22:00 +01:00
Alexey Andreev
9c6f23d280 classlib: optimize console output in JS backend 2023-11-07 20:00:33 +01:00
Alexey Andreev
eca3dc61f5 junit: fix exception reporting 2023-11-07 18:01:33 +01:00
Alexey Andreev
5ec4450bf8 JS: render all declarations into one remembered fragment, then output this fragment to real output 2023-11-05 08:55:24 +01:00
Alexey Andreev
23ad999bbd JS: get rid of IOException in SourceWriter and related classes 2023-10-31 20:09:55 +01:00
Alexey Andreev
32ee8943c1 JS: rewrite more natives with templates, get rid of runtime aliases in minification mode 2023-10-31 19:29:32 +01:00
Alexey Andreev
df42025a21 IDEA: fix issue in dev server
Fix #827
2023-10-18 18:41:14 +02:00
Alexey Andreev
c6f60ca00e junit: fix crash when test runner is not configured 2023-10-17 10:04:57 +02:00
Alexey Andreev
55d3adb7ae junit: fix generation of html page for single-test JS runner 2023-10-12 21:13:48 +02:00
Alexey Andreev
d33c491a33 Gradle: report build progress from build tasks 2023-10-10 19:01:24 +02:00
Alexey Andreev
3d65d38375 Massive refactoring around Wasm support
1. Get rid of old exception handling IR transformer in favor of generation of EH code inside BE
2. Get rid of no-setjmp/longjmp support in C BE
3. Fix various bugs in WebAssembly BE
4. Suppress remaining failing tests for Wasm
5. Enable running Wasm tests by default
2023-10-08 10:36:03 +02:00
Alexey Andreev
0c0fb1a02b Fix running C tests 2023-10-06 10:55:08 +02:00
Alexey Andreev
8fb6087bf0 Fix running tests for C backend 2023-10-02 08:30:24 +02:00
Alexey Andreev
db4418ae1d Refactor test runner
1. Deprecate WhileClassCompilation annotation, introduce EachTestCompiledSeparately instead
2. Add annotations to enabled/disable tests for particular backends
2023-10-01 21:37:04 +02:00
Alexey Andreev
ee0ebd4c2b Remove excessive file 2023-09-29 21:12:05 +02:00
Alexey Andreev
47973face1 Simplify test runner, remove parallel run, remove HtmlUnit runner, fix Wasm tests 2023-09-29 21:11:23 +02:00
Alexey Andreev
f14fc18afb Fix wrong maxTopLevelNames in InProcessBuildStrategy 2023-09-29 14:06:18 +02:00
Alexey Andreev
b7cf7b593c wasm: when building tests, resolve absolute paths to source files in DWARF 2023-09-26 23:02:16 +02:00
Alexey Andreev
de25cee3b8 When out-of-process build crashes with OOME, write heap dump 2023-09-25 20:25:49 +02:00
Alexey Andreev
ba7dcd13b5 Update gradle scripts for latest gradle version
1. Use lazy property assignment
2. Remove usages of deprecated buildDir property
2023-09-21 09:52:29 +02:00
Alexey Andreev
eebc316029 gradle: fix generation of artifact configuration file 2023-08-23 20:17:37 +02:00
Alexey Andreev
d7cae4af55 Fix running tests in wasm 2023-08-22 17:02:33 +02:00
Alexey Andreev
df40dedba3 gradle: set default JS optimization to BALANCED 2023-08-19 17:49:17 +02:00
Alexey Andreev
9d3ac1a603 Show java.logging module in JCL comparison 2023-08-18 18:30:12 +02:00
Alexey Andreev
f33a7578d4 chrome plugin: remove unused permission, minor reformatting 2023-08-14 19:28:36 +02:00
Alexey Andreev
334e2829b3 JS: supports module imports in JSBody 2023-08-03 15:42:15 +02:00
Alexey Andreev
a97e0ef45c JS: generate code in UMD wrapper (to be compatible with node.js, webpack, etc). 2023-08-01 20:11:32 +02:00
Alexey Andreev
e1827880c9 Gradle: in no optimization mode, generate JS, which is friendly to Chrome debugger 2023-07-31 15:13:02 +02:00
Alexey Andreev
bf2cfa83f0 Allow to debug external process running from Gradle task 2023-07-31 13:15:36 +02:00
Alexey Andreev
9fd7b9c4e2 js: set maxTopLevelNames to huge value properly 2023-07-05 20:13:19 +02:00
Alexey Andreev
071a5d90fb Trying to fix problem with locked files on Windows 2023-06-20 11:11:58 +02:00
Alexey Andreev
09cdc63267 gradle: allow to define TeaVM properties from gradle command line 2023-04-12 16:48:48 +02:00
zufarfakhurtdinov
e801ff5b10
Fix running tests in macOS (#689)
Co-authored-by: Zufar Fakhurtdinov <zufar.fakhurtdinov@delightex.com>
2023-04-11 12:57:28 +02:00
Alexey Andreev
4756c9009a Fix running tests from Gradle plugin 2023-04-11 09:46:45 +02:00
Alexey Andreev
3e1edeb90c Add publishing of C-incremental artifact 2023-04-04 15:39:37 +02:00
Alexey Andreev
7b227c712f Add publishing of CLI artifact 2023-04-04 14:44:23 +02:00
Alexey Andreev
ffcded86bb IDEA: trying to fix plugin configuration 2023-04-02 20:07:06 +02:00
Alexey Andreev
9676b2a238 IDEA: fix running dev server. Fix #679 2023-04-02 19:47:51 +02:00
Alexey Andreev
528a39247e gradle: replace all Closure<Void> occurrences with Closure<?> to avoid Groovy warning in IDE 2023-03-24 15:31:24 +01:00
Alexey Andreev
19c0492c33 Fix running tests in Windows 2023-03-24 15:12:34 +01:00
Alexey Andreev
b4b1bc0b11 Maven: fix archetype pom.xml 2023-03-16 14:40:08 +01:00
Alexey Andreev
43a55769d8 Add publication to Gradle plugin portal 2023-03-06 17:06:31 +01:00
Alexey Andreev
d575440bb1 Bump Gradle version 2023-03-06 16:26:50 +01:00
Alexey Andreev
4d36283946 Configure automatic building of report about support of Java class library 2023-03-06 15:58:24 +01:00
Alexey Andreev
671b1da25b Fix build configuration for releasing TeaVM. Add release script. 2023-03-06 15:13:10 +01:00
Alexey Andreev
0e4b0f6b11 Maven: set packaging of archetype artifact to 'maven-archetype' 2023-03-06 11:58:50 +01:00
Alexey Andreev
ddab106c5a Gradle: don't copy teavmdbg file to WEB-INF directory
(return this when deobfuscation functionality is implemented)
2023-03-06 11:42:21 +01:00
Alexey Andreev
725aac089b gradle: make tests DSL groovy-friendly 2023-02-18 18:37:07 +01:00
Alexey Andreev
27713b78f8 gradle: make DSL groovy-friendly 2023-02-18 09:10:08 +01:00
Alexey Andreev
dd0b9f70df Update deployment script 2023-01-25 16:40:58 +01:00
Alexey Andreev
e3da484f79 Gradle: support configuring tests, fix test deobfuscation 2023-01-25 10:55:49 +01:00
Alexey Andreev
8014c038c0 Migrate to gradle 2023-01-23 17:16:07 +01:00
Alexey Andreev
2a0f6f206e New IDEA module kind based on Gradle 2022-12-20 20:48:16 +01:00
Alexey Andreev
8963b00ed4 IDEA: fix build 2022-12-20 18:01:46 +01:00
Alexey Andreev
9a9e7561b7 Wasm: support displaying objects in debugger 2022-12-20 10:01:47 +01:00
Alexey Andreev
fb39de72cc Prevent Chrome debugger extension from disconnecting after timeout 2022-12-15 17:26:22 +01:00
Alexey Andreev
6c91192794 Wasm: fix issues in debugger 2022-12-14 16:50:18 +01:00
Alexey Andreev
6808d9e517 Wasm: support local variables in debugger 2022-12-13 21:18:41 +01:00
Alexey Andreev
313e4ed87f Wasm: fix issues with debugger 2022-12-13 18:51:19 +01:00
Alexey Andreev
87d63168d2 Wasm: working on control flow analyzer for debugger 2022-12-05 20:03:57 +01:00
Alexey Andreev
1d2633ed76 Chrome debugger: seng ping package over websocket to preserve its open state, fix crash in debugger 2022-11-30 17:32:55 +01:00
Alexey Andreev
a2715f2c79 Wasm: working on Chrome RDP debugger 2022-11-29 21:30:41 +01:00
Alexey Andreev
9d3927e196 Wasm: working on Chrome RDP debugger 2022-11-29 18:14:13 +01:00
Alexey Andreev
0604c6a613 Wasm: fix default file name used by wasi target 2022-11-19 13:14:24 +01:00
Alexey Andreev
a543b91b84 Wasm: fix error when parsing command line args 2022-11-17 16:35:28 +01:00
Alexey Andreev
238873cbe7 Apply Java 11 syntax 2022-11-17 14:36:55 +01:00
Alexey Andreev
238930bfc3 IDEA: bump maven-shade-plugin version 2022-11-17 13:10:57 +01:00
Alexey Andreev
a49f47dac7 Fix WASI support in CLI runner 2022-11-08 19:46:40 +01:00
Alexey Andreev
bb087b7630 Wasm: support running WASI tests in JUnit 2022-11-06 21:41:35 +01:00
Alexey Andreev
1ca2c75e1c Wasm: initial WASI support 2022-11-06 11:53:52 +01:00
Ivan Hetman
2c1bf6e270
Enable build for Java 17 version (#631) 2022-10-22 09:23:16 +03:00
Ulugbek
f57af7631b fix: don't terminate if the target directory already exists 2022-08-12 17:48:58 +03:00
Ulugbek
51603695f4 TeaVMTool: handle target directory creation error 2022-08-06 14:40:09 +03:00
Ulugbek
b3727191b4 TeaVMTool: resolveTransformers() doesn't need to take as an argument variable that it can access itself 2022-08-06 14:40:09 +03:00
Ulugbek
3ff1651184 TeaVMTool: use a single try-with-resources 2022-08-06 14:40:09 +03:00
Ulugbek
0068198abd TeaVMTool: re-use already created file 2022-08-06 14:40:09 +03:00
Alexey Andreev
ddddfcf217 Add option to disable assertions 2022-07-15 19:51:47 +03:00
Alexey Andreev
0d73478164 Maven: fix connection to compiler daemon in out-of-process mode 2022-06-24 12:09:30 +03:00
Alexey Andreev
b03518c493 Remove unnecessary hppc artifact versions from pom.xml 2022-06-01 17:25:33 +03:00
Alexey Andreev
8d02dc0f4a Code server: fix preflight request issues 2022-02-10 19:35:14 +03:00
Alexey Andreev
1fa48560c6 C: add option to generate shorter output file names to workaround msvc bug 2021-12-10 18:51:12 +03:00
Alexey Andreev
7025ea8e19 IDEA plugin: fix one more id issue 2021-10-14 16:00:08 +03:00
Alexey Andreev
04cbd07fb5 Fix build configuration for parallel builds 2021-10-14 11:06:36 +03:00
Alexey Andreev
1ef2d5d1c2 IDEA plugin: fix spamming exception 2021-10-14 10:48:23 +03:00
Alexey Andreev
7726d47795 C: don't run compiled tests simultaneously 2021-03-24 17:31:16 +03:00
Alexey Andreev
60e5c0bbce Use new commons-cli API, remove usages of deprecated one 2021-03-22 14:17:50 +03:00
Alexey Andreev
bd53c1a5a2 wasm: trying to implement coroutines 2021-03-21 22:13:09 +03:00
Alexey Andreev
c4c1408160 wasm: fix running tests, add in-browser test runners 2021-03-20 19:52:45 +03:00
Alexey Andreev
0cff9e104c Fix checkstyle warnings after migration to the new version 2021-03-18 11:51:20 +03:00
Alexey Andreev
43437fd9b2 Update checkstyle settings in IDEA 2021-03-18 11:36:23 +03:00
Alexey Andreev
81bfe3f6e2 Improve pom.xml configuration 2021-03-18 11:16:41 +03:00
Alexey Andreev
0b36010a19 C: fix running JUnit tests 2021-03-18 01:03:19 +03:00
Alexey Andreev
b5ad203631 JUnit: don't kill test runner after timeout 2021-03-18 00:12:42 +03:00
Alexey Andreev
a8eebd7e1a JUnit: support ignoring all tests in a class 2021-03-18 00:12:42 +03:00
Alexey Andreev
6c75ce7f68 Fix bug in TestNG annotation support 2021-03-16 23:10:18 +03:00
Alexey Andreev
71f87d79a5 JUnit: add support for TestNG annotations 2021-03-16 21:47:05 +03:00
Alexey Andreev
e5c3d144e8 Bump versions of dependencies 2021-03-12 20:12:30 +03:00