Commit Graph

363 Commits

Author SHA1 Message Date
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
Evgeny Gerashchenko 72c39dc903 Renamed doDoMain -> doMainNoExit. 2012-07-31 16:45:13 +04:00
Maxim Manuylov 2d6158b9d8 annotations 2012-07-31 16:43:58 +04:00
Maxim Manuylov a8cd11f0f9 more tests for compiler 2012-07-31 16:43:56 +04:00
Maxim Manuylov 0813e6bc1c ability to print command line arguments via system property 2012-07-31 16:43:20 +04:00
Maxim Manuylov 7eba14bcf1 compiler must print some info on wrong arguments 2012-07-31 16:43:20 +04:00
Evgeny Gerashchenko 01ef9133d4 Using custom CompilerConfigurationKey in CompilerConfiguration API. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko 9a5fc78b85 Removed factory methods from JetCoreEnvironment since they only invoke constuctor. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko 17e3738084 Added read-only mode for complier configuration. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko edb2e0e3b6 Got rid of creating JetCoreEnvironment which wont be used when compiling modules from module script. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 75ce5b3a1b Removed obsolete comment. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 4d56bd4b59 Inlined createCompilerConfiguration(), since configuration filling logic is doExecute() method. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 2727aa7da4 Gor rid of K2JVMCompileEnvironmentConfiguration and CompileEnvironmentConfiguration. Using JetCoreEnvironment instead of K2JVMCompileEnvironmentConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko a76c2bf2eb Removed unused K2JSCompilerEnvironmentConfiguration class. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 940c09fc8a Passing message collector via CompilerConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 33c661e7f3 Passing compiler plugins via CompilerConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 8dfa3d8ce9 Moved everything but environment and messageCollector from K2JVMCompileEnvironmentConfiguration to CompilerConfiguration. 2012-07-31 16:33:44 +04:00
Alex Tkachman c14a0b3c84 refactoring of script definition api 2012-07-30 09:26:30 +03:00
Alex Tkachman 7c2d394412 properr names for scripts 2012-07-29 23:58:45 +03:00
Alex Tkachman f8391619a5 configurable script languages 2012-07-29 21:32:53 +03:00
Alex Tkachman b8bfde3102 in-memory compilation of standalone script 2012-07-28 20:32:18 +03:00
Evgeny Gerashchenko 42e00102f8 Removed redundant "final" keywords at variables and parameters. 2012-07-27 17:57:30 +04:00