7938 Commits
Author SHA1 Message Date
Jeremy Rifkin 164f9ab7f6 Add a boundary check for the compiler context menu handler gh-6830 2023-03-12 23:39:29 -06:00
Jeremy Rifkin ca4ab7148b Give an error when no editor language is specified (#4864)
Following discussion at #4817 and with partouf/matt. An editor's
state.lang being undefined should probably always be an error since
it'll be susceptible to the same default language shenanigans.

Closes #4817
gh-6821
2023-03-12 19:40:12 -04:00
Matt Godbolt 515c130300 Make bracket colourisation configurable. (#4863)
See microsoft/monaco-editor#3013 for ways this can be improved in future
gh-6817
2023-03-12 16:25:34 -05:00
Jeremy Rifkin e4853d44f3 Fix /clientstate/ 404 bug (#4850)
Fixes #4844
gh-6812
2023-03-12 17:09:35 -04:00
Jeremy Rifkin 6b31ec8baf Address lzstring decompress failure (#4859)
Fixes #4555. Might also address #4817.
gh-6811
2023-03-12 17:09:17 -04:00
Jeremy RifkinandMatt Godbolt 55dc09017e Compiler Picker UI Improvements (#4849)
Alrighty, round 2!

This PR makes the compiler picker dropdown taller (max height is to the
bottom of the screen)

![image](https://user-images.githubusercontent.com/51220084/224517409-17706ba6-fe85-444a-ad3b-f244f66eea5b.png)

I've added a toolbar button for opening the popout as well as a button
when the dropdown is open:


![image](https://user-images.githubusercontent.com/51220084/224517304-6478fca5-7bc1-4f87-b2ae-e9091d7d48bc.png)

![image](https://user-images.githubusercontent.com/51220084/224517317-83468805-1e9d-4bc6-8a4f-8786325f1e7b.png)

Then the modal interface allows text searching, filtering by compiler
category, and filtering by compiler instruction set. In the future I'd
like to replace the instructionSet property with an architecture
property so the filtering here can be a little better.


![image](https://user-images.githubusercontent.com/51220084/224517348-9cf40866-c5af-4274-84ba-21eb640ab2ea.png)

Demo of the category filtering:


![image](https://user-images.githubusercontent.com/51220084/224517529-5370b3f9-9ad3-4340-838a-b2d0a47c7467.png)

The text filtering highlights results the same as tomselect does:


![image](https://user-images.githubusercontent.com/51220084/224517490-d0dfa6d0-9b61-4be4-8cc7-ca4a4729a532.png)

I moved the favorites permanently to their own column so compilers
aren't jarringly shifted around the screen when favoriting /
unfavoriting.

Also added media queries so the modal looks ok on smaller screens:


![image](https://user-images.githubusercontent.com/51220084/224517563-bdf409c1-7e3a-4c73-812b-f02179b55799.png)


![image](https://user-images.githubusercontent.com/51220084/224517574-07fa2c8b-67d2-496d-9174-b1343e22bd62.png)

I think the only other two changes from the first PR are now the active
compiler is highlighted like it is in the tomselect dropdown and I
figured out how to reliably focus the search bar on modal open. (Oh, and
now clicking a compiler actually does something!)

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-6810
2023-03-12 17:07:44 -04:00
Matt Godbolt d319b25a61 Remove gnucobol 1.1 as it's currently failing to build gh-6809 2023-03-12 16:07:22 -05:00
Simon Sobisch 7408317a13 Update cobol.amazon.properties (#4856)
add stable versions, prefer stable over pre-release by using last stable
as default

Note: GnuCOBOL 1.1 is actually GPLv2+ while the newer ones are GPLv3+.

Should the license identifier be adjusted?
In any case - maybe the license URL should point to
https://www.gnu.org/licenses/gpl-3.0?
gh-6806
2023-03-12 16:04:52 -05:00
Jeremy Rifkin bbabd514a5 Update error alert styling (#4860)
![image](https://user-images.githubusercontent.com/51220084/224565888-e0b98abf-6e1c-4914-8695-b31a2275b364.png)
gh-6805
2023-03-12 17:03:36 -04:00
Simon Sobisch 9b95ca84a8 GnuCOBOL: allow use of default copybooks (#4858)
Fair warning: this was just edited online, I've no clue if this works
(or at least still compiles)
gh-6800
2023-03-12 15:47:01 -05:00
Matt Godbolt 5980ecc730 Oops gh-6795 2023-03-12 15:17:09 -05:00
Matt Godbolt 7b9a4c93fc Hopefully fix lint-staged gh-6794 2023-03-12 15:12:16 -05:00
Matt Godbolt ce2098951d Bump eslint-formatter-github in the hope of fixing some whinges gh-6787 2023-03-12 14:37:31 -05:00
Matt Godbolt 14eb2b0802 Bump to latest LRU library and use new clear() method (#4852)
Tested locally; read release notes, all seems good.
gh-6767
2023-03-12 12:58:52 -05:00
Matt Godbolt 82b1ca9cce Bump to latest monaco (#4854)
Fixes #4355
gh-6766
2023-03-12 12:58:22 -05:00
Matt Godbolt 3461db6c19 Bump all minor versions - npm update; also bump webpack version speculatively... (#4851)
also npm lint and format to make sure any changes turn up.
gh-6756
2023-03-12 11:29:57 -05:00
Matt Godbolt 1151b9034e Merge branch 'wxwisiasdf-cobol2' gh-6751 2023-03-12 10:59:34 -05:00
Matt Godbolt 02985b15cf Bad merge 2023-03-12 10:58:57 -05:00
Matt Godbolt 64acc14872 Merge remote-tracking branch 'origin/main' into wxwisiasdf-cobol2 2023-03-12 10:57:47 -05:00
Matt Godbolt e10350d9ef Rename cobol-> gnucobol and fix up relocation 2023-03-12 10:55:13 -05:00
Matt Godbolt a7eb63687d Add link to mastodon gh-6747 2023-03-11 19:07:29 -06:00
kasperk81 610658c0b7 rename jit option for dotnet 8 (#4821) gh-6737 2023-03-11 16:07:53 -06:00
kasperk81 186376d439 fix vb langversion (#4847)
vb only supports latest, preview is invalid

<img width="943" alt="image"
src="https://user-images.githubusercontent.com/83082615/224477573-1dc365de-e7be-44be-bac0-5e485c7d240e.png">
gh-6736
2023-03-11 16:06:17 -06:00
Matt Godbolt e4d50f4dcf Hide sonar in execution environment 2023-03-11 14:18:04 -06:00
Matt Godbolt d924f16904 Cache S3Bucket clients by region (#4845)
I hope it's OK to reuse the same client for multiple in-flight requests,
as effectively this means we'll have one client only. I'm pretty sure
we're effectively doing this already in the cache where multiple
in-flight requests from users will be served from the one cache's S3
client, but couldn't find any documentation about this.
2023-03-11 14:18:04 -06:00
Miguel Ojeda edebbb0951 Rust 1.68.0 (#4842)
Infra: https://github.com/compiler-explorer/infra/pull/961.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-03-11 14:18:04 -06:00
Fred Tingaud 69c7fb4424 Add a tool with Sonar C++ analysis. (#4837)
This is a preview of the static analysis capabilities of the Sonar C++ analyzer. See https://www.sonarsource.com/ for more information.
2023-03-11 14:18:04 -06:00
Patrick Quist ce844dc57e Pass compiler options to cmake (#4829) 2023-03-11 14:18:04 -06:00
Ben Barsdell 18a29581dc Fix and update NVRTC compiler (#4804)
The recent change to the way NVCC compilation is handled broke support
for NVRTC. NVRTC can only compile device code, so the host-compilation
approach now used for NVCC (using --keep) is incompatible.

This PR gives the NVRTC compiler its own class and restores the old
behavior. The class is a copy of the old NvccCompiler class, with minor
updates to match the code in the new NvccCompiler class where possible
(plus TypeScript).

This PR also removes NVRTC from `cuda.gpu.properties` (because its
output cannot be executed), and updates the list of versions to match
NVCC.

cc @jrhemstad @trxcllnt
2023-03-11 14:18:04 -06:00
Matt Godbolt 231ac3a38d Upgrade LRU-Cache (#4833)
- rephrase a few LRUs in terms of the new API
- add `okToCache` to the `CompilationResult` to make typing more correct
(I _think_)
2023-03-11 14:18:04 -06:00
Matt Godbolt 775fabb2cb Format fixes 2023-03-11 14:18:04 -06:00
Quinton Miller 90ff501e49 Update Crystal 1.7.0 -> 1.7.3 (#4828) 2023-03-11 14:18:04 -06:00
Patrick Quist 8f118a22c3 Add default cmake arg (#4830) 2023-03-11 14:18:04 -06:00
Matt Godbolt f294296a58 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-11 14:18:04 -06:00
Matt Godbolt 97cf37b6aa npm format 2023-03-11 14:18:04 -06:00
Matt Godbolt 6e7976c6eb Fix static file serving 2023-03-11 14:18:03 -06:00
Matt Godbolt 9666e5bed7 Update all non-critical packages (#4824)
eslint, nopt, url-join and sinon. All seem OK and nothing scary in
release notes.
2023-03-11 14:18:03 -06:00
Patrick Quist ab692e4e40 fix z88dk asm (#4751) 2023-03-11 14:18:03 -06:00
Jeremy Rifkin 8cb2e22605 More work needed, thanks for the comments Ruben and Matt! :)
Revert "Compiler picker UI improvements (#4789)"

This reverts commit d4a8c2bdb2.
2023-03-11 14:18:03 -06:00
Jeremy Rifkin a8d01f0cc2 Finished collecting metrics -- Revert "Temporarily collect metrics on job time and queue time (#4790)"
This reverts commit 5fee0e24a6.
2023-03-11 14:18:03 -06:00
Matt Godbolt eaa6bf7e58 Update the webpack-related things (#4823)
Move the magical webpack things to the latest, and handle the seemingly
minimal changes needed (ran locally both with `make` and `make dev`)
2023-03-11 14:18:03 -06:00
Matt Godbolt 027cb5669f Minor npm updates 2023-03-11 14:18:03 -06:00
Matt Godbolt 34ad5f70af Latest sponsors. You're all awesome 2023-03-11 14:18:03 -06:00
Rubén Rincón Blanco dd6e669beb Add name to binary tools error response (#4798) 2023-03-11 14:18:03 -06:00
Jeremy Rifkin 46a4d6e0f8 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-11 14:18:03 -06:00
Arc_G a0a9d53782 added Grafana Stats page to other-menu (#4819)
Added Stats page to the "other" dropdown menu on the homepage. This closes #4812.
2023-03-11 14:18:03 -06:00
Matt Godbolt 9644863f87 Run local instances with the right settings in the IDE 2023-03-11 14:18:03 -06:00
Matt Godbolt 57ecaaa681 Set the default mocha test runner to use the ts-node/esm loader 2023-03-11 14:18:03 -06:00
kasperk81 1d42172af1 update dotnet versions (#4799)
adding new versions without hiding the old ones. when we will reach
about 10+ versions, then we can hide the oldest ones (.hidden=true) to
keep the permalinks. right now there is no point in hiding few months
old versions as the dropdown is pretty much empty
2023-03-11 14:18:03 -06:00
Matt Godbolt 5c45f31cd1 Update to yaml and drop some unneeded deps (#4811)
Also add some tests
2023-03-11 14:18:03 -06:00