Commit Graph

4747 Commits

Author SHA1 Message Date
Stepan Koltsov 4125a508ec create forTestCompile package 2012-04-09 00:07:52 +04:00
Stepan Koltsov d74c217936 rename stdlib to runtime 2012-04-08 23:31:29 +04:00
Stepan Koltsov 09ddfb714e cleanup in JavaDescriptorResolver 2012-04-08 23:23:59 +04:00
Stepan Koltsov b0325f14ef remove useless field in JavaNamespaceDescriptor 2012-04-08 23:23:59 +04:00
Evgeny Gerashchenko ee24554e28 Fixed highlighting of builtin annotations (they were highlighted like keywords). 2012-04-08 22:58:50 +04:00
Evgeny Gerashchenko 05fd46009d Replaced diagnostic factories so they show type FQ names instead of short names.
#KT-1137 fixed
2012-04-08 22:45:07 +04:00
Stepan Koltsov 886cfbdb98 create JavaPackageScope for class statics
... and compute "kotlin" flag in ResolverScopeData
2012-04-08 22:26:15 +04:00
Stepan Koltsov ce0565b449 exclude JetJavaMirrorMaker in PsiClassFinder 2012-04-08 22:26:15 +04:00
Nikolay Krasko 4ec080f71f KT-1666 Invoking "Go to Declaration" for String type offers two variants - Temp boring fix
#KT-1666 fixed
2012-04-08 20:38:11 +04:00
Evgeny Gerashchenko 89b08d6296 Extracted DeclarationDescriptorComparator from DecompiledDataFactory. 2012-04-08 20:01:49 +04:00
Evgeny Gerashchenko aec021e668 Implemented better rendering for parameters with default values in decompiler and descriptor renderer.
#KT-1582 fixed
2012-04-08 19:59:53 +04:00
Evgeny Gerashchenko 0d84a045ee Minor: added @NotNull annotations from interfaces. 2012-04-08 19:42:46 +04:00
Evgeny Gerashchenko eeb991e338 Fixed exception on opening non-Kotlin class file.
#EA-35266 fixed
2012-04-08 19:22:22 +04:00
Evgeny Gerashchenko 19efb9fee5 Got rid of live templates in completion after dot.
#KT-1676 fixed
2012-04-08 18:10:38 +04:00
Evgeny Gerashchenko 3fa0561f3d Added global constants for OS_SEPARATOR and VFS_SEPARATOR. 2012-04-08 17:20:04 +04:00
Evgeny Gerashchenko dfd3f50c52 Made VirtualFile subtype of Hashable. 2012-04-08 17:06:33 +04:00
Evgeny Gerashchenko 1931d82416 Changed keys for FileSystem.fileToInfo map (because of fixed compiler bugs) 2012-04-08 17:06:33 +04:00
Evgeny Gerashchenko 6772df3298 Replaced getter methods with properties (because of fixed compiler bugs) 2012-04-08 17:06:32 +04:00
Stepan Koltsov 41fb628004 merging ResolverScopeData subclasses and Java*Scope classes 2012-04-08 05:52:01 +04:00
Stepan Koltsov 7be3d247f9 fix tests after recent refactoring 2012-04-08 05:39:46 +04:00
Stepan Koltsov 7aeded2522 more fqname utils 2012-04-08 05:39:43 +04:00
Stepan Koltsov ae9155f1af DiType.toString() 2012-04-08 05:39:40 +04:00
Stepan Koltsov 611b04025d lost property from superclass 2012-04-08 03:18:38 +04:00
Stepan Koltsov a661134b35 parse property name utility 2012-04-08 03:18:35 +04:00
Stepan Koltsov f16895ba65 new compiler mode: stdlib
include jdk-headers, do not include runtime
2012-04-08 02:08:27 +04:00
Stepan Koltsov 0f166acf5d assertions in closure annotator 2012-04-08 02:08:27 +04:00
Stepan Koltsov 0a610d81ad compiler argument parsing cleanup 2012-04-08 02:08:26 +04:00
Stepan Koltsov a43c0c19a8 assert builtins do not reference java.* classes 2012-04-08 02:08:26 +04:00
Stepan Koltsov 3e9ef572ea hide another map from JavaTypeTransformer 2012-04-08 02:08:25 +04:00
Stepan Koltsov 4aec67a1c6 again: do not include jdk headers when compiling jdk headers 2012-04-08 02:08:25 +04:00
Stepan Koltsov 74e0bd85f5 remove useless and wrong code
unfortunately I couldn't write test that proves this code is wrong
2012-04-08 02:08:25 +04:00
Stepan Koltsov 16f333af9f ReadKotlinBinaryClassTest: override val test 2012-04-08 02:08:24 +04:00
Stepan Koltsov 20f98d554c JDR: better loop check
(using JetJavaMirrorMaker)

... and fix test
... and remove junk code
2012-04-07 23:40:38 +04:00
Stepan Koltsov 2bc305bddf store ResolverScopeData in Java*Scope 2012-04-07 23:16:48 +04:00
Stepan Koltsov 6a68de9a8b useless class 2012-04-07 23:16:48 +04:00
Stepan Koltsov b9d0363d57 properly cache JavaPackageScope 2012-04-07 23:16:48 +04:00
Stepan Koltsov 92ae9698e3 JavaDescriptorResolver: kill namespace cache by psi 2012-04-07 23:16:47 +04:00
Stepan Koltsov c653622033 JavaPackageScope refactoring
* store PsiClass and PsiPackage inside
* do not create if there's no PsiClass or PsiPackage
2012-04-07 23:16:47 +04:00
Stepan Koltsov 7bcb682180 useless logger field 2012-04-07 23:16:47 +04:00
Stepan Koltsov d969d8e18f fix test (disable assertion) 2012-04-07 23:16:47 +04:00
Leonid Shalupov 673c274ba4 add some maven distribution management 2012-04-07 20:42:28 +04:00
Stepan Koltsov 0417df6429 initialize ANY_NULLABLE without cyclic dependencies
between <clinit> of ErrorUtils and JetStandardClasses
2012-04-07 06:32:20 +04:00
Stepan Koltsov 3ba2aa91fd simple revursion check in scope 2012-04-07 06:32:19 +04:00
Stepan Koltsov 498d444a0a do not expose map 2012-04-07 06:32:19 +04:00
Stepan Koltsov 8623361e22 more FqName instead of String 2012-04-07 06:32:19 +04:00
Stepan Koltsov 9e9d60e02a remove unused code 2012-04-07 06:32:19 +04:00
Stepan Koltsov 3d863a6b37 diag 2012-04-07 06:32:18 +04:00
Stepan Koltsov b38e171812 MapTypeMode and properly map builtins
used in JetTypeMapper in JetTypeMapper

* MapTypeMode contains no information not needed by JetTypeMapper
* MapTypeMode has separate VALUE and IMPL values that are needed to compile builtins
2012-04-07 06:32:18 +04:00
Stepan Koltsov d8e86b12aa CompileStdlibTest 2012-04-07 06:32:18 +04:00
Stepan Koltsov 829173d5ec di: shortcut to initialize constant enum fields 2012-04-07 06:32:18 +04:00