Re: Reverse Engineer using dia
One of the goals of the introspector and related projects is to extend the compiler for helping in the reverse engineering of source codes. The usage of a layout engine to format this data, and a DB repository to store it, coupled with Dia as a front end display tool will be a great combination. Of course this is all just vaporware right now, but you can use www.gcc_xml.org for extracting the high level information from your source code into XMl today. http://www.gccxml.org/HTML/Index.html mike --- [EMAIL PROTECTED] wrote: > > I have about 2 Million lines of code base written in VC++ and VB I > would > like to reverse engineer this code. Can some one help me how to do > this > using dia on the windows platform. > > Thanks in advance, > Kiran. > > ___ > Dia-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/dia-list = James Michael DuPont http://introspector.sourceforge.net/ __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: Reverse Engineer using dia
Hi, for c++ you can use projekt medoosa http://medoosa.sourceforge.net/ or autodia(make only UML diagrams). http://droogs.org/autodia/ Zdenek Vrablik Quoting [EMAIL PROTECTED]: > > I have about 2 Million lines of code base written in VC++ and VB I would > like to reverse engineer this code. Can some one help me how to do this > using dia on the windows platform. > > Thanks in advance, > Kiran. > > ___ > Dia-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/dia-list > ICQ: 94919091 email [EMAIL PROTECTED] nebo [EMAIL PROTECTED] homepage http://www.kn.vutbr.cz/~vrablik/ ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: thanks for tedia2sql
On Mon, 26 Aug 2002, Tim Ellis wrote: > I've submitted two patches to the maintainers and, as far as I'm aware, > the first was accepted but the second, which I feel is technically > superior & which replaces the first patch, has not. > > In any case, current Dia CVS has an ability to use more connection points > on the top & bottom... IF YOU RECOMPILE DIA FROM SOURCE. > > I've... begged?... the Dia maintainers to make more connection points on > UML classes the standard behaviour and submitted the second patch to make > sure this wouldn't harm legacy users of Dia. Getting more connection > points is a FAQ, so I figure it can't be only me that wants it. The > general consensus seems to be Dia will continue to have "8" connection > points UNLESS YOU RECOMPILE. Dammit, now you forced me to think:) I knew there was a reason I didn't apply the patch, but I thought it was just the ugliness of having to recompile to get more CPs. This morning I realized that the real problem is that the diagrams become incompatible. Two people with different # of CPs compiled in couldn't read each others diagrams. And the feature is useless for people who don't compile their Dia. The right way to solve this would be to up the version number for the UML class save format, and allow a variable number of CPs there. Then the UML class object menu can allow adding & removing connection points. -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor "I do not agree with a word that you say, but I | will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: thanks for tedia2sql
Le Wed, Aug 28, 2002, à 09:51:32AM -0500, Lars Clausen a écrit: > The right way to solve this would be to up the version number for the UML > class save format, and allow a variable number of CPs there. Then the > UML class object menu can allow adding & removing connection points. ... Or do what has been done for "Standard - Line" and "Sadt - Box"(IIRC): make the load-time default variable number of points the same as the current value, and tweak the variable-number-of-points-holder's save layout so that they match the old format's layout (or be even cleverer, reorder the points upon load if the number of points was not present, meaning "file saved by old dia") I don't remember we ever upped the save version number, it might be useful to practice on a smaller object than "UML - Class"... (OTOH, I sense some good which could be done while at changing the Class' storage layout & version...) -- Cyrille -- Grumpf. ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: thanks for tedia2sql
> > I've submitted two patches to the maintainers and, as far as I'm > > aware, the first was accepted but the second, which I feel is > > technically superior & which replaces the first patch, has not. > > Dammit, now you forced me to think:) I knew there was a reason I didn't > apply the patch, but I thought it was just the ugliness of having to > recompile to get more CPs. This morning I realized that the real > problem is that the diagrams become incompatible. Two people with > different # of CPs compiled in couldn't read each others diagrams. And > the feature is useless for people who don't compile their Dia. Aha! But the exact reason I feel the second patch is technically superior is because it solves just these two issues. The second patch leaves the first 8 (really 6) connection points in their original positions, ie 0,1,2 are top left, top middle, and top right, 5,6,7 are bottom same. Of course, 3&4 get obliterated anyway by the variable number of connection points on the right & left. Now, All the other points beyond 8 are added in a round-robin fashion, so that if you have 12 points rather than 8, number 8 gets put between 0&1, 9 between 1&2, etc. If you further increase the points, they continue to get round-robin added. So now 12 gets put beside 8, 13 beside 9, etc. Therefore, the second patch I gave you will do (as far as I've been able to reason) the most reasonable job of making sure associations are still connected as close to the original place as possible, given your Dia has *MORE* connection points than the originating diagram. If your Dia has *LESS* connection points, there's still the highest probability that they'll end up in the right spots, given the connection point even exists. We already have a problem with associations getting disconnected if you delete attributes. No matter what, I think it would be safe (using my second, "technically-superior" patch) to move Dia from an 8-point standard to a (say) 20-point standard, then in the future, from 20 to >20 standard is also easy. All old diagrams will work if we add 12 (ie: newConnPointsNum - 8) to all connection points >7 to catch associations that were connected at the sides. Connection points on top/bottom are just left as-is. It would definitely be hard to later on *SUBTRACT* the number of connection points in the standard Dia, but I don't see a lot of desire for that in the user community. > The right way to solve this would be to up the version number for the > UML class save format, Is there a version number stored in the file...? Oh. I'll go look again. I couldn't find one... and I really wanted it. > and allow a variable number of CPs there. Then > the UML class object menu can allow adding & removing connection points. It seems removing connection points is always problematic. I can think of no algorithm that would handle it right, and certainly, when we delete attributes currently, it becomes obvious no-one else can think of one either. It's the reason I'm resistant to a "variable number of connpoints" algorithm. Every time I shorten an attribute name, or delete the "Value" column of one, thus narrowing the Class box width, all my associations would go kaplooey in a nasty fashion. -- Tim Ellis Senior Database Architect Gamet, Inc. ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
(no subject)
Hi when saving as a .dia file I am not getting the usual xml output. could anybody tell me why? I've installed version 0.88 and 0.90 and had the same problem. I have also installed on sunOS 5.8 and redhat 7.2. The output I recieve is for example: ][sÛ¶~ϯи/éLÜx©t|2ÓÎ4é´¯Z¢m¶ä¡h§~éo? %_t£@ .þ2M[Ë+®VXàÃî~XüøÓßã´wg³d:ywFsöÓû7? èõ÷:Æ=%0?½;»ÉóÛÎÏ¿}ûFÒYO3&wdÿ¥it® ÎÏÞ¿éõ^>`åQñÚâÕ(ϳäò.{h¿;]gÓ»Éèl.µÓiÖ»ÒwgßÎÎ 9_zNųo£Û8[}ìøv:KHþp»&²å9Å¿_È,¤fJhrýþ» ñÝü#-^x~Ö¦ºUI>²ëd²®'£tþE0â°Ço¡¾KÛ ÒÝ ( 2Û Yx;Íò,Jòu%ÓiG¹«(ïQ<Û 1ÒË2[t³;ßeøª®óVð©TFq¶xü¿©·øÕ* any help appreciated cheers _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: (no subject)
On Wed, 28 Aug 2002, Richard Dobson wrote: > > Hi > when saving as a .dia file I am not getting the usual xml > output. could anybody tell me why? I've installed version 0.88 and > 0.90 and had the same problem. I have also installed on sunOS 5.8 and > redhat 7.2. The output I recieve is for example: > > ][sÛ¶~ϯи/éLÜx©t|2ÓÎ4é´¯Z¢m¶ä¡h§~éo? [...] This is answered in the FAQ: http://www.lysator.liu.se/~alla/dia/faq.html The Dia files are compressed by default using GZip. As of 0.90, the save dialog has an option to turn compression off. -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor "I do not agree with a word that you say, but I | will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: (no subject)
On 2002-08-28 at 20:27 -, Richard Dobson wrote: > when saving as a .dia file I am not getting the usual xml > output. could anybody tell me why? I've installed version > 0.88 and 0.90 and had the same problem. I have also installed > on sunOS 5.8 and redhat 7.2. The output I recieve is for > example: Richard, What you describe hasn't been 'usual' for a while. Later versions of dia compress the .dia file using gzip compression. Just run: zcat yourdiafile.dia to see what you saw before. Alternatively, you can turn off compression when you save the file. Regards, Andrew. -- Andrew Ferrier email: [EMAIL PROTECTED] web:http://www.new-destiny.co.uk/andrew/ ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: (no subject)
try turning off "compress saved files" in the Files\Preferences menu. enjoy! Mike --- Richard Dobson <[EMAIL PROTECTED]> wrote: > > Hi > when saving as a .dia file I am not getting the > usual xml output. could > anybody tell me why? I've installed version 0.88 and > 0.90 and had the same > problem. I have also installed on sunOS 5.8 and > redhat 7.2. The output I > recieve is for example: > > ][sÛ¶~ϯи/éLÜx©t|2ÓÎ4é´¯Z¢m¶ä¡h§~éo? > %_t£@ .þ2M[Ë+®VXàÃî~XüøÓßã´wg³d:ywFsöÓû7? > èõ÷:Æ=%0?½;»ÉóÛÎÏ¿}ûFÒYO3&wdÿ¥it® > > ÎÏÞ¿éõ^>`åQñÚâÕ(ϳäò.{h¿;]gÓ»Éèl.µÓiÖ»ÒwgßÎÎ > 9_zNųo£Û8[}ìøv:KHþp»&²å9Å¿_È,¤fJhrýþ» > > ñÝü#-^x~Ö¦ºUI>²ëd²®'£tþE0â°Ço¡¾KÛ > ÒÝ > ( > 2Û > Yx;Íò,Jòu%ÓiG¹«(ïQ<Û > 1ÒË2[t³;ßeøª®óVð©TFq¶xü¿©·øÕ* > > any help appreciated > > cheers > > > > > > _ > MSN Photos is the easiest way to share and print > your photos: > http://photos.msn.com/support/worldwide.aspx > > ___ > Dia-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/dia-list __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Example documents
I have used dia for a while, and am wondering if you would like any dia documents for the example section of the website? Robert ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: Example documents
On Wed, 28 Aug 2002, Robert Smith wrote: > I have used dia for a while, and am wondering if you would like any dia > documents for the example section of the website? Sure, the examples kinda need ... something. Anything, in fact:) If you can, put the examples on a website rather than sending them to the list. And if you could write a little blurb about what it is for, that'd be great. -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor "I do not agree with a word that you say, but I | will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Tex formatting
How do i insert latex or tex formulas into Dia and get them displayed as they should be instead of just as tex formatting? Thanks Robert ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: Tex formatting
On Thu, 29 Aug 2002, Robert Smith wrote: > How do i insert latex or tex formulas into Dia and get them displayed as > they should be instead of just as tex formatting? At the moment, you don't. It's not trivial to make the interface between (La)TeX and Dia. -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor "I do not agree with a word that you say, but I | will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: Question about the polyline object...
Lars Clausen wrote: > On Tue, 27 Aug 2002, Michael H. Voase wrote: > > Look at the newest CVS. We can now pass a FooCreateData into create(), > which works better than doing add_point later. Lots have happened since > 0.88.1. > Uhh-huh. Looks like it has. Ok, that will do. However, I am having a nasty time trying to get the CVS version of dia going. In particular, what is glib-gettextize and why is it used instead of gettextize? Also, what is the go with AM_GLIB_GNU_GETTEXT? I have got gettext-0.10.40, but it does not contain a glib-gettextize. My build machine contains the following: Stock RH 7.1 autoconf-2.53 libxml-1.8.17 automake-1.4 intltool-0.22 libtool-1.3.5 glib-1.2 gtk-1.2 > As Cyrille said, I've been doing work in CVS on ZZ lines. It needs to be > extended to cover all variations thereof (UML in particular) and the > objects as well. > > -Lars > > Ok, but I do note the feature added with the patch I sent doesnt seem to have an equivalent in the CVS tree. So I will roll the patch forward to the current CVS version and resend it. Thats is, after I get dia compiling again on my system 8*). Cheers Mik. ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list
Re: Question about the polyline object...
Le Thu, Aug 29, 2002, à 01:59:44PM +1000, Michael H. Voase a écrit: > However, I am having a nasty time trying to get the CVS version of > dia going. In particular, what is glib-gettextize and why is it used > instead of gettextize? Also, what is the go with AM_GLIB_GNU_GETTEXT? I > have got gettext-0.10.40, but it does not contain a glib-gettextize. > > My build machine contains the following: > > Stock RH 7.1 > autoconf-2.53 > libxml-1.8.17 > automake-1.4 > intltool-0.22 > libtool-1.3.5 > glib-1.2 > gtk-1.2 The CVS version requires libxml2, and glib/gtk versions 2.0. We haven't yet gotten around to updating the INSTALL and related instructions. FWIW, here's what I have on my machine: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ NameVersion Description +++-===-===-== ii autoconf2.53-5 automatic configure script builder ii automake1.4-p6-2A tool for generating GNU Standards-compliant ii libxml2 2.4.23-2GNOME XML library ii intltool0.22-1 utility scripts and assorted auto magic for in ii libtool 1.4.2-7 Generic library support script ii libglib2.0-02.0.6-1 The GLib library of C routines ii libgtk2.0-0png3 2.0.6-1 The GTK+ graphical user interface library (plus of course the matching -dev packages) If ./autogen.sh is giving you headaches, I suggest you try first to use a snapshot tarball (which ship with a ./configure script) to try to troubleshoot the problem. -- Cyrille -- Grumpf. ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list