Commit Graph

24374 Commits

Author SHA1 Message Date
Michael Nedzelsky 2f304c0d99 add GenerateProtoBufCompare 2015-07-28 19:48:48 +03:00
Michael Nedzelsky 459eed7d28 introduce custom options for messages in proto files 2015-07-28 19:48:44 +03:00
Michael Nedzelsky f91f957703 add a copy of descriptor.proto file from protobuf installation 2015-07-28 19:48:41 +03:00
Michael Nedzelsky ef8381f8af two optional fields have been added to Type.Constructor message in descriptors.proto in preparation to remove field which requires double interpetation 2015-07-28 19:48:37 +03:00
Mikhail Glukhikh dbf6da89b7 java.lang.annotation.Repeatable is deprecated + test in a new group: diagnostic tests with Java 8. 2015-07-28 19:03:55 +03:00
Alexey Sedunov 421f082d43 Pull Up: Minor: Extract local functions 2015-07-28 18:48:37 +03:00
Alexey Sedunov 7280be7bbc Pull Up: Do not render modifiers (except ABSTRACT and INNER) in MemberInfo text 2015-07-28 18:48:36 +03:00
Alexey Sedunov 7dc430e50b Pull Up: Support super-interfaces 2015-07-28 18:48:35 +03:00
Alexey Sedunov 1a09741c0a Pull Up: Move property initializers 2015-07-28 18:48:33 +03:00
Alexey Sedunov 390f352e75 Pull Up: Implement conflict analysis 2015-07-28 18:48:32 +03:00
Alexey Sedunov 8493908710 Conflicts Dialog: Add handler for "Show conflicts" action 2015-07-28 18:48:30 +03:00
Alexey Sedunov 39ff3c3000 Pull Up: Initial support
#KT-7330 Fixed
2015-07-28 18:48:29 +03:00
Alexey Sedunov e303a38f9e Member Info: Extended implementation (for Pull Up/Push Down) 2015-07-28 18:48:27 +03:00
Alexey Sedunov 3c36795984 Refactoring: Extract JetClassOrObject.getOrCreateBody() function 2015-07-28 18:48:26 +03:00
Alexey Sedunov 83e28b360f Refactoring: Move non-specific TypeSubstitutor factories to substitutionUtils.kt in compiler
Merge typeUtils.kt with changeSignatureUtils.kt
2015-07-28 18:48:24 +03:00
Alexey Sedunov d23da408a8 Formatter: Add blank line before class/object declaration inside of declaration body 2015-07-28 18:48:23 +03:00
Sergey Mashkov 16ec066437 Maven: integration test should aomit downloading/downloaded messages even if they are printed with no log level 2015-07-28 18:24:21 +03:00
Sergey Mashkov 8b358558c9 Maven: integration test should escape compiler version 2015-07-28 18:04:00 +03:00
Sergey Mashkov 3c3e1a0a52 Maven: eliminate warning classpath entry doesn't exist. Fix integration test 2015-07-28 17:46:15 +03:00
Mikhail Glukhikh a86857fbb5 Java Deprecated is mapped in accordance with Java Target / Retention, some diagnostic changed 2015-07-28 17:13:37 +03:00
Mikhail Glukhikh 219ffa4fb3 Dead code removed 2015-07-28 17:13:34 +03:00
Mikhail Glukhikh d6406d8d4a Annotation repetition checking with a pair of tests, some old tests changes 2015-07-28 17:13:32 +03:00
Mikhail Glukhikh 8beafe90a0 Retention / target for some standard annotations 2015-07-28 17:13:29 +03:00
Sergey Mashkov 82165d2a93 Maven: Introduce test for plugin output
Use mvn integration-test to run tests
2015-07-28 13:37:33 +03:00
Sergey Mashkov 015ac0cd5b Maven: take logger every time
The root cause of problem is that we take logger at too early stage so there is initial bootstrap maven logger that is replaced by plexus container via injector at later initialization stage. We have to use injected logger rather than initial bootstrap logger. At the same time there is no actual performance advantage to have LOG field because of JIT inliner will inline getLog() body anyway.

#KT-8630 Fixed
2015-07-28 13:37:23 +03:00
Dmitry Jemerov 38151d4932 remove ReadMe.md with outdated information 2015-07-28 11:12:16 +02:00
Ilya Gorbunov 2f1c8a3dfa Remove special case of generation for numeric and toPrimitiveArrays. 2015-07-27 19:02:49 +03:00
Ilya Gorbunov dd71cbb96e Accept more generic ranges in contains. 2015-07-27 19:02:47 +03:00
Ilya Gorbunov e127e234f8 Stdlib Generators: add generic ranges, allow specify concrete primitive for generic, render types in receiver. 2015-07-27 19:02:45 +03:00
Alexey Sedunov f4ebd895ca Change Signature: Reduce JetChangeSignatureUsageProcessor state to prevent
memory leaks. JetMethodDescriptor is stored in UsageInfo list
2015-07-27 17:29:02 +03:00
Alexey Sedunov 4f12dcc069 Move: Make MoveKotlinFileHandler stateless to prevent memory leaks. MoveKotlinTopLevelDeclarationsProcessor is made part of transient state, PackageNameInfo is recomputed based on file user data and container 2015-07-27 17:29:01 +03:00
Dmitry Jemerov 978fb2c1cf don't go outside of file when trying to find enclosing element for declaration 2015-07-27 11:43:12 +02:00
Natalia Ukhorskaya 47b94326ec Add NotNull assertions at project.getComponent
(cherry picked from commit 9b1167c)
2015-07-27 12:06:01 +03:00
Natalia Ukhorskaya 728290f99e Fix compilation error in tests
(cherry picked from commit ea5b532)
2015-07-27 12:06:01 +03:00
Natalia Ukhorskaya 71bf9b1b30 LightProjectDescriptor is no longer an interface
(cherry picked from commit b99235b)
2015-07-27 12:06:00 +03:00
Natalia Ukhorskaya e66569c451 Update to IDEA 3371.3 2015-07-27 12:06:00 +03:00
Dmitry Petrov a64f1a86c0 Fix KT-8608: Compiler crashes with assertion Restore stack is unavailable
- fix SAVE_STACK_BEFORE_TRY insertion:
  TRYCATCHBLOCK LA, LB, LC
  LA
    NOP
    try_body
  LB
    ...
  LC
    handler_body
should be transformed into:
  LA
    {SAVE_STACK_BEFORE_TRY}
  LA' // new TCB start label
    NOP
    try_body
  LB
    ...
  LC
    handler_body
with all TCBs start labels remapped

- properly wrap exceptions from MandatoryMethodTransformer

 #KT-8608 Fixed
2015-07-27 10:40:14 +03:00
Valentin Kipyatkov a58f249a01 KT-8576 Parameter name&type completion: don't auto-popup for the second time
#KT-8576
2015-07-27 10:37:12 +03:00
Valentin Kipyatkov b9a62d0acf Fixed parameter name&type auto-popup completion to insert "dynamic" on typing ": " 2015-07-27 10:37:11 +03:00
Alexey Sedunov acb8c54902 Move: Get rid of MoveKotlinTopLevelDeclarationsOptions.sourceFile 2015-07-24 21:03:07 +03:00
Alexey Sedunov 9219f2214e Move: Fix ClassCastException on attempt to move several classes (located in different files) to the same file
#KT-8437 Fixed
2015-07-24 21:03:06 +03:00
Alexey Sedunov e74749eea1 Move: Reinitialize move context as MoveFileHandler.findUsages() can be bypassed
#KT-8436 Fixed
2015-07-24 21:03:05 +03:00
Alexey Sedunov 5179c10b4c Move: Disable "Update package directive" check box when moving separate declarations instead of entire file
#KT-8414 Fixed
2015-07-24 21:03:04 +03:00
Alexey Sedunov 05fd4b75dd Move: NPE fix
#KT-8410 Fixed
2015-07-24 21:03:03 +03:00
Alexey Sedunov fc885dedc5 Move: Do not use "Search references" Java options when silently invoking Move refactoring for entire file. Default to true instead 2015-07-24 21:03:02 +03:00
Alexey Sedunov cc13c157f6 Move: Forbind moving to non-Kotlin file
#KT-8500 Fixed
2015-07-24 21:03:01 +03:00
Alexey Sedunov 82a47a0f2d Move: Fix "Update package directive" label
#KT-8546 Fixed
2015-07-24 21:03:00 +03:00
Sergey Mashkov 0453368990 Better main function recognition and tests
fix vararg main
2015-07-24 17:20:40 +03:00
Sergey Mashkov 8457b53f8b Better main function recognition and tests 2015-07-24 17:20:40 +03:00
Pavel V. Talanov 273e69c02c Refactor: Pass buitlins into IntegerValueTypeConstant and IntegerValueTypeConstructor 2015-07-24 13:47:59 +03:00