Ilya Gorbunov
00a44f6d4f
StdLib deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
2015-06-29 17:05:57 +03:00
Ilya Gorbunov
13c89b7ae9
Provide lineSequence() extension method instead of BufferedReader.lines() in order not to conflict with JDK8 instance method with the same name.
2015-06-04 16:32:17 +03:00
Ilya Gorbunov
0302dd06f7
Do not call mkdirs when destination file of copyTo doesn't have any parent directory.
...
#KT-7888 Fixed
2015-06-02 15:50:47 +03:00
Mikhail Glukhikh
ef6698bd52
Test fixed
2015-03-30 10:55:24 +03:00
Mikhail Glukhikh
5d7e388276
Fix of KT-7130
2015-03-30 10:55:21 +03: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
Ilya Ryzhenkov
fa0542b801
Clean size/length/first/head/empty properties and functions.
2014-12-16 17:33:21 +03:00
Denis Mekhanikov
80493aa4e6
stdlib: improve tests
2014-11-07 17:14:57 +03:00
Ilya Ryzhenkov
e37d8174c3
New stdlib generators
2014-03-19 20:25:11 +04:00