Evgeny Gerashchenko
f7290d178b
Replaced passing compiler special mode to JetTypeMapper with special enum type. Enum type means if builtin types should be mapped to Java standard classes in generated bytecode.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
5becb4efb1
Passing "stubs" flag to K2JVMCompileEnvironmentConfiguration to avoid checking compiler special mode.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
6e7d08b478
Introduced BuiltinsScopeExtensionMode enum. Using it instead of CompilerSpecialMode to create JavaBridgeConfiguration.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
684d345dce
Removed CompilerDependencies class.
2012-07-07 23:07:18 +04:00
Evgeny Gerashchenko
6e82ab70bc
Got rid of using CompilerDependencies in JetCoreEnvironment. CompilerConfiguration is passed instead.
2012-07-07 23:07:17 +04:00
Stepan Koltsov
8dd1465371
pull script up in cli
2012-06-10 03:44:29 +04:00
Stepan Koltsov
35f1de468f
refactor compiler launcher
...
* method should not modify input
* replace String with File
* add @NotNull and @Nullable annotations
2012-06-10 03:44:29 +04:00
Stepan Koltsov
30e44fdc5f
script parameters
...
still a lot of things to do
2012-05-28 20:31:29 +04:00
Stepan Koltsov
6063c01a1c
command line script launcher
...
% ./bin/kotlin -script hello.ktscript
hello world
% cat hello.ktscript
fun hello(what: String) = println("hello $what")
hello("world")
Note it currently takes 8 seconds to evaluate hello world script.
2012-05-23 02:52:30 +04:00
Stepan Koltsov
8623fba01b
cli: store unused arguments
2012-05-22 00:02:56 +04:00
Leonid Shalupov
ffcba10773
cleanup
2012-05-07 17:39:46 +04:00
Leonid Shalupov
ded589249f
fix build from idea
2012-05-04 23:10:31 +04:00
Leonid Shalupov
4eae229127
reworked kotlin compiler dist
2012-05-04 19:12:02 +04:00
pTalanov
ce929fab49
Rename CompileEnvironmentConfiguration. Drop ArgsUtil class. Add CompilerSpecialMode.JS.
2012-05-02 15:23:40 +04:00
Stepan Koltsov
b109ac5ad4
store CompilerDependencies in JetCoreEnvironment
2012-05-01 22:59:42 +04:00
pTalanov
d0d5b147f2
Refactor cli: all the jvm stuff goes under org.jetbrains.jet.cli.jvm, common stuff under org.jetbrains.jet.cli.common
2012-04-25 20:19:15 +04:00
Andrey Breslav
deaaf3042b
Fixed compilation in build-tools
2012-04-24 21:22:46 +04:00
Andrey Breslav
8a40f943de
Module script loading separated from module compilation
2012-04-24 21:22:45 +04:00
Andrey Breslav
13764c06c0
Compiler plugins moved to CompilerEnvironmentConfiguration
2012-04-20 14:58:14 +04:00
Andrey Breslav
4da91ee3d6
CompileEnvironment removed
...
What used to be CompileEnvironment, now is split into data (in CompileEnvironmentConfiguration) and utility methods (in CompileEnvironmentUtil).
CompilerDependencies should be removed later.
All the relevant stuff sits in the JetCoreEnvironment class
2012-04-20 11:52:02 +04:00
Andrey Breslav
882412ea06
Proper handling of compiler messages
...
We used to have a triple (errorStream, messageRenderer, verbose) to represent the error reporting strategy.
Now we have a single MessageCollector abstraction for this.
As the MessageCollector abstraction was extracted, the need to CompilerMessageLocation and CompilerMessageSeverity arose, too.
2012-04-13 19:38:23 +04:00
Stepan Koltsov
03e78e8cc3
Revert "add runtime to classpath in JetCoreEnvironment" temporarily
...
This reverts commit 59c7f33c88 .
2012-04-09 18:54:42 +04:00
Stepan Koltsov
59c7f33c88
add runtime to classpath in JetCoreEnvironment
2012-04-09 18:22:23 +04:00
Stepan Koltsov
10dd366216
CompilerDependencies
...
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.
Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)
Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
James Strachan
beedd36456
refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment)
2012-03-29 16:37:36 +01:00
Andrey Breslav
ed04839901
renaming/code moving to meet the code style
2012-03-29 19:22:55 +04:00
James Strachan
a970fd24f3
include the j2k in the build tools jar
2012-03-29 09:51:51 +01:00
James Strachan
e740c47e29
removed some of the cruft and redundant copies of junit.jar
2012-03-21 09:09:09 +00:00
Maxim Shafirov
43956b565a
#KT-1562 Fixed.
2012-03-15 15:12:29 +04:00
Evgeny Goldin
5b7dff2bad
BytecodeCompiler - compiler invocation wrapped with try/catch.
2012-03-14 19:55:56 +01:00
Evgeny Goldin
da11b990f0
Build tools compilation error - absolute path is logged.
2012-03-08 16:41:04 +01:00
Evgeny Goldin
5da08b2bbc
Build tools - "testlib-tests" task is commented out.
2012-03-07 21:31:32 +01:00
Evgeny Goldin
33f5b07997
KT-1529: Failing module compilation doesn't fail Maven build - test added.
2012-03-07 21:12:16 +01:00
Evgeny Goldin
710b22debe
Build tools - "${basedir}/testlib" => "${basedir}/libraries/testlib"
2012-03-07 21:04:03 +01:00
Evgeny Goldin
0ceac22872
KT-1529: Failing module compilation doesn't fail Maven build
2012-03-07 20:43:07 +01:00
Stepan Koltsov
1e08fc3754
make build-tools module depend on idea-core to fix build
2012-03-07 20:48:34 +04:00
James Strachan
f6244f75ea
minor refactoring to allow plugins to be added to the BytecodeCompiler
2012-03-07 07:36:18 +00:00
James Strachan
eb3aac9acb
refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now)
2012-03-03 12:11:06 +00:00
Andrey Breslav
10b2bd089c
No testlib tests in build-tools/build.xml
2012-02-22 17:05:39 +04:00
Evgeny Goldin
e119b9162b
"kotlin-home-setup" - more explicit verification of existing files.
2012-02-22 13:40:30 +02:00
Evgeny Goldin
a918058262
HtmlBuilder is commented out, compilation fails; Using "testlib/module.kt" to compile Unit tests with module.
2012-02-20 18:22:15 +02:00
Evgeny Goldin
06d8329548
HtmlBuilder is commented out, compilation fails.
2012-02-20 18:14:41 +02:00
Evgeny Goldin
7acc4fe957
Ant task tests - "html.namespace" is invoked in "longer-examples-tests" macrodef.
2012-02-19 16:04:56 +02:00
Evgeny Goldin
504beac0fa
Ant task - longer examples update; Maze doesn't compile, HtmlBuilder doesn't run; Ivy configuration files updated to use public TeamCity; Wiki update
2012-02-15 20:45:46 +02:00
Maxim Shafirov
a03922d467
Copyrights set to Apache, reflecting it's now open source
2012-02-14 19:25:06 +04:00
Evgeny Goldin
1ed825e2cb
Ant task - Maze test is commented out (compilation fails); <kotlin-home-setup> update to reflect project changes; <verify-exists> added.
2012-02-04 19:01:54 +02:00
Maxim Shafirov
f58bbb8de6
Respect -output even if compiling module script
2012-02-02 18:59:02 +04:00
Maxim Shafirov
d52becdf53
rename failure“
2012-01-30 20:28:09 +04:00
Maxim Shafirov
666f922d71
unzipped kompiler.
2012-01-30 20:20:49 +04:00
Evgeny Goldin
59aa2f8c71
Ant task - Wiki update.
2012-01-30 03:06:10 +02:00