Commit Graph

232 Commits

Author SHA1 Message Date
Tagir Valeev
60b966275a [java-impl] i18n
GitOrigin-RevId: 3bd552a48ddb609adb7763e4e7445fd1c7281e9b
2020-08-19 18:27:30 +00:00
Tagir Valeev
729152b3a4 [i18n] Annotations, literals extracted, warnings fixed
GitOrigin-RevId: e13cca2998c559c6e2b193c06a8d8ecf85a33815
2020-08-03 06:12:24 +00:00
Vladimir Krivosheev
3d280e4fb2 cleanup (final)
GitOrigin-RevId: 446f1aef2550b74b13c788fceaa36967a6f0b9c9
2020-07-15 17:06:10 +00:00
Vladimir Krivosheev
d4e9b09e26 cleanup (final)
GitOrigin-RevId: 93607e195763f2acf29ee0d7a280d7e07e8d2f14
2020-06-26 12:21:17 +03:00
Vladimir Krivosheev
6f54662e34 prefer JDK collections
GitOrigin-RevId: 30a307a67b0165720b576a739885b51a00292bd5
2020-06-24 10:16:52 +03:00
Vladimir Lagunov
6b3fdac49b IDEA-CR-63268: New Targets API implementation for Java.
(cherry picked from commit 12379ddf718ebe8a81b6d084ae9c36443b2022a1)

GitOrigin-RevId: d702ff900237123145a85bff9377a243c449d03f
2020-06-17 08:41:56 +03:00
Vladimir Krivosheev
f2a72b34fa do not export trove from util module
GitOrigin-RevId: 666bf5e1fc45045bb9b1c391b7ec5a2ac4b65dde
2020-05-16 16:34:43 +00:00
Tagir Valeev
37de5ef597 IDEA-204608 Integrate production stacktraces into static nullability analysis improvement
- Support JetBrains NotNull instrumented parameters
- Better caret positioning

GitOrigin-RevId: f867eb5599faa2bc496fa30eae9402597043c268
2020-05-08 08:53:14 +00:00
Tagir Valeev
7b8ff7ea15 AdvancedExceptionFilter: avoid resolve in dumb mode
Fixes EA-231343 - INRE: IndexNotReadyException.create

GitOrigin-RevId: 8f340948e94d8864987477ca56a9fdc91e498a37
2020-04-22 04:17:45 +00:00
Tagir Valeev
975f205562 Use Result constructor to automatically create grayed hyperlink
GitOrigin-RevId: a12fe2806b238e0499fde27809441781d86330ce
2020-04-20 08:03:39 +00:00
Tagir Valeev
8d97d3b5f0 NavigateToExceptionClassFilter: highlight short class name only (IDEA-237479)
GitOrigin-RevId: ee5c0eff613fe8172129f1a22a6cd872cc5ab7aa
2020-04-20 08:03:39 +00:00
Tagir Valeev
1bd4963517 Unifying code for exception navigation and breakpoint creation
Fixes IDEA-237888 Exceptions incorrectly detected for unrelated input in docker log console

AdvancedExceptionFilter extracted because Kotlin plugin creates ExceptionFilter internally and performs double work for some reason. This is not that visible for normal links as intersecting links are ignored, but inlays like 'Create breakpoint' get duplicated

GitOrigin-RevId: 892d2e7ec2d9152c93d8f328b655106789b7082a
2020-04-17 06:14:17 +00:00
Tagir Valeev
791b11ba67 IDEA-237479 Make exceptions in stacktraces navigatable
GitOrigin-RevId: 5f89b7d4f538f286fcb06b334965653325a1f5db
2020-04-15 09:02:00 +00:00
Tagir Valeev
698439f7b0 IDEA-227220 Parse Java 14 helpful NPEs to point exactly at the dereferenced value
(not parsing 'because' clause now, so precision could be improved in the future, if requested)

GitOrigin-RevId: 6235cafaae2a20fdce5090756b30b30b48a3079c
2020-04-14 06:08:43 +00:00
Alexander Zolotov
1cc05922d5 Do not report error while re-running local environment
GitOrigin-RevId: 41476ea212a51af553c8ff7b5047ff2c94bfe5ee
2020-04-06 10:32:19 +00:00
Alexander Zolotov
954d63c3fb Fix rerun action
- it should drop previous environment if command line wasn't filled
- log error only in the new run.targets mode

GitOrigin-RevId: 5e18543bcca52bd91781824b16ee2d9c2d9ee3d0
2020-04-06 10:08:07 +00:00
Alexander Zolotov
93ed348249 [run.targets] prepare java parameter under readLock
Many extensions expect that the will run on EDT. It's not true anymore, so read lock is required

GitOrigin-RevId: 9fe8b3db2110b25173b82883ef0d2a6cebc78b3e
2020-04-04 12:02:18 +00:00
Alexander Zolotov
d04cf6cd88 [run.targets] fill request before running the environment preparation
- some targets (SSH) can be prepared only when request is fulfilled
- different runs shouldn't share prepared environment and requests (it could happen on re-run action)

GitOrigin-RevId: 5b0589904bbfaf56e9edbc588045d7704f0d07d7
2020-04-04 12:02:18 +00:00
Tagir Valeev
9f7c53f5ee IDEA-236668 Position cursor to ClassCastException cause
Also, refine the AIOOBE position by known index.

GitOrigin-RevId: 379b348517b4c59a664fe0680873118214b371da
2020-04-03 11:11:36 +00:00
Tagir Valeev
6254cd93bf ExceptionFilter/ExceptionWorker: use SyntaxTraverser instead of PsiElementFilter
GitOrigin-RevId: 75cb96222cc6fdb24a60c28de31cedde359552c0
2020-03-22 07:39:50 +00:00
Vladimir Krivosheev
8ac28ebcbd make ExecutionException as checked exception again
GitOrigin-RevId: 1ad47b0110c70141863be531de0ef93e17020188
2020-02-10 11:03:00 +00:00
Vladimir Krivosheev
744eddf6e1 IDEA-CR-57782 IDEA-231585 Application servers could not be started (fix NPE)
GitOrigin-RevId: 89632b62d34afe2a50d891bc35c85a9e11a56e74
2020-01-28 13:38:07 +00:00
Vladimir Krivosheev
a207fcc0c8 IDEA-231585 Application servers could not be started
GitOrigin-RevId: 6c4aa875d4de97a602d47a98fca305de1d9ac428
2020-01-28 13:13:23 +00:00
Vladimir Krivosheev
0d0d7a725f simplify — move callback to execution environment
GitOrigin-RevId: 3f0b92a4f5582778a8b3c923d35bf4a325771bc8
2020-01-24 20:01:27 +00:00
Vladimir Krivosheev
a085f12948 deprecate JavaPatchableProgramRunner
GitOrigin-RevId: 85eae91fcea18ff9718da291334ca6eee1a9eb58
2020-01-24 18:11:16 +00:00
Vladimir Krivosheev
94e4668701 cleanup
GitOrigin-RevId: fd3998668f53e1fa601265388ca84b6aabd3c62a
2020-01-24 18:11:16 +00:00
Vladimir Krivosheev
929c6e5c3b get rid of top-level startRunProfile
GitOrigin-RevId: d6be3f2801274bd5c407ac927cc78ee2aeb21954
2020-01-22 19:36:19 +00:00
Vladimir Krivosheev
ba98224912 remove author (only some, where it is ok)
GitOrigin-RevId: 7dbab7524fe4efc5d17a04b95dee88b6f80fbe8d
2020-01-21 17:36:52 +00:00
Alexander Zolotov
a3b0e5f837 Rename local variables
GitOrigin-RevId: 8fda7ef4e992b7a789782f12ae72fcea88643546
2019-12-30 14:38:33 +00:00
Alexander Zolotov
15dd2554a7 Runtime environments: make TargetedCommandLine immutable
GitOrigin-RevId: 8d21e55dc0dbdfd36175ec106b43dc8904b08199
2019-12-30 11:35:31 +00:00
Alexander Zolotov
e9c03666e3 Runtime environments: support COMMAND_LINE_CONTENT functionality
GitOrigin-RevId: bbd77915f53e919138a9e24b862f3c83aeed6c51
2019-12-30 11:35:31 +00:00
Alexander Zolotov
7f7edfb8ad Runtime environments: more renames
GitOrigin-RevId: 8675a98b72a947dc428dbc24271a9199e9628279
2019-12-30 11:35:31 +00:00
Alexander Zolotov
19fe6bc881 Runtime environments: cleanup, documentation
GitOrigin-RevId: 87efa46997384492b947f24426dd389ddd574f23
2019-12-30 11:35:31 +00:00
Alexander Zolotov
720b47e006 Runtime environments: use path to java from language runtime configuration
GitOrigin-RevId: 9a4909768b7e9974ebc530007963cd0ee178428c
2019-12-30 11:35:31 +00:00
Alexander Zolotov
ca8418f14d Runtime environments: reimplement java command line state with new command line
GitOrigin-RevId: 04495b69288d501ed1f1fac023dac8f56a7b375e
2019-12-30 11:35:31 +00:00
Alexander Zolotov
cd76399059 Runtime environments: prepare java parameters to create new command line
GitOrigin-RevId: a304a853bd1d223c5962610073f276d5b150c027
2019-12-30 11:35:31 +00:00
Vladimir Krivosheev
a1d2678623 simplify — startRunProfile doesn't use state
GitOrigin-RevId: 79eb34da3f952bf674e79a4a232488b824bac40c
2019-12-18 11:08:59 +00:00
Vladimir Krivosheev
e6c76011b3 simplify BaseProgramRunner - part 3
GitOrigin-RevId: 25b4d2bb8cfbabf5b32d0184ad538dfdc7cb450b
2019-12-17 16:40:26 +00:00
Vladimir Krivosheev
30a3d2dcae Rename .java to .kt
GitOrigin-RevId: 274b8de43185d21d1178f212a48a50bd51716483
2019-12-17 16:40:26 +00:00
Vladimir Krivosheev
edb78e38fa JavaPatchableProgramRunner as async runner
GitOrigin-RevId: 961e3b53baa6f6fb565254e65155f39368bdce6a
2019-12-17 09:02:33 +00:00
Vladimir Krivosheev
9f07af0dd8 cleanup
GitOrigin-RevId: a246dc2aaa0c8ec1126ca9c8b0d923b85cdce0b3
2019-12-17 08:34:19 +00:00
Alexander Zolotov
89647051ea Rename debuggerPort to debuggerAddress as it's not a port in case of shared-memory debugging process
GitOrigin-RevId: 8df123004efd8f013500385aea92afc2628b12a9
2019-11-19 16:34:37 +00:00
Tagir Valeev
d174af9727 Purity annotation; cosmetics
GitOrigin-RevId: 116da54f77a620339009e1e0bb51c941255eb523
2019-11-08 09:06:35 +00:00
Alexander Zolotov
786016fe4d Java: split debugger and applications host:port pair
GitOrigin-RevId: f2a6277c81a7f4940b1a7c3421a95b721fcfcdb2
2019-10-14 14:32:43 +00:00
Sergey Simonchik
c931bdc268 provide a way to guarantee stdout/stderr messages ordering (IDEA-70016, WEB-23329)
Introduce "run.processes.with.redirectedErrorStream" registry key to optionally merge stderr and stdout streams of spawned processes. As a downside, it makes stderr and stdout indistinguable for IDE, so they look the same in console.

GitOrigin-RevId: f208afb1c9f2689c6eafbbfd1a5e42269d4bc11f
2019-10-10 17:02:39 +00:00
Vladimir Krivosheev
3f00ff1321 force safe iteration of extensions
GitOrigin-RevId: af4486829708233ded2a61d6cfc48bcde85e794f
2019-09-18 17:42:12 +00:00
Roman Shevchenko
fb6dc94e3e Cleanup (deprecated API; typos; formatting)
GitOrigin-RevId: 3a6f460ba5163f9d4049c47daa238ba7aefc0762
2019-09-17 20:32:28 +00:00
Alexey Kudravtsev
66807cc33a followup to IDEA-CR-47760: do not test FilterMixin for dumbness (it will never be); instead, check for dumb inside read action whenever it really needed in the filter implementation
GitOrigin-RevId: 3fee3dd464a1ed6ada95ff903791a1a4cc4ed9bc
2019-09-16 15:04:12 +00:00
Roman Shevchenko
f03ca2caba Cleanup (deprecated API)
GitOrigin-RevId: 71446641e262a5d79ed77457ef4aafd1d2bf7d75
2019-09-11 21:14:38 +00:00
Vladimir Krivosheev
4796129014 IDEA-198276 Registry returns default values (not the user ones) at early stages of application loading
GitOrigin-RevId: 77d213e8972ae770e8580a9a2cee4b643e3d1dc8
2019-08-02 11:03:22 +03:00