Roman Artemev
8bc80a9829
Fix secondary constructor lowering
2018-04-27 20:02:57 +03:00
Roman Artemev
8721990a7f
Implement access to members of super class
2018-04-27 20:02:56 +03:00
Roman Artemev
cf31e544eb
Implement default interface members
2018-04-27 20:01:45 +03:00
Roman Artemev
d861fb498f
Implement string plus operator
2018-04-27 20:00:41 +03:00
Roman Artemev
01fea13467
Fix name clashing between local variables
2018-04-27 20:00:41 +03:00
Roman Artemev
997328f584
Refactoring and fixes
2018-04-27 20:00:40 +03:00
Roman Artemev
deab0a017b
Add support for inner clases
2018-04-27 20:00:40 +03:00
Roman Artemev
746eb4b93e
Implement object class in JS BE
2018-04-27 20:00:39 +03:00
Roman Artemev
17ee38a0b7
Refactor secondary constructor lowering using new builders
2018-04-27 20:00:38 +03:00
Roman Artemev
752cbf2714
Implemented KFunction interface
2018-04-27 20:00:32 +03:00
Roman Artemev
09c54f1da3
Add symbol & IR builders to JS backend
2018-04-27 19:53:47 +03:00
Roman Artemev
c1a4aeb67f
Lift InnerClassesLowering from JVM to common since it is used by every backend in the same way
2018-04-27 19:53:47 +03:00
Roman Artemev
ed0c26ef07
Implement function literals in JS BE
2018-04-27 19:53:47 +03:00
Nikolay Krasko
c83ff5e75f
Remove files introduced in 181 from 173 branch
2018-04-27 19:45:23 +03:00
Nikolay Krasko
6683e07112
181: [Tests] Revert "Allow different diagnostics in Javac tests - workaround for IDEA-184289"
...
It is fixed in 181
2018-04-27 18:29:57 +03:00
Vyacheslav Gerasimov
c16a5c2538
Switch .bunch file to 181
2018-04-27 18:25:23 +03:00
Vyacheslav Gerasimov
8c88ac69df
Cleanup .181 bunch files
2018-04-27 18:25:21 +03:00
Vyacheslav Gerasimov
bc403ce744
Switch to 181 platform
2018-04-27 18:25:17 +03:00
Mikhail Glukhikh
df59af8ee8
Move sort modifiers test to inspection local group
...
This should fix test in 181 branch
2018-04-27 17:26:56 +03:00
Mikhail Glukhikh
8f0c53d0de
If then to elvis: handle nullability even with implicit receiver
...
So #KT-22741 Fixed
2018-04-27 17:26:50 +03:00
Mikhail Glukhikh
49165bdbef
Cleanup: better visibility
2018-04-27 17:26:37 +03:00
Mikhail Glukhikh
7601aaf89f
Reformat IfThenToElvisIntention
2018-04-27 17:26:36 +03:00
Denis Zharkov
b75024e3e0
Fix memory leak related to diagnostics computation within light classes
...
Before this change, when somebody has requested the exact light class
we also store LazyJvmDiagnostic for it in a map inside DiagnosticHolder.
The problem is that LazyJvmDiagnostic retains a lot of memory:
GenerationState, bindingContext, etc.
At the same time, it commonly happens that light classes are being computed from Java resolve and diagnostics are obviously
unnecessary there.
The solution has two parts:
1. We don't retain diagnostics until somebody explicitly requested them
2. We force computation of LazyJvmDiagnostic to avoid retaining
backend's parts
The solution has a kind of drawback: for an opened in editor Kotlin file,
we'll run back-end twice for contained classes (analysis parts should be reused, though)
#KT-24048 Fixed
2018-04-27 16:13:59 +03:00
Natalia Selezneva
26f1d6ae7c
Update Icon for .kts and .gradle.kts files
...
^KT-23431 Fixed
2018-04-27 13:52:31 +03:00
Natalia Selezneva
9107ef6490
New Script File Action
...
^KT-10935 Fixed
2018-04-27 13:52:26 +03:00
Natalia Selezneva
1d8d1e847a
Minor: add debug name for ErrorGradleScriptDefinition
2018-04-27 13:52:22 +03:00
Natalia Selezneva
ec63efec3c
Debugger: refactor list of breakpoints for the line with lambdas.
...
^KT-24136 Fixed
Rename main line breakpoint to "Line"
Change icon for lambda-breakpoint
Move "all breakpoint" to the end of the breakpoints list
2018-04-27 13:52:06 +03:00
Nikolay Krasko
8bce29df3a
Show plugin installation status in Kotlin Updates settings (KT-23980)
...
#KT-23980 Fixed
2018-04-27 13:08:28 +03:00
Nikolay Krasko
bf82da7584
Perform auto-check initial and checks after switching channels (KT-23980)
...
#KT-23980 Fixed
2018-04-27 12:16:37 +03:00
Nikolay Krasko
64845ac3b7
Better UI for configure plugin updates (KT-23980)
...
- Control with Alt + Letter
- Don't stretch channel combobox
- Focus on label selection
#KT-23980 Fixed
2018-04-27 12:16:37 +03:00
Nikolay Krasko
748e213598
Move Kotlin update channel setting to settings dialog (KT-23980)
...
#KT-23980 Fixed
2018-04-27 12:16:37 +03:00
Nikolay Krasko
144c41576e
Refactoring: inline KotlinInternalMode.enabled
2018-04-27 12:16:37 +03:00
Nikolay Krasko
82a21b3955
Move Kotlin internal actions to Internal menu and unify modes (KT-23975)
...
#KT-23975 Fixed
2018-04-27 12:16:36 +03:00
Ilya Chernikov
5af490f5e5
Remove script discovery files from example projects to avoid discovery problems:
...
- exception during loading of the definition with maven dependencies
- shading of the gradle script definition (if not fixed by the previous commit)
The discovery files should be restored after fixing/rewriting the discovery
and implementing definition prioritization in IDEA plugin
2018-04-27 09:03:15 +02:00
Ilya Chernikov
51888154e1
Change custom script examples file extensions:
...
fixes shadowing of the gradle script definitions after these example
script defs are loaded via discovery mechanisms
2018-04-27 09:03:15 +02:00
Ilya Gorbunov
ecf0d7ec0d
Reformat stdlib tests and samples
...
#KT-5558
2018-04-27 05:28:57 +03:00
Ilya Gorbunov
add09e0f2e
Reformat stdlib: js part
...
#KT-5558
2018-04-27 05:28:48 +03:00
Ilya Gorbunov
e3883d8d6d
Reformat stdlib: jvm part
...
#KT-5558
2018-04-27 05:28:38 +03:00
Ilya Gorbunov
c53a2d57c3
Reformat stdlib: common code
...
#KT-5558
2018-04-27 00:50:16 +03:00
Ilya Gorbunov
ad43c0f4cb
Reformat stdlib: collections
...
#KT-5558
2018-04-27 00:49:06 +03:00
Ilya Gorbunov
bea94d1d59
Update line numbers of inlined stdlib functions after updating copyright
...
This should not be needed, see KT-23862
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
3354d44fce
Fix false positives in CodeConformanceTest on identifiers like readCopyright
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
ffc975550f
Add/update copyrights in kotlin-stdlib-gen
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
2e12834b6a
Update copyrights in kotlin.test library
...
Change line number in StackTraceJVMTest due to the added copyright
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
d3156c33be
Update copyrights in builtin sources
...
Read copyright template from .idea/copyright/apache.xml profile
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
502418e690
Put copyrights to the generated standard library sources
...
Read copyright template from .idea/copyright/apache.xml profile
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
e21c235bbb
Add or update copyrights in the standard library sources
2018-04-26 21:57:50 +03:00
Ilya Gorbunov
40cd02bba6
idl2k: read copyright from profile and put it in the generated files
...
Also reword autogenerated warning a bit.
2018-04-26 21:57:50 +03:00
Nicolay Mitropolsky
8e91f31182
UnimplementedKotlinInterfaceMemberAnnotator: use modifier list to be compatible with 172
2018-04-26 20:40:26 +03:00
Vyacheslav Gerasimov
72c9dc7d35
Build: Remove buildSrc/intellij-sdk/build.gradle.kts.182
2018-04-26 19:33:01 +03:00