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
8e940244af
JS backend: remove wrong usages program().getStringLiteral(). Use context().getNameForDescriptor()
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
Alexey Sedunov
b2788cad97
Recover user-specified annotations for Android SDK
2013-10-08 13:03:20 +04:00
Pavel V. Talanov
91336a888c
Fix invalid usage of getOverriddenDescriptors in JetLineMarkerProvider
2013-10-07 20:50:37 +04:00
Pavel V. Talanov
4a217d8cde
Fix invalid usage of descriptorToDeclaration in GotoSuperActionHandler
2013-10-07 20:50:36 +04:00
Zalim Bashorov
3aeb565a60
JS backend: added support for constant expressions in the sourcemap.
2013-10-07 20:32:05 +04:00
Zalim Bashorov
0aa1d0265b
JS backend: fixed bug with the sourcemap generation when binary operation used as statement.
2013-10-07 20:32:04 +04:00
Zalim Bashorov
d3b4e4eb1f
JS backend: ignore reference to this when generate sourcemap
2013-10-07 20:32:03 +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
Sergey Mashkov
391c892a21
String.replaceAll variant that handles each match using closure
2013-10-07 19:52:13 +04:00
Alexey Sedunov
c943b4e9d5
Add proper annotations for Android SDK
2013-10-07 17:45:02 +04:00
Andrey Breslav
d7936b7ea4
Do not fail when a class is not found
2013-10-06 17:01:40 +04:00
Andrey Breslav
00c3156b59
Use Unit instead of Void
2013-10-05 16:59:57 +04:00
Andrey Breslav
2e585f88a3
ReenteringLazyValueComputationException & co moved to frontend
2013-10-05 16:59:57 +04:00
Andrey Breslav
0765e89b19
Weakly retained memoized functions moved out of util.runtime
2013-10-05 16:59:57 +04:00
Andrey Breslav
5ebbe0d772
Get rid of dependency on guava in DFS
2013-10-05 16:59:57 +04:00
Andrey Breslav
239ca9728d
StorageManager API does not use Computable and Function and more
2013-10-05 16:59:57 +04:00
Andrey Breslav
7d1c46ed2c
Getting rid of Computable and Function in lazy values and memoized functions
2013-10-05 16:59:56 +04:00
Andrey Breslav
4d28dfada6
Lazy values and memoized functions conform to Kotlin's function interfaces
2013-10-05 16:59:56 +04:00
Evgeny Gerashchenko
a1e4ca2871
Not building light class for local class (to fix exception in tests).
2013-10-04 20:40:55 +04:00
Evgeny Gerashchenko
8070f62764
Implemented abstract methods introduced in newer IDEA.
2013-10-04 20:38:02 +04:00
Zalim Bashorov
4f957eaf69
Extracted manifest values to manifest.properties file.
2013-10-04 19:21:25 +04:00
Zalim Bashorov
dd553ef671
JPS plugin: refactoring:
...
- extract utility methods from KotlinBuilder;
- use StringUtil#join instead for iteration;
- add private constructor to LibraryUtils.
2013-10-04 19:18:19 +04:00
Alexander Udalov
9d7968457f
JDR doesn't depend on intellij-core
2013-10-04 18:32:42 +04:00
Alexander Udalov
89dbafb6be
Rename KotlinClassFileHeader and related classes
2013-10-04 18:32:42 +04:00
Alexander Udalov
c3abd1c26f
Delete LOG.error from ReadDataFromAnnotationVisitor
...
These conditions can happen on a broken binary data, no need to report an error
about it
2013-10-04 18:32:42 +04:00
Alexander Udalov
098d183a72
Remove Logger from AnnotationDescriptorDeserializer
...
Use abstract ErrorReporter instead
2013-10-04 18:32:42 +04:00
Alexander Udalov
ef7bb0cdf4
Delete LOG.warn about number of type arguments from JDR
...
This can happen when loading symbols from incorrect Java sources, which is OK
2013-10-04 18:32:41 +04:00
Alexander Udalov
f218877cf2
Get rid of dependency of PackageClassUtils on StringUtil
2013-10-04 18:32:41 +04:00
Alexander Udalov
5f0c593bb8
Minor, inline methods, use String instead of StringUtil
2013-10-04 18:32:41 +04:00
Alexander Udalov
edda5d8801
Move AssertInvisibleInResolver check to frontend.java
...
This is a dirty hack, taking advantage of the fact that
JavaResolverCache.getClass() is called exactly once and right after this check
2013-10-04 18:32:41 +04:00
Alexander Udalov
dbba6c614b
Rename JvmClassName.getFqName() and add a warning
...
All usages of this method as of right now seem wrong, as they don't work in the
case of classes which contain dollars in their names -- dollars get replaced to
dots
2013-10-04 18:32:41 +04:00
Alexander Udalov
e8d4aae48b
Minimize usages of JvmClassName.getFqName()
2013-10-04 18:32:41 +04:00
Alexander Udalov
fa4f568437
Delete AsmUtil.fqNameByAsmTypeUnsafe, refactor KotlinToJavaTypesMap
2013-10-04 18:32:41 +04:00
Alexander Udalov
044a47905e
Get rid of dependency on Guava's Multimap
...
Replace with a hand-written multi-map
2013-10-04 18:32:41 +04:00
Alexander Udalov
3d5e128267
Remove trivial dependencies of JDR on Guava
2013-10-04 18:32:41 +04:00
Alexander Udalov
fc78971aea
Delete JvmClassName.getAsmType()
2013-10-04 18:32:40 +04:00
Alexander Udalov
521496b188
Delete JvmPrimitiveType.getAsmType()
...
Create PrimitiveTypesUtil in frontend.java for this and other utilities
2013-10-04 18:32:40 +04:00
Alexander Udalov
18df0de2d5
Extract JvmClassName.byFqName().getAsmType() logic
2013-10-04 18:32:40 +04:00
Alexander Udalov
bee32b8138
Delete useless method from NamespaceCodegen
...
It was already present in PackageClassUtils
2013-10-04 18:32:40 +04:00
Alexander Udalov
8729c88aa2
Refactor CodegenBinding & PsiCodegenPredictor
...
Use ASM Type to store names of classes, use strings in PsiCodegenPredictor.
Inline some methods, move closer to their usages
2013-10-04 18:32:40 +04:00
Alexander Udalov
035a7cccda
Delete unused slice in CodegenBinding
2013-10-04 18:32:40 +04:00
Alexander Udalov
6015db3487
Delete unneeded method from PsiCodegenPredictor
2013-10-04 18:32:40 +04:00
Alexander Udalov
6edee687a2
Refactor CodegenBinding.getJvmInternalFQNameImpl
...
Simplify code, make sure empty string is never returned
2013-10-04 18:32:40 +04:00
Alexander Udalov
f4abaaee10
Delete JvmClassName.byType
...
Replace JvmClassName by ASM Type in many places of JVM codegen: it wasn't used
to abstract anything, but there was a lot of useless conversions between the
two
2013-10-04 18:32:39 +04:00