Michael Bogdanov
ddd992d3dd
AnonymousObjectRegenerationInfo java->kotlin convertion
2016-03-14 10:45:37 +03:00
Michael Bogdanov
da76bf7b03
AnonymousObjectRegenerationInfo.java->AnonymousObjectRegenerationInfo.kt
2016-03-14 10:45:36 +03:00
Michael Bogdanov
7e3e1554fa
Added canRemoveAfterTransformation method
2016-03-14 10:45:36 +03:00
Michael Bogdanov
8c9d8778eb
Introduced base class for AnonymousObjectGeneration
2016-03-14 10:45:35 +03:00
Michael Bogdanov
c6007c91f7
AnonymousObjectGeneration refactoring
2016-03-14 10:45:35 +03:00
Michael Bogdanov
a0f050fc69
Removed AnonymousObjectGeneration from RegeneratedClassContext
2016-03-14 10:45:34 +03:00
Nikolay Krasko
60ee5441cf
Update links in Editing Kotlin section
2016-03-13 19:53:18 +03:00
Mikhail Glukhikh
f76efb68f2
Strictfp on a class is now a warning #KT-11109 Fixed
2016-03-12 13:17:11 +03:00
Alexander Udalov
173a838f8c
Minor, improve some usages of function type utilities
...
Re change in FunctionsHighlightingVisitor:
KBI#isFunctionOrExtensionFunctionType already takes care of supertypes, no need
to do additional loop
2016-03-11 21:11:25 +03:00
Alexander Udalov
52309cd10e
Minor, drop handling of deprecated kotlin.Extension annotation
2016-03-11 21:11:24 +03:00
Alexander Udalov
90a48d3b35
Minor, move some utilities out of FunctionDescriptorUtil
2016-03-11 21:11:24 +03:00
Alexander Udalov
994dc46bcd
Write nullability annotations on extension receiver parameters
...
#KT-5429 Fixed
2016-03-11 15:20:32 +03:00
Pavel V. Talanov
597c571f25
Fix diagnostic range when some qualifier is unresolved in "@a.b.c.Anno"
...
#KT-7747 Fixed
2016-03-11 15:00:02 +03:00
Natalia Ukhorskaya
35271af07c
Do not convert invalid files to Kotlin
2016-03-11 13:56:10 +03:00
Natalia Ukhorskaya
468c869c0c
Show notification for files converted to Kotlin after project sync
2016-03-11 13:56:07 +03:00
Natalia Ukhorskaya
ebaf9899b0
Convert Java Activity to Kotlin after gradle sync finished
2016-03-11 13:56:05 +03:00
Natalia Ukhorskaya
40e89c76a9
Android: add action to create new activity on Kotlin
...
#KT-11264 Fixed
2016-03-11 13:56:02 +03:00
Natalia Ukhorskaya
b50f2dc6e5
J2K: Use parameters nullability for method call
2016-03-11 12:08:10 +03:00
Natalia Ukhorskaya
c1df0e4aeb
Minor: include AbstractJavaToKotlinCopyPasteConversionTest from idea module to J2K Tests run configuration
2016-03-11 12:08:10 +03:00
Natalia Ukhorskaya
c928237699
J2K: drop line breaks in some polyadic expressions
2016-03-11 12:08:10 +03:00
Natalia Ukhorskaya
f1b6bf7817
J2K: convert comments inside qualified expression correctly
2016-03-11 12:08:10 +03:00
Natalia Ukhorskaya
405b0b1df6
J2K: convert annotations in annotations parameters correctly
...
#KT-11126 Fixed
2016-03-11 12:08:10 +03:00
Natalia Ukhorskaya
7d594970ff
J2K: convert protected member used outside of inheritors as public
2016-03-11 12:08:10 +03:00
Alexey Tsvetkov
52be775f28
Minor: add two accidentally deleted files to test case
2016-03-11 02:43:31 +03:00
Alexey Tsvetkov
d352905a72
Add incremental tests for parameters with default values
2016-03-10 23:36:40 +03:00
Ilya Gorbunov
d6506d9770
Minor: reformat code in JS stdlib
2016-03-10 23:24:29 +03:00
Alexey Tsvetkov
d7cda17d2a
Minor: make it possible to run gradle incremental tests on CI
...
* Rename test so it won't be run by maven's integration-test phase
* Adjust allocated heap size
2016-03-10 23:00:11 +03:00
Pavel V. Talanov
5de4ce6f57
Minor, FunctionCodegen: add additional logging on missing function descriptor
...
Trying to diagnose light class building failures
2016-03-10 19:49:04 +03:00
Pavel V. Talanov
fc16d7c4fd
Refactor, minor: extract exception logging to an util object
2016-03-10 19:49:03 +03:00
Pavel V. Talanov
9a5650a045
Add KtPsiFactory#createFileWithLightClassSupport
...
Allows to create light classes for KtFile built from text
2016-03-10 19:41:59 +03:00
Pavel V. Talanov
4246c7f326
Refactor: Provide API to create KtLightClassForFacade by synthetic file
2016-03-10 19:41:57 +03:00
Pavel V. Talanov
725f128b64
Minor: remove obsolete properties from KtLightClassForFacade
2016-03-10 19:41:55 +03:00
Michael Bogdanov
c38f28fb08
Restore last inline function call site line number on lambda inlining into @InlineOnly function
2016-03-10 17:08:17 +03:00
Denis Zharkov
2e9075115b
Minor. Specify type arguments explicitly
...
Otherwise strange compilation error appears (see KT-11323)
2016-03-10 16:49:00 +03:00
Denis Zharkov
151e55b2fa
Use descriptors for building SAM constructors
...
It helps to get rid of semantics duplicating and fixes known bugs
- SOE in OnlyAbstractMethodFinder.find
- type enhancement for SAM constructors
#KT-11287 Fixed
#KT-11322 Fixed
EA-77989 Fixed
2016-03-10 16:49:00 +03:00
Denis Zharkov
b8b48c5f98
Extract common logic into AbstractTypeConstructor
...
Mostly it's about detecting loops in supertypes
Test data changes:
- Loops are being disconnected in Java classes too
- functions.kt: loops disconnection mechanism runs supertypes calculation,
so when we start check T it forces F' supertypes calculation, that ends
with CYCLIC_GENERIC_UPPER_BOUND reported on F
#KT-11287 In Progress
2016-03-10 16:49:00 +03:00
Denis Zharkov
ea9f1b5649
Minor. Pull up method
2016-03-10 16:49:00 +03:00
Nikolay Krasko
d45fc3bad7
Avoid warnings from idea core during file system initialization on Windows.
...
Do not use idea custom file system for now.
See FileSystemUtil.java and IdeaWin32.java files for details.
2016-03-10 13:32:08 +03:00
Nikolay Krasko
518bd76f35
Don't write false values in SetSlice to binding context
...
Optimization is significant for USED_AS_RESULT_OF_LAMBDA slice
2016-03-10 13:30:02 +03:00
Nikolay Krasko
71f91c5ce7
Attempt to drop debug name for traces
2016-03-10 13:30:01 +03:00
Michael Bogdanov
1a5bf33190
Fix for KT-11034: Private set with @JvmStatic lateinit var doesn't compile
...
#KT-11034 Fixed
2016-03-10 10:17:27 +03:00
Ilya Gorbunov
856dd7d909
Minor: make AbstractBackspaceHandlerTest really abstract.
...
#KT-5728
2016-03-10 05:54:03 +03:00
Ilya Gorbunov
92003f626b
kotlin.test: Make inline methods 'todo' and 'currentStackTrace' @InlineOnly not to loose stack trace.
...
Move related tests to separate file and verify the line numbers.
#KT-11348 Fixed
2016-03-10 04:28:24 +03:00
Pavel V. Talanov
c3a1643c6c
Add test for obsolete KT-6481 Mark deprecated constructor calls with strikethrough
2016-03-09 18:41:00 +03:00
Alexey Tsvetkov
df3f163ee2
JS: inline safe calls
...
#KT-6912 fixed
2016-03-09 16:25:01 +03:00
Dmitry Jemerov
956e9f3847
Merge pull request #828 from cypressious/smart_lambda_param
...
Implement Smart Enter Processor for adding a lambda block
2016-03-09 12:39:19 +01:00
Kirill Rakhman
828a7de980
Simplify logic for last lambda fixer and set caret directly in first pass
2016-03-09 12:35:48 +01:00
Dmitry Jemerov
9cb980b211
Merge pull request #825 from mcgee/KT-5728
...
#KT-5728 Fixed
2016-03-09 12:27:36 +01:00
Alexander Udalov
8f7047817f
Fix debugger testData after improving toString() of lambdas
2016-03-09 13:41:00 +03:00
Alexander Udalov
eef3631b8a
Improve toString() for lambdas and function expressions
...
#KT-9952 Fixed
2016-03-09 10:49:26 +03:00