Commit Graph

5830 Commits

Author SHA1 Message Date
Alex Tkachman 03c4e755fa preparations to multi-file compilation 2012-06-06 11:12:39 +03:00
Stepan Koltsov f27147f752 script: make top level declarations class members 2012-06-05 22:59:07 +04:00
Stepan Koltsov 877ecf83ad store script object in CodeGenTest field 2012-06-05 22:56:26 +04:00
Stepan Koltsov 68ae2e95a3 better ScriptGenTest: check more fields 2012-06-05 22:56:26 +04:00
Stepan Koltsov 9a71cb5e72 CodeGenTest: check result and print code in any blackbox
... and fix test
2012-06-05 22:56:25 +04:00
Stepan Koltsov d33c8638d8 JetControlFlowTest doesn't need stdlib or jdk headers 2012-06-05 22:56:25 +04:00
Stepan Koltsov 6c12aa8605 rename CodegenContext.contextType to contextDescriptor to match getter name 2012-06-05 22:56:25 +04:00
Stepan Koltsov 4cf48d64a7 rename FunctionDescriptorImpl.receiver 2012-06-05 22:56:24 +04:00
Stepan Koltsov e7a81bb466 FrameMap: implement enterTemp using another enterTemp 2012-06-05 22:56:24 +04:00
Stepan Koltsov 999586eec9 FrameMap.toString
for debugging
2012-06-05 22:56:24 +04:00
Stepan Koltsov fbdfd5a5fb validate state in FrameMap.leave
fix variable leave order
2012-06-05 22:56:23 +04:00
Stepan Koltsov cf9dec51f5 formatting code for debugging 2012-06-05 22:56:23 +04:00
Stepan Koltsov 52234e96fd ScriptCodeDescriptor 2012-06-05 22:56:23 +04:00
pTalanov 0a14d9d2a5 Restart highlighting in the whole project after setting up K2JS module 2012-06-05 21:56:34 +04:00
pTalanov 1937823a77 Test for evaluating properties lazily 2012-06-05 21:56:32 +04:00
Nikolay Krasko 601007c20f Stop using isJsProject method 2012-06-05 20:41:43 +04:00
Andrey Breslav 91606a3901 Introduce 'reified' instead of 'erased' 2012-06-05 20:19:07 +04:00
Andrey Breslav 0ceee0a383 Fixed: old code relied on reified generics 2012-06-05 20:19:07 +04:00
Andrey Breslav e5e3bc0ee5 PackageMemberDeclarationProvider introduced 2012-06-05 20:19:07 +04:00
pTalanov 42c29da718 Revert unwanted changes to build.xml 2012-06-05 20:12:32 +04:00
pTalanov 6b9495a159 Cosmetics 2012-06-05 19:29:25 +04:00
pTalanov 95e3080cc7 Manually assemble kotlinLib.js from ecma version independent and dependent parts and it to dist 2012-06-05 19:29:24 +04:00
pTalanov b4a0ecf04e Fix copyrights to their previous state (not sure they're needed at all) 2012-06-05 19:29:23 +04:00
pTalanov 104061b7f8 Cosmetics after pulling https://github.com/JetBrains/kotlin/pull/67 2012-06-05 19:29:21 +04:00
develar d4d300d0e9 Requested only one commit pull request (was: https://github.com/JetBrains/kotlin/pull/59/files).
Note: all tests passed, but I haven't tested this build in real life (opposite to my master branch).

Don't remember about critical issue — http://youtrack.jetbrains.com/issue/KT-2154 Fix for this issue is not included in this patch (because unrelated). Fix for it and for all other unrelated changes will be opened as separated pull-requests.
2012-06-05 19:29:20 +04:00
Nikolay Krasko 184d3fb16e - Tests for OUT_OF_CODE_BLOCK_MODIFICATION behaviour
- Enable behaviour for property accessors
2012-06-05 17:54:22 +04:00
pTalanov 494bd32636 Remove outdated js.examples module 2012-06-05 16:48:16 +04:00
pTalanov d11b0a617c WebDemoCanvas test files synched with actual version in WD 2012-06-05 16:48:15 +04:00
pTalanov c5ebfdcea7 Fix EcmaVersion.fromString() which caused translator to default to EcmaScript v5 in IDE 2012-06-05 16:48:14 +04:00
Nikolay Krasko a4e6a77f58 Make module check work for non-physical files produced with completion 2012-06-05 16:36:05 +04:00
Evgeny Gerashchenko 7517470112 Got rid of AnalyzerFacadeProvider.getAnalyzerFacadeForProject().
Usage in JetSourceNavigationHelper was converted to direct AnalyzerFacadeForJVM usage.
2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 364cbe3a88 Supported function and tuple types in alternative signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko b89353e094 Added tests for tuple and function types in alternative signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 798ccdc8c4 Supported type parameters in alternative method signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko a4c4e2b0f1 Added alternative signature test for method with type parameters. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 247e3978d9 Moved alternative signature parsing logic from JDR to separate class. 2012-06-05 15:59:17 +04:00
Evgeny Gerashchenko 968d159f86 Fixed NPE when no type ref is specified in Kotlin signature. 2012-06-05 15:59:17 +04:00
Leonid Shalupov cbd4004d44 update ReadMe for maven 2012-06-05 15:35:18 +04:00
Andrey Breslav c43c5fb697 Initial lazy resolve test comparing descriptors with the existing resolve mechanisms 2012-06-05 15:24:58 +04:00
Andrey Breslav 96d7d8414d ModuleDescriptor now supports lazy root namespaces 2012-06-05 15:24:58 +04:00
Andrey Breslav 3bf7c37c77 Annotations on classes and class objects supported 2012-06-05 15:24:58 +04:00
Andrey Breslav c57eb23e25 Primary constructors supported 2012-06-05 15:24:58 +04:00
Andrey Breslav 3ee6d759f8 getAllDescriptors() supported 2012-06-05 15:24:58 +04:00
Andrey Breslav eb0ac1dc8c Code and workflow simplified in NamespaceComparator 2012-06-05 15:24:58 +04:00
Leonid Shalupov f172d99f68 update repositories in maven examples 2012-06-05 14:10:06 +04:00
Dmitry Jemerov 23cdde5794 test for already fixed KT-1976 2012-06-05 11:51:36 +02:00
Stepan Koltsov e0ac80a7ce simplify ConstructorDescriptorImpl.getExpectedThisObject
(remove never-executed code)
2012-06-05 00:59:48 +04:00
Stepan Koltsov 9376313fd0 extract method 2012-06-05 00:59:47 +04:00
Stepan Koltsov 9f4e466898 adjust ExpressionCodegen.resolveToCallable parameter type 2012-06-05 00:59:46 +04:00
Leonid Shalupov b243c5765d publish compiler with attach-artifact in maven 2012-06-04 23:47:25 +04:00