This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gokdrive. from dc303b2 set initial geometry form the -geometry command line option. new 7160460 change from alder32 to crc32 to avoid collisions on small frames. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 1 + x2gokdriveremote.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit 71604606657a85ed16b9fcfb53f014f77d5bcdc9 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Tue Sep 20 11:06:42 2022 +0200 change from alder32 to crc32 to avoid collisions on small frames. --- debian/changelog | 1 + x2gokdriveremote.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7d5feb2..eeabf70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -33,6 +33,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium - don't show invisible windows. - sending KEYRELEASE immediately after KEYPRESS to avoid the "key sticking". - set initial geometry form the -geometry command line option. + - change from alder32 to crc32 to avoid collisions on small frames. [ Mihai Moldovan ] * Initial release: diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c index 7726648..04c47ca 100644 --- a/x2gokdriveremote.c +++ b/x2gokdriveremote.c @@ -4518,13 +4518,13 @@ remote_paint_rect(KdScreenInfo *screen, uint32_t calculate_crc(uint32_t width, uint32_t height, int32_t dx, int32_t dy) { - uint32_t crc=adler32(0L, Z_NULL, 0); + uint32_t crc=crc32(0L, Z_NULL, 0); pthread_mutex_lock(&remoteVars.mainimg_mutex); for(uint32_t y=0; y< height;++y) { - crc=adler32(crc,remoteVars.main_img+ ((y+dy)*remoteVars.main_img_width + dx)*XSERVERBPP, width*XSERVERBPP); + crc=crc32(crc,remoteVars.main_img+ ((y+dy)*remoteVars.main_img_width + dx)*XSERVERBPP, width*XSERVERBPP); } pthread_mutex_unlock(&remoteVars.mainimg_mutex); -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git