Commit Graph

101 Commits

Author SHA1 Message Date
Pavel Roskin
b8ed23daab Constify the value argument to mod_set_param 2017-01-11 11:59:11 -08:00
Pavel Roskin
f25659d2ee Suppress versioning for modules, tell libtool they are modules
Versioning is for libraries. Modules are not libraries; no code is linked
against them.

Libtool makes sure the modules can be opened by dlopen(). That is already
true for ELF format, but other file formats may need special processing.
2017-01-06 10:52:44 -08:00
volth
26a26ef906 fix build with --enable-xrdpdebug=yes 2017-01-04 19:20:44 +00:00
volth
37b4a14b54 fix build with --enable-xrdpdebug=yes 2017-01-04 13:00:01 +00:00
Pavel Roskin
ace7d2c822 Declare unified module interface and use it in modules
This fixes loading modules compiled with a C++ compiler. Remote thandle
type, it's unused. Use tintptr for module data. Don't cast pointers to
long, they won't fit on Win64.
2016-07-08 05:09:09 +00:00
Pavel Roskin
2cb3af8ac3 Cast the result of g_shmat() to the destination type 2016-07-08 04:29:53 +00:00
Pavel Roskin
5829323ad8 Use g_new or g_new0 when C++ compiler would complain about implicit cast 2016-07-08 04:29:49 +00:00
Pavel Roskin
aeeb3d2c2e Fix warnings detected by -Wwrite-strings 2016-07-08 04:29:42 +00:00
Pavel Roskin
e7e4d61265 Return correct error code from process_server_paint_rect_shmem_ex() 2016-05-06 18:17:56 -07:00
Pavel Roskin
ca9cbcafc8 Typo fixes 2016-05-04 23:33:30 -07:00
Pavel Roskin
0629b25d5f Fix warnings about unused variables and functions 2016-04-21 22:27:27 -07:00
Pavel Roskin
e65bd6b7d7 Fix more format warnings 2016-04-21 21:21:17 -07:00
Pavel Roskin
59a5fb0ddb Move headers from EXTRA_DIST to sources, sort alphabetically
There should be no functional difference.
2016-02-21 23:06:48 -08:00
Pavel Roskin
dcab7552db Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.

Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
2016-02-12 23:52:46 -08:00
Pavel Roskin
22e808a186 Add missing spaces in the strings that are split for line wrapping 2016-02-12 23:52:45 -08:00
Pavel Roskin
f8cb1588ef Replace "charactor" with "character" everywhere 2016-01-30 17:33:04 -08:00
Pavel Roskin
a452d8d36a Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.

INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
2016-01-29 22:45:00 -08:00
Jay Sorg
d59d672f55 xup: no logic change, add logging 2015-11-02 17:54:16 -08:00
Jay Sorg
a330789e5b xup: fix for when Xorg/X11rdp to xup message payload is zero 2015-07-18 22:48:07 -07:00
Jay Sorg
6c23b85593 add timeout to trans_get_wait_objs_rw 2015-07-13 01:10:48 -07:00
Jay Sorg
fc1e4c645c update the copyright year 2015-07-12 01:06:04 -07:00
Jay Sorg
72f84fd2ec set the source for xup module 2015-07-11 01:18:02 -07:00
Jay Sorg
4a553e07af update the module API 2015-07-10 21:57:04 -07:00
Jay Sorg
65de5e971b xup: move to trans for io 2015-07-10 20:38:27 -07:00
Jay Sorg
9cd634007f fix for case where shmget can return an shmid of zero 2015-02-09 19:26:04 -08:00
Laxmikant Rashinkar
d7f0b174da coverity: uninitialized scalar variable 2014-07-28 18:13:07 -07:00
Laxmikant Rashinkar
e4654b57ca coverity: Resource leak (2nd round) 2014-07-27 15:29:12 -07:00
Laxmikant Rashinkar
27055d5762 coverity: improper use of negative value 2014-07-26 13:33:23 -07:00
Jay Sorg
1291d2dbbe work on codec mode 2014-07-19 13:25:23 -07:00
Jay Sorg
98fbca98db xup: check for g_shmat failure and change error case 2014-07-03 00:02:06 -07:00
Jay Sorg
73bdb57ee2 more fixes for 32 bit color 2014-06-10 17:49:15 -07:00
Jay Sorg
5717845837 xup: don't need to clear on connect 2014-05-19 23:42:36 -07:00
Jay Sorg
575fc9fb6f work on codec mode jpeg 2014-03-22 16:51:30 -07:00
Laxmikant Rashinkar
e7445a2544 o default login limit is now 50 users (instead of 10)
o we now wait for 30 seconds for session connection (instead of 1)
o if AUTO_LOGON flag is set but username is null, we force login dialog to show up
2014-02-28 19:28:31 -08:00
Jay Sorg
8cd57e0710 added server_paint_rects 2014-02-18 12:10:05 -08:00
Jay Sorg
1dd191ab1b xup: added process_server_paint_rect_shmem_ex 2014-02-09 18:05:47 -08:00
Jay Sorg
dbd16f3e9b xup: no logic change, seperate one big function out 2014-02-03 19:48:57 -08:00
Jay Sorg
022c1e31f9 xup: call shmdt on disconnect 2014-01-28 10:40:19 -08:00
Jay Sorg
25369460a1 log client ip with pid, etc 2013-10-02 16:27:12 -07:00
Jay Sorg
97473e4f66 xup: pid logging, use log_message 2013-10-02 11:56:09 -07:00
Jay Sorg
b598e258a4 add pid logging 2013-10-01 22:42:12 -07:00
Jay Sorg
c1b7cbd657 merges from authentic8 2013-09-26 11:28:07 -07:00
Jay Sorg
4e58a5a3c0 X11rdp: work on off screen bitmap, size limit, use ack for screen delayed drawing 2013-09-09 15:43:58 -07:00
Jay Sorg
2c70a0e1f8 part of merge, no logic change, add -g to Makefile and LLOGLN to xup.c 2013-08-22 12:55:31 -07:00
Jim Grandy
981741f55c Hand-apply patch (compositing) from Authentic8: 5d5e470 81c9c29 b0c2c10 27d8a01 a96a217 e512090 a9a6762 9c02bfa bd26fcc c0d29d9 676dd35 3b26737 2013-08-22 12:54:10 -07:00
Jim Grandy
45b0bc9f17 Hand-apply patches (glyph cache) from Authentic8 branch: 653869c 30f23d4 74b015d 4e51e6d 2829087 2013-08-22 12:52:24 -07:00
Jim Grandy
dfe5911b55 Hand-apply patches (rail improvements) from Authentic8 branch: 507694d, 0e21d45, 44447d5, e452e4f, 3d05576, dd69d8f 2013-08-22 12:49:40 -07:00
Jay Sorg
d96d8aa5ad xup: add shared memory option for X11rdp and xrdp 2013-08-18 22:36:18 -07:00
Jay Sorg
b1389eac99 xup: from Marc, added missing bgcolor 2013-06-27 16:23:12 -07:00
Jay Sorg
12f7cd64f1 work on new(color) cursors 2013-03-18 23:43:17 -07:00