Jon Trulson [Sun, 14 Sep 2014 20:20:21 +0000 (14:20 -0600)]
dtmail: MotifCmds.C: NULL is not False
Jon Trulson [Fri, 12 Sep 2014 16:44:13 +0000 (10:44 -0600)]
Add new Dtlogo from Jeff Pierquet. Original renamed to TOGDtlogo.pm
Ulrich Wilkens [Thu, 11 Sep 2014 17:27:53 +0000 (19:27 +0200)]
Fix panel right click
Jon Trulson [Sun, 24 Aug 2014 22:48:07 +0000 (16:48 -0600)]
contrib/rc/freebsd: Add FreeBSD start script from Douglas Carmichael
Jon Trulson [Sun, 27 Jul 2014 22:48:19 +0000 (16:48 -0600)]
Update HISTORY file for 2.2.2 release
Jon Trulson [Sun, 27 Jul 2014 19:44:35 +0000 (13:44 -0600)]
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'.
Ulrich Wilkens [Sun, 27 Jul 2014 14:48:57 +0000 (16:48 +0200)]
FreeBSD 10 clang port
Jon Trulson [Wed, 23 Jul 2014 22:16:57 +0000 (16:16 -0600)]
Version change to 2.2.2
Jon Trulson [Wed, 23 Jul 2014 00:19:22 +0000 (18:19 -0600)]
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.
Jon Trulson [Tue, 22 Jul 2014 22:42:55 +0000 (16:42 -0600)]
el_GR _common.dt.tmsg: fix corrupted msg line at line 1763
Jon Trulson [Sun, 20 Jul 2014 00:33:12 +0000 (18:33 -0600)]
contrib/: add desktop2dt from Isaac Dunham
Jon Trulson [Sun, 20 Jul 2014 00:25:32 +0000 (18:25 -0600)]
Added additional info to vcal2xapia/README
Jon Trulson [Sun, 20 Jul 2014 00:22:39 +0000 (18:22 -0600)]
contrib/: add vcal2xapia from Edmond Orignac
Jon Trulson [Sat, 19 Jul 2014 23:48:38 +0000 (17:48 -0600)]
fr_FR.ISO8859-1/types/_common.dt.tmsg: Fix up a couple of backslash errors.
Reported by Edmond Orignac.
Eugene Doudine [Sat, 3 May 2014 18:02:50 +0000 (21:02 +0300)]
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.
Eugene Doudine [Tue, 15 Apr 2014 15:39:43 +0000 (18:39 +0300)]
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.
Eugene Doudine [Tue, 15 Apr 2014 14:25:49 +0000 (17:25 +0300)]
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.
Eugene Doudine [Tue, 15 Apr 2014 13:50:21 +0000 (16:50 +0300)]
Fixes the off-by-one bug in RegisterInGrid(), which caused dtfile's desktop icons on the right edge of the screen (if desktop width is not a multiple of icon with) to be registered on the next workspace or (in the case of the last workspace) beyond the desktop_grid array (possibly causing segfaults).
On small screens segfaults could be also triggered without any icons on dtfile
startup if dtwm panel (or part of it) was registered beyond the screen when
RegisterInGrid() was called by InitializeDesktopGrid().
The patch also makes grid registration work for large objects (larger than
2 cells in any direction, like dtwm panel or icon with long file name).
Previously only rectangle vertices were registered.
Jon Trulson [Sun, 6 Apr 2014 22:59:56 +0000 (16:59 -0600)]
dtappbuilder: bil_store.c: don't return local variables
Jon Trulson [Sun, 6 Apr 2014 22:55:45 +0000 (16:55 -0600)]
ttsnoop.C.src: NULL is not 0
Jon Trulson [Sun, 6 Apr 2014 22:54:31 +0000 (16:54 -0600)]
WMSaveSession.C: NULL is not 0
Jon Trulson [Sun, 6 Apr 2014 22:53:05 +0000 (16:53 -0600)]
SendMsgDialog.C: NULL is not 0
Jon Trulson [Sun, 6 Apr 2014 22:51:16 +0000 (16:51 -0600)]
RoamMenuWindow.C: NULL is not 0
Jon Trulson [Sun, 6 Apr 2014 22:49:24 +0000 (16:49 -0600)]
RoamInterruptibleCmd.C: NULL is not 0
Jon Trulson [Sun, 6 Apr 2014 22:48:40 +0000 (16:48 -0600)]
AttachArea.C: NULL is not 0, sprintf needs a format
Jon Trulson [Sun, 6 Apr 2014 22:46:09 +0000 (16:46 -0600)]
InterruptibleCmd.C, WorkingDialogManager.C: NULL is not 0
Jon Trulson [Sun, 6 Apr 2014 00:09:01 +0000 (18:09 -0600)]
dtsession: screensaver don't pass random attributes to XScreenSaverSetAttributes()
This should fix the "tiny window appearing in the screensavers"
problem.
Ulrich Wilkens [Tue, 1 Apr 2014 02:45:33 +0000 (04:45 +0200)]
Fix dtinfo search engine
Jon Trulson [Tue, 25 Mar 2014 01:54:37 +0000 (19:54 -0600)]
xtclient.c: fix debug statement regarding fd number
Jon Trulson [Tue, 25 Mar 2014 01:38:20 +0000 (19:38 -0600)]
linux.cf: with fds_bits fixes, stop using _POSIX_C_SOURCE=199309L and _XOPEN_SOURCE defines
Jon Trulson [Tue, 25 Mar 2014 01:37:09 +0000 (19:37 -0600)]
xtclient.c, spcd_event.c: stop referencing fds_bits directly
Jon Trulson [Tue, 25 Mar 2014 00:26:10 +0000 (18:26 -0600)]
cleanup: eliminate missing sentinel warnings
Jon Trulson [Mon, 24 Mar 2014 23:49:19 +0000 (17:49 -0600)]
dtcm/rfp.c: NULL is not 0
Jon Trulson [Mon, 24 Mar 2014 23:48:01 +0000 (17:48 -0600)]
dtcm/reminders.c: NULL is not 0
Jon Trulson [Mon, 24 Mar 2014 23:15:40 +0000 (17:15 -0600)]
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.
Jon Trulson [Mon, 24 Mar 2014 22:34:58 +0000 (16:34 -0600)]
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. :)
Jon Trulson [Mon, 24 Mar 2014 21:54:43 +0000 (15:54 -0600)]
cleanup: eliminate "implicit declaration" warnings.
Also fixed a potential core/memory corruption in dticon.
alx [Mon, 24 Mar 2014 04:03:21 +0000 (05:03 +0100)]
DtWidget: Don't free random pointer on Control widget destruction
Eugene Doudine [Sun, 23 Mar 2014 06:06:36 +0000 (08:06 +0200)]
Fixed bug #32 dtfile table formatting bug with non-latin filenames
Eugene Doudine [Sun, 23 Mar 2014 05:37:35 +0000 (07:37 +0200)]
Fixed bug #27 dtfile space handling bug
Eugene Doudine [Sun, 23 Mar 2014 05:32:02 +0000 (07:32 +0200)]
Fixes the bug #17 dtsession can't validate passwords longer than 8 characters when the session is locked
Jon Trulson [Sun, 23 Mar 2014 01:18:22 +0000 (19:18 -0600)]
dtcm/server/: just return NULL, not the address of a dummy local variable. Geez.
Jon Trulson [Sun, 23 Mar 2014 01:14:38 +0000 (19:14 -0600)]
MotifUI.C: NULL is not 0
Jon Trulson [Sun, 23 Mar 2014 01:09:46 +0000 (19:09 -0600)]
Threads.C: NULL is not 0
Jon Trulson [Sun, 23 Mar 2014 01:06:54 +0000 (19:06 -0600)]
localized/util/merge.h: include string.h and fix up some warnings
Jon Trulson [Sun, 23 Mar 2014 01:01:49 +0000 (19:01 -0600)]
Icon.c: include stdlib.h
Jon Trulson [Sun, 23 Mar 2014 00:59:26 +0000 (18:59 -0600)]
getdate.y: include string.h
Jon Trulson [Sun, 23 Mar 2014 00:56:21 +0000 (18:56 -0600)]
pax.h: include stdio.h
Jon Trulson [Sun, 23 Mar 2014 00:50:15 +0000 (18:50 -0600)]
PrintTopics.c: fix up some warnings
alx [Sat, 15 Mar 2014 22:31:01 +0000 (23:31 +0100)]
dtstyle: enable palette editor on true/direct color screens
Jon Trulson [Sat, 22 Mar 2014 23:37:50 +0000 (17:37 -0600)]
Updated Greek (el_GR.UTF-8) translations from Antonis Tsolomitis.
Jon Trulson [Sat, 22 Mar 2014 22:54:24 +0000 (16:54 -0600)]
tt_xdr_utils.h: fix build error on linux/bsd introduced with illumos initial patch.
The linux's and BSD's need the 'struct XDR::xdr_ops ops' declaration,
whereas I guess sun does not.
Peter Tribble [Fri, 21 Mar 2014 23:37:00 +0000 (16:37 -0700)]
initial illumos port
Jon Trulson [Wed, 12 Mar 2014 23:00:07 +0000 (17:00 -0600)]
libcsa: fix up some stupidness.
Ulrich Wilkens [Wed, 12 Mar 2014 18:43:12 +0000 (19:43 +0100)]
Fix cpp output on Ubuntu 13
Ulrich Wilkens [Tue, 11 Mar 2014 18:24:35 +0000 (19:24 +0100)]
Fix dtfile and dtterm on NetBSD
Jon Trulson [Tue, 11 Mar 2014 03:32:10 +0000 (21:32 -0600)]
linux: libDtSearch requires linking with -lm
Jon Trulson [Tue, 11 Mar 2014 02:58:17 +0000 (20:58 -0600)]
dtinfo: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Tue, 11 Mar 2014 02:43:32 +0000 (20:43 -0600)]
dtcm: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Tue, 11 Mar 2014 02:30:24 +0000 (20:30 -0600)]
dtmail: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Tue, 11 Mar 2014 02:07:16 +0000 (20:07 -0600)]
dtpad: stub out XmPrint stuff if there is no XmPrint support.
Jon Trulson [Mon, 10 Mar 2014 23:06:24 +0000 (17:06 -0600)]
dtdocbook/instant: *always* link with local libtcl.a
On some systems with libtcl installed, it might be linked into instant
rather than the locally provided version. This can result in random
coredumps.
Seen on Ubuntu 12.04, x86_64.
Now, we force linking with ../tcl/libtcl.a.
Jon Trulson [Mon, 10 Mar 2014 20:49:37 +0000 (14:49 -0600)]
mp_rpc_server.C: limit iteration of svc_fdset to FD_SETSIZE, as per spec.
In init() there was code iterating over all of the possible file
descriptors in a svc_fdset. fdsets are limited to FD_SETSIZE. This
caused coredumps on FreeBSD 10, and possibly other hidden issues.
Moving to poll(), rather than select() would be better, but is a bigger
job. For now, just limit to the FD_SETSIZE that select() requires.
Jon Trulson [Sun, 9 Mar 2014 23:59:18 +0000 (17:59 -0600)]
linux: move dependancy handling out of linux.cf and into new lnxDep.rules file.
Include lnxDep.rules in linux.cf.
Jon Trulson [Sun, 9 Mar 2014 20:52:43 +0000 (14:52 -0600)]
linux.cf: fix typo and some formatting.
Jon Trulson [Sun, 9 Mar 2014 20:24:00 +0000 (14:24 -0600)]
nsgmls: fix up some gcc 4.8 warnings.
Jon Trulson [Sun, 9 Mar 2014 10:36:42 +0000 (04:36 -0600)]
linux: Use installed X11 header files rather than requiring /imports/x11/include
With this patch, it is no longer neccessary to create the
/imports/x11/include/X11 symlink...
Also, remove the include of xfree86.cf from linux.cf, and define our
own DefaultCCOptions. Setup to use only -ansi, not -pendantic.
Jon Trulson [Sun, 9 Mar 2014 07:21:40 +0000 (00:21 -0700)]
libDtTerm: add include <stdio.h> so FILE is properly defined.
TermPrim/TermPrimDebug.h references FILE without including the
required header file. I am not sure why this hasn't shown up before.
Jon Trulson [Sun, 9 Mar 2014 06:43:17 +0000 (23:43 -0700)]
linux depend: stop using makedepend, use gcc instead
gcc can generate dependencies, so use that instead of building and
depending on the rather delicate and archaic 'makedepend'.
This fix removes makedepend from being built or used on linux, and
instead uses gcc to generate dependency data in .depend files.
I think pretty much every platform that uses gcc should do this. I am
not sure if other compilers (intel, clang) can do this though.
Jon Trulson [Sun, 2 Mar 2014 00:01:12 +0000 (17:01 -0700)]
building_release_archive: add some steps and clean up
Jon Trulson [Sat, 1 Mar 2014 23:49:09 +0000 (16:49 -0700)]
update HISTORY file for 2.2.1, though a little too late :)
Jon Trulson [Sat, 1 Mar 2014 22:48:49 +0000 (15:48 -0700)]
Version change to 2.2.1
Jon Trulson [Sat, 1 Mar 2014 22:47:34 +0000 (15:47 -0700)]
admin: add a BuildNotes dir for documenting release proceedures, etc
Ulrich Wilkens [Fri, 28 Feb 2014 13:46:34 +0000 (14:46 +0100)]
Fix UTF8 problem on non-linux systems
Eugene Doudine [Tue, 25 Feb 2014 10:52:00 +0000 (12:52 +0200)]
Addition of the en_US.UTF-8 locale: installation support
Eugene Doudine [Tue, 25 Feb 2014 10:46:03 +0000 (12:46 +0200)]
addition of en_US.UTF-8 locale: fonts.alias and fonts.dir files
Ulrich Wilkens [Thu, 20 Feb 2014 18:48:56 +0000 (19:48 +0100)]
Fix for dtinfo segfaults
Jon Trulson [Sun, 23 Feb 2014 02:16:34 +0000 (19:16 -0700)]
Re-add NO_DTINFO blocks removed in NetBSD port patch
Ulrich Wilkens [Thu, 20 Feb 2014 18:19:17 +0000 (19:19 +0100)]
NetBSD port
Pascal Stumpf [Fri, 21 Feb 2014 17:02:36 +0000 (18:02 +0100)]
Fix dtcm build on OpenBSD-current.
libcompat and header files will be gone in the upcoming 5.5 release, so we
cannot use the ftime(3) interface there. Fall back to the SVR4 version of the
code, but use the tm_gmtoff field of struct tm to get the timezone.
Unfortunately, that is not portable (because I really really would like to
remove that old and crummy struct timeb from the public API).
Eugene Doudine [Fri, 21 Feb 2014 11:52:25 +0000 (13:52 +0200)]
Fixes segfault in dtprintinfo when used UTF-8 locale, bug was caused by unchecked return value of XmeRenderTableGetDefaultFont()
Eugene Doudine [Fri, 21 Feb 2014 11:34:04 +0000 (13:34 +0200)]
Fix for several segfaults in dtwm that happen with UTF-8 locale and were caused by unckeked XmeRenderTableGetDefaultFont return value
alx [Fri, 21 Feb 2014 14:29:15 +0000 (15:29 +0100)]
wwl: fixed dtinfo segfault due to missing copy constructor in WArgList
alx [Fri, 21 Feb 2014 14:21:20 +0000 (15:21 +0100)]
dtscreen: cosmic flame fractals missing drawing code
alx [Fri, 21 Feb 2014 14:18:36 +0000 (15:18 +0100)]
dtfile: fclose called twice on same handle
Eugene Doudine [Mon, 17 Feb 2014 22:12:19 +0000 (00:12 +0200)]
Bugfix for #9 Cut off fonts in titles
Jon Trulson [Mon, 17 Feb 2014 21:37:09 +0000 (14:37 -0700)]
Fix for xorg-xkb partially freezes dtwm when keyboard layout is changed.
Patch submitted by Eugene Doudine <dudinea@gmail.com>
Jon Trulson [Sun, 29 Dec 2013 22:41:56 +0000 (15:41 -0700)]
dtexec: use proper FD_CLOEXEC rather than a hardcoded 1
Jon Trulson [Sun, 29 Dec 2013 22:00:16 +0000 (15:00 -0700)]
dtexec: fix a case on linux where an infinite loop could occur.
Jon Trulson [Sun, 29 Dec 2013 19:54:55 +0000 (12:54 -0700)]
Add dtwm.mgg Greek UTF translation from Antonis Tsolomitis
Ulrich Wilkens [Sat, 19 Oct 2013 21:55:59 +0000 (23:55 +0200)]
Introduction of BSDArchitecture
Isaac Dunham [Sun, 22 Sep 2013 03:30:52 +0000 (20:30 -0700)]
Add -quiet option to dtlogin.
This should shut up the console spamming, for those who use VT1.
Default behavior is not changed.
Isaac Dunham [Mon, 23 Sep 2013 00:15:06 +0000 (17:15 -0700)]
dtlogin: use proper path to getty and /usr/local/bin in path on Linux
Ulrich Wilkens [Sat, 14 Sep 2013 21:33:49 +0000 (23:33 +0200)]
correction of message files
Ulrich Wilkens [Wed, 4 Sep 2013 22:03:16 +0000 (00:03 +0200)]
No symlinks to libraries on OpenBSD (default install)
Jon Trulson [Tue, 3 Sep 2013 17:53:03 +0000 (11:53 -0600)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Peter Howkins [Tue, 3 Sep 2013 14:41:58 +0000 (15:41 +0100)]
dtstyle: Resolve 70 compiler warnings
Peter Howkins [Tue, 3 Sep 2013 13:34:11 +0000 (14:34 +0100)]
dtstyle: Alphabetically sort the backdrops in the backdrop list.
Pascal Stumpf [Sat, 31 Aug 2013 17:16:09 +0000 (19:16 +0200)]
Do not install symlinks to libraries on OpenBSD.
Jon Trulson [Sat, 31 Aug 2013 23:18:53 +0000 (17:18 -0600)]
dtinfogen_worker: don't free variables then use them later.
In several places, variables were XFree()'d, but then used in system()
commands later. This would cause various issues - on my system, I'd
get:
sh: 1: Syntax error: EOF in backquote substitution
system for rm failed; exiting...
while building the guides.