Alexander Udalov
73f872172f
Add multi-platform projects as experimental language feature
2016-11-22 18:19:01 +03:00
Alexey Sedunov
e59754e86c
Kotlin Facet: Configure facet automatically on Maven project import
2016-11-22 11:54:09 +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 Chernikov
6e96d192bf
Move incremental components to compller util to reduce dependencies of compiler interface modules
2016-11-09 11:09:32 +01:00
Mikhail Zarechenskiy
3df5efb236
Introduce language feature: underscores in numeric literals
...
#KT-2964 Fixed
2016-11-08 19:04:53 +03:00
Alexey Sedunov
30d08c989d
Kotlin Facet: Use facet configuration to provide language version for IDE analyzer
2016-11-07 20:03:30 +03:00
Alexey Sedunov
a2948a624f
Kotlin Facet: Reuse JvmTarget and LanguageVersion in facet configuration
2016-11-07 20:03:28 +03:00
Denis Zharkov
6491d3fbac
Do not report DSL scope violation error when language-version is 1.0
...
#KT-11551 Fixed
2016-11-01 15:58:14 +03:00
Denis Zharkov
09dc207052
Add SingleUnderscoreForParameterName language feature
2016-10-24 18:00:02 +03:00
Zalim Bashorov
3513cef779
KJS: increase JS binary version since name mangling slightly changed
2016-10-19 12:57:46 +03:00
Ilya Chernikov
846797ff61
Switch to templates in the separate script runtime
2016-10-12 15:38:52 +02:00
Alexander Udalov
167ab1f860
Introduce "-api-version" CLI option
...
The `@SinceKotlin("X.Y.Z")` annotation now hides a particular declaration from
resolution when the API version specified by the `-api-version` option is
_less_ than X.Y.Z. The comparison is performed as for versions in Maven:
MavenComparableVersion is in fact a copy of
org.apache.maven.artifact.versioning.ComparableVersion.
Also support "!API_VERSION" directive in diagnostic tests
#KT-14298 Fixed
2016-10-11 17:46:01 +03:00
Alexander Udalov
8d660c2f6e
Refactor gradle option generation mechanism
...
Ensure there's a statically checked dependency on LanguageVersion and
JvmTarget, so that this information is updated automatically once a new
language version or a JVM target is added
2016-10-11 17:30:15 +03:00
Alexander Udalov
2c66d4e59b
Move LanguageVersionSettings and JvmTarget to module 'util'
...
To be used from cli-common in the subsequent commits
2016-10-11 17:30:14 +03:00
Yan Zhulanow
824b778a7b
Kapt: support multiple annotation processing steps (KT-13651)
...
(cherry picked from commit 880e183)
2016-09-10 17:36:15 +03:00
Alexander Udalov
aaf618e035
Minor, inline HashSetUtil#symmetricDifference
2016-07-25 15:55:31 +03:00
Alexander Udalov
475fb6e8a7
Simplify OverrideResolver#filterOverrides
...
- move source vs binary equivalent call filtering hack to
ResolutionResultsHandler (see c4778bfe5a for
the original commit introducing this behavior)
- rewrite the algorithm so that it doesn't need noDuplicates in the beginning:
modulo the hack above whish is only needed in ResolutionResultsHandler,
descriptor equivalence is checked anyway in OverrideResolver#overrides
2016-07-25 15:55:31 +03:00
Denis Zharkov
ea7496044e
Minor. Move KotlinFrontEndException to frontend module
2016-07-04 18:16:06 +03:00
Alexey Andreev
33248e7721
KT-3008: minor code style fixes
2016-06-27 15:33:31 +03:00
Alexey Andreev
97605a97da
KT-3008: multiple minor fixes after code review
2016-06-27 15:33:28 +03:00
Ilya Gorbunov
644df89dc9
CLI: Allow to specify JDK for classpath building with '-jdk' compiler argument.
...
Maven: support jdk parameter linked to kotlin.compiler.jdk property.
Gradle: support jdk compiler option.
2016-06-23 22:46:07 +03:00
Alexander Udalov
d8db769823
Use empty list instead of ThrowingList in callable reference resolution
...
Clients of the call resolution do not expect to see a throwing list in call's
arguments, and it's wrong to make each of them check against the special case
that is the resolution of callable references
Fixes EA-69901
2016-06-07 12:42:45 +03:00
Alexander Udalov
a95568eedf
Minor, make Services#get return type nullable
2016-05-27 19:40:50 +03:00
Stanislav Erokhin
c4778bfe5a
Fixed type checking recursive problem.
...
#KT-11995 Fixed
2016-05-20 09:26:56 +03:00
Mikhail Glukhikh
1301d9047d
Code cleanup: redundant visibility (minor)
2016-05-13 17:57:08 +03:00
Mikhail Glukhikh
733f3e8025
Code cleanup: type parameters can have in / out variance
2016-05-13 17:57:02 +03:00
Alexander Udalov
7e17482698
Delete kotlin-jdk-annotations and kotlin-android-sdk-annotations
...
They were empty anyway for a long time
2016-01-28 21:48:16 +03:00
Ilya Gorbunov
6d5a65cac6
Minor: remove File?.readTextOrEmpty()
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
d728a1a6c7
Replace File.relativePath from stdlib with File.descendantRelativeTo in fileUtils.
...
IO utils: cleanup java usages.
2016-01-22 05:54:38 +03:00
Alexander Udalov
d4c4515944
Refactor BinaryVersion and subclasses, get rid of static factories
2016-01-19 18:39:59 +03:00
Alexander Udalov
9552accaec
Introduce BinaryVersion.isCompatible()
...
To decrease the chance to mix up the receiver and the first argument when
checking version compatibility
2016-01-19 18:39:59 +03:00
Alexander Udalov
04d335db15
Move version constants to corresponding BinaryVersion subclasses
2016-01-19 18:39:59 +03:00
Alexander Udalov
2f64680b63
Add several subclasses of BinaryVersion
...
To simplify comparison of expected vs actual versions in the future
2016-01-19 18:39:59 +03:00
Nikolay Krasko
5431c6937f
Allow to configure print accuracy and fetch temprory results from profiler
2016-01-19 13:33:51 +03:00
Alexander Udalov
d1f2255d38
Extract JS-related LibraryUtils utilities to JsLibraryUtils
2016-01-17 16:28:22 +03:00
Alexander Udalov
f9085327e7
Minor, export kotlin-reflect in 'util'
...
To allow many modules which depend on 'util' not depend explicitly on
kotlin-reflect
2016-01-17 16:28:22 +03:00
Dmitry Jemerov
117a0d8b7b
compiler: cleanup 'public', property access syntax
2016-01-07 17:57:38 +01:00
Ilya Gorbunov
80916d5ed7
Cleanup in compiler modules
2015-12-29 18:04:15 +03:00
Ilya Gorbunov
b71b336a69
Fix fq names of moved facade classes in imports and other code occurrences
2015-12-29 18:04:13 +03:00
Michael Bogdanov
e671d05105
Companion public val annotated with @JvmFIeld or const
2015-12-29 16:45:23 +03:00
Alexander Udalov
2ccd6d54b7
Add kotlin-reflect as a separate library
...
Exclude in core modules, since they do not have kotlin-reflect.jar in
dependencies when are built in build.xml
2015-12-21 18:46:08 +03:00
Sergey Mashkov
b57d2ff702
Add kotlin.test library to build distribution and provide for tests
2015-12-18 22:16:04 +03:00
Alexey Tsvetkov
d53cd3c70b
Save system properties in incremental jps tests
2015-12-02 20:56:38 +03:00
Alexey Tsvetkov
69c906014f
Enable separate versioning for experimental incremental compilation
2015-12-02 20:56:35 +03:00
Michael Nedzelsky
5b59fc74bc
fix access from tests to internal elements in production code in case of circular dependency
2015-11-11 19:16:21 +03:00
Nikolay Krasko
c0739ef53c
Add prefix information for Java source root (KT-9167 in progress)
...
#KT-9167 In Progress
2015-11-10 01:50:08 +03:00
Alexey Tsvetkov
ce7d1eb8e2
Add incremental compilation tests with lookup cache enabled
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov
67878fe13a
Use new lookup tracker only when experimental incremental compilation is enabled
2015-11-06 16:44:51 +03:00
Alexander Udalov
fb5d8de84b
Use type table in DescriptorSerializer, add switch to enable/disable, test
2015-10-15 18:25:40 +03:00
Alexander Udalov
556a169a5d
Update stdlib usages of PropertyMetadata to KProperty<*>
2015-10-15 00:05:31 +03:00