Commit Graph
1672 Commits
Author SHA1 Message Date
Partouf 9dde240d98 allow scrolling beyond last line in editors 2020-08-23 13:56:29 +02:00
sdgoodrick a41d7becf6 add support for cppx blue and gold languages (#2144) 2020-08-20 16:27:15 +02:00
Matt Godbolt e28e3df9ec Tweaks for PVS Studio 2020-08-13 22:20:20 -05:00
Partouf aaf8c6400d also filter hidden compilers when switching languages 2020-08-08 13:57:43 +02: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
Rubén Rincón Blanco 6b19e59300 Minor improvement to compilation API docs
Removes the `req.body.compiler` fallback when looking for the compiler - It could never be reached
2020-08-03 15:41:08 +02:00
Patrick Quist a68ba64740 cppreference search action (#2110)
* cppreference search action

* noopener
2020-07-31 10:40:10 +02:00
pbrubakerandPete Brubaker d1a48657fe Update ispc-mode.js (#2108)
* Update ispc-mode.js
* Add uint* types for syntax highlighting.
* add size_t

Co-authored-by: Pete Brubaker <pete.brubaker@intel.com>
2020-07-30 10:45:38 -05:00
Patrick Quist f77c1507c4 libs height again needs to be larger 2020-07-17 12:20:07 +02:00
Patrick Quist cf7e0b029f [WIP] Fetch binaries for libraries before building (#1945)
* allow liblink also in lib group

* basic working version of lib binaries via conan

* refactored buildenvsetup into classes

* draft of more library readme

* things that aren't really needed

* dont request from conan if theres nothing to link

* conditionally

* its getting late

* download libraries with "native js"

* add libs

* Update c++.amazon.properties

* Update c++.amazon.properties

* Update c++.amazon.properties

* Update buildenvsetup-ceconan.js

* support library alias client- & server-side

* .

* merge master

* url change

* path fix

* disable broken compilers

* buggy clang compilers

* removed disabled compiler

* Update c++.amazon.properties

* bugfixes and add library lookupversion

* libuv and openssl update

* add libs

* test if tbb works with tbb_debug

* normal tbb

* rpath current folder as well for .so's

* add new tbb version and switch folders

* disable ulib
2020-07-15 01:33:54 +02:00
David Allen 6ecf9f94bc Fix modal padding and margin to properly centre dialogs 2020-07-13 01:41:36 +10:00
Patrick Quist ea66990bac Mobile context menu bugfix (#2048)
* make contextmenu on mobile disappear when you click somewhere else

* lintfix

* Update editor.js

* Update editor.js
2020-07-09 14:22:07 +02:00
Austin Morton 05e2d09be2 Workaround for goldenlayout maximized item bug
fixes #2056
2020-07-01 10:42:34 -04:00
Austin Morton 984ceb3fc9 Optimize quickbench svg logo and style quickbench/cppinsights logos for better visibility on dark theme (#2054) 2020-06-30 12:33:39 -04:00
RabsRincon ed7cb6bc58 Remove extra newline 2020-06-24 16:28:37 +02:00
RabsRincon f4d50420e1 Makes Tool font select work for both dom & editor
Closes #2045
2020-06-24 16:27:20 +02:00
RabsRincon cf11b5efcb Add dump asm developer option to compiler editor
Super helpful when checking tokenization issues,
 no more need to go to the Network tab! :)
2020-06-23 04:48:15 +02:00
Patrick Quist 01f59fd22c [WIP] Mobile View-only mode (#2037)
* just the important bits

* hide arrows by default

* remove share button when in mobileviewmode

* oops

* support executor

* compiler output support, tools, executor, lot of refactoring

* support skipAsm filter
2020-06-20 21:32:41 +02:00
Austin Morton 1035440125 Prevent editor selection changes from overwriting shortlink url (#2039)
fixes #2016
2020-06-20 20:39:34 +02:00
RabsRincon a86bf256b8 Makes tools dropdown behave like the rest
Closes #2029
2020-06-15 11:59:33 +02:00
Rubén Rincón Blanco ffebe1fd99 Merge pull request #2019 from compiler-explorer/skipAsm
Add backend option skipAsm
2020-06-14 23:20:28 +02:00
RabsRincon e215d8f31f Add min-width to toolsmenu dropdown
Closes #2027
2020-06-14 11:03:26 +02:00
Tomas Dittmann a90bdaa4b8 fix class names.
add missing parameters.
fix comments.
move font-resizer styles to correct position.
2020-06-14 00:07:38 +02:00
Tomas Dittmann 337c927c8b fix max height for simple content modal dialogs. 2020-06-13 00:51:30 +02:00
Tomas Dittmann 30a212b518 make modal dialogs responsive 2020-06-13 00:45:55 +02:00
Matt Godbolt d953a00732 Rename sponsor to ces in te CSS to alleviate blocker woes. Closes #2023 2020-06-12 09:10:34 -05:00
Matt Godbolt e6a4302399 Tweaks to maybe improve on #2020 2020-06-10 22:19:01 -05:00
RabsRincon 6155516e03 Add backend option skipAsm
It avoids processing the asm parts if the user does not need it

Maybe another approach would be to always process it and delete it
 from the served result, that way we could cache both versions
 under the same key.
2020-06-10 21:15:46 +02:00
Matt Godbolt 452ca8fe8e File load dialog fix
Don't try and load on "change" if there's nothing selected.

Fixes #373
2020-06-09 20:27:23 -05:00
RabsRincon 2785809884 Add ability to hide compilers from selection lists
It shows them if the state had it being used - But only for that pane

Maybe we could add some visual indicator that the current compiler is
 hidden, but that's for some other time

Releated to #1997
2020-06-09 13:47:59 +02:00
Matt Godbolt 453bef9a56 Adding another sponsor; PVS Studio 2020-05-22 08:49:16 -05:00
RabsRincon ed03ef34b4 Make tabWidth setting a numeric input
Closes #1977
2020-05-20 01:46:54 +02:00
Matt Godbolt 84e9b282fd Canonical URLs now https://github.com/compiler-explorer/compiler-explorer! Hooray :) 2020-05-16 11:09:30 -05:00
Austin Morton 4792a12283 Fix minor height difference of sponsor menu item 2020-05-14 20:04:35 -04:00
Matt Godbolt 5ba7e7f943 Tweaks 2020-05-08 06:42:42 -05:00
Matt Godbolt e9441f38ec Add first corporate sponsor 2020-05-07 22:14:37 -05:00
Matt Godbolt cfed3e77b8 Add an option to disable indent. Seemingly needs a restart (tried all the things I could think of), so gave up and just put a comment to say so. 2020-04-24 20:42:10 -05:00
Matt Godbolt 1334711d90 Fix sponsors open GA 2020-04-21 23:37:40 -05:00
Matt Godbolt 88ec13feb0 Tweaks to sizes 2020-04-13 20:57:31 -05:00
Matt Godbolt ecffaefaab Read thanks/sponsors on demand.
Implement @apmorton's idea. Not sure about either `partial`, `_partial` or
the `bits` I went with...thoughts welcomed!
2020-04-12 18:12:08 -05:00
RabsRincon a56f448ff0 Rename sponsor div class names 2020-04-12 18:18:59 +02:00
Matt Godbolt 14062b0307 Merge remote-tracking branch 'origin/master' into mg/sponsors 2020-04-12 09:12:11 -05:00
Matt Godbolt 0c07215ab4 Escape an ampersand 2020-04-12 09:11:15 -05:00
Matt Godbolt 420462bdfd Move thanks to "sponsors"
* Implement (server-side) templating and parsing of sponsors to take some
  of the toil out of updating what was thanks.html, and pave the way for
  making this dynamically loaded outside of the codebase.
* Support corporate sponsorships. Currently showing two (unapproved, NOT
  for merging) ideas of possible sponsors.
* Some minor tweaks to try and support small screens better for these.
2020-04-11 18:11:41 -05:00
Matt Godbolt 82162b765a Thanks from GitHub sponsors 2020-04-10 12:23:03 -05:00
Matt Godbolt 82b6727919 More thanks 2020-04-10 08:43:45 -05:00
RabsRincon e2df7d555e Slightly change color of dark theme line link
Reduced HSL lightness
2020-04-02 20:43:08 +02:00
Matt Godbolt a425115552 Honouring anonymousness 2020-03-18 12:12:32 -05:00
Matt Godbolt 4998838312 Merge remote-tracking branch 'origin/master' into mg/filters_ui 2020-03-03 18:55:41 -06:00
Patrick Quist 08772b9804 select extra options in quickbench (#1834)
* select extra options in quickbench

* lintfixes

* use regex to determine optimization lvl

* bugfixes + better semver recognition

* fix optimization flags to quickbench

* Also add c++std to cppinsights link
2020-03-03 19:52:21 +01:00