Commit Graph

284 Commits

Author SHA1 Message Date
Pavel Talanov da081b632d add test for interpolated string
fix minor todo
2012-02-08 16:08:50 +04:00
Pavel Talanov de0aa82127 js.annotations -> js
path independent jslib
2012-02-07 22:15:09 +04:00
Pavel Talanov e4ea0c02cf remove idea_fix module
add .kt and .jet files as resources
2012-02-07 21:19:54 +04:00
Pavel Talanov d8c4e753d1 extracted separate module for translator tests 2012-02-07 16:49:25 +04:00
Pavel Talanov a6dbd45eb7 modified outdated tests, removed changes by Natasha 2012-02-07 16:31:24 +04:00
Pavel Talanov 29d8ac593e Merge remote-tracking branch 'origin/master' 2012-02-07 16:13:55 +04:00
unknown 123386106a Load jslib by class.getResourceAsStream 2012-02-07 16:09:00 +04:00
Pavel Talanov 6822debe90 added try catch in applet 2012-02-07 15:39:58 +04:00
Pavel Talanov 01b3b13fa1 updated canvas helper
and migrated to new code
2012-02-07 15:37:19 +04:00
Pavel Talanov 6d27bde4cb refactoring 2012-02-06 16:29:42 +04:00
Pavel Talanov e1513ae579 refactor creating test suites 2012-02-06 16:08:17 +04:00
Pavel Talanov ad32f6ec49 reorganise test structure and remove a couple of old test classes 2012-02-06 15:27:51 +04:00
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