Commit Graph

12024 Commits

Author SHA1 Message Date
Alexander Udalov df875b892f Move generators sources to generators/src/ 2013-09-18 17:01:41 +04:00
Alexander Udalov e8b10b3e4d Delete ErrorUtils.isError(TypeConstructor) 2013-09-18 16:46:07 +04:00
Alexander Udalov dea1e6650f Minor, remove unused methods from ErrorUtils
Inline methods, annotate with NotNull
2013-09-18 16:41:48 +04:00
Alexander Udalov b7f1e61be9 Add JetType.isError()
Instead of ErrorUtils.isErrorType() which does several instanceof checks anyway
2013-09-18 16:41:48 +04:00
Alexander Udalov bab8fafd7b Minor, delete useless class 2013-09-18 16:41:48 +04:00
Alexander Udalov 215a5f46b6 Move ROOT_NAMESPACE_NAME to DescriptorUtils
KotlinBuiltIns depends on it, but it cannot depend on JetPsiUtil, because
descriptors module should not depend on PSI
2013-09-18 16:41:47 +04:00
Alexander Udalov 5f930bca31 Move Renderer to org.jetbrains.jet.renderer 2013-09-18 16:41:47 +04:00
Alexander Udalov 6778b38f79 Delete ReceiverValueVisitor
This is done because this visitor ties all ReceiverValue's together, which
makes descriptors depend on PSI (ReceiverValue -> ReceiverValueVisitor ->
ExpressionReceiver -> JetExpression). Descriptors will be available at runtime,
but PSI is very heavy, so this dependency should be gotten rid of
2013-09-18 16:40:36 +04:00
Alexander Udalov 7d64b84c42 Minor, remove DataFlowValueFactory.INSTANCE
DataFlowValueFactory's methods are all static
2013-09-18 16:40:36 +04:00
Alexander Udalov 7e72494ddb Remove unused 'trace' parameter in ModuleConfiguration 2013-09-18 16:40:36 +04:00
Alexander Udalov 54ee7456ce Extract LazyResolveStorageManager interface
StorageManager will be available at runtime, thus it can't depend on
BindingTrace
2013-09-18 16:40:35 +04:00
Alexander Udalov f35472414b Move FunctionDescriptorUtil out of descriptors/ 2013-09-18 16:40:35 +04:00
Alexander Udalov f5af43ed24 Cleanup descriptors in frontend
Remove useless classes/interfaces, inline useless superclasses, make the code
greener
2013-09-18 16:40:35 +04:00
Alexander Udalov cb10cbdf7a Remove PSI usages from ScriptDescriptor 2013-09-18 16:40:35 +04:00
Alexander Udalov d0a9464504 Refactor DescriptorUtils
Remove dependency on org.jetbrains.jet.lang.psi, move utilities closer to their
usages, add NotNull annotations, fix formatting, etc.
2013-09-18 16:40:35 +04:00
Alexander Udalov 8400d2b8cf Refactor OverridingUtil.resolveUnknownVisibilities
Get rid of dependency on BindingTrace, move the corresponding error reporting
logic to OverrideResolver
2013-09-18 16:40:35 +04:00
Alexander Udalov 6ca71349f8 Create DescriptorFactory utility class
Will contain utilities needed to create different common descriptors, such as
default getters/setters, enum values/valueOf methods, etc.
2013-09-18 16:40:34 +04:00
Alexander Udalov 6eeee31381 Remove unused dependency of 'serialization' module on 'junit' library 2013-09-18 16:40:34 +04:00
Alexander Udalov effbdcaa4c Move utilities out of OverrideResolver 2013-09-18 16:40:34 +04:00
Alexander Udalov f5faf8acb2 Get rid of dependency of class descriptors on BindingTrace 2013-09-18 16:40:34 +04:00
Natalia.Ukhorskaya 9351369052 Check that maven module already has library in dependency
#KT-3991 Fixed
2013-09-18 15:08:47 +04:00
Natalia.Ukhorskaya 1a7a59c0a0 Change Configure Kotlin notification text 2013-09-18 15:08:46 +04:00
Natalia.Ukhorskaya e5b7ba3060 Update UI for Configure Kotlin Dialog 2013-09-18 15:08:46 +04:00
Erokhin Stanislav 63e7d60ad7 JS backend: fix KotlinLibTest 2013-09-17 21:55:13 +04:00
Erokhin Stanislav db62ef2ef1 JS backend: KotlinNew => Kotlin 2013-09-17 21:55:10 +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 c5a720164e JS backend: remove unused code from Namer 2013-09-17 21:46:25 +04:00
Erokhin Stanislav eed1a6506e JS backend: remove all usages TranslationContext.isEcma5() 2013-09-17 21:46:25 +04:00
Erokhin Stanislav 79904a9b96 JS backend: refactor: extract DefineInvocation 2013-09-17 21:46:17 +04:00
Erokhin Stanislav 8e72efc736 JS backend: move "call" and "baseInitializer" keyword to Namer 2013-09-17 21:45:06 +04:00
Erokhin Stanislav 2452b3c34c JS backend: remove isEcma5() from property initialize 2013-09-17 21:45:06 +04:00
Erokhin Stanislav 550cf581c4 JS backend: JsDescriptorUtils.isAsPrivate remake to isSimpleProperty 2013-09-17 21:45:05 +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 a79b67eb48 JS backend: refactor: rename InitializerUtils.generate to generateObjectInitializer 2013-09-17 21:44:00 +04:00
Erokhin Stanislav ce3da8491b JS backend: Remove Object.defineProperty for property initialize 2013-09-17 21:43:25 +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 6400946fc6 JS backend: remove $createClass and $new usages
In RangeForTranslator replace get_something() -> something
2013-09-17 21:43:25 +04:00
Erokhin Stanislav 0fbce55df7 JS backend: STDLib: remove base class parameter from API 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 248ec7a248 JS backend: add new ecma5 library & use "new Class()" construction 2013-09-17 21:43:25 +04:00
Erokhin Stanislav b291802de3 JS backend: add debug info in Delegate Property Test 2013-09-17 21:43:24 +04:00
Erokhin Stanislav 9100a0d0a6 JS backend: add RegressionMergeEcmaTest 2013-09-17 21:43:24 +04:00
Erokhin Stanislav fd2caf5acf JS backend: fix order class and trait in list supertypes 2013-09-17 21:43:24 +04:00
Erokhin Stanislav 430b60d979 Move topologicallySortSuperclassesAndRecordAllInstances from CommonSupertypes to TypeUtils. 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
Natalia.Ukhorskaya 8cc1617790 Small improvements in Configure Kotlin dialogs 2013-09-17 18:21:53 +04:00
Natalia.Ukhorskaya 1651dbe496 Align paths in Configure Kotlin dialog 2013-09-17 18:21:52 +04:00
Natalia.Ukhorskaya dee186de08 Remove checkbox for copying js implementation files in 'Configure Kotlin as Javascript' dialog 2013-09-17 18:21:51 +04:00