Skip to content

Commit 6ef87b5

Browse files
committed
Fix copyright dates and normalize text
1 parent 9016dc0 commit 6ef87b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+223
-225
lines changed

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
// Copyright (c) 2012-2018, Matt Godbolt
3+
// Copyright (c) 2012, Matt Godbolt
44
// All rights reserved.
55
//
66
// Redistribution and use in source and binary forms, with or without

etc/scripts/cpyrighter.py

-55
This file was deleted.

lib/asm-cl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/asm-raw.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Patrick Quist
1+
// Copyright (c) 2018, Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/asm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2015, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/aws.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/base-compiler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2015, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/cfg.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Najjar Chedy
2-
//
1+
// Copyright (c) 2017, Najjar Chedy
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

lib/cl-support.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Patrick Quist
1+
// Copyright (c) 2017, Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilation-env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt & Rubén Rincón
1+
// Copyright (c) 2016, Matt Godbolt & Rubén Rincón
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/WSL-CL.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Andrew Pardoe
1+
// Copyright (c) 2017, Andrew Pardoe
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/Wine-CL.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/argument-parsers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Jared Wyles
1+
// Copyright (c) 2017, Jared Wyles
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/assembly.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Patrick Quist
1+
// Copyright (c) 2018, Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/default.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/fake-for-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2017, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/gcc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Rubén Rincón
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/golang.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt & Rubén Rincón
1+
// Copyright (c) 2016, Matt Godbolt & Rubén Rincón
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/haskell.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Rubén Rincón
1+
// Copyright (c) 2017, Rubén Rincón
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/ispc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt & Rubén Rincón
1+
// Copyright (c) 2017, Matt Godbolt & Rubén Rincón
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/ldc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/pascal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Patrick Quist
1+
// Copyright (c) 2017, Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/ppci.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2018, Windel Bouwman & Patrick Quist
1+
// Copyright (c) 2017, Windel Bouwman & Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/rust.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/compilers/swift.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt & Rubén Rincón
1+
// Copyright (c) 2017, Matt Godbolt & Rubén Rincón
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/csp.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Rubén Rincón
2-
//
1+
// Copyright (c) 2018, Rubén Rincón
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

lib/exec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2017, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/google.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2017, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/handlers/api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2017, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/handlers/asm-docs-api.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
2-
//
1+
// Copyright (c) 2017, Matt Godbolt
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

lib/handlers/compile.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without
@@ -42,7 +42,7 @@ function initialise(ceProps, compilerEnv) {
4242
if (oneTimeInit) return;
4343
oneTimeInit = true;
4444
const tempDirCleanupSecs = ceProps("tempDirCleanupSecs", 600);
45-
logger.info("Cleaning temp dirs every " + tempDirCleanupSecs + " secs");
45+
logger.info(`Cleaning temp dirs every ${tempDirCleanupSecs} secs`);
4646
setInterval(() => {
4747
if (compilerEnv.isBusy()) {
4848
logger.warn("Skipping temporary file clean up as compiler environment is busy");
@@ -80,7 +80,7 @@ class CompileHandler {
8080
.then(res => {
8181
const cached = this.findCompiler(compiler.lang, compiler.id);
8282
if (cached && cached.mtime.getTime() === res.mtime.getTime()) {
83-
logger.debug(compiler.id + " is unchanged");
83+
logger.debug(`${compiler.id} is unchanged`);
8484
return cached;
8585
}
8686
return new this.factories[type](compiler, this.compilerEnv)
@@ -227,7 +227,7 @@ class CompileHandler {
227227
if (!_.isEmpty(result.stderr)) res.write("\nStandard error:\n" + textify(result.stderr));
228228
} catch (ex) {
229229
Raven.captureException(ex, {req: req});
230-
res.write("Error handling request: " + ex);
230+
res.write(`Error handling request: ${ex}`);
231231
}
232232
res.end('\n');
233233
}
@@ -243,7 +243,7 @@ class CompileHandler {
243243
res.end(JSON.stringify(error));
244244
return;
245245
}
246-
error = "Internal Compiler Explorer error: " + (error.stack || error);
246+
error = `Internal Compiler Explorer error: ${error.stack || error}`;
247247
}
248248
res.end(JSON.stringify({code: -1, stderr: [{text: error}]}));
249249
});

lib/handlers/health-check.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2017, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/handlers/source.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2017, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/languages.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt & Rubén Rincón
2-
//
1+
// Copyright (c) 2017, Matt Godbolt & Rubén Rincón
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

lib/logger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/pascal-support.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Patrick Quist
1+
// Copyright (c) 2017, Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/properties.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2012, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/sources/browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2012, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/sources/builtin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2012, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/symbol-store.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Patrick Quist
1+
// Copyright (c) 2017, Patrick Quist
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

lib/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2016, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

static/alert.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt & Rubén Rincón
2-
//
1+
// Copyright (c) 2017, Matt Godbolt & Rubén Rincón
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/analytics.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
2-
//
1+
// Copyright (c) 2016, Matt Godbolt
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/asm-mode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
1+
// Copyright (c) 2012, Matt Godbolt
22
// All rights reserved.
33
//
44
// Redistribution and use in source and binary forms, with or without

static/ast-view.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Simon Brand
2-
//
1+
// Copyright (c) 2017, Simon Brand
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/cfg-view.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Najjar Chedy
2-
//
1+
// Copyright (c) 2017, Najjar Chedy
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/colour.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
2-
//
1+
// Copyright (c) 2016, Matt Godbolt
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/compiler-service.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
2-
//
1+
// Copyright (c) 2017, Matt Godbolt
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/compiler.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
2-
//
1+
// Copyright (c) 2012, Matt Godbolt
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

static/components.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright (c) 2012-2018, Matt Godbolt
2-
//
1+
// Copyright (c) 2016, Matt Godbolt
32
// All rights reserved.
43
//
54
// Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)