rebornix
17d779cfd2
unified onDidChangeContent
2020-09-08 08:57:16 -07:00
rebornix
8ebad589d5
deprecate onDidChangeCells
2020-09-08 08:36:06 -07:00
Johannes Rieken
ce19502cdd
chore - tweak onDidAddNotebookDocument, onDidRemoveNotebookDocument event, use ResourceMap and fix confusion between models and editors
2020-09-08 16:33:48 +02:00
Johannes Rieken
1c3d3ae3ac
notebooks - don't allow anyone to call unregisterNotebookProvider, add names to TODO-tags
2020-09-08 15:44:29 +02:00
Johannes Rieken
53ffabab80
debt - remove unused INotebookModelAddedData#handle
2020-09-07 11:52:50 +02:00
rebornix
313fb760fe
make changeMetadata private
2020-09-04 10:02:30 -07:00
rebornix
8503905a7c
remove clear outputs api.
2020-09-04 09:21:45 -07:00
rebornix
11158cc1d1
re #105735 . selections as NotebookEditor properties.
2020-09-03 20:28:28 -07:00
rebornix
f6831c1b81
* cell languages.
2020-09-01 18:00:44 -07:00
rebornix
c887ae1b6d
remove legacy registerKernel
2020-08-31 12:00:21 -07:00
rebornix
2518d2c44d
update kernel per document.
2020-08-31 11:49:19 -07:00
rebornix
d3a5dd9d4b
re #102503 . reveal range
2020-08-28 13:23:28 -07:00
rebornix
637d782c7b
re #102503 . visible range change events.
2020-08-28 12:06:21 -07:00
Johannes Rieken
a3f414cf5a
add some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283
2020-08-28 17:59:10 +02:00
rebornix
b2693bb7ed
remove legacy kernel on content provider
2020-08-27 12:01:25 -07:00
Johannes Rieken
fdf5b95a51
replace ICellInsertEdit, ICellDeleteEdit with ICellReplaceEdit, https://github.com/microsoft/vscode/issues/105283
2020-08-27 11:25:41 +02:00
Rob Lourens
b58f4549b2
Implement notebook cell status bar item contributions
...
Fix #104958
2020-08-26 17:07:10 -07:00
rebornix
32f29cfdca
transient outputs.
2020-08-26 10:51:46 -07:00
rebornix
7c986e94f4
transient metadata
2020-08-26 10:16:22 -07:00
Johannes Rieken
ac4de7bbb3
add NotebookEditorCellEdit#replaceOutputs, https://github.com/microsoft/vscode/issues/105283
2020-08-24 15:19:21 +02:00
Johannes Rieken
ab8cf002d2
chore - remove unused code fyi @rebornix
2020-08-24 11:44:12 +02:00
Johannes Rieken
db1f946073
chore - use $-prefix for IPC call onlys, fyi @rebornix
2020-08-24 11:33:06 +02:00
Johannes Rieken
834a380d93
add replaceCells to notebook edit builder, also refactor cell source to only be a string, not an array
2020-08-24 11:33:05 +02:00
Rob Lourens
2489ff75c9
Add setting to control cell toolbar position
...
Fix #105195
2020-08-21 14:48:21 -07:00
Connor Peet
24b712d7c2
notebooks: remove impure renderer API
...
This removes the initial notebook renderer API and keeps the 'pure'
renderer API described in #102644 and hacked-in previously.
Remaining work in this area, in no particular order:
- Add messaging context to postMessage as requested by Don (API proposal TBA)
- Cleanups around how state is managed internally in the backLayerWebView
- Deprecate the renderer `viewType` in favor of calling it the `id` or `rendererId`
Q: I kept around some of the "transform" functions since the mime type
picking happens there, not sure if there's a better place for this
to happen now, or whether these methods should simply be renamed.
2020-08-19 15:47:02 -07:00
rebornix
25499ff969
fix #101871 .
2020-08-13 16:57:47 -07:00
Johannes Rieken
bae64052f4
unit test for document remove
2020-08-12 09:05:18 +02:00
rebornix
391bca591e
re #104262 . add log for execution and cancel.
2020-08-10 14:30:58 -07:00
rebornix
03467e96ff
re #104262 . Add logging for notebook.
2020-08-10 14:30:58 -07:00
rebornix
2d3d5208de
re #102503 . send out save event after notebook content provider handles saving.
2020-08-03 15:12:25 -07:00
Rob Lourens
057c1f141e
Fix cell cancellation with kernel in provider
2020-07-30 18:02:38 -07:00
rebornix
d586f701ec
kernel provider settings.
2020-07-20 17:17:50 -07:00
Rob Lourens
90363c2f9d
Change cell execution/cancel API
...
Fix #99203
2020-07-20 14:43:20 -07:00
rebornix
6c5037f425
handle notebook text model creation in notebook service
2020-07-17 19:18:59 -07:00
rebornix
7704b6936e
make mainthreadnotebook controller object literal
2020-07-17 19:04:12 -07:00
rebornix
80eee2dc94
mainthreadnotebook does not talk to mainthreadnotebook controller
2020-07-17 18:41:02 -07:00
rebornix
27c96b7a55
slim main thread notebook document
2020-07-17 17:20:40 -07:00
rebornix
2392bf40af
model changes are always sent to ext host.
2020-07-17 17:16:10 -07:00
rebornix
7251526c06
no longer handle notebook backup in the core
2020-07-17 17:10:00 -07:00
rebornix
f475511726
kernel change event.
2020-07-17 12:02:08 -07:00
rebornix
847a98f34c
Merge remote-tracking branch 'origin' into rebornix/multi-kernel
2020-07-16 17:26:00 -07:00
Johannes Rieken
80a3310946
add eol to IMainCellDto, no more attach/dettach text document but use the actual (sync'd) document or a fallback cell document
2020-07-16 12:55:39 +02:00
rebornix
05144a3d4e
new kernel provider works side by side
2020-07-15 17:01:48 -07:00
rebornix
4fc84b3a11
sketch for notebook kernel
2020-07-15 16:18:17 -07:00
rebornix
5dc851f308
Fix #101378 . De-ref text model from celltextmodel when it's disposed.
2020-06-30 14:45:58 -07:00
rebornix
573a528d72
Merge remote-tracking branch 'origin/master' into rebornix/separate-textmodel-selection
2020-06-23 08:07:17 -07:00
Connor Peet
a57cb45be8
notebooks: pipe renderer API postmessages to the renderer itself ( #100414 )
...
* notebooks: pipe renderer API postmessages to the renderer itself
Previously the postMessage on acquireNotebookRenderer API was just
a proxy to the global vscode postmessage. Now, it's linked to the
renderer and will cause an optional `onDidReceiveMessage` method on
the renderer to be called.
The message still _also_ goes to the global webview message handling
for advanced use cases, but this change allows the webview<->renderer
communication to be more nicely contained
and separate for most use cases.
* wip
* fixup! pr comments
2020-06-22 09:35:16 -07:00
rebornix
ac9e97aaa5
delay cells change from revert.
2020-06-19 13:52:59 -07:00
rebornix
5d9e565557
📓 Separate selections and text model
2020-06-18 19:22:08 -07:00
rebornix
6c68514534
Fix #100329 . Content providers can contribute to undo/redo stack of a notebook document.
2020-06-17 17:08:09 -07:00