Commit Graph

19386 Commits

Author SHA1 Message Date
Michael Nedzelsky 8074ab27ea JS backend: fix KT-6112 jsonFromTuples is broken
#KT-6112 Fixed
2014-12-18 18:10:26 +03:00
Andrey Breslav 0abf56c9ac Spec document for reified type parameters 2014-12-18 17:28:53 +03:00
Valentin Kipyatkov d8574f38d2 Trying to rewrite code to avoid JVM crash 2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 6ec10b9b6b Correct completion of nested/inner classes after dot
#KT-1889 Fixed
2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 8f32a6c1f9 Partial body resolve test to test 2 resolve modes 2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 2a41856af6 Changed API in ResolutionFacade to resolve to element to support 3 modes 2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 9c8b7ed6f5 Fixed KT-6408 Completion auto-popup prevents smooth typing of "!in"
#KT-6408 Fixed
2014-12-18 15:48:27 +03:00
Valentin Kipyatkov acc55c8c24 Optimization 2014-12-18 15:48:27 +03:00
Valentin Kipyatkov 0508e7e031 Safer class name insertion - do not insert artificial prefix too often because it may affect code parsing below in the file 2014-12-18 15:48:26 +03:00
Valentin Kipyatkov 8e1af2b720 Fixed occasional insertions of fq-names by completion and similar effects
#KT-6182 Fixed
 #KT-6111 Fixed
2014-12-18 15:48:26 +03:00
Valentin Kipyatkov bdf7455578 KT-5986 No code completion for second type argument of HashMap instantiation
KT-6406 Code completion in type argument position should not include functions and variables

 #KT-5986 Fixed
 #KT-6406 Fixed
2014-12-18 15:47:59 +03:00
Valentin Kipyatkov e9f1ae5886 More clear test data format 2014-12-18 15:47:59 +03:00
Valentin Kipyatkov cb5c12cda3 Completion of object's in type position - they can be used there 2014-12-18 15:47:59 +03:00
Valentin Kipyatkov ca2b1efac9 A bit more clear code 2014-12-18 15:47:59 +03:00
Valentin Kipyatkov 191d3e2766 Corrected usages of isNullableType/isMarkedNullable 2014-12-18 15:47:58 +03:00
Valentin Kipyatkov 9f845f0de4 Fixed KT-4892 Override method generates redundant type arguments in call to super
#KT-4892 Fixed
2014-12-18 15:41:34 +03:00
Valentin Kipyatkov 4b9bcce07a Fixed KT-4431 Override/implement val: generate getter instead of initializer
#KT-4431 Fixed
2014-12-18 15:41:33 +03:00
Zalim Bashorov eae4cdbd8f Log error when cannot read properties. 2014-12-18 14:34:38 +03:00
Zalim Bashorov 465c4a397e Rename manifest.properties to kotlinManifest.properties to avoid clashing with other resources. 2014-12-18 14:34:37 +03:00
Michael Nedzelsky 543141c564 JS backend: fix KT-6323: KotlinJS library modules
#KT-6323 Fixed
2014-12-18 02:08:55 +03:00
Michael Nedzelsky 9f0f930e26 JS backend: tests for KT-6323 KotlinJS library modules 2014-12-18 02:08:52 +03:00
Valentin Kipyatkov 2074872de9 Completion: higher priority for sorting by deprecated 2014-12-17 22:19:38 +03:00
Michael Nedzelsky d909a66d4d do not copy js files from libraries in case of compile errors 2014-12-16 21:37:46 +03:00
Svetlana Isakova b7806be8b5 Fixed test data for builtin-classes 2014-12-16 20:01:38 +03:00
Zalim Bashorov 92984a37ea Js frontend: prohibit default values for functions annotated as nativeIndexer. 2014-12-16 18:30:05 +03:00
Zalim Bashorov 4c3073d03e JS frontend tests: add test cases with declare member extension functions. 2014-12-16 18:30:04 +03:00
Zalim Bashorov 990415b69f Minor in JS frontend: join isTopLevel and hasLocalVisibility into isMember and simplify condition. 2014-12-16 18:30:04 +03:00
Zalim Bashorov 4ed635b4a7 Minor in JS frontend: compare fq names as string to avoid crash. 2014-12-16 18:30:04 +03:00
Michael Nedzelsky 0a535432e4 JS backend: fix using old Kotlin Javascript stdlib 2014-12-16 17:48:26 +03:00
Zalim Bashorov 2484954e2f Frontend tests: serialize dynamic call descriptors and check them in diagnostic tests. 2014-12-16 17:48:26 +03:00
Zalim Bashorov d071c44126 Minor in Frontend: fix default getter return type. 2014-12-16 17:48:26 +03:00
Zalim Bashorov d666677958 JS backend: added dynamic.iterator to simplify the using "iterable" objects. 2014-12-16 17:48:25 +03:00
Ilya Ryzhenkov f4b96a0a1a Add mapIndexed() function for common case withIndex().map{} #KT-3153 Fixed 2014-12-16 17:33:27 +03:00
Ilya Ryzhenkov 846014b37f Add missing sum() on Streams. 2014-12-16 17:33:27 +03:00
Ilya Ryzhenkov f7d4ca092c Deprecate size and length property on CharSequence. 2014-12-16 17:33:26 +03:00
Ilya Ryzhenkov 053586f481 Make lazy version of assert accept function with Any return value, #KT-6459 Fixed 2014-12-16 17:33:26 +03:00
Ilya Ryzhenkov 47da114599 Document String built-in class. 2014-12-16 17:33:25 +03:00
Ilya Ryzhenkov 7b8f34388b Add Module.md and document packages. 2014-12-16 17:33:25 +03:00
Ilya Ryzhenkov 3dca4a08c3 Document Pair and Triple 2014-12-16 17:33:24 +03:00
Ilya Ryzhenkov be717f48f8 Stop using deprecated APIs 2014-12-16 17:33:24 +03:00
Ilya Ryzhenkov 2b8ffeda28 Stop generating deprecated string functions, move to deprecated folder. 2014-12-16 17:33:23 +03:00
Ilya Ryzhenkov 835c74812e Add platformStatic to Charsets values. 2014-12-16 17:33:23 +03:00
Ilya Ryzhenkov cdaa984270 Remove js custom emptyList()/emptyMap() implementation. 2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov 9242a3d3dc Use standard emptyList() 2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov fbbb7eced1 Collect deprecated code, remove unused private ImmutableArrayList 2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov 31fb24d390 Sort collections/map APIs, improve empty implementations. 2014-12-16 17:33:21 +03:00
Ilya Ryzhenkov fa0542b801 Clean size/length/first/head/empty properties and functions. 2014-12-16 17:33:21 +03:00
Ilya Ryzhenkov 828ba385ea Cleanup ordering, improve API 2014-12-16 17:33:20 +03:00
Ilya Ryzhenkov e890c2ee0d Deprecate withIndicies(), introduce optimized and fixed withIndex and forEachIndexed() 2014-12-16 17:33:20 +03:00
Alexey Sedunov b5fb09b8bc Find Usages: Support text-file search of Kotlin declarations 2014-12-16 17:24:54 +03:00