Commit Graph

66577 Commits

Author SHA1 Message Date
Dmitry Petrov 69fa067df9 Fix compiler bootstrap (1.4.0-dev-9205) 2020-05-27 00:28:58 +03:00
Vladimir Dolzhenko 5c58a9dfd1 PerfTests gradle interceptor clean up 2020-05-26 21:50:31 +02:00
Ilya Chernikov a1c173733c Fix gradle tests after renaming scripting libs and plugin 2020-05-26 20:24:15 +02:00
Steven Schäfer 9b7a95b05c Parcelize: Fix test code
On Android, we would need to call `setDataPosition(0)` after
unmarshalling a parcel. The reason why the test code is currently
working is purely because the Robolectric test framework is more
permissive.
2020-05-27 02:39:29 +09:00
Steven Schäfer d93e5d3dc0 Parcelize: Enable ParcelableDeclarationChecker with the parcelize plugin
Previously, the ParcelableDeclarationChecker was only enabled as part of
the view extensions. In particular, the checker was not enabled for the
parcelize test suite.
2020-05-27 02:39:29 +09:00
Steven Schäfer f93749ae6a Parcelize: Fall back to readValue/writeValue if no other serializers are available 2020-05-27 02:39:28 +09:00
Steven Schäfer 8d364a8a1a Parcelize: Resolve parcel serializers on demand 2020-05-27 02:39:28 +09:00
Steven Schäfer cfe168021a Parcelize: Remap functions in overridden symbols and callable references 2020-05-27 02:39:28 +09:00
rbares b39a65305d Fix Parcelize codegen tests following rebase 2020-05-27 02:38:45 +09:00
rbares 8a9610d3af Update Parcelize codegen tests 2020-05-27 02:38:45 +09:00
rbares 00ec50ff73 Fix Parcelize annotation implementing Parcelable.Creator<T> 2020-05-27 02:38:45 +09:00
Vitaliy.Bibaev 20793a65f4 KT-37486 Don't store instances from stream debugger plugin in companions 2020-05-27 02:38:45 +09:00
Yan Zhulanow 0c71c681e5 Do not reformat expressions in ReplaceCallWithBinaryOperatorInspection and SpecifySuperTypeFix 2020-05-27 02:38:45 +09:00
Yan Zhulanow 5a53c6ebf1 Remove ide-plugin-dependencies/tests-common-for-ide project
tests-common are now copied to the kotlin-ide project, so the artifact
  dependency is not needed any more
2020-05-27 02:38:44 +09:00
Yan Zhulanow ed82465c3c Fix eager inter-project dependency 2020-05-27 02:38:44 +09:00
Yan Zhulanow fb8640b3b6 Move compilerComponents project list to the root project 2020-05-27 02:38:44 +09:00
Yan Zhulanow 9d1c405b3c Rename ide-artifacts project to ide-plugin-dependencies 2020-05-27 02:38:44 +09:00
Yan Zhulanow 066b6d830f Put IDE plugin dependency artifact building/publishing under a flag 2020-05-27 02:38:44 +09:00
Yan Zhulanow b00b6b0614 Remove explicit project paths for ide-artifacts projects
Gradle requires the explicit path mappings only if the physical location
  of Gradle build scripts doesn't match project paths.
2020-05-27 02:38:44 +09:00
Yan Zhulanow 91c24605f2 Minimize changes in 202 bunch 2020-05-27 02:38:44 +09:00
Yan Zhulanow dea902551d Publish artifacts needed for the kotlin-ide repository 2020-05-27 02:38:44 +09:00
Yan Zhulanow 46ac241e2f 202: Fix compatibility with 202 IDEA branch (code) 2020-05-27 02:38:44 +09:00
Yan Zhulanow f489ac1d03 Fix compatibility with 202 IDEA branch (dependencies) 2020-05-27 02:38:44 +09:00
Yan Zhulanow a9d0c16fef Add 2020.2 bunch configuration 2020-05-27 02:38:44 +09:00
Yan Zhulanow 8a3e63aaf6 Minor: Clean up jvm-debugger-core module 2020-05-27 02:38:43 +09:00
Yan Zhulanow 3e05f7c2ab Minor: Move EvaluationStatus to the parent dir match its package name 2020-05-27 02:38:43 +09:00
Yan Zhulanow 0bf63c3000 Minor: Move filters to the companion object 2020-05-27 02:38:43 +09:00
Yan Zhulanow 3a0b0770d7 Debugger, minor: Remove obsolete KotlinRuntimeTypeEvaluator 2020-05-27 02:38:43 +09:00
Yan Zhulanow 9e85e9a036 Debugger, minor: Move method filters to the 'smartStepInto' package 2020-05-27 02:38:43 +09:00
Yan Zhulanow 45c97a2c5e Debugger: Add test for KT-14057 2020-05-27 02:38:43 +09:00
Yan Zhulanow bf890a1540 Debugger, tests: Change ADDITIONAL_BREAKPOINT directive format
- Make it extendable and easier to parse
- Allow to create additional function breakpoints
2020-05-27 02:38:43 +09:00
Yan Zhulanow 4244f05307 Debugger: Fix step over in functions with default parameters (KT-14828)
Adds a synthetic line number just before the original function call.
The new line number is recognized by the debugger which replaces the
  'step over' action with 'step into' and stops.
2020-05-27 02:38:43 +09:00
Yan Zhulanow d0f34624bd Debugger: Replace unsafe location() calls with safeLocation() 2020-05-27 02:38:43 +09:00
Yan Zhulanow e6791ea4c3 Minor: merge KotlinSyntheticTypeComponentProvider with the base class
Base class was needed because of the separate bunch.
The bunch was deleted in 254dc8f71c,
  and now it doesn't make sense to have a base class any more.
2020-05-27 02:38:43 +09:00
Yan Zhulanow 69965eaa5c Implement new stepping for suspend functions 2020-05-27 02:38:43 +09:00
Yan Zhulanow 2044ece335 Kapt: Add DUMP_DEFAULT_PARAMETER_VALUES flag (KT-29355)
Put initializers on fields when corresponding primary constructor
  parameters have a default value specified. The new behavior
  is available under the new 'DUMP_DEFAULT_PARAMETER_VALUES' flag.

Note that this doesn't affect regular functions with default parameter
  values, as well as primary constructor parameters without a
  'val' or 'var' keyword.
2020-05-27 02:38:42 +09:00
Yan Zhulanow 60aa47553d Kapt, minor: Move test logic for KaptFlags to the new base class 2020-05-27 02:38:42 +09:00
Yan Zhulanow c699a5b54c Pill: Disable Pill support for coroutines-experimental module 2020-05-27 02:38:42 +09:00
Yan Zhulanow 8fc403db94 Check if we are inside Kotlin in KotlinClassWithDelegatedPropertyRenderer
As 'isApplicable()' is called for Java classes as well, we spend too
  much time on calling 'allFields()' for deliberately unrelated classes.
2020-05-27 02:38:42 +09:00
Yan Zhulanow 0afd73b95c Debugger: Pass files with inline functions to backend (KT-36404) 2020-05-27 02:38:42 +09:00
Yan Zhulanow 85a5e5241f Debugger: Fix function breakpoints for libraries (KT-36403) 2020-05-27 02:38:42 +09:00
Yan Zhulanow 18070303d5 Update test data (KT-32511) 2020-05-27 02:38:42 +09:00
Yan Zhulanow 797058f781 Update test data (KT-27651) 2020-05-27 02:38:42 +09:00
Toshiaki Kameyama f6a13df388 Add quick fix for AMBIGUOUS_SUPER
#KT-5271 Fixed
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama 7c0af78b08 UnnecessaryVariableInspection: fix false positive in lambda
#KT-32565 Fixed
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama 64f6ed586b "Convert to primary constructor" inspection: do not report when property has setter
#KT-22142 Fixed
2020-05-27 02:38:42 +09:00
Yan Zhulanow 08f31758b8 Minor: Extract name comparison 2020-05-27 02:38:41 +09:00
Toshiaki Kameyama 19d1532dc7 AddFunctionParametersFix: use argument name as parameter name if argument is referenced variable
#KT-14021 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama 8b8059acdd Add quick fix for MANY_IMPL_MEMBER_NOT_IMPLEMENTED
#KT-17121 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama 21d6d50241 Create class quick fix: suggest on supertype entry
#KT-32511 Fixed
2020-05-27 02:38:41 +09:00