* 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>
* 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
* 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
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 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
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>
* 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
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>
* 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
* 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
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
* Added llvm opt pipeline timing info
* Fix naming
* Tweak timing pane and use exec's timing if possible
* Added timing info for processExecutionResult
The options were being properly passed in the state,
but the UI was being initialized before the value was set to the member,
causing it not to be displayed.
Closes#4207