Commit Graph

181 Commits

Author SHA1 Message Date
Igor Slobodskov
e4ab7c836b [DS-4429] catch exceptions from NotebookIntervalPointerFactory.ChangeListener
GitOrigin-RevId: 15a6adc3feb7e9466aeb9b245be404ccae03eae1
2023-01-17 16:13:57 +00:00
Igor Slobodskov
3429f13e8f [DS-4429] catch exceptions in NonIncrementalCellLines
GitOrigin-RevId: 69907509cb49468a6dd63b53b0f7e25e6136504f
2023-01-17 16:13:53 +00:00
Igor Slobodskov
ed316c9524 [DS-4062] fix env test - explicitly create NotebookCellLines and NotebookIntervalPointerFactory
GitOrigin-RevId: a84b3934b96e8fe8c6fda8217d2ed8a67e20b6c6
2023-01-17 14:50:58 +00:00
Andrey Vokin
063a24e885 DS-4423 Cell's progress bar doesn't work in Gateway notebooks
Make JupyterProgressBarUI stateless

GitOrigin-RevId: 4116d893a17663c50f6ed7f347911835631e79b0
2023-01-16 22:34:12 +00:00
Andrey Vokin
e909b09499 DS-4423 Cell's progress bar doesn't work in Gateway notebooks
Add component to ui's methods getStartColor, getEndColor and getFinishedColor, so that to make its instance nindependent from component

GitOrigin-RevId: 6e9ee261891fda17bf9a3725f1df1f74822e016b
2023-01-16 22:34:06 +00:00
Olga.Lavrichenko
03cd549b47 DS-365 Show cell execution start time and duration
GitOrigin-RevId: 9930321a64459060cc61e9508e49ca25ccf0f3e7
2023-01-10 21:51:59 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Igor Slobodskov
5d2b6ca5c3 [DS-4062] dont repeat code
GitOrigin-RevId: 54e2cf13faced75fa4df134540b4804af00f0cf5
2023-01-09 20:30:56 +00:00
Igor Slobodskov
f6e9c0962e [DS-4062] retrieve NotebookIntervalPointerFactory by Project and Document instead of editor
GitOrigin-RevId: 460148bdae264e55da60d08172eadcc399bd00d6
2023-01-09 17:14:11 +00:00
Vladimir Krivosheev
57764d700b mark classes final
GitOrigin-RevId: 6414b6f2119c82c7567987dd30b35cab5491d9e2
2022-12-30 06:58:01 +00:00
Dmitry Jemerov
9ea75083e1 https://github.com/JetBrains/intellij-community/pull/1771
GitOrigin-RevId: f9549d196e1ae273d1dadc1a21c692c0d4665d0e
2022-12-29 14:39:25 +00:00
Vladimir Krivosheev
98ace0a061 use XXH3 instead of MurMur3 to generate an icon image key
The main reason — use XXH3 everywhere

GitOrigin-RevId: 7b158b9b3689d16f09182abb0b58113c7303f874
2022-12-27 08:01:26 +00:00
Igor Slobodskov
f3ca84300e [DS-4305] dispose NotebookIntervalPointerFactory when project is disposed
GitOrigin-RevId: 256f2bc132f765433705906522757c128d621f23
2022-12-16 17:19:05 +00:00
Tagir Valeev
426e967c09 [php, nodeJS] Warnings fixed
GitOrigin-RevId: a31aabf0aa963ba58eafcf6b04665e392de414b0
2022-11-24 17:38:50 +00:00
Igor Slobodskov
1961442d03 [DS-4144] fix regression in notebook appearance for selected cells
GitOrigin-RevId: 110a746993e01d3e5416ae6ba7db1735448d7ee3
2022-11-21 17:43:00 +00:00
Vladimir Lagunov
5408678b0a DS-3973 Assign correct palettes to inverted images
GitOrigin-RevId: 7a9ab70c7fca5331c3d72cada4a69bac491fb287
2022-11-03 21:50:27 +00:00
Vladimir Lagunov
7ad3d8ac1c DS-3973 cleanup: remove unused ImageInverter.graphicsConfiguration, reformat code
GitOrigin-RevId: 8e7fd3959401bdd918d002e095b1922bf01b64ec
2022-10-26 15:50:15 +00:00
Vladimir Lagunov
7e91869d10 DS-3973 Use BufferedImage in all places of the image inverter
GitOrigin-RevId: a08227a8378272e695cda6b7860111581dd6870b
2022-10-26 15:50:14 +00:00
Igor Slobodskov
321fae15a7 [DS-3533] format code
GitOrigin-RevId: 385fc02eff0a4e80a0b74240817dee76df105f74
2022-10-25 18:02:47 +00:00
Liudmila Kornilova
9ebc5d5f53 DS-3167 Ljava.lang.Object;@hashcode instead of number of rows in large table copy notification
GitOrigin-RevId: 8d172d5aef99572605d6363ad500371e05a22446
2022-10-22 20:45:30 +00:00
Andrey Vokin
323891923c [Jupyter] Fix notebook-ui module
PY-56680 Impossible to call Settings with the installed Pycharm plugin: com.intellij.diagnostic.PluginException: Class org.jetbrains.plugins.notebooks.visualization.NotebookEditorAppearance

DS-3967 Notebook editor UI broken in master

GitOrigin-RevId: 7dc71704ca9ecc162ba4035d06e15207d7daca5e
2022-10-14 13:40:27 +00:00
Andrey Vokin
fd8bc18324 [Jupyter] move notebook-ui module to the "notebooks" folder
PY-56680 Impossible to call Settings with the installed Pycharm plugin: com.intellij.diagnostic.PluginException: Class org.jetbrains.plugins.notebooks.visualization.NotebookEditorAppearance

DS-3967 Notebook editor UI broken in master

GitOrigin-RevId: 5049925b688d101298eecddc6a73b2004dbedb0f
2022-10-14 13:40:26 +00:00
Daniil Ovchinnikov
7e018f8f91 @JvmDefault: remove usages
GitOrigin-RevId: e35f8bcca482b7dec68d019051ba64e31a0a5490
2022-10-13 14:13:55 +00:00
Vladimir Lagunov
dae626f567 DS-3973 Don't scale inverted image outputs in HiDPI displays
GitOrigin-RevId: 566f03b0cc7fead1922ea586d022bdae1150a59b
2022-10-13 12:05:00 +00:00
Igor Slobodskov
7e3723da26 [DS-3533] NotebookCellInlayManager update for pointers only
GitOrigin-RevId: 124ac0c83a506d6a958c46e43f5350e4f751a7ee
2022-10-11 13:11:00 +00:00
Igor Slobodskov
9d838a52b1 [DS-3533] add updateAll() to NotebookCellInlayManager
GitOrigin-RevId: 61f8ee87eba6734eadef0eb929416aa74adc3cd5
2022-10-11 11:17:44 +00:00
Igor Slobodskov
6a1b8a6939 [DS-3533] add NotebookIntervalPointer to NotebookCellInlayManager
GitOrigin-RevId: f04bb7593b62336a1f90332dd6d82b5f0ad4cde8
2022-10-10 16:25:36 +00:00
Andrey Vokin
4f38ce1560 DS-3609 Make DataSpell Remote Development accessible for the general audience
Continue moving notebook UI to platform module, so that it can be available in Gateway client

GitOrigin-RevId: 2d1be12229ad37a763a79682bf5d1145e2be13ad
2022-10-09 17:36:45 +00:00
Andrey Vokin
4815e439c3 DS-3609 Make DataSpell Remote Development accessible for the general audience
Move notebook UI to platform module, so that it can be available in Gateway client

GitOrigin-RevId: 170b0f5aedf71c040864b59861c3a07acbd631e3
2022-10-09 17:36:42 +00:00
Igor Slobodskov
b33e1d657f [DS-3533] pass Interval to NotebookCellInlayManager.update(...) instead of lines
GitOrigin-RevId: d82093b1222294eaa459682eb5a16925f49fc800
2022-10-04 13:06:19 +00:00
Igor Slobodskov
646c41ab62 [DS-3893] consume exceptions and log them, don't throw inside beforeDocumentChange()
GitOrigin-RevId: 2ee3191851006f1c3374e8282747527cb73d4af6
2022-09-22 14:59:53 +00:00
Andrey Vokin
a0ea176bb5 DS-3609 Make DataSpell Remote Development accessible for the general audience
Replace CellLines.Interval with IntRange where it's possible in GutterLineMarkerRenderers

GitOrigin-RevId: 56d06e83ae47bfb41273f100845606d2b775f545
2022-09-21 15:43:14 +00:00
Vladimir Lagunov
4872efea4f EA-659513 Don't obtain caret position in non-notebook editors in EditorsWithOffsetsDataRule
GitOrigin-RevId: cd78d1f8381d3fc6a14da71a4e33f5b4f8478402
2022-09-21 12:25:50 +00:00
Tagir Valeev
b1653a6dc2 Enhanced switch used
GitOrigin-RevId: 6700624264ada4144a0e6c3df89820cc1b589fdd
2022-09-18 11:09:26 +00:00
Piotr Tomiak
db8f7b08a4 Refactor castSafelyTo to asSafely
GitOrigin-RevId: 36f843369a753f158f53b36ce21ab2ecaa29fea3
2022-09-16 16:19:10 +00:00
Piotr Tomiak
7c1a967f80 Add @NoInfer to castSafelyAs result.
GitOrigin-RevId: d34d4a40c1916b4620f79844909c88364d6600e4
2022-09-16 16:19:07 +00:00
Piotr Tomiak
658547b82c Revert "remove castSafelyTo - don't repeat what language provides, no need to have extra sugar"
This reverts commit f3f806f0

GitOrigin-RevId: cf5fb413dd7f6a01deec6f1e345503dd553ba23e
2022-09-16 16:19:03 +00:00
Vladimir Krivosheev
2afb98118d remove castSafelyTo - don't repeat what language provides, no need to have extra sugar
GitOrigin-RevId: f3f806f032c267c54cfa39f5d7f32a7e0ef4cbb6
2022-09-14 18:06:07 +00:00
Andrey Vokin
3546401768 DS-3659 Context menu action "Delete cell" deletes wrong cell
GitOrigin-RevId: 0d0d87e2f583fb3f6bb73f05f2a55c658b5733a0
2022-09-14 16:42:40 +00:00
Vladimir Krivosheev
0af2e7b5c5 fix - reduce member visibility (public -> private)
GitOrigin-RevId: fe8a4740e27d192798a9fa55ff41112d1b633e49
2022-09-14 15:09:45 +00:00
Alexey Belkov
342a2bf774 Replace deprecated Kotlin sumBy function usages in whole project
GitOrigin-RevId: 77796b34c7551144566c0b079c1f2ba825aa96ec
2022-09-14 13:45:23 +00:00
Alexey Belkov
b6e312ebe3 Replace deprecated usages of kotlin.Char.toInt() in whole project
GitOrigin-RevId: b6e767c3c08811a5c22d7b80c72b3ff09d3f957b
2022-09-13 18:15:33 +00:00
Andrey Vokin
9e726628aa DS-3609 Make DataSpell Remote Development accessible for the general audience
Use right offset range when look for below-cell-inlay in cell line marker renderer

GitOrigin-RevId: 96817b5512403a055f16facba46db61e4f0a3eb8
2022-09-13 11:11:22 +00:00
Igor Slobodskov
1f2479a19e [DS-3445] don't reuse NotebookOutputInlayController if it at wrong offset
GitOrigin-RevId: 2ad66cdc69620fcb9f87ca9453ee8838689921c5
2022-09-12 13:29:52 +00:00
Igor Slobodskov
4aaad8916f [DS-3445] refactor NotebookIntervalPointerFactoryImpl and interface, add tests
Merge-request: IJ-MR-95153
Merged-by: Igor Slobodskov <Igor.Slobodskov@jetbrains.com>

GitOrigin-RevId: 278dd256b4c8cb0d205fb1527e676b0cd375df53
2022-09-09 19:56:25 +00:00
Igor Slobodskov
abcf4f7054 [DS-3445] install NotebookCellLinesProvider for Python
GitOrigin-RevId: fb7338d1c1aba0f0af737a05c4be317d48190f57
2022-09-09 12:18:10 +00:00
Andrey Vokin
2f6600e76c DS-3609: [Jupyter Notebooks] Gutter rendering via line markers
BelowCellInlayController, AboveCodeCellInlayController

DS-3609 Make DataSpell Remote Development accessible for the general audience

GitOrigin-RevId: 41e1c5a272f9c942393de2191c776f8cd2048416
2022-09-09 03:51:20 +00:00
Igor Slobodskov
65f3b864c3 [DS-3445] store NotebookCellLinesProvider as data in document
GitOrigin-RevId: 16b1d76fd600d32f4076ada6ccd6bb042cb00023
2022-09-08 13:03:31 +00:00
Andrey Vokin
f98e2f9f06 [Jupyter Notebooks] Move out cell's background rendering to separate LineMarker
GitOrigin-RevId: b98a0541e725b77c80352735026fa33f3f584e51
2022-09-06 15:43:26 +00:00
Andrey Vokin
1c7edfd7fa [Jupyter Notebooks] Move out line numbers rendering to separate LineMarker
GitOrigin-RevId: 65cd51230b9ab112f0f99c8c6cb765647b5990d5
2022-09-06 15:43:23 +00:00