Commit Graph
32 Commits
Author SHA1 Message Date
Rubén Rincón Blanco f7d77bd07e Modify the path include guard to fix some false-positives (#3083)
Closes #3045
2021-11-21 13:45:50 +01:00
Austin Morton dc49b67741 Fix sinon lint warnings in tests 2021-10-03 14:16:57 -04:00
Rubén Rincón Blanco b87f8569e3 Make linter happy 2021-08-28 20:10:51 +02:00
RabsRincon d562ae0376 Add test for forcedVersion flag 2021-08-28 19:28:03 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Matt Godbolt a6eef13562 Support an executionWrapper per compiler. CC @jfalcou 2021-06-27 17:09:30 -05:00
Jessica Clarke af686e81f7 Support ELF Tool Chain and LLVM objdump (#2538)
* Remove redundant implementations of objdump function

* Add support for ELF Tool Chain and LLVM objdump

Only binutils supports --insn-width and LLVM uses --x86-asm-syntax=intel
rather than -M intel. The default remains binutils.
2021-04-01 08:34:07 -05:00
Patrick Quist c0a45e754c Add CMake API (#2509)
And multifile support. No UI support.
2021-03-22 22:59:03 +01:00
partouf f227c75f5b bugfix arch detection 2021-03-22 20:24:51 +00:00
Patrick Quist 29236dd92c Attempt at refactoring to better separate ldpaths and libpaths (#2452)
* attempt at refactoring to better separate ldpaths and libpaths

* fix doc

* fix doc

* bugfix win32 libpaths

* add ldPath to getVersion query environment
2021-03-05 22:40:18 +01:00
Partouf 56e64c1faf fix compiler.options splitting 2021-03-04 22:08:42 +01:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Austin Morton 3c4aa76707 Replace demanglerClassFile with demanglerType (#2225) 2020-09-23 05:34:30 -04:00
Patrick Quist 837fc3cd00 Filter compilers in execution panel (#2181)
* basic supportsExecute filter

* dont mess up existing compiler selections

* dont execute if the compiler doesn't support it, do try to build still

* disable execute for clang arm compilers

* require at least 1 supportsExecute before default adding and selecting anything

* gcc 1.27 dont execute

* get rid of -Wl,-rpath error message
2020-09-04 21:28:14 +02:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
Austin Morton cadbdf59ff Switch to p-queue package, implement compilationEnvTimeoutMs, and improve temp cleanup logging (#1877)
These changes are an attempt to help diagnose a queue halting issue that decreases parallelism and prevents temp dir cleanup.

see #1875
2020-03-07 01:50:49 -05:00
Austin Morton 1b7fe24990 Perform some general maintenance on the test suite (#1840) 2020-02-18 00:03:15 -05:00
Matt Godbolt 0139382b09 Asyncify opt, add test 2020-01-20 08:26:33 -06:00
Matt Godbolt b5fa4e8453 Fix objdump break. Adds test. Closes #1766 2020-01-07 18:16:02 -06:00
Matt Godbolt 3914aee49a Async-i-fy the compiler (#1708)
Async-ify base-compiler

* Adds async to a number of methods
* Breaks 'compile' into a few smaller methods for readability
* Remove a few (seemingly!) unnecessary `Promise.all([x])`
2019-12-31 10:17:25 -06:00
Matt Godbolt 155343e986 Fix minor test failure after merge 2019-12-09 21:18:14 -06:00
Matt Godbolt 8c086301c6 Merge pull request #1699 from csordasmarton/jmp_to_labels
Jump to labels in assembly
2019-12-09 21:13:27 -06:00
Matt Godbolt f1ee4abdee Ondra's legendary support is in memoriam Jaroslav Křivánek. 2019-12-04 09:31:06 -06:00
Márton Csordás 0599c80d59 Update test cases with asm labels
Update test cases to check the parsed asm labels in the lines.
2019-12-01 21:59:31 +01:00
Matt Godbolt 9f055b1294 Execution tests 2019-11-26 21:59:28 -06:00
Matt Godbolt 4db488ce96 More compiler tests 2019-11-26 21:24:11 -06:00
Matt Godbolt cc53be6784 Add an initial execution test 2019-11-25 08:14:04 -06:00
Marc Poulhiès af5c5d4ded Better match gcc compilers
Allows for `foo-bar-gcc` & friends to match with gcc familly.
Unlocks graph display with compilers others than native ones.
2019-02-22 14:28:18 +01:00
Rubén 1a33902997 Merge compilerProps functions to a general case one (#956)
* Merge both compilerProps functions to general case

* Move compilerProps to lib/properties.js

It's now its own class, which takes a languages object + the ceProps
function to calMove compilerProps to lib/properties.js

* Add compilerProps behvaiour tests

* Add unknown language test
2018-06-19 10:09:44 +02:00
RabsRincon 499fa7d6ba Add initial compiler-finder test 2018-04-21 03:42:21 +02:00
RabsRincon 1d9d1be815 Fix copyright header 2018-04-21 03:02:22 +02:00
RabsRincon 281d139639 Add base-compiler test file 2018-04-21 02:56:56 +02:00