Pavel V. Talanov
52de4215b5
Introduce VirtualFileFinder interface
...
Provide different implementations in Cli and Ide
2013-08-26 17:58:47 +04:00
Pavel V. Talanov
4e29aad1c1
Rework invalid abi version reporting
...
KotlinClassFileHeader is aware of older annotations
Psi is not used to report invalid Abi version in CLI
2013-08-26 17:58:44 +04:00
Andrey Breslav
25a5025c58
Built-ins can now be initialized on demand
2013-08-23 17:39:06 +04:00
Andrey Breslav
b7966179f5
Deserialize built-ins
2013-08-23 17:39:04 +04:00
Nikolay Krasko
73308378e5
Add ability to test jet file is in scope
2013-08-14 15:31:16 +04:00
Zalim Bashorov
b46e0361c5
Use the system path separator character in compiler messages.
...
Fix for CliTest.
2013-08-12 13:37:44 +04:00
Andrey Breslav
387bf2601b
Log version in JPS plugin
...
CompilerVersion.java is moved to cli-common (shared between compiler and JPS plugin) and renamed to KotlinVersion
This is needed because on TeamCity a JPS plugin is configured separately from the compiler, so it may happen that
JPS plugin version X tries to run compiler version X+100, and causes trouble.
2013-07-25 20:18:03 +04:00
Evgeny Gerashchenko
104f15adc4
Moved Java-related keys to JavaBindingContext.
2013-06-25 20:17:47 +04:00
Mikhael Bogdanov
e803bcb3d9
Fix for KT-3687
...
#KT-3687 Fixed
2013-06-17 18:01:50 +04:00
Evgeny Gerashchenko
43b9a9d434
Renamed Name.getName() and FqName.getFqName() to asString()
2013-05-21 17:56:05 +04:00
Andrey Breslav
a2b82095da
Using the version of ASM that has debug information in it
...
No more need for extra ASM jars (analysis and util)
2013-05-21 13:56:34 +04:00
chocolateboy
1bf06f7c02
make the preloader's required profiler argument (time|notime) an optional switch: -pp
...
fixes for broken Windows batch files
2013-05-21 12:22:06 +04:00
Andrey Breslav
e4939f92e4
Support relative script paths
2013-04-29 17:59:53 +04:00
Andrey Breslav
f1f9d5327c
Using XML instead of module scripts when running from IDE
2013-04-29 17:59:52 +04:00
Andrey Breslav
42505246b8
Module descriptions in XML
2013-04-29 17:59:51 +04:00
Andrey Breslav
3673f8003b
reportException() moved to a utility class and used where appropriate
2013-04-29 15:46:37 +04:00
Andrey Breslav
3f23704e13
Method renamed
2013-04-29 15:46:37 +04:00
Andrey Breslav
bbb661506a
Preloader for command-line compiler
2013-04-26 14:33:18 +04:00
Andrey Breslav
b3248baae9
"-noverify" by default to speed up class loading
2013-04-26 14:32:55 +04:00
Andrey Breslav
f3656bcadd
ModuleDescriptor stores default imports
2013-04-17 17:11:18 +04:00
Andrey Breslav
a72e49d8f7
Use ModuleDescriptor instead of ModuleConfiguration
2013-04-17 17:11:17 +04:00
Andrey Breslav
e29418cde5
ModuleDescriptor stores a ModuleConfiguration
2013-04-17 17:11:17 +04:00
Andrey Breslav
2e44996cd0
ModuleDescriptor interface extracted
2013-04-17 17:11:16 +04:00
Andrey Breslav
af5ee3acba
forceResolveAll() is not called when compiler initializes built-ins
2013-04-17 13:49:47 +04:00
Natalia.Ukhorskaya
eb768ea59a
Do not create LightClasses for kt files as sources for libraries
2013-04-09 12:52:29 +04:00
Evgeny Gerashchenko
ec5331057a
Removed unnecessary final on local variables.
2013-03-13 14:12:50 +04:00
Evgeny Gerashchenko
2ac218e084
Made addToClasspath not public and removed redundant field.
2013-03-04 17:33:59 +04:00
Evgeny Gerashchenko
4213eec2a5
Warning in compiler if annotations path does not exist.
2013-03-04 17:33:59 +04:00
Evgeny Gerashchenko
6c1e1b6f7f
Renamed SimpleDiagnosticFactory -> DiagnosticFactory0.
2013-02-20 16:34:00 +04:00
Evgeny Gerashchenko
2c13b6b63d
Operation mode.
2013-02-19 17:45:16 +04:00
Andrey Breslav
afd764c27f
Implementations of descriptors moved to a separate package
2013-02-19 14:32:06 +04:00
Andrey Breslav
53b2bbad68
Discover class objects for light class generation in the compiler
...
#KT-3337 In Progress
LightClasses: class object's property getter unresolved in Java, but compiles OK
2013-02-18 16:05:41 +04:00
Nikolay Krasko
1aee735775
Search rt.jar even if compiler was run with jre
...
#KT-2599 Fixed
2013-02-15 17:19:53 +04:00
Andrey Breslav
33fa065162
Splitting PrintingMessageCollector into Grouping and Printing collectors
2013-02-13 19:06:22 +04:00
Evgeny Gerashchenko
f55c3befb3
Disposal on error when processing module script.
2013-02-13 18:08:37 +04:00
Andrey Breslav
3293e08d97
Compiler API refactored:
...
* exec(messageCollector, arguments) introduced
* exception-catching logic moved closer to the entry point
* PrintingMessageCollector localized
2013-02-13 11:03:27 +04:00
Andrey Breslav
e3cb79ce2e
"--kotlinHome" command-line option
2013-02-05 20:30:32 +04:00
Andrey Breslav
f6a8c5e886
Exit code is COMPILATION_ERROR whenever an error was reported through a message collector
2013-01-31 19:32:54 +04:00
Andrey Breslav
e31d5fd3fb
"Absent classpath entry" is now a warning
2013-01-31 19:32:54 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Andrey Breslav
0dc24bcd92
KT-3268 Check binary format version in the compiler
2013-01-23 20:12:48 +04:00
Andrey Breslav
2cb530a6d1
Warnings fixed, annotations added
2013-01-23 20:12:47 +04:00
Andrey Breslav
e1831877b7
GenerationStrategy removed
2013-01-23 18:54:03 +04:00
Nikolay Krasko
44dcdde513
Dispose GeneratedClassLoader
2013-01-22 16:05:23 +04:00
Evgeny Gerashchenko
ca4751653f
ability to get text from annotations xml files
2013-01-21 21:16:51 +04:00
Natalia.Ukhorskaya
47abdcf565
Rename namespace class to {package.name}Package
...
Conflicts:
compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Andrey Breslav
4b4a9eb6c9
Create new trace before each resolve (to avoid writing to a trace already filled in by previous analysis)
2013-01-15 15:32:02 +04:00
Andrey Breslav
fe39f1ea63
NPE fixed
2013-01-14 20:20:29 +04:00
Andrey Breslav
69080b72af
When generating light class for package, do not generate other classes
2013-01-14 20:20:21 +04:00
Andrey Breslav
a91b113cc3
GenerationStrategy is now a strategy
2013-01-14 20:20:20 +04:00