Nikolay Krasko
40d810ce60
Make step over for single thread work in Ultimate
...
(cherry picked from commit a220e64)
2016-10-14 14:52:39 +03:00
Nikolay Krasko
7992df7b93
Change the way 'step over' over inline calls works (KT-13751)
...
Previously it worked by invoking 'Run To Cursor' for the last position of inline function. As there's only one 'run to cursor' breakpoint
available in Idea framework, it couldn't work when inline function call was was used in conditions of control flow statements.
A new approach works through multiple step over operation and controlling stop position. In other words we try to "step over" inlined lines.
Same thing is actually done in "Smart Step Into" action.
(cherry picked from commit 2e8775d)
#KT-13751 Fixed
2016-10-14 14:52:31 +03:00
Nikolay Krasko
9594316b0a
Test for "Breakpoint inside lambda argument of InlineOnly function doesn't work" (KT-11395)
...
(cherry picked from commit d0ffe06)
#KT-11395 Fixed
2016-10-14 14:52:22 +03:00
Nikolay Krasko
87b628a3f7
Generate 'nop' instruction on lambda call when everything on line is going to be eliminated by inliner (KT-6477)
...
(cherry picked from commit 462bdb2)
#KT-6477 Fixed
2016-10-14 14:52:06 +03:00
Yoshinori Isogai
708a0e3b5d
KT-14329 Do not report inspection "Remove empty class body" for anonymous objects ( #972 )
2016-10-14 13:00:55 +02:00
Valentin Kipyatkov
2b2042860d
Fixed ParameterName annotation target
2016-10-14 12:24:43 +03:00
Michael Bogdanov
050139220d
Fix for KT-14330 java.lang.IllegalArgumentException: Parameter specified as non-null is null: method ... parameter value
...
#KT-14330 Fixed
2016-10-14 10:56:15 +03:00
Dmitry Petrov
fbe3f1537f
Make static initializer classes for inheriting multifile class parts annotated as SYNTHETIC_CLASS.
2016-10-14 10:41:20 +03:00
Zalim Bashorov
0a0a05d211
Add tasks to download node.js (platform independently) and tasks to publish packages to npm; extract some common things to common.xml
2016-10-13 23:22:36 +03:00
Zalim Bashorov
96830e306a
JS: add templates for kotlin and kotlin-compiler packages
2016-10-13 23:22:36 +03:00
Valentin Kipyatkov
76fe1ec0d9
KT-14353 ClassCastException during offline inspections
...
#KT-14353 Fixed
2016-10-13 21:51:38 +03:00
Alexey Sedunov
3eb5076a7c
Rename: Fix in-place rename on non-overriding functions
2016-10-13 19:01:00 +03:00
Alexey Sedunov
c6c65b1a20
Kotlin Facet: Initial implementation
2016-10-13 19:00:59 +03:00
Alexey Sedunov
5c2ad48375
Introduce Variable: Do not replace assignment left-hand sides
...
#KT-14240 Fixed
2016-10-13 19:00:58 +03:00
Alexey Sedunov
ec00b9f3ea
Intentions: Implement "Convert sealed class to enum" intention
...
#KT-14245 Fixed
2016-10-13 19:00:57 +03:00
Alexey Sedunov
2187a77646
Intentions: Implement "Convert enum to sealed class" intention
...
#KT-14245 In Progress
2016-10-13 19:00:56 +03:00
Alexey Sedunov
02e8d58acd
Rename: Forbid on backing field reference
...
#KT-14285 Fixed
2016-10-13 19:00:55 +03:00
Alexey Sedunov
c23c16f1a3
Extract Superclass/Interface: Add filename field to the dialog
2016-10-13 19:00:54 +03:00
Simon Ogorodnik
e14a043b0a
Fix for KT-10885
...
Assignment as expression conversion: e.g int i = j = 0
2016-10-13 18:52:44 +03:00
Simon Ogorodnik
d731f97c7d
Fix KT-13021, KT-13020, Test for already fixed KT-6941
...
Fixes on javadoc to kdoc comments convert
2016-10-13 18:52:31 +03:00
Simon Ogorodnik
155cfcb1f8
Fix for KT-6424
...
Remove "SuppressWarnings" and "//noinspection" on java to kotlin conversion
2016-10-13 18:51:48 +03:00
Dmitry Petrov
47b3420a65
Minor: testData fix after rebase
2016-10-13 18:03:00 +03:00
Dmitry Petrov
e7ca00d91b
Support @SinceKotlin annotation for type aliases.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
8d634f6003
KT-14274: resolve type alias constructors calls in supertypes list as type alias constructors.
...
Support @Deprecated for type aliases, including type alias constructors.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
bee0e783f8
Minor cleanup.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
3d0288ffed
Annotations on type aliases: generate synthetic method for type alias annotations.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
d2d8f72ffc
Annotations on type aliases: typealias is not a "default target".
...
Add diagnostic test for annotations on type aliases.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
344bb03e8c
Annotations on type aliases: add annotation target TYPEALIAS,
...
use it for @Deprecated and @Suppress.
2016-10-13 17:52:21 +03:00
Dmitry Petrov
c6350e1afb
Concatenate annotations in type alias expansion.
2016-10-13 17:44:14 +03:00
Mikhail Glukhikh
7a41d13b41
Do not add special names to scopes #KT-14319 Fixed
2016-10-13 17:17:05 +03:00
Dmitry Jemerov
7263109413
advance until-build to 171.*
2016-10-13 16:15:07 +02:00
Dmitry Jemerov
b1b171fbc5
correct way to check if intention is applicable; revert: Delete test that is transformed syntax error
2016-10-13 15:45:55 +02:00
takahirom
925c48c2f0
Fix 'in' operator intention for Strings (KT-13974)
2016-10-13 15:45:30 +02:00
takahirom
93c2e7dfc0
KT-13550 Fix Boolean.TYPE does not compile ( #969 )
...
* Fix Boolean.TYPE does not compile
2016-10-13 15:02:06 +02:00
Valentin Kipyatkov
29fe63d5a9
More correct code - ensure that equals works correctly!
2016-10-13 15:56:18 +03:00
Valentin Kipyatkov
0399772ee6
KT-9835 Completion thinks receiver is nullable when it is not
...
#KT-9835 Fixed
2016-10-13 15:11:19 +03:00
Valentin Kipyatkov
7b12dd498f
KT-13780 No completion and assertion error in log
...
#KT-13780 Fixed
2016-10-13 15:10:53 +03:00
Ilya Chernikov
09a3741eb9
Add missing script runtime jar to plugin's lib folder
2016-10-13 10:36:51 +02:00
Dmitry Petrov
71362d6b0a
Cleanup and unify RangeCodegenUtil functions.
2016-10-13 10:11:32 +03:00
Vsevolod
e788ef408f
KT-5044 code cleanup, test added
2016-10-13 10:11:32 +03:00
Vsevolod
bd6f83b9b7
KT-5044 intrinsify all contains calls for primitive ranges from stdlib
2016-10-13 10:11:32 +03:00
Vsevolod
d7ad27ac3b
KT-5044 implement missing Range#contains tests and move it to separate package
2016-10-13 10:11:32 +03:00
Ilya Gorbunov
0b3fb41eeb
Do not include $DefaultImpls inner classes in public API when they do not contain any public members (i.e. used only as a container to hold synthetic methods with annotations for properties or typealiases)
2016-10-13 09:52:42 +03:00
Ilya Gorbunov
2c9b2652c1
kotlin-maven-plugin: Add apiVersion parameter linked with kotlin.compiler.apiVersion property.
...
Test apiVersion parameter is applied as explicitly and as implicitly inferred from languageVersion.
#KT-14298
2016-10-13 08:37:34 +03:00
Ilya Gorbunov
ea51070446
Refactor: make languageVersion configuration parameter common for jvm and js kotlin maven compiler plugin.
2016-10-13 08:37:33 +03:00
Ilya Gorbunov
2a7717214b
Annotate new API with @SinceKotlin in kotlin-runtime except reflection and type aliases.
2016-10-13 08:37:31 +03:00
Ilya Gorbunov
a57321dea8
Annotate all new API with SinceKotlin in kotlin-stdlib and kotlin-test
2016-10-13 08:37:30 +03:00
Ilya Gorbunov
a8f381cabc
Annotate with SinceKotlin all in stdlib-jre7 and jre8
2016-10-13 08:37:28 +03:00
Ilya Gorbunov
70c3a0a244
Include new annotations (SinceKotlin, ParameterName) in public API reference.
2016-10-13 08:10:37 +03:00
Ilya Chernikov
0d73d9acc9
Update changelog: add scripting part to 1.1-M02
2016-10-12 22:59:33 +02:00