Commit Graph

4138 Commits

Author SHA1 Message Date
matt335672
17dda486a1 Update ax_type_socklen_t.m4 to latest version
Fixes warning about obsolete macro AC_TRY_COMPILE with autoconf 2.71
2022-11-07 15:50:22 +00:00
matt335672
b7d0bd784a Bump autoconf version
* Autoconf version from 2.65 -> 2.69
* AC_PROG_LIBTOOL replaced with LT_INIT
* AC_HELP_STRING replaced with AS_HELP_STRING
2022-11-07 15:48:20 +00:00
metalefty
cc43061ed4
Merge pull request #2401 from metalefty/codec_guid
Record codec GUID to identify unknown codec
2022-11-04 16:13:30 +09:00
Koichiro IWAO
9120dc9a66 Update header comments 2022-11-04 16:06:50 +09:00
Koichiro IWAO
32da5a7ed6 Replace guid_to_str() with ms_guid_to_str() 2022-11-02 00:20:31 +09:00
Koichiro IWAO
44c977a7c2 Use 8-4-4-4-12 rather than 8-4-4-16 for GUID textual representation 2022-11-01 22:57:07 +09:00
Koichiro IWAO
fe14cb14a3 libxrdp: record codec GUID to identify unknown codec 2022-11-01 19:24:02 +09:00
Koichiro IWAO
791f055e18 common: add function to convert from Microsoft's GUID to string 2022-11-01 19:24:02 +09:00
Koichiro IWAO
ece8fd2946 Add CODEC_GUID_IGNORE
ref. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/86507fed-a0ee-4242-b802-237534a8f65e
2022-11-01 19:24:02 +09:00
Koichiro IWAO
2d5a1c37d7 gitignore: ignore some test artifacts 2022-11-01 19:24:02 +09:00
matt335672
3fe20d1856
Merge pull request #2394 from matt335672/update_actions
Update github actions to address warnings
2022-10-20 10:07:21 +01:00
matt335672
18c5538781 Add casts required for C++ CI and OpenSSL 3.x 2022-10-20 09:56:23 +01:00
matt335672
5cbf0cb5ac Update legacy OS from 18.04 to 20.04
Since Ubuntu 20.04 supports less i386 functionality than 18.04,
it has been necessary to use a smaller set of compile options,
resulting in less compile coverage.
2022-10-19 17:48:42 +01:00
matt335672
23a3c85bc1 Update github ::set-output usage 2022-10-19 17:48:42 +01:00
matt335672
288dbf4e1f Update github actions version for node.js 16 2022-10-19 11:11:12 +01:00
metalefty
5b510107aa
Merge pull request #2386 from metalefty/log_time
log: change date format to ISO8601-like
2022-10-14 10:19:17 +09:00
matt335672
042317a306
Merge pull request #2391 from galeksandrp/patch-1
xrdp.ini.5.in: Fix mixed up require_credentials/enable_token_login options
2022-10-13 11:21:07 +01:00
Alexander Georgievskiy
fa138f80f7
xrdp.ini.5.in: Fix mixed up config options 2022-10-12 17:10:34 +03:00
Koichiro IWAO
662011a757 log: add some more comments 2022-10-11 09:56:40 +09:00
Koichiro IWAO
db96239982 log: quit using lrint and -lm 2022-10-11 09:56:36 +09:00
Koichiro IWAO
aca05c4f2e log: change date format to ISO8601-like
Former format:  "[20221007-16:36:02] "
New format:     "[2022-10-07T16:36:04.357+0900] "
2022-10-11 09:55:33 +09:00
metalefty
fafd7bfda2
Merge pull request #2366 from TOMATO-ONE/new_loginscreen
Redesign the login screen
2022-09-22 14:43:29 +09:00
TOMATO-ONE
4114774ef3 redesign the login screen 2022-09-20 16:19:35 +00:00
matt335672
a5d8bfdb64
Merge pull request #2362 from matt335672/auth_handle
Replace various types used for auth_info
2022-09-16 10:53:55 +01:00
matt335672
660ac303f0 Replace various types used for auth_info
The loadable sesman authentication modules use different types for the
authentication handle returned from auth_userpass(). The PAM module
uses a pointer, and the other modules use (effectively) a boolean. Within
sesman itself, a long or tbus (intptr_t) is used.

This PR replaces all of these types with a pointer to an incomplete type.

Consequently:-
- A single better-labelled type is used it all places within sesman so
  it's more obvious what's being handled.
- There is no need to cast the authentication handle within the PAM
  module to a long and back again.
- The compiler can check function signatures between auth.h and the
  various verify modules.
2022-09-16 10:46:53 +01:00
matt335672
e1697879ec
Merge pull request #2364 from seflerZ/touchpad
Enable touchpad inertial scrolling
2022-09-16 10:22:16 +01:00
sefler
cb2b32e6c5 fix code review issues 2022-09-15 23:55:23 +08:00
sefler
9d33b4cbcb fix code style issue 2022-09-15 23:55:23 +08:00
sefler
6cc842b3e6 fix log level 2022-09-15 23:55:23 +08:00
sefler
c2b465880b add some comments and modify gitignore 2022-09-15 23:55:16 +08:00
sefler
c4d6714979 touchpad scrolling works now 2022-09-15 23:53:26 +08:00
matt335672
d80d096e32
Merge pull request #2368 from metalefty/gitignore
gitignore: add some built binaries
2022-09-15 15:17:41 +01:00
Koichiro IWAO
61a58aaad9 gitignore: add some built binaries 2022-09-15 19:45:53 +09:00
matt335672
62167d867e
Merge pull request #2359 from matt335672/freetype2_ci
Add freetype2 to CI
2022-09-06 10:42:06 +01:00
matt335672
02513dbd4b Add freetype2 to CI
The freetype2 library can now be used to create fv1 fonts. This
library is added to the 'max features' CI builds to pick up any
regressions.
2022-09-06 10:32:40 +01:00
matt335672
7354eb6060
Merge pull request #2341 from matt335672/scaled_login_screen
Scaled login screen support
2022-09-06 09:48:09 +01:00
matt335672
e44879740f Update fonts
Replace sans-10.fv1 with a modern version generated with the
new tools.
Also add a sans-18.fv1 for higher DPI monitors.
2022-09-06 09:42:14 +01:00
matt335672
a417ab0542 Add font control variables to xrdp.ini
This commit adds the variables fv1_select and default_dpi to
xrdp.ini. These variables allow for a different font to be
loaded, depending on the DPI of the login screen.
2022-09-06 09:42:14 +01:00
matt335672
d0c8e28d27 Add a scaling capability to the login screen
The dimensions from xrdp.ini are replaced with scaled and unscaled
versions. The unscaled versions are read from the config file, and
then scaled to match the loaded font.

Currently this has no significant effect, as the same font is still
loaded, so the scaling factor is 1.00. However, when a different font
is loaded, the login window can be made larger for use on higher DPI
monitors.
2022-09-06 09:42:14 +01:00
matt335672
36959e593a Add support for new fields in fv1 fonts
The previous commit added utilities which work with fv1 files
with additional fields in the fv1 header (i.e. body_height and
min_descender). This commit makes minor changes to the font loading code
in xrdp so xrdp can read the new font format.
2022-09-06 09:31:47 +01:00
matt335672
90561f7bad Added fontutils/README_fv1.txt 2022-09-06 09:31:47 +01:00
matt335672
ae6a55dbac Replace Windows font utility with native utilities
To generate new fonts, the freetype2 library is required. This
can now be specified by configure in the usual way. If it's missing,
new fonts cannot be generated.
2022-09-06 09:31:47 +01:00
matt335672
70622bf92b Remove hard-coded values for font sizes.
The font body height is now explicitly stored in the font
structure. This is the definition that would be used for manual
typesetting (i.e. the line spacing). This is used for calculating
the heights of strings.

The window title header has also been increased by 3 pixels from a
hard-coded 18 to (font_height + 5), which now equates to 21 pixels
with the sans-10.fv1 font.
2022-09-06 09:31:47 +01:00
matt335672
9875f0c0d8 Add g_memmove() to os_calls 2022-09-06 09:31:47 +01:00
matt335672
888c2a0434 Font macro updates for adding font utilities 2022-09-06 09:31:47 +01:00
matt335672
c3585adaa0
Merge pull request #2353 from kraj/clang
mark variable with unused attribute for Clang 15
2022-09-06 09:29:35 +01:00
Khem Raj
fc2d61e0c8 mark count with unused attribute
This may throw a warning with clang-15+ when devel logs are disabled
Fixes
../../../xrdp-0.9.19/sesman/chansrv/chansrv.c:198:9: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:58:07 -07:00
matt335672
b4dd86fadd
Merge pull request #2354 from a1346054/fixes
Simple maintenance improvements
2022-09-05 10:39:39 +01:00
a1346054
59f8d9fe07
fix some shellcheck warnings 2022-09-03 02:05:08 +00:00
a1346054
0c942feaff
improve test logic 2022-09-03 02:02:14 +00:00