Commit Graph

70 Commits

Author SHA1 Message Date
Alex Dima
2b3298af79 Use native proxies for renderer <-> ext host RPC communication 2017-08-16 10:26:25 +02:00
Johannes Rieken
e909c33059 eng - move the document content provider part out of document/editor management 2017-08-15 19:25:23 +02:00
Alex Dima
20a45eef3a Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService 2017-08-15 18:26:51 +02:00
Felix Becker
dbe0f89264 Always reject Promises with Error instances 2017-06-26 15:24:41 +02:00
Johannes Rieken
b2b81e4f3e fix #27231 2017-05-26 11:31:28 +02:00
Matt Bierner
6147b54439 Fix TS 2.3.1 Compiler Errors in VSCode src/workbench (#25249)
TS 2.3.1 introduced a breaking change by [switching to covariant types for callbacks](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#covariance-in-callback-parameters). This change tries to fix these compiler errors in the workbench codebase
2017-04-25 08:20:25 -07:00
Alex Dima
b3097dfd53 More usage of Position vs IPosition 2017-04-19 15:16:50 +03:00
Alex Dima
2cf8cef20d A single model content changed events contains the list of changes 2017-04-14 13:18:34 +03:00
Alex Dima
307fda2689 Clarify extension host protocol 2017-04-14 13:18:33 +03:00
Cody Hoover
ee4473f1ef Follow up to PR #22021 to respond to feedback 2017-03-07 21:36:15 +01:00
Cody Hoover
503f8f516e Add ability to open untitled document with initial content (#22021) 2017-03-07 07:43:21 +01:00
Johannes Rieken
1239cebb70 Merge branch 'joh/editors' 2017-03-06 12:40:47 +01:00
Alex Dima
2e27b5433e Clean up IRawText usage 2017-03-02 18:50:13 +01:00
Alex Dima
668dc0675d Extract more code to textSource.ts 2017-03-02 18:50:13 +01:00
Alex Dima
bff93542a7 Reduce usage of IRawText (send only what's needed around) 2017-03-02 18:50:13 +01:00
Matt Bierner
2a40036dbb Adding explicit returns for remaining instances 2017-02-01 18:36:55 -08:00
Matt Bierner
c342eaa22e Adding more explicit returns 2017-02-01 17:29:57 -08:00
Johannes Rieken
67f4ef013c use IRawText and compare before pretending things have changed, #18664 2017-01-19 15:29:53 +01:00
Benjamin Pasero
8b7756063b Open new file buffer via API 2017-01-18 19:13:26 +01:00
Johannes Rieken
118b3e0d5a debt - use Map instead of object 2016-12-30 15:37:12 +01:00
Johannes Rieken
00a663b3ef allow to provide regexp when asking for word ranges, #15724 2016-11-18 14:01:55 +01:00
Johannes Rieken
1cda680453 also send isDirty-flag when forwarding model changes, #11339 2016-10-24 13:06:48 +02:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Benjamin Pasero
b2b2cb0f49 var => let/const 2016-07-15 09:54:35 +02:00
Alex Dima
217e0b56a8 Consistent naming for ext host <-> main process communication 2016-07-12 21:14:43 +03:00
Alex Dima
bdaa72b842 ext host - extend *Shape classes 2016-07-12 21:10:54 +03:00
Alex Dima
581c260f9a Rename extHostProtocol to extHost.protocol 2016-07-12 19:33:55 +03:00
Alex Dima
9f1e006be5 Do not use native Proxy as it breaks debugging vscode 2016-06-27 17:54:56 +02:00
Alex Dima
d285fe05e1 Split up ext host <-> main thread communication to separate files 2016-06-27 14:59:54 +02:00
Alex Dima
f00bbb18d9 Move IThreadService up to /workbench/ 2016-06-26 15:50:37 +02:00
Alex Dima
10cae007cd Use native JS Proxy for main <-> ext host proxies 2016-06-26 15:10:04 +02:00
Alex Dima
7f14d8c348 Extract word related functions to wordHelper 2016-06-08 21:36:29 +02:00
Benjamin Pasero
34c933670d inputToType => createInput (for #6324) 2016-05-27 08:55:07 +02:00
Alex Dima
8913a2b964 Add typed events to IModel 2016-05-25 15:31:32 +02:00
Alex Dima
868570c8c3 Remove usages of ListenerUnbind 2016-05-21 11:29:46 +02:00
Alex Dima
e9b3e0ae92 Rename model.getAssociatedResource() to model.uri 2016-05-20 12:18:10 +02:00
Johannes Rieken
d37a76dc92 allow empty string as valid document content, fixes #6526 2016-05-19 12:45:42 +02:00
Alexandru Dima
a3c2088b54 Merge pull request #5705 from aioutecism/hotfix/validate-position
Fix validatePosition related bug
2016-05-04 18:25:52 +02:00
Johannes Rieken
f502fd28cb adding todo for future api breakage, #2560 2016-05-02 17:47:47 +02:00
Benjamin Pasero
6bad8b6982 Simplify TextFileChangeEvent (fixes #5929) 2016-04-28 07:50:13 +02:00
Johannes Rieken
ab509eeb17 rangeIncludingLineBreak behaviour on last line, fixes #5704 2016-04-25 10:50:48 +02:00
aioute Gao
7d870e5721 Fix validatePosition related bug
(https://github.com/Microsoft/vscode/issues/5704).
2016-04-24 07:55:03 +09:00
Johannes Rieken
406cc18841 adding assertion that newly created untitled document actually exists, #5016 2016-04-20 17:06:43 +02:00
Johannes Rieken
93fda14153 allow for error dedup and don't mention offending line number, fixes #5494 2016-04-19 11:32:09 +02:00
Benjamin Pasero
84abe71111 Update to Electron 0.37.x (#2559) 2016-04-13 15:07:21 +02:00
Johannes Rieken
7c4c828dcb no more weakness 2016-04-13 09:56:31 +02:00
Johannes Rieken
edc2d3fa5b use isWeakRef as existence check for document references, #5117 2016-04-11 12:12:21 +02:00
Yuki Ueda
b70a6d0c0d Remove the space between the period
I think, this space might not be necessary.
2016-04-11 17:15:11 +09:00
Johannes Rieken
5801d6d9b0 undo isNearDeath change, #5117 2016-04-11 10:06:20 +02:00
Johannes Rieken
bac28cc23d also check for nearDeath when accessing a document, #4488 2016-04-08 11:34:50 +02:00