[Chapel Merge] Mark 'iostyle' as unstable rather than deprecated

Branch: refs/heads/main
Revision: 7168749
Author: benharsh
Link: Mark 'iostyle' as unstable rather than deprecated by benharsh · Pull Request #20547 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20547 from benharsh/iostyle-unstable

Mark 'iostyle' as unstable rather than deprecated

Until we have an alternative to recommend for the 'iostyle' type, we should mark it as unstable rather than deprecated. The following functions and methods were affected, mostly in the IO module:

  • stringStyle* functions
  • defaultIOStyle
  • open, openfd, openfp, opentmp, openmem
  • openreader, openwriter
  • file.reader, file.writer
  • file.linesa
  • channel._style, channel._set_style
  • channel.read, channel.readln, channel.write, channel.writeln
  • HDFS module: open
  • URL module: openUrlReader and openUrlWriter

Previously some of these functions were using the iohints type, which is now deprecated in favor of ioHintSet. This PR preserves deprecated versions of these function signatures that recommend the newer, unstable forms with both ioHintSet and iostyle.

This PR also includes a compiler change to suppress the generation of unstable warnings for code used within deprecated symbols.

[reviewed-by @lydia-duncan]

Modified Files:
A test/deprecated/IO/iohints-iostyle.chpl

A test/deprecated/IO/iohints-iostyle.compopts
A test/deprecated/IO/iohints-iostyle.good
A test/deprecated/IO/iohints-iostyle.noexec
A test/unstable/HDFS/COMPOPTS
A test/unstable/HDFS/SKIPIF
A test/unstable/HDFS/depOpenWithStyle.chpl
A test/unstable/HDFS/depOpenWithStyle.good
A test/unstable/URL/depReaderWriter.chpl
A test/unstable/URL/depReaderWriter.compopts
A test/unstable/URL/depReaderWriter.good
A test/unstable/URL/depReaderWriter.noexec
A test/unstable/iostyle/.gitignore
A test/unstable/iostyle/COMPOPTS
A test/unstable/iostyle/channelReadln.chpl
A test/unstable/iostyle/channelReadln.good
A test/unstable/iostyle/channelReads.chpl
A test/unstable/iostyle/channelReads.good
A test/unstable/iostyle/channelWrite.chpl
A test/unstable/iostyle/channelWrite.good
A test/unstable/iostyle/channelWriteln.chpl
A test/unstable/iostyle/channelWriteln.good
A test/unstable/iostyle/depDefaultIostyle.chpl
A test/unstable/iostyle/depDefaultIostyle.good
A test/unstable/iostyle/depIostyle.chpl
A test/unstable/iostyle/depIostyle.good
A test/unstable/iostyle/depOpen.chpl
A test/unstable/iostyle/depOpen.cleanfiles
A test/unstable/iostyle/depOpen.good
A test/unstable/iostyle/depOpenfd.chpl
A test/unstable/iostyle/depOpenfd.good
A test/unstable/iostyle/depOpenfp.chpl
A test/unstable/iostyle/depOpenfp.good
A test/unstable/iostyle/depOpenmem.chpl
A test/unstable/iostyle/depOpenmem.good
A test/unstable/iostyle/depOpentmp.chpl
A test/unstable/iostyle/depOpentmp.good
A test/unstable/iostyle/lines.chpl
A test/unstable/iostyle/lines.good
A test/unstable/iostyle/openReaderWriter.chpl
A test/unstable/iostyle/openReaderWriter.cleanfiles
A test/unstable/iostyle/openReaderWriter.good
A test/unstable/iostyle/readerWriter.chpl
A test/unstable/iostyle/readerWriter.good
A test/unstable/iostyle/stringStyles.chpl
A test/unstable/iostyle/stringStyles.good
A test/unstable/iostyle/styleAndSetStyle.chpl
A test/unstable/iostyle/styleAndSetStyle.cleanfiles
A test/unstable/iostyle/styleAndSetStyle.good
R test/deprecated/HDFS/COMPOPTS
R test/deprecated/HDFS/SKIPIF
R test/deprecated/HDFS/depOpenWithStyle.chpl
R test/deprecated/HDFS/depOpenWithStyle.good
R test/deprecated/IO/channelReadln.chpl
R test/deprecated/IO/channelReadln.good
R test/deprecated/IO/channelReads.chpl
R test/deprecated/IO/channelReads.good
R test/deprecated/IO/channelWrite.chpl
R test/deprecated/IO/channelWrite.good
R test/deprecated/IO/channelWriteln.chpl
R test/deprecated/IO/channelWriteln.good
R test/deprecated/IO/depDefaultIostyle.chpl
R test/deprecated/IO/depDefaultIostyle.good
R test/deprecated/IO/depIostyle.chpl
R test/deprecated/IO/depIostyle.good
R test/deprecated/IO/depOpen.chpl
R test/deprecated/IO/depOpen.cleanfiles
R test/deprecated/IO/depOpen.good
R test/deprecated/IO/depOpenfd.chpl
R test/deprecated/IO/depOpenfd.good
R test/deprecated/IO/depOpenfp.chpl
R test/deprecated/IO/depOpenfp.good
R test/deprecated/IO/depOpenmem.chpl
R test/deprecated/IO/depOpenmem.good
R test/deprecated/IO/depOpentmp.chpl
R test/deprecated/IO/depOpentmp.good
R test/deprecated/IO/lines.chpl
R test/deprecated/IO/lines.good
R test/deprecated/IO/openReaderWriter.chpl
R test/deprecated/IO/openReaderWriter.cleanfiles
R test/deprecated/IO/openReaderWriter.good
R test/deprecated/IO/readerWriter.chpl
R test/deprecated/IO/readerWriter.good
R test/deprecated/IO/stringStyles.chpl
R test/deprecated/IO/stringStyles.good
R test/deprecated/IO/styleAndSetStyle.chpl
R test/deprecated/IO/styleAndSetStyle.cleanfiles
R test/deprecated/IO/styleAndSetStyle.good
R test/deprecated/URL/depReaderWriter.chpl
R test/deprecated/URL/depReaderWriter.compopts
R test/deprecated/URL/depReaderWriter.good
R test/deprecated/URL/depReaderWriter.noexec
M compiler/AST/symbol.cpp
M modules/packages/HDFS.chpl
M modules/packages/URL.chpl
M modules/standard/IO.chpl
M test/io/ferguson/io_test.good
M test/io/ferguson/recordeof.good
M test/io/ferguson/seeking.good
M test/io/recordio.good
M test/optimizations/bulkcomm/asenjo/ptransDR/v1/ptrans.good
M test/optimizations/bulkcomm/asenjo/ptransDR/v2/ptrans.good
M test/optimizations/bulkcomm/asenjo/stencilDR/v1/stencil.good
M test/studies/shootout/spectral-norm/lydia/spectral-norm-barrier.good
M test/studies/shootout/spectral-norm/lydia/spectral-norm-double-time.good
M test/studies/shootout/spectral-norm/lydia/spectral-norm-no-reduct.good
M test/studies/shootout/spectral-norm/lydia/spectral-norm-specify-step.good
M test/studies/shootout/spectral-norm/lydia/spectral-norm.good
M test/studies/shootout/spectral-norm/sidelnik/spectralnorm.good
M test/studies/shootout/spectral-norm/sidelnik/spectralnorm_2.good

Compare: https://github.com/chapel-lang/chapel/compare/d6e34e5f44e8...716874924e00