Commit Graph

12536 Commits

Author SHA1 Message Date
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
Alexander Udalov 4105455179 Serialize value parameter indices on JVM
This will help to load annotations on value parameters
2013-10-22 23:08:33 +04:00
Nikolay Krasko 011e2675ab Refactoring: store information about registered redeclaration errors for element 2013-10-22 22:45:29 +04:00
Nikolay Krasko 75b4a0b1d3 Refactoring: extract method 2013-10-22 22:45:28 +04:00
Nikolay Krasko ced0a90573 Fix memory leak by removing storing analyze result from annotators 2013-10-22 22:45:27 +04:00
Nikolay Krasko 23015b5f64 Get diagnostics for particular element 2013-10-22 22:45:27 +04:00
Pavel V. Talanov 7891eeed23 Update to IDEA 132.719 EAP 2013-10-22 20:07:17 +04:00
svtk 0cbbe3e5ea comment added 2013-10-22 19:01:52 +04:00
Zalim Bashorov 338f3614f0 Check archive name instead of os family when extracting it. 2013-10-21 21:12:21 +04:00
Zalim Bashorov 14ca06c6c2 Fixed JetJavaLibCompletionTest on non-windows machines. 2013-10-21 20:45:00 +04:00
Andrey Breslav ea2b6e4546 Do not throw an exception when a when-statement with no else makes no match 2013-10-21 19:29:01 +04:00
Andrey Breslav aacf133ef6 Ignore all output directories in a chunk
Otherwise the class files generated by previous builds for one of the targets in the chunk would interfere with source definitions, and we get overload resolution ambiguities and such
2013-10-21 19:21:23 +04:00
Andrey Breslav 2a43d2adee Report correct build targets for outputs + tests on output removal 2013-10-21 19:21:23 +04:00
Andrey Breslav c84e582397 Correctly report locations of output files 2013-10-21 19:21:23 +04:00
Andrey Breslav 251c659e91 Check removed files as well as dirty ones 2013-10-21 19:21:22 +04:00
Alexey Sedunov 12a460a145 KT-4043 "Find usages ignores class names usages as class objects" 2013-10-21 17:18:46 +04:00
Alexey Sedunov 45b07c0e18 Rename getMyType() method 2013-10-21 17:18:09 +04:00