Commit Graph

165 Commits

Author SHA1 Message Date
Andrey Breslav 2abe2e581d AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull 2012-09-20 18:12:57 +04:00
Svetlana Isakova 0ff9d95704 made Map covariant on second parameter 2012-09-19 15:31:16 +04:00
Svetlana Isakova 47769ed638 tests changed after KT-2745
Write exact Kotlin type (if it's mapped) in signature while generating bytecode
 #KT-2745 fixed
2012-09-19 13:06:25 +04:00
Andrey Breslav 5eaa5b396b Removing usages of tuples from test data
(KT-2358 Drop tuples)
 #KT-2358 In progress
2012-09-18 20:27:09 +04:00
Evgeny Gerashchenko 8e1323bb43 Replaced sure() invocations with '!!' operator in libraries written on Kotlin. 2012-09-17 18:00:21 +04:00
James Strachan fdb755e2e7 update for KT-2765 so we can specify annotationPaths for kdoc too 2012-09-14 16:34:25 +01:00
James Strachan 3d66ebd0e1 added partial fix for KT-2765 so we can specify the paths to where annotations.xml files can be found 2012-09-14 15:04:09 +01:00
James Strachan 9c3d1071cd added more DRY compareBy function and helper class 2012-09-14 12:44:09 +01:00
Svetlana Isakova f987aa4faa removed JLang and LUtil from file named in stdlib 2012-09-10 20:15:19 +04:00
Svetlana Isakova c12fd3f0e6 Changed Tuple usage to Pair usage in kdoc 2012-09-08 00:35:05 +04:00
Svetlana Isakova 47b3d4edd4 collections changed to mutable in kdoc 2012-09-08 00:33:51 +04:00
Svetlana Isakova e059f8b650 removed imports of java mapped classes
in tools code
2012-09-07 23:36:09 +04:00
Andrey Breslav 89fd0526cf TupleN classes and their usages replaced by Pair and Triple
(KT-2358 Drop tuples)

 #KT-2358 In Progress
2012-09-07 21:26:42 +04:00
Leonid Shalupov 15b5ba5b51 KT-2694 simplify loop 2012-09-07 13:46:54 +04:00
Alexander Fedorov a245861711 skip if sources don't exists 2012-08-28 17:25:42 +04:00
Svetlana Isakova 4457c7b6ba removed 'private' modifier for local function 2012-08-23 14:55:17 +04:00
James Strachan a4e80c7d5d disabled failing KDocTest for now 2012-08-17 09:43:58 +01:00
Pavel V. Talanov 06160d0897 Use packaged js libraries from dist in maven kotlin-js-tests-junit target. 2012-08-16 13:20:08 +04:00
Evgeny Gerashchenko 39daa11e13 Fixed maven build. Renamed usages of upto to rangeTo. Excluded DownTo.kt from js lib compilation. 2012-08-08 17:25:43 +04:00
Evgeny Gerashchenko 2727aa7da4 Gor rid of K2JVMCompileEnvironmentConfiguration and CompileEnvironmentConfiguration. Using JetCoreEnvironment instead of K2JVMCompileEnvironmentConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 33c661e7f3 Passing compiler plugins via CompilerConfiguration. 2012-07-31 16:33:44 +04:00
James Strachan 7d0b03de76 added the dom events API to the kotlin standard library and get it compiling as JS too (not unit tested yet mind you ;) 2012-07-25 02:57:53 +01:00
James Strachan b25c27bfed added first cut of the DOM events API (its not all compiling to JS yet though due to Class<T> not being supported) 2012-07-24 11:10:50 +01:00
Evgeny Gerashchenko f9b0223ab6 Using kotlin-jdk-annotations.jar from valid location in kotlin-maven-plugin. 2012-07-23 20:06:40 +04:00
Evgeny Gerashchenko 3af9540702 Fixed compilation of kdoc. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko 6736e3d6d6 Optimized imports in kdoc project. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko 8124e477ce Renamed methods getUserData and putUserData to get and put, respectively. 2012-07-23 17:38:16 +04:00
James Strachan 3ef4ff690c avoid failure on equals() call passing in null/undefined and updated the issues for failing JS unit tests 2012-07-20 07:14:20 +01:00
James Strachan 14abbc9e5f added better description of why MapTest is excluded 2012-07-19 21:43:00 +01:00
James Strachan 8f76eef440 updated on latest excluded JS tests 2012-07-19 21:37:27 +01:00
James Strachan ebc87ea34d added a test case that ensures the generated JS code works in the browser example 2012-07-19 14:05:26 +01:00
James Strachan 9cd231ae60 removed old cruft 2012-07-19 10:14:06 +01:00
James Strachan 36078216b7 re-include jQuery and html5 JS APIs into the kotlin-js-library now it seems KT-2316 is fixed 2012-07-19 08:30:16 +01:00
Evgeny Gerashchenko 8050b96f27 Fixed code outside main project which was broken after refactoring. 2012-07-07 23:07:20 +04:00
James Strachan 33ef414f01 added tests so we can easily run QUnit tests in headless mode inside a stand alone JUnit test without Selenium; with just Rhino. JsArrayTest works great in Rhino stand alone and in a browser; but not Selenium; not sure why yet... 2012-07-05 21:40:06 +01:00
James Strachan e9ed7b6d2a add more array based tests and JS compliant typesafe array constructor functions 2012-07-05 16:27:39 +01:00
James Strachan b4dace2c29 added a native array() function for the JS generation; also refactored the code generated collection APIs so that most of them can be used with JavaScript and included more array based APIs into the JS generation 2012-07-05 15:49:10 +01:00
James Strachan bea649bf87 enabled the unit testing of a subset of the standard library JUnit test cases with the compiled JavaScript versions and running them in QUnit in a JUnit test case 2012-07-05 14:51:28 +01:00
James Strachan d8eaffa4e3 added neater messages if there's a failure 2012-07-05 14:50:40 +01:00
James Strachan 9711bc841e enabled the KDocTest again - was out of memory before 2012-07-05 12:55:34 +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 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 d950d19292 fixed up the maven plugin after Pavel's changes 2012-07-04 22:01:04 +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
Evgeny Gerashchenko 77df57c150 Replaced jdk-headers with jdk-annotations everywhere. 2012-07-03 13:36:58 +04:00
James Strachan 541f3d4e78 got more map code compiling to JS and running as unit tests 2012-07-03 07:43:15 +01:00
Stepan Koltsov 8d2bd30585 kdoc: constants for names 2012-06-25 23:55:30 +04:00
Stepan Koltsov be1b9a011b kdoc: link to generated html source from kdoc 2012-06-25 23:55:30 +04:00
Stepan Koltsov caddc84950 kdoc: KClass: remove unnecessary name parameter 2012-06-25 23:55:29 +04:00