Commit Graph

2877 Commits

Author SHA1 Message Date
Maxim Shafirov e82dd48662 Progress messages when emitting classfiles 2012-03-14 21:59:51 +04:00
Stepan Koltsov fecc98af8c more DI in top down analysis 2012-03-14 21:47:29 +04:00
Stepan Koltsov 5af4661c18 better root ns
* ModuleDescrpiptor now lives in context
* ns parent is module descriptor iff ns is root ns
* minor test enhancements
2012-03-14 19:43:22 +04:00
Nikolay Krasko cd59e72350 Add ability to post exceptions during analyzing as errors from IDEA 2012-03-14 15:53:39 +04:00
Evgeny Gerashchenko af9f00c177 Merge branch 'decompiler'
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/NamespaceCodegen.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/JavaPackageScope.java
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/DescriptorUtils.java
2012-03-14 14:50:04 +04:00
Stepan Koltsov 82d77560a2 FqName class
for type safety, to easier distinguish between:

* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
Andrey Breslav 646334cc39 Qualified name in the exception messageˆ 2012-03-13 18:17:30 +04:00
Alex Tkachman c870eccc4f fix for KT-1515 wrong loading of annotations 2012-03-13 12:28:35 +02:00
Alex Tkachman 9aa992c209 fix for KT-1568 1.javaClass 2012-03-13 09:36:15 +02:00
Stepan Koltsov 3748507ac1 disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Nikolay Krasko 55b0ea1e60 - Don't repeat reference variant lookup for empty prefix.
- Temporary disable duplicates search with PsiElement position.
2012-03-12 21:12:42 +04:00
Stepan Koltsov 7c8170cddd better diagnostics in JavaDescriptorResolverHelper 2012-03-12 17:31:30 +04:00
Andrey Breslav 3c71512850 Minimal refactoring that eliminates importing Java's root namespace by default.
All tests pass. Some beautifying needed

#KT-1477 Fixed
2012-03-12 16:21:52 +04:00
Andrey Breslav 6bc3bbb53d Rename StandardConfiguration into DefaultModuleConfiguration 2012-03-12 16:21:52 +04:00
Andrey Breslav 61aac5d544 Configuration renamed into ModuleConfiguration 2012-03-11 18:57:38 +04:00
Stepan Koltsov 4443f912af fix PackageScope.getAllDescriptors
http://youtrack.jetbrains.com/issue/KT-1553
2012-03-11 15:49:54 +04:00
Stepan Koltsov 0c2b91aa10 KT-1536: parse Throwable as nullable in JavaDescriptorResolver 2012-03-11 15:24:46 +04:00
Stepan Koltsov 997fbb60a3 using guice to wire TopDownAnalyzer beans
attempt 2
2012-03-10 00:54:16 +04:00
Evgeny Gerashchenko ecf622dca4 Replaced hash sets with linked hash sets in JavaPackageScope. 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
Svetlana Isakova e9a7a909f6 KT-1402 Create new Kotlin object from a Java public static inner class 2012-03-07 12:09:03 +04:00
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +04:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00
Svetlana Isakova d5da6e8c23 Interface of 'addDefaultImports' in StandardConfiguration simplified 2012-03-06 16:02:30 +04:00
Stepan Koltsov 16917dea4f fix prop modality reading from class files 2012-03-02 23:18:50 +04:00
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +04:00
Stepan Koltsov 7b574e8b49 make javabean getters/setter not visible as properties temporarily
fixes KT-1432
2012-03-02 18:05:10 +04:00
Andrey Breslav d22ee1ab23 Temporarily disabling the assertion, to debug the build. 2012-03-01 20:17:59 +04:00
Stepan Koltsov 28ff40e659 KT-1456 ISE in JavaDescriptorResolver ...
KT-1456 ISE in JavaDescriptorResolver on attempt to create subclass
with partially specifying type arguments

Also add internal state checks.
2012-02-29 19:42:17 +04:00
Stepan Koltsov 20ca194eef refactor TypeVariableResolver
* simplified and unified
* better diagnostics (if type variabe is not found, exception message contains reference)
2012-02-29 19:21:10 +04:00
Stepan Koltsov 67acb4c1e2 toString in error message 2012-02-29 17:03:48 +04:00
Stepan Koltsov 5a4391e8bc more asserts that we are not using JavaDescriptorResolver to resolve JetLightClass 2012-02-28 19:24:05 +04:00
Andrey Breslav 452d6f0b1e Fix the build: remove the testlib module from the project 2012-02-28 19:15:54 +04:00
Andrey Breslav d22f4eb144 Rename getOutType() -> getType() 2012-02-24 18:50:40 +04:00
Andrey Breslav 1f4f4e5c24 Remove the annoying misconcetion in the naming. 2012-02-24 18:39:35 +04:00
Stepan Koltsov e0fae55ee4 read kotlin class objects from binary classes 2012-02-22 22:11:08 +04:00
Stepan Koltsov b9bc882bf9 useless constructor modality parameter 2012-02-22 22:10:58 +04:00
Stepan Koltsov 16f76982d1 assert JetLightClass is not parsed as regular PsiClass 2012-02-22 22:10:54 +04:00
Stepan Koltsov 62ddef4734 fix tests after javabean properties parsing 2012-02-22 00:38:14 +04:00
Stepan Koltsov f83c5e0d83 read java bean properties as kotlin properties 2012-02-21 23:15:36 +04:00
Alex Tkachman cc8d263f9e preliminary support for intrinsics in std lib. javaClass<T> 2012-02-21 20:37:38 +02:00
Stepan Koltsov 2796c914c4 remove unused code in JavaDescriptorResolver 2012-02-21 21:30:02 +04:00
Stepan Koltsov b59970a610 JDR: work with names, not with PsiSomething
This should fix (or hide) problems like
http://ea.jetbrains.com/browser/ea_problems/33857
2012-02-21 21:10:25 +04:00
Stepan Koltsov 66e7945f29 minor JDR refactoring
* function descriptor cache is no longer needed in JDR
* fixed incorrect assertion
* removed unused parameter
* better exception message

Related to http://ea.jetbrains.com/browser/ea_problems/33872
2012-02-21 20:44:56 +04:00
Stepan Koltsov aacf63ff6f reading annotations from bytecode
(without fields yet)
2012-02-21 20:16:11 +04:00
Alex Tkachman fb8fa8bf9e intrinsic renamed to Intrinsic 2012-02-21 15:31:05 +02:00
Alex Tkachman 5e7de3f5ab getting rid of JetObject.getOuterObject 2012-02-21 15:13:16 +02:00
Alex Tkachman 8b622f97f4 getting rid of TypeInfo 2012-02-21 14:54:00 +02:00
Stepan Koltsov a1d88a0877 recognize @NotNull
http://youtrack.jetbrains.com/issue/KT-129
2012-02-20 22:37:06 +04:00