Commit Graph

138 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 9cdcc7b4f2 diagnostics 2012-03-13 23:25:07 +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
pTalanov 3ef7805cd6 Native api update. 2012-03-11 22:38:13 +04:00
Andrey Breslav 61aac5d544 Configuration renamed into ModuleConfiguration 2012-03-11 18:57:38 +04:00
pTalanov da3251addb Changes to native apis. 2012-03-10 22:26:41 +04:00
pTalanov c812d039b6 Add primitive api for using html5 local storage.
Lib fixes.
2012-03-10 22:23:44 +04:00
pTalanov 6fd6ac0231 Add "add" extension function for Json class. 2012-03-10 17:44:01 +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 eced7048e3 Fix semicolon being on the wrong line in "use strict" expression 2012-03-09 19:22:10 +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
James Strachan 2ba6b3b8ba added a module definition for the generation of API docs 2012-03-09 11:42:50 +00:00
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +04:00
pTalanov 566f53d9d0 Build fix attempt: got rid of SuiteBuilder class 2012-03-06 21:12:24 +04:00
pTalanov f6ad975269 Build fix attempt: reorganised test inheritance. 2012-03-06 20:44:43 +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
pTalanov 7b75697d6d Fix stream close in JsTestUtils 2012-03-06 16:09:29 +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
pTalanov 320ed18134 Hide string constant TEST_FILES. 2012-03-02 20:05:15 +04:00
pTalanov c38bf0bc86 Use minimal optimisation to slightly speed up the tests. 2012-03-02 20:05:14 +04:00
pTalanov c9cc2a385a Move TestConfig under test package 2012-03-02 20:05:13 +04:00
pTalanov 853b03efd2 Split TranslationTest into SingleFileTranslationTest and MultipleFilesTranslationTest 2012-03-02 20:05:13 +04:00
pTalanov 14eab2357d Fixed access level of TranslationTest. 2012-03-02 20:05:12 +04:00
pTalanov d3e3f599ae Moved most of the test into subpackage. 2012-03-02 20:05:11 +04:00
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +04:00
pTalanov aa7b8cb7df Reorganised Test classes hierarchy. Pushed up most of the TranslationTest methods. 2012-03-02 16:11:22 +04:00
pTalanov 36b5d761a2 Rename: SingleFileTest -> SuiteBuilder 2012-03-02 16:11:21 +04:00