Commit Graph
7433 Commits
Author SHA1 Message Date
Matt Godbolt 03a9ce19e4 Different uncaughtException handling (#4511)
* Different uncaughtException handling

We've seen some uncaught exceptions where the process exits before logs are apparently flushed. This hopefully addresses that. Also start up sentry earlier, and catch top level exits differently.

With ref to winstonjs/winston#1504 (comment) and https://nodejs.org/api/process.html#event-uncaughtexception
gh-5574
2022-12-28 21:49:18 -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
gh-5552
2022-12-28 11:42:14 -06:00
Marc Poulhiès b597095f6e Add new version of Kalray' KVX compiler (#4507)
Add new ACB 4.11.0 version.

fixes #4506

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-5547
2022-12-28 11:19:34 -06:00
Jeremy Rifkin 993c363126 Tsify lib/storage (#4499)
* Tsify lib/storage

* Add @types/request

* Fix get/post types

* Better type solution
gh-5546
2022-12-28 10:19:04 -07:00
Jeremy Rifkin 92b17d203d Tsify lib/shorteners (#4504)
* Convert lib/shorteners to ts

* Improved types
gh-5545
2022-12-28 10:18:37 -07:00
Jeremy RifkinandMatt Godbolt 54fd5b8a24 Show a size estimate for the png export button (#4505)
* Show an estimate for PNG export size

* Prettier ignore a line

* Puggify

Co-authored-by: Matt Godbolt <matt@godbolt.org>

Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-5544
2022-12-28 10:18:26 -07:00
Jeremy Rifkin 1890bb9259 Update rison (#4509)
* Update rison

* Add test cases

* Prettier format
gh-5541
2022-12-28 09:40:18 -07:00
Jeremy Rifkin cb4157e186 Two quick markdown formatting changes prettier performed gh-5534 2022-12-28 08:51:30 -07:00
Matt Godbolt fae86a8320 New sponsor; thanks! gh-5526 2022-12-27 18:49:24 -06:00
Matt GodboltandMats Jun Larsen b6f8713ec0 2023 Roadmap (#4501)
* 2023 Roadmap (draft for now)

Co-authored-by: Mats Jun Larsen <me@supergrecko.com>
gh-5525
2022-12-27 18:46:15 -06:00
Matt Godbolt b497dca512 Hopefully uncontroversial bumpings (#4502)
* Bump monaco-vim
* Bump typescript things
* Update other easily updated things
gh-5513
2022-12-27 17:45:57 -06:00
Matt Godbolt 075beceb44 Vague flailing to try and get some memory back on my laptop gh-5510 2022-12-27 16:58:05 -06:00
Matt Godbolt 640ab3197a Bump to latest webpack because why not (#4500) gh-5507 2022-12-27 15:59:55 -06:00
Matt Godbolt 2348a320c5 Don't rely on git if .git isn't there during build (#4498)
If we don't have a `.git` directory during build, then don't try and run `git` commands to get e.g. history and last changed for policy files and changelog.

Closes #4497
gh-5504
2022-12-27 15:15:56 -06:00
Steve f05b4b6f07 Various enhancements for dotnet (#4362) 2022-12-27 13:38:19 -06:00
Peter Dimov 170a47d64a Add Boost 1.81.0 (#4493) gh-5493 2022-12-26 16:57:15 -06:00
Rubén Rincón Blanco 2e85575145 Add note about API not supporting external files (#4483) gh-5491 2022-12-24 19:46:45 +01:00
Rubén Rincón Blanco b5ba2c0d7d Mark Assembly compilers cfg-able (#4461) gh-5490 2022-12-24 19:46:04 +01:00
Patrick Quist 07236628bb minimal ts conv of llvm-ir (#4477) gh-5489 2022-12-24 19:45:47 +01:00
Patrick Quist d4d595ce13 add sqlite to cpp (#4491) gh-5488 2022-12-24 14:19:25 +01:00
Rubén Rincón Blanco 95876c37fc Avoid flash on pageload for System and Dark+ themes (#4488) gh-5475 2022-12-23 21:12:46 +01:00
Rubén Rincón Blanco 287ad78600 Prevent default for zoom event in cfg (#4489) gh-5471 2022-12-23 15:47:25 +01:00
Björn Fahller 95d0695e94 Add rollbear/strong_type library (#4482) gh-5462 2022-12-22 12:53:46 +01:00
Matt Godbolt d94eb203c1 Add lint rule for unused imports, and fix (#4476) gh-5460 2022-12-20 15:51:39 -06:00
Rubén Rincón Blanco fe5f5e11cd Add .hword and .octa to datadef regex (#4460)
Closes #4434
gh-5459
2022-12-20 18:31:26 +01:00
Matt Godbolt 57a647b8a3 Add the result inside the CompilationResult (#4475) gh-5450 2022-12-20 08:15:39 -06:00
Matt Godbolt 4ec6a41d27 Give tools in the CE options a type (#4471)
* Fix type of tool id

Observed through the debugger it seems the tool id is a `string`, which leads to all sorts of downstream complaints comparing strings to ints when converting tools.js to ts (see #4166)

* Add tools to CE Options

* Fixings
gh-5444
2022-12-19 22:55:44 -06:00
Matt Godbolt 9f2954359f Fix #4469 (#4473)
* Fix #4469

Errors now look like:

```
Internal Compiler Explorer error: Error: Internal error running asm parser:
./dump-and-parse.sh: line 4: /usr/local/bin/asm-parser: No such file or directory

    at CEAsmParser.parseAsmExecResult (/home/matthew/dev/ce/compiler-explorer/lib/external-parsers/base.ts:77:19)
    at CEAsmParser.objdumpAndParseAssembly (/home/matthew/dev/ce/compiler-explorer/lib/external-parsers/base.ts:101:21)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async DefaultCompiler.objdump (/home/matthew/dev/ce/compiler-explorer/lib/base-compiler.ts:414:31)
    at async Promise.all (index 0)
    at async DefaultCompiler.checkOutputFileAndDoPostProcess (/home/matthew/dev/ce/compiler-explorer/lib/base-compiler.ts:1356:16)
    at async /home/matthew/dev/ce/compiler-explorer/lib/base-compiler.ts:2236:41
    at async run (/home/matthew/dev/ce/compiler-explorer/node_modules/p-queue/dist/index.js:163:29)
Compiler returned: -1
```

which at least gives context on why the parsing failed. And per discussion with @partouf we'll blow up at construction time if the file isn't there, which means the above is more to cover "what if the tool dies".
gh-5440
2022-12-19 22:41:04 -06:00
Matt Godbolt 6348917e15 Separate shareable tool type from server ITool (#4472)
* Separate shareable tool type from server ITool

I realised we were using the "Tool" on both client and server, but the client only has the JSON-able data of Tool, not the interface/object Tool (now renamed to `ITool`).

* Fix tests
gh-5439
2022-12-19 22:40:27 -06:00
Matt Godbolt 8159c55b2e Fix type of tool id (#4470)
Observed through the debugger it seems the tool id is a `string`, which leads to all sorts of downstream complaints comparing strings to ints when converting tools.js to ts (see #4166)
gh-5427
2022-12-19 21:10:19 -06:00
Rubén Rincón Blanco d0577c673c Add new rust crates (#4462) gh-5424 2022-12-19 17:41:36 +01:00
Patrick Quist 2074b1454b Update ocaml.amazon.properties (#4464) gh-5421 2022-12-19 17:40:10 +01:00
Matt Godbolt fcd24cb99e New sponsor; thanks! gh-5418 2022-12-19 07:36:47 -06:00
Jeremy Rifkin 18815a4e41 Fix binary lable issue (#4459) gh-5417 2022-12-18 18:53:57 -05:00
Alfredo Correa d5a9baecd7 Add Josuttis' Belle Views to C++ compiler (#4452) gh-5414 2022-12-18 22:49:46 +01:00
Marc Poulhiès ed92ca6246 bump webjackJsHack
¯\_(ツ)_/¯
gh-5410
2022-12-18 21:45:27 +01:00
Marc Poulhiès c9c6eb27db add: gcc bpf cross compiler (#4413)
Add GCC for C and C++, for BPF target.

fixes #4408

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-5407
2022-12-18 21:34:17 +01:00
Patrick Quist 149ee2db06 Update AddingALibrary.md gh-5406 2022-12-18 21:21:59 +01:00
Tobias Hieta 96aa4bea0f Add support for clang-cl and llvm-undname (#4371)
* Added llvm demangler code

* Added clang-cl compiler class
gh-5404
2022-12-18 21:10:04 +01:00
Jeremy Rifkin 5ee5386678 Upgrade and audit npm packages (#4457)
* Upgrade and audit npm packages

* Go back to mocha 8.4.0

* Fix build, update for new api
gh-5399
2022-12-18 12:53:17 -05:00
Jeremy afbdbd6e3e Fix type error with tomselect downgrade gh-5392 2022-12-18 11:01:53 -05:00
Jeremy Rifkin 7387fe73d7 Handle undefined theme in the site template widget (#4454)
* Handle undefined theme

* Fix comment
2022-12-18 10:51:24 -05:00
Jeremy Rifkin ce5d673078 Fix #4444 (#4453) 2022-12-18 10:30:38 -05:00
Jeremy Rifkin 7a56ee84f7 Assert and unwrap utilities (#4437)
* Add assert and unwrap utilities

* Playing around with diagnostics

* lib/assert diagnostic implementation

* Remove temporary testing stuff

* Reset package-lock.json to before I messed with it

* Further refinements and integration

* Added licence and removed an obsolete eslint directive
gh-5389
2022-12-18 10:30:17 -05:00
Matt Godbolt 00158d1ba1 TS-ify logger (#4431)
* TS-ify logger

Also redoes some pretty nasty morgan workarounds in favour of an actual real stream.

* Fix tests. and actually write some

* Formatting

* Add clarifying comment
gh-5388
2022-12-18 10:29:56 -05:00
Rubén Rincón Blanco cd6c39905b Add select colours to ts-dropdown (#4448)
* Add select colours to ts-dropdown

* Ensure readable colour
gh-5381
2022-12-17 22:44:53 -05:00
Jessica Clarke b3e48b7bd1 Makefile: Split run into new prebuild and run-only targets (#4450)
This provides a simple interface for build scripts that want to pre-run
the webpack and ts-compile steps (e.g. when producing a container
image) ahead of time rather, without requiring them to copy the current
set of commands needed for each part and hope they don't change.

Fixes https://github.com/compiler-explorer/compiler-explorer/issues/3287
gh-5379
2022-12-17 19:53:06 -06:00
Matt Godbolt 77aab4dff2 Revoke my git license, fix new ispc gh-5370 2022-12-16 09:59:44 -06:00
Matt Godbolt 3ddcb80a7e pahole is now pahole-trunk gh-5369 2022-12-16 09:55:11 -06:00
Matt Godbolt 3556033026 Moving compilation queue to ts (#4440)
* Moving compilation queue to ts
gh-5368
2022-12-16 07:37:12 -06:00