Commit Graph

24105 Commits

Author SHA1 Message Date
Ilya Gorbunov 2c396cf28e Add clarification about the lazy nature of Sequence.plus and Sequence.minus operations. 2015-07-17 10:54:54 +03:00
Ilya Gorbunov 8ac613dd67 Fix docs for String.partition
#KT-8493 Fixed
2015-07-17 10:54:40 +03:00
Ilya Gorbunov fbd0c16551 Merging arrays without creating iterators. 2015-07-17 10:54:28 +03:00
Ilya Gorbunov b5b6e2e598 Usages of Array.plus: return type changed. 2015-07-17 10:54:16 +03:00
Ilya Gorbunov 25e5172591 Rewrite test for overloading plus not to depend on stdlib classes and methods. 2015-07-17 10:54:03 +03:00
Ilya Gorbunov 35959c49b3 Cast Set to Collection to choose right overload of plus. 2015-07-17 10:53:50 +03:00
Ilya Gorbunov 690a536734 Tests for minus operation for collections, sets, iterables and sequences. 2015-07-17 10:53:31 +03:00
Ilya Gorbunov 9d120dcd44 Provide minus and minusAssign for iterables, collections, sets, sequences.
removeAll and retainAll special case optimizations.
#KT-3721 Fixed
#KT-7466 Fixed
2015-07-17 10:53:18 +03:00
Ilya Gorbunov 048a3ebcc1 Implement plus for sequence as operand and refactor plus tests. 2015-07-17 10:53:05 +03:00
Ilya Gorbunov 0ee960da50 Change removeAll extension implementation to match the contract of member removeAll.
Add retainAll for sequences.
2015-07-17 10:52:51 +03:00
Ilya Gorbunov ecba29a08a Reword contract of Collection's removeAll and retainAll to emphasize that the criteria to remove or retain element is the containment in the specified collection.
Collection.remove(element): clarify docs.
2015-07-17 10:52:38 +03:00
Ilya Gorbunov 2c28c5a8e8 Define plusAssign operator for mutable collections.
#KT-4020 Fixed
2015-07-17 10:52:25 +03:00
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