Dmitry Jemerov
c56a72d442
Retrieve virtual file for PsiFile via FileViewProvider, which always has a non-null vFile (EA-89047 - assert: LightClassDataProvider.getRepresentativeVirtualFile)
2016-11-23 18:29:23 +01:00
Dmitry Jemerov
89313b3495
Fix exception when companion object is on the top level of a file (EA-89388 - CCE: LightClassUtil$getWrappingClasses$.invoke)
2016-11-23 18:29:23 +01:00
Dmitry Jemerov
ebbbe1b801
Include exception in report, not only log it (EA-90231 - assert: ClsJavaStubByVirtualFileCache.createStub)
2016-11-23 18:29:22 +01:00
Dmitry Jemerov
58d725dac0
Don't store PsiElement in LocalQuickFix instance (EA-90970 - PIEAE: PsiInvalidElementAccessException.createByNode)
2016-11-23 18:29:22 +01:00
Dmitry Jemerov
f9f590d270
More diagnostics for EA-85926 and EA-77163
2016-11-23 18:29:21 +01:00
Dmitry Jemerov
2d2f439a78
Restore element after running postprocess (EA-91562 - PIEAE: ASTDelegatePsiElement.getManager)
2016-11-23 18:29:20 +01:00
Dmitry Jemerov
d803831548
A facade light class inherits only java.lang.Object (EA-91597 - NPE: KtLightClassForFacade.getClsDelegate)
2016-11-23 18:29:20 +01:00
Dmitry Jemerov
b696f9ee8d
Handle INRE in breadcrumbs tooltip calculation (EA-91631 - INRE: FileBasedIndexImpl.handleDumbMode)
2016-11-23 18:29:19 +01:00
Dmitry Jemerov
56cb448e8a
Use ModalityState.NON_MODAL for invokeLater() actions (EA-91730 - assert: PsiModificationTrackerImpl.fireEvent)
2016-11-23 18:29:19 +01:00
Vyacheslav Gerasimov
da87efed6b
Added ACC_SYNTHETIC flag to generated by kotlin Android extensions onDestroyView method
...
#KT-14610 Fixed
2016-11-23 18:28:43 +03:00
Ilya Gorbunov
db1d2bf76f
Deprecate all java.util.* stuff in JS library
2016-11-23 17:58:52 +03:00
Nikolay Krasko
60e3c8eecd
Make breakpoints work in local functions in secondary constructors
2016-11-23 17:29:28 +03:00
Nikolay Krasko
1889f4f7b1
Fix breakpoints in function literals in inline calls (KT-11521, KT-12734, KT-12470)
...
#KT-11521 Fixed
#KT-12734 Fixed
#KT-12470 Fixed
2016-11-23 17:29:28 +03:00
Nikolay Krasko
59a349a4ae
Test breakpoint is hit inside crossinline lambda called from anonymous object (KT-12612)
...
#KT-12612 Fixed
2016-11-23 17:29:28 +03:00
Alexey Andreev
23428c9544
JS: fix coroutine test. Fix hanging IDEA tests
2016-11-23 17:01:03 +03:00
Alexey Andreev
ea1e196e9a
JS: remove unused imports from generated JS. Fix KT-14748
2016-11-23 12:19:04 +03:00
Alexey Andreev
cf89e24b49
JS: fix removal of unused lambdas after inlining
2016-11-23 12:19:04 +03:00
Alexey Andreev
40e00a62f5
JS: fix translation of augmented assignment when RHS changes value of LHS
2016-11-23 12:19:03 +03:00
Alexey Andreev
be196789d2
JS: fix bug in temporary variable elimination
2016-11-23 12:19:03 +03:00
Alexey Andreev
dc8e90809c
JS: coroutines: fix handling of throw statement inside try/catch block when controller has handleSuspend function
2016-11-23 12:19:02 +03:00
Alexey Andreev
e44edf12e0
JS: coroutines: fix inlining of suspend functions
2016-11-23 12:13:54 +03:00
Alexey Andreev
8b9852edec
JS: remove Kotlin.createClass/definePackage/etc functions from stdlib. Reimplement some classes in Kotlin
2016-11-23 12:13:54 +03:00
Alexey Sedunov
3eea735b4a
Kotlin Facet: Access Gradle files under read action (fixes failure of GradleInspectionTest)
2016-11-23 11:27:41 +03:00
Ilya Gorbunov
0eba06405a
Use InputStream as another guess for estimated size in InputStream.readBytes()
2016-11-22 23:37:29 +03:00
Ilya Gorbunov
e41cbe6fe1
Check that the length of a file can be represented as Int.
2016-11-22 23:37:27 +03:00
Ilya Gorbunov
c90ee13656
Performance: use byte array buffer directly to read the entire contents of a file.
...
#KT-14883 Fixed
2016-11-22 23:37:05 +03:00
Alexey Tsvetkov
5eaa23ec60
Minor: fix test data
...
dummy.kt was added for Gradle test (it does not start otherwise).
Old IC recompiles this file, so new and old IC logs are different.
2016-11-22 23:31:39 +03:00
Ilya Gorbunov
a8cc04d433
Use JRE7 for tests in other modules employing selenium.
2016-11-22 22:59:08 +03:00
Dmitry Jemerov
e7cf64631b
Don't offer updates for @snapshot@ plugin version
2016-11-22 20:04:06 +01:00
Dmitry Jemerov
0cfc4db2d4
Check for plugin update before allowing to submit exception
2016-11-22 20:03:22 +01:00
Alexey Sedunov
6881d071e5
Minor: Use mutable empty list (as IDEA may attempt to modify it after calling detector)
2016-11-22 19:55:36 +03:00
Alexander Udalov
22e1221c75
Support "default platform" in IDE via facet settings
2016-11-22 18:19:02 +03:00
Alexander Udalov
c0b5fd193a
Refactor DeserializedPackageFragment and subclasses
...
Push loadResource and loadResourceSure down to KotlinJavascriptPackageFragment,
as it's no longer needed in BuiltInsPackageFragment
2016-11-22 18:19:02 +03:00
Alexander Udalov
19520bf29c
Extract KotlinMetadataFinder interface out of KotlinClassFinder
2016-11-22 18:19:02 +03:00
Alexander Udalov
5f4313223e
Use a specific message collector in built-ins serializer
...
It's going to be needed to be able to report configuration errors when running
built-ins serializer (e.g. no output destination is passed as an argument)
2016-11-22 18:19:01 +03:00
Alexander Udalov
fcb094cd90
Introduce DefaultAnalyzerFacade, use it to analyze built-ins
2016-11-22 18:19:01 +03:00
Alexander Udalov
73f872172f
Add multi-platform projects as experimental language feature
2016-11-22 18:19:01 +03:00
Alexander Udalov
525e6e53fe
Do not report unhelpful diagnostic for unresolved call inside inline function
...
#KT-14887 Fixed
2016-11-22 18:19:01 +03:00
Alexander Udalov
eacf64e4db
Report initializer block-related diagnostic on 'init' keyword
2016-11-22 18:19:01 +03:00
Ilya Chernikov
68cf4bf440
Update changelog for 1.1-M03 release
2016-11-22 16:00:54 +01:00
Mikhail Glukhikh
45e28bef1c
Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed
2016-11-22 16:41:37 +03:00
Mikhail Glukhikh
c44ecded42
Refactoring: MoveAssignmentToInitializer --> JoinDeclarationAndAssignment
2016-11-22 16:41:27 +03:00
Mikhail Glukhikh
d4995c07f7
Convert primary constructor to secondary: KNPE fixed #KT-14745 Fixed
2016-11-22 16:35:28 +03:00
Dmitry Jemerov
13b2c2cd24
Add test for highlighting escape sequences in character literals
2016-11-22 13:24:13 +01:00
Dmitry Jemerov
d565e18889
Show enum constants in Goto Symbol
...
#KT-6535 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov
ab8abc9c62
Delete paired > after deleting < after any identifier, not just a class-like one
...
#KT-13279 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov
baf321a193
Highlight escape sequences in character literals
...
#KT-13795 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov
2fe2e1802e
Fix quote handler for character literals
...
#KT-12385 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov
b742c8a63d
Implement "Show non-public" filter for Kotlin structure view
...
#KT-14217 Fixed
2016-11-22 13:20:35 +01:00
Dmitry Jemerov
f586eebe16
KotlinStructureViewModel: cleanup after J2K
2016-11-22 13:20:35 +01:00