Commit Graph
224322 Commits
Author SHA1 Message Date
Tagir Valeev ff72facb5c AddTypeCastFix: disallow void type 2018-07-10 14:13:37 +07:00
Tagir Valeev a850c09c2f InvokeIntention: better diagnostics for parentheses failure 2018-07-10 14:13:37 +07:00
Tagir Valeev 10f1c7da34 KeySetIterationMayUseEntrySetInspection: better parentheses support 2018-07-10 14:13:36 +07:00
Vladimir.Orlov b929028234 win installer: fixed typo. 2018-07-10 09:48:38 +03:00
Tor Norbye 42d3e22893 Add RecentlyNullable and RecentlyNonNull to nullable list
These two new magic names are also known to the
Kotlin compiler as nullness annotations representing
recently migrated nulls, which will be treated as
warnings rather than errors when violated.
2018-07-10 07:17:35 +02:00
peter 1e170960b6 remove jetCheck source
now it lives separately on https://github.com/JetBrains/jetCheck
2018-07-10 07:12:44 +02:00
peter 300037705e make jetCheck an external library jar 2018-07-10 07:03:45 +02:00
peter 2a9bcf1d96 debug tests hanging in ChangeListManagerImpl.waitEverythingDoneInTestMode 2018-07-10 07:03:44 +02:00
Ilya.Kazakevich 9ab5f5566b Project dispose added, leak hunter removed (must be called after app dispose) 2018-07-10 01:01:48 +03:00
Ilya.Kazakevich 46ff8b0b46 Hunter removed from teardown
We need to stop app (we'll have leak otherwise) but we can't do in teaDown, only in last step of suite
2018-07-09 22:54:13 +03:00
Daniil Ovchinnikov ac231a6af6 [groovy] allow new line before elvis operand (IDEA-195296) 2018-07-09 22:24:35 +03:00
Julia Beliaeva 9cb2079b18 [vcs-log] inline process variable, rename parameter 2018-07-09 22:18:03 +03:00
Julia Beliaeva d1f6e0e2be [vcs-log] iterate over commits persistent set during filtering by index
Since commits map was introduced in 32e141ef1b, there is no need to use messages map to iterate over all indexed commits.
2018-07-09 22:18:02 +03:00
Julia Beliaeva 212b4d313a [vcs-log] reuse executeAndCatch 2018-07-09 22:18:02 +03:00
Julia Beliaeva 99b0a92b73 [vcs-log] reorder methods 2018-07-09 22:18:02 +03:00
Sergey Simonchik eff060a60f update jediterm-pty to v2.10 to fix IDEA-187084 2018-07-09 21:18:09 +03:00
Anna.Kozlova 449b375178 equals/hashCode generation: simplify Objects.equals when fields are notNull (IDEA-194650) 2018-07-09 19:46:44 +02:00
Dmitry Jemerov d8a462b31f Rider-friendly implementation of Retype File action
Deal with typed handlers executed asynchronously. Synchronize position on line-by-line basis to deal with trailing
spaces differences and typed handlers reformatting already entered contents of the file. Don't automatically
accept completion suggestions. Add extension point to exclude Rider's live template lookup items from being accepted.
2018-07-09 19:21:25 +02:00
Konstantin Aleev d585ccb554 cleanup: rename method and clarify javadoc 2018-07-09 19:36:58 +03:00
Maxim.Mossienko 9538284b49 skip stub index key that wasn't initialized by some stub index extension (IDEA-195089) 2018-07-09 18:34:31 +02:00
Julia Beliaeva 53a95c71a1 [vcs-log] build VcsLogFileRevision from VcsCommitMetadata 2018-07-09 19:10:07 +03:00
Julia Beliaeva 27d1374fa4 [vcs-log] use VcsCommitMetadata in details panel 2018-07-09 19:10:07 +03:00
Julia Beliaeva 9b7692e69c [vcs-log] read VcsCommitMetadata instead of VcsShortCommitDetails
VcsCommitMetadata adds full commit message to the VcsShortCommitDetails. It can be used in places where we need full message, but not changes, like commit detail panel. HgLogProvider already reads full message, so it is not a big change. For git, commits are read from index (with full message) most of the time. In case of not indexed commits requesting commit body does not make git command significantly slower.
2018-07-09 19:10:07 +03:00
Nicolay Mitropolsky 9350698e63 UnstableApiUsageInspection cleanup as long as IDEA-195008 is fixed 2018-07-09 19:06:42 +03:00
Nicolay Mitropolsky 15c22ae9d5 Uast-java: fixing getting parent in import-statements (IDEA-195008) 2018-07-09 19:06:42 +03:00
Sergey Ignatov 731fbf08ec suppress 2lambda conversion due to a javac bug 2018-07-09 19:05:00 +03:00
Sergey Ignatov 679bd78ed9 Revert: use lambdas (e67e0f67), a javac bug? 2018-07-09 18:55:18 +03:00
Daniil Ovchinnikov ffe0db4c64 [groovy] fix label formatting (IDEA-194906)
- split #generateSubBlockForCodeBlocks into two methods: #generateCodeSubBlocks and #generateSubBlocks;
- use former method for code block only, flatten children independently of label setting;
- use latter method for members (don't need to flatten) and children of GrLabelBlock (already flattened);
- given correct blocks from above changes, update GroovyIndentProcessor to use respective settings (i.e. go down to
#visitLabeledStatement instead of this werid logic in #getChildIndent).
2018-07-09 18:47:55 +03:00
Mikhail Sokolov 0d827af7ea IDEA-195281 New SE: popup size is increased on each appear 2018-07-09 18:38:13 +03:00
Dmitry Batrak 93035db9e1 make Inlay.updateSize() imply Inlay.repaint()
otherwise clients would always need to call the latter after the former
2018-07-09 18:21:54 +03:00
Artem Khvastunov 6d181d6eee make MultiMap#create(Linked|Ordered)Set return empty set instead of list 2018-07-09 17:12:06 +02:00
Ilya.Kazakevich edb3f4b944 dispose test root in tests 2018-07-09 18:00:00 +03:00
Alexandr Evstigneev 5ef8ed9270 RUBY-21928 Disabled execution lock control with registry key ruby.execution.lock.control 2018-07-09 17:53:24 +03:00
Vladimir Krivosheev 265dbfe243 IDEA-161674 Native "Deny" answer is not respected — IDEA continues to ask access
first quick solution — keep decision for 1 minute
2018-07-09 16:49:15 +02:00
Konstantin Aleev d2e8cc872c refactoring: take UMethod instead of PsiMethod for checking 2018-07-09 17:42:15 +03:00
Alexey Kudravtsev 1faa391327 removed CompletablePromise from open API 2018-07-09 17:37:00 +03:00
Alexey Kudravtsev 7d2c9d6455 javadoc references fixed 2018-07-09 17:36:59 +03:00
Alexey Kudravtsev 8043bd4147 relax visibility 2018-07-09 17:36:58 +03:00
Julia Beliaeva 8a273b8f69 [file-history] add @NotNull, remove finals 2018-07-09 17:35:14 +03:00
Julia Beliaeva 5cadb8839c [file-history] extract RefreshRequest class 2018-07-09 17:35:14 +03:00
Julia Beliaeva be0beffd12 [file-history] move updateAlarm to FileHistoryRefresher
It is logical that a refresher does refresh, not the panel.
2018-07-09 17:35:14 +03:00
Julia Beliaeva 33f83a2373 [file-history] introduce a data key for refresher 2018-07-09 17:35:14 +03:00
Julia Beliaeva 5864247fc5 [file-history] call refresher in invokeLater 2018-07-09 17:35:14 +03:00
Julia Beliaeva 079bd524a7 [file-history] make RefreshFileHistoryAction context-based
RefreshFileHistoryAction extracts FileHistoryRefresher from context and uses it to do refresh. In order to know whether refresh is already in progress, a method isInRefresh is added.
2018-07-09 17:35:14 +03:00
Julia Beliaeva ed26102f1c [file-history] remove myInRefresh field
Concurrent history refresh is prohibited by VcsCachingHistory anyway.
2018-07-09 17:35:13 +03:00
Julia Beliaeva 0897cf03c8 [file-history] revalidate and repaint splitter after new data arrival 2018-07-09 17:35:13 +03:00
Julia Beliaeva bb75d85a6a [file-history] set target selection right before overwriting a session
No need to save target selection before calling a refresher, it can be done when a new session arrives.
2018-07-09 17:35:13 +03:00
Julia Beliaeva 035ef2b3f9 [file-history] remove myHistoryPanelRefresh
There is no need in a special object, FileHistorySessionPartner can just call the necessary methods directly.
2018-07-09 17:35:13 +03:00
Julia Beliaeva 40076a6110 [file-history] simplify 2018-07-09 17:35:13 +03:00
Julia Beliaeva 57487783b5 [file-history] remove myRefresherI field 2018-07-09 17:35:13 +03:00