Commit Graph
1481 Commits
Author SHA1 Message Date
Matt Godbolt d350ec1c1a Only stat compilers if absolute.
Fixes #487
2017-07-30 09:46:29 -05:00
Matt Godbolt 476fde3c4c Identify lines referring to included files.
Now the API returns `source: {line: num, file: x}` where x
is null for the user-supplied file and a path otherwise.

Hopefully fixes #353, and #418 and #417 - previosuly we misidentified
external lines as being for this file, so the STL includes (for example)
would be misinterpreted as being local. As the STL includes are huge,
we'd try and colourise line 600, or similar.

Tests updated accordingly.
2017-07-30 08:49:24 -05:00
Matt Godbolt 8c9041001b Latest GoldenLayout 2017-07-28 09:10:08 -05:00
Matt Godbolt df917cc7ca Handle missing binaries 2017-07-26 14:57:28 -05:00
Matt Godbolt 6ae7d04c4d Rerun a compiler to get version only on mtime change
Hopefully helps #485. Relies on the mtime of the executable
changing to notice it's different, so will be thwarted if only
DLLs/sos change. But that's not really all that likely given the
way CE works currently.
2017-07-25 23:06:06 -05:00
Matt Godbolt f554518a91 Make max concurrent compiles 4 2017-07-25 17:17:37 -05:00
Rubén 05ada0661f Enable output highlighting on mouseover
Changelog gets updated too
2017-07-24 08:47:58 +02:00
Rubén 31be8c6e9b Enable output linking to code
This functionality has been there for quite a while but never
got implemented properly. This finally fixes it.

Found while trying to narrow down possible reasons for referenced
issue

Releated issues: #482
2017-07-23 07:52:16 +02:00
Matt Godbolt 00f2719b04 Update changelog 2017-07-22 12:16:04 -05:00
Rubén e55bb0c557 Fix a typo on compiler.js 2017-07-22 13:05:55 +02:00
Rubén e48c7178bf Fix Sentry issue COMPILER-EXPLORER-1FZ
By changing lastResult default value to `{}` it won't complain
if we try to access one of its children if somehow we don't edit it
beforehand.

@jaredwy can you check that this is indeed not breaking something
unexpected? I'm only 98% sure. That 2% worries me a bit
2017-07-22 13:01:08 +02:00
Matt Godbolt 9c0151997d Improvements to embedded views 2017-07-21 08:34:50 -05:00
Matt Godbolt 905ab55dd7 Add latest example from @hsutter 2017-07-20 20:37:10 -05:00
Matt Godbolt 68acb96885 Fix typo in conformance CSS 2017-07-20 20:34:02 -05:00
Rubén e94ce868b2 Add a description for Swift 2017-07-17 11:03:26 +02:00
Rubén 34abc54fe0 Add Swift to the sitemap 2017-07-17 10:59:55 +02:00
Rubén 645f58227e Uncoment @TartanLlama's lines. He is in
Yay!
2017-07-17 09:40:09 +02:00
Rubén b67ce281d8 Comment @tartanllama owned list until confirmation that he is in 2017-07-17 01:29:48 +02:00
Rubén 42d18a45be Add more changelog and give credit where credit is due 2017-07-17 01:28:26 +02:00
Rubén b528f8e579 Implement GitHub's new CODEOWNERS feature
Feel free to change it as you see fit
2017-07-17 01:27:17 +02:00
Rubén a9518a201c Change style of 'Opens in new window' icon 2017-07-17 00:51:48 +02:00
Rubén 83c23f50c3 Add new changelog popup
This is an initial implementation of a changelog ready to be used.
If @mattgodbolt is happy with how it looks, it can be used as-is

Related issue: #474
2017-07-17 00:47:17 +02:00
Rubén 6f31c5f3c7 Improve binary view line numbers
Due to a limit on Monaco, we can't do much but wait for them to
change it (Issue already submitted)

This improves #484 but does NOT fix it. I'll be tracking it until
we have some way of expanding the line numbers width
2017-07-17 00:14:57 +02:00
Rubén f080f1e527 Fixed conformance view regression
Commit 7de967f changed the way we send compilation requests
but did not change conformance view accordingly.

Check comments on referenced issue for a more in depth explanation

Fixes #483
2017-07-16 22:59:38 +02:00
Matt Godbolt a4dcf2f144 local changes for @mgodbolt 2017-07-15 10:41:20 -05:00
Matt Godbolt ed4e6db6d2 Fix a typo; remove TODOs (these do get triggered as evidenced by the error reports :)) CC @jaredw 2017-07-15 10:40:55 -05:00
Matt Godbolt f1482d0cc2 Point at GCC 7's toolchain for clang (c.f. #440) 2017-07-14 12:39:03 -05:00
Matt Godbolt e2ebc8eeb9 Auto-include cppx/meta and cppx/compiler per @hsutter 2017-07-14 10:15:52 -05:00
Matt Godbolt d924c8d1ec Fix up include in cppx example 2017-07-14 09:01:55 -05:00
Matt Godbolt 64bf4190a2 Fix typo in arm 2017-07-14 08:20:10 -05:00
Matt Godbolt be8fd12d40 ARM 6.3 2017-07-14 07:52:37 -05:00
Matt Godbolt 417d2a7e54 cppx changes 2017-07-13 21:32:39 -05:00
jaredwy 67bba1b7f5 Show a warning in the editor if the changed to compiler does not support opt view 2017-07-13 07:12:21 +10:00
jaredwy f15268c8cc recompile when requesting the opt view 2017-07-13 06:36:52 +10:00
Matt Godbolt 3c80c6eff0 Fix some minor issues with compiler type determination.
Remove 'compiler.type' in favour of the comiler itself being
given an option to say what type it is. Default for that does
the same guess that the old code did (plus some bug fixes).

Fixed up (I hope!) some of the parsing of the output. I should write
some tests really.

CC @jaredw for further comment
2017-07-12 15:12:49 -05:00
Matt Godbolt df22d86a02 Make ctrl-C and ctrl-X work on whole lines; enable autoindent 2017-07-12 13:45:02 -05:00
Matt Godbolt cc5ede9378 Fix up indentation and other config fo cppp mode 2017-07-12 13:44:10 -05:00
Matt Godbolt 26d7bfa6fa Fix max array opt version 2017-07-12 12:34:04 -05:00
Matt Godbolt ca7b7ba066 Add ldc 1.3.0 (see #481) 2017-07-12 12:25:48 -05:00
Rubén 87f52939d1 Try to make minimap smaller 2017-07-12 04:53:21 +02:00
Rubén bdd85ff328 Apply theme fixes to ast view 2017-07-12 04:52:40 +02:00
Matt Godbolt 236cab4929 More thanks 2017-07-11 10:46:16 -05:00
Matt Godbolt 54d720de5a Remove specific CPU features from rust 2017-07-11 09:01:13 -05:00
Matt Godbolt 23f19f4876 Merge pull request #481 from JohanEngelen/patch-1
Add LDC 1.3.0
2017-07-11 07:04:54 -05:00
Matt Godbolt 813515288d Merge pull request #476 from jaredwy/jw/args-parser
Made some changes to the way we parse arguments as a stab at a start …
2017-07-11 07:03:38 -05:00
Matt Godbolt acfe4978cf Merge pull request #478 from johnmcfarlane/cl_url_fix
fixes #472
2017-07-11 07:02:33 -05:00
Johan Engelen 3f5c6dfcf9 Add LDC 1.3.0
See also https://github.com/mattgodbolt/compiler-explorer-image/pull/28
2017-07-11 00:16:40 +02:00
Rubén 349193cfa0 Add spaces between setting dropdowns 2017-07-10 02:31:21 +02: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 e1e50407b7 More thanks (and removal of fraud) 2017-07-06 13:47:05 -05:00