Evgeny Gerashchenko
|
ab5505eed2
|
Using equals to compare ranges in CollectionTest.
|
2012-07-31 22:15:07 +04:00 |
|
Evgeny Gerashchenko
|
5667e76f4f
|
Added Int.indices extension property.
|
2012-07-31 22:15:07 +04:00 |
|
Evgeny Gerashchenko
|
69313ae3be
|
Removed redundant null checking.
|
2012-07-31 22:15:07 +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
|
1691298539
|
added test case to investigate KT-2495
|
2012-07-26 05:06:05 -04:00 |
|
James Strachan
|
559cfe29c8
|
added test case for KT-2520
|
2012-07-25 05:58:09 -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
|
45672cf7e2
|
Added workaround to KT-2493 to get maven build back to life.
|
2012-07-23 19:21:43 +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 |
|
Svetlana Isakova
|
6f8f151db5
|
added java.lang.Comparable to JavaTypeTransformer
|
2012-07-20 19:34:55 +04:00 |
|
James Strachan
|
a2184526d8
|
added a Node.clear() helper method so they can be cleared like collections
|
2012-07-20 12:12:45 +01:00 |
|
James Strachan
|
fbee1a8135
|
renamed to avoid confusion with other MapTest in QUnit
|
2012-07-20 07:15:43 +01: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
|
e8ddeca248
|
got more test cases working in JS in a web browser; not sure why lots fail in selenium in JUnit
|
2012-07-19 21:35:22 +01:00 |
|
James Strachan
|
4f5e2227b4
|
upgraded to latest selenium
|
2012-07-19 21:34:13 +01:00 |
|
James Strachan
|
9dac461dbf
|
used a simple implementation of withIndices() which offers a more consistent API (lists are easier to use than Iterables) and works around a JS generation bug so that ListTest now works in JS in a browser (though not, alas, in selenium/rhino/htmlunit)
|
2012-07-19 20:52:09 +01:00 |
|
James Strachan
|
d8d6dc1626
|
fixing the mvn build; whoops :)
|
2012-07-19 15:51:19 +01:00 |
|
James Strachan
|
b9f5599296
|
Merge pull request #72 from chirino/master
Support using an executor as a function to execute a block.
|
2012-07-19 07:26:42 -07: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
|
1aae3ff449
|
updated instructions
|
2012-07-19 10:26:56 +01:00 |
|
James Strachan
|
79904e23da
|
updated browser example so its working again ;)
|
2012-07-19 10:23:57 +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 |
|
Hiram Chirino
|
ac434d4852
|
Adding support for transforming functions into Callable objects and integration with ExecutorService.
|
2012-07-18 14:55:50 -04:00 |
|
Hiram Chirino
|
7cbb8a19fb
|
Support using an executor as a function to execute a block.
|
2012-07-18 12:37:26 -04:00 |
|
James Strachan
|
00b0f26339
|
add a minimum maven version to give better errors if folks try build on 2.x
|
2012-07-18 07:00:06 +01:00 |
|
James Strachan
|
fee8c42885
|
added better links
|
2012-07-16 09:47:31 +01:00 |
|
James Strachan
|
f54c3b9ab8
|
added an experimental refactor of the standard library where we use traits and inheritence/override to group extension functions and apply them in a more powerful way; reusing the language & IDE to check for missing functions or incorrect overriding etc. (e.g. its easy to see the difference between eager & lazy and ensure consistent APIs across extension functions)
|
2012-07-16 09:43:45 +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
|
b1d231d0e0
|
attempt to try fix the CompileMavenGeneratedJSLibrary test case
|
2012-07-05 08:56:06 +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
|
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 |
|