J.T. Gilkeson
7a538accff
Fix problem with trimEnd wiping out spans in SpannableStringBuilder
...
If I pass in a CharSequence with different spans, the original trimEnd using substring incorrectly wiped out the spans.
changing to subSequence correctly preserves the span data
#KT-23920 Fixed
2018-04-20 18:04:13 +03:00
Alexey Sedunov
36975786e8
Gradle: Import project dependency with non-default configuration by its artifacts
2018-04-20 16:57:43 +03:00
Dmitry Jemerov
2a684684a5
Pass canChangeWhitespaceOnly flag in reformat inspection
...
Otherwise IDEA will run preformat and postformat processors, which don't
expect to run outside of EDT (IDEA-185991)
2018-04-20 15:38:35 +02:00
Alexey Sedunov
38808118b1
Misc: Update test data for MavenUpdateConfigurationQuickFixTest (181/182)
2018-04-20 16:19:25 +03:00
Dmitry Petrov
54cf11fd0a
Skip empty string entries when generating string template expression
...
#KT-19738 Fixed Target versions 1.2.50
2018-04-20 14:52:14 +03:00
Dmitry Petrov
22c2d8b563
Introduce a separate StackValue class for lateinit local vars
...
Local lateinit var differs in behavior from a simple local var,
and logic that relies of 'instanceof Local' checks assuming that all
instances of Local are simple local vars can produce faulty code
(as in KT-23260, where a local lateinit var was not explicitly put on
stack when passed as an argument to an inline function, thus causing
null propagation).
#KT-23260 Fixed Target versions 1.2.50
2018-04-20 14:51:34 +03:00
Dmitry Petrov
7be4f5d31f
Minor: reformat code in InlineCodegen
2018-04-20 14:51:34 +03:00
Nikolay Krasko
c86e157a48
Fix KotlinFileStructureTestGenerated in 181
...
Use common code for 173 and 181.
2018-04-20 14:37:02 +03:00
Nikolay Krasko
846a1a0179
Remove deprecated marker for JVM debugging in Kotlin code (KT-23886)
...
#KT-23886 Fixed
2018-04-20 14:37:01 +03:00
Nikolay Krasko
b6699d7522
Postpone analyze and remove direct working with BindingContext in folding
...
#KT-5206 Fixed
2018-04-20 14:37:01 +03:00
Aaron Nwabuoku
3a83983bfc
Support code folding for standard library collection factory functions (KT-5206)
...
#KT-5206 Fixed
2018-04-20 14:37:01 +03:00
Mikhail Glukhikh
c4cdc0543d
KT-23266 (forgotten change): modify plugin.xml for all branches
2018-04-20 13:17:06 +03:00
Mikhail Zarechenskiy
4f3fde2334
Regenerate tests
2018-04-20 13:06:22 +03:00
Mikhail Zarechenskiy
4a1c63cbbd
[NI] Rename: isVariableReceiverForInvoke -> isForImplicitInvoke
2018-04-20 13:06:21 +03:00
Mikhail Zarechenskiy
397cc4f772
[NI] Support implicit invoke calls on parenthesized receivers
2018-04-20 13:06:21 +03:00
Mikhail Zarechenskiy
1e7682afc0
Minor, rename property according to the style
2018-04-20 13:06:20 +03:00
Mikhail Zarechenskiy
f039ec3625
Refactoring: get rid KotlinCallKind inside ResolutionKind
2018-04-20 13:06:20 +03:00
Alexey Sedunov
898105a5fa
[REVERT/172] Test Support: Implement proper detection of existing TestNG configurations
2018-04-20 12:57:36 +03:00
Vyacheslav Gerasimov
0c6fb77637
Build: Set dependency on :dist for js.tests project test tasks
2018-04-20 11:35:55 +03:00
Vyacheslav Gerasimov
09a347b2d4
Disable assertion in RecompilableScriptFunctionData for js tests
...
which fails due to a bug in nashorn
#KT-23637 Fixed
2018-04-20 11:35:42 +03:00
Ilya Gorbunov
481620ba32
Suppress dokka warnings for external classes exposing JS API to Kotlin
...
Usually MDN link in the class description is enough.
2018-04-20 06:39:01 +03:00
Swapnil Sankla
b93e385181
Add sample for setOf method
...
Ilya Gorbunov: Improve sample to illustrate stable iteration order and set equality.
2018-04-20 06:03:05 +03:00
Ilya Gorbunov
c5aed06110
Clarify docs for downTo and until
2018-04-20 05:25:31 +03:00
Ilya Gorbunov
501d969a38
Improve docs wording of zip function
2018-04-20 02:44:48 +03:00
Ilya Gorbunov
0eae27e03f
Add samples for zip on sequences and strings
2018-04-20 02:00:36 +03:00
TakuyaKodama
2d4e591b5d
Add samples for zip on arrays and collections
...
Write the sample references in the template and run the generator
2018-04-20 02:00:36 +03:00
Alexey Tsvetkov
137698d967
Minor: move BuildTimeReporter from buildSrc to report.gradle.kts
2018-04-19 21:03:32 +03:00
Ilya Gorbunov
b1f6ba703d
Remove obsolete ant build scripts
2018-04-19 20:46:15 +03:00
Alexey Sedunov
48984fb3bf
Maven: Support "javaParameters" tag in Kotlin/JVM configurations (181)
2018-04-19 19:11:54 +03:00
Alexey Sedunov
4819fc337d
Misc: Fix dialog text for CallableRefactoring implementations
...
#KT-23778 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
f69a807ae6
Change Signature: Fix original method info for Java method used in Kotlin
...
#KT-23714 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
53a4baac8b
Safe Delete: Do not replace SafeDeleteOverrideAnnotation for Java methods
...
#KT-23613 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
4938825e19
Test Support: Implement proper detection of existing TestNG configurations
...
#KT-8407 Fixed
2018-04-19 19:06:48 +03:00
Alexey Sedunov
3b5227d6ea
Maven: Support "javaParameters" tag in Kotlin/JVM configurations
...
#KT-23845 Fixed
2018-04-19 19:06:47 +03:00
Alexey Tsvetkov
7606cfd84f
Print short build time summary after build
2018-04-19 18:23:10 +03:00
Claus Holst
84f0b327b1
KT-17608 Kotlin plugin says missing apply() call for SharedPreferences.Editor in With expression ( #1164 )
2018-04-19 16:29:27 +03:00
Alexey Sedunov
0f588955a9
Misc: Fix test data after updating to IDEA 181.3870.7
2018-04-19 15:27:56 +03:00
Zalim Bashorov
9c5e3ac629
Regenerate tests after rebase to master
2018-04-19 14:27:20 +03:00
Zalim Bashorov
d40b0b556c
Regenerate tests after fix usages of IGNORE_BACKEND_WITHOUT_CHECK
2018-04-19 13:18:31 +03:00
Zalim Bashorov
09d5a0cb89
Fix usages of IGNORE_BACKEND_WITHOUT_CHECK
2018-04-19 13:17:28 +03:00
Zalim Bashorov
ad2ea8f999
Remove IGNORE_BACKEND_WITHOUT_CHECK and introduce DONT_RUN_GENERATED_CODE
...
Support DONT_RUN_GENERATED_CODE in JS Box tests.
IGNORE_BACKEND_WITHOUT_CHECK is removed because of
it's often wrongly used and in most cases can be
replaced with IGNORE_BACKEND or DONT_RUN_GENERATED_CODE
or with combination of them.
2018-04-19 13:17:28 +03:00
Zalim Bashorov
d03a128aa5
[JS IR BE] mute failed tests
2018-04-19 13:17:28 +03:00
Zalim Bashorov
ab03ab84bb
Regenerate tests
2018-04-19 13:17:27 +03:00
Zalim Bashorov
a63b2e1bbd
Some changes in test generating infrastructure:
...
* add separate run function for each test class to simplify and deduplicate generated code
* move the code that process IGNORE_BACKEND directive to the separate function, outside of generated code.
** it reduces size and complexity of a generated code
** it allows to mute and unmute tests w/o regenerate tests
* add an ability to generate IGNORE_BACKEND directive automatically, it's disabled by default
* add an ability to remove IGNORE_BACKEND directive automatically, it's enabled by default
* remove whitelists
2018-04-19 13:17:22 +03:00
Zalim Bashorov
4227d8e73a
Remove accidentally left test classes: BytecodeTextTestGenerated and JsTypedArraysBoxTestGenerated
2018-04-19 13:17:22 +03:00
Zalim Bashorov
86fe2cc404
Minor: reformat DeprecatedSymbolUsageFixSpecialTest.kt
2018-04-19 13:17:21 +03:00
Toshiaki Kameyama
fee74273aa
Invert if condition intention: do not remove line breaks #KT-11740 Fixed
2018-04-19 10:00:46 +03:00
Toshiaki Kameyama
dce5cb3ce9
Reformat InvertIfConditionIntention
2018-04-19 10:00:12 +03:00
Ilya Gorbunov
20b2277951
Minor: fix docs of internal getProgressionLastElement
2018-04-19 05:40:55 +03:00
Alexey Tsvetkov
701f96998a
Remove unused SourceInfo interface
2018-04-19 05:18:54 +03:00