Commit Graph

25361 Commits

Author SHA1 Message Date
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
Michael Bogdanov e18c1bb360 propagate proper packageMappingProvider in tests 2015-09-07 16:28:50 +03:00
Michael Bogdanov 21e9c9b0c1 package part indexing hack 2015-09-07 16:28:50 +03:00
Michael Bogdanov 5581d4e207 Don't verify mapping files and proper packagemapper propagation 2015-09-07 16:28:49 +03:00
Michael Bogdanov 0883781f8c TODO: support mapping processing in incremental compilation 2015-09-07 16:28:49 +03:00
Michael Bogdanov ebb1629285 new scope and deserialization 2015-09-07 16:28:49 +03:00
Michael Bogdanov 7f2973dc7d proto serialization 2015-09-07 16:28:48 +03:00
Michael Bogdanov 1fcacecf93 stubs for new components 2015-09-07 16:28:48 +03:00
Michael Bogdanov 6dcd059009 new kompiler parameter 2015-09-07 16:28:47 +03:00
Michael Bogdanov 65308d6aaf Proper module name: HACK 2015-09-07 16:28:47 +03:00
Michael Bogdanov 42d46853c7 Module mapping generation 2015-09-07 16:28:46 +03:00
Dmitry Petrov 83336553df Use special index to record files corresponding to static facade classes. 2015-09-07 16:28:45 +03:00
Dmitry Petrov ab8b5d05ed Light class generation for new facades/parts.
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00
Dmitry Petrov 47f5b55e65 KotlinLightClassForPackage -> KotlinLightClassForFacade
(with minor changes)
2015-09-07 16:28:44 +03:00
Dmitry Petrov 1c81b00143 Use ASCII capitalization for part class names 2015-09-07 16:28:44 +03:00
Dmitry Petrov 7af88f6797 Update debug tests & incremental compilation tests depending on part class naming 2015-09-07 16:28:43 +03:00
Dmitry Petrov cd6ff31129 Update tests depending on part class naming 2015-09-07 16:28:43 +03:00
Dmitry Petrov a47eaa2cb5 Change part class naming scheme
update tests depending on part class naming
2015-09-07 16:28:42 +03:00
Michael Bogdanov 801d10229b Partially removed replaceHashWithStar 2015-09-07 16:28:41 +03:00
Michael Bogdanov 45a85e3e35 Removed packagePartHASH 2015-09-07 16:28:41 +03:00
Michael Bogdanov 17d9b93790 DelegationClassBuilderFactory class extraction 2015-09-07 16:28:41 +03:00
Michael Bogdanov 35d51a8ea4 Update duplicate diagnostic 2015-09-07 16:28:40 +03:00
Michael Bogdanov d524cdeef7 ~Redeclaration 2015-09-07 16:28:40 +03:00
Michael Bogdanov 2c2ec508d3 Redeclaration tests patched 2015-09-07 16:28:39 +03:00
Michael Bogdanov 0936351983 Incremental tests patched 2015-09-07 16:28:39 +03:00