Pavel V. Talanov
f9a2b09a4e
Add(Remove)ParameterQuickFix is not available for unmodifiable files
2013-11-12 14:15:57 +04:00
Pavel V. Talanov
3e97203f85
Check that target functions can be modified in JetChangeSignature
2013-11-12 14:15:56 +04:00
Pavel V. Talanov
f4c8655fa2
Use DescriptorToDeclarationUtil to get function declaration in JetChangeSignature
2013-11-12 14:15:55 +04:00
Pavel V. Talanov
53acd2c837
Minor: add @NotNull annotations
2013-11-12 14:15:54 +04:00
Pavel V. Talanov
a422523cfb
Fix an exception that can be thrown if quickfix still exists but psi is no longer valid
2013-11-12 14:15:53 +04:00
Pavel V. Talanov
c1d5851060
Minor: fix typo
2013-11-12 14:15:53 +04:00
Pavel V. Talanov
49a7c47276
Prettify code
2013-11-12 14:15:52 +04:00
Pavel V. Talanov
959ab2b20c
Enum class objects values and valueOf functions have kind SYNTHESIZED
2013-11-12 14:15:51 +04:00
Pavel V. Talanov
dfef9aa6e9
Select first new parameter in JetChangeSignatureDialog by default
2013-11-12 14:15:50 +04:00
Pavel V. Talanov
3ddcf40518
Run "Add function parameter" fix silently if current usage is the only usage of the function
2013-11-12 14:15:49 +04:00
Pavel V. Talanov
66cc9b2cc7
Show error hint when trying to refactor synthesized function
2013-11-12 14:15:48 +04:00
Pavel V. Talanov
f032b6e236
Eliminate redundant descriptorToDeclaration call from factory for "Change signature" quick fixes
2013-11-12 14:15:47 +04:00
Pavel V. Talanov
8c95884ad2
Add new functionality to "Change signature" refactoring
...
Extract single point of entry for all change signature refactorings and fixes (remove parameter, add parameter)
Change signature now affects overriding functions as well
Ask the user whether he wants to refactor base function(s) or the selected one if appropiate
Fix a problem with descriptorToDeclaration in JetChangeSignatureHandler
Rename: JetFunctionPlatformDescriptor -> JetMethodDescriptor
2013-11-12 14:15:46 +04:00
Pavel V. Talanov
967030e7c1
Minor: Fix message in JetBundle
2013-11-12 14:15:45 +04:00
Pavel Talanov
97532f68c6
Add filterOutOverriding to OverridingUtil
2013-11-12 14:15:44 +04:00
Pavel Talanov
82feef23c3
Rename: OverridingUtil#filterOverrides -> filterOutOverridden to be more precise
2013-11-12 14:15:43 +04:00
Pavel Talanov
700d26917b
Minor: Remove commented out code
2013-11-12 14:15:42 +04:00
Valentin Kipyatkov
a7f11e6852
Very initial implementation of smart completion
2013-11-11 21:46:05 +04:00
Valentin Kipyatkov
a3e67ff27d
Deleted test file
2013-11-11 21:21:56 +04:00
Valentin Kipyatkov
bb73a21154
Test commit to test write access
2013-11-11 21:20:08 +04:00
Andrey Breslav
2b6f688a52
Annotate fields from traits' class object properties
2013-11-11 17:20:16 +04:00
Andrey Breslav
4fa691f4b4
Ignore @Nullable/@NotNull annotations when deserializing Kotiln descriptors
...
This is needed because we write these annotations to class files on all API callables automatically. Seeing all these annotations on descriptors is no good
2013-11-11 17:20:16 +04:00
Andrey Breslav
1f574a9feb
Do not annotate private members and their parameters (to save space)
2013-11-11 17:20:15 +04:00
Andrey Breslav
0959f7e37c
Don't mark primitive types as @NotNull
2013-11-11 17:20:15 +04:00
Andrey Breslav
f3901d2844
visitAnnotation() could return null for light classes
2013-11-11 17:20:15 +04:00
Andrey Breslav
2873f74932
Generate @Nullable/@NotNull annotations on Kotlin declarations (for IDEA interop)
2013-11-11 17:20:15 +04:00
Andrey Breslav
4268d8aa27
Generate parameter annotations even in LIGHT_CLASSES mode
2013-11-11 17:20:15 +04:00
Andrey Breslav
641ed568f2
Extract method
2013-11-11 17:20:15 +04:00
Mikhael Bogdanov
1795b2a0bc
KT-4118 Closures mix makes code fail on runtime
...
#KT-4118 Fixed
2013-11-11 12:22:06 +04:00
Maxim Shafirov
5e2e6e557d
error (yet to decide what particular exception to throw)
2013-11-10 18:25:13 +04:00
Nikolay Krasko
560fccbfb5
Better recovering after reporting error about several statements on the line
2013-11-09 14:08:01 +04:00
Nikolay Krasko
8e1b4edd7c
Refactoring: Remove class KotlinLightClassForPackageBase
...
FakeLightClassForFileOfPackage will use same code with delegating
2013-11-08 18:41:25 +04:00
Nikolay Krasko
fa0c3e52c5
Generate out of block modification tests
2013-11-08 18:41:23 +04:00
Nikolay Krasko
2975198b4c
Attempt to simplify hashCode and equals login in JetLookupObject
2013-11-08 18:41:22 +04:00
Nikolay Krasko
3e94246c45
Add ability to use ctrl+click in decompiled kotlin files
2013-11-08 18:41:21 +04:00
Zalim Bashorov
98e9b387b6
JetCompiler (non JPS) -> K2JvmTranslatingCompiler;
...
K2JSCompiler (non JPS) -> K2JsTranslatingCompiler.
2013-11-08 18:14:22 +04:00
Zalim Bashorov
e5a58e0c70
JPS: switched to use dirty files without incremental compilation (temporary hack for recompiling all).
...
Fixed compiling files from excluded directories.
2013-11-08 18:14:22 +04:00
Zalim Bashorov
6e5c849cb8
Use Project JDK in cli-common
2013-11-08 18:14:22 +04:00
Zalim Bashorov
e5c450fbee
SourceMapBuilder#skipLinesInBegin -> SourceMapBuilder#skipLinesAtBeginning
2013-11-08 18:14:22 +04:00
Zalim Bashorov
1409dd7812
Refresh FS after compilation for js and sourcemap files.
2013-11-08 18:14:21 +04:00
Zalim Bashorov
637c6635bd
Just rename some variables like: *factory -> outputFiles
2013-11-08 18:14:21 +04:00
Zalim Bashorov
4cea0a3de4
Fix build after change api
2013-11-08 18:14:21 +04:00
Zalim Bashorov
ae8ac28ddc
Split OutputFileFactory to OutputFileCollection and OutputFile
2013-11-08 18:14:21 +04:00
Zalim Bashorov
e041e950c8
Extracted OutputDirector and output utils to common place
2013-11-08 18:14:20 +04:00
Zalim Bashorov
5dd4eb780e
Extracted OutputFileFactory interface.
2013-11-08 18:14:20 +04:00
svtk
64e12398af
comment added to tests
2013-11-08 16:33:41 +04:00
svtk
95ef417ee8
KT-4170 Compiler hangs (or works too long)
...
#KT-4170 Fixed
2013-11-08 16:33:41 +04:00
Mikhael Bogdanov
df03eb5330
KT-4173: Can't pass a non-trivial closure to a super-call for object expression
...
#KT-4173 Fixed
2013-11-08 15:19:20 +04:00
Mikhael Bogdanov
2c75bdacc5
Added exception for outer absence
2013-11-08 14:10:35 +04:00
Natalia Ukhorskaya
cc948d88cc
Build j2k using kotlinc in build.xml
2013-11-08 12:12:06 +04:00