Commit Graph
7420 Commits
Author SHA1 Message Date
Jeremy RifkinandMatt Godbolt 00a8d2e37a Puggify
Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-5542
2022-12-28 10:14:34 -07:00
Jeremy Rifkin e92a40d681 Prettier ignore a line gh-5530 2022-12-27 21:49:56 -07:00
Jeremy Rifkin 58f30ac09f Show an estimate for PNG export size gh-5529 2022-12-27 21:47:27 -07: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
Matt Godbolt c265aa0138 Add templates_new ispc gh-5359 2022-12-15 22:22:51 -06:00
Madhur Chauhan a45ea37c75 update pahole name (#4441)
* update pahole name
gh-5358
2022-12-15 16:11:23 -06:00
Miguel Ojeda 18a90707d4 Rust 1.66.0 (#4442)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
gh-5355
2022-12-15 11:12:22 -06:00
Matt Godbolt 1536523c53 Port csp.js to ts, remove _ dep (#4439) gh-5348 2022-12-14 20:44:26 -06:00
Matt Godbolt cad5227756 Don't try and hack the compilation results (#4429)
* Don't try and hack the compilation results

Carbon tried to synthesize "having run" by overriding and hacking a result routine...but did so _after_ it had been cached. So cached results were broken, but live results not.

This "fixes" by adding a post-compilation, but pre-cache hook and uses that instead. Naming is terrible.

I also took the time to fix the `CompilationResult`'s `buildResult`

Closes #4426
gh-5327
2022-12-12 21:38:22 -06:00
Patrick Quist 9de0b70af3 min effort ts conv dropintool (#4412) gh-5322 2022-12-12 20:11:05 -06:00
Jeremy Rifkin 00b3a8ab23 Implemented png export (#4427) gh-5321 2022-12-12 20:10:08 -06:00
Jeremy Rifkin 10ba9a10cd Add svg exports for cfgs (#4424)
* Added svg exports for cfgs

* Quick refactor

* Fix background colorfor chrome exports
gh-5318
2022-12-12 18:22:26 -05:00
Jeremy Rifkin abb943bdf0 Fix cfg chrome render bug (#4423) gh-5313 2022-12-12 17:59:19 -05:00
Michael Debertol e2acc233ff Add more dart versions (#4414) gh-5304 2022-12-11 15:19:18 +01:00
partouf 2d28398c9b demangling fix gh-5300 2022-12-10 19:11:45 +01:00
Patrick Quist 67f71f2b51 Support patched clang for faster opt-view (#4416) gh-5299 2022-12-10 18:17:51 +01:00
Patrick Quist f598cf8aaf fix interpreting with multiple files (#4407) gh-5290 2022-12-07 20:03:48 +01:00