Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Porting Xt to C++

1 view
Skip to first unread message

Ioi Kim Lam

unread,
Mar 14, 1993, 10:10:56 PM3/14/93
to

Does any know if the X Consortium (or MIT, or OSF, or whoever)
is doing anything to port Xt to C++?

The reason why I am asking this is that I am thinking of
doing a research project in porting Xt to C++ (by that I mean
rewriting Core, Composite and Constraint, and laying down a framework
of subclassing in C++. It will also include the work to make the C++
library compatible with the original Xt. I don't mean re-writing the
widget sets such as Motif or OLIT). However, if some smart guys are
already doing it in MIT, I'd better leave the work for them or else
I'll look extermely stupid ...

Thanks if anyone will come up with an answer.


Eric Johnson

unread,
Mar 18, 1993, 3:19:13 PM3/18/93
to
i...@thumper.cis.upenn.edu (Ioi Kim Lam) writes:


> Does any know if the X Consortium (or MIT, or OSF, or whoever)
>is doing anything to port Xt to C++?

The OSF is working on sonething vaguely similar to this.
The X Technical Conference and the X resource magazine,
issue 5, had a paper on this: "Melding OSF/Motif, C++
and the Intrinsics", by Doug Rand and Gilles Benati.

I hope this helps,
-Eric

Eric F. Johnson email: john...@camax.com
CAMAX Systems, Inc. phone: +1 612 854 5300
7851 Metro Parkway fax: +1 612 854 6644
Minneapolis, MN 55425-1528 USA

"Oh Lord, I lost the slip and broke one of the high heels. Forgive please.
Will return the wig Monday". Oliver North's email to aide Ronald Sable.

--
Eric F. Johnson email: john...@camax.com
CAMAX Systems, Inc. phone: +1 612 854 5300
7851 Metro Parkway fax: +1 612 854 6644
Minneapolis, MN 55425-1528 USA

David Boyle

unread,
Mar 19, 1993, 5:43:32 PM3/19/93
to
In article <113...@netnews.upenn.edu>, i...@thumper.cis.upenn.edu (Ioi Kim Lam) writes:

>
In Article 6090 i...@thumper.cis.upenn.edu (Ioi Kim Lam) writes:

> Does any know if the X Consortium (or MIT, or OSF, or whoever)
> is doing anything to port Xt to C++?
>

Check out the article "Melding OSF/Motif, C++ and the Intrinsics" by
Douglas Rand and Gilles Benati in the Proceedings of the 7th X Technical
Conference (as published in the X Resource, issue 5).

It covers some of the issues you are interested in.

--
David Boyle ...uunet!gca!boyle or bo...@gca.com
GCA, a unit of General Signal (508) 837-3869
Andover, MA 01810

< Gary H >

unread,
Mar 19, 1993, 8:22:32 PM3/19/93
to

I am interested in any kind of performance enhancements that is being done
on X11R5. They can be anywhere from simple modifications to re-implementation
of various routines in Xlib and Xt.

Anyone from DEC out there? Are precompiled translation tables being implemented
in their version of X11R5? (I believe MIT has implemented precompiled quarks in
R5).

Any ideas for performance enhancement would be appreciated.

Thanks,
Gary

--
//////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
ga...@sco.com
Santa Cruz, California 95061
//////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

< Gary H >

unread,
Mar 19, 1993, 8:24:21 PM3/19/93
to

I have some questions about codeset files in R5:

Does anyone know when the clients need the codeset files? Is it needed only
when the LANG variable is set?

When the codeset files are needed and not available on the system, what
should happen?

Thanks in advance,

Philip Brown

unread,
Mar 19, 1993, 10:01:57 PM3/19/93
to

In <1993Mar20.0...@sco.com> ga...@sco.COM (< Gary H >) writes:


>I am interested in any kind of performance enhancements that is being done
>on X11R5. They can be anywhere from simple modifications to re-implementation
>of various routines in Xlib and Xt.

You mean stuff the folks are working on now, or stuff that's in the
distribution?

There's some ASSEMBLY code put in the pixrect/pixblit routines by mit now.
--

--------------------------------------------------------------------
"Such a truck would be good for picking up girls in Minsk."
(from "Stripes") ph...@cats.ucsc.edu | ph...@soda.berkeley.edu

Mike Hopkirk

unread,
Mar 24, 1993, 4:58:19 AM3/24/93
to
>>>>> On Sat, 20 Mar 1993 01:24:21 GMT, ga...@sco.COM (< Gary H >) said:


gh> I have some questions about codeset files in R5:

gh> Does anyone know when the clients need the codeset files? Is it needed only
gh> when the LANG variable is set?
Depends on what the Application is doing and what the system supports.

If the system has its own Multibyte handling you use the system call to
set the codeset/Lang and test for errors. If the system doesn't and
Xlib was made with MULTIBYTE not set ( so use the Xlib emulation )
the app calls XtSetLanguageProc().

IF your app calls XtSetLanguageProc using the default proc
the app requires the codeset files for the default LANG setting ( C )
as well as any specific setting that you may need to specify.

( Other Xt/Xlib calls may also trigger this dependencies )

gh> When the codeset files are needed and not available on the system, what
gh> should happen?

In mwm you tend to get obscure warnings about being unable to convert
properties and a addendum about XmbTextPropertyToTextList() returning
a number.
i.e it doesn't fail very gracefully.
Arguably it should give some additional error message but this would require
mods to the Xlib layer which may not be what s generally required......

A Better alternative if it fails to find the required codeset it should give a
warning and default to the default Lang/Codeset which it should not
need any external files to use....
--
Everything disclaimed (including disclaimer)
------< ho...@x.co.uk >------< ho...@ixi.uucp >------< ...!uunet!ixi!hops >----
Mike Hopkirk ( hops ) | Coding: When in doubt, use brute force.
IXI Ltd ! Ken Thompson. Bell labs

0 new messages