* Implement generic pane skeleton
* Implement abstract Pane class
* Port RustMirView to typescript
* Fix nits in code
* Adjust method names and add override modifiers
* Add remaining settings keys (and fix a bug)
* Use this-binding in registerStandardCallbacks
* Address review comments
* Use utils.updateAndCalcTopBarHeight in base pane
* Add notice about adding an entry in interfaces.ts
* Use .bind instead of context parameter
GoldenLayout has moved away from the context parameter, so .bind is a safer for the future
* [200~Check for editor presence + fix typo~
* Remove trailing comma
Co-authored-by: Patrick Quist <partouf@gmail.com>
* 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
It also fixes a bug where multiple sources could be created if dropped
into the same dragSource button
Moves somes _.bind(fn to fn.bind( in ts code
Closes#2895
* 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.
* MVP implementation of Monaco code formatting
* Lint fixes
* Replace Ctrl + F9 keybind with monaco command to invoke formatDocument
* Use window.httpRoot definition from tree.ts
* Add definitions for C and Rust
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
* 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
* Make /api/format handle multiple formatter types
* Ignore preferred style if the formatter is a 'one true style' formatter
* Add tests for base formatter
* Document /api/formats and /api/format/<formatter> usage
* Document adding a new formatter
* Update amazon config
Co-authored-by: Matt Godbolt <matt@godbolt.org>
The generic and __generic keywords are currently reserved in the OpenCL C
specification. They have already been added as keywords in Clang. Without
highlighting, it can seem as if generic is not an address space, as the
other address spaces are highlighted. This can be seen in the AST viewer
on Compiler Explorer. The lack of highlighting makes the AST less convenient
from a user-perspective.
C++ for OpenCL inherits address space behavior from OpenCL C v2.0 s6.5, so
this change applies to both OpenCL C and C++ for OpenCL.
* 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>