Commit Graph

32 Commits

Author SHA1 Message Date
Peter Howkins 4fc13a6e27 dtwm: cov 175166, check for pointer 2018-04-04 16:33:45 +01:00
Jon Trulson 2cac2a29ac dtwm/WmResource.c: remove errant ')' added in previous commit 2018-04-02 12:22:32 -06:00
Peter Howkins 8362f92ceb dtwm: Resolve coverity warnings 2018-04-02 18:08:40 +01:00
Peter Howkins 490890cd23 Resolve some compiler warnings 2018-03-18 00:21:51 +00:00
Peter Howkins 555abfa53b Fixed for wrong cased filename on depends creation 2018-03-18 00:20:55 +00:00
Matthew R. Trower 341494d91c 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).
2016-06-24 17:16:19 -06:00
alx 2e5bd045ed dtwm: Resolved some compiler warnings 2016-04-18 19:16:48 -06:00
alx 720fd9365a dtwm: 0 is not NULL 2016-04-18 19:16:48 -06:00
Ulrich Wilkens 8b38d9ea49 Fix broken build on OpenBSD 2015-05-09 16:21:32 -06:00
Peter Howkins 8ed5281e3e dtwm: resolve 92 compiler warnings (related to 64 bit pointer to int coversions) 2014-12-30 17:13:41 +00: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
Ulrich Wilkens 01d6c363fa OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
Ulrich Wilkens c6fd291e84 Fix panel right click 2014-09-12 10:39:06 -06:00
Eugene Doudine 4c56765da3 Fix for several segfaults in dtwm that happen with UTF-8 locale and were caused by unckeked XmeRenderTableGetDefaultFont return value 2014-02-22 19:07:52 -07:00
Eugene Doudine 70987253b3 Bugfix for #9 Cut off fonts in titles 2014-02-18 00:24:35 -07:00
Jon Trulson 0b3f253ba4 Fix for xorg-xkb partially freezes dtwm when keyboard layout is changed.
Patch submitted by Eugene Doudine <dudinea@gmail.com>
2014-02-17 14:37:09 -07:00
Ulrich Wilkens 2d08153289 correction of message files 2013-09-15 19:35:53 -06:00
Karsten Pedersen cc076d7756 Fixed colored border around workspace buttons 2013-02-26 17:28:10 -07:00
Marcin Cieslak 1079b56422 dtfile: Add missing prototypes
Add missing prototypes and header files to the dtfile
code in order to move closer towards 64-bit compatibility.

Extract the following functions from Motif internal headers:

_XmGetWidgetExtData
_XmRecordEvent
_XmStringUngenerate
_XmTextFieldSetDestination
_XmGetActiveTopLevelMenu

Extract manually prototypes of the obsolete Motif interface:
_XmHighlightBorder
_XmUnhighlightBorder

Remove XmPrivate.h if extractprototype.awk fails

Make the following header files available via -I:
	codelibs/boolean.h
	codelibs/pathutils.h
	codelibs/shellutils.h
and remove shellutils.h from dtwm directory.
2012-09-18 09:59:11 -06:00
Jon Trulson a29fc20957 message catalogs: fix comment lines, also remove linux hack in merge.c
According to the spec, blank lines in message catalogs or lines
beginning with '$ ' are valid comments.

However, there were many cases where lines in the message catalogs
contained just a single '$', without the required space after it.

Under linux, this caused 126766 error lines (in my builds) of the
form:

... unknown directive `': line ignored

This also causes gencat to exit with a non-0 exit code.  Even though
gencat says it ignores the line, it really doesn't.

An early porting change to programs/localized/util/merge.c was made to
ignore this return value on linux.  This hack has now been removed.

Build logs are a lot smaller and cleaner now.
2012-09-03 15:12:57 -06:00
Marcin Cieslak 6e37640f11 Fix warnings in dtwm
- Improve pointer/int compatibility
- Include unpublished Dt headers in Dt
- Use <Xm/XmPrivate.h> for unpublished Motif functions

There are still warnings left generated because
ElementValue.parsed_value should really be a union.

There are also some warnings left because of XtPointer
casting and some unused variables and functions.
2012-08-30 19:43:47 -06:00
Frederic Koehler 44dfebe9d2 dtwm: Cleanup some implicit definitions
Mostly this is adding appropriate #includes and declarations,
but for WmImage.c we also change from using the proper name
for XmeGetMask, rather than the identical but renamed
version _DtGetMask which is not exported in any header.
2012-08-10 05:54:52 -06:00
Jon Trulson 686bcfadc7 Use SIGCHLD rather than SIGCLD.
Patch from Pascal Stumpf <Pascal.Stumpf@cubes.de>

The official POSIX name for this signal is SIGCHLD.  Linux probably
has SIGCLD only for SysV compatibility, but BSD does not.
2012-08-09 12:24:56 -06:00
Jon Trulson f9c2b3184e DtSvc/dtwm: Fix some implicit declarations of functions by adding appropriate
Patch from Frederic Koehler <f.koehler427@gmail.com>:

These implicit definitions cause segfaults on x64 because
the implicit return type is a 32-bit signed int, rather than a pointer
type.
2012-08-08 11:47:18 -06:00
Jon Trulson a26b73a1a6 dtwm: Define a final fallback for loading default window manager font
Patch from Frederic Koehler <f.koehler427@gmail.com>:

Define a final fallback for loading default window manager font;
before exiting, forcefully try to load "fixed" font. This is sufficient
to allow systems where fontList is set to an empty list to startup dtwm,
for now.
2012-08-08 11:39:29 -06:00
Jon Trulson f3be236767 Dtwm.defs.src: set proper mail file path for linux 2012-07-24 20:48:43 -06:00
Jon Trulson cdf8003f7c Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc).
Added proper SharedDtSvcReqs in lnxLib.tmpl and CplusplusLibC in
linux.cf.  This allows the libstdc++ dependancy to be properly
declared for libDtSvc so that it is not neccessary to hardcode 'CCLINK
= g++' in the Imakefiles of programs linking angainst libDtSvc.
2012-06-19 16:27:20 -06:00
Peter Howkins a34f78b798 convert all Imakefile LinuxDistribution to LinuxArchitecture.
(programs part 2)
2012-05-31 13:47:41 +01:00
Peter Howkins a26bc89ad5 Use C++ linker 2012-03-12 14:42:58 +00:00
Peter Howkins c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins 83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00