* RE: silly question : how long would it take to make SN Gnome-complian t?
@ 2000-09-19 3:11 William Gacquer
2000-09-19 3:34 ` silly question : how long would it take to make SN Gnome-comp lian t? Bruce Stephens
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: William Gacquer @ 2000-09-19 3:11 UTC (permalink / raw)
To: Bruce Stephens, sourcenav
I don't care about the GUI colors and so on. By "gnome-compliant", I meant
"D&D-enabled" + a project file in XML ( XMI? ) etc...
I asked that cos I believe that it would be easier to enhance SN by some
kind of gnome-compliant interface. For instance, the include and xref graphs
could be interfaced with DIA, the diagram editor.
The very best would be to transform SN into a case tool able to treat UML
diagrams.
Your parsers are clever enough to discover the relations among and between
classes. An XMI import/export would be of great help and a graphical editor
would close the gap between SN and a tool such as Rose (I don't like it) or
Together (better than ever).
I feel ready to implement some kind of UML extension to SN but for that, I
need to leave my current job and find someone (or a company) to pay me for
that.
William
-----Original Message-----
From: Bruce Stephens [ mailto:bruce.stephens@messagingdirect.com ]
Sent: mardi 19 septembre 2000 11:57
To: sourcenav@sources.redhat.com
Subject: Re: silly question : how long would it take to make SN
Gnome-complian t?
What does "Gnome-compliant" mean to you? It's written using Tcl/Tk,
so the GUI isn't going to change colours or themes with the rest of
GNOME. It's also not likely to support drag&drop, be customizable
using the GNOME control center, or to support the GNOME print engine.
(The first is just because Tk doesn't do drag&drop yet; when it does,
things ought to work with Source Navigator.)
Rewriting the GUI wouldn't be an impossible task: by the looks of it,
it's 65K lines or so of Tcl (including comments and so on). It uses a
bunch of Tcl extensions, but I suspect all the widgets provided by
those are available in GNOME's libraries.
The only interfaces to the rest of the stuff seems to be running
pipelines of parsers into dbimp, and accessing the db-1.85/1.86
databases. The latter are fairly well documented; I'm not sure about
the former.
--
Bruce Stephens Bruce.Stephens@MessagingDirect.com
MessagingDirect(UK) Ltd <URL: http://www.MessagingDirect.com/ >
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-comp lian t?
2000-09-19 3:11 silly question : how long would it take to make SN Gnome-complian t? William Gacquer
@ 2000-09-19 3:34 ` Bruce Stephens
2000-09-19 6:10 ` silly question : how long would it take to make SN Gnome-complian t? Ian Roxborough
2000-09-24 17:46 ` silly question : how long would it take to make SN Gnome-comp lian t? Mo DeJong
2 siblings, 0 replies; 10+ messages in thread
From: Bruce Stephens @ 2000-09-19 3:34 UTC (permalink / raw)
To: sourcenav
William Gacquer <wgacquer@ubisoft.fr> writes:
> I don't care about the GUI colors and so on. By "gnome-compliant", I
> meant "D&D-enabled" + a project file in XML ( XMI? ) etc...
The project file itself contains lots of information that most tools
won't care about, I think. Really you want to look at the databases
themselves (the things by default in .snprj). These are Berkeley db
databases whose contents are fairly well documented.
The harder problem looks like updating the databases should a file be
edited (if you were using this in gIDE or something). However, that's
probably not too hard either---I just don't know how to do it, except
in outline.
> I asked that cos I believe that it would be easier to enhance SN by
> some kind of gnome-compliant interface. For instance, the include
> and xref graphs could be interfaced with DIA, the diagram editor.
Entirely possible: the databases are pretty easy to read. They're in
a rather old format, but that probably doesn't matter much (either
link with db-1.86, or change SN to use a more recent db).
[...]
--
Bruce Stephens Bruce.Stephens@MessagingDirect.com
MessagingDirect(UK) Ltd <URL: http://www.MessagingDirect.com/ >
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-complian t?
2000-09-19 3:11 silly question : how long would it take to make SN Gnome-complian t? William Gacquer
2000-09-19 3:34 ` silly question : how long would it take to make SN Gnome-comp lian t? Bruce Stephens
@ 2000-09-19 6:10 ` Ian Roxborough
2000-09-19 6:32 ` Tee Y Teoh
2000-09-24 17:46 ` silly question : how long would it take to make SN Gnome-comp lian t? Mo DeJong
2 siblings, 1 reply; 10+ messages in thread
From: Ian Roxborough @ 2000-09-19 6:10 UTC (permalink / raw)
To: William Gacquer; +Cc: sourcenav
One of the issue with making SN gnome compliant is that we
support a bunch of platform where gnome isn't there or is
buggy at best.
Maybe the preferences should be stored in XML, no sure of
the advantages of the project file being XML.
D&D support would be great, but we'll need to keep it
cross platform (little work, but shouldn't be too hard).
UML would be cool when combined with SN's browsing
capabilities.
Most of these can be done without gnome, but if we could
link to small lib for gnome D&D that should be do able.
As far making the UI gtk compliant, I've found it hard
to justify the effort. It's doable, I look at how the
themeing stuff works and it could be added to Tk.
Maintain two UIs, one GTK compliant, one for the rest
of the work, just won't fly.
Ian.
William Gacquer wrote:
>
> I don't care about the GUI colors and so on. By "gnome-compliant", I meant
> "D&D-enabled" + a project file in XML ( XMI? ) etc...
>
> I asked that cos I believe that it would be easier to enhance SN by some
> kind of gnome-compliant interface. For instance, the include and xref graphs
> could be interfaced with DIA, the diagram editor.
>
> The very best would be to transform SN into a case tool able to treat UML
> diagrams.
>
> Your parsers are clever enough to discover the relations among and between
> classes. An XMI import/export would be of great help and a graphical editor
> would close the gap between SN and a tool such as Rose (I don't like it) or
> Together (better than ever).
>
> I feel ready to implement some kind of UML extension to SN but for that, I
> need to leave my current job and find someone (or a company) to pay me for
> that.
>
> William
>
> -----Original Message-----
> From: Bruce Stephens [ mailto:bruce.stephens@messagingdirect.com ]
> Sent: mardi 19 septembre 2000 11:57
> To: sourcenav@sources.redhat.com
> Subject: Re: silly question : how long would it take to make SN
> Gnome-complian t?
>
> What does "Gnome-compliant" mean to you? It's written using Tcl/Tk,
> so the GUI isn't going to change colours or themes with the rest of
> GNOME. It's also not likely to support drag&drop, be customizable
> using the GNOME control center, or to support the GNOME print engine.
> (The first is just because Tk doesn't do drag&drop yet; when it does,
> things ought to work with Source Navigator.)
>
> Rewriting the GUI wouldn't be an impossible task: by the looks of it,
> it's 65K lines or so of Tcl (including comments and so on). It uses a
> bunch of Tcl extensions, but I suspect all the widgets provided by
> those are available in GNOME's libraries.
>
> The only interfaces to the rest of the stuff seems to be running
> pipelines of parsers into dbimp, and accessing the db-1.85/1.86
> databases. The latter are fairly well documented; I'm not sure about
> the former.
>
> --
> Bruce Stephens Bruce.Stephens@MessagingDirect.com
> MessagingDirect(UK) Ltd <URL: http://www.MessagingDirect.com/ >
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-complian t?
2000-09-19 6:10 ` silly question : how long would it take to make SN Gnome-complian t? Ian Roxborough
@ 2000-09-19 6:32 ` Tee Y Teoh
2000-09-19 6:44 ` Bruce Stephens
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Tee Y Teoh @ 2000-09-19 6:32 UTC (permalink / raw)
To: egcs; +Cc: sourcenav
Ian Roxborough wrote:
> Maintain two UIs, one GTK compliant, one for the rest
> of the work, just won't fly.
What about porting to wxWindows ? wxWindows is support on MS-Windows, Unix/Motif,
Unix/GTK, and Mac (with work going on for OS/2). wxWindows is written in C++
and has a Python binding. See http://www.wxwindows.org/ for more info.
Regards
Tee Teoh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-complian t?
2000-09-19 6:32 ` Tee Y Teoh
@ 2000-09-19 6:44 ` Bruce Stephens
2000-09-19 11:54 ` silly question : how long would it take to make SN Gnome-compliant? Ben Elliston
2000-09-24 17:59 ` silly question : how long would it take to make SN Gnome-complian t? Mo DeJong
2 siblings, 0 replies; 10+ messages in thread
From: Bruce Stephens @ 2000-09-19 6:44 UTC (permalink / raw)
To: sourcenav
Tee Y Teoh <tee_yong.teoh@alcatel.com> writes:
> Ian Roxborough wrote:
>
> > Maintain two UIs, one GTK compliant, one for the rest
> > of the work, just won't fly.
>
> What about porting to wxWindows ? wxWindows is support on
> MS-Windows, Unix/Motif, Unix/GTK, and Mac (with work going on for
> OS/2). wxWindows is written in C++ and has a Python binding. See
> http://www.wxwindows.org/ for more info.
That might be technically a good thing if one were going to rewrite
the GUI. I'm guessing it's not going to be a priority for RedHat,
though.
The current plan looks better: try to remove the specific patches for
Tcl and Tk, and try to remove Tix. Presumably there are similar plans
for Insight?
--
Bruce Stephens Bruce.Stephens@MessagingDirect.com
MessagingDirect(UK) Ltd <URL: http://www.MessagingDirect.com/ >
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-compliant?
2000-09-19 6:32 ` Tee Y Teoh
2000-09-19 6:44 ` Bruce Stephens
@ 2000-09-19 11:54 ` Ben Elliston
2000-09-24 17:59 ` silly question : how long would it take to make SN Gnome-complian t? Mo DeJong
2 siblings, 0 replies; 10+ messages in thread
From: Ben Elliston @ 2000-09-19 11:54 UTC (permalink / raw)
To: Tee Y Teoh; +Cc: sourcenav
What about porting to wxWindows ? wxWindows is support on MS-Windows,
Unix/Motif, Unix/GTK, and Mac (with work going on for OS/2). wxWindows
is written in C++ and has a Python binding. See
http://www.wxwindows.org/ for more info.
That sounds like what Tk was supposed to be. Why not port the Tk iwdgets to
GTK? If S-N could run under `wish', this would be more feasible.
Ben
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-complian t?
2000-09-19 6:32 ` Tee Y Teoh
2000-09-19 6:44 ` Bruce Stephens
2000-09-19 11:54 ` silly question : how long would it take to make SN Gnome-compliant? Ben Elliston
@ 2000-09-24 17:59 ` Mo DeJong
2 siblings, 0 replies; 10+ messages in thread
From: Mo DeJong @ 2000-09-24 17:59 UTC (permalink / raw)
To: sourcenav
Bruce Stephens Wrote:
Rewriting the GUI wouldn't be an impossible task: by the looks of it,
it's 65K lines or so of Tcl (including comments and so on). It uses a
bunch of Tcl extensions, but I suspect all the widgets provided by
those are available in GNOME's libraries.
Tee Teoh Wrote:
What about porting to wxWindows ? wxWindows is support on MS-Windows,
Unix/Motif,
Unix/GTK, and Mac (with work going on for OS/2). wxWindows is written
in C++
and has a Python binding. See http://www.wxwindows.org/ for more info.
Guys,
It would take more than a year to switch SN to a new GUI toolkit.
We would rather spend that time improving SN instead of rewriting
it in gtk or wxWindows. Even if someone did manage to rewrite
everything in gtk or wxWindows, who is going to maintain the
code? Tcl code is really easy to maintain, you don't need to
worry about memory leaks or crashes like you do in C or C++
code (Yuk).
If someone really wants to do a full rewrite, go right ahead.
You have all the code so there is nothing stopping you. I just
think it would better to spend the time improving the existing
code base instead of tossing it all out and starting over. The
GUI is the hard part, parsers and DBs are easy in comparison.
Mo DeJong
Red Hat Inc
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: silly question : how long would it take to make SN Gnome-comp lian t?
2000-09-19 3:11 silly question : how long would it take to make SN Gnome-complian t? William Gacquer
2000-09-19 3:34 ` silly question : how long would it take to make SN Gnome-comp lian t? Bruce Stephens
2000-09-19 6:10 ` silly question : how long would it take to make SN Gnome-complian t? Ian Roxborough
@ 2000-09-24 17:46 ` Mo DeJong
2 siblings, 0 replies; 10+ messages in thread
From: Mo DeJong @ 2000-09-24 17:46 UTC (permalink / raw)
To: sourcenav
On Tue, 19 Sep 2000, William Gacquer wrote:
> I don't care about the GUI colors and so on. By "gnome-compliant", I meant
> "D&D-enabled" + a project file in XML ( XMI? ) etc...
Well, D&D is something that is being worked on for Tk 8.4, when it
is fixed in Tk it will be fixed in SN. Moving the project file
over to XML would mean we would need to add an XML parser,
it might not be a bad idea but it could be a lot of work.
> I asked that cos I believe that it would be easier to enhance SN by some
> kind of gnome-compliant interface. For instance, the include and xref graphs
> could be interfaced with DIA, the diagram editor.
>
> The very best would be to transform SN into a case tool able to treat UML
> diagrams.
That would be nice. Of course, someone would need to step up
to the plate and write the code. I don't think we will be doing
it anytime soon.
Mo DeJong
Red Hat Inc
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: silly question : how long would it take to make SN Gnome-complian t?
@ 2000-09-19 7:42 William Gacquer
2000-09-19 11:17 ` silly question : how long would it take to make SN Gnome-comp lian t? Timothy M. Shead
0 siblings, 1 reply; 10+ messages in thread
From: William Gacquer @ 2000-09-19 7:42 UTC (permalink / raw)
To: Ian Roxborough; +Cc: sourcenav
> -----Original Message-----
> From: Ian Roxborough [ mailto:irox@redhat.com ]
> Sent: mardi 19 septembre 2000 16:05
> Cc: sourcenav@sources.redhat.com
> Subject: Re: silly question : how long would it take to make SN
> Gnome-complian t?
>
>
>
> What advantages are we going to get from rewritting
> the GUI in wxWindows?
Integration with gtk and/or win32?
>
> I think that it should be relatively easy to add most
> of the missing feature to Tk.
I am not a Tk expert but I believe in what you said :-)
>
> One thing that we do plan on doing to remove Tix and
> start using BLT, but this won't happen until after
> the next major release.
>
> Upgrading the version of Tcl/Tk the SN uses we also
> buy us extra features, I'm hoping that we can do this
> in sync with switch over to BLT.
>
> Comments?
>
iTcl, iTk, Tix, BLT, etc.. that's a lot of extensions....
Nevertheless, I will trust what you'll chose!
> Ian
>
> William Gacquer wrote:
> >
> > Why not? wxWindows has some good extensions. One of them is OGL, the
> > "Objects Graphics Library" that allows to create "Rose-like
> GUIs" is a few
> > minutes.
> >
> > But that would require a lot of work to move from TK to
> wxWindows, even if
> > it's worth the pain.
> >
> > William
> >
> > > -----Original Message-----
> > > From: Tee Y Teoh [ mailto:tee_yong.teoh@alcatel.com ]
> > > Sent: mardi 19 septembre 2000 15:32
> > > Cc: sourcenav@sources.redhat.com
> > > Subject: Re: silly question : how long would it take to make SN
> > > Gnome-complian t?
> > >
> > >
> > > Ian Roxborough wrote:
> > >
> > > > Maintain two UIs, one GTK compliant, one for the rest
> > > > of the work, just won't fly.
> > >
> > > What about porting to wxWindows ? wxWindows is support on
> > > MS-Windows, Unix/Motif,
> > > Unix/GTK, and Mac (with work going on for OS/2). wxWindows
> > > is written in C++
> > > and has a Python binding. See http://www.wxwindows.org/
> for more info.
> > >
> > > Regards
> > >
> > > Tee Teoh
> > >
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-comp lian t?
2000-09-19 7:42 silly question : how long would it take to make SN Gnome-complian t? William Gacquer
@ 2000-09-19 11:17 ` Timothy M. Shead
2000-09-19 23:41 ` Netalex
0 siblings, 1 reply; 10+ messages in thread
From: Timothy M. Shead @ 2000-09-19 11:17 UTC (permalink / raw)
To: sourcenav
William Gacquer wrote:
>
>> -----Original Message-----
>> From: Ian Roxborough [ mailto:irox@redhat.com ]
>> Sent: mardi 19 septembre 2000 16:05
>> Cc: sourcenav@sources.redhat.com
>> Subject: Re: silly question : how long would it take to make SN
>> Gnome-complian t?
>>
>>
>>
>> What advantages are we going to get from rewritting
>> the GUI in wxWindows?
>
>
> Integration with gtk and/or win32?
>
I don't think it's well known (at least I didn't know - and I've been
using SN for over a year) that SN works fine under Win32 - I've got a
copy running at the office. So WxWindows isn't going to get you
anything in terms of platform compatibility that Tcl/Tk doesn't already
have. (GTK+ is another thing, of course).
Regards,
Timothy M. Shead
tshead@k-3d.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: silly question : how long would it take to make SN Gnome-comp lian t?
2000-09-19 11:17 ` silly question : how long would it take to make SN Gnome-comp lian t? Timothy M. Shead
@ 2000-09-19 23:41 ` Netalex
0 siblings, 0 replies; 10+ messages in thread
From: Netalex @ 2000-09-19 23:41 UTC (permalink / raw)
To: Timothy M. Shead, sourcenav
----- Original Message -----
From: Timothy M. Shead <tshead@k-3d.com>
To: <sourcenav@sources.redhat.com>
Sent: Tuesday, September 19, 2000 8:17 PM
Subject: Re: silly question : how long would it take to make SN Gnome-comp
lian t?
> > I don't think it's well known (at least I didn't know - and I've been
> using SN for over a year) that SN works fine under Win32 - I've got a
> copy running at the office.
But how it's possible that everyone says " oh how cool is SN on w9x\NT\2000
Box!" And i can nl view this fucked error message, even whit the new SN452
version??
Btw, the error message is again
"fatal error in wish
coldn't read file ..\cygnus\sn452\share\bitmaps\clsbr_pv+-.xpm: No Error."
Help pleeease!! Where is my mistake?
PS: excuse me the OT.
[snip]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2000-09-24 17:59 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-19 3:11 silly question : how long would it take to make SN Gnome-complian t? William Gacquer
2000-09-19 3:34 ` silly question : how long would it take to make SN Gnome-comp lian t? Bruce Stephens
2000-09-19 6:10 ` silly question : how long would it take to make SN Gnome-complian t? Ian Roxborough
2000-09-19 6:32 ` Tee Y Teoh
2000-09-19 6:44 ` Bruce Stephens
2000-09-19 11:54 ` silly question : how long would it take to make SN Gnome-compliant? Ben Elliston
2000-09-24 17:59 ` silly question : how long would it take to make SN Gnome-complian t? Mo DeJong
2000-09-24 17:46 ` silly question : how long would it take to make SN Gnome-comp lian t? Mo DeJong
2000-09-19 7:42 silly question : how long would it take to make SN Gnome-complian t? William Gacquer
2000-09-19 11:17 ` silly question : how long would it take to make SN Gnome-comp lian t? Timothy M. Shead
2000-09-19 23:41 ` Netalex
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).