Commit Graph

5718 Commits

Author SHA1 Message Date
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
James Strachan 23db5d7fc8 fixed bug in property generation on the JS DOM API 2012-06-01 11:40:30 +01: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
pTalanov 527c4585a3 jquery -> js.jquery 2012-05-31 20:45:50 +04:00
pTalanov a1b0af2cfa Optional parameters in generated lib files 2012-05-31 20:45:49 +04:00
pTalanov cd0bc43624 Adding an early version of js dom library. Fancy lines example passing (others failing) 2012-05-31 20:45:48 +04:00
pTalanov 959233acd1 Build: use copy instead of deprecated copyfile 2012-05-31 20:45:48 +04:00
Nikolay Krasko 8d69af87ce Completion for java inner class names 2012-05-31 19:58:05 +04:00
Stepan Koltsov 95414078b9 MemberCodegen
(move duplicate code into it)
2012-05-31 19:31:40 +04:00
Stepan Koltsov 0f8c449f55 ScriptGenTest: more 2012-05-31 19:31:40 +04:00
Andrey Breslav 896b2fa773 A little bit more details in the message 2012-05-31 19:29:06 +04:00
Andrey Breslav 6f28638e80 Remove useless ObservableBindingTrace from DI 2012-05-31 19:29:06 +04:00
Evgeny Gerashchenko 9b403bfb66 KT-2111 Highlight Java classes/interfaces/etc in Kotlin code
#KT-2111 fixed
2012-05-31 18:12:09 +04:00
Evgeny Gerashchenko f083c32559 Moved common default visitJetElement() into AfterAnalysisHighlightingVisitor from its subclasses. 2012-05-31 18:12:09 +04:00
Andrey Breslav 50d9d0975d Toto added 2012-05-31 17:59:00 +04:00
Andrey Breslav ee96cca49a Members reordered for better structure 2012-05-31 17:58:43 +04:00
Andrey Breslav c307acc75a Unused class removed 2012-05-31 17:58:15 +04:00
Andrey Breslav ca0f2fce8c Root namespace behavior fixed 2012-05-31 16:35:56 +04:00
Andrey Breslav c1e6961d50 PSI-based declaration providers 2012-05-31 16:26:43 +04:00
Dmitry Jemerov b03966e8d0 coerce condition value to Type.BOOLEAN (KT-2147) 2012-05-31 13:59:42 +02:00
Andrey Breslav 33f0a3cee0 JetClassOrObject now has a type-safe Name 2012-05-31 15:29:58 +04:00
Andrey Breslav d3a624b071 Fix compilation yet again
(Not my day, apparently)
2012-05-31 15:22:59 +04:00
Andrey Breslav 7d550980c6 Lazy resolve: Generate fake overrides for functions 2012-05-31 14:29:25 +04:00
Andrey Breslav 5471738dfa Update names to match the generic meaning of the code 2012-05-31 14:29:25 +04:00
Svetlana Isakova 7dab62ec97 KT-2125 Inconsistent error message on UNSAFE_CALL
#KT-2125 fixed
2012-05-31 14:17:48 +04:00
Andrey Breslav 423ed30e91 Fix compilation again 2012-05-31 14:17:26 +04:00
Andrey Breslav 1ab693be09 Fix compilation 2012-05-31 14:10:32 +04:00
Andrey Breslav f2dab93090 Extract method + remove unused parameter 2012-05-31 14:03:45 +04:00
Andrey Breslav 83eaa4deb7 Got rid of a global map for invisible overridden descriptors 2012-05-31 13:50:15 +04:00
Andrey Breslav 9e1c218af2 More precise checks 2012-05-31 13:39:32 +04:00
James Strachan 8ebd632be9 rollback change that broke the build - sorry! :) 2012-05-31 10:30:54 +01:00
James Strachan 57ffb91514 fix possible NPE 2012-05-31 09:38:26 +01:00
Alexander.Podkhalyuzin f7b9dab9f7 Added -XX:+HeapDumpOnOutOfMemoryError to IDEA run configurations. 2012-05-31 12:37:51 +04:00
James Strachan 2d4354af6c fixed possible NPE 2012-05-31 09:32:03 +01:00
James Strachan c4439f33f0 avoided JS compile barf in JS generation and fix compile error of Node vals in generated DOM API 2012-05-31 09:26:55 +01:00
James Strachan fe68aeaa78 generate the Node.ELEMENT_NODE fields on the JS DOM API and refactored the kotlin.dom API so that it uses the Node.getNodeType() API rather than using "is" which is troublesome to implement on a browser/JS 2012-05-31 09:08:12 +01:00