Commit Graph

518 Commits

Author SHA1 Message Date
Jon Trulson 8a8619bfa8 Enable the use of the TIRPC library on Linux.
This should avoid the need to run rpcbind in insecure mode.  You will
need to have the libtirpc-dev package, or equivalent installed.
2013-05-26 17:47:00 -06:00
Jon Trulson a71ee09728 dtksh: fix a build issue with Kubuntu x86_64.
Remove an apparently unnecessary 'mac' definition for feature/fs and
an unnecessary struct stat forward declaration.
2013-05-18 02:34:06 -06:00
Jon Trulson a198d898e8 TT RPC server: Don't search 538 million transients trying to allocate one.
Currently, mp_rpc_server.C tries 538 million ports to acquire an
available transient rpcbind port number.  This is bad when rpcbind is
running in secure mode (and you are not using tirpc) - Xsession will
'hang' at the dthello (blue) screen filling up your error logs with
RPC errors.

Now, just try +- 50 (for a total of 100 ports) before bailing.  The
dthello 'blue screen of death' is the most common problem in starting
CDE when rpcbind isn't set up properly.  This should at least not
cause the appearance of a 'hang'.
2013-05-17 16:16:17 -06:00
alx 86e5dc1f10 Fixed dtpad server crash when closing editor window associated with primary document 2013-04-15 17:54:25 -06:00
Ulrich Wilkens e8cb780125 Build dtksh on more OSs 2013-03-30 17:33:07 -06:00
Jon Trulson 208c1e4999 Add initial Greek UTF-8 translations.
Supplied by Antonis Tsolomitis <antonis.tsolomitis@gmail.com>
2013-03-12 15:03:43 -06:00
Karsten Pedersen 69997241c5 Fixed building on FreeBSD 8.x 2013-02-26 17:28:17 -07:00
Karsten Pedersen cc076d7756 Fixed colored border around workspace buttons 2013-02-26 17:28:10 -07:00
Pascal Stumpf 0ec1d6b692 Avoid negative array subscript; break out of the loop if that happens. 2012-11-27 23:46:12 -07:00
Pascal Stumpf 943aaadf86 Introduce DTKORNSHELL, analogous to KORNSHELL.
DTKORNSHELL is used to specify the install location of dtksh on your system,
preventing hardcoding of /usr/dt/bin/dtksh in Shebang lines and such.
2012-11-24 19:25:27 -07:00
Pascal Stumpf b49a4ffc94 Keep track of the length of the string in ExpandVariables().
On OpenBSD, the 'S' option to malloc(3) enables guard pages (among other
things).  This loop could have triggered this trap when reading beyond the
buffer.  Also, the whole "while(*ip)" construct was based on the assumption that
the memory after the string is always zero-filled.
2012-11-24 19:25:19 -07:00
Jon Trulson f84950100f Revert "Older Linux installations do not have svcfd_create()."
This reverts commit 44e384aedb.

This code is actually needed.  If svcfd_create() is not available, it
should be fixed only for those systems that it affects.
2012-11-24 19:16:58 -07:00
Pascal Stumpf c64ac1985b Set NATIVEXBINDIR on OpenBSD. 2012-11-20 17:17:37 -07:00
Pascal Stumpf c57d2191e8 Respect CDE_CONFIGURATION_TOP and CDE_INSTALLATION_TOP.
Do not hardcode /etc/dt and /usr/dt.
2012-11-20 17:17:33 -07:00
Pascal Stumpf 76c874b068 dtgreet: Do not crash if LANG is not set in the environment.
In that case, catopen() will have never been called, and we'd feed 0 as the
first argument to catgets().  This crashes, at least on OpenBSD.
2012-11-20 17:17:29 -07:00
Pascal Stumpf 0e5560cee4 Correct paths to xterm as failsafe client on the BSDs. 2012-11-20 17:17:25 -07:00
Pascal Stumpf d821557ca4 Use same SIGCHLD handling for OpenBSD as for OSF. 2012-11-20 17:17:18 -07:00
Peter Howkins e51d581782 dtaction: Resolve 8 warnings caused by -Wall 2012-11-20 16:22:04 +00:00
Peter Howkins ea96eb624d dtcalc: Resolve 82 warnings causing by enabling -Wall 2012-11-20 14:49:40 +00:00
Pascal Stumpf b64f79b1b8 On OpenBSD, use FILE_MAP_OPTIMIZED.
This has the effect of not performing a tt call each time in
ResolveLocalPathName() if we're on the local host anyway.  Drastically reduces
dtfile startup time.
2012-11-19 19:44:32 -07:00
Pascal Stumpf 5b9d3fc5ec Use /usr/sbin/sendmail as default mailer on OpenBSD. 2012-11-19 19:44:29 -07:00
Pascal Stumpf 6ecf213b63 Do not build motif manpages any more. 2012-11-19 19:44:24 -07:00
Pascal Stumpf fad2d16d20 Remove hack adding csu objects to the linker command line on OpenBSD.
This is no longer needed now that $(CC) is used to link shared libraries.
2012-11-19 19:44:19 -07:00
Pascal Stumpf 38f3f5dcba set AvoidNullMakeCommand on OpenBSD to avoid make warnings 2012-11-19 19:44:15 -07:00
Peter Howkins e56e3f74e6 dtcalc: Further remove K&R function prototypes and replace with ANSI. 2012-11-19 14:28:52 +00:00
Peter Howkins f4339cd58e dtcalc: Convert functions from K&R to ansi declarations. 2012-11-16 17:03:10 +00:00
Peter Howkins b556633eca dtscreen: Resolve (all) 11 warnigns caused by -Wall 2012-11-16 15:57:36 +00:00
Peter Howkins a67b65198d dtscreen: Resolve a -Wformat-security warning. 2012-11-16 15:29:50 +00:00
Peter Howkins 43cfaeaa65 libDtSearch: Resolve 137 -Wunused-variable warnings. 2012-11-12 17:13:36 +00:00
Peter Howkins 9040256676 libDtSearch: Resolve 38 -Wformat warnings 2012-11-12 16:26:11 +00:00
Peter Howkins a10520c43c libDtPrint: Resolve 9 -Wunused-variable warnings. 2012-11-12 15:03:37 +00:00
Peter Howkins 21feacd159 libdthelp: Resolve 65 -Wunused-variable warnings 2012-11-09 17:20:46 +00:00
Peter Howkins 6f2a704bbd libcsa: Resolve 96 -Wunused-variable warnings.
This is not all of them, another ~90 exist in generated code.
2012-11-06 15:07:08 +00:00
Peter Howkins 37c30d32f7 lidtwidget: Resolve 74 -Wunused-variable warnings 2012-11-06 13:56:11 +00:00
Peter Howkins a0da2db479 dtcalc: Resolve 43 warnings that would be introduced with -Wunused-variable or -Wall
Basically 43 local variables declared in functions and then never used.
2012-11-05 16:44:29 +00:00
Marcin Cieslak 2c10f0d62b Fix location of some SGML files 2012-10-24 18:17:06 -06:00
Ulrich Wilkens 8fd8a8a4db Fix dtappbuilder on Linux 2012-10-16 21:04:57 -06:00
Ulrich Wilkens 9b4fe61ea4 dtinfo other requirements 2012-10-15 17:59:26 -06:00
Ulrich Wilkens f17d779dab dtinfo subtree clients 2012-10-15 17:59:11 -06:00
Ulrich Wilkens 5cdb889f7b dtinfo subtree tools 2012-10-15 17:59:00 -06:00
Ulrich Wilkens 07e886ba7c dtinfo subtree dtinfogen 2012-10-15 17:58:44 -06:00
Ulrich Wilkens 51b8929ebd dtinfo subtree dtinfo 2012-10-15 17:57:49 -06:00
Ulrich Wilkens 8275485b4a dtinfo subtree mmdb 2012-10-15 17:57:35 -06:00
Ulrich Wilkens 8c8363f4a5 dtinfo subtree DtMmdb 2012-10-15 17:57:14 -06:00
Marcin Cieslak b92cf08899 Adobe Helvetica as -dt-interface system-
Use Adobe Helvetica as the sans serif user
interface font (among others, dtlogin, front
panel buttons, menu titles) instead of Lucida.

While there, move X Consortium comment back
to the top.

This change applies only to FreeBSD.
2012-10-08 19:31:24 +01:00
Peter Howkins cd39eabb18 libdthelp: resolve 46 compiler warnings 2012-10-08 15:34:45 +01:00
Marcin Cieslak c3c9abd86f Set CDE_RELEASE to 2.2.0 2012-10-06 18:42:35 +01:00
Jon Trulson 1c7b2005fe Update HISTORY for 2.2.0c release 2012-10-04 18:10:33 -06:00
Jon Trulson 7c9ca091be update CONTRIBUTORS 2012-10-04 18:06:47 -06:00
Jelle Hermsen b8862cab32 Changed a couple of ifdefs for __FreeBSD__ to CSRG_BASED. These are all clearcut cases. I left the ones I had doubts about, or where I wasn't sure about the OpenBSD side of things to look at later. 2012-10-03 17:06:57 -06:00