Dmitry Petrov
ab8b5d05ed
Light class generation for new facades/parts.
...
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00
Dmitry Petrov
47f5b55e65
KotlinLightClassForPackage -> KotlinLightClassForFacade
...
(with minor changes)
2015-09-07 16:28:44 +03:00
Dmitry Petrov
1c81b00143
Use ASCII capitalization for part class names
2015-09-07 16:28:44 +03:00
Dmitry Petrov
7af88f6797
Update debug tests & incremental compilation tests depending on part class naming
2015-09-07 16:28:43 +03:00
Dmitry Petrov
cd6ff31129
Update tests depending on part class naming
2015-09-07 16:28:43 +03:00
Dmitry Petrov
a47eaa2cb5
Change part class naming scheme
...
update tests depending on part class naming
2015-09-07 16:28:42 +03:00
Michael Bogdanov
801d10229b
Partially removed replaceHashWithStar
2015-09-07 16:28:41 +03:00
Michael Bogdanov
45a85e3e35
Removed packagePartHASH
2015-09-07 16:28:41 +03:00
Michael Bogdanov
17d9b93790
DelegationClassBuilderFactory class extraction
2015-09-07 16:28:41 +03:00
Michael Bogdanov
35d51a8ea4
Update duplicate diagnostic
2015-09-07 16:28:40 +03:00
Michael Bogdanov
d524cdeef7
~Redeclaration
2015-09-07 16:28:40 +03:00
Michael Bogdanov
2c2ec508d3
Redeclaration tests patched
2015-09-07 16:28:39 +03:00
Michael Bogdanov
0936351983
Incremental tests patched
2015-09-07 16:28:39 +03:00
Michael Bogdanov
905e74f870
TODO: restore tests: files with same names
2015-09-07 16:28:38 +03:00
Michael Bogdanov
48c5e3d218
Debug tests patched
2015-09-07 16:28:38 +03:00
Michael Bogdanov
8e8ff860d6
New package part naming
2015-09-07 16:28:37 +03:00
Dmitry Jemerov
e388750ebb
set flag allowing to update the Kotlin plugin from the repository even though it's bundled
2015-09-07 15:16:25 +02:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Alexey Sedunov
6c903a607c
Move Declarations: Filter out declarations which are not under source root (including libraries)
...
#KT-8922 Fixed
2015-09-06 18:09:49 +03:00
Alexey Sedunov
c493a76cfb
Move Declarations: Forbid inside non-top-level declarations. Show error hint instead of window when invoked from editor
...
#KT-8993 Fixed
#KT-8777 Fixed
2015-09-06 18:04:41 +03:00
Alexey Sedunov
14c657d448
Extract Function: Consider reference "broken" if corresponding diagnostics are changed after code fragment extraction
...
#KT-8633 Fixed
2015-09-06 18:04:39 +03:00
Alexey Sedunov
e03067846f
Extract Function: Ignore internal smartcasts
...
#KT-8458 Fixed
2015-09-06 18:04:37 +03:00
Ilya Ryzhenkov
ba5d5cc87b
Optimize away boxing in JvmDependenciesIndex
2015-09-06 17:01:32 +03:00
Ilya Ryzhenkov
a14d97d8e1
Optimize line mapping initialization.
2015-09-06 17:01:31 +03:00
Ilya Ryzhenkov
970bd46544
Optimize siblings()
2015-09-06 17:01:30 +03:00
Yan Zhulanow
4ca127ecb3
Create custom exception for lateinit
2015-09-05 00:54:20 +03:00
Yan Zhulanow
fc3bf3cca4
Implement lateinit in backend
2015-09-05 00:54:19 +03:00
Yan Zhulanow
e3967b9fa0
Diagnostic on lateinit
2015-09-05 00:54:19 +03:00
Yan Zhulanow
add13cae82
lateinit modifier on property
2015-09-05 00:54:18 +03:00
Valentin Kipyatkov
48bccab31e
Minor changes on code review
2015-09-04 23:27:38 +03:00
Valentin Kipyatkov
fe3e9341a1
Smart completion: no instantiation of anonymous object with uninferred type arguments in code
2015-09-04 23:27:37 +03:00
Valentin Kipyatkov
40de063ebd
Smart completion for generic class instantiation to not insert explicit type arguments (for they'll probably be inferred from the expected type)
2015-09-04 23:27:37 +03:00
Valentin Kipyatkov
f470fec840
"return emptyList()" & "return emptySet()" in completion
2015-09-04 23:27:37 +03:00
Valentin Kipyatkov
6dca9a4558
Auto-popup completion remebers cancellation for parameter name/type completion only
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
997aef8fee
Smart completion to work when some of previous arguments do not match
...
#KT-8400 Fixed
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
7663793e3d
Smart completion to work when some of previous arguments have errors (+ fixed testAfterEmptyArgument broken by previous changes)
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
b11f47ec33
Removed unused parameter
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
8859fd395d
Simplified code
2015-09-04 23:27:36 +03:00
Valentin Kipyatkov
db4c163539
More correct named arguments completion
2015-09-04 23:27:35 +03:00
Dmitry Jemerov
7cf4d265bb
remove converter from run confguration format which was used in some ancient Kotlin plugin versions
2015-09-04 20:36:52 +02:00
Alexander Udalov
d0a4f82203
Fix NO_KOTLIN_REFLECT directive handling in codegen tests
...
It was disabling reflection on classpath at compile time, but not at runtime
2015-09-04 20:18:59 +03:00
Alexander Udalov
308d24eeb4
Don't throw exceptions on unexpected annotation arguments in class file reader
2015-09-04 19:51:26 +03:00
Dmitry Jemerov
55640ac885
assorted Find Usages fixes: add missing read actions, better cancellation, fix search of componentN() usages for data class primary constructor parameter, remove workaround for usage of IDEA API which is now public
2015-09-04 18:25:36 +02:00
Mikhail Glukhikh
ccf78b6fa4
Drop support of annotation(retention, repeatable, mustBeDocumented) format
2015-09-04 19:21:41 +03:00
Mikhail Glukhikh
eab288bdd7
annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
...
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov
86f35acf9e
Fix testBuiltins result
2015-09-04 18:19:32 +03:00
Denis Zharkov
bf38f56261
Temporary workaround to compile bootstrap version
...
May be reverted soon
2015-09-04 18:19:32 +03:00
Denis Zharkov
4159c83282
Support decapitilized obsolete annotations in resolve
...
Annotations like `deprecated`, `jvmStatic`, etc. has been renamed to capitilized themselves.
But we're going to support both versions.
It's hard just to leave both versions of classes as their class-files can clash
when compiled on register-independent file system.
So here is solution (temporary hack):
we just wrap JetScopes for package fragments of `kotlin.*`
to make them search both versions of annotations if their names are contained
in our hardcoded set.
2015-09-04 18:19:32 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Denis Zharkov
952d45dc8b
Deprecate JVM platform annotations in favor of capitilized themselves
2015-09-04 18:19:31 +03:00