Valentin Kipyatkov
135ec78d7d
Fixed EA-70945
2016-03-02 21:43:42 +03:00
Alexander Udalov
65662d7c99
Remove incorrect test, to be reconsidered in the future
...
Before 3ca4097 , 'set' signature was not checked at all in this case
#KT-11272 Open
2016-03-02 20:44:23 +03:00
Dmitry Jemerov
386f22480f
don't crash on startup in case of corrupted plugin installation
...
#KT-11230 Fixed
2016-03-02 18:17:36 +01:00
Alexander Udalov
e849792712
Minor, add KCallableImpl#container
2016-03-02 19:01:10 +03:00
Alexander Udalov
4779e3e9cf
Drop traces of old annotations from kotlin.jvm.internal
2016-03-02 19:01:04 +03:00
Alexander Udalov
c93517bc2f
Minor, fix test data
2016-03-02 19:00:50 +03:00
Dmitry Jemerov
661c87e464
minor: rename "jet" to "kotlin" in a couple of variable names
2016-03-02 16:47:43 +01:00
Stanislav Erokhin
5141d95a88
Refactoring. Remove dependence intellij-core from resolution module
2016-03-02 18:07:41 +03:00
Stanislav Erokhin
9338aa5633
Refactoring. Copy SmartList from IDEA to util.runtime module.
2016-03-02 18:07:40 +03:00
Alexander Udalov
8e77e16bbd
Remove leftovers of platformName and platformStatic in test data
...
Drop unnecessary imports, rename some tests
2016-03-02 16:47:04 +03:00
Alexander Udalov
beb11e7ac1
Minor, don't create unnecessary class loader in OuterClassGenTest
...
Read the bytes from the file instead
2016-03-02 15:47:40 +03:00
Alexander Udalov
f1bb31d0a9
Minor, inline one overload of CodegenTestUtil.compileJava
2016-03-02 15:47:40 +03:00
Alexander Udalov
933be1e035
Drop single-file mode of black box codegen tests
...
Add regression test for #KT-5190
2016-03-02 15:47:39 +03:00
Alexander Udalov
2de7f38427
Migrate boxWithJava tests to multi-file framework
2016-03-02 15:47:38 +03:00
Alexander Udalov
0801ae5364
Minor, delete weird intermediate git files
2016-03-02 15:47:38 +03:00
Alexander Udalov
e7371d2c1a
Minor, move boxAgainstJava logic to a separate test class
2016-03-02 15:47:37 +03:00
Alexander Udalov
280ad195ee
Migrate boxAgainstJava tests to multi-file framework
2016-03-02 15:47:36 +03:00
Alexander Udalov
26de87d792
Minor, make CodegenTestUtil.compileJava take absolute paths of files
2016-03-02 15:47:36 +03:00
Alexander Udalov
12cf70ac38
Delete legacy codegen tests with Java on annotations
...
After cleanup, these tests are now duplicated with those in
boxAgainstJava/annotations/
2016-03-02 15:47:35 +03:00
Alexander Udalov
9f67fe2fe3
Adapt CompileKotlinAgainstKotlin test to black box format
...
Rename/remove some obsolete test cases
2016-03-02 15:47:35 +03:00
Alexander Udalov
0b26e749f6
Improve multi-file test framework in CodegenTestCase
...
Instead of inheriting from KotlinMultiFileTestWithJava, invoke
KotlinTestUtils.createTestFiles directly. This helps to avoid constructing
unnecessary environment (createEnvironment() was called in setUp, but codegen
tests ignored the created environment because it's not possible to do
generically in codegen tests; the environment kind depends on the source file
usually)
2016-03-02 15:44:28 +03:00
Alexander Udalov
4b96a8131b
Inline KotlinLiteFixture
2016-03-02 15:44:28 +03:00
Alexander Udalov
12b6a4ede4
Obsolete KotlinLiteFixture, move utilities to CheckerTestUtilTest
2016-03-02 15:44:28 +03:00
Alexander Udalov
647e188a08
Migrate bytecode text tests to multi-file framework
...
Get rid of BytecodeTextMultifileTestGenerated
2016-03-02 15:44:28 +03:00
Dmitry Jemerov
fbc2fe74ad
Merge pull request #826 from cypressious/catch_fixer
...
Implement smart enter processors for try, catch (parameters and body) and finally
2016-03-02 13:21:32 +01:00
Dmitry Petrov
9244ef9b81
Do not use 'dup' for postfix increment/decrement: can't do it with collection element in general.
...
KT-11190, KT-11191, KT-11192, KT-11200, KT-11206
2016-03-02 14:28:06 +03:00
Dmitry Petrov
3ca4097bcc
KT-11203: report errors on read-write operations for elements of collections with inconsistent get&set signatures
2016-03-02 14:28:06 +03:00
Mikhail Glukhikh
cd91e44451
Minor fix: intention description directory renamed
2016-03-02 14:13:02 +03:00
Denis Zharkov
eb2c584578
Rename JetTypeMapper
2016-03-02 13:38:46 +03:00
Denis Zharkov
56a2561ab9
Extract JvmMethodGenericSignature from JvmMethodSignature
2016-03-02 13:38:46 +03:00
Denis Zharkov
7bd8fa0b48
Optimize signature propagation
...
Do not collect super function with trivial signature
2016-03-02 13:38:46 +03:00
Denis Zharkov
d66b9a08dd
Do not map generic signature if it's unnecessary
2016-03-02 13:38:46 +03:00
Denis Zharkov
5690d58fd0
Memoize package views in module
2016-03-02 13:38:46 +03:00
Denis Zharkov
4583283515
Search classes by JavaClass through package scope
2016-03-02 13:38:46 +03:00
Denis Zharkov
26ebf46e3e
Do not read module mappings more than once
2016-03-02 13:38:46 +03:00
Denis Zharkov
3652cd9c18
Optimize top level class searching in LazyJavaPackageScope
...
Do not try to search something, that is known not to exist
2016-03-02 13:38:46 +03:00
Denis Zharkov
beb24af5ef
Devirtualize calls to PackageFragmentDescriptorImpl.fqName
...
1. Replace INVOKEINTERFACE with INVOKEVIRTUAL
2. Make callee function final
It helps to decrease one module compilation time by 1-2 seconds
2016-03-02 13:38:46 +03:00
Dmitry Jemerov
3cc3b3fce2
cleanup: remove dead code from ProjectStructureUtil, move code used only during project configuration to ConfigureKotlinInProjectUtils; move function from KotlinRuntimeLibraryCoreUtil into KotlinRuntimeLibraryUtil
2016-03-02 11:15:06 +01:00
Dmitry Jemerov
828e53ce82
reuse Gradle external system ID
2016-03-02 11:15:05 +01:00
Dmitry Jemerov
13f4053950
detect Kotlin source roots
...
#KT-8592 Fixed
2016-03-02 11:15:03 +01:00
Dmitry Jemerov
8f2dd2c821
better presentation for the list of modules with Kotlin files
...
#KT-9025 Fixed
2016-03-02 11:15:02 +01:00
Dmitry Jemerov
d994e442da
support new IDEA API to allow configuring a Java/JS runtime without prompting the user
2016-03-02 11:15:01 +01:00
Dmitry Jemerov
4ea05354c7
move the calculation of configure kotlin notification out of EDT
...
#KT-10541 Fixed
2016-03-02 11:15:00 +01:00
Dmitry Jemerov
1976e5f3b0
ConfigureKotlinNotification: J2K and cleanup
2016-03-02 11:14:59 +01:00
Dmitry Jemerov
a6716d9160
ConfigureKotlinNotification: rename to .kt
2016-03-02 11:14:58 +01:00
Dmitry Jemerov
207c5e188b
correctly detect Gradle modules (previous code, besides being crazy overcomplicated, didn't always work because module.getModuleFile() returns null immediately after a project has been imported from Gradle and before it has been saved)
2016-03-02 11:14:56 +01:00
Dmitry Jemerov
edcd469e44
API for configuring Kotlin without notification
...
#KT-11089 Fixed
2016-03-02 11:14:54 +01:00
Dmitry Jemerov
28406bb1fb
update URL for Gradle documentation
2016-03-02 11:14:53 +01:00
Dmitry Jemerov
c081a0c758
don't show pre-1.0 versions of Kotlin in "Configure Kotlin in project" action
2016-03-02 11:14:51 +01:00
Alexey Andreev
550c8b12d1
KT-10667 Fix building qualified references to nested type of built-ins, e.g. Map.Entry
2016-03-02 10:31:05 +03:00