Evgeny Gerashchenko
eb5455e89f
Got rid of "jet" file extension.
2013-10-01 19:32:38 +04:00
Evgeny Gerashchenko
2ae1a2c81b
Added copyToArray intrinsic method.
...
#KT-3352 fixed
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
d56c59d9d7
Removed toArray() from collections (few tests are still failing).
...
#KT-3352 in progress
2013-10-01 15:11:30 +04:00
Evgeny Gerashchenko
2c877f080e
Introduced CompositeExtension (to pass several of them).
2013-10-01 15:06:57 +04:00
Andrey Breslav
4644858b11
@NotNull propagated to JetVisitor implementations
2013-09-24 07:05:21 -07:00
Andrey Breslav
8f6b6639c5
Allow no else in annotated when-statements
2013-09-24 06:58:42 -07:00
Erokhin Stanislav
dae791d7b1
JS backend: refactoring: extract CallArgumentTranslator from AbstractCallExpressionTranslator and CallExpressionTranslator
2013-09-20 21:22:54 +04:00
Erokhin Stanislav
0e6d9e857c
JS backend: fix is for trait. #KT-3519 fixed
2013-09-20 21:21:39 +04:00
Erokhin Stanislav
649318a6c6
JS backend: drop Kotlin.keys
2013-09-20 21:07:34 +04:00
Erokhin Stanislav
bdb338a271
JS backend: fix class object access A.object$() -> A.object
2013-09-20 21:07:34 +04:00
Erokhin Stanislav
9654bd9bc8
JS backend: fix inheritance from native class & remove createConstructor() function from stdLib
2013-09-20 21:07:27 +04:00
Erokhin Stanislav
571bcf63dc
JS backend: remove RegressionMergeEcmaTest
2013-09-20 20:10:19 +04:00
develar
f4575b8c85
JS: report stack trace when test failed
...
(cherry picked from commit 70004ed)
2013-09-20 17:21:15 +04:00
develar
0182ec280a
JS lib: made error message more understandable when module already defined.
...
(cherry picked from commit 28c8404)
2013-09-20 17:21:15 +04:00
develar
cee4668e47
JS backend: don't add file:// prefix to sourcemap url.
...
Use name of generated source map file instead of absolute path.
(cherry picked from commit 126e977 and ec2fc20)
2013-09-20 17:21:15 +04:00
develar
6878a0b657
JS backend: added source mapping for some expressions.
...
(cherry picked from commit a35fe5a)
2013-09-20 17:21:14 +04:00
Zalim Bashorov
619e9758c8
JS backend: minor refactoring for LibrarySourcesConfig.
2013-09-20 17:21:14 +04:00
develar
da68540ade
JS backend: LibrarySourcesConfig accepts source dir as source.
...
Idea send files in any case, but for easy debug run configurations we want to specify only source dir.
(cherry picked from commit e194435)
2013-09-20 17:21:14 +04:00
develar
6c40cf371e
JS backend: update dart-ast.jar.
...
(cherry picked from commit 1cc7586)
2013-09-20 17:21:14 +04:00
develar
711aee6026
JS backend: added replacer and space parameters to JSON.stringify
...
#KT-2983 in progress
(cherry picked from commit 058b147)
2013-09-20 17:21:14 +04:00
develar
1462e5cb7f
JS backend: cleanup JsFor creation. Added source map for "for, while, break, continue, try".
...
#KT-927 in progress
(cherry picked from commit 4533f64)
2013-09-20 17:21:13 +04:00
develar
67592829b6
JS backend: translate labeled for expressions.
...
#KT-2986 fixed
(cherry picked from commit b0836a6)
2013-09-20 17:21:13 +04:00
develar
764b5c5a90
JS backend: use generated code(org.w3c.*) for browser API.
...
#KT-2983 in progress
(cherry picked from commit 8b839a9)
2013-09-20 17:21:13 +04:00
Alexander Udalov
8e59e789dc
Extract util.runtime module out of util
...
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.
Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
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