Commit Graph

26807 Commits

Author SHA1 Message Date
Michael Bogdanov d78b59eb73 Package private visibility for private top-level members 2015-10-14 16:03:54 +03:00
Pavel V. Talanov d603142cc6 Provide inspection and quickfixes for usages of static fields which will be no longer accessible in future versions
For this inspection three kinds of fixes are potentially available:
- Add 'const' modifier to kotlin property
- Add '@JvmField' annotation to kotlin property
- Change field reference to getter invocation

In case user chooses to 'cleanup code', these fixes are prioritized in this order
2015-10-14 14:42:26 +03:00
Pavel V. Talanov 47cca7db1f Test data: adjust test data after prohibiting properties with typeparameters not used in receiver 2015-10-14 13:42:13 +03:00
Pavel V. Talanov 3468e83671 Drop ID property which would be unsupported 2015-10-14 13:42:11 +03:00
Pavel V. Talanov 2e75f7f103 Js stdlib: noImpl property has 'Nothing' type 2015-10-14 13:41:56 +03:00
Pavel V. Talanov be15399313 Report errors for type parameters of properties that are not used in receiver types 2015-10-14 13:40:10 +03:00
Ilya Chernikov b5537e7d42 Merge pull request #766 from JetBrains/rr/daemon-fixes
daemon fixes
2015-10-14 12:21:51 +02:00
Ilya Chernikov 3f83a2895f Code cleanup 2015-10-14 12:20:01 +02:00
Ilya Chernikov 029e823b06 Placing temp files to appropriate location in DaemonExecutionViaIntermediateProcess test 2015-10-14 12:20:01 +02:00
Ilya Chernikov d9b0e4db48 Simplifying java binary selection: java.awt.headless property seems work on all platforms 2015-10-14 12:20:00 +02:00
Ilya Chernikov 21558fe1c6 Deriving callback server classes from UnicastRemoteObject instead of manual registration, magically solves the problems with parallel builds; modifying and refactoring usage places accordingly 2015-10-14 12:20:00 +02:00
Ilya Chernikov 5b5ec2cb04 Make getDaemonConnection synchronized to avoid racing conditions on connection 2015-10-14 12:19:59 +02:00
Michael Bogdanov 0209cd080e Deprecated flag for static non-JvmField and non-const properties 2015-10-14 13:13:49 +03:00
Yan Zhulanow 275f3f8954 'operator' checks 2015-10-14 01:29:10 +03:00
Yan Zhulanow dc8e796e49 getValue()/setValue() should be marked with 'operator' 2015-10-14 01:29:09 +03:00
Yan Zhulanow bc3d1ddda0 Remove old 'get' delegate convention in interfaces 2015-10-14 01:29:09 +03:00
Ilya Gorbunov 6d2f9cc669 Remove obsolete iterator tests 2015-10-13 22:31:15 +03:00
Ilya Gorbunov c58d21a1e7 Remove obsolete test for KT-1131 2015-10-13 22:31:14 +03:00
Ilya Gorbunov 2cdd413590 StdLib generators: Add some infix extensions for DSL, remove unneeded import, simplify declarations. 2015-10-13 22:23:13 +03:00
Svetlana Isakova 075a8eaf39 Moved 'Exact' and 'NoInfer' annotations to stdlib 2015-10-13 21:42:54 +03:00
Alexey Sedunov 30d697109c Code Insight: "Generate secondary constructor" action
#KT-6970 Fixed
2015-10-13 20:56:52 +03:00
Alexander Udalov 78829b9e8f Minor, drop some obsolete usages of TRAIT in compiler 2015-10-13 20:29:39 +03:00
Alexander Udalov baaa3ef50a Remove KotlinSignature annotations from project code 2015-10-13 20:29:16 +03:00
Alexander Udalov b378969a0a Deprecate KotlinSignature, to be removed later 2015-10-13 20:29:15 +03:00
Alexander Udalov f16f4e5541 Disable loading parameter names from KotlinSignature, update test data 2015-10-13 20:29:15 +03:00
Alexey Tsvetkov c21534fea1 Fix annotation on parameter in function type test data 2015-10-13 20:11:34 +03:00
Valentin Kipyatkov d728417f7f Fixed KT-9496 FQ-class name inserted in type argument on copy/paste
#KT-9496 Fixed
2015-10-13 19:13:22 +03:00
Mikhail Glukhikh f4e1f53549 Error message fixed 2015-10-13 17:13:17 +03:00
Mikhail Glukhikh 5a16e43579 Synchronized is no more allowed on abstract functions 2015-10-13 16:37:34 +03:00
Mikhail Glukhikh ccf0c363fa Volatile is no more allowed on values #KT-7670 Fixed 2015-10-13 16:37:24 +03:00
Mikhail Glukhikh 8473be357f Effective visibility: separate InternalProtected and InternalProtectedBound, messages, test change 2015-10-13 16:31:28 +03:00
Mikhail Glukhikh 4dbd7e7f69 Effective visibility: lower bounds introduced for all protected and for protected and internal #KT-9540 Fixed 2015-10-13 16:26:05 +03:00
Michael Bogdanov bee0fb6283 Fix test data 2015-10-13 16:17:05 +03:00
Alexey Tsvetkov a564724fa8 Fix issues with incremental cache version change
#KT-9360 fixed
2015-10-13 16:12:15 +03:00
Alexey Tsvetkov af3f7dfafc Make test generated 2015-10-13 16:12:15 +03:00
Alexey Tsvetkov 0e606a3210 Prohibit named parameters in function types in supertype position 2015-10-13 16:07:55 +03:00
Alexey Tsvetkov 90849a67ae Prohibit annotations, modifiers and default values for parameters in function type
#KT-7619 fixed
2015-10-13 16:07:55 +03:00
Michael Bogdanov 27a1a17c09 Deprecate non-const properties copies in interface 2015-10-13 14:15:47 +03:00
Andrey Breslav dbc0197a36 @HiddenDeclaration deprecated 2015-10-13 13:50:16 +03:00
Andrey Breslav 8e7f6f3c8c Migrated from @HiddenDeclaration to @Deprecated(..., level = DeprecationLevel.HIDDEN) 2015-10-13 13:50:16 +03:00
Dmitry Jemerov 7663afb7e0 send OS version to plugin update checker 2015-10-13 11:27:20 +02:00
Alexander Udalov 046722100c Minor, drop unused method 2015-10-13 11:59:46 +03:00
Alexander Udalov 571e5aea83 Minor, fix space in diagnostic message 2015-10-13 11:59:18 +03:00
Alexander Udalov 5f18cb8703 Rename files in reflection.jvm
Move KDeclarationContainer.functions to KClasses and make it accept only
KClass, since KPackage is deprecated anyway
2015-10-13 11:58:45 +03:00
Michael Bogdanov a09c8105c4 Support reflection on top level properties 2015-10-13 11:14:33 +03:00
Michael Bogdanov e8f9a9f3b8 Support reflection on @JvmField properties inside class companion 2015-10-13 11:14:32 +03:00
Michael Bogdanov f4b7913dd3 sanitizeAsJavaIdentifier function moved to JvmAbi 2015-10-13 11:14:32 +03:00
Pavel V. Talanov d8be99a378 Prohibit @JvmField for private properties 2015-10-13 11:14:31 +03:00
Michael Bogdanov f7164c5bfd Don't rename class property with JvmField annotation, report clashing 2015-10-13 11:14:31 +03:00
Michael Bogdanov b713328540 Fix reflection for internal properties without getter/setter 2015-10-13 10:50:10 +03:00