Commit Graph

534 Commits

Author SHA1 Message Date
Natalia Ukhorskaya 9f3b73986a Update to IDEA 13.1 (134.1007) 2014-02-17 10:45:48 +04:00
Natalia Ukhorskaya 320c23494f Add method to MockPsiDocumentManager to update kotlin plugin to IDEA 13.1 (134.1007) 2014-02-12 22:10:42 +04:00
Natalia Ukhorskaya 7bf26283b2 Add implementation of PsiDocumentManager to update kotlin plugin to IDEA 13.1 (134.1007) 2014-02-12 18:00:44 +04:00
Andrey Breslav e60bd514fa StorageManager&ExceptionTracker delivered where needed
- GlobalContext introduced to group the two
- Caches track exceptions
2014-02-04 15:24:27 +04:00
Nikolay Krasko 9a6ac60a5f Minor: formatting and warnings 2014-01-31 14:52:14 +04:00
Andrey Breslav 210827b1d5 ExceptionUtils rewritten in Kotlin 2014-01-30 21:03:53 +04:00
Andrey Breslav 6a29c38e5b Components across the project use StorageManager 2014-01-29 15:38:44 +04:00
Andrey Breslav df88e3e625 Introducing dependency kinds to prioritize package fragments 2014-01-15 16:16:21 +04:00
Andrey Breslav 45bd70daec JavaPackageFragmentProvider is only accessible through JavaDescriptorResolver
We need this to guarantee that only one provider is used: either lazy or eager.
2014-01-15 16:16:16 +04:00
Evgeny Gerashchenko 4239f5bb18 Got rid of "namespace" word in backend. 2014-01-14 18:06:47 +04:00
Evgeny Gerashchenko 1f615d08c7 NamespaceLikeBuilder → PackageLikeBuilder. 2014-01-14 18:05:57 +04:00
Andrey Breslav b3f4527bb8 KotlinJvmBinaryClass now has a getClassHeader() method 2014-01-09 20:41:43 +04:00
Andrey Breslav 7fc9772930 Direct instantiations of VirtualFileKotlinClass are replaced by access to caching service 2014-01-09 20:41:43 +04:00
Andrey Breslav 6c1f579c6d VirtualFileFinder and KotlinClassFinder effectively merged (through inheritance)
This is needed to implement caching of KotlinJvmBinaryClass instance inside CliVirtualFileFinder that relies on reading class headers for filtering
2014-01-09 20:41:43 +04:00
Andrey Breslav 8fcaf511dc Methods renamed to avoid ambiguity 2014-01-09 20:41:43 +04:00
Natalia Ukhorskaya f2f1a1313d Add jdk jars to kotlin classpath
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Alexey Sedunov 1e66a346d7 Use unsafe qualified names instead of safe ones in FQNAME_TO_CLASS_DESCRIPTOR slice 2013-12-24 12:10:53 +04:00
Evgeny Gerashchenko 3352d8a954 Minor. Renamed method. 2013-12-17 20:28:56 +04:00
Evgeny Gerashchenko 73114d7e9c Fragment providers added on higher level. 2013-12-17 20:28:50 +04:00
Evgeny Gerashchenko 9d2b79c631 Migrated CliLightClassGenerationSupport to package views. 2013-12-17 20:28:42 +04:00
Evgeny Gerashchenko d0605009ae Removed ModuleConfiguration. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko 7abe6a5b4a Big refactoring. Migrating to package views and fragments. 2013-12-17 19:18:33 +04:00
Alexey Sedunov 6913f42a97 Add support of light classes for local class/object declarations 2013-12-12 17:30:52 +04:00
Evgeny Gerashchenko 50bea726ff Fixed exit code passing on Windows XP 2013-12-09 19:04:20 +04:00
Mikhael Bogdanov 8533fd64ff Compiler inline on/off flag 2013-12-02 18:30:42 +04:00
Mikhael Bogdanov 40239c42a7 Fix cli 2013-12-02 18:30:42 +04:00
Evgeny Gerashchenko f2bbbed7f6 Returning correct exit code from Windows batch scripts. 2013-11-21 17:37:38 +04:00
Evgeny Gerashchenko 51ac515941 Fixed kotlinc-* executables. 2013-11-21 17:37:37 +04:00
Zalim Bashorov 6e5c849cb8 Use Project JDK in cli-common 2013-11-08 18:14:22 +04:00
Zalim Bashorov 1409dd7812 Refresh FS after compilation for js and sourcemap files. 2013-11-08 18:14:21 +04:00
Zalim Bashorov 637c6635bd Just rename some variables like: *factory -> outputFiles 2013-11-08 18:14:21 +04:00
Zalim Bashorov 4cea0a3de4 Fix build after change api 2013-11-08 18:14:21 +04:00
Zalim Bashorov ae8ac28ddc Split OutputFileFactory to OutputFileCollection and OutputFile 2013-11-08 18:14:21 +04:00
Zalim Bashorov e041e950c8 Extracted OutputDirector and output utils to common place 2013-11-08 18:14:20 +04:00
Zalim Bashorov 5dd4eb780e Extracted OutputFileFactory interface. 2013-11-08 18:14:20 +04:00
svtk d2680bca22 extracted class BindingTraceContextWithoutScopeRecording 2013-11-01 15:26:13 +04:00
Andrey Breslav c3614c46cd Do not keep scopes in the trace for CLI compiler 2013-11-01 15:26:12 +04:00
Zalim Bashorov 0d322fe8bc K2JS: add ed outputPrefix and outputPostfix compiler arguments to K2JSCompiler. 2013-10-24 19:06:06 +04:00
Zalim Bashorov 5a28f4e158 Added support project settings in old kotlin2js compiler and made minor refactoring. 2013-10-24 18:36:59 +04:00
Zalim Bashorov 22dde719de Pass arguments to the compiler as String[] instead of Object (instanceof CommonCompilerArguments). 2013-10-24 18:36:59 +04:00
Andrey Breslav c84e582397 Correctly report locations of output files 2013-10-21 19:21:23 +04:00
Alexander Udalov d4aaed2787 Don't add kotlin-runtime to classpath in CliTest
Also remove testing code from KotlinToJVMBytecodeCompiler, delete code
duplication, etc.
2013-10-16 19:02:46 +04:00
Zalim Bashorov 31a4d91122 CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes 2013-10-16 17:39:49 +04:00
Zalim Bashorov 0877dfc1bd CLI: added "-printArgs" arguments to commandline compiler. 2013-10-16 17:39:49 +04:00
Zalim Bashorov 809e25f48a IDEA: created a infrastructure for saving any compiler settings.
Added "generate no warnings" to Settings.
2013-10-16 17:39:48 +04:00
Zalim Bashorov 0901c98ff8 CLI: move *CompilerArguments classes to cli-common module. 2013-10-16 17:39:48 +04:00
Zalim Bashorov db5faf8300 CLI: removed unnecessary code that depended on KT-1863 and KT-2498. 2013-10-16 17:39:48 +04:00
Zalim Bashorov 5d84abb34c CLI: move the compilerPlugins property from CompilerArguments to CLICompiler. 2013-10-16 17:39:47 +04:00
Zalim Bashorov 8cea226a87 CLI: move K2JSCompilerArguments#createMainCallParameters to K2JSCompiler. 2013-10-16 17:39:47 +04:00
Andrey Breslav 5b04783ee2 Using Disposer.newDisposable() instead of an anonymous class 2013-10-15 15:28:29 +04:00