7458 Commits

Author SHA1 Message Date
pTalanov d41515765e JsAstUtils.equals -> equality 2012-02-29 17:32:17 +04:00
pTalanov 71cb3cfde2 Add missing libs to js_libs.
Fix JsAstUtil using wrong Nullable annotation.
2012-02-29 16:03:12 +04:00
pTalanov 0698da5775 Reorganised lib directory in js.translator. 2012-02-29 15:58:07 +04:00
pTalanov f72d74afff Rebuilt dart.jar. 2012-02-29 14:29:20 +04:00
pTalanov 4945f8c9f5 TODO fixes
Analyzer -> Analyzer Facade
Refactor for translators.
Fix a bug with scopes.
2012-02-28 21:19:23 +04:00
pTalanov c6a90d79d3 Refactoring intrinsics. 2012-02-28 21:19:19 +04:00
pTalanov d7487eea82 Further remove duplication in intrinsics. 2012-02-28 21:19:18 +04:00
pTalanov 6bbc0d2a6e Refactoring duplication in array intrinsics. 2012-02-28 21:19:12 +04:00
pTalanov fe9bb67970 Refactor js.tests. 2012-02-28 21:19:10 +04:00
pTalanov 57c9de776e Move TestConfig to js.tests module. Remove K2JSTranslationUtils. Remove core.Dummy class. TestConfig references library files using project file structure instead of getResourceAsStream. 2012-02-28 15:18:16 +04:00
pTalanov 8c2d20f303 Remove js.libraries from the project 2012-02-28 13:59:30 +04:00
pTalanov c21ea8aa86 add test files 2012-02-27 21:55:58 +04:00
pTalanov 645a3a9f2f Got rid of Junit assertion error in Suite 2012-02-27 20:45:35 +04:00
pTalanov 953c33a846 Project structure fixed 2012-02-27 19:07:59 +04:00
pTalanov 8bfa313ad4 switched to using dartc.jar
deleted module js.ast
2012-02-27 18:49:55 +04:00
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00
Pavel Talanov 6646278a60 before merge 2012-02-24 17:20:23 +04:00
Pavel Talanov c949944980 renamed modules to js.* 2012-02-24 17:04:23 +04:00
Pavel Talanov 7bc82df7de copyright changes 2012-02-21 19:02:54 +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 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 746714bb5e solving when problem 2012-01-30 20:22:16 +04:00
Pavel Talanov fe349a1121 add jslib module which has the declarations which are use by js-backend
rework dependncies of modules
2012-01-28 17:32:53 +04:00
Natalia.Ukhorskaya 5ab485b072 libs in k2js 2012-01-27 17:28:39 +04:00
Natalia.Ukhorskaya b25b4ab5e2 Add stopper for completion (work without Java) 2012-01-27 17:28:38 +04:00
Pavel Talanov e3454dbb53 Big migration. 2012-01-19 14:30:21 +04:00
Pavel Talanov 86cbfc91c6 refactor and TODO clean-up 2012-01-19 14:30:20 +04:00
Pavel Talanov 0d89e5d01f KT-962: Function is called two times
safecall expression now compute receiver only once.
2012-01-17 17:37:40 +04:00
Pavel Talanov c9eae93d68 function literal as the last parameter supported
added temporary and partial solution to global namespace polluting problem
2012-01-06 19:28:08 +04:00
Pavel Talanov c5b8b86fd8 fixes in module structure.
add workaround code for applet.
add method needed for applet.
2011-12-15 20:07:25 +04:00
Pavel Talanov 0b714ad548 hacks for some examples added
tests added
kotlin lib clean up
2011-12-14 19:13:32 +04:00
Pavel Talanov 9f66d644df bug fixes:
1. Range standard implementation size property fixed, iteration order fixed
2. System.println() without parameters fixed.
2011-12-14 13:36:36 +04:00
Pavel Talanov 936e3f0d84 support for in operation syntax, refactor, test, range sugar syntax 2011-12-13 17:44:44 +04:00
Pavel Talanov a105792a85 range standard implementation added. tests added. 2011-12-13 17:44:43 +04:00
Pavel Talanov 1d8d6e5146 removed accidentally commited files. 2011-12-12 16:27:50 +04:00
Pavel Talanov b0fbdb05e2 rewrite K2JSTranslator class 2011-12-12 16:27:49 +04:00
Pavel Talanov cb071e3f74 implement some of the intrinsic functionality 2011-12-02 17:35:19 +04:00
Pavel Talanov 411c173dac Refactoring BinaryOperationTranslator. 2011-11-24 20:01:58 +04:00
Pavel Talanov d23bdb492d Added test for unary operation on int properties. 2011-11-24 17:30:25 +04:00
Pavel Talanov fae803ac6f Refactoring property access translation code. 2011-11-24 17:30:25 +04:00
Pavel Talanov f5e5ac42dd Finished work on namespaces. 2011-11-23 16:59:49 +04:00
Pavel Talanov 36d033ea48 . 2011-11-23 16:59:47 +04:00
Pavel Talanov 7d43131173 Rewrote reference translation a bit. Added support for when call expression. 2011-11-23 16:59:47 +04:00
Pavel Talanov db02cd168b Added support for nullable types in is check. 2011-11-23 16:59:46 +04:00
Pavel Talanov 7cdfccf2d8 Added support for basic case of function literal. 2011-11-18 16:45:53 +04:00
Pavel Talanov d1c49f80c8 Refactoring. 2011-11-17 22:28:46 +04:00
Pavel Talanov d0239085c1 Supported another case of when expression. 2011-11-17 17:40:54 +04:00
Pavel Talanov fec7539f8c Supported (Variable is Type expression) for user defined classes. 2011-11-17 17:40:50 +04:00
Pavel Talanov 17e41e627d Found and solved a problem which caused only one ancestor's constructor to be called. Added "super_init" method generation to InitializerVisitor. Worked on KotlinJsLib to solve this issue. This solution should evolve in the future. 2011-11-16 17:25:46 +04:00