Commit Graph

12952 Commits

Author SHA1 Message Date
Nikolay Krasko da8a3c52a0 Refactoring: rename and move KotlinFrameworkDetector to ProjectStructureUtil 2013-10-25 17:54:22 +04:00
Mikhael Bogdanov e3882e2dfb KT-4137: Verify error
#KT-4137 Fixed
2013-10-25 16:43:25 +04:00
Andrey Breslav 6074667fd4 Method map regenerated 2013-10-25 16:28:44 +04:00
Andrey Breslav ed95463d1e Map Nothing to java.lang.Void 2013-10-25 15:39:01 +04:00
Andrey Breslav 1ff0ffbac6 Map jet.Hashable to java.lang.Object, to avoid NoClassDefFound exceptions 2013-10-25 15:39:01 +04:00
Natalia Ukhorskaya 3e43a7ea70 Fix testdata 2013-10-25 14:48:31 +04:00
Natalia Ukhorskaya 3287744415 Add common JetElement for imports: JetImportList 2013-10-25 13:55:40 +04:00
Natalia Ukhorskaya 796dad5798 Do not expand imports after optimizing 2013-10-25 11:05:02 +04:00
Natalia Ukhorskaya 8bee5628d5 Remove package prefix from imports 2013-10-25 11:05:01 +04:00
Zalim Bashorov da718af8b7 Minor refactoring -- rename some classes and variables. 2013-10-24 19:06:07 +04:00
Zalim Bashorov 3f4cd455e2 Make private all fields in JpsKotlinCompilerSettings. 2013-10-24 19:06:07 +04:00
Zalim Bashorov 5e082368fd Added outputPrefix and outputPostfix parameters to Kotlin Compiler tab. 2013-10-24 19:06:06 +04:00
Zalim Bashorov 0d322fe8bc K2JS: add ed outputPrefix and outputPostfix compiler arguments to K2JSCompiler. 2013-10-24 19:06:06 +04:00
Zalim Bashorov d02e53c812 JS backend: moved SourceMapBuilder interface to our sources. 2013-10-24 19:06:05 +04:00
Zalim Bashorov 492f5e9068 Splited CliTest. 2013-10-24 19:06:05 +04:00
Zalim Bashorov e557eff14b Add to UI Designer palette some intellij.ui components. 2013-10-24 19:06:04 +04:00
Zalim Bashorov fbc202d8b2 Switched to use Resource Bundles in Kotlin Compiler Settings Tab
Added mnemonics.
2013-10-24 19:05:56 +04:00
Zalim Bashorov 03071f77bc Added "Generate source maps" to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov c9fe844f02 Added panels for JVM and JS settings to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov faa82317b6 Added "Additional command line parameters" to the Kotlin Compiler Settings tab. 2013-10-24 18:37:00 +04:00
Zalim Bashorov 5a28f4e158 Added support project settings in old kotlin2js compiler and made minor refactoring. 2013-10-24 18:36:59 +04:00
Zalim Bashorov fb8c9c2ef9 Added support project settings to old kotlin2jvm compiler. 2013-10-24 18:36:59 +04:00
Zalim Bashorov 4d68262b7f CLI & JPS: use List instead Set for libraries and decencies. 2013-10-24 18:36:59 +04:00
Zalim Bashorov 22dde719de Pass arguments to the compiler as String[] instead of Object (instanceof CommonCompilerArguments). 2013-10-24 18:36:59 +04:00
Mikhael Bogdanov 604be8e0c1 KT-4119: Back-end (JVM) Internal error on code with local extensions
#KT-4119 Fixed
2013-10-24 17:24:45 +04:00
Mikhael Bogdanov 88a43fac5f Injectors regenerated 2013-10-24 14:14:49 +04:00
Mikhael Bogdanov 4c459fe62c Added extensions for function body resolve 2013-10-24 14:14:48 +04:00
Mikhael Bogdanov 643aec6c9b Added cached calculation of extensions 2013-10-24 14:14:48 +04:00
Mikhael Bogdanov 592c26e840 New extension parameter added to resolution context 2013-10-24 14:14:48 +04:00
Alexey Sedunov 06ab7708ae Extract searchLocalFunction() method 2013-10-24 13:09:30 +04:00
Andrey Breslav f91e6b8d38 Reorder class path to deliver cli-parser-1.1.1 instead of cli-parser-1.1 2013-10-24 11:35:23 +04:00
Alexey Sedunov 93e906ef5f Filter usages in import directives 2013-10-23 23:00:30 +04:00
Alexey Sedunov b20a18cf38 Restrict scope of local declarations 2013-10-23 23:00:29 +04:00
Alexey Sedunov c3c0925de1 Add support of local declarations 2013-10-23 23:00:28 +04:00
Alexey Sedunov 46b14784e1 Fixed KT-4105: Can't find usages of private function 2013-10-23 23:00:27 +04:00
Nikolay Krasko d23ad4f262 Process each namespace only once while reporting redeclaration errors 2013-10-23 20:43:39 +04:00
Nikolay Krasko 60ef034330 Make tests reveal errors in number of diagnostics with the same type 2013-10-23 20:43:38 +04:00
Nikolay Krasko 669104538d Tests for shadowing and redeclaration 2013-10-23 20:43:38 +04:00
Nikolay Krasko d6821ebfb6 Refactoring: Remove misleading that code processes both redeclaration and shadowing
NAME_SHADOWING is a warning so it has never been handled there
2013-10-23 20:43:37 +04:00
Nikolay Krasko e96c76b0d8 Fix multiple registration for redeclaration errors 2013-10-23 20:43:36 +04:00
Zalim Bashorov 28c0ebe104 Fix TopLevelMembersInvocationTestGenerated.testTwoModules test. 2013-10-23 19:35:42 +04:00
Alexey Sedunov d9f3858186 Translate JetElementDescriptorProvider to Kotlin 2013-10-23 14:20:13 +04:00
Alexey Sedunov cf8555349e Fix detection of constructor calls and delegates in supertype specifiers 2013-10-23 14:19:47 +04:00
Alexey Sedunov 38660dd9a8 Translate JetUsageTypeProvider to Kotlin 2013-10-23 14:15:15 +04:00
Alexey Sedunov 2add0b0810 Translate utility method getParentByTypeAndPredicate() to Kotlin 2013-10-23 13:17:12 +04:00
Alexander Udalov dd50438c78 Deserialize annotations on property setter parameters 2013-10-22 23:08:34 +04:00
Alexander Udalov 464b0dea4b Don't reuse other descriptor's value parameters
This resulted in a rewrite at INDEX_FOR_VALUE_PARAMETER slice, since some value
parameters were found twice in different function descriptors
2013-10-22 23:08:34 +04:00
Alexander Udalov 41e2300473 Rename MemberMap and implement it via SlicedMap 2013-10-22 23:08:34 +04:00
Alexander Udalov 73b768a72c Minor, extract Slices.createCollectiveSlice() 2013-10-22 23:08:34 +04:00
Alexander Udalov 938a906bcd Deserialize annotations on value parameters of functions 2013-10-22 23:08:33 +04:00