* Rename static/libs-widget-ext.js to static/libs-widget-ext.ts
* Initial Typescript copy&paste
* File now compiles its TS
* First TSfy pass
Types need to still be sorted out, but this now compiles and works
:)
* Further work towards porting libs widget to TS
* Expand the scope of the PR and fix some TS issues elsewhere
Still releated to libs though
* Renames
* Address PR review
* Fixes some minor errors and finishes the tests
* Remove unused interface properties
As suggested by partouf in the PR
* Remove unused this
Noticed by Partouf in the PR review
* Remove more unused options interface properties
* Fixes last issues with the ts libs widget
* Remove console.log
* Touches and changes to the UI to make it more consistent
It fixes some problems, improves the UX of certain actions,
and clears some code up
* More minor tweaks to the UI
* Fix class typo
* Add compiler picker opt group header background color in default theme
* Fix conformance view
* Removes some in favour of margins
Removes boostrap-slider, there's a built-in html solution
Fixes tab width setting having a wrong input type
* More UI tweaks
* Remove empty CSS rule
* Simplify timing char handling
It also removes some duplicated code concerning the settings
while at it
* No need to make Timing a "class" anymore
* Address @partouf PR review
* Adds a way for panes to filter compilers
I don't really like this solution, but I haven't been able to come
up with a cleaner one, so unless someone finds a better way,
this will have to do
* Address PR review comments
* Extract a compiler picker and fix up edge cases
* Use it across the three places that let you pick compilers.
* Fix a number of minor UI issues.
* When reloading a page, prefer the 'favorite' compiler selection in the selectize. Thanks @oyejorge
Co-authored-by: RabsRincon <ruben@rinconblanco.es>
Co-authored-by: partouf <partouf@gmail.com>
With huge thanks to @oyejorge
* allows favourites to be picked
* replace selectize with tom-select 1.7
Addresses (if not closes) #1917 & #257.
Co-authored-by: Matt Godbolt <matt@godbolt.org>
* Enable the editor to highlight spans in the highlighted line
* Parse and send the column numbers for LLVM AST nodes
* Highlight the part of the line corresponding to a node
For nodes that fit on a single line
* Highlight the nodes directly corresponding to symbol hovered over
Also highlight entire tokens in the source, not just their first character
* Fix the squiggly underline for string literals
* time executeDirect in ms
* measure library download and extract time
* time package download
* download timings when using execution checkbox
* proof of concept timing graph implementation
* use vertical bars for graph
* add objdump time
* add timing for asm parsing
* add timing graph to execution pane as well
* download timings on execution pane
* things
* basic supportsExecute filter
* dont mess up existing compiler selections
* dont execute if the compiler doesn't support it, do try to build still
* disable execute for clang arm compilers
* require at least 1 supportsExecute before default adding and selecting anything
* gcc 1.27 dont execute
* get rid of -Wl,-rpath error message
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com>