499 Commits
Author SHA1 Message Date
Jeremy RifkinandMatt Godbolt 54fd5b8a24 Show a size estimate for the png export button (#4505)
* Show an estimate for PNG export size

* Prettier ignore a line

* Puggify

Co-authored-by: Matt Godbolt <matt@godbolt.org>

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-12-28 10:18:26 -07:00
Rubén Rincón Blanco 95876c37fc Avoid flash on pageload for System and Dark+ themes (#4488) 2022-12-23 21:12:46 +01:00
Jeremy Rifkin 00b3a8ab23 Implemented png export (#4427) 2022-12-12 20:10:08 -06: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
Marc Poulhiès 967efdebd9 template: add Ada IDE (#4368)
Add a sample Ada project in the templates.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-11-30 15:30:08 +01: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 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 750f1930a7 File drop support (#4247) 2022-11-12 15:14:51 +01:00
Rubén Rincón Blanco c7cfda6a3f Add language tooltips (#4237) 2022-11-09 02:53:04 +01:00
Ofek db9b4f48b0 Add Hide metadata option to LLVM pipeline (#4243) 2022-11-06 12:22:47 -05:00
Rubén Rincón Blanco b5e61a0eef Fix broken Rest UI button (#4240) 2022-11-04 18:45:36 +01:00
Rubén Rincón Blanco 52ce1cde1f Use mixins in settings to make it easier to maintain (#4231) 2022-11-02 19:16:49 +01:00
Rubén Rincón Blanco aa816778d6 Fixes some issues with editor setting values (#4228) 2022-11-02 14:55:43 +01:00
Rubén Rincón Blanco a4d08986e8 Allow line linkings to be highlighted forever (#4227)
Closes #3487
2022-11-02 14:54:49 +01: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
Rubén Rincón Blanco b7dcb664f2 Makes li sponsor a btn-info (#4168) 2022-10-19 18:33:26 +02:00
J. Ryan Stinnett 80dd763985 Add basic Racket support (#4098) 2022-10-05 09:32:45 +02:00
Chris B de0d1a4bb0 Add HLSL Logo (#4093)
I know this isn't the _official_ HLSL logo, but HLSL doesn't have an
official logo. I made this one, and since I work on HLSL that should at
least give it the "enginieering art" level of officiality.
2022-09-27 19:43:08 +02:00
Patrick Quist 997a2d313c add miracle emulator for z88dk sms files (#4086) 2022-09-25 23:02:13 +02:00
Rubén Rincón Blanco 9391f0aa44 Add keep status per tab setting (#3871) 2022-09-25 15:56:26 +02:00
Patrick Quist 64ce93916a add zx emulation with speccy (#4065) 2022-09-23 17:21:45 +02:00
Rubén Rincón Blanco 460eda11ee Add license info button to compilers (#4077)
* Add a way to show compiler license infos

* Add example for x86 clang
2022-09-20 08:00:42 -05:00
Rubén Rincón Blanco 8d6f171197 Cypress test to open all panes (#3953) 2022-09-04 17:31:36 +02:00
Rubén Rincón BlancoandJeremy Rifkin 4ba8a1d121 Move LLVM opt pipeline filters to their own dropdown (#4000)
Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2022-08-30 12:46:07 +02:00
J. Ryan Stinnett 44aa191cad Add debug info filter option to LLVM opt pipeline viewer (#3987)
* Add debug info filter option to LLVM opt pipeline viewer

* Add MIR debug info pseudo-instructions to filters

* Use mixin for LLVM opt pipeline options

This fixes a few templating errors from the more verbose version.

* Add name to contributors

* Generalise dbg call filter
2022-08-24 20:16:48 -04:00
Max Coplan a3327d8ba1 ✏️ [UI] Fix small UI typo (#3976) 2022-08-20 11:24:47 +02:00
Rubén Rincón Blanco 7f7ca77fb2 Adds icon to Select all and makes the text hideable (#3970) 2022-08-19 09:13:49 +02:00
Rubén Rincón Blanco 5b84b23b30 Fix small UI problems (#3948) 2022-08-09 22:13:50 -05:00
Rubén Rincón Blanco c8ce581266 Makes language logo optional in all cases (#3934) 2022-08-04 10:26:18 +02:00
Rubén Rincón Blancoandpartouf a61b877eb1 Adds date filtering for ads (#3916)
* Adds date filtering for ads

No idea how to get test to work though :(

* move motd test to frontend testing

* bugfix isValidAd

* Add missing testcases

Co-authored-by: partouf <partouf@gmail.com>
2022-07-30 10:01:59 +02:00
Mike UrbachandPatrick Quist 16b06027f5 Add basic CIRCT compiler support. (#3917)
* Add basic CIRCT compiler support.

This adds basic support for CIRCT as requested in #3825. The addition
is based on the similar additions for MLIR in #3733 and #3770.

* Update path and rename compiler in circt.amazon.properties.

* Update circt.amazon.properties

Co-authored-by: Patrick Quist <partouf@gmail.com>
2022-07-28 23:29:10 +02:00
Fred TingaudandRubén Rincón Blanco ea3b66df11 Add possibility for tools to generate an artifact (#3893)
* Add possibility for tools to generate an artifact

* Add button to download the artifact instead of downloading it automatically.

* Add better description on artifact button.

* Apply recommendations

* Update static/panes/tool.js

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

* Use a download icon rather than save

* Introduce correct type for artifact.

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-07-28 09:57:03 -05:00
RabsRincon 29d1f27f88 Site Templates -> Templates 2022-07-22 17:05:53 +02:00
Matt Godbolt 50a1eedf01 Add support for Carbon (#3885)
Add support for the Carbon language prototype.
2022-07-19 09:42:25 -05:00
Rubén Rincón Blanco 712814f6b5 Adds way to disable executor recompilation on parameter change (#3862)
* Adds way to disable executor recompilation on parameter change

Now that this is here, maybe another toggle for tools would also be good
to have. Maybe even for the compiler itself.

And if we go that route, why not 1 for all three kind of panes?

Closes #3783

* Address PR reviews

Sometimes I wonder why I don't think of this things myself :)

* Do the state saving always
2022-07-18 14:18:22 +02:00
Rubén Rincón Blanco 9b8c738aa9 Add overwrite option to load-save localstorage (#3877)
* First draf for overwriting button in localstorage

* Fixes formatting

* Address PR review

Adds named type

* Improve Load/save UI
2022-07-18 14:18:15 +02:00
Matt Godbolt 60c50c4957 Minor wordsmithery to highlight our use of Conan 2022-07-18 05:48:22 -05:00
Christopher Smyth a5c45b6f0b Pony Lang Config (#3855) 2022-07-10 21:58:19 +02:00
Rubén Rincón Blanco a4565fb352 Updates some Pug files (#3842)
* Move popup views to their own file each

* Make simple monacopane mixin in templates

* Also extract templates to their files

Compiler got some mixin love too :)

* Also split templates to their own files

* More mixin love for more files
2022-07-10 17:43:28 +02:00
Luca Natilla 78f477a3b0 Implement copy compiler button in conformance view (#3831) 2022-07-05 23:57:07 +01:00
Patrick Quist db389e5d44 Delete LLVMIr.default.png 2022-07-04 22:16:58 +01:00
Patrick Quist 4298092d5c Delete LLVMIr.darkplus.png 2022-07-04 22:16:53 +01:00
Patrick Quist 290ea4fc55 Delete LLVMIr.dark.png 2022-07-04 22:16:48 +01:00
Jeremy Rifkin edf3fadfe5 Add -fno-discard-value-names support for the llvm opt viewer (#3836)
* Added -fno-discard-value-names support for the llvm opt viewer

* Added -Z fewer-names=no for rustc
2022-07-04 11:32:21 -04:00
Jeremy Rifkin ed1a4e6b27 LLVM Optimization Pass Viewer (#3769) 2022-07-01 01:53:02 +02:00
partouf 62b6615c8a llvmir screenshots 2022-06-26 18:31:27 +02:00
Patrick Quist 5452166ae1 Toit (#3808) 2022-06-24 22:07:40 +02:00
Patrick Quist ab3192ce2c New screenshot C++ CMake Site Template (#3780) 2022-06-16 01:25:44 +02:00
Patrick Quist 6d22b33c7b add pascal ide (#3778) 2022-06-15 23:55:42 +02:00