Erokhin Stanislav
|
4617e730d6
|
JS backend: Use new call translator in CallExpressionTranslator and move invoke intrinsic to FunctionCallCases
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
a1edc0368a
|
JS backend: simplify canBePropertyAccess method
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
31668406cd
|
JS backend: drop old property access translator
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
402a9f6c81
|
JS backend: Use new CallBuilder for property access
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
4527c56f6d
|
JS backend: Fix super property access call
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
392da838ca
|
JS backend: Add support for safe call
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
083e789692
|
JS backend: Add DelegatePropertyAccessIntrinsic
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
740307e94a
|
JS backend: Add VariableCallCases (not all cases supported)
|
2014-02-06 14:01:10 +04:00 |
|
Erokhin Stanislav
|
16f97d5c97
|
JS backend: Add FunctionCallCases
|
2014-02-06 14:01:09 +04:00 |
|
Erokhin Stanislav
|
ee54e50138
|
JS backend: Add api for call builder and CallCaseDispatcher
|
2014-02-06 14:01:09 +04:00 |
|
Erokhin Stanislav
|
21f56365b8
|
JS backend: Create new CallInfo
|
2014-02-06 14:01:09 +04:00 |
|
Zalim Bashorov
|
2d31d62163
|
JS lib: drop es5 shims.
|
2014-02-06 12:21:12 +04:00 |
|
Zalim Bashorov
|
0812dc8731
|
JS backend: fixed name clash when override native class.
|
2014-02-06 12:21:12 +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 |
|
Andrey Breslav
|
e60bd514fa
|
StorageManager&ExceptionTracker delivered where needed
- GlobalContext introduced to group the two
- Caches track exceptions
|
2014-02-04 15:24:27 +04:00 |
|
Andrey Breslav
|
364182e3f0
|
Unneeded public parameters made private
|
2014-02-04 15:23:15 +04:00 |
|
Nikolay Krasko
|
f526129ca4
|
Refactoring: use injector for creating lazy resolve session
|
2014-02-04 12:31:38 +04:00 |
|
Nikolay Krasko
|
36d5e580b4
|
Refactoring: remove unnecessary constructors (prepare for injectors)
|
2014-02-04 12:31:37 +04:00 |
|
Zalim Bashorov
|
8a1ffeea70
|
JS backend: consider functions which renamed by annotations in simple mangling.
|
2014-02-03 13:31:24 +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
|
1f1da542b7
|
JS: minor fix in debug helper.
|
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
|
0cb016b187
|
JS stdlib: drop unnecessary code.
|
2014-02-03 13:31:23 +04:00 |
|
Zalim Bashorov
|
b8559744b0
|
Js backend: minor fix in test closureInNestedFunctions
|
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
|
ceab4347ec
|
JS stdlib: added missed tests for Map and fix HashMap implementation.
|
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
|
a37f5f57e6
|
JS backend: fix tests after mangling.
|
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
|
0af1ae360f
|
JS backend: use name of containing declaration when naming local and literal functions.
|
2014-02-03 13:31:22 +04:00 |
|
Zalim Bashorov
|
1e9defaad3
|
JS backend: fixed getting qualified reference as JsNameRef for PackageFragmentDescriptor.
|
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 |
|
Zalim Bashorov
|
1f17b55c27
|
JS backend: minor refactoring -- make LiteralFunctionTranslator stateful.
|
2014-02-03 13:31:21 +04:00 |
|
Zalim Bashorov
|
25c43e7bfc
|
JS backend: refactoring:
- make static LiteralFunctionTranslator#translate;
- use TranslationContext#define instead of direct use DefinitionPlace.
|
2014-02-03 13:31:21 +04:00 |
|
Zalim Bashorov
|
9e97f9615b
|
JS backend: Minor changes -- added @NotNull to some methods of InnerDeclarationTranslator.
|
2014-02-03 13:31:21 +04:00 |
|
Zalim Bashorov
|
948827aa06
|
JS backend: refactoring LiteralFunctionTranslator -- make possible to store translation state and create an instance for each translation instead of one instance for all translations.
Introduced DefinitionPlace class and make creating a new definition place more safety.
|
2014-02-03 13:31:21 +04:00 |
|
Zalim Bashorov
|
1c3c2b2f77
|
JS backend: minor refactoring in LiteralFunctionTranslator
|
2014-02-03 13:31:21 +04:00 |
|
Zalim Bashorov
|
24c9d802c2
|
JS backend: made some asserts in AliasingContext and InnerDeclarationTranslator more informative.
|
2014-02-03 13:31:20 +04:00 |
|
Nikolay Krasko
|
7546a6dc41
|
Suppressing warnings + update copyright date
|
2014-01-31 14:52:13 +04:00 |
|
Andrey Breslav
|
7a6657d2e8
|
Resolve sessions use exception tracking from StorageManager
|
2014-01-30 21:03:53 +04:00 |
|
Andrey Breslav
|
26ecf7666d
|
Wrap storage manager inside resolve session
|
2014-01-30 21:03:53 +04:00 |
|
Andrey Breslav
|
210827b1d5
|
ExceptionUtils rewritten in Kotlin
|
2014-01-30 21:03:53 +04:00 |
|
Andrey Breslav
|
6a29c38e5b
|
Components across the project use StorageManager
|
2014-01-29 15:38:44 +04:00 |
|
Natalia Ukhorskaya
|
694db27da0
|
Make IntegerValueTypeConstant implements CompileTimeValue<Number>. getValue() method for it is now deprecated - getValue(expectedType) should be used
|
2014-01-28 18:21:38 +04:00 |
|