Commit Graph

643 Commits

Author SHA1 Message Date
Piotr Tomiak
3f7d5dc47b [images] IJPL-175323 IDE crashes with OOM when displaying GIF from plug-in description
(cherry picked from commit ada4ffdc95dc3ab976ba63d4199bed26333fe59a)

IJ-CR-153425

GitOrigin-RevId: 73efc8b511ee31d9671d149405a2a508e7c65917
2025-01-23 10:03:26 +00:00
Nikita Pavlenko
e7a03c5360 [PyCharm] Debug (feat): Added possibility to copy images from image viewer opened via "Show image" from variables view. #PY-77576 Fixed
(cherry picked from commit 44e5cf29fde086ab796d138fcf99d76f5a662a99)

IJ-CR-153313

GitOrigin-RevId: 8e761e95f73b91bc2e09946157c895298785e708
2025-01-22 12:07:19 +00:00
Piotr Tomiak
e5b07397c4 WEB-52274 ImageReaderSpi register file is ignored in the runtime. Use ApplicationLoadListener to register service providers
(cherry picked from commit d6ba8400117c2a392e2d864116c5fc33dafb3a44)

IJ-CR-148627

GitOrigin-RevId: 72a5ee9956403a1bf264f25bc2099fd1db5577af
2024-11-27 14:27:32 +00:00
Piotr Tomiak
8309f0898b Mark SvgReader and SvgReaderSpi as internal
GitOrigin-RevId: e2ab9af93405dbda1a9969698cec4cd74395087c
2024-10-08 08:55:20 +00:00
Vladimir Krivosheev
f88f078dda bazel: update model
GitOrigin-RevId: dcd1f70f9ee2d7f04919b2da0eb725d6c5e54c3d
2024-10-07 12:22:54 +00:00
Nikita.Ashihmin
a82c5d2f20 PY-71854 Platform(refactor): Replace all usage of old non file type specific File limits to the new FileSizeLimit
GitOrigin-RevId: c65b945a34e24ab79b06f2039361fd6dcc1048e7
2024-10-05 23:58:19 +00:00
Vladimir Krivosheev
4a176d4c02 IJ-CR-146078 extract intellij.platform.bootstrap
GitOrigin-RevId: b79efc92829111228e83058e54381d8e02116b6f
2024-10-05 22:01:55 +00:00
Piotr Tomiak
cb9b167a18 IJPL-158733 WEB-52274 IJPL-76550 IJPL-155932 Add support for base64 to QuickDoc and add support for SVGs to ResizingHtmlImageView
GitOrigin-RevId: d4a075078b1d903ac0e864a0e447f0252b5398ac
2024-10-03 12:27:48 +00:00
Piotr Tomiak
c23ea21ff1 IJPL-26368 Support SVG images in rendered editor documentation; refactor JBHtmlPane to use default image resolver
GitOrigin-RevId: 50a044f57a336302976a4961fef9436e770c88ab
2024-10-03 12:27:48 +00:00
Brice Dutheil
f9f1a0aa07 IJPL-155932 SVG Image support via ImageReaderSpi (detect SVG)
closes #2850

GitOrigin-RevId: 1674cb6711fa8e2744c09dcdd58963051d331f3c
2024-10-03 12:27:48 +00:00
Roman Shevchenko
9b43719207 [project] reviewing use of file-based filters in choosers (IJPL-150176)
... and amending/replacing them with extension-based filters where possible

GitOrigin-RevId: 422e4f42ac96c295a707eae76ef25686753fc6ce
2024-09-30 20:14:03 +00:00
Roman Shevchenko
16ad6dea8a [platform] amending file filters in platform file choosers with extension filters, instead of replacing (IJPL-150176)
GitOrigin-RevId: bc5d9ab58303a65b186cb36dc8099975f7b6b8ba
2024-09-27 22:47:07 +00:00
Vladimir Krivosheev
a9e7930abe bazel - build lang-impl
GitOrigin-RevId: c4c4dce20bd6e4046644f95f6e7b3f437c51668d
2024-09-27 13:47:17 +00:00
Roman Shevchenko
c954cb746f [platform] migrating platform choosers to extension-based filters (IJPL-150176)
GitOrigin-RevId: 72b4a6f4c258d4235349c16a87b2d03d78168c4f
2024-09-27 02:02:42 +00:00
Roman Shevchenko
a5666abead [project] pruning FileChooserDescriptor overrides (IJPL-150176 prerequisite)
`BrowseFolderRunnable` and `*WithBrowseButton` family: getting rid of separate "title" and "description" parameters in favor of the chooser descriptor object, to avoid cloning the latter down the road.

GitOrigin-RevId: 33ec5968a1db953c60848974135055c288accf85
2024-09-06 11:41:43 +00:00
Mikhail Filippov
f13d92e82f IJPL-150165 switch to invoke dynamic lambdas in Kotlin
GitOrigin-RevId: 63ba45a21874cc723917982996fce1a510b2a182
2024-09-05 11:19:31 +00:00
Daniil Ovchinnikov
36b34c4e18 extract intellij.platform.ui.jcef module
GitOrigin-RevId: 560932e829c0bbf85d51b22a80963a978cf89553
2024-09-03 17:43:45 +00:00
Mikhail Filippov
bf43f2fc01 IJPL-150165 bump Kotlin language and API version
GitOrigin-RevId: a59dc8ca214a5047773fccf1cf28a1e1b07acf68
2024-08-30 22:15:55 +00:00
Gregory.Shrago
038c336ddc migrate ActionPlaces.isPopupPlace usages
GitOrigin-RevId: 6caf1344423c8142a549d507c19e4ea40a721284
2024-08-28 05:13:52 +00:00
Bas Leijdekkers
2a0ccb7079 it should be possible to undo pasting an image into the project pane (IJPL-160554)
GitOrigin-RevId: 364544b6623b3f09e748a313202d7392d460de22
2024-08-21 09:12:08 +00:00
Gregory.Shrago
6de490abea migrate getData to uiDataSnapshot: images
GitOrigin-RevId: 7f2d50ee8c525ff9334f5ed6cf9c61796a635d26
2024-08-02 01:17:08 +00:00
Yuriy Artamonov
4dac328bf4 [i18n] IJPL-158521 Fix more ellipsis problems in plugins
GitOrigin-RevId: 981393c6f975e303847ca598b650fec8fe65d9bf
2024-07-30 16:35:51 +00:00
Vladimir Krivosheev
398ebce1d5 split content report
GitOrigin-RevId: ef449bdf4c5480a6ee3ce43b4af118c2c6e31219
2024-07-25 19:20:06 +00:00
Alexander Lobas
932f2d438e Swap icon path parameters: move expUI path to the first place
GitOrigin-RevId: 74cf09fb454c89b676be259cdd7437a81ac4c067
2024-07-25 15:12:07 +00:00
Yuriy Artamonov
64d51a40bc [images] IJPL-61678 Show chessboard action is not available during indexing
GitOrigin-RevId: 3b46b0c857c05b14f4261699987cc196a0a05760
2024-07-23 10:45:10 +00:00
Vladimir Koshelev
d6bc46315e [images] re-generate PlatformImagesIcons.java since images doesn't have a package prefix
GitOrigin-RevId: 7a113d36498d968088a044f149faa21fa10f37fb
2024-06-20 10:01:35 +00:00
Vladimir Koshelev
265737f489 [images] platform.images: extract SvgParserDefinition and get rid of xml dependency
GitOrigin-RevId: 18d5caef028c77a362671a489ac4001aa2479eba
2024-06-20 10:01:29 +00:00
Alexander Lobas
89d58ee436 IJPL-150231 Move icon mappings from json to icon generator
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Yuriy Artamonov
1016fab2ac [images] IJPL-149620 ImageInfoIndex clinit requests GistManager instance
GitOrigin-RevId: 956f061f2ff35aec61a787bcfc39dd7366470848
2024-05-15 11:48:03 +00:00
Alexey Kudravtsev
ddf9b3da94 assertion: Language constructor must be non-public to avoid creating Language duplicates + test
GitOrigin-RevId: eb6954f444bf64bbc1d47b419af5e4db6fadf07e
2024-04-24 14:06:20 +00:00
Aleksey Pivovarov
a466f0b37f ui: clarify 'Set Background Image' dialog actions behavior
GitOrigin-RevId: 4aee8cf64ad61c5b2f5314192a354567c7307067
2024-03-25 15:19:32 +00:00
Aleksey Pivovarov
8650ff0b12 platform: don't load background image from disk for each IDE frame
GitOrigin-RevId: d72d866f20b9218e1f37425991b8b9eb97b75f9c
2024-03-25 15:19:32 +00:00
Vladimir Kharitonov
e8bab554e1 dispose JSQuery in JCefImageViewer properly
GitOrigin-RevId: a0974489809d90c3f64b87844b13ec7f1489d123
2024-03-04 20:04:11 +00:00
Vladimir Kharitonov
6a26cd0e03 fix deprecation JBCefJSQuery#create warning
GitOrigin-RevId: 2ab8a2f02a8b1734adca17e4bf5dbfa7eafbcd45
2024-03-04 17:36:37 +00:00
Pavel Porvatov
1acf5c4661 Removed unused BaseConfigurableWithChangeSupport
GitOrigin-RevId: fd95b8c08312b6bfc56d5dda9912ed12b0c66288
2024-02-22 20:42:23 +00:00
Gregory.Shrago
d3ea9624e3 avoid AnActionEvent.getRequiredData: platform
Prefer silent exit to throwing an exception.

GitOrigin-RevId: c7086904b7ce3f268379e928c95029ea9fe6aa5e
2024-02-16 03:08:39 +00:00
Elena Shaverdova
542296e2c8 ThumbnailSelectInTarget: IJPL-486 Some options in "Select In" are only available after indexing complete
GitOrigin-RevId: 961de932945f49afca843bd470bce47158e081dc
2024-02-14 22:37:13 +00:00
Aleksey Pivovarov
148ada8bb5 ui: suppress warning about missing Toolbar target component
The actions in the BackgroundImageDialog are not using DataContext.

GitOrigin-RevId: 7d31e1dff57ffe1c6bda7017917edffd5a15deb2
2024-01-22 13:57:35 +00:00
Gregory.Shrago
1c98591a6e fix redundant cast (zero tolerance inspection)
GitOrigin-RevId: 5d5282b9d1b4f20110525fb5283d99448d5b3b54
2024-01-09 20:38:15 +00:00
Sergei Tachenov
5934649315 IDEA-342398 Fix modality in ImageFileService
When invoked from a modal dialog, the previous implementation
would never be invoked until the dialog is closed. If the image editor
is in the dialog, it would never show an image.

This service was initially supposed to work in any modal context.
It's because it used to be completely synchronous code before,
so it's really supposed to be invoked as soon as possible,
just without blocking the EDT anymore.

GitOrigin-RevId: 778f870a70a6078fdab893b91e1ea8ab42265ee2
2024-01-08 17:46:29 +00:00
Gregory.Shrago
fb3b9adf12 temporary workaround for IDEA-341171
GitOrigin-RevId: eac268caeebac02bf887035cb40270d162c39f0e
2023-12-16 16:49:00 +00:00
Gregory.Shrago
cf58114100 cleanup yellow code in ThumbnailViewUI
GitOrigin-RevId: 7746d04f4a1be09ffde025bfadd9a0212613ad27
2023-12-16 16:48:58 +00:00
Gregory.Shrago
313ab8c245 IDEA-341102 Extract BGT data provider for ThumbnailViewUI
EA-991763 PE: DataValidators.reportPsiElementOnEdt

GitOrigin-RevId: 8c281e199301e35e749263d4e2aa8fa1e128d7ea
2023-12-16 16:48:56 +00:00
Gregory.Shrago
cc5beecbce reformat
GitOrigin-RevId: 9e3a941071cfbf0f86f36da4be4b7d8c333b3d17
2023-12-16 16:48:54 +00:00
Sergei Tachenov
6403613334 IDEA-337118 Convert SVG to PNG in background
The task is pretty isolated from everything, so no need
for a channel or a flow here, just launch these asynchronously
and let them complete whenever they will.

GitOrigin-RevId: 373390f44a386a1a36e746cac27141d11c432379
2023-11-29 18:17:44 +00:00
Vladimir Kharitonov
e47f632a73 [svg viewer] IDEA-336092 restrict JS in SVGs
GitOrigin-RevId: 2f2157d9e65cf330798da7b9f1e4fd90061e9098
2023-11-09 20:55:18 +00:00
Sergei Tachenov
4d2c38d9e7 IDEA-333549 Refresh VFS after ConvertSvgToPngAction
This is needed so the new file is picked up by the Project View.

GitOrigin-RevId: 7d2a62ede3167189bd70092902e0ce0ca87e3803
2023-10-31 23:59:58 +00:00
Vladimir Krivosheev
69fc441f6e IJPL-310 mark extensions as obsolete (part 11)
GitOrigin-RevId: ef915fa2bf11f9fbcdf9ebbf80bc553129314335
2023-10-29 20:09:28 +00:00
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00
Yann Cébron
5e41a5e41d [images] SvgParserDefinition: cleanup
GitOrigin-RevId: 98d250fcbcb1da584e223173bfc09ebc8b2f72ca
2023-10-19 13:08:05 +00:00