Commit Graph

915 Commits

Author SHA1 Message Date
Erokhin Stanislav bcfc67a3a6 Drop author annotations from import dart-ast source code 2014-01-27 17:29:49 +04:00
Erokhin Stanislav 93982265a6 Add js.dart-ast module & drop old lib 2014-01-27 17:28:49 +04:00
Erokhin Stanislav 3c562fc658 Imported dart-ast from https://github.com/develar/former-dast-ast to js/js.dart-ast 2014-01-27 17:28:30 +04:00
Andrey Breslav 04b47439bd Use findAnnotation() instead of iterating through all annotations 2014-01-22 19:04:43 +04:00
Andrey Breslav ce1702d633 Replace a hack (Internals class) with a less-of-a-hack workaround
LockBasedLazyResolveStorageManager is put into the same package as LockBasedStorageManager
2014-01-20 23:01:19 +04:00
Andrey Breslav 6ce0b9b919 Annotations used instead of List<AnnotationDescriptor> 2014-01-20 16:17:54 +04:00
Andrey Breslav 8f56283771 Same storage manager used by lazy resolve session in AnalyzerFacadeForJVM and the rest of the components 2014-01-20 16:17:53 +04:00
Andrey Breslav 1af71c4dbe Using common storage manager for all lazy services 2014-01-20 16:17:53 +04:00
Andrey Breslav df88e3e625 Introducing dependency kinds to prioritize package fragments 2014-01-15 16:16:21 +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 73ad5552c8 RootNamespaceExpression → RootPackageExpression. 2014-01-14 18:06:49 +04:00
Evgeny Gerashchenko 1f74f02344 NamespaceFactoryImpl is abolished, since it is almost trivial. 2014-01-14 18:06:47 +04:00
Evgeny Gerashchenko 2189fce64b Renamed class. 2014-01-14 18:05:57 +04:00
Nikolay Krasko ce55f10df1 Fix @Nullable annotation for JetClassObject.getObjectDeclaration() 2014-01-13 17:46:46 +04:00
Natalia Ukhorskaya 4329c42e3f Make unary minus and unary plus return int for byte and short 2013-12-23 13:46:00 +04:00
Evgeny Gerashchenko a49551dd35 Introduced getFqNameSafe method. 2013-12-17 20:28:57 +04:00
Evgeny Gerashchenko 3352d8a954 Minor. Renamed method. 2013-12-17 20:28:56 +04:00
Evgeny Gerashchenko 73114d7e9c Fragment providers added on higher level. 2013-12-17 20:28:50 +04:00
Evgeny Gerashchenko 601cd4ce46 Migrated JS backend to package views and fragments. 2013-12-17 20:28:44 +04:00
Evgeny Gerashchenko aa2ff87b47 Simplified intrinsics matching in JS backend. 2013-12-17 20:28:44 +04:00
Evgeny Gerashchenko b783175fb4 Removed ex-ModuleConfiguration classes. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko d0605009ae Removed ModuleConfiguration. 2013-12-17 20:28:40 +04:00
Evgeny Gerashchenko 67f06c816b Reimplemented non-trivial logic of ModuleConfiguration. 2013-12-17 20:28:39 +04:00
Evgeny Gerashchenko 7abe6a5b4a Big refactoring. Migrating to package views and fragments. 2013-12-17 19:18:33 +04:00
Natalia Ukhorskaya a9da88b425 Remove NumberValueTypeConstructor 2013-12-05 15:23:42 +04:00
Natalia Ukhorskaya f329e245ad Support IntegerValueTypeConstant in js backend 2013-12-05 15:21:56 +04:00
Natalia Ukhorskaya d63f6843c8 Merge ConstantExpressionEvaluator and CompileTimeConstantResolver 2013-12-05 15:21:50 +04:00
Erokhin Stanislav ddda69c0a6 JS Backend: hack nested object access 2013-12-02 19:56:12 +04:00
Alexander Udalov 97ad75a9f9 JS Backend: fix tests after object refactoring 2013-12-02 19:56:12 +04:00
Alexander Udalov cb6c98d4d6 Delete OBJECT_PROPERTY kind from binary format
We never create properties for objects anymore, except enum entries of Java
enums. Delete PropertyDescriptorForObjectImpl and its usages
2013-12-02 19:56:08 +04:00
Alexander Udalov 18c59d5495 Treat anonymous objects as classes (ClassKind.CLASS)
They're not objects per se, i.e. they're not singletons
2013-12-02 19:55:19 +04:00
Mikhael Bogdanov d11311ec20 Test compilation fix 2013-12-02 18:30:42 +04:00
Alexander Udalov 2c6bf6171f Rename ClassKind.isObject -> isSingleton
"isObject" gives a false impression that this is a check if the kind is OBJECT
2013-11-21 19:34:50 +04:00
Zalim Bashorov cf717f8cb7 JS backend: minor fixes in k2js stdlib. 2013-11-17 03:21:55 +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 e5c450fbee SourceMapBuilder#skipLinesInBegin -> SourceMapBuilder#skipLinesAtBeginning 2013-11-08 18:14:22 +04:00
Zalim Bashorov 1409dd7812 Refresh FS after compilation for js and sourcemap files. 2013-11-08 18:14:21 +04:00
Andrey Breslav fd73dc3dce Fix tests after stdlib rearrangement 2013-11-07 13:56:17 +04:00
Erokhin Stanislav 1a1c2902f0 JS backend: inline ClassDeclarationTranslator 2013-11-05 22:25:04 +04:00
Erokhin Stanislav 961c5fc0df JS backend: drop ClassAliasingMap from ClassTranslator 2013-11-05 22:23:10 +04:00
Erokhin Stanislav b958e453e8 JS backend: rewrite FileDeclarationVisitor use kotlin 2013-11-05 22:22:54 +04:00
Erokhin Stanislav 4a55f5a65e JS backend: add simple enum test 2013-11-05 20:55:49 +04:00
Erokhin Stanislav e9fe0070d7 JS backend: complete remove _c object from output code. 2013-11-05 20:55:49 +04:00
Erokhin Stanislav 6422167b5c JS backend: first step of remove _c object from output code.
createClass -> createClassNow, createTrait -> createTraitNow, createObject -> createObjectNow
First argument of new createClass() is function, which return array of parent classes.
2013-11-05 20:55:49 +04:00
Erokhin Stanislav b2f096f20a JS backend: add debug info into several tests 2013-11-05 20:55:49 +04:00