Commit Graph
431 Commits
Author SHA1 Message Date
RabsRincon 2c52d4551a Makes notification messages more readable 2022-02-21 00:17:42 +01:00
Jeremy Rifkin 74efcfa754 Preprocessor output panel (#3330) 2022-02-11 15:42:41 +01:00
Luca Natilla 810cb5ad6f Ability to name panes (#3323) 2022-02-11 15:25:02 +01:00
Rubén Rincón Blanco a15d182444 Move each settings category to its own tab (#3329)
* Move each settings category to its own tab

* Create new colouring tab
2022-02-07 07:23:18 +01:00
Austin Morton 93dfe4812c Remove es6-shim (#3316)
The shim was only ever loaded for internet explorer
2022-02-03 10:12:57 +01:00
Rubén Rincón Blanco 426aa40279 Fix formatOnCompile setting (#3314) 2022-02-02 03:48:50 +01:00
Luca Natilla 4af294d613 Option to create a short link with Ctrl+s silently (#3305) 2022-01-31 21:28:56 -06:00
Rubén Rincón Blanco fe7eb18408 Reimplement more options for Ctrl-S (#3300) 2022-01-31 14:03:38 +01:00
Mats Larsen 593a727445 Add setting for automatically formatting on compilation (#3302)
Adds a new checkbox setting for automatically formatting the code upon compilation request. I added a note in the setting text indicating that it only runs for languages that have a formatter set up.
2022-01-31 14:01:14 +01:00
Rubén Rincón BlancoandMats Larsen f4315c561b Move static/settings.js to TypeScript (#3297)
* Rename settings.js to ts

* Move Settings to TS

* Remove underscore from settings

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

* Improve Settings implementation

* Move Settings interfaces to same file

* Update static/settings.ts

Co-authored-by: Mats Larsen <me@supergrecko.com>

Co-authored-by: Mats Larsen <me@supergrecko.com>
2022-01-29 02:00:10 +01:00
Matt Godbolt c1fe085ca2 Revert "Some more Ctrl-S behaviours (#3283)"
This reverts commit be42b2f012.
2022-01-24 21:36:12 -06:00
Rubén Rincón BlancoandMats Larsen be42b2f012 Some more Ctrl-S behaviours (#3283)
* Adds more behaviours for Ctrl-S'ing an editor

It keeps backwards compatibility with the old setting
Fixes #3266

* Fix quotes

The new Node version did not run the commit checks

* Update static/panes/editor.js

Co-authored-by: Mats Larsen <me@supergrecko.com>

Co-authored-by: Mats Larsen <me@supergrecko.com>
2022-01-24 21:16:50 -06:00
Marc Poulhiès 86dd8f7814 Ada: new pane for GNAT Debug Tree (#3190)
Support for the GNAT Tree emitted by `-gnatdt` on stdout.
The pane is also available in the diff tool.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-28 15:35:11 +01:00
Marc Poulhiès 24693766d0 rust: HIR dump and small refactor with macro expansion (#3147)
Small refactoring for handling -Zunpretty calls:

- reuse options from main compiler invocation instead of crafting new ones.
- factor out common part.

Now also handles HIR output in a dedicated pane.
Still a lot of copy/pasting from the macro expansion.

fixes #2567

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-05 19:04:12 +01:00
Patrick Quist 38efc5bd2d Update popups.pug 2021-11-21 15:11:36 +01:00
Rubén Rincón Blanco a92083a3a4 Adds some useful features for some people (#3081)
Closes #2974 and addresses a request made in Discord
2021-11-21 13:45:01 +01:00
RabsRincon 8886821da4 Add a way to ensure no tracking is done and now 3rd party is available 2021-10-26 20:31:38 +02:00
Marc PoulhièsandMats Larsen 9b46d4f1fd Initial support for GNAT specific debug output (#3000)
This change only gets the GNAT Debug expanded generated code (-gnatD).

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Mats Larsen <me@supergrecko.com>
2021-10-13 19:59:26 +02:00
Mats Larsen 278d28b313 Add rustc Macro Expansion view (#2932)
Adds a new pane for producing the macro expansion of Rust code compiled with rustc.
2021-09-27 00:33:09 +02:00
Matt Godbolt 3d1a6a6720 Revert unintentional change to nomenclature.
Also updates the title tags. Thanks @supergrecko for spotting this.
2021-09-13 07:40:37 -05:00
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 &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
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