Commit Graph
42 Commits
Author SHA1 Message Date
Mats Larsen 025325e6d5 Replace CommonJS default exports with named exports (#3021)
This patch refactors every single CommonJS default export and TypeScript `export =` to use named exports.
2021-10-12 11:30:10 +02:00
Rubén Rincón Blanco 6a1dbe14f7 Some general UI touches (#2910)
* Touches and changes to the UI to make it more consistent

It fixes some problems, improves the UX of certain actions,
 and clears some code up

* More minor tweaks to the UI

* Fix class typo

* Add compiler picker opt group header background color in default theme

* Fix conformance view

* Removes some   in favour of margins

Removes boostrap-slider, there's a built-in html solution
Fixes tab width setting having a wrong input type

* More UI tweaks

* Remove empty CSS rule
2021-09-03 05:51:05 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
RabsRincon b3144fd00d Fix UI check for cl.exe outputting filename 2021-06-16 08:59:45 +02:00
RabsRincon 2032ceec3c Add title functionality in output buttons
As mentioned in #2696 by @opensdh, it's indeed an useful feature
2021-06-16 08:49:05 +02:00
RabsRincon b2308878ea Improve how we handle status icon and output info
This should help a bit in a few issues,
 but there's still work to do on all of them:

Issues #1034 #2674 #2696
2021-06-15 10:25:31 +02:00
partouf 59c7514bd4 lintfixes 2021-05-04 09:00:25 +00:00
Marc Poulhiès de5d3e156f Use case insensitive sort for group names (#2642) 2021-05-04 10:52:02 +02:00
Matt Godbolt f68198af9e Reassign copyright to Compiler Explorer Authors (#2233) 2020-09-26 17:50:40 -05: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 419458530f Support serving static content externally 2019-11-13 23:35:53 -05:00
Partouf 27f5f107ac support multiple aliases 2019-09-12 20:37:10 +02:00
RabsRincon 5d98a8c6d9 Fix conformance view not respecting defaultOptions
Moves shared compiler order selectizer setting to conformance view

Closes #1526
2019-08-09 13:43:05 +02:00
RabsRincon fa7ab8be9e Fix request modifications 2019-08-05 16:13:31 +02:00
RabsRincon 9a080bbf9e Add opt-out setting for the new policy changes 2019-08-05 11:45:06 +02:00
Partouf ef382162f3 lintfix 2019-07-29 20:54:45 +02:00
Partouf bd94920808 refactor compiler match and fallback 2019-07-29 20:49:02 +02:00
RabsRincon e1823067a5 Move common compiler logic to compilerservice 2019-07-23 22:23:45 +02:00
Partouf 01db837822 handlePop arg to exclude usedoptions, use separate url when needed 2019-01-21 20:17:50 +01:00
Partouf da60faa8b3 Merge remote-tracking branch 'matt/master' into compilerargs 2019-01-03 19:08:27 +01:00
RabsRincon 98aef6e8e3 Allow space between # and preprocessor directive
Fixes #1178
2018-11-16 22:48:20 +01:00
Partouf 2515c65432 add top 10 popular arguments 2018-11-13 02:20:31 +01:00
Matt Godbolt 49a0c05718 Further elaborate on errors 2018-10-30 21:58:39 -05:00
Matt Godbolt c96254edb3 Change to using non ES6 strings 2018-10-30 21:40:42 -05:00
wimo7083 bd825109e7 replaced statusCode with status 2018-10-25 15:54:42 -06:00
wimo7083 d7303879fa check for 504 status for gateway errors 2018-10-25 15:51:56 -06:00
RabsRincon 967b495fc0 Ensure XHR obeys httpRoot
Update scopes
2018-08-17 14:45:13 +02:00
RabsRincon 322086b923 Respect httpRoot for compilation apis 2018-08-17 14:32:40 +02: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 670afd8921 Move to ESLint
Somewhat compilant!
2018-02-13 14:49:07 +01:00
jaredwy 70556a6c65 first pass at using webpack/yarn rather than bower and require.js 2018-01-28 19:09:33 +11:00
Matt Godbolt ce6ccf6a02 Handle undefined compiler. Fixes #774 2018-01-16 17:33:43 -06:00
RabsRincon b5f0596b4e Respect aliases when looking for compilers
This might fix the 404 we're seeing
2018-01-16 15:50:03 +01:00
RabsRincon 9dbf62cd81 Ensure language is changed when errors happen 2018-01-14 18:40:32 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
RabsRincon 63ed0e79c5 Change enough stuff as to get it running
Not saying it works, but if you hack few more things, you can start
	to use it. Commiting just in case
2017-12-02 04:01:12 +01: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
Rubén 1c3270b129 Remove almost every use of self in favor of _.bind()
Tested every change. I'd be suprised if it does not work somewhere

Turns out that _ is not defined at Hub creation. That is the only
	place where self remains. If a workaround is found, I'll
	be happy to implement it.

Once @jaredwy brings us to TS, this will have been for nothing,
	but ey, no biggie.
2017-09-19 08:22:36 +02:00
Matt Godbolt 0db8ba023e Fix parsing of includes for external URLs
Fixes #516
2017-09-07 09:29:04 -05:00
John McFarlane b7384f786a fixes #472
- Or at least I hope so. I've only tested on Ubuntu and this is a
  CL-specific bug
- However, it WOMM! (GCC 4.9.3 & Clang 3.8.0)
2017-07-07 18:24:52 -07:00
Matt Godbolt 1d121168db Extract sendCompile and cache from compiler.js
Also took the time to improve error handling in the send, and removed a
redundant (according to jquery docs) `cache`.
2017-06-21 19:55:53 -05:00