1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

746 commits

Author SHA1 Message Date
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
Matthew Howkins
caf4929c41 libtt: Fix 'Missing return statement' errors detected by static analysis 2014-12-23 22:04:59 +00:00
Peter Howkins
bc842043d2 dtlogin: Resolve 27 compiler warnings 2014-12-23 22:01:51 +00:00
Peter Howkins
407aa2c4b7 libDtWidget: Resolve some static analyser warnings
prevent usage of potentially unitialised variables.
2014-12-23 20:05:01 +00:00
Peter Howkins
e54c164fe1 dtlogin: start to resolve static analysis warnings
Also convert some K&R function declarations to ansi
2014-12-23 17:49:11 +00:00
Ulrich Wilkens
29294e0373 Fix FreeBSD 10.1 build 2014-11-20 17:48:57 -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
Ulrich Wilkens
01d6c363fa OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
Ulrich Wilkens
42e891d9e7 Resolve many build warnings
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -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
Ulrich Wilkens
c6fd291e84 Fix panel right click 2014-09-12 10:39:06 -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
Ulrich Wilkens
c3f74eec17 FreeBSD 10 clang port 2014-07-27 12:32: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
Eugene Doudine
4e2adc1f8e Fixes the bug, which caused dtterm to show stripes of wrong color between text lines when using fontsets that include fonts of slightly different heights.
The cause of the bug was that X*DrawImageString draws background
according to the extents of the given string, not to extents of the font set,
which determine terminal line height.

Now, when such a situation is detected, the background is cleared before
drawing the characters.
2014-05-03 22:11:41 -06:00
Eugene Doudine
a9dbe60805 Fixes a small bug in grid registration: when an object is placed over another object (can be done manually) and then removed from there, the registration of the covered object is removed as well (that is it's cell is considered empty).
The patch converts desktop_grid[] from Boolean array into array of
counters of objects, which are placed on cells. When object is
placed on /removed from   the screen  the counter gets incremented/decremented.
2014-04-19 18:57:57 -06:00
Eugene Doudine
5544a0fb39 Fixes several issues with grid registration of the dtwm panel on dtfile startup and on workspace addition:
The panel registration code rather stupidly assumed that display
  size is always 1280x1024 pixels. Because of this, depending on screen
  size, the panel could be registered somewhere in the center of the screen
  or completely or partially beyond of it.

  The panels were registered only on startup, not  those, which were added
  from UI.

The fix moves panel registration into separate routine and removes assumption
about display size. The fix yet is not complete since it still makes assumption
about panel's geometry: from dtfile there is still no way to find out
dinamically  the size of panel and it's location.
2014-04-19 18:57:57 -06:00