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
Jon Trulson [Wed, 27 Mar 2013 01:49:50 +0000 (19:49 -0600)]
Add basic Xinerama support via new lib/DtXinerama
This adds a basic library and support to dtsession and dtlogin to
support Xinerama/Twinview, where multimple monitors are used to make
up an X11 screen.
The main goal here is to draw dialogs and such centered on a monitor,
rather than spread out over multiple monitors.
Might need to add sorting - as on my test system, what I would
consider monitor 0, appears to actually be monitor 1. So a sort might
need to be added to sort the screens according to increasing x and y
offsets so it make sense to a user.
Also, this library is built statically and not documented. Maybe it
could be 'filled' out and refactored/redesigned in the futre if need
be and suppoerted.
It is enabled via a define, CDE_USEXINERAMA in site.def. It's a very
simple lib, so I do not expect any issues with the BSD's - it should
build and work fine, assuming your X server has the XINERAMA
extension, which I think pretty much all of them do at this point.
Jon Trulson [Tue, 12 Mar 2013 21:03:43 +0000 (15:03 -0600)]
Add initial Greek UTF-8 translations.
Supplied by Antonis Tsolomitis <antonis.tsolomitis@gmail.com>
Karsten Pedersen [Tue, 26 Feb 2013 19:12:35 +0000 (19:12 +0000)]
Fixed building on FreeBSD 8.x
Karsten Pedersen [Tue, 26 Feb 2013 19:09:17 +0000 (19:09 +0000)]
Fixed colored border around workspace buttons
Pascal Stumpf [Tue, 27 Nov 2012 20:12:23 +0000 (21:12 +0100)]
Avoid negative array subscript; break out of the loop if that happens.
Pascal Stumpf [Thu, 22 Nov 2012 14:49:51 +0000 (15:49 +0100)]
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.
Pascal Stumpf [Thu, 22 Nov 2012 13:27:26 +0000 (14:27 +0100)]
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.
Jon Trulson [Sun, 25 Nov 2012 02:16:58 +0000 (19:16 -0700)]
Revert "Older Linux installations do not have svcfd_create()."
This reverts commit
44e384aedb3b8aabbd3c556af28848fc58c09c60.
This code is actually needed. If svcfd_create() is not available, it
should be fixed only for those systems that it affects.
Pascal Stumpf [Tue, 20 Nov 2012 19:08:34 +0000 (20:08 +0100)]
Set NATIVEXBINDIR on OpenBSD.
Pascal Stumpf [Tue, 20 Nov 2012 21:42:29 +0000 (22:42 +0100)]
Respect CDE_CONFIGURATION_TOP and CDE_INSTALLATION_TOP.
Do not hardcode /etc/dt and /usr/dt.
Pascal Stumpf [Tue, 20 Nov 2012 18:42:33 +0000 (19:42 +0100)]
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.
Pascal Stumpf [Tue, 20 Nov 2012 21:03:30 +0000 (22:03 +0100)]
Correct paths to xterm as failsafe client on the BSDs.
Pascal Stumpf [Tue, 20 Nov 2012 09:09:16 +0000 (10:09 +0100)]
Use same SIGCHLD handling for OpenBSD as for OSF.
Peter Howkins [Tue, 20 Nov 2012 16:22:04 +0000 (16:22 +0000)]
dtaction: Resolve 8 warnings caused by -Wall
Peter Howkins [Tue, 20 Nov 2012 14:49:40 +0000 (14:49 +0000)]
dtcalc: Resolve 82 warnings causing by enabling -Wall
Pascal Stumpf [Mon, 19 Nov 2012 15:22:47 +0000 (16:22 +0100)]
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.
Pascal Stumpf [Sun, 18 Nov 2012 23:26:54 +0000 (00:26 +0100)]
Use /usr/sbin/sendmail as default mailer on OpenBSD.
Pascal Stumpf [Sun, 18 Nov 2012 22:43:05 +0000 (23:43 +0100)]
Do not build motif manpages any more.