Commit Graph
100 Commits
Author SHA1 Message Date
Jon Trulson a173dd3b3b release: update version to 2.2.4, update HISTORY 2016-06-19 12:46:29 -06:00
Jon Trulson e121a25ef2 contrib: some enhancements to the scrotps provided by Edmond Orignac 2016-06-18 20:18:52 -06:00
Jon Trulson 6bc5c658b8 dtappbuilder: replace accidental %a with %% in write_func_as_strings() 2015-12-18 10:28:37 -07:00
Jon Trulson 07e84caf74 dbtoman: fix missing arg to fprintf 2015-12-18 10:00:12 -07:00
Jon Trulson 10742f3679 ttcp: fix missing arg to fprintf 2015-12-18 09:55:20 -07:00
Jon Trulson 1e2e373082 dtlogin: use XDM authentication instead of MIT/DES on linux 2015-11-26 14:08:23 -07:00
Jon Trulson 05445493d9 ksh: fix up shipin for more modern systems WRT test and wc
Patch submitted by Giacomo Comes.
2015-11-22 15:37:40 -07:00
Jon Trulson 2c4cdb5edf cde: update HISTORY for 2.2.3 release 2015-05-09 17:09:11 -06:00
Jon Trulson 14b9e2efa3 cde: change revision to 2.2.3 2015-05-09 16:58:46 -06:00
Jon Trulson 6400908cc1 dtscreen: don't use old version of round() on linux either 2015-05-09 16:37:04 -06:00
Jon Trulson f6d6aafc93 Merge branch 'coverity_dtsession'
Fix up a bunch (55) issues in dtsession identified by Coverity's
static analysis.
2014-12-27 20:25:26 -07:00
Jon Trulson 4dae64c891 dtsession/SrvPalette: fix CID 89227 2014-12-27 20:09:09 -07:00
Jon Trulson 722cfc70eb dtsession/SrvFile_io: fix CID's 88299 and 89441 2014-12-27 20:06:53 -07:00
Jon Trulson aa2daba4af dtsession/SmUI: fix tainted var (CID 88216) 2014-12-27 19:52:37 -07:00
Jon Trulson db8280189d dtsession/SmSave: use absolute path to rm in system() 2014-12-27 19:42:21 -07:00
Jon Trulson e02c703af7 dtsession/SmSave: get rid of use of tempnam (CID 89359) 2014-12-27 19:33:03 -07:00
Jon Trulson 7c702bff6e dtsession/SmRestore: redo defaultCwd detection in StartClient() to be safer 2014-12-27 19:01:30 -07:00
Jon Trulson a657f302f7 dtsession/SmRestore: fixup 8 coverity issues. 2014-12-27 18:19:55 -07:00
Jon Trulson 65dcf12c82 dtsession/SmGlobals: re-add smGD.savePath to generated paths, was lost in mkstemp changes. 2014-12-27 17:50:28 -07:00
Jon Trulson 93783917ab dtsession/SmGlobals: unlink mkstemp generated files. 2014-12-27 17:24:04 -07:00
Jon Trulson 4b38955b01 dtsession/SmGlobals: use of tainted string (CID 89450) 2014-12-27 16:12:45 -07:00
Jon Trulson 1bde7d8c5c dtsession/SmLock: potential null deref (CID 87561, 87957, 88181) 2014-12-27 16:06:23 -07:00
Jon Trulson f14df58edb dtsession/SmDB: error handling issues (CID 87778, 87926) 2014-12-27 15:54:55 -07:00
Jon Trulson 1148ae8794 dtsession/SmCommun: fix bogus check (CID 89326) 2014-12-27 15:50:29 -07:00
Jon Trulson 881b0e1ed0 dtsession/SmGlobals: fixup 17 coverity issues. 2014-12-27 15:42:04 -07:00
Jon Trulson 85f6b1d7f3 Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2014-12-27 14:25:52 -07:00
Jon Trulson 7484c6f88b DtXinerama: no need to check unsigned int < 0 (CID:86121) 2014-12-27 14:14:59 -07:00
Jon Trulson 61e925f3c5 dtlogin/xdmcp: fixup many warnings and a possible declaration bug 2014-12-27 13:01:26 -07:00
Jon Trulson a71cde075e dtwm/WmFP: Coverity (memory corruption, moderate) 2014-12-26 18:10:07 -07:00
Jon Trulson f05c124807 dtwm/PopUpMenu: Coverity (memory corruption, moderate) 2014-12-26 17:30:50 -07:00
Jon Trulson 611dda1831 dtsession: Coverity (memory corruption, moderate) 2014-12-26 17:23:16 -07:00
Jon Trulson 055d98cafb dtscreen: Coverity (memory corruption, moderate) 2014-12-26 17:17:58 -07:00
Jon Trulson a5c7512782 dtprintinfo: Coverity (memory corruption, moderate) 2014-12-26 17:17:06 -07:00
Jon Trulson b881408be0 dtlogin: Coverity (memory corruption, moderate) 2014-12-26 16:55:46 -07:00
Jon Trulson 235a75c03c dtlogin: Coverity (memory corruption, moderate) 2014-12-26 16:23:54 -07:00
Jon Trulson 00540cb375 dtcalc: Coverity (memory corruption, moderate) 2014-12-26 16:19:23 -07:00
Jon Trulson ff3cd78ac0 dtcalc: Coverity (memory corruption, moderate) 2014-12-26 16:17:43 -07:00
Jon Trulson 4c6e66ceb8 tt/mini_isam: Coverity (memory corruption, moderate) 2014-12-26 16:15:53 -07:00
Jon Trulson 6f45dde569 tt/mini_isam: Coverity (memory corruption, moderate) 2014-12-26 16:15:25 -07:00
Jon Trulson ce7bdf9f62 ttsession: Coverity (memory corruption, moderate) 2014-12-26 16:14:35 -07:00
Jon Trulson e45843bc95 ttauth: Coverity (memory corruption, moderate) 2014-12-26 16:13:07 -07:00
Jon Trulson 3013374988 csa: Coverity (memory corruption, moderate) 2014-12-26 16:00:55 -07:00
Jon Trulson 50de34a933 DtTerm: Coverity (memory corruption, moderate) 2014-12-26 15:59:52 -07:00
Jon Trulson cedb47114f DtTerm: Coverity (memory corruption, moderate) 2014-12-26 15:58:50 -07:00
Jon Trulson c18f109032 DtSvc/DtUtil2: Coverity (memory corruption, moderate) 2014-12-26 15:57:47 -07:00
Jon Trulson 775008571d DtSvc/DtUtil1: Coverity (memory corruption, moderate) 2014-12-26 15:56:10 -07:00
Jon Trulson 9d26729d65 DtSvc/DtEncap: Coverity (memory corruption, moderate) 2014-12-26 15:55:02 -07:00
Jon Trulson 48cfb46a97 DtSvc: Coverity (memory corruption, moderate) 2014-12-26 15:54:08 -07:00
Jon Trulson 80b516d021 DtSearch: remove bogus debug block 2014-12-26 15:52:33 -07:00
Jon Trulson 17379a3fc0 DtHelp: Coverity (memory corruption, moderate) 2014-12-26 15:50:41 -07:00
Jon Trulson 7887e99477 DtHelp: Coverity (memory corruption, moderate) 2014-12-26 15:49:43 -07:00
Jon Trulson 539f785df9 imake: Coverity (memory corruption, moderate) 2014-12-26 15:47:59 -07:00
Jon Trulson 07dc336b96 dtsession: Coverity (memory corruption) 2014-12-26 14:24:31 -07:00
Jon Trulson b41a74b595 dtsession: Coverity (memory corruption) 2014-12-26 14:22:05 -07:00
Jon Trulson 2e7ab68300 dtappbuilder: Coverity (memory corruption) 2014-12-26 14:14:32 -07:00
Jon Trulson f719d20b6c ttauth: Coverity (memory corruption) 2014-12-26 14:12:10 -07:00
Jon Trulson e18ac00c82 DtWidget: Coverity (memory corruption) 2014-12-26 14:10:01 -07:00
Jon Trulson b0548ce111 DtTerm: Coverity (memory corruption) 2014-12-26 14:08:24 -07:00
Jon Trulson fa0074904b DtSvc: Coverity (memory corruption) 2014-12-26 14:06:26 -07:00
Jon Trulson 2d89ad036a DtSvc: Coverity (memory corruption) 2014-12-26 14:03:17 -07:00
Jon Trulson 9751abddff DtHelp: Coverity (memory corruption) 2014-12-26 13:42:23 -07:00
Jon Trulson bf0666a330 it_IT.ISO8859-1/types/_common.dt.tmsg: Apply manual one-line patch 2014-10-28 13:58:32 -06:00
Jon Trulson 2bf29e5d63 dtappbuilder: abmf.c: more warnings killed 2014-09-20 20:10:01 -06:00
Jon Trulson 9842ee3d96 dttypes: use regex on linux too. 2014-09-20 20:00:38 -06:00
Jon Trulson 0b68ebe610 dthelp: fixup some warnings with special.h(s) 2014-09-20 19:10:19 -06:00
Jon Trulson bf399748ad dtappbuilder/dtcodegen: Fix up some warnings, remove use of sys_errlist[].
Removed all the cases of sys_errlist[], no one should be using that
today.  Also, correct code generation so that declarations like
'Widget w = NULL; Pixmap p = NULL;' etc, aren't produced, which is
wrong.  Use '0', not NULL for these.

This should also correct the 2 mis-definitions of Pixmap that commit
6a9327f2ab attempted to fix in ttsnoop.

dtappbuilder still needs a lot of work.
2014-09-20 16:47:11 -06:00
Jon Trulson ba0f3a250d Revert "ttsnoop: NULL is not 0"
This reverts commit 6a9327f2ab.

The real fix for this (and other issues) needs to be done in dtcodegen.
2014-09-16 18:09:21 -06:00
Jon Trulson 6a9327f2ab ttsnoop: NULL is not 0
This fix is a bit of a hack, I just moved the declarations into the
'user code' portion of main().

dtcodegen needs to be fixed so as not to generate this type of code in
the first place.
2014-09-14 14:25:55 -06:00
Jon Trulson abfcb71d1d dtmail: MotifCmds.C: NULL is not False 2014-09-14 14:20:21 -06:00
Jon Trulson 5a205388e3 Add new Dtlogo from Jeff Pierquet. Original renamed to TOGDtlogo.pm 2014-09-12 10:44:13 -06:00
Jon Trulson 026b0e6569 contrib/rc/freebsd: Add FreeBSD start script from Douglas Carmichael 2014-08-24 16:48:07 -06:00
Jon Trulson f06d272600 Update HISTORY file for 2.2.2 release 2014-07-27 16:48:19 -06:00
Jon Trulson 9b5b547a34 Fixup UDB databases to fix a problem introduced with FreeBSD 10 patch.
The symbol hp-ux is used to tag files for installation on HP machines
in the UDB databases.  To ensure the correct release streams are
defined, these symbols (hp-ux, linux, freebsd, etc) are undef'd so
that they are not evaluated in the context of db file generation by
the preprocessor.

A change in the FreeBSD 10 patch disabled this, possibly due to
'hp-ux' being an invalid cpp symbol on FreeBSD 10 machines, which now
use clang by default.

Undefining these cpp symbols is actually required, otherwise linux,
for example, is defined as a '1' in the generated databases, which
will not match the release stream name 'linux', therefore all of the
files tagged as 'linux' are never installed.

To fix this, revert the change made in the FreeBSD 10 patch, and
rename all occurances of 'hp-ux' to 'hpux' in the UDB files to avoid
the potential for cpp trouble when hp-ux is specified.

As a result of this change, 'hpux' is now the name of the release
stream for hp machines, not 'hp-ux'.
2014-07-27 13:44:35 -06:00
Jon Trulson 8d0551bfda Version change to 2.2.2 2014-07-23 16:16:57 -06:00
Jon Trulson 09879a9988 site.def: create new DtDocLocalesToBuild define
This would allow different locales to be specified for
programs/localization (DtLocalesToBuild) and doc/
(DtDocLocalesToBuild).

This would be useful for 'partial' translations like the Greek el_GR
locale, where message catalogs, actions, or other items are localized,
but documentation like the help system and dtinfo are not.
2014-07-22 18:36:16 -06:00
Jon Trulson 7b5d1eb8c0 el_GR _common.dt.tmsg: fix corrupted msg line at line 1763 2014-07-22 16:42:55 -06:00
Jon Trulson 54fecca847 contrib/: add desktop2dt from Isaac Dunham 2014-07-19 18:33:12 -06:00
Jon Trulson e5b1fb856f Added additional info to vcal2xapia/README 2014-07-19 18:25:32 -06:00
Jon Trulson dbaff0aee1 contrib/: add vcal2xapia from Edmond Orignac 2014-07-19 18:22:39 -06:00
Jon Trulson c1d24e0bb3 fr_FR.ISO8859-1/types/_common.dt.tmsg: Fix up a couple of backslash errors.
Reported by Edmond Orignac.
2014-07-19 17:48:38 -06:00
Jon Trulson 1e2bdf93a8 dtappbuilder: bil_store.c: don't return local variables 2014-04-06 16:59:56 -06:00
Jon Trulson aa15240c22 ttsnoop.C.src: NULL is not 0 2014-04-06 16:55:45 -06:00
Jon Trulson 10e295b967 WMSaveSession.C: NULL is not 0 2014-04-06 16:54:31 -06:00
Jon Trulson 4a22f0671b SendMsgDialog.C: NULL is not 0 2014-04-06 16:53:05 -06:00
Jon Trulson 20265cd088 RoamMenuWindow.C: NULL is not 0 2014-04-06 16:51:16 -06:00
Jon Trulson 0080185db9 RoamInterruptibleCmd.C: NULL is not 0 2014-04-06 16:49:24 -06:00
Jon Trulson b241414cda AttachArea.C: NULL is not 0, sprintf needs a format 2014-04-06 16:48:40 -06:00
Jon Trulson 8a96463f2e InterruptibleCmd.C, WorkingDialogManager.C: NULL is not 0 2014-04-06 16:46:09 -06:00
Jon Trulson 5f99b8045b dtsession: screensaver don't pass random attributes to XScreenSaverSetAttributes()
This should fix the "tiny window appearing in the screensavers"
problem.
2014-04-05 18:09:01 -06:00
Jon Trulson 0254ebc0b4 xtclient.c: fix debug statement regarding fd number 2014-03-24 19:54:37 -06:00
Jon Trulson 045de2cdd5 linux.cf: with fds_bits fixes, stop using _POSIX_C_SOURCE=199309L and _XOPEN_SOURCE defines 2014-03-24 19:38:20 -06:00
Jon Trulson 3c35e2d14d xtclient.c, spcd_event.c: stop referencing fds_bits directly 2014-03-24 19:37:09 -06:00
Jon Trulson 4312a1190b cleanup: eliminate missing sentinel warnings 2014-03-24 18:26:10 -06:00
Jon Trulson 165af415d1 dtcm/rfp.c: NULL is not 0 2014-03-24 17:49:19 -06:00
Jon Trulson 0a74d63db4 dtcm/reminders.c: NULL is not 0 2014-03-24 17:48:01 -06:00
Jon Trulson 9b699d3fb1 linux: build with thread safety and REENTRANT enabled.
There was a check in linux.cf for the Linux libc version that didn't
work, since these were never set anywhere.  Presumably current Xorg
imake sets these, but since we aren't using that... (yet)

As a result, the build assumed that thread-safe API's were not
supported.  Setting the default libc major version to '6' allows the
proper build to take place.  libc5 was never threadsafe and no one has
probably used it in over 10 years.

As a result, some earlier porting fixes that referenced '__fds_bits'
on linux systems had to be reverted as these are not valid in an MT
environment.  They are also not neccessary when building in such an
environment, as the normal 'fds_bits' works fine.

This patch defintely needs testing on many linux systems.
2014-03-24 17:15:40 -06:00
Jon Trulson 2f4072ee69 linux.cf: turn off writable strings warnings (write-strings)
There are about 1900 of them, if someone wants to go fix them, please
be my guest. :)
2014-03-24 16:34:58 -06:00
Jon Trulson b2db23c0af cleanup: eliminate "implicit declaration" warnings.
Also fixed a potential core/memory corruption in dticon.
2014-03-24 15:58:11 -06:00
Jon Trulson 23e62e5782 dtcm/server/: just return NULL, not the address of a dummy local variable. Geez. 2014-03-22 19:23:46 -06:00
Jon Trulson 9ed39fd5f2 MotifUI.C: NULL is not 0 2014-03-22 19:14:38 -06:00