Commit Graph

10310 Commits

Author SHA1 Message Date
partouf
f5ebcce6d2 something 2025-07-15 21:27:55 +02:00
partouf
8e08cfe6ce testing with codemirror, doesnt work 2025-07-13 05:08:11 +02:00
Ofek
c2e9d61fe9 Adapt python cfg to python 3.13 (#7906)
Along with improved function names.
gh-15585
2025-07-12 18:39:00 +03:00
aabhinavg1
ef416b71ea Fix social share link colors for better readability (#7903) gh-15581 2025-07-09 09:46:51 +00:00
Mats Jun Larsen
55210745dc Infer pane state from pane constructor (#7880) gh-15577 2025-07-04 07:46:54 +00:00
woruyu
42cf30d7a6 Decouple Site Template images from template name (#7883) gh-15576 2025-07-04 06:01:20 +00:00
Matt Godbolt
b43080b1bb Latest sponsors; thank you gh-15561 2025-07-02 16:34:19 -05:00
Filippo Barbari
fd197be43b Added Intel OneAPI 2025.2.0 (#7866)
Adds Intel OneAPI 2025.2.0.527.

Related to [this
PR](https://github.com/compiler-explorer/infra/pull/1677).
gh-15560
2025-07-02 10:23:15 -05:00
Odysseas Georgoudis
8c044e8efe add quill v10.0.1 (#7877)
infra PR: 
https://github.com/compiler-explorer/infra/pull/1680
gh-15557
2025-07-01 14:50:54 -05:00
Ofek
1b1055d2cb CFG for Python (#7855) gh-15556 2025-07-01 21:49:20 +03:00
Filippo Barbari
e2bbbc16ef Fix SYCL code not finding CPU on Intel OneAPI >= 2025.0.0 (#7867) gh-15555 2025-07-01 18:45:32 +02:00
github-actions[bot]
9ffca0124b [bot] Update browsers list (#7879)
Automatic run of `npm run-update-browerslist` which needs to
 be done periodically to keep in-date.
See
[here](https://github.com/browserslist/browserslist#browsers-data-updating)
for more details.

Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
gh-15546
2025-07-01 10:06:02 +09:00
Mats Jun Larsen
4e41be977f Return the editor instance from codeEditorFactory (#7857)
I have no clue how Golden Layout ever picked this one up since the call
to `registerComponent` passes a function that returns void...
gh-15545
2025-06-30 17:09:55 -05:00
narpfel
6f128e4b97 Add missing awaits in Rust argument parser tests (#7862)
Resolves #7826.
gh-15525
2025-06-29 12:47:52 +00:00
Mats Jun Larsen
9fb8d192ed Add back toolname data attribute
I have no recollection of even touching this, but it appears to have regressed in03546bc4ef98ee95828b0d085e26af5b8b715f1b
gh-15524
2025-06-29 13:28:49 +09:00
Jeremy Rifkin
71332cde7f Add new cpptrace/libassert versions gh-15523 2025-06-28 19:02:14 -05:00
Partouf
c79cf686e6 hotfix diff view gh-15522 2025-06-28 23:15:27 +02:00
Mats Jun Larsen
03546bc4ef Conditionally render img tags for language logos (#7873) gh-15521 2025-06-28 16:33:07 +02:00
Mats Jun Larsen
09d9bff5b9 Rename C++ Cmake template to Cpp Cmake
Temporary workaround + in the filename for the image
gh-15518
2025-06-28 22:19:33 +09:00
Mats Jun Larsen
fcd1e2741b Remove extra leading slash from tool logos gh-15517 2025-06-28 22:16:31 +09:00
Mats Jun Larsen
d92de076cb Always specify full non-null paths and fix cpp image (#7871) gh-15514 2025-06-28 14:49:43 +02:00
Mats Jun Larsen
d147341663 Serve all static asset files over the CDN (#7795) gh-15511 2025-06-28 14:01:36 +02:00
Miguel Ojeda
3565d9a65f Rust 1.88.0 (#7869) gh-15508 2025-06-27 03:23:12 +00:00
narpfel
c9c8f35677 Add cursor: pointer to some clickable texts (#7863)
Before #7797, elements such as “Toggle full version output” in the
compiler version popup or the share buttons (“Short Link” etc.) would
change the cursor to a pointer on hover (like normal links do), but this
was lost when they were switched to use `link-primary`.

This PR restores the previous behaviour.
gh-15498
2025-06-25 10:54:12 +09:00
Ofek
6a0188a5ed Fix #7852: return processRawOptRemarks back to BaseCompiler (#7860)
Co-authored-by: Ofek Shilon <oshilon@speedata.io>
gh-15491
2025-06-24 07:33:53 +03:00
Ofek
273a280b73 Fix #7858: Allow for angle brackets in llvm labels (#7859)
Co-authored-by: Ofek Shilon <oshilon@speedata.io>
gh-15486
2025-06-24 06:49:54 +03:00
Mats Jun Larsen
f88cc624e5 Add back missing console.log in webpack config
Seems I accidentally deleted this in the biome pr 🤔
gh-15477
2025-06-23 16:36:13 +09:00
Matt Godbolt
577094cf11 Add vitest related to pre-commit with expensive test skipping (#7854)
## Summary
This PR improves the pre-commit hook performance by:
- Using `vitest related` to run only tests affected by changed files
- Adding ability to skip expensive tests (filter tests) during
pre-commit
- Providing a consistent mechanism for skipping expensive tests

## Changes
- Modified `lint-staged.config.mjs` to run `vitest related` with
`SKIP_EXPENSIVE_TESTS=true`
- Updated `test/filter-tests.ts` to use idiomatic `describe.skipIf()`
for conditional test execution
- Changed `test-min` script to use `SKIP_EXPENSIVE_TESTS` environment
variable instead of `--exclude`
- Updated `CLAUDE.md` with documentation about the new test workflow

## Impact
- Pre-commit hooks are now much faster as they:
  - Only run tests related to changed files
  - Skip 688 expensive filter tests
  - Use the same skipping mechanism as `npm run test-min`

## Testing
-  Verified `vitest related` correctly identifies and runs related
tests
-  Confirmed filter tests are skipped when `SKIP_EXPENSIVE_TESTS=true`
-  Tested that full test suite still runs all tests when env var is not
set
-  Pre-commit hooks work correctly with the new setup

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
gh-15472
2025-06-22 14:34:16 -05:00
Jeremy Rifkin
bb08a6042a Add option for how parents are placed in control flow layout (#7850)
This PR implements this part of the cutter graph layout algorithm:

![image](https://github.com/user-attachments/assets/134e1717-ba24-4e22-bd83-b64b5333fb96)


![image](https://github.com/user-attachments/assets/27c35f4f-73c8-487d-bb2c-cf9ac57787e8)


![image](https://github.com/user-attachments/assets/661a1afe-4e1e-42fd-8b9d-5ca38a2e8a18)
gh-15465
2025-06-22 13:55:53 -05:00
Ofek
37ae297d95 Fix #7849: Enable llvm opt-remarks for flang (#7851)
Co-authored-by: Ofek Shilon <oshilon@speedata.io>
gh-15448
2025-06-21 20:56:15 +03:00
Matt Godbolt
de31120810 Fix unhandled promise rejections in compiler and executor panes - Fixes COMPILER-EXPLORER-BY1 (#7836) gh-15441 2025-06-21 14:52:04 +02:00
Jeremy Rifkin
e58ef76a7b Fix missing call from refactor gh-15440 2025-06-21 01:32:19 -05:00
Eczbek
3f0228c222 Make library PPDT available in C (#7848)
forgot to do this
gh-15439
2025-06-21 00:53:29 -05:00
Jeremy Rifkin
c15d45dc0e Refactor graph layout system (#7847) gh-15438 2025-06-21 00:51:54 -05:00
Jeremy Rifkin
e0958c8613 Add support for demangling quoted labels (#7846)
This PR updates a dozen regular expressions related to labels and
demangling to allow quoted names which gcc trunk is now emitting:


![image](https://github.com/user-attachments/assets/efc727d1-a056-4544-8196-4276bb14fc02)


Resolves #7729
gh-15436
2025-06-20 17:33:49 -05:00
Partouf
5879253b94 hotfix miracle url has changed gh-15417 2025-06-20 17:27:15 +02:00
Patrick Quist
b5e7219baa Add dedicated PTX assembly parser to fix directive filtering (#7839) gh-15416 2025-06-20 14:46:24 +02:00
Patrick Quist
d0da32c241 Refactor artifact handling into shared ArtifactHandler class (#7825) gh-15405 2025-06-20 12:00:01 +02:00
Jiawei
d10e5fbc6a Update GNU as version into 2.44 when using gcc 15.1. (#7814) gh-15404 2025-06-20 11:54:29 +02:00
Eczbek
f84540a6b2 Add library PPDT (#7835) gh-15399 2025-06-20 11:03:00 +02:00
Patrick Quist
4069bf3b3e Fix/msvc lib debug release naming (#7840) gh-15391 2025-06-19 23:15:55 +02:00
Matt Godbolt
c1bee5428a Fix EBADF error in HeaptrackWrapper (#7817)
## Summary
- Fixes EBADF error in HeaptrackWrapper by removing redundant file
descriptor close operation
- The net.Socket takes ownership of the FD and closes it during cleanup,
making manual close unnecessary and dangerous

## Root Cause Analysis
The issue occurred in `lib/runtime-tools/heaptrack-wrapper.ts:133` where
the code attempted to manually close a file descriptor that was already
owned by a `net.Socket`. When creating a socket with `new
net.Socket({fd: fd})`, the socket takes ownership of the file descriptor
and closes it during cleanup operations like `resetAndDestroy()`.

Attempting to close the FD again results in:
1. EBADF errors when the FD hasn't been recycled
2. Potentially closing a different resource if the FD has been recycled
by the OS

## Solution
Removed the manual `oldfs.close(fd)` call since the socket handles FD
cleanup automatically. This prevents both the EBADF error and the more
dangerous scenario of closing recycled file descriptors.

## Verification
Created tests to verify that `net.Socket` takes ownership of file
descriptors:
```javascript
// Test confirms that after socket.destroy(), the FD is no longer valid
const fd = fs.openSync(pipePath, O_RDWR | O_NONBLOCK);
const socket = new net.Socket({ fd: fd, readable: true, writable: true });
socket.destroy();
// fs.fstatSync(fd) throws EBADF - confirming FD was closed by socket
```

## Test Plan
- [x] TypeScript compilation passes
- [x] Minimal test suite passes
- [x] Pre-commit hooks pass
- [x] Created unit test to verify net.Socket FD ownership behavior

Fixes COMPILER-EXPLORER-EA7

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
gh-15380
2025-06-19 13:54:41 -05:00
Matt Godbolt
b5ba11a58a Aarch64 config fixes (#7841)
- removes config for firejail (unused, and doesn't exist on aarch64)
- copies execution config to aarch64prod, aarch64staging (as that's the
path that is looked for by the environment)
- unifies c and c++ aarch64 config to "supportBinary" for aarch64
compilers
gh-15379
2025-06-19 13:37:56 -05:00
Matt Godbolt
23fad10939 Unit testing the frontend (#7829)
This adds some unit tests for the front end.

- configures "frontend tests" as a unit tests in `static/tests`,
removing the old cypress-requiring "unit" tests
- hack enough of a DOM  to get things working
- port motd and id tests
- *adds* a golden layout checks  (see #7807)
- Updates READMEs etc

---------

Co-authored-by: Claude <noreply@anthropic.com>
gh-15377
2025-06-19 08:46:57 -05:00
Patrick Quist
02b4aa9f02 Fix MSVC library naming for debug/release modes (#7838) gh-15367 2025-06-19 10:40:07 +02:00
Partouf
2f5c9dbe94 fix share link color gh-15359 2025-06-19 08:02:50 +02:00
Patrick Quist
a01104840d Add CopperSpice GUI support with automatic Xcb plugin deployment (#7822) gh-15358 2025-06-19 07:04:37 +02:00
Matt Godbolt
81f811b87f Fix Monaco Editor error filtering using ignoreErrors - Fixes COMPILER-EXPLORER-CGQ
Root cause: Source mapping happens AFTER beforeSend/ignoreErrors processing, so
frame.filename contains minified bundle paths, not readable source paths.

Changes:
- Add 'Canceled' to ignoreErrors array for clipboard cancellation errors
- Remove frame-based clipboard filtering (doesn't work with minified code)
- Add comprehensive comments explaining source mapping timing issue
- Keep hit testing filter using error message content (works with minified code)
- Document that frame-based filtering is unreliable for Monaco errors

This should finally stop the 20k+ COMPILER-EXPLORER-CGQ clipboard cancellation errors.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-15355
2025-06-18 22:59:23 -05:00
Matt Godbolt
72e293c990 Add temporary debugging for clipboard cancellation filter
Adds Sentry debugging to capture actual runtime filter data including:
- Error value and type received by filter
- Frame filenames array
- Boolean results of hasClipboardFrame and isCancellationError checks
- Whether filter should have triggered

This will help identify why the filter isn't working despite appearing correct.
Will be removed once issue is identified.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gh-15353
2025-06-18 22:32:55 -05:00
Mats Jun Larsen
0e0ecd72df Give a proper type to .pug files on the client (#7828) gh-15350 2025-06-19 03:06:24 +00:00