Commit Graph
285226 Commits
Author SHA1 Message Date
Tagir Valeev 55ad5be04b Do not process unknown tokens when simplifying the polyadic expression
Fixes IDEA-246008 "Constant condition" Inspection quick fix removes boolean value from string concatenation when between two values

GitOrigin-RevId: 635e6b5f0b0a102d9c1ddecbbf54315b9b52f2dd
2020-07-20 10:23:20 +00:00
Eugene Zhuravlev bd6468726d instead of filtering user-specified path options, issue a 'possible conflict' warning and apply the option (IDEA-245707)
GitOrigin-RevId: bc9439247e1d5f02201c9ff631b135bba378b333
2020-07-20 10:11:15 +00:00
Tagir Valeev 7beb9b4cd1 TestOnlyInspection: support org.jetbrains.annotations.VisibleForTesting
GitOrigin-RevId: 8b515a6d3134f6cd2474516114772e15239b5439
2020-07-20 09:22:15 +00:00
Aleksey Pivovarov 96b797c7cf vcs: i18n - do not use dynamic properties names
GitOrigin-RevId: 700bc3cab99602d11b1c46a2207500ddd5bd6678
2020-07-20 09:09:42 +00:00
Aleksey Pivovarov 85b66724b8 vcs: i18n - unify messages
GitOrigin-RevId: 60c6ecea3cfc94e4323246c1038a00f629ed4b09
2020-07-20 09:09:41 +00:00
Aleksey Pivovarov f4726f3b9d vcs: i18n - remove unused messages
GitOrigin-RevId: 39adb899cbc015ccb5d58ed19ea88a9166ddaa28
2020-07-20 09:09:40 +00:00
Aleksey Pivovarov 2530d4cab1 git: i18n - remove trailing space
GitOrigin-RevId: 8d7579218624c884de2ed60d393787517ba0c989
2020-07-20 09:09:39 +00:00
Aleksey Pivovarov 6f399ef75e git: i18n - remove unused messages
GitOrigin-RevId: 962f779deb6af7375fb0fc589ddfc9e83981b7d4
2020-07-20 09:09:39 +00:00
Aleksey Pivovarov 61eabc6158 vcs: i18n - fix typo in message id
GitOrigin-RevId: 13d61d8d28ef3cef47bea1c7192e3d8a4f9b3601
2020-07-20 09:09:38 +00:00
Aleksey Pivovarov 0c4f07ad5d github: i18n - remove unused messages
GitOrigin-RevId: 11e8101a708c4c7bb8c2d7f3cdfaf756362f1578
2020-07-20 09:09:37 +00:00
Aleksey Pivovarov 83acadfd94 vcs: i18n - remove unused messages
GitOrigin-RevId: cef35664afb7bb0ba2af2ff4811a0e5f44a75080
2020-07-20 09:09:36 +00:00
Aleksey Pivovarov a2703b2930 vcs: i18n - remove trailing space
GitOrigin-RevId: ea6de49ca214d7b074901c8987f3c3d62977f68a
2020-07-20 09:09:36 +00:00
Aleksey Pivovarov 2f9c2f385c vcs: i18n - remove unused messages
GitOrigin-RevId: 126f278cc00b143308536744b37d6b3d6214ddee
2020-07-20 09:09:35 +00:00
Aleksey Pivovarov 7d9a17e78a diff: i18n - remove trailing space
GitOrigin-RevId: 5a93a35a7a27066a30f7b1b869aadfd4553faa0f
2020-07-20 09:09:34 +00:00
Aleksey Pivovarov a5f4b47c12 diff: i18n - remove unused messages
GitOrigin-RevId: 8487db9d2d759c1f9b62d4519734042d217e0d17
2020-07-20 09:09:33 +00:00
Aleksey Pivovarov 5f1521500e diff: i18n
GitOrigin-RevId: 012e721b496efb5f0f130f633ab529a196767f9b
2020-07-20 09:09:33 +00:00
Mikhail Mazurkevich d5d5a61fd8 [jps cache] Extract property names to the constants
GitOrigin-RevId: 319983b2f679578e784b2f3982ae44d75444417c
2020-07-20 08:55:37 +00:00
Tagir Valeev 9167f97459 Nls annotations; warnings fixed
GitOrigin-RevId: 708c9e44fde05c887bd52317a5eff84f8a91ceef
2020-07-20 08:34:20 +00:00
Tagir Valeev a4905164a8 Handle ArrayIndexOutOfBoundsException if we are always out of bounds.
Fixes IDEA-246054 Incorrect condition is always true due to ignored ArrayIndexOutOfBounds catch

GitOrigin-RevId: 4d783f58e587e9cede2e63813583baaec5ece3bd
2020-07-20 08:34:18 +00:00
Felix Popov 08546fe04a [clion] lldb dependencies: sync to teamcity
GitOrigin-RevId: ec530a3ef8e49b87940e6a78302305a41f39c0f6
2020-07-20 08:22:51 +00:00
Vladimir Krivosheev 89f6f95f38 IDEA-246164 Loading components takes lots of time, sometimes hangs forever
GitOrigin-RevId: 63ba3f31f512878d96ffa2fe9fce510fb53a0099
2020-07-20 07:18:31 +00:00
Anna Kozlova 9a01d5e505 java shebang support: remove custom file type detection as it is not required due to hashbang tag in file type decl
GitOrigin-RevId: c3e7ac298cf16209a234b13b7b3e4177423d3bb1
2020-07-20 07:11:19 +00:00
Anna Kozlova 758b2c73a5 initial java shebang support (IDEA-216686)
GitOrigin-RevId: ff5a79968d2d533ecc143fa4fe08907f84fe5c5c
2020-07-20 06:46:40 +00:00
Anna Kozlova c036f56680 java inline method: preserve comments around (IDEA-244603)
GitOrigin-RevId: 84a0f2b4524f17fdd8a11dd65f2b2815a01f1827
2020-07-20 05:41:53 +00:00
Tagir Valeev 33706088d1 I18nInspection: serialization fixed
GitOrigin-RevId: 620d3c9a24d1b317fc0d002eeee134005507afd7
2020-07-20 05:18:10 +00:00
Tagir Valeev 47b9916057 Surround with try-catch: disable in resources
There's another fix 'Add catch to try' and this is most likely what people want. Having too many fixes is confusing.

GitOrigin-RevId: c6c03bf52a9b59a14e7e8025e0fa525de7872630
2020-07-20 05:06:04 +00:00
Tagir Valeev f801cdb18f Do not split try when expression is in the first resource without catch/finally
It's unnecessary and otherwise try-block is automatically unwrapped
(see com.intellij.psi.impl.source.tree.java.PsiTryStatementImpl.deleteChildInternal) causing EA-235365 - PIEAE: LazyParseablePsiElement.getContainingFile

GitOrigin-RevId: 4ea3e54f8ea27854e23537a8de22f2923feaf842
2020-07-20 05:04:11 +00:00
Tagir Valeev 773d84e8a3 JavaDoc added
GitOrigin-RevId: 09b7651c9538e026216ec2341ca26af994a8368e
2020-07-20 03:58:59 +00:00
Tagir Valeev 571f4a8192 Add capture point for ForkJoinTask
GitOrigin-RevId: 0cfa9103cf319f2d6a324ef1b931122e65755540
2020-07-20 02:08:11 +00:00
Tagir Valeev 7a655affe6 Report unannotated strings passed to @Nls
Part of IDEA-246014 Enhance hardcoded strings inspection

GitOrigin-RevId: b6922daf5e67b5bd30cd938b3fbf5cd296f01347
2020-07-20 02:08:10 +00:00
Vladislav Beskrovny d3b6351999 Improve update component
1. Don't make the EP disposable
2. Single focus event handler for all editors
3. Check if update is required before spawning
 a background task. Hence,  don't spawn a
 background task on each focusGained or
 editorCreated event

GitOrigin-RevId: f213d2ded31cf475428233a118e13505b38debe0
2020-07-19 20:28:57 +00:00
Dmitry Avdeev 7364156a48 IDEA-245875 [new run config UI] Option tags are confusing to users
GitOrigin-RevId: a936f4b7b79e1d9c21e11ff4997cb75d0a971e14
2020-07-19 20:27:25 +00:00
Sergey Simonchik d914e2c229 python: merge error and output process streams if run.processes.with.redirectedErrorStream is checked (PY-32776)
GitOrigin-RevId: 431244d2173860a563bb5211eaed86d6a4fca6cb
2020-07-19 20:05:46 +00:00
Konstantin Bulenkov 569ec8d5df Fix disabled slider thumb border color #1376
GitOrigin-RevId: 36a6c112bdf4a1886eb01c8a1246c01c1384c8a4
2020-07-19 19:36:48 +00:00
Vladimir Krivosheev ba28406f5d IDEA-CR-65029 Use Path in TextPatchBuilder
GitOrigin-RevId: fe48f06e359209923887d9dcd1b1b3621f5d7395
2020-07-19 18:56:50 +00:00
Vladimir Krivosheev 56bf94cd4c IDEA-246092 com.intellij.configurationScript plugin can't be load due to IndexOutOfBoundsException
GitOrigin-RevId: 0cf154e57fd918d3aec21edef855d9e7a19fe372
2020-07-19 18:03:57 +00:00
Vassiliy.Kudryashov a3b823306d Fix broken tests
GitOrigin-RevId: 7e8dddddca6534399f491f86232d1196ab3b5d4d
2020-07-19 16:27:53 +00:00
Vladimir Krivosheev a2b92e8c68 IDEA-CR-65029 consistent mapPatchesToNewBase siganture (Path for both old and news bases)
GitOrigin-RevId: 2f4bb66fd12f094fae49ea12883dc595c4f8edb9
2020-07-19 15:25:51 +00:00
Vladimir Krivosheev 55cfa89a49 fix assert if CompilerReferenceService is not enabled
GitOrigin-RevId: fd2817b301958615f93a6d296ff91c7f53adf51d
2020-07-19 14:47:32 +00:00
Vladimir Krivosheev 64cd9ba1a6 IDEA-CR-65029 do not use deprecated project.getBaseDir in PatchWriter
GitOrigin-RevId: c94177ed13b9f3439ac877a843f8e2f1d9a98797
2020-07-19 13:36:10 +00:00
Vladimir Krivosheev 14de351112 DialogSaver - accept Path in addition to VirtualFile
GitOrigin-RevId: 399d7997fee98e76062142b2984e1b3e963d84e2
2020-07-19 13:36:09 +00:00
Vladimir Krivosheev f20c5ed8e4 cleanup
GitOrigin-RevId: 55be8370987994875352c958a79360fdfc0f9825
2020-07-19 13:36:08 +00:00
Vassiliy.Kudryashov 64c2d7e313 Fix rollover state for customized toolbars
GitOrigin-RevId: 3ef906d9b52716480819fb0171c4bd7de37b8567
2020-07-19 10:41:26 +00:00
Vladimir.Petrenko 308a4192ca [large-file] adapt encoding widget for light edit mode
GitOrigin-RevId: fc332a26c43efd2487bfa3552491a0f9f2fa2f67
2020-07-19 10:38:51 +00:00
Konstantin Bulenkov 28725f6639 fix NPE
GitOrigin-RevId: 7d80460b3a93df0d05601336bb96650d4bdef15a
2020-07-18 23:45:19 +00:00
Konstantin Nisht b5e0fc29cb [groovy] Check that desired descriptor is really presented in dataflow
Due to new recursive behavior of DFA, there may be cases when parent DFA will be accessed from inside the child one. In particular, that happens when syntactically incorrect code is processed.

GitOrigin-RevId: d684237965074add15b0c0801f0bfe5ccbaae33e
2020-07-18 22:58:06 +00:00
Vladimir Dolzhenko fe2da78da7 IDEA-CR-64585: IDEA-245071: implement DaemonCodeAnalyzerImpl#serializeCodeInsightPasses()
GitOrigin-RevId: 077ab6dc38924188f1017543763611915160f7ca
2020-07-18 20:03:04 +00:00
Vitaly Provodin 9f338cae80 Updating versions of project dependencies: jdkBuild->11_0_7b999.1
Vitaly Provodin

GitOrigin-RevId: f97b51f75e3ddbb8494786af83e57b62fdfb5a54
2020-07-18 07:38:02 +00:00
Florian Kistner 544fd648b1 Darwin arm64: Add test for calling vararg selectors
GitOrigin-RevId: 69db75ce7eef2656b24636b66c4d6525fb83e59e
2020-07-18 01:33:32 +00:00
Florian Kistner 4e54b307df Darwin arm64: Use NIO2 instead of legacy mediator
GitOrigin-RevId: abc952a1bf9fdbd9c79e8e196eaec5762af9673b
2020-07-18 01:19:54 +00:00