Commit Graph

28352 Commits

Author SHA1 Message Date
Ilya Gorbunov a25f23a286 Apply @OnlyInputTypes on type parameter for contains, indexOf, lastIndexOf extensions for Iterables, Sequences and Arrays instead of @NoInfer on element parameter.
Provide covariant extensions annotated with @OnlyInputTypes:
 - Collection<T>: containsAll(Collection<T>),
 - MutableCollection<out T>: remove(T), removeAll, retainAll (Collection<T>),
 - List<T>: indexOf(T), lastIndexOf(T)
 - Map<out K, V>: get(K), containsKey(K), contains(K)
 - Map<K, V>: containsValue(V)
 - MutableMap<out K, V>: remove(K)
All *Raw extensions are deprecated.
2015-11-28 07:20:24 +03:00
Alexander Udalov f6616e6e42 Minor, improve assertion message 2015-11-27 23:35:20 +03:00
Alexander Udalov 9e7e75de12 Rename ExternalSignatureResolver -> SignaturePropagator 2015-11-27 23:34:47 +03:00
Alexander Udalov 57e75a1b28 Drop deprecated code in ModuleMapping, add TODO 2015-11-27 23:34:46 +03:00
Alexander Udalov 6345d0e6d3 Remove obsolete FallbackPaths 2015-11-27 23:34:46 +03:00
Alexander Udalov bcdea8ef10 Minor, rename dangerous getInternalName(), remove unused
FQ name can only be converted to an internal name correctly if it represents a
top-level class
2015-11-27 23:34:45 +03:00
Alexander Udalov 7b3b157707 Remove PropertyMetadata from project and bytecode, migrate code to KProperty 2015-11-27 23:34:34 +03:00
Alexander Udalov fb61dc7e81 Fix potential deadlock on lazy vs storage manager 2015-11-27 21:41:26 +03:00
Alexander Udalov caa6cdb3f7 Remove obsolete code in KotlinBuilder, rename PackageClassUtils 2015-11-27 21:41:26 +03:00
Alexander Udalov 8594cfca46 Remove kotlin.jvm.internal.KotlinPackage and corresponding code 2015-11-27 21:22:04 +03:00
Alexander Udalov ad6888dac6 Drop KPackage and deprecated stuff from Reflection/ReflectionFactory 2015-11-27 21:22:04 +03:00
Alexander Udalov 8a5b63a669 Inline PLATFORM_TYPES = true, simplify signature propagation 2015-11-27 21:22:04 +03:00
Alexander Udalov 417a27f3b1 Minor, get rid of AlternativeMethodSignature in irrelevant place 2015-11-27 21:22:04 +03:00
Alexander Udalov fa34ebac4a Delete KotlinSignature and corresponding code 2015-11-27 21:22:04 +03:00
Alexander Udalov d472154ea7 Remove KotlinSignature from tests, spec, delete tests with errors 2015-11-27 21:22:04 +03:00
Alexander Udalov 9cdeac7839 Fix exception in tower resolution on inner class constructors 2015-11-27 21:20:53 +03:00
Ilya Chernikov 96a9634ace using mapNotNull insteand of map + filterNotNull 2015-11-27 19:04:05 +01:00
Ilya Chernikov fd81063134 Renaming daemon main object, so it is better recognizable in jps/ps output 2015-11-27 19:04:05 +01:00
Ilya Chernikov c76bec51a0 Moving daemon files, renaming namespaces, modules and jar 2015-11-27 19:04:04 +01:00
Ilya Chernikov 312e931582 Code cleanup - removing public modifier, obsolete constants, fixing typos, etc. 2015-11-27 19:04:03 +01:00
Ilya Chernikov 9869fc4305 fixes after review 2015-11-27 19:04:03 +01:00
Ilya Chernikov 231949803a fixing tests 2015-11-27 19:04:02 +01:00
Ilya Chernikov 336f6de2ee Passing a log file name in logger-compatible format on Windows in tests, fixes problems with daemon tests on Windows 2015-11-27 19:04:01 +01:00
Ilya Chernikov d3797619af Some basic daemon lifetime tests 2015-11-27 19:04:01 +01:00
Ilya Chernikov 0c27bb7170 implementing equals and hashCode for CallResult classes, making get polymorphic via virtual method 2015-11-27 19:04:00 +01:00
Ilya Chernikov 6867023274 Cleanup after compilation in daemon 2015-11-27 19:04:00 +01:00
Ilya Chernikov 85b487cd84 Implementing graceful shutdown, fattest daemon elections and some minor refactorings in daemon and client behavior 2015-11-27 19:03:59 +01:00
Ilya Chernikov 2612ce56b4 Implementing new logic of choosing the daemon, startup and shutdown, some related refactorings and fixes 2015-11-27 19:03:58 +01:00
Ilya Chernikov 375679677c Implementation of the new daemon management without inter-daemon elections and with few other simplifications 2015-11-27 19:03:58 +01:00
Yan Zhulanow 1643441fdb Minor: fix quickfix tests (get/set functions are now created correctly, merge issue) 2015-11-27 20:30:19 +03:00
Mikhail Glukhikh 8788d8e2d5 Call chains: receiver data flow info is dropped for extensions with nullable receiver #KT-10056 Fixed 2015-11-27 20:23:25 +03:00
Mikhail Glukhikh 97cdaba8b0 Refactoring of getQualifiedExpressionTypeInfo 2015-11-27 17:39:56 +03:00
Mikhail Glukhikh ea4f167091 Calls to non-@JvmStatic protected members of companion objects from subclasses are now errors (unsupported yet) 2015-11-27 15:58:38 +03:00
Yan Zhulanow e39ca63bcc Android Extensions: Fix Android JPS plugin 2015-11-27 15:51:11 +03:00
Yan Zhulanow 2cbf9d7e9b Add empty Android Extensions plugin 2015-11-27 15:51:11 +03:00
Yan Zhulanow 3d6bdd14b2 Minor: fix AbstractAndroidSyntheticPropertyDescriptorTest test, sort descriptors 2015-11-27 15:51:11 +03:00
Yan Zhulanow d21985493e Mark functions with 'operator' in JS stdlib 2015-11-27 15:51:11 +03:00
Yan Zhulanow 9d1af5a17e Fix tests: "infix modifier required" and "operator modifier required" errors 2015-11-27 15:51:11 +03:00
Yan Zhulanow a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Yan Zhulanow 3001af56c9 Mark SAM adapter functions as infix or operator if the original function is marked as such 2015-11-27 15:51:11 +03:00
Yan Zhulanow b7fcbff75c Some deprecation warnings are now errors 2015-11-27 15:51:11 +03:00
Yan Zhulanow 278f1cd6ef Fix "Placing function type parameters after the function name" errors in project 2015-11-27 15:51:11 +03:00
Yan Zhulanow 87799e9b6b Fix "operator modifier required" errors in project 2015-11-27 15:51:11 +03:00
Yan Zhulanow 46ac3571d5 Fix "infix modifier required" errors in project 2015-11-27 15:51:11 +03:00
Zalim Bashorov d1c5bd4526 Minor: remove unused parameter from LookupTracker.record 2015-11-27 15:08:06 +03:00
Zalim Bashorov 7faa886d26 Minor: add more logging in KotlinBuilder 2015-11-27 15:07:57 +03:00
Michael Nedzelsky 5f13dc31f1 ConstantExpressionEvaluator: code cleanup, get rid of weak warnings 2015-11-27 14:29:47 +03:00
Michael Nedzelsky 9aae5e6457 fix KT-9553 Invalid const initializers must be compile-time errors
#KT-9553 Fixed
2015-11-27 14:29:44 +03:00
Nikolay Krasko 18f892892c Update to idea 143.1015.7 2015-11-26 22:16:43 +03:00
Alexey Sedunov e37eea2b2d Create from Usage: Add infix modifier to functions generated from binary expressions
#KT-10184 Fixed
2015-11-26 21:22:20 +03:00