Commit Graph

815 Commits

Author SHA1 Message Date
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib to new lambda syntax 2015-04-07 13:08:53 +03:00
Michael Nedzelsky 1c7e1ddf26 JS: remove LibrarySourcesConfigWithCaching, introduce LibrarySourceConfig.Builder 2015-04-03 05:36:18 +03:00
Michael Nedzelsky 5a73bd19c5 JS: move processing metaInfo to TranslationResult 2015-04-03 05:36:02 +03:00
Michael Nedzelsky 0951d69bdc JS: add metaInfo attribute to Config 2015-04-03 05:35:56 +03:00
Pavel V. Talanov cb7617b3ca Refactor CompilerConfiguration: keys -> Content roots
Represent classpath roots and java source roots as separate entities
2015-04-02 16:13:06 +03:00
Alexander Udalov 085bc2197b Merge module 'serialization.jvm' into 'descriptor.loader.java'
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes
2015-03-30 17:22:06 +03:00
Pavel V. Talanov b73bd697e6 Rename JetCoreEnvironment -> KotlinCoreEnvironemnt 2015-03-30 15:11:58 +03:00
Pavel V. Talanov 2dcf935b99 Convert JetCoreEnvironment: clean up code 2015-03-30 15:11:57 +03:00
Pavel V. Talanov 0209acceb1 Convert JetCoreEnvironment: autoconvert 2015-03-30 15:11:56 +03:00
Pavel V. Talanov 49a0da7750 Convert JetCoreEnvironment: rename file 2015-03-30 15:11:56 +03:00
Natalia Ukhorskaya 785f7e749f InlineCodegen: find virtual file using findVirtualFileWithHeader 2015-03-30 14:03:24 +03:00
Pavel V. Talanov 9d618ca767 Replace OBJECT$ usages in code and test data 2015-03-25 18:28:01 +03:00
Alexander Udalov 4e7d4f9340 Fix ReplInterpreterTestGenerated locally 2015-03-23 12:21:07 +03:00
Michael Nedzelsky 3bf14518e8 JS backend: add -meta-info command line option for cli compiler 2015-03-18 09:38:53 +03:00
Zalim Bashorov 5e782dd547 Switch to the new(right) API for register extension points and extensions. 2015-03-17 14:11:00 +03:00
Yan Zhulanow df2d2dc21a Fix formatting in PluginCliParser 2015-03-13 15:46:44 +03:00
Yan Zhulanow d5e4775bcd Show plugin usage on invalid arguments 2015-03-13 15:46:37 +03:00
Michael Nedzelsky 54bbe0711d JS backend: reuse analysisResult from K2JSCompiler in translator 2015-03-12 16:35:22 +03:00
Andrey Breslav 704eea2eac TraceBasedErrorReporter converted to Kotlin and [data] added to AbiVersionErrorData 2015-03-11 19:38:16 +03:00
Andrey Breslav 36bbd2c0e3 ErrorReporter is now Java-independent 2015-03-11 19:38:15 +03:00
Isak Karlsson efae5c05a1 Support classpath argument when running scripts using the -script flag
Signed-off-by: Isak Karlsson <isak-kar@dsv.su.se>
2015-03-11 18:08:14 +03:00
Andrey Breslav bbb59773aa filesToAnalyzeCompletely removed 2015-03-06 21:59:05 +03:00
Andrey Breslav 32a3b58f14 ScriptDescriptorImpl and related non-lazy code removed 2015-03-06 21:59:04 +03:00
Andrey Breslav d310b0c99d Got rid of the LAZY flag 2015-03-06 21:59:03 +03:00
Evgeny Gerashchenko 8ab94a18ae Inlined trivial method classDescriptorToDeclaration 2015-03-05 15:19:30 +03:00
Yan Zhulanow 7bc81f68b4 Fix a bug in PluginURLClassLoader 2015-02-26 16:07:45 +03:00
Yan Zhulanow 2d6186b155 Report compiler exception on plugin load fail 2015-02-26 16:07:45 +03:00
Yan Zhulanow 0ecd1c04b0 Update copyright 2015-02-26 15:26:02 +03:00
Yan Zhulanow 7423e30065 Removed Android dependencies from core modules 2015-02-26 15:26:02 +03:00
Yan Zhulanow f033604c7a Rename jet to kotlin in compiler api 2015-02-26 15:25:59 +03:00
Yan Zhulanow 9aef9b2643 Rename jet to kotlin in plugin-api 2015-02-26 15:25:58 +03:00
Yan Zhulanow c756cfef86 Codebase update 2015-02-26 15:25:57 +03:00
Yan Zhulanow 6ab2dc90f8 Fix cli help tests 2015-02-26 15:25:54 +03:00
Yan Zhulanow 4b18507bf5 CliOptions moved to the separate file 2015-02-26 15:25:54 +03:00
Yan Zhulanow e891d48a7a Localize plugin string format usages 2015-02-26 15:25:54 +03:00
Yan Zhulanow 7fc5114ffc Load compiler plugins via the custom ClassLoader 2015-02-26 15:25:50 +03:00
Yan Zhulanow e0f1a56b28 Load compiler plugins via ServiceLoader 2015-02-26 15:25:44 +03:00
Yan Zhulanow 660997e1b9 Loading compiler plugins implemented 2015-02-26 15:25:43 +03:00
Yan Zhulanow 72c611df22 Extensions registered before usage 2015-02-26 15:25:43 +03:00
Yan Zhulanow a08411f925 Process normally when no plugins were found 2015-02-26 15:25:43 +03:00
Andrey Breslav 5811b13ce7 ExpressionCodegenExtension extracted 2015-02-26 15:25:40 +03:00
Andrey Breslav e10d8a6fe0 ExternalDeclarationsProvider introduced 2015-02-26 15:25:40 +03:00
Andrey Breslav 1e70369cf8 Logic related to command-line options moved to android-compiler-plugin 2015-02-26 15:25:40 +03:00
Andrey Breslav d961e2f5b4 CommandLineProcessor infrastructure added 2015-02-26 15:25:39 +03:00
Andrey Breslav 565ce5a781 frontend.android renamed to android-compiler-plugin 2015-02-26 15:25:39 +03:00
Andrey Breslav 35028227a0 Plugin component registrar introduced
CompilerConfiguration moved to plugin-api
2015-02-26 15:25:38 +03:00
Mikhail Mutcianko 376886a9c3 add configuration key to pass android manifest file 2015-02-26 15:25:28 +03:00
Mikhail Mutcianko 1b50b226ae move android rename handler out of kotlin property renamer, extract resource manager class 2015-02-26 15:25:25 +03:00
Mikhail Mutcianko d107ad92a0 refactor converter initialization
- push lazyInit() down to IDE and Cli implementations
- no file listeners created in cli implementation anymore
- fix tests
2015-02-26 15:25:20 +03:00
Mikhail Mutcianko eb7534f369 add converter output caching
- add two level caching: per xml conversion result and complete resulting JetFile,
  so that only modified xmls are actually converted, and if no change has been
  made to any of those, last successfully built psi file is returned
- merge AndroidUIXmlPathProvider and AndroidUIXmlParser
- update tests
2015-02-26 15:25:19 +03:00