Commit Graph
75 Commits
Author SHA1 Message Date
jaredwy 8be70d1fc9 Adding a make entry for a dev mode. Cleaning up some unused variables, moving some vars to be vars so i can move paths easier 2018-01-28 19:09:33 +11:00
jaredwy b545b339bc bower be gone 2018-01-28 19:09:33 +11:00
jaredwy 70556a6c65 first pass at using webpack/yarn rather than bower and require.js 2018-01-28 19:09:33 +11:00
RabsRincon c280da556b Update libs (non-major) versions
Tests pass and site seems to run ok
2018-01-07 22:04:08 +01:00
Matt Godbolt 7f5b167dd7 Take out new relic support.
APM support is too expensive, and infrastructure stuff isn't worth it
IMO.

Makes #678 obsolete.
2018-01-07 12:14:36 -06:00
partouf c931e684b3 Upgrade to newer version of Express 2018-01-04 18:11:48 +01:00
Matt Godbolt 3ccb8b077e Remove unnecessary Promise requirements in server code, switch to separate denodeify 2017-12-22 04:56:56 -06:00
Matt Godbolt a47b5127b5 Correctly run tests for coverage. Exclude the auto-generated asm-docs.js 2017-12-21 12:00:43 -06:00
RabsRincon adcfbb6236 Add local coverage support.
Running npm run localcoverage will create out/coverage/index.html
	which will tell you your current coverage!
2017-12-12 22:44:11 +01:00
RabsRincon 9e6739ef29 Make code coverage recursive too 2017-12-12 14:31:57 +01:00
RabsRincon 33096bcded Execute tests on subfolders 2017-12-12 13:45:47 +01:00
Matt Godbolt 1c3e94dbd5 Start extracting handlers into their own testable bits 2017-12-11 20:05:58 -06:00
Matt Godbolt 668ce4a127 Make a npm run coverage command to just report on coverage 2017-12-10 15:54:34 -06:00
Matt Godbolt aa0b3e6651 Update AWS. Add tests 2017-12-10 15:52:52 -06:00
Matt Godbolt 948820e5a9 Maybe add code coverage? 2017-12-10 09:34:28 -06:00
Matt Godbolt 5b199a116d Extract google short url into a testable (I know!) unit. And test it 2017-12-08 21:29:08 -06:00
Matt Godbolt 740e88d767 New relic support 2017-12-08 08:55:17 -06:00
Matt Godbolt e55b9138bc Add separate jshint configs for client and server. Make them much more strict, and fix up the issues brought up 2017-11-21 22:52:58 -06:00
Matt Godbolt cf407a85ef Add some config parameters that come from AWS itself. Use it to configure raven (sentry.io) on the server 2017-11-21 22:52:58 -06:00
Matt Godbolt 43c16a1238 Bump minimum node to v8 2017-11-05 16:46:18 -06:00
Rubén 0260e0e33f Update Monaco to latest version 2017-10-17 06:13:09 +02:00
Rubén 7c9f6af470 Bump lru-cache version.
This should fix, hopefuly, #568 but leaving open until I have a
solid confirmation, that is, once it hits the live site

Thanks to @mknejp for reporting and testing the fix :)
2017-10-09 22:30:09 +02:00
Rubén 58c821f23d Remove all traces of clang-format
It should have never been here in the first place
2017-09-26 19:27:52 +02:00
Rubén 81419b1cc6 Add clang-format to our workflow.
make format reformats every js file in lib/ & static/ (Plus app.js)

Hopefuly your preferred IDE has some kind of integration with c-f
2017-09-26 17:44:02 +02:00
Matt Godbolt ac97b128a8 Upgrade promise-queue in the hope of placating #525 2017-09-18 12:16:21 -05:00
Matt Godbolt bc862cb94b Upgrade to Monaco 0.10.0 2017-08-23 10:43:16 -05:00
Rubén d549b7f8ec Merge branch 'master' into jw/args-parser 2017-07-05 12:56:37 +02:00
Matt Godbolt f88a92ea24 Upgrade to Monaco 0.9.0. Closes #464 2017-07-03 09:11:02 -05:00
jaredwy 13cd0fd797 Made some changes to the way we parse arguments as a stab at a start of a meta data gatherer 2017-07-03 17:45:09 +10:00
Jared Wyles 3cc634c31e Bump the package version. opt-info now targets es5 2017-04-24 07:31:05 +10:00
Jared Wyles cf882a5d0c First pass at adding a opt view mode for compiler explorer 2017-04-20 09:52:45 +10:00
Matt Godbolt 14199f4012 Latest monaco 2017-03-06 20:56:24 -06:00
Matt Godbolt ef975bdd2f Move to using pug templates to assemble both main view and embedded view. Means a reduction in code duplication between embedded and non-embedded; and saves a round-trip getting the options. 2017-03-06 18:04:42 -06:00
Matt Godbolt 4c7787631e Roll to latest monaco 2017-02-07 18:01:27 -06:00
Matt Godbolt df111e25f4 Revert "Go back to using the bower package (thanks @michal-golfi)"
This reverts commit 4078fadc35.
2017-02-07 17:59:38 -06:00
Matt Godbolt 23efc05167 New RESTful API
Partially addresses #179 and begins opening the door to #203.
2017-01-14 23:24:31 -06:00
Matt Godbolt 25f49f9a80 Kill entire process tree of a child when the timeout is reached. Fixes #232 2017-01-11 15:53:12 -06:00
Matt Godbolt 1b02040826 s/gcc-explorer/compiler-explorer/g 2017-01-02 10:11:29 -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
Matt Godbolt a0722cd4c4 Add a versioned subdirectory with an infinite cache length. Partially addresses #178 2016-11-07 18:13:16 -06:00
Matt Godbolt 5a6de74105 Use winston for logging 2016-10-27 20:15:25 -05:00
Matt Godbolt 8a8c9d2d20 Merge remote-tracking branch 'origin/msvc-spike'
Conflicts:
	lib/compile.js
2016-10-26 11:59:17 -05:00
Sahnvour e80d622ab5 Better handling of command line arguments when invoking compiler. 2016-10-26 17:46:35 +02:00
Matt Godbolt 6fc5c166da Lint fixes 2016-10-12 13:26:16 -05:00
Matt Godbolt d11fb2c206 Merge branch 'master' into msvc-spike
Conflicts:
	app.js
	etc/config/gcc-explorer.lud-ldnmg01.properties
	lib/asm.js
	lib/compile.js
	package.json
	static/asm-mode.js
	static/compiler.js
	test/test.js
2016-10-03 18:03:52 -05:00
Matt Godbolt 5f070ad749 Use floating supervisor version 2016-10-02 08:54:51 -05:00
Matt Godbolt 461e6110ef Fix unused label issues
Treat labels which are used only by directives in other labels as used
if the other label itself is used by an opcode: that is, propagate the
transitive usage of labels.

Fixes #35
2016-09-20 09:09:47 -05:00
Matt Godbolt 49e1ad9ebd Early support for r.js 2016-08-18 23:41:36 -05:00
Matt Godbolt 3600d7ac7e First move towards rewrite 2016-08-18 23:23:22 -05:00
Matt Godbolt 65e7678b64 Fetch AWS resources (land of primitive service discovery) 2016-06-15 21:29:53 -05:00