Commit Graph

4584 Commits

Author SHA1 Message Date
Alexey Belkov
ebe914e465 Apply "Java methods should be replaced with Kotlin analog" inspection on whole project
GitOrigin-RevId: 9863c1e384067b97b5015147589e409facd37549
2023-05-24 16:04:31 +00:00
Nikolay Chashnikov
a937ba693d [java] API cleanup: remove unused deprecated API (IDEA-312594)
GitOrigin-RevId: 885c1cb57291a0c99e9f911cb2d266ae8e7e0835
2023-05-15 13:58:12 +00:00
Egor Ushakov
c97a330593 IDEA-319871 Logging breakpoints make debugger evaluation hangs with "Collecting data..." - small fix for IJ-CR-107271
GitOrigin-RevId: 5ae6a7b7cd554ab5dc4579dff42e8d0f4acaca24
2023-05-11 08:56:52 +00:00
Egor Ushakov
a5ad1c6976 IDEA-319871 Logging breakpoints make debugger evaluation hangs with "Collecting data..."
GitOrigin-RevId: e6681be4ca3f1419f7d6614ec85ae0e8e9c099df
2023-05-09 22:36:44 +00:00
Gregory.Shrago
8ab7bc6ab2 typo fix choosen -> chosen 2
GitOrigin-RevId: 75bb18ca2301fa82b0566b114797b1ad35c37238
2023-05-08 20:29:45 +00:00
Tagir Valeev
498d3de463 Warnings fixed
GitOrigin-RevId: c776724abc32aec898940cedbc96e6bbd874289c
2023-05-05 19:45:47 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Vladimir Parfinenko
2937b1bbea [debugger] refactor Java Smart Step Into
MethodBytecodeUtil now provides information about bytecode offsets.
This simplifies searching and filtering of smart step targets.

Reviewed-by: Egor.Ushakov <egor.ushakov@jetbrains.com>

GitOrigin-RevId: 9222d99b3b536759392b84cdb99a316def3b8a7d
2023-05-04 16:44:42 +00:00
Dmitry Avdeev
467347ac02 IDEA-318720 T: WorkspaceFileIndexDataImpl.ensureIsUpToDate
more granular read actions

GitOrigin-RevId: 2e1ce8980f9cf4a1e08995213e914e4b9cf74031
2023-04-23 20:23:24 +00:00
Kate Botsman
0d321457d8 GTW-3271 Fix breakpoint editor layout
- Changes in GridLayoutManager converter
  - supported row span
  - fixed shouldFill method (check fill param instead of size policy)
  - set fill to row only if all element wants to fill (and there is at least one)
  - if column/row size wasn't set (there is no explicit elements in column/row) - use Fit size instead of Fill
  - Set size constraints from grid to elements, so they have expected preferred/min/max size
- Changes in other controls
  - track "enabled" property for combobox, radio button and text field
  - track "editable" and "text" properties for text field
  - support mouse clicks on JLabel
  - properly init BeStyleControl and BehaviourControl (BeControl attributes should be copied from initial control)
  - support text position in BeText and fix rich text updates
  - support preferred size in BeStyleControl 
- Add CropIconModel to ShellModel 
- Fix BreakpointPanel layout - some panels grew vertically when they should not, replaced "FILL_BOTH" with "FILL_HORIZONTAL"
- Move spacer from XLightBreakpointPropertiesPanel.form to upper level so it won't depend on another spacer
- Support different types of borders (titled, line, empty)

Merge-request: IJ-MR-106091
Merged-by: Kate Botsman <kate.botsman@jetbrains.com>

GitOrigin-RevId: f92bbf498d29aa3a49da80bdde837b44527a7bb4
2023-04-19 10:34:38 +00:00
Gregory.Shrago
af775bed22 employ known-issues category to silence most reported slow-ops 2
GitOrigin-RevId: 09872a7c457b34895ca20a5d7ea01c2959626708
2023-04-17 23:20:16 +00:00
Vladimir Parfinenko
4e4c43ae04 [debugger] fix duplication of outer parameters in lambdas, IDEA-318062
GitOrigin-RevId: e9a921711de41517437ccefb8e216af876100d3c
2023-04-17 11:55:40 +00:00
Daniil Ovchinnikov
6fe5c49599 deprecate com.intellij.reference.SoftReference constructors
GitOrigin-RevId: a723be59b812f71953e79879d7adf09d58a9e935
2023-04-15 00:04:29 +00:00
Zhanna Gorelova
6bb194f242 IJ-CR-104976 [reactor][debug] IDEA-275263: boolean instead of Boolean is used
GitOrigin-RevId: 98c71ad2ec59e4fa91fbaca12a3acf84558b6b4f
2023-04-13 10:46:51 +00:00
Vladimir Parfinenko
e452f4fc2f [debugger] reenable multithreaded unit test
Also make ResumeCommmand resume the given thread and not the current one.

GitOrigin-RevId: 4197c705c10a09726b1ecf3f805bebba127f8a41
2023-04-05 12:40:47 +00:00
Vladimir Parfinenko
9ebbfb0c44 [debugger] refactor SuspendManager.getPausedContexts
Suspend manager logically can have more than one paused contexts.
Technically this method was always used via cast to the only inheritor.

GitOrigin-RevId: 959d54e7fa29f631f7b17c43ea35a49ba1f4a5a0
2023-04-05 12:40:42 +00:00
Vladimir Parfinenko
195031facc [debugger] fix skipping suspend-thread breakpoints during stepping
It was a regression after skipping rework

GitOrigin-RevId: f59fdfa7eaed90a94da6d65f9d3acdc5965efda7
2023-04-05 10:16:55 +00:00
Zhanna Gorelova
cdab264467 [reactor][debug] IDEA-275263: separate method with applicable check depending on Project was added instead of getIsApplicableChecker overload
GitOrigin-RevId: 5021b666af07d706287c0f323caf2580e2beda8e
2023-03-31 17:35:45 +00:00
Zhanna Gorelova
81b693c4b9 [reactor][debug] IDEA-275263: Api method getIsApplicableChecker global change was reverted, now used only in ReactorExpressionRenderer
GitOrigin-RevId: 4877cfd15986906a8a115b3c10051131b84cadff
2023-03-31 13:45:03 +00:00
Zhanna Gorelova
fbe13f60ba IJ-CR-104976 [reactor][debug] IDEA-275263: Project now is propagated to Compound renderer during its creation
GitOrigin-RevId: b2ebc5f07d510643f4ced8c65cabbaab977b68bb
2023-03-30 17:38:04 +00:00
Egor Ushakov
eea1c6a766 code cleanup
GitOrigin-RevId: 5c176faaa50272133b68b4e40cfcdba69627bdeb
2023-03-27 14:36:05 +00:00
Vladimir Parfinenko
a519073b0a [debugger] notify about skipped breakpoints during stepping IDEA-169914
Also perform logging for such breakpoints if any

GitOrigin-RevId: 5da09fa62a9a63984b240a0c36c0f621fcf38d07
2023-03-20 18:20:39 +00:00
Egor Ushakov
91f5891939 debugger: avoid using the obsolete API
GitOrigin-RevId: b6eb61d2a4a0fa3451e34a9d36b6c05417719eb0
2023-03-17 12:56:11 +00:00
Alexey Kudravtsev
cbf060942c deprecate ObjectUtils.consumeIfNotNull, fix usages
GitOrigin-RevId: 576b7bbf18a6b1bc772c12dca24b82a4c8a5ad29
2023-03-13 17:41:58 +00:00
Alex Plate
1d8b7a26f7 [IDEA-314549] Refactoring UiNotifyConnector.Once to avoid constructors with side effects
GitOrigin-RevId: 98107154803a8ecf83ae880e3bf41f6c6130f6fc
2023-03-02 16:27:58 +00:00
Alex Plate
350d635ff3 Update remaining usages of TreeSpeedSearch
GitOrigin-RevId: 87636623fa98b57d1c90425537ed1be10cfac883
2023-03-01 19:28:32 +00:00
Eldar Abusalimov
484e6c21ad CPP-32316: XAttachDebuggerProvider: Make return type list covariant
Had to rewrite XLocalAttachProfilerProvider from Kotlin to Java to
avoid a resolution conflict in RbSpyLocalAttachProfilerProvider.

GitOrigin-RevId: 14dd124b9984c0a2ee41505b23be893f4e11e537
2023-03-01 16:52:46 +00:00
Vladimir Parfinenko
09f26681a9 Small typo
GitOrigin-RevId: 87ee6eb5650525be3a4da5ae080161dc2fbef5f2
2023-02-28 16:11:45 +00:00
Alexey Kudravtsev
3100c4c02e deprecate getOrCreate in favor of standard computeIfAbsent
GitOrigin-RevId: 62b6262fd095d78a933fcfd8bbba980be961e73f
2023-02-24 13:43:36 +00:00
Egor Ushakov
a814fc1fe2 EA-763645 - T: FileBasedIndexImpl.ensureUpToDate - fix for IJ-CR-101204
GitOrigin-RevId: 95fc5acf9e9db458b928f7c05276cc81148b2dd8
2023-02-24 12:36:00 +00:00
Egor Ushakov
dc59edbafe EA-658721 - T: DirectoryIndexImpl.getInfoForFile
GitOrigin-RevId: 0dd530c3229c7b54c8054470dd12403a8c064865
2023-02-22 19:56:29 +00:00
Egor Ushakov
a8b1fadc78 EA-793142 - NPE: ExceptionFilter.<init>
GitOrigin-RevId: 0e0e5ab62813875a74dec2b6aea0f6b89a8ea584
2023-02-22 17:24:08 +00:00
Alexey Kudravtsev
9f5b60b0f0 replace some usages of ContainerUtil.set() with immutable sets to get rid of unclear-semantic methods
GitOrigin-RevId: 3ba1266af01d64a228c10df59b18c4ac797c2a9b
2023-02-20 19:11:19 +00:00
Alexey Kudravtsev
b95c41986e replace some immutableSet() with more standard Set.of()
GitOrigin-RevId: 3efd3c74490ef85971909ff3461d0f6cf8746aa7
2023-02-20 02:44:57 +00:00
Alexey Kudravtsev
93b8841b03 fix typo
GitOrigin-RevId: 974ae2b912bee06489d21355045397a883c2e34b
2023-02-17 16:12:35 +00:00
Artemy Pestretsov
294181000b [dfa debugger] extract common presentation code to allow reuse in PHP dfa debugger implementation
related to WI-70670, review IJ-CR-102855

GitOrigin-RevId: 0d58dcc3e53f6d4955dcec4cec9630fb9a63bd5a
2023-02-15 13:24:27 +00:00
Nikolay Chashnikov
35bcdcd93b cleanup: get rid of usage of the deprecated Comparing::compare(boolean, boolean) method
The method from JDK is used instead.

GitOrigin-RevId: 4276d57c52e1a1b7685bb55f29f772a5f13a4f57
2023-02-13 17:16:01 +00:00
Tagir Valeev
0892646cb9 Enhanced switch used
GitOrigin-RevId: cf148ceb6c09ad0a00d05475b55113ab36c7a0ac
2023-02-09 11:21:32 +00:00
Roman Shevchenko
4f47a99656 [project] replacing StreamUtil#readBytes usages with InputStream#readAllBytes
GitOrigin-RevId: 13f2bea15c2dd3750995ea69e7591e2b08cfb03b
2023-02-09 09:47:05 +00:00
Alexey Kudravtsev
77dc8d93ab codeinsight: convert some private/internal classes to record to simplify code
GitOrigin-RevId: 1820f00e72361868b6748039011c39598a82655b
2023-02-07 19:32:27 +00:00
Leonid Shalupov
e2ae85e9bc debugger-agent: resolve debugger-agent for local debugging from module library
do not depend on IDEA downloading the library automatically,
it could be missing upon starting 'IDEA' run configuration
so download it manually

as additional bonus, this does not depend on .m2 location and reuses exiting download and caching code

GitOrigin-RevId: fd58bed776d685c4247713f22630cf22069f2723
2023-02-07 17:14:57 +00:00
Tagir Valeev
a5c14c18dc [java-debugger] Use ClassUtils.getContainingClass
GitOrigin-RevId: 307af59b4dc16a83ca73bd91601e51d7d60e092e
2023-02-07 12:02:13 +00:00
Roland Illig
51433a2080 Fix typo 'speedup' when used as a verb
GitOrigin-RevId: 55935e091477ffbb538e9ea45fbec06b607d2f4e
2023-02-07 11:23:27 +00:00
Nikolay Chashnikov
c2540cd10a API: mark for removal APIs which were deprecated and have no external and internal usages (IDEA-305637)
GitOrigin-RevId: 8f4ee08f99f30456e0c0105ae4f28dc7cd8ad9b0
2023-02-06 19:59:10 +00:00
Egor Ushakov
04ed8dfddf IDEA-311960 Old reset frame icon in the context menu
GitOrigin-RevId: 99a5b7c8b3c22bcc06e74d9e00f1b2c834f15bba
2023-02-01 17:42:30 +00:00
Tagir Valeev
e9832acb26 [java] Use pattern variables; other minor cleanup
GitOrigin-RevId: e2345bd54d92f6676c6fbc55955e85cbdc5c2793
2023-02-01 17:09:26 +00:00
Tagir Valeev
9345d35724 [java-dfa] Remove new DfaValue[0] allocations
GitOrigin-RevId: bd7807e2d1cc8c69a388d99dba2bc56663663d1e
2023-01-31 16:59:25 +00:00
Leonid Shalupov
e7fed010db debugger-agent: add comments about how to detect development environment
ref IJ-CR-101672 debugger-agent: assert that debugger agent is available in IDEA distribution and was put in the right place

GitOrigin-RevId: b11ab8d488b17877dbfc012300ccb876c7de2cb0
2023-01-30 19:13:26 +00:00
Nikolay Chashnikov
8ce3039acf cleanup: get rid of usages of deprecated constants from PsiType (IDEA-309438)
GitOrigin-RevId: 3373eb8b47af51b9f6dd71e565f773d69e8a3218
2023-01-26 16:11:57 +00:00
Alexey Kudravtsev
984cff47dd replace some newArrayList() usages with immutable List
GitOrigin-RevId: 04be2a68211a062b51ecc32a55cb4ef3576b06be
2023-01-24 15:13:06 +00:00