Commit Graph
641 Commits
Author SHA1 Message Date
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 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
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 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
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
Rubén d549b7f8ec Merge branch 'master' into jw/args-parser 2017-07-05 12:56:37 +02:00
jaredwy 7de967f8ef Merging request options into 1 options object, this makes it clearer to me 2017-07-05 20:09:25 +10:00
Rubén 11ff7a77a4 Add resize hub event to compensate for loss of onThemeChange
Technically we don't need it as much as it's used now, but better
be safe than sorry
2017-07-04 21:33:28 +02:00
Rubén 5ba8bb7495 Make minimap display togglable
Minor problem. Opt-view does not get the onSettingsChange events

Will fix once I know the cause
2017-07-04 21:20:54 +02:00
Rubén 22eed3795e Fix themes for Monaco 0.9.0
Undocumented changes for the win!
2017-07-04 21:16:32 +02:00
Rubén 4c15dd1bc7 Make opt-view use cppp 2017-07-04 21:00:53 +02:00
Rubén f84d14a35b Fix invalid keyword highlighting by defining new cppp language.
Closes #360
2017-07-04 20:26:11 +02: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
Rubén 6985e25e1a Remove unused field member 2017-07-01 09:25:32 +02:00
Rubén d6a026f3f7 Fix Sentry issue 285270358 2017-06-25 04:48:58 +02:00
Matt Godbolt 5677975e5a Further simplify sendCompile 2017-06-21 20:37:29 -05:00
Matt Godbolt 0dd0beda61 Fix missing compilers 2017-06-21 20:15:39 -05:00
Matt Godbolt fcd703930f Code indentation; NFC 2017-06-21 19:59:53 -05: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
Rubén dc72bdb38d Define style for the different themes for CV 2017-06-21 23:48:28 +02:00
Matt Godbolt daaaf1ee6c More thanks! 2017-06-21 07:52:23 -05:00
Rubén 4c96acb7ac Trigger autocompilation on option change
Also optimized a bit status saving
2017-06-21 07:24:58 +02:00
Rubén d23dda1021 Merge pull request #467 from mattgodbolt/conformance
Conformance viewer. Few things remain to be done, but that's not vital for the project
2017-06-21 07:12:55 +02:00
Rubén b9ca7d2532 Allow the table to scroll when it overflows 2017-06-21 07:09:53 +02:00
Rubén 049d928c84 Switch to "Compile as you type" and change icon 2017-06-21 00:55:01 +02:00
Rubén 51620c0b4d Fix compilations
It also allows us to handle errors more gracefully until the
base compiler is done
2017-06-20 23:12:11 +02:00
Rubén 9a44255b26 Adress various points brought up by Matt 2017-06-20 22:49:43 +02:00
Matt Godbolt 79aa584833 Fix lint 2017-06-19 19:47:31 -05:00
Matt Godbolt db8bf4e520 Early support for swift. test with make EXTRA_ARGS="--language Swift"
Huge thanks to @adamnemecek for his help: this is mostly a
merge of his branch.
2017-06-19 19:40:46 -05:00
Rubén ad124626b5 Allow load/save of state 2017-06-18 00:10:40 +02:00
Rubén 5aaa2014a4 Add Conformance viewer
It needs some improvements here and there, plus a good dose of
thinking about the hard-limits actually present, like the max of
6 compilers per view, and 1 view per editor. Maybe we can afford
more compilers per view?
(I think that limiting it to 1 view per editor is a good call tho)

A necessary point before merging would be to fix the fact that
when sharing by URL, the contents of the view are not saved.

Releated issues: #461
2017-06-16 18:23:11 +02:00
Rubén 3f97867af6 Stop storing the unexpanded source in the compiler
Minor improvements
2017-06-16 00:04:14 +02:00
Rubén 85df46b8ac Avoid throwing errors to the console 2017-06-11 21:16:43 +02:00
Rubén 3f682f8a89 Implement Haskell as a Monaco Language
Cleaned up from https://github.com/byteally/monaco-haskell/
It is currently not working (The author has been contacted)
2017-06-11 21:10:59 +02:00
Matt Godbolt b3d2bce4c3 Oops! 2017-06-09 09:30:41 -05:00
Matt Godbolt b3b2982a88 Add events for compiler selection 2017-06-09 06:42:09 -05:00
Rubén 37fd7a47f7 Teach tooltips to behave better
This might be a solution for #435 but I need confirmation
2017-06-09 09:56:16 +02:00
Joshua Sheard acf9a9f3cc Minor fixes for ISPC syntax highlighting 2017-06-06 19:18:43 +01:00
Simon Brand 6d37f47662 Make AST view play nicely with other compilers 2017-06-05 14:43:32 +01:00
Joshua Sheard 428d2cd600 Add missing keywords, fix typo from vim syntax file 2017-06-05 02:16:39 +01:00
Joshua Sheard 933157308e Add highlighting for ISPC keywords 2017-06-05 01:01:10 +01:00
Matt Godbolt 93a0ff1d0d Merge pull request #442 from TartanLlama/master
Support displaying the Clang AST
2017-06-04 12:31:36 -05:00
Simon Brand 49ad2f98db Display message when AST dumping is not supported on the selected compiler 2017-06-04 16:52:13 +01:00
Simon Brand 1433fd1c1f Support dragging on the AST view button 2017-06-04 07:29:02 +01:00
Matt Godbolt 5a8f43ef27 More thanks 2017-06-03 09:02:39 -05:00