Ilya Chernikov
877dd7ee47
Change default jvmTarget for scripts compilation via jvmhost to 1.8
...
#KT-29319 fixed
2019-01-18 18:17:47 +01:00
Ilya Chernikov
a6c90f13c2
Implement test for #KT-29301, #KT-29296 and #KT-29293
2019-01-18 18:17:46 +01:00
Ilya Chernikov
5fffeda534
Keep ivy resolvers in the main-kts.jar
...
#KT-29301 fixed
2019-01-18 18:17:45 +01:00
Ilya Chernikov
2bb5e8f51f
Implement and use helpers for economical classpath update in script configs
2019-01-18 18:17:45 +01:00
Ilya Chernikov
c7e5ad861c
Allow explicit nulls for props with default, allow null as base classloader for evaluation
...
and use proper default evaluation configuration if not supplied explicitly;
also add reset method to the properties builder and containsKey method to
the properties collection
#KT-29296 fixed
2019-01-18 18:17:44 +01:00
Ilya Chernikov
086c4fd5b9
Add stdlib, etc. to the script dependencies on compilation
...
#KT-29293 fixed
2019-01-18 18:17:44 +01:00
Vyacheslav Gerasimov
cf5657e916
as34: Limit AS 3.4 until-build to be lesser than AS 3.5
2019-01-18 20:09:10 +03:00
Vyacheslav Gerasimov
b2db027ded
Add constant for AS 3.5 to IdeCompatibilityDsl
2019-01-18 20:09:10 +03:00
Vyacheslav Gerasimov
7aee03a2b0
as35: Set since build to AS 3.5 C1 build number
2019-01-18 20:09:09 +03:00
Vyacheslav Gerasimov
9a4a4d0c14
as35: Add bunch files for AS 3.5
2019-01-18 20:09:09 +03:00
Nikolay Krasko
ad3114aa5f
Allow generate closed start tags and do not reorder specific tags
2019-01-18 19:42:44 +03:00
Nikolay Krasko
3548d25095
Introduce wrapper for EditorFactoryListener to warn about compatibility issues
2019-01-18 19:42:43 +03:00
Nikolay Krasko
74bc440e44
Remove all that left from 173 branch
2019-01-18 19:42:43 +03:00
Nikolay Krasko
046a0e059c
Always add last version of idea for which change is needed to BUNCH
...
BUNCH directive should contain last idea IDEA version this change is
meant for.
2019-01-18 19:42:43 +03:00
Alexander Podkhalyuzin
36b2640ab7
Removed usages to deprecated API, which is going to be removed in 2019.1
2019-01-18 17:17:30 +03:00
Natalia Selezneva
76b06cd747
Scratch: associate inlay with preceding text
...
This allow to avoid some unintentional movements of caret after inserting scratch output
2019-01-18 16:04:53 +03:00
Natalia Selezneva
290ae16235
Scratch: implement interactive mode
...
^KT-27955 Fixed
2019-01-18 16:04:53 +03:00
Max Medvedev
9b0b3971e4
Wrong position of type hint while renaming Kotlin variable
...
#KT-19558 fixed
2019-01-18 14:31:46 +03:00
Max Medvedev
a9362d844a
Implemented "Complete statement" for completion
...
#KT-18663 fixed
2019-01-18 14:28:49 +03:00
Ilmir Usmanov
e8c52e0a8f
Do not mark fake inliner variables as alive
...
This prevents them from spilling.
#KT-29317 Fixed
2019-01-18 13:45:20 +03:00
Ilmir Usmanov
7e4e1b9a4d
Add regression test
...
#KT-29327
2019-01-18 13:44:07 +03:00
Ilmir Usmanov
dc6bb4cd08
Revert "Simplify tail-call optimisation check"
...
This reverts commit a5bcd3495e .
#KT-27190: Open
#KT-29327: Fixed
2019-01-18 13:44:05 +03:00
Mikhael Bogdanov
8fb2633bf4
Minor. Patch test to avoid failing in Native
2019-01-18 09:52:56 +01:00
Anton Yalyshev
a4386cf28a
Merge remote-tracking branch 'origin/master'
2019-01-18 11:14:17 +03:00
Andrey Uskov
2659011440
Fix compilation of GradleImportingTestCase in bunches
2019-01-18 00:45:20 +03:00
Georgy Bronnikov
c3352d5fdb
Unmute several tests, mute one
2019-01-17 23:46:26 +03:00
Georgy Bronnikov
7df0cffac9
Move declaration origins to IrDeclarationOrigin.kt
2019-01-17 23:46:26 +03:00
Georgy Bronnikov
bccb451afd
Add isSyntheic flag to IrDeclarationOrigin
2019-01-17 23:46:26 +03:00
Georgy Bronnikov
ec0842c0f4
Remove descriptors from CallableReferenceLowering
2019-01-17 23:46:26 +03:00
Georgy Bronnikov
67ab8624c3
Add DeepCopyIrTreeWithDescriptors
2019-01-17 23:46:26 +03:00
Georgy Bronnikov
da0a823992
Remove descriptors from LocalDeclarationslowering
2019-01-17 23:46:26 +03:00
Vyacheslav Gerasimov
b525146009
Build: Switch to prebuilt protobuf-lite from teamcity repo
...
#KT-29202
2019-01-17 20:45:11 +03:00
Vyacheslav Gerasimov
1efd859909
Exclude protobuf-relocated build directory in CodeConformanceTest
...
#KT-29202
2019-01-17 20:45:11 +03:00
Vyacheslav Gerasimov
c7ab69829e
Build: Convert protobuf to includable build with maven publication
...
#KT-29202
2019-01-17 20:45:11 +03:00
Vyacheslav Gerasimov
6a3e5c4c94
Build: Move protobuf projects to subdirectory
...
#KT-29202
2019-01-17 20:45:11 +03:00
Ilya Gorbunov
0ac85ad715
Document that sorting is stable in each platform
...
#KT-12473 Fixed
2019-01-17 18:38:37 +03:00
Ilya Gorbunov
56672c2564
Ensure stable sorting in MutableList.sort/sortWith
...
MutableList.sortWith now works correctly in JS_IR backend too
#KT-12473
2019-01-17 18:38:23 +03:00
Andrey Uskov
7191624a92
Fix compilation of KotlinGradleProjectResolverExtension in bunches
2019-01-17 17:20:43 +03:00
Denis Zharkov
82537cdc8b
Add recovery for missing comma between arguments
...
^KT-13497 Fixed
2019-01-17 14:58:01 +03:00
Denis Zharkov
37614254d7
Fix test on unused import suppression
...
Before the fix for KT-7185, the file looked like:
package suppression
@file:Suppress("UnusedImport")
import java.io.* // unused
And it was parsed incorrectly, because @file: annotations
should come before package directive
But after fix, import directives started being parsed that lead
to wrong unused import (because suppression wasn't parsed still)
2019-01-17 14:56:42 +03:00
Denis Zharkov
db53c4bea4
Add test for obsolete recovery case (semi-finished extension)
...
^KT-7405 Obsolete
2019-01-17 14:56:42 +03:00
Denis Zharkov
65e6e21d0f
Add recovery for import lists in the middle of the file
...
Note, that it only works for top-level declarations
^KT-7185 Fixed
2019-01-17 14:56:42 +03:00
Denis Zharkov
e6710b6fa2
Add recovery for value parameter without type or name
...
The case for KT-7237 belongs to /NoGTInTypeArguments test
It was fixed implicitly: before it recovery was working but the name for
the next parameter was attached to type argument list.
After that change, parameter without name gets parsed correctly (with an
error of course)
^KT-13731 Fixed
^KT-7237 Fixed
2019-01-17 14:56:42 +03:00
Denis Zharkov
5437a0e478
Add recovery for enum declaration without 'class' keyword
...
^KT-13703 Fixed
2019-01-17 14:56:42 +03:00
Denis Zharkov
1688fed0b7
Minor. Rename PropertyParsingMode -> DeclarationParsingMode
2019-01-17 14:56:42 +03:00
Denis Zharkov
8b3ffee183
Minor. Rename defaultDetected -> companionDetected
2019-01-17 14:56:42 +03:00
Denis Zharkov
ee75b8c7e5
Minor. Extract KotlinParsing::parseCommonDeclaration
2019-01-17 14:56:42 +03:00
Dmitry Petrov
c1de845d29
Generate switch instruction for 'when' with unsigned subject
2019-01-17 13:49:39 +03:00
Dmitriy Dolovov
3c2d026128
CIDR: Always relax upper limit of product version in K/N plugin for non-public CIDR builds
...
Issue #KT-29338:fixed
2019-01-17 17:30:16 +07:00
Andrey Uskov
618a7c3747
Improve logging in gradle import tests
2019-01-17 13:20:58 +03:00