Re: DXF import

2002-09-12 Thread Cyrille Chepelov

Le Tue, Sep 10, 2002, à 09:32:54AM -0600, Angus Ainslie a écrit:

> The diff is against the latest CVS. I have no idea why it won't apply 
> cleanly.

OK, it did. I was confused by the 0.90 here:

> >>--- dia/plug-ins/dxf/Makefile.amMon Sep  9 06:36:46 2002
> >>+++ dia-0.90/plug-ins/dxf/Makefile.am   Wed Dec 31 17:00:00 1969

the CVS world had moved a little since you did the diff, so I had to adapt a
little, but globally the thing is in.

Thanks a lot for your contribution!

-- Cyrille

--
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



building dia

2002-09-12 Thread Mike Charnoky

I've been having problems with flowchart box resizing and noticed that
this was fixed a few days ago.  I'd like to rebuild dia with this fix.
Should I download the .90 sources and apply the patch?  How stable is the
latest snapshot?  Am I correct to assume that dia is undergoing some
drastic changes with the move to Gnome 2.0?

Also, how can I build this for Windows?  I have some documents that I need
to share with some office mates, some of whom are Windows-only folks.
After being out of the dia loop for a while, I was pleasantly surprised to
find a Win build existed!  But, was rather disappointed to find that it
locked up whenever it read in the documents I needed to share :^(

I'd like to support dia, but I also need to get some work done!  Thanks
for your help... I don't want to install Visio under Win4Lin.  Ack!!


noky

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: building dia

2002-09-12 Thread Alan Horkan


On Thu, 12 Sep 2002, Mike Charnoky wrote:

> Date: Thu, 12 Sep 2002 10:53:38 -0700 (PDT)
> From: Mike Charnoky <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: building dia
>
> I've been having problems with flowchart box resizing and noticed that
> this was fixed a few days ago.  I'd like to rebuild dia with this fix.
> Should I download the .90 sources and apply the patch?  How stable is the
> latest snapshot?  Am I correct to assume that dia is undergoing some
> drastic changes with the move to Gnome 2.0?
>
> Also, how can I build this for Windows?  I have some documents that I need
> to share with some office mates, some of whom are Windows-only folks.
> After being out of the dia loop for a while, I was pleasantly surprised to
> find a Win build existed!  But, was rather disappointed to find that it
> locked up whenever it read in the documents I needed to share :^(
>
> I'd like to support dia, but I also need to get some work done!  Thanks
> for your help... I don't want to install Visio under Win4Lin.  Ack!!
>
>
> noky
>
> ___
> Dia-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/dia-list
>

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



lines

2002-09-12 Thread Alan G Isaac

Hi.  I am completely new to Dia, but
it seems great so far.  (I am using
the Windows binary.)

I understand this is a user-to-user list.
Please let me know if basic questions are
inappropriate for this list.

In other drawing programs I have used, one
can force a line to vertical or horizontal
by holding down the shift key while drawing.
This is very useful since otherwise completely
horizontal or vertical lines are hard to draw.

Similarly, in other programs, holding down the
shift key forces ellipses to draw perfect circles, which
is useful for the same reason.

How is this done in Dia?

Thanks,
Alan Isaac


___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: lines

2002-09-12 Thread Alan Horkan


Make sure snap to grip is turned on

View, Snap to Grid
or so that it is the default for every diagram under
File, Preferences ...
Grid Lines
Snap to: Yes

As for drawing perfect circles, sorry Dia does not do that yet but i added
a shapes in CVS that do it, you can grab them easily enough and add them
to Dia 0.90 if you like.
Holding down Ctrl locks the shape so that it only resizes
Horizontally or Vertically, but you probably already noticed that.

i filed an enhancement request about this kind of aspect ratio stuff in
bugzilla ( http://bugzilla.gnome.org ) but in the meantime i recommend you
try out the basic shapes i added.  the sheet is called Assorted.  (or if
you just want a perfect circle it is not hard to make your own).

If you have any requests for shapes to be drawn please add them to
bugzilla, maybe i will have time to draw them at some stage ...

Sincerely
Alan Horkan
Dublin, Ireland

http://gnome.org



On Thu, 12 Sep 2002, Alan G Isaac wrote:

> Date: Thu, 12 Sep 2002 15:52:40 -0400 (EDT)
> From: Alan G Isaac <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: dia-list <[EMAIL PROTECTED]>
> Subject: lines
>
> Hi.  I am completely new to Dia, but
> it seems great so far.  (I am using
> the Windows binary.)
>
> I understand this is a user-to-user list.
> Please let me know if basic questions are
> inappropriate for this list.

I dont think anyone here minds user questions so long as users have at
least tried to read the Documentation and find an answer on their own
first.

> In other drawing programs I have used, one
> can force a line to vertical or horizontal
> by holding down the shift key while drawing.
> This is very useful since otherwise completely
> horizontal or vertical lines are hard to draw.
>
> Similarly, in other programs, holding down the
> shift key forces ellipses to draw perfect circles, which
> is useful for the same reason.
>
> How is this done in Dia?


> Thanks,
> Alan Isaac

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: lines

2002-09-12 Thread Lars Clausen

On Thu, 12 Sep 2002, Alan G. Isaac wrote:
> Hi.  I am completely new to Dia, but
> it seems great so far.  (I am using
> the Windows binary.)

Thanks!

[...]
> 
> I understand this is a user-to-user list.
> Please let me know if basic questions are
> inappropriate for this list.

They're fine.

> In other drawing programs I have used, one
> can force a line to vertical or horizontal
> by holding down the shift key while drawing.
> This is very useful since otherwise completely
> horizontal or vertical lines are hard to draw.

This can be done with the Control key in Dia.  It restricts all movement to
horizontal/vertical.

> Similarly, in other programs, holding down the
> shift key forces ellipses to draw perfect circles, which
> is useful for the same reason.
> 
> How is this done in Dia?

This isn't really done yet.  It could possibly be done similarly to
Control... actually, you're giving me an idea.  Let me get back to you.

Come to think of it, it might make sense to have Control restrict aspect
ratio when resizing an Element.  And maybe we should change to Shift to
conform to other drawing programs.

-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[2]: lines

2002-09-12 Thread Alan G Isaac

On Thu, 12 Sep 2002 21:07:23 +0100 (IST) Alan Horkan <[EMAIL PROTECTED]> wrote:
> Make sure snap to grip is turned on

I should have thought of this,
but I almost always work with 
"snap to grid" off.  Please
consider allowing "shift" with 
lines or ellipses to constrain
the basic shapes, as this is a
very useful feature.

> As for drawing perfect circles, sorry Dia does not do that yet but i added a
> shapes in CVS that do it, you can grab them easily enough and add them to Dia
> 0.90 if you like.  Holding down Ctrl locks the shape so that it only resizes
> Horizontally or Vertically, but you probably already noticed that.  the sheet
> is called Assorted.

OK, I'll give this a try.

> (or if
> you just want a perfect circle it is not hard to make your own).

This is indeed one of the GREAT things about Dia!

> If you have any requests for shapes to be drawn please add them to
> bugzilla, maybe i will have time to draw them at some stage ...

OK!

One more thing about the ellipses:
it would be nice to have a
core ellipse object that could be
reshaped around a fixed center point.

Thanks!
Alan Isaac

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: lines

2002-09-12 Thread Lars Clausen

On 12 Sep 2002, Lars Clausen wrote:
> On Thu, 12 Sep 2002, Alan G. Isaac wrote:
>>
>> Similarly, in other programs, holding down the
>> shift key forces ellipses to draw perfect circles, which
>> is useful for the same reason.
>> 
>> How is this done in Dia?
> 
> This isn't really done yet.  It could possibly be done similarly to
> Control... actually, you're giving me an idea.  Let me get back to you.

Almost worked.  I just need to figure out the right handle, and how to tell
if the object is an Element.  The first part is the trickiest.  And there
are more pressing things right now (such as getting text in PNG output back
in shape).

-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: lines

2002-09-12 Thread Alan Horkan


On 12 Sep 2002, Lars Clausen wrote:

> Date: 12 Sep 2002 15:32:45 -0500
> From: Lars Clausen <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: lines
>
> On 12 Sep 2002, Lars Clausen wrote:
> > On Thu, 12 Sep 2002, Alan G. Isaac wrote:
> >>
> >> Similarly, in other programs, holding down the
> >> shift key forces ellipses to draw perfect circles, which
> >> is useful for the same reason.
> >>
> >> How is this done in Dia?
> >
> > This isn't really done yet.  It could possibly be done similarly to
> > Control... actually, you're giving me an idea.  Let me get back to you.
>
> Almost worked.  I just need to figure out the right handle, and how to tell
> if the object is an Element.  The first part is the trickiest.  And there
> are more pressing things right now (such as getting text in PNG output back
> in shape).

If and when you do get around to adding this to make sure it is useful for
usability i would suggest having some sort way for user to discover this
functionality (ie a menu item) without having to read documentation.

The related bug report i mentioned
http://bugzilla.gnome.org/show_bug.cgi?id=87966
"Toggle Fixed/Free aspectratio from Object menu"

I managed to do what i get annoyed at other people for doing, bug
reporters should to say what the problem the are trying to solve is and
the general functionality you want and to avoid dictating how it should be
solved and i did not even manage to offer a comparison of how various
other programs achieve this.  I must have been in a hurry or something ...

Sincerely
Alan Horkan

> Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor

> Dia-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/dia-list

http://gnome.org
http://online.ie
http://mozilla.org

Digital Restrictions Management (DRM)
http://www.epic.org/privacy/drm/





___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: lines

2002-09-12 Thread Lars Clausen

On Thu, 12 Sep 2002, Alan Horkan wrote:
> 
> On 12 Sep 2002, Lars Clausen wrote:
> 
>> Date: 12 Sep 2002 15:32:45 -0500
>> From: Lars Clausen <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: Re: lines
>>
>> On 12 Sep 2002, Lars Clausen wrote:
>> > On Thu, 12 Sep 2002, Alan G. Isaac wrote:
>> >>
>> >> Similarly, in other programs, holding down the
>> >> shift key forces ellipses to draw perfect circles, which
>> >> is useful for the same reason.
>> >>
>> >> How is this done in Dia?
>> >
>> > This isn't really done yet.  It could possibly be done similarly to
>> > Control... actually, you're giving me an idea.  Let me get back to
>> > you.
>>
>> Almost worked.  I just need to figure out the right handle, and how to
>> tell if the object is an Element.  The first part is the trickiest.  And
>> there are more pressing things right now (such as getting text in PNG
>> output back in shape).
> 
> If and when you do get around to adding this to make sure it is useful
> for usability i would suggest having some sort way for user to discover
> this functionality (ie a menu item) without having to read documentation.

At the moment, I'm still puzzled about how to get from the mouse position
to the aspect ratio position.  It's easy when you are moving the lower
right handle, but much trickier with the other handles.  It seems to me
that it's reasonable to have Ctrl+(move element handle) be fixed aspect
resize (though shift might be a better choice).  I can see few cases where
you really need to have horizontal/vertical movement for resizing
elements.  The same problems would apply whether we use a key modifier or a
menu entry.

-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: lines

2002-09-12 Thread Tim Ellis

>  It
> seems to me that it's reasonable to have Ctrl+(move element handle) be
> fixed aspect resize (though shift might be a better choice).  I can see
> few cases where you really need to have horizontal/vertical movement for
> resizing elements.  The same problems would apply whether we use a key
> modifier or a menu entry.

Perhaps a useless bit of info, but relevent to certain people: many window
managers capture one of the modifier keys to allow moving or resizing the
window itself. I think it's almost always the ALT modifier on x86 boxen.

It rather annoyed me that Gimp overloaded the ALT key for some tools.

-- 
Tim Ellis
Senior Database Architect
Gamet, Inc.
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: lines

2002-09-12 Thread Lars Clausen

On Thu, 12 Sep 2002, Tim Ellis wrote:
>>  It
>> seems to me that it's reasonable to have Ctrl+(move element handle) be
>> fixed aspect resize (though shift might be a better choice).  I can see
>> few cases where you really need to have horizontal/vertical movement for
>> resizing elements.  The same problems would apply whether we use a key
>> modifier or a menu entry.
> 
> Perhaps a useless bit of info, but relevent to certain people: many
> window managers capture one of the modifier keys to allow moving or
> resizing the window itself. I think it's almost always the ALT modifier
> on x86 boxen.
> 
> It rather annoyed me that Gimp overloaded the ALT key for some tools.

Yes, there's definitely a problem.  I think it's the WM's fault, mainly.
Emacs has used Alt & Control for ages.

If you happen to have a keyboard with Windows keys, they usually map to
Hyper.  The only sensible use for them is to have them be the WM modifier
key.

I would like to keep off Alt, though.  Hopefully, we can make do with
Control (or Shift, as it may be).

-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



Monthly tedia2sql Reminder: 1.2.6 released

2002-09-12 Thread Tim Ellis

A reminder that tedia2sql is still under active development. Features have
been requested, features have been added. CVS has been inactive for a few
days, so I've released version 1.2.6. To be honest, I don't remember what
happened to 1.2.5... :O

What is tedia2sql?  It is a tool that allows you to create a database ERD
in Dia (using the UML shape toolset), then to convert that ERD into a SQL
DDL script for multiple databases. Some say the documentation I've written
is good, so visit the homepage and see if tedia2sql is for you.

Homepage:
http://tedia2sql.tigris.org/
One fun screenshot:
http://tedia2sql.tigris.org/sampleImages/BigERD.png
Another fun screenshot:
http://tedia2sql.tigris.org/sampleImages/TestERD.png
One sample DDL output by the above screenshot:
http://tedia2sql.tigris.org/pgsql-testerd.sql

The screenshots are just Dia diagrams that are successfully parsed by
tedia2sql into DDL for the supported databases. The BigERD.png screenshot
is the actual ERD I work on as a DBA and, as you can see, is quite large
and complex.

Cheers,
--
Tim Ellis
Senior Database Architect
Author, tedia2sql

ps -- If anyone knows of Oracle, DB2, Ingres, and Sybase forums that would
be appropriate to cross-post this notice to, please let me know via email.
Thank you.
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: building dia

2002-09-12 Thread Cyrille Chepelov

Le Thu, Sep 12, 2002, à 10:53:38AM -0700, Mike Charnoky a écrit:
> I've been having problems with flowchart box resizing and noticed that
> this was fixed a few days ago.  I'd like to rebuild dia with this fix.
> Should I download the .90 sources and apply the patch?  How stable is the
> latest snapshot?  Am I correct to assume that dia is undergoing some
> drastic changes with the move to Gnome 2.0?

You could try to backport the patch to 0.90. IIRC, there aren't much changed
in FS objects since 0.90 besides this patch, except font handling.  

Indeed, the CVS version uses gtk2.0/GNOME 2.0
 
> Also, how can I build this for Windows?  I have some documents that I need
> to share with some office mates, some of whom are Windows-only folks.

You need MSVC, a lot of patience, and I strongly advise you to not undertake
building every dependency -- compile only dia itself if you can avoir
compiling the rest (just to save you some hassle). If you do succeed, we
would be very interested in hearing that.

> After being out of the dia loop for a while, I was pleasantly surprised to
> find a Win build existed!  But, was rather disappointed to find that it
> locked up whenever it read in the documents I needed to share :^(

Which version did you try? Does the same version on *nix lock up? Can you
post a sample file?

-- Cyrille

-- 
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list



Re: building dia

2002-09-12 Thread Lars Clausen

On Thu, 12 Sep 2002, Cyrille Chepelov wrote:
> Le Thu, Sep 12, 2002, à 10:53:38AM -0700, Mike Charnoky a écrit:
>> I've been having problems with flowchart box resizing and noticed that
>> this was fixed a few days ago.  I'd like to rebuild dia with this fix.
>> Should I download the .90 sources and apply the patch?  How stable is
>> the latest snapshot?  Am I correct to assume that dia is undergoing some
>> drastic changes with the move to Gnome 2.0?
> 
> You could try to backport the patch to 0.90. IIRC, there aren't much
> changed in FS objects since 0.90 besides this patch, except font
> handling.

Here is the patch in its entirety:

Index: box.c
===
RCS file: /cvs/gnome/dia/objects/flowchart/box.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -r1.26 -r1.27
307d306
< 
436,437c435,438
<   elem->width = width;
<   elem->height = height;
---
>   if (width > elem->width)
> elem->width = width;
>   if (height > elem->height)
> elem->height = height;

Your line numbers may vary.

> Indeed, the CVS version uses gtk2.0/GNOME 2.0

It is fairly stable, except for antialiasing, PNG export and special input
methods. 

>> Also, how can I build this for Windows?  I have some documents that I
>> need to share with some office mates, some of whom are Windows-only
>> folks.
> 
> You need MSVC, a lot of patience, and I strongly advise you to not
> undertake building every dependency -- compile only dia itself if you can
> avoir compiling the rest (just to save you some hassle). If you do
> succeed, we would be very interested in hearing that.

Indeed, if you set out to build every dependency, we would much appreciate
a log of what it takes.  Docs are *very* sparse on the subject, and in need
of improvement.

-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



XMI

2002-09-12 Thread Levi Bard

About a year ago, there was some interest in XMI on the list.  Is there still interest 
in having Dia at least export to an XMI-compliant format?  Is anyone working on it?

Thanks,
Levi

-- 
Levi Bard
[EMAIL PROTECTED]

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list