Commit Graph

22739 Commits

Author SHA1 Message Date
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
Natalia Ukhorskaya 1b6475c676 LibraryClassFileSearcher: minor, do not search top level functions in package inner classes 2015-05-21 19:17:37 +03:00
Natalia Ukhorskaya 0b91ab141e FieldWatchpoints: UI for adding kotlin field watchpoint 2015-05-21 19:17:36 +03:00
Natalia Ukhorskaya 2b015ae09a Debugger: support field watchpoints for kotlin 2015-05-21 19:17:35 +03:00
Natalia Ukhorskaya 7406627e26 Minor: optimise search in LibraryClassFileSearcher 2015-05-21 19:17:33 +03:00
Natalia Ukhorskaya 95b9c05138 Tests for step out command 2015-05-21 19:17:32 +03:00
Natalia Ukhorskaya 5edc25d2ba Debugger: step into default property getter/setter
#KT-7287 Fixed
2015-05-21 19:17:31 +03:00
Natalia Ukhorskaya f742188df9 Minor: do not use property in twoLambdasOnOneLineSecond test 2015-05-21 19:17:30 +03:00
Ilya Gorbunov fb342de451 Ensure stable order is used when rendering list of resolved calls by sorting them with MemberComparator. 2015-05-21 19:07:19 +03:00
Zalim Bashorov 4de3e3c712 Fix SlicedMapImpl#clear 2015-05-21 18:53:57 +03:00
Zalim Bashorov d8b1856e1c Create SlicedMapImpl#collectiveSliceKeys on demand 2015-05-21 18:53:56 +03:00
Zalim Bashorov 492404bf04 Introduce KeyWithSlice and use it as Key for UserDataHolder in SlicedMap instead of cashing mapping from key to slice(see SlicedMapImpl#keyIdToSlice) 2015-05-21 18:53:56 +03:00