Commit Graph

33774 Commits

Author SHA1 Message Date
Nikolay Krasko 5337fd05fb Update to 2016.2.3 2016-09-20 15:26:59 +03:00
Nikolay Krasko 7b19454d58 Don't run applicationEx.invokeAndWait in testing mode 2016-09-20 15:26:57 +03:00
Nikolay Krasko 058dbd3375 Test only: method signature changed 2016-09-20 15:26:56 +03:00
Nikolay Krasko 80bf0b9c3e Update compilation in 2016.2 2016-09-20 15:26:54 +03:00
Nikolay Krasko 4b9b3b07e7 Update to 162.1447.7 2016-09-20 15:26:53 +03:00
Denis Zharkov 329c1a1e72 Use editor instead of file in TypingIndentationTest
Nobody guarantees that changes in editor are saved immediately
2016-09-20 15:26:51 +03:00
Denis Zharkov 10c840327d Temporary move annotation to methods' modifier list
Java resolver ignores return type annotations if there are ones on modifier list

Related to this commit https://github.com/JetBrains/intellij-community/commit/a2497edceec614cdb5b76ba552f8a035f9e159f8
2016-09-20 15:26:50 +03:00
Denis Zharkov 189705727f Implement a bunch of string based postfix templates
#KT-4710 Fixed
2016-09-20 15:26:48 +03:00
Denis Zharkov 1b391123e6 Implement for/iter postfix templates
#KT-4710 In Progress
2016-09-20 15:26:47 +03:00
Denis Zharkov b702886f0d Introduce var/val postfix templates
#KT-4710 In Progress
2016-09-20 15:26:45 +03:00
Denis Zharkov 7ba914f92a Minor. Introduce 'isVar' parameter for KotlinIntroduceVariableHandler.doRefactoring 2016-09-20 15:26:44 +03:00
Denis Zharkov 4d28199cc2 Implement if/else/null/notnull/when/try postfix templates
#KT-4710 In Progress
2016-09-20 15:26:42 +03:00
Denis Zharkov 09266b222b Implement 'Surround expression with if' surrounder
#KT-3363 Fixed
2016-09-20 15:26:41 +03:00
Denis Zharkov f18b9cceb3 Implement 'not' postfix template
#KT-4710 In Progress
2016-09-20 15:26:39 +03:00
Denis Zharkov 1eeec18303 Update IDEA version to 2016.2 2016-09-20 15:26:38 +03:00
Nikolay Krasko 3d0d82b862 Fix tests for move: check applicability from changed text
Presentation status has stopped working after https://github.com/JetBrains/intellij-community/commit/18ce2c6070667608d9bf5a18926778187564fd19
2016-09-20 15:26:36 +03:00
Nikolay Krasko a471d8907a Register TypeAnnotationModifier as extension point 2016-09-20 15:26:34 +03:00
Nikolay Krasko 99a75021e1 Problem: manually shutdown AppScheduledExecutorService to allow compiler stop properly
Without such shutdown console program that gets PSI file will hang forever.

Introduced in https://github.com/JetBrains/intellij-community/commit/446b80077aed71e2384301ae993cf44416bf9a83

Stack example:

 java.lang.Thread.State: RUNNABLE
	  at com.intellij.util.concurrency.AppDelayQueue.<init>(AppDelayQueue.java:37)
	  at com.intellij.util.concurrency.AppScheduledExecutorService.<init>(AppScheduledExecutorService.java:50)
	  at com.intellij.util.concurrency.AppScheduledExecutorService$Holder.<clinit>(AppScheduledExecutorService.java:41)
	  at com.intellij.util.concurrency.AppScheduledExecutorService.getInstance(AppScheduledExecutorService.java:46)
	  at com.intellij.util.concurrency.AppExecutorUtil.getAppScheduledExecutorService(AppExecutorUtil.java:39)
	  at com.intellij.concurrency.JobScheduler.getScheduler(JobScheduler.java:43)
	  at com.intellij.psi.impl.source.AstPathPsiMap.<clinit>(AstPathPsiMap.java:45)
	  at com.intellij.psi.impl.source.PsiFileImpl.<init>(PsiFileImpl.java:76)
	  at com.intellij.extapi.psi.PsiFileBase.<init>(PsiFileBase.java:39)
	  at org.jetbrains.kotlin.psi.KtFile.<init>(KtFile.java:48)
	  at org.jetbrains.kotlin.parsing.KotlinParserDefinition.createFile(KotlinParserDefinition.kt:73)
	  at com.intellij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:407)
	  at com.intellij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:348)
	  at com.intellij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:326)
	  at com.intellij.psi.SingleRootFileViewProvider.getPsiInner(SingleRootFileViewProvider.java:171)
	  at com.intellij.psi.SingleRootFileViewProvider.getPsi(SingleRootFileViewProvider.java:155)
	  at com.intellij.psi.impl.PsiFileFactoryImpl.trySetupPsiForFile(PsiFileFactoryImpl.java:121)
	  at com.intellij.psi.impl.PsiFileFactoryImpl.createFileFromText(PsiFileFactoryImpl.java:100)
	  at com.intellij.psi.impl.PsiFileFactoryImpl.createFileFromText(PsiFileFactoryImpl.java:56)
	  at org.jetbrains.kotlin.psi.KtPsiFactory.doCreateFile(KtPsiFactory.kt:174)
	  at org.jetbrains.kotlin.psi.KtPsiFactory.createFile(KtPsiFactory.kt:178)
	  at org.jetbrains.kotlin.preprocessor.Preprocessor.processFileSingleEvaluator(Preprocessor.kt:82)
	  at org.jetbrains.kotlin.preprocessor.Preprocessor.processDirectorySingleEvaluator(Preprocessor.kt:105)
	  at org.jetbrains.kotlin.preprocessor.Preprocessor.processDirectorySingleEvaluator(Preprocessor.kt:135)
	  at org.jetbrains.kotlin.preprocessor.Preprocessor.processSources(Preprocessor.kt:74)
	  at org.jetbrains.kotlin.preprocessor.PreprocessorCLI.main(PreprocessorCLI.kt:35)
2016-09-20 15:25:37 +03:00
Nikolay Krasko cf63a77396 Update to idea 162.1024.1 2016-09-20 15:25:07 +03:00
Nikolay Krasko e2860eb12a Tests only: fix compiler error because of changed nullability 2016-09-20 15:25:06 +03:00
Nikolay Krasko 22f3fe4784 Update to 162.844.8 2016-09-20 15:25:04 +03:00
Nikolay Krasko dc35524fe1 Tests only: codeCleanup() method signature was changed 2016-09-20 15:25:03 +03:00
Nikolay Krasko 89175a0165 Compile error because of changed nullability 2016-09-20 15:25:01 +03:00
Nikolay Krasko 1a89d138fb API change: parameter became NotNull 2016-09-20 15:25:00 +03:00
Nikolay Krasko 6a11055389 Build against 162.646.4 2016-09-20 15:24:58 +03:00
Nikolay Krasko ff9f3694f1 Problem: remove static import (temp workaround)
See KT-13954 for details
2016-09-20 15:24:55 +03:00
Nikolay Krasko d5ae37d33a Problem: remove static import (temp workaround) 2016-09-20 15:10:57 +03:00
Nikolay Krasko bfef8726bb Mock implementation for ExternalAnnotationsManager and InferredAnnotationsManager services 2016-09-20 15:10:56 +03:00
Nikolay Krasko dc49f7f21b Update to idea 162 2016-09-20 15:10:54 +03:00
Nikolay Krasko dba55ec34d More write action requirement remove
Workaround for exception: Refactorings should not be started inside write action because they start progress inside and any read action from the progress task would cause the deadlock
2016-09-20 15:10:53 +03:00
Nikolay Krasko 7d1a5f1d2b Tests only: add new method in MockPsiManager.java 2016-09-20 15:10:51 +03:00
Nikolay Krasko b05105e849 Problem: define idea.plugins.compatible.build setting explicitly to avoid exception about bad idea home path 2016-09-20 15:10:49 +03:00
Nikolay Krasko 72c6c66b48 API Change: Implement new method isSuppressAll() 2016-09-20 15:10:48 +03:00
Nikolay Krasko db20daae88 API Change: remove explicit generic type information 2016-09-20 15:10:46 +03:00
Nikolay Krasko 9674e1a6c7 Tests only: No more WatchMessageNode
https://github.com/JetBrains/intellij-community/commit/55029007ad9364dfced92e67b3e8873f0cbb5fdd
2016-09-20 15:10:45 +03:00
Nikolay Krasko 58ff7f53fa Tests only: Debugger test data modification: extra removed 2016-09-20 15:10:43 +03:00
Nikolay Krasko c7ac8e1650 Tests only: implement new method 2016-09-20 15:10:42 +03:00
Nikolay Krasko 226735ae05 Tests only: Constructor for XWatchesViewImpl was changed
https://github.com/JetBrains/intellij-community/commit/1a8de38449e5619a21a0a934d67f1d94f3e45f8f
2016-09-20 15:10:40 +03:00
Nikolay Krasko 99ed926554 Tests only: reparseRange parameters changed
https://github.com/JetBrains/intellij-community/commit/94863a8df423d3568167f709371d42c7410d0946
2016-09-20 15:10:38 +03:00
Nikolay Krasko bea45ff2e5 registerUnresolvedError is in base class in idea from br146 2016-09-20 15:10:37 +03:00
Nikolay Krasko 06a0ebe352 No jsr166e.jar anymore in br146 2016-09-20 15:10:35 +03:00
Nikolay Krasko 5cecdddcb6 Add run configuration for downloading br146 2016-09-20 15:10:34 +03:00
Dmitry Petrov bfcf7d9890 DM 19.09.2016: typealiases private in file are resolved as classes.
Add test for typealias private in file.
2016-09-20 14:42:29 +03:00
Denis Zharkov 42e85b07c9 Fix types in local var table for destructured variables 2016-09-20 13:44:44 +03:00
Mikhail Zarechenskiy 0792571256 Include default script template into mock-runtime 2016-09-20 11:29:10 +03:00
Mikhail Zarechenskiy 428763e886 Introduce default script template definition into runtime.jvm 2016-09-20 11:29:02 +03:00
Valentin Kipyatkov f5a34ca5ae Fixed intentions 2016-09-20 10:55:36 +03:00
Dmitry Petrov 7b25331de1 Support type aliases in RecursiveDescriptorProcessorTest. 2016-09-20 10:55:36 +03:00
Dmitry Petrov dac9d8b845 Additional checks for type alias constructors. 2016-09-20 10:55:36 +03:00
Dmitry Petrov 796d11c860 ClassDescriptor is now a super-interface for ClassConstructorDescriptor and TypeAliasConstructorDescriptor. 2016-09-20 10:55:36 +03:00