[Chapel Merge] IO Module `readLine` Refactor

Branch: refs/heads/main
Revision: 31ad156
Author: ShreyasKhandekar
Link: IO Module readLine Refactor by ShreyasKhandekar · Pull Request #19937 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19937 from ShreyasKhandekar/IOModuleReadLineRefactor

IO Module readLine Refactor

Deprecated readline in favor of readLine.

Also updated all other Modules that used the now deprecated readline so they use readLine instead.

The functions don't manage memory very efficiently when stripping the newline from the end and thus needs to be improved in a follow up PR described in I/O Module: better way to stripNewline in readLine · Issue #19944 · chapel-lang/chapel · GitHub .

[Reviewed by @mppf]

Modified Files:
A test/deprecated/IO/readline.chpl

A test/deprecated/IO/readline.good
A test/io/readLine/readLine.chpl
A test/io/readLine/readLine.good
M doc/rst/developer/hdfs_and_chapel/API.tex
M modules/packages/Curl.chpl
M modules/packages/MatrixMarket.chpl
M modules/packages/URL.chpl
M modules/standard/IO.chpl
M modules/standard/Subprocess.chpl
M test/deprecated/HDFS/depOpenWithStyle.chpl
M test/io/bharshbarg/overflow.chpl
M test/io/bharshbarg/overflow.good
M test/io/bharshbarg/readlineArray.chpl
M test/io/bharshbarg/readlineArrayVariable.chpl
M test/io/cassella/readline.chpl
M test/io/cassella/readline.good
M test/io/ferguson/io_test.chpl
M test/io/lydia/outArgEarlyExitIO.chpl
M test/io/lydia/outArgEarlyExitReader.chpl
M test/io/readline/readStridedArr.chpl
M test/io/readline/readStridedArr.good
M test/library/packages/Curl/check-http-setopt.chpl
M test/library/packages/Curl/check-http.chpl
M test/library/packages/Curl/download-http-upload-ftp.chpl
M test/library/packages/Curl/upload-ftp.chpl
M test/library/packages/HDFS/hello-hadoop.chpl
M test/library/packages/HDFS/tzakian/example/example.chpl
M test/library/packages/HDFS/tzakian/read_test/read_hdfs.chpl
M test/library/packages/HDFS/tzakian/write_hdfs/write_hdfs.chpl
M test/library/packages/HDFS/tzakian/writef_hdfs/writef.chpl
M test/library/packages/ProtobufProtocolSupport/endToEndRunnerUtils.chpl
M test/library/packages/Socket/tcpio.chpl
M test/library/standard/IO/readline/count-carefully-newline.good
M test/library/standard/IO/readline/count-carefully-nonewline.good
M test/library/standard/IO/readline/count-carefully-zerobyte.good
M test/library/standard/IO/readline/count-carefully.chpl
M test/library/standard/Path/victor-ludorum/testcases_isAbsPath.chpl
M test/library/standard/Spawn/cat-stderr.chpl
M test/library/standard/Spawn/cat-stdout-stderr.chpl
M test/library/standard/Spawn/redirect-stderr-stdout.chpl
M test/library/standard/Spawn/spawn-error2.chpl
M test/library/standard/Spawn/spawn-popen-input-output-error-long.skipif
M test/library/standard/Spawn/spawn-popen-input-output-error.chpl
M test/library/standard/Spawn/spawn-popen-input-output.chpl
M test/library/standard/Spawn/spawn-popen-wait.chpl
M test/library/standard/Spawn/spawn-popen.chpl
M test/library/standard/Spawn/spawn-popen2.chpl
M test/library/standard/Spawn/two-waits.chpl
M test/mason/mason-help-tests/masonHelpTests.chpl
M test/patterns/cltools/grep/grep.chpl
M test/release/examples/benchmarks/shootout/README
M test/release/examples/benchmarks/shootout/knucleotide.chpl
M test/release/examples/benchmarks/shootout/revcomp.chpl
M test/release/examples/patterns/readcsv.chpl
M test/release/examples/primers/fileIO.chpl
M test/studies/adventOfCode/2021/bradc/day10.chpl
M test/studies/adventOfCode/2021/bradc/day10a.chpl
M test/studies/adventOfCode/2021/bradc/day11.chpl
M test/studies/adventOfCode/2021/bradc/day11a.chpl
M test/studies/adventOfCode/2021/bradc/day12.chpl
M test/studies/adventOfCode/2021/bradc/day12a.chpl
M test/studies/adventOfCode/2021/bradc/day13.chpl
M test/studies/adventOfCode/2021/bradc/day14.chpl
M test/studies/adventOfCode/2021/bradc/day14a.chpl
M test/studies/adventOfCode/2021/bradc/day15.chpl
M test/studies/adventOfCode/2021/bradc/day15a.chpl
M test/studies/adventOfCode/2021/bradc/day16.chpl
M test/studies/adventOfCode/2021/bradc/day16a.chpl
M test/studies/adventOfCode/2021/bradc/day18.chpl
M test/studies/adventOfCode/2021/bradc/day18a.chpl
M test/studies/adventOfCode/2021/bradc/day19.chpl
M test/studies/adventOfCode/2021/bradc/day19a.chpl
M test/studies/adventOfCode/2021/bradc/day20.chpl
M test/studies/adventOfCode/2021/bradc/day24.chpl
M test/studies/adventOfCode/2021/bradc/day25.chpl
M test/studies/adventOfCode/2021/bradc/day8.chpl
M test/studies/adventOfCode/2021/bradc/day8a.chpl
M test/studies/adventOfCode/2021/bradc/day9.chpl
M test/studies/adventOfCode/2021/bradc/day9a.chpl
M test/studies/comd/elegant/arrayOfStructs/CoMD.chpl
M test/studies/mstrout/wordCount.chpl
M test/studies/shootout/k-nucleotide/benmcd/knucleotide-user-hash.chpl
M test/studies/shootout/k-nucleotide/bharshbarg/knucleotide-associative.chpl
M test/studies/shootout/k-nucleotide/bharshbarg/knucleotide-chaining.chpl
M test/studies/shootout/k-nucleotide/bradc/knucleotide-blc.chpl
M test/studies/shootout/reverse-complement/bharshbarg/revcomp-begin.chpl
M test/studies/shootout/submitted/knucleotide3.chpl
M test/studies/shootout/submitted/knucleotide4.chpl
M tools/mason/MasonNew.chpl
M tools/mason/MasonTest.chpl
M tools/mason/MasonUtils.chpl

Compare: https://github.com/chapel-lang/chapel/compare/7b6229f5d1a6...31ad156255f3