Commit Graph

21115 Commits

Author SHA1 Message Date
Stanislav Erokhin 4eac3f3f0e Remove useless casts after fixing subtyping for star projections 2015-03-18 16:06:44 +03:00
Alexander Udalov 8788bc7cc6 Fix classpath for ant tests 2015-03-18 16:06:44 +03:00
Nikolay Krasko e80e033a1c Fixes after review: better code in splitting bundled runtime version 2015-03-18 15:38:19 +03:00
Natalia Ukhorskaya 77139f20b9 Inline ${protobuf.version} into kotlin-reflect pom.xml (it couldn't be resolved from gradle) 2015-03-18 15:36:19 +03:00
Evgeny Gerashchenko 2fcee37b58 Temporarily disabled "Unused symbol" for companion objects. 2015-03-18 15:20:45 +03:00
Evgeny Gerashchenko 2aeccc7011 Expanded incremental compilation tests with cache version change. 2015-03-18 15:20:45 +03:00
Alexander Udalov 2f001ca696 Pack built-ins metadata to kotlin-runtime Maven artifact
This fixes reflection usage against Maven's kotlin-reflect
2015-03-18 14:38:26 +03:00
Pavel V. Talanov bb2f08635c default -> companion: Minor: fix comment 2015-03-18 14:35:54 +03:00
Pavel V. Talanov 41b65205b0 default -> companion: fix message for quick fix 2015-03-18 14:35:53 +03:00
Yan Zhulanow e69a1d6aba Zip KotlinAndroidExtensions artifact 2015-03-18 13:09:49 +03:00
Natalia Ukhorskaya 5cea6cfb45 Extra variables: check range before create 2015-03-18 11:03:36 +03:00
Alexey Sedunov 429a50ab87 Safe Delete: Support secondary constructors and delegation calls 2015-03-18 10:56:37 +03:00
Denis Zharkov e05cbf5e9f Support secondary constructors and delegation calls in Change Signature.
Initial support of Find Usages
2015-03-18 10:56:36 +03:00
Denis Zharkov 488754de7d Move declarationsSearch package from idea to idea-analysis
It will be used in later commits by idea-analysis code
2015-03-18 10:56:35 +03:00
Denis Zharkov 0debd1ce6f Make IDE parts using light methods work with JetFunction 2015-03-18 10:56:34 +03:00
Alexey Sedunov 7d278f2f42 Use class name as secondary constructor name 2015-03-18 10:56:33 +03:00
Denis Zharkov c0c1273388 Prohibit rename refactoring on secondary ctor
Make custom handler that runs when caret is on secondary ctor
but do nothing because constructors don't have name.

It's neccessary because otherwise default handler will be ran
with proposition to rename class.

Also note, that we do not run this handler when
caret is on constructor's body or argument's list to allow renaming
inner declarations.
2015-03-18 10:56:32 +03:00
Denis Zharkov 25de64c6ab Support class rename in place of secondary ctor call 2015-03-18 10:56:31 +03:00
Denis Zharkov 4b564fcc51 Do not show "Convert to extension" intention for secondary constructors
#KT-6969 Fixed
2015-03-18 10:56:30 +03:00
Denis Zharkov d1308ebf84 Don't report unused symbol if secondary constructor used
#KT-6997 Fixed
2015-03-18 10:56:29 +03:00
Denis Zharkov c6290efbe2 Fix origin of secondary constructors 2015-03-18 10:56:28 +03:00
Dmitry Jemerov 615258877a Merge pull request #595 from JetBrains/rr/yole/render-markdown
render Markdown and support link navigation in KDoc comments
2015-03-18 08:39:35 +01:00
Michael Nedzelsky e3bd99d510 JS: fix clash between sources and metadata in one library 2015-03-18 09:39:34 +03:00
Michael Nedzelsky 577921d4f7 add JsHeaderLibraryDetectionUtils.isJsHeaderLibraryWithSources 2015-03-18 09:39:31 +03:00
Michael Nedzelsky 6f0ee2ed94 JetSourceNavigationHelper: support for Kotlin/Javascript navigation to sources 2015-03-18 09:39:29 +03:00
Michael Nedzelsky 19950fcc60 DecompiledNavigationUtils: support navigation for Kotlin/Javascript 2015-03-18 09:39:27 +03:00
Michael Nedzelsky 803e95364c add KotlinJavascriptMetaFileDecompiler and support for .meta files 2015-03-18 09:39:25 +03:00
Michael Nedzelsky 5b6849225c DecompiledTextFactory: add buildDecompiledTextFromJSMetadata 2015-03-18 09:39:22 +03:00
Michael Nedzelsky 6b94962f77 add JsMetaFileUtils 2015-03-18 09:39:20 +03:00
Michael Nedzelsky daaa99989b IdeaModuleInfos: add LIBRARY_PREFIX constant 2015-03-18 09:39:18 +03:00
Michael Nedzelsky 7a00c3cddd KotlinClsStubBuilder class: final -> open 2015-03-18 09:39:15 +03:00
Michael Nedzelsky 4538324b96 add serialization.js compiler output to kotlin-plugin artifact 2015-03-18 09:39:13 +03:00
Michael Nedzelsky 21ef6d5771 temporary solution for all classes completion for Kotlin/Javascript libraries 2015-03-18 09:39:11 +03:00
Michael Nedzelsky 094bd1da4b JsAnalyzerFacade: support for metadata 2015-03-18 09:39:09 +03:00
Michael Nedzelsky b0b90ff6a9 add KotlinJavascriptSerializerTest 2015-03-18 09:39:06 +03:00
Michael Nedzelsky 33cdf8c969 JS backend: add cli test for creating metadata and ant test for library with metadata 2015-03-18 09:39:04 +03:00
Michael Nedzelsky 0050c9888d fix KotlinJpsBuildTest 2015-03-18 09:39:02 +03:00
Michael Nedzelsky 1a4a7f6715 build.xml: remove module name from js-stdlib manifest file 2015-03-18 09:39:00 +03:00
Michael Nedzelsky a1ee616769 build.xml: create and archive meta information for js-stdlib 2015-03-18 09:38:58 +03:00
Michael Nedzelsky 7ebfd37c33 JS backend: support for reading metadata 2015-03-18 09:38:55 +03:00
Michael Nedzelsky 3bf14518e8 JS backend: add -meta-info command line option for cli compiler 2015-03-18 09:38:53 +03:00
Michael Nedzelsky 711501af56 add new module js.serializer 2015-03-18 09:38:51 +03:00
Michael Nedzelsky af4afaba4a DescriptorUtils: add getPackagesFqNames 2015-03-18 09:38:49 +03:00
Michael Nedzelsky e0c0012a20 add serialization.js module 2015-03-18 09:38:47 +03:00
Michael Nedzelsky 9be62de964 add FlexibleTypeCapabilitiesDeserializer.Dynamic object 2015-03-18 09:38:45 +03:00
Michael Nedzelsky a7ba93c1d1 add flexibleTypeCapabilitiesDeserializer field to BuiltinsPackageFragment 2015-03-18 09:38:42 +03:00
Michael Nedzelsky 77e9ab8ad7 JS: FunctionReader: remove unnecessary check for libraries 2015-03-18 09:38:40 +03:00
Michael Nedzelsky 69417903e2 kotlin_lib_ecma5.js: add metadata function 2015-03-18 09:38:38 +03:00
Michael Nedzelsky a6c21fbe85 JS backend: LibraryUtils: add support for load and write metadata 2015-03-18 09:38:36 +03:00
Michael Nedzelsky c927b69103 DescriptorSerializer: add skip argument to packageProto method 2015-03-18 09:38:33 +03:00