Ilya Gorbunov
35839695f7
Fix decompiled text consistency test to handle type aliases in JS.
...
by Alexey Andreev <Alexey.Andreev@jetbrains.com >
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
c508f75de4
Test data: change fully qualified type so that it's available as type (and not an alias) in both jvm and js runtimes to have the same output.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
ed70d1dfa6
Provide type aliases for collections in java.util to ease migration.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
b741c82a66
Fix completion tests after moving collection types in JS
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
bf56f04368
Simplify Kotlin.collectionsSort as it always being provided with MutableList.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
889040218b
Rewrite ChainEntry not to be inner class. Cleanup unused code.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
54a640d733
Cleanup: remove unused code from HashMap, remove commented out specialization intrinsics.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
d0b7ddfceb
Minor cleanup, rename parameters to match supertype names.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
1ea02198e0
Add tests to ensure #KT-10786 Fixed and #KT-8724 Fixed
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
26cbad8e7f
Provide message for UnsupportedOperationException thrown from AbstractCollection.add.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
23d2654afd
Refactor Map-InternalMap to provide specialized linked string map and set
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
e342593d2e
Flatten HashMap hierarhy, provide string-keyed map and set specializations.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
5833d32f25
Import StringMap from GWT
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
d1a24de278
Consequences of map/set specializations removal:
...
- NaNs are no longer usable as keys in maps or elements in sets.
- Chars are stored as their underlying type string, and Longs are stored as objects.
Opened #KT-13610
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
ea82c20692
Remove js implementations of java.util maps and sets, disable intrinsic to select specialized implementations.
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
5cd3417d4c
Maps and sets: cleanup, simplify, refactor.
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
b05c2c1f6a
Import AbstractHashMap, HashMap, HashSet, LinkedHashMap, LinkedHashSet from GWT
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
f5e0c504d6
AbstractMap: cleanup and refactor
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
c54bc2ea18
Import AbstractMap implementation from GWT.
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
d900efb34e
AbstractSet implementation.
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
828e7f8744
Add tests to ensure #KT-7473 and #KT-13459 and #KT-13429 are Fixed.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
89388f1f83
Fixes in ArrayList after review.
...
Provide better implementations for some methods of AbstractList.
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
472ef89baf
AbstractList: cleanup and rename
...
#KT-12386
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
75069143c7
Rewrite ArrayList, AbstractList, AbstractCollection in kotlin.
...
AbstractList is imported from GWT.
#KT-12386
2016-09-24 07:08:21 +03:00
Nikolay Krasko
0abf94c2f4
Allow to avoid rebuilding application in debugger tests on local machine
...
(cherry picked from commit 8b899a7)
2016-09-24 01:44:40 +03:00
Nikolay Krasko
520e187e46
Clean application after test in compiler tests
...
It's disposed after Disposer.dispose(myTestRootDisposable) in tearDown and mixing compiler tests
with non-compiler tests may ruin classes initialization with
"com.intellij.util.IncorrectOperationException: Sorry but parent: com.intellij.mock.MockApplicationEx@52439591 has already been disposed"
(cherry picked from commit f3badb6)
2016-09-24 01:44:38 +03:00
Alexey Tsvetkov
1c0be7f0ba
Update changelog for 1.0.4
2016-09-23 20:55:49 +03:00
Denis Zharkov
217f033552
Prevent generation of delegations to interfaces private methods
...
#KT-13381 Fixed
#KT-13996 Fixed
2016-09-23 14:51:14 +03:00
gitreelike
06c804787f
Implement quick fix to convert a too long char literal to a string #KT-13635 Fixed
2016-09-23 13:04:41 +03:00
shiraji
391a0fdde5
Add "Copy concatenation text to clipboard" intention #KT-13744 Fixed
2016-09-23 12:46:22 +03:00
Valentin Kipyatkov
023c02deb3
Corrections on code review
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
e4f80e277f
Better texts of change variable type quickfixes
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
80d82d2dee
Made AddToStringFix low priority
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
7625672914
Better test data
2016-09-23 10:07:15 +03:00
Valentin Kipyatkov
dab6f7d13d
Better texts for quickfixes to change return type
2016-09-23 10:07:14 +03:00
Ilya Gorbunov
8d67a65ed9
Build stdlib docs 3 times: one for each JDK
2016-09-22 22:32:02 +03:00
Ilya Gorbunov
47be8e664a
Minor: replace var with val.
2016-09-22 22:28:14 +03:00
Ilya Gorbunov
2c0edf6652
Fix working directory where CompilerSmokeTest runs to be 'project.build.directory', otherwise it may vary depending on maven goals invoked.
2016-09-22 21:59:10 +03:00
Ilya Gorbunov
f60447328d
Remove snapshot repository from idl2k module.
2016-09-22 21:52:33 +03:00
Ilya Gorbunov
0cd0f3caa0
Reorder maven project modules to run more tests earlier in build.
2016-09-22 21:52:33 +03:00
Alexey Tsvetkov
fc6773a416
Print gradle output only if test is failed
2016-09-22 20:43:01 +03:00
Alexey Sedunov
b412edf2a3
Extract Class: Implement 'Extract Interface' refactoring
...
#KT-11017 Fixed
2016-09-22 20:11:31 +03:00
Alexey Sedunov
af2de09840
Extract Class: Implement 'Extract Superclass' refactoring
...
#KT-11017 In Progress
2016-09-22 20:11:30 +03:00
Pavel V. Talanov
8f5725345f
ModuleDescriptor: invert "friends" relation
...
Fixes memory leak caused by modules storing their friends (which can be potentially recreated many times)
2016-09-22 18:20:43 +03:00
Denis Zharkov
23c0bdbd05
Add filtering of suggested expressions for postfix templates
...
Do not suggest qualified expression's selector or a part of user type
because they aren't really independent expressions
2016-09-22 18:11:22 +03:00
Simon Ogorodnik
ab2b6743df
KT-11990 J2K native to external conversion ( #957 )
2016-09-22 18:09:26 +03:00
Nikolay Krasko
293d3b4320
Remove toString() test for StorageManager
...
Storing place of creating was removed in cb32bc97dd
2016-09-22 16:28:46 +03:00
Denis Zharkov
5381c06936
Improve 1.0-compatibility mode for JDK dependent members
...
Just reporting error by call checker may be too restrictive
in case there are some extensions that can be used successfully
Solution is to annotate additional members with
@Deprecated(level=Error) + @kotlin.internal.LowPriorityInOverloadResolution
2016-09-22 15:40:37 +03:00
Denis Zharkov
a7dedfab70
Move JvmBuiltIns initialization after container setup
...
It will be used in the further commits to initilize built-ins instance
with components as arguments
2016-09-22 15:40:37 +03:00
Nikolay Krasko
63943c60d3
Patch ThreadTracker during Kotlin plugin init
2016-09-22 15:19:18 +03:00