oweals/cde.git
12 years agodtterm: fixes so job control will work.
Jon Trulson [Mon, 18 Jun 2012 22:01:17 +0000 (16:01 -0600)]
dtterm: fixes so job control will work.

12 years agodtterm: disable svr4 streams semantics on linux
Jon Trulson [Mon, 18 Jun 2012 21:32:02 +0000 (15:32 -0600)]
dtterm: disable svr4 streams semantics on linux

12 years agoImport of the files from Motif 2.1.30 release that are needed to build CDE
Peter Howkins [Fri, 15 Jun 2012 14:58:42 +0000 (15:58 +0100)]
Import of the files from Motif 2.1.30 release that are needed to build CDE
man pages.

12 years agoconvert all Imakefile LinuxDistribution to LinuxArchitecture.
Peter Howkins [Thu, 31 May 2012 12:47:41 +0000 (13:47 +0100)]
convert all Imakefile LinuxDistribution to LinuxArchitecture.
(programs part 2)

12 years agoConvert all Imakefile LinuxDistribution switches to LinuxArchitecture.
Peter Howkins [Thu, 31 May 2012 12:40:38 +0000 (13:40 +0100)]
Convert all Imakefile LinuxDistribution switches to LinuxArchitecture.
(programs part1)

12 years agoModify all Imakefile files to use LinuxArchitecture instead of LinuxDistribution
Peter Howkins [Thu, 31 May 2012 11:41:33 +0000 (12:41 +0100)]
Modify all Imakefile files to use LinuxArchitecture instead of LinuxDistribution
for Linux specific changes. (lib directory)

12 years agodisable building of dtappbuilder until building right
Jon Trulson [Sun, 27 May 2012 03:06:06 +0000 (21:06 -0600)]
disable building of dtappbuilder until building right

12 years agodtsession: fix VU#497553
Jon Trulson [Sun, 27 May 2012 01:29:50 +0000 (19:29 -0600)]
dtsession: fix VU#497553

12 years agoDtSvc/dtspcd: fixes for VU#172583
Jon Trulson [Sun, 27 May 2012 01:09:33 +0000 (19:09 -0600)]
DtSvc/dtspcd: fixes for VU#172583

12 years agodtspcd: fix symlink vulnerability, a couple warnings
Jon Trulson [Sun, 27 May 2012 00:57:11 +0000 (18:57 -0600)]
dtspcd: fix symlink vulnerability, a couple warnings

12 years agott_isam_record.C/tt_isam_record.C: fix CERT VU#387387 part 3
Jon Trulson [Sun, 27 May 2012 00:39:51 +0000 (18:39 -0600)]
tt_isam_record.C/tt_isam_record.C: fix CERT VU#387387 part 3

12 years agott_isam_record.C: fix CERT VU#387387 part 2
Jon Trulson [Sun, 27 May 2012 00:29:26 +0000 (18:29 -0600)]
tt_isam_record.C: fix CERT VU#387387 part 2

12 years agott_isam_record.C: fix CERT VU#387387
Jon Trulson [Sun, 27 May 2012 00:28:02 +0000 (18:28 -0600)]
tt_isam_record.C: fix CERT VU#387387

12 years agodm_server.C: fix CERT VU#975403/VU#299816
Jon Trulson [Sun, 27 May 2012 00:24:31 +0000 (18:24 -0600)]
dm_server.C: fix CERT VU#975403/VU#299816

12 years agoFileUtils.c: fix CERT VU#575804
Jon Trulson [Sun, 27 May 2012 00:14:58 +0000 (18:14 -0600)]
FileUtils.c: fix CERT VU#575804

12 years agolinux has supported shadow passwords forever...
Jon Trulson [Sat, 26 May 2012 23:57:11 +0000 (17:57 -0600)]
linux has supported shadow passwords forever...

12 years agoSeveral adjustments to installCDE.src:
Jon Trulson [Sat, 26 May 2012 23:30:53 +0000 (17:30 -0600)]
Several adjustments to installCDE.src:

 Do not require the user to be root

 Use -e in echo statments so that embedded \t's etc will display.

 Do not save install log in /tmp with a known name, especially since
 it is supposed to be run as root.  This is a Bad Thing To Do (tm).
 Instead just save the log in the current dir.

12 years agoRemove dtinfo and dtksh from the build for now
Jon Trulson [Sat, 26 May 2012 23:23:03 +0000 (17:23 -0600)]
Remove dtinfo and dtksh from the build for now

12 years agoRemove -k option from WORLDOPTS
Jon Trulson [Sat, 26 May 2012 23:21:45 +0000 (17:21 -0600)]
Remove -k option from WORLDOPTS

12 years agoOn the gneeric authenticator use shadow password API if under linux,
Peter Howkins [Thu, 19 Apr 2012 16:16:50 +0000 (17:16 +0100)]
On the gneeric authenticator use shadow password API if under linux,
allows login on dtlogin.

12 years agoHACK, instant should not stop on non fatal fatals, this allows building
Peter Howkins [Sat, 14 Apr 2012 22:18:17 +0000 (23:18 +0100)]
HACK, instant should not stop on non fatal fatals, this allows building
of 'C' locale help files.

12 years agoLinux compilation of ttsnoop (Matthew Howkins)
Peter Howkins [Thu, 12 Apr 2012 18:08:52 +0000 (19:08 +0100)]
Linux compilation of ttsnoop (Matthew Howkins)

This may contain prexisting 64-bit issues, caused by hammering pointers
into ints.

12 years agoLinux compilation of dtbuilder (Matthew Howkins)
Peter Howkins [Thu, 12 Apr 2012 16:36:54 +0000 (17:36 +0100)]
Linux compilation of dtbuilder (Matthew Howkins)

12 years agoLinux compilation fixes for dthelp (Matthew Howkins)
Peter Howkins [Thu, 12 Apr 2012 15:21:14 +0000 (16:21 +0100)]
Linux compilation fixes for dthelp (Matthew Howkins)

12 years agoLinux compilation of nsgmls (Matthew Howkins)
Peter Howkins [Wed, 11 Apr 2012 17:03:23 +0000 (18:03 +0100)]
Linux compilation of nsgmls (Matthew Howkins)

12 years agoLinux compilation of dtcm (Calendar), (Matthew Howkins)
Peter Howkins [Wed, 11 Apr 2012 16:33:26 +0000 (17:33 +0100)]
Linux compilation of dtcm (Calendar), (Matthew Howkins)

12 years agoWhen compiling libcsa make sure it's linked against Xt at library compile
Peter Howkins [Wed, 11 Apr 2012 15:52:34 +0000 (16:52 +0100)]
When compiling libcsa make sure it's linked against Xt at library compile
time. Prevents issues when programs that link against libcsa can't find
Xt symbols even when linked with -lXt

12 years agoFix segfault on file not copyright file not found. Only fclose() a file
Peter Howkins [Wed, 11 Apr 2012 14:37:12 +0000 (15:37 +0100)]
Fix segfault on file not copyright file not found. Only fclose() a file
handle that has been successfully fopen()ed.

12 years agoAdd a MainWindow.h include to prevent missing references.
Peter Howkins [Mon, 2 Apr 2012 14:18:51 +0000 (15:18 +0100)]
Add a MainWindow.h include to prevent missing references.

12 years agoDon't declare 'Chunk' as both public and private, that's just daft.
Peter Howkins [Mon, 2 Apr 2012 14:17:50 +0000 (15:17 +0100)]
Don't declare 'Chunk' as both public and private, that's just daft.

12 years agoDon't redeclare forceUpdate() with the wrong prototype.
Peter Howkins [Mon, 2 Apr 2012 14:16:58 +0000 (15:16 +0100)]
Don't redeclare forceUpdate() with the wrong prototype.

12 years agoAdd -fpermissive to allow compilation of old C++ on modern GCC
Peter Howkins [Mon, 2 Apr 2012 14:16:05 +0000 (15:16 +0100)]
Add -fpermissive to allow compilation of old C++ on modern GCC

12 years agoUse a particulaly unpleasant cast to get a void * into an enumeration type.
Peter Howkins [Mon, 2 Apr 2012 14:15:04 +0000 (15:15 +0100)]
Use a particulaly unpleasant cast to get a void * into an enumeration type.

12 years agoC++ needs variables to have a type, use int as a default.
Peter Howkins [Mon, 2 Apr 2012 14:14:09 +0000 (15:14 +0100)]
C++ needs variables to have a type, use int as a default.

12 years agoOn linux use \r instead of ^M as the character for a carridge return.
Peter Howkins [Mon, 2 Apr 2012 14:13:13 +0000 (15:13 +0100)]
On linux use \r instead of ^M as the character for a carridge return.

12 years ago-fpermissive to allow GCC to compile old C++
Peter Howkins [Mon, 2 Apr 2012 13:56:05 +0000 (14:56 +0100)]
-fpermissive to allow GCC to compile old C++

12 years agoC++ doesn't allow variables to be declared without a type, use 'int' as
Peter Howkins [Mon, 2 Apr 2012 13:47:47 +0000 (14:47 +0100)]
C++ doesn't allow variables to be declared without a type, use 'int' as
a default.

12 years agoDo not specify linux architecture specific defines, most of these are defaults
Peter Howkins [Sat, 24 Mar 2012 17:35:46 +0000 (17:35 +0000)]
Do not specify linux architecture specific defines, most of these are defaults
now, and some cause issues on i386 for example.

12 years agoMerge branch 'linux1' of ssh://git.code.sf.net/p/cdesktopenv/code into linux1
Peter Howkins [Fri, 23 Mar 2012 18:41:17 +0000 (18:41 +0000)]
Merge branch 'linux1' of ssh://git.code.sf.net/p/cdesktopenv/code into linux1

12 years agoLink with C++ linker
Peter Howkins [Fri, 23 Mar 2012 13:49:49 +0000 (13:49 +0000)]
Link with C++ linker

12 years agoDon't try to define abs() on linux, stdlib will handle it.
Peter Howkins [Fri, 23 Mar 2012 13:49:24 +0000 (13:49 +0000)]
Don't try to define abs() on linux, stdlib will handle it.

12 years agoExceptionally hacky linux fix. gnu gencat is returning != 0 even when it's
Peter Howkins [Thu, 22 Mar 2012 17:05:45 +0000 (17:05 +0000)]
Exceptionally hacky linux fix. gnu gencat is returning != 0 even when it's
succeeding.

12 years agoDo not include a couple of missing files under linux.
Peter Howkins [Thu, 22 Mar 2012 16:00:56 +0000 (16:00 +0000)]
Do not include a couple of missing files under linux.

12 years agoDon't include a couple of non-existant svr4 files on linux.
Peter Howkins [Tue, 20 Mar 2012 20:50:16 +0000 (20:50 +0000)]
Don't include a couple of non-existant svr4 files on linux.

12 years agoChange over Linux to using the System V style pty code, it seems at some
Peter Howkins [Tue, 20 Mar 2012 20:43:06 +0000 (20:43 +0000)]
Change over Linux to using the System V style pty code, it seems at some
point Linuxes pty code is no longer the BSD legacy one by default anymore.

12 years agoLink with C++ linker
Peter Howkins [Wed, 14 Mar 2012 13:53:28 +0000 (13:53 +0000)]
Link with C++ linker

12 years agoPrototype static function setRealDelArea() before it is used.
Peter Howkins [Wed, 14 Mar 2012 13:52:14 +0000 (13:52 +0000)]
Prototype static function setRealDelArea() before it is used.

12 years agoOn linux do not include X11/Xlocale.h but locale.h, this prevents
Peter Howkins [Wed, 14 Mar 2012 13:50:42 +0000 (13:50 +0000)]
On linux do not include X11/Xlocale.h but locale.h, this prevents
Xlocale.h redefining setlocate() into _Xsetlocale() that it then can't
find and link against.

12 years agoNamespace ostream and endl into std::
Peter Howkins [Tue, 13 Mar 2012 17:54:48 +0000 (17:54 +0000)]
Namespace ostream and endl into std::
Use <iostream> without the .h

12 years agonamespace ostream into std::ostream for modern C++
Peter Howkins [Tue, 13 Mar 2012 17:45:34 +0000 (17:45 +0000)]
namespace ostream into std::ostream for modern C++

12 years agoAdd in -fpermissive for compiling old C++ on gcc
Peter Howkins [Tue, 13 Mar 2012 17:43:43 +0000 (17:43 +0000)]
Add in -fpermissive for compiling old C++ on gcc

12 years agoInclude <iostream> without the .h on modern C++
Peter Howkins [Tue, 13 Mar 2012 17:41:48 +0000 (17:41 +0000)]
Include <iostream> without the .h on modern C++

12 years agoOn linux ostream and endl need prefixing into the std namespace.
Peter Howkins [Tue, 13 Mar 2012 17:40:21 +0000 (17:40 +0000)]
On linux ostream and endl need prefixing into the std namespace.

12 years agoInclude <iostream> without the .h on modern C++
Peter Howkins [Tue, 13 Mar 2012 17:31:56 +0000 (17:31 +0000)]
Include <iostream> without the .h on modern C++

12 years agoOn linux use the system provided libXau rather than one from the imports
Peter Howkins [Tue, 13 Mar 2012 17:18:35 +0000 (17:18 +0000)]
On linux use the system provided libXau rather than one from the imports
directory (that would have linked to the X11 tree).

12 years agoAdd a .gitignore to try to reduce the amount of files listed as not
Peter Howkins [Tue, 13 Mar 2012 16:44:50 +0000 (16:44 +0000)]
Add a .gitignore to try to reduce the amount of files listed as not
in repository on git status.

12 years agoUse C++ linker
Peter Howkins [Tue, 13 Mar 2012 16:15:22 +0000 (16:15 +0000)]
Use C++ linker
Add in freetype headers

Use system provided -lXdmcp and -Xau instead of trying to compile them
from the imports directory.

12 years agoChange detector for linux platform to match other Imakefile changes
Peter Howkins [Mon, 12 Mar 2012 21:26:30 +0000 (21:26 +0000)]
Change detector for linux platform to match other Imakefile changes

12 years agoThese days include standard C++ header files without the .h on the end
Peter Howkins [Mon, 12 Mar 2012 16:43:22 +0000 (16:43 +0000)]
These days include standard C++ header files without the .h on the end

12 years agoUse C++ linker
Peter Howkins [Mon, 12 Mar 2012 16:27:41 +0000 (16:27 +0000)]
Use C++ linker

12 years agoUndo previous method and use __va_copy instead.
Peter Howkins [Mon, 12 Mar 2012 16:27:08 +0000 (16:27 +0000)]
Undo previous method and use __va_copy instead.

12 years agoOn linux use the va_copy() func for variable arugment copying
Peter Howkins [Mon, 12 Mar 2012 16:24:24 +0000 (16:24 +0000)]
On linux use the va_copy() func for variable arugment copying

12 years agoInitialise varargs list in the same way as OSF
Peter Howkins [Mon, 12 Mar 2012 16:19:32 +0000 (16:19 +0000)]
Initialise varargs list in the same way as OSF

12 years agoDo not bother trying to redefine the putenv() function
Peter Howkins [Mon, 12 Mar 2012 16:16:16 +0000 (16:16 +0000)]
Do not bother trying to redefine the putenv() function

12 years agoCLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead
Peter Howkins [Mon, 12 Mar 2012 16:05:21 +0000 (16:05 +0000)]
CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead

12 years agoDo not redefine strdup() on Linux
Peter Howkins [Mon, 12 Mar 2012 16:03:06 +0000 (16:03 +0000)]
Do not redefine strdup() on Linux

12 years agoUse C++ linker
Peter Howkins [Mon, 12 Mar 2012 15:41:09 +0000 (15:41 +0000)]
Use C++ linker

12 years agoLinux doesn't allow open() with O_CREAT without permission flags anymore.
Peter Howkins [Mon, 12 Mar 2012 15:39:22 +0000 (15:39 +0000)]
Linux doesn't allow open() with O_CREAT without permission flags anymore.

12 years ago-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 15:19:36 +0000 (15:19 +0000)]
-fpermissive to allow gcc to compile old C++

12 years ago-fpermissive to allow GCC to compile old C++
Peter Howkins [Mon, 12 Mar 2012 15:18:09 +0000 (15:18 +0000)]
-fpermissive to allow GCC to compile old C++

12 years agoSet untyped variable to int
Peter Howkins [Mon, 12 Mar 2012 15:15:38 +0000 (15:15 +0000)]
Set untyped variable to int

12 years agoSetting const variable with no type to 'int' (likely the default the
Peter Howkins [Mon, 12 Mar 2012 15:14:12 +0000 (15:14 +0000)]
Setting const variable with no type to 'int' (likely the default the
old compilers would have used)

12 years agoUse C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:48:23 +0000 (14:48 +0000)]
Use C++ linker

12 years agoUse C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:42:58 +0000 (14:42 +0000)]
Use C++ linker

12 years agouse C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:40:34 +0000 (14:40 +0000)]
use C++ linker

12 years agoUse C++ linker
Peter Howkins [Mon, 12 Mar 2012 14:37:47 +0000 (14:37 +0000)]
Use C++ linker

12 years agoAdd linux to list of platforms that use that form of memset()
Peter Howkins [Mon, 12 Mar 2012 14:35:03 +0000 (14:35 +0000)]
Add linux to list of platforms that use that form of memset()

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 12:14:03 +0000 (12:14 +0000)]
Link with C++ linker

12 years agoOn linux use __fds_bits instead of fds_bits
Peter Howkins [Mon, 12 Mar 2012 12:12:41 +0000 (12:12 +0000)]
On linux use __fds_bits instead of fds_bits

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 12:07:09 +0000 (12:07 +0000)]
Link with C++ linker

12 years ago-fpermissive to allow old C++ to compile on gcc
Peter Howkins [Mon, 12 Mar 2012 12:04:55 +0000 (12:04 +0000)]
-fpermissive to allow old C++ to compile on gcc

12 years agoOn Linux no access to pre iso C varargs.h
Peter Howkins [Mon, 12 Mar 2012 11:56:11 +0000 (11:56 +0000)]
On Linux no access to pre iso C varargs.h

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:45:18 +0000 (11:45 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:33:49 +0000 (11:33 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:27:37 +0000 (11:27 +0000)]
Link with C++ linker

12 years agoLinux has the same value for ENOTSUP as another var, therefore protect one
Peter Howkins [Mon, 12 Mar 2012 11:26:01 +0000 (11:26 +0000)]
Linux has the same value for ENOTSUP as another var, therefore protect one
to prevent a duplicate case issue in the switch().

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:19:46 +0000 (11:19 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:19:04 +0000 (11:19 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:17:27 +0000 (11:17 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:16:41 +0000 (11:16 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:11:10 +0000 (11:11 +0000)]
Link with C++ linker

12 years agoLink with C++ linker
Peter Howkins [Mon, 12 Mar 2012 11:01:17 +0000 (11:01 +0000)]
Link with C++ linker

12 years agoAdd in freetype directory to inlude path
Peter Howkins [Mon, 12 Mar 2012 10:41:53 +0000 (10:41 +0000)]
Add in freetype directory to inlude path

12 years agoOn Linux when linking against a C++ library the whole program must be linked
Peter Howkins [Mon, 12 Mar 2012 10:38:42 +0000 (10:38 +0000)]
On Linux when linking against a C++ library the whole program must be linked
with the C++ linker.

12 years agoWhen linking against libtt (a C++ lib) the link stage should use the C++
Peter Howkins [Mon, 12 Mar 2012 00:48:04 +0000 (00:48 +0000)]
When linking against libtt (a C++ lib) the link stage should use the C++
linker

12 years agoWhen linking against C++ libraries gcc insists on using the C++ linker
Peter Howkins [Mon, 12 Mar 2012 00:44:14 +0000 (00:44 +0000)]
When linking against C++ libraries gcc insists on using the C++ linker

12 years agoOn Linux don't redefine the prototypes to malloc() and realloc() to the wrong
Peter Howkins [Mon, 12 Mar 2012 00:37:58 +0000 (00:37 +0000)]
On Linux don't redefine the prototypes to malloc() and realloc() to the wrong
things.

12 years agoLinux is a unistdh platform not an osfcn.h
Peter Howkins [Mon, 12 Mar 2012 00:35:06 +0000 (00:35 +0000)]
Linux is a unistdh platform not an osfcn.h

12 years agolinux is a unistd.h platform not a osfcn.h
Peter Howkins [Mon, 12 Mar 2012 00:33:44 +0000 (00:33 +0000)]
linux is a unistd.h platform not a osfcn.h

12 years ago-fpermissive to allow gcc to compile old C++
Peter Howkins [Mon, 12 Mar 2012 00:32:10 +0000 (00:32 +0000)]
-fpermissive to allow gcc to compile old C++