Commit Graph

25385 Commits

Author SHA1 Message Date
Michael Bogdanov 0de83b6f4c Default module name extraction 2015-09-07 16:29:15 +03:00
Michael Bogdanov b58479a169 TEST_MODULE_NAME extraction 2015-09-07 16:29:15 +03:00
Michael Bogdanov 49ee4169f3 Package part proto generation fix 2015-09-07 16:29:14 +03:00
Michael Bogdanov 4958116566 RuntimePackagePartProvider.registerModule refactoring 2015-09-07 16:29:14 +03:00
Michael Bogdanov 466b535ba9 Get rid of DeserializedNewPackageMemberScope.kt 2015-09-07 16:29:13 +03:00
Michael Bogdanov cbe42aa0a2 Extracted 'kotlin_module' constant 2015-09-07 16:29:13 +03:00
Michael Bogdanov bbf63aa38c lazy -> storageManager.createLazyValue 2015-09-07 16:29:12 +03:00
Michael Bogdanov 974095313c Catch NoSuchFieldException 2015-09-07 16:29:11 +03:00
Michael Bogdanov 606b39698c Kotlin module name extraction 2015-09-07 16:29:11 +03:00
Michael Bogdanov 2ca9b3ae0e Code clean 2015-09-07 16:29:10 +03:00
Michael Bogdanov 20bb9963b3 smoke test fix 2015-09-07 16:29:10 +03:00
Zalim Bashorov 2f9f5a3cd5 Minor: fix testdata files
(build.log files for incremental compilation tests)
2015-09-07 16:29:09 +03:00
Zalim Bashorov 5193e6a181 Minor fixes in KotlinJpsBuildTest 2015-09-07 16:29:09 +03:00
Zalim Bashorov b8db33722c Generate kotlin_module incrementally and report source files 2015-09-07 16:29:08 +03:00
Zalim Bashorov 879b1a8abb Try to detect target for output items using outputDir when sourceFiles is empty 2015-09-07 16:29:08 +03:00
Zalim Bashorov 01f3710211 Save dependencies of kotlin_module in cache 2015-09-07 16:29:07 +03:00
Zalim Bashorov f48346f272 Introduce IncrementalPackagePartProvider to load unchanged compiled package parts using module mapping info from incremental cache 2015-09-07 16:29:07 +03:00
Zalim Bashorov ec62cccb1a Fix incremental compilation for new package parts 2015-09-07 16:29:06 +03:00
Zalim Bashorov 8e411e7274 Minor: add incrementalCompilationComponents to GenerationState 2015-09-07 16:29:06 +03:00
Michael Bogdanov 13ca5faa80 Code clean 2015-09-07 16:29:06 +03:00
Michael Bogdanov 25234f672a Maven plugin fixes 2015-09-07 16:29:05 +03:00
Michael Bogdanov c31f2eecc1 updated build.xml 2015-09-07 16:29:05 +03:00
Michael Bogdanov 42e4d39083 Support module name in ant task 2015-09-07 16:29:04 +03:00
Michael Bogdanov 2b6ebedc3e onReceiver test fix 2015-09-07 16:29:04 +03:00
Michael Bogdanov b3fc667c1e WrongAbi test data fix 2015-09-07 16:29:03 +03:00
Michael Bogdanov f1c091e897 Serialize mappings via proto 2015-09-07 16:29:03 +03:00
Michael Bogdanov 672d25e7e0 PackagePartProvider refactoring 2015-09-07 16:29:02 +03:00
Dmitry Petrov 5ca8f7409a Fix debugger tests.
- Index binaries by facade class fqName
- Fix DebuggerUtils: should understand new facades
- Refactor IDELightClassGenerationSupport
- Add facadeSimpleName to KotlinFileStub
2015-09-07 16:29:02 +03:00
Dmitry Petrov f9901f6075 Fix decompiler tests.
For now, JVM and JS backends produce different metadata for package facades (and package parts),
and thus different output is expected for JVM and JS decompiler.
Split decompiler tests into common (decompiledText), JVM-specific (decompiledTextJvm),
and JS-specific (decompiledTextJs)
Join them back together if JS backend migrates to JVM-like package model.
2015-09-07 16:29:01 +03:00
Michael Bogdanov 282727b9b2 Fix tests: DecompiledTextForWrongAbiVersionTest
- no package facades, public file facades
2015-09-07 16:29:01 +03:00
Dmitry Petrov aebdaaab46 Fix tests: TextConstistencyBaseTest & DecompiledTextConsistencyTest
- no package facades, public file facades
2015-09-07 16:29:00 +03:00
Michael Bogdanov 0e5a5a2e25 ldifferentTypes test fix 2015-09-07 16:29:00 +03:00
Michael Bogdanov 378740f4be Jps test fix 2015-09-07 16:28:59 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +03:00
Dmitry Petrov 0289b8e290 Fix tests: ClsStubBuilderTestGenerated should honor new file part generation scheme. 2015-09-07 16:28:58 +03:00
Dmitry Petrov 8e6054f6c7 Fix tests:
- package parts are no longer built;
- test decompiled content for default file facades.
2015-09-07 16:28:58 +03:00
Michael Bogdanov 84649e4b26 Wrong abi test fix 2015-09-07 16:28:57 +03:00
Michael Bogdanov 939f28f293 Jps support 2015-09-07 16:28:57 +03:00
Michael Bogdanov 9e53a0d057 Debugger fix 2015-09-07 16:28:56 +03:00
Michael Bogdanov 9f0662468f Lazy module name propagation 2015-09-07 16:28:56 +03:00
Michael Bogdanov c274ceffe8 PackageFacadeProvider refactoring 2015-09-07 16:28:55 +03:00
Michael Bogdanov 843241848f Test fix 2015-09-07 16:28:55 +03:00
Dmitry Petrov 42d14f6837 Navigate to corresponding implementation class (which is file part).
TODO: proper SourceElements for file parts / file facades / static facades.
2015-09-07 16:28:54 +03:00
Dmitry Petrov 0fa6e0730a jvmName should be applicable to FILE.
Get jvmName from Annotations
(JetFile is not Annotated, since it is a part of AST hierarchy, and there is no corresponding descriptor;
however, there is a standard way to obtain Annotations for JetFile, which is exactly what we need, and what Annotated provides).
2015-09-07 16:28:54 +03:00
Dmitry Petrov b1b845d44d Proper light classes generation in presence of the new file facades. 2015-09-07 16:28:53 +03:00
Dmitry Petrov 5fdfe8df3c PackagePartClassUtils converted to Kotlin and refactored 2015-09-07 16:28:53 +03:00
Dmitry Petrov e050ff3271 Generate ex-package parts as file facades.
Support new facade kind in stub building and incremental compilation.
2015-09-07 16:28:52 +03:00
Michael Bogdanov 43af127ce8 new fixes 2015-09-07 16:28:52 +03:00
Michael Bogdanov e83ec1017b Reflection support 2015-09-07 16:28:51 +03:00
Michael Bogdanov 357a6d9902 repl fix 2015-09-07 16:28:51 +03:00