Commit Graph

6466 Commits

Author SHA1 Message Date
Pavel V. Talanov b796d5a643 Merge remote-tracking branch 'origin/master' 2012-07-04 20:59:26 +04:00
James Strachan 1c5e54be8f avoid the use of enums as the JS generation isn't supported yet (see KT-2368) 2012-07-04 16:04:54 +01:00
Pavel V. Talanov 92231d2eae Merge remote-tracking branch 'origin/master'
Conflicts:
	js/js.tests/test/org/jetbrains/k2js/test/SingleFileTranslationTest.java
	js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibTestToJSTest.java
2012-07-04 18:32:24 +04:00
Pavel V. Talanov cbf83c14bd Log exception instead of rethrowing it. 2012-07-04 18:26:03 +04:00
Pavel V. Talanov 165c70c34c Generate kotlinLib.js using closure compiler 2012-07-04 18:22:07 +04:00
Pavel V. Talanov 6f47555d70 Move JsConfiguration class to top level 2012-07-04 17:15:54 +04:00
Pavel V. Talanov d6d5a8c25b Fix tests for now
Comment out builder test for convenience
2012-07-04 17:04:35 +04:00
Svetlana Isakova 1c7b3d8958 Merge pull request #91 from udalov/kt2317
KT-2317 Wrong UNNECESSARY_SAFE_CALL
2012-07-04 05:57:34 -07:00
Alexander Udalov b2defb2cb4 KT-2317 Wrong UNNECESSARY_SAFE_CALL
#KT-2317 Fixed
2012-07-04 15:39:58 +04:00
Pavel V. Talanov c3972d9c58 Remove "rawStatements" from APIs and refactor CodeGenerator 2012-07-04 13:05:30 +04:00
Pavel V. Talanov 0cd1097dd0 Better test generator step1, isolate testing functionality
Also move defineModule to TranslationUtils
2012-07-04 12:56:06 +04:00
Pavel V. Talanov 9f4a48bb1c Remove some strange code from StaticContext. Also use Collection<JetFile> instead of List<JetFile> in some APIs 2012-07-04 12:42:46 +04:00
Pavel V. Talanov a3a2f51c9c More missing "public" 2012-07-04 12:40:39 +04:00
James Strachan bb8dc49692 added more iterator based tests to the JS compilation; exposes some issue with enums... 2012-07-04 09:19:03 +01:00
Pavel V. Talanov 35f5e8a075 Extract and move method from StaticContext to Namer 2012-07-04 12:01:12 +04:00
James Strachan 64b00f0a19 fixed bug in generated dom (missing public on the Node class object) and split the JVM specific Iterator standard library to a separate file for easier JS reuse 2012-07-04 08:46:26 +01:00
James Strachan b9edbea926 latest code generated standard library apis 2012-07-04 08:28:39 +01:00
James Strachan 8f94f5e43f added a bunch more JS test cases from standard library test cases 2012-07-03 22:20:00 +01:00
James Strachan 038f0af68f fixed failing test case, so we can use the browser API from JVM code and at least have an empty document to play with 2012-07-03 20:14:13 +01:00
James Strachan ffffe84fcb added more working DOM test cases for JS 2012-07-03 19:54:32 +01:00
Pavel V. Talanov 592b0e9c37 Specify visibility in some files in jslibs 2012-07-03 21:36:04 +04:00
Pavel V. Talanov 7d29468e37 Revert: Kolya's commit to JLangIterables.kt 2012-07-03 20:42:59 +04:00
Andrey Breslav 81c764daf8 Create update-no-third-party target for lightweight TeamCity builds 2012-07-03 18:57:36 +04:00
Pavel V. Talanov dd43f6b699 Deal with absence of js library. fix K2JSMessagingTest 2012-07-03 17:58:58 +04:00
Pavel V. Talanov 508b241553 Remove dead code. 2012-07-03 17:56:22 +04:00
Natalia.Ukhorskaya f51e893bb5 Add android-tests module.
Add run configuration for tests on android.
2012-07-03 17:47:00 +04:00
Natalia.Ukhorskaya 2a4ca8d7bf Make Printer constructor public 2012-07-03 17:46:25 +04:00
James Strachan 3068af7324 test case for KT-2356 2012-07-03 14:29:47 +01:00
James Strachan 1fba1ade13 work around for KT-2356 2012-07-03 14:29:40 +01:00
James Strachan b9ffce68e4 added test case for KT-2355 2012-07-03 13:57:21 +01:00
James Strachan 25bf753369 added test case for KT-2354 2012-07-03 13:55:49 +01:00
Pavel V. Talanov e1ecdead75 Turn off the failing StdLibToJSTest. It fails due to some frontend bug. 2012-07-03 16:41:03 +04:00
Pavel V. Talanov 30a01a674d Fix a problem which caused temporary variables to be created in invalid context when creating object literal.
Only 2 tests failing atm.
2012-07-03 15:53:16 +04:00
Pavel V. Talanov d6ffb42497 pull https://github.com/develar/kotlin ecma5-iter3 Make most of the tests work.
Thanks to develar.
2012-07-03 15:27:37 +04:00
Evgeny Gerashchenko 32e73c10b1 Removed JDK headers from repository. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko a8aee841c9 Temporarily added external annotations for ArrayList.clone() method and updated test data. Alternative signature annotations should be parsed for overridden methods, too. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko 77df57c150 Replaced jdk-headers with jdk-annotations everywhere. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko 53cdbe486d Using valid member scope in descriptors created from alternative signatures. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 9dec15d2b1 Using references to new type parameter descriptors in types when replacing signatures using alternative annotations. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 4f3374c6da Using JDK with jdk-annotations in plugin tests. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko fa3e3ee104 Registered annotations provider as a service instead of static class to avoid problems with projects disposal. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 23a1c85c44 Added external annotation for Object.clone(). 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 66021424c1 Removed parameter names in external annotations. They had been added erroneously. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 6a4b6d3f5a Typo in ForTestCompileBuiltins. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 2420b34469 Compacted jdk-annotations (removed redundant FQ names in alternative signatures). 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 9d16c142be Removed redundant external annotations (which don't change signature, actually). 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 4480753131 Converted jdk-headers to jdk-annotations. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko a4ab2afa94 Better method names. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko cfc1d6d271 Added clarifying comment for ExceptionUtils.rethrow() 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko ef19700283 Added attaching external annotations via module script. 2012-07-03 13:35:52 +04:00