Commit Graph

322 Commits

Author SHA1 Message Date
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
Erokhin Stanislav 638beff551 JS backend: Remove {value: function...} and {value: Kotlin.createClass() } structures. 2013-09-17 21:44:57 +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 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 9100a0d0a6 JS backend: add RegressionMergeEcmaTest 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
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 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 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 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 39a135c824 JS backend: support object declaration in other declarations.
#KT-2696 fixed

(cherry picked from commits 8931d13, 627b100 and f6b8686)
2013-08-29 21:25:15 +04:00
Erokhin Stanislav 8c952ebfdb JS backend: added delegate property support. 2013-08-14 20:05:27 +04:00
Erokhin Stanislav adcb359c38 JS backend: added enum class support. 2013-08-12 21:48:18 +04:00
Erokhin Stanislav 3b5d5a4a95 JS backend: added identityEquals support. 2013-08-12 21:48:18 +04:00
Erokhin Stanislav 48cd8f4df4 JS backend: Fix override val property in ecma5. 2013-08-12 21:48:18 +04:00
Erokhin Stanislav 9d1ae5e3d9 JS backend: Add class object support. 2013-08-09 14:59:09 +04:00
develar e786e62fd7 JS backend: fixed variable capturing in extension functions.
Fixed ClosureTest.testWrappedVariableInExtensionFun IteratorsTest.foldReducesTheFirstNElements and IteratorsTest.takeExtractsTheFirstNElements. All tests passed.

(cherry picked from commit f8f1895)
2013-08-09 14:29:55 +04:00