Commit Graph
50 Commits
Author SHA1 Message Date
Rubén Rincón Blanco 366cd5527c Adds llvm-cov tool (#4044) 2022-09-15 08:12:27 +02:00
Fred Tingaud 9e6dfd9f3a Fix variable name error. (#3923) 2022-07-28 18:55:48 +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
Fred Tingaud 2e0c8c140a Add a concept of flow on ResultLines. (#3854) 2022-07-20 20:20:56 +02:00
Fred Tingaud 3048d92f82 Move cursor to the right position when clicking on a tag in tool outputs (#3843)
* Move cursor to the right position when clicking on a tag in tool outputs.
2022-07-18 11:39:44 -05:00
Fred Tingaud e784c75799 Make URLs clickable in tools outputs. (#3829) 2022-07-05 23:56:53 +01:00
Jeremy Rifkin 371e8e6241 Reset stream styles between outputs (#3662) 2022-05-14 15:19:08 -04:00
Rubén Rincón BlancoandMatt Godbolt 2dbca646f0 Address some low-hanging fruits from webstorm code inspection (#3582)
* Address some low-hanging fruits from webstorm code inspection
* Change editor code to silence eslint

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-04-29 14:24:29 -05:00
Mats Larsen a1a1026a8e Move static/modes/_all.js to TypeScript (#3540) 2022-04-24 20:54:58 +02:00
Rubén Rincón Blanco 48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Luca Natilla 26cbd6e63c Pane renaming saves the name of the panes into their state (#3364)
* Renaming works for compiler with local storage saving

* Remove closed panes from local storage

* Feature working for almost every pane

* Working except for editor and tool-input-view

* Save pane name into its state instead of local storage

* Remove unnecessary local storage code

* Apply Ruben's suggestions

* Check for CMakeLists.txt always on default name

* Change pane renaming's modal placeholder's text, code cleanup
2022-02-22 00:07:31 +01:00
Luca Natilla 810cb5ad6f Ability to name panes (#3323) 2022-02-11 15:25:02 +01:00
Rubén Rincón Blanco 43bc7afa65 Change codeLens font on setting change (#3347) 2022-02-08 17:31:57 +01:00
Matt Godbolt 4eccbf8742 Upgrade monaco and monaco-webpack-plugin (#3204) 2021-12-21 16:09:40 -06:00
Mats Larsen 025325e6d5 Replace CommonJS default exports with named exports (#3021)
This patch refactors every single CommonJS default export and TypeScript `export =` to use named exports.
2021-10-12 11:30:10 +02:00
Rubén Rincón Blanco 6a1dbe14f7 Some general UI touches (#2910)
* 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 &nbsp; 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
2021-09-03 05:51:05 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
RabsRincon aacfdad6d4 Reorder panes names and set what they are first 2021-08-11 06:36:30 +02:00
Patrick Quist 52a22dc1cb Minor cleanups (#2807)
* remove editorId dependency

* double compile bugfix

* remove editorId reference in toolinputview
2021-07-27 12:44:06 +02:00
Tom Ritter ff75d02bec Allow a tool to have a separate monaco editor for it's stdinput (#2785)
* Allow a tool to have a separate monaco editor for it's stdinput

* Fix bugs identified during code review.

 - Selection wasn't being persisted in state.
   Needed to do some kind of ugly things to make this work...
 - Closing and re-opening the panel wasn't persisting the input!
 - getToolInputViewWith -> getToolInputView
 - remove _currentDecoration
2021-07-24 09:12:05 -05:00
RabsRincon 7074739ecf Remove self usages and apply styles 2021-06-28 11:27:09 +02:00
Tom Ritter 9000bd271f If an stdinHint is specified on a tool, when the tool opens, default to showing the stdin input (#2382)
FWIW clang-query is the only tool in the repo that uses stdinHint
2021-01-14 02:24:23 +01:00
Austin Morton 6400315650 Fix extra blank lines when copying from some panes
Closes #1260
2020-11-03 04:42:16 -05:00
Rubén Rincón BlancoandPatrick Quist 14a60bb46a Add base monaco editor config (#2157)
* Add base monaco editor config and extend from it

* Don't modify config object

Co-authored-by: Patrick Quist <partouf@gmail.com>
2020-08-29 21:32:03 +02:00
Rubén Rincón BlancoandPartouf 7e5eafda4b Concept to better notify lang support in tools (#1992)
* Concept to better notify lang support in tools

c.f: #1991

* also disable when compiler doesn't support tool

Co-authored-by: Partouf <partouf@gmail.com>
2020-08-29 21:30:29 +02:00
Partouf 9dde240d98 allow scrolling beyond last line in editors 2020-08-23 13:56:29 +02:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
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>
2020-08-04 16:39:02 -04:00
RabsRincon ed7cb6bc58 Remove extra newline 2020-06-24 16:28:37 +02:00
RabsRincon f4d50420e1 Makes Tool font select work for both dom & editor
Closes #2045
2020-06-24 16:27:20 +02:00
Rubén Rincón 9b31ce2da4 Sets ligatures to false by default
The setting name changed so the default applies to users
 who have visited the site between now and when it was pushed

As noticed by @vincentisambart on #1653, it turns out that having
 ligatures enabled by default is not a wise idea
2019-11-04 16:47:14 +01:00
Rubén Rincón 6e4ec410f1 Enable font ligatures by default
They can be disabled in the settings pane
Closes #1653
2019-11-01 16:27:03 +01:00
RabsRincon 39b2a2e33d Merge branch 'master' into monaco-webpack 2019-07-27 06:22:19 +02:00
RabsRincon 9a2796430f Make tools editor use requested font 2019-07-27 06:20:52 +02:00
RabsRincon 7a1c9e73fc Upgrade tools pane monaco inclusion 2019-07-26 23:06:00 +02:00
Partouf 5ec5b904e6 handle stdin resize events, set resize in template 2019-07-26 13:57:57 +02:00
RabsRincon 4e2f90ec21 Save stdin/args field visivility state 2019-07-25 22:49:14 +02:00
Partouf 6795c09af4 disable stdin if its really not useful 2019-07-23 22:56:58 +02:00
Partouf 21be97ff74 update tool name also when using monaco output 2019-07-23 22:24:53 +02:00
Partouf 076ae6b4bb support hint for stdin 2019-07-21 17:59:54 +02:00
Partouf b59f802b27 lint fix 2019-07-21 16:51:21 +02:00
Partouf 621bec2960 add monaco with language as tool output option 2019-07-21 16:46:42 +02:00
Partouf 558c9163cc make stdin resizable 2019-07-18 23:40:28 +02:00
Partouf 85764bf488 add togglebuttons for tool input, autopopulate tool dropdown 2019-07-18 21:52:33 +02:00
Matt Godbolt 895bfd5913 Compiler Explorer Team->Authors (for consistency) 2019-05-30 16:33:07 -05:00
Partouf 832e6bf211 fix 2018-11-01 22:55:55 +01:00
Partouf b2cd903385 support clang-tidy -fix 2018-11-01 22:44:01 +01:00
Partouf 29523c4bab disable tool button when tool is opened 2018-11-01 18:24:06 +01:00
Partouf 1f9ab8bd6d run tool when first opened 2018-10-31 15:59:57 +01:00
Partouf d3f3b86088 forgot this scope 2018-10-31 14:37:32 +01:00
Partouf 7d1a83f0eb independent source tooling and postcompilation asm tooling 2018-10-31 12:08:02 +01:00