Commit Graph
163 Commits
Author SHA1 Message Date
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 582ba197d0 USe Monaco's own Swift definition 2018-01-23 09:17:17 +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 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
RabsRincon 20919bd41b Compare state source against undefined
Allows to share empty editors. Closes #766
2018-01-11 16:15:50 +01:00
RabsRincon b775d37e0f Remove Fira Mono temporally
Fixes #737
2018-01-06 12:48:05 +01:00
RabsRincon 58bd828aa7 Hopefully fix font issues 2018-01-05 22:42:07 +01:00
RabsRincon d63d050379 Avoid double language set in special case 2018-01-03 23:20:13 +01:00
RabsRincon 891a2c321b Fix old links. Hopefully 2018-01-01 21:34:16 +01:00
RabsRincon e03ab10e29 Support old links by looking for the compiler
Sorry... Sorry
2018-01-01 18:27:53 +01:00
RabsRincon fc75208dac New year, new date 2018-01-01 16:44:04 +01:00
RabsRincon a14d49497d Allow language selection in writieable embed view 2017-12-31 11:17:30 +01:00
Mike Cochrane bc0b414517 Don't attempt to use the default language from the client's local if it no longer exists 2017-12-30 19:55:43 +13:00
Rubén c202f1dc70 Merge pull request #710 from gnaggnoyil/master
explicitly specify editor's font to be monospace
2017-12-29 19:54:00 +01:00
RabsRincon c05166b932 Use known settings instead of asking for them 2017-12-29 13:51:34 +01:00
RabsRincon 9e120e1ade Add ability to select default language 2017-12-29 13:42:49 +01:00
RabsRincon 738d60de56 Avoid double-compilations when lang is changed 2017-12-29 11:08:01 +01:00
gnaggnoyil 6b834200a0 explicitly specify editor's font to be monospace 2017-12-29 17:47:20 +08:00
RabsRincon 929be85e82 Restore --language EXTRA_ARG
It lets us specify the lang we're solely interested in initializing
2017-12-25 21:54:19 +01:00
RabsRincon 926cba8274 Close #701
I totally forgot about the poor components, but should be resolved
	now
2017-12-25 07:50:39 +01:00
RabsRincon a0063cc70c New editors will use the last open editor's lang
Should not break anything. Fingers crossed!
2017-12-21 12:55:57 +01:00
RabsRincon 4af31c36a3 Ducktape old link support
Will need to revisit it later, because it's not the best solution,
	nor the safest or maintenable
2017-12-13 11:50:56 +01:00
RabsRincon 9d04d383ae Improve compile-handler readbility
Tiny editor changes in prep for support to old links
2017-12-11 12:28:04 +01:00
RabsRincon 7a3d3b624d Upgrade Conformance View to support languages
I plan on comming bakc to it once the merge is done, so please
	shout at me if something breaks so I get to it sooner!
2017-12-10 22:46:45 +01:00
RabsRincon 43279a61ca Fix various points raised after code reviews
Some fixes, a great slam and then some
2017-12-09 11:19:45 +01:00
RabsRincon 785120b536 Upgrade Hub 2017-12-05 09:19:25 +01:00
RabsRincon c42961a30c Make languages.js the only definition needed
Also adds forggotten Pascal. Thanks @partouf!
2017-12-04 13:11:41 +01:00
RabsRincon 91f9590ab4 Merge branch 'master' into unification 2017-12-04 03:39:41 +01:00
RabsRincon fbbb4c9a5f Fix Editor losing code on language switch
Some minor bugfixes along the way, and metadata changes!
2017-12-04 02:23:32 +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
RabsRincon de3a6998d8 Add basic UI support
Pushedd the files sso I can switch stuff without the fear of losing it
2017-11-28 22:42:37 +01:00
partouf 59a561d289 rename pascal views and webjs 2017-11-24 18:08:32 +01:00
partouf c9c62ac4b2 Minimal FPC support 2017-11-15 21:17:02 +01:00
Rubén d193739ecc Bring every file up-to-format-date 2017-10-02 22:01:38 +02:00
Rubén c4d6f1ab39 Fix the bugs caused by binding update
It totally slipped by. Sorry!
2017-09-25 13:58:53 +02: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
Rubén 060a4aa8b2 Fix a bug with asm highlighting of linked code
Also added a indication of which compiler emitted what widget
2017-09-16 22:07:48 +02: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 9c0151997d Improvements to embedded views 2017-07-21 08:34:50 -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
Rubén 87f52939d1 Try to make minimap smaller 2017-07-12 04:53:21 +02: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