Eugene Doudine | 15 Apr 18:47 2014
Picon

[PATCH] patches for serveral bugs in dtfile


Hi,

These patches fix several bugs in dtfile:

1.  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 width) 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:
    it worked for icons with short filenames, but allowed placing of 
    icons in the middle of panel or long filename.

    Thanks to <puyamolina@...> for reporting this bug (in the
    form of segfaults with a 1366x768 screen on linux/x86_64)

2.  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
(Continue reading)

Jon Trulson | 1 Apr 20:33 2014

Good news!


After consulting with Digia and ICS, I have decided that Motif is no
longer the proper toolkit for use in CDE.

As a result, we will begin migrating from the use of Motif in CDE to
the Qt Framework, probably version 5.3, when it is released sometime
this month.

Qt brings quite a lot of capabilities to the table in terms of font
and rendering support, OpenGL support, and a whole slew of other
capabilities that Motif simply does not handle.

Later today, I will begin committing the first patches - the first is
to convert to qmake, rather than imake for building.  Once those
pieces are in place, we can begin the full conversion in earnest.

When the conversion is complete, CDE will be renamed to QCDE, in line
with it's Qt based roots.

I hope I can count on your support as we usher CDE (QCDE) into a new era.

--

-- 
Jon Trulson

     Last day, Capricorn fifteens. Year of the city, 2274.
     Carousel begins.

------------------------------------------------------------------------------
Ulrich Wilkens | 1 Apr 05:27 2014
Picon

[Patch] Fix dtinfo search engine


The following dtinfo changes are done in this patch:

- search engine working
- arm support (raspberry pi)
- clang support
- correction of links to motif documents
- correction of stringstream usage
- removed warnings (introduced by newer compilers)

PS: A screenshot of the new search windows can be seen
     under http://abload.de/img/cde_dtinfo33eu2q.png

--

-- 
Ulrich Wilkens
Email: mail@...

>From 28d3e1534d04a8a5bbc7e9b7e0f6ded7e4caa4ac Mon Sep 17 00:00:00 2001
From: Ulrich Wilkens <mail-jbpI0NvkgmEb1SvskN2V4Q <at> public.gmane.org>
Date: Tue, 1 Apr 2014 04:45:33 +0200
Subject: [PATCH] Fix dtinfo search engine

---
 cde/config/cf/DtInfo.tmpl                          |  2 +-
 cde/config/cf/FreeBSD.cf                           | 15 +++++++---
 cde/config/cf/NetBSD.cf                            |  8 ++++--
 cde/config/cf/OpenBSD.cf                           | 15 +++++++++-
 cde/config/cf/linux.cf                             | 23 +++++++++++----
(Continue reading)

Edmond Orignac | 29 Mar 11:57 2014
Picon

Conversion vCalendar -> XAPIA

Hello,

I have written a simple AWK program to convert .vcs files into
XAPIA format files that can then be dragged and dropped on the Calendar
icon of the front panel to insert an appointment in the CDE calendar.

The program has some limitations. For the moment, it ignores ToDo items
and only converts appointment items. Also, it has to convert 
appointments that extend on more than a single day (such as holidays) 
into daily repeats
and to transform "UNTIL=" repetitions into a number of repetition.
This is done by using an average duration of 30.44 days for a month
and 365.25 days for a year instead of using the correct duration for
leap years and for months. So the duration of an appointment can
be sometimes calculated incorrectly.

If you wish to include it with the CDE sources or to post it on the Wiki 
documentation, I agree to release it under MIT license.
      http://opensource.org/licenses/MIT

Otherwise, there are better programs in Perl by Adam Stein at:
http://www.csh.rit.edu/~adam/Progs/programs.html
but they require to install some extra Perl libraries.

Best wishes,

Edmond Orignac
BEGIN {FS=":"} 
(Continue reading)

Rodrigo Gesswein | 29 Mar 00:16 2014
Picon

Can`t compile dtmail and ttsession

Dear All,

	I`m trying to compile and install CDE (from git) on RHEL Server 5.3
	(Tikanga) x86_64, but it fails with dtmail and ttsession:

<q dtmail>

make[1]: Entering directory `/root/Desktop/cdesktopenv-code/cde/programs/dtmail/dtmail'
rm -f AttachArea.o
g++ -g -pipe -fpermissive -c -O2 -fno-strict-aliasing -Wno-write-strings   -I. -I../include
-I../include/MotifApp 	-I../include/utils -I../include/DtMail 	-I../libDtMail/RFC
-I../../../lib -I../../../lib/DtHelp -I../../.. -I../../../exports/include
-I../../../imports/motif/include -I/usr/include  -Dlinux -D__x86_64__ -D_POSIX_SOURCE
				-D_BSD_SOURCE -D_SVID_SOURCE  -DANSICPP -DMULTIBYTE -DNLS16 	-DOSMAJORVERSION=2
-DOSMINORVERSION=6   -DRELEASE_NOTES -DDTMAIL_TOOLTALK -DDTEDITOR  AttachArea.C
/usr/include/X11/VendorP.h:87: error: previous declaration of ‘VendorShellClassRec
vendorShellClassRec’ with ‘C++’ linkage
/usr/include/Xm/VendorSP.h:61: error: conflicts with new declaration with ‘C’ linkage
AttachArea.C: In member function ‘void AttachArea::undeleteLastDeletedAttachment(DtMailEnv&)’:
AttachArea.C:1474: warning: converting to non-pointer type ‘long int’ from NULL
AttachArea.C:1474: warning: converting to non-pointer type ‘long int’ from NULL
make[1]: *** [AttachArea.o] Error 1
make[1]: Leaving directory `/root/Desktop/cdesktopenv-code/cde/programs/dtmail/dtmail'

</q>

	And ttsession:

<q ttsession>

(Continue reading)

alx | 24 Mar 05:57 2014

[PATCH] DtWidget: Don't free random pointer on Control widget destruction

This fixes segfault in dtwm when deleting subpanel icons (bug report #29 
related).
>From ad65d4a11717534fc75d181095070dab57950368 Mon Sep 17 00:00:00 2001
From: alx <alx@...>
Date: Mon, 24 Mar 2014 05:03:21 +0100
Subject: [PATCH] DtWidget: Don't free random pointer on Control widget
 destruction

---
 cde/lib/DtWidget/Control.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cde/lib/DtWidget/Control.c b/cde/lib/DtWidget/Control.c
index 675d553..7333d1b 100644
--- a/cde/lib/DtWidget/Control.c
+++ b/cde/lib/DtWidget/Control.c
 <at>  <at>  -900,6 +900,7  <at>  <at>  Initialize(
       G_AltPix (new) = XmUNSPECIFIED_PIXMAP;
       G_AltMask (new) = XmUNSPECIFIED_PIXMAP;
       G_MonitorTimer (new) = 0;
+      G_FileName (new) = NULL;
     }

   if (G_ControlType (new) == XmCONTROL_DATE)
--

-- 
1.8.4

(Continue reading)

Eugene | 23 Mar 07:48 2014
Picon

[PATCH] Fix for #32 dtfile table formatting bug with non-latin filenames


The attached patch fixes the bug.

Regards,
Eugene
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Eugene | 23 Mar 07:46 2014
Picon

[PATCH] Fix for #27 dtfile space handling bug


The attached patch fixes the bug.

Regards,
Eugene
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Eugene | 23 Mar 07:43 2014
Picon

[PATCH] dtsession can't validate passwords longer than 8 characters when the session is locked


The attached patch fixes the bug. 

Memory for password buffer is now allocated dynamically
up to a reasonable upper limit (64k). 

Regards,
Eugene
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Peter Tribble | 21 Mar 22:58 2014
Picon

Patch for initial illumos port

Attached is an updated patch for initial illumos support.

I've built against a current checkout, and nothing has broken

This differs from the previous patch I sent only slightly. The
patch doesn't remove libtt.elist, it tweaks INSTALL, and some
of the line numbers have changed due to other patches being
applied in the meantime.

To build on illumos, once I have openmotif installed and
a copy of the Sun compiler in /opt/SUNWspro, I just:

cd cde
rm lib/tt/lib/libtt.elist
mkdir -p imports/x11/include
ln -s /usr/include/X11 imports/x11/include
make World.dev
# fails; edit programs/Imakefile so as to remove
# dtinfo, dtksh, dtappbuilder, ttsnoop from SUBDIRS
make World.dev
make -k install DESTDIR=/tmp/foo
make -k install.man DESTDIR=/tmp/foo

Handling libtt.elist properly still needs to be fixed, but
that looks like the script that takes the elist file and
combines it with c++filt output to create the linker mapfile
needs to be fixed.

So far, I haven't managed to get dtinfo, dtksh, dtappbuilder,
or ttsnoop to build (although I've made a fair amount of
progress with dtinfo).

Applications such as dtpad, dtcalc, and dtterm start and
appear to function correctly. There's no help, because
creating that requires dtinfo. There's a problem with dtlogin,
if you select any menu options it block keyboard input, and
dtwm doesn't really work. But actually having things build
in the first place is a necessary first step for further work.

One comment on the code. Many of the changes I've needed
to make (and attempts to fix other areas have the same
problem), basically involve an #if to guard against
#include <osfcn.h>
Are there any platforms in existence for which osfcn.h is
actually relevant?

Thanks,

Attachment (0001-initial-illumos-port.patch): application/octet-stream, 42 KiB
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Antonis Tsolomitis | 13 Mar 12:42 2014
Picon

question about sfx/stp files in dtsr


I have made substantial progress in translating CDE to unicode Greek.

With most files it is obvious what to do but there are such files ending in
sfx and stp which I do not understand.

Can someone explain me what are these files doing? For the C locale
the files in the source are in

programs/localized/C/dtsr/

eng.stp is obvious what to do except that I think I should know
how it is used before I proceed, since in Greek words get conjugated and
change endings.

The other one, eng.sfx, is completely obscure to me. What is this file
doing?

Thanks,

Antonis.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

Gmane