Valentin Kipyatkov
c8da4d90e9
J2K: minor fix
2014-10-14 21:19:10 +04:00
Valentin Kipyatkov
a08373fec6
Minor code corrections after review
2014-10-14 21:19:10 +04:00
Zalim Bashorov
f0078b5e0f
JS lib: export Kotlin object when it possible.
...
It allows use kotlin.js on node.js without modifications.
2014-10-14 18:02:28 +04:00
Zalim Bashorov
55c19a632a
JS lib: introduced different output strategies, and chose them depending of environment.
...
#KT-2994 Fixed
2014-10-14 18:02:28 +04:00
Pavel V. Talanov
40e1292e9a
Do not create junit configuration in dumb mode
2014-10-14 17:39:42 +04:00
Pavel V. Talanov
f3b9ab9329
Minor: Log and create attachment on AssertionError in KotlinSignature line markers
2014-10-14 17:37:12 +04:00
Michael Nedzelsky
e73866040d
JS backend: correct hierarchy for collections in kotlin_lib.js, maps.js
2014-10-14 16:46:01 +04:00
Michael Nedzelsky
229c92e6b8
JS backend: add files to jslib_files.xml
2014-10-14 16:45:59 +04:00
Michael Nedzelsky
aa13a67371
JS backend: remove Iterable from FAKE_CLASS list, remove Iterator from StandardClasses
2014-10-14 16:45:57 +04:00
Michael Nedzelsky
edac2dd3bd
JS backend: tests for KT-2468
2014-10-14 16:45:54 +04:00
Valentin Kipyatkov
cff0c35987
Checked that KT-3596 is not reproducible
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
e1a84802f2
Minor
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
c61ee18c03
Removed some more stuff from ImportInsertHelper
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
6d69608feb
Refactored completion tests to not set/restore auto-complete settings in 2 different places
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
043c65b1d4
Removed method which is not needed anymore
2014-10-14 16:08:17 +04:00
Valentin Kipyatkov
503a8deef1
Fixed bug in reference shortening + fixed test data for completion tests
2014-10-14 16:08:16 +04:00
Valentin Kipyatkov
d8b962c7f3
Completion: the same universal insertion handler is used for java classes too
2014-10-14 16:08:16 +04:00
Valentin Kipyatkov
38a5b988f0
One more class rename
2014-10-14 16:08:16 +04:00
Valentin Kipyatkov
a5223d8a38
Class renames
2014-10-14 16:08:16 +04:00
Valentin Kipyatkov
f9bf214526
Code completion: avoid duplication of elements for java classes
2014-10-14 15:47:45 +04:00
Valentin Kipyatkov
eabcbb00ab
KT-5876 Code completion should never auto-insert item which requires adding import
...
#KT-5876 Fixed
2014-10-14 15:47:45 +04:00
Valentin Kipyatkov
a124827c4e
Fixed KT-5611 Completion doesn't include not imported extensions for implicit receiver
...
#KT-5611 Fixed
2014-10-14 15:47:44 +04:00
Alexey Kudravtsev
22c80d2694
moved structure view to to idea-analysis to make available in upsource
2014-10-14 15:42:50 +04:00
Nikolay Krasko
c5852152b2
Don't ruin highlighting if there's no descriptor in resolve session
...
#EA-61683 Fixed
2014-10-14 15:38:27 +04:00
Andrey Breslav
b1e452b568
type unescaped in *.kt files
2014-10-14 13:02:13 +04:00
Andrey Breslav
56d1979d9b
File names fixed according to f202ad9f98
2014-10-14 13:02:06 +04:00
Alexey Sedunov
2b43aad4f9
Create From Usage: Fix rendering of nullable types
2014-10-14 01:59:54 +04:00
Alexey Sedunov
ff082be524
File Move: Fix update of extension references. Reuse MoveKotlinTopLevelDeclarationsProcessor
2014-10-14 01:59:53 +04:00
Alexey Sedunov
dc62d167ad
Add user-data delegate for non-nullable properties
2014-10-14 01:59:52 +04:00
Alexey Sedunov
0d220c68ea
Find Usages: Fix reference check for the case of multiple resolve results
2014-10-14 01:59:51 +04:00
Alexey Sedunov
f0a0df94b5
Create From Usage: Add support of property delegates
2014-10-14 01:59:50 +04:00
Alexey Sedunov
2e6d4b3501
Create From Usage: Support EXPRESSION_EXPECTED_PACKAGE_FOUND diagnostic
2014-10-14 01:59:49 +04:00
Alexey Sedunov
c73c581b11
Call Resolver: Report UNRESOLVED_REFERENCE instead of EXPRESSION_EXPECTED_PACKAGE_FOUND when callee expession is resolved to package
2014-10-14 01:59:48 +04:00
Alexey Sedunov
77a5ddbcd0
Create From Usage: Do not suggest Java classes as receiver type candidates (for now)
2014-10-14 01:59:47 +04:00
Alexey Sedunov
0dafcb6728
Create From Usage: Generate type parameters (if any) for all callable declarations
2014-10-14 01:59:46 +04:00
Alexey Sedunov
9206b571f4
Create From Usage: Always try to shorten return type reference if there is one
2014-10-14 01:59:45 +04:00
Alexey Sedunov
497e4fab79
Create From Usage: Generate Unit-typed declaration if result is unused
...
#KT-5903 Fixed
2014-10-14 01:59:44 +04:00
Alexey Sedunov
a3a0edca58
Pseudocode: Drop CompilationErrorInstruction
2014-10-14 01:59:43 +04:00
Alexey Sedunov
a56c54371e
Pseudocode: Generate instructions for unresolved array assignments
2014-10-14 01:59:42 +04:00
Nikolay Krasko
b06b3ab4c4
Insert empty lines after functions and properties (KT-4002)
...
#KT-4002 Fixed
2014-10-14 00:39:23 +04:00
Nikolay Krasko
22d33a5afa
Data class copy method invocation gives errors in IDE when some optional parameters specified (KT-5975)
...
#KT-5975 Fixed
2014-10-14 00:39:22 +04:00
Zalim Bashorov
f202ad9f98
Stdlib: run all stdlib tests with JS backend(as possible).
2014-10-13 21:25:56 +04:00
Zalim Bashorov
f20ee6df4b
JS backend: fixes in ranges:
...
* map all number ranges and progressions;
* add missed hashCode and static EMPTY to Range implementations;
* add missed hashCode and equals to Progression implementations;
* fix type of start and end in CharRange and CharProgression.
2014-10-13 21:25:56 +04:00
Zalim Bashorov
8bd6acec5d
JS stdlib: drop wrong annotations in javautilCollectionsCode.kt and fix Collections.reverse.
2014-10-13 21:25:56 +04:00
Zalim Bashorov
e54c838482
JS backend: temporary fix for CharSequence.get
2014-10-13 21:25:56 +04:00
Zalim Bashorov
64044800c9
JS stdlib: fix bug with using "__proto__" as element of DefaultPrimitiveHashSet.
2014-10-13 21:25:56 +04:00
Zalim Bashorov
49e2262ca7
JS tests: fixed waiting to finish qunit tests in SeleniumTest.
2014-10-13 21:25:56 +04:00
Zalim Bashorov
2d634931f6
JS backend: use 0 as init value when calculating hashCode in data classes as in JVM backend.
2014-10-13 21:25:56 +04:00
Zalim Bashorov
ae39524a95
JS backend: compile primitive iterators from builtins as part of stdlib.
2014-10-13 21:25:55 +04:00
Zalim Bashorov
ecb955f5b3
Stdlib: split OrderingJVM.kt to common and jvm parts
2014-10-13 21:25:55 +04:00