Commit Graph
550 Commits
Author SHA1 Message Date
Matt Godbolt 749319f791 Slightly more controversial bumpings (#4503)
- latest sentry, tar-stream, which, some yamljs versions
- latest eslint-* stuff
- latest webpack manifest
- Applies all the automatic fixes for newer lint rules
- Bump the webpack version

applies new tslint stuff
2022-12-28 11:42:14 -06:00
Jeremy Rifkin 1890bb9259 Update rison (#4509)
* Update rison

* Add test cases

* Prettier format
2022-12-28 09:40:18 -07:00
Patrick Quist 07236628bb minimal ts conv of llvm-ir (#4477) 2022-12-24 19:45:47 +01:00
Matt Godbolt 6348917e15 Separate shareable tool type from server ITool (#4472)
* Separate shareable tool type from server ITool

I realised we were using the "Tool" on both client and server, but the client only has the JSON-able data of Tool, not the interface/object Tool (now renamed to `ITool`).

* Fix tests
2022-12-19 22:40:27 -06:00
Matt Godbolt 00158d1ba1 TS-ify logger (#4431)
* TS-ify logger

Also redoes some pretty nasty morgan workarounds in favour of an actual real stream.

* Fix tests. and actually write some

* Formatting

* Add clarifying comment
2022-12-18 10:29:56 -05:00
Jeremy Rifkin 1294c3f949 Control flow graph tool rework (#3899)
* Removed old code

* Base functionality

* Work on edge offsets

* Setup interval trees for edges

* linter things

* Formatting

* Added syntax highlighting

* Cleanup and simplification. Improved handling of direct dropdown edges.

* Basic zoom/pan

* Remove old blocks from output

* Fix distance calculation

* Added function selector

* Improved zoom behavior

* figue 8 logic

* Canvas scaling / repainting, updated colors

* Don't truncate output, also removed some console.logs

* Tweak to zoom system

* Replaced canvas stuff with svg

* Experimenting with adding shadows to edges

* Removed shadows, was causing problems. Improved how blocks with lots of incident edges are handled.

* Slightly improved edge system

* some work on implementing segment priority system from cutter

* Optimization to rendering process. I was worried the graph layout algorithm was causing the page to hang but it turns out it was adding elements to the page with +=

* Removed need for storing the previous segment

* refactor, splitting up some logic

* Cleaned up logic and got horizontal edges working better

* Remove vis-network dependency

* Updated package-lock, removed @import vis-network css stuff, added a todo for myself

* Cleaned up notes and error messages. Added comments. Clear the pane if there's no function to display

* Added layout time information, implemented .resize

* Light theme

* State work and bug fix for dragiing

* Re-dading lost dark theme changes

* Added jquery import

* Cleaned up console.logs

* Added basic block count

* Incorporated PR review comments; Fixed cypress (hopefully), added documentation, improved the dropdown, and fixed dropdown items not being cleared with an empty result.cfg

* Ran format
2022-11-29 22:28:10 -05:00
Rubén Rincón Blanco f4d30924cd Fix error with null stderr (#4322)
* Fix error with null stderr

* Fix test
2022-11-22 15:05:37 +01:00
Matt Godbolt f276f73dab First pass at making compile.js into TS (#4313) 2022-11-22 07:27:43 -06:00
Matt Godbolt cfb3dc54c7 Sponsorship changes (#4274)
Rotate sponsors on the top of the page:
- `topIcon` -> `topIconShowEvery`
- `Sponsors` becomes an interface with methods to get levels, pick sponsors etc
- A somewhat acceptable algorithm for generating a "fair choice" of sponsors given the constraints:
  - "show at least 1 in N times"
  - don't unfairly show one sponsor more than any other at the same level
 - Sponsor icons are loaded dynamically via a "bits" handler (introducing a short delay in them appearing), but this means the index.html doesn't change on every load, so it's still cacheable
2022-11-13 10:35:39 -06:00
Patrick Quist 17a56af696 Bugfix Map usage (#4265) 2022-11-09 14:08:19 +01:00
Ofek db9b4f48b0 Add Hide metadata option to LLVM pipeline (#4243) 2022-11-06 12:22:47 -05:00
Patrick Quist 0212779a74 CC65 Binary + NES support (#4139) 2022-10-29 17:01:44 +02:00
Matt Godbolt ca0bfdf22b Support multiple sponsor descripts (#4200)
* Support multiple sponsor descripts
2022-10-26 07:33:48 -05:00
Matt GodboltandRubén Rincón Blanco c8e8a80760 Convert sponsor.js to sponsor.js, update tests to be more targeted. (#4199)
* Convert sponsor.js to sponsor.js, update tests to be more targeted.

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-10-25 18:20:16 -05:00
Mats Larsen ad5ece867a Bump jvms version to 18 and fix find-node path (#4192)
* fix: bump jvms version to 18 and fix find-node path
2022-10-24 20:28:55 -05:00
Matt Godbolt c5f50d603c Fix typing and usage of tools (#4180)
* Fix typing and usage of tools
* Fix tests and break cycle
* More improvements
2022-10-22 17:16:23 -05:00
Jeremy Rifkin 8d5d723a3f Fixed bug with the llvm pass dump viewer, split test case from the llvm ir parser code (#4170) 2022-10-19 18:03:32 -04:00
Rubén Rincón Blanco c3eee72def Sort libs based on semver (#4153) 2022-10-12 21:12:44 +02:00
Ofek aa4db15ea7 Add tests to LlvmPassDumpParser intra-line filters (#4133) 2022-10-10 15:54:03 +02:00
Rubén Rincón Blanco d104aa628f Add some support for execution line linking in non tree mode (#4080) 2022-10-01 03:50:52 +02:00
Rubén Rincón Blanco 366cd5527c Adds llvm-cov tool (#4044) 2022-09-15 08:12:27 +02:00
partouf d95147d1a3 formatting 2022-09-12 16:01:47 +02:00
Patrick Quist b567856ab2 Clspvfixes (#4050) 2022-09-12 15:56:55 +02:00
Patrick Quist e039e57b9a tsify instructionsets (#4031) 2022-09-11 05:36:47 +02:00
partouf 82130f8698 remove .orig files 2022-09-08 23:21:06 +02:00
partouf ba2c6e3eb6 fix unittests 2022-09-08 23:09:08 +02:00
Patrick Quist 8334d96bf3 tsify exec.js (#4026) 2022-09-06 20:22:28 +02:00
Jeremy Rifkin 15007d3244 Refactored the LLVM Optimization Pipeline to provide better diagnostics, added timeout indication to exec.js (#4016) 2022-09-03 01:15:21 +02:00
RabsRincon cf216d1e81 Fix eslint annotation 2022-08-05 11:28:48 +02:00
Rubén Rincón Blanco c8ce581266 Makes language logo optional in all cases (#3934) 2022-08-04 10:26:18 +02:00
Fred Tingaud 6b6c9ff7eb Allow having an icon for the tools. (#3894) 2022-07-26 01:59:40 +02:00
Patrick Quist c934dede0a Allow more ast lines while trying to keep out non-user-source (#3860) 2022-07-14 00:48:51 +02:00
Christopher Smyth a5c45b6f0b Pony Lang Config (#3855) 2022-07-10 21:58:19 +02:00
Fred Tingaud 02ef879986 Move severity parsing with the rest of the output parsing. (#3821) 2022-07-01 00:30:57 +02:00
Fred Tingaud e76115f152 Make tools output parsing overridable. (#3819) 2022-07-01 00:30:49 +02:00
Mats Larsen 540981ccef Port lib/languages.js to TypeScript (#3740) 2022-06-24 14:14:32 +02:00
Matt Godbolt 7179b8aef4 Properly async await so exceptions are processed in getVersion as one would expect (#3797) 2022-06-20 12:38:17 -05:00
Jeremy Rifkin ca7ebb4583 Updated site templates (#3767)
- Better naming of functions in existing templates
- Added LLVM Ir and Preprocessor templates
- Improved screenshot generation script
- Improved config file format (now the full URL can just be copied in instead of manually trimming the `https://godbolt.org/#`)
- Added `docs/AddingASiteTemplate.md`
2022-06-12 13:38:12 -04:00
Jeremy Rifkin 4c2fe0a5ba Site templates feature (#3747)
* Baseline for the ui

* Backend system / frontend baseline

* Automated screenshot generation / integration

* added copyright

* Style improvements

* Reworked config / integrated images into webpack

* Added tree ide template and updated the screenshot generation script

* Added screenshots for each theme

* Updated screenshots to use embed mode and hide the site header

* Added test case, removed leftover console.log

* Renamed /api/getSiteTemplates to /api/siteTemplates

* Renamed site template type
2022-06-09 16:52:45 -04:00
Mats Larsen a1d6f453e3 Assembly documentation for LLVM IR (#3737) 2022-05-31 14:47:48 +02:00
partouf bc1a2d3746 formatfix 2022-05-27 23:59:35 +02:00
partouf 7573e69fbd extra unittests to see what happens if ppl are being cheeky 2022-05-27 23:49:51 +02:00
Patrick Quist fe2687f864 allow hashes in arguments (#3726) 2022-05-27 22:51:03 +02:00
Ben Barsdell d9151b9d39 Fix unused label filter for CUDA PTX output (#3717)
- Previously this filter did not correctly identify used labels in
  CUDA PTX output, which caused it to remove important labels.
2022-05-26 13:59:16 +02:00
partouf d0b38ab86e bugfix apphome 2022-05-25 18:34:06 +02:00
Ben Barsdell f703928293 Add demangler tests for CUDA PTX (#3715) 2022-05-25 09:20:31 -05:00
Jeremy Rifkin 3d2b895e02 Support 24-bit rgb ansi sequences (#3664)
* Add 24-bit rgb color support

* Added test case for 24-bit ansi sequences
2022-05-15 01:12:43 -04:00
Jeremy Rifkin 371e8e6241 Reset stream styles between outputs (#3662) 2022-05-14 15:19:08 -04: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
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