Re: dia.exe and dia-win.exe

2006-02-12 Thread Hans Breuer

On 12.02.2006 06:36, Steffen Macke wrote:

Hello All,

I would like to ship two flavours of dia with the
next Windows installer:

* dia.exe which is linked with /subsystem:console, allowing to
use see commandline output and error messages

* dia-win.exe which should be used by default, linked with /subsystem:windows
  This is available from the Start Menu, Desktop and Explorer double-click


Looks so reasonable that I just have changed the win32 build to do it.
dia.exe and diaw.exe both link dia-app.dll which contains almost all of
the previous executable.


What do you think about this? Remember the many complaints of people
about the "DOS" Window that confused them.


IMO the sum of complaints is a constant - if not rising like the entropy
of the universe ...

Hans: Is it ok with you to change app/makefile.msc to build both
dia.exe and dia-win.exe?


See above. Just creating two parts seemed to be too much of a waste in
build time as well as in disk space. The three part solution is
already in CVS.

Hans

 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to
get along without it.-- Dilbert
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



0.95-pre1 uploaded

2006-02-12 Thread Lars Clausen
I've just uploaded the first prerelease of version 0.95 to
http://download.gnome.org/sources/dia/0.95/.  Please go ahead and try
it, and hopefully Steffen can put a Win32 version out soon.  We're
particularly interested in people who can reproduce bugs in 0.94 to see
if they can reproduce them in 0.95 too.  Note that GTK 2.6 is required
to compile.

At the same time we're having string freeze, so no changing strings
unless absolutely necessary for fixing a bug.

Unless there are serious bugs open still, 0.95 will go out next weekend.

-Lars

-- 
Lars Clausen ([EMAIL PROTECTED], [EMAIL PROTECTED], http://lars.raeder.dk)
"I do not agree with a word that you say, but I will defend to the
 death your right to say it."
--Evelyn Beatrice Hall paraphrasing Voltaire


___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Modifying UML Class Shape

2006-02-12 Thread Lars Clausen
On Fri, 2006-01-27 at 16:16 +, Leitch, David wrote:
> Hi,
> 
> I would like to have a shape which has associated attributes and also a fixed 
> number of connection points.
> Can this be done by creating a new shape or perhaps modifing the UML Class 
> Shape to do three things.
> 
> 1) Change the number of available connection points.
> 2) Label these connection points with text.
> 3) Be able to determine which points are connected in the diagram.

Depends on what you want the attributes to "do".  If they are to work
like the attributes in the UML class, you cannot make it with a shape,
but have to do C coding.  You do *not* want to modify the UML Class
shape - it's a horrible hack in many ways.  Adding and removing
connection points is not *too* hard, several nicely-behaving objects do
it.  The text part depends a lot on where it should go, how complex the
text is, and how it should be editable.  We do not yet have a really
good way to handle lists of attributes like in the UML class.

-Lars

-- 
Lars Clausen ([EMAIL PROTECTED], [EMAIL PROTECTED], http://lars.raeder.dk)
"I do not agree with a word that you say, but I will defend to the
 death your right to say it."
--Evelyn Beatrice Hall paraphrasing Voltaire


___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: [UML] Synchronization in the Activity diagram.

2006-02-12 Thread Lars Clausen
On Thu, 2006-01-26 at 14:49 -0500, Leonid Lastovkin wrote:
> Hi,
> 
> First I'd like to thank the community of the developers for this neat tool.

Glad you like it.

> I was playing with Dia's UML objects; I wanted to create an activity diagram.
> However, I could not find the vertical thick bar that is used to
> represent the synchronization of the control flow. Any ideas?

It's not the one called Fork/Union, I suppose.  If it's just a bar, it
should be easy to make, just nobody's happened to do so yet.

-Lars

-- 
Lars Clausen ([EMAIL PROTECTED], [EMAIL PROTECTED], http://lars.raeder.dk)
"I do not agree with a word that you say, but I will defend to the
 death your right to say it."
--Evelyn Beatrice Hall paraphrasing Voltaire


___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: 0.95-pre1 uploaded

2006-02-12 Thread Hans Breuer

On 12.02.2006 19:01, Lars Clausen wrote:

I've just uploaded the first prerelease of version 0.95 to
http://download.gnome.org/sources/dia/0.95/.  

Thanks for doing this. I planned to do it this weekend as well
but was dragged away with other interesting stuff.


Please go ahead and try
it, and hopefully Steffen can put a Win32 version out soon.  We're
particularly interested in people who can reproduce bugs in 0.94 to see
if they can reproduce them in 0.95 too.  Note that GTK 2.6 is required
to compile.

At the same time we're having string freeze, so no changing strings
unless absolutely necessary for fixing a bug.

Unless there are serious bugs open still, 0.95 will go out next weekend.


Although I'm pretty confident in the stability of our current code base
I'd like less of a hurry here. Could we please try to follow our own
document ( http://cvs.gnome.org/viewcvs/dia/RELEASE-PROCESS?view=markup )

A settle time of at least about two weeks looks much more reasonable to
me. Otherwise we could just do a 0.95 *now* followed by a series of
brown bag releases ;)

Also it appears as if there are no traces of 0.95-pre1 in the ChangeLog
nor in the NEWS file. Or am I missing something?

Thanks,
Hans

 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to
get along without it.-- Dilbert
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Dia ChangeLog report for 2006-02-13 04:00:00 UTC (Mon 13 Feb)

2006-02-12 Thread Dia ChangeLog Daemon
Snapshots available at http://www.raeder.dk/~larsrc/Dia/snapshots

*** Recent ChangeLog entries:

--- ChangeLog.previous  2006-02-12 05:00:09.0 +0100
+++ dia-cvs-snapshot/ChangeLog  2006-02-13 05:00:05.192788464 +0100
@@ -1,3 +1,14 @@
+2006-02-12  Hans Breuer  <[EMAIL PROTECTED]>
+
+   * app/makefile.msc : build three components dia.exe (console
+   application), diaw.exe (windows application) and dia-app.dll
+   containing almost all of Dia's application shared between
+   the two executables
+   * app/main.c app/winmain.c app/app_procs.c app/dia.def : some
+   refactoring to accomplish the new dependency layout
+   * objects/makefile.msc plug-ins/python/makefile.msc : need to
+   link dia-app.lib now - if at all depending on app/*
+
 2006-02-11  Hans Breuer  <[EMAIL PROTECTED]>

* makefile.msc : nmake -f makefile.msc just compiles now
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: 0.95-pre1 uploaded

2006-02-12 Thread Lars Clausen
On Sun, 2006-02-12 at 19:38 +0100, Hans Breuer wrote:
> On 12.02.2006 19:01, Lars Clausen wrote:
> > I've just uploaded the first prerelease of version 0.95 to
> > http://download.gnome.org/sources/dia/0.95/.  
> Thanks for doing this. I planned to do it this weekend as well
> but was dragged away with other interesting stuff.

Thought that might be the case.

> > Please go ahead and try
> > it, and hopefully Steffen can put a Win32 version out soon.  We're
> > particularly interested in people who can reproduce bugs in 0.94 to see
> > if they can reproduce them in 0.95 too.  Note that GTK 2.6 is required
> > to compile.
> > 
> > At the same time we're having string freeze, so no changing strings
> > unless absolutely necessary for fixing a bug.
> > 
> > Unless there are serious bugs open still, 0.95 will go out next weekend.
> > 
> Although I'm pretty confident in the stability of our current code base
> I'd like less of a hurry here. Could we please try to follow our own
> document ( http://cvs.gnome.org/viewcvs/dia/RELEASE-PROCESS?view=markup )

I do.  This is the period from D+3 to D+10.  D was when I called feature
freeze.

> A settle time of at least about two weeks looks much more reasonable to
> me. Otherwise we could just do a 0.95 *now* followed by a series of
> brown bag releases ;)

Well, I have yet to see a pre1 make it to the final version.  Though we
may want to say a week from the Windows version comes out, as a) I think
we have more Windows that Unix users, and b) there's less testing before
pre* of the Windows things, so there's typically more Windows bugs
during prerelease.

> Also it appears as if there are no traces of 0.95-pre1 in the ChangeLog
> nor in the NEWS file. Or am I missing something?

That's my fault, I hadn't committed yet.  Done now.  Steffen, you should
use the just-committed version to get the correct version number.

-Lars

-- 
Lars Clausen ([EMAIL PROTECTED], [EMAIL PROTECTED], http://lars.raeder.dk)
"I do not agree with a word that you say, but I will defend to the
 death your right to say it."
--Evelyn Beatrice Hall paraphrasing Voltaire


___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Exporting Diagram to CXX Code - How to Modify Resulting Output

2006-02-12 Thread Jason Alan Smith
Hello:

I was poking around Dia's source folder and I didn't see where I could
modify the resulting CXX file when I export a diagram to c++ code.

I'd like to automatically export some standard comments with each member
and attribute and that sort of thing.

I poked around the web site a bit and didn't see any docs.

If anyone can point me to a doc or place in the source to look at doing
this I'd be most grateful.

Thank you,

Jason

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Exporting Diagram to CXX Code - How to Modify Resulting Output

2006-02-12 Thread Jason Alan Smith
I did some more digging and found codegen.py in /usr/share...

So am I right in believing that Dia will call this script to generate
the code?  I bet it's this script I need to mod to my liking.

I know this script is available for download from your site, so I bet it
is.

Awesome.  A little find here, a little grep there and I got my answer.

Thanks!

-Jason

On Sun, 2006-02-12 at 17:16 -0600, Jason Alan Smith wrote:
> Hello:
> 
> I was poking around Dia's source folder and I didn't see where I could
> modify the resulting CXX file when I export a diagram to c++ code.
> 
> I'd like to automatically export some standard comments with each member
> and attribute and that sort of thing.
> 
> I poked around the web site a bit and didn't see any docs.
> 
> If anyone can point me to a doc or place in the source to look at doing
> this I'd be most grateful.
> 
> Thank you,
> 
> Jason
> 
> ___
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
> 

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



CAIRO build

2006-02-12 Thread Steffen Macke
Hello All,

I'll try to get the installer ready as soon as possible.
I have a CAIRO plug-in now, but it doesn't contain
any new export filters.

Maybe somebody (Hans ?) can tell me which #defines
make sense to use in order to get a useful CAIRO plug-in.

Regards,

Steffen
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia