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
05eaf81ba6
Rename jet -> kotlin and regroup files in serialization
...
org.jetbrains.jet.descriptors.serialization ->
org.jetbrains.kotlin.serialization
Deserialization goes to subpackage deserialization, built-ins-related stuff
goes to subpackage builtins
2015-01-09 16:37:22 +03:00
Alexander Udalov
00878cc31a
Rename java -> jvm, jet -> kotlin in module serialization.java
...
org.jetbrains.jet.descriptors.serialization ->
org.jetbrains.kotlin.serialization.jvm
2015-01-09 14:27:13 +03:00
Alexander Udalov
de6e8a7493
Rename package jet -> kotlin in backend
...
org.jetbrains.jet.codegen -> org.jetbrains.kotlin.codegen
2015-01-08 23:32:09 +03:00
Alexander Udalov
f447a860b1
Rename package jet -> kotlin in util.runtime (StorageManager)
...
org.jetbrains.jet.storage -> org.jetbrains.kotlin.storage
2015-01-08 23:32:08 +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
759b5bd85c
Move *OutputFile to package org.jetbrains.kotlin.backend.common.output
2015-01-06 05:15:13 +03:00
Alexander Udalov
329d9da8c8
Rename package jet -> kotlin in backend-common
...
org.jetbrains.jet.backend.common -> org.jetbrains.kotlin.backend.common
org.jetbrains.jet.codegen.bridges ->
org.jetbrains.kotlin.backend.common.bridges
2015-01-06 05:15:12 +03:00
Alexander Udalov
e9badcbcc7
Rename AsmTypeConstants -> AsmTypes
2014-12-29 19:32:10 +03:00
Svetlana Isakova
333a91395a
Moved TailRecursionKind to cfg package
2014-12-27 00:55:44 +03:00
Michael Nedzelsky
eded72d633
fix KT-6192: VerifyError when using spreads with primitive arrays
...
#KT-6192 Fixed
2014-12-25 22:07:24 +03:00
Andrey Breslav
89e1588e13
LIGHT_CLASSES mode for scripts
...
- Do not generate constructor bodies
- Do not generate script class when package contents are requested
- NOT DONE: generate script class when its name is requested
2014-12-25 22:02:23 +03:00
Andrey Breslav
bdefbc182a
Take declaration's origin element before looking for declaration by descriptor
2014-12-23 15:18:48 +03:00
Andrey Breslav
8ff5cf62cc
Generate annotations from descriptors, not PSI
2014-12-23 15:18:46 +03:00
Natalia Ukhorskaya
e35b960eb5
Stepping: do not write line numbers for call arguments
...
#KT-3080 Fixed
2014-12-23 14:40:26 +03:00
Natalia Ukhorskaya
0dcb5b05b6
Local variables should be visible on return statement in debugger
...
#KT-6248 Fixed
2014-12-23 14:40:23 +03:00
Denis Zharkov
04e560bc74
Get reified signature from JetTypeMapper
...
#KT-6485 Fixed
2014-12-18 21:12:52 +03:00
Ilya Ryzhenkov
be717f48f8
Stop using deprecated APIs
2014-12-16 17:33:24 +03:00
Andrey Breslav
120c344f11
Fix access to private static native functions
2014-12-16 16:23:35 +03:00
Andrey Breslav
f9fea88749
PlatformStaticGenerator reworked to use FunctionCodegen.generateMethod()
2014-12-16 16:23:35 +03:00
Andrey Breslav
6596c6d943
Support native top-level functions
2014-12-16 16:23:33 +03:00
Andrey Breslav
27d403ee23
Make native class object members delegate to static methods in the outer class
2014-12-16 16:23:28 +03:00
Andrey Breslav
d20651b881
Support native on [platformStatic] functions
2014-12-16 15:17:33 +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
Denis Zharkov
fe9599d588
Removed codegen of Array-constructor with lambda
2014-12-11 16:04:04 +03:00
Denis Zharkov
abbcf61183
JVM Backend: always inline callable containing reified TP
2014-12-11 16:04:02 +03:00
Stanislav Erokhin
fc8cec9509
Create PRIVATE_TO_THIS visibility
2014-12-08 18:24:30 +03:00
Valentin Kipyatkov
b8d1f115bf
Renamed JetType.isNullable() to isMarkedNullable()
2014-12-03 21:36:10 +03:00
Alexander Udalov
9bd815126b
Rename NameTable -> StringTable in serialization
...
Since almost the beginning, it was also used to store arbitrary strings, not
just names
2014-12-03 15:58:13 +03:00
Michael Bogdanov
328dedc415
Fix for KT-6383: Can't access a private static member of class object
...
#KT-6383 Fixed
2014-12-03 15:49:20 +03:00
Andrey Breslav
99ac9e1c2f
Singleton made thread-safe in JavaToKotlinClassMap
2014-12-03 15:39:16 +03:00
Andrey Breslav
c21dd366e0
Checks for primitive types and arrays made static in KotlinBuiltIns
2014-12-03 15:39:11 +03:00
Andrey Breslav
b275b363c9
is<Annotation>() made static in KotlinBuiltIns
2014-12-03 15:39:11 +03:00
Stanislav Erokhin
b55114055e
Change usage "v == Visibilities.PRIVATE" to Visibilities.isPrivate(v)
2014-12-02 14:30:17 +03:00
Denis Zharkov
5d2792d68b
Removed redundant call v.done() in ClosureCodegen
...
It should be called by super.done()
2014-12-01 22:31:54 +03:00
Denis Zharkov
669f5e7b87
Minor, removed Contract from deparenthesize
...
and added some asserts
2014-12-01 22:31:53 +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
Denis Zharkov
3b2d0b88f3
Supported nested reified parameter declarations
...
Also switched to using type names as identifiers instead of their
indices
2014-11-27 15:15:04 +04:00
Denis Zharkov
080610c208
Wrap parentCodegen before generating from inline
2014-11-27 14:58:04 +04:00
Denis Zharkov
538a2172e5
Got rid of hack with stashing wereReified
...
1. Made ClosureCodegen extending MemberCodegen
2. Made ClosureContext extending ClassContext
2014-11-27 14:58:04 +04:00
Denis Zharkov
ca27be87cc
Minor, removed redundant argument
...
from ClassBodyCodegen.generateDeclaration
2014-11-27 13:49:18 +04:00
Alexander Udalov
1f68c94ce6
Fix several bugs in serialization of inner generic classes
...
- Interner was working incorrectly with parents
- nested classes were serialized in codegen out of any context
#KT-5660 Fixed
2014-11-25 23:16:26 +03:00
Michael Bogdanov
8fc3a37989
Fix for KT-6312: Compiler crashes accessing inherited property of class object
...
#KT-6312 Fixed
2014-11-24 13:10:59 +03:00
Michael Bogdanov
e2826a47e1
Remove "operation" method from StackValue.kt;
...
Compilation fix: remove static import to kotlin from AsmUtil
2014-11-21 13:59:44 +03:00
Michael Bogdanov
3a70992d27
Lazy intrinsic generation
...
#KT-6241 Fixed
2014-11-21 13:59:43 +03:00
Michael Bogdanov
4812564441
Intrinsic receiver parameter annotated with NotNull
2014-11-21 13:59:43 +03:00
Michael Bogdanov
afceec427d
Intrinsic arguments parameter annotated with NotNull
2014-11-21 13:59:43 +03:00
Michael Bogdanov
21d5785986
Inline StackValueWithSimpleReceiver utility constructor
2014-11-20 10:20:34 +03:00