Commit Graph

294 Commits

Author SHA1 Message Date
Nikita Ashihmin
0a15537d70 [pycharm] PY-66053 Jupyter: add statistic
GitOrigin-RevId: 01affd99d082328c16470dc689980a355e33095a
2024-01-15 00:09:38 +00:00
Gregory.Shrago
f39acce4c9 convert DumbAwareActionButton to regular AnAction
GitOrigin-RevId: 58e3216583b3805a97590d7b2f92d21e884453aa
2024-01-09 00:29:31 +00:00
Bogdan Kirilenko
41f7ee9ccd [jupyter] PY-20132 adjusted above and below cell delimiter panels for jupyter diff viewer
GitOrigin-RevId: f6f6af3cd7c5d872b147a27f8f9605b1b6c50874
2023-12-19 13:28:41 +00:00
Bogdan Kirilenko
69b94eb752 [jupyter] PY-20132 temporarily disabled jupyter outputs in the diff viewer
GitOrigin-RevId: ea2e783e1c449712e2f868c08145a8013d0faa14
2023-12-19 13:28:34 +00:00
Bogdan Kirilenko
4a07e7311c [jupyter] PY-20132 excluding some inlays for better UI in the jupyter diff viewer
GitOrigin-RevId: dd9086774280d1efb9fa7171f781b66b2c17c314
2023-12-19 13:28:26 +00:00
Igor Slobodskov
3030aeadb3 [DS-4896] add more ThreadingAssertions.assertWriteAccess() to NotebookIntervalPointerFactoryImpl
GitOrigin-RevId: e3b9cbedc3cd0146b8b77189b3e6e307b32d6913
2023-12-05 20:47:33 +00:00
Nikolay Egorov
c775a70695 KTNB-395: Address uncovered cases:
1. Consider new theme in NotebookEditorColorsListener
2. Listen to "border" property change as a more popular UX-triggered event so that EditorColorsScheme applied properly

GitOrigin-RevId: 3da6d8c95b95c7faace517621454947a0c1c3686
2023-12-05 10:18:33 +00:00
Anton Bragin
267d152614 DS-5949 Sausage button has square edges and uses EditorTabs.background
GitOrigin-RevId: 37716d4be3789ac665051d696c92bd5a51a3734c
2023-11-13 12:35:50 +00:00
Ilya.Kazakevich
1224ab28e1 Notebook inlay: add logging to prevent NPE
GitOrigin-RevId: c59be4b171c45ecfaa27c13e0ec779f4f3ef3c18
2023-11-09 20:15:30 +00:00
Nikolay Egorov
40ab25c0bb DS-5877: Prevent scrolling if output can't fit
(cherry picked from commit 337f5c22e4f2d26d8d760536dae375591b0bd9c4)

IJ-MR-118635

GitOrigin-RevId: 7a21fe3e227174a4bd70d0add7ebf80ce49d8dd2
2023-11-03 20:49:02 +00:00
Nikolay Egorov
3e7d1533ee KTNB-395: Changes for IJ-MR-117926
(cherry picked from commit 6645d9a235e3af5b86a0d0f1dd1990f85068796f)

IJ-MR-117926

GitOrigin-RevId: 2b10ba82e37ee3b932b3409fab562ed9ea569d09
2023-11-03 17:31:11 +00:00
Nikolay Egorov
75eb6655d6 KTNB-395: Adjust cell separators regions colors once theme is changed
(cherry picked from commit 9cab3ad3b4569bf0cfd09e56e15d285ff6937824)

IJ-MR-117926

GitOrigin-RevId: 160a3a3f9ca08413b03d25688901134816ecb469
2023-11-03 17:31:07 +00:00
Vladimir Krivosheev
69fc441f6e IJPL-310 mark extensions as obsolete (part 11)
GitOrigin-RevId: ef915fa2bf11f9fbcdf9ebbf80bc553129314335
2023-10-29 20:09:28 +00:00
Anton Bragin
ab2c3dc188 DS-5867 Cell creation by floating button is logged into FUS
GitOrigin-RevId: 3747b22fe0e37abbab9ac9679f161aa8472cebd7
2023-10-26 18:47:40 +00:00
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00
Igor Slobodskov
49215543a3 [DS-5557] inherit NotebookIntervalPointerConcurrentMap from CheckedDisposable
Because this class has method isDisposed()

GitOrigin-RevId: 8e13a6df6a42783c5868bd20a2dd754e0755b78f
2023-10-05 22:09:51 +00:00
Igor Slobodskov
f3793d8c67 [DS-5557] refactor code, don't use InlayProgressStatus in Jupyter
JupyterCell.executionStartTime and JupyterCell.executionEndTime are stored directly in JupyterCell.
No need to use JupyterInlayProgressStatusManagerImpl to access this data.
Refactor JupyterInlayProgressStatusManagerImpl and BelowCellInlayController.


Merge-request: IJ-MR-115382
Merged-by: Igor Slobodskov <Igor.Slobodskov@jetbrains.com>

GitOrigin-RevId: 61089e32e0334ebbd6d018e1563551ca4afbe429
2023-09-26 13:24:09 +00:00
Olga.Lavrichenko
2389baa7a9 DS-5574 Moved SQL toolbar to sql module
GitOrigin-RevId: 01c7a5442c2add7462c3f37413a00759664bde98
2023-09-23 18:19:59 +00:00
Olga.Lavrichenko
5c87d55bde DS-5574 Added toolbar with data sources for SQL cell
GitOrigin-RevId: cdf8b65368815879db19058154b487a7116ac0e1
2023-09-23 18:19:59 +00:00
Daniil Ovchinnikov
c973850ddc IJPL-255 replace Application.assertIsDispatchThread -> ThreadingAssertions.assertEventDispatchThread
GitOrigin-RevId: da80a0648ffce76e93f35f72afc93334b21fe9a2
2023-09-22 00:08:26 +00:00
Igor Slobodskov
89dd759681 [DS-5554] move read action up to caller code and wrap whole cycles inside one read
GitOrigin-RevId: a807c4a3d6266d57d0c152932e6c88a16e3dbcab
2023-09-21 19:01:58 +00:00
Anton Bragin
21324be8ac DS-2556 Icon classes regenerated
GitOrigin-RevId: 6ff6d15197cf6ef7193850baeddeb2030766c4b3
2023-09-19 22:04:20 +00:00
Anton Bragin
42036394f9 DS-2556 Jupyter support extracted to a dedicated plugin
GitOrigin-RevId: 3a553c72e16cec31c09638bfcb1fc6425813942d
2023-09-19 22:04:19 +00:00
Anton Bragin
24521d56f2 DS-5554 Caret access is moved under read action to avoid read access exceptions
GitOrigin-RevId: 2a252a71cd6d5deacebb4f7aa7115cb0eab2473c
2023-09-15 11:50:28 +00:00
Bart van Helvert
9cb9954ac3 Fix field may be static
GitOrigin-RevId: 67068e185c1694b3abb418bf4e237e7101fc9f18
2023-09-12 17:27:02 +00:00
Natalia.Murycheva
2b0bf6b80a Fixed review remarks and fixed the exception that was raised when filters were removed from a table.
GitOrigin-RevId: 4d7c347585c9cbd02fa963c0356cea82589e93cd
2023-09-07 09:26:37 +00:00
Natalia.Murycheva
e0f2551674 More cleanup
GitOrigin-RevId: 00feb91c159ef6a3031684c2057753d459d7c008
2023-09-07 09:26:37 +00:00
Natalia.Murycheva
54c854dcb4 TableFilterHeader refactoring.
Added abstract classes AdditionalTableHeader and PositionHelper, which are the base classes for this behavior.
Refactored TableFilterHeader to remove code duplicates.

GitOrigin-RevId: 4b841b3862ceba35138b75e376a12eed36e81e03
2023-09-07 09:26:37 +00:00
Natalia.Murycheva
7d9eca8146 PositionHelper.java -> AdditionalTableHeaderPositionHelper.kt
Extra commit to preserve history of this file.

GitOrigin-RevId: 83c42621ead8c85d4ef09023954e29dc426777e8
2023-09-07 09:26:37 +00:00
Natalia.Murycheva
914d58a40d Remove unused code and made a cleanup for the further refactoring
GitOrigin-RevId: 77c1a0575d1ded4628f44602f60cd05b8983195e
2023-09-07 09:26:37 +00:00
Igor Slobodskov
b1590e9c19 [DS-5493] add extension Interval.jupyterCellType
GitOrigin-RevId: 3580402b8f050096d1ae9a86df5999e38721baea
2023-09-06 21:18:49 +00:00
Igor Slobodskov
ea39b6b0b9 [DS-5493] refactor NotebookCellLinesLexer
GitOrigin-RevId: 5d98e902de1b0691dde5859e2d776229e0f516dc
2023-09-04 17:33:24 +00:00
Igor Slobodskov
6c95461922 [DS-5033] catch and log Throwable instead of Exception, this code should work anyway
GitOrigin-RevId: 7964763385b793eada8ee9a356b3a7074748dc0a
2023-09-04 15:45:16 +00:00
Igor Slobodskov
f1bcd9ceaf [DS-5493] add field NotebookCellLines.Interval.data: KeyFMap
Different notebook implementation could store their own values in intervals.

GitOrigin-RevId: e1f666d746eb80179f5f45d590d613cceebe225d
2023-09-01 16:49:57 +00:00
Igor Slobodskov
a9425ab68d [DS-5033] catch throwable instead of exception
GitOrigin-RevId: 616a77c8a2b87eecdf6668cc4b89cbf4b790d897
2023-09-01 14:07:40 +00:00
Igor Slobodskov
6d5a39c537 [DS-5033] catch exceptions from NotebookOutputComponentFactory, log them and allow other factories to work
GitOrigin-RevId: 630c7049d04c813661db5de13d70462e5306346d
2023-09-01 14:07:37 +00:00
Alexey Belkov
5ee4dfe473 Apply Kotlin inspection "Redundant empty primary constructor"
GitOrigin-RevId: 7f798d7f84c8f9c85f6ee5abcba7ddff26b83f4f
2023-08-23 17:45:45 +00:00
Alexey Belkov
499d4be947 Apply Kotlin inspection "Use property access syntax" in some places
GitOrigin-RevId: 76e12cf126eeb6b51ba047b67e0ef903f4ad75f9
2023-08-23 17:45:42 +00:00
Igor Slobodskov
cf108da37d [DS-5493] compare Interval.language and type instead of just type
GitOrigin-RevId: a42048d57f5e3f6d7f061ded1e2a9eaf6be95ca2
2023-08-16 21:01:57 +00:00
Igor Slobodskov
026df603f0 [DS-5493] simplify NotebookCellLinesLexer
GitOrigin-RevId: ae8d26f68d46f2bd9b1dffd8f6ecae8bb0de479c
2023-08-15 19:37:38 +00:00
Igor Slobodskov
b46292cd64 [DS-4896] use ThreadingAssertions.softAssertReadAccess() in NonIncrementalCellLines
GitOrigin-RevId: 2a507ec3376e192fa111fda559e1a1f5021f9740
2023-08-10 17:26:27 +00:00
Igor Slobodskov
bac3d26b55 [DS-4896] use ThreadingAssertions.softAssertReadAccess() in NotebookCellInlayManager
GitOrigin-RevId: f7247351b1aed607964fe3c414e2fd53660b5d86
2023-08-10 17:26:24 +00:00
Igor Slobodskov
76c22ac6eb [DS-4896] use ThreadingAssertions.softAssertReadAccess() in NotebookIntervalPointerFactoryImpl
use it instead of deprecated ApplicationManager.getApplication().assertReadAccessAllowed()

GitOrigin-RevId: fc304f51290c8926f18d89f2d53e3a1009d93e1b
2023-08-10 17:26:21 +00:00
Vladimir Krivosheev
8dd13764a9 IDEA-326151 update hash algo for icons
GitOrigin-RevId: bb8f3acd0314190362619afb86151270b893f082
2023-08-09 14:46:20 +00:00
Igor Slobodskov
95c7e05e6f [DS-5033] suppress and log listener exceptions
f

GitOrigin-RevId: 7a45315bdf0805d0576fb7f61af58e28d0eee8fa
2023-07-28 14:24:55 +00:00
Ilya Muradyan
3a4aabbde6 DS-5115: Fix of appearance in New UI for Kotlin Notebook
GitOrigin-RevId: 812b171bd0c6ee9903418874441a94dc01c9556b
2023-07-18 20:32:05 +00:00
Anton Bragin
7043ce6f03 DS-5115 New UI notebook editor appearance extracted as a separate object
GitOrigin-RevId: 6fb9a5de4d9d8a555bb86e0882c4b82fedf066e0
2023-07-13 16:01:00 +00:00
Anton Bragin
53470d2c54 DS-5115 New UI: notebook cell background and caret row colors updated
GitOrigin-RevId: cc41de31bad6d2e790a4730b2c30d505887d6999
2023-07-12 20:17:00 +00:00
Igor Slobodskov
33cd5ee897 [DS-4636] skip mode change when editor is disposed
GitOrigin-RevId: 3ec6a7f0c3278c12278fcd8b3af6e4b6f13547fb
2023-07-05 19:59:38 +00:00
Daniil Ovchinnikov
97f0a7fd3b migrate usages of ModalityState.NON_MODAL to ModalityState.nonModal
GitOrigin-RevId: fb4855bfa90dbf384fed24871e4b28ab803847bb
2023-06-09 21:58:50 +00:00