Evgeny Gerashchenko
88ea4c760c
Added "noJdk", "noStdlib" and "noJdkAnnotations" compiler options. Marked "stdlib", "jdkAnnotations" and "mode" options as deprecated.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
4781d62dd2
Created CompilerConfiguration and classpath/annotations path keys.
2012-07-07 20:33:23 +04:00
Evgeny Gerashchenko
5a88d28154
Got rid of dependency on compiler dependencies in injector for TDA for JVM.
2012-07-07 20:33:22 +04:00
James Strachan
54c8382813
added more descriptive logging
2012-07-05 11:02:54 +01:00
James Strachan
98f6650236
added a (currently disabled) test case for compiling the JS code from the kotlin-js-library maven build
2012-07-04 22:03:08 +01:00
Pavel V. Talanov
92231d2eae
Merge remote-tracking branch 'origin/master'
...
Conflicts:
js/js.tests/test/org/jetbrains/k2js/test/SingleFileTranslationTest.java
js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibTestToJSTest.java
2012-07-04 18:32:24 +04:00
Pavel V. Talanov
dd43f6b699
Deal with absence of js library. fix K2JSMessagingTest
2012-07-03 17:58:58 +04:00
Pavel V. Talanov
d6ffb42497
pull https://github.com/develar/kotlin ecma5-iter3 Make most of the tests work.
...
Thanks to develar.
2012-07-03 15:27:37 +04:00
Evgeny Gerashchenko
77df57c150
Replaced jdk-headers with jdk-annotations everywhere.
2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko
fa3e3ee104
Registered annotations provider as a service instead of static class to avoid problems with projects disposal.
2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko
a4ab2afa94
Better method names.
2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko
ef19700283
Added attaching external annotations via module script.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
07234c7487
Added attaching external annotations via command-line parameter.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
206628da82
Added -annotations command-line parameter.
2012-07-03 13:35:52 +04:00
Evgeny Gerashchenko
d64a7397b3
Added default implementation for ExternalAnnotationsProvider to be used in compiler.
2012-07-03 13:35:52 +04:00
Stepan Koltsov
2f64000917
repl: -classpath argument
2012-06-28 19:38:45 +04:00
Stepan Koltsov
cd1211fcb3
repl: multiline
2012-06-28 19:38:44 +04:00
Stepan Koltsov
dbc0d3c4e0
repl: better command parsing
2012-06-28 19:38:44 +04:00
Stepan Koltsov
c0e8f3b911
repl: load command
2012-06-28 19:38:44 +04:00
develar
8d764af432
KT-2154
2012-06-28 09:57:20 +04:00
develar
9443007dc3
support multiple source roots
2012-06-28 09:57:20 +04:00
develar
63e41b771f
KT-2298 js inter-module communication
2012-06-28 09:57:19 +04:00
develar
06ecb45004
js compiler: module dependency
2012-06-28 09:57:18 +04:00
Evgeny Gerashchenko
0dd64837c0
Added checking for unresolved templates in CLI. Added test.
2012-06-20 18:58:24 +04:00
Stepan Koltsov
a95cc798a2
remove JetStandardLibrary dependency from jvm backend
2012-06-17 03:53:12 +04:00
Nikolay Krasko
5f3c3d7e2b
Fix test for Windows by converting internal line separators too
2012-06-15 17:19:17 +04:00
Stepan Koltsov
f074d493c8
work around broken kdoc test
2012-06-14 22:44:44 +04:00
Stepan Koltsov
839413930b
better than NPE
2012-06-14 19:38:03 +04:00
Stepan Koltsov
1652d1c009
clean context to analyze next file
...
so REPL can be reused after error
this patch adds one more ugly hack to REPL
2012-06-14 18:30:49 +04:00
Stepan Koltsov
970c2ae1f9
do not exit repl if something went wrong
2012-06-14 18:30:49 +04:00
Stepan Koltsov
e0c389b239
error visitor
2012-06-14 18:30:48 +04:00
Stepan Koltsov
1d0ef01eea
REPL overload resolution ambiguity
...
Fix overload resolution ambiguity in REPL. Note, resolution for
functions declared in script is very different from regular programs:
in scripts function declared later wins. See
functionOverloadResolutionAnyBeatsString for example.
#KT-2272 Fixed
2012-06-14 14:06:17 +04:00
Stepan Koltsov
87871d0f91
repl: do not print null is last expression type is unit
2012-06-13 22:43:11 +04:00
Stepan Koltsov
dfd3aac900
ExceptionUtils.closeQuietly
2012-06-13 20:00:54 +04:00
Stepan Koltsov
ca8ae7a4ae
do not close output stream in writeToJar
2012-06-13 15:32:37 +04:00
Stepan Koltsov
8dd1465371
pull script up in cli
2012-06-10 03:44:29 +04:00
Stepan Koltsov
7851101c0e
do not write main if there's more than one main
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
4687635c8f
properly close OutputStream
2012-06-10 03:44:28 +04:00
Stepan Koltsov
3bf648ed56
repl: dump bytecode command
2012-06-09 23:25:40 +04:00
Stepan Koltsov
d921304535
repl: quit command
2012-06-09 23:25:40 +04:00
Stepan Koltsov
b99f7c5505
repl: help command
2012-06-09 23:25:39 +04:00
Leonid Shalupov
3fe6d5d2dc
maven fixes
2012-06-09 19:19:41 +04:00
Stepan Koltsov
c4d29146cb
trying to fix maven build
2012-06-09 18:55:49 +04:00
Stepan Koltsov
084175722b
fix classpath construction in repl
2012-06-09 00:48:58 +04:00
Stepan Koltsov
8c7a879e65
jline for repl
2012-06-09 00:28:17 +04:00
Stepan Koltsov
48b1ab417b
invoke repl from command line
2012-06-09 00:28:17 +04:00
Stepan Koltsov
bc82284d83
add stdlib to repl classpath
2012-06-09 00:19:34 +04:00
Stepan Koltsov
8d0a008529
trying to fix ReplInterpreterTest on teamcity
2012-06-08 18:17:29 +04:00
Stepan Koltsov
6946abbcea
working on REPL: implemented previous lines importing
2012-06-08 04:19:24 +04:00