Commit Graph

1214 Commits

Author SHA1 Message Date
Valentin Kipyatkov 817b86a820 Temporary added explicit imports of java.util.Collections into stdlib 2014-12-26 16:23:18 +03:00
Zalim Bashorov 51724e4b0d Drop some obsolete TODOs in MapJsTest 2014-12-26 14:20:21 +03:00
Pavel V. Talanov 007053489c Fail on duplicate file when packing runtime sources for jvm
Fail on duplicate when packing kotlin-jslib.jar and kotlin-jslib-sources.jar
Move files from root of stdlib to avoid existing conflicts
Rename System to SystemJvm to avoid including to js lib
2014-12-24 14:55:21 +03:00
Zalim Bashorov a05ba64f93 Gradle plugin: fix tests. 2014-12-24 12:29:38 +03:00
Zalim Bashorov 35e2a46ae0 Minor in Gradle plugin: don't copy kotlin.js 2014-12-24 12:29:37 +03:00
Zalim Bashorov 1e4100afd5 Gradle plugin: ignore non kotlin-js libraries in dependencies. 2014-12-24 12:29:37 +03:00
Zalim Bashorov eac0e99e65 Minor cleanup in Gradle plugin. 2014-12-24 12:29:36 +03:00
Zalim Bashorov 5e495d6bd9 Fix maven build. 2014-12-24 12:29:10 +03:00
Zoltan Nagy e08fa1cab2 Kotlin2Js Gradle plugin tests 2014-12-24 12:27:55 +03:00
Zoltan Nagy b1723668ce Kotlin2Js Gradle plugin implementation 2014-12-24 12:27:55 +03:00
Zalim Bashorov 7579471859 JS stdlib: fixed Set::equals. 2014-12-23 20:01:21 +03:00
Ilya Ryzhenkov d908678dcf Take into account collection sizes when possible #KT-6180 2014-12-23 20:00:01 +03:00
Ilya Ryzhenkov 4cd2ba1e30 Fix Array<out> variance in stdlib #KT-6482 Fixed 2014-12-23 20:00:01 +03:00
Ilya Ryzhenkov 377988cb7b toSortedMap() without comparator requires non-null keys #KT-6509 Fixed 2014-12-23 20:00:00 +03:00
Ilya Ryzhenkov 071eb87f27 Remove unnecessary constraint from filterIsInstance(Class<R>) signature #KT-6516 Fixed 2014-12-23 20:00:00 +03:00
Andrey Breslav 5a7aa65d53 Failing tests temporarily disabled 2014-12-23 15:18:47 +03:00
Andrey Breslav 6728a384e4 KT-4881 Annotation resolved to package should be compile-time error
#KT-4881 Fixed
2014-12-23 15:18:47 +03:00
Alexander Udalov 865b663015 Minor style fixes in ParentLastURLClassLoader 2014-12-19 14:37:47 +03:00
Alexander Udalov 0401b65ae4 Use findLoadedClass instead of hand-written cache in ParentLastURLClassLoader 2014-12-19 14:37:46 +03:00
Zalim Bashorov 465c4a397e Rename manifest.properties to kotlinManifest.properties to avoid clashing with other resources. 2014-12-18 14:34:37 +03:00
Ilya Ryzhenkov f4b96a0a1a Add mapIndexed() function for common case withIndex().map{} #KT-3153 Fixed 2014-12-16 17:33:27 +03:00
Ilya Ryzhenkov 846014b37f Add missing sum() on Streams. 2014-12-16 17:33:27 +03:00
Ilya Ryzhenkov f7d4ca092c Deprecate size and length property on CharSequence. 2014-12-16 17:33:26 +03:00
Ilya Ryzhenkov 053586f481 Make lazy version of assert accept function with Any return value, #KT-6459 Fixed 2014-12-16 17:33:26 +03:00
Ilya Ryzhenkov 7b8f34388b Add Module.md and document packages. 2014-12-16 17:33:25 +03:00
Ilya Ryzhenkov 3dca4a08c3 Document Pair and Triple 2014-12-16 17:33:24 +03:00
Ilya Ryzhenkov be717f48f8 Stop using deprecated APIs 2014-12-16 17:33:24 +03:00
Ilya Ryzhenkov 2b8ffeda28 Stop generating deprecated string functions, move to deprecated folder. 2014-12-16 17:33:23 +03:00
Ilya Ryzhenkov 835c74812e Add platformStatic to Charsets values. 2014-12-16 17:33:23 +03:00
Ilya Ryzhenkov 9242a3d3dc Use standard emptyList() 2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov fbbb7eced1 Collect deprecated code, remove unused private ImmutableArrayList 2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov 31fb24d390 Sort collections/map APIs, improve empty implementations. 2014-12-16 17:33:21 +03:00
Ilya Ryzhenkov fa0542b801 Clean size/length/first/head/empty properties and functions. 2014-12-16 17:33:21 +03:00
Ilya Ryzhenkov 828ba385ea Cleanup ordering, improve API 2014-12-16 17:33:20 +03:00
Ilya Ryzhenkov e890c2ee0d Deprecate withIndicies(), introduce optimized and fixed withIndex and forEachIndexed() 2014-12-16 17:33:20 +03:00
Andrey Breslav cba6652c05 Simplistic support for native flag 2014-12-16 15:17:33 +03:00
Michael Nedzelsky f1d89805f1 fix kotlin-gradle-plugin-test build 2014-12-15 15:58:51 +03:00
Svetlana Isakova 5b4f10e698 Made vararg parameters have Array<out T> type
instead of simply Array<T>
  #KT-1638 Fixed
  #KT-2163 Fixed
  #KT-3213 Fixed
  #KT-4172 Fixed
  #KT-5534 Fixed
2014-12-12 23:08:28 +03:00
Michael Nedzelsky 801ed5245b JS backend: fix Selenium test: fail on error loading javascript files 2014-12-12 22:36:32 +03:00
Michael Nedzelsky d857d06903 fix maven kotlin-js-tests 2014-12-12 19:49:46 +03:00
Michael Nedzelsky b71101942e JS backend: maven projects: extract library js-files to target/js/lib, set scope=test for stdlib in browser-example* 2014-12-12 03:03:53 +03:00
Michael Nedzelsky 85a16c3c51 add browser-example-with-library maven project (kotlin->javascript) 2014-12-12 03:03:50 +03:00
Michael Nedzelsky 6c55e12588 add kotlin-js-library-example maven project 2014-12-12 03:03:48 +03:00
Michael Nedzelsky 9734980334 JS maven tests: fixes configuration files 2014-12-12 03:03:45 +03:00
Michael Nedzelsky eebb012b13 JS backend: maven: fix compiler mojo 2014-12-12 03:03:43 +03:00
Michael Nedzelsky 8d10b3813b fix kotlin-js-library maven project 2014-12-12 03:03:40 +03:00
Michael Nedzelsky 103307432e update kotlin javascript stdlib if needed 2014-12-12 03:03:24 +03:00
Michael Nedzelsky 68113ff33d JS backend: change path to kotlin.js for tests 2014-12-12 03:03:00 +03:00
Denis Zharkov d345ba05dd Added inline function "Array" into stdlib
It has the same signature and semantics as Array constructor had
Also made Array constructor private and accepting no arguments
2014-12-11 16:04:03 +03:00
Nikolay Krasko 0231aeb017 Memory leak in PermGen of Kotlin Gradle plugin when demon is used (KT-5420)
Stop background thread in Intellij Idea api and clear thread locals to allow gc the created class loader

 #KT-5420 In Progress
2014-12-11 15:30:01 +03:00