242 Commits
Author SHA1 Message Date
Matt Godbolt 2bbc7de866 Minor version bumps 2022-12-30 08:03:14 -06:00
Jeremy Rifkin aaf13f6e47 Try to address an unhandled exception that's crashing instances (#4519)
* Try to address an unhandled exception that's crashing instances

* Quick amendment
2022-12-29 17:14:22 -07:00
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 92b17d203d Tsify lib/shorteners (#4504)
* Convert lib/shorteners to ts

* Improved types
2022-12-28 10:18:37 -07:00
Matt Godbolt b497dca512 Hopefully uncontroversial bumpings (#4502)
* Bump monaco-vim
* Bump typescript things
* Update other easily updated things
2022-12-27 17:45:57 -06:00
Matt Godbolt 640ab3197a Bump to latest webpack because why not (#4500) 2022-12-27 15:59:55 -06:00
Matt Godbolt d94eb203c1 Add lint rule for unused imports, and fix (#4476) 2022-12-20 15:51:39 -06:00
Jeremy Rifkin 5ee5386678 Upgrade and audit npm packages (#4457)
* Upgrade and audit npm packages

* Go back to mocha 8.4.0

* Fix build, update for new api
2022-12-18 12:53:17 -05:00
Jeremy Rifkin ce5d673078 Fix #4444 (#4453) 2022-12-18 10:30:38 -05:00
Jeremy Rifkin 10ba9a10cd Add svg exports for cfgs (#4424)
* Added svg exports for cfgs

* Quick refactor

* Fix background colorfor chrome exports
2022-12-12 18:22:26 -05:00
Matt Godbolt 6d4af9744e Bump all minor versions - npm update (#4374) 2022-11-30 19:20:18 -06: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
Matt Godbolt f276f73dab First pass at making compile.js into TS (#4313) 2022-11-22 07:27:43 -06:00
dependabot[bot] 3734c2c11c Bump loader-utils from 2.0.3 to 2.0.4 (#4302)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 07:20:26 +01:00
dependabot[bot] e380142b45 Bump loader-utils from 2.0.2 to 2.0.3 (#4258) 2022-11-12 09:05:51 +01:00
github-actions[bot]andCompiler Explorer Bot baccc68695 Automated checkin - update browsers list (#4219)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-10-31 20:43:20 -05:00
Matt Godbolt 7aa3b2c70a npm audit fix 2022-10-22 14:03:20 -05:00
ddafb32feb Try to fix main (#4173)
* Fix Editor not being able to load full links
* Better type for this.filename in compiler.ts
* Updates editor.ts and improves compilation types
* Fix some of the type issues, lots still remain
* fixes to language selection & refactoring of hub and some inits
* fix flow of events
* Fix llvm opt handling (cc @jeremy-rifkin)

Co-authored-by: partouf <partouf@gmail.com>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-10-22 13:59:51 -05:00
github-actions[bot]andCompiler Explorer Bot 21c2a1dee3 Automated checkin - update browsers list (#4102)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-10-01 03:04:51 +02:00
github-actions[bot]andCompiler Explorer Bot a14d3f2964 Automated checkin - update browsers list (#4009)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-09-01 11:42:41 +02:00
github-actions[bot]andCompiler Explorer Bot 61b55e2eef Automated checkin - update browsers list (#3933)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-08-01 11:38:45 +02:00
Patrick Quist 9b65532be9 more explicit that path-browserify should be used (#3901) 2022-07-28 23:33:58 +02:00
Matt Godbolt 5fd0733abd npm upgrade (#3880) 2022-07-18 06:19:38 -05:00
Mats Larsen 18160be477 Use eslint-plugin-prettier to fix and check formatting problems (#3847) 2022-07-12 22:56:03 +02:00
Matt Godbolt fb1507a923 Bump to latest typesecript just because 2022-07-02 15:18:56 -05:00
Matt Godbolt 9c622bd130 Upgrade (#3830) 2022-07-01 17:12:15 -05:00
Matt Godbolt 5251595607 Freshen some deps (#3827) 2022-07-01 08:39:24 -05:00
github-actions[bot]andCompiler Explorer Bot 4e9ee25773 Automated checkin - update browsers list (#3824)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-07-01 02:10:41 +02:00
Jeremy Rifkin ed1a4e6b27 LLVM Optimization Pass Viewer (#3769) 2022-07-01 01:53:02 +02:00
Mats Larsen 0ac73d01c5 Port lib/packager.js to TypeScript (#3800) 2022-06-24 14:03:19 +02:00
dependabot[bot] 251e98739b Bump protobufjs from 6.11.2 to 6.11.3 (#3749)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 12:40:44 +02:00
github-actions[bot]andCompiler Explorer Bot 6f1d5599a6 Automated checkin - update browsers list (#3743)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-06-01 11:14:28 +02:00
Jeremy Rifkin 4fc7fb1a8f Update vim keybinds (#3694) 2022-05-20 12:57:43 +02:00
Matt Godboltandpartouf 31104f3230 Use our own fork of approvals to fix a bunch of security warnings. (#3651)
* Use our own fork of approvals to fix a bunch of security warnings.
* use node 16

Co-authored-by: partouf <partouf@gmail.com>
2022-05-13 07:44:29 -05:00
Matt Godbolt df14b0da55 npm updates (#3640)
* npm update
2022-05-09 08:20:02 -05: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
github-actions[bot]andCompiler Explorer Bot a5e314aa5c [bot] Update browsers list (#3613)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-05-01 12:27:42 +02: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
Matt Godbolt 7828576a5b Reverts the reversion of the "make" being more prod-like, and fixes it. (#3591)
* Use webpack to autogenerate the files.

That way, we always generate them consistently, be it through
`make` or building for prod. This fixes the `make` issue, and also
means we've further unified the way we build and run with `make`
vs prod.

Unfortunately this doesn't work for `make dev`; which sees the
handlebars content only. That's probably ok though, I think.
2022-04-28 12:59:25 -05:00
Matt Godbolt cfbabc9212 Remove sentry tracing (#3565)
* Remove sentry tracing
2022-04-26 09:44:14 -05:00
Matt Godbolt d64a8d7e89 Sanitize filename (#3560)
Hushes "Uncontrolled data used in path expression".
2022-04-25 18:15:11 -05:00
dependabot[bot] 97ecc258cc Bump async from 2.6.3 to 2.6.4 (#3530)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-21 06:17:55 +02:00
dependabot[bot] 4db110ec51 Bump ansi-regex from 3.0.0 to 3.0.1 (#3481)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 07:47:58 -05:00
github-actions[bot]andCompiler Explorer Bot 80ee019a86 Automated checkin - update browsers list (#3480)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-04-01 07:19:20 +02:00
Matt Godbolt 5bd8cde208 Update packages 2022-03-21 23:39:51 -05:00
Matt Godbolt 988b0774a6 npm audit fix 2022-03-21 23:25:43 -05:00
Matt Godbolt afa4f183df npm update all the things (#3415) 2022-02-28 20:50:32 -06:00
github-actions[bot]andCompiler Explorer Bot 12773e8133 Automated checkin - update browsers list (#3414)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2022-02-28 20:38:38 -06:00
dependabot[bot] d6ac58feec Bump follow-redirects from 1.14.7 to 1.14.8 (#3359)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 20:03:26 +01:00
Rubén Rincón Blanco 045c68d1bc Add strict tsc flag for the backend ts code (#3355) 2022-02-12 02:41:24 +01:00