5
0
mirror of git://git.proxmox.com/git/vncterm.git synced 2024-12-22 21:33:49 +03:00
Commit Graph

55 Commits

Author SHA1 Message Date
Dominik Csapak
07a910f022 use unifont and add support for wide-characters and combining glyphs
this patch makes use of unifont with genfont2 and introduces support for
wide-characters and combining glyphs

for this we have to save the width and possible diacritic in the
textcell, which means we also have to reset them properly and give those
values also to draw_char_at

to determine the width we use the wcwidth provided by unifont
(because in unifont some characters are wide which normally are not)

we mmap the generated fontfile, and drop the glyphs.h, which reduces
the initial memory use, and shares the pages between processes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 12:55:19 +02:00
Dominik Csapak
ebe1002c3d add genfont2 and unifont build-dependency
this patch introduces a new tool to generate font data
it uses a new build-dependency, namely unifont, which is an opensource
font with printable charachters for the unicode range from
0x0000 to 0xFFFF

we generate a file which is easily mmap'able and has the same bitformat
we used before (minus the codepoint -> address translation)

note that some characters are using 2 columns as width, so to have a
static lookup, we need to make each character 32 byte long
(1 byte per line, 16 lines per terminal column)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 12:55:19 +02:00
Dominik Csapak
33a537dc6b add width and height parameters
so that we can have a custom resolution in vncterm

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 12:55:19 +02:00
Dominik Csapak
b5ae868d1d fixup debian packagin/Makefile
this patch cleans up the debian packaging and Makefile
(modeled after our spiceterm package)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-24 12:55:19 +02:00
Dietmar Maurer
ec96b12074 bump version to 1.4-2 2017-05-06 08:10:17 +02:00
Dominik Csapak
8392857fa7 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:07:08 +02:00
Dietmar Maurer
bdbcef679d remove java applet
All major browsers removed support for this ...
2017-03-10 11:03:01 +01:00
Dietmar Maurer
0704718295 Makefile: remove genfont binary on cleanup 2017-03-10 10:49:31 +01:00
Dietmar Maurer
90ba8cf67b depend on libpng16-16 2017-03-10 10:47:03 +01:00
Dietmar Maurer
0870c4f87d bump version to 1.4-1, recompile for debian stretch 2017-03-10 10:20:28 +01:00
Dietmar Maurer
42516b519f bump version to 1.3-2 2017-03-10 10:15:47 +01:00
Dominik Csapak
3d0dbf7c0e bound check utf8 characters
since we load the fontmap from psf1 font files, we only have characters
for a maximum codepoint of 0xFFFF, so we save the char in an
unsigned short (16bit) but we decode up to 6 bytes of utf8
so we have to correctly bound check the assignment, else we can get
garbled characters on the terminal

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:10:28 +01:00
Dominik Csapak
f2c7aa6b08 also detect empty first parameter of escape codes
some escape codes can omit the first parameter
eg. ESC[;5H

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:05:02 +01:00
Wolfgang Bumiller
1cdb39e534 buildsys: use fakeroot for dpkg-deb 2017-02-07 15:48:39 +01:00
Wolfgang Bumiller
3c10a0424b buildsys: use gzip -n to disable timestamps 2017-02-07 15:48:24 +01:00
Wolfgang Bumiller
3188947176 genfont: gzFile is already the opaque pointer 2017-02-07 15:46:05 +01:00
Wolfgang Bumiller
c5ce64cfe7 buildsys: make job safety 2017-02-07 15:42:24 +01:00
Fabian Grünbichler
8530eb68b8 build: use repoman for uploading 2017-02-03 09:11:58 +01:00
Fabian Grünbichler
e20fdc6c02 bump version to 1.3-1 2017-02-03 09:07:31 +01:00
Fabian Grünbichler
536237ba89 build: update options for libvncserver 0.9.11 2017-02-03 08:50:43 +01:00
Fabian Grünbichler
8cbd684b0c libvncserver: add revert of systemd socket activation 2017-02-03 08:50:43 +01:00
Fabian Grünbichler
c8d35ad90c libvncserver: refresh TLS patch 2017-02-03 08:50:43 +01:00
Fabian Grünbichler
8397d7dec2 libvncserver: update sources to 0.9.11 2017-02-03 08:50:43 +01:00
Fabian Grünbichler
d4dcc66ebc build: use temp file for glyph.h
otherwise it gets truncated on failure, and make thinks it's
there on the next run.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-02-03 08:29:13 +01:00
Fabian Grünbichler
d13304af89 add dependency for new libgnutls30
this allows building on Debian Jessie and Stretch

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-02-03 08:28:57 +01:00
Fabian Grünbichler
ee05330200 use builtin gnutls' builtin NORMAL ciphers
instead of custom, outdated, insecure ones. NORMAL provides
a sane default.

note that this is only used for the legacy VNC anyway, since
the noVNC web console (re-)uses the HTTPS connection to the
API.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-02-03 08:28:26 +01:00
Fabian Grünbichler
b26ab9ab5a use builtin dh_params with newer gnutls
this is recommended instead of generating our own, but needs
a new enough gnutls version.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-02-03 08:27:58 +01:00
Fabian Grünbichler
df4b12152d bump DH_BITS to 2048
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-02-03 08:27:34 +01:00
Dietmar Maurer
c39031e883 compile for debian wheezy, bump version to 1.2-1 2015-02-27 20:00:46 +01:00
Dietmar Maurer
1f4eaec7eb fix version in control file 2014-08-01 06:18:27 +02:00
Dietmar Maurer
11089334e9 update java code signature 2014-07-25 07:04:27 +02:00
Dietmar Maurer
1318f71a3a set correct version in control 2014-06-24 17:55:23 +02:00
Dietmar Maurer
5a90889767 fix argument parser
rfbPurgeArguments() moves arguments, so we need to decrement i after
purge, and use 'else if' (else we depend on argument order).

Also delete PVE_VNC_TICKET from environment (child don't need that).
2014-06-24 17:08:29 +02:00
Dietmar Maurer
c6d5b0959b bump version to 1.1-7 2014-06-23 13:35:55 +02:00
Dietmar Maurer
07e8de89e1 new option -notls
We need this for novnc (encryption is done by websocket)
2014-06-23 13:09:45 +02:00
Dietmar Maurer
2b83813dca ibump version to 1.1-6 2013-11-08 11:28:03 +01:00
Dietmar Maurer
0138729a98 use better name 2013-11-08 11:24:56 +01:00
Dietmar Maurer
1bd6df7ede set Caller-Allowable-Codebase and remove Trusted-Library
see http://stackoverflow.com/questions/19393826/java-applet-manifest-allow-all-caller-allowable-codebase
2013-11-08 11:22:08 +01:00
Dietmar Maurer
25be51cdfa bump version to 1.1-5 2013-11-08 08:57:48 +01:00
Dietmar Maurer
7d152b3f7d add jar with new signature 2013-11-08 08:24:13 +01:00
Dietmar Maurer
4a199f5420 also set permission attribute in jar manifest 2013-11-07 17:11:49 +01:00
Dietmar Maurer
e058169422 use comodo code sign cert 2013-11-07 17:10:50 +01:00
Dietmar Maurer
75f214c025 Allow to add intermediate certificates to /etc/pve/local/pve-ssl.pem 2013-06-03 08:36:57 +02:00
Dietmar Maurer
e9d0f7d38b bump version to 1.1-3 2013-05-10 08:00:19 +02:00
Dietmar Maurer
085cabefd0 re-enable javascript-events.patch
We need that to make reload on migration working.
2013-05-10 07:54:48 +02:00
Dietmar Maurer
4a0ae70e60 fix version in control file 2013-04-20 16:44:25 +02:00
Dietmar Maurer
b2e113616b bump version to 1.1-2 2013-04-20 16:06:24 +02:00
Dietmar Maurer
1e9388850f set trusted-lib in manifest to avoid security popup 2013-04-20 16:01:07 +02:00
Dietmar Maurer
6b53b0de88 disable javascript-events.patch
We do not really use that, and the old netscape library is not
in openjdk (plugin.jar)
2013-04-20 15:59:38 +02:00
Dietmar Maurer
336e20e1c7 add patches for newer tigervnc 1.2.0
but the current 1.2.0 branch is not usable because it always
opens a new toplevel window.
2013-04-19 09:07:04 +02:00