Leonid Shalupov
6778dda9db
maven: report Kotlin Compiler version as INFO
2012-12-14 17:36:02 +04:00
Andrey Breslav
0ec4131231
KDoc compilation fixed
2012-12-14 15:28:22 +04:00
Evgeny Gerashchenko
654a995a9d
Fixed compilation of kdoc.
2012-12-10 19:13:17 +04:00
Andrey Breslav
3e7541605e
Publish kotlin-jdk-annotations.jar in Maven
2012-12-10 13:39:58 +04:00
Leonid Shalupov
f9331407a5
reverting wrong pull request 148; to be discussed
2012-12-05 21:53:34 +04:00
Philippe Marschall
3a9ed81915
Skip Plugin Exceution for POM Projects
...
It's quite common to have a multi module project with a parent project
that has POM packaging. It would be quite convenient if the
kotlin-maven-plugin could be configured there instead of in each module.
Currently this is not possible because the plugin tries to execute on
POM projects with fails.
- skip execution on POM projects
2012-12-05 15:17:46 +01:00
Andrey Breslav
5ac10ee8e5
Mutability fixed in KDocConfig: the maps are mutated from Java
2012-11-24 15:59:16 +04:00
Andrey Breslav
ec255e8342
NO_RECEIVER_PARAMETER is now simply null
2012-11-01 19:53:22 +04:00
Andrey Breslav
ce9c302fe1
KDoc migrated onto new ReceiverParameterDescriptor
2012-11-01 12:11:06 +04:00
James Strachan
0506708e70
include the maps.js standard JS file in the maven plugin (fixing up issues caused by the refactoring of kotlin_lib.js into 2 files)
2012-10-25 16:56:13 +01:00
James Strachan
c843d23416
allow the maven plugin to have its source directories to be configured on a per execution basis (e.g. so that you can have different directories for JS compilation as to JVM based compilation). Its a shame to require 2 fields for configuration; but tried all other permutations I could think of but could not figure out a cleaner way -better approaches welcome! :)
2012-10-25 10:57:31 +01:00
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