Ilya Gorbunov
06af22b2c1
JS: Remove LinkedList declaration since the implementation is missing.
...
#KT-7480 Fixed
2016-02-27 02:49:05 +03:00
Ilya Gorbunov
f9e97882fc
Minor: remove obsolete TODO.
2016-02-27 00:52:31 +03:00
Ilya Gorbunov
19fa2f51ea
Review and correct exception messages.
2016-02-27 00:52:30 +03:00
Ilya Gorbunov
00e30e417f
Cleanup: suppress warnings where appropriate.
2016-02-26 21:54:57 +03:00
Ilya Gorbunov
f025a3b8c4
Cleanup: rename parameters to match overriden method (in private implementations).
...
Remove some redundancy.
2016-02-26 21:54:55 +03:00
Ilya Gorbunov
b19c0363fd
Clarify parameter order of lambda function parameter of *Indexed functions.
...
#KT-10953 Fixed
2016-02-26 20:47:26 +03:00
Ilya Gorbunov
0e0455daeb
Improve the documentation of binarySearch functions.
...
#KT-10198 Fixed
2016-02-26 20:31:05 +03:00
Dmitry Jemerov
103f8300fb
don't show "Change type arguments" fix when there's nothing to change
...
#KT-11178 Fixed
2016-02-26 16:11:24 +01:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Pavel V. Talanov
5304ddfca3
DelegatedPropertyResolver: Use SHORT_NAMES_IN_TYPES for ad-hoc diagnostics parameter rendering
2016-02-26 14:45:11 +03:00
Pavel V. Talanov
48094db9dc
DefaultErrorMessages: remove hardcoced fq names for built-in types
2016-02-26 14:45:10 +03:00
Pavel V. Talanov
e397544aee
Improve NONE_APPLICABLE ide renderer
2016-02-26 14:45:10 +03:00
Pavel V. Talanov
8cbc9eee3e
Improve AMBIGUOUS_CALLS renderer
2016-02-26 14:45:09 +03:00
Pavel V. Talanov
b399bbffd7
Improve JvmConflictingDeclarations diagnostics rendering
2016-02-26 14:45:08 +03:00
Pavel V. Talanov
d0b27a5fe2
Update test data for diagnostics test
2016-02-26 14:45:07 +03:00
Pavel V. Talanov
5dcfdb3996
Test return type mismatch on override diagnostic rendering
2016-02-26 14:45:07 +03:00
Pavel V. Talanov
7ba4adf006
Add tests for diagnostics rendering
2016-02-26 14:45:06 +03:00
Pavel V. Talanov
4ab5aabfa0
Adjust existing test data for diagnostic messages
2016-02-26 14:45:06 +03:00
Pavel V. Talanov
e4cf090720
Adjust diagnostics rendering so that short classifier names are rendered unless the name is ambiguous in corresponding RenderingContext
2016-02-26 14:45:05 +03:00
Pavel V. Talanov
c7cb596f74
Rename: NameShortness -> ClassifierNamePolicy
2016-02-26 14:45:05 +03:00
Pavel V. Talanov
ced5a6c917
Introduce RenderingContext and add as parameter to DiagnosticParameterRenderer#render
...
RenderingContext holds data about the whole diagnostics allowing to adjust rendering of its parameters
2016-02-26 14:45:04 +03:00
Pavel V. Talanov
4f18b3da53
Rename: Renderer -> DiagnosticParameterRenderer and move it out of descriptors module
...
DescriptorRenderer is no longer a renderer
DescriptorRenderers should not be used to render diagnostic parameters explicitly
2016-02-26 14:45:02 +03:00
Pavel V. Talanov
41f5b5e8b1
Minor: expose DescriptorRender#renderMessage
2016-02-26 14:45:01 +03:00
Pavel V. Talanov
a3bab638eb
Move MultiRenderer to a more suitable package
2016-02-26 14:45:00 +03:00
Pavel V. Talanov
40d538731b
Move NameShortness to a separate file and refactor it to be an interface
2016-02-26 14:45:00 +03:00
Pavel V. Talanov
77f74a929a
Revert 06215ca932
...
It led to parameter names missing in parameter info and completion for compiled java code used from kotlin
See KT-11039
2016-02-26 14:05:47 +03:00
Natalia Ukhorskaya
7b1afa1e01
Rearrange Colors page for Kotlin
2016-02-26 12:34:24 +03:00
Natalia Ukhorskaya
e0cb0eb1de
Highlight super and this as keywords
2016-02-26 12:34:24 +03:00
Natalia Ukhorskaya
d361aca0fb
Change some colors in Darcula after refactoring of colors in IDEA
2016-02-26 12:34:24 +03:00
Alexander Udalov
63db41a712
Minor, refactor BuiltInDefinitionFile.read to get rid of isInternalBuiltInFile
2016-02-26 11:29:10 +03:00
Alexander Udalov
5f39f628c9
Fix and test built-ins decompiler for incompatible version
2016-02-26 11:29:10 +03:00
Alexander Udalov
440b23ddf6
Minor, extract createIncompatibleAbiVersionDecompiledText to common/
2016-02-26 11:29:10 +03:00
Alexander Udalov
f82ec6711d
Remove SerializedResourcePaths and BuiltInsSerializedResourcePaths
...
Most of members now only make sense for JS, move the rest to
BuiltInSerializerProtocol
2016-02-26 11:29:10 +03:00
Alexander Udalov
4bacabe354
Don't read old built-in files in decompiler
2016-02-26 11:29:10 +03:00
Alexander Udalov
996c5848c2
Simplify deserialization components for built-ins and JS
2016-02-26 11:29:10 +03:00
Alexander Udalov
f130755972
Use new built-in binary format (.kotlin_builtins files) in IDE
...
Instead of .kotlin_class and .kotlin_package files, .kotlin_builtins files are
now supported: they are decompiled to a long file consisting of all non-real
classes (those which do not also have .class files) and members in the
corresponding package.
Unlike the old files, .kotlin_builtins files have a binary version in the
beginning, which allows us to skip decompilation and stub building in case the
file has an unsupported version. This could previously lead to exceptions, see
KT-11077, EA-79339.
The change in DecompiledTextFactory is needed because without "defined in ..."
the keys for members in the long decompiled file are not unique, as there are
multiple members with exactly the same signatures in different classes (e.g.
arithmetic operations in primitive classes).
Remove testData files with the decompiled text and stubs of built-in symbols
because now that the whole package is decompiled to a single file, it would be
painful to update these files each time something in built-in sources changes
#KT-11077 Fixed
2016-02-26 11:29:10 +03:00
Alexander Udalov
cb490dbe4f
Minor, add BuiltInsBinaryVersion.readFrom(InputStream)
2016-02-26 11:29:10 +03:00
Alexander Udalov
c81d76414f
Drop serialization of old binary built-in files (.kotlin_class, .kotlin_package)
2016-02-26 11:29:10 +03:00
Ilya Chernikov
c39cec4869
Fixing daemon memory test on windows by increasing the expected threshold
2016-02-26 10:23:37 +03:00
Ilya Gorbunov
029b918ec9
Another CharSequence.repeat implementation in JS from polyfill of String.repeat.
...
#KT-3064
2016-02-26 01:26:05 +03:00
Ilya Gorbunov
f564adfdd4
Optimize trivial cases of CharSequence.repeat. Provide CharSequence.repeat for JS.
...
#KT-3064 Fixed
2016-02-26 01:23:30 +03:00
Stanislav Erokhin
7a43d62408
Move sources to resolution module
2016-02-26 00:39:37 +03:00
Stanislav Erokhin
5bb1f3b2ea
Create resolution module.
2016-02-26 00:39:37 +03:00
Stanislav Erokhin
310c68f633
Removed lock level WRITING from LexicalWritableScope.
2016-02-26 00:39:36 +03:00
Stanislav Erokhin
f85abed6e6
Replace RedeclarationHandler by LocalRedeclarationChecker
2016-02-26 00:39:35 +03:00
Ilya Gorbunov
7d32fad063
Improve docs for trimIndent/trimMargin.
...
#KT-9786
2016-02-25 22:09:15 +03:00
Ilya Gorbunov
77f148bec6
Improve docs for substring/subsequence.
2016-02-25 22:09:14 +03:00
Ilya Gorbunov
c946d283ff
Fix example for Throws annotations.
...
Improve code escaping and wording for JvmSuppressWildcards.
2016-02-25 22:09:14 +03:00
Ilya Gorbunov
a100ffd66b
Minor: improve wording in the deprecation message.
2016-02-25 21:16:45 +03:00
Alexander Udalov
71170d32cb
Exclude kotlin.reflect.jvm.internal.impl from import and completion in project
2016-02-25 20:30:00 +03:00