Commit Graph
24 Commits
Author SHA1 Message Date
Patrick Quist d2c7a5222e Local/Remote Execution environment (#6413) 2024-05-26 22:09:01 +02:00
Patrick Quist b8325cf0c6 eslint root setting and fixes (#6307) 2024-04-16 21:26:53 +02:00
Ofek 8dd09d1c1f Replace the deprecated substr with substring (#6236)
Just some minor homekeeping.
2024-03-10 10:04:29 +02:00
Patrick Quist 4605ebfb4b Add Fortran library support (#5533) 2024-02-09 23:31:05 +01:00
Patrick Quist 730437464d Fix semver ordering for libraries (#5959)
Fix #5951
Fix #5085

Extended the fictitious version number for non-numbers, so that trunk
can be listed higher than a `yyyymmdd` as a version (EVE uses this)
2024-01-08 22:10:25 -06:00
Ofek 464536e884 Fix #5945: tiny fix to stdout-parsing regexes (#5946)
Tiny change to regexes parsing compiler stdout lines, to make them stop
classifying lines like "(0.00 s) Setup: DONE" as errors.

One could imagine other, more thorough, fixes to [this
code](https://github.com/compiler-explorer/compiler-explorer/blob/ec8f8e5d50f81f4fb65b37bc5337f1ad93784f38/lib/utils.ts#L195-L202)
- it currently attempts to capture errors from all compilers, *not*
differentiating by compiler but instead by some general output formats
(`<source>`:line:col , or "file.ext":line, etc.). I settled for a 1-char
fix that seems to makes sense by itself.
2024-01-05 19:30:36 +02:00
Patrick Quist 455d92916a Execution with heaptrack (#5644) 2023-11-07 23:59:40 +01:00
Ofek e7d266ac9c Fix #5255 (#5700) 2023-11-04 20:01:43 +01:00
Patrick Quist 7d192ccde1 add properties and test for cewrapper (#4761) 2023-03-18 11:46:27 +01:00
Mats Jun LarsenandMatt Godbolt 633eb82d18 Transition to ECMAScript Modules (#4780)
Makes the Compiler Explorer app, and all the tooling ESM compatible.
Things that have been done:

1. The package.json has `type: module` now
2. All relative imports have a .js ending
3. All directory imports are now directory/index.js to comply with ESM
standards
4. Dependency node-graceful is now imported into tree, because the
package is broken under esm
5. Dependency p-queue has been bumped to 7.x with ESM support
6. Dependency profanities has been bumped to 3.x with ESM support
7. Webpack config is now both ESM and CommonJS compatible
8. Non-ESM compatible imports have been rewritten
9. ESLint configuration has been tweaked to not fail on .js imports
10. Mocha is now hacked together and ran with ts-node-esm
11. Webpack is now hacked together and ran with ts-node-esm
12. Webpack config is now ESM compatible, so that it can be used in the
dev server
13. Cypress code still runs commonjs, and has been excluded from the
tsconfig
14. All sinon mock tests have been commented out, because sinon module
mocks do not work with ESModules (because ESModules are immutable)

A lot of tests are now giving warnings/errors to stdout, yet still pass.
Docenizer codegenerator scripts have been updated, but I did not re-run
them, and instead just changed their code.

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-02-27 18:06:38 -06:00
Matt Godbolt 749319f791 Slightly more controversial bumpings (#4503)
- latest sentry, tar-stream, which, some yamljs versions
- latest eslint-* stuff
- latest webpack manifest
- Applies all the automatic fixes for newer lint rules
- Bump the webpack version

applies new tslint stuff
2022-12-28 11:42:14 -06:00
Rubén Rincón Blanco c3eee72def Sort libs based on semver (#4153) 2022-10-12 21:12:44 +02:00
Rubén Rincón Blanco d104aa628f Add some support for execution line linking in non tree mode (#4080) 2022-10-01 03:50:52 +02:00
Rubén Rincón Blanco 366cd5527c Adds llvm-cov tool (#4044) 2022-09-15 08:12:27 +02:00
Patrick Quist b567856ab2 Clspvfixes (#4050) 2022-09-12 15:56:55 +02:00
Rubén Rincón Blanco 50aa2c9029 Move RE creation outside function scope (#4048)
No need to recreate the object for every compilation, even if the re gets compiled only once
2022-09-12 14:37:18 +02:00
Fred Tingaud 02ef879986 Move severity parsing with the rest of the output parsing. (#3821) 2022-07-01 00:30:57 +02:00
Patrick Quist fe2687f864 allow hashes in arguments (#3726) 2022-05-27 22:51:03 +02:00
Patrick Quist f83e184623 Minimal version of externalparser asm-parser (#3278) 2022-05-14 18:56:57 +02:00
Matt Godbolt 19ddc3384e Port cache code to Typescript (#3605)
* Port cache subsystem to typescript
* Extract an interface class
* Use async for s3 cache; add tests for failure case
2022-05-02 15:19:13 -05:00
Matt Godbolt 7bb57642a3 Lint fixes 2022-04-26 09:24:37 -05:00
Rubén Rincón Blanco 4965bd6c81 All semver comparisons now ensure it's safe to do so (#3562)
* All semver comparisons now ensure it's safe to do so

* Oops, use correct class

* Remove leftover import

* Leave the Zig fixes for another PR

* Fix linter

* Fix test issues

* Make linter happy, yet again

* What?

* Address PR review
2022-04-26 15:24:40 +02:00
Rubén Rincón Blanco 045c68d1bc Add strict tsc flag for the backend ts code (#3355) 2022-02-12 02:41:24 +01:00
Patrick QuistandMatt Godbolt 6e79e098c4 Minimal backend typescript support (#3207)
* minimal ts support

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2021-12-22 20:44:51 +01:00