2275 Commits
Author SHA1 Message Date
Arc_G 4b8b36ddb4 issue : #4628 , Dark theme arrow property corrected (#4629) 2023-01-21 14:31:47 -05:00
Jeremy Rifkin 41db591c54 Patch highlighting color scheme setting bug (#4622) 2023-01-20 11:12:46 +01:00
Jeremy Rifkin c6a548c765 Fix size computation under display:none (#4612) 2023-01-17 20:48:17 -05:00
Jeremy Rifkin 1ca6525abc Improve graph layout core hack now that types have been fixed upstream (#4610) 2023-01-17 01:41:58 -05:00
Jeremy Rifkin 6e2e98bdca Add dev favicon (#4598) 2023-01-15 20:19:41 -05:00
Jeremy 54227dea8d Little fix to tree.ts 2023-01-14 03:07:15 -05:00
Jeremy Rifkin 7a7a1dd906 Quick fixes for bugs noticed while testing (#4596) 2023-01-14 02:07:43 -05:00
Jeremy Rifkin 3f9813a3bb Rison error handling (#4594) 2023-01-13 23:50:36 -05:00
Jeremy Rifkin 8462cc496a Revert "Revert "Tsify rison.js (#4510)" (#4549)" (#4591) 2023-01-13 21:19:40 -05:00
Jeremy Rifkin 59f8c45246 Update static/modes typing (#4582) 2023-01-13 19:54:26 -05:00
Jeremy Rifkin 33167a3024 Tsify main (#4520) 2023-01-13 19:52:00 -05:00
Jeremy Rifkin 07f37abe76 The War of The Types (#4490) 2023-01-13 19:22:25 -05:00
Jeremy Rifkin 3d144f61a7 Use double quotes for embed iframes (#4592) 2023-01-13 16:16:39 -05:00
partouf acef3bbe49 bugfix displaying address 0 2023-01-11 21:49:21 +01:00
Patrick Quist 092ce12e8e move emulation related fields to artifact system (#4567) 2023-01-11 21:07:38 +01:00
Marc Poulhiès 69055681d9 Support for compiling to binary object (#3232) 2023-01-11 19:39:25 +01:00
Fábio de Souza Villaça Medeiros 69550eb811 add Hook's icon and update lexicon (#4552) 2023-01-06 14:20:00 -06:00
Patrick Quist f7d221d937 Revert "Tsify rison.js (#4510)" (#4549)
This reverts commit e1cc30941d.
2023-01-06 16:13:40 +01:00
Patrick Quist 8a28716db4 show error when not loading a zip (#4531) 2023-01-05 00:37:51 +01:00
Jeremy Rifkin 3ded27185b Tsify rison.js (#4510)
* Tsify rison.js

* Turn eslint back on

* Improve typing, cleanup code

* Matt comments

* Prettier-ignore a type declaration

* A couple small type tweaks
2022-12-31 11:52:54 -07:00
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
Jeremy Rifkin 1890bb9259 Update rison (#4509)
* Update rison

* Add test cases

* Prettier format
2022-12-28 09:40:18 -07:00
Rubén Rincón Blanco 287ad78600 Prevent default for zoom event in cfg (#4489) 2022-12-23 15:47:25 +01:00
Matt Godbolt 57a647b8a3 Add the result inside the CompilationResult (#4475) 2022-12-20 08:15:39 -06:00
Matt Godbolt 4ec6a41d27 Give tools in the CE options a type (#4471)
* Fix type of tool id

Observed through the debugger it seems the tool id is a `string`, which leads to all sorts of downstream complaints comparing strings to ints when converting tools.js to ts (see #4166)

* Add tools to CE Options

* Fixings
2022-12-19 22:55:44 -06: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 8159c55b2e Fix type of tool id (#4470)
Observed through the debugger it seems the tool id is a `string`, which leads to all sorts of downstream complaints comparing strings to ints when converting tools.js to ts (see #4166)
2022-12-19 21:10:19 -06:00
Jeremy Rifkin 18815a4e41 Fix binary lable issue (#4459) 2022-12-18 18:53:57 -05: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 afbdbd6e3e Fix type error with tomselect downgrade 2022-12-18 11:01:53 -05:00
Jeremy Rifkin 7387fe73d7 Handle undefined theme in the site template widget (#4454)
* Handle undefined theme

* Fix comment
2022-12-18 10:51:24 -05:00
Jeremy Rifkin 7a56ee84f7 Assert and unwrap utilities (#4437)
* Add assert and unwrap utilities

* Playing around with diagnostics

* lib/assert diagnostic implementation

* Remove temporary testing stuff

* Reset package-lock.json to before I messed with it

* Further refinements and integration

* Added licence and removed an obsolete eslint directive
2022-12-18 10:30:17 -05:00
Rubén Rincón Blanco cd6c39905b Add select colours to ts-dropdown (#4448)
* Add select colours to ts-dropdown

* Ensure readable colour
2022-12-17 22:44:53 -05: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
Jeremy Rifkin abb943bdf0 Fix cfg chrome render bug (#4423) 2022-12-12 17:59:19 -05:00
Jeremy Rifkin 18db9621a2 Fix tomselect arrow padding (#4403) 2022-12-07 09:24:45 -05:00
Matt Godbolt a436592401 npm run format 2022-12-01 21:13:50 -06:00
Marc Poulhiès 9d3096d2cc fix: Gcc dump types (#4369)
While doing some cleaning, the typing of the GCC dump feature was found
incorrect. This change tries to fix most of it... But some details still need to
be fixed (FIXME notes left in the code).

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-11-30 20:41:15 +01:00
Rubén Rincón Blanco 924799919c Make Alert and Compiler-Picker widgets (#4366) 2022-11-30 12:41:54 +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
partouf b6d459c9af format and lint 2022-11-28 23:29:38 +01:00
Marc Poulhiès 2fa2bbb16a refactor: renames the CompilerFilters type (#4346)
The type which probably started as a real enum of possible post filtering
options now also includes options used for compilers' invocations.

The type was already split, but the naming was not reflecting this in the other
part of the code.

This changes tries to apply a simple renaming to the type only (corresponding
variables are left as 'filters').

While doing so, some typing error were discovered around the GccDump feature.
A fix for this will follow in a different PR.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-11-28 21:37:15 +01:00
Matt Godbolt 90e6e4ecfd Support backticks in labels (#4352)
.NET uses them, it seems. Closes #4350
2022-11-27 10:39:57 -06:00
Matt Godbolt 22a21e7cfc npm run format 2022-11-25 12:59:39 -06:00
Rubén Rincón Blanco f1a4f169a9 Fetch settings in initializeGlobalDependent (#4307) 2022-11-25 12:41:15 +01:00
Ofek 8be6ca12db Fix #4300 - take css classes outside .opt-decoration in dark theme (#4301)
* Fix #4300 - take css classes outside .opt-decoraiton in dark theme

* Apply reviewers comments

* Make default-theme.scss match dark-theme.scss for opt-remarks
2022-11-19 15:22:35 -05:00
Rubén Rincón Blanco 5ccd9d2029 Add licenses to lots of compilers (#4305)
* Add Rust license info

* Add hipclang license info

Same as C++'s rocm one

* Add license info for Ada compilers

* Add licenses to most C compilers

* Add license to Nim compiler

* Add license to FPC

* Add license to Python

* Add license to Zig

* Add licenses for Scala

Separates it between 2 and 3 as it changed quite a lot,
so that we can more easily add new versions to it in the future

* Add license for Pony compiler

* Add Ocaml license

* Add Mlir license

* Add license to LLVM pseudolang

* Fix mlir license props

* Add license to Kotlin

* Add OpenJDK license

* Add Jakt license

* Add GHC licenses

* Remove licenses from platspec compilers

* Add C++ licenses

* Add link to open issue if license is wrong

* Fix button link
2022-11-18 19:06:54 +01: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
partouf deb24bd942 grmbl 2022-11-12 19:38:56 +01:00