StringOfSpecifiedLengthUnparser renamed.
authorMike Beckerle <mbeckerle@tresys.com>
Mon, 12 Sep 2016 20:50:23 +0000 (16:50 -0400)
committerMike Beckerle <mbeckerle@tresys.com>
Wed, 14 Sep 2016 18:45:49 +0000 (14:45 -0400)
commit49356e6fc4924e209cdd618e059e910efa698bbc
tree59394b5f5484e3d19b634981f75fbea88ebfba27
parentcea3c728d8918c0ef6c6f77820019307ccc1c418
StringOfSpecifiedLengthUnparser renamed.

Code modified to reflect that this only truncates.

New name is StringMaybeTruncatedUnparser.

Fix center padding bug, remove unneeded & buggy padding code from prim.

Fix round trips that use utf-8, lengthUnits characters, padding and nil.

Remove debug variable

Remove ThinThrowable from UnparseError.

These are fatal errors, so we might as well get a decent backtrace
from them.

Removed problematic withBitLengthLimit on data output streams.

This concept is just broken for unparsing.

Enabled round trip on test.

Incorporated feedback on Review 662

DFDL-1600, DFDL-1325, DFDL-1599, DFDL-1579, DFDL-1603, DFDL-1557
29 files changed:
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/dsom/RuntimePropertyMixins.scala
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/grammar/ElementBaseGrammarMixin.scala
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/processors/ElementCombinator.scala
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/processors/Padded.scala
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/processors/PrimitivesLengthKind.scala
daffodil-io/src/main/scala/edu/illinois/ncsa/daffodil/io/DataOutputStream.scala
daffodil-io/src/main/scala/edu/illinois/ncsa/daffodil/io/DirectOrBufferedDataOutputStream.scala
daffodil-macro-lib/src/main/scala/edu/illinois/ncsa/daffodil/io/IOMacros.scala
daffodil-runtime1-unparser/src/main/scala/edu/illinois/ncsa/daffodil/processors/unparsers/DelimitedUnparsers.scala
daffodil-runtime1-unparser/src/main/scala/edu/illinois/ncsa/daffodil/processors/unparsers/NilUnparsers.scala
daffodil-runtime1-unparser/src/main/scala/edu/illinois/ncsa/daffodil/processors/unparsers/SpecifiedLength2.scala
daffodil-runtime1-unparser/src/main/scala/edu/illinois/ncsa/daffodil/processors/unparsers/SpecifiedLengthUnparsers.scala
daffodil-runtime1-unparser/src/main/scala/edu/illinois/ncsa/daffodil/processors/unparsers/StringLengthUnparsers.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/api/DFDLParserUnparser.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/EvElement.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/PState.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/ParseErrors.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/Parser.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/ProcessingError.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/ProcessorResult.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/Suspension.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/parsers/SpecifiedLengthParsers.scala
daffodil-runtime1/src/main/scala/edu/illinois/ncsa/daffodil/processors/unparsers/UState.scala
daffodil-tdml/src/main/scala/edu/illinois/ncsa/daffodil/tdml/TDMLException.scala
daffodil-tdml/src/main/scala/edu/illinois/ncsa/daffodil/tdml/TDMLRunner.scala
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section05/simple_types/SimpleTypes.tdml
daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section12/lengthKind/ExplicitTests.tdml
daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section13/text_number_props/TestTextNumberPropsUnparseDebug.scala [deleted file]
daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section13/text_number_props/TestTextNumberPropsUnparse.scala