669 Commits
Author SHA1 Message Date
Matt Godbolt 82d301d264 Fix last test 2024-03-08 21:42:42 -06:00
Matt Godbolt 1aed5a0abc Getting there 2024-03-08 21:38:32 -06:00
Matt Godbolt a9e0daa31b More conversions 2024-03-08 21:16:09 -06:00
Matt Godbolt 8cb8c11f32 More yay 2024-03-08 20:49:40 -06:00
Matt Godbolt 1eab654c04 WIP 2024-03-07 07:36:40 -06:00
Matt Godbolt f00bc6ea51 Further encromulation 2024-03-06 20:13:28 -06:00
Matt Godbolt 9c5ae33722 Yay 2024-03-05 21:35:36 -06:00
Matt Godbolt 71b4da09e5 Yay 2024-03-05 21:15:31 -06:00
Matt Godbolt 0e43d73791 Pascal tests 2024-03-05 20:49:34 -06:00
Matt Godbolt 96936cfdc4 More WIP 2024-03-05 20:31:36 -06:00
Matt Godbolt 8dcbc13e09 Merge remote-tracking branch 'origin/main' into mg/vitest 2024-03-05 20:13:12 -06:00
narpfel 10c6074073 Add digit separators to long numbers in numeric tooltip (#6221)
Long numbers are sometimes hard to read in the numeric tooltip. To
improve readability, this PR adds language-specific digit separators to
the numeric tooltip.

Decimal numbers are grouped into chunks of three digits while
hexadecimal numbers are grouped into chunks of length four.

The digit separator is language-specific and chosen so that the number
is a valid token in the source language.

[Examples](https://godbolt.org/z/s86cMbjeK):
* for C++, hovering the number `8583909746840200552` shows this tooltip:
`8'583'909'746'840'200'552 = 0x7720'2C6F'6C6C'6568 =
6.5188685003648344e+265`
* for Python, hovering the number `-12345678` shows this tooltip:
`-123_456_789 = 0xFFFF_FFFF_F8A4_32EB = -2.66427945e+34f`

For languages that don’t have a `digitSeparator` set, the tooltip is not
changed.
2024-03-05 20:11:39 -06:00
Matt Godbolt b658e25f6f Support colour background for think-cell (#6223) 2024-03-05 20:11:28 -06:00
Matt Godbolt f91032e964 yay 2024-03-05 18:19:29 -06:00
Matt Godbolt 76e533ef80 WIP 2024-03-05 08:32:32 -06:00
Matt Godbolt 9801fa9b0a Ahem 2024-03-04 22:25:57 -06:00
Matt Godbolt 9eca1c6095 Even more work! getting there 2024-03-04 22:13:20 -06:00
Matt Godbolt 5dfe1a01b6 More work 2024-03-04 21:48:16 -06:00
Matt Godbolt fc1ee84bc2 More work 2024-03-04 21:40:50 -06:00
Matt Godbolt 6dfc311c9e More work 2024-03-04 21:27:19 -06:00
Matt Godbolt f0a8bf4196 More work 2024-03-04 21:21:21 -06:00
Matt Godbolt 1b0243581a First steps towards vitest 2024-03-04 20:54:41 -06:00
Matt Godbolt 9562a6fd5b ansiiii 2024-03-03 20:32:53 -06:00
Matt Godbolt 7c8c810eed Pascal tests 2024-03-03 20:29:32 -06:00
Matt Godbolt d6d1fb31a0 It's a miracle 2024-03-03 19:19:54 -06:00
Matt Godbolt a47bd7afda opt 2024-03-03 17:43:54 -06:00
Matt Godbolt 2df913ef49 rison 2024-03-03 17:40:04 -06:00
Matt Godbolt 31a9d04518 honestly what a mistake 2024-03-03 17:32:38 -06:00
Matt Godbolt 3f32af5502 More WIP on jest 2024-03-03 16:16:02 -06:00
Marc Auberer c8f0409c25 Accept tail calls for llvm.dbg filters (#6129)
This adds support for filtering tail calls to `llvm.dbg.*` intrinsics
using the regex-based filter mechanism.
Previously, normal calls were filtered out, but tail calls are not
caught by the regex so they remained in the output.
Example with the previous state: https://play.spicelang.com/z/MGGn98
2024-02-12 21:52:45 -06:00
Patrick Quist 4605ebfb4b Add Fortran library support (#5533) 2024-02-09 23:31:05 +01:00
Patrick Quist 68efdcbd97 transform paths given through options.ldPath (#6086) 2024-02-04 16:51:46 -06:00
Matt Godbolt 01b7992ada Fix nsjail environment variables that need mapping to destination paths (#6084)
Maps env vars just like we map everything else, to catch all cases where
"app dir" is an input to jailed processes, the jailed process only sees
the "right" path (`/app/something`).

Tested locally and fixes the dot net "read only `/nosym`" thing while
keeping the `/nosym` behaviour etc
2024-02-04 13:53:50 -06:00
Matt Godbolt c26a2924fc Add more typings (#6082) 2024-02-04 13:33:19 -06:00
Matt Godbolt ba215bdc37 Support a new sponsor layout (#6063) 2024-01-29 22:16:14 -06:00
Matt Godbolt 613d7f688a Unify the way tmp dir is used (#6052)
Instead of having several globals, set via environment variables,
explicitly set the "correct" env var if passed `--tmpDir` and then
consistently use it in the rest of the program.

See @apmorton's comments in #1707
2024-01-28 18:50:46 -06:00
Matt Godbolt 24c4ef7d1c Bump timeout on packager tests to deal with flakiness 2024-01-15 18:40:36 -06:00
kevinjeon-g 2f6a7328b2 Add support for dex2oat (latest) (#5916)
Adds Dex2OatCompiler, which applies to the Android Java and Android
Kotlin languages. Dex2OatCompiler runs on .dex files output by
D8Compiler, which in turn runs on .class files output by JavaCompiler or
KotlinCompiler. A parser has been added for dex2oat optimization passes.
2024-01-15 15:15:05 -06:00
Patrick Quist 730437464d Fix semver ordering for libraries (#5959)
Fix #5951
Fix #5085

Extended the fictitious version number for non-numbers, so that trunk
can be listed higher than a `yyyymmdd` as a version (EVE uses this)
2024-01-08 22:10:25 -06:00
partouf a7c514ac6d fix unittests 2024-01-01 20:18:23 +01:00
Ofek a62c5a84b5 Fix #5889: add block-lookahead logic to processAST (#5903)
The code here assumes a top-level AST subtree can be in 3 states:
1. The header line indicates it's system code (e.g. includes `/usr`
etc.)
 2. The header line indicates it's user code (includes `<source>`)
3. The header contains no such info (typically it includes `<invalid
sloc>`)

For the 3rd case this PR looks-ahead inside the current subtree and
decides based on its contents.
This is enough to filter out `<vector>` or `<string>` contents, as
demonstrated in issue #5889 (added a test). This solution holds also for
the case from issue #3849.
2023-12-28 16:10:09 +02:00
J. Ryan Stinnett e7b22b41be Limit exec streams to max string length (#5898)
Some operations set `exec`'s `maxOutput` to a value larger than the max
string length. This change ensures we always cap output to the engine's
string limit (currently 512 MB in recent Node versions).

This also tweaks handling when reaching the string limit to ensure
adding the "truncated" message itself does not send us beyond the limit.
2023-12-23 17:54:46 -06:00
Matt GodboltandJeremy 32ddf75adc Update to ts5 (#5879)
Co-authored-by: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com>
2023-12-18 20:11:11 -06:00
J. Ryan StinnettandMatt Godbolt f0e1d5d264 Add Racket optimisation pipeline (#5836)
This adds a Racket optimisation pipeline view by reusing the existing
LLVM-focused optimisation pipeline UI. A Racket-specific pass parser
translates its output into passes for the UI to present.

This new Racket optimisation pipeline view is currently only enabled for
Racket nightly, as it depends on [recent
changes](https://github.com/racket/racket/pull/4842) to Racket's
compiler output to function.

This also extends the opt pipeline view to allow customising the
function selector label as well as the options and filters for each
compiler where needed.


![image](https://github.com/compiler-explorer/compiler-explorer/assets/279572/f540b41e-fd55-4375-bb2d-a0bb977530b3)

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2023-12-11 19:35:45 -06:00
Matt Godbolt 87e4d460df Cache AWS creds at startup and reuse (#5814)
Also errors early if we can't get them at all, and configures retries
and timeouts

Mitigation for #5813
2023-11-27 22:32:04 -06:00
Ofek c0db47487c Fix #5784 (#5793)
Fix the name of the entry block in an IR control flow graph.
2023-11-27 10:33:03 -05:00
Patrick Quist 04efa86241 Changes to support CMake for Windows (#5769) 2023-11-22 03:06:26 +01:00
partouf 72af7a5ed6 add unittest for paths 2023-11-21 14:52:09 +01:00
Ofek 31bd47909f Fix #4931 and #2218 (#5706) 2023-11-11 13:56:25 +01:00
Patrick Quist d5fd1ae3a7 Fix shared state close issue (#5725) 2023-11-10 00:13:53 +01:00