Commit Graph
68 Commits
Author SHA1 Message Date
RabsRincon 8886821da4 Add a way to ensure no tracking is done and now 3rd party is available 2021-10-26 20:31:38 +02:00
Bhavin Ag 26f8357627 refactor: replace underscore each usage with native for of (#3012)
* refactor: update underscore each usage to native iterations
* refactor: replace object.entries with for of
2021-10-08 07:50:27 -05:00
Rubén Rincón Blanco b6338e0897 Adds supportsExecute language option (#2963)
* Adds supportsExecute language option

It's recalculated every time the compilers change
2021-10-04 21:47:29 -05:00
RabsRincon 955e500cea Make asSafeVer even safer for more types of inputs 2021-08-28 02:55:33 +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
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
Rubén Rincón Blanco f3acbc972a Adds .hidden for libraries (#2780)
* Adds .hidden for libraries
* Add test for new hidden property
2021-07-19 21:53:54 -05:00
Matt Godbolt 7fddb70e22 Add optional support for noting page loads with which icons are visible (#2774)
* Add optional support for noting page loads with which icons are visible
* Add an endpoint
2021-07-11 17:06:48 -05:00
Matt Godbolt 68a687decb Support execution in python
* Introduces "interpreted" language option
* Supports execute if binary or interpreted, and "supportsExecute"
* Misc tidyups

CC @jfalcou
2021-06-26 15:33:58 -05:00
Matt Godbolt 459afeb426 Goodbye, travis 2021-02-13 09:23:17 -06:00
Rubén Rincón Blancoandpartouf 4e683c53d6 Adds args field to tools (#2406)
* Adds args field to tools

This args field is show in the UI inside the Arguments input.

Closes #2395

* support options for all tools

* clang-format tidy and query use .options differently

* compiler dropin uses options differently as well

Co-authored-by: partouf <partouf@gmail.com>
2021-02-08 07:15:13 +01:00
Tom Ritter 52b268801e Check for tool binary existance, and add some default c++ Tools (#2384)
* Add some default C++ tools that are commonly found

* Check for the presence of tool exe's and do not add them if not found
2021-01-14 22:00:32 +01:00
Austin Morton 8bc2b57c32 Avoid re-stringifying client-options.js on every request 2020-10-11 12:04:23 -04:00
Patrick Quist 4a158e1ff4 Library widget revamp (#2223)
* Use new widget for the ever-expanding library count
2020-09-27 01:59:40 +02:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Austin Morton bac07fea6d Eliminate all dynamic require statements (#2230) 2020-09-25 11:21:30 -04:00
Patrick Quist 697c8e9296 support library options to be passed on to the compiler (#2215) 2020-09-25 02:09:47 +02:00
Austin Morton 3c4aa76707 Replace demanglerClassFile with demanglerType (#2225) 2020-09-23 05:34:30 -04: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
Austin Morton fb2f43b579 Ensure sentry environment is set for node backend
fixes #2104
2020-07-27 14:11:52 -04: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
RabsRincon b7fc8b1759 Ensure backend options are always generated 2020-06-15 12:47:31 +02:00
Matt Godbolt 2f02d8b87d Merge remote-tracking branch 'origin/master' into GeorgeGribkov-pvs-studio-tool 2020-06-03 08:09:42 -05:00
Matt Godbolt 97c7067019 Tools includeKey
If a tool has an includeKey set, then for each compiler, this key is
looked up, and if not 'truthy', then the tool is disabled for that
compiler.
2020-06-03 08:04:15 -05:00
Partouf 3a458c1952 fix the things 2020-05-22 14:14:49 +02: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
Rubén Rincón 141512ba86 Add gitReleaseCommit field to options
Fixes #1825
2020-02-11 10:26:05 +01:00
Matt Godbolt 6d939696cd Ensure HTML stuff uses new sentry scheme 2020-01-11 18:02:47 -06:00
Partouf 29c863fa07 remove nonsensical warning 2019-11-15 15:01:39 +01:00
Austin Morton 419458530f Support serving static content externally 2019-11-13 23:35:53 -05:00
Patrick Quist ba7d53572c Merge pull request #1616 from mattgodbolt/staticlibs
Static library linking support
2019-11-06 14:47:46 +01:00
Rubén Rincón ae222b4a9d Simplify fontScale behaviour
Closes #1660
2019-11-05 09:36:18 +01:00
Partouf fcbeb14ed4 Merge remote-tracking branch 'matt/master' into staticlibs 2019-10-25 17:36:39 +02:00
Alessandro Vergani a49e960bd7 Fix sever comparison for single digit
This fixes #1598 by making 'x' < 'x.1'
2019-10-09 14:16:20 +02:00
Partouf f66a07433a sort static libs based on dependencies 2019-10-08 23:56:53 +02:00
Partouf 6d6edfbec0 more static linking 2019-10-06 21:29:00 +02:00
Partouf 37686d8032 fix unittests 2019-08-15 17:00:32 +02:00
Partouf 27394cd986 add openssl, shared lib support, ldd to check so's 2019-08-15 14:45:18 +02:00
Patrick Quist ebfad4ea2d Merge pull request #1503 from mattgodbolt/toolimprovements
Tool improvements
2019-07-26 19:59:24 +02:00
Partouf 076ae6b4bb support hint for stdin 2019-07-21 17:59:54 +02:00
Partouf 3264da7220 language support tool output 2019-07-21 16:44:50 +02:00
Austin Morton ed7c80f8fe Move bulk of client side options to non-inlined script (#1497) 2019-07-19 15:59:43 -04:00
Partouf 340d63a01c splitter change for win32 2019-07-12 14:34:38 +02:00
Matt Godbolt 387fdf2ba5 Tweaks to url shortener service changes 2019-05-31 21:09:03 -05:00
Matt Godbolt 895bfd5913 Compiler Explorer Team->Authors (for consistency) 2019-05-30 16:33:07 -05:00
Partouf 74a5720592 Merge remote-tracking branch 'matt/master' into hide-header-code 2018-12-17 21:37:23 +01:00
Matt Godbolt 423f6688ef Move to newer sentry library (hopefully fixes any sentry log issues) 2018-12-06 22:03:05 -06:00
Partouf aa06fd8750 default off, added supportsLibraryCodeFilter property 2018-11-18 15:41:00 +01:00
RabsRincon 1a71a22fe3 Move to own cookie consent solution 2018-11-05 17:35:18 +01:00
Partouf 5917617c6b clangtidy options 2018-11-01 01:59:43 +01:00