You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
(3) |
May
(1) |
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
|
Dec
(10) |
| 2003 |
Jan
(13) |
Feb
(39) |
Mar
|
Apr
(17) |
May
(3) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
(2) |
Mar
(3) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(7) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <Oli...@t-...> - 2003-02-21 04:12:11
|
Robert Konigsberg wrote: > > A couple of months ago I mentioned adding code that allows you to: > 1. Regenerate classes while retaining source code modifications. > 2. Managing auto-indentation of your code without too much complication. Sounds great. > As is, I can check it into CVS and it will only impact the Java parser. Go for it. > What I envision, however, is that all the other parsers can use this code > too. It would mean that the parsers have to be rewritten to some degree, but > the short-term pain is worth the long-term gain. Okay. > >https://java.thn.htu.se/~toor/d2c/ Looks good. So, as far as I'm concerned, go ahead with your checkin. Unless someone else volunteers, I am willing to integrate your change in the IDL and Ada generators (and others) but that may take a while. I'm still busy with kdevelop adasupport. Good luck, Oliver |
|
From: Richard T. <ric...@ht...> - 2003-02-20 19:46:52
|
On Thu, 2003-02-20 at 19:33, Robert Konigsberg wrote: > Umm... rikonigsberg, I think. > > Hey, I think I will add one more thing: I envision that you could run the > risk of mega mega command-line parameters. I suggest that we replace the > parameters with a parameter file that would be read upon startup. That way > you can generate your code base upon a variable parameter list. > > What do you think? Very good idea indeed! BUT we must insure that the command-line option is a viable part of d2c. There will always be ppl who prefer the cli :) BTW, I cc:d this mail to the d2c-list as well. Please send all correspondence to the list next time so that all can be a part of the discussion :) I am by no means _the_ developer on this project! :) Best, /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Robert K. <rik...@ho...> - 2003-02-20 17:57:55
|
Hello, A couple of months ago I mentioned adding code that allows you to: 1. Regenerate classes while retaining source code modifications. 2. Managing auto-indentation of your code without too much complication. As is, I can check it into CVS and it will only impact the Java parser. However, before I do that I would like to elicit comments (particularly from Oliver). I wrote a document that Richard kindly converted to .pdf. What I envision, however, is that all the other parsers can use this code too. It would mean that the parsers have to be rewritten to some degree, but the short-term pain is worth the long-term gain. >https://java.thn.htu.se/~toor/d2c/ Please post replies directly to the list. (And Richard, I do not have an admin account.) Rob _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Richard T. <ric...@ht...> - 2003-02-16 12:29:21
|
On Sun, 2003-02-16 at 12:27, Javier O'Hara wrote: > Hello, > > I've updated Richard's status to Administrator of the project, so he now can > update its various features (patches, permissions and the home page). I > hope now people interested in the project can contribute without waiting > for me to move. > > I still remain subscribed to the list, avaliable to answer questions about > the past work on Dia2Code. > Thanks a lot Javier, this will hopefully ease our lives :) I'm planing to let Oliver get admin status as well so that he can submit code via ssh etc. /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Javier O'H. <j....@ti...> - 2003-02-16 11:28:27
|
Hello, I've updated Richard's status to Administrator of the project, so he now can update its various features (patches, permissions and the home page). I hope now people interested in the project can contribute without waiting for me to move. I still remain subscribed to the list, avaliable to answer questions about the past work on Dia2Code. Regards, Xav |
|
From: Richard T. <ric...@ht...> - 2003-02-11 07:41:18
|
On Mon, 2003-02-10 at 23:39, Javier O'Hara wrote: > Hi, Richard. > > Congrats on your hard work on Dia2Code. Just thought you needed more > priviledges within the project, so I'll promote your account to Admin, this > way you can do anything the project needs. > > You will have to wait until the weekend, though, because I'm currently working > away from home and I don't have my SourceForge password at hand. > > Best regards, > > Xav Hi Javier! Good to hear from you again! I must confess that I was a bit worried where you and the other guys were. Well now you're back at least. Me, but especially Oliver, has done some work on dia2code and there seem to be at least 2 more developers that are starting to contribute. Further more, one of my students plans to incorporate c# support in to dia2code soon. (we only have rudimentary support at the moment). I will give Oliver ssh+cvs access as a first step, next week. He certantly deserves it ;) /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Javier O'H. <j....@ti...> - 2003-02-10 22:25:43
|
From: Carsten Zerbst <carsten@at...>
>Java Beans ?
>2003-01-28 03:47
>
> Hello all,
>
> you say on the web site, that dia2code supports java beans, therefore i
> expect a getter and setter to be generated for each attribute.
> How to switch this behaviour on ?
Have you looked into the README? You need to specify "JavaBean" as the
stereotype of the class. Granted, it's not very flexible, but the feature
has been there for at least 2 years.
Looking into the sourcecode is as simple as:
$ grep -i JavaBean dia2code/*{c,h}
dia2code/parse_diagram.c:void make_javabean_methods(umlclass *myself) {
dia2code/parse_diagram.c: if ( ! strcmp(myself->stereotype,
"JavaBean")) {
dia2code/parse_diagram.c: /* Javabean: we should now add a
get() and set() methods
dia2code/parse_diagram.c: make_javabean_methods(myself);
Bye,
Xav
|
|
From: Carsten Z. <car...@at...> - 2003-02-07 09:04:14
|
Am Don, 2003-02-06 um 09.45 schrieb Richard Torkar: > Can't we do it the way Rational Rose (RR) does it? If I'm not mistaken > the endpoint names in the diagrams is what makes Rose give the reference > variables the name. So if you give the role name "whatever" then the > code will look like: > > MyClass whatever = new MyClass(); > I think this only partly a matter of style, as e.g in the IDL UML mapping association result in an attribute. But one needs to know whether the mutiplicy is <=1 or >=1 to decide whether the attribute is of the base type or collection type. But the point with the endpoint is true anyway. Bye, Carsten -- Carsten Zerbst <car...@at...> Atlantec Enterprise |
|
From: Richard T. <ric...@ht...> - 2003-02-06 08:46:44
|
On Wed, 2003-02-05 at 21:50, Oliver Kellogg wrote: > Carsten Zerbst wrote: > > > > I'm still extending dia2code, it now also could create a EXPRESS ( > > needed for STEP modelling) subset and XSD. I will publish the patches > > soon. When tweaking the idl generator, I have some problems. > > > > I will look into this when I'm done with adding Ada support > into Kdevelop (which BTW is quite a heavy job, given that > I'm doing it in my spare time.) > > Meanwhile, feel free to voice your ideas on what the associations > should look like. (IMHO, the whole question of what code to > generate from associations is still in motion - if you look at > what different UML tools generate, you'll find quite some > variation.) I never thought I say this and may God forgive me - but... Can't we do it the way Rational Rose (RR) does it? If I'm not mistaken the endpoint names in the diagrams is what makes Rose give the reference variables the name. So if you give the role name "whatever" then the code will look like: MyClass whatever = new MyClass(); Or? I haven't been sitting in RR for a couple of weeks now - so I might be wrong in this case. And furthermore I usually don't use that feature... /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: <Oli...@t-...> - 2003-02-05 20:51:07
|
Carsten Zerbst wrote: > > I'm still extending dia2code, it now also could create a EXPRESS ( > needed for STEP modelling) subset and XSD. I will publish the patches > soon. When tweaking the idl generator, I have some problems. > I will look into this when I'm done with adding Ada support into Kdevelop (which BTW is quite a heavy job, given that I'm doing it in my spare time.) Meanwhile, feel free to voice your ideas on what the associations should look like. (IMHO, the whole question of what code to generate from associations is still in motion - if you look at what different UML tools generate, you'll find quite some variation.) --Oliver |
|
From: Robert K. <rik...@ho...> - 2003-02-05 20:50:27
|
When I get my Java code changes in (to allow regeneration of code) I will include some code that, if adopted by the other code generators, will supply support for indentation. I agree, proper indentation is one of those things I feel obsessive about, and it drives me nuts to no end that K&R indentation is still considered proper. Rob >From: Antonio Terceiro <ter...@im...> >To: dia...@li... >Subject: [Dia2code-general] generated source code indentation >Date: Wed, 5 Feb 2003 17:36:01 -0200 >MIME-Version: 1.0 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc3-f11.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 5 Feb >2003 11:41:09 -0800 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 18gVPv-0000tg-00; Wed, 05 Feb 2003 >11:41:07 -0800 >Received: from vonneumann.im.ufba.br ([200.17.147.100])by >sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id >18gVOU-0006S7-00for <dia...@li...>; Wed, 05 Feb >2003 11:39:39 -0800 >Received: from terceiro by vonneumann.im.ufba.br with local (Exim 3.35 #1 >(Debian))id 18gVKz-0000Y0-00for <dia...@li...>; >Wed, 05 Feb 2003 17:36:01 -0200 >X-Message-Info: dHZMQeBBv44lPE7o4B5bAg== >Message-ID: <200...@im...> >User-Agent: Mutt/1.3.28i >Sender: dia...@li... >Errors-To: dia...@li... >X-BeenThere: dia...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: ><mailto:dia...@li...?subject=help> >List-Post: <mailto:dia...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/dia2code-general>,<mailto:dia...@li...?subject=subscribe> >List-Id: General Dia2Code discussion ><dia2code-general.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/dia2code-general>,<mailto:dia...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=dia2code-general> >X-Original-Date: Wed, 5 Feb 2003 17:36:01 -0200 >Return-Path: dia...@li... >X-OriginalArrivalTime: 05 Feb 2003 19:41:09.0273 (UTC) >FILETIME=[88016090:01C2CD4E] > >Hi, > >Have you thought about formatting the source code output by dia2code? >For C, C++ and Java, at least, it uses the KR style and i don't like it. > >I won't enter the discussion about indentation preferences, so my >suggestion is to make possible to the user to choose the indentation >used in the output. > >Thinking about it, I wrote an extension of dia2code that makes possible >for the user to inform an indentation style (in fact, options to be >passed for the indent tool) for the output. > >I preferred to don't create new files: I added code to main.c (command >line option), dia2code.h (declaration of stuff used for indentation), >dia2code.c (implementation of the indentation), and to the code >generators of C, C++ and Java (calls to the indent function). > >Are you interested in including these changes in the dia2code >distribution ? > >I attached the patches to this message: to apply the patches untar the >tarball in the directory that contais the dia2code-0.8.1 source >directory, and run the applypatches.sh script. See the script, it's very >simple. > >Regards, > >-- >Antonio Terceiro - ter...@im... >Bacharelando em Ciência da Computação - UFBA >- >http://twiki.im.ufba.br/~AntonioTerceiro > ><< dia2code-indent-patches.tar.gz >> _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus |
|
From: Antonio T. <ter...@im...> - 2003-02-05 19:40:11
|
Hi, Have you thought about formatting the source code output by dia2code? For C, C++ and Java, at least, it uses the KR style and i don't like it. I won't enter the discussion about indentation preferences, so my suggestion is to make possible to the user to choose the indentation used in the output. Thinking about it, I wrote an extension of dia2code that makes possible for the user to inform an indentation style (in fact, options to be passed for the indent tool) for the output. I preferred to don't create new files: I added code to main.c (command line option), dia2code.h (declaration of stuff used for indentation), dia2code.c (implementation of the indentation), and to the code generators of C, C++ and Java (calls to the indent function). Are you interested in including these changes in the dia2code distribution ? I attached the patches to this message: to apply the patches untar the tarball in the directory that contais the dia2code-0.8.1 source directory, and run the applypatches.sh script. See the script, it's very simple. Regards, -- Antonio Terceiro - ter...@im... Bacharelando em Ciência da Computação - UFBA - http://twiki.im.ufba.br/~AntonioTerceiro |
|
From: Richard T. <ric...@ht...> - 2003-02-05 18:38:41
|
On Wed, 2003-02-05 at 15:12, Carsten Zerbst wrote: > Hello, > > I'm still extending dia2code, it now also could create a EXPRESS ( > needed for STEP modelling) subset and XSD. I will publish the patches > soon. When tweaking the idl generator, I have some problems. > > Given the attached model, I want to extract all data from the > association, how could I do this ? I'd like to have all data available > on association as editable by the UML-Association dialog. Hmm good question. Have you looke into the xml-format that dia saves its files in? gunzip it and read it. I have no idea how/if it saves info regarding associations. (obviously it does since I saw the info in your diagram now). /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Carsten Z. <car...@at...> - 2003-02-05 14:16:10
|
Hello, I'm still extending dia2code, it now also could create a EXPRESS ( needed for STEP modelling) subset and XSD. I will publish the patches soon. When tweaking the idl generator, I have some problems. Given the attached model, I want to extract all data from the association, how could I do this ? I'd like to have all data available on association as editable by the UML-Association dialog. Thanks, Carsten -- Carsten Zerbst <car...@at...> Atlantec Enterprise |
|
From: Robert K. <ro...@br...> - 2003-01-31 00:47:15
|
Shouldn't code_generators.h have #define NO_GENERATORS 10, instead of 9? ----- Original Message ----- From: "Richard Torkar" <ric...@ht...> To: "Robert Konigsberg" <ro...@br...> Cc: <dia...@li...> Sent: Thursday, January 30, 2003 9:08 AM Subject: Re: [Dia2code-general] Java Beans ? > On Thu, 2003-01-30 at 14:42, Robert Konigsberg wrote: > > Here's what happened: > > > > $ cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login > > (Logging in to ano...@cv...) > > CVS password: <entered my email here> > > It is an anonymous cvs server (no passwd) just press return! :) > > > > > cvs login: authorization failed: server cvs.sourceforge.net rejected access > > to / > > cvsroot/dia2code for user anonymous > > > > ----- Original Message ----- > > From: "Richard Torkar" <ric...@ht...> > > To: <dia...@li...> > > Sent: Tuesday, January 28, 2003 9:48 AM > > Subject: Re: [Dia2code-general] Java Beans ? > > > > > > > On Tue, 2003-01-28 at 15:26, Robert Konigsberg wrote: > > > > Hello all, > > > > > > > > While we're at it, I do want to publish my changes. How do I do this? I > > > > don't have any clue. I don't have a recent version. > > > > > > > > > > > > > Check out the cvs source > > > http://sourceforge.net/cvs/?group_id=15307 > > > In other words you just do a: > > > cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login > > > > > > then > > > > > > cvs -z3 -d:pserver:ano...@cv...:/cvsroot/dia2code co > > > dia2code > > > > > > The above lines after "then" should be on one line! > > > > > > Now you have the source code. > > > > > > Make a copy "cp -r dia2code dia2code-mysource" > > > > > > Now you can work on the "mysource" directory. Edit files or create new > > > files with new content, it doesn't matter. > > > > > > When you're done: > > > > > > diff -rNu dia2code/ dia2code-mysource/ > my.patch > > > > > > > > > (I think it is unified format, recursivly, new file creations). Anyone > > > speak up now if I don't do it correctly!!! > > > > > > Now send the my.patch as an attachment to the list or put it out on the > > > web and send the link to the list. > > > > > > When Oliver or I have time we will push it into the cvs. Since we have > > > an archive off the list we can look into it and go back and apply > > > everything people send to the list. > > > http://sourceforge.net/mailarchive/forum.php?forum_id=2613 > > > > > > Best, > > > > > > /Richard > > > -- > > > Ph.D. Student > > > Dept. of Informatics and Mathematics > > > HTU > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: > > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > > http://www.vasoftware.com > > > _______________________________________________ > > > Dia2code-general mailing list > > > Dia...@li... > > > https://lists.sourceforge.net/lists/listinfo/dia2code-general > > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Dia2code-general mailing list > > Dia...@li... > > https://lists.sourceforge.net/lists/listinfo/dia2code-general > -- > Ph.D. Student > Dept. of Informatics and Mathematics > HTU > > |
|
From: Richard T. <ric...@ht...> - 2003-01-30 14:13:52
|
On Thu, 2003-01-30 at 14:42, Robert Konigsberg wrote: > Here's what happened: > > $ cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login > (Logging in to ano...@cv...) > CVS password: <entered my email here> It is an anonymous cvs server (no passwd) just press return! :) > cvs login: authorization failed: server cvs.sourceforge.net rejected access > to / > cvsroot/dia2code for user anonymous > > ----- Original Message ----- > From: "Richard Torkar" <ric...@ht...> > To: <dia...@li...> > Sent: Tuesday, January 28, 2003 9:48 AM > Subject: Re: [Dia2code-general] Java Beans ? > > > > On Tue, 2003-01-28 at 15:26, Robert Konigsberg wrote: > > > Hello all, > > > > > > While we're at it, I do want to publish my changes. How do I do this? I > > > don't have any clue. I don't have a recent version. > > > > > > > > > Check out the cvs source > > http://sourceforge.net/cvs/?group_id=15307 > > In other words you just do a: > > cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login > > > > then > > > > cvs -z3 -d:pserver:ano...@cv...:/cvsroot/dia2code co > > dia2code > > > > The above lines after "then" should be on one line! > > > > Now you have the source code. > > > > Make a copy "cp -r dia2code dia2code-mysource" > > > > Now you can work on the "mysource" directory. Edit files or create new > > files with new content, it doesn't matter. > > > > When you're done: > > > > diff -rNu dia2code/ dia2code-mysource/ > my.patch > > > > > > (I think it is unified format, recursivly, new file creations). Anyone > > speak up now if I don't do it correctly!!! > > > > Now send the my.patch as an attachment to the list or put it out on the > > web and send the link to the list. > > > > When Oliver or I have time we will push it into the cvs. Since we have > > an archive off the list we can look into it and go back and apply > > everything people send to the list. > > http://sourceforge.net/mailarchive/forum.php?forum_id=2613 > > > > Best, > > > > /Richard > > -- > > Ph.D. Student > > Dept. of Informatics and Mathematics > > HTU > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Dia2code-general mailing list > > Dia...@li... > > https://lists.sourceforge.net/lists/listinfo/dia2code-general > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dia2code-general mailing list > Dia...@li... > https://lists.sourceforge.net/lists/listinfo/dia2code-general -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Robert K. <rik...@ho...> - 2003-01-30 13:41:23
|
Here's what happened: $ cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login (Logging in to ano...@cv...) CVS password: <entered my email here> cvs login: authorization failed: server cvs.sourceforge.net rejected access to / cvsroot/dia2code for user anonymous ----- Original Message ----- From: "Richard Torkar" <ric...@ht...> To: <dia...@li...> Sent: Tuesday, January 28, 2003 9:48 AM Subject: Re: [Dia2code-general] Java Beans ? > On Tue, 2003-01-28 at 15:26, Robert Konigsberg wrote: > > Hello all, > > > > While we're at it, I do want to publish my changes. How do I do this? I > > don't have any clue. I don't have a recent version. > > > > > Check out the cvs source > http://sourceforge.net/cvs/?group_id=15307 > In other words you just do a: > cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login > > then > > cvs -z3 -d:pserver:ano...@cv...:/cvsroot/dia2code co > dia2code > > The above lines after "then" should be on one line! > > Now you have the source code. > > Make a copy "cp -r dia2code dia2code-mysource" > > Now you can work on the "mysource" directory. Edit files or create new > files with new content, it doesn't matter. > > When you're done: > > diff -rNu dia2code/ dia2code-mysource/ > my.patch > > > (I think it is unified format, recursivly, new file creations). Anyone > speak up now if I don't do it correctly!!! > > Now send the my.patch as an attachment to the list or put it out on the > web and send the link to the list. > > When Oliver or I have time we will push it into the cvs. Since we have > an archive off the list we can look into it and go back and apply > everything people send to the list. > http://sourceforge.net/mailarchive/forum.php?forum_id=2613 > > Best, > > /Richard > -- > Ph.D. Student > Dept. of Informatics and Mathematics > HTU > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Dia2code-general mailing list > Dia...@li... > https://lists.sourceforge.net/lists/listinfo/dia2code-general > |
|
From: <Oli...@t-...> - 2003-01-28 23:52:19
|
Carsten Zerbst wrote: > > * idl generation uses stereotyp to switch from interface to enumeration > generation, everything from attributes section result in an enum value. > This is according to UML spec on enumerations Okay, I've extended the enum handling (in dia2code-cvs) to also recognize "Enumeration" and "enumeration" as your patch suggests. > * there are no public, protected or private things in idl interfaces. > When using the same diagramm for interface and implementation, > it would be better to suppress private or protected things in idl, > as these are just for the implementation You make a valid point. Currently the user just gets a warning (see function check_umlattr() in generate_code_idl.c.) Okay, I'll change it so that private/protected stuff is not generated. Thanks, Oliver |
|
From: Richard T. <ric...@ht...> - 2003-01-28 14:53:57
|
On Tue, 2003-01-28 at 15:26, Robert Konigsberg wrote: > Hello all, > > While we're at it, I do want to publish my changes. How do I do this? I > don't have any clue. I don't have a recent version. > Check out the cvs source http://sourceforge.net/cvs/?group_id=15307 In other words you just do a: cvs -d:pserver:ano...@cv...:/cvsroot/dia2code login then cvs -z3 -d:pserver:ano...@cv...:/cvsroot/dia2code co dia2code The above lines after "then" should be on one line! Now you have the source code. Make a copy "cp -r dia2code dia2code-mysource" Now you can work on the "mysource" directory. Edit files or create new files with new content, it doesn't matter. When you're done: diff -rNu dia2code/ dia2code-mysource/ > my.patch (I think it is unified format, recursivly, new file creations). Anyone speak up now if I don't do it correctly!!! Now send the my.patch as an attachment to the list or put it out on the web and send the link to the list. When Oliver or I have time we will push it into the cvs. Since we have an archive off the list we can look into it and go back and apply everything people send to the list. http://sourceforge.net/mailarchive/forum.php?forum_id=2613 Best, /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Robert K. <rik...@ho...> - 2003-01-28 14:26:40
|
Hello all, While we're at it, I do want to publish my changes. How do I do this? I don't have any clue. I don't have a recent version. Rob _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Carsten Z. <car...@at...> - 2003-01-28 14:20:53
|
Hallo Richard, thanks for the answer. As you might have guessed, I already read the sourcecode. Neither in main.c nor in generate_code_java a flag for the javabeans case exist. Ok, I'll implement it and publish the patch. Bye, Carsten -- Carsten Zerbst <car...@at...> Atlantec Enterprise |
|
From: Richard T. <ric...@ht...> - 2003-01-28 14:04:44
|
On Tue, 2003-01-28 at 12:44, Carsten Zerbst wrote: > Hello all, > > you say on the web site, that dia2code supports java beans, therefore i > expect a getter and setter to be generated for each attribute. > How to switch this behaviour on ? > > Bye, Carsten Good question Carsten. I use mostly the C# part myself. BUT it is important to know that the original developers for this project seem to have gone underground and can not be found anymore. So me and some other guys on the list toke over this project without us asking them (since we couldn't find them). The only one having login/passwd on the cvs is me and Oliver. If you need help I recommend you read the source and documentation found on the CVS (or tar.gz). Otherwise I hope someone on this list might give you an answer :) IF you want to make patches please send them to the list and me and/or Oliver will check it into cvs. If you commit several patches you will of course also get the passwd/login for the cvs! /Richard -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Carsten Z. <car...@at...> - 2003-01-28 11:47:42
|
Hello all, you say on the web site, that dia2code supports java beans, therefore i expect a getter and setter to be generated for each attribute. How to switch this behaviour on ? Bye, Carsten -- Carsten Zerbst <car...@at...> Atlantec Enterprise |
|
From: Richard T. <ric...@ht...> - 2003-01-24 09:27:59
|
On Fri, 2003-01-24 at 09:15, Carsten Zerbst wrote: > Hello All, > > I had a look at the UML spec and the dia2code code. Attached is a diff > for the idl generator which fixes some idl related bugs and enables > enumeration generation. I haven't looked at other languages, but the > same should apply for c/c++. Thanks for the patch! I hope someone one the list (Oliver?) will have time to look at it soon :) I for one am swamped at the moment... > > * idl generation uses stereotyp to switch from interface to enumeration > generation, everything from attributes section result in an enum value. > This is according to UML spec on enumerations > > * there are no public, protected or private things in idl interfaces. > When using the same diagramm for interface and implementation, > it would be better to suppress private or protected things in idl, > as these are just for the implementation > > Bye, Carsten -- Ph.D. Student Dept. of Informatics and Mathematics HTU |
|
From: Carsten Z. <car...@at...> - 2003-01-24 08:18:48
|
Hello All, I had a look at the UML spec and the dia2code code. Attached is a diff for the idl generator which fixes some idl related bugs and enables enumeration generation. I haven't looked at other languages, but the same should apply for c/c++. * idl generation uses stereotyp to switch from interface to enumeration generation, everything from attributes section result in an enum value. This is according to UML spec on enumerations * there are no public, protected or private things in idl interfaces. When using the same diagramm for interface and implementation, it would be better to suppress private or protected things in idl, as these are just for the implementation Bye, Carsten -- Carsten Zerbst <car...@at...> Atlantec Enterprise |