Commit Graph

14893 Commits

Author SHA1 Message Date
Nikolay Krasko 4aa3dff2a2 Update to ASM5 2014-04-01 02:55:05 +04:00
Nikolay Krasko 95fd870988 Update to idea 135.666 EAP with asm5 library 2014-04-01 02:55:00 +04:00
Evgeny Gerashchenko 04a6b10f7a Minor. Renamed annotationDeserializer → deserializers. 2014-03-31 22:39:59 +04:00
Evgeny Gerashchenko dadc8351b6 Added tests for compiling Java against TraitImpl and extension members. 2014-03-31 22:39:58 +04:00
Evgeny Gerashchenko 93dfc00880 Minor. Renamed enum constants for clarification. 2014-03-31 22:39:58 +04:00
Natalia Ukhorskaya 4a79bfa16d Generate static accessors fro protected functions in different packages
#KT-4617 Fixed
2014-03-31 21:27:13 +04:00
Mikhael Bogdanov 5b5ecca12a Inline test: check that no any inline method is called directly 2014-03-31 20:04:23 +04:00
Mikhael Bogdanov 0d239a3e0e Moving local fun callee generation to CallReceiver 2014-03-31 20:04:10 +04:00
Mikhael Bogdanov 7dc662f613 Optimization for const closures: access it via GETSTATIC 2014-03-31 20:04:09 +04:00
Mikhael Bogdanov c7c1e33655 Move local fun callee generation to pushArgumentsWithCallReceiver.
Local fun callee generation via resolvedCall.resultingDescriptor not call
2014-03-31 20:03:43 +04:00
Mikhael Bogdanov 94e4c2f0c1 Move call receiver wrapping and generation to pushArgumentsWithCallReceiver 2014-03-31 20:00:46 +04:00
Mikhael Bogdanov e1e2855887 Removed obsolete pop operation 2014-03-31 19:59:24 +04:00
Mikhael Bogdanov b3f4b79cdf Fixed misspelling in defaulCallGenerator 2014-03-31 19:59:24 +04:00
Mikhael Bogdanov ff4ff29d28 CallReceiver calcType and put method identical simplification 2014-03-31 19:59:24 +04:00
Zalim Bashorov fd165f055f Minor in JS backend:
- use constants from Namer in JsAstUtils#createPackage;
  - dropped extra JsInvoke node when create IIF;
  - create new JsName for Kotlin object in IIF scope.
2014-03-31 16:07:55 +04:00
Zalim Bashorov 0a546ebb40 Merge pull request #428 from alextkachman/kotlin-as-var
added Kotlin as parameter for module wrapping function
2014-03-31 15:58:18 +04:00
Zalim Bashorov 0d61fbb8f7 Merge pull request #427 from alextkachman/master
Avoid unnecessary null checks in'!!' and 'as'
2014-03-31 15:57:24 +04:00
gavinkeusch a6a1bb2b7c KT-4574 New Intention: Split If - converts if statement containing one or more conjunction operators into two nested if statements 2014-03-31 14:40:00 +04:00
Nikolay Krasko 7c94e8a9af Rename kotlin properties with all usages
#KT-4317 Fixed
 #KT-4316 Fixed
2014-03-31 14:09:51 +04:00
Nikolay Krasko b779141845 Refactoring: move methods about override to OverridingUtil 2014-03-31 14:09:50 +04:00
Nikolay Krasko a39537f040 Update Kotlin icons 2014-03-31 14:09:49 +04:00
Alex Tkachman 82a25c8b07 added Kotlin as parameter for module wrapping function. this is for better obfuscation 2014-03-31 10:25:02 +03:00
Alex Tkachman 371dfc6ec4 avoid unnecessary null checks when receiver of '!!' or 'as' operator is not nullable 2014-03-29 21:28:00 +03:00
Alexander Udalov 09a8e284e5 Minor fix in kotlin-stdlib-gen
This change was forgotten in e3fffe2
2014-03-28 22:45:35 +04:00
Alexander Udalov d75a20bd7c Minor, fix warning 2014-03-28 21:56:04 +04:00
Alexander Udalov 1e611f4df1 Minor refactoring in TypeUtils
Move out unneeded things in runtime, fix warnings
2014-03-28 21:56:04 +04:00
Alexander Udalov d08da465d4 Module 'serialization' doesn't depend on intellij-core anymore 2014-03-28 21:44:07 +04:00
Alexander Udalov 59c04f5aff Module 'util.runtime' doesn't depend on intellij-core anymore 2014-03-28 21:44:07 +04:00
Alexander Udalov d719222bc4 Delete CommonSuppliers, use Guava directly 2014-03-28 21:44:07 +04:00
Alexander Udalov 7c4079fd32 Tear down SubstitutionUtils and move to frontend 2014-03-28 21:44:00 +04:00
Alexander Udalov e3fffe275b Fix implementation of Iterable<T>.take
#KT-4780 Fixed
2014-03-28 19:08:48 +04:00
Evgeny Gerashchenko 829cd95469 KT-4770 Javac fails against Kotlin inner class
#KT-4770 fixed
2014-03-28 16:46:26 +04:00
Andrey Breslav bcc6843835 Render file name and position in errors from JS library stubs 2014-03-28 13:18:46 +04:00
Nikolay Krasko c74542c72e Download idea for verify to non-default folder 2014-03-28 12:48:56 +04:00
Alexander Udalov ea4daed0ac Use FqNameUnsafe instead of FqName in JVM intrinsics
#KT-4777 Fixed
2014-03-27 22:46:44 +04:00
Alexander Udalov 94084fb8e1 Regenerate tests 2014-03-27 22:43:55 +04:00
Valentin Kipyatkov 19bb3ca92a Fixed test (ran GenerateInjectors) 2014-03-27 16:11:36 +04:00
Nikolay Krasko 59137d61fd Remove verify directory before creating (make steps more independent) 2014-03-27 15:44:08 +04:00
Valentin Kipyatkov 50bb90a1e3 Smart completion: support for overloaded method calls 2014-03-27 15:21:57 +04:00
Alexey Sedunov 15364ceae6 Fix bug in test generation (as introduced by earlier commit) 2014-03-27 13:00:37 +04:00
Alexander Udalov 0deea6b83c Add test for obsolete issue
#KT-1936 Obsolete
2014-03-27 03:06:59 +04:00
Evgeny Gerashchenko 3962064bd2 Fixed compilation of KDoc 2014-03-26 23:55:12 +03:00
Andrey Breslav 708694a09d Resolve annotation arguments only once 2014-03-26 21:10:29 +04:00
Andrey Breslav 298ddcf0ad Do not resolve annotation arguments when only a type is requested
This replaces the logic that always did complete constructor call resolution by a request to typeResolver when only a type is needed
2014-03-26 21:10:29 +04:00
Andrey Breslav 1cdfab761a Lazy annotation resolution supported 2014-03-26 21:10:29 +04:00
Andrey Breslav bb17adc8d7 LazyAnnotations implementation 2014-03-26 21:10:29 +04:00
Andrey Breslav 72b2fa77f7 Test for recursively annotated class object added 2014-03-26 21:10:29 +04:00
Andrey Breslav b3fb2e2314 Register files in package in LAZY mode 2014-03-26 21:10:29 +04:00
Andrey Breslav 311e7ab5fe Make RecursiveDescriptorProcessorTest happy, it relies on the order of interfaces 2014-03-26 21:10:28 +04:00
Andrey Breslav 3560a9da73 Minor. Extract method 2014-03-26 21:10:28 +04:00