5
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-03-05 20:58:29 +03:00

52 Commits

Author SHA1 Message Date
Dominik Csapak
3ced0eed87 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-06-02 10:59:57 +02: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
Dietmar Maurer
b52b953498 updates for debian jessie 2015-02-27 16:40:45 +01:00
Dietmar Maurer
a91da126ce fix option parser 2013-10-31 07:57:39 +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
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
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
e420a6d91d iimplement efficient clear screen 2013-10-09 11:32:12 +02:00
Dietmar Maurer
37c2d30fb2 avoid call to refresh 2013-10-09 09:50:36 +02:00
Dietmar Maurer
48b0150620 cleanup clipboard owner handling 2013-10-08 15:08:04 +02:00
Dietmar Maurer
8a3547be31 use correct raster on resize 2013-10-08 12:14:10 +02:00
Dietmar Maurer
e70e45a9d0 cache glyphs 2013-10-08 09:57:57 +02:00
Dietmar Maurer
f3112e0013 use new VD_AGENT_KEYVAL protocol extension 2013-10-07 11:19:32 +02:00
Dietmar Maurer
186d67d601 avoid unnecessary call to spiceterm_clear_xy 2013-09-17 13:47:33 +02:00
Dietmar Maurer
8f53ae816c implement resize 2013-09-17 13:13:19 +02:00
Dietmar Maurer
eddeb8650c make clipboard fully functional 2013-09-16 12:23:49 +02:00
Dietmar Maurer
69a7370ccb add clipboard support 2013-09-13 14:18:46 +02:00
Dietmar Maurer
ea7edec46f fix coding style 2013-09-13 11:05:05 +02:00
Dietmar Maurer
7d75ff3d7c fix selection with virtual scroll 2013-09-13 10:47:02 +02:00
Dietmar Maurer
1d11aa1227 allow to select text regions 2013-09-13 10:02:59 +02:00
Dietmar Maurer
c13b33617b handle partial writes 2013-09-13 07:52:54 +02:00
Dietmar Maurer
5cba579072 code cleanup 2013-09-13 07:38:07 +02:00
Dietmar Maurer
ded68f4412 implement mouse_report mode 2013-09-12 15:36:37 +02:00
Dietmar Maurer
60b9ef6325 start mouse support 2013-09-12 14:22:05 +02:00
Dietmar Maurer
11ba14dc32 allow to pass connection timeout as parameter 2013-09-12 12:23:05 +02:00
Dietmar Maurer
7ccbd303d6 exit server if get get error from client pipe 2013-09-12 10:54:21 +02:00
Dietmar Maurer
38e3e91281 simplify code 2013-09-12 09:33:24 +02:00
Dietmar Maurer
a3fd8291f7 fix debug messages 2013-09-12 09:26:44 +02:00
Dietmar Maurer
6afaad3af8 remove misleading comments 2013-09-12 07:21:04 +02:00
Dietmar Maurer
424ef03c6f ifix coding style 2013-09-12 07:17:50 +02:00
Dietmar Maurer
0e80a2f3ac white space cleanup 2013-09-12 07:16:03 +02:00
Dietmar Maurer
b052e9c7dc use gunichar2 2013-09-11 13:15:53 +02:00
Dietmar Maurer
a0579497f2 cleanup debugging code 2013-09-11 12:56:28 +02:00
Dietmar Maurer
4ef70811b8 add copyright (GPLv2) 2013-09-11 12:11:43 +02:00
Dietmar Maurer
64bc7a2f9d use reasonable names (instead of 'test') 2013-09-11 11:59:40 +02:00
Dietmar Maurer
e3759a340c cleanup/merge header files 2013-09-11 07:44:47 +02:00
Dietmar Maurer
d6a5f5a9fc rename vncterm to spiceterm 2013-09-11 07:20:40 +02:00
Dietmar Maurer
8c22ae7f43 move include directive to correct place 2013-09-10 13:08:47 +02:00
Dietmar Maurer
abc133121d code cleanup - compile with -Wall 2013-09-10 13:05:05 +02:00
Dietmar Maurer
a1cf2514dd code cleanup 2013-08-21 15:23:52 +02:00
Dietmar Maurer
7b4a7650fc implement scroll 2013-08-21 14:30:16 +02:00
Dietmar Maurer
63a34f43cb protect command ring with mutex 2013-08-21 12:58:20 +02:00
Dietmar Maurer
867d1eb5dd always update watch mask 2013-08-21 12:20:23 +02:00
Dietmar Maurer
c46a8251af use gdk keysyms instead of utf
There is no way to encode function keys with utf!
2013-08-21 12:00:42 +02:00
Dietmar Maurer
6500712322 use correct colors 2013-08-21 08:14:37 +02:00
Dietmar Maurer
3affb0e77c delete trailing whitespace 2013-08-21 07:47:07 +02:00