Commit Graph

72 Commits

Author SHA1 Message Date
Stepan Koltsov 1610c9b3a0 FqNameUnsafe 2012-03-15 19:28:29 +04:00
Stepan Koltsov 982eebf70f better root ns 2012-03-14 22:02:44 +04:00
Stepan Koltsov fecc98af8c more DI in top down analysis 2012-03-14 21:47:29 +04:00
pTalanov e30a22b778 Add a hacky solution to loop parameter capture problem. 2012-03-14 13:19:01 +04:00
pTalanov e331f27483 Introduce BackingFieldAccessTranslator.
Refactor AccessTranslationUtils, ReferenceTranslator.
Add test for namespace properties.
2012-03-14 13:19:01 +04:00
pTalanov b3e306ac32 KT-740
Turn on KT-740-3.kt test.
Fix a typo.
2012-03-14 13:19:00 +04:00
pTalanov af690fb02a KT-817 Wrong code on prefix increment operators. 2012-03-14 13:18:59 +04:00
Stepan Koltsov 82d77560a2 FqName class
for type safety, to easier distinguish between:

* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
pTalanov df2d9769fa KT-1359 Cannot declare object inheriting from a trait or class. 2012-03-13 15:50:09 +04:00
pTalanov 43e42657f2 Refactoring CallTranslator. 2012-03-13 15:50:08 +04:00
pTalanov 8b984551c1 KT-1519: Error calling native extension function from user defined extension function. 2012-03-13 15:50:08 +04:00
pTalanov 15437cbbf6 KT-1361: "this" is not treated correctly when object is created. 2012-03-13 15:50:07 +04:00
pTalanov d69988382b KT-1052: Infix calls do not work. 2012-03-13 13:48:53 +04:00
Andrey Breslav 3c71512850 Minimal refactoring that eliminates importing Java's root namespace by default.
All tests pass. Some beautifying needed

#KT-1477 Fixed
2012-03-12 16:21:52 +04:00
Andrey Breslav 61aac5d544 Configuration renamed into ModuleConfiguration 2012-03-11 18:57:38 +04:00
pTalanov c812d039b6 Add primitive api for using html5 local storage.
Lib fixes.
2012-03-10 22:23:44 +04:00
pTalanov dac63773ce Update API. 2012-03-10 17:32:53 +04:00
Stepan Koltsov 997fbb60a3 using guice to wire TopDownAnalyzer beans
attempt 2
2012-03-10 00:54:16 +04:00
unknown 26a5ff3a2f Add disabled test. Depends on KT-1198 2012-03-09 19:22:14 +04:00
unknown beff2f9b1e KT-740: Make sure that assign and increment operations compute receiver only once:
- Array operations.
2012-03-09 19:22:13 +04:00
unknown 295b38bf32 KT-740: Make sure that assign and increment operations compute receiver only once:
- Increment operation on property.
2012-03-09 19:22:12 +04:00
unknown 3841227868 Resolve outdated TODOs. 2012-03-09 19:22:11 +04:00
unknown 253b92a44d KT-1052: Add support for function calls (and, or, xor, not) on Boolean 2012-03-09 19:22:10 +04:00
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +04:00
pTalanov e890cc7750 Add "use strict" to generated test files and to kotlin_lib.js 2012-03-06 20:24:17 +04:00
pTalanov 21e6aa7242 Make K2JSTranslator API public
Add TODO
2012-03-06 16:54:29 +04:00
pTalanov 453c0103b3 Make K2JSTranslator#generateProgramCode public
Rename: convertToDotJsFile ->convertFileNameToDoJsFile
2012-03-06 16:09:31 +04:00
pTalanov a12e6b5b29 Fix tests after update 2012-03-06 16:09:30 +04:00
Svetlana Isakova d5da6e8c23 Interface of 'addDefaultImports' in StandardConfiguration simplified 2012-03-06 16:02:30 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
pTalanov ab3cdb9bd8 Add simple tests for interop with native code. 2012-03-02 20:05:16 +04:00
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +04:00
pTalanov 037eeae08d Refactoring intrinsics.
Remove JetTestUtils.
Comment out failing tests.
2012-03-02 16:11:20 +04:00
pTalanov 9c7cf6c69e Refactoring tests: Extracted SafeCallTest 2012-03-02 16:11:19 +04:00
pTalanov f9063ee137 Refactoring tests. 2012-03-02 16:11:18 +04:00
pTalanov c1b9efa8bf Remove patch.
Refactor tests.
2012-03-02 16:11:17 +04:00
pTalanov 4d718a199f Build fix attempt: switched to using previous version of js.jar. 2012-03-01 20:29:22 +04:00
pTalanov 5dcd3c493d Build fix attempt: reverted dropping dependency. 2012-03-01 19:28:26 +04:00
pTalanov a43ff45c45 Changes before creating patch for Web Demo 2012-03-01 18:08:11 +04:00
pTalanov 146eb941d0 Config refactoring. 2012-03-01 18:08:10 +04:00
pTalanov 30ba240bda Added toDouble() method to support wd examples. 2012-03-01 18:08:07 +04:00
pTalanov 256b813edb Test and fix for abstract var overriding. 2012-03-01 18:08:05 +04:00
pTalanov 60732c734d Removed js.jar dependency. 2012-03-01 18:08:04 +04:00
pTalanov 61b4c1db55 TODO fixes: Operator table and StringTemplateTranslator 2012-03-01 18:08:02 +04:00
pTalanov 827a97f661 Numerous code style fixes. 2012-02-29 23:17:46 +04:00
pTalanov 26a8d18d9e TODO fixes 2012-02-29 23:17:45 +04:00
pTalanov 25c30e0472 Refactor: predefined annotation become represented as enum, all the logic reside in AnnotationUtils. 2012-02-29 20:51:25 +04:00
pTalanov adcffef920 Refactor AnnotationUtils and NameGenerator 2012-02-29 20:51:24 +04:00
pTalanov 191803f3f6 remove ForTranslatorUtils 2012-02-29 20:51:23 +04:00