Permalink
Browse files

s/gcc-explorer/compiler-explorer/g

  • Loading branch information...
1 parent f61825b commit 1b02040826fa36dcd2ff6ded5a4c3e809cf877b9 @mattgodbolt committed Jan 2, 2017
@@ -8,4 +8,4 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
-</module>
+</module>
@@ -0,0 +1,6 @@
+<component name="InspectionProjectProfileManager">
+ <settings>
+ <option name="PROJECT_PROFILE" />
+ <version value="1.0" />
+ </settings>
+</component>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
- <file url="file://$PROJECT_DIR$" libraries="{gcc-explorer/node_modules}" />
+ <file url="file://$PROJECT_DIR$" libraries="{compiler-explorer/node_modules}" />
<includedPredefinedLibrary name="Node.js Core" />
</component>
-</project>
+</project>
@@ -2,18 +2,18 @@
<library name="Cargo &lt;rustfilt&gt;">
<CLASSES>
<root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.80" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.3.9" />
<root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.3" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.2.2" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-0.1.3" />
<root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/thread-id-2.0.0" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.2.8" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.2.7" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.18" />
<root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.5.3" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.2.2" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.2.7" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.2.8" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.3.9" />
<root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-0.1.11" />
- <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-0.1.3" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2" />
+ <root url="file://$USER_HOME$/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.18" />
</CLASSES>
<JAVADOC />
<SOURCES />
View
@@ -2,8 +2,8 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
- <module fileurl="file://$PROJECT_DIR$/.idea/gcc-explorer.iml" filepath="$PROJECT_DIR$/.idea/gcc-explorer.iml" />
+ <module fileurl="file://$PROJECT_DIR$/.idea/compiler-explorer.iml" filepath="$PROJECT_DIR$/.idea/compiler-explorer.iml" />
<module fileurl="file://$PROJECT_DIR$/rust/rustfilt.iml" filepath="$PROJECT_DIR$/rust/rustfilt.iml" />
</modules>
</component>
-</project>
+</project>
View
@@ -1,4 +1,4 @@
-[![Build Status](https://travis-ci.org/mattgodbolt/gcc-explorer.svg?branch=master)](https://travis-ci.org/mattgodbolt/gcc-explorer)
+[![Build Status](https://travis-ci.org/mattgodbolt/compiler-explorer.svg?branch=master)](https://travis-ci.org/mattgodbolt/compiler-explorer)
[![Codewake](https://www.codewake.com/badges/ask_question.svg)](https://www.codewake.com/p/compiler-explorer)
Compiler Explorer
@@ -25,12 +25,12 @@ running on port 10240 on your local machine: http://localhost:10240/
The `Makefile` will automatically install all the third party libraries needed to run; using `npm` to install server-side
components and `bower` to install all the client-facing libraries.
-If you want to point it at your own GCC or similar binaries, either edit the `etc/config/gcc-explorer.defaults.properties` or else make a new one with the name
-`gcc-explorer.local.properties`. `*.local.properties` files have the highest priority when loading properties.
+If you want to point it at your own GCC or similar binaries, either edit the `etc/config/compiler-explorer.defaults.properties` or else make a new one with the name
+`compiler-explorer.local.properties`. `*.local.properties` files have the highest priority when loading properties.
The config system leaves a lot to be desired, I'm working on porting [CCS](https://github.com/hellige/ccs-cpp) to javascript and then something more rational can be used.
-Feel free to raise an issue on [github](https://github.com/mattgodbolt/gcc-explorer/issues) or
+Feel free to raise an issue on [github](https://github.com/mattgodbolt/compiler-explorer/issues) or
[email me directly](mailto:matt@godbolt.org) for more help.
### Credits
View
@@ -86,9 +86,9 @@ if (opts.propDebug) props.setDebug(true);
// *All* files in config dir are parsed
props.initialize(rootDir + '/config', propHierarchy);
-// Instantiate a function to access records concerning "gcc-explorer"
+// Instantiate a function to access records concerning "compiler-explorer"
// in hidden object props.properties
-var gccProps = props.propsFor("gcc-explorer");
+var gccProps = props.propsFor("compiler-explorer");
// Read from gccexplorer's config the wdiff configuration
// that will be used to configure lib/diff.js
View
@@ -1,12 +1,12 @@
{
- "name": "gcc-explorer",
+ "name": "compiler-explorer",
"description": "Interactively investigate compiler output",
"main": "./app.js",
"authors": [
"Matt Godbolt"
],
"license": "BSD-2-Clause",
- "homepage": "https://github.com/mattgodbolt/gcc-explorer",
+ "homepage": "https://github.com/mattgodbolt/compiler-explorer",
"private": true,
"ignore": [
"**/.*",
View
@@ -76,7 +76,7 @@ static int allowed_match(const char* path, const char* okpath, const char *denyp
deny:
if (debug) {
- fprintf(stderr, "Access to \"%s\" denied by gcc-explorer policy\n", path);
+ fprintf(stderr, "Access to \"%s\" denied by compiler-explorer policy\n", path);
}
errno = EACCES;
return 0;
View
@@ -29,7 +29,7 @@ var utils = require('./utils');
var sourceTag = /^;\s*([0-9]+)\s*:/;
var ignoreAll = /^\s*include listing\.inc$/;
var fileFind = /^; File\s+(.*)$/;
-var gccExplorerDir = /\\gcc-explorer-compiler/; // has to match part of the path in compile-handler.js (ugly)
+var gccExplorerDir = /\\compiler-explorer-compiler/; // has to match part of the path in compile-handler.js (ugly)
// Parse into:
// * optional leading whitespace
// * middle part
@@ -257,4 +257,4 @@ AsmParser.prototype.process = function (asm, filters) {
module.exports = {
ClParser: ClParser,
AsmParser: AsmParser
-};
+};
@@ -42,7 +42,7 @@ function Compile(compiler, env) {
Compile.prototype.newTempDir = function () {
return new Promise(function (resolve, reject) {
- temp.mkdir('gcc-explorer-compiler', function (err, dirPath) {
+ temp.mkdir('compiler-explorer-compiler', function (err, dirPath) {
if (err)
reject("Unable to open temp file: " + err);
else
View
@@ -139,7 +139,7 @@ function cleanAndGetIndexes(text) {
function newTempDir() {
return new Promise(function (resolve, reject) {
- temp.mkdir('gcc-explorer-diff', function (err, dirPath) {
+ temp.mkdir('compiler-explorer-diff', function (err, dirPath) {
if (err)
reject("Unable to open temp file: " + err);
else
@@ -170,8 +170,8 @@ function buildDiffHandler(config) {
var tempBeforePath, tempAfterPath;
newTempDir()
.then(function (tmpDir) {
- tempBeforePath = path.join(tmpDir, "gcc-explorer-wdiff-before");
- tempAfterPath = path.join(tmpDir, "gcc-explorer-wdiff-after");
+ tempBeforePath = path.join(tmpDir, "compiler-explorer-wdiff-before");
+ tempAfterPath = path.join(tmpDir, "compiler-explorer-wdiff-after");
return Promise.all(
writeFile(tempBeforePath, before),
writeFile(tempAfterPath, after)
View
@@ -1,5 +1,5 @@
{
- "name": "gcc-explorer",
+ "name": "compiler-explorer",
"description": "Interactively investigate compiler output",
"author": {
"name": "Matt Godbolt",
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
- "url": "mattgodbolt/gcc-explorer"
+ "url": "mattgodbolt/compiler-explorer"
},
"version": "0.0.3",
"engines": {
View
@@ -82,7 +82,7 @@ define(function (require) {
dragDrop: false,
readOnly: state.options ? !!state.options.readOnly : false,
extraKeys: {
- "Alt-F": false, // see https://github.com/mattgodbolt/gcc-explorer/pull/131
+ "Alt-F": false, // see https://github.com/mattgodbolt/compiler-explorer/pull/131
"Ctrl-/": 'toggleComment'
},
mode: cmMode
View
@@ -18,10 +18,11 @@
<li class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="if-github-enabled">
- <a href="https://github.com/mattgodbolt/gcc-explorer">Source on GitHub</a>
+ <a href="https://github.com/mattgodbolt/compiler-explorer">Source on GitHub</a>
</li>
+ <li><a href="#" id="share">Share</a></li>
<li class="dropdown if-share-enabled">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Share<b class="caret"></b></a>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Social<b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="social">
<g:plusone annotation="inline" width="150"></g:plusone>
@@ -31,12 +32,13 @@
</ul>
</li>
<li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Help<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="https://plus.google.com/112384289668860490877" rel="publisher">Google+ page</a>
- </li>
- <li><a href="https://plus.google.com/105166465490735292917" rel="author">About Matt</a></li>
- <li><a href="mailto:matt@godbolt.org">Contact Matt</a></li>
+ <li><a href="https://github.com/mattgodbolt/compiler-explorer/wiki">Wiki</a></li>
+ <li><a href="https://github.com/mattgodbolt/compiler-explorer/issues">Report an issue</a></li>
+ <li><a href="mailto:matt@godbolt.org">Contact the author</a></li>
+ <li><a href="http://xania.org/201609/how-compiler-explorer-runs-on-amazon">How it works</a></li>
+ <li><a href="http://xania.org/MattGodbolt" rel="author">About the author</a></li>
</ul>
</li>
</ul>
View
@@ -150,6 +150,8 @@ define(function (require) {
sizeRoot();
new clipboard('.btn.clippy');
+
+ sharing.initShareButton($('#share'), layout);
}
$(start);

0 comments on commit 1b02040

Please sign in to comment.