Alexander Udalov
464820458e
JS: rename "-library-files" argument to "-libraries" and change separator
...
Use the system separator (':' or ';') instead of commas
#KT-16083 Fixed
2017-01-31 16:26:35 +03:00
Alexander Udalov
e9a737b85a
Promote severity of configuration warnings to STRONG_WARNING
...
The reason is that these configuration problems may be the reason of
compilation errors, but they were hidden from the output because warnings are
not reported when there's at least one error
2017-01-30 16:01:29 +03:00
Alexander Udalov
7ac96163ac
Introduce CompilerMessageSeverity.STRONG_WARNING
...
This is a severity for mandatory warnings, i.e. those which should be reported
in any case, even if there are compilation errors
2017-01-30 16:01:27 +03:00
Alexander Udalov
e5680565b3
JS: drop "-kjsm" flag, merge logic with "-meta-info"
...
#KT-16049 Fixed
2017-01-30 11:31:03 +03:00
Alexander Udalov
17b0b7704f
JS: minor, drop obsolete VFS_PROTOCOL
2017-01-30 11:31:02 +03:00
Ilya Chernikov
7c0cdf90cf
Move daemon session flag files to daemon discovery dir by default + minor fixes:
...
- Move flag files from the temp dir, because right now JPS cleans temp dir on each build start. Should fix KT-15707, also may affect KT-15562.
- change compiler runner to allow the fix above
- Fix flag file name filtering
- Fix ifAlive handling on the new compile method in the daemon.
2017-01-28 15:36:06 +01:00
Denis Zharkov
8fa8ba7055
Move coroutine-related runtime parts to kotlin.coroutines.experimental package
...
#KT-15975 Fixed
2017-01-27 23:24:13 +03:00
Alexey Sedunov
deb9258994
Misc: Reverted 1fb90ac0fd 'Copy compiler arguments from iml even if "Use project settings" checkbox is checked' as it's rendered obsolete due to "Use project settings" being turned off by default in Gradle/Maven projects
2017-01-26 18:06:19 +03:00
Alexey Tsvetkov
b9dbe69232
Rebuild all kotlin files when EAP flag is changed
2017-01-26 13:38:52 +03:00
Alexey Tsvetkov
4a63e47aa0
Save JvmBuildMetaInfo to file after build
2017-01-26 13:38:52 +03:00
Ilya Chernikov
ec7e8873f4
Update daemon client with wrappers for basic compiler API
...
Other changes to extract results for compiler, tests.
2017-01-25 15:29:15 +01:00
Alexey Sedunov
57c27299dd
JPS: Use facet configuration to determine if module should be compiled to JS
2017-01-23 15:16:12 +03:00
Ilya Gorbunov
3ec48ab244
Add kotlin.comparisons package to default imports.
2017-01-19 18:21:14 +03:00
Zalim Bashorov
6ea6e4ab98
KJS: move println to kotlin.io; import kotlin.io by default in Default platform
2017-01-18 14:25:36 +03:00
Alexey Tsvetkov
58fd2530d2
Pass compiler args from facets when compiling in fallback mode from JPS
2017-01-17 19:18:18 +03:00
Denis Zharkov
9f217de10b
Write kotlin metadata on class-files for coroutine state machines
...
Otherwise it breaks JPS assumptions, that leads to exceptions like:
Error:Kotlin: [Internal Error] java.lang.AssertionError: Couldn't load KotlinClass from /Users/jetbrains/IdeaProjects/KotlinPlaygroundBeta11/out/production/KotlinPlaygroundBeta11/Counter$both$1.class; it may happen because class doesn't have valid Kotlin annotations
at org.jetbrains.kotlin.build.GeneratedJvmClass.<init>(generatedFiles.kt:36)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.getGeneratedFiles(KotlinBuilder.kt:469)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.doBuild(KotlinBuilder.kt:241)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.build(KotlinBuilder.kt:140)
...
2017-01-16 17:53:15 +03:00
Yan Zhulanow
1fb90ac0fd
Copy compiler arguments from iml even if "Use project settings" checkbox is checked. This is deadly needed for the compiler plugins no-arg and all-open, assuming that the default state of the checkbox is "on". (KT-15686, KT-15686).
...
This is a temporary fix, and it should be reverted when "Use project settings" will be disabled by default in modules imported from external build tools (Maven, Gradle).
2017-01-15 22:11:11 +09:00
Denis Zharkov
c7f76d7ec8
Minor. Fix tests after CoroutineContext introduction
2017-01-14 15:13:36 +03:00
Denis Zharkov
2cb9d3a8ad
Move coroutine intrinsics to kotlin.coroutine.intrinsics package
...
Also rename val SUSPENDED to SUSPENDED_MARKER
#KT-15698 Fixed
2017-01-14 13:24:53 +03:00
Alexey Tsvetkov
e0fa11b0c1
Fix handling OUTPUT message from daemon in JPS client
2017-01-13 22:17:41 +03:00
Alexey Tsvetkov
bdae0b5efb
Fix the build
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
a3415d8d0e
Minor: move CompilerMode
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
072edf4b5a
Minor: introduce EXCEPTION report category
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
16352ff2e5
Refactor messages sending
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
e44cc43ada
Move CompilerMode and TargetPlatform to CompilationOptions
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
c5a5463f50
Rename AdditionalCompilerArguments->CompilationOptions
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
bf50a23221
Remove operations tracer from compile() interface
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
99c72b6dff
Refactor JPS daemon client
2017-01-13 15:08:12 +03:00
Alexey Tsvetkov
d19a92bab5
Make ICReporter interface
2017-01-13 15:08:12 +03:00
Mikhail Zarechenskiy
6cccad9647
Update year in license and regenerate tests
2017-01-10 12:01:17 +03:00
Alexey Tsvetkov
e9e1b3fea1
Fix getting daemon connection in JPS
2016-12-20 14:46:23 +03:00
Alexey Tsvetkov
69d1ee7b11
Run kapt with daemon
2016-12-19 22:55:26 +03:00
Alexey Tsvetkov
9654607f42
Refactoring: pass MessageCollector, OutputItemsCollector in CompilerEnvironment
2016-12-19 22:55:20 +03:00
Alexey Tsvetkov
fdd3bc31f1
Rename: IncReporter->ICReporter
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
4fdca24db4
Remove source annotations removing (not needed with KAPT3)
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
0be4299c8a
Refactoring: extract JPS specific code from compiler-runner
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
896d81143c
Introduce compiler-runner module
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
e3550c5ea2
Convert CompilerEnvironment to Kotlin: actual conversion
2016-12-19 22:46:12 +03:00
Alexey Tsvetkov
f98dde4543
Convert CompilerEnvironment to Kotlin: rename file
2016-12-19 22:46:12 +03:00
Alexey Sedunov
a84275b057
Minor: Rename "Default" platform to "Common"
2016-12-19 18:31:46 +03:00
Alexey Sedunov
332d1f6405
Multi-platform Projects: Enable multi-platform projects for platform modules which depend on common modules
2016-12-19 18:27:49 +03:00
Alexey Sedunov
eac0c9b2ed
Kotlin Facet: Add "Use project settings" option
2016-12-19 18:27:47 +03:00
Stanislav Erokhin
d7566d84d0
Fixed testdata.
2016-12-16 02:01:12 +03:00
Stanislav Erokhin
b527a4d158
Global rename in test data for coroutines
...
(cherry picked from commit 132f97b)
2016-12-15 23:58:26 +03:00
Stanislav Erokhin
509a504318
Update test data for LookupTracker (removed package kotlin.coroutines from default imports)
2016-12-15 23:57:54 +03:00
Stanislav Erokhin
dbe8edda5f
Remove propertyDelegate and fix unused parameter checker for provideDelegate.
2016-12-12 23:14:09 +03:00
Stanislav Erokhin
9dc9fb578f
Rename toDelegateFor to provideDelegate.
2016-12-12 23:14:07 +03:00
Stanislav Erokhin
db5250a614
Minor. Update Lookup test data.
2016-12-12 23:14:06 +03:00
Alexander Udalov
414daef001
Rename KotlinVersion->KotlinCompilerVersion, move to module util.runtime
...
Rename to avoid confusion with the recently added kotlin.KotlinVersion
2016-12-07 21:11:15 +03:00
Denis Zharkov
1f98accad2
Support new suspend convention in JVM backend partially
...
Stack-unwinding does not work yet
#KT-14924 In Progress
2016-11-29 14:14:50 +03:00