2031 Commits
Author SHA1 Message Date
Patrick Quist af389a3b9b Merge branch 'main' into cewrapper-config 2023-03-08 02:08:27 +01:00
Matt Godbolt 2b6500203e Update to latest AWS SDK (#4818)
We're not using the new `send` functionality, but this gets everything
running and tests passing. It has _not_ been tested against real AWS
yet. That's next. I might move stuff over to the new `send` API, but
also I might not if it's just working.
2023-03-07 18:10:56 -06:00
Patrick Quist 1c639c7a7c fix z88dk asm (#4751) 2023-03-07 21:51:39 +01:00
Jeremy Rifkin ea107a5ff9 More work needed, thanks for the comments Ruben and Matt! :)
Revert "Compiler picker UI improvements (#4789)"

This reverts commit d4a8c2bdb2.
2023-03-07 10:46:33 -05:00
Jeremy Rifkin 6131e6aa47 Finished collecting metrics -- Revert "Temporarily collect metrics on job time and queue time (#4790)"
This reverts commit 5fee0e24a6.
2023-03-07 10:38:11 -05:00
Rubén Rincón Blanco dd2c08693c Add name to binary tools error response (#4798) 2023-03-06 20:10:00 +01:00
Partouf 4e2b20c1b0 winstaging 2023-03-05 21:36:51 +01:00
Partouf 6586b381dc bugfix msvc cmake custom outputfile 2023-03-05 12:36:21 +01:00
Jeremy Rifkin d4a8c2bdb2 Compiler picker UI improvements (#4789)
Makes the compiler picker dropdown a bit taller, prevents the dropdown from overflowing the page, and also adds a compiler picker popup
2023-03-04 19:55:25 -05:00
Partouf 31e6d6d4af mingw compiler 2023-03-04 14:07:06 +01:00
Partouf c53aa14e55 some .exe bits and bobs 2023-03-04 14:06:47 +01:00
Matt Godbolt 8cb8f6ff84 Update to yaml and drop some unneeded deps (#4811)
Also add some tests
2023-03-02 19:02:57 -06:00
Partouf 6f7dd6c297 formatting 2023-03-01 20:37:09 +01:00
Partouf e9de936157 Merge branch 'main' into cewrapper-config 2023-03-01 19:09:37 +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
Jeremy Rifkin 5fee0e24a6 Temporarily collect metrics on job time and queue time (#4790)
Collecting raw data points for job time and queue time for a few days.
Briefly discussed with Matt, will be reverting in a few days.
2023-02-27 18:05:41 -05:00
Jeremy Rifkin fcd9ee7c87 Remove an assertion now that we know the case can happen (#4787)
Resolves #4781. Remove the assertion, just allow the bad behavior
silently. Same behavior as before the tsification.
2023-02-26 13:03:46 -05:00
Jeremy Rifkin 384c297906 Fix trailing comma issue (#4775)
Make trailing commas more consistent throughout the project, fixes
config conflict between eslint and prettier. Resolves an oversight in
#4766.
2023-02-26 12:21:35 -05:00
Marc Poulhiès 2b8d554a10 fix: modula2 name
Use Modula-2 instead of modula2.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-02-25 18:25:25 +01:00
Partouf 486165cd7c fix 2023-02-25 16:08:14 +01:00
Partouf 8a7c968366 verbose cewrapper 2023-02-25 15:53:38 +01:00
Jeremy Rifkin 8262e2be5e Handle another LLVM pass dump case (#4774)
Resolves #4195
2023-02-24 20:46:53 -05:00
Partouf aebc10aed9 remove trailing comma 2023-02-24 18:17:04 +01:00
Patrick Quist e20d634f63 Merge branch 'main' into cewrapper-config 2023-02-24 18:08:15 +01:00
Yashwant SinghandYashwant c8f2cb53be Language support for LLVM Machine IR (#4763)
Resolves #4762

---------

Co-authored-by: Yashwant <yassingh@amd-blr-comp-03f7.amd.com>
2023-02-24 00:28:15 -05:00
Jeremy Rifkin 2c7e9a351a Tsify a small handful of tests (#4765) 2023-02-23 23:45:27 -05:00
Jeremy Rifkin 2b06c69111 Turn some auto-fixable eslint rules back on (#4766)
This PR turns comma-dangle and indent eslint rules on for lib/. These
are rules inherited from the eslint config for static/, this PR just
makes things more consistent. Also turned
@typescript-eslint/no-var-requires back on while I was here.
2023-02-23 17:16:17 -05:00
Jeremy Rifkin 6bd5c43f62 Tsify app.js (#4767)
I forgot about app.js, now this is actually the last file in our ts
conversion (other than test/)
2023-02-23 17:15:59 -05:00
+2 46f99a15f9 Tsify more tests (#4729)
Happy Superbowl Sunday!
Watching 3rd down conversions and converted code.

Converted base-compiler-tests 
Snuck in analysis-tests & compilfer-finder tests because they are small

Added a couple of testing helpers to tests/utils.ts and went back and
implemented them in cache-tests

<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->

---------

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
Co-authored-by: Gaurav Gautam <gautam1168@users.noreply.github.com>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
Co-authored-by: Goooler <wangzongler@gmail.com>
Co-authored-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Mats Jun Larsen <me@supergrecko.com>
Co-authored-by: Jake Hemstad <jhemstad@nvidia.com>
Co-authored-by: Ross Brunton <bruntonross+github@gmail.com>
Co-authored-by: Fábio de Souza Villaça Medeiros <fabiosvm@outlook.com>
Co-authored-by: Joel Falcou <joel.falcou@lri.fr>
Co-authored-by: Patrick Quist <partouf@gmail.com>
2023-02-23 17:15:37 -05:00
Marc Poulhiès 73f7d0787f Initial support for Modula-2 language (#4747)
With the upcoming gcc 13 release and its shiny Modula-2 frontend, we
are introducing Modula-2 support in Compiler Explorer :)

Currently, only the gcc-snapshot build supports modula-2.

fixes #4688

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-02-23 20:43:56 +01:00
Jeremy Rifkin 563b220cb9 Type work for some handlers and stuff related to the compiler-finder (#4752) 2023-02-22 17:45:55 -05:00
Partouf 6b57be8261 home option, exec 2023-02-20 23:37:55 +01:00
Partouf 07181f3041 path bugfix 2023-02-20 20:54:04 +01:00
Partouf 52bfe94d76 add properties and test for cewrapper 2023-02-20 19:59:58 +01:00
Fábio de Souza Villaça Medeiros 7fe0b694c9 Update hook-mode.ts (#4756) 2023-02-19 22:21:35 +00:00
Jeremy Rifkin 96631c47a8 Setup eslint config for lib/ (#4753)
This turns on a number of eslint rules that we setup for static that
aren't specified in the root eslint config as well as ts-eslint rules.
At some point we may want to merge the eslint configs for static/ and
lib/ but we might not be quite ready for that yet. I've temporarily
turned off some rules from static, such as comma-dangle.
2023-02-18 10:39:51 -05:00
Mats Jun Larsen a35c350f7a fix: move typings to actually be registered (#4754) 2023-02-18 15:26:48 +01:00
Marc Poulhiès 357cec2f78 fix: compile to binary object not working with ldc/dmd
The compile to binary object has been enabled by mistake for dmd and
ldc, so taking the opportunity to implement it.

ldc is sensitive to output filename extension (.s will force assembly
output, .o binary).

dmd accepts -c to skip the link step.

fixes #4649

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-02-14 19:56:46 +01:00
Goooler ae08b7b71e Use new Kotlin logo (#4742) 2023-02-14 13:12:32 +01:00
Gaurav Gautam 219b83b52d Add check for triple (#4723)
For this issue:
https://github.com/compiler-explorer/compiler-explorer/issues/4456
2023-02-13 23:19:52 +00:00
Jeremy fec19f8238 Unused import 2023-02-13 16:47:17 -05:00
Josh 9196e1367d Converted cache-tests to typescript (#4722)
Added generic typing to lib/cache/from-config nim-tests got added after a make lint (--fix)
2023-02-12 14:03:03 -06:00
Valentin Churavy 149762051a [Julia] show options from compiler wrapper not Julia runtime (#4716)
https://github.com/compiler-explorer/compiler-explorer/pull/4674 wasn't
quite finished.
This goes the last mile, and shows the user the options from the
compiler-wrapper.
2023-02-12 13:55:47 -06:00
Jeremy Rifkin 2114f66a2e Fix #4726 (#4727)
Along with #4720 this fixes #4726
2023-02-12 12:17:06 -05:00
Jeremy Rifkin 0d5e3ac775 Tsify the rest of lib/tooling (#4718)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2023-02-12 11:57:12 -05:00
Jeremy Rifkin ed61396faf Tsify lib/clientstate-normalizer (#4720)
Depends on #4719
2023-02-12 11:51:33 -05:00
Jeremy Rifkin 32184fb330 Tsify lib/clientstate.js (#4719)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2023-02-12 11:10:36 -05:00
Jeremy Rifkin 0a734b37db Tsify lib/handlers/route-api (#4707)
Depends on
https://github.com/compiler-explorer/compiler-explorer/pull/4704
2023-02-10 23:09:13 -05:00
Jeremy Rifkin e2b84eb5a6 Tsify lib/handlers/api (#4704)
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
  by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
  but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2023-02-10 22:52:04 -05:00
Valentin Churavy ceee0d15f5 Add JuliaParser (#4674)
If I understand this right this should populate the list of options for the "compiler options" drop-down
2023-02-10 07:09:18 -06:00