Commit Graph

23780 Commits

Author SHA1 Message Date
Dmitry Jemerov c5ea13e5a6 KotlinColorSettingsPage: J2L 2015-07-07 14:58:57 +03:00
Dmitry Jemerov cdf9025f38 JetColorSettingsPage: rename to .kt 2015-07-07 14:58:55 +03:00
Nikolay Krasko 65c6bad542 Remove bundled plugin from ideaSDK 2015-07-07 14:58:53 +03:00
Nikolay Krasko 23ae5ae57c Remove own idea runtime and reflect jars 2015-07-07 13:36:57 +03:00
Natalia Ukhorskaya 002bca2f01 Fix compilation 2015-07-07 13:36:56 +03:00
Nikolay Krasko fed264580d Update to 142.2887.3 2015-07-07 13:36:55 +03:00
Dmitry Petrov 4e42cc6b81 Save/restore stack in try-expressions (and statements).
Parse TryCatchBlockNode's in generated bytecode, infer stack save/restore points.
Save stack to local variables before 'try'.
Restore stack after the beginning of try-block, catch-block, and default handler.
Integrate before/after inline markers rewriting (otherwise it'll break our stacks).

 #KT-3309 Fixed
2015-07-07 12:16:29 +03:00
Nikolay Krasko 534154e20d Replace trait to interface icons
#KT-8319 Fixed
2015-07-06 21:06:13 +03:00
Nikolay Krasko 2cde746047 Usage highlighting test 2015-07-06 21:06:12 +03:00
Nikolay Krasko 68384a9b4a Avoid looking for light methods if only Kotlin search needed 2015-07-06 21:06:11 +03:00
Ilya Gorbunov f440d97e04 Remove unnecessary Char.toChar from tests. 2015-07-06 17:57:35 +03:00
Ilya Gorbunov 456bab40d1 Ensure value of correct return type is on stack after intrinsic Char +/- Int and Char - Char binary operations. 2015-07-06 17:57:33 +03:00
Ilya Gorbunov 222d4002ac Add char binary operations to JVM codegen tests. 2015-07-06 17:57:25 +03:00
Valentin Kipyatkov 26f72d0935 MInor corrections after code review 2015-07-06 16:48:51 +03:00
Valentin Kipyatkov c75a18291c KT-7918 J2K: don't generate jvmOverloads on private declarations
#KT-7918 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov 2999aaf974 KT-8034 J2K: save file before performing the conversion
#KT-8034 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov 4c80db9249 KT-8110 J2K: Don't convert "==" to "===" for enum classes
#KT-8110 Fixed
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov 767e21db76 J2K - no '@' required for primary constructor annnotations 2015-07-06 16:48:51 +03:00
Valentin Kipyatkov 8e3c793760 Used named arguments for clarity 2015-07-06 16:48:50 +03:00
Valentin Kipyatkov 67cf180aba Code clarification 2015-07-06 16:48:50 +03:00
Valentin Kipyatkov d3402280c5 Extracted methods 2015-07-06 16:48:50 +03:00
Valentin Kipyatkov e9b4045eac Fixed test data 2015-07-06 16:48:50 +03:00
Valentin Kipyatkov 40fe680acf J2K: preserving line breaks between arguments 2015-07-06 16:48:50 +03:00
Valentin Kipyatkov fefb828fae J2K: preserving line breaks between parameters 2015-07-06 16:48:50 +03:00
Valentin Kipyatkov 1e988028a9 Optimization 2015-07-06 16:48:49 +03:00
Valentin Kipyatkov 403549b924 Renames 2015-07-06 16:48:49 +03:00
Valentin Kipyatkov 6679a6912e Memory optimizations + more clear code 2015-07-06 16:48:49 +03:00
Valentin Kipyatkov fdff2c7153 J2K: preserving line breaks between enum members from original code 2015-07-06 16:48:49 +03:00
Alexander Udalov f9afb4f95b Make CLASS default class kind in binary metadata
Don't write the kind to the class file if it's CLASS to save some bytes
2015-07-06 16:19:57 +03:00
Alexander Udalov b0e963bf34 Binary metadata: make repeated int fields packed
To save some bytes for enums and classes with many nested classes
2015-07-06 16:19:55 +03:00
Alexander Udalov 5e011b92ef Add source roots to modules 'builtins' and 'runtime.jvm'
This is done to be able to write code in the module 'reflection.jvm' in the IDE
without lots of unresolved errors and such
2015-07-06 16:19:55 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Alexander Udalov 0bad4e0137 Make KotlinJvmCheckerProvider non-singleton, pass module to it 2015-07-06 16:19:53 +03:00
Alexander Udalov ac0db5ce80 Fix incorrect TypeCastException message when casting null
#KT-5121 Fixed
2015-07-06 16:14:22 +03:00
Alexander Udalov cb03f0df5a Fix casts of Unit value to other types 2015-07-06 16:14:06 +03:00
Alexander Udalov 62c22bf0ec Minor, simplify ExpressionCodegen#binaryWithTypeRHS 2015-07-06 16:06:15 +03:00
Ilya Gorbunov 80074c71fa Minor: Correct typo in 'intrinsic' 2015-07-04 04:47:12 +03:00
Ilya Gorbunov 1605027b19 Change return type of Char plus Int and Char minus Int binary operations.
JS: Remove unnecessary intrinsic binary operation patterns, adjust intrinsics for binary operations with char.
2015-07-04 04:47:00 +03:00
Ilya Gorbunov 39b27751df Drop deprecated char operations: correct test data. 2015-07-04 04:46:23 +03:00
Ilya Gorbunov e8aff3360a Do not use deprecated operations in ranges and progressions hashCode. 2015-07-04 04:46:11 +03:00
Ilya Gorbunov 2c4db42319 Drop deprecated char binary operations. 2015-07-04 04:45:59 +03:00
Ilya Gorbunov 005a0a1eb6 Eliminate deprecated char operation usages in stdlib 2015-07-04 04:45:47 +03:00
Nikolay Krasko ff9c251438 Filter out overridden candidates before looking for most specific
This filtering will remove signature duplicates that prevent findMaximallySpecific() from finding best candidate.
2015-07-03 20:59:48 +03:00
Evgeny Gerashchenko 01b83b3e3e Minor. Fixed test data. 2015-07-03 19:48:01 +04:00
Alexey Sedunov 5319e9e761 Change Signature: Support configurable Change Signature for Java code
#KT-5923 Fixed
2015-07-03 18:38:06 +03:00
Alexey Sedunov 9e82411e78 Change Signature: Do not process calls with unmatched arguments/parameters 2015-07-03 18:38:05 +03:00
Alexey Sedunov 4cc2a57aed Minor: Pull up original property 2015-07-03 18:38:04 +03:00
Alexey Sedunov e9b2732aa9 Minor: Drop unused class 2015-07-03 18:38:03 +03:00
Alexey Sedunov 161539f3da Change Signature: val/var parameter support 2015-07-03 18:38:02 +03:00
Alexey Sedunov 2ff63d37c2 Change Signature: Property support
#KT-6599 Fixed
2015-07-03 18:38:01 +03:00