Commit Graph

2398 Commits (a61349c1d3be866f229495d9b41ad454f0d84296)
 

Author SHA1 Message Date
Pavel Roskin a61349c1d3 Allow sessions with 32 bpp 9 years ago
Pavel Roskin 5d23d007e9 Check return value of scp_session_set_bpp() 9 years ago
Itamar Reis Peixoto 7e20d421cc Merge pull request #315 from proski/autotools
Hot fix for recent autotools changes
9 years ago
Pavel Roskin 3d8045d3aa Use AC_CONFIG_MACRO_DIR, not AC_CONFIG_MACRO_DIRS
AC_CONFIG_MACRO_DIRS requires a very recent Automake, much newer than the
declared version 1.6 (even 1.11 doesn't work). AC_CONFIG_MACRO_DIR is
defined by Autoconf starting with version 2.58, so it's within the
currently declared constraints.
9 years ago
Jay Sorg 425bd945a5 common: updates for file.c 9 years ago
jsorg71 f7742eddec Merge pull request #273 from gschwind/devel
fix wrong handle of commented section in configuration file.
9 years ago
Itamar Reis Peixoto 94ca3516b1 Merge pull request #310 from noldor/devel
update japanese keyboard "Henkan_Mode" key and "Muhenkan" key
9 years ago
Itamar Reis Peixoto 08121e0840 Merge pull request #254 from metalefty/freebsd/ipv6
Unbreak IPv6 on FreeBSD and add IPv6-only option
9 years ago
Itamar Reis Peixoto ee436aeec9 Merge pull request #309 from proski/devel
Fixes for autotools, compile warnings and MacOS compatibility
9 years ago
Itamar Reis Peixoto 40a197e7a8 Merge pull request #314 from proski/locale
sesman: don't set LANG, let initialization scripts take care of it
9 years ago
Pavel Roskin 2a5d204baa Don't capitalize "Error" and print the error value 9 years ago
Pavel Roskin 9717e7392a Spell "return value", not "returnvalue" 9 years ago
Pavel Roskin 5575197eaa sesman: don't set LANG, let initialization scripts take care of it
Setting LANG to en_US.UTF-8 suppresses language settings from
/etc/locale.conf

See https://bugzilla.redhat.com/show_bug.cgi?id=1290820
9 years ago
Pavel Roskin 5de1d31a75 Change an unconditional #warning to a comment
Notes about software design should not be shown as warnings to everybody
who compiles the code. Warnings should be about unexpected conditions
detected at the compile time.
9 years ago
Pavel Roskin f1ba2b2c9d xcon: include sys/types.h for select() and related macros 9 years ago
Pavel Roskin 5b0dcfc8fe rail: fix declaration of rail_desktop_resize()
Arguments without a type default to int. The caller passes a pointer to
XEvent, so use that type.
9 years ago
Pavel Roskin eacfb00050 Declare xrdp_mm_frame_ack() in xrdp.h, it's used in xrdp_wm.c 9 years ago
Pavel Roskin 986fa94733 clipboard: undefine previously defined log level 9 years ago
Pavel Roskin 02c981e796 More spelling fixes found by codespell and aspell 9 years ago
Pavel Roskin f8cb1588ef Replace "charactor" with "character" everywhere 9 years ago
Pavel Roskin 5d9dae24c5 xrdpapi: fix MacOS compilation - use SO_NOSIGPIPE instead of MSG_NOSIGNAL 9 years ago
Pavel Roskin 00e70a5c54 Use standard autotools means to detect X11
Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add
X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS.
Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD.

With this patch, X Windows system is correctly detected on Mac OS X.
9 years ago
Pavel Roskin 334eeb970a clipboard_file: include sys/time.h for struct timeval, needed on Mac OS X 9 years ago
noldor 1fb706c0fc update japanese keyboard "Henkan_Mode" key and "Muhenkan" key 9 years ago
Pavel Roskin 4d4289d93c Disable systemd support for "make distcheck"
"make distcheck" sets prefix to a user-owned directory, compiles code and
runs "make install". That fails if systemd files need to be installed, as
their location if not relative to the prefix.
9 years ago
Pavel Roskin 12cd2f6a1d Don't touch any files in bootstrap
configure.ac already exists. Its timestamp doesn't need to be updated.
autoreconf takes care of the timestamps.

Since "foreign" is used in Makefile.am, no standard GNU files are
required. Distributing empty files like README could be disappointing for
the users.
9 years ago
Pavel Roskin 2694fa9dac Create the m4 directory for Autoconf macro files
Keeping separate files is more maintainable than merging them into a
single aclocal.m4 file. It is easier for users to understand where those
files come from.

Automake knows how to distribute files in the m4 directory.
9 years ago
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.
9 years ago
Pavel Roskin 309fca35ac Don't use a symlink where #include would suffice
Absolute symlinks break when the source is moved to another location. In
the best case, the symlink will be replaced with a copy, but that creates
code duplication. A user who got the packaged source may decide to change
one config.c without realizing that another config.c will get the same
changes.

Don't ignore config.c, it's a regular source file now, albeit very
short.

Testing done: compiled inside and outside build directory.
9 years ago
Pavel Roskin ee1a237685 Remove GOT_PREFIX, it's a broken hack of limited utility
To add flags to the compiler, CFLAGS, CPPFLAGS or LDFLAGS can be used on
the configure command line.

The need to add flags depends on the location of the headers and
libraries of the dependencies, which is orthogonal to the directory where
xrdp will be installed.

The implementation in configure.ac has a stray closing bracket, making
GOT_PREFIX true even if --prefix is not passed.

The implementation is inconsistent - the only affected makefiles are for
xrdp and libxrdp.

Changing rpath manually is wrong in most cases. Libtool should be able to
set rpath correctly on its own.

Using $(prefix)/lib ignores the libdir setting. For many 64-bit systems,
/usr/lib is used for 32-bit libraries. Adding 32-bit libraries to the
rpath slows down 64-bit executables, as the dynamic loader searches for
libraries in a wrong directory.

There is no way to disable GOT_PREFIX if --prefix has to be passed.
Fedora RPM patches configure.ac and needs to rerun autoconf and automake
after that.
9 years ago
jsorg71 a25e5e99dd Merge pull request #306 from metalefty/fontconfig-disable-docs
X11rdp: disable fontconfig docs
9 years ago
jsorg71 c6f27eb96c Merge pull request #304 from proski/devel
Minor fixes
9 years ago
Itamar Reis Peixoto 327f1ea9fc Merge pull request #307 from metalefty/adjust-permission
Drop exec permission of non executable files
9 years ago
Koichiro IWAO 16a284d1dc Drop exec permission of non executable files 9 years ago
Koichiro IWAO fbe6c10fc5 X11rdp: disable fontconfig docs
as it rarely fails to build. Nobody actually needs fontconfig docs
to build and run x11rdp even if it builds successfully. Thus we can
just disable it.
9 years ago
Pavel Roskin 964e860072 Run through codespell 9 years ago
Pavel Roskin 380c0cd2e7 Fix building outside the source tree
$(top_srcdir)/common is in INCLUDES, but $(top_srcdir) is not.
9 years ago
Pavel Roskin dac8bf728a PIDDIR should be /var/run, not /var/run/xrdp
There are no references to /var/run/xrdp anywhere else in the code.
9 years ago
Jay Sorg 2893fefc91 common: check for term in force send and recv 9 years ago
Jay Sorg ded462ab8e chansrv: fix some warnings 9 years ago
jsorg71 89c0ee09ea Merge pull request #301 from metalefty/update-mailing-list-address
Update mailing list address
9 years ago
Jay Sorg 8261459707 chansrv: fix a crash in fuse 9 years ago
Jay Sorg 040c3a3327 don't use g_free in xrdpapi 9 years ago
Koichiro IWAO 2a317d3db8 Update mailing list address 9 years ago
Jay Sorg 4e0d0f3ba0 sesman: remove the thread 9 years ago
Jay Sorg 4f128c530c no logic change, remove trailing space 9 years ago
Jay Sorg 96a237c8ef libxrdp: rail fix for when no flags are set 9 years ago
Jay Sorg 83cff9809c xorgxrdp=3379d2c 9 years ago
Jay Sorg f49e2058df xrdp: change when using xrdp.ini hidelogwindow 9 years ago
Itamar Reis Peixoto 9f710ce94a Merge pull request #276 from metalefty/show-license-freebsd-rc
instfiles: show license at the script taken from FreeBSD ports
9 years ago