Commit Graph

21531 Commits

Author SHA1 Message Date
Michael Bogdanov 8ec0cd18b7 CompareTo fix 2015-04-07 16:05:38 +03:00
Michael Bogdanov 8552dd60ae patch moveto stack 2015-04-07 16:05:38 +03:00
Michael Bogdanov 6e9d5ebe78 RenageTo convertion & before call 2015-04-07 16:05:38 +03:00
Michael Bogdanov 83f8dae9ac RangeTo.java->RangeTo.kt 2015-04-07 16:05:38 +03:00
Michael Bogdanov b99ff5c7ae Intrinsic conversion 2015-04-07 16:05:37 +03:00
Michael Bogdanov a5612ec4c0 intrinsics java->kt file renaming 2015-04-07 16:05:37 +03:00
Michael Bogdanov c1ab7f06f7 Get rid of getAsmMethod 2015-04-07 16:05:37 +03:00
Michael Bogdanov 61a49f13e1 ExtendedCallable and some optimazation in CallableMethod 2015-04-07 16:05:37 +03:00
Michael Bogdanov ce004a9181 Number/Object compare to branched one 2015-04-07 16:05:37 +03:00
Nikolay Krasko 2946c1d6a8 KT-7271 Accessing an extension property of Char.Companion leads to ClassNotFoundException in runtime
#KT-7271 Fixed
2015-04-07 15:59:05 +03:00
Nikolay Krasko a77aae8789 KT-7245 HTML Markup in toolwindow caption
#KT-7245 Fixed
2015-04-07 15:59:04 +03:00
Ilya Gorbunov fbb567c11a Iterator<T> can be converted to a sequence constrained to be one-time iterable. 2015-04-07 15:35:01 +03:00
Ilya Gorbunov f2d865e836 Provide constrainOnce extension method for the Sequence.
Sequence created from the generator function without an initial value can be iterated only once.
The same is for BufferedReader.lines sequence.
2015-04-07 15:34:59 +03:00
Ilya Gorbunov 698ffa2807 A sequence constructed with initialValue can be iterated multiple times. 2015-04-07 15:31:00 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib to new lambda syntax 2015-04-07 13:08:53 +03:00
Stanislav Erokhin e0988de707 Minor: increase timeout 2015-04-07 13:08:52 +03:00
Stanislav Erokhin 4ef086ea57 Minor. Removed obsolete comment 2015-04-07 13:08:51 +03:00
Stanislav Erokhin b152211096 Added init keyword to testdata 2015-04-07 13:08:51 +03:00
Stanislav Erokhin 6ab83c9b8c Added init keyword to builtins, maven projects and stdlib 2015-04-07 13:08:50 +03:00
Ilya Gorbunov 7cac6e3c5e Provide String.commonPrefixWith and String.commonSuffixWith methods.
Char.isHighSurrogate and Char.isLowSurrogate now available in js-stdlib too.
2015-04-07 03:15:03 +03:00
Ilya Gorbunov 70cc7fbf1f Remove never intentionally used String.hashCode extension. 2015-04-07 03:14:49 +03:00
Ilya Gorbunov 91decc9f33 Add String.contains with Char argument. Fixes #KT-7239. 2015-04-07 03:14:36 +03:00
Ilya Gorbunov cb85d335ba Correct deprecated message for trim()
Correct documentation description.
2015-04-07 03:14:22 +03:00
Valentin Kipyatkov 8f01130e8e Minor code corrections after review 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 2efa851115 Used correct function for fetching elements in range instead of strange one from daemon.impl 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 0918d5ce79 Minor 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov bf0798ca86 Added test 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov bcbe10ad2a Removed unused method 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 506f84fb8a KT-5959 Imports should be inserted on paste from java with conversion to Kotlin
#KT-5959 Fixed
2015-04-07 00:00:29 +03:00
Valentin Kipyatkov 754567af07 Important fix: PsiFile.getParent() is PsiDirectory! 2015-04-07 00:00:29 +03:00
Valentin Kipyatkov d0637ccaf4 Conversion from Java on paste: post processing of code really works 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 2227452e7a KT-5203 Do not offer to convert from java on paste if conversion is trivial
#KT-5203 Fixed
2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 0ed7d228f6 Got rid of conversionScope parameter for JavaToKotlinConverter 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 751f952536 Code improvements 2015-04-07 00:00:28 +03:00
Valentin Kipyatkov 4b32db5c5e KT-5289 J2K: Should show progress when conversion takes time
#KT-5289 Fixed
2015-04-07 00:00:28 +03:00
Zalim Bashorov b3ef334a0e Update to IDEA 14.1 EAP (141.498.1) 2015-04-06 22:20:44 +03:00
Mikhail Glukhikh 88441814b9 Test for KT-5502 (works after KT-4450 / KT-5907 fix) 2015-04-06 18:32:19 +03:00
Mikhail Glukhikh d92ccad35d Implementation and tests for KT-5840 and newly created KT-7204. Now a safe call provides not-null receiver state *inside* argument list. It works also for ?. chains. #KT-5840 Fixed.
On the other hand, argument states do not propagate to successor statements for a safe call. #KT-7204 Fixed. A few additional comments.
2015-04-06 18:29:52 +03:00
Zalim Bashorov 79739b7090 Fix build. 2015-04-06 18:20:00 +03:00
Mikhail Glukhikh 1055c34474 Fix of when / break / continue problem 2015-04-06 17:57:48 +03:00
Natalia Ukhorskaya 20470e5c42 Merge pull request #635 from rusmonster/bugfix/fix-build-after-cleaning
Build fails after project cleaning
#KT-7277 Fixed
2015-04-06 16:35:18 +03:00
Mikhail Glukhikh cdc2d0f542 Tests for when / break / continue fixed 2015-04-06 16:08:17 +03:00
Valentin Kipyatkov 412ab8f8b8 Split module idea into idea, idea-core and idea-completion 2015-04-06 14:28:40 +03:00
Dmitry Jemerov 203c8ea125 compilation fix 2015-04-06 13:03:56 +02:00
Dmitry Kalita 7c911e1f0a When you build the project for the first time after cleaning, you lose paths to internal_impl jars of support libraries such as
build/intermediates/exploded-aar/com.android.support/support-v4/21.0.2/libs/internal_impl-21.0.2.jar

They are absent in javaCompile.getClasspath() when javaCompile task starts.

This patch fixes it.
#KT-7277 Fixed
2015-04-05 13:11:41 +03:00
Dmitry Jemerov 5a0c98ca81 fix compilation now that 'break' inside 'when' is not allowed 2015-04-05 00:33:14 +03:00
Dmitry Jemerov 252c4118eb report 'break' and 'continue' inside 'when' as errors (even if 'when' is nested in a loop) 2015-04-05 00:33:14 +03:00
Valentin Kipyatkov 8ab12e217d KT-7267 Arguments are replaced by tab when old call was qualified
#KT-7267 Fixed
2015-04-04 22:15:45 +03:00
Valentin Kipyatkov 2c1a0a0c4b Smart completion: expected type instantiation made higher priority than static members 2015-04-04 22:15:45 +03:00