Commit Graph
16 Commits
Author SHA1 Message Date
Austin Morton de85aecc7d Normalize and enforce license disclaimer headers (#2234) 2020-09-27 00:20:19 -04:00
Matt Godbolt f68198af9e Reassign copyright to Compiler Explorer Authors (#2233) 2020-09-26 17:50:40 -05:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -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
RabsRincon b7fc8b1759 Ensure backend options are always generated 2020-06-15 12:47:31 +02:00
Austin Morton cadbdf59ff Switch to p-queue package, implement compilationEnvTimeoutMs, and improve temp cleanup logging (#1877)
These changes are an attempt to help diagnose a queue halting issue that decreases parallelism and prevents temp dir cleanup.

see #1875
2020-03-07 01:50:49 -05:00
Austin Morton 1b7fe24990 Perform some general maintenance on the test suite (#1840) 2020-02-18 00:03:15 -05:00
Rubén 1a33902997 Merge compilerProps functions to a general case one (#956)
* Merge both compilerProps functions to general case

* Move compilerProps to lib/properties.js

It's now its own class, which takes a languages object + the ceProps
function to calMove compilerProps to lib/properties.js

* Add compilerProps behvaiour tests

* Add unknown language test
2018-06-19 10:09:44 +02:00
Matt Godbolt 78c3142977 Use the new caching system for compilation caches. 2018-05-18 10:48:53 -05:00
RabsRincon 2f6cd42e46 Add --noCache EXTRA_ARGA to disable caching
Also changes the way compilation-env works, by only having 1 for
	all compilers, instead of 1 for each. This should decrease
	memory usage as we now better enforce a maximum cache size.

Library UI got a tiny enchancement, but I'm 0% sure about it so let
	me know if this is worse!

Closes #801 #605
2018-03-05 18:31:48 +01:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon 9cb7251750 ES6fy CompilationEnv. Fixed some tests cornercases 2018-01-18 20:22:22 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
Matt Godbolt 89efa6f413 Extend linting to the tests 2017-12-11 07:41:23 -06:00
Matt Godbolt b6e9a4658b Another year, another copyright update 2017-01-02 10:14:46 -06:00
Matt Godbolt bc5848fa58 Adding more tests; beginnings of a refactor to make compilers more configurable 2016-11-16 21:52:05 -06:00