Request for Test: menu bars in display window

2001-05-02 Thread Hubert Figuiere


I have filed a feature request for dia to have menu bar in
display window
see http://bugzilla.gnome.org/show_bug.cgi?id=52364

I have just finalized a patch that implements this. Since it
modifies several files, I'd like to have feedback for it to
fix any problem that may be raised before asking for inclusion 
into the main source tree. (patch is against current CVS)

So please grab the patch attached to the bug and test either
the GTK or GNOME build of Dia.

Things to know:
-it does not create a GNOME-style menubar. This will
be worked on late
-it moves the object menu to the right button since
since the menu bar REPLACE the popup menu. This is more
consistent with GNOME in general.
-menu bar is activated only by a preference. This change
is persistant.
-internally, this modification have been done on 0.86
tarball before moving them to CVS-HEAD. I have tested it
but I can't guarantee it is consitent with the change that
have been done beetween 0.86 and CVS-HEAD.
-I have not checked Bonobo build, but a quick grep 
shows that the build may break.


Hub




Test only : please ignore

2001-01-24 Thread James Sinnamon






test

2000-04-12 Thread James Henstridge

I think I got dropped from the list a bit over a week ago.  I am
sorry if I didn't respond to messages during that period.

I think I am subscribed again now (I will know for sure when I get this
message).

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/





dia-0.82 test release

1999-12-12 Thread James Henstridge

I have put together a test release of dia-0.82.  It is available at:
  ftp://ftp.gnome.org/pub/GNOME/testing/dia-0.82-test.tar.gz

It should be available on the mirrors in a little while.  If there are no
problems with it, I will release it as the new version.

I have not included the (incomplete) python plugin, or Cyrille's start on
the properties code (it is quite a big change, and I wanted to get what we
have now out as a tarball release).

Here are the items in the NEWS file.  If I have missed something, tell me
so I can include it.
* Dia has a new maintainer now.
* It is now possible to rearange the icons in the toolbox by editing
  simple XML files.  You can also create new sheets composed of your
  favourite shapes.  This feature is the work of Cyrille Chepov
* New bezierline object.  This object is by Lars Clausen and me (James).
* Better integration with the gnome file manager -- dia files now have an
  icon, and you can double click on a file to launch dia.
* more memory leak fixes based on purify runs by Bruce Mitchener.
* By holding down shift when using the zoom tool, you can zoom out.  This
  feature was from Patrick Reynolds.
* By holding shift when using the move tool, it changes its behaviour to the
  `grab' type scrolling as seen in acrobat, eog and other programs.
* More circuit shapes from Andreas Scherf.
* Other bug fixes I haven't mentioned above (see ChangeLog for details).

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/




Re: Test drawings

1999-09-16 Thread Eron Lloyd

Good ideas, Lars. I'll be pointing out things like that in my report. Also, I
recommend downloading the demo of Inspiration to get a feel for how it's layed
out. Check out the "Outline Mode", as well...

Eron.

Lars Clausen wrote:

> If anybody sits there wanting to do something, but not sure where to start,
> a good way to find bugs and missing features of Dia is to try to recreate
> other diagrams.  The example diagrams from Inspiration are useful for that
> (http://www.inspiration.com/diagrams/>).  A few things I found that
> way:
>
>   Having the image create tool pop up a file requester if no default
> picture is set (though I don't see a nice way to do that with the
> current modularization).
>   The 'Align/Equal Distance' moves the objects a little up/left.
>   The 'Align/Equal Distance' reorders the objects.
>   An 'Align/Consecutive' (or something) to align the objects next to each
> other would be useful.
>
> Hopefully I can hack a bit when my qual tomorrow is over.
>
> BTW, I like the new arrow selection widgets.  Cleaned a lot out of the
> settings from the other boxes.
>
> -Lars
>
> --
> Lars R. Clausen (http://shasta.cs.uiuc.edu/~lrclause)   HÃ¥rdgrim of Westfield
> "I do not agree with a word that you say, but I will defend to the death your
> right to say it." -- Voltaire (?)



Test drawings

1999-09-16 Thread Lars Clausen


If anybody sits there wanting to do something, but not sure where to start,
a good way to find bugs and missing features of Dia is to try to recreate
other diagrams.  The example diagrams from Inspiration are useful for that
(http://www.inspiration.com/diagrams/>).  A few things I found that
way:

  Having the image create tool pop up a file requester if no default
picture is set (though I don't see a nice way to do that with the
current modularization).
  The 'Align/Equal Distance' moves the objects a little up/left.
  The 'Align/Equal Distance' reorders the objects.
  An 'Align/Consecutive' (or something) to align the objects next to each
other would be useful.

Hopefully I can hack a bit when my qual tomorrow is over.

BTW, I like the new arrow selection widgets.  Cleaned a lot out of the
settings from the other boxes.

-Lars

-- 
Lars R. Clausen (http://shasta.cs.uiuc.edu/~lrclause)   HÃ¥rdgrim of Westfield
"I do not agree with a word that you say, but I will defend to the death your
right to say it." -- Voltaire (?)



Test newest CVS on strange visuals

1999-05-17 Thread Alexander Larsson

I've done some changes on the visual/colormap stuff.

Could people with strange/multiple x-visuals please try it?

/ Alex




test-report

1999-02-24 Thread Sebastian Fischmeister

Hello again.

First of all thanks for implementing the multiple instance-s
feature. Second, I hope you like my bug-reports ? :-)

 "bug" 

- place a class in a new sheet; choose modifier; double click it;
  press apply; close window; double click it --> the tapped folders no
  longer have descriptions (class, attributes, operations, templates)

 suggestions 

- the stereotypes should be movable (like normal text)
- multiplicity adornments should be movable (like normal text)
- names of relationships should be movable (like normal text)

- in a note the font should be edit-able
- export to eps -> defaultname = filename - ".dia" + ".eps"


Nevertheless I would not be able to write my report without dia !
Thanks for this wonderful tool...

  -Sebastian



New DiaImage code, please test

1999-02-15 Thread Alexander Larsson

I've made DiaImage a more complete wrapper as a preparation for
alternative image-libs. Sadly imlib won't work at all for me.
I get the following dump:

#0  0x40182cfe in ?? () from /usr/X11R6/lib/libXext.so.6
(gdb) bt
#0  0x40182cfe in ?? () from /usr/X11R6/lib/libXext.so.6
#1  0x40273f4c in ?? () from /opt/gnome/lib/libgdk_imlib.so.1
#2  0x40276ddf in ?? () from /opt/gnome/lib/libgdk_imlib.so.1
#3  0x806ac0b in dia_image_draw (image=0x80e0ca0, window=0x80ce388, x=111, y=87, 
width=40, height=40) at dia_image.c:50
#4  0x805fc68 in draw_image (renderer=0x80ce330, point=0x80cf2f0, width=2, height=2, 
image=0x80e0ca0) at render_gdk.c:881
#5  0x403367d5 in ?? () from 
/mnt/hdc4/home/alex/src/dia/app/../objects/standard/.libs/libstandard_objects.so

Could someone else try it (in current cvs) while i try to upgrade all my
glib/gtk/imlib components to see if it fixes this.

/ Alex




Re: test

1998-12-15 Thread Waldemar Zurowski

On Mon, Dec 14, 1998 at 11:17:15PM -0600, Alejandro Aguilar Sierra wrote:
> Any new? are you all on winter hollydays?

Well, working too :)

I hope to find some more time soon.

Bilbo



Re: test

1998-12-15 Thread Alexander Larsson

> Dear All
> 
> An easy question to start:  Can I get an archive of the previous
> messages to the list?  I have some catching up to do.  Has anyone
> considered submitting the mailing list to eGroups.com who monitor all
> sorts of mailing lists for access via the web.  If not, I could look at
> doing it.  It would be good to have a web accessible archive to dip back
> into.
 
It's archived at www.mail-archive.com, but there haven't been much traffic yet.
 
> So far I've been working on a simple block diagram library (which
> illuminated some interesting issues) and bashing out some layers ideas
> with Alex a while ago (i.e. pre-mailing-list).  You should be able to
> spot my name on the web pages somewhere...
 How goes the block-diagrams?
 
> > I'm currently working very hard to complete my masters thesis on the day, and
> > sometimes i hack a bit on the evenings.
> 
> Hmmm... sounds familiar (except for the completion part).
 Hehe.
 
> > This weekend i did some restructuring of the diagram structure, so now it 
> > supports layers
> 
> Yeah!!!  I'm really interested to know the design of the layer system
> which you have decided upon Alex.  Have you left some space for me to
> hook in "computational" layers?  :-)  No pressure.
It's very simple, and quite open to further modification.
Here are the core stucture: (from lib/diagramdata.h)

struct _DiagramData {
  Rectangle extents;  /* The extents of the diagram*/
 
  Color bg_color;
 
  GPtrArray *layers; /* Layers ordered by decreasing z-order */
  Layer *active_layer;
 
  guint selected_count;
  GList *selected;/* List of objects that are selected,
 all from the active layer! */
};
 
struct _Layer {
  char *name;
  Rectangle extents;  /* The extents of the layer*/
 
  GList *objects; /* List of objects in the layer,
 sorted by decreasing z-valued,
 objects can ONLY be connected to objects
 in the same layer! */
 
  int visible;
};

struct Diagram is split into the parts which are basically only interesting 
for the app (displays etc.) and the real data. This can probably be worked on 
further, but I have to start somewhere. Any comments?

> > and the diagram data is exported to lib/* so that object-libs can access it. 
> 
> Openess is always good, but how do you envision the object-libs using
> the diagram data?  Has there been any changes to the diagram structure
> to better support non-visual renderers?  Just so I know...

The move is mainly in preparation for letting object-libs register call-backs 
from the menus. These might save, export or otherwise do some calculations on 
a whole diagram meaning they have to know part of the diagram structure. The 
normal objects haven't changed, they need NOT know about the diagram structure.

About non-visual renderers. Not much is changed, but i plan to add 
render_begin and render_end methods, and i made a central routine to render a 
diagram like this:
typedef void (*ObjectRenderer)(Object *obj, Renderer *renderer,
   int active_layer,
   gpointer data);
extern void data_render(DiagramData *data, Renderer *renderer,
ObjectRenderer obj_renderer /* Can be NULL */,
gpointer gdata);  
extern void layer_render(Layer *layer, Renderer *renderer,
 ObjectRenderer obj_renderer /* Can be NULL */,
 gpointer data,
 int active_layer);

You basically call data_render with your DiagramData and Renderer, but if you 
need to draw the objects in some special way you can also pass an object 
renderer callback. (the callback is used now so that the on-screen rendering 
draws connection-point crosses too.)
 
> > Right now (==tonight) I'm doing the layers dialog and the saving/loading of 
> > layers.
> 
> Cool.  I was working on a layers dialog in Glade (which is awesome)
> before I left for my holiday a couple of weeks ago.  It's basically a
> reworking of the layers dialog in Gimp but with a nicer layout of the
> functions IMHO.  However, I think that the details of the dialogs should
> evolve with the functionality.

I'm just ripping of the gimp dialog. The plan is to have something that works 
and see how it works.
 
> > I hope to have something committed and working this week, because on friday
> > I'm going to my parents for christmas holiday, and i'll be without Linux for
> > 2-3 weeks :(
> 
> I'm not going anywhere over Christmas (being +10,000 miles away from
> home) so it would be great if I could play with the new layers. 
> However, I do also have the new Lego Mindstorms to play with, so I could
> be a little distracted. :-)

 Lego mindstorms.. Cool!

/ Alex




Re: test

1998-12-15 Thread Robert Saunders

Dear All

I've only just joined the Dia mailing list, so I should introduce myself
I guess.  My name is Rob and I'm a PhD student in Sydney, Australia. 
Which basically means that I don't have much time.  However, I do love
Dia and I'm keen to see it become as big a success as Gimp.  Which I
think is very likely.

An easy question to start:  Can I get an archive of the previous
messages to the list?  I have some catching up to do.  Has anyone
considered submitting the mailing list to eGroups.com who monitor all
sorts of mailing lists for access via the web.  If not, I could look at
doing it.  It would be good to have a web accessible archive to dip back
into.

So far I've been working on a simple block diagram library (which
illuminated some interesting issues) and bashing out some layers ideas
with Alex a while ago (i.e. pre-mailing-list).  You should be able to
spot my name on the web pages somewhere...

> I'm currently working very hard to complete my masters thesis on the day, and
> sometimes i hack a bit on the evenings.

Hmmm... sounds familiar (except for the completion part).

> This weekend i did some restructuring of the diagram structure, so now it 
> supports layers

Yeah!!!  I'm really interested to know the design of the layer system
which you have decided upon Alex.  Have you left some space for me to
hook in "computational" layers?  :-)  No pressure.

> and the diagram data is exported to lib/* so that object-libs can access it. 

Openess is always good, but how do you envision the object-libs using
the diagram data?  Has there been any changes to the diagram structure
to better support non-visual renderers?  Just so I know...

> Right now (==tonight) I'm doing the layers dialog and the saving/loading of 
> layers.

Cool.  I was working on a layers dialog in Glade (which is awesome)
before I left for my holiday a couple of weeks ago.  It's basically a
reworking of the layers dialog in Gimp but with a nicer layout of the
functions IMHO.  However, I think that the details of the dialogs should
evolve with the functionality.

> I hope to have something committed and working this week, because on friday
> I'm going to my parents for christmas holiday, and i'll be without Linux for
> 2-3 weeks :(

I'm not going anywhere over Christmas (being +10,000 miles away from
home) so it would be great if I could play with the new layers. 
However, I do also have the new Lego Mindstorms to play with, so I could
be a little distracted. :-)

Cheers

-Rob

-- 
Rob Saunders
mailto:[EMAIL PROTECTED]
http://www.arch.usyd.edu.au/~rob/
Key Centre of Design Computing, Sydney University



Re: test

1998-12-15 Thread Alexander Larsson

> Any new? are you all on winter hollydays?

Well, not much mail here...

I'm currently working very hard to complete my masters thesis on the day, and 
sometimes i hack a bit on the evenings. This weekend i did some restructuring 
of the diagram structure, so now it supports layers and the diagram data is 
exported to lib/* so that object-libs can access it. Right now (==tonight) I'm 
doing the layers dialog and the saving/loading of layers.

I hope to have something committed and working this week, because on friday 
I'm going to my parents for christmas holiday, and i'll be without Linux for 
2-3 weeks :(

/ Alex




test

1998-12-15 Thread Alejandro Aguilar Sierra

Any new? are you all on winter hollydays?