* 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
* make nvcc show the device asm view button, stop after compiling host assembly
* keep and extract ptx device code
* paper over some typescript compile errors (maybe mitigating orchidjs/tom-select#500, orchidjs/tom-select#501)
* await on promise-returning methods
* use gcc objdump for nvcc host code, add nvdisasm to disassemble SASS .cubin
* append device ASM lines to result ASM so they're also colourized
* append device ASM to all ASM
* automatically open the device pane if the compiler supports emitting device ASM
* save device view open boolean in compiler state
* make the nvcc compiler return all PTX and SASS results as separate devices
* ensure line hover highlights propagate from editor to compiler panes, and are re-applied when the user changes the selected device
* update cuda properties