Commit Graph

1621 Commits

Author SHA1 Message Date
Pavel V. Talanov 9a844d2feb Minor: replace some missed mentions of 'class object' with 'default object' 2015-03-10 18:07:54 +03:00
Pavel V. Talanov 9ecf95532e Replace 'class object' with default object in project code 2015-03-10 18:07:46 +03:00
Zalim Bashorov f49e4ca3e9 JS backend: fixed accessing to native enum entries. 2015-03-10 14:30:45 +03:00
Andrey Breslav bbb59773aa filesToAnalyzeCompletely removed 2015-03-06 21:59:05 +03:00
Andrey Breslav 7d1a826778 Rename. LazinessToken -> TypeLazinessToken 2015-03-06 21:59:04 +03:00
Alexey Tsvetkov d06b2f4d0a JS: do not inline safe calls
A temporary hack until js inliner learns how to decompose expressions
2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 843bc7956e JS: made JsPropertyInitializer fields not nullable 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 53dfd77d31 JS: added inline stdlib cases 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 38efec6886 JS: inline stdlib functions 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 47064ce03c JS: grouped all scope/name operations in JsParser 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov bb634c6365 JS: restore inline status for calls to functional arguments of inline function 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 889d39a43e JS: restore names that can be changed by minifier
For example, Kotlin object can be renamed in stdlib,
so when we inline stdlib function in context of other module
renamed Kotlin object reference does not exitst.
2015-03-06 21:36:19 +03:00
Alexey Tsvetkov d44da8e4d4 JS: parse function from js file 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov b280e891e9 JS: read compiled js modules 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov bfd82e2dd2 JS: save function descriptor for inline calls 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 083b506fe1 JS: test metadata generation 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov ded46843c2 JS: generate metadata for public inline functions 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 25f6a4aa0a JS: added spread operator inline test case 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
Michael Nedzelsky 6e3d751ee9 fix StaticContext: use module name from module descriptor 2015-03-06 21:36:18 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko af7eba64f7 Disallow PropertyMetadataImpl in conventions for delegated properties 2015-03-05 18:42:17 +03:00
Evgeny Gerashchenko a56b1da11f Minor. Removed unused function. 2015-03-05 15:19:29 +03:00
Pavel V. Talanov ed4c265564 Drop ClassKind.CLASS_OBJECT
Default and non-default objects now have ClassKind.OBJECT
2015-03-05 13:06:33 +03:00
Pavel V. Talanov 350864b22f Drop some of explicit ClassKind.CLASS_OBJECT and OBJECT usages 2015-03-05 13:05:56 +03:00
Pavel V. Talanov fc6f4208ec Rename: isObject -> isNonDefaultObject 2015-03-05 13:05:45 +03:00
Nikolay Krasko 08502cd510 Refactoring: inline methods and hide intermediate class 2015-03-05 01:30:39 +03:00
Nikolay Krasko 30a50746b5 Intrinsic default objects implementation: tests 2015-03-05 01:30:38 +03:00
Nikolay Krasko 1f79e0905f Intrinsic default objects implementation 2015-03-05 01:30:37 +03:00
Evgeny Gerashchenko 02555478d7 Moved JsCallChecker.kt to valid package. Fixed compilation problem caused by the fact that package was present in multiple modules. 2015-03-04 18:59:20 +03:00
Pavel V. Talanov 48fbce9582 Refactor: process mentions of class object
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +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 ae970044e2 JS: extracted ThrowExceptionReporter 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov b01aa5e0a5 JS: simplified parser exceptions 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 802a512899 JS: removed AstConsumer from tests 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 180272e4cb JS: underline js() errors for non-string-literal constants 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 1087ae4779 JS: use ConstantEvaluator at CallExpressionTranslator 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 4f992eeeb4 JS: report right end of js() error 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov 05ef358177 JS: check js() call at frontend 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov f5eb39e1f1 JS: added TranslationResult 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov aa5f237154 JS: use one BindingTrace for translation 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov baccfa914f JS: removed unused rhino error reporter method 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov b431bf6fc9 JS: made JsCodeErrorReporter class static 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov 200e3afbe1 JS: moved PatternBuilder to JS frontend 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov f9648c6f21 Minor in JS: renamed file according to class name 2015-02-20 16:01:25 +03:00
Alexey Tsvetkov 33f6759966 Minor in JS: updated copyrights 2015-02-20 16:01:25 +03:00
Pavel V. Talanov d6a942a574 Remove all deprecated OBJECT$ usages from project code 2015-02-18 19:33:56 +03:00
nbilyk 121ada0cab JS lib: added missed arguments to Blob constructor.
#KT-6654 Fixed
2015-02-16 19:17:10 +03:00
nbilyk 6afe64dd14 JS lib: added canvas attributes parameter to HTMLCanvasElement::getContext 2015-02-16 19:17:10 +03:00
nbilyk f4411773c3 JS lib: added missed fields naturalWidth and naturalHeight to HTMLImageElement. 2015-02-16 19:17:10 +03:00