Menu

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


Commit Date  
[r1239] (6.0 kB) by delphidabbler

Updated database download processing to use TEncodedData to pass around downloaded data instead of a stream with associated char set.

2010-12-12 17:48:50 View
Download
[r1177] (6.3 kB) by delphidabbler

* Changed TFileUpdater to write database files in UTF-8 format with BOM. Also changed to use TFileIO to write text file.
* Tweaked some XMLDoc comments.

2010-12-04 19:51:26 View
Download
[r1169] (6.3 kB) by delphidabbler

* Changed TDBDownloadMgr.GetDatabase to return character set used to encode data stream along with data stream itself.
* Changed TUpdateMgr to pass char set info along to TFileUpdater.
* Changed TFileUpdater to decode stream data using char set passed from TDBDownloadMgr.
* XMLDoc commented UFileUpdater unit.

2010-12-04 02:04:35 View
Download
[r1159] (6.4 kB) by delphidabbler

Revised to explicitly pass an encoding to the text stream reader object. Previously relied on default encoding which is not wise!

2010-12-03 15:51:39 View
Download
[r1153] (6.3 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
[r1152] (6.3 kB) by delphidabbler

Changed to read strings from data stream as Unicode. Previously was reading string as ANSI and converting them in this unit.

2010-12-02 23:28:37 View
Download
[r1126] (6.4 kB) by delphidabbler

* Renamed all methods of TDataStreamReader that return ANSI strings with "Ansi" in name and made them return RawByteString instead of Windows1252String.
* Added new Read methods to TDataStreamReader that are named as old ANSI read methods that return Unicode strings.
* TDataStreamReader uses a TEncoding object to get Unicode strings from the stream. User can pass this object in constructor.
* Made minimal changes to all units that use TDataStreamReader to use the renamed ANSI string reader methods. Functionality not changed.

2010-11-30 21:53:49 View
Download
[r1123] (6.4 kB) by delphidabbler

Updated database download web service and updating code to work with v5 of the codesnip-updt web service on delphidabbler.com. Web service no longer sends an MD5 checksum as part of the download. Instead it includes a checksum in the HTTP headers, which is automatically handled by the UTHHTPEx unit.

2010-11-29 19:11:58 View
Download
[r1077] (6.5 kB) by delphidabbler

Development branch for CodeSnip release 4.

Initial source is a copy of v3.8.4 (r1075).

2010-11-26 17:58:26 View
Download
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.