Commit Graph

272 Commits

Author SHA1 Message Date
Pavel Talanov e991565311 function inside function supported 2012-02-06 15:00:37 +04:00
Pavel Talanov d836ea04cb added native math object 2012-02-06 14:19:58 +04:00
Pavel Talanov e9a8c3b0d9 Added a method for applet to be able to get the bindingContext 2012-02-06 13:46:03 +04:00
Pavel Talanov 1a01dfd848 migrated to junit3 2012-02-05 18:19:38 +04:00
Pavel Talanov 171c43cc6f refactoring 2012-02-05 17:18:36 +04:00
Pavel Talanov 534375f975 a bunch or refactoring and TODO fixes 2012-02-05 17:10:44 +04:00
Pavel Talanov f5dd688746 fix cosmetic TODOs
add short class comments where meaningful
2012-02-05 16:33:47 +04:00
Pavel Talanov 2f5baf8934 modified maze example but could not get it to compile 2012-02-05 15:52:29 +04:00
Pavel Talanov 6b23bd1ac8 implemented one billion hacks to make life example work 2012-02-05 15:36:49 +04:00
Pavel Talanov 1b594d8181 implemented charAt intrinsics for CharSequence#get
removed redundant logic from arrayAccessTranslator
2012-02-05 15:33:48 +04:00
Pavel Talanov 1859ddf941 a couple of hacks to make life example work (still not working) 2012-02-05 15:16:09 +04:00
Pavel Talanov d46281822f commit 2012-02-03 20:46:27 +04:00
Pavel Talanov ad281a29bb some todo fixes 2012-02-03 16:40:31 +04:00
Pavel Talanov 3b9a20ba89 refactor generators to inner classes 2012-02-03 16:38:26 +04:00
Pavel Talanov f285d55d09 added jslib changes 2012-02-03 16:20:55 +04:00
Pavel Talanov 566eb09139 rename annotations to native and library 2012-02-03 16:20:20 +04:00
Pavel Talanov bcbba26d68 deleted lots of dead code 2012-02-03 16:15:32 +04:00
Pavel Talanov 34f10890ca reordered name generation rules properly 2012-02-03 16:10:35 +04:00
Pavel Talanov c50652db9c added hack which prevents translator from obfuscating the name of "toString" method 2012-02-03 15:38:12 +04:00
Pavel Talanov 4b2c375998 moved lazy generators to static context (2 test fail) 2012-02-03 14:42:39 +04:00
Pavel Talanov 9fe011bf43 implementing lazy initialization. working version (3 test fail) 2012-02-03 14:13:48 +04:00
Pavel Talanov 1b986b6d2b refactored naming scopes to initialize lazily 2012-02-02 20:33:54 +04:00
Pavel Talanov 55811ad1a3 added generator and rule classes preparing for migration to lazy name and scope evaluation. 2012-02-02 20:09:15 +04:00
Pavel Talanov 044fb0705d added test for object 2012-02-02 17:34:16 +04:00
Pavel Talanov c8e08e3ca2 added Collections.max
added another test for extension properties
2012-02-02 16:27:11 +04:00
Pavel Talanov aa30c264c0 added canvas_helper file 2012-02-02 15:05:40 +04:00
Pavel Talanov 58d96ab75b added html5 api files 2012-02-02 15:05:11 +04:00
Pavel Talanov b7cd2c42b9 added support for boolean || operator 2012-02-02 15:02:09 +04:00
Pavel Talanov 85a57b3cf9 lots of api tweaks in jslib
some kotlin_lib functions
added support for native properties
added simple api for Canvas2D
2012-02-01 22:09:50 +04:00
Pavel Talanov b43b559ca6 run code coverage
eliminate dead and unuseful code
2012-02-01 00:20:17 +04:00
Pavel Talanov 47252655c9 excluded workspace.xml 2012-01-31 21:27:54 +04:00
Pavel Talanov 562c0c7fe7 Vararg parameters in functions supported 2012-01-31 21:26:36 +04:00
Pavel Talanov 52344103d6 Switched to using native Javascript array for Kotlin's Array<T> instead of library class.
Motivation: better interop with native libraries
Index in bounds check is dropped for now.
2012-01-31 20:23:15 +04:00
Pavel Talanov 49c09ef43e added array intrinsic declaration and reannotated intrinsic receiver to be Nullable instead of NotNull 2012-01-31 18:48:45 +04:00
Pavel Talanov ccbc4c7ff6 obsolete tests deleted
javautil modified
kotlin_lib.js now inside a function
strange bug with js_lib
raphael.kt added
2012-01-31 18:15:47 +04:00
Pavel Talanov 0f823a64f4 using LibraryClass and LibraryFun(String) annotations to mark declarations that have custom implementations inside kotlin_lib.js 2012-01-30 23:25:08 +04:00
Pavel Talanov e4d43c5147 refactor to implement library annotations 2012-01-30 23:06:49 +04:00
Pavel Talanov 7a61a7520d if as expression with control statements support 2012-01-30 21:17:32 +04:00
Pavel Talanov ed0d5a8b06 added test for complex expression with when 2012-01-30 20:31:19 +04:00
Pavel Talanov 746714bb5e solving when problem 2012-01-30 20:22:16 +04:00
Pavel Talanov b377e74a23 supported NativeClass() and NativeFun(String) annotations 2012-01-30 17:45:01 +04:00
Pavel Talanov 97f7b9f1c1 adding annotations checks 2012-01-30 16:29:24 +04:00
Pavel Talanov 60edf1a6c1 refactoring declaration visitor 2012-01-30 16:13:41 +04:00
Pavel Talanov 23db60cf55 implementing new declaration logic 2012-01-30 14:36:48 +04:00
Pavel Talanov d63de3b152 migrating code 2012-01-29 00:12:31 +04:00
Pavel Talanov 04b902a0de migrated to new code 2012-01-28 18:19:37 +04:00
Pavel Talanov bad69bac22 fixed a couple of problems introduced with rebase before previous push 2012-01-28 17:57:47 +04:00
Pavel Talanov 337d6eb9e4 added different configs for idea and test environment 2012-01-28 17:32:56 +04:00
Pavel Talanov d58b2afc8d refactor changes 2012-01-28 17:32:55 +04:00
Pavel Talanov 626a84a935 reimplemented extension literal definition and calls to comply with jquery conventions 2012-01-28 17:32:54 +04:00