Commit Graph

566 Commits

Author SHA1 Message Date
Peter Howkins c742edcb2f dtstyle: Resolve 70 compiler warnings 2013-09-03 15:41:58 +01:00
Peter Howkins d57739782f dtstyle: Alphabetically sort the backdrops in the backdrop list. 2013-09-03 14:34:11 +01:00
Jon Trulson c6f1d5ac05 dtinfogen_worker: don't free variables then use them later.
In several places, variables were XFree()'d, but then used in system()
commands later.  This would cause various issues - on my system, I'd
get:

sh: 1: Syntax error: EOF in backquote substitution
system for rm failed; exiting...

while building the guides.
2013-08-31 17:18:53 -06:00
Ulrich Wilkens 219474c9c8 dtinfo activation 2013-08-29 19:50:02 -06:00
Ulrich Wilkens 4ec9658299 dtinfo other files 2013-08-29 19:47:51 -06:00
Ulrich Wilkens acdae62484 documents for dtinfo 2013-08-29 19:46:29 -06:00
Ulrich Wilkens 92424bd169 dtinfo subdirectory mmdb 2013-08-29 19:45:18 -06:00
Ulrich Wilkens eb698f32cf dtinfo subdirectory dtinfogen 2013-08-29 19:44:12 -06:00
Ulrich Wilkens aef2830df2 dtinfo subdirectory dtinfo 2013-08-29 19:42:40 -06:00
Ulrich Wilkens fbd81ef151 dtinfo subdirectory DtMmdb 2013-08-29 19:41:27 -06:00
Ulrich Wilkens 0be684281d Remove installation of motif man pages. 2013-08-29 19:40:02 -06:00
Pascal Stumpf 335a00c6f1 dtlp: Fix the path to DtFuncs.dtsh if CDE_INSTALLATION_TOP != /usr/dt.
While here, also point the man page to the correct default location.
2013-08-06 17:27:37 -06:00
Ulrich Wilkens 85993b42ab avoid identical Vector instantiations. 2013-07-29 19:17:20 -06:00
Pascal Stumpf 29f2ad7dd7 dtlogin: correct path to getty. 2013-07-25 18:36:34 -06:00
Ulrich Wilkens a4ab06ac1e lib/DtHelp: added missing include. 2013-07-25 18:29:33 -06:00
Pascal Stumpf 1b319ff67d include unistd.h for read(2) prototype. Fixes dtdocbook on PowerPC.
There are a lot more warnings here, but this one was an actual bug.  Full
treatment pending ...
2013-07-23 19:01:13 -06:00
Pascal Stumpf 79486301d1 Make dtksh build on OpenBSD/powerpc. 2013-07-23 18:47:54 -06:00
Pascal Stumpf c50eb571e3 OpenBSD.cf: don't include xorg.cf (leftover) 2013-07-23 18:46:31 -06:00
Pascal Stumpf 20081d15c9 ttsnoop: deal with iostream.h and missing sentinels.
Replacing strstream may be possible, but requires more work and a better
understanding of the code.
2013-07-23 18:44:56 -06:00
Pascal Stumpf 380232cb93 Kill iostream.h deprecation warnings on *BSD. 2013-07-23 18:43:05 -06:00
Pascal Stumpf f9a70b5165 SECURITY fix for dtappintegrate: Use mktemp(1) to generate a template.
Using a fixed filename in /tmp is just begging for a symlink attack ...
2013-07-22 17:26:19 -06:00
Pascal Stumpf 6c42732461 error.ds.src: don't hardcode /usr/dt 2013-07-22 17:25:00 -06:00
Pascal Stumpf aa470d2e3a Adapt dtlogin/config/_common.ksh.src for OpenBSD:
* ps(1) is totally different on BSD and Linux.  The OSF commandline works fine.
* fontpath is in /usr/X11R6 on OpenBSD.
2013-07-22 17:24:13 -06:00
Pascal Stumpf 2e6347984b Simplify programs/Imakefile a bit. dtksh, dtlogin and dtcm build everywhere. 2013-07-22 17:23:24 -06:00
Pascal Stumpf 57cfd2162d s,/usr/dt,CDE_INSTALLATION_TOP,g in dtlogin/config 2013-07-22 17:22:23 -06:00
Pascal Stumpf 5153c43c50 Xreset.src: Do not hardcode /usr/dt. 2013-07-22 17:21:20 -06:00
Pascal Stumpf 9bd98b70f2 Do not hardcode /usr/dt in print.dt. 2013-07-22 17:20:25 -06:00
Pascal Stumpf 7e0a9517e3 Silence lots of warnings in lib/DtHelp.
* 64bit warnings
* Missing prototypes
* explicit parentheses / brackets

There's still some work to be done, but, as always, it's a start ...
2013-07-22 17:19:13 -06:00
Pascal Stumpf 0c165f56f5 kill a few more warnings in DtPrint 2013-07-22 17:15:34 -06:00
Pascal Stumpf 387ae5bdab sync warning flags betseen cc and c++ on OpenBSD 2013-07-22 17:14:15 -06:00
Pascal Stumpf c48771be2b Do not use -fpermissive in programs/nsgmls. It's not needed. 2013-07-22 17:13:11 -06:00
Pascal Stumpf dc0e8ea74d Kill most warnings in lib/DtTerm.
Mostly missing headers, explicit parentheses and new prototypes.

Some Caveats:
* I haven't compile-tested the SVR4 getpty file, it might need another tweak
* There were operator precedence bugs in TermPrimCursor.c and TermPrimRender.c
  (^ vs. !=).  This might change behaviour, but at least I haven't experienced
  any crashes ...
* This adds a little more dependencies for include ordering, but unless we
  want to play the "headers that include headers that include headers..." game,
  this is unavoidable.
2013-07-22 17:12:07 -06:00
Pascal Stumpf 8f98ac92cd Kill lots of warnings in DtSvc. 2013-07-21 15:54:39 -06:00
alx 0d7568e843 dticon: fixed "rubber string" drawing on high/true color displays 2013-06-26 11:20:52 -06:00
Jon Trulson f8567bff18 update for 2.2.0d release 2013-05-30 15:20:09 -06:00
Jon Trulson 1dca91cb11 update for release 2013-05-30 15:11:21 -06:00
Peter Howkins 6d5eec1855 Update date in copyright (and splash screen) 2013-05-30 16:08:58 +01:00
Ulrich Wilkens 6f56ab0e42 Fix screen locking for BSDs 2013-05-29 20:00:43 -06:00
Jon Trulson 1d8f86a6ba Revert "Enable the use of the TIRPC library on Linux."
This reverts commit 8a8619bfa8.

More work will need to be done to use tirpc on 64bit systems.  It
works 'accidentally' on 32b systems.  The issue is that tirpc
includes *must* be used, and there is some work required to properly
support this (like proper include paths, proper definition of XDR,
etc).

So for now, we revert this until that work can be completed and tested,
otherwise 64b linux builds are likely to have problems.
2013-05-27 19:34:08 -06:00
alx 006dbc0e33 Enable X11 screen saver extension on Linux 2013-05-26 21:10:48 -06:00
Jon Trulson fae50f7b98 Merge branch 'master' into multi-monitor 2013-05-26 17:50:12 -06:00
Jon Trulson 7006fbc8bf Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2013-05-26 17:48:55 -06:00
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
Peter Howkins 3bd9b4c4da dtstyle: Sort color palette names into alphabetical order for displaying. 2013-05-20 15:53:44 +01: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 fbe451187f Merge branch 'master' into multi-monitor 2013-05-17 23:55:51 -06:00
Jon Trulson fe0e5904c3 dtksh: fix a build issue with Kubuntu x86_64.
Remove an apparently 'mac' definition for feature/fs and an
unnecessary struct stat forward declaration.
2013-05-17 23:22:33 -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