Zalim Bashorov
f49e4ca3e9
JS backend: fixed accessing to native enum entries.
2015-03-10 14:30:45 +03:00
Alexey Tsvetkov
53dfd77d31
JS: added inline stdlib cases
2015-03-06 21:36:19 +03:00
Alexey Tsvetkov
083b506fe1
JS: test metadata generation
2015-03-06 21:36:18 +03:00
Alexey Tsvetkov
ea0253770b
JS: use generation for some tests
2015-03-06 21:36:18 +03:00
Nikolay Krasko
30a50746b5
Intrinsic default objects implementation: tests
2015-03-05 01:30:38 +03:00
Nikolay Krasko
8ea9d39e98
Do not generate long lines and simplify merge in generated tests
2015-02-24 13:15:09 +03:00
Alexey Tsvetkov
802a512899
JS: removed AstConsumer from tests
2015-02-20 16:01:26 +03:00
Alexey Tsvetkov
f5eb39e1f1
JS: added TranslationResult
2015-02-20 16:01:26 +03:00
Pavel V. Talanov
1174010f33
JS backend: support named class objects
...
Temporary solution until named objects in classes are supported in js backend
2015-02-16 15:38:47 +03:00
Alexander Udalov
5903b8c4a7
Reorder and optimize dependencies between modules and libraries
...
- drop 'kotlin-runtime' and other dependencies which are exported by
other modules ('util' and 'util.runtime' in case of 'kotlin-runtime')
- make all Kotlin modules from the compiler depend on 'util' for clarity
- put 'util' and 'util.runtime' to the bottom of the list everywhere: when
kotlin-runtime gets reflection, classes from core/ should have higher
priority than their previous versions from kotlin-runtime.jar
2015-01-28 19:58:35 +03:00
Alexander Udalov
17227bb4fe
Rename org.jetbrains.kotlin.plugin -> org.jetbrains.kotlin.idea
2015-01-13 01:14:31 +03:00
Alexander Udalov
3b81d63334
Rename jet -> kotlin in compiler-tests (except resolve)
...
Move test-related code to org.jetbrains.kotlin.test, also move some tests to
packages with better names
2015-01-12 00:24:12 +03:00
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
634ed0b652
Rename jet -> kotlin in frontend: lazy resolve
...
org.jetbrains.jet.lang.resolve.lazy -> org.jetbrains.kotlin.resolve.lazy
2015-01-11 05:09:00 +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
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
759b5bd85c
Move *OutputFile to package org.jetbrains.kotlin.backend.common.output
2015-01-06 05:15:13 +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
Alexander Udalov
36eb5eff1f
Rename package k2js -> kotlin.js in js.tests
...
org.jetbrains.k2js.test -> org.jetbrains.kotlin.js.test
2015-01-05 05:10:26 +03:00
Alexander Udalov
2bc3aa2199
Rename package k2js -> kotlin.js in js.translator
...
org.jetbrains.k2js -> org.jetbrains.kotlin.js
2015-01-05 04:19:06 +03:00
Alexander Udalov
6f2a0b06e1
Rename package k2js -> kotlin.js in js.inliner
...
org.jetbrains.k2js.inline -> org.jetbrains.kotlin.js.inline
2015-01-05 04:19:05 +03:00
Alexander Udalov
7f90dc3934
Regenerate tests
2015-01-03 00:20:28 +03:00
Zalim Bashorov
7668f44655
JS lib: added hasNext to Kotlin.ListIterator and fixed next.
...
#KT-6506 Fixed
Additionally made abstract AbstractList::get and AbstractCollection::size.
2014-12-29 19:15:32 +03:00
Zalim Bashorov
9ab045e598
JS declarations: added eval, typeof, undefined.
...
#KT-4136 Fixed
2014-12-26 14:20:20 +03:00
Michael Nedzelsky
8074ab27ea
JS backend: fix KT-6112 jsonFromTuples is broken
...
#KT-6112 Fixed
2014-12-18 18:10:26 +03:00
Michael Nedzelsky
9f0f930e26
JS backend: tests for KT-6323 KotlinJS library modules
2014-12-18 02:08:52 +03:00
Zalim Bashorov
d666677958
JS backend: added dynamic.iterator to simplify the using "iterable" objects.
2014-12-16 17:48:25 +03:00
Alexey Tsvetkov
c78b199c0a
JS test minor: fixed recursion test for inliner
...
After changes in translator exception is no longer wrapped into another one
2014-12-15 19:16:21 +03:00
Alexey Tsvetkov
46326fe5ac
JS backend: report backend diagnostics
2014-12-15 19:16:21 +03:00
Alexey Tsvetkov
c3f67c54bd
JS backend: added jsCode test cases
2014-12-15 19:16:20 +03:00
Alexey Tsvetkov
85b2df8c61
JS test minor: use getNamedArgument for mandatory directive arguments
2014-12-15 19:16:18 +03:00
Alexey Tsvetkov
c52d6ba92e
JS test minor: removed 'Inline' from name checkFooBoxWithInlineDirectives
...
checkFooBoxWithInlineDirectives was moved from InlineTest, but was not renamed
2014-12-15 19:16:18 +03:00
Zalim Bashorov
6b50d74056
JS backend: use special JsScope(JsDynamicScope) for names from dynamic calls instead of use containing scope to avoid the impact on local names.
2014-12-11 13:17:49 +03:00
Zalim Bashorov
af82e69214
JS tests: added tests for dynamic.
2014-12-11 13:17:49 +03:00
Zalim Bashorov
7d9b824411
JS tests: use js files from some places by default:
...
* add all js files from testData/_commonFiles
* add all js files from <testDir>/_commonFiles
* add <testDir>/cases/<testName>.js if it exists
2014-12-11 13:17:48 +03:00
Zalim Bashorov
2f6a135135
JS tests: added doTest and checkFooBoxIsOkByPath to BasicTest to simplify using generated tests.
2014-12-11 13:17:47 +03:00
Zalim Bashorov
4c9fbcd525
JS frontend: introduce some JavaScript specific constants.
2014-12-10 22:48:02 +03:00
Zalim Bashorov
e378bde43e
JS backend: fix "is Boolean" check.
2014-12-10 22:48:01 +03:00
Michael Nedzelsky
5bf1d73199
JS backend: tests for translation for extension property
2014-12-04 02:42:04 +03:00
Zalim Bashorov
a8e8f9b44e
Move JsUnitTestReporter.java to utils.
2014-12-01 15:27:37 +03:00
Zalim Bashorov
3f480361f1
Move LibrarySourcesConfigWithCaching to js.frontend module.
2014-12-01 15:27:37 +03:00
Zalim Bashorov
b06096469a
JS backend: added the support nativeInvoke, nativeGetter, nativeSetter.
2014-12-01 15:27:34 +03:00
Zalim Bashorov
912727e5d2
Unify extension point and extension registration in plugin and cli
2014-12-01 15:27:33 +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
Pavel V. Talanov
bce399f5fd
Rename: AnalyzeExhaust -> AnalysisResult
2014-11-21 15:56:05 +03:00
Nikolay Krasko
e1d51e9879
Minor: code enhancements
2014-11-17 16:15:22 +03:00
Michael Nedzelsky
dd86823480
JS backend: compile some builtins to builtins.js instead of stdlib
2014-11-11 17:09:00 +03:00
Michael Nedzelsky
5f576c4c05
JS backend: test for toGenerator from stdlib
2014-11-11 17:08:56 +03:00
Zalim Bashorov
b3defdbf90
JS tests: create JetFiles by JetPsiFactory instead of by PsiManager to avoid to access to PsiManager after it disposed.
...
That fixed js tests after changes in DiagnosticsWithSuppression.
2014-11-07 16:30:51 +03:00