Commit Graph
58 Commits
Author SHA1 Message Date
Jeremy Rifkin 74efcfa754 Preprocessor output panel (#3330) 2022-02-11 15:42:41 +01: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
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 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
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
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +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
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
Arseniy Zaostrovnykh f8587ffb28 Express the dependency between "onColours" and onCompileReulst (#2596) 2021-04-12 17:53:02 -05:00
Matt Godbolt f68198af9e Reassign copyright to Compiler Explorer Authors (#2233) 2020-09-26 17:50:40 -05: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
Partouf c6a350ca31 allow diffing executor panes 2019-11-11 22:57:02 +01:00
RabsRincon 47d96e4f69 Differenciate from default lang and subdomain one 2019-08-24 15:42:01 +02:00
RabsRincon 9a080bbf9e Add opt-out setting for the new policy changes 2019-08-05 11:45:06 +02:00
RabsRincon 0ecdf334c4 First implementation of execute-only pane
Maybe the name is a bit too... "Extreme" :P
2019-05-28 16:48:59 +02:00
Matt Godbolt b87322568e Merge branch 'master' into llvm 2019-03-21 20:31:42 -05:00
Matt Godbolt 423f6688ef Move to newer sentry library (hopefully fixes any sentry log issues) 2018-12-06 22:03:05 -06:00
RabsRincon e32d084a8e [LLVM] Add LLVM IR view
- commit by @RabsRincon
2018-11-28 14:29:10 +01:00
Partouf 7d1a83f0eb independent source tooling and postcompilation asm tooling 2018-10-31 12:08:02 +01:00
RabsRincon be4ac50e6b Add language change GA event 2018-07-29 00:48:50 +02:00
RabsRincon ca793a4178 Rename views folder to pane 2018-07-17 07:23:59 +02:00
RabsRincon 79f3e90535 Reestructure static with new views and mode dirs 2018-07-16 07:48:47 +02:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon cc335bfd7e Improve #837 fix even more 2018-02-24 23:31:41 +01:00
jaredwy 70556a6c65 first pass at using webpack/yarn rather than bower and require.js 2018-01-28 19:09:33 +11:00
RabsRincon 39b8bbeb85 Reorder unsubscribing to be consistent + Logging
Hopefuly this helps to identify the underlying issue.
	Meanwhile, users should be able to close any faulty pane
2018-01-16 12:34:50 +01:00
RabsRincon 43bca16dac Setup new language behaviour by @mattgodbolt
This should be enough for #735 Test away!
2018-01-05 20:56:19 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
RabsRincon a0063cc70c New editors will use the last open editor's lang
Should not break anything. Fingers crossed!
2017-12-21 12:55:57 +01:00
RabsRincon 785120b536 Upgrade Hub 2017-12-05 09:19:25 +01:00
Matt Godbolt 2eb2b16d29 Fix some container ordering issues.
* Defer compilation until initialisation is complete.
* Defer all event emissions until initialisation is complete.
2017-11-15 17:33:34 -06:00
Marc Poulhiès cfefa37387 Initial support for GCC Tree/RTL dumps.
The GCCDump pane can exhibits incorrect behavior when opened from
a shared link. Until it is fixed, move pane after its corresponding
compiler or do not use shared links.
2017-11-14 14:43:36 +01:00
Rubén 5a75995d3d Merge branch 'master' into master 2017-09-19 08:49:24 +02:00
Rubén 1c3270b129 Remove almost every use of self in favor of _.bind()
Tested every change. I'd be suprised if it does not work somewhere

Turns out that _ is not defined at Hub creation. That is the only
	place where self remains. If a workaround is found, I'll
	be happy to implement it.

Once @jaredwy brings us to TS, this will have been for nothing,
	but ey, no biggie.
2017-09-19 08:22:36 +02:00
cppchedy 3dd2506044 adding support for control flow graph mode 2017-09-15 00:08:34 +01:00
Matt Godbolt 1d121168db Extract sendCompile and cache from compiler.js
Also took the time to improve error handling in the send, and removed a
redundant (according to jquery docs) `cache`.
2017-06-21 19:55:53 -05:00
Rubén 5aaa2014a4 Add Conformance viewer
It needs some improvements here and there, plus a good dose of
thinking about the hard-limits actually present, like the max of
6 compilers per view, and 1 view per editor. Maybe we can afford
more compilers per view?
(I think that limiting it to 1 view per editor is a good call tho)

A necessary point before merging would be to fix the fact that
when sharing by URL, the contents of the view are not saved.

Releated issues: #461
2017-06-16 18:23:11 +02:00
Simon Brand 34465629c1 Support displaying the Clang AST 2017-05-31 10:08:58 +01:00
Jared Wyles dd27a457fc This brings mostly UX changes.
1. Updates the button to be disabled instead of hidden
2. Disables the button on click. Re-enables when you close the opt view.
3. Will now not break when you have > 1 compiler
2017-04-21 19:18:49 +10:00
Jared Wyles cf882a5d0c First pass at adding a opt view mode for compiler explorer 2017-04-20 09:52:45 +10:00
Matt Godbolt fde6c27f59 Ensure editors are closable even if coming from links 2017-02-16 19:00:08 -06:00
Matt Godbolt af5decfe5c Work in progress on newer UI, and multiple editors 2017-02-16 07:55:22 -06:00
Matt Godbolt 37c6291dbe First diff actually working 2017-02-04 08:46:21 -06:00
Matt Godbolt eb74776003 WIP on diffs 2017-01-04 17:12:52 -06:00
Matt Godbolt b6e9a4658b Another year, another copyright update 2017-01-02 10:14:46 -06:00
Matt Godbolt caf8a5e8a5 Move links into a share button 2016-11-01 21:27:02 -05:00
Matt Godbolt 52f65d8812 jshint fixes 2016-09-28 07:51:29 -05:00