Commit Graph
50 Commits
Author SHA1 Message Date
RabsRincon 0b75857df3 Only focus on the first word of semver for ordering
Helps with #2860
2021-08-28 02:40:05 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Rubén Rincón Blanco 27012bb0ec Initial sketch for how we could parse Rust output (#2761)
* Initial sketch for how we could parse Rust output

It has many issues, which I need to ask about, but ey, it works!

* Fix spacing

* Add tests for the new Rust output parsing
2021-07-06 05:21:31 +02:00
Matt Godbolt 4e36d206b4 Prefer regex.test() 2021-05-27 23:19:32 -05:00
Patrick Quist c0a45e754c Add CMake API (#2509)
And multifile support. No UI support.
2021-03-22 22:59:03 +01: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
Patrick Quist 697c8e9296 support library options to be passed on to the compiler (#2215) 2020-09-25 02:09:47 +02: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 dfcea7cd38 Normalize utils.js documentation 2020-07-06 14:49:14 +02:00
Rubén Rincón Blanco 1106db4939 Make url hash a base32 encode (#2062)
Avoids most of the problems present with the current base64 impl
2020-07-06 08:33:10 -04:00
Partouf aac49c3e4a change to support ce user 2020-05-29 16:41:27 +02:00
Matt Godbolt 0647dba020 Replace strings using a slightly faster method.
Improves performance of the demangler considerably, taking one example
case from 30s compilation down to 10s (on my laptop).

With much help from @apmorton

Should help with #1336, though we still need more work to push stuff
onto another thread to really help with that (per Austin's comments).
2020-02-04 21:09:52 -06:00
Matt Godbolt 2feaec45dd Get rid of a var 2020-01-07 22:09:59 -06:00
Austin Morton 5e049bde76 Accept url options on all relevant routes and use toProperty to convert them 2019-08-23 12:35:43 -04:00
Partouf 7924f6d436 real path fix for tools 2019-07-30 00:25:19 +02:00
Partouf 235640b078 fix source filename in parseOutput 2019-07-30 00:09:41 +02:00
RabsRincon 52b977bb1d Conserve empty lines in output pane 2019-06-27 21:17:47 +02:00
Matt Godbolt 2e7fc5fe80 Super minor tweaks to @bugwelle's awesome PR for LLVM IR mode! 2019-03-21 21:28:43 -05:00
Matt Godbolt b87322568e Merge branch 'master' into llvm 2019-03-21 20:31:42 -05:00
Kārlis Seņko 40f6e0e1f1 Trim trailing whitespaces when removing comments. 2019-01-08 00:41:07 +02:00
Andre Meyering b8815fbdb2 [LLVM] Fix linter warnings
- redefinition or property
 - use of undefined symbol (caused by mistake while rebasing)
2018-11-28 14:29:10 +01:00
Andre Meyering 061dcd35c7 [Utils] Add trimLine() function
- trimLine() trims left, right and int-between spaces
2018-11-28 14:29:10 +01:00
RabsRincon bdc447fe30 Fix local storage & add compiler name to unfurling 2018-08-20 11:10:23 +02:00
Matt Godbolt 08cd1edc69 Use binary buffers for hash; safe64 encode results. Addresses #1056 2018-08-18 10:02:28 -05:00
RabsRincon 895369f932 Move to on-the-fly parsing 2018-08-17 21:07:51 +02:00
Matt Godbolt 6304147037 Wine fixes. Closes #1017
* Remove horrible wine fixme preprocessing.
* Move some settings into code from `compiler-wrapper`.
* Set `WINEDEBUG` to -all to turn off messages at source.
2018-07-28 09:06:16 -05:00
RabsRincon dd2ab6d41f Move to own fork of cookieconsent
Due to concerns over status of upstream

Cookie consent value is now tied to hash of cookie privacy text,
	so we get automatic revoking of consent on privacy update
2018-07-04 17:54:23 +02:00
RabsRincon 12026f6f33 Move anonymizeIp function to utils.js & add tests 2018-06-28 02:23:38 +02:00
RabsRincon 7c18ffe8cf Drop underscore-node in favour of underscore.js
After some suprises about how outdated the node version was compared to
	the main project, it became clear we needed to do something.
	@jaredwy suggested using the main project as there's now nothing
	stopping us from using it after the switch to webpack.

cc @mattgodbolDrop underscore-node in favour of underscore.js
2018-06-15 15:04:55 +02:00
Partouf a58689b664 remove temp path from filenames in output 2018-03-15 18:03:21 +01:00
Partouf f0f74524a9 better error output for pascal 2018-03-15 17:46:24 +01:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon 62e68304e9 Format files 2018-02-07 23:58:21 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
Matt Godbolt 61b8744b8a Merge pull request #687 from Som1Lse/master
Added support for colorized output
2017-12-19 08:38:28 -06:00
Matt Godbolt 3baf2a2a5f Treat <stdin> like compiler source. Should fix #680 2017-12-19 08:00:34 -06:00
Adrian Bibby Walther e33e42e064 Now supports colorized compiler outputwith -fdiagnostics-color=always 2017-12-17 01:22:32 +01:00
Matt Godbolt a272ea9ffc Add utils tests, update filter-tests 2017-12-10 16:53:00 -06:00
Rubén d193739ecc Bring every file up-to-format-date 2017-10-02 22:01:38 +02:00
Matt Godbolt 9a91ee0af9 Don't trim() output lines. Fixes #339, hopefully doesn't introduce any new issues 2017-03-21 17:48:47 -05:00
Matt Godbolt 81d076b08e Merge remote-tracking branch 'origin/master' into monaco 2017-02-06 19:59:25 -06:00
Matt Godbolt 6d2959f8f1 Better error handling 2017-02-04 09:20:06 -06:00
Matt Godbolt ccd863e7a1 Bunch of TODOs; inline warnings/errors etc 2017-01-17 21:37:32 -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 b6e9a4658b Another year, another copyright update 2017-01-02 10:14:46 -06:00
Matt Godbolt 49932af0fa Work in progress on WINE/win32/win64 compiler support 2016-11-09 18:07:51 -06:00
Matt Godbolt 19e1e11caa Better parsing of error messages 2016-10-21 17:21:33 -05:00
Matt Godbolt a0be851fcb Parse stdout/stderr on the server side 2016-10-19 17:12:43 -05:00
Matt Godbolt 3dd7fd7312 Extract some things, remove TODOs 2016-10-17 18:44:48 -05:00