Commit Graph

45537 Commits

Author SHA1 Message Date
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
Alexey Tsvetkov 87558873b5 Fix source element for JsSwitch generated from 'when'
Before this change we set JsSwitch source to subject's JsExpression.
We ignore these types of source elements during:
1. js ast serialization (see 'JsAstSerializer.extractLocation');
2. source map generation (see 'SourceMapBuilderConsumer.addMapping').

However we might add indent during source generation
(see 'JsToStringGenerationVisitor.pushSourceInfo').

That seemingly broken 'testEnumEntryRemoved' in
'IncrementalJsCompilerRunnerTestGenerated.ClassHierarchyAffected',
because deserialized ast during incremental build would not
have source element at all (JsExpression was ignored), but ast
during rebuild would have JsExpression source element.
2018-04-19 05:18:54 +03:00
Alexey Tsvetkov b0e8c85e88 Compare JS source maps in readable way in IC tests 2018-04-19 05:18:54 +03:00
Alexey Tsvetkov dee8b403e3 Turn sourcemap generation on 2018-04-19 05:18:54 +03:00
Ilya Gorbunov 4f80f6d715 Sort .js files before passing them to merger to ensure stable output
#KT-23705 Fixed
2018-04-19 01:22:13 +03:00
Vyacheslav Gerasimov c4da0e572d Remove comment about TeamCityBuild.xml from build.gradle.kts.182 2018-04-18 22:39:21 +03:00
Nicolay Mitropolsky 46ff4f2bbf 182: KotlinElementActionsFactory: "value"-parameters in generated java-annotations is putted without explicit parameter name #KT-23644 2018-04-18 21:17:24 +03:00
Mikhail Glukhikh de0cbf5844 Join parameter/argument list: use document to delete whitespaces
Otherwise fix has no effect in IDE. Related to KT-23266
2018-04-18 20:45:31 +03:00
Toshiaki Kameyama 03902030ed Add intentions to put arguments / parameters on one line #KT-23266 Fixed 2018-04-18 20:45:31 +03:00
Ilya Gorbunov 96581f1ecb Do not read manifest properties into build script, remove allProjectsRecursive
Neither this helper, nor manifest properties are used in the build.
2018-04-18 19:41:22 +03:00
Vyacheslav Gerasimov 1753ae8d57 Remove obsolete TeamCityBuild.xml 2018-04-18 19:17:16 +03:00
Toshiaki Kameyama 3992f0215c "map.put() to assignment": handle case with labeled return inside
So #KT-23194 Fixed
2018-04-18 18:50:15 +03:00
Mikhail Glukhikh 77f62f1666 Move to separate file: minor optimization, related to KT-23321 2018-04-18 18:41:24 +03:00