Mikhail Glukhikh
|
04df23941f
|
Minor fix of problem with non-existent ProjectFileIndex
|
2016-12-13 18:53:44 +03:00 |
|
Stanislav Erokhin
|
59efedf610
|
Rename platform to header.
|
2016-12-13 18:00:00 +03:00 |
|
Mikhael Bogdanov
|
facee84020
|
Temporary remove JVM_1_8 target from facet settings
|
2016-12-13 14:51:27 +01:00 |
|
Mikhael Bogdanov
|
dc5c3a478c
|
Always use default 1.6 build target unless of 'jvm-target' option
|
2016-12-13 14:51:27 +01:00 |
|
Mikhail Zarechenskiy
|
ef662a5679
|
Declare intrinsic rem operator for primitives
|
2016-12-13 16:33:33 +03:00 |
|
Dmitry Jemerov
|
66f58c08b2
|
To avoid obtaining stub-based types with no underlying AST node, create class types from reference elements manually
|
2016-12-13 12:44:02 +01:00 |
|
Dmitry Jemerov
|
502e99e918
|
Don't expect library classes to be shown in hierarchy view when using production scope
|
2016-12-13 12:43:55 +01:00 |
|
Dmitry Jemerov
|
aad945e629
|
Run Gradle inspection test in EDT
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
5cd9c0f729
|
Recognize new class finder added in 2016.3
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
b8dc1b6771
|
Allow regex matching of available action names; accept both 2016.2 and 2016.3 names of static import quickfix
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
76b5eadbaa
|
Mark file writable before creating intention delegate (change of writable property can increment out-of-code-block modification count, which recreates the cached resolve session)
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
16e648e333
|
More sensible implementation of caching quickfix data between multiple fixes
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
a3aa2ca81e
|
Use BodyResolveMode.PARTIAL_WITH_DIAGNOSTICS for checking whether an auto-import is still required
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
4f916773c2
|
Add missing preparePsiElementForWrite() call
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
baad540516
|
Workaround for added @NotNull annotation on ProjectFileIndex.getInstance()
|
2016-12-13 12:40:03 +01:00 |
|
Dmitry Jemerov
|
24c1d9f90b
|
Compilation fix due to added @NotNull annotation on MoveFilesOrDirectoriesUtil.doMoveFile
|
2016-12-13 12:40:03 +01:00 |
|
Alexey Andreev
|
d9cf15a665
|
JS: deparenthesize LHS of assignment before choosing appropriate AccessTranslator. Fix KT-15169
|
2016-12-13 14:05:25 +03:00 |
|
Alexey Andreev
|
52347aa901
|
JS: increase JS metadata version due to some breaking changes (JsModule, for example)
|
2016-12-13 14:00:10 +03:00 |
|
Alexey Andreev
|
9dc16f0564
|
JS: prohibit runtime annotations on external declarations. Warn about runtime annotation in remaining cases. See KT-13895
|
2016-12-13 13:58:41 +03:00 |
|
Stanislav Erokhin
|
dbe8edda5f
|
Remove propertyDelegate and fix unused parameter checker for provideDelegate.
|
2016-12-12 23:14:09 +03:00 |
|
Stanislav Erokhin
|
9dc9fb578f
|
Rename toDelegateFor to provideDelegate.
|
2016-12-12 23:14:07 +03:00 |
|
Stanislav Erokhin
|
db5250a614
|
Minor. Update Lookup test data.
|
2016-12-12 23:14:06 +03:00 |
|
Alexey Andreev
|
a01fac9d10
|
JS: support toDelegateFor in JS backend (see KT-15163)
|
2016-12-12 23:14:05 +03:00 |
|
Mikhael Bogdanov
|
937a933150
|
Support local 'toDelegatedFor' properties
|
2016-12-12 23:14:02 +03:00 |
|
Mikhael Bogdanov
|
c5e14a2059
|
Some new tests for 'toDelegateFor'
|
2016-12-12 23:14:01 +03:00 |
|
Dmitry Petrov
|
97d5bbf1c2
|
toDelegateFor: JVM BE implementation
|
2016-12-12 23:13:59 +03:00 |
|
Dmitry Petrov
|
e2b6d2d849
|
Drop 'propertyDelegated' convention (without additional deprecation ceremony).
|
2016-12-12 23:13:58 +03:00 |
|
Dmitry Petrov
|
5ddf8e60e6
|
Use delegate initializer expression resolution scope for 'toDelegateFor' resolution.
|
2016-12-12 23:13:57 +03:00 |
|
Dmitry Petrov
|
a6bc7271ae
|
operator toDelegateFor: add front-end test for local delegate property
|
2016-12-12 23:13:56 +03:00 |
|
Dmitry Petrov
|
2ee31916c7
|
'createDelegate' operator renamed to 'toDelegateFor'
|
2016-12-12 23:13:55 +03:00 |
|
Dmitry Petrov
|
e2ba288323
|
'createDelegate' operator convention:
- resolution & inference
- additional diagnostic for language feature support
|
2016-12-12 23:13:54 +03:00 |
|
Dmitry Petrov
|
d3ab0f066e
|
'createDelegate' operator declaration
|
2016-12-12 23:13:53 +03:00 |
|
Dmitry Petrov
|
558e8aaebb
|
DelegatedPropertyResolver: convert to Kotlin & cleanup.
|
2016-12-12 23:13:52 +03:00 |
|
Dmitry Petrov
|
85276c27f0
|
DelegatedPropertyResolver: .java --> .kt
|
2016-12-12 23:13:51 +03:00 |
|
Dmitry Jemerov
|
7e92cf2af7
|
Don't create light classes for platform declarations
#KT-15137 Fixed
|
2016-12-12 20:47:45 +01:00 |
|
Dmitry Jemerov
|
b4dd54f874
|
Add element validity check to KotlinRunConfigurationProducer.getStartClassFqName() (EA-86393 - PIEAE: PsiFileImpl.getText)
|
2016-12-12 17:50:28 +01:00 |
|
Dmitry Jemerov
|
2cc42ba151
|
Highlight code fragments only when they have a context (part of EA-84233 - assert: GetModuleInfoKt$getModuleInfo$.invoke)
|
2016-12-12 17:50:27 +01:00 |
|
Dmitry Jemerov
|
d6cd1486c6
|
Implement supertype access methods in KtLightClassForFacade without delegate access (EA-92490 - ISE: KtLightClassForFacade.getClsDelegate)
|
2016-12-12 17:50:27 +01:00 |
|
Dmitry Jemerov
|
48513c7b1d
|
Better diagnostics for "no resolver for module descriptor" situation (EA-72838 - ISE: EmptyResolverForProject.resolverForModuleDescriptor)
|
2016-12-12 17:50:26 +01:00 |
|
Dmitry Jemerov
|
bd0aa5a358
|
Avoid committing document in KDoc beforeCharTyped handler (EA-88521 - assert: PsiDocumentManagerBase.commitDocument)
|
2016-12-12 17:50:20 +01:00 |
|
Dmitry Jemerov
|
7f02c67fbf
|
Avoid NPE while calculating assertion message (EA-92384 - NPE: KtElementImpl.getContainingKtFile)
|
2016-12-12 17:50:19 +01:00 |
|
Dmitry Jemerov
|
d5e90b4123
|
Remove unnecessary uses of getContainingKtFile() (EA-83360 - CCE: KtElementImplStub.getContainingKtFile)
|
2016-12-12 17:50:11 +01:00 |
|
Dmitry Jemerov
|
b5ad1e1be5
|
Check for file validity before calling findFileByRelativePath() (EA-92325 - IVFAE: VirtualDirectoryImpl.doFindChild)
|
2016-12-12 17:50:10 +01:00 |
|
Roman Elizarov
|
8affb2726f
|
Pluggable Synthetic Objects
|
2016-12-12 18:43:26 +03:00 |
|
Simon Ogorodnik
|
7a4b6a1462
|
Fix for EA-89556 - (from J2K) ROME: DocumentImpl.replaceString
|
2016-12-12 18:35:16 +03:00 |
|
Dmitry Jemerov
|
13b8494373
|
Remove unnecessary cyclic dependency between KtStubElementTypes and KtNodeTypes
#KT-15074 Fixed
|
2016-12-12 16:26:58 +01:00 |
|
Dmitry Jemerov
|
a7bd910dbb
|
Don't try to calculate icon for invalid PSI elements
#KT-13443 Fixed
|
2016-12-12 16:24:51 +01:00 |
|
Simon Ogorodnik
|
fb5398cdcd
|
Fix for KT-14885 J2K on paste adds duplicated imports
|
2016-12-12 18:16:17 +03:00 |
|
Alexey Andreev
|
39de1a7659
|
JS: generate temporary names for function parameters. Remove tests for js() function that references parameters. Remove such usages of js() function from stdlib
|
2016-12-12 14:30:45 +03:00 |
|
Alexey Andreev
|
b634c2cbe3
|
JS: declare names for native declaration in root scope, to avoid clashing between inner names and global native names. Fix KT-14806
|
2016-12-12 14:30:45 +03:00 |
|