oweals/cde.git
7 years agoChange pid wait types to int on Linux as well. Fixes compile issue
Peter Howkins [Tue, 11 Apr 2017 19:40:43 +0000 (20:40 +0100)]
Change pid wait types to int on Linux as well. Fixes compile issue
in dtudc programs on ubuntu 16.10+

7 years agoDtMail translations and improvements of vcal2xampia.awk
Edmond ORIGNAC [Mon, 2 Jan 2017 18:52:41 +0000 (19:52 +0100)]
DtMail translations and improvements of vcal2xampia.awk

dtmail: messages of the 'Mail Retrieval' menu of dtmail  were left untranslated.
French, Italian, Spanish translations were added.
vcal2xapia.awk: capacity to handle UTC+n timezones and TODO items added.

7 years agoManual page for vcal2xapia.awk
Edmond ORIGNAC [Mon, 2 Jan 2017 18:57:11 +0000 (19:57 +0100)]
Manual page for vcal2xapia.awk

7 years agodtksh/sfio: resolved a naming collision on FreeBSD 11
alx [Fri, 30 Dec 2016 01:43:57 +0000 (02:43 +0100)]
dtksh/sfio: resolved a naming collision on FreeBSD 11

7 years agottsession: don't segfault if host name isn't properly set
alx [Fri, 30 Dec 2016 00:35:38 +0000 (01:35 +0100)]
ttsession: don't segfault if host name isn't properly set

7 years agodtlogin: center the mouse pointer on the login screen on multi-head setups
alx [Fri, 30 Dec 2016 00:31:09 +0000 (01:31 +0100)]
dtlogin: center the mouse pointer on the login screen on multi-head setups

7 years agodtfile: added Xinerama support to dialog positioning routines
alx [Fri, 30 Dec 2016 00:28:43 +0000 (01:28 +0100)]
dtfile: added Xinerama support to dialog positioning routines

7 years agolibDtSvc: added Xinerama support to _DtMessageDialog
alx [Fri, 30 Dec 2016 00:21:40 +0000 (01:21 +0100)]
libDtSvc: added Xinerama support to _DtMessageDialog

8 years agoPatches from pkgsrc-WIP
Swift Griggs [Fri, 5 Aug 2016 16:47:57 +0000 (10:47 -0600)]
Patches from pkgsrc-WIP

8 years agodtwm: basic multihead(xinerama only) support
Matthew R. Trower [Thu, 23 Jun 2016 07:25:00 +0000 (02:25 -0500)]
dtwm: basic multihead(xinerama only) support

* maximization (also partially fixes strange Firefox behaviour)
* sane initial window placement

Firefox is stranger than most; it appears to maximize to double
X Screen width even on single head displays.  Fixed (on multihead).

8 years agorelease: update version to 2.2.4, update HISTORY 2.2.4
Jon Trulson [Sun, 19 Jun 2016 18:46:29 +0000 (12:46 -0600)]
release: update version to 2.2.4, update HISTORY

8 years agocontrib: some enhancements to the scrotps provided by Edmond Orignac
Jon Trulson [Sun, 19 Jun 2016 02:18:52 +0000 (20:18 -0600)]
contrib: some enhancements to the scrotps provided by Edmond Orignac

8 years agodtlogin: FreeBSD build fix
Ulrich Wilkens [Sun, 12 Jun 2016 16:55:18 +0000 (18:55 +0200)]
dtlogin: FreeBSD build fix

8 years agoFix dtinfo document build on OpenBSD
Ulrich Wilkens [Fri, 10 Jun 2016 04:31:28 +0000 (06:31 +0200)]
Fix dtinfo document build on OpenBSD

8 years agodtlogin: openbsd build fix
Pascal de Bruijn [Thu, 9 Jun 2016 15:49:07 +0000 (17:49 +0200)]
dtlogin: openbsd build fix

Amend ced27aa1f69a7c41bdf67f8d39f786899947aa26 to prevent openbsd
make from failing because of the tab.

8 years agocall fclose(infile) after print_progress()
Giacomo Comes [Tue, 7 Jun 2016 14:31:28 +0000 (10:31 -0400)]
call fclose(infile) after print_progress()

The function print_progress uses the pointer infile.
If fclose is called before print_progress then the build process
can fail to build the files:
  doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d99
  doc/C/cde.dti/CDEDOC/dtsearch/dtsearch.ocf
  doc/C/cde.dti/cde.oli
To fix the issue move the call fclose(infile) after print_progress()

8 years agoUse /var/spool instead of /usr/spool on linux
Giacomo Comes [Tue, 7 Jun 2016 08:52:58 +0000 (04:52 -0400)]
Use /var/spool instead of /usr/spool on linux

8 years agodtstyle: remove some accidentally commited debug code
Peter Howkins [Thu, 21 Apr 2016 00:48:40 +0000 (01:48 +0100)]
dtstyle: remove some accidentally commited debug code

8 years agodtstyle: backdrops, allow jpg/png if motif supports it
Peter Howkins [Thu, 21 Apr 2016 00:43:27 +0000 (01:43 +0100)]
dtstyle: backdrops, allow jpg/png if motif supports it
add file extensions to all types but .pm/.bm. This lets XmGetPixmap() load them.

8 years agoDisable all code related to libXp
Peter Howkins [Wed, 20 Apr 2016 19:17:22 +0000 (20:17 +0100)]
Disable all code related to libXp
deprecated and mostly no longer included on current OSes

8 years agodtfile: Enable FILE_MAP_OPTIMIZE on Linux. This avoids unnecessary tt_file_netfile...
alx [Mon, 18 Apr 2016 17:49:07 +0000 (19:49 +0200)]
dtfile: Enable FILE_MAP_OPTIMIZE on Linux. This avoids unnecessary tt_file_netfile calls on local host.

8 years agodtwm: Resolved some compiler warnings
alx [Sun, 17 Apr 2016 10:58:31 +0000 (12:58 +0200)]
dtwm: Resolved some compiler warnings

8 years agodtwm: 0 is not NULL
alx [Sun, 17 Apr 2016 10:55:53 +0000 (12:55 +0200)]
dtwm: 0 is not NULL

8 years agodtsession: Enable X11 screensaver extension on FreeBSD
alx [Sun, 17 Apr 2016 10:04:23 +0000 (12:04 +0200)]
dtsession: Enable X11 screensaver extension on FreeBSD

8 years agodtlogin: Enable XDM authentication on FreeBSD
alx [Sun, 17 Apr 2016 09:55:41 +0000 (11:55 +0200)]
dtlogin: Enable XDM authentication on FreeBSD

8 years agodtfile: Enable FILE_MAP_OPTIMIZE on FreeBSD. This avoids unnecessary tt_file_netfile...
alx [Sun, 17 Apr 2016 09:05:48 +0000 (11:05 +0200)]
dtfile: Enable FILE_MAP_OPTIMIZE on FreeBSD. This avoids unnecessary tt_file_netfile calls on local host.

8 years agodtappbuilder: replace accidental %a with %% in write_func_as_strings()
Jon Trulson [Fri, 18 Dec 2015 17:28:37 +0000 (10:28 -0700)]
dtappbuilder: replace accidental %a with %% in write_func_as_strings()

8 years agodbtoman: fix missing arg to fprintf
Jon Trulson [Fri, 18 Dec 2015 17:00:12 +0000 (10:00 -0700)]
dbtoman: fix missing arg to fprintf

8 years agottcp: fix missing arg to fprintf
Jon Trulson [Fri, 18 Dec 2015 16:55:20 +0000 (09:55 -0700)]
ttcp: fix missing arg to fprintf

9 years agodtlogin: don't use crypt(3) on openbsd
Pascal de Bruijn [Sat, 28 Nov 2015 18:04:40 +0000 (19:04 +0100)]
dtlogin: don't use crypt(3) on openbsd

des support has been removed from crypt(3) on openbsd since version 5.8

9 years agodtlogin: use XDM authentication instead of MIT/DES on linux
Jon Trulson [Thu, 26 Nov 2015 21:08:23 +0000 (14:08 -0700)]
dtlogin: use XDM authentication instead of MIT/DES on linux

9 years agoksh: fix up shipin for more modern systems WRT test and wc
Jon Trulson [Sun, 22 Nov 2015 22:37:40 +0000 (15:37 -0700)]
ksh: fix up shipin for more modern systems WRT test and wc

Patch submitted by Giacomo Comes.

9 years agoFix FreeBSD 10.2 build
Ulrich Wilkens [Wed, 21 Oct 2015 16:49:07 +0000 (18:49 +0200)]
Fix FreeBSD 10.2 build

9 years agoDtWidget: resolved some compiler warnings
alx [Thu, 23 Jul 2015 18:51:47 +0000 (20:51 +0200)]
DtWidget: resolved some compiler warnings

9 years agoDtWidget: added appropriate KeyPress event handler to DtIcon widget
alx [Thu, 23 Jul 2015 18:27:20 +0000 (20:27 +0200)]
DtWidget: added appropriate KeyPress event handler to DtIcon widget

9 years agodtfile: fixed ambiguity in the translation table
alx [Thu, 23 Jul 2015 18:03:23 +0000 (20:03 +0200)]
dtfile: fixed ambiguity in the translation table

9 years agodtfile: fixed file view scrolling with Page Up/Down keys
alx [Thu, 23 Jul 2015 18:01:22 +0000 (20:01 +0200)]
dtfile: fixed file view scrolling with Page Up/Down keys

9 years agodtfile: 0 is not NULL
alx [Sat, 11 Jul 2015 20:54:31 +0000 (22:54 +0200)]
dtfile: 0 is not NULL

9 years agodticon: KeySym is not char
alx [Thu, 2 Jul 2015 20:44:13 +0000 (22:44 +0200)]
dticon: KeySym is not char

9 years agodtfile: fixed double free in copy/move collision handler
alx [Thu, 2 Jul 2015 20:38:08 +0000 (22:38 +0200)]
dtfile: fixed double free in copy/move collision handler

9 years agodtsession: fixed errorlog rotation
alx [Thu, 2 Jul 2015 20:35:33 +0000 (22:35 +0200)]
dtsession: fixed errorlog rotation

9 years agoChanged memcpy() to memmove() to stop coredumping on OpenBSD 5.7.
Douglas Carmichael [Sun, 21 Jun 2015 08:39:01 +0000 (03:39 -0500)]
Changed memcpy() to memmove() to stop coredumping on OpenBSD 5.7.

9 years agoPatches to enable compilation on OpenBSD 5.7/FreeBSD 10.1.
Douglas Carmichael [Sun, 14 Jun 2015 16:10:36 +0000 (11:10 -0500)]
Patches to enable compilation on OpenBSD 5.7/FreeBSD 10.1.

9 years agoprograms/dtappintegrate: make PATH include /bin.
Isaac Dunham [Mon, 15 Jun 2015 04:17:30 +0000 (21:17 -0700)]
programs/dtappintegrate: make PATH include /bin.

Without this, we fail without the /usr merge because 'date' is
unavailable.

9 years agocde: update HISTORY for 2.2.3 release 2.2.3
Jon Trulson [Sat, 9 May 2015 23:09:11 +0000 (17:09 -0600)]
cde: update HISTORY for 2.2.3 release

9 years agocde: change revision to 2.2.3
Jon Trulson [Sat, 9 May 2015 22:58:46 +0000 (16:58 -0600)]
cde: change revision to 2.2.3

9 years agodtscreen: don't use old version of round() on linux either
Jon Trulson [Sat, 9 May 2015 22:37:04 +0000 (16:37 -0600)]
dtscreen: don't use old version of round() on linux either

9 years agoRemove warnings on Linux with glibc 2.20
Ulrich Wilkens [Fri, 8 May 2015 22:39:05 +0000 (00:39 +0200)]
Remove warnings on Linux with glibc 2.20

9 years agoFix broken build on OpenBSD
Ulrich Wilkens [Fri, 8 May 2015 22:48:08 +0000 (00:48 +0200)]
Fix broken build on OpenBSD

9 years agoSupport for new Solaris/OpenIndiana versions
Ulrich Wilkens [Fri, 8 May 2015 22:14:52 +0000 (00:14 +0200)]
Support for new Solaris/OpenIndiana versions

9 years agoDtTerm: fix formatted text in history buffer
Stuart Brady [Tue, 5 May 2015 08:53:07 +0000 (09:53 +0100)]
DtTerm: fix formatted text in history buffer

Formatted text currently gets corrupted by DtTerm when copied into its
history buffer.

As soon as a line of text is copied into the history, the text of each
segment of formatted text is altered so that it contains the text from
the start of the line.  For example:

    echo -e '\e[1mbold\e[m \e[4munderlined\e[m'

When the text has scrolled off the screen, scrolling back to it reveals:

    boldbbold under

This is fixed by adding the calls to _DtTermPrimBufferGetCharacterPointer
that were missing which would update the buffer pointer when inserting
text into the history buffer.

9 years agoFix dtprintinfo parser
Edmond ORIGNAC [Sat, 21 Mar 2015 11:43:18 +0000 (12:43 +0100)]
Fix dtprintinfo parser

When using a non C locale such as fr_FR.ISO8859-1, the CUPS messages
returned by lpq are translated. However, the parser in ParseJobs.C can only
handle messages in English. As a result, dtprintinfo exits immediately with
an error message. To fix that problem we force a LANG=C environment when calling
lpq so that messages will be in English and will be processed correctly by dtprintinfo
parser.

9 years agocontrib/rc/linux/dtlogin: Make the init script work.
Isaac Dunham [Sat, 7 Mar 2015 17:43:58 +0000 (17:43 +0000)]
contrib/rc/linux/dtlogin: Make the init script work.

* insserv requires a shebang line
* the rc script can hang if a daemon is started in the foreground
* "pgrep dtlogin" apparently can match the init script, if it is started
  with "service dtlogin start" or similar.
* reduce code duplication

9 years agodtudcfonted: Resolve CID 86560
Peter Howkins [Wed, 21 Jan 2015 14:15:31 +0000 (14:15 +0000)]
dtudcfonted: Resolve CID 86560

9 years agodtudcfonted: Resolve CID 86547
Peter Howkins [Wed, 21 Jan 2015 14:10:58 +0000 (14:10 +0000)]
dtudcfonted: Resolve CID 86547

9 years agodtudcfonted: Resolve CID 86495
Peter Howkins [Wed, 21 Jan 2015 14:09:39 +0000 (14:09 +0000)]
dtudcfonted: Resolve CID 86495

9 years agodtudecfonted: Resolve CID 86417
Peter Howkins [Wed, 21 Jan 2015 14:04:04 +0000 (14:04 +0000)]
dtudecfonted: Resolve CID 86417

9 years agodtudcfonted: Resolve CID 86391
Peter Howkins [Wed, 21 Jan 2015 14:02:34 +0000 (14:02 +0000)]
dtudcfonted: Resolve CID 86391

9 years agodtudcfonted: Resolve CID 86328
Peter Howkins [Wed, 21 Jan 2015 14:00:44 +0000 (14:00 +0000)]
dtudcfonted: Resolve CID 86328

9 years agodtudcfonted: Resolve CID 86280
Peter Howkins [Wed, 21 Jan 2015 13:56:00 +0000 (13:56 +0000)]
dtudcfonted: Resolve CID 86280

9 years agoLet "make World" run through on OpenBSD
Johannes von Rotz [Wed, 21 Jan 2015 10:54:46 +0000 (11:54 +0100)]
Let "make World" run through on OpenBSD

9 years agodtudcfonted: Resolve CID 86389
Peter Howkins [Fri, 16 Jan 2015 16:51:37 +0000 (16:51 +0000)]
dtudcfonted: Resolve CID 86389

9 years agodtudcfonted: Resolve CID 86232
Peter Howkins [Fri, 16 Jan 2015 16:49:42 +0000 (16:49 +0000)]
dtudcfonted: Resolve CID 86232

9 years agodtudcfonted: Resolve CID 86153
Peter Howkins [Fri, 16 Jan 2015 16:29:55 +0000 (16:29 +0000)]
dtudcfonted: Resolve CID 86153

9 years agodtprintinfo: Resolve CID 87253
Peter Howkins [Thu, 15 Jan 2015 16:07:10 +0000 (16:07 +0000)]
dtprintinfo: Resolve CID 87253

9 years agodtfile: Resolve CID 89277
Peter Howkins [Thu, 15 Jan 2015 15:37:32 +0000 (15:37 +0000)]
dtfile: Resolve CID 89277

9 years agodtfile: Resolve CID 88830
Peter Howkins [Thu, 15 Jan 2015 15:30:59 +0000 (15:30 +0000)]
dtfile: Resolve CID 88830

9 years agodtfile: Resolve CID 89009
Peter Howkins [Thu, 15 Jan 2015 15:26:22 +0000 (15:26 +0000)]
dtfile: Resolve CID 89009

9 years agodtfile: Resolve CID 89319
Peter Howkins [Thu, 15 Jan 2015 15:25:13 +0000 (15:25 +0000)]
dtfile: Resolve CID 89319

9 years agodtfile: Resolve CID 88199
Peter Howkins [Thu, 15 Jan 2015 15:23:24 +0000 (15:23 +0000)]
dtfile: Resolve CID 88199

9 years agodtfile: Resolve CID 88133, 88261
Peter Howkins [Thu, 15 Jan 2015 15:18:21 +0000 (15:18 +0000)]
dtfile: Resolve CID 88133, 88261

9 years agodtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one
Peter Howkins [Thu, 15 Jan 2015 15:15:31 +0000 (15:15 +0000)]
dtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one

9 years agodtfile: Resolve CID 87308
Peter Howkins [Thu, 15 Jan 2015 15:05:45 +0000 (15:05 +0000)]
dtfile: Resolve CID 87308

9 years agodtcm: Resolve CID 88003
Peter Howkins [Thu, 15 Jan 2015 14:23:45 +0000 (14:23 +0000)]
dtcm: Resolve CID 88003

9 years agodtcm: Resolve CID 87983
Peter Howkins [Thu, 15 Jan 2015 14:21:34 +0000 (14:21 +0000)]
dtcm: Resolve CID 87983

9 years agodtcm: Resolve CID 87822
Peter Howkins [Thu, 15 Jan 2015 14:20:02 +0000 (14:20 +0000)]
dtcm: Resolve CID 87822

9 years agodtcm: Resolve CID 87801
Peter Howkins [Thu, 15 Jan 2015 14:18:17 +0000 (14:18 +0000)]
dtcm: Resolve CID 87801

9 years agodtcm: Resolve CID 87713
Peter Howkins [Thu, 15 Jan 2015 14:16:06 +0000 (14:16 +0000)]
dtcm: Resolve CID 87713

9 years agodtcm: Resolve CID 87562
Peter Howkins [Thu, 15 Jan 2015 12:10:25 +0000 (12:10 +0000)]
dtcm: Resolve CID 87562

9 years agodtcm: Resolve CID 87408
Peter Howkins [Thu, 15 Jan 2015 11:59:20 +0000 (11:59 +0000)]
dtcm: Resolve CID 87408

9 years agodtcm: Resolve CID 87384
Peter Howkins [Thu, 15 Jan 2015 11:55:09 +0000 (11:55 +0000)]
dtcm: Resolve CID 87384

9 years agodtscreen: convert K&R prototypes to ansi C
Peter Howkins [Wed, 14 Jan 2015 15:06:33 +0000 (15:06 +0000)]
dtscreen: convert K&R prototypes to ansi C

9 years agolibDtSvc: Resolve 28 compiler warnings.
Peter Howkins [Wed, 14 Jan 2015 14:10:55 +0000 (14:10 +0000)]
libDtSvc: Resolve 28 compiler warnings.

9 years agolibDtPrint: Resolve the 1 remaining compiler warning.
Peter Howkins [Wed, 14 Jan 2015 11:43:58 +0000 (11:43 +0000)]
libDtPrint: Resolve the 1 remaining compiler warning.

9 years agolibDtHelp: Resolve 11 compiler warnings.
Peter Howkins [Wed, 14 Jan 2015 11:41:38 +0000 (11:41 +0000)]
libDtHelp: Resolve 11 compiler warnings.

9 years agodthello: Resolve 8 compiler warnings that would be introduced with -Wall
Peter Howkins [Wed, 14 Jan 2015 10:42:44 +0000 (10:42 +0000)]
dthello: Resolve 8 compiler warnings that would be introduced with -Wall

9 years agodtpad: Resolve 7 compiler warnings.
Peter Howkins [Tue, 13 Jan 2015 14:50:05 +0000 (14:50 +0000)]
dtpad: Resolve 7 compiler warnings.

9 years agodtcm: Resolve 303 compiler warnings.
Peter Howkins [Tue, 13 Jan 2015 14:22:25 +0000 (14:22 +0000)]
dtcm: Resolve 303 compiler warnings.

9 years agodtstyle: Fix CID 100252
Peter Howkins [Tue, 13 Jan 2015 10:13:03 +0000 (10:13 +0000)]
dtstyle: Fix CID 100252

9 years agodtmail: add a stdint.h include for openbsd, as reported by Daniel Diaz via the wiki.
Peter Howkins [Fri, 9 Jan 2015 16:30:43 +0000 (16:30 +0000)]
dtmail: add a stdint.h include for openbsd, as reported by Daniel Diaz via the wiki.

9 years agodtfile: resolve 19 compiler warnings.
Peter Howkins [Fri, 9 Jan 2015 16:16:53 +0000 (16:16 +0000)]
dtfile: resolve 19 compiler warnings.

9 years agodticon: resolve 3 compiler warnings
Peter Howkins [Wed, 7 Jan 2015 14:19:38 +0000 (14:19 +0000)]
dticon: resolve 3 compiler warnings

9 years agodtdocbook: resolve 49 compiler warnings.
Peter Howkins [Tue, 6 Jan 2015 17:22:50 +0000 (17:22 +0000)]
dtdocbook: resolve 49 compiler warnings.

9 years agodtmail: Resolve 50 compiler warnings.
Peter Howkins [Tue, 6 Jan 2015 15:07:55 +0000 (15:07 +0000)]
dtmail: Resolve 50 compiler warnings.

9 years agodtsr: resolve all 12 compiler warnings.
Peter Howkins [Mon, 5 Jan 2015 16:54:12 +0000 (16:54 +0000)]
dtsr: resolve all 12 compiler warnings.

9 years agodtstyle: resolve 30 compiler warnings.
Peter Howkins [Mon, 5 Jan 2015 16:07:49 +0000 (16:07 +0000)]
dtstyle: resolve 30 compiler warnings.

9 years agolibtt: Change to standard function prototypes in ttauth. Fix some compiler warnings...
Matthew Howkins [Tue, 30 Dec 2014 17:27:20 +0000 (17:27 +0000)]
libtt: Change to standard function prototypes in ttauth. Fix some compiler warnings by adding #includes

9 years agolibtt: Fix some uninitialized variables detected by Coverity
Matthew Howkins [Tue, 30 Dec 2014 17:24:31 +0000 (17:24 +0000)]
libtt: Fix some uninitialized variables detected by Coverity

9 years agodtwm: resolve 92 compiler warnings (related to 64 bit pointer to int coversions)
Peter Howkins [Tue, 30 Dec 2014 17:13:41 +0000 (17:13 +0000)]
dtwm: resolve 92 compiler warnings (related to 64 bit pointer to int coversions)

9 years agodtaction: resolve 2 compiler warnings.
Peter Howkins [Tue, 30 Dec 2014 16:12:54 +0000 (16:12 +0000)]
dtaction: resolve 2 compiler warnings.