Re: Sozi integration

2015-05-14 Thread Paul Chavent
Hi I did a merge request on github in order to solve this issue. The solution is that i've removed the configure option, and i've added the capabilities to find sozi engine in three pathes : home, install, or in DIA_SOZI_PATH env variable. Regards. Paul. On 01/27/2015 10:03 PM, Pa

Re: Sozi integration

2015-01-27 Thread Paul Chavent
On 01/25/2015 09:37 PM, Hans Breuer wrote: Am 23.01.2015 um 22:09 schrieb Paul Chavent: On 01/22/2015 09:19 PM, Hans Breuer wrote: Am 18.01.2015 um 22:36 schrieb Paul Chavent: [...] 3) the hardcoded SOZI_PATH wont work with free installation path I've tested with the configure option &q

Re: Sozi integration

2015-01-23 Thread Paul Chavent
Hi On 01/22/2015 09:19 PM, Hans Breuer wrote: Am 18.01.2015 um 22:36 schrieb Paul Chavent: [...] 3) the hardcoded SOZI_PATH wont work with free installation path I've tested with the configure option "--with-sozi-path=" pointing to a path that contains the sozi player file

Re: Sozi integration

2015-01-18 Thread Paul Chavent
Hi. On 01/16/2015 11:33 PM, Hans Breuer wrote: Am 15.01.2015 um 23:44 schrieb Paul Chavent: On 01/14/2015 09:40 PM, Hans Breuer wrote: [...] Please reconsider the importance of the message first. IMHO dumping random stuff to the console is almost never a good idea. The message should be less

Re: Sozi integration

2015-01-15 Thread Paul Chavent
On 01/14/2015 09:40 PM, Hans Breuer wrote: [...] Please reconsider the importance of the message first. IMHO dumping random stuff to the console is almost never a good idea. The message should be less verbose now. [...] Now I see rotation to be also implemented by move_handle modifiers. I've

Re: Sozi integration

2015-01-13 Thread Paul Chavent
Hi Thank you for the integration in the master branch. On 01/11/2015 10:45 PM, Hans Breuer wrote: [...] There seem to be some more bugs: - g_warning("sozi-object : use builtin player"); When running Dia in a debugger and with --g-fatal-warnings that's triggering a breakpoint. If it is

Re: Sozi integration

2015-01-11 Thread Paul Chavent
have the opportunity to discuss about the possible evolution of this module later, and i just wanted to let you informed. Regards. Paul. [1] http://sozi.baierouge.fr/release-14.10.html On 01/10/2015 10:41 PM, Hans Breuer wrote: Am 10.01.2015 um 22:17 schrieb Paul Chavent: On 01/10/2015 03:50 PM, H

Re: Sozi integration

2015-01-11 Thread Paul Chavent
Hi On 01/10/2015 10:41 PM, Hans Breuer wrote: Am 10.01.2015 um 22:17 schrieb Paul Chavent: On 01/10/2015 03:50 PM, Hans Breuer wrote: As I said I'm fine with pushing what we currently have. It is probably more simple to improve from that common base. Any objections? So, i suggest to s

Re: Sozi integration

2015-01-10 Thread Paul Chavent
On 01/10/2015 03:50 PM, Hans Breuer wrote: - apparently bounding box calculation is not completely correct with rotation (try to "rubber-band" selecting sozi-frame #6) I don't understand how to "rubber-band" and how to reproduce what you mean. - with sozi-frame ? To select sozi-fra

Re: Sozi integration

2015-01-10 Thread Paul Chavent
Hi On 01/10/2015 03:50 PM, Hans Breuer wrote: Hi Paul, Am 10.01.2015 um 00:09 schrieb Paul Chavent: > On 01/08/2015 11:24 PM, Hans Breuer wrote: >> Am 05.01.2015 um 15:47 schrieb Paul Chavent: [...] The media allows to insert video/audio in a presentation. I haven't extensive

Re: Sozi integration

2015-01-09 Thread Paul Chavent
Hi Hans. On 01/08/2015 11:24 PM, Hans Breuer wrote: Hi Paul, Am 05.01.2015 um 15:47 schrieb Paul Chavent: Hi Following this old thread (http://marc.info/?t=13120999131&r=1&w=4), I would like to re-submit a patch that brings "Sozi" (http://sozi.baierouge.fr/wiki/

Re: DIA export to svg without my extended attributes

2015-01-07 Thread Paul Chavent
Hi There are two svg export, one "cairo" and one "default". Have you tried both ? Regards. On 01/07/2015 05:23 PM, Doru Motas wrote: Hello, I intend to use DIA as graphic editor to create the graphical interface for a SCADA like application. I was able to create my own shapes and to add my

Sozi integration

2015-01-05 Thread Paul Chavent
Hi Following this old thread (http://marc.info/?t=13120999131&r=1&w=4), I would like to re-submit a patch that brings "Sozi" (http://sozi.baierouge.fr/wiki/en:welcome) to Dia. Sozi is a bit like Prezi, ie, it's a zooming presentation engine (with editor too). Some sample presentations are

Re: Connecting text with a line

2012-08-22 Thread Paul Chavent
Set the border color transparent ? Le 08/22/2012 02:39 PM, Julian Hagenauer a écrit : Hi, i want to draw a tree. The nodes should be text, and lines should connect the nodes. With dia it seems not possible to connect text with lines. So, the only way arround it seems to be using simple boxes wit

Re: [PATCH] Highlight color for bright text.

2012-04-26 Thread Paul Chavent
Le 04/26/2012 10:35 PM, Hans Breuer a écrit : At least I am ambivalent if we should replace the one single hard-coded color with just two hard-coded colors. A better idea might be to derive both these colors from the theme as discussed in https://bugzilla.gnome.org/show_bug.cgi?id=599447#c3 Do

Re: [PATCH] Highlight color for bright text.

2012-04-25 Thread Paul Chavent
Le 04/24/2012 10:32 PM, Hans Breuer a écrit : At 16.04.2012 07:17, Paul Chavent wrote: Hi. I've posted a patch some weeks ago. I'm surprised to had no reactions. So, i would like to take a second chance. I sometimes draw coloured squares (eg blue) with bright text inside (eg white

[PATCH] Highlight color for bright text.

2012-04-15 Thread Paul Chavent
i would like to suggest this patch and have your opinion. This patch still have a problem : it doesn't change the cursor color... but it's more a patch for opening the discussion than a definitive solution. Regards. Paul. >From ad6704a42ecc166fc8612cee970c149fdc052be7 Mon Sep 17 00:0

[PATCH] Highlight color exception for bright text.

2012-03-30 Thread Paul Chavent
lor... but it's more a patch for opening the discussion than a definitive solution. Regards. Paul. >From ad6704a42ecc166fc8612cee970c149fdc052be7 Mon Sep 17 00:00:00 2001 From: Paul Chavent Date: Fri, 30 Mar 2012 23:58:06 +0200 Subject: [PATCH] Highlight color exception for brig

Re: Patch for a new feature : sozi

2011-11-09 Thread Paul Chavent
.2011 22:50, Hans Breuer wrote: At 25.10.2011 01:27, Paul Chavent wrote: Hi Here is progression of the sozi integration. [all the OK stuff deleted] - better automatic sequence number generation [1] OK -> when adding a frame automatically find the last frame number available, and manage the

Re: Patch for a new feature : sozi

2011-10-24 Thread Paul Chavent
Hi Here is progression of the sozi integration. According to the previous comments : - only after reverting the agorithm switch (see above) the result of rotated sozi frame is correct OK -> there was bugs in transformation calculus. It should be ok now (for the three implementations). - IMO

Have a list of diagram of the sheet.

2011-10-12 Thread Paul Chavent
Hi. I'm currently developing the sozi integration to dia. Sozi allow to define successive frames that define views. So, for each frame, the user have to define its order. I would like to help the user and show him a list of every sozi frame of his sheet and allow him to change their order wit

Re: Patch for a new feature : sozi

2011-10-05 Thread Paul Chavent
Hi Hans. On 10/04/2011 04:02 PM, Hans Breuer wrote: At 27.09.2011 01:43, Paul Chavent wrote: Hi dia ml Here is the last patch for the sozi feature. There should be no more problems for applying the patches, Unfortunately the problems in applying the patch(es) persisted. In fact I was only

Re: SVG renderers

2011-09-29 Thread Paul Chavent
h one... Regards. Paul. On 09/28/2011 10:23 PM, Steffen Macke wrote: Hi Paul, On 09/28/2011 11:49 PM, Paul Chavent wrote: But what code implement the other svg renderer ? For example if i search where a text line is rendered, i see one implementation in lib/diasvgrenderer.c and an other in pl

SVG renderers

2011-09-28 Thread Paul Chavent
Hi. I think that i see the code that implement the cairo svg renderer. But what code implement the other svg renderer ? For example if i search where a text line is rendered, i see one implementation in lib/diasvgrenderer.c and an other in plugins/svg/render_svg.c If i disable the svg rendere

Re: html-link support

2011-09-28 Thread Paul Chavent
Hi. As a workaround, i can purpose the sozi feature (http://sozi.baierouge.fr/wiki/sozi). You can export your diagram to an "interactive" svg. So if you embed your diagram as an svg figure in your web page, you can make it a bit "dynamic". On 09/28/2011 07:25 AM, calderoni.ca...@gmail.com w

Re: It is possible to change shape type without deleting and recreating it?

2011-09-26 Thread Paul Chavent
For cool viewing an svg doc, can i suggest sozi ? It's a piece of js script added to your document that allow some navigation (pan zoom rotate) and transitions. I'm currently working on it's dia integration, but it already works with inkscape. On 09/26/2011 02:13 PM, Andrey Repin wrote: Gre

Re: Patch for a new feature : sozi

2011-09-14 Thread Paul Chavent
From "External "so" module." thread On 09/10/2011 10:45 PM, Hans Breuer wrote: At 11.09.2011 00:15, Paul Chavent wrote: So you recommend to concentrate my effort on module integration (i work on a "sozi editor") instead of trying to do an external module ? Yes

Re: External "so" module.

2011-09-11 Thread Paul Chavent
Hi Hans The sozi project even not provide an header. It only installs some ".py" ".js" and ".css" files in the inkskape extension folder. I think that their player should be more independent of the editors... On 09/11/2011 11:36 AM, Hans Breuer wrote: At 11.09.

Re: External "so" module.

2011-09-10 Thread Paul Chavent
Hans, On 09/10/2011 10:45 PM, Hans Breuer wrote: At 11.09.2011 00:15, Paul Chavent wrote: So you recommend to concentrate my effort on module integration (i work on a "sozi editor") instead of trying to do an external module ? Yes. IIRC the main thing blocking the inclusion with D

Re: External "so" module.

2011-09-10 Thread Paul Chavent
So you recommend to concentrate my effort on module integration (i work on a "sozi editor") instead of trying to do an external module ? Paul. On 09/10/2011 02:41 PM, Hans Breuer wrote: Hi Paul, At 01.09.2011 22:14, Paul Chavent wrote: Thank you Pierre-Louis. Is there any samp

Re: Dia: Why is it so hard to do simple things?

2011-09-08 Thread Paul Chavent
I don't know wich dia version you use. But, (1) for aligning object i often use object->align (2) for making a text (if you use) "T" bigger, double click then increase the font size (or change its type...). (3) for different font for different class, i think that's because you check "abstract

Re: losing images

2011-09-03 Thread Paul Chavent
I don't know what is a list ? If you mean export diagram files (.dia) to some image format (eg .png), dia can be invoked in command line. So with a shell script you can batch all your exports. Paul. On 09/01/2011 07:47 PM, Bill Rogers wrote: I have made and exported a number of images into a

Re: External "so" module.

2011-09-01 Thread Paul Chavent
Thank you Pierre-Louis. Is there any sample project that provide an external lib (to see how it deals with finding the dia source tree... or is there any way to install dia headers) ? Paul. On 09/01/2011 07:26 PM, Pierre-Louis Bonicoli wrote: On 01/09/2011 20:59, Paul Chavent wrote: Hi

External "so" module.

2011-09-01 Thread Paul Chavent
Hi Is it possible to write an external "so" module, that could be automatically loaded in dia if present in /lib/dia/ ? Thank you. Paul. ___ dia-list mailing list dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.

Re: Object copy.

2011-08-26 Thread Paul Chavent
On 08/26/2011 10:01 PM, Hans Breuer wrote: What is the problem you want to solve? I have a static counter in an init function that i call on the CreateFunc and CopyFunc. I hoped that this counter can be incremented for each new object on the sheet. But when i copy paste the object, the count

Object copy.

2011-08-26 Thread Paul Chavent
Hi. I'm currently coding in c a new object. I put a trace in my create handler, copy handler and destroy handler. When i hit CTRL+C on my object there are three instance that are created. When i close the file, two of them seem to be never destroyed. If i reopen a new file, when i hit CTRL+C,