Alexander Udalov
a8629b3836
Do not fail on unknown -X flags
...
For better compatibility if we add experimental stuff in 1.0.X compilers
2016-04-12 20:03:51 +03:00
Alexey Sedunov
962b312fb7
[RESTORED] Light Classes: Constant expression evaluator for light annotation arguments
2016-04-08 21:11:16 +03:00
Nikolay Krasko
6291bb92bd
Create own disposable for building separated modules
...
There's a new check that assert disposer hasn't be disposed yet.
2016-04-05 00:39:46 +03:00
Dmitry Petrov
92ddbb271a
KT-11410: generate light classes from multifile class parts in binaries
...
if explicitly requested by fqName
2016-04-01 10:13:22 +03:00
Dmitry Petrov
0ccaf43e2c
KT-11410: Add Xmultifile-parts-inherit CLI option.
2016-04-01 10:13:21 +03:00
Alexey Sedunov
95f6acdddf
[REVERTED] 8c72b02 Alexey Sedunov on 3/21/2016 at 19:14 (committed on 3/24/2016 at 18:42)
...
Light Classes: Constant expression evaluator for light annotation arguments
2016-03-29 19:17:05 +03:00
Alexander Udalov
f31dca32a4
Flush stdout and stderr before shutdown in scripts
...
Although a test is present, it doesn't check the behavior because it seems that
in the test environment both streams are necessarily flushed
#KT-9546 Fixed
2016-03-29 17:53:18 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Ilya Gorbunov
4e49187549
Dump declaration mapping during codegen process.
2016-03-29 13:49:33 +03:00
Alexey Sedunov
8c72b02c9b
Light Classes: Constant expression evaluator for light annotation arguments
2016-03-24 17:42:10 +03:00
Alexey Sedunov
fefa0baeee
Light Classes: Generate light wrappers for annotation entries
2016-03-24 17:41:58 +03:00
Ilya Gorbunov
02bb7f2f0d
Remove the compiler option "Xmultifile-facades-open"
2016-03-15 14:10:33 +03:00
Nikolay Krasko
d45fc3bad7
Avoid warnings from idea core during file system initialization on Windows.
...
Do not use idea custom file system for now.
See FileSystemUtil.java and IdeaWin32.java files for details.
2016-03-10 13:32:08 +03:00
Ilya Chernikov
66f1f87757
Additional check of analyze resul, prevents a problem of passing BindingContext.EMPTY to the generation stage, fixes kapt tests in gradle plugins
...
KT-8487
2016-03-03 16:45:12 +03:00
Denis Zharkov
26ebf46e3e
Do not read module mappings more than once
2016-03-02 13:38:46 +03:00
Denis Zharkov
3652cd9c18
Optimize top level class searching in LazyJavaPackageScope
...
Do not try to search something, that is known not to exist
2016-03-02 13:38:46 +03:00
Denis Zharkov
bc5110550a
Release generated bytecode after each processed part
...
Part here means separate '.kt' file or multi-file facade
Now this memory optimization doesn't work with jar's,
because there is no simple way to write them incrementally.
2016-02-18 21:22:04 +03:00
Denis Zharkov
b87cc5712c
Minor. Weaken value parameter types: ClassFileFactory -> OutputFileCollection
2016-02-18 21:22:04 +03:00
Alexander Udalov
7a6cc71454
CLI: disable colors on platforms unsupported by jansi
...
#KT-10605 Fixed
2016-02-17 20:51:48 +03:00
Alexander Udalov
2e13377d4a
J2K ReplInterpreter: prettify
2016-02-17 20:51:11 +03:00
Alexander Udalov
5670e7f750
J2K ReplInterpreter: convert
2016-02-17 20:51:11 +03:00
Alexander Udalov
2b2c4b3610
J2K ReplInterpreter: move .java -> .kt
2016-02-17 20:51:11 +03:00
Pavel V. Talanov
f59a4c537e
Minor: remove some dead code
2016-02-08 16:45:46 +03:00
Zalim Bashorov
ba6c738cb5
Minor: don't init AnsiConsole when coloring is disabled
2016-02-04 14:36:31 +03:00
Zalim Bashorov
130301aa27
Minor: log the content of module.xml when a source root not found on FS
...
Related issues: #KT-9587 #KT-10394
2016-02-03 15:28:20 +03:00
Dmitry Jemerov
38b58db4f9
don't apply StandardScriptDefinition in REPL
2016-02-01 19:16:31 +01:00
Pavel V. Talanov
a90f8122bd
Fix NPE on trying to compile script files
...
(There is still no design)
2016-02-01 17:33:46 +03:00
Tim Steinbach
7cad65a1e7
Remove which dependency from startup scripts
2016-01-28 21:48:16 +03:00
Dmitry Jemerov
6f7aed2601
report perf only if enabled in command line
2016-01-28 16:12:55 +01:00
Ilya Gorbunov
744a7a83f7
Cleanup RC deprecations in compiler and plugin.
2016-01-27 18:34:30 +03:00
Dmitry Jemerov
c83b4b3842
clean ZipHandler cache after disposing CoreApplicationEnvironment to avoid storing stale ZipHandlers referring to disposed CoreJarFileSystem instance in ZipHandler.ourFileAccessorCache
2016-01-26 19:51:59 +01:00
Alexander Udalov
7981e5aa3a
Increase metadata version to 1.1, hardcode incompatibility with 1.0
...
Add a temporary option to suppress incompatibility errors when compiling Kotlin
against current IDEA libraries until they are migrated
2016-01-23 10:00:19 +03:00
Alexander Udalov
714df7b433
Add temporary compiler option to suppress incompatibility errors
...
To compile Kotlin against current IDEA libraries until they are migrated to 1.1
2016-01-22 23:53:47 +03:00
Mikhail Glukhikh
7870ad2445
DataFlowInfo converted to Kotlin, DataFlowInfoFactory introduced
2016-01-22 16:36:51 +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
Pavel V. Talanov
2972dbca00
Rename LightClassGenerationSupport.getPsiClass -> getLightClass and make it return KtLightClass
2016-01-21 20:47:21 +03:00
Ilya Chernikov
c585d91e79
Adding generation states destroying to module-based compilation, to fix kapt usage with this compilation path
2016-01-21 19:47:09 +03:00
Nikolay Krasko
5fcb9ca2bd
Add speed to perfomance output
2016-01-21 17:45:51 +03:00
Dmitry Jemerov
51799ef70e
fix tests on Windows agents: report canonical paths to conflicting Kotlin runtimes
2016-01-21 11:33:32 +01:00
Dmitry Jemerov
ccef1ad49e
report presence of multiple different versions of kotlin-runtime on the classpath as compilation error if other compilation errors have occurred
2016-01-20 21:02:44 +01:00
Dmitry Jemerov
4f5b2ec4b4
AnalyzerWithCompilerReport: some more cleanup after J2K
2016-01-20 21:00:24 +01:00
Dmitry Jemerov
bf5cdcb6b4
AnalyzerWithCompilerReport: J2K
2016-01-20 21:00:24 +01:00
Dmitry Jemerov
ae1e680319
AnalyzerWithCompilerReport: rename to .kt
2016-01-20 21:00:23 +01:00
Alexander Udalov
e17cd12c3c
Report error on generating calls to binary incompatible classes
2016-01-19 18:39:59 +03:00
Alexander Udalov
b587d3a78d
Use JvmMetadataVersion where appropriate instead of bytecode version
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
Dmitry Jemerov
39ad2b2378
return correct exit code when script execution fails
2016-01-19 10:53:48 +01:00
Dmitry Jemerov
f3faa10fcc
forbid compiling code in packages with names starting with 'kotlin' unless the -Xallow-kotlin-package command line option is specified
2016-01-19 10:53:47 +01:00
Dmitry Jemerov
6b354748ba
KotlinToJVMBytecodeCompiler: cleanup after J2K
2016-01-19 10:53:45 +01:00
Dmitry Jemerov
bccd64de19
KotlinToJVMBytecodeCompiler: J2K
2016-01-19 10:53:44 +01:00