Alexander Udalov
63cefea6e9
Rename jet -> kotlin in frontend
...
org.jetbrains.jet -> org.jetbrains.kotlin
Also rename package slicedmap to slicedMap
2015-01-11 15:20:51 +03:00
Alexander Udalov
64c6055030
Rename jet -> kotlin in frontend, descriptors: resolve
...
org.jetbrains.jet.lang.resolve -> org.jetbrains.kotlin.resolve
2015-01-11 05:09:01 +03:00
Alexander Udalov
8affc31303
Rename jet -> kotlin in descriptor.loader.java, frontend.java
...
Split package 'lang/resolve/java' into two semantically different packages:
'resolve/jvm' and 'load/java'. Also rename 'lang/resolve/kotlin' to
'load/kotlin'
2015-01-11 05:08:57 +03:00
Alexander Udalov
524fdc2527
Rename jet -> kotlin in descriptors, types, names
...
org.jetbrains.jet.lang.descriptors -> org.jetbrains.kotlin.descriptors
org.jetbrains.jet.lang.types -> org.jetbrains.kotlin.types
org.jetbrains.jet.lang.resolve.name -> org.jetbrains.kotlin.name
2015-01-10 15:52:20 +03:00
Alexander Udalov
e88f89d1c6
Rename jet -> kotlin in descriptors: built-ins
...
org.jetbrains.jet.lang.types.lang -> org.jetbrains.kotlin.builtins
2015-01-10 15:52:16 +03:00
Alexander Udalov
d384e50a97
Rename jet -> kotlin in frontend: PSI
...
org.jetbrains.jet.lang.psi -> org.jetbrains.kotlin.psi
2015-01-10 15:52:14 +03:00
Alexander Udalov
2c414d880c
Rename jet -> kotlin in descriptors: renderer
...
org.jetbrains.jet.renderer -> org.jetbrains.kotlin.renderer
2015-01-10 15:51:59 +03:00
Alexander Udalov
f37e2f173d
Rename package jet -> kotlin in util, util-runtime
...
org.jetbrains.jet.config -> org.jetbrains.kotlin.config
org.jetbrains.jet.utils -> org.jetbrains.kotlin.utils
Also move coreLib.kt to package 'org.jetbrains.kotlin.utils'
2015-01-08 23:32:08 +03:00
Alexander Udalov
8ca803775f
Rename package jet -> kotlin in cli, cli-common
...
org.jetbrains.jet.cli -> org.jetbrains.kotlin.cli
Also fix some minor warnings
2015-01-08 23:32:07 +03:00
Alexander Udalov
03e3969544
Rename package k2js -> kotlin.js in js.frontend
...
org.jetbrains.k2js -> org.jetbrains.kotlin.js
2015-01-05 05:10:33 +03:00
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
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
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
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
103307432e
update kotlin javascript stdlib if needed
2014-12-12 03:03:24 +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
Zalim Bashorov
e6b69e48d9
Minor: fix JetCoreEnvironment#(createForProduction, createForTests) call sites for JVM.
2014-12-01 15:27:33 +03:00
Zalim Bashorov
912727e5d2
Unify extension point and extension registration in plugin and cli
2014-12-01 15:27:33 +03:00
Stanislav Erokhin
14d663bcab
Fix maven kotlin-stdlib-validator task.
2014-12-01 14:35:40 +03:00
Nikolay Krasko
4342740195
Refactoring: move common code for ResolveSession init to method
2014-11-28 17:18:46 +03:00
Nikolay Krasko
a42edb9c8f
LTDA: Assert context was created for light class generation
2014-11-28 17:18:40 +03:00
Alexander Udalov
8dae1b62dd
Add CharSequence.subSequence
...
This is done primarily for JVM interoperability, otherwise it's impossible to
inherit from CharSequence there. On JS subSequence at the moment just invokes
substring.
#KT-5956 Fixed
2014-11-27 20:38:19 +03:00
Alexander Udalov
4d95bcfc7e
Rename CharSequence.get to charAt
...
This is done for JVM interoperability. There's still a member function
String.get() and an extension function "get" on CharSequence
#KT-1730 Fixed
#KT-5389 Fixed
2014-11-27 20:38:18 +03:00
Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Pavel V. Talanov
ae75c7ecd7
Update stdlib-validator after changes to AnalysisResult
2014-11-21 16:10:05 +03:00
Zalim Bashorov
eae86e035f
Minor in stdlib: move String.trimLeading and String.trimTrailing to common place.
2014-11-18 15:57:50 +03:00
Stanislav Erokhin
65c9ea2465
Fix variance problems.
2014-11-17 17:45:05 +03:00