Commit Graph

5752 Commits

Author SHA1 Message Date
Stepan Koltsov d46379acf2 better JetTypeMapper.getFQName 2012-06-02 03:35:09 +04:00
Stepan Koltsov 99621537b5 fix tests 2012-06-02 03:35:09 +04:00
Stepan Koltsov e42b5017ac codegen: ClosureAnnotator: restore assertion 2012-06-02 03:08:55 +04:00
Stepan Koltsov d6e8c57d11 codegen: ClosureAnnotator: remove todo 2012-06-02 03:08:54 +04:00
Stepan Koltsov adac7a364c remove comments added my mistake 2012-06-02 02:55:42 +04:00
Stepan Koltsov 4a01a55480 do not store jvm class name in descriptor name 2012-06-02 02:55:42 +04:00
Stepan Koltsov fc6c57e17a assert special name is not used to build FQ name 2012-06-02 02:18:29 +04:00
Stepan Koltsov 139e376f7c fix KT-2167 (enum generation)
#KT-2167 fixed
2012-06-02 02:18:29 +04:00
Stepan Koltsov a5eaa3abe3 safer CodegenContext: require contextType to be not null 2012-06-02 02:18:29 +04:00
Stepan Koltsov 2d4ad5e408 EnumGenTest
enum geneneration is partially covered in regression tests, it is not very convenient
2012-06-02 02:18:28 +04:00
Andrey Breslav 0c916698b8 A workaround for VFS synchronization problem 2012-06-01 22:58:44 +04:00
pTalanov 4014855137 Try to avoid race condition in "configure Js module" action 2012-06-01 21:44:28 +04:00
Stepan Koltsov 98c80bfc73 do not store descriptors or JetTypes in CallableMethod 2012-06-01 19:18:56 +04:00
Stepan Koltsov ebd04ad046 pass all CallableMethod data in constructor 2012-06-01 19:18:56 +04:00
Stepan Koltsov 3512415f3f replace String with JvmClassName 2012-06-01 19:18:56 +04:00
pTalanov 39dc1a1cb8 revert 9f0fcc280b 2012-06-01 19:14:00 +04:00
pTalanov fd70848484 Logging in JsModuleDetector 2012-06-01 19:03:03 +04:00
Andrey Breslav c4f1779f90 Merge pull request #63 from udalov/master
String.hashCode()
2012-06-01 08:00:30 -07:00
pTalanov 843eb6b0c2 html file dialog path highlighting fixed 2012-06-01 18:49:54 +04:00
Andrey Breslav c9583c21cf Merge pull request #62 from NataliaUkhorskaya/master
KT-2124 & KT-2044: Android-related fixes
2012-06-01 07:31:01 -07:00
James Strachan 9f0fcc280b added support for generation of QUnit unit tests from Kotlin JUnit test cases 2012-06-01 15:25:35 +01:00
Nikolay Krasko 87b16b6a1f - Add sorting of completion elements into class completion
- Fix testNonStandardArray (it couldn't move selection to non-first element)
2012-06-01 18:19:19 +04:00
Stepan Koltsov 59bdeda408 replace String with JvmClassName for readability 2012-06-01 18:04:46 +04:00
Stepan Koltsov 563d5cfd03 better assertion in ExpressionCodegen 2012-06-01 18:04:46 +04:00
Stepan Koltsov aaa03100cf always call single constructor of VariableDescriptorImpl 2012-06-01 18:04:45 +04:00
Stepan Koltsov b984895e78 ScriptCodegen: extract gen constructor 2012-06-01 18:04:45 +04:00
Alexander Udalov 88ecb2a3c9 String.hashCode() 2012-06-01 17:59:28 +04:00
pTalanov f10b085d8b Don't use URIs to construct paths when detecting indication files 2012-06-01 17:33:31 +04:00
pTalanov c44916e0b2 Do not provide jvm run configuration for js modules 2012-06-01 17:33:30 +04:00
Nikolay Krasko c00c4d3881 KT-1808 Auto import offers private static Java classes
#KT-1808 fixed
2012-06-01 17:09:44 +04:00
pTalanov a5801198d5 At first add all sources and only then analyze files 2012-06-01 16:27:39 +04:00
pTalanov 144fef96cd Clean up some code commenting out preconditions for now 2012-06-01 15:42:50 +04:00
pTalanov cbcee10618 K2JSCompiler and K2JSTranslator fixes (mostly codestyle) 2012-06-01 15:19:47 +04:00
Natalia.Ukhorskaya 0490c0b5f5 KT-2124 Fixed : Problem with reusement of local variables in bytecode for shared var 2012-06-01 15:01:15 +04:00
James Strachan 23db5d7fc8 fixed bug in property generation on the JS DOM API 2012-06-01 11:40:30 +01:00
Natalia.Ukhorskaya bacc76944d KT-2044 : "this" added in local variables table in bytecode for local functions also 2012-06-01 13:56:11 +04:00
Nikolay Krasko 32b70db6b2 KT-1920 Don't complete java.lang.Double for the prefix Double
#KT-1920 fixed
2012-06-01 13:28:12 +04:00
James Strachan ee1e7d5906 attempt to fix the build - whoops, sorry again :) 2012-06-01 08:38:27 +01:00
James Strachan 1bf6ebac57 fixed a test case 2012-06-01 08:28:39 +01:00
James Strachan bc7104a8fe update the DOM API so that we implement using the property style access of properties which work natively in JS and avoid using getter/setter methods in the DOM library so that they can easily compile to JS too from the same org.w3c.dom API on the JVM 2012-06-01 07:45:55 +01:00
James Strachan 570f9d765d for now switch to the org.w3c.dom API 2012-06-01 07:45:02 +01:00
James Strachan d450acf99c made the test case fail if there is a compile error - and temporarily commented out a few JS library files that don't compile yet 2012-06-01 07:44:38 +01:00
Nikolay Krasko f18372cfdc KT-1672 Don't complete import java.lang.reflect.Array when Array is typed at the beginning of a line
#KT-1672 fixed
2012-06-01 00:11:54 +04:00
pTalanov 22fe0d80a7 Remove redundant canvas helper 2012-05-31 20:45:56 +04:00
pTalanov 5fa3e96e4b drop interval/timeout funs. Modify traffic light example 2012-05-31 20:45:55 +04:00
pTalanov 44c0baa9e1 Creatures example working with the new library 2012-05-31 20:45:54 +04:00
pTalanov 0fb7032f4c Remove old image element and canvas APIs 2012-05-31 20:45:54 +04:00
pTalanov 7e07414a75 More lib API tweaks 2012-05-31 20:45:53 +04:00
pTalanov aa656cac7b Remove js.DomElement from standard library 2012-05-31 20:45:52 +04:00
pTalanov f07523df1d "Hello, Kotlin" example working with the new library 2012-05-31 20:45:51 +04:00