[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r463] by matfanjol

- TfrmEditDocuments: removed the qTempCreate: it is no more necessary
- TfrmEditDocuments: removed the qTempDrop: it is no more necessary
- TfrmEditDocuments: removed the qTempAppend: it is no more necessary
- TfrmEditDocuments: removed the qTempMerge: it is no more necessary
- TfrmEditDocuments: removed the qTempDelete: it is no more necessary
+ qAttach: writes the File_oid column instead of the Content
+ hor_components: THorPQC_OnWriteProgress has an additional parameter, _Stop: if it is set to true, the write operation stops
+ hor_components: THorPQConnection.HorWriteStreamToLargeObject: handles the new _Stop parameter
+ hor_components: THorPQConnection.HorWriteLargeObjectToStream: handles the new _Stop parameter
+ Added procedure TfrmEditDocuments.OnWriteDataToLargeObject(Sender: THorPQConnection; const _Oid: Oid; _Stream: TStream; _Position: Int64; var _Stop: boolean): steps the progress bar and checks if it has to stop
+ TfrmEditDocuments.btnAddClick: no more writes the Content field, but instead the File_oid column and creates the large object
+ TfrmEditDocuments: added the qGetAttachOid query
+ TfrmEditDocuments.miDeleteClick: gets the large object ID and deletes it
- TfrmEditDocuments.btnSaveAllAndOpenClick: fixed compilation warning

2020-04-20 05:20:10 Tree
[r462] by matfanjol

+ hor_components: moved the resource strings inside the new horcomponentsmessages.pas
* hor_components: rename rsHorLargeObjectNotOpen into rsHorLargeObjectNotOpened
+ hor_components: added rsHorLargeObjectNotDeleted
+ hor_components: added InvalidOid constant
- hor_components: fixed THorPQConnection.HorWriteStreamToLargeObject: -1 is returned in case of error by the lo_open and lo_write functions (not 0)
- hor_components: fixed THorPQConnection.HorWriteLargeObjectToStream: -1 is returned in case of error by the lo_open and lo_write functions (not 0)
+ hor_components: added function THorPQConnection.HorDeleteLargeObject(const _Oid: Oid): boolean;
* Needs hor_components version >= 1.0.0.0
- TDocuments: removed qAttachmentDataPart: no more necessary
- TfrmEditDocuments.btnAddClick: fixed unused variable
- Fixed the DbVersion and the already existing Updating field of tSettings inside the ver0006.sql
+ ver0006.sql: Drops "Content" column from "tDocumentsFiles" after the convertion from bytea to large objects
+ hor_main: latested know database version is 6
+ hor_components: Added the THorPQC_OnWriteProgress type
+ hor_components: THorPQConnection: added the FHorOnProgress member and the OnHorWriteProgress property
+ hor_components: Added constructor THorPQConnection.Create(AOwner: TComponent) to call InitialisePostgres3
+ hor_components: Added destructor THorPQConnection.Destroy to call ReleasePostgres3
* hor_components: THorPQConnection.HorCreateLargeObject: no more calls InitialisePostgres3 and ReleasePostgres3
* hor_components: THorPQConnection.HorWriteStreamToLargeObject: no more calls InitialisePostgres3 and ReleasePostgres3
* hor_components: THorPQConnection.HorWriteLargeObjectToStream: no more calls InitialisePostgres3 and ReleasePostgres3
+ hor_components: THorPQConnection.HorWriteStreamToLargeObject: calls FHorOnProgress providing the reached read size
+ hor_components: THorPQConnection.HorWriteLargeObjectToStream: calls FHorOnProgress providing the reached read size
+ TDocuments: FDatabase is now a THorPQConnection
+ TDocuments.Create: Database is now a THorPQConnection
+ Added procedure TDocuments.HorWriteProgress(Sender: THorPQConnection; const _Oid: Oid; _Stream: TStream; _Position: Int64) to call Application.ProcessMessage if called by the main program
+ TDocuments.SaveAttachmentFile: uses HorWriteLargeObjectToStream to save the attachment content that now is a large object
+ Added the rsMsgErrorExpectingTHorPQConnection message
I have compared the extraction of the medical data with the old bytea type and with the new large object --> they are the same --> works! :)

2020-04-13 14:16:36 Tree
[r461] by matfanjol

- hor_components: removed wrong source files inside the images folder
* hor_components: added version number, license and description information
* hor_components: added license discalimer to horsqlscript
+ hor_components: added THorPQConnection: derivation of TPQConnection with the ability to load/save large object files
* hor_substitute_examination_name: added license discalimer
* hor_restore: added license discalimer
* hor_substitute_examination_name: uses THorPQConnection
* hor_restore: uses THorPQConnection
* hor_main: uses THorPQConnection
* hor_dpb_database_update: uses THorPQConnection

2020-04-12 14:25:44 Tree
[r460] by matfanjol

+ Added procedure TfrmBase.Unused(const _Obj: TObject): dummy procedure to remove "Unused" warnings
* TfrmBase.FormClose: calls Unused to avoid unused warning
* TfrmBase.FormShow: calls Unused to avoid unused warning
* TfrmBase.FormCreate: calls Unused to avoid unused warning
* TfrmCountry.btnOkClick: calls Unused to avoid unused warning
* TfrmMiscDoubleProgressBar.bbtnCancelClick: disabled 5024 hint of unused parameter
+ hor_dpb_database_update: added GNU disclaimer
- TfrmdpbDatabaseUpdate.Create: fixed compilation warning about
- TfrmRestore.Create: fixed compilation warnings
- TfrmdpbDatabaseUpdate.tmrUpdateStatusTimer: fixed compilation warnings
- TUpdateThread.ScriptDirective: fixed compilation warnings

2020-04-12 13:05:04 Tree
[r459] by pmraps

Updated download pages
Fixed some typos

2020-04-07 04:02:11 Tree
[r458] by matfanjol

+ Added the information regarding the nightly build inside the web pages

2020-04-06 13:21:14 Tree
[r457] by matfanjol

- Taken away the _BUILT_TO_CHECK_TRANSLATIONS_ define from the setup
+ You can build the setup using the _HOR_NIGHTLY_BUILD_ define to get a setup with different GUID and application name to be able to install/uninstall nightly builds without overwriting the official version
* Renamed, as suggested by InnoSetup, {pf} to {commonpf}
+ TfrmBase.FormCreate: uses a different configuration file for the nightly build to not alter the official version settings

2020-04-06 13:20:32 Tree
[r456] by pmraps

Email change

2020-04-04 10:59:17 Tree
[r455] by pmraps

Email change

2020-04-04 10:56:52 Tree
[r454] by matfanjol

Added the "HowToCompile.txt" file
Added the "Defines.txt" file
Added the ReleaseNightly build mode
+ hor_database:DB_Connect: in nightly build mode warns the users to not use the version with real data
+ Added procedure TfrmDbConnect.NightlyBuildWarning: in nightly build mode warns the users to not use the version with real data
+ TfrmDbConnect.btnNextClick: in nightly build mode warns the users to not use the version with real data
+ TfrmMain.BuildTitle: in nightly build mode warns the users in the application title
+ Added the following messages: rsMsgNightlyBuild, rsQMsgNightlyBuildContinueTheDatabaseConnection, rsAboutNightlyBuild, rsMsgWarning
- Fixed compilation on 64bit linux system
+ New TODO: "Diary of personal contacts/places to be able to build an epidemy estimation"
+ Started the conversion of the content of the documents into large objects of Postgresql

2020-04-04 07:45:34 Tree
Older >