Commit Graph

5702 Commits

Author SHA1 Message Date
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
Andrey Breslav 00cf06e4f3 DI: Don't call getters on non-public fields 2012-05-31 11:55:00 +04:00
Stepan Koltsov c62193d272 add HashSet to mock rt.jar
it might fix tests
2012-05-30 23:04:56 +04:00
Andrey Breslav 173904d606 Introduced JetNamed to unify named functions and properties 2012-05-30 21:58:46 +04:00
Stepan Koltsov 22be8ad49a do not include error types in hierarchy 2012-05-30 21:47:19 +04:00
Andrey Breslav 5504015025 Preliminary version of lazy resolve
The implementation is incomplete and thus not used anywhere other than the test
2012-05-30 21:09:22 +04:00
Stepan Koltsov 7c0b8876ca fix more errors of incomplete classpath
after this commit project without JDK configured is not all red
2012-05-30 21:04:47 +04:00
Stepan Koltsov a7aeba4e48 JDR: do not crash if signature references nonexistent class 2012-05-30 21:04:47 +04:00
Stepan Koltsov 3a3cbd53d8 JavaDescriptorResolver should not crash if there is no original for alt-header
(before this commit it crashed because package was not searched in alt-headers)

This commit makes JDR ignore alt-header if original is not found
2012-05-30 21:04:47 +04:00
Andrey Breslav 570789512f Even more detailed error messages 2012-05-30 21:02:20 +04:00
Andrey Breslav 37bc10689e Fix instanceof checks after introducing the TypeParameterDescriptor interface 2012-05-30 21:01:33 +04:00
Andrey Breslav ebb0d25b17 Fix compilation 2012-05-30 20:59:25 +04:00
Andrey Breslav ce96502f72 Make APIs available to lazy resolve 2012-05-30 20:57:03 +04:00
Andrey Breslav d95f315e24 getName() always returns null for REFERENCE_EXPRESSIONs 2012-05-30 20:53:04 +04:00
Andrey Breslav 40894196bf Proper rendering for modules 2012-05-30 20:52:00 +04:00
Stepan Koltsov 8611ce5773 KT-2047 Assertion from override resolver
#KT-2047 Fixed
2012-05-30 20:26:08 +04:00
James Strachan 3ebcb399c7 fixed up sample 2012-05-30 16:55:44 +01:00