Commit Graph
6104 Commits
Author SHA1 Message Date
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
Mats Larsen cfff740283 Fix execution for Java with multifile ui (#2882)
* Fix execution for Java with multifile ui

* Remove dev comment
2021-08-28 14:39:02 +02:00
Artem Belevich a2a73953d6 Reorganize CUDA compiler variants. (#2860)
Features supported by newer CUDA versions and GPUs are usually a superset of the
features of the older GPUs. Using the most recent ones allows us to compile more
code.

* For NVCC, use the most recent GPU supported by particular CUDA version.
* For clang, pick the most recent supported CUDA version and GPU.
2021-08-28 02:56:10 +02:00
RabsRincon 955e500cea Make asSafeVer even safer for more types of inputs 2021-08-28 02:55:33 +02:00
RabsRincon 46cb319e88 Fix json syntax error
Thanks jrtc27 for the headsup :)
2021-08-28 02:44:02 +02:00
RabsRincon 854fdf7127 Some more semver tests 2021-08-28 02:43:44 +02:00
RabsRincon 0b75857df3 Only focus on the first word of semver for ordering
Helps with #2860
2021-08-28 02:40:05 +02:00
Mats LarsenandRubén Rincón Blanco 3f4d18a78a Implement code document formatting through monaco (#2874)
* 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>
2021-08-28 02:01:17 +02:00
Rubén Rincón Blanco 958906d5c0 Bump monaco editor to latest version (#2876) 2021-08-28 01:59:17 +02:00
RabsRincon b624711873 Convert navbar a's to buttons 2021-08-28 01:34:21 +02:00
RabsRincon 9b17656ac4 Listen for ClipboardJS events on clippy button 2021-08-27 23:49:14 +02:00
RabsRincon 03a983c532 Avoid adding uncommited files to the ts list :) 2021-08-27 22:33:01 +02:00
RabsRincon 170023c498 Did I forget the important step? Yes 2021-08-27 22:31:56 +02:00
RabsRincon 4259ea91ff Load stored libs from state
Closes #2880
2021-08-27 22:14:57 +02:00
RabsRincon 6c053b8a62 Move static/sharing.js to TypeScript 2021-08-27 22:08:27 +02:00
RabsRincon 7c0a932f32 Ignore downloaded doc files 2021-08-27 22:08:04 +02:00
RabsRincon 7a49b18c7d Move static/url.js to TypeScript 2021-08-27 21:34:47 +02:00
RabsRincon 1db038b0e1 Add ts files to watcher list 2021-08-27 21:33:14 +02:00
Patrick Quist 27d29d991a allow .f fortran file 2021-08-27 20:36:45 +02:00
RabsRincon 55ab80ca6c Change some tree code based on WebStorm suggestions 2021-08-27 18:25:50 +02:00
RabsRincon ac87204fa7 Add color to linked compiler output lines 2021-08-27 18:00:53 +02:00
Mats Larsen 7a9663d1af Move global declarations into its own file (#2878) 2021-08-27 16:25:43 +02:00
partouf a0138c6c08 recovery option if tree suddenly disappears 2021-08-27 10:18:10 +00:00
partouf c549892cdf bugfix timing 2021-08-27 09:46:51 +00:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Patrick Quist 6e33f7a61e chibicc includeFlag 2021-08-26 18:40:48 +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
Rubén Rincón Blanco aab1e8cbaa Add chibicc (#2873)
I think this should not be a nightly install but a target for every
commit
2021-08-26 18:13:28 +02:00
Mats LarsenandRubén Rincón Blanco 935634cf54 Add kotlin 1.5.30 (#2871)
* Add kotlin 1.5.30

* Fix typo in config

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Bump default Kotlin compiler

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2021-08-25 07:21:28 -05:00
Jason Zheng 1ad589bbb0 Add Clang assertions trunk for OpenCL C and C++ for OpenCL (#2851) 2021-08-25 07:12:41 -05:00
RabsRincon 4062176309 Add DAW JSON Link C++ library
Closes #2864
2021-08-25 01:53:14 +02:00
Mats LarsenandMatt Godbolt 53b9e0ac59 Support multiple formatter types for /api/format (#2818)
* 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>
2021-08-24 18:46:38 -05:00
Jason Zheng 750f076f8d Add generic keywords to OpenCL C and C++ for OpenCL (#2869)
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.
2021-08-24 15:23:28 +02:00
stoperro f726eadde5 * Fixed documentation for executionWrapper to state it's a Path, not Boolean (#2862) 2021-08-22 17:24:18 -05:00
Matt Godbolt 6b31c63353 New sponsors 2021-08-22 16:40:42 -05:00
Norbert Wenzel eb0fb9e6a2 Add Eigen v3.4.0 release (#2865)
Changed all configurations containing Eigen to include the newest upstream
release v3.4.0.
2021-08-22 15:14:22 +02:00
Matt Godbolt f8f14479f0 Add boost 1.77.0 2021-08-21 18:03:53 -05:00
Johan Engelen 68dbdb8a5b Add LDC 1.27.1 and make it the default compiler (#2858)
* Add LDC 1.27.1 and make it the default compiler

* Update the D demangler
2021-08-16 23:45:30 +02:00
Patrick Quist 83fa117591 Add CLI11 2021-08-15 19:05:11 +02:00
Patrick Quist e98488e706 Update c++.amazon.properties 2021-08-15 18:50:19 +02:00
RabsRincon 562512b319 Add current lib count to dropdown button 2021-08-15 12:06:32 +02:00