Commit Graph

452 Commits

Author SHA1 Message Date
Alex Tkachman ffbce7fe1e KT-1589: Array<T>(size) renamed to arrayOfNulls 2012-04-02 14:30:37 +03:00
Alex Tkachman a4ebbaa1a0 KT-1441 proper identityEquals 2012-04-02 13:32:31 +03:00
Alex Tkachman 9d752561eb almost full support for annotations 2012-04-01 21:50:01 +03:00
Alex Tkachman 0cb26b0566 more annotations 2012-03-31 16:14:32 +03:00
Svetlana Isakova 4f30e12177 fixes after merge 2012-03-30 13:38:36 +04:00
Svetlana Isakova 5419b0a3dc Tests fixed after visibility changing 2012-03-30 13:38:36 +04:00
Stepan Koltsov 2c4094f4d4 proper environment when compiling special things
* do not include anything when compiling builtins
* do not include kotlin-runtime and jdk-headers when compiling jdk-headers
2012-03-30 03:54:58 +04:00
Stepan Koltsov ec367a0bf0 merge copy-paste after excessive inline in e6fda5 2012-03-29 23:39:01 +04:00
Maxim Shafirov 060be0a8f8 Refactor dependencies, so jet-as-java might be used in cli. 2012-03-29 21:18:35 +04:00
Stepan Koltsov e6fda5b3d3 minor codegen refactoring
* cleanup after yesterday
* remove BindingContext stack in GenerationState
* use more power and strength of di

TODO: also initialize GenerationState by DI
2012-03-29 19:47:50 +04:00
Andrey Breslav ed04839901 renaming/code moving to meet the code style 2012-03-29 19:22:55 +04:00
Andrey Breslav 0ae59df0b1 A little renaming to make code more clear 2012-03-29 16:17:43 +04:00
Stepan Koltsov 5bef29870d more di in jvm.codegen 2012-03-29 01:37:02 +04:00
Stepan Koltsov 1e330fe0a0 jvm.backend: get JetStandardLibrary from analyzer
This is a big step towards removal of JetStandardLibrary.getInstance()
2012-03-29 01:03:44 +04:00
Stepan Koltsov ca30e7b67b rename class 2012-03-28 23:56:34 +04:00
Stepan Koltsov 231a4d9940 injector for JVM codegen 2012-03-28 23:39:03 +04:00
Svetlana Isakova f7cfb36f62 # KT-1579 Fixed Can't import nested class/trait 2012-03-27 16:20:59 +04:00
Stepan Koltsov 69c9d3ffad PsiClassFinder 2012-03-27 00:27:27 +04:00
Alex Tkachman 83ed0a846e KT-1597 optimized as/as? 2012-03-26 16:56:24 +02:00
Stepan Koltsov 0a08f811ea test compile builtins 2012-03-26 17:42:01 +04:00
Stepan Koltsov 1704edc6b9 AnotherTestCaseWithTmpdir 2012-03-26 17:41:56 +04:00
Alex Tkachman d0e7248ec1 KT-628 !! support 2012-03-26 11:37:40 +02:00
Stepan Koltsov 2e288fe1a0 CompileJdkHeadersTest 2012-03-24 02:25:14 +04:00
Stepan Koltsov 8517fe6878 store namespace kind in trace, kill some JavaNamespaceDescriptor usages
JavaNamespaceDescriptor will be killed soon
2012-03-23 23:44:16 +04:00
Stepan Koltsov 162525f794 use dependency injector for JavaDescriptorResolver
JavaDescriptorResolver now lives in the same context as TopDownAnalyzer
2012-03-22 03:47:05 +04:00
Stepan Koltsov 921b601628 fix serialization of types in Read*BinaryClassTest 2012-03-22 03:46:46 +04:00
James Strachan e740c47e29 removed some of the cruft and redundant copies of junit.jar 2012-03-21 09:09:09 +00:00
Stepan Koltsov 54af5d9f9f DescriptorSearchRule should help detecting loops 2012-03-20 19:32:46 +04:00
Stepan Koltsov 1a34a9976e Revert "DescriptorSearchRule should help detecting loops"
This reverts commit 2a3126e71e.

Commit breaks alt-headers compilation
2012-03-20 00:42:44 +04:00
Stepan Koltsov 2a3126e71e DescriptorSearchRule should help detecting loops 2012-03-20 00:16:15 +04:00
Stepan Koltsov 089820fb38 fail properly if stdlib compilation failed 2012-03-19 23:25:18 +04:00
Stepan Koltsov 2fd1fe78e5 fail properly in test 2012-03-19 23:25:14 +04:00
Alex Tkachman 56eabfe07b KT-1508 jet.Number -> j.l.Number 2012-03-17 13:57:45 +02:00
Andrey Breslav 9c58e5b45c Making compiler exit codes type safe. Fixes the problem with wrong command-line argument usage being missed by the IDE 2012-03-16 20:20:54 +04:00
Alex Tkachman 6ff783e79b KT-1592 don't write default values for annotations 2012-03-16 15:48:49 +02:00
Stepan Koltsov 1610c9b3a0 FqNameUnsafe 2012-03-15 19:28:29 +04:00
Stepan Koltsov 4c8cd6ca5c NamespaceFactory
* extract NamespaceFactory from TypeHierarchyResolver
* implement NamespaceFactory.createNamespaceDescriptorPathIfNeeded(FqName)
* FqName .path() and .pathSegments() utilities
2012-03-15 17:30:29 +04:00
Maxim Shafirov e82dd48662 Progress messages when emitting classfiles 2012-03-14 21:59:51 +04:00
Stepan Koltsov 7a6f18c14a di: required parameters
* required parameters have @NotNull annotation generated
* parameters are required by default
2012-03-14 21:47:25 +04:00
James Strachan 7ef65c0099 moved the stdlib tests into the same directory as the stdlib, so it works a bit better with maven support in IDEA 2012-03-14 16:14:14 +00: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
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +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 ee2976d380 Unnecessary beans removed 2012-03-13 20:30:42 +04:00
Andrey Breslav c6e54b133c Deterministic order of setter calls 2012-03-13 20:00:54 +04:00
Andrey Breslav 93fcd7d1f2 Dependency Injection: GUICE replaced by custom code generation 2012-03-13 19:44:35 +04:00
Alex Tkachman 5bb7c2122d KT-1538 proper boolean invertion 2012-03-13 15:50:29 +02: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