Commit Graph

22552 Commits

Author SHA1 Message Date
Andrey Breslav a2b1a86ef5 Rename packages in kotlin-reflect.jar so that they do not duplicate compiler classes 2015-05-19 17:15:02 +03:00
Andrey Breslav 100c1b2787 Proguard instruction extracted to a separate file 2015-05-19 17:15:02 +03:00
Andrey Breslav f7a9cc6b28 Fix for EA-64905 - assert: TypeUtils.intersect 2015-05-19 17:15:02 +03:00
Mikhail Glukhikh 1389b62fa4 Enum entry delimiters / super constructors: a few remaining warnings removed 2015-05-19 17:07:47 +03:00
Pavel V. Talanov 5b14d5be28 ClsStubBuilder: fix stub builder in case of java types annotated with special annotations 2015-05-19 16:01:40 +03:00
Sergey Mashkov 09e7e0da4d JS: example library to use new library format 2015-05-19 15:51:38 +03:00
Sergey Mashkov 4ef745974e Maven: Fix build for Maven 3.0.5 2015-05-19 15:00:10 +03:00
Mikhail Glukhikh 1edce76d01 Fix for EA-68569 with a test. #EA-68569 Fixed 2015-05-19 13:55:28 +03:00
Nikolay Krasko 0108205367 Minor: log class of element in assert message 2015-05-19 13:04:57 +03:00
Nikolay Krasko 9c507ec9cb Use equality check when looking for java elements in IDE 2015-05-19 13:04:56 +03:00
Nikolay Krasko edeea5e399 Refactoring: move JavaDescriptorResolver extensions to idea-analysis module 2015-05-19 13:04:55 +03:00
Nikolay Krasko ea789845aa J2K: LazyTopDownAnalyzer - converter fixes 2015-05-19 13:04:54 +03:00
Nikolay Krasko 6caa1e644d J2K: LazyTopDownAnalyzer - converter 2015-05-19 13:04:54 +03:00
Nikolay Krasko 94386f35e3 J2K: LazyTopDownAnalyzer - rename file 2015-05-19 13:04:53 +03:00
Mikhail Glukhikh 3585c45f70 Fixed a quick fix for enum entry delimiters: situation with following comments. Three new tests. isAvailable(). 2015-05-19 11:22:57 +03:00
Mikhail Glukhikh 6342b98592 Fixed a quick fix for enum entry short super constructor syntax (situation with a preceding comment / annotation). Four extra tests. isAvailable(). 2015-05-19 11:22:34 +03:00
Natalia Ukhorskaya 62e9c31987 Do not step into package facade class if SKIP_SYNTHETIC_METHODS flag is true 2015-05-19 10:39:09 +03:00
Michael Bogdanov 0cb4b8f8d4 Fix outer info generation for scripts 2015-05-19 10:34:34 +03:00
Andrey Breslav 0426291bd7 Test data fixed 2015-05-19 06:26:11 +03:00
Alexey Sedunov fa03e4e76c Move: Implement "Update package directive" option 2015-05-18 21:18:56 +03:00
Alexey Sedunov d88e01e770 Convert to Kotlin: KotlinMoveFilesOrDirectoriesHandler.kt 2015-05-18 21:18:55 +03:00
Alexey Sedunov e854da386d Convert to Kotlin: Rename KotlinMoveFilesOrDirectoriesHandler.java -> .kt 2015-05-18 21:18:54 +03:00
Alexey Sedunov c34ba01513 Move: Place "Destination directory" panel under "To Package" option. Fix panel title. Add missing mnemonics 2015-05-18 21:18:54 +03:00
Alexey Sedunov 7bc5ec04c7 Move: Suggest deleting file when all declarations are moved 2015-05-18 21:18:53 +03:00
Alexey Sedunov 6c4b895f72 Move: Do not search/process usages if package is not changed 2015-05-18 21:18:52 +03:00
Alexey Sedunov da6b8b75ea Move File/Change Package: Change package directive prior to processing of internal usages (otherwise some necessary imports are not added) 2015-05-18 21:18:51 +03:00
Alexey Sedunov 1a60995ea9 Move: Forbid refactoring if target file is the same as the original one 2015-05-18 21:18:50 +03:00
Alexey Sedunov 35bdf9c261 Minor: Code cleanup 2015-05-18 21:18:49 +03:00
Alexey Sedunov 38ae9349fc Move: Move entire file if all declarations are selected ("Move to Package" mode) 2015-05-18 21:18:48 +03:00
Alexey Sedunov 7cf7a14d9b Move: Warn about moving to the existing file in "Move to Package" mode 2015-05-18 21:18:47 +03:00
Alexey Sedunov 870c9c4668 Move: Allow the user to choose target file name when moving declarations to package 2015-05-18 21:18:47 +03:00
Alexey Sedunov 2bd21b0f37 Move: Allow moving several files represented by their top-level declarations in the Project View (provided there is only one declaration per file) 2015-05-18 21:18:46 +03:00
Alexey Sedunov f08438c53c Move: Fix dialog layout (member selection panel should take as much space as possible)
#KT-7696 In Progress
2015-05-18 21:18:45 +03:00
Alexey Sedunov d88d7a0ac5 Move: Do not use existing file name when moving its top-level declaration(s)
#KT-7697 Fixed
2015-05-18 21:18:44 +03:00
Sergey Mashkov 72238c4d39 Maven: maven annotations is required in compile time in some cases 2015-05-18 19:59:55 +03:00
Mikhail Glukhikh 0d7f649cc2 Implementation of exhaustive whens in control flow analysis.
Now control flow analyzer knows when is exhaustive.
If despite of this all conditions are accidentally false, jump to error is generated.
A set of tests (diagnostic, control flow). #KT-5113 Fixed. #KT-6046 Fixed. #KT-1882 Fixed.
2015-05-18 19:44:29 +03:00
Mikhail Glukhikh c4aa6d01a9 Exhaustive when on boolean argument. A set of tests.
Compile-time constants are taken into account. #KT-3743 Fixed.
2015-05-18 19:44:22 +03:00
Mikhail Glukhikh 633b252ff5 Unnecessary comment removed 2015-05-18 19:43:02 +03:00
Sergey Mashkov 42662d7349 JS: example project to produce full artifacts set: production+test sources jar, production+test binary jar 2015-05-18 19:36:19 +03:00
Sergey Mashkov d04ec74217 Maven: use maven-annotations in kotlin-maven-plugin 2015-05-18 19:36:19 +03:00
Sergey Mashkov 35ed682714 Maven: Introduce test-js goal
#KT-7757 Fixed Maven K2JS should be able to build tests too
2015-05-18 19:36:18 +03:00
Sergey Mashkov b25ae3d7dd JS stdlib-gen shouldn't call outdated codegen 2015-05-18 19:35:48 +03:00
Sergey Mashkov 606ea7bb70 Do not pass non-existing source roots to the compiler
#KT-3679 Fixed Maven build fails when some source directories don't exist
2015-05-18 19:27:35 +03:00
Sergey Mashkov 0578f44fd0 Maven: don't scan target directories for annotations in multimodule project
#KT-7187 Fixed Maven K2JVM compiler scanning for annotations
2015-05-18 19:27:35 +03:00
Andrey Breslav df6c20efa4 KT-7689 Wrong error message format for type of ... doesn't match to the type of overridden var-property
#KT-7689 Fixed
2015-05-18 19:26:29 +03:00
Mikhail Glukhikh fdf0ea5546 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries 2015-05-18 16:08:16 +03:00
Pavel V. Talanov 5c3d8c1616 Update api usages in NoInternalVisibilityInStdLibTest
Broken by 01efbb1502
2015-05-18 16:01:31 +03:00
Michael Bogdanov 58183731f5 Test for obsolete KT-5448: VerifyError with mismatched stack types
#KT-5448 Obsolete
2015-05-18 15:28:58 +03:00
Michael Bogdanov 5cb9671803 Support inlining in scripts and outer expression capturing
#KT-7744 Fixed
2015-05-18 14:47:57 +03:00
Michael Bogdanov 226350b4ba Test data fixed: replace trait with interface 2015-05-18 11:57:39 +03:00