Andrey Breslav
9fef0c8650
Support '-suppress warnings'
...
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Andrey Breslav
c0e8038ed2
FilteringMessageCollector moved out
2013-09-24 06:58:39 -07:00
Andrey Breslav
f245d93eea
Common CLI parameters extracted into a base class
2013-09-24 06:58:38 -07:00
develar
da68540ade
JS backend: LibrarySourcesConfig accepts source dir as source.
...
Idea send files in any case, but for easy debug run configurations we want to specify only source dir.
(cherry picked from commit e194435)
2013-09-20 17:21:14 +04:00
Alexander Udalov
8e59e789dc
Extract util.runtime module out of util
...
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.
Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Erokhin Stanislav
4c57d70be9
JS backend: remove ECMA 3, but several tests is broken.
...
Main reason: overload extention property:
Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +04:00
Evgeny Gerashchenko
dcfeea4029
Removed IDE templates support from compiler.
2013-09-17 18:09:59 +04:00
Alexander Udalov
2b9225fdd4
Extract descriptor.loader.java module from frontend.java
...
Will be used in runtime to load reflected classes
2013-09-04 21:55:11 +04:00
Alexander Udalov
a17328f9d3
Minor, move ABI version error reporting
...
AbiVersionUtil will be used in descriptors.loader.java, so it cannot depend on
BindingTrace
2013-09-04 21:55:10 +04:00
develar
3ab095a4f5
JS backend: started to implement source maps
...
#KT-927 in progress
(cherry picked from commits 5543cda, 6ed296b, 11186f9, 5b84d0b)
2013-08-30 13:17:20 +04:00
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