Commit Graph

28375 Commits

Author SHA1 Message Date
Natalia Ukhorskaya b8d0685b71 Do not analyze imports in codeFragments
EA-76222 - assert: GetModuleInfoKt$getModuleInfo$.invoke Fixed
2015-11-30 12:38:15 +03:00
Natalia Ukhorskaya d0355a793b Write lineNumbers for constructors 2015-11-30 12:25:51 +03:00
Natalia Ukhorskaya 3ec383dfca Debugger: find context element in file copy using UserData 2015-11-30 12:25:50 +03:00
Natalia Ukhorskaya 0d984ce8e2 Refactor AbstractLineNumberTest using assertEqualsToFile 2015-11-30 12:25:50 +03:00
Natalia Ukhorskaya 076e9c8dd1 Use debugProcess scope in KotlinPositionManager 2015-11-30 12:25:49 +03:00
Natalia Ukhorskaya 028016412e Convert DebuggerUtils to kotlin 2015-11-30 12:25:48 +03:00
Natalia Ukhorskaya 1136c5f54b Rename DebuggerUtils.kt 2015-11-30 12:25:48 +03:00
Natalia Ukhorskaya e3e5fce3eb Minor: fix warnings in SmartStepIntoHandler 2015-11-30 12:25:47 +03:00
Natalia Ukhorskaya 9bcc9e4b1d Smart step into for constructors 2015-11-30 12:25:46 +03:00
Natalia Ukhorskaya 062b27995c Debugger: do not change package name for debug function 2015-11-30 12:25:45 +03:00
Natalia Ukhorskaya 002aaaa908 Debugger: fix imports if context element is inside inline lambda 2015-11-30 12:25:45 +03:00
Natalia Ukhorskaya d2ef7b0ae0 Minor: get line start without whitespaces in KotlinExtraVariablesProvider
#KT-10183 Fxied
2015-11-30 12:25:44 +03:00
Natalia Ukhorskaya 0d486e1cfc Minor: fix warnings 2015-11-30 12:25:43 +03:00
Michael Nedzelsky 9a0520b30e fix EA-76198 (assert: KtElementImplStub.getContainingKtFile) 2015-11-30 10:49:03 +03:00
Alexander Udalov 460dad135c Rename Extension annotation to ExtensionFunctionType 2015-11-30 02:51:04 +03:00
Ilya Gorbunov 0a47d1cac2 Restore deprecated InputStream.iterator() with a replacement. 2015-11-29 04:38:28 +03:00
Ilya Gorbunov 941167e241 Revert "Drop deprecated toGenerator and toLinkedList." until RC 2015-11-29 04:37:45 +03:00
Ilya Gorbunov f8fe3e6c1d Restore dropped hidden declarations for binary compatibility until RC. 2015-11-29 04:37:35 +03:00
Nikolay Krasko 9e0e3aaebb Don't insert {} after 'else' and 'try' in infinished statements 2015-11-28 20:22:28 +03:00
Ilya Gorbunov 5301f3eb46 Fix contains usages in compiler. 2015-11-28 07:21:39 +03:00
Ilya Gorbunov 54b415593a Replacement upcasts parameter to the most specific supertype in case of contains, indexOf, lastIndexOf, remove, get, containsKey, containsValue. 2015-11-28 07:21:38 +03:00
Ilya Gorbunov de86e90103 Generate indexOf and lastIndexOf extensions for List. 2015-11-28 07:20:27 +03:00
Ilya Gorbunov c7d08ea599 Remove *Raw method usages from tests 2015-11-28 07:20:25 +03:00
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