Commit Graph

120 Commits

Author SHA1 Message Date
Pavel V. Talanov 5652b7f521 Fix usages of javaClass property 2014-08-14 19:59:23 +04:00
Alexander Udalov 6258e08011 KDoc: drop "-docOutput" CLI argument
It was never supported in kdoc-cli. It is still supported as an argument in
kdoc-maven-plugin
2014-08-13 11:10:40 +04:00
Alexander Udalov cf431ffab0 CLI: change argument naming convention
As in all other Unix/POSIX tools and JVM language compilers, multiple words
comprising the argument name should be lowercase, separated by dashes
2014-08-13 11:10:40 +04:00
Alexander Udalov 160cde09d6 CLI: Support "-X" advanced options, simplify some boolean options 2014-08-13 11:10:37 +04:00
Alexander Udalov fd27518070 Fix build tool plugins after recent changes to CLI 2014-07-26 02:28:51 +04:00
Alexander Udalov 8ed2413395 Minor, use javaClass instead of getClass()
Fix Maven build
2014-07-26 01:34:42 +04:00
Zalim Bashorov 4a8519615a Unit.VALUE -> Unit in code. 2014-07-25 17:16:40 +04:00
Alexander Udalov 485cc906a4 Fix Maven build due to recent changes to CLI arguments 2014-07-24 20:04:47 +04:00
Alexander Udalov 19b80f57cf Support "-d" option in kotlinc-jvm
The intent is to unify "-output" and "-jar" options into the one "-d"
(destination)
2014-07-23 21:24:40 +04:00
Alexander Udalov de0fd3818c Drop "-src" in kotlinc-jvm
Free arguments should be used instead
2014-07-23 21:24:39 +04:00
Pavel V. Talanov 3c48d0dec2 Fix usage of utility in KDoc 2014-07-09 19:08:32 +04:00
Svetlana Isakova 9b70ab7d16 Removed AT, ATAT tokens
Checks 'in LABELS token set' replaced with LABEL_IDENTIFIER equality
2014-05-20 15:07:00 +04:00
Evgeny Gerashchenko 3962064bd2 Fixed compilation of KDoc 2014-03-26 23:55:12 +03:00
Alexander Udalov 338bc2f9ec Fix incorrect apidoc for 'kotlin'
KDoc was confused because now there are two package fragments for package
'kotlin' (built-ins and stdlib). KDoc's KPackage now has a list of descriptors,
not only one.

This fixes missing documentation for top-level members in package 'kotlin' in
the apidoc

 #KT-2521 Fixed
2014-03-17 19:09:08 +04:00
Alexander Udalov 93db022059 Minor, fix wrong string template in KAnnotation.toString() 2014-03-17 19:09:08 +04:00
Alexander Udalov 00170357fd Clean code in KDoc
Fix warnings, outdated TODOs, formatting, etc.
2014-03-17 19:09:08 +04:00
Alexander Udalov 0dfacd8b20 Make KDoc generate documentation on red code
KDoc is not a compiler, so it should not care whether or not the code is valid.
Therefore suppress the compiler's exit code, errors and warnings in KDoc plugin
2014-03-17 19:09:08 +04:00
Alexander Udalov 6b0fce8cd5 Unsorted replacements "jet" -> "kotlin"
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Alexander Udalov 3dcd85bdb4 Add toString() to Any, fix all tests
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00
Evgeny Gerashchenko 958f7c862d Got rid of "namespace" word in test data. 2014-01-14 18:06:50 +04:00
Natalia Ukhorskaya f2f1a1313d Add jdk jars to kotlin classpath
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Evgeny Gerashchenko 6adec744f1 Migrated kdoc to package views & fragments instead of namespace descriptors. 2013-12-17 20:28:57 +04:00
Zalim Bashorov 31a4d91122 CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes 2013-10-16 17:39:49 +04:00
Zalim Bashorov 0901c98ff8 CLI: move *CompilerArguments classes to cli-common module. 2013-10-16 17:39:48 +04:00
Zalim Bashorov 5d84abb34c CLI: move the compilerPlugins property from CompilerArguments to CLICompiler. 2013-10-16 17:39:47 +04:00
Andrey Breslav 60c9aa559b Fix compilation in KDoc tests 2013-10-15 17:37:53 +04:00
Evgeny Gerashchenko 48625dd7b6 Disallowed using type parameter as reified type argument.
#KT-3050 fixed
2013-10-01 15:06:57 +04:00
Andrey Breslav 62607c2494 Fix compilation in KDoc 2013-09-24 08:41:41 -07:00
Mohammad Shamsi 32c34a3740 KT-3893 Fixed
- Added modifier check for parameters in constructors.
- Added modifier check for parameters in functions.
- Added modifier check for parameters in try/catch
2013-08-29 22:08:26 +08:00
Mohammad Shamsi 5584e6ce18 KT-3715 make Collection.notEmpty a property
Renamed "notEmpty()" methods to "isNotEmpty()" in following classes:
    - Collection
    - String
    - Array

Added "notEmpty" property to Collection class
2013-08-19 01:20:56 +08:00
Evgeny Gerashchenko ba90f07c8d Fixed compilation after renaming Name.getName()
to asString()
2013-05-22 20:52:09 +04:00
Evgeny Gerashchenko 5ccbce6de6 Got rid of "tuple" word all over the code. 2013-03-22 16:38:25 +04:00
Evgeny Gerashchenko b9e5704057 Updated test data and stdlib sources. 2013-02-13 18:08:37 +04:00
Maxim Shafirov 6b23384ab9 compilation fix 2013-02-13 17:42:38 +04:00
Maxim Shafirov b851c5597a compilation fix 2013-02-13 16:14:33 +04:00
Maxim Shafirov 63f88cdf65 compilation fix 2013-02-13 15:44:25 +04:00
Leonid Shalupov 0a1303d118 build: no classes rename in jarjar
build: fixed proguard shrinking
2013-02-13 14:22:54 +04:00
Andrey Breslav ffedb64ff2 KDoc tests fixed by setting kotlinHome explicitly 2013-02-05 20:32:58 +04:00
Natalia.Ukhorskaya 5c56900a09 Fix maven build: rename namespace class to package class 2013-01-18 12:59:36 +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 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
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 9c3d1071cd added more DRY compareBy function and helper class 2012-09-14 12:44:09 +01:00