Alexey Sedunov
11675322ee
Find Usages: Fix exception in the search of class with default parameters in primary constructor
2015-03-30 21:10:24 +03:00
Alexander Udalov
52292fc360
Fix build, add dependencies idea-analysis, idea -> deserialization
2015-03-30 20:15:12 +03:00
Alexander Udalov
32c3bb8c7f
Extract module 'deserialization' out of 'serialization'
...
'deserialization' stays in core because it's needed both in compiler and
reflection, but 'serialization' is used only in the compiler
2015-03-30 19:44:17 +03:00
Alexander Udalov
085bc2197b
Merge module 'serialization.jvm' into 'descriptor.loader.java'
...
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes
2015-03-30 17:22:06 +03:00
Pavel V. Talanov
b73bd697e6
Rename JetCoreEnvironment -> KotlinCoreEnvironemnt
2015-03-30 15:11:58 +03:00
Natalia Ukhorskaya
785f7e749f
InlineCodegen: find virtual file using findVirtualFileWithHeader
2015-03-30 14:03:24 +03:00
Denis Zharkov
418034add3
Prohibit instance access before super call
...
- Before this change members just left unresolved as they were absent in the
specific scope named scopeForSecondaryConstructorHeaderResolution that
created just to prohibit such accesses.
- Now they are resolved the same way as other members, but diagnostic is
repored by in-place injected CallChecker
- Drop obsolete type of class scope
#KT-6995 Fixed
2015-03-27 20:15:00 +03:00
Denis Zharkov
b939530a5c
Minor, Rename isEmpty -> isImplicit
2015-03-27 16:09:42 +03:00
Denis Zharkov
18e40d034e
Change contract of getDelegationCall to @NotNull
...
Its existence guaranteed by parser
2015-03-27 16:09:42 +03:00
Denis Zharkov
b1de2066c7
Add quickfixes inserting explicit delegation calls
...
#KT-6963 Fixed
2015-03-27 16:09:41 +03:00
Denis Zharkov
555f9e7c06
Minor, move isEmpty, isCallToThis to JetConstructorDelegationCall
2015-03-27 16:09:41 +03:00
Denis Zharkov
9da88bbd0f
Check if element is valid before checking it's writable
...
Otherwise it may lead to exception
2015-03-27 16:09:41 +03:00
Denis Zharkov
01e5ee718f
Allow secondary constructors without body
...
#KT-6967 Fixed
2015-03-27 16:09:40 +03:00
Alexey Sedunov
dcfefb0847
Extract Function: Do not extract extension function reference as parameter
2015-03-26 23:11:51 +03:00
Stanislav Erokhin
cbcd2c3cce
Fixed formatter for function expression
2015-03-26 22:08:46 +03:00
Stanislav Erokhin
daa437b535
Fix JetTreeVisitor for file case
2015-03-26 22:08:46 +03:00
Stanislav Erokhin
faf7922884
Migrate AddInitKeywordFix & ClassObjectToDefaultObjectFix to JetWholeProjectModalAction
2015-03-26 22:08:46 +03:00
Stanislav Erokhin
f40b503454
Create DeprecatedLambdaSyntaxFix for whole project
2015-03-26 22:08:45 +03:00
Stanislav Erokhin
3fd8c5e980
Minor. Divide method moveInsideParenthesesAndReplaceWith
2015-03-26 22:08:45 +03:00
Yan Zhulanow
1338e0cd0a
Replicate IDEA plugin versions only on TeamCity build
2015-03-26 16:12:10 +03:00
Michael Nedzelsky
7b15f9c7c9
JS: add message to assert in JsLibraryStdDetectionUtil
2015-03-26 15:50:27 +03:00
Pavel V. Talanov
9d618ca767
Replace OBJECT$ usages in code and test data
2015-03-25 18:28:01 +03:00
Pavel V. Talanov
ed218c473a
Get rid of 'class object' usages in code and builtins
...
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Natalia Ukhorskaya
a92022edcd
Minor: replace deprecated function calls
2015-03-25 17:44:05 +03:00
Dmitry Jemerov
843298883f
shuffle some code around to avoid JVM crash in tests
2015-03-24 19:08:41 +01:00
Mikhail Glukhikh
2bc124fa3d
IO second review: empty File.subPath() allowed, OutputStream.bufferedWriter() added,
...
normalize(), startsWith(), endsWith() rewritten, LinesStream --> LinesSequence,
File.replaceBytes() / replaceText() rolled back to writeBytes() / writeText(),
some exception messages formulated more clearly, refactorings, comments,
relativeTo() slightly optimized, additional tests
2015-03-24 19:52:19 +03:00
Michael Nedzelsky
dae42f7c76
fix EA-66819 - IOE: VirtualDirectoryImpl.contentsToByteArray
...
Changes: do not try to read content for virtual file in case it is really a directory
2015-03-24 18:58:42 +03:00
Dmitry Jemerov
5370073c05
parameters in KDoc take precedence over other identifiers
2015-03-24 16:05:40 +01:00
Yan Zhulanow
900c67de4e
Replicate idea-version from the main plugin.xml to the android-idea-plugin plugin.xml
2015-03-24 16:43:45 +03:00
Alexey Sedunov
3e429c4b00
Change Signature: Fix behavior of "Receiver" checkbox
2015-03-24 16:41:10 +03:00
Alexey Sedunov
461ae25239
Find Usages: Properly select primary element for Find Usages Dialog. Avoid delegating handler when there is only one primary element
...
#KT-7048 Fixed
2015-03-24 16:41:09 +03:00
Alexey Sedunov
a57be6dcab
Change Signature: Do not report conflict when parameter name clashes with suggested name of the receiver
2015-03-24 16:41:08 +03:00
Alexey Sedunov
0eda6c88b9
Quick-Fixes: Fix signature configuration for extension functions
...
#KT-7019 Fixed
2015-03-24 16:41:07 +03:00
Alexey Sedunov
93f00db871
Extraction Engine: Consider declarations when comparing descriptors
...
#KT-6960 Fixed
2015-03-24 16:41:05 +03:00
Alexey Sedunov
502b67ecc0
Extract Function: Support multi-file tests
2015-03-24 16:41:04 +03:00
Alexey Sedunov
16a4dbd692
Quick-Fixes: Do not add 'abstract' modifier to anonymous objects
...
#KT-6656 Fixed
2015-03-24 16:41:03 +03:00
Alexey Sedunov
1ed2c82008
Quick-Fixes: Approximate non-denotable type with nearest denotable supertype
...
#KT-5915 Fixed
2015-03-24 16:41:01 +03:00
Alexey Sedunov
a2162810ff
Quick-Fixes: Drop unnecessary parentheses when simplifying cast expressions
...
#KT-6501 Fixed
2015-03-24 16:40:59 +03:00
Alexey Sedunov
71a5e09a0b
Quick-Fixes: Support USELESS_CAST diagnostic in "Remove cast" quick-fix
...
#KT-6422 Fixed
2015-03-24 16:40:58 +03:00
Alexey Sedunov
f5107be315
Quick-Fixes: Support "Change function return type" quick-fix for non-local returns
...
#KT-6910 Fixed
2015-03-24 16:40:57 +03:00
Michael Nedzelsky
842eaa86a4
merge serialization.js module into js.serializer
2015-03-24 15:13:45 +03:00
Dmitry Jemerov
408f7da0c5
correct indentation after pressing Enter in KDoc tag
...
#KT-7044 Fixed
2015-03-23 15:06:59 +01:00
Alexander Udalov
9a041136f2
Make ClassId's relative class name FqName instead of FqNameUnsafe
...
It was FqNameUnsafe in times when there were classes without identifier names,
specifically class objects with names like '<class-object-for-...>'
2015-03-23 16:30:25 +03:00
Alexander Udalov
31554b9fa3
Introduce ClassId.getShortClassName() for convenience
2015-03-23 16:30:24 +03:00
Alexander Udalov
aaef2d42cd
Do not report "no reflection" inspection in JS modules
...
#KT-7087 Fixed
2015-03-23 15:54:34 +03:00
Alexander Udalov
3335752462
Do not report "no reflection" inspection where reflection is not used
...
#KT-7059 Fixed
2015-03-23 15:54:33 +03:00
Alexey Sedunov
e0a394ec62
Change Signature: Replace isConstructor flag with enum. Fix signature preview
2015-03-21 03:29:04 +03:00
Alexey Sedunov
d19e6337a3
Find Usages: Support of secondary constructors and delegation calls
2015-03-21 03:29:03 +03:00
Alexey Sedunov
312a1db273
Call Hierarchy: Support secondary constructors
2015-03-21 03:29:01 +03:00
Alexey Sedunov
fe553edfb4
References Search: Add extension which looks for constructor usages in delegation calls
2015-03-21 03:29:00 +03:00