Denis Zharkov
96fa04569a
Minor. Simplify variable type resolution
2016-11-15 09:30:13 +03:00
Denis Zharkov
e21ecbe702
Minor. Split method VariableTypeResolver.process
...
It looks much natural to differ type resolution and setting
compile time initializer to descriptor
2016-11-15 09:30:13 +03:00
Nikolay Krasko
bce023c8ad
Make patch of obfuscated field in ThreadTracker more stable
2016-11-14 21:25:50 +03:00
Dmitry Jemerov
7beee33f05
Read bundled runtime version from build.txt in 'kotlinc' directory, not from plugin version
2016-11-14 18:51:36 +01:00
Ilya Gorbunov
e1cf89a956
Remove also Long/Char mixing binary operation intrinsics
2016-11-14 20:40:32 +03:00
Ilya Gorbunov
61e83a4db5
Remove obsolete range-related intrinsics from JS translator.
2016-11-14 20:40:32 +03:00
Mikhail Glukhikh
b850d71e17
Replace single line let: application on IDEA + front-end modules
2016-11-14 18:47:23 +03:00
Mikhail Glukhikh
09ae1f1a5d
False positive removed in replace single line let intention #KT-14791 Fixed
2016-11-14 18:47:18 +03:00
Mikhael Bogdanov
61da8be260
Generate parameters metadata for java 8 reflection
2016-11-14 14:27:08 +01:00
Mikhael Bogdanov
7721aa189f
Update proguard to 5.3 version
2016-11-14 14:27:08 +01:00
Dmitry Jemerov
3f7b9745b4
Fix race condition with synthetic files facade calculation in Upsource (UP-8046)
2016-11-14 12:56:34 +01:00
Ilya Gorbunov
b96deac09c
Annotate TYPEALIAS annotation target being available since Kotlin 1.1
2016-11-14 01:04:31 +03:00
Alexey Tsvetkov
f381f1e699
Revert default value for "main" parameter for Gradle JS plugin to "call"
...
#KT-14724 fixed
2016-11-11 21:25:05 +03:00
Dmitry Jemerov
ab0af43a6a
Update proguard file for compatibility with new Snappy version in IDEA 162-SNAPSHOT
2016-11-11 18:15:29 +01:00
Dmitry Jemerov
978b70e50b
Add test for KT-14751
2016-11-11 18:15:24 +01:00
Dmitry Jemerov
13a17b8bd7
Use 162.SNAPSHOT builds for IDEA to pick up fix for IDEA-162379
2016-11-11 18:14:54 +01:00
Alexander Udalov
0b6ad3bc07
Use target platform configured in facet in module analysis
2016-11-11 19:00:12 +03:00
Alexander Udalov
26a6ce9a31
Rename JVMPlatform and JSPlatform and make them nested in TargetPlatformKind
...
To avoid confusion with JvmPlatform and JsPlatform from frontend.java and
js.frontend respectively
2016-11-11 19:00:12 +03:00
Alexander Udalov
d0f31a2bc2
Minor, rename targetPlatformKindKind -> targetPlatformKind
2016-11-11 19:00:11 +03:00
Alexander Udalov
1ce8ed907c
Use TargetPlatformDetector.getPlatform instead of ProjectStructureUtil.isJsKotlinModule
...
The reason for this is to make the choice of the platform more explicit now
that there are more platforms than just JVM and JS (default platform, and also
possibly native in the future)
2016-11-11 19:00:10 +03:00
Alexander Udalov
0d4bd2a673
Use OperatorNameConventions constants instead of hardcoded literals
2016-11-11 19:00:09 +03:00
Alexander Udalov
61767bb0ea
Minor, annotate visibility constants with NotNull
...
To avoid nullability warnings on ClassDescriptor#getVisibility and
implementations
2016-11-11 19:00:08 +03:00
Alexander Udalov
65882579bc
Minor, add toString() for debug
2016-11-11 19:00:08 +03:00
Alexander Udalov
9e9c548ca3
Minor, print more debug info on serializing error annotation
2016-11-11 19:00:07 +03:00
Valentin Kipyatkov
0ef5f662ad
KT-14732 Slow typing, copy-pasting, highlighting in Kotlin files due to auto-import suggestion calculation in EDT
...
#KT-14732 Fixed
2016-11-11 16:45:14 +03:00
Dmitry Jemerov
3d3a202601
KotlinWithGradleConfigurator: cleanup after J2K
2016-11-11 14:39:18 +01:00
Dmitry Jemerov
47c80a1ad1
KotlinWithGradleConfigurator: J2K
2016-11-11 14:39:18 +01:00
Dmitry Jemerov
11c9dff97a
KotlinWithGradleConfigurator: rename to .kt
2016-11-11 14:39:18 +01:00
Dmitry Jemerov
3d01e92dd6
use DOM instead of MavenProjectsManager to detect whether Kotlin is configured (KT-9275)
2016-11-11 14:39:18 +01:00
Dmitry Jemerov
ebbf8888bb
Change KotlinProjectConfigurator API to return module status as a single enum instead of two distinct boolean values
2016-11-11 14:39:18 +01:00
Dmitry Jemerov
d8c7f2ffdb
KotlinProjectConfigurator: J2K
2016-11-11 14:39:18 +01:00
Dmitry Jemerov
7d442f9ca2
KotlinProjectConfigurator: rename to .kt
2016-11-11 14:39:18 +01:00
Alexey Andreev
f2c392d4e7
JS: minor fix after rebase
2016-11-11 16:26:41 +03:00
Alexey Andreev
6649e0cb82
JS: remove intrinsics for progressions
2016-11-11 16:26:40 +03:00
Alexey Andreev
dcb95eb9f0
JS: refactor range and progression related intrinsics
2016-11-11 16:26:40 +03:00
Alexey Andreev
5ef8879aae
JS: fixes after code review
2016-11-11 16:26:39 +03:00
Alexey Andreev
a72ea64142
JS: fix translation of lambdas in public inline functions; fix AMD emulation for Ant test
2016-11-11 16:26:39 +03:00
Alexey Andreev
6791ed7bf3
JS: fix obsolete tests
2016-11-11 16:26:38 +03:00
Alexey Andreev
a452260da6
JS: simplify merging kotlin.js
2016-11-11 16:26:38 +03:00
Alexey Andreev
ac4bfc645e
JS: refactor translation of callable references to top-level properties
2016-11-11 16:26:38 +03:00
Alexey Andreev
0252fe57af
JS: refactor flat declaration generator. Add more tests on inter-module dependencies
2016-11-11 16:26:37 +03:00
Alexey Andreev
cc38bd3146
JS: refactor code that exports local declaration from current module
2016-11-11 16:26:37 +03:00
Alexey Andreev
f244bbaae3
JS: change how declarations are exported from modules. Change how parts of kotlin.js merged
2016-11-11 16:26:36 +03:00
Alexey Andreev
3d9beb15da
JS: fix translation of !! operation
2016-11-11 16:26:36 +03:00
Alexey Andreev
cacd917350
JS: fix translation of extension properties
2016-11-11 16:26:36 +03:00
Alexey Andreev
0f87703c87
JS: rewrite code that copies interface members with implementation to subtypes
2016-11-11 16:26:35 +03:00
Alexey Andreev
8eca8efae5
JS: fix some bugs:
...
1. Fix translation of FQN in inline lambdas
2. Fix StringBuilder.length
3. Workaround order of declaration of names for imported declarations
2016-11-11 16:26:35 +03:00
Alexey Andreev
fd158a6922
JS: refactor Dart AST
2016-11-11 16:26:34 +03:00
Alexey Andreev
bec1e526a1
JS: fix generation of bridge methods for non-abstract methods inherited from interfaces
2016-11-11 16:26:34 +03:00
Alexey Andreev
bb57eaef96
JS: fix some minor issues in new flat translator
2016-11-11 16:26:34 +03:00