Commit Graph

22700 Commits

Author SHA1 Message Date
Alexey Tsvetkov bd934bc3c4 Minor in JS: fixed typo in file name (abstarct->abstract) 2015-05-25 20:20:26 +03:00
Alexey Tsvetkov fc1a1f742b JS test: added multi-module inline tests 2015-05-25 20:20:25 +03:00
Alexey Tsvetkov 115798f584 JS test: check directives in MultipleModulesTranslationTest 2015-05-25 20:20:25 +03:00
Alexey Tsvetkov f214c4eac7 JS test: use common dependencies.txt for MultipleModulesTranslationTest 2015-05-25 20:20:25 +03:00
Alexey Tsvetkov 08df655dcc JS: simplify load metadata 2015-05-25 20:20:25 +03:00
Alexey Tsvetkov b2238c0ebf JS: search inline function in .js file corresponding to module's
.meta.js
2015-05-25 20:20:25 +03:00
Evgeny Gerashchenko 0488229a61 KT-7693 Unused constructor parameter is not detected if class is constructed with named argument
#KT-7693 fixed
2015-05-25 18:33:08 +03:00
Mikhail Glukhikh 3c7225e83a An implementation of KT-7753: now enum constructors cannot be called explicitly.
Several tests are provided.
 #KT-7753 Fixed.
2015-05-25 17:27:31 +03:00
Michael Bogdanov 8cf21f24cd Fix for KT-7792: Invalid class file generation: java.lang.ClassFormatError: Invalid length 65522 in LocalVariableTable in class file
#KT-7792 Fixed
2015-05-25 17:06:18 +03:00
Natalia Ukhorskaya 37c47ac980 Show notification for "Non configured Kotlin Project" only after indexing 2015-05-25 16:19:05 +03:00
Natalia Ukhorskaya a47a27565b JetPositionManager: do not calculate class name during indexing 2015-05-25 16:19:04 +03:00
Natalia Ukhorskaya 1cfed000c4 Fix exception during step into inline function in library 2015-05-25 16:19:03 +03:00
Natalia Ukhorskaya 2538ebe407 Tests: add ability to write custom stepping tests 2015-05-25 16:19:02 +03:00
Natalia Ukhorskaya 403ca00a63 Fix exception: for inline functions in stdlib we calculate classname by declaration 2015-05-25 16:19:01 +03:00
Natalia Ukhorskaya 5d9daf3890 Refactor stepping tests 2015-05-25 16:19:00 +03:00
Natalia Ukhorskaya cf163181f1 Minor: report exception with stackTrace 2015-05-25 16:18:58 +03:00
Sergey Mashkov fe26bd22f0 JS stubs: add URL specification 2015-05-25 14:55:47 +03:00
Mikhail Glukhikh f4977a1108 Reorganization of when checking: exhaustion predicates clarified, analysis on platform enum warnings was moved to frontend.java 2015-05-25 14:23:57 +03:00
Pavel V. Talanov e4c242e66b Remove direct usages of ModuleDescriptor#getPackageFragmentProvider() 2015-05-25 13:00:16 +03:00
Pavel V. Talanov 23dabf595a J2k for PackageViewDescriptorImpl: prettify 2015-05-25 13:00:15 +03:00
Pavel V. Talanov 3bca284e1b J2k for PackageViewDescriptorImpl: autoconvert 2015-05-25 13:00:15 +03:00
Pavel V. Talanov 5ff4765e3d J2k for PackageViewDescriptorImpl: rename file 2015-05-25 13:00:14 +03:00
Sergey Mashkov 07a3233569 JS stubs: add CSSOM view specification and GEOMETRY spec 2015-05-25 12:36:42 +03:00
Ilya Gorbunov 4fd1b46e91 Refactor JS tests: unified package name, test JS specific map implementations only in JS.
Add required files to build StdLibTestToJSTest.
Remove tests StdLibMapJsTest and StdLibSetJsTest because they are tested elsewhere.
2015-05-24 05:07:01 +03:00
Ilya Gorbunov c95ba4da8e Tests for specialized primitive implementations of sets and maps in JS. 2015-05-24 05:06:51 +03:00
Ilya Gorbunov 4d3855a8fb Implement missing members for sets, maps and entry of map.
hashCode and toString for PrimitiveHashMap, hashCode for PrimitiveHashSet.
2015-05-24 05:06:24 +03:00
Ilya Gorbunov df6d4dc73f Implement some of missing AbstractList methods.
Make ListIterator to implement kotlin.ListIterator interface.
Add TODOs and UnsupportedOperationExceptions for members left to implement.
2015-05-24 05:04:06 +03:00
Ilya Gorbunov e31cb19a2c Expected output of test changed after introducing new overload of listOf. 2015-05-24 05:03:56 +03:00
Ilya Gorbunov ebe578dbc5 Tests to ensure the behavior of the specialized empty List, Set, Map implementations is same as of non-specialized ones. 2015-05-24 05:03:46 +03:00
Ilya Gorbunov edc471c8ec Optimize the implementation of emptyList, emptySet and emptyMap and make them serializable.
Specialized implementations of singleton List, Set and Map are used in JVM.

#KT-6682 Fixed
#KT-7104 Fixed
#KT-4840 Fixed
2015-05-24 05:03:36 +03:00
Alexey Sedunov b7277cd80c Find Usages: Use isEquivalentTo() instead of identity equality when matching references with PsiCompiledElement 2015-05-22 20:51:28 +03:00
Alexey Sedunov b2201026d1 Java Resolver: Substitute original element when resolving PsiMethod to FunctionDescriptor
#KT-7353 Fixed
2015-05-22 20:51:25 +03:00
Mikhail Glukhikh babb7e58bc Implementation of KT-6399: platform types under when are now counted as not nullable but warning is generated. #KT-6399 Fixed.
A set of tests. Warning about Java enum nullable argument under when in particular situations.
2015-05-22 18:38:30 +03:00
Ilya Gorbunov 0efaedd32c Rename files to avoid having identically named files in the same package, which sometimes may confuse debugger. 2015-05-22 18:08:28 +03:00
Evgeny Gerashchenko a5da64bd4f Don't ask user to choose method for renaming parameter when it is changed in overridden function. 2015-05-22 17:18:09 +03:00
Evgeny Gerashchenko 24c533df32 KT-6285 Rename refactoring doesn't rename named arguments when rename function parameters or private val/var constructor parameters
Just added test. Works automatically since rename parameter now delegates to change signature.

 #KT-6285 fixed
2015-05-22 17:18:08 +03:00
Evgeny Gerashchenko 2568fc92cb Supported Kotlin in Java's automatic parameter renamer. 2015-05-22 17:18:07 +03:00
Evgeny Gerashchenko 1e46469bb1 Automatic renaming parameter in hierarchy. 2015-05-22 17:18:06 +03:00
Ilya Gorbunov 33f5158170 Fix deprecated replaceAll and replaceFirst usages in stdlib tests and tools. 2015-05-22 16:13:55 +03:00
Ilya Gorbunov 79a5e0607d Fix deprecated replaceAll and replaceFirst usages. 2015-05-22 16:13:53 +03:00
Ilya Gorbunov 36fb5b3c49 Use platform independent way to split output to lines. 2015-05-22 16:12:07 +03:00
Evgeny Gerashchenko 9b28609d57 Optimized matchesTarget for "(" references 2015-05-22 14:33:11 +03:00
Evgeny Gerashchenko e50de5d94d KT-7730 Find Usages causes 100% CPU usage, UI blocked, never returned
KT-7623 Renaming val constructor parameter of a data class is very slow

 #KT-7730 fixed
 #KT-7730 fixed
2015-05-22 14:33:11 +03:00
Mikhail Glukhikh d8745b3ecb Solution for EA-65195. #EA-65195 Fixed. 2015-05-22 13:38:36 +03:00
Natalia Ukhorskaya 52fe6310a0 Fix breakpoints in inline functions in libraries 2015-05-22 11:05:06 +03:00
Ilya Gorbunov 6516c74a1a Revert back 2nd stage of split semantics change and restore deprecated String.split(String). 2015-05-21 23:13:16 +03:00
Alexey Sedunov b1f1360081 PSI: Make JetPostfixExpression.getBaseExpression() nullable
#KT-7761 Fixed
2015-05-21 19:29:49 +03:00
Alexey Sedunov 14d1d8e1dc Inspections: Create single diagnostic for inspections based on multiple intentions
#KT-7784 Fixed
2015-05-21 19:29:47 +03:00
Alexey Sedunov 5166cdbc96 Introduce...: Allow semicolon extraction
#KT-7583 Fixed
2015-05-21 19:29:46 +03:00
Alexey Sedunov 64892e7d28 Minor: Fix inconsistent naming of menu items under "Refactor > Extract"
#KT-7609 Fixed
2015-05-21 19:29:44 +03:00