Menu

/branches/v4-dev/Src/UDataStreamIO.pas Commit Log


Commit Date  
[r1158] (14.5 kB) by delphidabbler

Corrected error in XML doc commenting.

2010-12-03 15:07:33 View
Download
[r1156] (14.5 kB) by delphidabbler

* Changed default encoding to UTF-8.
* (Re)Commented the code XMLDoc style.

2010-12-03 12:14:15 View
Download
[r1153] (9.0 kB) by delphidabbler

Reimplemented reader and writer classes in UDataStreamIO unit:
* Deleted unused TDataStreamWriter class.
* Created new class heirachy for reader classes with common interface for text and binary reader objects. This meant creating a common abstract base class and renaming numerous methods and creating new implementations.
* Renamed several classes and methods of writer class.
* Text stream reader class changed to reject any non-MBCS encoding since its layout requires hex characters to only occupy one byte, which is not the case in Unicode encodings.

Updated using units re class and method name changes.

2010-12-03 01:32:50 View
Download
[r1151] (16.2 kB) by delphidabbler

Fixed bug in TBinDataStreamWriter.WriteBytes.

2010-12-02 23:27:16 View
Download
[r1145] (16.2 kB) by delphidabbler

Added new TBinDataStreamReader and TBinDataStreamWriter classes for reading and writing formatted binary data using a wrapped stream.

2010-12-02 01:35:14 View
Download
[r1136] (13.2 kB) by delphidabbler

* Changed TDataStreamIOBase constructor that took two boolean flags to indicate ownership of stream and encoding to now take just a single set parameter that specifies ownership of both stream and encoding.
* Updated code that calls this revised constructor as required.

2010-12-01 14:48:40 View
Download
[r1135] (13.0 kB) by delphidabbler

* Extracted common code from TDataStreamReader and TDataStreamWriter into new common TDataStreamIOBase base class.
* Changed TDataStreamReader.ReadHexDigits to directly read into a Unicode string rather than read and then convert an ANSI string.

2010-12-01 14:37:49 View
Download
[r1134] (13.8 kB) by delphidabbler

Added facility to TDataStreamWriter to write Unicode strings using a user supplied encoding. Default encoding remains Windows-1252 for backwards compatibility.

2010-12-01 14:23:18 View
Download
[r1132] (12.7 kB) by delphidabbler

* Removed TDataStreamWriter.WriteString overloads that wrote a specified number of characters from a string to the stream because the Unicode implementation was very buggy and all uses of it actually wrote the whole string.
* Revised affected methods of TDataStreamWriter as necessary.
* Revised calling code that used the removed TDataStreamWriter methods.

2010-12-01 14:07:15 View
Download
[r1127] (14.1 kB) by delphidabbler

Prevented possible bug in TDataStreamReader when attempt is made to read 0 or -ve length strings.

2010-12-01 01:22:02 View
Download
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.