Commit Graph

16320 Commits

Author SHA1 Message Date
Nikolay Krasko efa60fc1a4 Merge remote-tracking branch 'origin/HEAD' into idea14
Conflicts:
	idea/tests/org/jetbrains/jet/plugin/compilerMessages/JetCompilerMessagingTest.java
	idea/tests/org/jetbrains/jet/plugin/compilerMessages/K2JSCompilerMessagingTest.java
2014-06-26 16:46:09 +04:00
Nikolay Krasko a2fdfc714f Update to idea 138.777 2014-06-26 16:43:13 +04:00
Alexey Sedunov e73ee4bbd6 Minor: Replace deprecated function call 2014-06-26 13:06:25 +04:00
Alexey Sedunov fa73c5825e Minor: Remove unused parameter 2014-06-26 13:06:24 +04:00
Alexey Sedunov f226d99d36 Pseudocode: Add valued instructions and unbound values to AbstractPseudoValueTest 2014-06-26 13:06:23 +04:00
Alexey Sedunov 21be468e6c Pseudocode: Merge all access instructions into single file 2014-06-26 13:06:22 +04:00
Alexander Udalov 3f51338320 Save executable flag of kotlinc-jvm and kotlinc-js after zip archiving 2014-06-25 22:32:16 +04:00
Alexander Udalov 71262bdf14 Output to the current directory by default ("-output .") 2014-06-25 22:32:16 +04:00
Alexander Udalov ca219f9880 Beautify kotlinc -help output 2014-06-25 22:32:16 +04:00
Alexander Udalov 5e994778d1 Add test on "kotlinc-js -help" output 2014-06-25 22:32:15 +04:00
Alexander Udalov ebec9e961c Use hand-written usage information printer
Copy-pasted from com.sampullara.cli.Args
2014-06-25 22:32:15 +04:00
Alexander Udalov 2144088627 Don't output full compiler FQ name on -printArgs 2014-06-25 22:32:14 +04:00
Alexander Udalov f51e172570 Fix kotlinc command line usage information
Fix spelling, case, minor grammar
2014-06-25 22:32:14 +04:00
Alexander Udalov d963ff31ae Minor, don't fire up Swing thread in CLI tests 2014-06-25 22:32:14 +04:00
Alexey Sedunov cd44bc3fb0 Introduce Variable: Do not compare explicit receivers using ReceiverValue
#KT-5319 Fixed
2014-06-25 19:08:04 +04:00
Alexey Sedunov 1452ffec6d Find Usages: Classify package usages
#KT-4882 Fixed
2014-06-25 19:08:03 +04:00
Alexey Sedunov 86c8bfc864 Find Usages: Add support of searching by reference in AbstractFindUsagesTest 2014-06-25 19:08:01 +04:00
Alexey Sedunov c2aa824242 Implement light method equality based on the original declarations
#KT-4350 Fixed
2014-06-25 19:08:00 +04:00
Alexey Sedunov 4d075b5437 Extract Function: Make nameForRef extension property (so that it's not overriden by delegation and parameter rename works properly) 2014-06-25 19:08:00 +04:00
Alexey Sedunov 15611da98b Extract Function: Add header to parameter table 2014-06-25 19:07:59 +04:00
Alexey Sedunov 103daa841f Extract Function: Simplify computation of return type by pseudocode instruction 2014-06-25 19:07:58 +04:00
Nikolay Krasko 44e41c5d96 Smart enter for do-while fixed
- Do not brake code if some expression parsed as body for bare "do"
 - Fix isStatement() check
2014-06-25 17:45:37 +04:00
Nikolay Krasko a0e45e9a12 Merge master into idea14
Conflicts:
	.idea/runConfigurations/All_Tests.xml
	idea/src/org/jetbrains/jet/plugin/conversion/copy/ConvertJavaCopyPastePostProcessor.kt
	idea/tests/org/jetbrains/jet/plugin/refactoring/introduce/introduceVariable/AbstractJetExtractionTest.kt
	idea/tests/org/jetbrains/jet/shortenRefs/AbstractShortenRefsTest.kt
2014-06-25 16:26:01 +04:00
Nikolay Krasko 3f2d65762b Revert temporary commit "-- Attempt to fix completion for extensions"
This reverts commit b70f9cd675.
2014-06-25 14:52:41 +04:00
Nikolay Krasko fd4aeb75fc Smart enter for one line statements in for, while and do-while
#KT-3600 In Progress
2014-06-25 14:23:00 +04:00
Nikolay Krasko 431f3ad185 Smart enter in function literal expression
#KT-3600 In Progress
2014-06-25 14:23:00 +04:00
Nikolay Krasko d4ac3454ce Smart enter for fun declaration
#KT-3600 In Progress
2014-06-25 14:22:59 +04:00
Nikolay Krasko 150ac0ab91 Smart enter for 'do-while' expression
#KT-3600 In Progress
2014-06-25 14:22:58 +04:00
Nikolay Krasko 56efcd15aa Smart enter for 'when'
#KT-3600 In Progress
2014-06-25 14:22:58 +04:00
Nikolay Krasko 8fc60f93d3 Smart enter for 'for' expression
#KT-3600 In Progress
2014-06-25 14:22:57 +04:00
Nikolay Krasko fab74d8092 Smart enter for while statement
#KT-3600 In Progress
2014-06-25 14:22:56 +04:00
Nikolay Krasko 693080acfc Smart enter for if statement
#KT-3600 In Progress
2014-06-25 14:22:56 +04:00
Nikolay Krasko b574e3bd4f Refactoring: move function trimIndent 2014-06-25 14:22:55 +04:00
Nikolay Krasko 513ec93060 Formatting: Move '}' to next line in when 2014-06-25 14:22:55 +04:00
Nikolay Krasko 0716b09920 Fix errors in intentions after parser fixes 2014-06-25 14:22:54 +04:00
Nikolay Krasko d8490ce2a6 Don't parse entries if left brace absent in 'when' 2014-06-25 14:22:53 +04:00
Nikolay Krasko f36f1796d6 Fix recovery for 'for' expression 2014-06-25 14:22:53 +04:00
Nikolay Krasko 2571797411 Don't parse condition if there's no ( for if 2014-06-25 14:22:52 +04:00
Andrey Breslav e06154c204 Don't compile runtime for each test run by default: only do it for All Tests 2014-06-25 12:52:47 +04:00
Ilya Ryzhenkov 1842d30567 Implement equals for NumberRange in JavaScript. 2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov ca7c3d7999 Set operations (distinct, union, intersect, subtract) 2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov 132f2a5fa8 Improve performance for addAll with type check for Collection 2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov 65da4cb2fb Generalize zip(..) to merge(..) { t1, t2 -> ... }, add merge for maps. 2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov f94b79fac3 Minor. Update reference to issue. 2014-06-24 23:49:15 +04:00
Ilya Ryzhenkov 4e4d0b448c Minor. Cleanup test. 2014-06-24 23:49:15 +04:00
Ilya Ryzhenkov 516bae17d7 StringBuilder builder and appendln 2014-06-24 23:49:15 +04:00
Ilya Ryzhenkov 0717511abe Substring and replace before/after first/last occurrence of delimiter. 2014-06-24 23:49:15 +04:00
Evgeny Gerashchenko 1ce0e6cd3e Added exceptions for proguard: constants are used in JPS plugin. 2014-06-24 22:19:12 +04:00
Evgeny Gerashchenko ca4ac43add Added tests with class referenced from proto. 2014-06-24 22:18:19 +04:00
Evgeny Gerashchenko 8479ca76b0 Added clearing proto data in incremental cache. 2014-06-24 22:18:18 +04:00