Zalim Bashorov
37154e42d2
JS backend: fixed smartcast when a call have implicit this or receiver.
2014-02-11 13:50:16 +04:00
Erokhin Stanislav
5d4cb1e065
JS backend: Fix safe call side effects
2014-02-06 14:01:11 +04:00
Erokhin Stanislav
75dd459bdf
JS backend: Fix tracked used descriptors
2014-02-06 14:01:10 +04:00
Zalim Bashorov
bdce3412e3
JS backend: add workaround for mangling Any methods(equals, hashCode and toString) always.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
bc273ddd75
JS backend: fixed using the stable mangling for extra cases.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
2fe5f63924
JS backend: rename test mangling -> manglingStability. And make it independent of structure of generated code.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
77277ce197
JS backend: removed the unnecessary main function from some tests.
2014-02-06 12:21:12 +04:00
Zalim Bashorov
5c0eeb59f6
JS backend: dropped unnecessary intrinsics in StringFIF. Added tests for CharSequence.size, CharSequence.length, CharSequence.length() and CharSequence.isEmpty().
2014-02-03 13:31:24 +04:00
Zalim Bashorov
95084f9e0e
Js stdlib: fixed the ArrayList implementation and added tests for indexOf, addAll, remove(by ref), removeAll, retainAll, containsAll.
2014-02-03 13:31:23 +04:00
Zalim Bashorov
edb930fd76
JS stdlib: added missed tests for Set and fixed HashSet implementations. Implemented Set::iterator, AbstractCollection::removeAll, AbstractCollection::retainAll, AbstractCollection::containsAll.
...
#KT-4390 fixed
2014-02-03 13:31:23 +04:00
Zalim Bashorov
15a727c6ed
JS backend: dropped unnecessary tests which checked implementation details of kotlin js runtime.
2014-02-03 13:31:23 +04:00
Zalim Bashorov
0374ce96b7
JS backend: introduce the stable mangling for functions which belong to the public API or not final.
2014-02-03 13:31:22 +04:00
Zalim Bashorov
fa552859be
JS backend: introduce constants for default test package(foo) and default test function(box).
2014-02-03 13:31:22 +04:00
Zalim Bashorov
5d94c7e83c
JS backend: fix closure this in extension (literal) function.
2014-02-03 13:31:22 +04:00
Zalim Bashorov
ca4d347658
JS backend: minor -- move test for KT-2388 to ClosureTest.
2014-02-03 13:31:22 +04:00
Zalim Bashorov
c77a1b0fb9
JS backend: fix recursive closure local function by inner function or lambda.
...
#KT-4257 fixed
2014-02-03 13:31:21 +04:00
Andrey Breslav
210827b1d5
ExceptionUtils rewritten in Kotlin
2014-01-30 21:03:53 +04:00
Erokhin Stanislav
93982265a6
Add js.dart-ast module & drop old lib
2014-01-27 17:28:49 +04:00
Evgeny Gerashchenko
41f61c22e5
Fixed file name case (to fix tests on Linux).
2014-01-14 22:38:12 +04:00
Evgeny Gerashchenko
ad44860604
Fixed file name case (to fix tests on Linux).
2014-01-14 22:11:32 +04:00
Evgeny Gerashchenko
958f7c862d
Got rid of "namespace" word in test data.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
b41a3f8558
Got rid of "namespace" word in compiler code.
2014-01-14 18:06:50 +04:00
Evgeny Gerashchenko
67f06c816b
Reimplemented non-trivial logic of ModuleConfiguration.
2013-12-17 20:28:39 +04:00
Zalim Bashorov
5c6cfce8ab
JS backend: use jet.Iterable and jet.Any as "fake" classes.
2013-11-15 15:18:01 +04:00
Zalim Bashorov
060d7c5345
Removed closure-compiler.jar from repository and js_test_libs.
...
Added closure-compiler.jar to third-party dependencies.
Switch to use closure-compiler ant task instead of java task.
2013-11-15 15:18:00 +04:00
Alexander Udalov
a35f285bcf
Disable "UseOfSystemOutOrSystemErr" inspection in tests
2013-11-14 19:11:18 +04:00
Zalim Bashorov
1409dd7812
Refresh FS after compilation for js and sourcemap files.
2013-11-08 18:14:21 +04:00
Erokhin Stanislav
4a55f5a65e
JS backend: add simple enum test
2013-11-05 20:55:49 +04:00
Zalim Bashorov
d6803fb5ff
JS backend: fixed ability to declare custom name for native properties and function parameters.
...
#KT-3643 fixed
2013-10-29 22:44:49 +04:00
Zalim Bashorov
0d322fe8bc
K2JS: add ed outputPrefix and outputPostfix compiler arguments to K2JSCompiler.
2013-10-24 19:06:06 +04:00
Zalim Bashorov
0901c98ff8
CLI: move *CompilerArguments classes to cli-common module.
2013-10-16 17:39:48 +04:00
Andrey Breslav
1d540181b0
Produciton code uses a shared application between many projects.
...
Tests always dispose the application together with JetCoreEnvironment
2013-10-15 15:28:28 +04:00
Erokhin Stanislav
e05e616158
JS backend: fix StringBuilder append #KT-4064 Fixed
2013-10-11 15:47:43 +04:00
Erokhin Stanislav
768289b913
JS backend: fix class object in trait #KT-4062 Fixed
2013-10-11 14:44:56 +04:00
Erokhin Stanislav
d6a2c6d95a
JS backend: fix init val in constructor
2013-10-08 14:37:25 +04:00
Erokhin Stanislav
94c93ef31b
JS backend: fix override property
2013-10-08 14:37:24 +04:00
Erokhin Stanislav
53abc956cc
JS backend: add simple test connected with frontend bug 'isStatement' for function body == 'hasBlockBody'
2013-10-08 14:37:24 +04:00
Erokhin Stanislav
a70782aaf7
JS backend: add super call support
2013-10-08 14:37:24 +04:00
Erokhin Stanislav
71cfa86f19
JS backend: fix order call super constructor
2013-10-08 14:37:24 +04:00
Erokhin Stanislav
8103626121
JS backend: fix default arguments
...
generate special statements, like this:
if (arg1 === void(0))
arg1 = value1
2013-10-08 14:37:23 +04:00
Zalim Bashorov
5966255d4b
JS backend: added smoke test for sourcemap -- just checks that it is compiled
...
#KT-4054 in progress
2013-10-07 20:32:03 +04:00
Evgeny Gerashchenko
eb5455e89f
Got rid of "jet" file extension.
2013-10-01 19:32:38 +04:00
Erokhin Stanislav
0e6d9e857c
JS backend: fix is for trait. #KT-3519 fixed
2013-09-20 21:21:39 +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
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
67592829b6
JS backend: translate labeled for expressions.
...
#KT-2986 fixed
(cherry picked from commit b0836a6)
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
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