Alexander Udalov
7e72494ddb
Remove unused 'trace' parameter in ModuleConfiguration
2013-09-18 16:40:36 +04:00
Alexander Udalov
54ee7456ce
Extract LazyResolveStorageManager interface
...
StorageManager will be available at runtime, thus it can't depend on
BindingTrace
2013-09-18 16:40:35 +04:00
Alexander Udalov
d0a9464504
Refactor DescriptorUtils
...
Remove dependency on org.jetbrains.jet.lang.psi, move utilities closer to their
usages, add NotNull annotations, fix formatting, etc.
2013-09-18 16:40:35 +04:00
Alexander Udalov
6ca71349f8
Create DescriptorFactory utility class
...
Will contain utilities needed to create different common descriptors, such as
default getters/setters, enum values/valueOf methods, etc.
2013-09-18 16:40:34 +04:00
Erokhin Stanislav
63e7d60ad7
JS backend: fix KotlinLibTest
2013-09-17 21:55:13 +04:00
Erokhin Stanislav
db62ef2ef1
JS backend: KotlinNew => Kotlin
2013-09-17 21:55:10 +04:00
Erokhin Stanislav
c3d0392413
JS backend: add $metadata$ property & remake extension utilities
2013-09-17 21:52:55 +04:00
Erokhin Stanislav
12cb774f1c
JS backend: remake NameGenerator in case Property & PropertyAccessor. Fix overload extension property.
2013-09-17 21:46:25 +04:00
Erokhin Stanislav
c5a720164e
JS backend: remove unused code from Namer
2013-09-17 21:46:25 +04:00
Erokhin Stanislav
eed1a6506e
JS backend: remove all usages TranslationContext.isEcma5()
2013-09-17 21:46:25 +04:00
Erokhin Stanislav
79904a9b96
JS backend: refactor: extract DefineInvocation
2013-09-17 21:46:17 +04:00
Erokhin Stanislav
8e72efc736
JS backend: move "call" and "baseInitializer" keyword to Namer
2013-09-17 21:45:06 +04:00
Erokhin Stanislav
2452b3c34c
JS backend: remove isEcma5() from property initialize
2013-09-17 21:45:06 +04:00
Erokhin Stanislav
550cf581c4
JS backend: JsDescriptorUtils.isAsPrivate remake to isSimpleProperty
2013-09-17 21:45:05 +04:00
Erokhin Stanislav
638beff551
JS backend: Remove {value: function...} and {value: Kotlin.createClass() } structures.
2013-09-17 21:44:57 +04:00
Erokhin Stanislav
a79b67eb48
JS backend: refactor: rename InitializerUtils.generate to generateObjectInitializer
2013-09-17 21:44:00 +04:00
Erokhin Stanislav
ce3da8491b
JS backend: Remove Object.defineProperty for property initialize
2013-09-17 21:43:25 +04:00
Erokhin Stanislav
dcddd04a2f
JS backend: fix root package initialize.
2013-09-17 21:43:25 +04:00
Erokhin Stanislav
05d61c1c5a
JS backend: add several RegressionMergeEcmaTests
2013-09-17 21:43:25 +04:00
Erokhin Stanislav
6400946fc6
JS backend: remove $createClass and $new usages
...
In RangeForTranslator replace get_something() -> something
2013-09-17 21:43:25 +04:00
Erokhin Stanislav
0fbce55df7
JS backend: STDLib: remove base class parameter from API
2013-09-17 21:43:25 +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
Erokhin Stanislav
248ec7a248
JS backend: add new ecma5 library & use "new Class()" construction
2013-09-17 21:43:25 +04:00
Erokhin Stanislav
b291802de3
JS backend: add debug info in Delegate Property Test
2013-09-17 21:43:24 +04:00
Erokhin Stanislav
9100a0d0a6
JS backend: add RegressionMergeEcmaTest
2013-09-17 21:43:24 +04:00
Erokhin Stanislav
fd2caf5acf
JS backend: fix order class and trait in list supertypes
2013-09-17 21:43:24 +04:00
Erokhin Stanislav
45e827aeb9
JS backend: add support multi declaration
2013-09-17 21:43:11 +04:00
Andrey Breslav
0ce35af8e0
Unused dependency removed
2013-09-13 22:39:46 +02:00
Svetlana Isakova
4b023742c6
added AnnotationResolver reference to ExpressionTypingServices
...
injectors generated
2013-09-13 16:04:17 +04:00
Andrey Breslav
9f4beece64
PlatformToKotlinClassMap injected into expression analyzers
2013-09-05 14:17:32 +04:00
Svetlana Isakova
9ccd1e5ddd
added DataFlowInfoForArguments
...
data flow info for argument depends on previous argument analysis
special interface was added to support case with argument types inference
and 'if' (with special data flow info for then and else arguments)
2013-09-02 23:18:45 +04:00
develar
b3658472ac
JS backend: improved sourcemap generation and moved SourceMap3Builder and JsSourceGenerationVisitor to kotlin sources from dart-ast(develar fork).
...
#KT-927 in progress
(cherry picked from commit 10fb0f9)
2013-08-30 13:18:12 +04:00
develar
e05ffd03c3
JS backend: sourcemap should use absolute file urls.
...
#KT-927 in progress
(cherry picked from commit 8931d26)
2013-08-30 13:17:53 +04:00
develar
3ab095a4f5
JS backend: started to implement source maps
...
#KT-927 in progress
(cherry picked from commits 5543cda, 6ed296b, 11186f9, 5b84d0b)
2013-08-30 13:17:20 +04:00
develar
e39943f9bd
JS backend: report expression location on error in StringTemplateTranslator.
...
(cherry picked from commit a2765d3)
2013-08-29 21:45:27 +04:00
develar
1c173c5224
JS backend: improve compilation performance -- don't create extra list.
...
(cherry picked from commit 2d7cb8a and f3d9f73)
2013-08-29 21:45:27 +04:00
develar
4f9485b40e
JS backend: fixed bug when explicitly use invoke method in function literal call.
...
(cherry picked from commit f832cee)
2013-08-29 21:45:27 +04:00
develar
f08cb5f6ca
JS backend: inline private class ExtensionCallConstructor to place of use.
...
(cherry picked from commit 4d17e96)
2013-08-29 21:45:26 +04:00
develar
92e76d18d9
JS backend: change name mangling -- right now before indexing we sort functions by Visibility and Modality.
...
(cherry picked from commit 7620a07)
2013-08-29 21:45:26 +04:00
develar
8789a0d648
JS backend: refactoring 'is' operator translation.
2013-08-29 21:45:26 +04:00
develar
df0a218015
JS backend: generate ref for not public api open classes as ref to internal class pool (_c var), but not to namespace definition.
...
(cherry picked from commit fa3db43)
2013-08-29 21:45:25 +04:00
develar
c27fb10f5a
JS backend: improve and move getQualifiedReference function from TranslationUtils to TranslationContext and StaticContext.
...
(cherry picked from commit fa3db43)
2013-08-29 21:45:25 +04:00
develar
3f0c1b2645
JS backend: elvis operator must compare value with undefined.
...
(cherry picked from commit 3978a8e)
2013-08-29 21:45:24 +04:00
develar
4b0cbb5dbf
JS backend: removed unnecessary code -- the "toStringHack" Role
...
(cherry picked from commit 902d323)
2013-08-29 21:45:24 +04:00
develar
6ff784efc1
JS backend: fixed wrong @lends annotation when using nested packages.
2013-08-29 21:45:24 +04:00
develar
b122893823
JS backend: fixed closure variables in object which declared in another object in method.
...
(cherry picked from commit f3e8325)
2013-08-29 21:45:23 +04:00
develar
39ccf418c0
JS backend: don't create local var if open class is not referenced from another open class.
...
(cherry picked from commit fdf650f)
2013-08-29 21:45:23 +04:00
develar
43db01d7ce
JS backend: don't create namespace entry if it is empty.
...
(cherry picked from commit 79d9ef4)
2013-08-29 21:45:22 +04:00
develar
481cee16c5
JS backend: ensure enumerability for object literal properties.
...
Namespace lends annotation improved (root).
(cherry picked from commit 246c001)
2013-08-29 21:45:07 +04:00
develar
0daf2c6a79
JS backend: added @lends annotation for namespace members (ecma5 only)
...
(cherry picked from commit 9ae9a60)
2013-08-29 21:25:15 +04:00