1698 Commits
Author SHA1 Message Date
Juan JoséandMats Larsen 86c6deacd5 Make Clang parser logic shorter (#3692)
Co-authored-by: Mats Larsen <me@supergrecko.com>
2022-05-20 16:15:03 +02:00
Juan José c9b2b81967 style: prefer built-in Array#find() over lodash lib (#3693)
prefer built-in `Array#find()` over lodash lib in
`lib/toolchain-utils.js` file
2022-05-20 08:06:14 -05:00
Rubén Rincón Blanco f64c7530de Have a way to disable asm docs if needed (#3667) 2022-05-15 03:13:48 +02:00
Patrick Quist f83e184623 Minimal version of externalparser asm-parser (#3278) 2022-05-14 18:56:57 +02:00
partouf 69fb396cd7 better logging for when objdump or c++filt is missing 2022-05-14 18:49:35 +02:00
Patrick Quist 67714e53ac Dosbox + Turbo C 2.01 support (#3627) 2022-05-13 01:18:03 +02:00
partouf 75b1c19197 formatfixes 2022-05-12 17:05:07 +02:00
partouf bb8f3b8c9a Merge branches 'bbcmicrothings' and 'main' of https://github.com/compiler-explorer/compiler-explorer into main 2022-05-12 16:54:43 +02:00
Rubén Rincón Blanco e937c7e1f9 Add semver check for ast dump in iscp (#3652)
* Add semver check for ast dump in iscp
Closes #3648

* Fix ast options

* Fix ast options x2
2022-05-12 15:40:58 +02:00
RabsRincon 723f23e73a Add missing ts and sol logos 2022-05-12 04:07:24 +02:00
Rubén Rincón Blanco 5087a9ec0d Add icons to languages in dropdown (#3298) 2022-05-12 03:53:40 +02:00
Rubén Rincón Blanco 0c2070aa85 Renable license checks (#3619)
* Renable license checks

* Set correct copyright date for unfurl-tests

* Fix small typo

* Fix license check line spacing

* Disable license check

* Go to old format for gcc dump view
2022-05-12 03:18:42 +02:00
partouf cb7a772e4a Merge remote-tracking branch 'origin/main' into bbcmicrothings 2022-05-11 16:51:37 +02:00
Matt Godbolt f2c1e0bd31 The Grand Reformat (#3643)
* The Grand Reformat

- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
2022-05-09 23:13:50 -05:00
Jeremy Rifkin 7e7dd0ff37 Fix for #3637 (#3638) 2022-05-09 13:17:47 -04:00
Patrick Quist e984c9ab3d Option to load a custom popular arguments json from disk (#3597) 2022-05-06 19:05:24 +02:00
Rubén Rincón Blanco f19bebcf4f Add 405 handlers for API endpoints (#3620) 2022-05-06 18:56:33 +02:00
RabsRincon 9d9b62eab6 Normalize license header 2022-05-04 18:22:13 +02:00
Ofek 29b6e4a462 Fix #3275 : move from compiler-opt-info to compiler-opt-info2 (#3615)
* Fix #3275 : move from compiler-opt-info to compiler-opt-info2

* Add OfekShilon to contributors

* Migrate llvm opt-info processing from a lib inside CE

* Add MIT license text to new file
2022-05-04 18:16:34 +02:00
A S E d4cd96eb26 Add GHC Core and Cmm views #3571 (#3593) 2022-05-04 14:28:49 +02:00
Matt Godbolt 19ddc3384e Port cache code to Typescript (#3605)
* Port cache subsystem to typescript
* Extract an interface class
* Use async for s3 cache; add tests for failure case
2022-05-02 15:19:13 -05:00
Headline d68cc806b1 Automatically detect Java entry points (#3614) 2022-05-02 17:30:01 +02:00
Patrick Quist 2f56da5f92 lintfix 2022-04-30 17:46:05 +02:00
Patrick Quist fa9a274828 Clang force dwarf4 (#3604)
* this works, but args are hidden for user

* moved to optionsforfilter so user can see the parameter
2022-04-29 14:12:52 -05:00
Matt Godbolt 9b494f0d06 Move cache logging into a place where we have the key (#3606) 2022-04-29 14:10:50 -05:00
Matt Godbolt de161fd62d Log the hash of compiler cache accesses 2022-04-28 15:52:02 -05:00
Matt Godbolt 58337bb5bf Improvements to policy handling (#3595)
* Use webpack loaders to generate both the pug output and the SHA256 hash of it
* Uniformly use pug for HTML templating
* Policy hashes are entirely client-side
* No longer need to have the policy documents available to the server side
2022-04-28 15:19:06 -05:00
A S E 943af8f831 add a view for Haskell STG intermediary output #3571 (#3585) 2022-04-28 09:53:11 -05:00
Matt Godbolt 5ae6b304e4 Pre-compile typescript in releases (#3570)
* build the release in-place in out/dist
* run the tsc compiler on the code so everything is pre-transpiled
* serve the various generated html snippets uniformly from the web page so they come from one place.
2022-04-27 16:24:50 -05:00
Matt Godbolt 551a0be7ad Optionally log the compiler cache keys and accesses (#3583) 2022-04-27 10:24:04 -05:00
RabsRincon 154c18a40e Add noImplicitOverride to tsc config 2022-04-27 07:37:11 +02:00
Matt Godbolt 09df855cdb Handle missing asm information (#3569) 2022-04-26 13:32:42 -05:00
Matt Godbolt 7bb57642a3 Lint fixes 2022-04-26 09:24:37 -05:00
RabsRincon 5e5ee98be7 Fix 4 year old compiler ordering bug 2022-04-26 16:16:01 +02:00
Rubén Rincón Blanco 4965bd6c81 All semver comparisons now ensure it's safe to do so (#3562)
* All semver comparisons now ensure it's safe to do so

* Oops, use correct class

* Remove leftover import

* Leave the Zig fixes for another PR

* Fix linter

* Fix test issues

* Make linter happy, yet again

* What?

* Address PR review
2022-04-26 15:24:40 +02:00
Matt Godbolt aa65eb5e59 Merge branch 'main' into rr/comma-dangle 2022-04-26 07:19:02 -05:00
Matt Godbolt f77dd84690 Async WINE setup (#3558) 2022-04-26 07:09:37 -05:00
RabsRincon 40fe769459 Set comma-dangle to always in server code and es5 in client code 2022-04-26 05:26:48 +02:00
Anders-T | 0x80.eth fb35d64a92 Fix Solidity compilers and line numbers in versions 0.4.x - 0.8.x (#3561)
* fixing compilers 0.4.x - 0.8.x

* update contributors file
2022-04-26 04:20:13 +02:00
Matt Godbolt 21b764f392 Unify comma configuration; and apply format to some files. (#3559) 2022-04-25 18:22:11 -05:00
Matt Godbolt d35e98f7b9 Throw on bad mtime (#3556)
* Throw on bad mtime

Closes #3555 (thanks @Callum-Shipton)
2022-04-25 15:48:14 -05:00
Matt Godbolt d801f03641 Defer running buildenv stuff (#3550)
* compiler cache is keyed off of compiler's `mtime`
* `mtime` isn't set until `initialise()`
* buildenv was running stuff ahead of that, and so
  was being cached with a `null` `mtime`
* introduces a new `initialise()` call for `buildenv`
* now `throw` on trying to use compiler cache before
  mtime is set
2022-04-25 10:04:16 -05:00
Anders-T | 0x80.eth aa78a5ff17 Map solidity EVM assembly to lines of code (#3545)
* taking a snapshot of progress so far - generated sources are getting processed, and some fairly basic asm line assigning, but needs a second pass to rectify the issue of an asm instruction being attributed to multiple lines of code

* fixed silly bug in instruction line thing

* giving tags in generated sources human readable names

* generate human friendly tag names for tags in non-generated code, using AST to figure out which function we're in

* restoring most of the original formatting, and got constructor etc working too

* fixing linting errors

* add some comments
2022-04-24 02:18:35 +02:00
RabsRincon 1175b39179 Fix some ast types 2022-04-23 23:50:51 +02:00
Jeremy Rifkin 16b071b9f0 Updated x86 docenizer to read adjacent tables (#3541)
* Updated x86 docenizer to read adjacent tables

* Added regression test
2022-04-23 22:04:09 +02:00
Mats Larsen ef8f36df4c Convert lib/sources to TypeScript (#3526) 2022-04-18 16:48:00 +02:00
Alexey ShekhirinandRubén Rincón Blanco 2001d1b65e Add support for Solidity (#3507)
* feat(compilers): Solidity support MVP

* don't concat userOptions in optionsForFilter

* fixes after review

* Update etc/config/solidity.defaults.properties

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

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-04-14 02:33:13 +02:00
Patrick Quist 17c01cf349 Fix for msvc library issue (#3501)
* fetch remote libraries on startup and put into client-options
* support remote libs in executor and conformanceview
2022-04-09 17:09:13 -05:00
Matt Godbolt 0487027dc0 Reorder user args first (#3496)
Rationale is "user args", filename, then autogenerated.
Closes #3492. Hopefully doesn't introduce another issue.
2022-04-04 21:55:28 -05:00
Patrick Quist 569df66502 bugfix library matching icx (#3484) 2022-04-02 16:47:06 -05:00