Commit Graph

24093 Commits

Author SHA1 Message Date
Ilya Gorbunov dd945f4d1a Tests for plus on collections, sets, sequences. 2015-07-17 10:52:12 +03:00
Ilya Gorbunov 0f340c8f62 Make primitive array tests run both in JVM and JS 2015-07-17 10:52:00 +03:00
Ilya Gorbunov 6507cf391b Tests for array's copyOf and plus. 2015-07-17 10:51:49 +03:00
Ilya Gorbunov a7bf415ad5 plus: do not generate ambiguos overloads. 2015-07-17 10:51:35 +03:00
Ilya Gorbunov d89af24d6c Variance of arrays sorted out.
Use concat for array + 1 in JS.
2015-07-17 10:51:22 +03:00
Ilya Gorbunov 7866184eb6 Array.plus — different implementations for JVM and JS.
Array.copyOf, copyOfRange available in JS.
2015-07-17 10:51:09 +03:00
Ilya Gorbunov c883df544c Make plus operation to be strict binary or right external binary for Sets and Arrays. 2015-07-17 10:50:58 +03:00
Ilya Gorbunov b30a4eb75b Fix maven build: remove unused kdoc imports 2015-07-17 10:26:25 +03:00
Pavel V. Talanov a147497650 Minor: move all constant value implementation into one file 2015-07-16 18:38:52 +03:00
Pavel V. Talanov 2896ec67ba Support synthetic java properties in REPL
Use brand new iterable injection
2015-07-16 18:05:44 +03:00
Ilya Ryzhenkov 07139879cd Implement injection of Iterable<T> and some improvements in generic handling in general 2015-07-16 18:05:43 +03:00
Nikolay Krasko 0c41f4f736 Remove state from android tests 2015-07-16 18:02:32 +03:00
Nikolay Krasko 2a3337907e Avoid storing state in consistency tests 2015-07-16 18:02:31 +03:00
Nikolay Krasko 22f7fca53f Stop debug process 2015-07-16 18:02:30 +03:00
Nikolay Krasko e03a44d971 Remove state from JetChangeSignatureTests 2015-07-16 18:02:29 +03:00
Nikolay Krasko fbd46a3ca3 Drop state from debugger tests 2015-07-16 18:02:28 +03:00
Nikolay Krasko fa4fa3295d Setup needs root access 2015-07-16 18:02:27 +03:00
Nikolay Krasko 12c7c790ec Update to idea 142.3050.1 2015-07-16 18:02:26 +03:00
Nikolay Krasko 796e05983c Move kotlin runtime jars to separate folder and attach them during debug idea start
Now we only attach runtime. It will be possible to attach two jars when it becomes possible to separate paths in system-independent way.
2015-07-16 18:02:25 +03:00
Stanislav Erokhin d5f7fc52e0 Minor. Remove unnecessary trace parameter 2015-07-16 17:26:16 +03:00
Stanislav Erokhin 97d41be42e Support lazy perform for candidates 2015-07-16 17:26:16 +03:00
Stanislav Erokhin 7038b9d849 Add correct way for CallResolver to process CandidateResolveMode 2015-07-16 17:26:15 +03:00
Stanislav Erokhin b00dab0db5 Minor. Created CandidateResolveMode in CallCandidateResolutionContext. 2015-07-16 17:26:14 +03:00
Stanislav Erokhin 3c56787514 Minor. .java -> .kt 2015-07-16 17:26:14 +03:00
Stanislav Erokhin ce80773419 Minor. Convert CandidateResolver to kt 2015-07-16 17:26:14 +03:00
Stanislav Erokhin fdbd5efd1c Minor. remove static keywords 2015-07-16 17:26:13 +03:00
Dmitry Jemerov 649287b689 remove KDoc support in Kotlin Gradle plugin 2015-07-16 15:04:17 +02:00
Dmitry Jemerov 811f75f062 remove enclosing read action around the entire method references search, use more fine-grained read actions (KT-7917); more cleanup 2015-07-16 14:50:26 +02:00
Dmitry Jemerov f0296bc1c1 KotlinFindMemberUsagesHandler: J2K and some cleanup 2015-07-16 14:50:25 +02:00
Dmitry Jemerov c91b6dfe8b KotlinFindMemberUsagesHandler.java : rename to .kt 2015-07-16 14:50:24 +02:00
Dmitry Jemerov fbf7fa7277 KotlinFindUsagesHandler: cleanup after J2K 2015-07-16 14:50:23 +02:00
Dmitry Jemerov 6b2ea56b76 KotlinFindUsagesHandler: J2K 2015-07-16 14:50:23 +02:00
Dmitry Jemerov 3966db3430 KotlinFindUsagesHandler: rename to .kt 2015-07-16 14:50:22 +02:00
Alexander Udalov de94778846 Restore deprecated K*Function classes for compatibility
The code compiled with old compiler will work with the new runtime, but not
vice versa
2015-07-16 15:36:07 +03:00
Valentin Kipyatkov 4226b0b2b7 Better presentation for non-root packages in completion 2015-07-16 15:04:01 +03:00
Valentin Kipyatkov 16d503aed0 Even faster completion of root packages 2015-07-16 15:04:01 +03:00
Valentin Kipyatkov 136af1cd60 Optimization in completion: don't spend too much time calculating root packages 2015-07-16 15:04:00 +03:00
Valentin Kipyatkov 10b5942537 Formatting 2015-07-16 14:03:37 +03:00
Valentin Kipyatkov c1b2ea0b48 More elegant way to achieve the same + fixed KT-7746 Top level package name completion does not work inside class body
#KT-7746 Fixed
2015-07-16 14:03:37 +03:00
Valentin Kipyatkov 82c9cd790e After dot completion optimization: do not ask for packages and classes when searching extensions 2015-07-16 14:03:37 +03:00
Valentin Kipyatkov 39e6237bb0 All JetReferenceExpression's should have a reference (see JetReferenceExpression.mainReference extension) - made JetPackageDirective not a JetReferenceExpression 2015-07-16 13:49:22 +03:00
Valentin Kipyatkov 53810c67db Changes on code review 2015-07-16 13:49:22 +03:00
Valentin Kipyatkov 867b0b5075 Renamed class 2015-07-16 13:49:22 +03:00
Pavel V. Talanov a740b60134 Temporary workaround until iterable injection is supported in di
Synthetic accessors won't work in REPL until this is fixed
2015-07-16 13:49:21 +03:00
Valentin Kipyatkov 0cea5fc9b2 More informative presentation of synthetic properties in completion 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov d743924be9 Changed signatures 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov 8f3650ebdb Minor 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov f5e7483d19 Renames 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov be5c0ea28b Renamed function 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov bae90e9c2b Perform and cache full resolve when partial is not supported 2015-07-16 13:49:20 +03:00