From 041006f923f361d3ab534220fffaac58638fe1cc Mon Sep 17 00:00:00 2001 From: Andre Lanrezac Date: Tue, 18 Jun 2024 20:05:31 +0200 Subject: [PATCH 1/2] Update CHANGELOG for custom data update (v1.1) --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index df42f19..43e6e34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ **Dev** +**1.1** + + - Declare and add `MDDriver_sendCustomInt/Float` in UnityMol-MDDriver API + - Add new `IIMD_get_nb_custom_int/float` dedicated function for `MDDriver_getNbCustomInt/Float` + - Modify `MDDriver_getCustomInt/Float` to return actual size of recieved data + - Add `IMDCustomData` structure for custom data + - **TO DO: Use this structure as an argument in associated custom data functions** + - Show 'no force' warning only for `IMDmsg` log level > 0 + - In `IIMD_treatprotocol`, activate `vmd_new_custom_float` flag when recieve custom data in server side & fix `vmd_custom_int` allocation + - Adapt `IIMD_send_custom_int/float` to send custom data from client side to server + - Update `clienttest.c` & `servertest.c` for custom data **1.0** From 782f547c31c3d96fea0e225a74bafa7d29c3ecd8 Mon Sep 17 00:00:00 2001 From: Hubert Date: Wed, 19 Jun 2024 09:10:10 +0200 Subject: [PATCH 2/2] improve changelog --- CHANGELOG.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43e6e34..9024295 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,12 @@ **Dev** -**1.1** - - - Declare and add `MDDriver_sendCustomInt/Float` in UnityMol-MDDriver API - - Add new `IIMD_get_nb_custom_int/float` dedicated function for `MDDriver_getNbCustomInt/Float` - - Modify `MDDriver_getCustomInt/Float` to return actual size of recieved data - - Add `IMDCustomData` structure for custom data - - **TO DO: Use this structure as an argument in associated custom data functions** - - Show 'no force' warning only for `IMDmsg` log level > 0 - - In `IIMD_treatprotocol`, activate `vmd_new_custom_float` flag when recieve custom data in server side & fix `vmd_custom_int` allocation - - Adapt `IIMD_send_custom_int/float` to send custom data from client side to server - - Update `clienttest.c` & `servertest.c` for custom data + - Improve custom data architecture: + - Declare and add `MDDriver_sendCustomInt/Float` in UnityMol-MDDriver API + - Add `IMDCustomData` structure for custom data + - Show 'no force' warning only for `IMDmsg` log level > 0 + - In `IIMD_treatprotocol`, activate `vmd_new_custom_float` flag when recieve custom data in server side & fix `vmd_custom_int` allocation + - Adapt `IIMD_send_custom_int/float` to send custom data from client side to server + - Update `clienttest.c` & `servertest.c` for custom data **1.0**