Commit Graph

6491 Commits

Author SHA1 Message Date
Alex Tkachman ea249e436a Merge remote branch 'origin/master' 2012-07-05 15:49:47 +03:00
Alex Tkachman b989c701e9 patch from audalov for KT-1959 2012-07-05 15:49:24 +03:00
Pavel V. Talanov 39a8a90175 Use K2JSTranslator in StdLibTestBase, add copyright to ClassAliasingMap 2012-07-05 16:25:34 +04:00
Pavel V. Talanov 6354d1bae0 Custom equals operator (includes little patch to frontend)
#KT-2354 fixed
2012-07-05 16:25:33 +04:00
James Strachan 88a38d9b5b added equals() and toString() methods for AbstractList 2012-07-05 13:07:04 +01:00
James Strachan 9711bc841e enabled the KDocTest again - was out of memory before 2012-07-05 12:55:34 +01:00
James Strachan af4cdb38df removed bogus test case for KT-2355 which isn't an issue any more 2012-07-05 12:07:36 +01:00
James Strachan 20da5c48ea got the mvn k2js plugin working again & re-enabled the js building in the mvn build (apart from running the junit JS tests as some of them fail) 2012-07-05 11:43:35 +01:00
James Strachan 9d64960720 enabled the Map tests as they seem to work fine again now 2012-07-05 11:04:31 +01:00
James Strachan dc4952c8b1 enabled the test cases and turned into a main() to avoid being run by default in unit tests (as we really need to do a maven build first) 2012-07-05 11:04:15 +01:00
James Strachan c166a38f22 switch QUnit to use the output from CompileMavenGeneratedJSLibrary 2012-07-05 11:03:36 +01:00
James Strachan 54c8382813 added more descriptive logging 2012-07-05 11:02:54 +01:00
Natalia.Ukhorskaya 754148b2b2 Android module: correct paths for android tools for unix 2012-07-05 13:48:23 +04:00
James Strachan 925e5b2236 refactored the JS kotlin code so that we've a simple naming convention (*Code.kt") to refer to library code which needs to generate JS code to separate those files from the pure definitions which just refer to existing JS code already - this will help make it easier to keep the maven build and the js test cases in sync 2012-07-05 10:34:00 +01:00
James Strachan 038f79a77a add extra diagnostics if there's a failure 2012-07-05 10:30:28 +01:00
Natalia.Ukhorskaya e50abd67c5 Android module: create emulator in tmp folder, catch exceptions during stopping emulator 2012-07-05 13:09:14 +04:00
James Strachan b1d231d0e0 attempt to try fix the CompileMavenGeneratedJSLibrary test case 2012-07-05 08:56:06 +01:00
James Strachan 2090b422c0 added compiler scope to the exception thats thrown 2012-07-05 08:52:19 +01:00
James Strachan 276bfae401 added another test case to check vars work in object declarations 2012-07-05 08:51:47 +01:00
James Strachan 98f6650236 added a (currently disabled) test case for compiling the JS code from the kotlin-js-library maven build 2012-07-04 22:03:08 +01:00
James Strachan c2ca06a8cf simplified the code to try get the JS generation to work (seems to not like fully qualified classes) 2012-07-04 22:02:39 +01:00
James Strachan 85782179c6 added extra diagnostics on assertions so its clear which bit of code caused the problem 2012-07-04 22:02:09 +01:00
James Strachan d950d19292 fixed up the maven plugin after Pavel's changes 2012-07-04 22:01:04 +01:00
Pavel V. Talanov f5f6749d1d Try fix public build. Remove potentially bad character 2012-07-04 23:30:23 +04:00
Pavel V. Talanov c296197c0f Comment out MapTest (compared to last version by James) 2012-07-04 21:00:47 +04:00
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