5
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2024-12-22 13:34:06 +03:00
Commit Graph

121 Commits

Author SHA1 Message Date
Thomas Lamprecht
1a89d702e7 ensure form fits in buf
yeah this is hacky, but we'll remove this probably anyway soon...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-21 13:28:38 +01:00
Fabian Grünbichler
79660a6545 bump version to 3.0-5 2017-12-01 10:20:31 +01:00
Dominik Csapak
995ba329be fix add_keymap_entry for non us keymaps
the only difference between
g_hash_table_insert and g_hash_table_replace is which key gets
freed/used

insert reuses the old key while replace used the new key
both insert the value or replace the value if it already exists

since the key is in the structure we allocate, we always
want to use the new key, and the old structure to be freed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-01 10:19:09 +01:00
Fabian Grünbichler
93de628d10 build: reformat debian/control
using wrap-and-sort -abt
2017-10-04 11:05:33 +02:00
Wolfgang Bumiller
669391ddf5 bump version to 3.0-4 2017-06-02 10:55:37 +02:00
Dominik Csapak
ffeedb040b fix memory leaks when using g_hashtable
when generating a bitmap for a character whose codepoint was above 255,
we used a cache_id of 0, malloc'd a CachedImage and inserted it into a
g_hashtable, without freeing the one which was before inserted with cache_id 0

this is circumvented by only generating a CachedImage when having
a cache_id != 0

the second leak was also with inserting into a hashtable, but there we
give the hashtable the g_free method as a value_destroy_func

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-02 10:54:41 +02:00
Dietmar Maurer
377a4ee926 bump version to 3.0-3 2017-05-06 08:14:12 +02:00
Dominik Csapak
5a100bddb6 fix bound checking on cursor move
changing most of the vt struct fields to unsigned, to avoid undefined
behaviour and use gotoxy for moving the cursor to correctly bound check
the cursor position

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-06 08:11:39 +02:00
Dietmar Maurer
dd661f01eb bump version to 3.0-2 2017-05-03 08:09:26 +02:00
Dominik Csapak
5508c4fd39 use color_table to get the correct terminal colors
this was missing, and the colors in the terminal were wrong

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-03 07:52:40 +02:00
Fabian Grünbichler
169c1cc65a bump version to 3.0-1 2017-03-13 12:17:47 +01:00
Fabian Grünbichler
351b18cf4a buildsys: update make upload target for stretch 2017-03-13 12:16:18 +01:00
Dominik Csapak
6d378df57f check range for utf8 characters
since we load the font from psf1 files, the highest utf8 codepoint we
have a fontmap for is 0xFFFF, so we use an unsigned short for the
character

but since we parse utf8 for up to 6 bytes we have to check the range, or
else we can get garbled output

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:21:43 +01:00
Wolfgang Bumiller
8cda4721fb drop gthread dependency 2017-02-07 15:41:52 +01:00
Wolfgang Bumiller
5635cc8c50 bump version to 2.0-2 2017-01-31 13:50:12 +01:00
Wolfgang Bumiller
f6943f4bac buildsystem fixups 2017-01-31 13:50:12 +01:00
Wolfgang Bumiller
5d2f691159 buildsys: use repoman in the upload target 2017-01-31 13:44:47 +01:00
Wolfgang Bumiller
6f0a522975 buildsys: job-safe deb target 2017-01-31 13:37:56 +01:00
Fabian Grünbichler
9d53e3328e change TLS cipher suite to 'HIGH'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-01-31 13:36:31 +01:00
Dietmar Maurer
dc0ff83b9d set gcc flags to avoid lintian hardening-no-relro warning 2015-02-28 08:18:01 +01:00
Dietmar Maurer
1c00de2b76 link with libsasl2 to avoid linker error 2015-02-28 08:10:46 +01:00
Dietmar Maurer
b52b953498 updates for debian jessie 2015-02-27 16:40:45 +01:00
Dietmar Maurer
f801ff196c bump version to 1.0-2 2013-12-11 11:48:59 +01:00
Dietmar Maurer
93f3f187b0 window client send CONTROL_L/ALTGR instead of simple ALTGR
We must not send a control sequence in that case.
2013-12-11 11:46:15 +01:00
Dietmar Maurer
078fc7355d allow to override key mapping, but skip dead keys 2013-12-11 09:37:57 +01:00
Dietmar Maurer
ecc34bb2c7 avoid warning when started with 0 timeout 2013-12-11 08:51:45 +01:00
Dietmar Maurer
6c31241b12 add upload target 2013-12-10 12:21:37 +01:00
Dietmar Maurer
adc5354846 improve manual page 2013-10-31 08:05:50 +01:00
Dietmar Maurer
a91da126ce fix option parser 2013-10-31 07:57:39 +01:00
Dietmar Maurer
300ace05e1 add am manual page (replaces README) 2013-10-31 07:48:51 +01:00
Dietmar Maurer
3777ece9f9 build debian packages 2013-10-31 07:12:24 +01:00
Dietmar Maurer
b06b4cdc97 add install target 2013-10-31 06:34:22 +01:00
Dietmar Maurer
b97b3a63bc change font load order
To get correct '|' symbol.
2013-10-29 13:20:59 +01:00
Dietmar Maurer
ca84c6f190 iscan all font files (include arabic font) 2013-10-29 13:17:47 +01:00
Dietmar Maurer
31b5cce2a6 import genfont.c from vncterm 2013-10-29 12:45:30 +01:00
Dietmar Maurer
c4d1da1490 implement unicode keysyms 2013-10-29 12:21:11 +01:00
Dietmar Maurer
7f3ff8c0e4 use kvm keymap files 2013-10-29 09:45:21 +01:00
Dietmar Maurer
68c2b067e2 implement command line options using getopt 2013-10-25 13:31:16 +02:00
Dietmar Maurer
1631c5a9a7 use SASL for auth, always use TLS 2013-10-23 10:58:24 +02:00
Dietmar Maurer
12fe052c09 use new auth framework 2013-10-17 13:25:50 +02:00
Dietmar Maurer
05f253a6f3 use gunichar instead of long 2013-10-17 09:04:20 +02:00
Dietmar Maurer
f424be980a move spice input/vdagent related code to input.c 2013-10-17 08:44:52 +02:00
Dietmar Maurer
06a072752e use modified input channel extension with utf8 2013-10-16 12:19:00 +02:00
Dietmar Maurer
88f87fbcbc enable debugging 2013-10-16 08:50:44 +02:00
Dietmar Maurer
830b129504 add README 2013-10-11 14:31:51 +02:00
Dietmar Maurer
0f8e254951 test if keysym is zero 2013-10-11 14:11:05 +02:00
Dietmar Maurer
55cfb9f86a use input channel for keysyms
After discussion on spice-devel, input channel seems the way to go.
2013-10-10 10:42:46 +02:00
Dietmar Maurer
c783f72614 resize: discard pending commands 2013-10-09 13:34:06 +02:00
Dietmar Maurer
6508981fdd reset cursor after resize 2013-10-09 13:09:51 +02:00
Dietmar Maurer
e420a6d91d iimplement efficient clear screen 2013-10-09 11:32:12 +02:00