Commit Graph

297 Commits

Author SHA1 Message Date
Zalim Bashorov 2d31d62163 JS lib: drop es5 shims. 2014-02-06 12:21:12 +04:00
Alexander Udalov dc66561ca5 Create module 'builtins', move 'runtime' -> 'runtime.jvm'
'builtins' will be used for platform-independent core built-in definitions,
'runtime.jvm' for things that should be present at runtime in order for Kotlin
code to execute correctly on JVM

ProgressionUtil goes to 'builtins' right now because progression iterators
depend on it, but should be rewritten to Kotlin later
2014-01-27 18:33:47 +04:00
Alexander Udalov a59565bfa8 Rewrite PropertyMetadata to Kotlin 2014-01-27 18:33:44 +04:00
Natalia Ukhorskaya 14f4b6e4b4 Update android annotations. Do not add jdk annotations for android sdk 2014-01-15 18:00:46 +04:00
Evgeny Gerashchenko 958f7c862d Got rid of "namespace" word in test data. 2014-01-14 18:06:50 +04:00
Jon Renner 6781231411 KT-4347 add Array extension indexOf to stdlib 2013-12-30 14:42:56 +04:00
Jon Renner 9544624755 add Readme to kotlin-stdlib-gen explaining how to run code generation 2013-12-27 15:06:19 +08:00
Natalia Ukhorskaya f2f1a1313d Add jdk jars to kotlin classpath
#KT-4214 Fixed
2013-12-26 13:50:10 +04:00
Evgeny Gerashchenko f7d33d2297 Removed comments auto-generated by IDEA. 2013-12-23 15:58:36 +04:00
Evgeny Gerashchenko 6adec744f1 Migrated kdoc to package views & fragments instead of namespace descriptors. 2013-12-17 20:28:57 +04:00
Evgeny Gerashchenko e80af77c31 Added max() and min() for CharArrays. 2013-12-06 20:35:31 +04:00
nik f439604b57 standard library: 'max' and 'min' functions reimplemented to avoid unnecessary null checks
(as proposed for minBy/maxBy in https://github.com/JetBrains/kotlin/pull/324)
2013-12-06 20:22:53 +04:00
Mikhael Bogdanov 16f554b6bf Removed inline annotation from downTo functions 2013-12-02 18:28:24 +04:00
Mikhael Bogdanov 40d7841892 Added inline flag to templates 2013-12-02 18:28:24 +04:00
nik ac6dc9fa54 standard library: 'maxBy' and 'minBy' functions added (#KT-4267 fixed) 2013-12-02 18:24:24 +04:00
nik 45e9211943 standard library: added isEmpty/isNotEmpty functions for primitive arrays 2013-12-02 18:24:24 +04:00
nik bf36eb07e9 standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126) 2013-11-27 23:09:30 +04:00
nik cde36adbdc standard library: 'sum' function added (KT-3714, KT-3843, KT-3126) 2013-11-27 12:42:40 +04:00
Mohammad Shamsi 0c447c81ca KT-4153 Fixed. 2013-11-05 18:37:13 +08: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
Andrey Breslav 5175b8444f Build a special compiler jar for maven that contains the runtime as well 2013-10-14 14:42:26 +04:00
Evgeny Gerashchenko 2ae1a2c81b Added copyToArray intrinsic method.
#KT-3352 fixed
2013-10-01 15:11:30 +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
Nikita Skvortsov aaf31945de Fix std lib generator: allow executing from command line. 2013-09-22 11:41:07 +04:00
Erokhin Stanislav 4c57d70be9 JS backend: remove ECMA 3, but several tests is broken.
Main reason: overload extention property:

Int.bar = 1
String.bar = 2
2013-09-17 21:43:25 +04:00
Nikita Skvortsov cc47f646a1 fix kotlin compiler logging level in Gradle 2013-09-16 16:48:31 +04:00
Nikita Skvortsov 96d6542e49 fix extra kotlin source set structure. 2013-09-16 16:48:31 +04: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
Nikita Skvortsov dd42b47d98 updated integration test for android library project 2013-08-21 15:44:37 +04:00
Nikita Skvortsov fa84783414 fix for http://youtrack.jetbrains.com/issue/KT-3911 2013-08-21 15:44:36 +04: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
Nikita Skvortsov f99f4bcf22 fix to handle empty kotlin compilation output 2013-08-14 14:01:24 +04:00
Nikita Skvortsov 4302cbd816 minor fix improvements and integration test 2013-08-13 17:28:17 +04:00
Natalia.Ukhorskaya 04e397b850 Small syntax improvement 2013-08-13 16:30:40 +04:00
Nikita Skvortsov 7cb8e76ed7 fix duplicates in classpath 2013-08-13 16:30:39 +04:00
Nikita Skvortsov 6ce92f6d0d code polishing 2013-08-09 14:36:07 +04:00
Natalia.Ukhorskaya e0a899902c Merge remote-tracking branch 'origin/pr/292' 2013-08-09 12:38:54 +04:00
Natalia.Ukhorskaya 2436ed1a17 Temporary change gradle output to show it in MessageView in Android-Studio 2013-08-09 12:24:09 +04:00
Nikita Skvortsov 405465fd25 Support kotlin-android-sdk-annotations in gradle plugin 2013-08-08 21:09:45 +04:00
Natalia.Ukhorskaya 42b8cb122b Add pom.xml android-sdk-annotations 2013-08-08 14:07:52 +04:00
Andrey Breslav 7662cbaeb4 Compilation fixed (after CompilerVersion was renamed to KotlinVersion) 2013-07-26 14:30:21 +04:00
Leonid Shalupov 9cc51d6db1 ignore gradle android tests for now (need to deliver Android SDK to agents) 2013-07-21 17:55:22 +04:00
Nikita Skvortsov 79e7c5bd7b test external annotations 2013-07-12 18:16:43 +04:00
Nikita Skvortsov 0308465b65 added details to test output 2013-07-12 17:53:53 +04:00
Nikita Skvortsov 6b955f1aef more complex test for android project 2013-07-12 17:53:52 +04:00
Nikita Skvortsov 6633cc28fb Added integration test with Kotlin-only project 2013-07-12 17:53:51 +04:00