Commit Graph

431 Commits

Author SHA1 Message Date
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
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
Andrey Breslav 61aac5d544 Configuration renamed into ModuleConfiguration 2012-03-11 18:57:38 +04:00
Stepan Koltsov 997fbb60a3 using guice to wire TopDownAnalyzer beans
attempt 2
2012-03-10 00:54:16 +04:00
James Strachan f43fd0f4f6 minor refactor to make KotlinCompiler easier to extend (to make command line based compiler tools with configurable plugins) 2012-03-08 08:05:47 +00:00
Andrey Breslav a94b77ffc9 Revert GUICE introduction 2012-03-07 12:58:37 +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
Andrey Breslav c794da3c55 More paths fixed 2012-03-06 20:21:51 +04:00
Andrey Breslav 77f9d27b2c Paths fixed 2012-03-06 19:58:12 +04:00
Andrey Breslav f834ed4517 Paths fixed 2012-03-06 19:00:29 +04:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
James Strachan ffa2b7b085 added a flag to indicate whether or not the module is being compiled or not (so we can defer compiler plugins until after the module is built) 2012-03-03 06:35:32 +00:00
Stepan Koltsov 1e92594e99 better member sorting in Read*BinaryClassTest 2012-03-03 00:19:32 +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
Alex Tkachman 190e539365 KT-1482 fix: abstarct properties codegen 2012-03-01 07:24:18 +02:00
Stepan Koltsov 92c69b6826 JetDiagnosticsTest: java+kotlin 2012-02-29 22:33:53 +04:00
Andrey Breslav 895237090f Revert 8111d5db97 2012-02-29 22:18:37 +04:00
Andrey Breslav 8111d5db97 The +JDK option doesn't seem to make any difference any more: the tests are fast either way 2012-02-29 20:48:11 +04:00