new objects: Trees

2007-03-25 Thread Thomas Harding
Hello,
I just created new objects: Trees

One is tree object (hacked from bus.c),
there are also 4 shapes:
* expandable node (+ in a square)
* expanded node (- in a square)
* file
* folder

there is also a correction to a little bug in the joined
diff : it adds svg namespace to the svg tag -- firefox won't
render svg exports while I didn't set this.

diff is from yesterday's svn download

Cheers,
-- 
Thomas Harding


trees.tgz
Description: GNU Unix tar archive
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



desktopprinter shape in cisco maneer

2007-03-25 Thread Thomas Harding
tgz archive in attachment

Feel free to add it to Cisco stuff (neeed editing to reflect that)

Enjoy dia!
-- 
Thomas Harding


desktopprinter.tgz
Description: GNU Unix tar archive
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



How to build doc in trunk ?

2007-03-30 Thread Thomas Harding

Hello,
I installed dia from svn, but doc is missing in install,
and was not built at compile-time

Is there a special rule in top-dir makefile I didn't found, or another
way to build doc?

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to build doc in trunk ?

2007-03-30 Thread Thomas Harding
On Sat, Mar 31, 2007 at 04:11:41AM +0200, Lars Clausen wrote:
> > I installed dia from svn, but doc is missing in install,
> > and was not built at compile-time
 
> If you have the proper XSLT parts installed, it should build and install. 
> Check that you have xsltproc and docbook-xslt (the nwalsh version) -- if
> the requirements are not met, Dia will build w/o docs rather than fail
> just for lack of docs.

Well: I have both them installed (debian sarge)

dpkg -l | grep docbook-xsl
ii  docbook-xsl1.68.1-0.1 stylesheets for processing DocBook XML
files
dpkg -l | grep xsltproc
ii  xsltproc   1.1.12-8   XSLT command line processor



-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to build doc in trunk ?

2007-03-31 Thread Thomas Harding
On Fri, Mar 30, 2007 at 06:19:15PM +0200, Thomas Harding wrote:
> On Sat, Mar 31, 2007 at 04:11:41AM +0200, Lars Clausen wrote:
> > > I installed dia from svn, but doc is missing in install,
> > > and was not built at compile-time
>  
> > If you have the proper XSLT parts installed, it should build and install. 
> > Check that you have xsltproc and docbook-xslt (the nwalsh version) -- if
> > the requirements are not met, Dia will build w/o docs rather than fail
> > just for lack of docs.
> 
> Well: I have both them installed (debian sarge)

and running xsltproc by hand works (note there is typos in
usage-layers.xml i had to correct to build doc, and it warns about
"tt" tag)

line is:
 xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl
 dia.xml

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: tabbed interface

2007-04-29 Thread Thomas Harding
On Sun, Apr 29, 2007 at 09:35:46AM -0500, Patrick Hallinan wrote:
> I appreciate the encouragement.  This is my present TODO list:
> 
> -Add popup message "Settings change will take effect after Dia is restarted"
> to the integrated UI option.
> -Add snap tool items (snap-to-grid and snap-to-object I think) to the
> toolbar.
> -Make the toolbar actually do something
> -Make the diagram tree show a diagram's tab (when it should).
> -Created Missing application menus.
> -Create menu option to make statusbar and toolbar not shown.
> -Make the name of second diagram created be numbered 2 instead of 1.
> -Make diagram close button actually close the diagram.
> -Add shortcut cntl-w for closing the current tab.
> -Maybe add short cuts alt-1,2,... for selecting tabs like in GEdit.

> I hope to get through this in a couple of weeks.  I'm also open to any
> suggestions.

Maybe don't forget the layers interface to include in. Think it will be
quite difficult, as it is application oriented and not canvas oriented.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[Bug 427552] [patch] is there subsitting any problem on?

2007-05-07 Thread Thomas Harding

Hello,
I submitted last modifications on this patch 2 weeks ago,
answering to all queries on.

Nevertheless, there is no news about it's adoption.

This patch adds French documentation, so it is absolutely not critical,
except for end-users for those English or Polish is not natural
language, but French yes :)

Is there subsisting any problem on?

Please point out if this is the case.

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [Bug 427552] [patch] is there subsitting any problem on?

2007-05-08 Thread Thomas Harding
On Mon, May 07, 2007 at 09:13:13PM +0200, Lars Clausen wrote:
> >From my side, the problem is mainly that my father died very suddenly
> week before last, so I have somewhat of a backlog on Dia.  I'm looking

I'm offering you my sympathy.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[patch] Bug 439974: English documentation enhancements

2007-05-20 Thread Thomas Harding

Hello,
I created bug Bug 439974
<http://bugzilla.gnome.org/show_bug.cgi?id=439974>

This patch adds command line, custom shapes and and a little section
about color selector box to the manual.

(Command line and custom shapes chapters are just xml formatting of
existing doc).

Also, it adds hardcopies.makefile which allows to build pdf, postscript
and html versions (requirements in README.hardcopies bug attachment).

I have no capability to add the content of this Makefile to Makefile.am,
so if somone knows automake enough to do that, I'll be glad to him to
do it :)

Notes:
- the two added figures needs to be replaced by English versions
- I need a good reviewer for section 3.4.1 I written (I'm not very
  fluent in English)

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: dia question ask

2007-05-23 Thread Thomas Harding
On Tue, May 22, 2007 at 08:31:50PM +0200, f6ira wrote:
> 
> 
> In other word how to do for produce <<.shape>> module shape ?¿

Currently it is documented in doc/custom-shapes from top of sources

See also bug 439974, where I included this doc into the manual

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: question: how to add shapes/sheet to DIA for Windows

2007-06-02 Thread Thomas Harding
On Fri, Jun 01, 2007 at 02:56:44PM -0400, Clyde Roby wrote:
>   How do I add shapes and sheets to DIA for Windows?

I updated the manual about that, by used custom-shapes text in top of
doc dir from sources, but currently it is not integrated.

So, please see

English version:
<http://tom.harding.free.fr/vrac/dia-en.pdf>

French version:
<http://tom.harding.free.fr/vrac/dia-en.pdf>

HTH,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: question: how to add shapes/sheet to DIA for Windows

2007-06-19 Thread Thomas Harding
On Mon, Jun 18, 2007 at 04:44:00PM -0400, Todd Marshall wrote:
> I'd like to use this to add shapes for UML.  I tried exporting
> '.shape' and add it to 'sheets and objects', then move to a sheet
> using dialog.  The shape lost editing and connection points.
> How do we preserve properties like connection points?

As it is typed in "custom-shapes" document, automated way you describes
do not allows connection points.

You need to edit manually connection points and 0 or 1 editable "text"
element.

Please refer to the custom-shapes document for details (in the ./doc
directory of the sources tree), or download the pdf version of the
manual with this section added, at
<http://tom.harding.free.fr/vrac/>

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-07-23 Thread Thomas Harding
On Sun, Jul 22, 2007 at 05:27:04PM -0700, Mark Dexter & Deb Cowley wrote:
> I looked at the link you supplied and found where I would like to add some
> new text (as outlined in the bugzilla bug). I would propose adding a new
> section called 'Text Entry" just after Using Objects / Deleting Objects.
> This appears to be in the file
> http://svn.gnome.org/svn/dia/trunk/doc/en/usage-objects.xml

There are several patches on documentation already in queue (notably
#439974, but there are maybe others).

I strongly recommend you apply these patches to your local svn and
continue on it (eg, to avoid conflicts on chapter numbering), then
upload on the same bug item. Do not forget to check "obsoletes patch
#xxx".

> I'm happy to do this, but I want to make sure I follow the correct
> procedures. Is there a version control system for these XML files? Do I
> follow the procedures documented for source code changes?

Simply svn co the complete source tree, edit the files, then 
svn diff -x "-u" > ../my_pretty_patch
, then upload

> Is there a
> recommended XML editor program I should use?

Vim !
Or any text editor...


> When you say there are a number
> of uncommitted changes, is that something I need to worry about?

See above about conflicts

> I'm an experienced programmer and writer but I don't have much experience
> with creating electronic documentation. So I apologize for having all of
> these questions.

OK,
you will need a few programs/data to build the doc and check for errors
(althougth basically xml files are just copyed in the right place, I
added a "hardcopies makefile" to build pdf, html and postscript
versions. If it builds without errors, then your files are OK :)

jw (package docbook-utils on a Debian system)
openjade
docbook-xml => xml dtd
docbook-xsl => xslt stylesheets
optionnally, imagemagick or graphicsmagick for postscript figures

HTH,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



bug #439974 [Cc from Comment #15]

2007-07-23 Thread Thomas Harding
I post to the list, as I don't know if Seffen got automatically replies
(no news for a couple of weeks)

This bug concerns documentation enhancements

Hi Steffen,

about dia-cmdline:

dia-cmdline is created on-the-fly from dia.dbk via the sed script
(see Makefile.am). This allows future up-to-date man page included
in the manual.

Feel free to check-up Makefile.am

about postscripts:

I added these ones because of conversion loosing quality
(especially for inside text). Conversion is done for the
other ones, so we don't need to include every postscript
version of the figures, just that onces.

Postscripts are needed for postscript output:
make -f hardcopies.makefile dia.ps
do the job fine...

about hardcopies.makefile:

This works fine, but I wish someones includes it's features
to the main Makefile template (in top of source tree).
I don't know enough automake to do this myself :)

Cheers,
Thomas

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-07-30 Thread Thomas Harding
On Mon, Jul 30, 2007 at 09:04:59AM -0700, Mark Dexter & Deb Cowley wrote:
> Hello again, Thomas. I have tried to work through the instructions in your
> e-mail below, but I still have some questions. I apologize for being such a
> newbie on this stuff, but I'm anxious to learn more about how this process
> works. The good news is that I have written some additional documentation
> for the Object Alignment area as well as for text entry. So I just need to
> figure out how to get this back into the repository without breaking
> anything.

You and me cannot write back the stuff ourselves: that is maintainer's
work. All we have to do is to post the patches in bugzilla.

> Here are my specific questions.
> 
> 1. I did the command "svn co
> http://svn.gnome.org/svn/dia/trunk/doc/en<http://svn.gnome.org/svn/dia/trunk/doc/en/usage-objects.xml>"
> and it appears to have built a local copy of the repository.

Correct, good point.

> 2. I did the command "svn update" and it says "At revision 3732."

OK

> 3. I think I know how to make the file edits I want to make, but I'm not
> clear about how to find and commit uncommitted changes (e.g., #439974 and
> any others). Is there an svn command I need to run to do this?

Simply download the patch you want to apply, then go into the top of
source directory you created with svn, and run:
patch -p0 < /path/to-the-diff

> 4. I think I know how to do the svn diff command to put my local changes
> back into the main repository. I'm running the Windows version of svn, but I
> assume that doesn't matter?

You think with reason. To obtain a new patch with yur changes, go back
again into top of source directory, then run
svn diff -x '-u' > ../diff

Note that if you have created new files/dictory, you have to run "svn
add myfile" before (that's true for the new files I added into my patch,
too).

> 5. I'm not clear about the "hardcopies makefile" you talk about. In my local
> directory, there is a file called Makefile.am. Is this the file? How do I
> run it?

No, the hardcopies.makefile comes along with the diff from bug #439974.
While you do not have applied this one, file never comes.

> 6. I have docbook loaded (under cygwin) and I can do docbook examples. I
> assume I can find "jw" and "openjade" with cygwin. Are these what I use to
> run the Makefile.am?

No, they are not needed by the vanilla Makefile (and you need to run
configure to create it from Makefile.am)

You need them only to create hard copies (postscript, html and pdf), not
for the normal compile/install of dia.

> Again, I apologize for my lack of experience with this. If it would be

That doesn't matter, anyone have the same problem one day or other!

> easier for you, I can just edit the specific xml files and e-mail them to
> you or someone. Otherwise, I'm happy to keep plugging away on this. Thanks
> again. Mark Dexter

Your will. If you choose to make it yourself, and experience problems
you don't figure how to solve, feel free to send me personal e-mails.


Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-07-31 Thread Thomas Harding
On Mon, Jul 30, 2007 at 11:15:31AM -0700, Mark Dexter & Deb Cowley wrote:
> 1. How do I download the patch to apply? I looked at bugzilla and at the svn
> web site and couldn't figure this out.

go to 
http://bugzilla.gnome.org/show_bug.cgi?id=439974

on
 Comment #13 from Thomas Harding(reporter, points: 4)
 2007-05-25 19:47 UTC [reply]

 Created an attachment (id=88819) [edit]
 svn diff -x "-u" => English doc patch

 right click on created an attachment, then select download.

> 2. How do I know which patches to download and apply? Is there a way to see
> a list of all uncommitted doc patches? I know to do patch #439974. Are there
> others I should also do?

To browse the dia's bugs:
http://bugzilla.gnome.org/browse.cgi?product=dia

You can also search for patches in the mailing list. There were
something in the past month about dia.dbk.

Note that if a patch have already been applied, patch software will warn
you about that, then will ask you what to do.

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-07-31 Thread Thomas Harding
On Tue, Jul 31, 2007 at 06:32:52AM -0700, Mark Dexter wrote:
> Is it OK for me to go ahead and do this? Should I create separate bugzilla
> tickets for each of these or can I include them in bug #455400?

I think the better is to input the less possible bugs, and merge all
changes in one (as long as changes concerns the same problem, ie. doc
corrections and improvements).

Each bug entry costs time, and it is a waste of time, especially for
maintainers, to create many bugs where they could could be merged.

> Also, I still would like answers to my questions about how to find and
> download uncommitted documentation patches (so I can start with the latest
> versions).

Please see the other message I just sent.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-07-31 Thread Thomas Harding
On Tue, Jul 31, 2007 at 10:17:57AM -0700, Mark Dexter wrote:
> Hi Thomas. I have hit a small problem. When I applied the patch ("patch -p0
> < diff-doc-en.diff"), I think it was supposed to create a file called
> dia-cmdline.xml. However, it did not create this file. So now I get an error
> when I run the xsltproc command on my system. It appears to have modified
> the other xml files correctly, but did not create the dia-cmdline.xml file.
> Any ideas as to what I need to do? Thanks. Mark

Thats my fault: dia-cmdline.xml is created on-the-fly at compile time
from dia.dbk.

To cope with this if you don't plan to compile the whole dia dist,
simply run

"sed -f dia-dbk-to-chapter.sed dia-cmdline.xml"

Maybe it will be better I include that also in hardcopies.makefile :)
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: git [was: Bug 455400]

2007-08-01 Thread Thomas Harding
On Wed, Aug 01, 2007 at 10:43:32AM +0530, Sameer Sahasrabuddhe wrote:
> Hi, I have been following this thread and from what I understand,
> there are two people working on documentation. You are trying to keep
> sync with each other's patches because they have not been merged into
> the dia SVN repository yet. All this would have been easy if dia was
> in a distributed system like git or darcs, where people can directly
> send patches to each other without waiting to commit to the main
> repository.

That's it

> git-svn actually allows you to maintain your own stuff in git, and
> still work with the main SVN repository. Would you consider using
> git-svn? I am aware the learning curve involved is pretty steep, and
> your focus is on getting documentation done, and not wade through
> software manuals. But do take a look and if you think its worth the
> trouble, you could try it out.

Currently, all my work on the patch is done, so I will take a look on
that later :)

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: docbook: link [was: Bug 455400]

2007-08-01 Thread Thomas Harding
On Tue, Jul 31, 2007 at 05:01:49PM -0700, Mark Dexter wrote:
> Hi. I'm try to link to a specific section in a different xml file in
> DocBook. The specific example is: I'm inside usage-objects-basic.xml and am
> trying to link to a specific section in usage-objects.xml.
> 
> I can link to the top of the document with the following:
> 
> For tips on editing text, see
> Entering Text.
> 
> where usage-objects.xml has 
> 
> I can't figure out how to link to a specific section in usage-obejcts.xml,
> and I can't find any examples on the web. If anyone knows, please let me
> know. Thanks. Mark

Links are done on "id" attributes, (hopefully) not matter what element
it is.

Simply give an id to the specifific element you want to link to,
eg ; then do the link as typed above.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: docbook: link [was: Bug 455400]

2007-08-01 Thread Thomas Harding
On Wed, Aug 01, 2007 at 08:13:15AM -0700, Mark Dexter wrote:
> Thanks, Thomas. That was way too easy! I've been doing a lot of work on the
> documentation. I've added sections for entering text, aligning objects,
> moving lines. I've
> also added a lot of screenshots and expanded the basic objects area. I'm
> currently reworking the selecting objects section, again with more screen
> shots.

Good job! I think the others will agree too :)

> I'm probably not going to finish this morning. Unfortunately, I'm going out
> of town for a few days, so it will be about a week before I can upload the
> diff file. I hope that's ok.

That's not a problem for me, as the patch is already waiting for a looong time
to be included ;)

Please add me in Cc while you will upload, if you want I check for
docbook xml mistakes.

And don't forget to upload the screenshots as separate attachment (svn
doesn't support binary files, it says only that they exists or are
changed).

Cheers,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-08-01 Thread Thomas Harding
On Wed, Aug 01, 2007 at 06:33:37PM +0200, Lars Clausen wrote:
> If you can make the patch as the difference between what Thomas added
> and what you've added on top of that, I can easily apply it.  I'm
> applying Thomas' stuff from #439974 now, so you may not want to update
> your SVN copy until you've done your patch.

Well! And if you cannot, I will done -- I'm in hollydays for a couple of
weeks more.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: docbook: link [was: Bug 455400]

2007-08-01 Thread Thomas Harding
On Wed, Aug 01, 2007 at 09:42:22AM -0700, Mark Dexter wrote:
> Thanks. Do I need to upload each screenshot PNG file separately or can I zip
> them into one upload file? Thanks. Mark

(I think) if it is possible, try the zip method: this will avoid the
harrassment to download several files.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Bug 455400

2007-08-10 Thread Thomas Harding
On Fri, Aug 10, 2007 at 09:19:53AM -0700, Mark Dexter wrote:
> Thomas / Lars: I'm trying to create a PDF file on my cygwin system. I think
> I have installed all of the prerequisites except that I cannot find "jw" for
> cygwin. I think jw is in docbook-utils pacakge, but I can't
> find docbook-utils for cygwin. I'll go ahead and post my DIFF and ZIP
> files later today. I would like to create a PDF file to upload as well. Any
> help appreciated. Thanks. Mark

I just filled a bug on French doc, introducing the use of another tool:
dblatex.

Note dblatex uses python or perl (I can't remain) and pdflatex.

In case you were not able to compile the pdf file, feel free to send me
an email. I will send you back the pdf.
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to add a shape to Dia, step-by-step

2007-08-21 Thread Thomas Harding
On Tue, Aug 21, 2007 at 07:03:30PM +0200, Steffen Macke wrote:
> I think such information has been added recently to the Dia Manual
> (11.2 Shapes).

Yep!

> However, this requires quite different skills than the ones in my
> tutorial (XML editing,
> not just clicking around). Of course, it would be good to combine both things.
> It's both DocBook, so it shouldn't be too difficult:

There is information about this at the chapter's end

> http://dia-installer.de/howto/create_shape/dia_create_shape.xml

May you fill a bug report about this, including me as Cc:? I will
make the inclusion as soon as Mark's changes will be merged.

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: How to add a shape to Dia, step-by-step

2007-08-21 Thread Thomas Harding
On Tue, Aug 21, 2007 at 08:41:11PM +0200, Steffen Macke wrote:
> Merging the tutorial to the Dia Manual? I can do this, if there is a
> general consent. The current Dia Manual is not so much
> "step-by-step" and not so full of screenshots.

Mark added a lot of screenshots in his changes, just take a look at
http://tom.harding.free.fr/vrac/dia.pdf

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



svg export -- tricks on font rendering by Firefox

2007-09-01 Thread Thomas Harding

Hello,
I make tests on Firefox, and found appropriates values for text
elements:
we need to:
  -- divide the font-size value by 53
  -- add "mm" to the font-size



-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: svg export -- tricks on font rendering by Firefox

2007-09-02 Thread Thomas Harding
On Sat, Sep 01, 2007 at 07:00:30PM +0200, Lars Clausen wrote:
> On Sat, 2007-09-01 at 15:43 +0200, Thomas Harding wrote:
> > Hello,
> > I make tests on Firefox, and found appropriates values for text

> I'd be a lot more enthusiastic about improving SVG if a) different

Forgotten the patch !

-- 
Thomas Harding
Index: plug-ins/svg/render_svg.c
===
--- plug-ins/svg/render_svg.c   (révision 3769)
+++ plug-ins/svg/render_svg.c   (copie de travail)
@@ -44,6 +44,7 @@
 #include "diagramdata.h"
 #include "dia_xml_libxml.h"
 #include "object.h"
+#include "textline.h"
 
 G_BEGIN_DECLS
 
@@ -52,6 +53,9 @@
 #define SVG_RENDERER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), 
SVG_TYPE_RENDERER, SvgRendererClass))
 #define SVG_IS_RENDERER(obj)(G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
SVG_TYPE_RENDERER))
 #define SVG_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), 
SVG_TYPE_RENDERER, SvgRendererClass))
+#define DTOSTR_BUF_SIZE G_ASCII_DTOSTR_BUF_SIZE
+#define dia_svg_dtostr(buf,d) \
+   g_ascii_formatd(buf,sizeof(buf),"%g",d)
 
 GType svg_renderer_get_type (void) G_GNUC_CONST;
 
@@ -80,7 +84,10 @@
 static void fill_rounded_rect (DiaRenderer *renderer, 
Point *ul_corner, Point *lr_corner,
Color *colour, real rounding);
+static void draw_text_line(DiaRenderer *self, TextLine *text_line,
+   Point *pos, Color *colour);
 
+
 static void svg_renderer_class_init (SvgRendererClass *klass);
 
 static gpointer parent_class = NULL;
@@ -132,6 +139,7 @@
   renderer_class->draw_object = draw_object;
   renderer_class->draw_rounded_rect = draw_rounded_rect;
   renderer_class->fill_rounded_rect = fill_rounded_rect;
+  renderer_class->draw_text_line = draw_text_line;
 }
 
 
@@ -278,6 +286,55 @@
 }
 
 static void
+draw_text_line(DiaRenderer *self, TextLine *text_line,
+  Point *pos, Color *colour)
+{
+  DiaSvgRenderer *renderer = DIA_SVG_RENDERER (self);
+  xmlNodePtr node;
+  char *style, *tmp;
+  real saved_width;
+  gchar d_buf[DTOSTR_BUF_SIZE];
+  DiaFont *font;
+
+  node = xmlNewChild(renderer->root, renderer->svg_name_space, (const xmlChar 
*)"text", 
+(xmlChar *) text_line_get_string(text_line));
+ 
+  saved_width = renderer->linewidth;
+  renderer->linewidth = 0.001;
+  style = (const xmlChar *) 
DIA_SVG_RENDERER_GET_CLASS(self)->get_fill_style(renderer, colour);
+  /* return value must not be freed */
+  renderer->linewidth = saved_width;
+  tmp = g_strdup_printf("%s; font-size: %spt", style,
+   
dia_svg_dtostr(d_buf,text_line_get_height(text_line)/1.84));
+  style = tmp;
+  
+  tmp = g_strdup_printf("%s; length: %s", style,
+   dia_svg_dtostr(d_buf, text_line_get_width(text_line)));
+  g_free (style);
+  style = tmp;
+
+  font = text_line_get_font(text_line);
+  tmp = g_strdup_printf("%s; font-family: %s; font-style: %s; "
+   "font-weight: %s",style,
+   dia_font_get_family(font),
+   dia_font_get_slant_string(font),
+   dia_font_get_weight_string(font));
+  g_free(style);
+  style = tmp;
+
+  /* have to do something about fonts here ... */
+
+  xmlSetProp(node, (const xmlChar *)"style", (xmlChar *) style);
+  g_free(style);
+
+  dia_svg_dtostr(d_buf, pos->x);
+  xmlSetProp(node, (const xmlChar *)"x", (xmlChar *) d_buf);
+  dia_svg_dtostr(d_buf, pos->y);
+  xmlSetProp(node, (const xmlChar *)"y", (xmlChar *) d_buf);
+}
+
+
+static void
 export_svg(DiagramData *data, const gchar *filename, 
const gchar *diafilename, void* user_data)
 {
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: svg export -- tricks on font rendering by Firefox

2007-09-02 Thread Thomas Harding
On Sun, Sep 02, 2007 at 02:28:19PM +0200, Lars Clausen wrote:
> Why are you adding a text_line renderer to the SVG plug-in when there's
> already one in lib/diasvgrenderer.c?

I was not sure about the lib/diasvgrenderer.c role.
However, there are already properties redefinitions in the SVG plug-in
(rounded rectangle).

If you are sure I'll don't break anything else by modifying
lib/diasvgrenderer.c, it is not a problem to move away
the code modification to that file.

Just let me know...

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: svg export -- tricks on font rendering by Firefox

2007-09-02 Thread Thomas Harding
On Sun, Sep 02, 2007 at 03:52:34PM +0200, Lars Clausen wrote:
> The SVG plug-in is but an extension of the DiaSvgRenderer, so it'd be
> better to improve the base class.

After further reading of SVG specification, I think the better way is
to specify an arbitrary font size in pt as style of SVG root element,
then simply add "em" to the font-size properties.

This will fix "round" problem, and allow user to change globally the
font sizes in an easy way (the factor "font size: xxxpt" in svg root
element style).

I hope it will also allow us to raise a dialog box which will allow us to
specify the global font size (note I currently have no capabilty on
that, as I'm a complete beginner in C).

It seems, for that purpose, I need to change both plug-in and
DiaSvgRenderer.

Do you agree on that?

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: svg export -- tricks on font rendering by Firefox

2007-09-02 Thread Thomas Harding
On Sun, Sep 02, 2007 at 06:03:08PM +0200, Thomas Harding wrote:
> It seems, for that purpose, I need to change both plug-in and
> DiaSvgRenderer.

Here is the new patch, based on the above sentence.

-- 
Thomas Harding
Index: lib/diasvgrenderer.c
===
--- lib/diasvgrenderer.c(révision 3769)
+++ lib/diasvgrenderer.c(copie de travail)
@@ -723,7 +723,7 @@
   style = (char*)get_fill_style(renderer, colour);
   /* return value must not be freed */
   renderer->linewidth = saved_width;
-  tmp = g_strdup_printf("%s; font-size: %s", style,
+  tmp = g_strdup_printf("%s; font-size: %sem", style,
dia_svg_dtostr(d_buf, text_line_get_height(text_line)));
   style = tmp;
   
Index: plug-ins/svg/render_svg.c
===
--- plug-ins/svg/render_svg.c   (révision 3769)
+++ plug-ins/svg/render_svg.c   (copie de travail)
@@ -141,6 +141,7 @@
   DiaSvgRenderer *renderer;
   FILE *file;
   gchar buf[512];
+  gchar buf2[512];
   time_t time_now;
   Rectangle *extent;
   const char *name;
@@ -189,6 +190,13 @@
 (int)ceil(extent->bottom - extent->top));
   xmlSetProp(renderer->root, (const xmlChar *)"viewBox", (xmlChar *) buf);
   xmlSetProp(renderer->root,(const xmlChar *)"xmlns", (const xmlChar 
*)"http://www.w3.org/2000/svg";);
+  /*
+   * global font-size definition
+   * here may be planned something to replace 0.72 by a user-defined value
+   */
+  g_ascii_formatd(buf2,sizeof(buf2),"%f",0.72);
+  g_snprintf(buf, sizeof(buf),"font-size: %spx",buf2);
+  xmlSetProp(renderer->root,(const xmlChar *)"style", (xmlChar *) buf);
   
   time_now = time(NULL);
   name = g_get_user_name();
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: svg export -- tricks on font rendering by Firefox

2007-09-02 Thread Thomas Harding
On Sun, Sep 02, 2007 at 07:34:35PM +0200, Thomas Harding wrote:
> Here is the new patch, based on the above sentence.

It seems the global font-size is not handled by Inkscape :(

So, the following patch uses a fixed size in px for every text element
in the svg output.

The changes actually affects only lib/diasvgrenderer.c, I commented out
the code in svg plugin.

I think it is the definitive version.
-- 
Thomas Harding
Index: lib/diasvgrenderer.c
===
--- lib/diasvgrenderer.c(révision 3769)
+++ lib/diasvgrenderer.c(copie de travail)
@@ -723,8 +723,8 @@
   style = (char*)get_fill_style(renderer, colour);
   /* return value must not be freed */
   renderer->linewidth = saved_width;
-  tmp = g_strdup_printf("%s; font-size: %s", style,
-   dia_svg_dtostr(d_buf, text_line_get_height(text_line)));
+  tmp = g_strdup_printf("%s; font-size: %spx", style,
+   dia_svg_dtostr(d_buf, 
text_line_get_height(text_line)*0.72));
   style = tmp;
   
   tmp = g_strdup_printf("%s; length: %s", style,
Index: plug-ins/svg/render_svg.c
===
--- plug-ins/svg/render_svg.c   (révision 3769)
+++ plug-ins/svg/render_svg.c   (copie de travail)
@@ -141,6 +141,7 @@
   DiaSvgRenderer *renderer;
   FILE *file;
   gchar buf[512];
+  gchar buf2[512];
   time_t time_now;
   Rectangle *extent;
   const char *name;
@@ -189,6 +190,13 @@
 (int)ceil(extent->bottom - extent->top));
   xmlSetProp(renderer->root, (const xmlChar *)"viewBox", (xmlChar *) buf);
   xmlSetProp(renderer->root,(const xmlChar *)"xmlns", (const xmlChar 
*)"http://www.w3.org/2000/svg";);
+  /*
+   * global font-size definition
+   * here may be planned something to replace 0.72 by a user-defined value
+  g_ascii_formatd(buf2,sizeof(buf2),"%f",0.72);
+  g_snprintf(buf, sizeof(buf),"font-size: %spx",buf2);
+  xmlSetProp(renderer->root,(const xmlChar *)"style", (xmlChar *) buf);
+   */
   
   time_now = time(NULL);
   name = g_get_user_name();
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: svg export -- tricks on font rendering by Firefox

2007-09-02 Thread Thomas Harding
On Sun, Sep 02, 2007 at 08:24:48PM +0200, Lars Clausen wrote:
> > The changes actually affects only lib/diasvgrenderer.c, I commented out
> > the code in svg plugin.
> > 
> > I think it is the definitive version.
> 
> So in the end, it's just a scaling factor and "px" in the string?

Yes, that's as simple as that :)

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[Bug 465460] anyone has take a look?

2008-06-01 Thread Thomas Harding

Hello,
I updated Bug 465460 a few days ago, but as it is an old one, I don't
know if new maintainers are mailed about.

Last patch filled addresses several problems about documentation:
  
  * scrollkeeper really works, so xml docs are now accessibles directly
via yelp.
  * hardcopies are done for all languages (there are still problems
with pl, at least on Debian, on ps and pdf outputs, as lll TeX
macro is defined twice somewhere in the tools used).
  * All documentation processes are done automatically, hardcopies
are compiled while --with-hardbooks option is given to ./configure

However, I detected a new problem:
  
  * when compiled without gnome support, Dia is not able to open
and list documentation directory. I filled a short strace 
output about that.


Again, I would emphasize that documentation is a matter of quality on
programs.


Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [Bug 465460] anyone has take a look?

2008-06-02 Thread Thomas Harding
On Mon, Jun 02, 2008 at 08:33:31PM +0200, Hans Breuer wrote:
> I get mails about every dia bug change. But that does not mean I can make 
> immediately sense of all of them ;) This particular bug report appeared to 
> me as some improvement and some regression. But I don't really feel 
> qualified to review it. So input from someone who understands more of 
> DocBook than I do would really be appreciated.

?
I just dropped the entity hack about graphic extention, while
format attribute is good enough for Yelp, and the correct way
is to setup graphic.default.extension in stylesheet to build html.
 
> > Last patch filled addresses several problems about documentation:
> >   
> >   * scrollkeeper really works, so xml docs are now accessibles directly
> > via yelp.
> Could you comment on your replacements of  to . Does it 
> have to do with producing less pages only containing the headline and a link?

The goal is to let admonitions (note, tip, warning...) and related
text on the same line, as para is block and simpara not. Note I changed
only the first para in admonitions to simpara.

> >   * hardcopies are done for all languages (there are still problems
> > with pl, at least on Debian, on ps and pdf outputs, as lll TeX
> > macro is defined twice somewhere in the tools used).
> Is this a regression?

No, as there were simply no hardbooks built for pl and eu.

> >   * All documentation processes are done automatically, hardcopies
> > are compiled while --with-hardbooks option is given to ./configure
> > 
> will check if it work out of the box for me when I have access to my Linux 
> box again.

Yep, note that if you don't have dblatex, pdf and postscripts outputs
will be discarded silently.

> > However, I detected a new problem:
> >   
> >   * when compiled without gnome support, Dia is not able to open
> > and list documentation directory. I filled a short strace 
> > output about that.
> > 
> THe exact error message given would be interesting. Looking at the code it 
> either includes the path or it dose not. The latter would be an issue with 
> the content of the directory (i.e. missing index.html. The former should 
> include more detailed information _why_ opening the directory failed.

There is no error message, even in a console.

read(3, "\1\2\233\27\0\0\0\0`\0\300\1\4\0\0\0(\0\0\0\4\0\0\0p(\34"..., 32) = 32
open("/usr/local/share/dia/help", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) 
= 6
fstat64(6, {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 7 entries */, 4096)= 168
getdents64(6, /* 0 entries */, 4096)= 0
close(6)= 0
rt_sigaction(SIGINT, {SIG_IGN}, {0xb7079120, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, 
parent_tidptr=0xbfda5d44) = 5272
waitpid(5272, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 5272
rt_sigaction(SIGINT, {0xb7079120, [], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
gettimeofday({1211926549, 660413}, NULL) = 0

7 entries means the 4 languages plus "C" symlink, . and ..


> BTW: it would be better to have this information in a different bug-report 
> *if* the files are installed in the correct place.

Will fill.

> > Again, I would emphasize that documentation is a matter of quality on
> > programs.
> > 
> Yeah, but what helps the best documentation if it does not get read ;)

Mmmph :P

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: dia-svn: "make install" behaves inappropiate

2008-06-23 Thread Thomas Harding
On Mon, Jun 23, 2008 at 02:02:57PM +0200, [EMAIL PROTECTED] wrote:
> 
> Hello,
> 
> since a few days the svn sources baehave inappropiate if I try to create
> a package for distribution. The "make install" step seems not to be
> aware of a --DESTDIR=.. switch or something fulfilling a similar task
> anymore.

./configure --prefix /home/me/dia_test
make
make install

However, revisions from #4070 to #4075 are broken -- my fault.
(Hans, I apologize for the errors, and now works on 3 copies
at a time: trunk, working and build, with systematics rdiffs
and many tests).

Will post a patch as soon as I'll finished my 
builds/installs/unininstalls tests, carefully read the patch
and written changelog...

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



wmf with libemf on debian, that's possible!

2008-06-29 Thread Thomas Harding

for those who are interested, there are pending libemf packages in
http://mentors.debian.net/debian/pool/main/l/libemf/

However, regarding 
http://groups.google.com/group/linux.debian.devel.mentors/browse_thread/thread/c8c09c7b0d55fe24/f89ac783e69dc0ff?lnk=raot

This will not compile on all architectures, and
debian/copyright is uncomplete.

libemf is the dependency required for .wmf (Windows Metafont) on Dia.

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: wmf with libemf on debian, that's possible!

2008-06-29 Thread Thomas Harding
On Sun, Jun 29, 2008 at 06:09:25PM -0400, Valek Filippov wrote:
> 
> > libemf is the dependency required for .wmf (Windows Metafont) on Dia.
> 
> I'm sorry, but...
> - .wmf is Windows MetaFile, not Windows Metafont;

Maybe, while:
$ file securite_base3.wmf
securite_base3.wmf: ms-windows metafont .wmf

> - WMF is supported by libwmf;
> - libemf doesn't support WMF.

It supports Enhanced MetaFile.

While configure says:
checking for CreateEnhMetaFileWithFILEW in -lEMF... yes
[...]
WMF plug-in with libEMF:        yes

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: wmf with libemf on debian, that's possible!

2008-06-30 Thread Thomas Harding
On Mon, Jun 30, 2008 at 11:31:26PM +0200, Hans Breuer wrote:
> The plug-in is called WMF and can write WMF and EMF on windows, also it is
> used for native win32 printing.
> On windows there is the possibility to create plain WMF from the serialized 
> drawing commands, see GetWinMetaFileBits(). This functonality is missing 
> when libEMF is used.
> 
> libwmf on the other hand is a library to *read* WMF/EMF, a facility missing
> for Dia on windows and linux.

When I include an image and choose a .wmf one, out from wvware, I have
an arbitrary resizeable graphic/text element.

However, something is currently broken with my fresh dia 0.96+svn:
(same problem with wmf and emf, I tried commandline because
wmf/emf extensions don't appears in menu. However, dia complains about
the fact she don't know what filter to use...)

[EMAIL PROTECTED]:~$ dia --nosplash -e Diagramme1.eps Diagramme1.dia

(dia:11661): Gdk-CRITICAL **: gdk_screen_list_visuals: assertion
`GDK_IS_SCREEN (screen)' failed
Erreur de segmentation
[Segmentation fault]

May I fill the two bugs?
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: About Dia shapes

2008-07-02 Thread Thomas Harding
On Wed, Jul 02, 2008 at 11:46:29AM +0200, Mathieu Bridon (bochecha) wrote:
> very nice icons for Dia. Here they are:
> http://www.jcartier.net/spip.php?article39

I taken a look at these icons, using the python script given on the
blog.

I will be the killjoy on this thread...

They look nice, but needs to be totally rewritten by hand:
  * lines and surfaces do not join exatly
  * most of the shapes are not correctly sized (you obtain
a large square for shape limits around a small icon).

Nethertheless, from artistic point of you, it's a great job. So I think
the better to do is to keep in touch with Jean, then do the needed coding
job. Like for a website, one will be the designer and the other the
coder.

I think I will do part of the coding job during my hollydays, but the
large number of shapes needs more volunteers.

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: About Dia shapes

2008-07-03 Thread Thomas Harding
On Thu, Jul 03, 2008 at 05:19:04PM +0100, Ian Redfern wrote:
> Thomas, I'm happy to volunteer to do a few - I think they look
> excellent, but, like the Cisco ones I did, they need tidying up. Do let
> me know if you start working on them.

Your CISCO shapes are excellent :)
Here is a desktop printer I made on your look'n feel.
Can't remember if I let in gradients for future...

I will begin tomorrow with the three desktop computers
(I'm lazy: only colors changes between them).

By the way, I think the better way to coordinate is to keep
list as exchange infos gateway -- preferably in the same
thread to let others filter.


Regards,
-- 
Thomas Harding

http://www.daa.com.au/~james/dia-shape-ns"; 
xmlns:svg="http://www.w3.org/2000/svg";>
Desktop - Printer
desktopprinter.png

http://www.w3.org/2000/svg";>























___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: About Dia shapes

2008-07-04 Thread Thomas Harding
On Thu, Jul 03, 2008 at 09:57:54PM +0200, Thomas Harding wrote:
> I will begin tomorrow with the three desktop computers
> (I'm lazy: only colors changes between them).

My lazyness took me along to 4 O'klock AM :)

So, here is a first try for desktop computer.

I was forced to use an SVG editor (inkscape), because I
have not the mathematics background to calculate
bezier lines by hand (a first try attempt to draw
by measurement on millimetric paper was unsuccessfull).

I deliberatly choozed to draw all corner with filled rules,
so it can be switched to non-filled background.

However, if you set zero-width lines (hair lines), it do not
fit perfectly.

So, feel free to comment, or asking for improvements.

While I'm waiting for my domain name to be created (for 1 week!),
I can only give you the IP address of my web server:

<http://88.170.168.121:80/tom/dia-shapes/>

Regards,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: About Dia shapes

2008-07-05 Thread Thomas Harding
On Sat, Jul 05, 2008 at 12:56:13PM +0200, Mathieu Bridon (bochecha) wrote:
> Jean just sent me an archive containing a reworked version for the
> icons.
> 
> This should help as now, the icons are much better cut, thus the only
> problem should be that lines and shapes do not join exactly.

I spent about height hours to reproduce the desktop computer, and was
unable to join exactly the lines :)

> I would like to help, but I have absolutely no idea how to do that, and
> I have never worked with SVG before...

You can use Inkscape or another program to do the job. You can also
write the forms by hand, but only for simple shapes (eg, composed only
from lines, squares and arcs), because hand-writing beziers lines will
give you headashes ;p.

Some tips about dia:
 * It do not supports gradients -- there was gradients in the
   hw_computer.svg you given below.
 * It do not handle "transform".

So,
 * create a new svg file with your svg editor, save it
 * edit it, change the viewport to smth more suitable for fine
   grain-tuning (eg: 0 0 400 400)
 * re-open it with the svg editor, draw...
 * do not move or transform grouped elements, or ungroup them
   once it is done (to avoid "transform" element)

Once you'll have written/edited the svg, edit it by hand. Especially,
change "px" stroke-width to no unit.

If you have graphcsmagick or imagemagick, you can use "display" command
to have a fine-grained view (especially if you setted large enough width
and height attribute of the top-level "svg" element).

Once you are satisfied, copy the svg file to a .shape file extension.

In the shape file, you will change "stroke" to "default"
or "foreground"  -- I forgotten to do that yesderday, and typed it as "black".
will correct... -- this will allow users to change it.

* You'll find SVG specifications at http://www.w3.org/TR/SVG/
* You'll find shape specifications in chapter 11 of the Dia
  documentation.

> Anyway, here is the new version of the set. Hope it will be useful.
> ftp://91.121.156.173/pub/hardware.zip

A new resource is /Always/ useful, if correctly exxploited.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: About Dia shapes

2008-07-05 Thread Thomas Harding
On Sat, Jul 05, 2008 at 05:31:06AM +0200, Thomas Harding wrote:
> So, here is a first try for desktop computer.

I think the second will be good enough.

> However, if you set zero-width lines (hair lines), it do not
> fit perfectly.

OK now, while I deleted double paths, and be wise (I hope) to
set line-width to 1pt before to adjust backgrounds...

> While I'm waiting for my domain name to be created (for 1 week!),
> I can only give you the IP address of my web server:

The new address is (I hope it has propagated, now):

<http://www.thomas-harding.name/tom/dia-shapes/>

Will create the other colors models tomorrow (it's about 2 1/2 AM,
here...)

Cheers,
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: About Dia shapes

2008-07-07 Thread Thomas Harding
On Sat, Jul 05, 2008 at 10:51:37PM -0500, Michael Hennebry wrote:
> 
> On Sun, 6 Jul 2008, Thomas Harding wrote:
> 
> > Will create the other colors models tomorrow (it's about 2 1/2 AM,
  ^
  of desktop computer, obviously. I will
  annnounce work on "shape x" to avoid work
  duplication betweeen 2 volunteers. I
  encourage any volunteer to do the same.
> > here...)
> 
> Which tomorrow?

Are you impatient? :)
I think Monday 2008-07-06.

-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[whish someone will] Add bgcolor_0..9 and fgcolor_0..9 to custom-shapes module?

2008-07-10 Thread Thomas Harding

Hello,
I'm currently working on something tedious:
 adding 5 color models to the custom-shape "desktop computer"
 from Jean Cartier.

Note this can also apply to "cisco" shape set, and other
complex color models sets.

There are currently only a few user-defined colors:
 * background
 * foreground
 * default
 * inverse
 * text
 * none

So, I wonder if it will be better to have the possibiliy in
custom-shapes module to, also:
 * pre-define up to 10 (or 20, if we differentiate bg/fg) 
   colors in the shape file
 * define these colors for fill/rule style along the shape
   file

* This will allow the user to change on his own way the shape's colors.
* This will decrease the shape count if we want to use "pretty" color
  models, as J.C[1] one.

I think it may also be done in user's pref:
 * if the prefs are not define => use the shape pre-defined colors
 * if they are => use the user's pref colors as default for shapes


[1] obiously, not Jules Cesar nor the guy on the cross :P
-- 
Thomas Harding
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: name

2008-07-16 Thread Thomas Harding
James McDonald wrote:
> James wrote:
>> On Mon, July 14, 2008 4:11 pm, Diego Jacobi wrote:
>>> 2008/7/14, James <[EMAIL PROTECTED]>:
>
>>>> Is the pronunciation "dee-a" or "die-a"?
>>> How do you pronounce dia-gram? :)
>>> 
>> I pronounce it di-a-gram (instead of dee-a-gram).
>> A co-worker pronounces it dee-a.
>> He pronounces di-a-gram.
>>  
> I vote for dee-a

Ah ben \,ca m'arrange (because in French diagram
is pronounced dee-a-gram ;)

-- 
Thomas Harding.

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[custom-shapes] ext_attribute feature, cannot understand.

2008-07-29 Thread Thomas Harding

Hello,
I tried several solutions, but nothing seems work,
except I can fill property in the properties dialogs,
and changes are saved.

Here is the last sample:

[...]


  
  
  
fill:none;
stroke:fg;
stroke-width:8;
stroke-linecap:round;
stroke-linejoin:round
  




[...]

What do I miss?

-- 
Thomas Harding.
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [custom-shapes] ext_attribute feature, cannot understand.

2008-07-29 Thread Thomas Harding
On Tue, Jul 29, 2008 at 08:51:20PM +0200, Hans Breuer wrote:
> A cool idea but it currently can not work because there is no connection 
> between svg interpretation and extended attribute handling.

So, what is the purpose of extended attributes?


-- 
Thomas Harding.
La phobie de la connaissance est spécifique à l'informatique.
Curieusement, c'est le seul métier où le néophyte total vous explique
votre boulot dans la minute suivant votre arrivée au chevet du malade.
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [custom-shapes] ext_attribute feature, cannot understand.

2008-07-31 Thread Thomas Harding
On Thu, Jul 31, 2008 at 10:01:36PM +0200, Lars Clausen wrote:
> >So, what is the purpose of extended attributes?
> 
> Being able to store user data with the object.

So, If an english-natural-language man could precise it in
the custom-shapes /doc file, I'll be glad to him.

As, currently, it seems so obvious to the developpers that
they forgotten to type the purpose, focusing only on how to
make it :>

A proposition will be:
Extended attributes allows user data storage along with the object.

Cheers,
-- 
Thomas Harding.
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: dia - shapes with two and more textboxes

2008-10-12 Thread Thomas Harding
On Sun, Oct 12, 2008 at 06:31:05PM +0200, M. Niedermair wrote:
> i want to create a shape with two or more textboxes.

> How can i solve the problem?

Only one textbox is allowed by the custom-shapes module,
so, you can improve the custom-shapes module ;)

-- 
=== The BOFH Excuse Server ===
Your excuse is: suboptimal routing experience
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Use URL for DocBook DTD?

2008-11-16 Thread Thomas Harding
On Sun, Nov 16, 2008 at 01:32:42PM +0100, Steffen Macke wrote:
> I would like to hear your opinion about changing the DocBook DTD reference
> from a relative path to the URL
> 
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
> 
> Would this break things for you?

I think not, and even it can be easily corrected in the build process.
It will be a good idea for checking (xmllint is available for many
platforms, even on W$, and can handle xml catalogs).

-- 
=== The BOFH Excuse Server ===
Your excuse is: suboptimal routing experience
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: DocBook Graphics: Use complete filename in fileref attribute?

2008-11-16 Thread Thomas Harding
On Sun, Nov 16, 2008 at 01:50:06PM +0100, Steffen Macke wrote:
> Currently the graphic fileref attributes in the DocBook files exclude
> the file type extension.
> 
> In Docbook - The Definitive Guide they are included:
> 
> http://www.docbook.org/tdg/en/html/graphic.html
> 
> Do you think we can change this?

No! The tags includes an attribute with file format,
and the stylesheets can handle that (default.graphic.files.extension
param or somethink like). adding file extension will break the ability
to choose file format as building pdf/ps.

-- 
=== The BOFH Excuse Server ===
Your excuse is: suboptimal routing experience
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: DocBook Graphics: Use complete filename in fileref attribute?

2008-11-19 Thread Thomas Harding
On Tue, Nov 18, 2008 at 09:29:46PM +0100, Steffen Macke wrote:
> > No! The tags includes an attribute with file format,
> > and the stylesheets can handle that (default.graphic.files.extension
> > param or somethink like). adding file extension will break the ability
> > to choose file format as building pdf/ps.
> 
> Shouldn't this be done using the mediaobject?
> 
> http://www.sagehill.net/docbookxsl/GraphicSelection.html

Good point, while I don't know if dblatex _and_ jw can handle that.

FYI, the command-line used to build html is that one: xsltproc \
--stringparam graphic.default.extension png ../$(htmlstyle) ../$<

with /doc/[lang]/html.xsl as htmlstyle and (finally) /doc/[lang]/dia.xml
as target.

I _voluntary_ keeped html.xsl lang defined, to allow translators to
handle locale "printing rules" settings (eg: formal.title.placement
differs slightly from one lang to other).

Last, GNOME Yelp perfectly handles the absence of graphic extention ;)

One thing I didn't done is the htmlhelp (and makefile.msc) build, which
can be done by the Norman Walsh's docbook stylesheets too, I think with
the same parameters. Mainly because I didn't find any /working/ htmlhelp
archive builder in the Free Software area (and, yes, M$ ones shipped for
free is good enough: I tried it at work), and also because I didn't get
a read of other makefile.msc to get the syntax.

On the other hand, xslt processing is too installation-dependant on
Windows to makes that ;) I written a HOWTO in French for my job I can
publish, but my English expression is so bad I do not want to translate
it myself...


Regards,
-- 
=== The BOFH Excuse Server ===
Your excuse is: suboptimal routing experience
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: DocBook Graphics: Use complete filename in fileref attribute?

2008-11-19 Thread Thomas Harding
On Wed, Nov 19, 2008 at 07:06:45PM +0100, Thomas Harding wrote:
> > Shouldn't this be done using the mediaobject?
> > 
> > http://www.sagehill.net/docbookxsl/GraphicSelection.html
> 
> Good point, while I don't know if dblatex _and_ jw can handle that.

After further investigations, it seems dblatex can handle
that, and jw too (note the last will not use the role attribute
at all, see
http://lists.oasis-open.org/archives/docbook-apps/200209/msg00319.html)

Although file extension is really not needed...

So, do as your will, (and, please, test all cases in real world) :)

-- 
=== The BOFH Excuse Server ===
Your excuse is: suboptimal routing experience
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



RE: Use & sign within shape

2010-04-12 Thread Thomas Harding
Apolgize i cannot quote you...

Obviously ampersand sign is written 
& in any xml

Ampersand and less-than are absolutely reserved internally
Note its a good idea to also not use
More-than to valid xml,
I will also discourage  quote 

So use   
< & > "
To type them. 
While you will never use simpl quotes to
Delimit attributes
-- 
Thomas Harding t...@thomas-harding.name
1 rue Raymond Vannier
45000 Orléans, France
"l'info libre est responsable"

-- msg original --
Sujet: Use & sign within shape
De: Boris Mayer-St-Onge 
Date: 2010.04.12 20:04

Hello,

I would like to create a new shape that need to have the sign & written 
on it (similar to the electrical "and gate"). Unfortunately, I'm unable 
to add it. Following is a basic example of a shape that works:



http://www.daa.com.au/~james/dia-shape-ns";
   xmlns:svg="http://www.w3.org/2000/svg";>
  Shape - Simple test
  simple.png
  



  
  
  




1
2
3
  


If I'm adding the following line, nothing appear when I add the shape to 
my dia diagram:

&

I have also try this without success:

&

Is it possible draw the & sign within a shape? I'm using Dia 0.97 on Fedora.

Thanks.

Boris Mayer-St-Onge

___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia


___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



RE: Dia UI text

2010-05-31 Thread Thomas Harding
Sorry for quting bd

-- 
Thomas Harding t...@thomas-harding.name
1 rue Raymond Vannier
45000 Orléans, France
"l'info libre est responsable"

-- msg original --
Sujet: Dia UI text
De: Fan Fu 
Date: 2010-05-31 00:31

Hi,
Is there anyone know where I can download Dia UI text ( Chinese).
I am thinking to add some feature such as rotation to Dia. I'd like to work
with both  UI  English and Chinese UI text.
Thanks in advance

___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia


___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia UI text

2010-05-31 Thread Thomas Harding
Sorry for quoting,
is where a cooked free sofftware tool
Which handle imaps a 

-- 
Thomas Harding t...@thomas-harding.name
1 rue Raymond Vannier
45000 Orléans, France
"l'info libre est responsable"

-- msg original --
Sujet: Re: Dia UI text
De: Steffen Macke 
Date: 2010-05-31 07:34

Hi Fan Fu,Is there anyone know where I can download Dia UI text ( Chinese).

> I am thinking to add some feature such as rotation to Dia. I'd like to 
> work with both  UI  English and Chinese UI text.

I'm not sure if you are talking about Dia's source code (written in C) 
or about Dia's translation files (which translate Dia's UI into many 
languages, including Chinese).

The source code is available e.g. from

ftp://ftp.gnome.org/pub/gnome/sources/dia/0.97/dia-0.97.1.tar.bz2

If you want to do serious, development, you should use the latest 
sources from the Git repository:

http://git.gnome.org/browse/dia

As for the translation files, these are part of the Dia sources:

http://git.gnome.org/browse/dia/tree/po

You can use a simple text editor to edit them or specialized tools like 
poEdit.

Regards,

Steffen
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia


___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



RE: Dia UI text

2010-05-31 Thread Thomas Harding


Sorry for qoting bad while i'm using
the bundled nokia e63 stuff.
By rthe way, what could be a cool
Free software do the mail job 

Q
QIs there anyone know where I can Qdownload Dia UI text ( Chinese).
QI am thinking to add some feature such Qas rotation to Dia. I'd like to work
Qwith both  UI  English and Chinese UI Qtext.
Thanks in advance



END ABOUT MY NOKIA;
keybiard 
Where almost alll impotant keys missing  (azerty kb) ?
Irony is a choose a hardware phone especially with a keyboard 

-- 
Thomas Harding t...@thomas-harding.name
1 rue Raymond Vannier
45000 Orléans, France
"l'info libre est responsable"

-- msg original --
Sujet: Dia UI text
De: Fan Fu 
Date: 2010-05-31 00:31

Hi,
Is there anyone know where I can download Dia UI text ( Chinese).
I am thinking to add some feature such as rotation to Dia. I'd like to work
with both  UI  English and Chinese UI text.
Thanks in advance

___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia


___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: News version of DIA

2010-07-26 Thread Thomas Harding
Le 26/07/2010 02:33, Pauker, Stephen a écrit :
> Steffen
> Dia is great!!!

+1

Is there an updated French version of doc ?
I have eventually time to spend, but wouldn't work from
something outdated, so if English doc is up to date, it is OK for me.

I need also captures identical to English ones, with fr I18n enabled.
(My dia version on debian is 0.97-1), and no time to pack/compile.


TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [UI] Sheets and Objects dialog

2010-08-02 Thread Thomas Harding
Le 01/08/2010 17:27, Arv Evans a écrit :
> There would probably be more users creating custom sheets and custom
> symbols
> if the process were more intuitive, or documentation were embedded as a
> pop-up
> within dia itself.
> 
> Question...is it a good idea to have embedded sheets and symbols in
> dia...or should
> they all be added in the user's home directory (/$HOME/.dia in Linux)? 
> Moving
> everything to the user's home directory makes it easier for each user to
> have
> his own custom sheets & symbols.  This is useful in multi-user systems,
> and possibly
> in single-user systems that are used by multiple people.  Having all
> sheets and
> symbols in the user's home directory does add an additional step to the
> installer
> but it also makes the system totally customizable for and by each user. 
> This raises
> issues about documentation and gives the possibility of a customized leg
> of dia
> just for making new, or modifying old, sheets & symbol libraries.

I agree on that, while the custom sheets are still not recorded in Dia
files output (or I missed something), as I already said.

It should be an option to keep compatibility, and would be not a so hard
job to implement (simply use svg  and viewports elements should do
the trick, or "tar/zip" archives format to store (in ".diZ" extension?)).

HTH,
tsfh.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Diashapes 0.2.2 released

2010-08-26 Thread Thomas Harding

Le 26/08/2010 10:24, Roland Stigge a écrit :

Hi,

On 08/25/2010 10:07 PM, Steffen Macke wrote:

http://dia-installer.de/diashapes/index.html


Nice tool - didn't know about that!

[...]

Or maybe I should do both (shipping the shapes in the distro and
providing a shape download option).

[...]

Any opinions?


1) Usual problem with dia shapes is that they aren't shipped together
with dia output files.

2) Dia upstream usually do not want to oversize dia program/distro
itself

3) Most important, users can create shapes/sheets themselves

So :
1) a dia-shapes-extra would be great, and a general 
/var/lib/dia/{shapes,sheets} (possibly rsynced or foreign host mounted) 
path would be greater to share shapes and sheets between users.


2) adding shapes as svg:g into dia files, then using viewports would
 be farether great (as an option because of compatibility problems).

3) an "export used shapes" option which would export a tar/zip like
file with same name but extension than dia output would be also great,
provided dia looks for the "shapes extension" file and offers shapes
and sheets importation together with dia file opening.

other) I apologise about my French doc translation discontinuation.
Would someone to take other for that?

HTH,
--
TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Diashapes 0.2.2 released

2010-08-27 Thread Thomas Harding

Le 27/08/2010 15:33, Roland Stigge a écrit :

Hi Steffen,

thanks for your thoughts!

On 08/26/2010 08:00 PM, Steffen Macke wrote:

So :
1) a dia-shapes-extra would be great, and a general
/var/lib/dia/{shapes,sheets} (possibly rsynced or foreign host
mounted) path would be greater to share shapes and sheets between users.

I've started to create a dia-additional-shapes package for those Shapes
in the Dia Shape Repository:


My biggest concern is not the way how we distribute the shapes but how
to make sure that additional shapes can manage to keep dia files using
them compatible, i.e. how to use them transparently without people
needing to synchronize with external shape repositories when getting dia
files from "friends".


True: the /var/lib/dia quoted from me would be 
enterprise/classroom/whatever level, as diagrams can be very specific to 
an entity.


But the best way not quoted here would be to have freedom to integrate
shapes into dia files then display them through svg viewports.

Freedom means : warning, you geopardize retro-compatibility with
previous dia program version, are you sure? (plus an option to not
display the warning anymore).

TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Additional shapes ways of use and distribution [+digest try] [was: Re: Diashapes 0.2.2 released]

2010-08-28 Thread Thomas Harding

[thread renamed as it's not anymore the initial subject concern]

Le 28/08/2010 07:43, Steffen Macke a écrit :


Let's try to assess how many more users this will enable to install
additional shapes:

* It's the difference between the number Debian users that would be able
to copy the contents of a zip file to the right location and the ones
running Debian sid

My guess is that this number is close to zero, because Debian users are
clever.



[please forgive my poorly written English]

* sid is not the better way to distribute "temporary packages": for that
kind there is a special debian repository I currently don't remain
the name (I used it in the past only for clamav virus database,
which is now an integrated cron job in debian).

* a cron job would be far ever better.


* Compare this to the number of users running Dia on Windows able to
deploy the zip file contents vs. the number of users being able to
operate Diashapes (should match the number of Dia users on Windows).


* at is not cron ;)


In this case my guess is that the number is a high percentage of the
number of Dia users on Windows.

Alternatives: Just write this little tool that plugs Microsoft update
into Debian sid for this purpose :-)


Hope you don't talk MS update(r) but dia shapes updater itself.



To be en par with Diashapes in terms of granularity, of course, you
would have to package every single sheet in it's own package - it that
what you would like to do? If that's the case, I should split up the
dia-additional-shapes package into individual sheets.


Well, this is a complex case :
 * Some debian installations are necessary never plugged to the Ternet,
even never plugged to any network (I know that: I'm in the forces).
 * for Dia itself, Dia installation, even on M$Win, can be restricted
   to   unplugged computers ("legal" security concerns which needs to be
   addressed a complete security review/tests by internal entitities
   security teams)
 * as said in the thread, Sharing/loading sheets and shapes
   worldwide would be great, but could dramatically increase the number
   of shapes/sheets, with quality concerns
   (I spent ten of hours simply to re-design a "modern shape standing
for 'desktop computer'" which re-sizes nicely, with a graphical
svg editor (now named Inkscape) plus "vi" to correct svg
connections then add shape specific stuff
   -- 
http://harding.fr/tom/graphics/dia-shape/downloads/desktopprinter.shape --

   ).
 * Initially, Dia Diagrams were mainly used by sys/net admins, and
   a fe


##
Intro
##
I had been involved in Dia devel for a few months, focusing on
documentation building an it's I10n processes. I also sent a
little few "minimal" shapes which are now integrated, at least
in debian 0.97.1 Dia version.

I have no capability in C/C++ except shorts hacks (I prefer to let
others do the underlying process then use high-level languages, such
as Python), for example : fix slrn for newsgroups moderation purpose,
change a library call in Python acl library (then send patch and idea
to upstream), propose a try on a "tree shape" to dia upstream.

I'm proud my little contributions effects to Dia, which takes me months,
had been integrated, then carefully corrected by others, improves Dia
itself at least for my own usage, and usage of Dia by a few un-numerable
persons : I didn't deserve a tool I use sometimes myself, by matter of
need, and both a little bit proud and a little bit annoyed each time
someones says me the thanks for the outdated French doc translation
which continue to figure on the Air French Force free software
repository. I didn't ask to drop out the thanks because they mean for
me : you can improve, and you can share.

And there is also a sheet produced by French forces about physical
security which seems Dia distribution discontinuated. Maybe because
of it's specificity (note I never endorse or participate on that:
I show here a sample of somewhat complex is the process of a sheet
sharing).

Dia is not a general purpose drawing program, it is a tool addressing
diagrams making purpose. A diagram is a semi-graphical description
of something, which mean a level of an basic and general to a very
specific and precise abstraction, by a combination of what we call
in french "logos". Ancient Greek "logos" means "language". A "language"
involves "Babel Tower problem", such as context. Sheets addresses
contexts, multiply the sheets is an addressing of diagram contexts
for an increasing number of purposes.

I read "comics" since my young. "comics" are not limited to "comics"
but can have multiple purposes, from novel to essay, historical, 
technical documentation, comic strips, tracts, and any purpose

someone can draw or write a "scenario".

Comics are a "media" (at least in French end Belgian). Like diagrams.

Dia itself is not only a tool: /Dia is a media creator tool/.

This imply that Dia maintainers cannot guess what purpose any user
can address by using Dia.

In fact, to

Re: Additional shapes ways of use and distribution [+digest try] [was: Re: Diashapes 0.2.2 released]

2010-08-28 Thread Thomas Harding

Le 28/08/2010 18:39, W. Martin Borgert a écrit :

On 2010-08-28 17:35, Thomas Harding wrote:

* sid is not the better way to distribute "temporary packages": for that
kind there is a special debian repository I currently don't remain
the name (I used it in the past only for clamav virus database,
which is now an integrated cron job in debian).


It's probably volatile.debian.org.


Yes!
Volatile as my own memory.

TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Advantage of Linux distributions (was: Diashapes 0.2.2 released)

2010-08-29 Thread Thomas Harding

Le 29/08/2010 19:21, Ron Wilson a écrit :

I have always assumed that the distro maintainers were too busy with
packaging the distro to deal with anything other than actual package
problems. Unless I am sure it is a packaging issue, I do not file a
bug report with the distro. For application issues, I look at the
app's bug database to see if the issue has already been reported and
only submit a bug if there is not already a report. Sometimes I try to
build the app myself, but more often, I just wait for the distro to
catch up.


For sure not! here is a little sample:

I have reported a bug against xorg "geode" server 3 or 4 months
ago through debian bug report tool.

This affects a peculiar sold out low cost laptop ("e-café") I bought
with a proprietary Linux on I turned 3 days after to debian, 'cause 
integrated "Totem" asked me 25euros to simply plays "Big Buck Bunny"!


2 weeks ago, the maintainer sent me a short message through the debian
bug report web/mail integrated tool to ask me if it was solved with last 
version.


In fact I missed another message with precedent version while I was at
hospital.

Sunday 3AM, I post a long answer (I'm still sick, and apologize shortly
for the delay), then at end ask for more information about current
tools needed to complete with factual ones about material.

Sunday 9.30, the debian maintainer thanks me for my extensive report
then ask me to install the needed tool "hwdetect".

At 12.30, I post the "hwdetect" outputs, with copy to the "AMD" guy he
also posted (geode is an AMD chipset).

I just verify my mail... OK: he answers me at 12.50, with commentary
about the hwdetect output. The bug report system filled my own answer
a few minutes before: 12.39.

Now I have to prevent him that 1024x600 is in fact displayed on a
9 inches screen with interpolation, so I use a lower resolution...
I will do it tomorrow because of I'm too tired to do a reasonable
research now. Or later if I'm too sick tomorrow.

Is there any place anyone works on Sunday except restaurants and Debian
Ternet virtual locations? OK; in fact a lot with the "Nouvel Ordre 
Mondial du Pognon", but a Debian developer have no /charge/ (in the

very old French sense) except what he takes on himself!

So: the debian maintainer is wired to the hardware AMD maker, the xorg
 developers and to *me*, with an integrated debian bug report and
 communication tool. And *I* *cause* the *delay* in the bug
 resolution, even not on my own but my illness.

An important fact missed here is that the debian bug report tool list
you the bug reports against a package while you decide to report, and
that I never mind of what was reported on X itself except in the
distro Changelog, and focused on distro bug reports, because I'm aware
of what a good distro maintainer can do, and I know since I first used
Debian after a long trip along Linux distros, started itself after
loosing a 6 month job and 3 crunched backups on M$fucking system on my
first personal computer, I found through debian the system_s_ and the
maintainers I ever need while it displays me "dselect" the first time
following the first reboot _during_ installation, I was aware of
_because of the manual_.

Tools have change since the just out "Woody" I found in my newspaper
seller's shop because of the 56kb/s wire was a little bit thin without
that to load distros, but Debian men not. Even more numerous.

And if a day I have a job and a life which allows me time to give to
debian, I will give time. And I will thanks for that. I know I'm not
a power user and not a good developer, but I will do the best effort
as any most little maintainer of the most little package do to try to
become a good Debian maintainer, and I will pass on all the stuff to a
better or less busy one while necessary if I think I deserve, or if
anyone says with reason I effectively deserve. And I'd be proud to
pass on before doing the mess.

If you don't trust me about the xorg bug, see Debian bug #591364.

TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Rulers and object annotations

2010-09-02 Thread Thomas Harding

Le 02/09/2010 07:03, paul.hermeneu...@gmail.com a écrit :

I would like to display the rulers around the diagram surface borders
in inches.  I set File>  Preferences>  User Interface tab>  Length


In what kind of inches?
The O.0254 meters  measure?

___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Modify shape (SADT/IDEF)

2010-10-02 Thread Thomas Harding



Subject:
Modify shape (SADT/IDEF)
From:
CSPM Nivoli
Date:
Fri, 01 Oct 2010 14:37:44 +0200
   



   Hello everybody,
I'd like to know if it's possible (and how) to modify a shape.
In particular, I'd like to add background colour function to SADT box shape.
Please, answer on this email address, too.
   

Hi!
Depending on the shape design, it can be the C code for the shape itself
(eg UML ones, which are "dynamical").


Most of are "custom shapes" ones, which are xml file defined, handled by
the "custom shapes" C code.

There is a small subset of keywords for colors, which are documented in
the "help" for years (Custom Shapes chapter).

So, in this case, simply copy the xml file, then correct the fixed 
background color by

the wanted keyword. Finally, add your own custom shape to the sheet.

HTH,
--
TSFH
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia and LibreOffice?

2010-10-13 Thread Thomas Harding

Le 13/10/2010 08:11, Maciej Jaros a écrit :

At 2010-10-13 06:48, Octavio Alvarez wrote:

On Tue, 12 Oct 2010 12:29:11 -0700,  wrote:


Has anyone suggested the possibility of Dia becoming a diagramming
tool in LibreOffice?

It would take a lot of work, but Dia could at least provide a starting
framework.

Would this be a welcomed opportunity or something to be avoided?


I'm no authority on programming or whatsoever, but, as a user, I'd
prefer ways for both programs to be integrated with one another.

Thinking on making Dia part of LibreOffice implies that every
non-existing tool in LibreOffice that needs to interact with LO in
some way, to become part of the suit (read: Project Manager,
PIM, Mind-mapper...)

I'd rather have all of them integrate with the current desktop, and
have them all interact and share information with a nice,
consistent and integrating interface.



That would probably be hard to do as OOo is more Java oriented and to 
replace Draw more exporting tools should be made. Also I think Draw is 
a bit more user friendly, but then again it doesn't compare with the 
amount of shapes Dia has. Especially with more complicated ones like 
those for UML.


What would be the benefit? Well I think the main benefit for users 
would be that they could edit diagrams inside the Writer (if Dia would 
be properly integrated). Plus diagrams could be vector and scale 
better for different uses.



+1

What could be done in OOo is to embed the dia file and it's custom 
shapes and included images, as Ooo (aka

LibreOffice now) uses a zipped archive of files to include it's own data.

A LibreOffice plugin would allow to import (by changing paths inside the 
dia file to allow packing then keep
the original relatives paths as meta-data) then re-export the dia file 
to allow the other persons to edit.


Also, it would be great to dia to include a "zip-like format export" for 
the same reasons.


So, both the edit diagram plugin in LibreOffice and the "future dia 
magic button" will unpack the diagram
to allow editing (plus included custom shapes editing and images update) 
unpacked in a "filename like directory"
or, at user choice and/or by detecting original images/custom shapes 
paths, choose to use the original file paths

then update the original zip archive.


Would it satisfy any ?

Cheers,
--
TSFH
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia and LibreOffice?

2010-10-13 Thread Thomas Harding

Le 13/10/2010 10:02, Thomas Harding a écrit :

Le 13/10/2010 08:11, Maciej Jaros a écrit :

At 2010-10-13 06:48, Octavio Alvarez wrote:

On Tue, 12 Oct 2010 12:29:11 -0700,  wrote:


Has anyone suggested the possibility of Dia becoming a diagramming
tool in LibreOffice?

It would take a lot of work, but Dia could at least provide a starting
framework.

Would this be a welcomed opportunity or something to be avoided?


I'm no authority on programming or whatsoever, but, as a user, I'd
prefer ways for both programs to be integrated with one another.

Thinking on making Dia part of LibreOffice implies that every
non-existing tool in LibreOffice that needs to interact with LO in
some way, to become part of the suit (read: Project Manager,
PIM, Mind-mapper...)

I'd rather have all of them integrate with the current desktop, and
have them all interact and share information with a nice,
consistent and integrating interface.



That would probably be hard to do as OOo is more Java oriented and to 
replace Draw more exporting tools should be made. Also I think Draw 
is a bit more user friendly, but then again it doesn't compare with 
the amount of shapes Dia has. Especially with more complicated ones 
like those for UML.


What would be the benefit? Well I think the main benefit for users 
would be that they could edit diagrams inside the Writer (if Dia 
would be properly integrated). Plus diagrams could be vector and 
scale better for different uses.



+1

What could be done in OOo is to embed the dia file and it's custom 
shapes and included images, as Ooo (aka

LibreOffice now) uses a zipped archive of files to include it's own data.

A LibreOffice plugin would allow to import (by changing paths inside 
the dia file to allow packing then keep
the original relatives paths as meta-data) then re-export the dia file 
to allow the other persons to edit.


... obviously, it will also use dia to export the convenient SVG output 
then include it in it's
archive file, as export to SVG is native to dia, both unices and Windows 
version (right click
in Windows to a dia file drops a graphic sub-shell with export 
proposals), if I remain exactly.


All we really need is an import/export plug-in which allows that : we 
definitely do not need
a full integration nor a re-implementation in LibreOffice ; this is not 
the M$ way, this is the

only good way -- the unices tool chain way!



Also, it would be great to dia to include a "zip-like format export" 
for the same reasons.


So, both the edit diagram plugin in LibreOffice and the "future dia 
magic button" will unpack the diagram
to allow editing (plus included custom shapes editing and images 
update) unpacked in a "filename like directory"
or, at user choice and/or by detecting original images/custom shapes 
paths, choose to use the original file paths

then update the original zip archive.


Would it satisfy any ?

Cheers,


___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Call to gradient shapes, the Free Software way [was: Re: Change length of several lines simultaneously.]

2010-10-15 Thread Thomas Harding

First, thanks to point us on this great article on the list

[to be continue below quoting]

Le 15/10/2010 05:25, Michael Ross a écrit :

Dear Pooya,

In response to the following comment
"Nothing related to my demanded task happens."
I am issuing the
"You should demand a refund"
rejoinder.

This is a great article about Free & Open Source Software (FOSS):
http://linux.oneandoneis2.org/LNW.htm
you can read "Dia" almost everywhere in it that it says Linux.  This 
is a very good read and cured me of some bad tendencies helping me to 
understand what I was dealing with and why.


A final comment.  In quite a long time, 5 years maybe, not a single 
person has asked for the function you describe.  I am not able to 
program enhancements to Dia, but I am very grateful for the makers of 
it and their excellent work.   Every now and then I feel compelled to 
defend them - it is the best I can do.  I know with certainty that 
they have limited time to VOLUNTEER to the effort of making Dia better.




I agree on that, except coding is not the only way to contribute to a 
free software, and there are numerous other ways to:


  * integrated user documentation (writing, editing, publishing, 
integration)

  * advertising (logos, articles)
  * not integrated user documentation (books, articles)
  * end users help
  * bug reporting (including tests of corrected/improved software or 
patches)
  * software design (icons, user interface behavior (command line, 
graphic interface), menu trees, ...) proposal or participation

  * ...

Especially concerning dia, also:
  * shapes/sheets authoring (especially custom xml ones which doesn't 
require

   programming skills)


Now that gradient shapes are available, "we" could propose more "modern" 
styles shapes -- with "simplicity", "readability" and "scalability" keep 
in mind as for the historical dia shapes ones.


This needs from one to dozens of hours to produce _one_ good shape.

I join here two svg samples, the first "orig" is a desktop printer, 
which for the shape is "calculated" then written with "vi" and colored 
through "sodipodi/inkscape". It took me about 5 hours authoring. I add a 
copy with gradients which is nod verified, edited with "inkscape". It 
will need "vi" authoring again. The second is a desktop computer 
station, which was copied from a public domain one, then authored 
through "inkscape", then corrected through "vi". This last took me about 
20hours authoring, despite the fact it was already designed, because 
"scalability" was not in mind of the original author. It needs now 
gradient authoring, and there were dozens ones from http://jcartier.net 
which seems Jean Cartier have been put them on openclipart, which is 
empty for his contributions... I think the design author can be joined 
on his blog.


All this is to show the process which can be conduced on "shapes" authoring:
 * a good designer, who proposed nice draws, directly or through a 
"public" clipart repository.

 * a tedious re-writer, who  re-calculates/correct paths.
 * dia integration, through dia-shapes repository.
 * finally, integration to dia mainstream as needed.

--
TSFH


http://www.daa.com.au/~james/dia-shape-ns"; xmlns:svg="http://www.w3.org/2000/svg";>
Desktop - Printer
desktopprinter.png

http://www.w3.org/2000/svg";>























<><>
http://www.daa.com.au/~james/dia-shape-ns";
   xmlns:svg="http://www.w3.org/2000/svg";
  >
Hardware - Desktop computer, standard
hardware-desktop-computer-standard.png


http://purl.org/dc/elements/1.1/";
   xmlns:cc="http://web.resource.org/cc/";
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
   
   sodipodi:version="0.32"
   inkscape:version="0.44.1"
   sodipodi:docname="hardware-desktop-computer-standard.svg"
   sodipodi:docbase="/home/tom"
  >
  

  
image/svg+xml
http://purl.org/dc/dcmitype/StillImage"; />
hw_computer
2008-07-06
    
      
Jean Cartier
  

http://creativecommons.org/licenses/publicdomain/"; />
fr-FR

  
hardware
    computer
  


  
Jean-Victor Balin (jean.victor.ba...@gmail.com)
  


  
Thomas Harding (t...@thomas-harding.name)
  

http://www.jcartier.net
http://www.thomas-harding.name/tom/dia-shapes/hardware-desktop-computer-standard.svg
Thom

Re: Dia to MediaWiki 1.16

2010-10-19 Thread Thomas Harding
Le 19/10/2010 17:16, Mark Hempelmann (ta.ken) a écrit :
> As flowcharts are widely used in Wikipedia, my humble opinion is that
> not only Dia would profit from such an approach, but the wiki-community
> might find this a great opportunity to discuss and become involved.

IMHO, as Dia exports itself to SVG and PNG, this kind of extension to
MediaWiKi is not needed.

AFAIK, there are PHP functions which can convert SVG to PNG efficiently.

What is done with the quoted Mediawiki extension would be done better if
Dia would be used to export at upload-time to both SVG and PNG, then let
the HTTP server choose what to serve through content-negotiation.

The only problem will be user generated custom-shapes, once more, which
could be solved by custom-shapes inclusion into the Dia file plus viewports.

Best regards,
-- 
TSFH
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: New LAN icons- question

2011-04-23 Thread Thomas Harding
Le Wed, 20 Apr 2011 20:32:24 +0200,
Slavko  a écrit :

> http://slavino.sk/linux/vseobecne/245-sietove-symboly-pre-dia-ii
> (sorry in Slovak only).

I found on this page a link to your Debian package and source for
these ones, Are all the shapes on this repository 
(http://debs.slavino.sk/pool/main/d/dia-extra-shapes/) from you

Do you plan to integrate them in debian main  ?

Anyway, previews on your web site are beautiful.

-- 
TSFH
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Behavior Trees export to json format.

2012-02-07 Thread Thomas Harding
Le Mon, 6 Feb 2012 19:05:56 +0200,
Ekmektsis Dimitris  a écrit :
#START import sys, dia
> class BTJSON :def __init__ (self) :
> pass  def begin_render (self, data, filename) :

Well, you should add the python piece code as attachment, with .py as
file extention... (depending on mail reader, its overwise totally
unformatted).

Cheers
TSFH
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: This software is a rip-off; request a full refund

2012-04-11 Thread Thomas Harding
Le Tue, 10 Apr 2012 14:26:02 -0400,
"Fred Teeboom"  wrote:

This could be a good stuff for this month's 1sth...

> Hello:
> I ordered your latest version   diaw.exe 0.97, but find your text
> next to impossible to use.  No editing WYSIWYG features

* Unfortunaly, nothing relies Free software authors to a reseller,
  except case you buy it to an author (eg: to implement a feature
  or develop from scratch)!

* It is also permitted to charge without reason, but most likely for
  hard-copying and shipping, and, if so, warranty which is explicitely
  disclaimed in any Free Software licence (so, the re-seller will offer
  separately the warranty as a service). Note you should take a look
  at commercial software licences on warranty, this is a fun.

* A software, incidentally, is a *tool* which is made for an *usage*
  and a *public*. Dia is a diagram software, and if you need to create
  diagrams this is definitely the tool you need. You can also purchase
  MS Visio if you want to marmosets that rotate[1], or ask to GrandMa
  what is a diagram.  

I suggest you turn you back to the reseller, who is the only person
who can offer you a commercial arrangement. Note if he didn't gives you
a way to get the sources you can either sue him. The resseler figures
below on this your mail I left, which is fully accessible to anyone
can read.

Note also you'd better to search before on the ternet before purchasing
what you can obtain *legally* for nothing except a few gigs download.

The other solution is to modify software by yourself then, if you want
to redistribute modified, give the same licence and the software sources
(or an access to them) together.
 
> It also does not copy to MSWord.

I suggest you a hammer, the best tool to fix anything on a screen.

Most likely, you should read the f...in manual and wonder about what
are png, jpeg, svg, and espacially for the $#*%=+@ Microsoft stuff what
called wmf "Windows Meta File" and emf "Enhanced Meta File".


> 
> Unless you have a better way to use text, I want a full refund.
> Incidentally, this is free software; why did you charge me?
> 
>  
> 
> This software is a rip-off.

No comments.

>  
> 
> From: eBay [mailto:e...@ebay.com] 
> Sent: Saturday, March 31, 2012 6:53 PM
> To: fred...@comcast.net
> Subject: Confirmation of your Order of Diagram Technical Drawing MS
> Vision Type Software for Windows 7 PC...
> 
>  
> 
> 
> Thanks for your purchase, teeboom6996!
> 
>  
> 
>  
>  ae75bbfec9090&loc=http%3A%2F%2Fwww.ebay.com%3FssPageName%3DADME%3AL%3AOC%3AU
> S%3A3127> eBay
> 
> 
>  
>  ae75bbfec9090&loc=http%3A%2F%2Fpages.ebay.com%2Febaybuyerprotection%2Findex.
> html%3FssPageName%3DADME%3AL%3AOC%3AUS%3A3170> Learn more about eBay
> Buyer Protection
> 
> 
>   
> 
> Here's your order confirmation
> 
>   
> 
>  
> 
> 
> Hi teeboom6996,
> 
> Here is a summary of your recent order. You can also view your
> updated order details
>  ae75bbfec9090&loc=http%3A%2F%2Fpayments.ebay.com%2Fws%2FeBayISAPI.dll%3FView
> PaymentStatus%26cartid%3D310433732017%26ssPageName%3DADME%3AL%3ACOC%3AUS%3A1
> 503>  in My eBay.
> 
> Thank you for shopping on eBay!
> 
>  
> 
> 
>  
>  75bbfec9090&loc=http%3A%2F%2Fpayments.ebay.com%2Fws%2FeBayISAPI.dll%3FViewPa
> ymentStatus%26cartid%3D310433732017%26ssPageName%3DADME%3AL%3ACOC%3AUS%3A150
> 3> Go to order details
> 
>  
> 
>   
> 
>  
> 
> 
> 
> Order details
> 
> 
>   
> 
> You completed checkout on Mar-31-12 
> 
> 
> Ship to: 
> 
> Payment Details: 
> 
> Total:
> 
> 
> Fred Teeboom
> 
> PayPal
> 
> $13.94
> 
> 
> 24 Cheyenne Dr
> Nashua, NH 03063-3506 US
> 
>  
> 
>   
> 
>  
> 
> 
>   
> 
> 
>   Seller: osprojectsoftware_us
>  ae75bbfec9090&loc=http%3A%2F%2Fmyworld.ebay.co.uk%2Fosprojectsoftware_us%3Fs
> sPageName%3DADME%3AL%3AOC%3AUS%3A1181>  ( 1562
>  ae75bbfec9090&loc=http%3A%2F%2Ffeedback.ebay.co.uk%2Fws%2FeBayISAPI.dll%3FVi
> ewFeedback%26userid%3Dosprojectsoftware_us%26ssPageName%3DADME%3AL%3AOC%3AUS
> %3A1183>  http://p.ebaystatic.com/aw/pics/icon/iconRedStar_25x25.gif) 
> 
>  
> 
> 
>   
> Item Title 
> 
>   Price 
> 
>   Shipping Price 
> 
>   Qty 
> 
>   Item Total 
> 
>  
> 
>  
> 
> 
>  
>  ae75bbfec9090&loc=http%3A%2F%2Fcgi.ebay.com%2Fws%2FeBayISAPI.dll%3FViewItem%
> 26item%3D190608993313%26ssPageName%3DADME%3AL%3AOC%3AUS%3A3160>
> Diagram Technical Drawing MS Vision Type Software for Windows 7 PC
> ( 19060899

[OT] Re: This software is a rip-off; request a full refund

2012-04-12 Thread Thomas Harding
Le Thu, 12 Apr 2012 00:18:56 +0400,
Andrey Repin  a écrit :

> Greetings, Thomas Harding!

Hello! I have been lurking for a long time. Hope I will be silent for a 
long time again :) 

> It could easily be a year's top joke as well.

I agree. "April first" is a long last tradition in France I also 
noticed in Internet RFC's. (Un)?fortunately, we don't have "year's top"
tradition, with for except "TV mistakes" which are merely stupid :)

> But honestly, was it necessary to maintain a full quote of this eBay
> advertisement?

Well, apologies: my MUA (Claws Mail) displays as text. My intention
was to full quote the insanity of original content, as the actual
resseler was typed in.

Unfortunately, the poster does not understand irony... nor the fact
English can be also linga franca.

I answered private how unreadable are eye-candy outputs from MS softs
compared to LaTeX, Dia and other third party software combination, and
also given keys on "Export".

TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [PATCH] Highlight color for bright text.

2012-04-16 Thread Thomas Harding
Le Mon, 16 Apr 2012 07:17:22 +0200,
Paul Chavent  a écrit :

> I've posted a patch some weeks ago. I'm surprised to had no
> reactions. So, i would like to take a second chance.

Hi Paul,
you should take a look at this page:

http://live.gnome.org/Dia/HowToSubmitPatches

Notably the "Bugzilla" link (after you has been done reading the
guidelines).

You can also mail to Steffen Macke (see credits in "about").

TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia in swedish

2012-05-05 Thread Thomas Harding
Le 05/05/2012 00:15, manuk7 a écrit :
> Hi, i take advantage of this discussion to ask how to contribute in
> completing Dia translation in french ? Is there a specific procedure
> or may i edit the last .po and send it by mail on this list ? I didn't
> find any information about it on the site. As it is my first post on
> this list, thanks to all developpers for your great work ! Manu
> ___ dia-list mailing list
> dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ
> at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia 
While someone given my name on response: I'm not active in Dia
developpement for years --- and was active a few months only :)

What you can do fisrt is to :

 * check for po strings completeness (program strings translaton). this
can be a little bit difficult to handle at first, but fairly simple in fact.
second :

Second:
 * there were a major update on dia Manual (C) e few months after I done
the French translation.
   ** I encourage you to learn first xml docbook format / DTD. Check
the current Dia English manual docbook version first,
   especially if docbook version used has increased (even if not
a good idea to use v5 and up, which xsltproc cannot use)
   ** The best way is to full copy English version, then add current
French version sentence to sentence, commenting " <-- la phrase traduite incorrecte -->

=> beware on both to set up your file editor as UTF-8, and avoid \cr\lf
("dos" line termination).

=> follow the "patch" procedure described on live.gnome.org/Dia
(bug/patch subission)

hope this helps you to help,
TH.
___
dia-list mailing list
dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: swapping shapes

2012-06-09 Thread Thomas Harding

On 09/06/2012 08:47, vwf wrote:

I installed the Ubuntu packages from the download site but there is a
naming problem with libgdk-pixbuf2.0-0, and libpython2.7 is not
available on Debian stable
You can "pin" your debian on Wheezy for Dia, but expect a lot of 
unattended upgrades

or, at option add Wheezy as "source"

in /etc/apt/sources.list
deb-src http://ftp.fr.debian.org/debian/ wheezy main [contrib] [non-free]

 -> fr mirror, see mirrors page for your nearest
then simply
# aptitude update
# apt-get install build-essentials
# apt-get build-dep dia
# apt-get source dia
# cd dia_* && dpkg-buildpackage -r fakeroot

In most case this will fit your current debian version for any package, 
for exception the ones needs for new libraries didn't packed yet in your 
current version. Build dependencies are less restrictive on versions.



As a result, I do not have Python with my Dia

As I can see, Python interpreter is a Dia built-in in Wheezy, while I 
didn't make tests.


HTH,
TH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia covered on my website

2012-06-11 Thread Thomas Harding



On 11/06/2012 16:49, Pat Walsh wrote:
Just a quick line to say 1) thanks very much for producing Dia, its 
excellent and I'm finding it equally good as Visio for producing 
software development diagrams 2) I've covered Dia on my website to 
hopefully spread the word about this excellent package. The link is 
http://www.patwalsh.co.uk/who-needs-visio-when-you-can-use-dia/


Well, Fine, brief.

You could also provide an SVG export (scalar vector graphics, W3 
standard), as it is currently supported by most modern graphic web 
browsers in img tag (not Safari).


Code generation is not covered by your activity, but you could also 
mention it.


TH.
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Enquiry diaw.exe for commercial using

2012-07-31 Thread Thomas Harding
There is no restriction in GPL against sales ! What is an obligation is 
to provide source code together or offer it with no extra cost except 
hard-copy/shipping costs to who has buy GPL software.


So, to be honest, as they didn't done any authoring, would be the answer 
"this is GPL'ed, has free download repositories for sources, severale 
unices, msWindows...


What service could be "charged" by an extra company  in case of Dia 
would be quality printed manuals, a source survey and "user" hotline <=> 
bug report service (preferably with patches), new ports, improvements, 
or features developpement (shapes, ...). Ideally such a company would 
gave back devel to Dia mainline (according fact Dia is GPL, any of its 
customer would be able to do so)...


TH.

On 31/07/2012 17:21, Michael Ross wrote:

Dirk,

You should go to the Dia website and review the license agreement.  I 
personally hope you do not sell it to them and explain to them that is 
is free to use.  No cost.


Mike

On Fri, Jul 27, 2012 at 8:37 AM, Dirk Haller > wrote:



Dear Ladies and Gentlemen,


we got an inquiry from our customer about the following products:

*1 Unit of diaw.exefor commercial using*

Please send a formal quotation with specify terms and conditions
for delivery as well as availability, anticipated delivery time
and delievery
charges/proccesing fees and dealer discounts.
We also need to know which operating system the software supports.
Also we need informations on which language
do you´ll deliever the software. At last let us know on which form
the software will be delievered: Boxproduct or electronicaly
delievery.

How is the procedure after the first year if our customer buy the
support/maintenance option. Will renewal this automatically and
our customer must cancel this explicit ??
If so we need to know the details about the cancellation procedure.


Please send your quote to my attention at *dhal...@ccpsoft.de
*.

For more informations about our company please have a look on our
homepage (http://www.ccpsoft.de) here you´ll find
an english company profil.

Do you have more questions please sent a short e-mail message,
we´ll answer asap. (No telephone calls please)

Thank you in advance for quick response.

best regards

Dirk Haller
Purchase department


CCP Software, Postfach 520, 35017 Marburg
Tel.: 0049-6421-1701-25
Fax: 0049-6421-1701-10
E-Mail: dhal...@ccpsoft.de 
Internet: http://www.ccpsoft.de

==


___
dia-list mailing list
dia-list@gnome.org 
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





--
Put this question to yourself: should I use everyone else to attain 
happiness, or should I help others gain happiness?

*Dalai Lama *

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison 



A public-opinion poll is no substitute for thought.
*Warren Buffet*

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824  Google 
Phone

(919) 631-1451 Cell
(919) 513-0418 Desk

michael.e.r...@gmail.com 






___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Sharp lines - Sub and super -scripts

2012-09-28 Thread Thomas Harding
On 28/09/2012 15:55, Panoutsopoulos, Basile (Computer Electronics and 
Graphics Tech) wrote:


Michael,

I am sorry, I was not clear. I mean blurred by “not sharp”.

I want to prepare schematic diagrams of electronic circuits and insert 
them into a document.


I just tried it. The *.png format looks better than the jpg.

The *.svg is not imported in a word document. (?)

for word and other M$ stuff, simply use ".emf" / ".wmf" export, which 
are vector graphics.


There are also cairo/non cairo choices for both.

emf is more featured, but it seems having diagram size problems while 
importing (Dia v0.97 ? at workplace...).


regards,
TSFH


Is there any future with the superscript and subscript?


Can't answer to that. Anyone else?


___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Problem creating custom shapes with editable text

2012-10-02 Thread Thomas Harding

Le 02/10/2012 11:41, Martin Wunderlich a écrit :

Thanks a lot, Eric. This helps a bit. I have compared your XML to the code form my 
shape and noticed that the  node is not included in my shape. Instead, 
it is using an svg:text element, which apparently is not recognised correctly by Dia. 
If I enter the textbox node into my XML, I can enter text into the shape alright, 
except that I don't know how to specify the formatting or the default text.

Is this documented anywhere? I tried here, but couldn't find anything on the 
required additional options for the textbox element: 
http://git.gnome.org/browse/dia/tree/doc/custom-shapes



If your shape is a custom one, you'll find it:

  On Linux/UNIX:
in your ~/.dia/shapes

if unmodified from main:
  in one of the subdirectories of /usr/share/dia/shapes/, 
depending on sheet it belongs (see Sheets menu, while it can be i-10n).


if found in /usr/share... copy the shape in your ~/.dia/shapes/, You'll 
have to create a convenient sheet (see doc you point above).


then use a simple text editor such as vim, emacs or nano and replace the 
svg:text element by a textbox, according to document format you point in 
your URL.


Unfortunately, I can't help you on other systems.

Regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia is open source

2012-10-12 Thread Thomas Harding

Bonjour,

cette liste est consacrée au logiciel libre de créations de diagrammes 
"Dia", qui n'a strictement rien à voir avec la comptabilité financière 
ou analytique, à moins qu'il s'agisse de construire un diagramme des 
processus mis en œuvre, ou d'extraire à partir de ce graphe le squelette 
d'un programme, extraire un modèle de données, ... ou encore inversement 
de construire automatiquement un diagramme à partir de données quelconques.


Auquel cas, il ne s'agirait pas tant de vendre ce logiciel que de 
trouver un ou des développeurs, et financer son adaptation au besoin que 
vous exprimez s'il ne correspond pas à votre cahier des charges.


Vous avez du confondre avec un logiciel homonyme, à moins que les 
adaptations citées supra soient vendues par ailleurs, notamment 
accompagnées des sources et du moyen de le reconstruire parmi d'autres 
conditions contraignantes pour le vendeur, et à l'avantage de 
l'acheteur, qu'il serait assez long de vous expliquer ici (cf GNU 
General Public Licence, version 2 et suivantes).


Bien cordialement,
TSFH.

Le 12/10/2012 19:00, Michael Ross a écrit :

Dia is free, no cost.

How to get and use Dis:
Download it, install it, use it, contribute to its growth and progress.

https://live.gnome.org/Dia

You might get some benefit from telling your customer that it is not 
necessary to buy Dia.


They might prefer to come back to you for other products.

Whereas, if they discover, after paying for DIa, that is was free, 
they might never return to you for other business.



On Fri, Oct 12, 2012 at 5:58 AM, Toffolon, Fabien 
mailto:fabien.toffo...@comsoft.fr>> wrote:


Hello,

We are reseller in France of windows software.

Our web site is :

http://www.comsoft.fr 

One of my customers wants to buy:

-DIA “Comptabilité” (It is necessary to plan the possibility of
realization of footbridges of the software THALIA (Gestion
Commerciale) towards financial department )

-DIA PAYE


--
Put this question to yourself: should I use everyone else to attain 
happiness, or should I help others gain happiness?

*Dalai Lama *

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison 



A public-opinion poll is no substitute for thought.
*Warren Buffet*

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824  Google 
Phone

(919) 631-1451 Cell
(919) 513-0418 Desk

michael.e.r...@gmail.com 






___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: QUOTE

2012-10-12 Thread Thomas Harding


Le plus surprenant est qu'en tapant "dia comptabilité" dans le champ de 
saisie du premier moteur de recherches Internet venu, ce dernier vous 
pointe le logiciel en question en première ligne.


Je laisse la publicité de votre boîte en intégral, dès fois qu'un client 
potentiel ait l'idée d'y regarder à deux fois.


Which is especially amazing is that typing "dia comptabilité" in any 
Internet search engine will point you what you search as first link.


[I let anyone translate the last sentence himself]

Le 12/10/2012 11:58, Toffolon, Fabien a écrit :


Hello,

We are reseller in France of windows software.

Our web site is :

http://www.comsoft.fr 

One of my customers wants to buy:

-DIA “Comptabilité” (It is necessary to plan the possibility of 
realization of footbridges of the software THALIA (Gestion 
Commerciale) towards financial department )


-DIA PAYE

Could you give me the price ?

What is our discount as reseller ?

What are the shipment cost to France ?

What is the way to order ?

Can we pay by credit card or bank transfer ?

Thanks for your answer and best regards.

*Fabien TOFFOLON*
*Assistant commercial*

Ligne directe +33 4 97 21 58 71
Standard +33 4 97 21 58 50
Fax +33 4 97 21 58 51
Email fabien.toffo...@comsoft.fr 

Description : Description : Description : Comsoft direct logo_CMYK*
**
Comsoft *| 120 route des Macarons | BP 265 | 06905 Sophia Antipolis 
Cedex | www.comsoft.fr 




___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[long+short] autorouting patch status?

2012-10-13 Thread Thomas Harding

Hello,

[I'm French, and English grammar (especially terse) and syntax are 
difficult to me while writing]


I wonder of "autorouting" patch status.

It has been posted here a while ago (3 years?) by someone as a part of 
his graduate thesis.


Feature was: shapes was automatically dispatched regularly while line 
and connection points
remained attached to them, then you could move the whole just by click 
and point one shape
-- and the batch were moved together then re-dispatch, or manually place 
one shape same

as Dia habits.

*[in short until end of post: this was a cool option and it would be 
nice if someone would fix it]*





I just played with it once or too, as it was not well optimized (memory, 
speed, response

time).

Such "autorouting" could be useful, especially when using SQL2dia 
(postgres2Dia ?)
or other code/data to Dia canvases programs: I sometimes used for 
SQL2dia, all objects
were same place and it has been a tedious task to dispatch the shapes 
(then do or redo

all connections, I can't remain if they has been already done by SQL2Dia).

Note I don't know how good SQL2Dia works currently (it was in early 
development).


There are recent posts here which points Dia is a software with a 
volunteers development

model [*]:

I counted in too, years ago, with my little skills, on very little parts 
(French translation
of the manual which nobody have improved yet (Debian Wheezy/Dia v0.97.2 
here), then doc
build tidying and some foreign docs integration to the manual). In fact 
dozens of hours.


I'm still very proud to have done that effort (especially in a phase of 
depression), and was
very surprised to have been especially granted for that in the (0.96?) 
release! ;).


So, here is just an idea:

Depending on what that patch already is and what it should or be planned 
to do, to integrate,
enhance and perfect it /could/ involve heavy mathematics and programming 
knowledge (and

I can ensure you I have not).

So, depending on needed levels, this would be possibly a good challenge 
to an  engineer to
graduate; a Master or PhD thesis part. Likely as a project team 
(eventually Internet

created and linked).

Creating such a team (supervision, design, Q/I, ...) from scratch and 
integrate it to Dia
development would be a good part of that challenge, as it could seems 
quite innovative to a
supervisor and a thesis committee (while it is an habit to /join/ one 
for internships) :P


In such case I just remain VideoLan started from and has been for long a 
scholar project
of via-ECP  (École Centrale de Paris/Central School of Paris), also the 
Cyrus project is still
hosted by Carnegie Melon University, and I expect some parts of Linux 
and other kernels
too (I knew for an engineer having that kind of thing for graduate 
project)...


That one, if even started by any interested[1], will obviously be 
largely smaller and short term.


Personally I don't really need that feature: I can spend for one hour or 
two to place manually

shapes next time.

It's just a cool thing I remember: I'm  currently authoring a training 
course for the LUG I belong to,
then used "distribute h/v" and... Hey! that "auto dispatch" menu could 
really help someone on

some tasks! :)


Best regards to all list readers,
TSFH.

[1] You, student, who already uses Dia or currently search for a good 
diagrams authoring program!


[*] In fact the guy who posted for selling copies searched for another 
program "Dia something":


 Nothing to do with diagrams, "dia" is a French prefix for ~"dual", 
although the word for diagram
 in French is "diagramme", and we have also "dualité" and 
"dia-publication".


 He would find first last (a proprietary one) program in any 
Internet search engine by typing

 the two words together :D

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [long+short] autorouting patch status?

2012-10-16 Thread Thomas Harding

Ooops: was "auto layout", not "autorouting"
Threads refs below ;)

Le 16/10/2012 10:43, tpo2 a écrit :

On Sat, 13 Oct 2012 23:26:31 +0200, Thomas Harding wrote:

[I'm French, and English grammar (especially terse) and syntax are
difficult to me while writing]

I wonder of "autorouting" patch status.

It has been posted here a while ago (3 years?) by someone as a part of
his graduate thesis.

Feature was: shapes was automatically dispatched regularly while line
and connection points
remained attached to them, then you could move the whole just by click
and point one shape
-- and the batch were moved together then re-dispatch, or manually place
one shape same
as Dia habits.

Do you maybe have a link to the mailing list post in case?


Obviously, videos on Google stuff are no longer available ;)

Thread start :
https://mail.gnome.org/archives/dia-list/2008-August/msg7.html
Hans 1st Answer (mainly: not working :)
https://mail.gnome.org/archives/dia-list/2008-August/msg00014.html
A "working" patch attached here :
https://mail.gnome.org/archives/dia-list/2008-August/msg00023.html
An answer on some defaults + patch :
https://mail.gnome.org/archives/dia-list/2008-August/msg00030.html

Regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [long+short] autorouting patch status?

2012-10-16 Thread Thomas Harding

Le 16/10/2012 20:57, Hans Breuer a écrit :

At 16.10.2012 18:21, Thomas Harding wrote:

Ooops: was "auto layout", not "autorouting"
For someone interested in autolayout integration with Dia maybe the 
Layout plug-in started 2011 would be a better starting point:


http://git.gnome.org/browse/dia/log/plug-ins/layout

HTH,
Hans


Hi Hans, nice to meet you here again !

It seems you still worked on on September... a secret new feature or 
just an experiment?


I pinned out, will build  this w/e.

All I can do is to track changes on patch time to time then test on 
Debian/wheezy and  strace/ltrace.


Unsure what I could find.

I hope it would build on last release branch :)

Regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: [long+short] autorouting patch status?

2012-10-17 Thread Thomas Harding

Le 16/10/2012 22:07, Hans Breuer a écrit :


Also AFAIK OGDF http://www.ogdf.net is not packaged by standard Linux 
distributions so the build integration is a bit rough at the moment. 
See http://git.gnome.org/browse/dia/tree/plug-ins/layout/readme.txt 
for details.



=> agree
tom@salon:~$ apt-cache search ogdf
libogdf-tulip-3.7.0 - Open Graph Drawing Framework shared library, built 
for Tulip

libtulip-ogdf-3.7 - Tulip graph library - OGDF runtime

Seems packaged for tulip only. I will try that at first pass but expect
non standard path / ldconfig.

nevertheless, its obviously preferable to turn DEBUG_FLAGS on...

* Q: are coin and abacus libs also needed regarding ogdf functions used 
here?


ogdf /can/ be linked together with "coin" and "abacus"

I just begin, so in doubt I'll begin to link to "coin" library from 
sources (libcoin60(+ -dev)

is packaged, so it would be a second pass)

also, abacus is not packaged in Debian/wheezy, so I will compile it => 
/usr/local/lib.


then same for ogdf (with your Makefile edited accordingly)

(Note I have no capability to a Debian ITP as it needs long term 
maintainers)


Regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



[OT] Re: For Windows platform: which Dia plugin or App to simplify design and documentation of small Database Applications ?

2012-10-27 Thread Thomas Harding

Le 27/10/2012 02:40, Andrey Repin a écrit :

Greetings, Paul Smith!


@  Andrey
Thank you for your suggestion of MySQL Workbench.  Interesting lead.
With MySQL in the name I had assumed not worth investigating for use with
HSQLDB (when choosing a RDBMS I was looking for one adhering closely to SQL
standards and suitable for a low power platform such as a nettop, so I
rejected MySQL as read it was not very compliant, also the Oracle takeover
sounds bad news for it).
Greetings Paul, this discussion is largely off-topics here, but your 
initial question was how to

design a /simple/ database.

In order to, with Dia you must use for UML sheet, with classes and 
relations between, then specific scripts (I guess they are numerous now) 
in order to generate DDL from Dia file.


I'ts a long time I didn't use and I can't remain the whole, but as far 
as I know properties has 2 parts, and if I remain correctly in the 
second were placed foreign keys and constraints.


You could find convenient information on that docs scripts themselves :)

About SQL servers, hardware requirements depends essentially on how 
large are the data and how complex is the database (also for MySQL you 
can use table which do not handle relational (FK) model at all).


As said, you can tune MySQL and designed databases for a small 
footprint, while you'll loose even "relational" in some cases.


If databases are fairly large and complex, PostgreSQL is the better 
choice, offering advanced models,  also numerous languages (for stored 
procedures and triggers), and it occupies what it really needs, and 
numerous connectors (including odbc, unsure of jdbc).


MS SQL is a fork from initial Postgres branch (have been given also 
Ingres, which AFAIK turned back Free Software), then... years ago, MS 
SQL main engineer said "we failed" (about what some queries /should/ 
returns). Hardware requirements are simply huge regarding db contents.


What I know of Oracle it is: you need a database engineer (doing select 
bluk from V$database where... n times with n V$ tables / fields just to 
get schema is stupid, also I heard tablespaces can grows now 
automatically but... this is just a sample of the nightmare what you'll 
get). Last but not least : it is proprietary, there is a restricted 
"free beer" version, but costs are simply astronomical.


There are also "appliances SQL databases engines" such as libraries, but 
you'll need to implement anything else by program, and they are intended 
for "standalone" appliances.


Last, I'm quite surprised how big is a needed machine to run a simple 
server with Windows as OS :)


Best Regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Your software Dia

2012-10-27 Thread Thomas Harding

Le 26/10/2012 20:14, edi...@sosciso.de a écrit :

Dear developers,

I am writing you regarding your software Dia.

This is Ronny Gey and I am the admin of the website
http://www.sosciso.de - Social Science Software. I added your software
in our database and would like to inform you with this mail.

Please, see here the details on your software:
http://www.sosciso.de/en/software/ubersicht/?wctsort=lizenz&wctstart=1&&wcteid=44

If you have further questions, please feel free to contact me.



Hi,
I'm not a Dia  developer, but did given an eye on your software list and 
"details"


1) my English is far from perfect, but I can't handle German at all :)

2) you display a screenshot, which is good, but I can't find "scope of 
usage", even if

  first line could say "diagram authoring".

What could be really interesting would have "capabilities" listed, 
then "usability" etc, "rated" (eg by stars or score n/10)


Your table is a good idea, I suppose there are numerous ones, to scope 
on scientific engineering will reduce public but you'll get an accurate one.


Regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: For Windows platform: which Dia plugin or App to simplify design and documentation of small Database Applications ?

2012-10-28 Thread Thomas Harding

Le 28/10/2012 09:18, Edzo A. Botjes a écrit :

Hi All,

I have not followed this thread with great detail,
but for the question open-source light weigh database incl interface
Try sqlite (http://www.sqlite.org)
via a firefox plugin you can create and manage the database: 
https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
if the plugin does not work for you, here is the sqllite list they 
created themselfs: http://www.sqlite.org/cvstrac/wiki?p=ManagementTools


I used this for a few small projects, and works perfectly for that.

That's the name I forgotten while talking about "lightweight solutions" 
"libraries".


I don't know of current status, but a few years ago nor types nor 
foreign keys[1] were /on the goal/, so it was needed you to handle that 
in your appliance.


However, http://tedia2sql.tigris.org/ is a perl script (that page lists 
dependencies), and http://tedia2sql.tigris.org/usingtedia2sql.html seems 
giving a good enough tutorial to

author a convenient Dia file.

as stated here: 
http://annocpan.org/~AFF/Parse-Dia-SQL-0.23/lib/Parse/Dia/SQL.pm 

It is (the tutorial) still available for parsediasql (debian: 
libparse-dia-sql-perl).


the last can generate statements for  numerous databases, such as IBM 
DB2, Informix,
Ingres, MySQL (InnoDB, MyISAM), Oracle, Postgres, SQLite version 3 
([1]/with foreign key support/, so it could be on for both now ;), Sas, 
Sybase.


see http://search.cpan.org/dist/Parse-Dia-SQL/

I searched, have been read the tutorial, writing also this : I'm awake 
since 10.15AM,

it is 11.11AM :)

I can author a Dia sample, then test it and send both diagram and 
result. I think it will took
half an hour more (I'm puzzled by GUIs: I learned to read and write, not 
to draw)

:)

And, yes, things has changed since I used for dia2sql :)
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: For Windows platform: which Dia plugin or App to simplify design and documentation of small Database Applications ?

2012-10-28 Thread Thomas Harding

Le 28/10/2012 11:13, Thomas Harding a écrit :



I can author a Dia sample, then test it and send both diagram and 
result. I think it will took
half an hour more (I'm puzzled by GUIs: I learned to read and write, 
not to draw)

:)

And, yes, things has changed since I used for dia2sql :) 


Done *a minimal one*.

It was not so obvious, you can double-click on tables and relation

I still get errors:
tom@salon:~$ parsediasql --db postgres --file Desktop/database.dia > 
Desktop/database.sql

[INFO] Replaced serial with integer
[INFO] components is an empty ARRAY ref

But it results correct statements.

It's a 2 tables sample (book / authors), books has ISBN, I have no idea 
of authors id, there can be same pen names and any other info is unsure: 
so it is numeric /serial :)


Sample has to be improved (mixed letters case, etc..), and isbn and 
serial are Postgres specific.


database.dia
Description: application/dia-diagram
<>-- Parse::SQL::Dia  version 0.20  
-- Documentationhttp://search.cpan.org/dist/Parse-Dia-SQL/
-- Environment  Perl 5.014002, /usr/bin/perl  
-- Architecture i486-linux-gnu-thread-multi-64int 
-- Target Database  postgres  
-- Input file   Desktop/database.dia  
-- Generated at Sun Oct 28 12:27:02 2012  
-- Typemap for postgres not found in input file   

-- get_constraints_drop 
alter table book drop constraint fk_author_id ;

-- get_permissions_drop 

-- get_view_drop

-- get_schema_drop
drop table Author;
drop table book;

-- get_smallpackage_pre_sql 

-- get_schema_create
create table Author (
   idserialnot null,
   name  varchar   ,
   surname   varchar   ,
   date_of_birth timestamp ,
   date_of_death timestamp ,
   pen_name  varchar   ,
   constraint pk_Author primary key (id)
)   ;
create table book (
   isbn  isbnnot null,
   title varchar ,
   author_id integer ,
   constraint pk_book primary key (isbn)
)   ;

-- get_view_create

-- get_permissions_create

-- get_inserts

-- get_smallpackage_post_sql

-- get_associations_create
alter table book add constraint fk_author_id 
foreign key (author_id)
references Author (id) ;
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: For Windows platform: which Dia plugin or App to simplify design and documentation of small Database Applications ?

2012-10-28 Thread Thomas Harding

Le 28/10/2012 12:38, Thomas Harding a écrit :

Le 28/10/2012 11:13, Thomas Harding a écrit :



I can author a Dia sample, then test it and send both diagram and 
result. I think it will took
half an hour more (I'm puzzled by GUIs: I learned to read and write, 
not to draw)

:)

And, yes, things has changed since I used for dia2sql :) 


Done *a minimal one*.

[see quoted post for attachments]
Dia can helps on design/design to code, while it is not the only tool 
(especially for

Java/MS-Windows you seems to target on... there is Eclipse)

Dia will help you if you need for separate tools (one tool, one function).
dia2code is a good one (for skeleton).


About other question (which RDBMS/DB engine to use) :

It could not be the "right" question!

http://en.wikipedia.org/wiki/PostgreSQL (really powerful & extensible, 
high scalability)


http://en.wikipedia.org/wiki/HSQLDB (I'm not aware of extensibility (eg: 
new types), can have small footprint, while needs Java: are you aware of 
the 2GB limit/32bits?)


http://en.wikipedia.org/wiki/SQLite (library, really small footprint, 
but no type coercition -- eg as in Python, more likely as in Perl (you 
fix a preffered type, it can change ; while in python a variable is not 
type-ed, but while "fixed" needs ~type cast), also: don't expect 
concurrency, eg to use on a (dynamic) web server this is definitely not 
suitable)


http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems

there are also numerous other database models than object-relational 
(and even for last there is not only SQL to query/define):

http://en.wikipedia.org/wiki/Database

So, the real question is: what do you want to do? how big is your data? 
do you need for foreign keys, table inheritance, ...? have you special 
types which needs a real coercition more than to be checked by triggers 
(or externally by your appliance)? is your appliance mono or multi-user? 
is your data relational (eg, see Apache CouchDB)?


In fact, to design your appliance on a schematic (UML class diagram is 
one of, especially to design underlying database, but this is not the 
only and you definitely must not forget the other UML ones!) will help 
you to decide.


Whatever you decide, the benchmarks are your matter and you'll need to 
experiment for your case with several prototypes /and/ a "fake" data set 
suiting your requirements, as possible as large as you'll fill.


My opinion is: excepting for "big data", it matters now only for 
embedded and handhelds (if it fails elsewhere, your code is definitely 
badly designed).


Note: on Linux you have memstat if you want check for memory 
consumption... I expect a graphical tool on MS-W$ also exists.


Regards,
TSFH.
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: @ Tom Harding - enhance misc:tree

2013-01-24 Thread Thomas Harding

Le 24/01/2013 02:34, Jeremy S a écrit :

Hi,

(my first post here: I _like_ Dia... a lot!)

I'm looking to use the dynamic 'tree' shape/object in a plumbing 
schematic but would welcome a bit more control over its properties. At 
the moment the only configurable property is the line colour, and I'd 
like to set (at least) the line width - so I've been reading through 
your C code (tree.c) and trying to see if I can spot where I would 
need to add some code.


I'm not too hot at C, but am prepared to give it a go - before I 
start, I was wondering if would you be able to make an estimate of 
whether it's a relatively small bit of work (<30 lines of code)?


All my apologizes : I'm not an exeperienced C programer and misc/tree is 
just a hack from network/ethernet bus !


However some scalable nodes ("..", ".","/.directory", "/directory" 
(including / for last)) should be added too to complete a true 
"filesystems" sheet.

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: DIA: improving existing and developing new templates

2013-02-07 Thread Thomas Harding

Le 07/02/2013 16:59, darrrylctx a écrit :
I would like to change/add functionality to some existing DIA 
templates and possible create some new ones.


How is this done, and what is the best resource for learning how to do it?



Dia format uses a subset of svg 1.1 specification from W3C.

For the "static" ones you would author by hand or in an svg editor,  the 
easiest way is to follow the "custom shapes" chapter provided by the 
manual :)


In short, "custom shapes" are an svg 1.1 xml subset, which is embedded 
in a  xml tag with, at option, one text tag.


For dynamic ones (what you have eg with lines or UML), the current way 
is C programming.


Any shapes set can be ~sorted in "sheets", which are also xml.

There are also a menu item in "save as" to export a diagram as a shape, 
and a button opening a toolbox to edit sheets.


This last method is limited to your "home" directory, especially for 
"sheets".


Best Regards, and good authoring,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Dia shapes - Belgian domestic electricity

2013-02-24 Thread Thomas Harding

Le 23/02/2013 23:38, Killian De Volder a écrit :
For the bounding box: putted a "invisible" X in the image to grantee 
the grid snapping.

(Also makes calculating the default with and height a breeze :).

Few more questions:
 - Can I add a thing in the file that gives it properties to modify 
the object ?
   (I have some icons that will looks very similar, so a object 
properties to toggle some extra lines on or off would be nice.)

   Or do I have to make 1 shape per deviation ? (Preferred ?)
 - Where can I set the default font-size for a shape ?
   (Before the user specifies the preferred font size.)
 - What license should I put these files under ? :p
   (BSD, LGPL, GPL ?)

[note: your post is the better mean to launch a flamewar on any Free 
Software mailing list]


The simpler is to choose Dia license itself, which is GPLv2.

Among other compatible licenses for distribution together with Dia, 
you'll find /modified BSD/ and LGPLv2.


Drawback is : there is no copyleft at all for the first (you can sell it 
together with proprietary software [fr: un logiciel privateur] eg. with 
modifications /and/ in an unreadable format), and it is "lesser" strong 
for the second (you still need to give also a readable format).


*Depending on your wishes*, this can be for you a drawback or not :)

IMHO:

 * Nowadays LGPL can be left back in favor of GPL, as GPL software has 
been spread enough and it is not needed proprietary software benefits 
longer on Libre one... (and in my opinion proprietary software can be 
safely dropped out).


 * Your work is a "technical" one... For an artistic work (such as 
fancy icons) I'll choose "CC-By-SA-3.0 unported", because Free Artistic 
Work is not widely spread /and/ publicity is still needed to kill the 
"Piracy" word which in contrary is, in interest of companies... but not 
authors :).



Best regards,
TSFH
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: license

2013-07-13 Thread Thomas Harding
(In short: Dia is GPL licensed)

Aucun problème concernant l'installation et l'utilisation, et ce quel
qu'en soit l'usage :

Dia est un Logiciel Libre, sous Licence Publique Générale GNU version 2.

En revanche, la redistribution du logiciel, qu'il soit modifié ou non,
doit également être effectuée sous le seing de ce contrat de licence (cf
site gnu.org).

Le 10/07/2013 15:30, rene.lacha...@ville.montreal.qc.ca a écrit :
> Hi I woul like to install DiA on my destop
>
> I am a employe of the city of montreal
>
> can i install for free the sofware DIA on my computer
>
>
>
> Thanks in advance
>
>
>
>
>
> René Lachance
> Inspecteur en bâtiment.
>
> Division de la voirie, de l'ingénierie et du développement du domaine
> public
> Direction des travaux publics
>
> Arrondissement de Villeray—Saint-Michel—Parc-Extension
> 7501 François-Perrault, bureau 122
> Montréal, Qc, H2A 1M1
>
> Tél. : (514) 872-6590
> Téléc. : (514) 868-4067
>
>
> ___
> dia-list mailing list
> dia-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://live.gnome.org/Dia/Faq
> Main page at http://live.gnome.org/Dia
>

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Electrical project

2013-07-26 Thread Thomas HARDING
Hello / bonjour

the "custom shapes" section of Dia manual will help. There are
limitations to the SVG1/1 specs (only a subset is implemented -- think
no gradients nor splines, but this is given in the manual).

le chapitre "custom shapes" du manuel de Dia devrait fournir la réponse.
Les spécifications SVG 1/1 ne sont pas implémentées à 100%, et les
balises utilisables sont données par le manuel.

you can also import a svg file (if in the svg subset), then save it as a
dia shape. There is also an interface to build sheets (collections of
shapes).

En important un fichier svg compatible, on peut également le sauver
comme une forme dia. Il existe une interface graphique pour construire
des collections ou "feuilles" (sheets) de formes (shapes).

IMHO, it is preferable to hand-writing the SVG code, even only for cleanup.

Cordially,
TSFH

Le 25/07/2013 21:39, christophe cabrera a écrit :
> Hi all,
> Sorry for my english, but i’m french ...
> Since fewyears, i made (modified) an web application LogEleec(based on
> SVG-Edit).
> I make a important librairie with Inkscape.
> Application link : http://logeleec.myeleec.fr
> 
> Forum link : http://forum.myeleec.fr/viewforum.php?f=85
> Actually, a lot of people asked us to make a offline version.
> I find DIA, i tryed to import all my librairie (SVG) but idon’t find
> how can i do.
> If someone can help me,you would be welcome.
> Thanks alot for your help.
> Christophe
>
>
> ___
> dia-list mailing list
> dia-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://live.gnome.org/Dia/Faq
> Main page at http://live.gnome.org/Dia
>

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: DIA - Problem with printing

2013-12-20 Thread Thomas HARDING


[I expect no traffic from maintainers on that day's]

Not at all: by default, setup is done to print several pages -- because 
it assumes you'll draw large diagrams. So: do the setup on diagram 
preferences to "fit one page" on printing (fine blue lines will enclose 
your diagram and that area will increase together with)


There is no "fee licensed" version of Dia, at least in mainstream (and 
any fork of will have same license -- GPL, with source code as no extra 
cost -- or, at option, will be illegal).


Regards,
Thomas

On 17/12/2013 22:04, Lorenz Bachmeier wrote:


Hello,

I’m using your program to picture a process. If I print this page, 
only half of the page is printed: The forms are visible, the 
inscription disappear down the middle. What’s the reason for? Is it 
due to the license?


Thank you very much!

Kind regards,

LB



___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



  1   2   >