Commit Graph

21145 Commits

Author SHA1 Message Date
Andrey Breslav 2c04f900ef Merge pull request #604 from JetBrains/rr/yole/kt7049
add some missing elements to Kotlin grammar
2015-03-20 14:05:24 +03:00
Dmitry Jemerov 888b655cd6 add some missing elements to Kotlin grammar
#KT-7049 Fixed
2015-03-20 11:54:16 +01:00
Dmitry Jemerov a6e5c0a76e Merge pull request #602 from JetBrains/rr/yole/build-docs
build script to generate standard library documentation with Dokka
2015-03-20 10:05:29 +01:00
Natalia Ukhorskaya 8bcc638bec Do not analyze all files in package in JetPositionManager 2015-03-20 09:41:32 +03:00
Dmitry Jemerov 17fddbac18 change target path 2015-03-19 15:43:06 +01:00
Dmitry Jemerov ce39a27869 build script to generate standard library documentation with Dokka 2015-03-19 15:28:35 +01:00
Dmitry Jemerov a24f910b5a Merge pull request #601 from JetBrains/rr/yole/suppress-internal
Suppress documentation for the kotlin.internal package
2015-03-19 11:21:54 +01:00
Dmitry Jemerov 50c4a88661 suppress documentation for HashPMap 2015-03-19 10:41:58 +01:00
Dmitry Jemerov e9ffd589fc @suppress for APIs in kotlin.reflect.jvm.internal 2015-03-19 10:33:31 +01:00
Dmitry Jemerov cffb80c86a Suppress documentation for the kotlin.internal package 2015-03-19 09:58:38 +01:00
Andrey Breslav c7ab333fa8 JPS test data fixed for JS 2015-03-18 21:19:15 +03:00
Denis Zharkov eefea26d54 Recovery for initializer if no LBRACE
- If no LBRACE after 'init' keyword parse initializer without body
- Made getBody() nullable, appropriate checks added
2015-03-18 19:59:25 +03:00
Denis Zharkov f4ed05cd90 Update specs formatting 2015-03-18 19:59:25 +03:00
Denis Zharkov 6f60bfad84 Fix "Make supertype open" quickfix in case of using secondary ctor
#KT-7002 Fixed
2015-03-18 19:59:25 +03:00
Denis Zharkov 3e0c6fc6a2 Add quickfix "Add 'init' keyword in whole project" 2015-03-18 19:59:25 +03:00
Denis Zharkov df23ff3473 Improve AddInitKeyword quickfix
- Extract quickfix method
- Delete redundant semicolon
- Do not replace initializer PSI element
2015-03-18 19:59:25 +03:00
Denis Zharkov 13f933693f Setup spacing rules for anonymous initializers 2015-03-18 19:59:25 +03:00
Denis Zharkov bd5dbb665e Fix header scope for secondary constructors
Add companion object's scope and nested classes

 #KT-6996 fixed
2015-03-18 19:59:24 +03:00
Michael Nedzelsky 977b743f3d JS: always generate metadata while compiling from idea 2015-03-18 19:43:02 +03:00
Michael Bogdanov ed62e4972f Temporary disable smap generation 2015-03-18 19:00:24 +03:00
Michael Bogdanov 6e55ea6480 Skip smap generation if there is no source information
#KT-7022 Fixed
2015-03-18 18:49:18 +03:00
Yan Zhulanow c945a53eec Move AndroidPsiTreeChangePreprocessor to android-idea-plugin module 2015-03-18 17:51:58 +03:00
Stanislav Erokhin 0b76dbb492 Create DeprecatedLambdaSyntaxFix 2015-03-18 17:10:12 +03:00
Pavel V. Talanov a5a6ecd1ec Fix NPE from RenameOnSecondaryConstructorHandler 2015-03-18 16:34:03 +03:00
Stanislav Erokhin 43e24f6b0d Fixed test data for new lambda syntax 2015-03-18 16:06:44 +03:00
Stanislav Erokhin 371908a280 Temporary added DEPRECATED_LAMBDA_SYNTAX to tests.
It will be fixed soon.
2015-03-18 16:06:44 +03:00
Stanislav Erokhin 47e8b1e77c Create warning for old lambda syntax. 2015-03-18 16:06:44 +03:00
Stanislav Erokhin c24c3daf54 Allowed shorthand parameter list with type reference in lambda. 2015-03-18 16:06:44 +03:00
Stanislav Erokhin 7a8341d0f1 Added parser test for function with initializer. 2015-03-18 16:06:44 +03:00
Stanislav Erokhin 446816e3db Created automatic labeling of function expression. 2015-03-18 16:06:44 +03:00
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