Alexey Sedunov
5d4527d7aa
Parser: Fix recovery of constructor parameter list
...
#KT-4739 Fixed
2014-03-25 16:49:46 +04:00
Alexey Sedunov
028a71273c
Fix test data of QuickFixTest
2014-03-25 16:49:44 +04:00
Alexey Sedunov
1bbec14cc0
Inspections: Explicit "get"
2014-03-25 16:49:43 +04:00
Alexey Sedunov
a0bc6a7b39
Base classes for Kotlin inspections
2014-03-25 16:49:40 +04:00
kuity
48b9dcf5ae
Added KT-4549 SwapBinaryExpression Intention
2014-03-25 15:55:53 +04:00
Andrey Breslav
80737bdfcf
Fix PSI behavior for "val x : ()?' case
2014-03-25 15:55:53 +04:00
Evgeny Gerashchenko
6725b4f1b0
Minor. Unified code.
2014-03-25 14:34:59 +04:00
Evgeny Gerashchenko
5360451022
Minor. Renamed methods.
2014-03-25 14:34:58 +04:00
Evgeny Gerashchenko
33e59103ec
Fixed test when JDK 8 is system default.
2014-03-25 14:34:58 +04:00
Evgeny Gerashchenko
74ff77eca4
Added test case to K2JvmCliTest.
...
Test is already present.
2014-03-25 14:34:57 +04:00
Evgeny Gerashchenko
a502374a62
Added incremental compilation flag. For publishing intermediate implementation.
2014-03-25 14:34:53 +04:00
Evgeny Gerashchenko
3553f0701c
Minor. Got rid of useless parameter.
2014-03-25 14:31:45 +04:00
Evgeny Gerashchenko
a44f0c2f2d
Removed dependency on asm in descriptor.loader.java
...
Conflicts:
compiler/backend/src/org/jetbrains/jet/codegen/JavaSerializerExtension.java
2014-03-25 14:31:45 +04:00
Evgeny Gerashchenko
9f8a16fb1a
Unified copying of property and method proto data.
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko
733de56178
Supported properties in partial compilation of package.
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko
98401d109f
Minor. Dictionary.
2014-03-25 14:31:43 +04:00
Evgeny Gerashchenko
9e815f8560
Extracted Java signature deserialization logic from BaseDescriptorDeserializer.
...
Java signature deserializer returns asm Method instead of MemberSignature
2014-03-25 14:31:42 +04:00
Evgeny Gerashchenko
5e9e0acc34
Introduced trait for deserialized callable and implementations.
2014-03-25 14:31:42 +04:00
Evgeny Gerashchenko
cb0a85bc50
Simplified code in functions hierarchy.
...
Minimized constructors variety and reduced code duplication.
2014-03-25 14:31:41 +04:00
Evgeny Gerashchenko
537c03fb1a
Added test checking that initialization order in package part is not violated.
2014-03-25 14:31:41 +04:00
Evgeny Gerashchenko
d62bc07437
Partial compilation of package (only functions supported).
2014-03-25 14:31:38 +04:00
Evgeny Gerashchenko
00c2bd60e5
Code cleanup in PackageCodegen.
...
Converted set to one element (because it's always one element). Checking for all files to be in one package FQ name is redundant.
2014-03-25 14:26:49 +04:00
Evgeny Gerashchenko
5c8253c099
Rendering class or package proto when JPS test fails.
2014-03-25 14:26:48 +04:00
Evgeny Gerashchenko
5f77a4548e
Extracted util method reading class header from bytes.
2014-03-25 14:26:48 +04:00
Evgeny Gerashchenko
e1a47deeae
Checking class files contents after make and rebuild.
2014-03-25 14:26:47 +04:00
Evgeny Gerashchenko
5acd054c72
Baby steps for incremental compilation.
2014-03-25 14:26:47 +04:00
Evgeny Gerashchenko
9e22c29825
Moved general JPS test data to common directory.
2014-03-25 14:26:47 +04:00
Ross Hanson
55e888604e
KT-4568: Created the ConvertNegatedExpressionWithDemorgansLaw intention. Converts an expression of the form !(a &&,|| b) to its expanded equivalent under DeMorgan's law.
2014-03-25 10:25:47 +04:00
Ross Hanson
2147a88ed8
KT-4568: Created the ConvertNegatedBooleanSequence intention. This intention takes an expression of the form !a &&,|| !b &&,|| ... and converts it to the DeMorgan equivalent !(a &&,|| b ...).
2014-03-25 10:25:47 +04:00
Nikita Skvortsov
4088f4a00e
remove unneeded resources
2014-03-24 20:14:27 +04:00
Nikita Skvortsov
84314711c6
continue renaming tests
2014-03-24 20:14:26 +04:00
Nikita Skvortsov
d2de398d3e
clearly rename test projects
2014-03-24 20:14:24 +04:00
Nikita Skvortsov
0ee97faca1
allow modifying test resources path
2014-03-24 20:14:23 +04:00
Zalim Bashorov
5825b0e9b3
Update to IDEA 13.1.1(135.480)
2014-03-24 18:38:25 +04:00
Tal Man
1c2082fd19
Don't create empty parentheses when lambda is the only argument
2014-03-24 18:20:01 +04:00
Ilya Ryzhenkov
796611702c
Test indentation on new line in scripts.
2014-03-24 18:17:51 +04:00
Ilya Ryzhenkov
64b4c2d49b
Fix scripting formatter to avoid extra indent in invisible block node.
2014-03-24 18:17:51 +04:00
Ilya Ryzhenkov
480dd6767c
Convert module scripting to .ktm extension.
2014-03-24 18:17:51 +04:00
Ilya Ryzhenkov
98c54f39bb
Unify script file extensions to "kts" so that IDEA, compiler and tests agree when to parse as SCRIPT.
...
Include kt* files into formatter test generation, to test scripting formatting
2014-03-24 18:17:50 +04:00
Ilya Ryzhenkov
4ba423ee16
Retain original file extension to test formatting in scripts
2014-03-24 18:17:50 +04:00
Ilya Ryzhenkov
9239fa2ece
ScriptName now returns FqName, fully qualified with package name. Update usages and convert to internal format as needed.
2014-03-24 18:17:50 +04:00
Ilya Ryzhenkov
d08f2bc7ab
Do not dispose classLoader so that dependent types can be loaded on demand, like closures.
2014-03-24 18:17:49 +04:00
Ilya Ryzhenkov
e49f4a0722
Marked scripting points with // SCRIPT: markers.
2014-03-24 18:17:49 +04:00
Pavel V. Talanov
618aea6218
Increase stub version before pushing into master
2014-03-24 17:51:55 +04:00
Pavel V. Talanov
5bc8cc1f9a
Stub tests: test for parameters with fq name
2014-03-24 17:51:53 +04:00
Pavel V. Talanov
cbaa515a00
Minor: remove redundant toString override
2014-03-24 17:51:51 +04:00
Pavel V. Talanov
a1dbf221b3
Use instance methods instead of JetPsiUtil for getting fq names
...
Remove unnecessary usages of JetFile#getPackageDirective where only FqName is needed
Make JetFile#getPackageFqName not nullable to avoid confusion on call sites
Remove getPackageName usages
Move getFqName(JetNamedDeclaration) to a separate util class
2014-03-24 17:51:49 +04:00
Pavel V. Talanov
37538f9524
Delete JetStubResolveTest
...
This test does not seem meaningful anymore
Since DeclarationProvider based on stubs is used in IDE, it is covered by a vast number of tests(anything that uses lazy resolve)
2014-03-24 17:51:47 +04:00
Pavel V. Talanov
c4de1898ce
Minor: remove unused method
2014-03-24 17:51:45 +04:00
Pavel V. Talanov
4a5d88c51d
Refactor: extract duplicated logic to util class
...
Introduce PackageIndexUtil
2014-03-24 17:51:43 +04:00