Commit Graph

3989 Commits

Author SHA1 Message Date
Evgeny Gerashchenko b64e2ca886 Replaced asserts in JetDummyClassFileViewProvider with returning null. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 8f5d469a0c Replaced short names with fully qualified in DescriptorRenderer. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 9658dd7c39 Excluded classes from decompiled namespaces. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 4b6e9557a6 Made JetDummyClassFileViewProvider package-private. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko c2a300b637 Moved classes related to navigation to libraries to libraries subpackage of plugin package. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 2a9c124957 Added implementation of ClsCustomNavigationPolicy for Kotlin libraries. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 91adb13380 Added JetDummyClassFileViewProvider which is needed to JetFiles created from libraries have link to physical VirtualFile instead of LightVirtualFile. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 01ed1c3f75 Added saving mapping from ClsElements to JetElements in compiled classes. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko 72fbdfa65e Extracted JetDecompiledData from JetContentBasedFileSubstitutor. It saves parsed Kotlin tree and text to user data of ClsFileImpl 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko 54a781edb6 Got rid of loading java stubs from class files: using ClsFile from PsiManager.findFile() instead. 2012-03-07 14:58:56 +04:00
Evgeny Gerashchenko d989fdfd3e Minor in DescriptorRenderer: added space after type parameters 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko b257a497d1 Added /* compiled code */ comments. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko ecf622dca4 Replaced hash sets with linked hash sets in JavaPackageScope. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko e810d73286 Some minor fixes in presentation of decompiled namespaces. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 61639e577e Added basic decompilation for namespace classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 5baf50cb92 Provided PSI file for decompiled Kotlin classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2d492e5171 Added rendering class members. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 688fad7f8f Added COMPACT descriptor renderer (without "defined in ...") 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 16f4ec70e9 Replaced HashMap with LinkedHashMap in JavaClassMembersScope, JavaDescriptorResolver and JavaDescriptorResolverHelper (so the order of members is deterministic). 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 608787f639 Added explicit return-type annotation for FunctionalList.iterator() 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 7627cb6ed1 Removed redundant "final" in DescriptorRenderer. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko 2950d87b95 Using JavaDescriptorResolver to resolve Kotlin compiled classes. 2012-03-07 14:58:55 +04:00
Evgeny Gerashchenko a98532c46e Implemented simple class content subsitutor. 2012-03-07 14:58:55 +04:00
James Strachan 41f456583a added missing ivy file 2012-03-07 10:26:58 +00:00
James Strachan 585625bf2f refactored the comments to split the wiki markup into the first paragraph for the summary and the rest for the detail and to allow relative URL links to classes in wiki links 2012-03-07 10:26:53 +00:00
James Strachan a6254ec4aa fixed up comment 2012-03-07 10:26:53 +00:00
Evgeny Gerashchenko cb45426d44 Got rid of non-ASCII character in JetCompiler. 2012-03-07 13:55:22 +04:00
James Strachan ab8499be32 added a sample project for generating the kdoc reports via the maven plugin (snapshot version) 2012-03-07 09:53:52 +00:00
James Strachan 7af79bc31b added gitignore and pegdown version 2012-03-07 09:53:52 +00:00
Nikolay Krasko ec29e06115 - KT-1430 Import popup/type completion does not work for extension functions
- refactoring for auto import tests
2012-03-07 13:42:06 +04:00
Andrey Breslav a94b77ffc9 Revert GUICE introduction 2012-03-07 12:58:37 +04:00
Svetlana Isakova e9a7a909f6 KT-1402 Create new Kotlin object from a Java public static inner class 2012-03-07 12:09:03 +04:00
James Strachan f6244f75ea minor refactoring to allow plugins to be added to the BytecodeCompiler 2012-03-07 07:36:18 +00:00
James Strachan fcc7189653 added very early spike of a pure kotlin based maven plugin (though we need value annotations before it can work :) 2012-03-07 07:13:48 +00:00
Stepan Koltsov 15e2741f06 ... fix build.xml too 2012-03-07 04:26:14 +04:00
Stepan Koltsov b62c21e446 missing files 2012-03-07 04:12:08 +04:00
Stepan Koltsov c3e2fc947d using guice to wire TopDownAnalyzer beans 2012-03-07 04:09:12 +04:00
Stepan Koltsov 406c81fbb3 better diag in CompileEnvironmentTest 2012-03-07 04:09:00 +04:00
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +04:00
Stepan Koltsov 5ae9cdff6b link from method to similar 2012-03-07 04:07:14 +04:00
Stepan Koltsov c2026b89b8 missing test in ReadJavaBinaryClassTest 2012-03-07 04:07:10 +04:00
James Strachan fee9d2d1a2 fixed up surefire configuration so the build works 2012-03-06 20:26:40 +00:00
James Strachan 310af17e83 added a pom for kunit 2012-03-06 20:24:10 +00:00
James Strachan 6b514bdb9a include the test cases for stdlib maven build 2012-03-06 20:18:25 +00:00
James Strachan 8fda6a8892 got a basic mvn build working (without testing stdlib yet) 2012-03-06 20:15:17 +00:00
James Strachan 0e50c76f44 added first spike at maven poms for stdlib and kdoc 2012-03-06 19:50:03 +00:00
Evgeny Gerashchenko a79a36dd11 Updated DescriptorRenderer to to be aware of types like Iterator<#(Int, Boolean)> 2012-03-06 22:01:23 +04:00
Evgeny Gerashchenko 78b7c32cd5 Refactored JetStandardClasses and DescriptorRenderer: renderer for tuple and function types share common code. 2012-03-06 22:01:23 +04:00
Andrey Breslav b70565591e Run configuration for tests added 2012-03-06 21:29:25 +04:00
Andrey Breslav b657cb0260 Useless ipr removed 2012-03-06 21:20:10 +04:00