Commit Graph
207924 Commits
Author SHA1 Message Date
Anna.Kozlova d58653b20f forbid access through outer class for anonymous (IDEA-182430) 2017-11-20 17:40:45 +01:00
Anna.Kozlova 43b3159356 cast by instanceof: don't place caret for invalid code (IDEA-182373) 2017-11-20 17:40:45 +01:00
Eugene Zhuravlev 0a2fec2436 fix read access assertion 2017-11-20 17:29:56 +01:00
Sergey Simonchik f365f97cbd update selectedItem in addCurrentTextToHistory to sync getText() and getSelectedItem() 2017-11-20 19:25:42 +03:00
Alexander Zolotov 8a0df31800 Add a registry key that allows to suggest all run configuration available in the context 2017-11-20 19:19:25 +03:00
Alexander Zolotov 5ba1e59582 Upgrade Gradle wrapper
Since all unpackJdks tasks are run under Java 1.8 now, we can upgrade it
2017-11-20 19:19:25 +03:00
Rustam Vishnyakov f2cf992f1d Fixed Code Style API usage 2017-11-20 19:17:06 +03:00
Aleksey Pivovarov 63d0232a56 vcs: do not reference AnnotateRevisionAction from VcsVirtualFile
fix memory leak via FileDocumentManagerImpl.myDocumentCache (VirtualFile -> Weak<DocumentImpl>)

The chain AnnotateRevisionAction $ VcsVirtualFile ->
          AnnotateRevisionAction ->
          FileAnnotation ->
          myReloader/myCloser ->
          EditorImpl ->
          DocumentImpl
linked value from the key, thus document could never be removed from myDocumentCache.
2017-11-20 19:01:49 +03:00
Egor Ushakov c494e053ab IDEA-72626 Debugger: scrolling different panel cancels editing watch 2017-11-20 18:57:59 +03:00
Maxim.Mossienko 45bfe36afe changes after review IDEA-CR-26729 2017-11-20 16:55:17 +01:00
Roman Shevchenko 0321f507ed [ui] better quotes paths for "Show in Explorer" action (IDEA-182423) 2017-11-20 16:50:32 +01:00
Eugene Zhuravlev 036ecf2e20 adjust error column position according to tab size from the current code style (IDEA-161153) 2017-11-20 16:22:48 +01:00
nik 2fd6200e0f IDEA project configuration: added JCenter to list of JAR repositories
So we can use libraries which are uploaded to JCenter on Bintray but aren't published to Maven Central.
2017-11-20 18:11:43 +03:00
Rustam Vishnyakov de695c9e53 LineIndentProvider JavaDoc [IC-CR-88] 2017-11-20 18:09:27 +03:00
nik 3a79d231f0 project configuration: avoid infinite loops when deleting library root
Avoid infinite loop even if 'Library.ModifiableModel::removeRoot' always returns true because of a bug (see IDEA-182159). If there are several identical roots in a library it should be ok to remove them one by one.
2017-11-20 18:05:07 +03:00
nik ea70f3223a project configuration: fix removing jar directory root from library
VirtualFilePointerContainer.findByUrl also returns a jar directory entry so otherwise it isn't possible to remove a jar directory entry from a library (IDEA-182159).
2017-11-20 18:05:07 +03:00
Daniil Ovchinnikov 3bd41784b2 [jvm-lang] java: inherit PsiPackage from JvmPackage 2017-11-20 17:58:39 +03:00
Daniil Ovchinnikov fb4d052341 [jvm-lang] add JvmPackage 2017-11-20 17:56:06 +03:00
Ivan Semenov fc66b9b4f0 Fix GitCrlfProblemsDetectorTest 2017-11-20 17:38:43 +03:00
Semyon Proshev 9941c8e40a Improve PyKnownDecoratorUtil to support more decorator side-effects (PY-26023) 2017-11-20 17:26:46 +03:00
Semyon Proshev 31a8675b98 Inline PyUtil.hasCustomDecorators and isDecoratedAsAbstract. 2017-11-20 17:26:46 +03:00
Julia Beliaeva 2cb2dea8af [vcs-log] better indexing cancelled notification
Use more standard notifications in the bottom-right corner. Enhance notification text. Round indexing time to seconds.
2017-11-20 17:17:56 +03:00
Julia Beliaeva 4b3cd9aaf0 [vcs-log] fix extra space in time string, add tests 2017-11-20 17:17:56 +03:00
Ilya.Kazakevich 7f0598c046 PY-27029: Sync with temacity-messages (provide encoding for monkeypatched stdout)
See https://github.com/JetBrains/teamcity-messages/issues/158
2017-11-20 17:16:17 +03:00
Julia Beliaeva 52b39d6b39 [git] wait for process being cancelled and if wait is unsuccessful kill it
Git commands use soft kill for cancelling git processes: process is cancelled by sending a signal. Sending a signal does not terminate a process immediately, BaseOutputReader thread reads and processes the output until it is available. This is a problem for GitTextHandler.waitForProcess method, which needs to wait for process to finish, since all the clients expect it to do so. For example, VcsLogPersistentIndex does not want to start another indexing process until the first one is still alive.

So after calling destroyProcess, another waitFor with timeout is added. If timeout is expired, the process is destroyed in the old-fashioned way.
2017-11-20 17:12:48 +03:00
Semyon Proshev 44a9986bdb Mark duplicated *args and **kwargs as not allowed (PY-26491) 2017-11-20 17:11:05 +03:00
Semyon Proshev b1bd6df96a Don't apply rainbow highlighting to stars in *args and **kwargs
It leads to highlighting conflicts, try next commit without these changes.
2017-11-20 17:11:05 +03:00
Vladimir Krivosheev 27a94c6055 IDEA-182178 Copyright settings are not stored 2017-11-20 15:00:54 +01:00
Dmitry Batkovich ebb8879055 BatchSuppressManager: remove useless methods 2017-11-20 16:56:23 +03:00
Roman Shevchenko b467cc2d87 Cleanup (dead code; warnings; formatting) 2017-11-20 14:52:12 +01:00
Roman Shevchenko 163eb2ee4f [java] prefers module rename processor to a generic one 2017-11-20 14:50:22 +01:00
Roman Shevchenko 255eb802ca [java] expands search scope for exports/opens module references (IDEA-179277) 2017-11-20 14:48:54 +01:00
Vladislav.Soroka fb1bea7016 IDEA-182418 Use new notifications API for Gradle notifications 2017-11-20 16:37:07 +03:00
Alexey Kudravtsev 8b0ed86d8d introduce Job pool parallelism constant since now it's different from the CPU count 2017-11-20 16:32:25 +03:00
Alexey Kudravtsev b195c7bb9d cleanup 2017-11-20 16:32:24 +03:00
Dmitry Batkovich 2fdfe63169 fix test to be valid on win 2017-11-20 16:29:11 +03:00
Yann Cébron 9d9eea0c82 jetbrains.dic +"deferrer" 2017-11-20 14:05:06 +01:00
Stanislav Dombrovsky e8b1abdee2 Merge remote-tracking branch 'origin/master' 2017-11-20 15:53:32 +03:00
Stanislav Dombrovsky 3e7005be26 Merge branch 'sdombrovsky/OC-15178' 2017-11-20 15:35:01 +03:00
Konstantin Aleev 2c35da9bb5 Do not accept annotations as main classes for java 8 2017-11-20 15:28:09 +03:00
Vladimir.Orlov 9e98215225 Win Installer: corrected PRODUCT_PATHS_SELECTOR location in registry for user installation:
HKCU\PRODUCT_PATHS_SELECTOR -> HKCU\Software\Classes\PRODUCT_PATHS_SELECTOR
2017-11-20 15:17:00 +03:00
Vladislav.Soroka 76fc75d52d External system: dispose orphan modules also in non headless mode 2017-11-20 15:15:24 +03:00
Kirill Kirichenko 7a67ae0727 IDEA-174108 + IDEA-176677
Consolidated patch for both:
IDEA-174108 Rework progress bars
IDEA-176677 Create standard UI components/API for embedded context help
2017-11-20 15:14:00 +03:00
Kirill Kirichenko d8660d2ca7 Unify Darcula radiobutton and checkbox alignment 2017-11-20 15:14:00 +03:00
Egor Ushakov 20473245ac IDEA-48873 Add easy access to exception stacktrace for exception objects - added a checkbox to disable this 2017-11-20 15:13:02 +03:00
peter 968f100606 log tasks scheduled after project disposal (IDEA-182134) 2017-11-20 13:03:59 +01:00
nik b832e6c2e0 build scripts: allow removing version numbers from JAR names
When a library is converted to repository library, its version is included into its JAR name. So if we convert a library included into bootstrap classpath (names of such libraries are hardcoded in executables) we need to keep the old name to avoid changing executables each time the library is updated. Later we can automatically compose bootstrap classpath and this won't be needed.
2017-11-20 14:49:08 +03:00
Alexander Zolotov a20988e54f Get rid of licenses file for building searchable options 2017-11-20 13:52:15 +03:00
Vasily Romanikhin cab26f4106 Merge branch 'master' of git.labs.intellij.net:idea/community 2017-11-20 13:22:40 +03:00
Vladislav.Soroka 73a7583dbe Build window: ignore tree selection event for no longer selected paths 2017-11-20 13:20:23 +03:00