Commit Graph

2646 Commits (e39f567c35a7eebc4b7666977a394d483e63a1ad)
 

Author SHA1 Message Date
Jay Sorg e39f567c35 on make install, don't create rsakeys.ini if it already exists 8 years ago
jsorg71 46e1173bd9 Merge pull request #479 from proski/strerror
Use g_get_strerror() instead of strerror(errno) for portability
8 years ago
Pavel Roskin 2dcc69b752 Use g_get_strerror() instead of strerror(errno) for portability 8 years ago
metalefty d7fd153951 Merge pull request #418 from metalefty/keymap-fallback-lower-16bit
Use km-0000yyyy.ini if km-xxxxyyyy.ini doen't exist
8 years ago
metalefty 8da1829981 Merge pull request #478 from proski/install-headers
Install headers used by X11rdp and xorgxrdp
8 years ago
Pavel Roskin 1fe368c5b3 Install headers used by X11rdp and xorgxrdp
Installing the headers makes it possible to compile xorgxrdp as a
separate package, without xrdp sources.
8 years ago
metalefty 94901c9989 Merge pull request #454 from metalefty/change-chansrv-log-path
chansrv: change chansrv log path to ${XDG_DATA_HOME}/xrdp
8 years ago
Koichiro IWAO 5725200e82 Use km-0000yyyy.ini if km-xxxxyyyy.ini doen't exist
upper 16 bits of keylayout value indicates keyboard layout.
lower 16 bits of keylayout value indicates country/language.

If the keymap file doesn't match exactly to keylayout value,
the typical keyboard of the country/language should be used.

For example [1]:
  0x00000409: US English
  0x00010409: US Dvorak
  0x00020409: US International
  0x00030409: US Dvorak for left hand
  0x00040409: US Dvorak for right hang
  0x0000040e: Hungarian
  0x0001040e: Hungarian 101-key

[1] https://msdn.microsoft.com/windows/hardware/commercialize/manufacture/desktop/windows-language-pack-default-values
8 years ago
Itamar Reis Peixoto 7c516d7d07 Merge pull request #473 from metalefty/add-finnish-keyboard
add Finnish keyboard
8 years ago
Koichiro IWAO cab8955ea4 add Finnish keyboard
Closes #70
8 years ago
Itamar Reis Peixoto f94920171e Merge pull request #437 from metalefty/switch-to-8-hex-digit-keymap-file
Switch to 8 hex digit keymapfile
8 years ago
metalefty c6df12b558 Merge pull request #470 from proski/xorg-ini
Simplify names of xrdp.ini sections, rename "Session Manager" to "Xorg"
8 years ago
Pavel Roskin 61811466e2 Simplify names of xrdp.ini sections, rename "Session Manager" to "Xorg"
Make section names equal to the names in the "name=" setting to avoid
confusion and the need to renumber sections. Avoid "sesman-" in the
names, it's not helpful to the user. Move "Xorg" just below "X11rdp",
that would give xorgxrdp more visibility.
8 years ago
Itamar Reis Peixoto 0d1cf12677 Merge pull request #472 from proski/ssl
Use static inline functions for OpenSSL 1.0 backport
8 years ago
Pavel Roskin 4324084d58 Use static inline functions for OpenSSL 1.0 backport
Conditional preprocessor directives spread throughout the code set a bad
example.

The new backport code is located in one place. The compiler checks
argument types. The backport code has no access to the caller variables.
The main code has all advantages of the new, more compact API.
8 years ago
metalefty cde340350c Merge pull request #459 from Natureshadow/openssl110
Fix ssl_calls for OpenSSL 1.1.0
8 years ago
metalefty 0a8afd17ea Merge pull request #463 from Natureshadow/config-patches
Move -logfile /dev/null option for easier commenting in debug scenarios.
8 years ago
Dominik George c90bc13d39
Move -logfile /dev/null option for easier commenting in debug scenarios. 8 years ago
Jay Sorg 8fad88a457 librfxcodec=2a90952 8 years ago
Dominik George e5cf45d1ac
Add backwards compatibility to OpenSSL < 1.1.0. 8 years ago
Dominik George 1b5fb8f1c8
Fix ssl_calls for OpenSSL 1.1.0, closes #458. 8 years ago
metalefty c524b062dd Merge pull request #451 from metalefty/buildx-keepalive-download
buildx.sh: download tarballs using keepalive
8 years ago
Koichiro IWAO 2016065a40 docs: update chansrv log path 8 years ago
Koichiro IWAO 7d017482f6 chansrv: change chansrv log path to ${XDG_DATA_HOME}/xrdp
like Xorg's logfile is written to ${XDG_DATA_HOME}/xorg/Xorg.n.log.

If XDG_DATA_HOME is not defined, the log path will be
${HOME}/.local/share/xrdp.
8 years ago
metalefty 34378ea386 Merge pull request #450 from proski/memleak
Fixing memory leaks
8 years ago
Koichiro IWAO f62b55c547 switch newly added keymaps to 8 hex digit 8 years ago
Koichiro IWAO 042c33a11c Switch the remaining 4 hex digit keymapfile to 8 hex 8 years ago
Koichiro IWAO c654c86206 Switch to 8 hex digit keymapfile
as the value keyboardLayout is actually 32-bit unsigned integer.
See [MS-RDPBCGR] - v20160714 p.45.
8 years ago
metalefty b79ad54bd3 Merge pull request #453 from itamarjp/devel
Add es_ES layout support #88
8 years ago
Pavel Roskin b28a986071 Fix memory leak in xrdp-sesman on config reload 8 years ago
Pavel Roskin dc60a80b86 Memory leak fix: keep X server path in the parameter list
g_cfg->xorg_params, g_cfg->vnc_params and g_cfg->rdp_params don't have
auto_free enabled, so removing an item from one of those lists won't free
its contents.

It's better not to change those lists, as they represent the actual
config file and could be reused. Instead, omit the 0th parameter (the
executable path) from copying to xserver_params.

Found by Valgrind.
8 years ago
Pavel Roskin e17a56efb6 Call auth_end() exactly once in scp_v0_process()
As discovered by Valgrind, it wasn't called at all in case of a
successful session creation, which leaked memory.
8 years ago
Pavel Roskin 65ac8e758b Fix memory leak: free session data
Call scp_session_destroy() in the functions that call
scp_session_create() and nowhere else.

As found by Valgrind, the session data is not freed if the session is
created successfully.
8 years ago
Itamar Reis Peixoto 8bf28e45c4 Merge pull request #445 from proski/noextra
Avoid using non-standard Automake variables starting with "EXTRA"
8 years ago
Itamar Reis Peixoto d4f350758b add km-040a.ini keyboard 8 years ago
Itamar Reis Peixoto b70f372a87 add keymap-names.txt 8 years ago
Koichiro IWAO 6b589569ee buildx.sh: download tarballs using keepalive
Executing wget like

  wget http://example.com/file1 http://example.com/file2 ...

can do HTTP keepalive.

Quit calling wget with single file. Downloading multiple files in one
http connection is a little bit faster than executing wget more than
100 times. And parallelly execute two instances of wget to increase
download speed.
8 years ago
Koichiro IWAO cf1a99b4e2 buildx.sh: simplify counting lines 8 years ago
Pavel Roskin a370306f75 Get rid of EXTRA_LIBS, use variables with more specific names 8 years ago
Pavel Roskin 5c69f3cd57 Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS 8 years ago
Pavel Roskin 0422734fc7 Merge EXTRA_DEFINES and EXTRA_INCLUDES into AM_CPPFLAGS
AM_CPPFLAGS is a documented Automake variable for C preprocessor flags
that should not be overridden when compiling the package.

There is no need to have two additional variables that are ultimately
merged into AM_CPPFLAGS.

Their names are also confusing. EXTDA_DIST is a documented Automake
variable. Everything else that starts with "EXTRA" is not.
8 years ago
Koichiro IWAO 85e98d211a Update file-loc.txt 8 years ago
metalefty 0c4c52878a Merge pull request #444 from proski/trivial
Simple changes, mostly log messages and documentation
8 years ago
Pavel Roskin 6fef1e4eb5 Use const pointers in function arguments when possible 8 years ago
Pavel Roskin bc868b96b1 Remove text2bool() from log.h, there is no such function 8 years ago
Pavel Roskin 09746fcebc Leave only one "autorun" in xrdp.ini, improve comment 8 years ago
Pavel Roskin c3b99de739 Fix wrong comments in sesman config printing code 8 years ago
Pavel Roskin bf08892622 Fix incorrect description of auth_userpass() return value 8 years ago
Pavel Roskin a618d4f757 Don't use final newline in log calls, it's already appended 8 years ago
Pavel Roskin 424cef464b Log malloc errors with LOG_LEVEL_ERROR 8 years ago