Commit Graph

11238 Commits

Author SHA1 Message Date
Nikolay Krasko e402c4d527 Guard creation of LazyClassDescriptor with lock to avoid getting 'this' in invalid state 2013-08-08 00:37:42 +04:00
Nikolay Krasko 70ae9e589c Generate only final fields for injectors - make the access thread-safe 2013-08-08 00:37:42 +04:00
Nikolay Krasko 14247ea2ab Guard construction of imports index under common lock 2013-08-08 00:37:41 +04:00
Nikolay Krasko fbe1491ad4 Lock based binding context 2013-08-08 00:37:40 +04:00
Andrey Breslav 39b091ddaf Trying to fix weird issues on TeamCity: Flushing code cache in the AllTests launch configuration 2013-08-07 20:41:10 +04:00
Andrey Breslav 8230d7ed94 Update to IDEA 13 EAP - 130.1486 2013-08-07 20:41:09 +04:00
Andrey Breslav 4f6e7ad39b Setting up continuous integration 2013-08-07 20:34:47 +04:00
Natalia.Ukhorskaya 609c4b3b28 Add notification panel for kotlin files that aren't in 'kotlin' folder (for gradle-android project) 2013-08-07 15:42:09 +04:00
Natalia.Ukhorskaya 5919968dc5 Disable analysis for kotlin files that aren't in 'kotlin' folder (for Gradle-Android project) 2013-08-07 15:42:08 +04:00
Mikhael Bogdanov 8a4b01d9c6 KT-3702: Inner class constructor cannot be invoked in override function with receiver
KT-3532: NoSuchMethodError when constructing Java inner class
KT-3847: Class is not recognized as inner when loaded from binaries

 #KT-3702 Fixed
 #KT-3532 Fixed
 #KT-3847 Fixed
2013-08-06 10:58:27 +04:00
Natalia.Ukhorskaya 8e45bb7657 Fix wrong generated class name invoking inner objects from another module 2013-08-06 10:17:25 +04:00
Andrey Breslav e3643fd222 Proguard does not print notes any more
There are too many notes in our logs, we never read them, and logs get very tedious to scroll through.
2013-08-05 18:37:46 +04:00
Natalia.Ukhorskaya acf8c88cfc Java property as annotation parameter 2013-08-02 18:59:29 +04:00
Natalia.Ukhorskaya e792238cbe Boolean as annotation parameter (java) 2013-08-02 18:59:27 +04:00
Natalia.Ukhorskaya 064f114b25 Allow top-level properties or properties from class object as annotation parameters 2013-08-02 18:59:26 +04:00
Natalia.Ukhorskaya 27801d5351 Add test: primitive values as annotation parameter 2013-08-02 18:59:25 +04:00
Alexey Sedunov 41c98508b6 SafeDeleteProcessor: Add nullability annotations
Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java

Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java

Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java
2013-08-01 15:52:08 +04:00
Alexey Sedunov 2704328160 Implement "Safe Delete" refactoring for value parameters 2013-08-01 15:41:34 +04:00
Alexey Sedunov 6ef8f04a01 Generate tests for type parameters
Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-08-01 13:18:46 +04:00
Evgeny Gerashchenko 7f62b9259c KT-3820 VerifyError when invoking intrinsic for range obtained from collection
#KT-3820 fixed
2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko aafa492c95 Disabled hierarchy viewing for alien files. 2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko b14ee4c52f Disabled hint calculation for alien files. 2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko 6b66de5e83 Moved method to more general place. 2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko 1e10712802 Minor. Added 'final'. 2013-07-31 15:54:45 -07:00
Evgeny Gerashchenko 0fd76f74ba Don't show "kotlin module is not configured" strip on alien files. 2013-07-31 15:54:44 -07:00
Evgeny Gerashchenko f06111a608 Fixed ISE on attempt to build light class for alien file. 2013-07-31 15:54:44 -07:00
Evgeny Gerashchenko 81d33b78b7 Disabled editor highlighting for alien files. 2013-07-31 15:54:44 -07:00
Nikolay Krasko 2520f11bdc KT-3823 Standard sort function requires MutableIterable by no reason
#KT-3823 Fixed
2013-07-30 21:06:16 +04:00
Natalia.Ukhorskaya b205e10b31 Don't show "set up as Java module" notification for android project configured with gradle 2013-07-30 13:43:20 +04:00
Nikolay Krasko a4451dbf24 Update to eap 130.1365 2013-07-30 13:31:21 +04:00
Alexey Sedunov 203e80debe Implement "Safe Delete" refactoring for type parameters
Conflicts:
	idea/src/org/jetbrains/jet/plugin/refactoring/safeDelete/KotlinSafeDeleteProcessor.java

Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java

Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-07-29 19:24:53 +04:00
Alexey Sedunov 62a1a9b8d1 Fix description of JetTypeParameter 2013-07-29 19:24:47 +04:00
Alexey Sedunov a7df901ee6 Work around the bug in Java "Safe Delete" (can't delete override annotations in Kotlin from Java code) 2013-07-29 19:24:40 +04:00
Alexey Sedunov 777f3ae1d3 Safe Delete: decompose checkSuperMethods() 2013-07-29 19:24:34 +04:00
Alexey Sedunov 0b53ffe4d8 Restructure "Safe Delete" test data directories
Conflicts:
	generators/org/jetbrains/jet/generators/tests/GenerateTests.java
2013-07-29 19:24:27 +04:00
Alexey Sedunov 206d5ec9ca SafeDeleteProcessor: small refactorings 2013-07-29 19:24:20 +04:00
Alexey Sedunov 639336b2f5 Implement "Safe Delete" refactoring for properties 2013-07-29 19:24:13 +04:00
Alexey Sedunov 9c60637ef3 Implement delete() for light methods 2013-07-29 19:15:09 +04:00
Nikolay Krasko 7ec170f6ec Fix absence of reference for type parameters 2013-07-29 18:20:09 +04:00
Natalia.Ukhorskaya b3f0a23c1d Fix android test: cannot change package name 2013-07-29 11:36:47 +04:00
Nikolay Krasko 2b0232307c Fix error on getting descriptor for class object 2013-07-27 03:57:30 +04:00
Nikolay Krasko 400906db7c Add lock for all additional resolve 2013-07-27 03:57:30 +04:00
Nikolay Krasko 93aa711a65 Always return delegated trace 2013-07-27 03:57:29 +04:00
Nikolay Krasko f3bd514f16 Thread safe lazy import scope 2013-07-27 03:57:28 +04:00
Nikolay Krasko 86dd6a3aa0 Introduce cancelable wrapping for resolve cache 2013-07-27 03:57:28 +04:00
Nikolay Krasko d62ad79232 Create thread-safe traces 2013-07-27 03:57:27 +04:00
Nikolay Krasko 37f2168c38 Refactoring: use interface instead of class 2013-07-27 03:57:26 +04:00
Nikolay Krasko 90511e93b5 Refactoring: use utility method for getting binding context with resolution for element 2013-07-27 03:57:25 +04:00
Nikolay Krasko b0b173eb5a Resolve descriptors in error class objects 2013-07-27 03:57:24 +04:00
Nikolay Krasko a69b2883ee Make resolve session be able to resolve class parameters 2013-07-27 03:57:23 +04:00