Commit Graph

21260 Commits

Author SHA1 Message Date
Yan Zhulanow 1338e0cd0a Replicate IDEA plugin versions only on TeamCity build 2015-03-26 16:12:10 +03:00
Michael Nedzelsky 7b15f9c7c9 JS: add message to assert in JsLibraryStdDetectionUtil 2015-03-26 15:50:27 +03:00
Michael Nedzelsky 2f7ebf677f JS: allow js-file in library-files for cli compiler 2015-03-26 00:22:19 +03:00
Pavel V. Talanov b2d0b2ebc9 Fix erroneous squash: isOnTeamcity check actually does something 2015-03-25 21:39:31 +03:00
Pavel V. Talanov 929d4644b5 Output compilation time as teamcity statistics in jps plugin 2015-03-25 20:01:23 +03:00
Dmitry Jemerov bb1410b20a generate more correct bytecode for casting Unit to other types 2015-03-25 17:51:04 +01:00
Pavel V. Talanov 9d618ca767 Replace OBJECT$ usages in code and test data 2015-03-25 18:28:01 +03:00
Pavel V. Talanov ed218c473a Get rid of 'class object' usages in code and builtins
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Natalia Ukhorskaya 67f84c0f76 Update to IDEA 14.1 (141.177.4) 2015-03-25 17:44:35 +03:00
Natalia Ukhorskaya a92022edcd Minor: replace deprecated function calls 2015-03-25 17:44:05 +03:00
Dmitry Jemerov a33162ba46 add build-docs.xml to ant.xml 2015-03-25 15:32:43 +01:00
Dmitry Jemerov a19fadf454 add Module.md to docs build script 2015-03-25 15:32:42 +01:00
Dmitry Jemerov 389498eb91 Merge pull request #621 from JetBrains/rr/yole/kt4142
Regression tests for some more obsolete issues in the JVM backend
2015-03-25 13:28:38 +01:00
max-kammerer c35dbb2746 Merge pull request #617 from JetBrains/rr/yole/number-toint
when generating coercion, take into account the original type of the exp...
2015-03-25 15:19:05 +03:00
Ilya Gorbunov a34e15e157 Rename methods: trimLeft/Right -> trimStart/End, padLeft/Right -> padStart/End 2015-03-25 03:26:31 +03:00
Ilya Gorbunov 25cfd36e7c drop, take: combine implementations for Collections, Lists and Iterables.
slice: predict length of resulting list.
2015-03-25 03:26:18 +03:00
Ilya Gorbunov 4a7918b0a1 Add takeLast method for String, lists and arrays.
Check the parameter n in drop, take and takeLast methods.
2015-03-25 03:26:06 +03:00
Ilya Gorbunov 05b5afcb94 Add removePrefix, removeSuffix, removeEnclosing methods.
Deprecate trimLeading/trimTrailing/trim(String) methods in favor of new ones.
2015-03-25 03:25:53 +03:00
Ilya Gorbunov 0484d3bf2f Imperative trim implementation to prevent double lambda expansion in inline function. 2015-03-25 03:25:40 +03:00
Ilya Gorbunov 5b2a5c78ca Fix js-stdlib compilation and tests. 2015-03-25 03:25:27 +03:00
Ilya Gorbunov 4c58f4ec20 Add removeRange method.
Breaking change in replaceRange(IntRange, String) method: the end index of the range now is included in the part being replaced.
2015-03-25 03:25:14 +03:00
Ilya Gorbunov ba15e5b295 Trimming and padding methods.
Kinda breaking change: Char.isWhitespace treats non-breaking spaces as whitespace too to match the Unicode definition of whitespace.
2015-03-25 03:25:01 +03:00
Ilya Gorbunov 0580039ded Provide additional string conversion methods to match missing java.lang.String constructors.
Fixes KT-5019
2015-03-25 03:24:48 +03:00
Dmitry Jemerov 0467bba7a6 regression test for KT-5953 2015-03-24 21:05:23 +01:00
Dmitry Jemerov f6093274ab regression test for KT-5395 2015-03-24 20:59:56 +01:00
Dmitry Jemerov 9d229ad271 regression test for KT-4259 2015-03-24 20:49:53 +01:00
Dmitry Jemerov 4f0cf2f918 regression test for obsolete issue KT-4142 2015-03-24 19:14:18 +01:00
Dmitry Jemerov 843298883f shuffle some code around to avoid JVM crash in tests 2015-03-24 19:08:41 +01:00
Dmitry Jemerov 20fbb814e4 remove abstraction which is no longer needed 2015-03-24 20:21:23 +03:00
Dmitry Jemerov d2634eb7eb remove obsolete module script generator from JPS 2015-03-24 20:21:22 +03:00
Dmitry Jemerov 2767e789fb when generating coercion, take into account the original type of the expression 2015-03-24 18:01:56 +01:00
Mikhail Glukhikh 2bc124fa3d IO second review: empty File.subPath() allowed, OutputStream.bufferedWriter() added,
normalize(), startsWith(), endsWith() rewritten, LinesStream --> LinesSequence,
File.replaceBytes() / replaceText() rolled back to writeBytes() / writeText(),
some exception messages formulated more clearly, refactorings, comments,
relativeTo() slightly optimized, additional tests
2015-03-24 19:52:19 +03:00
Mikhail Glukhikh 88733d34eb Additional fix of String.getRootName() for network names, relevant test fixes 2015-03-24 19:40:24 +03:00
Mikhail Glukhikh 5b636eef7b Kotlin I/O review/M11 fixes: Stream --> Sequence, recurse() returned back,
additional helpers like File.bufferedReader() and String.byteInputStream(),
copyRecursively / deleteRecursively were rewritten using FileTreeWalk,
FilePathComponents introduced as a replacement of FileIterator,
classes / methods / properties permissions fixed, Linux specific things,
resolveSibling rewritten using FilePathComponents
2015-03-24 19:40:21 +03:00
Denis Mekhanikov f560677b15 Kotlin I/O new features: relativeTo, copyTo, copyRecursively, deleteRecursively, file tree walkers,
file component iterators, file roots, startsWith, endsWith, subPath, normalize, replaceBytes, replaceTest,
additional tests and comments
2015-03-24 19:40:19 +03:00
Michael Nedzelsky dae42f7c76 fix EA-66819 - IOE: VirtualDirectoryImpl.contentsToByteArray
Changes: do not try to read content for virtual file in case it is really a directory
2015-03-24 18:58:42 +03:00
Dmitry Jemerov 5370073c05 parameters in KDoc take precedence over other identifiers 2015-03-24 16:05:40 +01:00
Yan Zhulanow 900c67de4e Replicate idea-version from the main plugin.xml to the android-idea-plugin plugin.xml 2015-03-24 16:43:45 +03:00
Alexey Sedunov 3e429c4b00 Change Signature: Fix behavior of "Receiver" checkbox 2015-03-24 16:41:10 +03:00
Alexey Sedunov 461ae25239 Find Usages: Properly select primary element for Find Usages Dialog. Avoid delegating handler when there is only one primary element
#KT-7048 Fixed
2015-03-24 16:41:09 +03:00
Alexey Sedunov a57be6dcab Change Signature: Do not report conflict when parameter name clashes with suggested name of the receiver 2015-03-24 16:41:08 +03:00
Alexey Sedunov 0eda6c88b9 Quick-Fixes: Fix signature configuration for extension functions
#KT-7019 Fixed
2015-03-24 16:41:07 +03:00
Alexey Sedunov 93f00db871 Extraction Engine: Consider declarations when comparing descriptors
#KT-6960 Fixed
2015-03-24 16:41:05 +03:00
Alexey Sedunov 502b67ecc0 Extract Function: Support multi-file tests 2015-03-24 16:41:04 +03:00
Alexey Sedunov 16a4dbd692 Quick-Fixes: Do not add 'abstract' modifier to anonymous objects
#KT-6656 Fixed
2015-03-24 16:41:03 +03:00
Alexey Sedunov 1ed2c82008 Quick-Fixes: Approximate non-denotable type with nearest denotable supertype
#KT-5915 Fixed
2015-03-24 16:41:01 +03:00
Alexey Sedunov a2162810ff Quick-Fixes: Drop unnecessary parentheses when simplifying cast expressions
#KT-6501 Fixed
2015-03-24 16:40:59 +03:00
Alexey Sedunov 71a5e09a0b Quick-Fixes: Support USELESS_CAST diagnostic in "Remove cast" quick-fix
#KT-6422 Fixed
2015-03-24 16:40:58 +03:00
Alexey Sedunov f5107be315 Quick-Fixes: Support "Change function return type" quick-fix for non-local returns
#KT-6910 Fixed
2015-03-24 16:40:57 +03:00
Michael Nedzelsky 842eaa86a4 merge serialization.js module into js.serializer 2015-03-24 15:13:45 +03:00