Andrey Breslav
4df4a91615
Report environment errors through messageCollector when available
2012-12-14 15:28:21 +04:00
Andrey Breslav
ebabb3b8af
Error message fixed
2012-12-07 21:54:11 +04:00
Alexander Udalov
8a33e1d6b2
Fix kotlinc on Cygwin
...
Do not convert KOTLIN_HOME back to unix format, since it's passed to Win
version of Java, which doesn't understand /cygdrive/.. paths
#KT-3049 Fixed
2012-11-27 13:33:57 +04:00
Alexander Udalov
e97f53ce8d
Don't output long comment every time in kotlinc on Windows
...
#KT-3048 Fixed
2012-11-26 19:37:05 +04:00
Alexander Udalov
32f30c89d0
Preserve spaces in kotlin home
2012-11-26 19:35:21 +04:00
Alexander Udalov
07ed31f90e
Set executable permissions to kotlinc
2012-11-26 19:33:47 +04:00
Andrey Breslav
4ed07cd9ae
Introducing KotlinPaths to impose some discipline on compiler/library location
2012-11-21 18:16:09 +04:00
Evgeny Gerashchenko
19e283a333
Fixed printing multiple errors in Kotlin signatures.
2012-11-21 14:00:51 +04:00
Evgeny Gerashchenko
60f30732ed
Supported several load from Java errors per declaration.
2012-11-20 17:20:02 +04:00
Evgeny Gerashchenko
4525e05268
Throwing exception only if no loading errors happened.
2012-11-20 17:20:02 +04:00
Andrey Breslav
0c1ef8a9a6
Explicitly add rt.jar to the script class path
2012-11-13 19:38:20 +04:00
Andrey Breslav
7e7e779e80
No printing of verbose compiler output in Ant task and REPL
2012-11-13 19:38:20 +04:00
Andrey Breslav
f868d965e1
Report system-independent source file paths
2012-11-13 16:06:13 +04:00
Andrey Breslav
3a1f3532a0
Reporting real source file paths from K2JS compiler
2012-11-13 15:18:12 +04:00
Andrey Breslav
8e2c9610d5
Avoid printing logging messages twice
2012-11-13 14:46:34 +04:00
Andrey Breslav
b2b5ccefbd
Switching from log/learn to reportOutput/add
2012-11-13 13:45:45 +04:00
Andrey Breslav
ef403cc91a
Alternative methods for progress reporting
2012-11-13 13:45:45 +04:00
Andrey Breslav
cca21e96c1
Progress class moved to jvm backend
2012-11-13 13:45:44 +04:00
Andrey Breslav
d6c8b8683b
Failed test toutput improved
2012-11-12 11:52:59 +04:00
Andrey Breslav
0b6b8873b9
Module names in exception messages
2012-11-09 21:56:32 +04:00
Andrey Breslav
32745f1202
cli-common module extracted, to be used by the compiler-runner module
2012-11-09 21:56:29 +04:00
Andrey Breslav
937c4e8baf
BuiltinsScopeExtensionMode not needed any more
...
(see the changes in DefaultModuleConfiguration.java)
2012-10-17 13:48:07 +04:00
Andrey Breslav
e81f38b6a8
JetStandardLibrary -> KotlinBuiltIns
2012-10-17 13:48:05 +04:00
Andrey Breslav
c719ae427a
JetStandardClasses -> KotlinBuiltIns
2012-10-17 13:48:05 +04:00
Evgeny Gerashchenko
5bc2422cb0
Failing with compilation error when Java library has wrong @KotlinSignatureAnnotation.
2012-10-08 21:48:54 +04:00
Alexander Udalov
753ae9e550
Add a compiler parameter to generate not-null parameter assertions
...
Enable/disable assertion generation on parameters in the beginning of
methods accessible from Java
2012-10-08 19:03:36 +04:00
Alexander Udalov
19a6a3f390
Add a compiler parameter to generate not-null assertions on method call sites
...
It is off by default when invoking compiler directly, and on by default when
compiling from IDE
2012-10-08 14:11:52 +04:00
Alexander Udalov
1f3586a151
Minor refactoring in ReplInterpreter
...
GenerationState is now created with default configuration parameters
2012-10-08 14:11:48 +04:00
Evgeny Gerashchenko
128e5580c4
Minor. @Nullable/@NotNull annotations.
2012-09-27 18:27:29 +04:00
Svetlana Isakova
7073b12d11
add ModuleConfiguration to injectors
...
(to be able to use it in TypeResolver)
2012-09-05 18:55:15 +04:00
Alex Tkachman
b45f19c0e2
GenerationState refactored to be (almost) immutable and methodless (modulo little protection from reuse)
...
GenerationStrategy introduced to handle separately cases of regular compilation and building of JetLightClasses (this was only real overridable behavior of GenerationState in old code)
state subpackage introduced
2012-08-30 09:33:10 +03:00
Evgeny Gerashchenko
c96d5fd7ca
Added CoreExternalAnnotationsManager.editExternalAnnotations() method to avoid compilation error on updating to newer IDEA
2012-08-29 14:51:06 +04:00
Andrey Breslav
08bb390820
Project is available in codegen
2012-08-24 12:18:18 +04:00
Pavel V. Talanov
ced3209170
Merge remote-tracking branch 'origin/master'
2012-08-16 13:21:49 +04:00
Evgeny Gerashchenko
199029360a
KT-2326 Link external annotations via mechanism in IDEA core when Kotlin depends on IDEA 12.x
...
Dropped temporary classes.
#KT-2326 fixed
2012-08-14 21:51:08 +04:00
Pavel V. Talanov
9dce8a9f33
Merge remote-tracking branch 'origin/master'
...
Conflicts:
js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/factories/RangesFIF.java
js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/patterns/NamePredicate.java
2012-08-14 13:04:38 +04:00
Pavel V. Talanov
71adfb57db
Drop libraryDirectories CLI option.
2012-08-14 12:44:52 +04:00
Evgeny Gerashchenko
67304c64ff
Removed unused myProject field from IntrinsicMethods. Removed from injector parameters, etc.
2012-08-09 15:13:42 +04:00
Nikolay Krasko
600349f5be
Handle URL from class loader with unescaped chars too
2012-08-02 11:46:00 +04:00
Alex Tkachman
46611bde09
fix import
2012-08-02 08:08:10 +03:00
Alex Tkachman
45a08ff9ae
revert changes done in attenpt to fix the build as now indications it helped
2012-08-02 07:44:48 +03:00
Alex Tkachman
380d7add9f
another attempt to fix broken (windows) cli test on public server
2012-08-02 07:27:15 +03:00
Pavel V. Talanov
1bf2ded875
Move sortDiagnostics to DiagnosticUtils and convert to sortedDiagnostics.
2012-08-01 16:26:14 +04:00
Pavel V. Talanov
d45145b3a7
Use first text range for diagnostics with multiple ranges.
...
Move TEXT_RANGE_COMPARATOR to DiagnosticUtils.
2012-08-01 16:26:13 +04:00
Pavel V. Talanov
f58ba37d4f
Refactor AnalyzerWithCompilerReport: introduce TEXT_RANGE_COMPARATOR.
2012-08-01 16:26:11 +04:00
Pavel V. Talanov
714aa04924
KT-2524: Standalone compiler prints diagnostics in random order.
...
#KT-2524 Fixed
2012-08-01 16:26:10 +04:00
Pavel V. Talanov
17ad514672
Split source roots in CL arguments.
2012-08-01 16:26:09 +04:00
Natalia.Ukhorskaya
b34992dff1
Fix failed CliTest for Windows
2012-08-01 13:20:26 +04:00
Alex Tkachman
e134969896
making script classes useful/accessable for the rest of the world
2012-08-01 09:58:01 +03:00
Evgeny Gerashchenko
942c1ee9d9
Reverted fix for KT-2042 Kotlin SDK must be explicitly specified for each module that uses Kotlin
...
#KT-2042 reopened
2012-07-31 18:19:40 +04:00