Commit Graph
6144 Commits
Author SHA1 Message Date
Patrick Quist 00f226fa2a fix skipasm (#2931) 2021-09-12 02:43:15 +02:00
partouf 85cda71b9b fix #2929 2021-09-11 22:50:09 +00:00
Mats LarsenandPatrick Quist d93bd31f40 Add base Pane component and migrate RustMirView to TypeScript (#2917)
* 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>
2021-09-10 23:42:47 +02:00
Mats Larsen 000e147431 [NFC] Port monaco-config.js to TypeScript (#2918)
* Port monaco-config.js to TypeScript

* Properly type the inputs of extendConfig()

* Sort tsconfig
2021-09-10 23:40:52 +02:00
Robert Andrzejuk 4484943659 Update styles available in clang-format (#2926)
* Update styles availabe in clang-format

* Update compiler-explorer.amazon.properties
2021-09-10 12:41:53 +02:00
Patrick Quist 902a6a8777 search on cloogle (#2921) 2021-09-10 02:48:52 +02:00
Mats Larsen 6fda2c3793 Add rustc 1.55.0 (#2923)
* Add rustc 1.55.0

* Fix path and semver
2021-09-10 00:09:41 +02:00
RabsRincon 5525c40bc6 Fix current cursor pos bug 2021-09-07 17:39:24 +02:00
Patrick Quist 341f3b2c8a fix clang-trunk execution 2021-09-07 14:27:32 +02:00
Patrick Quist 0272d91e22 Update c++.amazon.properties 2021-09-06 23:14:50 +02:00
RabsRincon 0e296f27d0 Improve new cursor position label 2021-09-05 13:46:20 +02:00
Patrick Quist 72a3563f59 mips64_gl117 2021-09-04 21:33:45 +02:00
Patrick Quist 5d38630b02 fix mipsle_gl117 2021-09-04 21:22:57 +02:00
Patrick Quist 27136f3e1d Clean trunk and execution (#2916) 2021-09-04 20:55:49 +02:00
Jaap AartsandDmitriy Matrenichev 6a1eed2c87 Add go 1.17 (#2919)
* add go 1.17

* change default compiler

* Update etc/config/go.amazon.properties

Co-authored-by: Dmitriy Matrenichev <lepage+gh@protonmail.com>

* Update etc/config/go.amazon.properties

Co-authored-by: Dmitriy Matrenichev <lepage+gh@protonmail.com>

* Update etc/config/go.amazon.properties

Co-authored-by: Dmitriy Matrenichev <lepage+gh@protonmail.com>

Co-authored-by: Dmitriy Matrenichev <lepage+gh@protonmail.com>
2021-09-04 18:40:55 +02:00
RabsRincon a779f6005d Add current caret position to source pane 2021-09-04 17:06:28 +02:00
Rubén Rincón Blanco 40a587189b Fix CONTRIBUTING typo 2021-09-04 06:34:11 +02:00
Rubén Rincón Blanco 23cfe56c57 Update CONTRIBUTING.md 2021-09-04 06:33:31 +02:00
Rubén Rincón Blanco 3bc6022007 CE -> Compiler Explorer in README 2021-09-04 06:22:00 +02:00
RabsRincon fb7fa30403 Make executor spinner spin too 2021-09-04 06:20:28 +02:00
RabsRincon fa0aa1afcc Extremely minor tweaks to UI 2021-09-03 07:33:22 +02:00
RabsRincon c9e8e7a9a1 Remove leftover comment 2021-09-03 07:11:58 +02:00
RabsRincon cfbcf4e87d Make quick link share available for everyone 2021-09-03 07:09:09 +02:00
HazandRubén Rincón Blanco b3628b2c31 OCaml Improvements: objdump and a few refactorings (#2913)
* OCaml properties fixes

- Improve defaults by adding local and system versions
  - Make no assumptions about whether local and system are the same
  - Enable OPAM workflows which rely on updating PATH
- Fix version flag
- Fix objdumper

* OCaml output refactoring

* Add an arg parser for OCaml

Derived from Pascal (for now)

* Rename default OCaml compiler ids

* Add alias of old OCaml default compiler id

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2021-09-03 05:51:15 +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
Michał Cichoń de592dddf0 Add circle-131 with --gcc-toolchain switch support. Enables C++20 (#2914) 2021-09-02 18:24:39 -05:00
RabsRincon 9f1373be08 Reenables social shares for whole site
Fixes a bug introduced in #2510
(In which I totally deleted working code by mistake...)
2021-09-02 08:53:20 +02:00
Matt Godbolt a3d98e5c4b Pass toolchain to new circle 2021-09-01 22:04:34 -05:00
Patrick Quist e812888b0c tree sometimes doesn't exist anymore 2021-09-01 22:56:57 +02:00
Artem Belevich f6e79f249f Use default GPU target for CUDA compilation w/ NVCC (#2911)
See the discussion in this pull request for the details:
https://github.com/compiler-explorer/compiler-explorer/pull/2860
2021-09-01 22:31:13 +02:00
Kevin Adler 44c5162add Add support for Microsoft Visual C++ 6 (#2907)
A new compiler type 'win32-vc6' has been added, which uses a slightly
modified version of asm-parser-vc to handle assembly output differences
from current Visual Studio output.

In particular, MSVC6 does not output a comment line containing the
function's compile flags prior to the function body. The win32-vc parser
uses this to identify the start of a function and initialize
currentFunction. Instead, we use the regex that identifies a function
name to do this. Otherwise, a TypeError occurs trying to set
currentFunction.name when currentFunction is null.

In addition, MSVC6 only outputs a file comment once (presumably, until a
function from a different file is output). So instead of initializing
currentFunction.file to undefined, it is set to currentFile instead.
This should get set on the first function found in the file, but if not
it is initialized to undefined, so the behavior there would be the same.

Finally, the _DATA and _TLS segments are handled as well as some
additional miscellaneous directives.
2021-09-01 07:50:26 -05:00
github-actions[bot]andCompiler Explorer Bot 84727cacb9 Automated checkin - update browsers list (#2908)
Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
2021-09-01 05:15:22 +02:00
RabsRincon f82b0114d9 Adds drag support for Tree pane
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
2021-08-31 20:16:13 +02:00
Patrick Quist 31050a81ac Cmakeproms (#2906)
* new counters for cmake and bugfix executeCounter

* bugfix execution counter

* bugfix for when switching language
2021-08-31 17:46:21 +02:00
Patrick Quist 22304af44e new counters for cmake and bugfix executeCounter (#2905) 2021-08-31 16:39:55 +02:00
partouf 30a88625b5 grmbl lintfix 2021-08-31 12:56:01 +00:00
partouf 490b7da81c bugfix execution compilation status 2021-08-31 12:50:57 +00:00
Patrick Quist b744d6ad9e Asm-parser binary bugfix (#2904)
* unittests

* extra label definition screws up logic

* fix test
2021-08-31 14:07:23 +02:00
partouf df04975cca fix #2902 2021-08-31 08:59:23 +00:00
partouf 370633e091 fix #2896 2021-08-29 14:21:44 +00:00
partouf 9d382eb03e bugfix mainsource detection 2021-08-29 13:11:15 +00: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
Rubén Rincón Blanco b87f8569e3 Make linter happy 2021-08-28 20:10:51 +02:00
RabsRincon d562ae0376 Add test for forcedVersion flag 2021-08-28 19:28:03 +02:00
partouf c8cf80a12a Merge branch 'main' of https://github.com/compiler-explorer/compiler-explorer into main 2021-08-28 14:04:31 +00:00
partouf d7ec20d865 fix #2888 2021-08-28 14:03:19 +00:00
RabsRincon 50197b7fdf Properly allow prettier pragma 2021-08-28 16:02:35 +02:00
RabsRincon 1c59f9153f Disable eslint-license-header until we incorporate prettier 2021-08-28 15:31:19 +02:00
Patrick Quist 5c2cfcbded Catch2 now uses a debug suffix in trunk 2021-08-28 14:52:41 +02:00
Rubén Rincón Blanco 3d68f5382e Implements Prettier formatting (#2766) 2021-08-28 14:41:28 +02:00