Commit Graph
885 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 06827d349c Point vs for require calls at node modules, rather than the copied monaco. It adds some complexity around how we load monaco, but that already exists this is better than the three alternatives. Use post-install to copy the files into static, use a shell script to copy using the webpack shell plugin to copy before monaco runs and finally do it manually 2018-01-28 19:09:33 +11:00
jaredwy 1fb351bed0 Adding a path to the right vs 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 4798a6b05f Normalize how views close its children
Fixes #787
2018-01-25 15:00:21 +01:00
RabsRincon 3ac92b29bf Remove leftover file 2018-01-25 14:42:32 +01:00
RabsRincon 7c34579bd1 Add ISPC language configuration (C++) 2018-01-24 10:17:42 +01:00
Matt Godbolt 9d37352087 Asynchronously load builtin list.
With reference to #584, this means the lifetime of the bulitin
list is no longer so important for caching.
2018-01-23 08:58:58 -06:00
RabsRincon 582ba197d0 USe Monaco's own Swift definition 2018-01-23 09:17:17 +01:00
RabsRincon ecb4488b91 Fix Sentry COMPILER-EXPLORER-2VK 2018-01-21 18:01:10 +01:00
RabsRincon c61e1c0cd2 Reenable CSP testing in site 2018-01-21 15:16:33 +01:00
RabsRincon 6ea55d1bf5 Revert inline script removal as requested 2018-01-18 23:49:59 +01:00
RabsRincon 8b71a65326 Fix CSP implementation 2018-01-18 23:27:11 +01:00
RabsRincon ef7db1af1d Implement CSP
Amazon is as strict as possible.
Default is as open as possible.

Code modified to allow for a strict Amazon CSP, which should not
	affect users running locally

Closes #750
2018-01-18 13:52:58 +01:00
RabsRincon dac5cc37a8 Stop use of non standard str functions on clients 2018-01-18 10:59:54 +01:00
Matt Godbolt 88e3e698e5 More thanks 2018-01-17 20:58:29 -06:00
RabsRincon 4e5aef0db1 Take aliases into account when looking for a lang 2018-01-17 21:40:53 +01: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 39b8bbeb85 Reorder unsubscribing to be consistent + Logging
Hopefuly this helps to identify the underlying issue.
	Meanwhile, users should be able to close any faulty pane
2018-01-16 12:34:50 +01:00
Matt Godbolt a212ba77de Use raven to catch missing compiler ids to hopefully debug 2018-01-15 17:53:56 -06:00
RabsRincon f32c953bc8 Remove unused imports 2018-01-15 22:10:02 +01:00
RabsRincon 80a7313e32 Improve CFG implementation
No longer creates the cfg nodes if not needed. CFG Structure creation
	is now simpler. Some bugfixes. Tests now actually run
2018-01-15 19:16:15 +01:00
RabsRincon 3ca912e919 Stop deleting languages, just hide them 2018-01-15 10:57:44 +01:00
RabsRincon 2e61f6791b Simplify removal of 0-compilers languages 2018-01-15 10:54:56 +01:00
cppchedy b64059b0ed Merge pull request #769 from cppchedy/detectedLang
Filter Languages based on available compiler in the current machine
2018-01-14 19:55:50 +01:00
cppchedy 76c62d0cc4 make it pass the test 2018-01-14 19:45:40 +01:00
cppchedy f690e10735 Filter Languages based on available compiler in the current machine 2018-01-14 19:40:37 +01:00
RabsRincon 9dbf62cd81 Ensure language is changed when errors happen 2018-01-14 18:40:32 +01:00
RabsRincon 7a4e1846b4 Ensure binary button is always visible
Closes #760
2018-01-14 02:01:55 +01:00
RabsRincon ad367ae4fd Broadcast editor on new compiler to new one only
Fixes #394
2018-01-14 00:44:11 +01:00
RabsRincon c73efc671c Ensure every pane is closed when its owner does
Fixes #482 #492
2018-01-14 00:26:11 +01:00
RabsRincon c1a5c6f6a8 Improve pane dropdowns based on feedback 2018-01-13 23:59:06 +01:00
Matt Godbolt 1bca37a663 Guard against having a gapi client but no URL shortener client. Hopefully fixes #272. 2018-01-13 16:27:19 -06:00
RabsRincon b44c27a8dd Eneable C support
Also added some text for the Output button
2018-01-13 18:58:53 +01:00
RabsRincon d69ec1ee94 Group compilers by group in dropdown
For now, only C++ has this feature. If other people like it, I'll
	add it to the rest tomorrow
2018-01-13 03:13:54 +01:00
Rubén 561d0dfa72 Update explorer.css 2018-01-12 23:44:58 +01:00
RabsRincon 99e6c479f1 Add text to some of the UI components
This is just a test. We can build from here
2018-01-12 22:39:16 +01:00
RabsRincon ab42cc2097 Fix #672 by checking for compilerId beforehand 2018-01-12 18:04:20 +01:00
RabsRincon 20919bd41b Compare state source against undefined
Allows to share empty editors. Closes #766
2018-01-11 16:15:50 +01:00
RabsRincon 3f2fe0849e Fix default config compiler language
Oops...
2018-01-08 20:53:08 +01:00
RabsRincon b775d37e0f Remove Fira Mono temporally
Fixes #737
2018-01-06 12:48:05 +01:00
RabsRincon 5be9998ddf Fix language selection from subdomain 2018-01-05 23:34:38 +01:00
RabsRincon 58bd828aa7 Hopefully fix font issues 2018-01-05 22:42:07 +01:00
RabsRincon 43bca16dac Setup new language behaviour by @mattgodbolt
This should be enough for #735 Test away!
2018-01-05 20:56:19 +01:00
RabsRincon e25dd51eff Select a compiler if none is found 2018-01-05 17:56:37 +01:00
RabsRincon 36c6781168 Add links to libraries 2018-01-04 20:43:10 +01:00
RabsRincon 13f6ae4bb6 Fix #741 2018-01-04 12:16:18 +01:00
RabsRincon 4c3762d7ad Respect default language in def view 2018-01-04 01:32:32 +01:00
RabsRincon 02fcd86c1c Improve Conformance View by saving lang status
Fixes #740
2018-01-03 23:59:59 +01:00