Commit Graph
411 Commits
Author SHA1 Message Date
RabsRincon 5525c40bc6 Fix current cursor pos bug 2021-09-07 17:39:24 +02:00
RabsRincon a779f6005d Add current caret position to source pane 2021-09-04 17:06:28 +02:00
RabsRincon fa0aa1afcc Extremely minor tweaks to UI 2021-09-03 07:33:22 +02:00
RabsRincon cfbcf4e87d Make quick link share available for everyone 2021-09-03 07:09:09 +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   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
Matt Godbolt fda2704fc8 Add tooltips to files in tree view. (#2894)
* Makes the two buttons (stage/unstage) separate so the template
  file has all the title etc in it.
* Hides/unhides to show the appropriate button only.
2021-08-28 15:20:10 -05:00
RabsRincon b624711873 Convert navbar a's to buttons 2021-08-28 01:34:21 +02:00
RabsRincon 6c053b8a62 Move static/sharing.js to TypeScript 2021-08-27 22:08:27 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Rubén Rincón Blanco 8f99cae29f Fix Conformance View problems (#2872)
* Some initial sketchs for fixing conf view

* Fix problems regarding Conformance View pane

The fav issue on #2824 is still there though

Fixes #2841

* Update CompilerPicker.lastCompilerId on compiler change

Fixes #2824
2021-08-26 18:18:10 +02:00
RabsRincon 562512b319 Add current lib count to dropdown button 2021-08-15 12:06:32 +02:00
ca017bac31 Add support for heterogeneous compute (#2836)
* Extract device code from assembly files.

This commit by itself does not actually add any viewing panes for the
extracted device code, nor does it provide any means to provide
device-specific postprocessing steps.

* Add a rudimentary device view.

This doesn't handle multiple device outputs correctly at the moment, and
it provides no opportunity to view device code differently from
non-device code for now.

* Lint issues

* Some more WIP getting it working.

* Add device extraction code

* More fixes, and keep state

Co-authored-by: Joshua Cranmer <joshua.cranmer@intel.com>
Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-08-14 12:53:22 -05:00
RabsRincon 80b6ea3079 Reverse order of Policies & Other dropdown buttons 2021-08-13 07:19:40 +02:00
RabsRincon 1dc6ddbe96 Revert "Stop removing old cookies as they will have expired by now"
This reverts commit 1a5c5ede38.
2021-08-13 06:57:44 +02:00
RabsRincon 1a5c5ede38 Stop removing old cookies as they will have expired by now 2021-08-13 06:36:07 +02:00
Mats Larsen 648ebf9ecf Migrate /static/alert.js to TypeScript (#2829)
* Migrate static/alert.js to TypeScript

* Update copyright and extract interfaces

* Implement @partouf's Alert.enterSomething from Multifile UI
2021-08-01 12:02:34 +02:00
Mats Larsen aa431e1336 Add rustc MIR output view (#2795)
* Add Rustc MIR representation view
* Enable MIR view for rust-cg-gcc
2021-07-24 10:56:06 -05: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
Tom Ritter 448486f46d Create a seperate window for editing compiler flags (#2714)
* Create a seperate window for editing compiler flags

If you have a lot of compiler flags, you don't want to be editing
them in the tiny text box. So add a menu option above
'Popular Arguments' that lets you break out the flags into a
separate window, where you can edit them; one-per-line.

When this happens, the regular flags text box becomes disabled,
and the popular arguments dropdown is not populated.

* Fix the bug where the pane would not reappear upon a refresh, and would not contain the flags

* Use placeholder property instead of the value property
2021-07-22 19:52:35 +02:00
RabsRincon 338e299841 Move compiler picker search placeholder to js
Adds 🔍 to the begining
2021-07-13 11:22:00 +02:00
Matt Godbolt 7fddb70e22 Add optional support for noting page loads with which icons are visible (#2774)
* Add optional support for noting page loads with which icons are visible
* Add an endpoint
2021-07-11 17:06:48 -05:00
Rubén Rincón Blanco d3af770eec Simplify timing chart handling (#2749)
* 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
2021-06-29 19:16:28 +02:00
Matt Godbolt 68a687decb Support execution in python
* Introduces "interpreted" language option
* Supports execute if binary or interpreted, and "supportsExecute"
* Misc tidyups

CC @jfalcou
2021-06-26 15:33:58 -05:00
Matt Godbolt 0214876179 New compiler selectors (#2666)
* 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
2021-06-21 21:53:44 -05:00
Matt GodboltandRabsRincon ec8ba0906b Adds a faster way to copy share links (#2673)
* Improve the Sharing code & UX

Co-authored-by: RabsRincon <ruben@rinconblanco.es>
2021-06-21 21:42:39 -05:00
RabsRincon b2308878ea Improve how we handle status icon and output info
This should help a bit in a few issues,
 but there's still work to do on all of them:

Issues #1034 #2674 #2696
2021-06-15 10:25:31 +02:00
RabsRincon eb92f53ada Move explanation to separate card 2021-06-09 22:06:12 +02:00
RabsRincon 298cb01144 Clear up some UI messes and prettify it a bit 2021-06-06 21:35:28 +02:00
Rubén Rincón Blanco d0f5ef909b Adjust media queries to avoid jumps in small screens (#2667) 2021-05-27 21:28:45 -05:00
Patrick Quist 6f12ca6b80 Let IE11 users still use the site somewhat (#2661)
* let IE11 users use the noscript pages

* simplify
2021-05-20 18:24:44 +02:00
Rubén Rincón Blancoandpartouf 192af60701 Sketch a possible solution for #2436 (#2510)
* Sketch a possible solution for #2436

* Do the dirty and just call setupSharing twice

* add embeds share, reuse embed dialog and get rid of old popup

* styling fixes

* rename dialog

* refactor and reintroduce ctrl+s implementation

* reintroduce analytics sending

Co-authored-by: partouf <partouf@gmail.com>
2021-05-13 19:41:43 +02:00
Rubén Rincón Blanco 004119efaa Add bells to policies when a new version is available (#2516)
* Sketch possible solution for #2464

* Save all element lookups when not necessary

Varible names are weird because var is weird

* Actually change varible names

* Remove lefover classes from previous tests

* Add some breathing room to bells

* Use Jquery selectors

* Hide bells when a simpleCooks consent choice is made
2021-03-27 20:05:35 +01:00
Rubén Rincón Blancoandpartouf 7f4c4a9ebf Report back an estimate of filtered lines (#2506)
* Report back an estimate of filtered lines

The commit is tested, but I had to remove an eslint check and
 not run the filter tests because I forgot how to bless them.

* Implement proposed wording change

* Add filtered report in compile info label

* Simplify and add reporting to binary mode filter

* Fix bad git stash shenanigans

* ignore filteredCount when testing

* filteredCount is not guaranteed to be returned

* extra check

Co-authored-by: partouf <partouf@gmail.com>
2021-03-20 20:17:38 +01:00
RabsRincon fe5882fc26 Give some breathing room to icons in links 2021-03-19 21:26:18 +01:00
Patrick Quist 7edd6d40ac Time all the things (#2462)
* 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
2021-03-11 17:37:57 +01:00
Sam Elliott 3677ad6389 Add Notification to Compiler Info Popup (#2399)
This also adds the same changes to an executor instance.

Signed-off-by: Sam Elliott <sam@lenary.co.uk>
2021-02-20 19:22:50 +01:00
Matt Godbolt e66f4c4b57 More master->main. Will do the PP one in the PP branch 2021-02-13 17:27:43 -06:00
RabsRincon e55cbb05bd Hide extra whitespace when a library has no description 2021-02-08 07:29:47 +01:00
RabsRincon 112a532245 Fix placeholder size 2021-02-03 14:09:14 +01:00
RabsRincon 891a9d8c6f Add a placeholder to the editor language selector 2021-02-03 14:07:50 +01:00
Ian BearmanandIan Bearman 4539cea6f9 enable filter libraryCode by default (#2347)
Co-authored-by: Ian Bearman <ianb@microsoft.com>
2020-12-29 10:34:08 -06:00
Peter Schussheim a0bcc9b8c2 add text wrapping toggle to executor pane (#2362) 2020-12-22 14:19:36 +01:00
Austin Morton f8826fd250 Refactor theme system to apply them earlier in page load (#2249) 2020-10-02 06:56:46 -04:00
Patrick Quist 4a158e1ff4 Library widget revamp (#2223)
* Use new widget for the ever-expanding library count
2020-09-27 01:59:40 +02:00
Partouf 0f71fc0146 we can use the bool value directly 2020-09-01 19:08:56 +02:00
Partouf b41d416c78 fix output and filter defaults 2020-09-01 18:45:52 +02:00
Patrick Quist 32aadc90e7 [#RandomThingsNobodyAskedFor] Noscript pages (#2120)
* hello world again

* alt texts for sponsor icons

* lintfixes

* moved noscript alongside normal views and things

* language listitems

* offer link to noscript version when needed

* filter fixes and add execution output to text output

* reuse more things, add special css, support filters and execution to noscript

* bugfix

* bugfixes

* add icons because why not

* main sponsor urls

* support noscript z links

* start of better mobile view in noscript mode

* move files to noscript folder, fixes

* try to run script in mobile

* script works now

* refactoring

* scale textarea when theres css

* fix sponsorlink

* hide hidden compilers

* duplicate change from trunk
2020-08-29 21:33:37 +02:00
Rubén Rincón Blanco 5c9f6352a9 Add executor button to compiler that inherits it (#2135)
* Add executor button to compiler that inherits it

* Remove sneaky console.log
2020-08-29 21:32:23 +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
Iain Buclaw 916ce00126 Allow changing the detail level of GCC dumps in TREE and RTL view (#2134)
* Implemented all options that are common for all versions of GCC
  between 4.0 and 10.2.  These are available in a "Options" drop-down
  menu on the GCC Tree Viewer pane.

* Dump passes have been moved into a drop-down menu "Passes" to keep the
  row tidy.

* Add inter-procedural analysis dumps to GCC Tree Viewer.  The option
  -fdump-ipa-all has been around since GCC 4.0, though leaving it
 default unchecked in the UI.

* Adds [ON] or [OFF] to the titles of all filter buttons by implementing
  GccDump.prototype.updateButtons.

Fixes #2130
2020-08-25 22:59:55 -05:00