Commit Graph

395 Commits

Author SHA1 Message Date
Andrey Breslav 034cd8844e Provide context for multiple files 2013-01-14 20:20:19 +04:00
Andrey Breslav abbaa51a91 Using indexes to find subpackages 2013-01-14 20:20:16 +04:00
Andrey Breslav 29dd3821cc Using indexes to find packages
JetLightPackage does not depend on PSI elements any more
2013-01-14 20:20:15 +04:00
Andrey Breslav 83075d0ad2 Using indexes for getClassNames() 2013-01-14 20:20:14 +04:00
Andrey Breslav 5f3fc5190f LightClassGenerationSupport helps finding class and package declarations 2013-01-14 20:20:12 +04:00
Andrey Breslav 2c3a955074 Retrieve JavaElementFinder from Project's extensions 2013-01-14 20:20:10 +04:00
Andrey Breslav 7c4d1e6b09 KotlinCacheManager and LightClassGenerationSupport services added 2013-01-14 20:20:09 +04:00
Andrey Breslav b5aa44ae49 GenerationState is constructed with BindingContext, not full AnalyzeExhaust 2013-01-14 15:19:50 +04:00
Evgeny Gerashchenko 8a7548bc84 Wiped traces of JetStandardLibrary class name. 2013-01-11 18:23:05 +04:00
Nikolay Krasko 48445c23ef Early support for idea trunk 2012-12-29 16:46:19 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
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