Jon Trulson [Sun, 23 Mar 2014 00:56:21 +0000 (18:56 -0600)]
pax.h: include stdio.h
Jon Trulson [Sun, 23 Mar 2014 00:50:15 +0000 (18:50 -0600)]
PrintTopics.c: fix up some warnings
alx [Sat, 15 Mar 2014 22:31:01 +0000 (23:31 +0100)]
dtstyle: enable palette editor on true/direct color screens
Jon Trulson [Sat, 22 Mar 2014 23:37:50 +0000 (17:37 -0600)]
Updated Greek (el_GR.UTF-8) translations from Antonis Tsolomitis.
Jon Trulson [Sat, 22 Mar 2014 22:54:24 +0000 (16:54 -0600)]
tt_xdr_utils.h: fix build error on linux/bsd introduced with illumos initial patch.
The linux's and BSD's need the 'struct XDR::xdr_ops ops' declaration,
whereas I guess sun does not.
Peter Tribble [Fri, 21 Mar 2014 23:37:00 +0000 (16:37 -0700)]
initial illumos port
Jon Trulson [Wed, 12 Mar 2014 23:00:07 +0000 (17:00 -0600)]
libcsa: fix up some stupidness.
Ulrich Wilkens [Wed, 12 Mar 2014 18:43:12 +0000 (19:43 +0100)]
Fix cpp output on Ubuntu 13
Ulrich Wilkens [Tue, 11 Mar 2014 18:24:35 +0000 (19:24 +0100)]
Fix dtfile and dtterm on NetBSD
Jon Trulson [Tue, 11 Mar 2014 03:32:10 +0000 (21:32 -0600)]
linux: libDtSearch requires linking with -lm
Jon Trulson [Tue, 11 Mar 2014 02:58:17 +0000 (20:58 -0600)]
dtinfo: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Tue, 11 Mar 2014 02:43:32 +0000 (20:43 -0600)]
dtcm: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Tue, 11 Mar 2014 02:30:24 +0000 (20:30 -0600)]
dtmail: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Tue, 11 Mar 2014 02:07:16 +0000 (20:07 -0600)]
dtpad: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Mon, 10 Mar 2014 23:06:24 +0000 (17:06 -0600)]
dtdocbook/instant: *always* link with local libtcl.a
On some systems with libtcl installed, it might be linked into instant
rather than the locally provided version. This can result in random
coredumps.
Seen on Ubuntu 12.04, x86_64.
Now, we force linking with ../tcl/libtcl.a.
Jon Trulson [Mon, 10 Mar 2014 20:49:37 +0000 (14:49 -0600)]
mp_rpc_server.C: limit iteration of svc_fdset to FD_SETSIZE, as per spec.
In init() there was code iterating over all of the possible file
descriptors in a svc_fdset. fdsets are limited to FD_SETSIZE. This
caused coredumps on FreeBSD 10, and possibly other hidden issues.
Moving to poll(), rather than select() would be better, but is a bigger
job. For now, just limit to the FD_SETSIZE that select() requires.
Jon Trulson [Sun, 9 Mar 2014 23:59:18 +0000 (17:59 -0600)]
linux: move dependancy handling out of linux.cf and into new lnxDep.rules file.
Include lnxDep.rules in linux.cf.
Jon Trulson [Sun, 9 Mar 2014 20:52:43 +0000 (14:52 -0600)]
linux.cf: fix typo and some formatting.
Jon Trulson [Sun, 9 Mar 2014 20:24:00 +0000 (14:24 -0600)]
nsgmls: fix up some gcc 4.8 warnings.
Jon Trulson [Sun, 9 Mar 2014 10:36:42 +0000 (04:36 -0600)]
linux: Use installed X11 header files rather than requiring /imports/x11/include
With this patch, it is no longer neccessary to create the
/imports/x11/include/X11 symlink...
Also, remove the include of xfree86.cf from linux.cf, and define our
own DefaultCCOptions. Setup to use only -ansi, not -pendantic.
Jon Trulson [Sun, 9 Mar 2014 07:21:40 +0000 (00:21 -0700)]
libDtTerm: add include <stdio.h> so FILE is properly defined.
TermPrim/TermPrimDebug.h references FILE without including the
required header file. I am not sure why this hasn't shown up before.
Jon Trulson [Sun, 9 Mar 2014 06:43:17 +0000 (23:43 -0700)]
linux depend: stop using makedepend, use gcc instead
gcc can generate dependencies, so use that instead of building and
depending on the rather delicate and archaic 'makedepend'.
This fix removes makedepend from being built or used on linux, and
instead uses gcc to generate dependency data in .depend files.
I think pretty much every platform that uses gcc should do this. I am
not sure if other compilers (intel, clang) can do this though.
Jon Trulson [Sun, 2 Mar 2014 00:01:12 +0000 (17:01 -0700)]
building_release_archive: add some steps and clean up
Jon Trulson [Sat, 1 Mar 2014 23:49:09 +0000 (16:49 -0700)]
update HISTORY file for 2.2.1, though a little too late :)
Jon Trulson [Sat, 1 Mar 2014 22:48:49 +0000 (15:48 -0700)]
Version change to 2.2.1
Jon Trulson [Sat, 1 Mar 2014 22:47:34 +0000 (15:47 -0700)]
admin: add a BuildNotes dir for documenting release proceedures, etc
Ulrich Wilkens [Fri, 28 Feb 2014 13:46:34 +0000 (14:46 +0100)]
Fix UTF8 problem on non-linux systems
Eugene Doudine [Tue, 25 Feb 2014 10:52:00 +0000 (12:52 +0200)]
Addition of the en_US.UTF-8 locale: installation support
Eugene Doudine [Tue, 25 Feb 2014 10:46:03 +0000 (12:46 +0200)]
addition of en_US.UTF-8 locale: fonts.alias and fonts.dir files
Ulrich Wilkens [Thu, 20 Feb 2014 18:48:56 +0000 (19:48 +0100)]
Fix for dtinfo segfaults
Jon Trulson [Sun, 23 Feb 2014 02:16:34 +0000 (19:16 -0700)]
Re-add NO_DTINFO blocks removed in NetBSD port patch
Ulrich Wilkens [Thu, 20 Feb 2014 18:19:17 +0000 (19:19 +0100)]
NetBSD port
Pascal Stumpf [Fri, 21 Feb 2014 17:02:36 +0000 (18:02 +0100)]
Fix dtcm build on OpenBSD-current.
libcompat and header files will be gone in the upcoming 5.5 release, so we
cannot use the ftime(3) interface there. Fall back to the SVR4 version of the
code, but use the tm_gmtoff field of struct tm to get the timezone.
Unfortunately, that is not portable (because I really really would like to
remove that old and crummy struct timeb from the public API).
Eugene Doudine [Fri, 21 Feb 2014 11:52:25 +0000 (13:52 +0200)]
Fixes segfault in dtprintinfo when used UTF-8 locale, bug was caused by unchecked return value of XmeRenderTableGetDefaultFont()
Eugene Doudine [Fri, 21 Feb 2014 11:34:04 +0000 (13:34 +0200)]
Fix for several segfaults in dtwm that happen with UTF-8 locale and were caused by unckeked XmeRenderTableGetDefaultFont return value
alx [Fri, 21 Feb 2014 14:29:15 +0000 (15:29 +0100)]
wwl: fixed dtinfo segfault due to missing copy constructor in WArgList
alx [Fri, 21 Feb 2014 14:21:20 +0000 (15:21 +0100)]
dtscreen: cosmic flame fractals missing drawing code
alx [Fri, 21 Feb 2014 14:18:36 +0000 (15:18 +0100)]
dtfile: fclose called twice on same handle
Eugene Doudine [Mon, 17 Feb 2014 22:12:19 +0000 (00:12 +0200)]
Bugfix for #9 Cut off fonts in titles
Jon Trulson [Mon, 17 Feb 2014 21:37:09 +0000 (14:37 -0700)]
Fix for xorg-xkb partially freezes dtwm when keyboard layout is changed.
Patch submitted by Eugene Doudine <dudinea@gmail.com>
Jon Trulson [Sun, 29 Dec 2013 22:41:56 +0000 (15:41 -0700)]
dtexec: use proper FD_CLOEXEC rather than a hardcoded 1
Jon Trulson [Sun, 29 Dec 2013 22:00:16 +0000 (15:00 -0700)]
dtexec: fix a case on linux where an infinite loop could occur.
Jon Trulson [Sun, 29 Dec 2013 19:54:55 +0000 (12:54 -0700)]
Add dtwm.mgg Greek UTF translation from Antonis Tsolomitis
Ulrich Wilkens [Sat, 19 Oct 2013 21:55:59 +0000 (23:55 +0200)]
Introduction of BSDArchitecture
Isaac Dunham [Sun, 22 Sep 2013 03:30:52 +0000 (20:30 -0700)]
Add -quiet option to dtlogin.
This should shut up the console spamming, for those who use VT1.
Default behavior is not changed.
Isaac Dunham [Mon, 23 Sep 2013 00:15:06 +0000 (17:15 -0700)]
dtlogin: use proper path to getty and /usr/local/bin in path on Linux
Ulrich Wilkens [Sat, 14 Sep 2013 21:33:49 +0000 (23:33 +0200)]
correction of message files
Ulrich Wilkens [Wed, 4 Sep 2013 22:03:16 +0000 (00:03 +0200)]
No symlinks to libraries on OpenBSD (default install)
Jon Trulson [Tue, 3 Sep 2013 17:53:03 +0000 (11:53 -0600)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Peter Howkins [Tue, 3 Sep 2013 14:41:58 +0000 (15:41 +0100)]
dtstyle: Resolve 70 compiler warnings
Peter Howkins [Tue, 3 Sep 2013 13:34:11 +0000 (14:34 +0100)]
dtstyle: Alphabetically sort the backdrops in the backdrop list.
Pascal Stumpf [Sat, 31 Aug 2013 17:16:09 +0000 (19:16 +0200)]
Do not install symlinks to libraries on OpenBSD.
Jon Trulson [Sat, 31 Aug 2013 23:18:53 +0000 (17:18 -0600)]
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.
Ulrich Wilkens [Wed, 28 Aug 2013 19:30:37 +0000 (21:30 +0200)]
dtinfo activation
Ulrich Wilkens [Wed, 28 Aug 2013 19:16:39 +0000 (21:16 +0200)]
dtinfo other files
Ulrich Wilkens [Wed, 28 Aug 2013 18:35:54 +0000 (20:35 +0200)]
documents for dtinfo
Ulrich Wilkens [Wed, 28 Aug 2013 18:32:11 +0000 (20:32 +0200)]
dtinfo subdirectory mmdb
Ulrich Wilkens [Wed, 28 Aug 2013 18:07:21 +0000 (20:07 +0200)]
dtinfo subdirectory dtinfogen
Ulrich Wilkens [Wed, 28 Aug 2013 17:45:57 +0000 (19:45 +0200)]
dtinfo subdirectory dtinfo
Ulrich Wilkens [Wed, 28 Aug 2013 17:16:37 +0000 (19:16 +0200)]
dtinfo subdirectory DtMmdb
Ulrich Wilkens [Sun, 25 Aug 2013 19:40:32 +0000 (21:40 +0200)]
Remove installation of motif man pages.
Pascal Stumpf [Tue, 6 Aug 2013 12:21:48 +0000 (14:21 +0200)]
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.
Ulrich Wilkens [Mon, 29 Jul 2013 23:47:52 +0000 (01:47 +0200)]
avoid identical Vector instantiations.
Pascal Stumpf [Thu, 25 Jul 2013 10:28:33 +0000 (12:28 +0200)]
dtlogin: correct path to getty.
Ulrich Wilkens [Wed, 24 Jul 2013 23:09:25 +0000 (01:09 +0200)]
lib/DtHelp: added missing include.
Pascal Stumpf [Tue, 23 Jul 2013 22:55:59 +0000 (00:55 +0200)]
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 ...
Pascal Stumpf [Tue, 23 Jul 2013 21:19:16 +0000 (23:19 +0200)]
Make dtksh build on OpenBSD/powerpc.
Pascal Stumpf [Tue, 23 Jul 2013 20:32:35 +0000 (22:32 +0200)]
OpenBSD.cf: don't include xorg.cf (leftover)
Pascal Stumpf [Tue, 23 Jul 2013 11:49:26 +0000 (13:49 +0200)]
ttsnoop: deal with iostream.h and missing sentinels.
Replacing strstream may be possible, but requires more work and a better
understanding of the code.
Pascal Stumpf [Tue, 23 Jul 2013 11:21:51 +0000 (13:21 +0200)]
Kill iostream.h deprecation warnings on *BSD.
Pascal Stumpf [Mon, 22 Jul 2013 22:59:23 +0000 (00:59 +0200)]
SECURITY fix for dtappintegrate: Use mktemp(1) to generate a template.
Using a fixed filename in /tmp is just begging for a symlink attack ...
Pascal Stumpf [Mon, 22 Jul 2013 22:19:04 +0000 (00:19 +0200)]
error.ds.src: don't hardcode /usr/dt
Pascal Stumpf [Mon, 22 Jul 2013 21:39:13 +0000 (23:39 +0200)]
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.
Pascal Stumpf [Mon, 22 Jul 2013 20:03:34 +0000 (22:03 +0200)]
Simplify programs/Imakefile a bit. dtksh, dtlogin and dtcm build everywhere.
Pascal Stumpf [Mon, 22 Jul 2013 20:14:45 +0000 (22:14 +0200)]
s,/usr/dt,CDE_INSTALLATION_TOP,g in dtlogin/config
Pascal Stumpf [Mon, 22 Jul 2013 19:59:15 +0000 (21:59 +0200)]
Xreset.src: Do not hardcode /usr/dt.
Pascal Stumpf [Mon, 22 Jul 2013 19:56:37 +0000 (21:56 +0200)]
Do not hardcode /usr/dt in print.dt.
Pascal Stumpf [Mon, 22 Jul 2013 16:44:04 +0000 (18:44 +0200)]
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 ...
Pascal Stumpf [Mon, 22 Jul 2013 12:31:46 +0000 (14:31 +0200)]
kill a few more warnings in DtPrint
Pascal Stumpf [Mon, 22 Jul 2013 11:38:58 +0000 (13:38 +0200)]
sync warning flags betseen cc and c++ on OpenBSD
Pascal Stumpf [Mon, 22 Jul 2013 11:07:00 +0000 (13:07 +0200)]
Do not use -fpermissive in programs/nsgmls. It's not needed.
Pascal Stumpf [Mon, 22 Jul 2013 10:34:15 +0000 (12:34 +0200)]
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.
Pascal Stumpf [Sun, 21 Jul 2013 20:55:09 +0000 (22:55 +0200)]
Kill lots of warnings in DtSvc.
alx [Mon, 24 Jun 2013 20:29:19 +0000 (22:29 +0200)]
dticon: fixed "rubber string" drawing on high/true color displays
Jon Trulson [Thu, 30 May 2013 21:20:09 +0000 (15:20 -0600)]
update for 2.2.0d release
Jon Trulson [Thu, 30 May 2013 21:11:21 +0000 (15:11 -0600)]
update for release
Peter Howkins [Thu, 30 May 2013 15:08:58 +0000 (16:08 +0100)]
Update date in copyright (and splash screen)
Ulrich Wilkens [Tue, 28 May 2013 22:30:06 +0000 (00:30 +0200)]
Fix screen locking for BSDs
Jon Trulson [Tue, 28 May 2013 01:34:08 +0000 (19:34 -0600)]
Revert "Enable the use of the TIRPC library on Linux."
This reverts commit
8a8619bfa8a25342d898d2cc4decd7bb66b9c060.
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.
alx [Mon, 27 May 2013 00:13:27 +0000 (02:13 +0200)]
Enable X11 screen saver extension on Linux
Jon Trulson [Sun, 26 May 2013 23:50:12 +0000 (17:50 -0600)]
Merge branch 'master' into multi-monitor
Jon Trulson [Sun, 26 May 2013 23:48:55 +0000 (17:48 -0600)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Jon Trulson [Sun, 26 May 2013 23:47:00 +0000 (17:47 -0600)]
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.
Peter Howkins [Mon, 20 May 2013 14:53:44 +0000 (15:53 +0100)]
dtstyle: Sort color palette names into alphabetical order for displaying.
Jon Trulson [Sat, 18 May 2013 05:22:33 +0000 (23:22 -0600)]
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.
Jon Trulson [Sat, 18 May 2013 05:55:51 +0000 (23:55 -0600)]
Merge branch 'master' into multi-monitor
Jon Trulson [Sat, 18 May 2013 05:22:33 +0000 (23:22 -0600)]
dtksh: fix a build issue with Kubuntu x86_64.
Remove an apparently 'mac' definition for feature/fs and an
unnecessary struct stat forward declaration.
Jon Trulson [Fri, 17 May 2013 22:16:17 +0000 (16:16 -0600)]
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'.
alx [Tue, 2 Apr 2013 20:44:14 +0000 (22:44 +0200)]
Fixed dtpad server crash when closing editor window associated with primary document
Ulrich Wilkens [Tue, 26 Mar 2013 03:08:13 +0000 (04:08 +0100)]
Build dtksh on more OSs