2165 Commits
Author SHA1 Message Date
RabsRincon 5257a0d4a6 Remove leftover debug bits 2022-09-03 14:37:02 +02:00
RabsRincon e67b047a38 Merge branch 'main' into rr/open-all-panes 2022-09-03 14:31:34 +02:00
Andrew Kaster e257c320db jakt: Add new keywords and operators (#4021)
Since July, jakt has added boxed enums, compile time functions, the
start of inheritance and virtual functions, guard expressions, and
pattern matching using the is operator.
2022-09-03 10:13:54 +02:00
Jeremy Rifkin 15007d3244 Refactored the LLVM Optimization Pipeline to provide better diagnostics, added timeout indication to exec.js (#4016) 2022-09-03 01:15:21 +02:00
Jeremy Rifkin b8a6c49afb Added AVX 512 types to C++ syntax highlighting (#4017) 2022-09-03 01:15:05 +02:00
RabsRincon 4178354728 Second try at cypress happy tests 2022-09-02 02:50:45 +02:00
Jeremy Rifkin 1ae96db482 Fix bug with state being undefined (#4011)
* Fix bug with state being undefined, mea culpa

* Quick amendment
2022-09-01 17:21:42 -04:00
Jeremy Rifkin 7c08e02726 Toggles state (#4006)
* Updated Toggles' handling of state

* updated pp-view

* Updated output
2022-08-30 18:38:48 -04:00
Rubén Rincón BlancoandJeremy Rifkin 4ba8a1d121 Move LLVM opt pipeline filters to their own dropdown (#4000)
Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2022-08-30 12:46:07 +02:00
partouf 223cd8f5e2 stray console logs 2022-08-25 23:59:14 +02:00
J. Ryan Stinnett 44aa191cad Add debug info filter option to LLVM opt pipeline viewer (#3987)
* Add debug info filter option to LLVM opt pipeline viewer

* Add MIR debug info pseudo-instructions to filters

* Use mixin for LLVM opt pipeline options

This fixes a few templating errors from the more verbose version.

* Add name to contributors

* Generalise dbg call filter
2022-08-24 20:16:48 -04:00
Rubén Rincón Blanco 7f7ca77fb2 Adds icon to Select all and makes the text hideable (#3970) 2022-08-19 09:13:49 +02:00
Rubén Rincón Blanco 05a2aae407 Move sass files to static/styles (#3971)
Also hides the tab titles on text overflow
2022-08-19 09:13:11 +02:00
Rubén Rincón Blanco 5e67108240 Fixes some errors with make EXTRA_ARGS="--language {langId}" (#3959)
Closes #3958
2022-08-15 16:06:19 +02:00
Rubén Rincón Blanco 0b8d0d9b00 Fixes conformance view bug (#3960) 2022-08-15 02:58:39 +02:00
Rubén Rincón Blanco 16b176235a JBOF: Just a Bunch of Fixes (#3957)
- Renames orphancompiler.py script to propscheck.py, the name fits better
- Fixes Go props to make them easier to maintain
- Alphabetically sorts some listings in the code
- Adds tests to the props checker script (No idea how to integrate those so it's manual for now)
- Adds 2 missing limit cases for Motd filtering
2022-08-13 01:39:41 +02:00
RabsRincon fd7fa503e2 Merge branch 'main' into rr/open-all-panes 2022-08-11 00:42:18 +02:00
RabsRincon 7cec3cf873 First draft at cypress UI test 2022-08-11 00:42:04 +02:00
Mats Larsen 867adeff26 fix: patch missing jquery imports (#3952) 2022-08-10 23:24:12 +02:00
Rubén Rincón Blanco 5b84b23b30 Fix small UI problems (#3948) 2022-08-09 22:13:50 -05:00
Matt Godbolt 5bd729da21 Adds dxc configuration cc @jeremyong 2022-08-09 20:51:08 -05:00
Jeremy Ong d928bccf5a Add preliminary HLSL support (#3932)
* Add preliminary HLSL support

- Adds a new language mode to monaco, extending the base C++ layer with
  HLSL intrinsics and types
- Adds a new `HLSLCompiler` class
- Adds a sample pixel shader

The compiler used to test this locally is the [DirectX Shader
Compiler](https://github.com/microsoft/DirectXShaderCompiler) (aka DXC),
which needs to also be added to the
[infra](https://github.com/compiler-explorer/infra) project.

Some guidance is needed before this PR can be merged:

1. While DXC can run on Linux, there are no binaries available so this
   compiler must be built. Are there examples that show how we should do
   this as part of the infra CI/CD? Should we build and host it
   separately instead? The build process for DXC on Linux is relatively
   straightforward and documented
   [here](https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DxcOnUnix.rst).
2. The example code doesn't compile unless the user also supplies
   additional compiler flags `-T ps_6_6 -E PSMain`. Is there a way to
   load these flags conditionally only if the sample is loaded?
3. Technically, DXC emits DXIL IR (based on LLVM IR) and I am wondering
   if it's possible to extend an existing LLVM backend. In addition, the
   `-spirv` compiler flag could be emitted to target the SPIR-V backend
   instead, so I'm curious if there is a good way to express the target
   backend.

Signed-off-by: Jeremy Ong <jeremycong@gmail.com>

* Fix copyright dates, remove unnecessary strict usage, and remove
placeholder logo

Signed-off-by: Jeremy Ong <jeremycong@gmail.com>

* Rebase and remove unneeded HLSL logo

Signed-off-by: Jeremy Ong <jeremycong@gmail.com>

* Fix lint errors

Signed-off-by: Jeremy Ong <jeremycong@gmail.com>

* Simply HLSL sample and remove default config

Signed-off-by: Jeremy Ong <jeremycong@gmail.com>
2022-08-09 07:32:19 -05:00
Mats Larsen 1f5fbe0e28 Replace provide-plugin jquery imports with import statements (#3943) 2022-08-07 11:58:16 +02:00
Rubén Rincón Blanco c8ce581266 Makes language logo optional in all cases (#3934) 2022-08-04 10:26:18 +02:00
RabsRincon 2710bd5006 Fix isValidAd condition & more tests 2022-08-04 00:37:41 +02:00
RabsRincon 67cb9b473b Fix executor squiggles 2022-08-04 00:05:14 +02:00
Rubén Rincón Blanco 7104c065e7 Fix selection fn signature (#3935) 2022-08-02 02:59:32 +02:00
Rubén Rincón Blanco 1e5192594a Make executor able to highlight editor code (#3911) 2022-08-01 10:30:53 +02:00
Mats Larsen 1d56ca21e5 fix: use interfaces in pane.ts and related files (#3930) 2022-07-30 10:02:35 +02:00
Rubén Rincón Blancoandpartouf a61b877eb1 Adds date filtering for ads (#3916)
* Adds date filtering for ads

No idea how to get test to work though :(

* move motd test to frontend testing

* bugfix isValidAd

* Add missing testcases

Co-authored-by: partouf <partouf@gmail.com>
2022-07-30 10:01:59 +02:00
Patrick Quist 9b65532be9 more explicit that path-browserify should be used (#3901) 2022-07-28 23:33:58 +02:00
Fred Tingaud 9e6dfd9f3a Fix variable name error. (#3923) 2022-07-28 18:55:48 +02:00
Fred TingaudandRubén Rincón Blanco ea3b66df11 Add possibility for tools to generate an artifact (#3893)
* Add possibility for tools to generate an artifact

* Add button to download the artifact instead of downloading it automatically.

* Add better description on artifact button.

* Apply recommendations

* Update static/panes/tool.js

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Use a download icon rather than save

* Introduce correct type for artifact.

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-07-28 09:57:03 -05:00
Fred Tingaud 96326148e7 Introduce quick-fixes. (#3895) 2022-07-26 17:18:09 +02:00
Rubén Rincón Blanco 8916aa91cf Clear editor decorations on lang change (#3913)
This avoid errors like decorations leaking into lang changes..

Closes #1728
2022-07-26 13:13:40 +02:00
Fred Tingaud 6b6c9ff7eb Allow having an icon for the tools. (#3894) 2022-07-26 01:59:40 +02:00
Mats Larsen ddc2b4fc87 Add remaining keywords to Carbon (#3904) 2022-07-24 10:29:13 +02:00
Fred Tingaud 2e0c8c140a Add a concept of flow on ResultLines. (#3854) 2022-07-20 20:20:56 +02:00
Patrick Quist 8dc552af28 Fix gccdump (#3888) 2022-07-19 21:10:39 +02:00
Matt Godbolt 50a1eedf01 Add support for Carbon (#3885)
Add support for the Carbon language prototype.
2022-07-19 09:42:25 -05:00
Fred Tingaud 3048d92f82 Move cursor to the right position when clicking on a tag in tool outputs (#3843)
* Move cursor to the right position when clicking on a tag in tool outputs.
2022-07-18 11:39:44 -05:00
Rubén Rincón Blanco 712814f6b5 Adds way to disable executor recompilation on parameter change (#3862)
* Adds way to disable executor recompilation on parameter change

Now that this is here, maybe another toggle for tools would also be good
to have. Maybe even for the compiler itself.

And if we go that route, why not 1 for all three kind of panes?

Closes #3783

* Address PR reviews

Sometimes I wonder why I don't think of this things myself :)

* Do the state saving always
2022-07-18 14:18:22 +02:00
Rubén Rincón Blanco 9b8c738aa9 Add overwrite option to load-save localstorage (#3877)
* First draf for overwriting button in localstorage

* Fixes formatting

* Address PR review

Adds named type

* Improve Load/save UI
2022-07-18 14:18:15 +02:00
Rubén Rincón Blanco afc351f7cc Skip full version button in info pane if not needed (#3881) 2022-07-18 13:38:51 +02:00
Jeremy Rifkin 4295077b5d Re-added irButton toggle 2022-07-14 17:08:08 -04:00
Jeremy Rifkin 920449e6ad Resolved non-null assertion 2022-07-09 19:06:37 -04:00
TrMen ed4c5814ae Add the jakt programming language (#3845) 2022-07-09 17:03:23 +02:00
Fred Tingaud 3f58f1958d Make line highlight more visible in dark mode. (#3846) 2022-07-06 20:27:29 +02:00
Luca Natilla 78f477a3b0 Implement copy compiler button in conformance view (#3831) 2022-07-05 23:57:07 +01:00
Fred Tingaud e784c75799 Make URLs clickable in tools outputs. (#3829) 2022-07-05 23:56:53 +01:00