7381 Commits
Author SHA1 Message Date
Matt Godbolt ad0462b1ca Fix tests. and actually write some gh-5331 2022-12-13 12:38:47 -06:00
Matt Godbolt 74e98aeaa0 TS-ify logger
Also redoes some pretty nasty morgan workarounds in favour of an actual real stream.
2022-12-13 08:31:24 -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
Jeremy Rifkin 18db9621a2 Fix tomselect arrow padding (#4403) gh-5287 2022-12-07 09:24:45 -05:00
Jeremy Rifkin e1fb48714c Updated CompilerProps.get typing (#4397)
* Updated CompilerProps.get typing

* Get rid of two any casts in options-handler.ts

* Fixed mistaken types
gh-5285
2022-12-06 19:56:58 -05:00
Matt Godbolt f3e6039fe1 Sponsors gh-5282 2022-12-06 18:16:09 -06:00
Marc Poulhiès 01bf5df956 Bump webjackJsHack version
¯\_(ツ)_/¯
gh-5281
2022-12-06 20:31:59 +01:00
Marc Poulhiès b1facf8e80 Add special option for gccrs (#4401)
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:

 -frust-incomplete-and-experimental-compiler-do-not-use

The compiler emits a very verbose error if this option is missing.

refs https://github.com/Rust-GCC/gccrs/pull/1540

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-5280
2022-12-06 20:06:53 +01:00
Jeremy Rifkin 81ed9f285d First pass ts conversion for lib/mapfiles (#4386) gh-5278 2022-12-05 20:29:24 -05:00
Jeremy Rifkin e7b10519f7 Tsify options-handler (#4396)
* First pass conversion of options-handler to ts

* Small tweaks

* Fix tests
gh-5265
2022-12-03 19:37:57 -05:00
Jeremy Rifkin 973c9427f0 Ts-ify objdumpers (#4385)
* Ts conversion for objdumpers

* Updated copyright years
gh-5258
2022-12-03 11:41:43 -05:00
Jeremy Rifkin 527729f897 Tsify compiler finder (#4390)
* Convert compiler-finder to ts

* Updated CompilerProps getter typings to be way more awesome

* A couple small tweaks

* Address review comments
gh-5257
2022-12-03 11:28:10 -05:00
Jeremy Rifkin 40e17145a8 Make the linter happy (#4393) gh-5256 2022-12-03 17:03:59 +01:00
Jeremy Rifkin 85a2f40699 Invoke lint-staged with --verbose (#4392) gh-5255 2022-12-03 17:03:29 +01:00
Patrick Quist f4cbb6b2f7 build command has changed gh-5254 2022-12-03 16:43:47 +01:00
Jeremy Rifkin 7e9b5cb241 Converted argument-parsers to ts (#4389) gh-5240 2022-12-02 14:36:23 -05:00
Jeremy Rifkin 836a2d7005 Tsify generated asm docs (#4388)
* Converted amd64 docs to ts

* 6502

* 6502 part 2

* arm

* avr

* evm

* java

* llvm

* python

* Fix bug with only getting the first paragraph

* Updated help messages
gh-5239
2022-12-02 14:36:10 -05:00
Jeremy Rifkin 2e844e9ef5 Make docenizer naming more consistent (#4387) gh-5216 2022-12-02 12:16:42 -05:00
Matt Godbolt 85da9e784b Ts-ify carbon (#4384) gh-5215 2022-12-02 10:58:23 -06:00
Patrick Quist ae0fee1095 first bits of compiler interface (#4378) gh-5204 2022-12-02 13:42:47 +01:00
Daniel Thornburgh 1af4cc7945 [llvm-mos] Fix swapped C and C++ compiler binaries. (#4383) gh-5201 2022-12-02 13:38:32 +01:00
Matt Godbolt 648dd89477 AsmParser implements IAsmParser (#4382) gh-5200 2022-12-02 13:37:03 +01:00
Matt Godbolt 2b5de93c6a Port fortran.js to typescript (#4381)
* Port fortran.js to typescript
* @jeremy-rifkin suggestions
gh-5195
2022-12-01 21:32:08 -06:00
Matt Godbolt a436592401 npm run format gh-5190 2022-12-01 21:13:50 -06:00
github-actions[bot]andCompiler Explorer Bot ef5f22fbce Automated checkin - update browsers list (#4372)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
gh-5186
2022-12-01 20:54:21 +01:00
Matt Godbolt 6d4af9744e Bump all minor versions - npm update (#4374) gh-5175 2022-11-30 19:20:18 -06:00
Marc Poulhiès 9d3096d2cc fix: Gcc dump types (#4369)
While doing some cleaning, the typing of the GCC dump feature was found
incorrect. This change tries to fix most of it... But some details still need to
be fixed (FIXME notes left in the code).

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-5168
2022-11-30 20:41:15 +01:00
Anastasia Stulova 30c2420ba8 Add clang-14 and clang-15 to OpenCL (#4370)
Update C++ for OpenCL and OpenCL C with
clang-14 and clang-15 compilers.
gh-5165
2022-11-30 19:49:24 +01:00
Marc Poulhiès 967efdebd9 template: add Ada IDE (#4368)
Add a sample Ada project in the templates.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-5157
2022-11-30 15:30:08 +01:00
Rubén Rincón Blanco 924799919c Make Alert and Compiler-Picker widgets (#4366) gh-5151 2022-11-30 12:41:54 +01:00
Alfredo Correa 8daa6ebebe add Multi library (#4367)
similar changes work for the C++ compiler
gh-5150
2022-11-30 11:45:25 +01:00
Jeremy Rifkin 1294c3f949 Control flow graph tool rework (#3899)
* Removed old code

* Base functionality

* Work on edge offsets

* Setup interval trees for edges

* linter things

* Formatting

* Added syntax highlighting

* Cleanup and simplification. Improved handling of direct dropdown edges.

* Basic zoom/pan

* Remove old blocks from output

* Fix distance calculation

* Added function selector

* Improved zoom behavior

* figue 8 logic

* Canvas scaling / repainting, updated colors

* Don't truncate output, also removed some console.logs

* Tweak to zoom system

* Replaced canvas stuff with svg

* Experimenting with adding shadows to edges

* Removed shadows, was causing problems. Improved how blocks with lots of incident edges are handled.

* Slightly improved edge system

* some work on implementing segment priority system from cutter

* Optimization to rendering process. I was worried the graph layout algorithm was causing the page to hang but it turns out it was adding elements to the page with +=

* Removed need for storing the previous segment

* refactor, splitting up some logic

* Cleaned up logic and got horizontal edges working better

* Remove vis-network dependency

* Updated package-lock, removed @import vis-network css stuff, added a todo for myself

* Cleaned up notes and error messages. Added comments. Clear the pane if there's no function to display

* Added layout time information, implemented .resize

* Light theme

* State work and bug fix for dragiing

* Re-dading lost dark theme changes

* Added jquery import

* Cleaned up console.logs

* Added basic block count

* Incorporated PR review comments; Fixed cypress (hopefully), added documentation, improved the dropdown, and fixed dropdown items not being cleared with an empty result.cfg

* Ran format
gh-5148
2022-11-29 22:28:10 -05:00
Alfredo Correa ab98ce9685 Add Multi library to Circle compiler (#4364)
This works with C++ compiler already

library source and details here: https://gitlab.com/correaa/boost-multi
gh-5142
2022-11-30 00:48:37 +01:00
Samuel Bronson ddd66219c7 Update rust.default.properties (#4053)
`rustfilt` ended up at a different path for me, and the "absolute path as compiler name" compatibility kludge seems not to work anymore.

(Also, this way it matters less where rustc is installed.)
gh-5140
2022-11-29 17:08:33 -06:00
Matt Godbolt 00ea739ab8 Rename files that confuse me every time (#4363) gh-5139 2022-11-29 17:07:24 -06:00
Matt Godbolt 31cc95adfd Make the same NVidia magic devices available in compilation too. May help nvc++ compilation time as it will be able to detect the target GPU (#4361) gh-5135 2022-11-29 07:16:23 -06:00
partouf 2455e412fa obsolete vars gh-5133 2022-11-29 00:54:37 +01:00
partouf b6d459c9af format and lint gh-5130 2022-11-28 23:29:38 +01:00
Patrick Quist 4f1bbcf526 .net - compileToBinary fix (#4353) 2022-11-28 23:13:01 +01:00
kasperk81 df607d5f6b dynamically set targetFramework (#4354) gh-5126 2022-11-28 23:09:48 +01:00
Marc Poulhiès 8240962b7a Add Zig 0.10.0 (#4358) gh-5125 2022-11-28 23:09:01 +01:00
Marc Poulhiès 2fa2bbb16a refactor: renames the CompilerFilters type (#4346)
The type which probably started as a real enum of possible post filtering
options now also includes options used for compilers' invocations.

The type was already split, but the naming was not reflecting this in the other
part of the code.

This changes tries to apply a simple renaming to the type only (corresponding
variables are left as 'filters').

While doing so, some typing error were discovered around the GccDump feature.
A fix for this will follow in a different PR.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-5117
2022-11-28 21:37:15 +01:00