Commit Graph

5593 Commits

Author SHA1 Message Date
Svetlana Isakova cdcedbe6ed all traverse pseudocode methods made static 2012-05-28 12:09:45 +04:00
Svetlana Isakova d1d0722b5a tests for dead code in pseudocode 2012-05-28 12:09:45 +04:00
Svetlana Isakova ac41cab340 added PseudocodeUtil responsible for creation 2012-05-28 12:09:45 +04:00
Svetlana Isakova 5c7206ef49 'Pseudocode' interface improvements 2012-05-28 12:09:45 +04:00
Svetlana Isakova 7a02cfcd25 order of declaration changed in tests 2012-05-28 12:09:45 +04:00
Svetlana Isakova 0bf65bfe1e get rid of JetPseudocodeTrace
and JetControlFlowDataTraceFactory
2012-05-28 12:09:44 +04:00
Svetlana Isakova 09a91f2f92 IPseudocode was a temporary name
to deceive idea's git and commit it
2012-05-28 12:06:13 +04:00
Svetlana Isakova f4920b7d09 added 'Pseudocode' interface
'Pseudocode' class was renamed to 'PseudocodeImpl'
2012-05-28 12:06:13 +04:00
Svetlana Isakova b6b1ce52e1 tests changed:
added check for unused/uninitialized variables inside local and anonymous functions
2012-05-28 12:06:13 +04:00
Svetlana Isakova edb529f68f added edge 'error' -> 'sink'
added 'getLocalDeclarations' method to pseudocode
2012-05-28 12:06:12 +04:00
Svetlana Isakova 5c7b787e68 reversed traverse in depth 2012-05-28 12:06:12 +04:00
Svetlana Isakova fb08e13da9 added PseudocodeData
to store information about variables for each instruction: initialization and use statuses
2012-05-28 12:06:12 +04:00
Nikolay Krasko e946a0f908 - Out of block modification strategy for Kotlin block expression
- Separate project analysis for IDEA needs: headers + bodies
2012-05-27 17:39:56 +04:00
James Strachan e38aac1dce added documentation on the sample 2012-05-26 07:56:38 +01:00
James Strachan d6c7743aab got a working sample! :) 2012-05-26 07:48:37 +01:00
James Strachan 1254aa9e6f allow the JS compiler to reference the JS library source so that maven based JS compilation can work & use the new kotlin.browser API 2012-05-26 07:45:10 +01:00
James Strachan aecb5c72c5 code generate the JS dom.kt file so its got full W3C DOM API compatibility based on the API that ships with the JDK 2012-05-25 21:43:04 +01:00
James Strachan 6dc053f943 generated better comment describing where the code generator is in case anyone wants to modify the code 2012-05-25 21:41:49 +01:00
James Strachan e1234fa5db moved the code generation tools out into a separate package so they don't get confused with test cases 2012-05-25 20:44:47 +01:00
James Strachan adf38a0648 added a working JS test case using the standard kotlin browser API for interacting with the DOM 2012-05-25 20:38:04 +01:00
Andrey Breslav 3702bdea70 getTypeConstructor() pushed back down 2012-05-25 23:02:51 +04:00
Andrey Breslav 0182b87732 hasConstructors() removed, a few members pulled up 2012-05-25 22:59:39 +04:00
Andrey Breslav af3f9250ef SafeName method added 2012-05-25 22:58:38 +04:00
Andrey Breslav 73dab58bc7 Type projection is not a declaration 2012-05-25 20:40:05 +04:00
Dmitry Jemerov 8b00bb1c52 rethrow ProcessCanceledException 2012-05-25 18:11:26 +02:00
Dmitry Jemerov 0876bc6bfd read action 2012-05-25 17:53:48 +02:00
Dmitry Jemerov e78e5f58cd rethrow ProcessCanceledException 2012-05-25 17:26:54 +02:00
Andrey Breslav 7ce4d427f0 Sort out root namespace names 2012-05-25 18:58:23 +04:00
Dmitry Jemerov ff7be5b7c3 don't increment out-of-code-block modification count for changes that are not in Kotlin files 2012-05-25 15:42:45 +02:00
Andrey Breslav ab82049287 MutableDeclarationDescriptor removed 2012-05-25 17:09:48 +04:00
Andrey Breslav 3c0c08c665 Base class for class descriptors extracted.
Will be used for lazy resolve
2012-05-25 16:58:46 +04:00
Andrey Breslav 4d0a07f772 Missing annotation added 2012-05-25 16:58:46 +04:00
Stepan Koltsov c38f19dbd9 unconditional assertion, helpful message 2012-05-25 15:07:54 +04:00
Pavel V. Talanov 2bb647bdb8 Some magic to make test work 2012-05-25 14:45:01 +04:00
Svetlana Isakova f03ce0795e KT-2096 Abstract property with no type specified causes compiler to crash
#KT-2096 fixed
2012-05-25 14:04:32 +04:00
James Strachan 8d3aeb9e1e made the stub DOM API public just in case 2012-05-25 10:30:13 +01:00
James Strachan ea9267e869 added test case trying to get the document property working on JS - not quite there yet :( 2012-05-25 10:25:54 +01:00
James Strachan b9bcfd2628 added a (disabled) test case to try out using the kotlin.browser.document property from generated JS 2012-05-24 16:59:30 +01:00
Dmitry Jemerov 2f32e9c60d map intersection type to its common supertype 2012-05-24 17:58:00 +02:00
Dmitry Jemerov fb5fd47591 remove try/finally which leads to masking of exceptions occurring during generation of stub class [r=max] 2012-05-24 17:34:47 +02:00
James Strachan 6b3864a12d starting to annotate JavaScript APIs in the standard library 2012-05-24 16:18:59 +01:00
Dmitry Jemerov 05054bfa49 Ctrl-Alt-B works for Kotlin 2012-05-24 16:20:37 +02:00
Dmitry Jemerov 9015f21a29 down arrows for Kotlin classes 2012-05-24 16:20:36 +02:00
Dmitry Jemerov 4bf6a46afb it helps to write what you read 2012-05-24 16:20:35 +02:00
Dmitry Jemerov 39fe59d40a inheritor navigation works from Java to Kotlin 2012-05-24 16:20:35 +02:00
Dmitry Jemerov 783dbdd605 index occurrences of superclass names for Kotlin classes 2012-05-24 16:20:34 +02:00
Dmitry Jemerov cc0a5326c3 simpler implementation of java/kotlin mirror processing in rename and find usages (KT-2078)
#KT-2078 fixed
2012-05-24 16:20:34 +02:00
Pavel V. Talanov f67aaa49b7 Include test file accidentally omitted by previous commit 2012-05-24 17:37:21 +04:00
Pavel V. Talanov b64cf035b0 !! operator
kotlin_lib.js modified, truthful description of MiscTest class added.

#KT-1960 fixed
2012-05-24 16:40:18 +04:00
Pavel Talanov 0fc64bb6c2 First stab at !! operator 2012-05-24 16:40:17 +04:00