Commit Graph

4549 Commits

Author SHA1 Message Date
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
Roland Illig
7d39021c90 [debugger] Use concrete throwable types in ReloadClassesWorker
GitOrigin-RevId: e685d5288b480f993c3d1f335015b8a4fc065b91
2023-01-20 16:34:58 +00:00
Roland Illig
0921ca9951 [debugger] Extract mayCancel method in ReloadClassesWorker
GitOrigin-RevId: 02da81ea8172e75ae1d03c8a5be4c9bd308f43f0
2023-01-20 16:34:56 +00:00
Roland Illig
55bbaf3340 [debugger] Sort methods in ReloadClassesWorker
GitOrigin-RevId: d9f4d4b01e43d0bbcb1c2293f83ce6ec31cde616
2023-01-20 16:34:55 +00:00
Roland Illig
457423a841 [debugger] Ensure non-null arguments and fields in ReloadClassesWorker
GitOrigin-RevId: a2374e8c4440eb29ca3ec5d3dffba01043b7c0fb
2023-01-20 16:34:54 +00:00
Egor Ushakov
725e28bc7f [debugger] log error if agent jar is not found
GitOrigin-RevId: bf3698cb2cfa522c1ba9821384b3377e1a1c177a
2023-01-19 19:58:35 +00:00
Tagir Valeev
fe137a269a Fix warnings
GitOrigin-RevId: 4806406a031a328a116204b94313697cfd00aa2f
2023-01-19 11:38:10 +00:00
Leonid Shalupov
8998e65c60 debugger-agent: resolve debugger-agent for local debugging from module library
removes DebuggerAgentDownloader and replaces it with existing JPS libraries support

GitOrigin-RevId: 800dcf47d371e043d4d735f9642b0ae3265e8d82
2023-01-18 19:53:54 +00:00
Leonid Shalupov
d1adf7d74a debugger-agent: assert that debugger agent is available in IDEA distribution and was put in the right place
GitOrigin-RevId: 593d7c2ca1954fd45e304c9e4cb2f56c88458b65
2023-01-18 19:53:53 +00:00
Nikolay Chashnikov
dce2adeea1 cleanup: remove redundant '@author' tags from javadoc comments - 22
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 1e27fae6caa509913af40df9c827a890719d53e8
2023-01-18 17:02:37 +00:00
Lev Serebryakov
8966d974e5 EA-778825: Better fix. Pop read action in call stack, leave generic JBViewport "clean".
GitOrigin-RevId: 5fa1ca5bb7ab543b6684141e37053166a83454c9
2023-01-18 14:12:32 +00:00
Nikolay Chashnikov
a0db56f0cf [java] API cleanup: remove unused deprecated API (IDEA-305637)
GitOrigin-RevId: 3aa124f6e8794b49c3e0e7275befc29e7bf6fa79
2023-01-18 13:27:12 +00:00
Alexandr Suhinin
42746dc58f cleanup: replace all methods identical to super with delegate
batch fix for inspection: method is identical to its super method

GitOrigin-RevId: bb9fbb32ba5fe09613c28e98eb3dad540d6322f1
2023-01-13 09:57:03 +00:00
Egor Ushakov
c9e0d356b5 EA-779948 - ISFE: JDWPException.toJDIException
GitOrigin-RevId: 26073f990a6eb4f115a5485112f68fab28e5b2ad
2023-01-12 18:49:19 +00:00
Roland Illig
1cfe8e4f70 Extend the Javadoc of HotSwapUIImpl
GitOrigin-RevId: 7c9bae75bf26d659125b3737b05062de8b36ffd4
2023-01-12 12:18:21 +00:00
Egor Ushakov
3e85572e97 [debugger] fixed agent location
GitOrigin-RevId: a9c5a83b96c7554e27c4c45b2bd3d1242e33c974
2023-01-11 21:56:23 +00:00
Egor Ushakov
cd92c87a18 EA-763645 - T: FileBasedIndexImpl.ensureUpToDate
GitOrigin-RevId: 35d143bb5ab6eb0c10f9a01e8d20e2065f991b4e
2023-01-11 20:58:26 +00:00
Daniil Ovchinnikov
578eaaf60e rename library kotlin-stdlib-jdk8 -> kotlin-stdlib
GitOrigin-RevId: cddf45ccfd5563d3fe209bea62a1c37c94f44ff9
2023-01-10 12:22:34 +00:00
Roland Illig
6494bfed85 Cleanup: move 'throw' out of method name in EvaluatorBuilderImpl
This avoids a few unreachable 'return' statements.

GitOrigin-RevId: ec16207aeb836e8bd392b158e19279d591ec6414
2023-01-09 10:57:36 +00:00
Roland Illig
f7c13e60bc Format Javadoc in intellij.java.debugger.impl
GitOrigin-RevId: 581030e4b48b481b5c0bde4709f78ebd3b25947b
2023-01-09 10:57:35 +00:00
Roland Illig
24bd6f4039 Fix Javadoc in EvaluatorBuilderImpl
GitOrigin-RevId: 97c25d961c2989e87c15c51a02d93bcd96cba658
2023-01-09 10:57:33 +00:00
Roland Illig
cafcd35bfc Cleanup: add braces around multi-line statements
GitOrigin-RevId: 5752b309c85f1cb1b4fa507ce15bccdc49c08c7a
2023-01-09 10:57:31 +00:00
Roland Illig
5e61b4ed59 Format whitespace in intellij.java.debugger.impl
GitOrigin-RevId: 3b619aad57592432c9a2cf0f50865adf3ae822bd
2023-01-09 10:57:30 +00:00
Roland Illig
d9c5709fd8 Add space after 'if' in intellij.java.debugger.impl
GitOrigin-RevId: 5d843ec7c72f35f2bf11b14b4fef204e394a212b
2023-01-09 10:57:28 +00:00
Roland Illig
2f280df7ca Add space before '{' in intellij.java.debugger.impl
GitOrigin-RevId: c9dc94f7467dad69240f0517c4a69f8fc5b2e770
2023-01-09 10:57:27 +00:00
Roland Illig
0283f2edb7 Format code in intellij.java.debugger.impl
GitOrigin-RevId: 96be27e574d532d7b6095cea99caf3f1c7e4337a
2023-01-09 10:57:25 +00:00
Roland Illig
b61b13ab10 Cleanup: eliminate duplicate code in ReloadClassesWorker
GitOrigin-RevId: a86c11624054a308556d237c4fb029f94bdfc9f3
2023-01-09 10:57:23 +00:00
Andrey Cherkasov
f884fcde64 [java-highlighting] foreach patterns: applicability and exhaustiveness
GitOrigin-RevId: f136201891af221d3ffa9065363da9894bf56e55
2023-01-06 19:26:51 +00:00
Roland Illig
2cc1d65b6e Cleanup: optimize imports in intellij.java.debugger.impl
GitOrigin-RevId: b3c82e5da0ad9ecd779a9fe575fc2265472d6b17
2023-01-02 12:58:54 +00:00
Roland Illig
1e10e0197b Fix typo in Javadoc of JavaLineBreakpointType
GitOrigin-RevId: 42b79c1942a59ab3b1b9dd92efa6436deab9d449
2023-01-02 12:58:52 +00:00
Vladimir Krivosheev
57764d700b mark classes final
GitOrigin-RevId: 6414b6f2119c82c7567987dd30b35cab5491d9e2
2022-12-30 06:58:01 +00:00
Vladimir Krivosheev
1d7ab0ad7e use java or fastutil linkedhashmap
GitOrigin-RevId: e3406cb525983cba8952b7541c57e278e58ca7b5
2022-12-29 11:24:52 +00:00
Leonid Shalupov
3501334339 IDEA-308796 Use externally downloaded debugger-agent
GitOrigin-RevId: 26fe6a3cebe0e340133fbc7b0680a4fed604fc43
2022-12-20 23:12:13 +00:00
Leonid Shalupov
3c2df59e17 IDEA-308796 remove debugger-agent sources
moving to https://github.com/JetBrains/debugger-agent

GitOrigin-RevId: f1eb502f58501fce9935d6711800d111f49a5f25
2022-12-20 23:12:10 +00:00
Roland Illig
6c6f70e5b8 Cleanup: merge duplicate code for converting file paths to class names
GitOrigin-RevId: 0c4443edac46b970616bf074bcff89b04ef19cd7
2022-12-20 11:49:27 +00:00
Roland Illig
de6b2d2bdd Cleanup: in HotSwapUIImpl, make the main method call more visible
GitOrigin-RevId: 97d0648eb7a5df2bbf0879f7d2ab76ba5b7856b2
2022-12-20 11:49:23 +00:00