Commit Graph

65 Commits

Author SHA1 Message Date
Vladimir Lagunov
ece5669bb8 Restore API compatibility by returning NotebookVisualizationUiUtil to the old package
GitOrigin-RevId: cbe865f65bdd8d18f6c5f3e4d97caf9b1e22d6b0
2022-01-28 12:09:43 +00:00
Alexey Kudravtsev
965f6c769c cleanup: method is identical to its super method
GitOrigin-RevId: 350ea63057fc436a3bcebed964228c43db8d5923
2022-01-27 13:29:12 +00:00
Elizaveta Shashkova
46e6d1491f DS-2586 Adjust the width of the output automatically after a resize of the tool window
If editor is located inside a scroll pane, listen to its size changes instead of editor component changes

GitOrigin-RevId: 3c4ee8d792049451cc3392646e78470d42bc554a
2022-01-13 18:05:37 +00:00
Igor Slobodskov
ec755af694 [DS-2285] store PointerFactory as editor.document field instead of editor
GitOrigin-RevId: fdbaf46143389b7a82b441253d81cdca08e0d766
2022-01-13 17:30:52 +00:00
Vladimir Krivosheev
29371319c7 reduce usage of UiUtil
GitOrigin-RevId: 3b68e14171ef154345a72beb79f9426c188a9329
2021-12-26 19:51:02 +00:00
Vladimir Lagunov
d29e340d48 DS-2653 Move VisualisationIcons to the right package
GitOrigin-RevId: 8474025476e5a6c978aa13c584e30f6887d704f0
2021-12-15 06:01:36 +00:00
Vladimir Lagunov
1ed23fa145 DS-2653 intellij.notebooks.visualization as a platform module
GitOrigin-RevId: c8281669c060f8b2d806e4386e812478a45a6759
2021-12-15 06:01:30 +00:00
Vladimir Lagunov
fd2c4f211a intellij.notebooks.visualization: rename package datavis.r to plugins.notebooks.visualization.r
GitOrigin-RevId: 8a064f1ac22dc234542e0a6220b3279121c783a1
2021-12-15 06:01:28 +00:00
Vladimir Lagunov
183cd92dde intellij.notebooks.visualization: rename package org.jetbrains.plugins.notebooks.{editor,visualization}
GitOrigin-RevId: b8424c82168d96f4d27b9175d984c0d0db321e88
2021-12-15 06:01:25 +00:00
Igor Slobodskov
0079e1d122 [DS-2339] action visible only if more than one cell is selected
GitOrigin-RevId: 54f5b9e624c2ccccc2bddef378a1dcf0adbfb07a
2021-12-03 17:19:21 +00:00
Vladimir Lagunov
c7d2cb826b IJPF-CR-3445 VisualizationBundle.properties clipboard.utils.no.columns.or.rows grammar
GitOrigin-RevId: da9713c88f8268538217fb51f6d800fe173fc09c
2021-11-30 14:27:39 +00:00
Igor Slobodskov
f2fc356727 [DS-2339] fix: "Collapse Outputs Of ..." -> "Collapse Outputs of ..."
GitOrigin-RevId: 96ef1d5ecc90fd72f8049e6caf5dfc1e4e58a93b
2021-11-24 11:31:56 +00:00
Igor Slobodskov
9c4c0c006e [DS-2339] add action for collapsing notebook outputs of selected cells
GitOrigin-RevId: 28a0a221cc2b0febd6b21f8fac44d82a8205e3d8
2021-11-19 11:15:53 +00:00
Vladimir Krivosheev
0429b0130d use murmur 3 32 instead of xxhash 64 for icon digests - reduce icon db size (mostly in memory, because on disk compressed using LZ4) and avoid loading extra classes on start-up (murmur is already used in classloader)
no collisions so far

GitOrigin-RevId: 1f41a238729772b4b3c4faa5de5cd1ccb9ec3f65
2021-11-19 09:43:32 +00:00
Alexander Bozhnyuk
d5a37c70dc DS-2577 Diff support for different types of outputs
GitOrigin-RevId: a9b9fe8c07cd3db9cf6402f9b1129c6651ea1764
2021-11-17 11:52:41 +00:00
Vladimir Krivosheev
a0fc64f8a6 remove deprecated addLafManagerListener(LafManagerListener, Disposable) - use message bus instead
GitOrigin-RevId: 10ac460bfb91ed250cf953064933125409ad1964
2021-11-12 14:27:44 +00:00
Igor Slobodskov
800e1bb919 [DS-2285] fix NotebookIntervalPointer code for review: rename methods, simplify code
GitOrigin-RevId: 890b5d4a40fc2ef5aff1426892cdde336bd34c4b
2021-11-11 12:19:52 +00:00
Alexey Kudravtsev
d2a28669f5 replace Disposer.isDisposed() with more reliable comp.isDisposed()
GitOrigin-RevId: 0e034b90ab9bcef0545b4d32577632e933beeb4c
2021-11-10 23:03:09 +00:00
Elizaveta Shashkova
0a7a12bfac IJ-CR-16313 Fixes after review
GitOrigin-RevId: 43105e265ca883fd107746104e28fcae2a9436f2
2021-11-10 12:55:02 +00:00
Elizaveta Shashkova
9a5bc15f82 IJPF-CR-3104 Refrase message
GitOrigin-RevId: a5152d332f4644c9ea025d755ee4370c961eb452
2021-11-02 13:47:47 +00:00
Elizaveta Shashkova
a1d2b50bd5 DS-2472 Save as saves only the first chunk of the data and DS-781 Set a limit for elements in Copy All
GitOrigin-RevId: 86b425b1cc23ae097fa3b36c1736e930db4b280f
2021-11-01 15:57:43 +00:00
Alexander Bozhnyuk
13912063b7 DS-2242 Fix: broken "collapsing unchanged fragments" in commit dialog
GitOrigin-RevId: e6a590e64ea90782eabd69fe7b44ec12befb7e36
2021-10-31 20:25:13 +00:00
Alex Plate
2c8b118e3f Revert "[IDEA-270680] Use an ellipsis character in several bundles"
Temporally revert ellipsis

GitOrigin-RevId: e7e60813b6e7a6f724cc066708caaabe3cb8ca54
2021-10-26 12:07:12 +00:00
Alexey Kudravtsev
6d4c4cede5 replace dangerous method Dispose.isDisposed() with more correct isDisposed()
GitOrigin-RevId: cbd47a4eff0df1484192e6ccf79593e768b4b8c8
2021-10-20 11:35:13 +00:00
Igor Slobodskov
5b18a61715 [DS-2285] add hints for notebook interval factory when editing document
GitOrigin-RevId: 34a61bfa6b823486952824824c027aa6971a148b
2021-10-19 22:31:19 +00:00
Igor Slobodskov
deeb40644b [DS] improve performance of ImageInverter.kt
New image convert is 1.5-2 times faster

GitOrigin-RevId: 9340e472426b46cd170f46f9605910f14cf2a78b
2021-10-11 12:39:06 +00:00
Igor Slobodskov
8f98479b4d [DS-2295] extend NotebookCellSelectionModel interface, add grouped selected cells
GitOrigin-RevId: 1118f2f7be88045f1f1522fdcc4d81bf690796e9
2021-10-08 15:51:36 +00:00
Igor Slobodskov
63347558eb [DS-2313] implement split cell action for stem cell (it without header)
GitOrigin-RevId: 6833d272c09ba4c240d60bee966a2ae6ec1641ff
2021-10-05 00:05:27 +00:00
Tagir Valeev
81d730447a Add type parameters for raw type casts where it's safe
GitOrigin-RevId: 49c3dd961c5c7122d6644b7e4959d0e86ad271da
2021-10-01 07:59:54 +00:00
Alex Plate
5249b7b666 [IDEA-270680] Use an ellipsis character in several bundles
GitOrigin-RevId: fc337c3576425d50356a4ae2fd0ae3c671bfb318
2021-09-30 13:32:07 +00:00
Andrey Vokin
0eb0b913dd DS-1921 Scrolling on traceback folding/unfolding
If bottom part of the collapsing output is on the screen or below the screen adjust scrolling so that the collapsed output is on the screen

GitOrigin-RevId: 39ead918a8ad9c26ec421732479fb321a48e6093
2021-09-28 18:43:33 +00:00
Andrey Vokin
fa6b518436 DS-1921 Scrolling on traceback folding/unfolding
Do not use a cell as a scroll target if it's not on the screen

GitOrigin-RevId: f0abb18bb3ff4b4edbe2ccbaa47d4c81be692385
2021-09-28 07:29:57 +00:00
Vladimir Lagunov
a423416d54 DS-1783 Update collapsed cell output if result updates
GitOrigin-RevId: 3360a5590846bbbbf5143b90211c19f0aa899160
2021-09-24 07:16:07 +00:00
Anton Bragin
14c7d6df86 DS-1356 Direct call of BufferedImage is replaced with ImageUtil.createImage
GitOrigin-RevId: 0dfc87230e4ce0f0975c8156ffe24c2ca4d515c5
2021-09-21 15:42:53 +00:00
Anton Bragin
b7810682d7 DS-1356 Only part of image is used to guess whether the inversion should be applied
GitOrigin-RevId: 4c0e85344da0e6f592256553c16347cbaf97fb18
2021-09-21 15:42:49 +00:00
Anton Bragin
f127e0fa6b DS-1356 Background color analysis implemented
GitOrigin-RevId: 8c0d0a883f030899a15348bce8795bf46a20628f
2021-09-21 15:42:45 +00:00
Igor Slobodskov
c31fe19272 [DS-1599] rewrite JupyterSplitCellAction into NotebookSplitCellAction
GitOrigin-RevId: 021a7468ed66aff3604d9116fbbf1bb7cf93097e
2021-09-17 11:21:08 +00:00
Igor Slobodskov
d08f6d9d69 [DS-1599] change JupyterSelectCellAboveAction to NotebookSelectCellAboveAction
GitOrigin-RevId: 11e677e9dc85269a93df279f60671b07f7c0a517
2021-09-16 10:25:09 +00:00
Igor Slobodskov
2804939d7d [DS-1599] add extension Interval.contentLines
GitOrigin-RevId: e4d846f99e60b5da594138e3cf228f7a92852c89
2021-09-15 14:17:19 +00:00
Igor Slobodskov
554094ff66 [DS-1599] make private NotebookCellLinesLexer.defaultIntervals
GitOrigin-RevId: 29831de88cdb98633d543e77635d08a6b624cc32
2021-09-13 11:54:49 +00:00
Igor Slobodskov
3d323baae6 [DS-1599] use NotebookCellLines.intervals instead of getIterator().asSequence().toList()
GitOrigin-RevId: b718583bab909b38b5039ee7eed1988526a0b44a
2021-09-10 09:44:32 +00:00
Igor Slobodskov
185db177b5 [DS-1599] replace NotebookCellLines.getIterator(ordinal) with intervals.listIterator(ordinal) and intervals[ordinal]
GitOrigin-RevId: e75abcdb6b517748012a57440b3f7a9a6bb5e136
2021-09-10 09:44:31 +00:00
Igor Slobodskov
834c3008ab [DS-1599] remove NotebookCellLines.getIterator(interval)
GitOrigin-RevId: 0bea262c7c8330458d6b10b264cde2c88cd53d75
2021-09-10 09:44:30 +00:00
Igor Slobodskov
add57e7d37 [DS-1599] remove NotebookCellLines.intervalsCount, use intervals.size instead
GitOrigin-RevId: 3f15e17d7b795237ebf4acae1d5109da4bd44397
2021-09-10 09:44:29 +00:00
Igor Slobodskov
c4c9901567 [DS-1599] add NotebookCellLines.intervals property
GitOrigin-RevId: d4a52e9541c8d24baa1c978d50f06670cb9a1d3e
2021-09-10 09:44:28 +00:00
Igor Slobodskov
fd7bb9b239 [DS-1599] rm NotebookCellLinesImpl and simplify tests
GitOrigin-RevId: bdbc0d7ddfaa23964b61d724c5c19dfac6901973
2021-09-08 14:33:35 +00:00
Igor Slobodskov
4beddc4282 [DS-1599] fix bugs, add tests for cut cell action
GitOrigin-RevId: 10c9fe55efae3f52364040fc0a9e7b4572d34876
2021-09-06 20:34:08 +00:00
Igor Slobodskov
75d267667f [DS-1599] modify NotebookDsDeleteCellAction to handle any document with NotebookCellLines
GitOrigin-RevId: e26d485d2a908c9d86dcaedb618ac825aa731110
2021-09-03 12:29:47 +00:00
Igor Slobodskov
1d84861ae5 [DS-1599] fixes for review:
* rename MarkerLines => MarkerAtLines
* rename MarkerAtLines.BOTH => TOP_AND_BOTTOM
* simplify NotebookCellLinesLexer.kt

GitOrigin-RevId: 7f066431537a103aa5d8c5b7248169df9ddb101f
2021-08-31 17:00:40 +00:00
Igor Slobodskov
f27d94f50f [DS-1599] move markers out of NotebookCellLines
GitOrigin-RevId: af835d4ba08dbd951142aca30dda11147287cc9a
2021-08-31 17:00:36 +00:00