Re: EML plug-in for Dia (fwd)
On Thu, 19 Apr 2001, Alexander Larsson wrote: Can someone take a look at this and commit it to cvs. I'm very short on time currently. -- Forwarded message -- Date: Wed, 18 Apr 2001 23:45:11 +0600 From: Vladimir Sekissov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: EML plug-in for Dia Dear, Alexander. I posted this message to James Henstridge three weeks ago but haven't any response yet. I wrote Event Modeling Language plug-in for Dia. Would you get it from http://disney.surnet.ru/dia and put into CVS if code is correct or/and send me comments and suggestions. Thank you, it looks good. It's in CVS now. I have a bunch of suggestions, but no showstoppers: For the Process object: Make it so that at least some of the text can be written directly into the diagram, rather than having to open the properties dialog each time. I'm not sure which would be more appropriate, as I don't know the EML. Could the first two tabs be combined into one, so there isn't so much dead space? Possibly with a labelled box around them. The Interfaces area doesn't really need the 'Move Up' and 'Move Down' buttons, as they do the same as when you click on the (scrollable) list. My first thought was that they rearranged the interfaces. The interface name entry box should understand Enter. For the three other objects: Use the standard properties code rather than putting GTK code into the objects. It's easier and more future-proof. For the Instantiation object: Make the segment with the arrows on it long enough to have the polyline go past the arrows. For everything: It would be nice if it understood at least the color selection. Many people have asked for UML with color, and it does color now, though not via the standard color selection:( None of these are showstoppers, just ideas for improvement. Thank you for the contribution! -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | Hrdgrim of Numenor "I do not agree with a word that you say, but I| Retainer of Sir Kegg will defend to the death your right to say it."| of Westfield --Evelyn Beatrice Hall paraphrasing Voltaire | Chaos Berserker of Khorne
100% NATURAL VIAGRA SUBSTITUTE 31079
SUPER BOOST YOUR SEX LIFE WITH THE 100% NATURAL VIAGRA SUBSTITUTE!!! Vitamin-V is only a fraction of the cost of Viagra and since it is an all natural herbal supplement, no prescriptions or doctors appointments are necessary. Vitamin-V is the all natural sex pill proven to improve sexual function and desire. Now you can maximize your sex drive, counter impotence, dramatically increase your staying power, magnify your orgasms, and even add some extra length and girth to your erection. All this with no side effects. Every man should give Vitamin-V a try ... it's taking the bedroom by storm! Vitamin-V comes with a 100% MONEY BACK GUARANTEE. To take advantage of our online 2-for-1 offer please visit: http://www.yeah.to/life To be removed from the mailing lists of thousands of bulk mail providers visit http://www.removeyou.com SUPER BOOST YOUR SEX LIFE WITH THE 100% NATURAL VIAGRA SUBSTITUTE!!! Vitamin-V is only a fraction of the cost of Viagra and since it is an all
100% NATURAL VIAGRA SUBSTITUTE 8297
SUPER BOOST YOUR SEX LIFE WITH THE 100% NATURAL VIAGRA SUBSTITUTE!!! Vitamin-V is only a fraction of the cost of Viagra and since it is an all natural herbal supplement, no prescriptions or doctors appointments are necessary. Vitamin-V is the all natural sex pill proven to improve sexual function and desire. Now you can maximize your sex drive, counter impotence, dramatically increase your staying power, magnify your orgasms, and even add some extra length and girth to your erection. All this with no side effects. Every man should give Vitamin-V a try ... it's taking the bedroom by storm! Vitamin-V comes with a 100% MONEY BACK GUARANTEE. To take advantage of our online 2-for-1 offer please visit: http://www.yeah.to/life To be removed from the mailing lists of thousands of bulk mail providers visit http://www.removeyou.com SUPER BOOST YOUR SEX LIFE WITH THE 100% NATURAL VIAGRA SUBSTITUTE!!! Vitamin-V is only a fraction of the cost of Viagra and since it is an all natural herbal supplement, no prescriptions or doctors appointments are necessary.
Re: starting dia on solaris
On Fri, Apr 20, 2001 at 02:09:24PM -1100, Melanie Gault wrote: hello I try to install dia 0.86 on a solaris system. after installing all libs needed (glib gtk gdk-pixbuf and libxml) where'd you put evetything? the really bad /usr/local? I compile and install dia. All works without a problem... but when I try to launch it... I got : Couldn't find objectswhen looking for gt; object-libs, exiting. ugh. sounds like it cant find your libs. can you run: $ dia and send all the output? I try to do as the FAQ says... : ldconfig, but it does not exists on my system. ldconfig doenst exist in solaris, mainly because ldconfig is a hack. properally compiled/built apps dont even need it. I read archives, and find some people with the same problem as mine, but not the solution... I try to set an env. variable LD_LIBRAIRY_PATH but it does'nt work much better... technically, if built right you wont need ldconfig (mostly a linux thing) or LD_LIBRARY_PATH. add -Ryour library path to the variable LDFLAGS in the Makefile. well, all makefiles. if the configure script is written correctly, you should be able to pass both the environment variables CFLAGS and LDFLAGS to specify where the comipler and linker should look for things: something like this (just what i had in this particular window) CFLAGS=-xCC -xO5 -xtarget=ultra2 -xbuiltin=%all -xdepend -xvector -xarch=v9a (for sun's compiler, not gcc.) LDFLAGS=-L/opt/gnome/lib -R/opt/gnome/lib note that ldflags is only used when linking object files whereas cflags is used for compilation. sometimes (like when compiling sparcv9 binaries) you have to tell ld we're using -xarch=v9, so it will link okay. but you shouldn't run in to that. (and i wouldn't recommend building 64 bit stuff until youve done a fair amount of work with solaris and getting configure/makefile stuff to work, because sometimes you have to do some funky stuff *to* get it to work.) the key here is what is called a link time library path and a run time library path. link time is something like: -L/usr/local/lib run time is: -R/usr/local/lib (linux uses something like -rpath /usr/local/lib) this compiles in to the executable (done at link time) the path to search for libraries. so when a binary runs it will then search your library path the /usr/lib (though it might be the revers, cant remember). this prevents something like what is done in ld.so.conf (the configuration file used by ldconfig in linxu) which will go out and stat all the dirs in your ld.so.conf file when the binary runs. the runtime path will only stat what you tell it to stat. its really cool when trying out new versions of your libraries, especially if you put your devel libs somewhere other than your production libs, because your production apps wont get touched by the new apps (the whole seperate directoy thing) anyways, give me some more stuff on exactly what comes out of running dia, and ill try and help. I'm a newbie in solaris and unix world, so I don't know what I can do to make dia work... please help... thx Melanie -- thanks adam
labels for lines?
is there a way to stick a text label to a line in dia, to identify the relationship that the line signifies? i want the label to follow the line when i move it. [please cc: your replies to me; i am not a list subscriber] thanks in advance, -- jm3 / john manoogian III / http://jm3.net / professional thug "what would the engineer say, after you had explained your problem, and enumerated all of the dissatisfactions in your life? he would probably tell you that life is a very hard and complicated thing; that no interface can change that; that anyone who believes otherwise is a sucker; and that if you don't like having choices made for you, you should start making your own." -- 'In the Beginning was The Command Line' [Neal Stephenson]
Re: labels for lines?
is there a way to stick a text label to a line in dia, to identify the relationship that the line signifies? i want the label to follow the line when i move it. There are several sheets that have such lines. For instance, UML/Message or FS/Flow will do that. Unfortunately, they are not very flexible in terms of line attributes. I looked at this a while back with the idea of making a "child class" of the line types for lines with text and then a "child" of _that_ class as my FS/Flow object, but it wasn't clear to me how to derive an object without copying a bunch of the code at that point. Now I see how, but I keep hearing that there's going to be a move to the GTK inheritance mechanism and GObject in the not-too-distant future, so I've held off. I guess the other reason I've held off is that it seems like there should really only be one type of line (instead of orthogonal, polygonal, bezier, arc, ...). The curve's shape should be independent of the connections. That way, a lot more code could be shared. For instance, you could add text to a line and have it work no matter the shape of the line. Is anyone else interested in working on that? If we were careful, we could even make the same code used for lines work for the boxed shapes (they would just be closed curves instead of open curves). David