linewidth is now working for PS_SOLID
[dia.git] / ChangeLog
blob526caa31f3c119abff5219f7931742578116f04b
1 2004-07-08  Steffen Macke <sdteffen@web.de>
3         * plug-ins/wmf/wmf.cpp (UsePen): linewidth is now working for PS_SOLID  
5 2004-07-05  Hans Breuer  <hans@breuer.org>
7         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
8         -std=c89. Mostly //-comments and M_PI -> G_PI
9         [Istar, Jackson, KAOS were removed from build cause they
10         simply have *too* much C++ comments ;]
11         * object/UML/association.c : use g_strdup() not plain strdup()
12         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
13         isn't known with more portable signal code
14         
15         * app/app_procs.c : don't call gtk_init() if just --version
16         is requested (bug #144321, Vladimir Kondratiev)
17         
18         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
19         DiaFont* if not NULL
20         * objects/UML/class.c : moved fill_in_fontdata() to 
21         umlclass_load() to avoid such trouble, though unsure if
22         this really is an improvement...
23         
24         * shapes/network/makefile.am : patch-panel added here too
26 2004-07-04  Hans Breuer  <hans@breuer.org>
28         * sheets/network.sheet.in shapes/network/patch-panel.xpm
29           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
30         fixes bug #136629, James McDonald
32 2004-07-04  Hans Breuer  <hans@breuer.org>
34         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
35           lib/object_defaults.c : revert changing of Dia's XML namespace
36         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
37         about its purpose and relation to real world urls.
39         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
40         added comment about when to do so
41         [Should have been long time ago and probably multiple times
42         to avoid crashing on older plug-ins]
43         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
44         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
46         * lib/object.c objects/UML/class.c : there are still compilers not 
47         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
48         on the stack
49         * objects/UML/class.h : there is a differnce between a list pointer
50         and a list pointer pointer. We and GLib want the former.
52         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
53         if Gtk is initialized. Using gdk_display_get_default () avoids the
54         app/* dependency and is also closer to the requirements of the
55         plug-ins working.
57         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
58         some #ifdefed support for Cairo backends not public available yet.
60         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
61         windoze platform supports them. This should fix bug #109818, at
62         least for the majority running NT or above ...
63         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
65         * objects/makefile.msc : build Istar, Jackson and Kaos
67         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
68         keep old diagrams as they were - instead of this nice new effect ;-)
69         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
71         * objects/UML/class.c : mark for translation _("Wrap ...
73         * objects/UML/class.c : more correct types, also some default properties
74         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
76         * objects/UML/activity.c : removed a leftover from the 
77         use-localization-for-font-substitution-hack
79         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
80         'cvs admin -kb *.png' PNG files should already be *added* as binary,
81         otherwise they are not readable on line-end-converting-platforms
83         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
84         filter_get_by_name()
86         * plug-ins/python/pydia-property.c : some more g_warnings for
87         not implemented conversions
89         * plug-ins/python/group_props.py : ensure unique property values
90         at the right place. Now something like :
91         - load an old UML class diagram
92         - change one of the classes to wrap operations
93         - select all classes (/Select/Same Type)
94         - /Dialogs/Group Properties : check wrap_operations, select '1'
95         - Ok, works like a charm :-)
97 2004-07-04  Lars Clausen  <lars@raeder.dk>
99         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
100         pixbuf. (#145362)
101         
102 2004-07-03  Lars Clausen  <lars@raeder.dk>
104         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
105         <LAV@VL3143.spb.edu>: Fixes console output problems and some
106         interactiveness problems.
108 2004-07-02  Lars Clausen  <lars@reader.dk>
110         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
111         app isn't interactive.
113 2004-07-01  Lars Clausen  <lars@raeder.dk>
115         * plug-ins/cairo/diacairo.c: Add init of last field of filter
116         struct to remove crash.
118         * sheets/Makefile.am (sheet_in_files): 
119         * shapes/Makefile.am: 
120         * sheets/ChemEng.sheet.in: 
121         * shapes/ChemEng/Makefile.am: 
122         * configure.in: 
123         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
124         Chemical engineering shapes.
125         
126         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
127         multiple arguments when using devel script.
129         * app/display.c (new_display): 
130         * app/dia-props.c: 
131         * lib/diagramdata.c (new_diagram_data): 
132         * lib/diagramdata.h: 
133         * app/preferences.h: 
134         * app/preferences.c: 
135         * app/grid.c: 
136         * app/diagram.c: 
137         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
138         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
140         * HACKING: 
141         * doc/pl/authors.xml: 
142         * doc/en/authors.xml: 
143         * lib/object_defaults.c (dia_object_defaults_save): 
144         * readme.win32 (BTW): 
145         * lib/persistence.c (persistence_save): 
146         * app/load_save.c (diagram_data_write_doc): 
147         * app/commands.c (help_about_callback): 
148         * README: Fix links to home page.
150         * lib/font.c: 
151         * app/load_save.c (diagram_data_load): 
152         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
153         loading, and guard against them when fonting.
155         * lib/diarenderer.c (draw_rounded_polyline): Patch from
156         anthonym@overture.com:  Make limited rounding a corner-specific
157         rendering-only thing.
159 2004-06-30  Lars Clausen  <lars@raeder.dk>
161         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
162         adjustment: If you can't fix it, at least don't change it.
164         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
165         code instead of individual code in here.
167 2004-06-29  Lars Clausen  <lars@raeder.dk>
169         * objects/UML/association.c: Patch from Kiran
170         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
171         text. 
173         * lib/geometry.c: 
174         * lib/geometry.h: 
175         * lib/diarenderer.c (draw_rounded_polyline): 
176         * objects/standard/polyline.c (polyline_draw): 
177         * objects/standard/zigzagline.c (zigzagline_draw): 
178         Patch from anthonym@overture.com:  Add rounded polylines.
180 2004-06-27  Lars Clausen  <lars@raeder.dk>
182         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
184         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
185         free family list before taking out the pointer we need. Also set
186         the entry_nr correctly so we get the menu set up right.
188 2004-06-23  Lars Clausen  <lars@raeder.dk>
190         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
191         images at the right place.
193         * objects/Istar/actor.c
194         * objects/Istar/goal.c
195         * objects/Istar/istar.c
196         * objects/Istar/istar.h
197         * objects/Istar/link.c
198         * objects/Istar/other.c
199         * objects/Jackson/domain.c
200         * objects/Jackson/jackson.c
201         * objects/Jackson/jackson.h
202         * objects/Jackson/phenomenon.c
203         * objects/Jackson/requirement.c
204         * objects/KAOS/goal.c
205         * objects/KAOS/kaos.c
206         * objects/KAOS/kaos.h
207         * objects/KAOS/metaandorrel.c
208         * objects/KAOS/metabinrel.c
209         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
210         <cp@cetic.be>: Fix instability issues caused by not returning NULL
211         in *_move_handle and *_move.  Also improved the headers with
212         correct (c) information.
214 2004-06-22  Lars Clausen  <lars@raeder.dk>
216         * objects/KAOS/goal.c:
217         * objects/KAOS/other.c:
218         * objects/Istar/actor.c:
219         * objects/Istar/goal.c:
220         * objects/Istar/other.c:
221         * objects/Jackson/domain.c:
222         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
223         <cp@cetic.be>: Fix resize issues.
225         * app/filedlg.c (file_dialog_hide): Patch from Kiran
226         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
227         related dialog. #129520.
229         * app/dia-props.c (diagram_properties_show): Patch from Kiran
230         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
231         a child of its diagram. #129520.
233         * objects/UML/association.c (association_load): Patch from Kiran
234         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
235         text placement. #118313.
237 2004-06-17  Lars Clausen  <lars@raeder.dk>
239         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
241         * Makefile.am: Make THANKS only be generated by maintainers.
243         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
244         Makefile, too.
246         * configure.in: Added three missing Makefiles.
248         * app/diagram.[ch]: 
249         * app/filedlg.c:
250         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
251         diagram-related (save) dialog when closing diagram.  To be
252         extended to other dialogs.
254         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
256         * samples/Istar.dia:
257         * samples/Jackson.dia:
258         * samples/KAOS.dia:
259         * sheets/Istar.sheet.in:
260         * sheets/Jackson.sheet.in:
261         * sheets/KAOS.sheet.in:
262         * sheets/Istar/*:
263         * sheets/Jackson/*:
264         * sheets/KAOS/*:
265         * objects/Istar/*:
266         * objects/Jackson/*:
267         * objects/KAOS/*:
268         * configure.in: 
269         * objects/Makefile.am (SUBDIRS): 
270         * sheets/Makefile.am (SUBDIRS): 
271         * samples/Makefile.am: Additions from Christophe Ponsard
272         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
273         of hacking still.
275 2004-06-12  Lars Clausen  <lars@raeder.dk>
277         * lib/properties.h: 
278         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
280         * lib/font.h: Toning down comments a bit:)
282         * lib/font.c (dia_font_build_layout): Playing around with DPI 
284         * objects/UML/association.c (association_load): Avoid crashes on
285         strcmp with NULL.
287         * objects/UML/association.c: Patch from kimmidi@novell.com:
288         Improve placement of labels when vertical.  Part fix of #118313
290         * lib/object.c (dia_object_is_selected): Grouped objects are not
291         selected, only the group itself.  Thus, don't crash when grouping
292         beziers. #143681
294         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
295         on how to represent empty strings.  Fixes #143639.
297         * lib/object.c (dia_object_is_selected): Added comment answer.
299 2004-06-12  Hans Breuer  <hans@breuer.org>
301         * lib/diagramdata.c lib/object.c : deal with grouped objects
302         not knowing their parent_layer, i.e. avoid crashing in 
303         dia_object_is_selected() via group_draw() [ Triggered by
304         playing with the Visio generated svg from bug #143455 ]
306         * plug-ins/python/diasvg_import.py : started to implement
307         transformation="translate(...)" and <style/> handling. Also
308         use some other completely bogus values for em/ex scaling
309         
310 2004-06-08  Lars Clausen  <lars@raeder.dk>
312         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
314 2004-06-07  Lars Clausen  <lars@raeder.dk>
316         * app/layer_dialog.c (layer_dialog_set_diagram): 
317         * app/display.c: Layer widget crash more properly dealt with in
318         layer dialog code.
319         
320         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
321         widget deselect was called during destroy, but called
322         ddisplay_flush, leading to a new display timeout after renderer
323         was dead.
325         * lib/widgets.c (dia_toggle_button_destroy): 
326         * app/recent_files.c (recent_file_menuitem_create): 
327         * lib/persistence.c (persistence_save_list): 
328         * app/commands.c (edit_delete_callback): 
329         * lib/object_defaults.c (dia_object_defaults_save): 
330         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
331         (#142669)
332         
333         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
334         debugging info.
336         * lib/diagramdata.c (new_layer): Initialize connectibility.
338         * app/display.c (ddisplay_obj_render): 
339         * app/diagram.c (diagram_find_closest_connectionpoint): Take
340         connectibility into account.
342         * app/layer_dialog.h (struct _DiaLayerWidget): 
343         * app/layer_dialog.c:
344         Connectible toggle updates, now works fairly well.
346         * app/select.c (select_transitive_callback): Make sure we're only
347         selecting in the same layer.
349 2004-06-04  Lars Clausen  <lars@raeder.dk>
351         * app/pixmaps/Makefile.am: Also install connectable images.
352         
353         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
354         layer toggles from layer itself.  Also update diagram correctly
355         for visibility.  Still need updates for connectivity behaviour.
357 2004-06-03  Hans Breuer  <hans@breuer.org>
359         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
361         * lib/diagdkrenderer.c(set_linejoin) : actually set
362         join_style not cap_style
363         (set_dashes): with the correct number of dashes
365 2004-06-03  Lars Clausen  <lars@raeder.dk>
367         * app/modify_tool.c (click_select_object): 
368         * lib/text.c (text_set_cursor): 
369         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
371 2004-05-31  Hans Breuer  <hans@breuer.org>
373         * lib/object_defaults.c : don't 'failed to load external 
374         entity "NULL"' when the defaults file does not exist, 
375         bug #108764 [again: somehow this got lost]
377         * app/paginate_gdiprint.cpp : don guess the WMF export 
378         filter used for printing but find it by unique name.
379         Also update for export_func renaming
380         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
381         provide some unique names
383         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
384           app/select.c : fix bug #140789 by always checking if there
385         still is an active diagram before accessing it
387         * app/defaults.c app/properties.c : user visible string should 
388         not read DiaObject but stay as "Object defaults/properties"
390         * app/app_procs.c : reduce the hack to pass --size to the
391         export via user_data to the only filter supporting it. Other
392         filters would crash on it or do worse ;(
394         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
396 2004-05-31  Lars Clausen  <lars@raeder.dk>
398         * lib/widgets.h: 
399         * lib/widgets.c: Use GtkType rather than guint for
400         dia_size_selector_get_type. 
402 2004-05-29  Lars Clausen  <lars@raeder.dk>
404         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
405         that it matches the screen output for selfoverlapping polygons and
406         beziers. 
408 2004-05-28  Hans Breuer  <hans@breuer.org>
410         * app/load_save.c : ignore empty groups on load and don't
411         write empty groups while saving
412         * lib/group.h (group_update_data): there is no first object
413         in empty groups and they probably don't need an update at 
414         all. Maybe the shold just not exist ?
416         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
417         text positioning as well as drawing of images with alpha
419         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
420         HAVE_WINDOWS_H or G_OS_WIN32 is defined
422 2004-05-28  Lars Clausen  <lars@raeder.dk>
424         * app/pixmaps/Makefile.am (imagedir): 
425         * app/pixmaps/visible.png:
426         * app/pixmaps/visible-empty.png: New images for the visibility
427         button in the layer dialog.
429         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
430         more border around the button.  Still some left when hovering the
431         mouse or selecting, and the grey background is annoying.
433         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
434         visibility connector.
436 2004-05-26  Lars Clausen  <lars@raeder.dk>
438         * configure.in (DB2MAN): Better check for db2man docbook place.
439         Need something even better.
441         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
443         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
444         extraeneous borders.
446         * dia_logo.png:
447         * dia_gnome_icon.png:
448         * samples/render-test.dia: Rendering test from Hans.
450 2004-05-24  Hans Breuer  <hans@breuer.org>
452         * lib/filter.h : renamed DiaExportFilter::export to
453         _DiaExportFilter::export_func (should not use c++ 
454         keywords (g++ specifc ?) in headers. Same for import
455         out of pure symmetry reasons
456         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
457           app/diagram.c app/filedlg.c : reflect functions renaming
459         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
460         under *NIX, too. [If you want something done, do it yourself ;-]
461         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
462         with wmf.cpp's GDI usage
463         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
464         [For the moment it does not much more than compiling, i.e. 
465         the produced WMF files are invalid, if not created on windoze.]
467         * configure.in : check for C++ to compile plug-in/wmf
468         
469         * objects/GRAFCET/boolequation.c : looks like fixing 
470         another leak (untested)
472 2004-05-23  Hans Breuer  <hans@breuer.org>
474         * acinclude.m4 : another attempt to fix 
475         bug #142032 (still not sure it's the right one,
476         but works for me(tm), which the other does not ;)
477         
478         * plug-ins/cairo/Makefile.am
479           plug-ins/Makefile.am 
480           configure.in : support building the new cairo
481         plug-in, if given --with-cairo and the cairo
482         packages are found, see http://cairographics.org
483         and also http://hans.breuer.org/dia/dia-cairo.htm
485         * plug-ins/cairo/diacairo.c : make it compile
486         with DEBUG_CAIRO defined, too.
488 2004-05-23  Hans Breuer  <hans@breuer.org>
490         * plug-ins/cairo/Makefile.am : initial attempt
492         * plug-ins/cairo/diacairo.c : a new exporter based on
493         Cairo http://cairographics.org rendering api. Currently
494         it just can export PNG and PS but one day it might get
495         PDF and more almost for free. [It is not yet included
496         in the *NIX build system due to lack of auto* magic.]
498         * plug-ins/pixbuf/pixbuf.c : always register the export
499         filter part. If the user does not want it it can be 
500         disabled by File/Plugins or explicit selected the other
501         one in the Export Formats List
503 2004-05-23  Hans Breuer  <hans@breuer.org>
505         * lib/dia_dirs.c : #include "message.h"
506           lib/widgets.c : #include "persistence.h"
507           lib/widgets.c(dia_font_selector_init) : still not C99
508           lib/persitence.h : removed unimplemented prototype
509           lib/persitence.c(persistence_load_list) : still not C99
510           app/create_object.c : #include "highlight.h"
511           app/layer_dialog.c : #include "widgets.h"
512           app/modify_tool.c : prototype functions before usage
513           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
514         [otherwise one will have a hard time to make C++ compile ;]
515           lib/dia_dirs.c : #include "message.h"
516           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
517           lib/
519         * plug-ins/xfig/xfig-import.c : dont initialize an int with
520         a string pointer
522         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
523         as documented, i.e. _not_ copying. Plugs a memory leak in
524         lib/dialibartrenderer.c
526         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
527         to radius to more of a clue what it is representing
529         * */makefile.msc lib/libdia.def : updated
531         ChangeLog : fixed some date copy&paste bug
533 2004-05-21  Lars Clausen <lars@raeder.dk>
535         * NEWS: Release tag.
537         * config.h.win32: Now 0.93+cvs
539         * RELEASE-PROCESS: Update with new info about release branches.
540         
541         * Many files:  Moved devel branch back into main trunk.  Should
542         have been done in the opposite way, with release in a branch.  
543         
544 2004-05-20  Hans Breuer  <hans@breuer.org>
546         * acinclude.m4 : disable setting of PYTHON_PREFIX
547         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
548         as workaround for bug #142032 (the real fix would 
549         involve some auto* knowledge which I don't have
550         either;)
551         
552         * plug-ins/python/Makefile.am : more python 
553         plug-ins to be installed (especially svg import,
554         but also 'simple scale' should be useable 
555         sometimes)
556         
557         * plug-ins/python/scascale.py : update display
558         after modifying selected objects
559         
560         * plug-ins/python/diasvg_import.py : initialize
561         stroke to none
562         
563 2004-05-18  Lars Clausen  <lars@raeder.dk>
565         * app/diagram_tree.c (select_node): Use
566         diagram_remove_all_selected to kill selected list.
568         * lib/font.c: Set language when using a different context.
570         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
571         and removed ctype include (#142661).
573         * lib/paper.c (get_default_paper): Changed isalnum to
574         g_ascii_isalnum and removed ctype include. (#142661)
576         * objects/custom/shape_info.c: 
577         * lib/dia_svg.c: 
578         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
580 2004-05-17  Hans Breuer  <hans@breuer.org>
582         * lib/object_defaults.c : don't 'failed to load external 
583         entity "NULL"' when the defaults file does not exist, 
584         bug #108764
586         * lib/widgets.c : fixed possible menu leak
587         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
588         avoid finalization of floating references, bug #142307
590 2004-05-15  Lars Clausen  <lars@raeder.dk>
592         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
593         fonts better (#138655)
594         
595         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
597         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
598         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
600         * Makefile.am (CLEANFILES): 
601         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
602         translation-reports, they are generated automagically.  THANKS
603         file not considered locally generated, so is not locally
604         cleaned. (#133735) 
606         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
608         * lib/diaarrowchooser.c: 
609         * lib/prop_attr.c: Fixing naming for arrowselector.
611         * objects/UML/object.c (objet_type): Oops, little too aggressive
612         with the DiaObject thing here:)
614         * objects/custom/shape_info.c (parse_svg_node): Use
615         g_ascii_isdigit instead of isdigit.
617         * app/diaunitspinner.c (dia_unit_spinner_update): 
618         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
619         instead of isspace avoids char subscript issues (#142467).
621         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
622         return value conflict.
624         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
625         value conflict.  Also improved signature. (#142466)
627         * app/load_save.c (diagram_data_load): Don't overwrite the list in
628         the layer, but instead free the returned list (#142480)
630         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
631         for the grid widget.
633         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
635         * configure.in (DB2MAN): Currently just check for two known
636         positions for the docbook xsl.  Don't know a generic way to find
637         this info.  Ought to add an option for it, but then it's really
638         only required for maintainers, I think.  Maybe.
640         * app/display.c (update_snap_grid_status): Remove nasty image
641         toggling code not require for grid toggle button anymore. (#142475)
643         * app/interface.c (create_display_shell): Use
644         dia_toggle_button_new_with_images to create grid toggle button.
645         Much nicer. (#142475)
647         * app/menus.c (menus_initialize_updatable_items): Free the string
648         along with the GString. (#142475)
650         * lib/intl.c (free_alias_table): Free hash table entries in a
651         proper way, avoiding duplicate frees. (#142475)
653         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
654         not put in the hash (avoid reading freed memory). (#142476)
656         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
657         faces. (#142484)
658         (dia_font_selector_get_family_from_name): Stop leaking
659         families. (#142482) 
661 2004-05-14  Lars Clausen  <lars@raeder.dk>
663         * Transfer of fixes from release branch.  Not the prettiest way to
664         do it, this should be done during release, not afterwards.
666         Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
668         * acinclude.m4: minor fixes (added missing [] quotation).
670         Lars Clausen  <lars@raeder.dk>:
672         * app/interface.c (toolbox_delete): 
673         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
674         cancels quit due to modified diagrams.
676         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
678         * is.po: Added "is" to ALL_LINGUAS.
680         Lars Clausen  <lars@raeder.dk>:
682         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
684         Hans Breuer  <hans@breuer.org>:
686         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
687         burden should be shared and not be win32 only ;) [this time 
688         build was broken by adding GtkType to widget.h]
690         * objects/standard/box.c objects/standard/ellipse.c :
691         for code clarification compare (obj->aspect != FREE_ASPECT)
692         and not (obj->aspect); no binary effect.
694         * app/paginate_psprint.c : don't leak printcmd
696         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
697         standard C requires variables to be declared at the beginning of 
698         a block, also there is no fabsf() with msvc
699         
700         * app/win32print.[ch] : make win32_printer_close() return an
701         error code, it's used as pclose replacement
703         Lars Clausen  <lars@raeder.dk>:
705         * RELEASE-PROCESS: Mention PATCH keyword in release process.
707 2004-05-06  Lars Clausen  <lars@raeder.dk>
709         * lib/widgets.[ch]: Utility function to make a widget with two
710         images (selected and non-selected).
712         * lib/diagramdata.h: Renamed selectable to connectable.
713         Selectable will come later.
715         * configure.in: 
716         * app/pixmaps/Makefile.am (imagedir): 
717         * app/pixmaps/connectable.png:
718         * app/pixmaps/connectable-empty.png: New images for the
719         selectability widget.  Proper installation, too.
721         * app/layer_dialog.[ch]: Adding new button showing connectability
722         status.  Much cleaner way of doing the button, but some problems
723         with the item getting selected
725         * lib/widgets.h: Reminder of how to install images for use by
726         dia_get_image_from_file.
728 2004-05-05  Lars Clausen  <lars@raeder.dk>
730         * objects/network/Makefile.am: 
731         * objects/network/pixmaps/radiocell.xpm: 
732         * objects/network/pixmaps/basestation.xpm: 
733         * objects/network/network.c: 
734         * objects/network/basestation.c: 
735         * objects/network/radiocell.c: 
736         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
737         station objects.
739         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
740         Backslash arrow head. 
742         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
743         Notify takes care.  Should maybe use that more.
745         * lib/diagramdata.[ch]: 
746         * app/filedlg.c (file_export_ok_callback): 
747         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
749         * app/dia-props.c (diagram_properties_respond): 
750         * app/diagram.c (diagram_set_modified): 
751         * app/undo.c: 
752         * app/disp_callbacks.c: 
753         * app/commands.c: 
754         * app/load_save.c (diagram_save): 
755         Better handling of undo and modified status -- only diagram
756         properties and page setup explicitly set modified status, all
757         other important changes should be done through the undo stack
758         now.
760 2004-05-04  Lars Clausen  <lars@raeder.dk>
762         * app/app_procs.c (app_init): Consistently open a new diagram if
763         none specified, with standard name Diagram1.dia.
765         * app/layer_dialog.c: 
766         * app/diagram.c (diagram_finalize): 
767         * app/commands.c (dialogs_layers_callback): 
768         * app/filedlg.c (file_export_ok_callback): 
769         * app/app_procs.c (app_exit): 
770         * app/display.c (display_set_active): 
771         * app/interface.c (dia_dnd_file_drag_data_received): 
772         * app/recent_files.c: 
773         Undone attempt at unifying the multi-diagram windows (like
774         layers).  It broke the layers and didn't make much sense for the
775         diagram properties dialog anyway.
777         * lib/group.c: 
778         * lib/diatypes.h: 
779         * lib/diagramdata.c: 
780         * lib/object.h: 
781         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
782         many subclasses have to be fixed.  Fixed remaining
783         Object/ObjectType renaming issues.
785 2004-05-02  Lars Clausen  <lars@raeder.dk>
787         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
788           having to make all the children objects conform to
789           GObject style at once?  Warning!  Does not compile right now.
791         * many, many files: Rename Object to DiaObject in preparation for
792           making it a GObject.
793         
794         * app/diagram.[ch]: Turn diagram into a real GObject.
796         * app/pagesetup.c: 
797         * app/filedlg.c: Correctly ref and unref diagram. 
799         * lib/diagramdata.h: Starting to turn it into a GObject as well.
801 2004-05-02  Lars Clausen  <lars@raeder.dk>
803         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
804         GObject. 
806         * app/dia-props.c: Undo the attempt at making it really
807         multi-diagram, now going for a one-diagram dialog.
809 2004-04-30  Lars Clausen  <lars@raeder.dk>
811         * app/undo.c: Undoing broken undo stuff for diagram properties and
812         page setup.  Shouldn't be mixed into undo at all.
814         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
815         function to avoid in particular the grid crawling.
817         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
818         to allow aligning dashes, so they don't crawl.
820 2004-04-28  Lars Clausen  <lars@raeder.dk>
822         * app/Makefile.am: New files diacanvas.[ch]
824         * app/interface.c (create_display_shell): Use new diacanvas that
825         allows placing widgets on canvas, for text edit.
827         * lib/object.h: 
828         Early work towards rotation.  No implementation yet.
830         * app/layer_dialog.c (undo_layer): 
831         * objects/network/bus.c (bus_create_change): 
832         * objects/standard/box.c (aspect_create_change): 
833         * objects/standard/ellipse.c (aspect_create_change): 
834         Use g_new0 for change struct.
836         * app/undo.c (diagram_change_apply_or_revert): 
837         Support for undo of diagram properties and page setup.
839         * app/disp_callbacks.c (ddisplay_canvas_events): 
840         * lib/text.h: 
841         * lib/diagramdata.h: 
842         * app/modify_tool.c (click_select_object): 
843         * lib/text.c (text_register_editable): 
844         Starting work on new text editing model.  Guarded by #ifdef so
845         far. 
847 2004-04-07  Lars Clausen  <lars@raeder.dk>
849         * app/recent_files.c (open_recent_file_callback): 
850         * app/interface.c (origin_button_press): 
851         * app/filedlg.c (file_open_ok_callback): 
852         * app/display.c: 
853         * app/diagram.[ch]: 
854         * app/commands.c (dialogs_layers_callback): Using new
855         diagram_set_current() function to ensure auxilliary windows are
856         updated. 
858         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
859         menu now borken.  *sniff*
861         * app/dia-props.c: Diagram properties window attempted
862         persistentified.  Trying to make more like layer dialog (since it
863         already changes when the diagram changes), but some things still
864         borken. 
866 2004-04-06  Lars Clausen  <lars@raeder.dk>
868         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
869         * lib/attributes.c (attributes_set_default_line_style): 
870         * app/interface.c (create_lineprops_area): 
871         Make line style persistent as well.  Added function to directly
872         set the style and dashlength of a dialinechooser. 
874 2004-04-03  Lars Clausen  <lars@raeder.dk>
876         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
877         Copy the ellipse extra handle correctly.
879         * objects/standard/box.c (box_move_handle): Move definitions
880         according to bug #138925.
882 2004-04-02  Lars Clausen  <lars@raeder.dk>
884         * app/recent_files.c: Use absolute name for recent files list.
886         * lib/attributes.c: Set start and end arrow types, correctly.
888         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
889         to get arrow index.
891         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
893         * app/interface.c (create_lineprops_area): Set persistently stored
894         arrow info.
896         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
897         from arrow type.
899         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
900         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
902         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
903         with what xfig does.  Text now converted from latin-1 to utf-8
904         (latin-1, since that's what xfig seems to use.  Would like to see
905         examples of non-latin-1 figs).  String case problems fixed.
907 2004-04-01  Lars Clausen  <lars@raeder.dk>
909         * lib/attributes.c: 
910         * app/interface.c: Default arrows now stored persistently, too.
912         * lib/arrows.[ch]: New function to get arrow type from name.
914         * app/color_area.c (color_area_create): 
915         * lib/attributes.c: 
916         * app/linewidth_area.c: Also persistent colors and line width.
917         That was easy.  Arrows and line style will take a bit more work,
918         but not much.
920 2004-04-01  Lars Clausen  <lars@raeder.dk>
922         * app/preferences.c:   All preferences are now
923         handled by persistence, old prefs load and store code is gone.
925         * lib/persistence.[ch]: Added string and color persistents.  This is
926         a different string from the one used in the printer dialog, that
927         one has a GtkEntry attached -- may want to make that one an
928         encapsulation of this one or something.
930 2004-03-31  Lars Clausen  <lars@raeder.dk>
932         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
933         phased out anyway.
934         
935         * lib/persistence.[ch]: 
936         * app/preferences.c: Adding persistence for integers, reals,
937         booleans.  Fixed stupid list bug.  Test persistence for prefs.
939 2004-03-30  Lars Clausen  <lars@raeder.dk>
941         * app/recent_files.c: 
942         Debugging of deallocation.
943         
944         * lib/widgets.c: 
945         Font menu now uses persistence.  Ordering needs fixing, or it must
946         be sorted.
948         * lib/libdia.def: 
949         * lib/Makefile.am (libdia_la_SOURCES): 
950         * app/Makefile.am (dia_core_files): 
951         * app/persistence.[ch]: 
952         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
953         number of fixes, including multiple entries now being read
954         properly.  Still some oddity about the persistent list having the
955         role as first entry (which makes the font menu crash after a few
956         iterations). 
958 2004-03-26  Lars Clausen  <lars@raeder.dk>
960         * app/persistence.c:
961         * app/recent_files.[ch]: Redoing the recent-files list using
962         persistence, reducing code by about 50%.  Still a problem when
963         selecting an item from the menu -- possibly it doesn't like the
964         menu being destroyed while in the callback?
966 2004-03-25  Lars Clausen  <lars@raeder.dk>
968         * app/persistence.c (persistence_load_string): Missing semicolon?!?
970 2004-03-24  Lars Clausen  <lars@raeder.dk>
972         * RELEASE-PROCESS: 
974         * app/persistence.[ch]: 
975         * app/paginate_psprint.c (diagram_print_ps): New type of data can
976         be stored persistently:  Strings.  Only the printer command/file
977         go in here now, but things like creator, organization, diagram
978         comments etc could also be handled this way.
980         * objects/standard/beziergon.c (beziergon_draw): Avoid control
981         lines when the object is not selected.
983 2004-03-23  Lars Clausen  <lars@raeder.dk>
985         * lib/connectionpoint.h: 
986         * app/load_save.c: Allow connection points to have names, and
987         handle that in load/store.
989         * lib/dialibartrenderer.c: Better highlighting for text.
991         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
992         * lib/diagdkrenderer.c: Better highlighting for all, using same
993         principles as libart highlighter.
995 2004-03-22  Lars Clausen  <lars@raeder.dk>
997         * lib/dialibartrenderer.[ch]: 
998         * lib/diagdkrenderer.c: 
999         * lib/object.h: 
1000         * app/object_ops.c:
1001         * app/diagram.[ch]:
1002         * app/display.[ch]:
1003         * app/Makefile.am: 
1004         * app/modify_tool.c: 
1005         * app/create_object.c: 
1006         * app/highlight.[ch]: 
1007         Added simple object highlighting.  In GDK rendering, highlights
1008         the bbox, in libart highlights the outline of the object (except
1009         for texts).
1011 2004-03-22  Lars Clausen  <lars@raeder.dk>
1013         * RELEASE-PROCESS: Added info on how to do a branch for
1014         development during release process.
1016 2004-03-20  Lars Clausen  <lars@raeder.dk>
1018         * RELEASE-PROCESS: Mention PATCH keyword in release process.
1020 2004-03-19  Lars Clausen  <lars@raeder.dk>
1022         * xmldocs.make: Fixed apparent uninstall error.
1024         * config.h.win32: 
1025         * doc/en/dia-manual.xml: 
1026         * doc/pl/dia-manual.xml: 
1027         * dia.spec: 
1028         * configure.in: 
1029         * NEWS: Version 0.93-pre1.
1031         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
1032         borelli):  Remove some deprecated stuff.
1034 2004-03-18  Lars Clausen  <lars@raeder.dk>
1036         * Makefile.am: Try better uninstall thing for scrollkeeper.
1038         * objects/ER/entity.c: 
1039         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
1040         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
1041         1, 1 exactly, as well as associative ER entities.
1043 2004-03-17  Lars Clausen  <lars@raeder.dk>
1045         * Makefile.am: Make distcheck not complain about scrollkeeper
1046         problems (as per advice from James Henstridge).
1048         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
1049         standard installation.
1051         * objects/standard/ellipse.c: Better strings for object menu.
1053         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
1054         of dialogs (shame on you, glade!)
1056         * objects/custom/custom_object.c (custom_setup_properties):
1057         Removed debugging output
1059         * app/paginate_psprint.c (diagram_print_ps): Slightly more
1060         readable printer error messages.
1062         * xmldocs.make: 
1063         * omf.make: 
1064         * doc/en/Makefile.am: 
1065         * doc/pl/Makefile.am: 
1066         New more standard way to install the XML-based manuals.  
1068 2004-03-15  Lars Clausen  <lars@raeder.dk>
1070         * objects/standard/box.c (box_move_handle): More intuitive fixed
1071         aspect behaviour.
1073         * objects/standard/ellipse.c: 
1074         * objects/standard/box.c: 
1076         * lib/widgets.[ch]:
1077         * app/layer_dialog.[ch]:
1078         Patch from Steve Langasek <vorlon@debian.org>:
1079         Fixes startup crash on Alpha (bug #137169)
1080         
1081         * objects/standard/box.c: Aspect fixing like ellipses.
1083         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
1085         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
1086         pixmaps, now can uninstall properly.
1088         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
1089         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
1090         #93940. 
1091         Added object menu access.
1093 2004-03-07  Hans Breuer  <hans@breuer.org>
1095         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
1096         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
1097         would not use deprecated apis, but it's much simpler this way)
1099         * lib/makefile.msc : build the above new widgets and render_pixmap
1100         * lib/libdia.def app/dia.def app/makefile.msc : updated
1102         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
1103         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
1104         Previously it gave :
1105         disp_callbacks.c(188) : error C2059: syntax error : '}'
1106         disp_callbacks.c(191) : warning C4034: sizeof returns 0
1108         * app/interface.c : #include "dialinechooser.h"
1110         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
1111         [one more reason not to use it here : it's quite slow compared to
1112          the native win32 font renderer ;]
1114         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
1115         a GtkDialog*, removed unneeded cast
1117         * app/render_eps.c : avoid assignment warning for void* user_data
1118         not being an int 
1120 2004-03-06  Steffen Macke sdteffen@web.de>
1122         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
1123         shapes
1125 2004-03-06  Lars Clausen  <lars@raeder.dk>
1127         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
1128         0.5, as per poll.
1130         * lib/font.c: Simple cleanup system for layout cache removes any
1131         layout that hasn't been used for 10 minutes, but only during idle
1132         time. 
1134 2004-03-05  Lars Clausen  <lars@raeder.dk>
1136         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
1137         (lluis padro) (#130887): Extended Electric shapes with vertical
1138         versions. 
1140         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
1141         start with "Create a" or "A", always capitalize first word).
1143         * objects/standard/ellipse.c: Patch from Grégoire Dooms
1144         <dooms@info.ucl.ac.be>: Add extra connection point in center of
1145         ellipse.  Additionally added a handle in the center, and resize is
1146         now around the center.
1148         * configure.in: 
1149         * sheets/Makefile.am (SUBDIRS): 
1150         * sheets/IsometricMap.sheet.in: 
1151         * shapes/Map/Isometric/*
1152         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
1154 2004-03-04  Lars Clausen  <lars@raeder.dk>
1156         * lib/Makefile.am: 
1157         * lib/pixmaps/Makefile.am: 
1158         * configure.in: 
1159         Better installation handling of pixmaps.
1160         
1161         * lib/diagdkrenderer.c: 
1162         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
1163         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
1164         Constness fixes.
1166 2004-03-03  Lars Clausen  <lars@raeder.dk>
1168         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
1169         * lib/diagdkrenderer.c: 
1170         * lib/diasvgrenderer.c:
1171         * lib/dialibartrenderer.c:
1172         * lib/diainteractiverenderer.c: 
1173         * lib/prop_text.c (multistringprop_handle_key): 
1174         * lib/dia_dirs.c: 
1175         * lib/dia_image.c (dia_image_rgba_data): 
1176         * lib/widgets.c: 
1177         * lib/diagramdata.c (layer_set_object_list): 
1178         * lib/font.h: 
1179         * lib/font.c: 
1180         Getting rid of compile warnings.
1182         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
1183         images.  Also remove unused decls.
1185 2004-03-02  Lars Clausen  <lars@raeder.dk>
1187         * lib/widgets.h: 
1188         * lib/widgets.c (dia_size_selector_init): Add images to the size
1189         selector chain widget.  Also new function to load installed images
1190         from files (better than from included XPM, IMHO).
1192 2004-03-02  Lars Clausen  <lars@raeder.dk>
1194         * lib/libdia.def: 
1195         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
1196         size selector.
1198         * lib/Makefile.am: 
1199         * lib/widgets.c (dia_size_selector_init): Work
1200         on getting proper icon onto the size selector.  Need simple image
1201         load mechanism in utils.
1203         * lib/text.c: 
1204         * app/display.[ch]:
1205         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
1206         strings, handle utf8 strlen properly.  Bug #135930.
1208 2004-03-01  Lars Clausen  <lars@raeder.dk>
1210         * shapes/Cybernetics/*:
1211         * sheets/Cybernetics.sheet.in:
1212         * sheets/Makefile.am:
1213         * shapes/Makefile.am: 
1214         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
1215         Roggendorf): Cybernetic shapes (#95553).
1217 2004-03-01  Lars Clausen  <lars@raeder.dk>
1219         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
1221         * lib/diatypes.h: New type DiaSizeSelector.
1223         * lib/widgets.[ch]: New size selector widgets that selects two
1224         values (width and height, nominally) optionally linked to keep
1225         aspect ratio.
1227 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
1229         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
1230         in front of file. Bug #128600.
1232         * app/Makefile.am:
1233         * app/interface.h:
1234         * app/lineprops_area.[ch]:
1235         * lib/Makefile.am:
1236         * lib/dialinechooser.[ch]:
1237         * lib/widgets.c (dia_line_style_selector_init): use line preview 
1238         instead of text labels. This involve moving away line_chooser to lib
1239         from app.
1241         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
1242         symbol conflicts.
1244         * app/Makefile.am (dia_core_files): 
1245         * app/interface.c (create_lineprops_area):
1246         * app/render_pixmap.[ch]:
1247         * lib/Makefile.am:
1248         * lib/diaarrowchooser.[ch]:
1249         * lib/libdia.def:
1250         * lib/prop_attr.c:
1251         * lib/propdialogs.c:
1252         * lib/render_pixmap.[ch]:
1253         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
1254         of text labels. This involve moving away arrow_chooser to lib from
1255         app.
1257 2004-02-29  Lars Clausen  <lars@raeder.dk>
1259         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
1260         being updated half-way through destruction.  To be removed when
1261         the lists are replaced by something better.
1263         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
1264         Accelerators for class dialog.  Bug #130995.
1265         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
1267         * app/dia-props.c:
1268         * app/preferences.c:
1269         * lib/properties.c:
1270         * objects/GRAFCET/step.c:
1271         * objects/Misc/analog_clock.c:
1272         * objects/chronogram/chronoline.c:
1273         * objects/chronogram/chronoref.c:
1274         Change to american spelling (color, not colour) to ease
1275         translators job.  Note that a number of translations may need an
1276         update now.  Bug #120466.
1278 2004-02-29  Lars Clausen  <lars@raeder.dk>
1280         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
1281         Better arrow handling for missing arrows.
1283         * plug-ins/metapost/render_metapost.[ch]: Patch from
1284         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
1285         size. See bug #135363.
1287         * app/app_procs.c (app_init): If non-interactive, or if
1288         --log-to-stderr used, send all messages to stderr.  This should
1289         mean that old diaconv == dia --export-to-format=FOO BAR
1291 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
1293         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
1295 2004-02-28  Lars Clausen  <lars@raeder.dk>
1297         * lib/text.c (text_key_event): Patch from Kouhei Sutou
1298         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
1300 2004-02-27  Lars Clausen  <lars@raeder.dk>
1302         * KNOWN_BUGS: Added info on most commonly reported bugs, with
1303         BugZilla numbers.
1304         
1305         * app/disp_callbacks.c (popup_object_menu): Unified properties
1306         entry, fixes bug #105080.
1308         * app/diagram.c (diagram_update_menu_sensitivity): 
1309         * app/menus.h (struct _UpdatableMenuItems): 
1310         * app/menus.c (menus_initialize_updatable_items): Menu items
1311         changed around, align menus flattened, properties entry ghosted,
1312         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
1313         #117495, #135125.
1314         Also taking out Gnome menus for now.  They don't allow shortcuts,
1315         so what are they good for?
1317 2004-02-27  Lars Clausen  <lars@raeder.dk>
1319         * app/menus.c (display_menu_items): 
1320         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
1321         (bug #95546).
1323 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
1325         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
1327 2004-02-23  Lars Clausen  <lars@raeder.dk>
1329         * app/app_procs.c (app_init): Comments for translators.
1331 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
1333         * app/preferences.c (prefs_create_dialog): Change packing policy
1334         for widget to expand.
1336         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
1337         running with a debugger.
1339 2004-02-19  Lars Clausen  <lars@raeder.dk>
1341         * app/undo.[ch]: Adding last-saved information to undo to allow a
1342         diagram with all changes since last save undo to be marked as
1343         nonmodified.  Still needs integration with actual undo
1344         apply/revert calls.
1346         * app/diagram.h: 
1347         * app/diagram_tree.c (diagram_tree_update): 
1348         * app/diagram.c: 
1349         * app/display.c (update_modified_status): 
1350         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
1351         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
1352         test. 
1354         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
1355         vs. EPSI, comment out EPSI until preview is in there.
1357         * lib/render.c: 
1358         * lib/diarenderer.c: Removing debugging printfs.
1360         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
1361         (with preview)
1363         * objects/standard/arc.c (arc_update_handles): Check to avoid
1364         crash when start and end points are the same.
1366 2004-02-19  Lars Clausen  <lars@raeder.dk>
1368         * objects/standard/bezier.c: 
1369         * objects/standard/line.c (line_load): 
1370         * objects/standard/polyline.c (polyline_load): 
1371         * objects/standard/zigzagline.c (zigzagline_load): 
1372         * objects/standard/arc.c (arc_load): 
1373         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
1374         instead of hardcoding.
1376 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
1378         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
1379         display properties.
1381 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
1383         * app/app_procs.c: declare rc properly with the proper #ifdef
1385 2004-02-17  Lars Clausen  <lars@raeder.dk>
1387         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
1388         objects (which seemingly FIG itself breaks, or else there is no
1389         ordering).
1391 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1393         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
1394         width renderable in xfig.  Helps on bug #133637, but does not
1395         quite fix it -- something about depth is wrong.
1397         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
1398         Extern definitions for Mac compilation.
1400         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
1401         (jdassen@debian.org): Include fix.
1403         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
1404         sure the initial diagram size is correct.
1406 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
1408         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
1409         CPPFLAGS, as per automake warning.
1410         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
1411         LDFLAGS, as per automake warning.
1412         (run_dia.sh): More robust creation, and more easily moved.
1414         * app/undo.c (group_objects_revert): Don't double-free the objects
1415         list.  (#129221) Call object_add_updates on grouped objects.
1416         (ungroup_objects_revert): Call object_add_updates on grouped objects.
1418         * lib/diagramdata.c: Internal
1419         documentation. 
1421         * lib/polyshape.c (polyshape_update_data): Correctly calculate
1422         directions for polyshape corners (thanks, Valgrind!)
1424         * lib/attributes.c: 
1425         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
1427         * lib/arrows.h: Default arrow size defined.  After all are using
1428         this, may lower to 0.4 or so.
1430         * app/lineprops_area.[ch]: New function to set the arrow type for an
1431         arrow chooser.
1433         * app/interface.c (create_lineprops_area): Set default line to
1434         have an arrow (fairly likely to be what's wanted, plus it shows
1435         the user where arrows are set).
1437         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
1439 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1441         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
1442         Dotted lines should use dot_length, not dash_length.
1444 2004-02-06  Hans Breuer  <hans@breuer.org>
1446         * app/interface.c : don't use gtk_drawing_area_size() to avoid
1447         the defaut size being also the minimum size. Instead use
1448         gtk_window_set_default_size() on the display shell. Fixes #130982.
1450         [fixing #131210, but umlauts in the 'main' filename still not really 
1451          supported on systems where filesystem encoding != utf8
1452         (Problems with recent file menu and window title)]
1453         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
1454         to deal with possible differnces in filename encodings, see
1455         g_filename_<to|from>_utf8()
1456         * objects/standard/image.c : use them.
1458         * lib/widgets.c : handle possible encoding difference here, too.
1459         Also get rid of most warnings by using const and GTK casts where 
1460         appropriate; one wrong cast (probably causing a crash) was found/fixed 
1461         by this - the remaining give a hint on finally leaking FontSelectorEntry.
1463         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
1464         dia_file_selector_<get|set>_file to behave like the respective Gtk 
1465         functions do : encoding- and const-wise ;-)
1467 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
1469         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1471 2004-01-19  Hans Breuer  <hans@breuer.org>
1473         * app/app_procs.c app/diaconv : 
1474         only call bind_textdomain_codeset when available, what's good 
1475         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
1476         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
1478 2004-01-19  Steffen Macke <sdteffen@web.de>
1480         * makefile.msc: updated for new GAIM-like installer build; sync'ed
1481         ALL_LINGUAS with configure.in
1483 2004-01-18  Hans Breuer  <hans@breuer.org>
1485         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
1486         by not passing NULL to g_print()
1488         * app/interface.c (create_toolbox) : actually use
1489         persitence_register_window() to restore toolbox window size
1491         * app/makefile.msc lib/makefile.msc : allow to deselect
1492         building with Freetype by command line to nmake like :
1493                 nmake -f makefile.msc "NOFT2=1"
1495         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
1496         far as possible with Dia's limited line style
1497         * plug-ins/python/pydia-property.c : allow to get and set
1498         Linestyle, style and dash(length)
1500         * lib/object.h : removed typedef for ObjectId not use anywhere
1502 2004-01-17  Hans Breuer  <hans@breuer.org>
1504         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
1505           doc/shape.dtd doc/custom-shapes : 
1506         support for images in custom shapes, also removed some long-time
1507         dead code
1509         * doc/en/*.xml : fixed crippled line ends which get created
1510         when windoze line ends are checkin from the unix side
1512 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
1514         * configure.in: Added "sq" to ALL_LINGUAS.
1516 2004-01-11  Hans Breuer  <hans@breuer.org>
1518         [more less leaks ;-]
1519         
1520         * objects/SADT/annotation.c : use text_destroy() not g_free()
1521         
1522         * objects/chronogram/chronoline.c : neither leak chronoline::events
1523         nor chronoline::name
1525         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
1527 2004-01-11  Hans Breuer  <hans@breuer.org>
1529         * lib/properties.h :
1530         * objects/custom/custom_object.c : more properties optional
1531         to be backward compatible for older diagrams not having them 
1532         set. (Try to load samples/all_objects.dia)
1533         
1534         [less memory leaks thanks valgrind ;-]
1535         
1536         * app/recent_files.c (recent_file_history_write) : 
1537         g_free(history_filename);
1538         (recent_file_menu_item) : use g_path_get_basename() 
1539         which already strdups, free result of g_strescape()
1540         
1541         * app/filedlg.c (create_export_menu) : return of
1542         filter_get_export_filter_label() must be g_free()'d
1543         (create_open_menu) : same for import
1544         
1545         * app/export_png.c (export_png_ok) : destroy info ptr
1546         with png_destroy_write_struct()
1547         
1548         * app/app_procs.c (app_init) : g_free(export_format_string);
1549         
1550         * lib/font.c (dia_font_finalize) : finalize parent_class, too
1551         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
1552         refing it a second time, g_type_create_from_instance() is enough
1553         
1554         * lib/object_defaults.c (_obj_store) : don't mess with names
1555         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
1556         
1557 2004-01-11  Steffen Macke <sdteffen@web.de>
1559         * app/diapsftrenderer.c: including ftoutln.h
1560         * app/makefile.msc: updated for freetype build
1561         * lib/libdia.def: added dia_font_get_context()
1562         * lib/dialibartrenderer.c (draw_string): added cast
1563         
1564 2004-01-10  Hans Breuer  <hans@breuer.org>
1566         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
1567         transformed coordinates, fixes bug 130804
1569 2004-01-10  Hans Breuer  <hans@breuer.org>
1571         * app/filedlg.c app/app_procs.c : don't try to destroy 
1572         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
1573         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
1574         returns. Fixes 'has no handler' bugs like #121019
1576 2004-01-10  Hans Breuer  <hans@breuer.org>
1578         * objects/UML/class.c objects/UML/class_dialog.c : 
1579         handle umlclass->name being empty to avoid, i.e. fix #127968
1581         [plugging memleaks, thanks valgrind :-]
1582         
1583         * lib/dia_xml.c (data_string) : don't leak return value
1584         of xmlNodeListGetString()
1585         
1586         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
1587         before returning, maybe alloca() would be the better 
1588         choice but anyway ;)
1590         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
1591         
1592         * lib/font.c (dia_font_build_layout) : don't leak result
1593         of g_utf8_strdown()
1594         
1595         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
1596         (this is the one which got me started using valgrind, see #130816)
1597         
1598 2004-01-07  Sanlig Badral  <badral@openmn.org>
1600         * configure.in: Added "mn" to ALL_LINGUAS.
1602 2004-01-04  Hans Breuer  <hans@breuer.org>
1604         * lib/diagdkrenderer.c : replace rendering of really small (height
1605         less than 2 pixels) with a simple dashed line, you wont notice the 
1606         differnce beside it being much faster. This allows ...
1607         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
1608         * app/navigation.c : ... and lets you see an read rendered text even 
1609         in the nice navigation popup.
1611         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
1612         (draw_string) : don't leak temporary image
1614 2004-01-04  Hans Breuer  <hans@breuer.org>
1616         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
1617         * app/interface.c : use dia-app-icons.h to give Dia window icons
1619         * lib/dia_image.c lib/color.c : _never_ call functions implemented
1620         in app/ from lib/. It is not portable and broken from design
1621         * app/app_procs.c : call color_init() and dia_image_init() conditional,
1622         i.e. only if running interactive.
1624         * lib/font.h : #include <time.h>
1626         * lib/libdia.def : updated externals
1628         * objects/UML/actor.c 
1629             objects/UML/association.c (todo)
1630           objects/UML/branch.c
1631           objects/UML/class.[hc] objects/UML/class_dialog.c
1632           objects/UML/classicon.c
1633           objects/UML/component.c 
1634           objects/UML/constraint.c
1635           objects/UML/dependency.c
1636           objects/UML/generalization.c
1637           objects/UML/implements.c
1638           objects/UML/large_package.c
1639           objects/UML/lifeline.c
1640           objects/UML/message.c
1641           objects/UML/node.c
1642           objects/UML/object.c
1643           objects/UML/realizes.c
1644           objects/UML/small_package.c
1645           objects/UML/state.c
1646           objects/UML/usecase.c
1647           objects/UML/
1648         : ported coloring of most UML objects (bug #97517, orginal
1649           work Mathias Hasselmann)
1651         * lib/properties.h : add _OPTIONAL variants for 
1652         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
1653         i.e. default colored - UML diagrams without complaining
1654         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
1655         not set properties with the help of PXP_NOTSET. Otherwise 
1656         optional attributes would lead to wrong initialization. 
1658         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
1659         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
1660         Same for most other selectors which probably should be rewritten
1661         to the combo box with tree model from Gtk+ 2.4
1663 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
1665         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
1666         being the Right Thing(tm) to use on Solaris.
1668         * objects/standard/bezier.c (bezierline_draw): Don't draw
1669         guidelines if not selected.
1671         * lib/object.[ch] (dia_object_is_selected): Function to check whether
1672         a given object is selected. O(n), where n is # selected objects.
1673         
1675 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
1677         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
1678         Fonts dialog is closed without pressing Ok (bug #128646).
1680 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1682         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
1683         #130099). 
1685 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1687         * INSTALL: Updated list of requirements (bug #129653)
1689         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
1690         Pionchon <luc@handhelds.org>.
1692 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1694         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
1695         empty or NULL strings (bug #130097).
1697 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
1698         
1699         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
1700         Added checks against color_black.
1702 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1704         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
1705         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
1706         can happen.
1708         * objects/UML/component_feature.c: Patch from W. Borgert
1709         <debacle@debian.org>:  Add handle to component feature text.
1711         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
1713         * lib/font.c: Caching PangoLayout for better rendering speed.
1715 2003-12-30  Lars Clausen  <lars@raeder.dk>
1717         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
1718         get absolute file name from relative.
1719         * app/recent_files.c (recent_file_history_add): Use absolute
1720         filenames for recent files menu so that files can be found when
1721         Dia is invoked from other places.  
1723         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
1724         Actually load different diagrams if such are requested on command
1725         line.  
1727         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
1728         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
1730         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
1731         remove text rendering.  May be turned into greeking at some later
1732         stage.
1734         * app/interface.c: 
1735         * app/Makefile.am (dia_core_files): 
1736         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
1737         Adds navigation window a la Gimp, though without text being
1738         rendered at all.
1740 2003-12-27  Luc Pionchon <luc@handhelds.org>
1742         * app/navigation.h: (new file)
1743         * app/navigation.c: (new file) creates a navigation window with a
1744         thumbnail view of the whole diagram.
1745         * app/Makefile.am (dia_core_files): added new files.
1747         * app/interface.c (create_display_shell): added a button between
1748         the scrollbars to popup a navigation window.
1750         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
1751         boolean
1752         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
1753         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
1754         not want text rendering.        
1756 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1758         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
1760         * objects/custom/shape_info.[ch]: Cleanup.
1762         * objects/custom/custom_object.[ch]: Changed to use new props
1763         interface.
1765         * lib/properties.h: 
1766         * lib/prop_text.c: 
1767         * lib/prop_inttypes.c: 
1768         * lib/prop_geomtypes.c: Added *prop_get_data_size.
1770         * lib/libdia.def: Added object_load_props.
1772         * configure.in: Better FT2 version test, from bug #129225.
1774         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
1776         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
1777         Lehmann <holger.lehmann@catworkx.de>.
1779         * plug-ins/xslt/Makefile.am: 
1780         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
1781         and OWL XSLT sheets.
1783 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
1785         * lib/diagdkrenderer.c: Add implementation so text is still
1786         rendered.  May be improved later.
1788         * lib/dia_image.c: 
1789         * app/main.c: 
1790         * app/export_png.c: 
1791         * app/diagram.c: 
1792         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
1793         Allow running without a $DISPLAY!
1795         * lib/color.c: Remove warnings for non-interactive run.
1797         * doc/en/dia.dbk: 
1798         * app/export_png.c: 
1799         * app/diaconv.c: 
1800         * app/app_procs.[ch]: 
1801         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
1802         to specify size for PNG output.
1804         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
1805         render a little smaller, so as to fit the big ones.
1807         * lib/arrows.[ch]: New arrow type from W. Borgert
1808         <debacle@debian.org>: Filled Dot and Triangle.
1810 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1812         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
1813         for gif images.
1815         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
1817         * acinclude.m4: Better Python configure code patch (can't find
1818         author, author please speak up!)
1820 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1822         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
1823         smarter ones.
1825 2003-11-30  Hans Breuer  <hans@breuer.org>
1827         * plug-ins/python/diasvg.py : initialize self.dash_length
1828         in constructor to avoid crashing if the renderer user
1829         does not set it before first usage.
1831 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
1833         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
1834         active yet.
1836         * configure.in: 
1837         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
1838         development and stable versions.
1840         * lib/text.c (text_draw): Use new renderer function to draw the
1841         text.
1843         * lib/diarenderer.h: 
1844         * lib/diarenderer.c: New renderer function "draw_text" with
1845         default implementation.  This function should eventually be the
1846         main interface, as it will be able to handle width and caching of
1847         rendering internally.  All users of draw_string should convert to
1848         use Text objects and call either renderer->draw_text or text_draw,
1849         the latter if the text can be edited in-place (as should be the
1850         goal, eventually).
1852 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
1854         * shapes/Circuit/hresistor.shape: First example of extra
1855         attributes. 
1857 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
1859         * plug-ins/shape/shape-export.c: 
1860         * lib/diasvgrenderer.h: 
1861         * lib/diasvgrenderer.c: 
1862         * plug-ins/svg/render_svg.c (new_svg_renderer): 
1863         Actually store the font size, using DiaRenderer's font fields.
1865 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
1867         * objects/custom/shape_info.[ch]: 
1868         * objects/custom/custom_object.[ch]: 
1869         Support for extra attributes in custom objects.
1870         
1871 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
1873         * app/diagram.c (diagram_update_menu_sensitivity): More
1874         intelligent checks for menu sensitivity.  Might be slow on huge
1875         diagrams, but I think other things outweigh it by a lot.
1877         * app/menus.[ch]: Make "Bring Forwards"
1878         and "Send Backwards" updateable.
1880 2003-11-22  Steffen Macke <sdteffen@web.de>
1882         * shapes/Assorted/arrow-turn-up.shape:
1883         * shapes/Assorted/arrow-turn-up.png:
1884         * sheets/Assorted/Makefile.am:
1885         * sheets/Assorted.sheet.in: Added new arrow
1887 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
1889         * app/app_procs.c
1890         * app/color_area.c
1891         * app/commands.c
1892         * app/defaults.c
1893         * app/dia_embedd.c
1894         * app/diagram.c
1895         * app/diagram_tree.c
1896         * app/diagram_tree_menu.c
1897         * app/diagram_tree_window.c
1898         * app/diapagelayout.c
1899         * app/diaunitspinner.c
1900         * app/export_png.c
1901         * app/filedlg.c
1902         * app/interface.c
1903         * app/layer_dialog.c
1904         * app/lineprops_area.c
1905         * app/linewidth_area.c
1906         * app/menus.c
1907         * app/pagesetup.c
1908         * app/paginate_psprint.c
1909         * app/persistence.c
1910         * app/plugin-manager.c
1911         * app/preferences.c
1912         * app/properties.c
1913         * app/recent_files.c
1914         * app/sheets.c
1915         * app/sheets_dialog.c
1916         * app/sheets_dialog_callbacks.c
1917         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
1918         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
1920         * TODO: Updated, note on EPS transparency.
1922 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
1924         * objects/UML/class.c (umlclass_draw): Allow classes with no name
1925         without crashing.
1927 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1929         * config.h.win32: 
1930         * doc/en/dia-manual.xml: 
1931         * dia.spec: 
1932         * configure.in: 
1933         * NEWS: Another Brown Bag release for parenting problems,
1934         including a crash bug fix.
1936         * app/connectionpoint_ops.c (diagram_update_connections_object):
1937         Also update connections when moving children.  This can cause
1938         move_handle to be called twice, so it must be idempotent.
1940         * app/load_save.c: Loading and saving of children totally redone.
1941         Now doesn't violate assumption that all objects in a layer are
1942         placed in order in XML file.
1944         * objects/UML/branch.c (branch_create): Don't lie about being
1945         resizable. 
1947         * objects/UML/node.c (node_create): 
1948         * objects/UML/large_package.c (largepackage_create): Drag with
1949         lower right-hand handle at creation like all other objects.
1951 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
1953         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
1954         parenting drop to behave like a move inside, i.e. constrain place
1955         instead of trying to resize.  'Cause, resizing cannot be done for
1956         all objects (e.g. UML Class). Also simplified the algorithm a lot
1957         at the same time.
1959         * app/load_save.c: Saving and loading of connection points for
1960         children added.  Prototypes for static functions added.
1962         * lib/dynamic_obj.c: Removed debugging output.
1964 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1966         * doc/en/dia-manual.xml: 
1967         * doc/pl/dia-manual.sgml: 
1968         * dia.spec: 
1969         * config.h.win32: 
1970         * configure.in: 
1971         * NEWS: Brown Bag release 0.92.1
1973         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
1975 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
1977         * app/app_procs.c (app_init): Rearrangement for translators.
1979 2003-10-24  Steffen Macke <sdteffen@web.de>
1981         * lib/text.c(text_key_event): enforcing the inserted text length now,
1982         fix for bug #125348
1984 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
1986         * MAINTAINERS: Change Debian maintainer to be the default address.
1988         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
1989         args to match prototype, thus removing crashbug #125159.
1991         * RELEASE-PROCESS: Note to self.
1993 2003-10-22  Steffen Macke <sdteffen@web.de>
1995         * doc/en/dia-manual.xml: removed superfluous external references
1996         
1997 2003-10-21  Steffen Macke <sdteffen@web.de>
1999         * lib/libdia.def: added filter_get_by_name
2000         * app/render_eps.c: moved extensions definition outside #ifdef
2002 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2004         * Makefile.am: 
2005         * dia.1:
2006         Removed old Dia manual, put new one in doc/en/.  Translations
2007         should go in doc/??/.
2009         * doc/en/dia-manual.xml: 
2010         * doc/pl/dia-manual.sgml: 
2011         * dia.spec (Release): 
2012         * config.h.win32: 
2013         * configure.in: 
2014         * NEWS: 0.92 is here!
2016         * doc/en/dia.dbk: 
2017         * doc/en/dia.1: 
2018         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
2019         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
2020         but it shall be.
2022         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
2024         * doc/en/usage-objects-selecting.xml: Commented out empty note.
2026 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2028         * doc/pl/dia-manual.sgml: 
2029         * doc/en/dia-manual.xml: 
2030         * config.h.win32: 
2031         * NEWS: 
2032         * configure.in: 
2033         * dia.spec (Release): Pre7.
2035         * app/diapsrenderer.c (draw_string): Convert string to print based
2036         on current locale.  If conversion fails, fall back to UTF-8 (which
2037         is almost certain to be messy).
2039 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2041         * doc/pl/dia-manual.sgml: 
2042         * dia.spec (Release): 
2043         * configure.in: 
2044         * NEWS: 
2045         * config.h.win32: 
2046         * doc/en/dia-manual.xml: Pre6.
2048         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
2049         TeX chars in strings -- must be possible to use TeX text in there.
2050         Also avoids infinite loop bug (#124464) Will get option for this
2051         later.
2053 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2055         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
2057         * doc/en/dia-manual.xml: 
2058         * doc/pl/dia-manual.sgml: 
2059         * dia.spec (Release): 
2060         * configure.in: 
2061         * config.h.win32: 
2062         * NEWS: pre5.
2064         * app/authors.h: Removed duplicate of M. C. Nelson.
2066         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
2068         * app/export_png.c: Unique name for libart PNG export: png-libart.
2070         * app/render_eps.c: Unique names for the two eps export methods:
2071         eps-builtin, eps-pango.
2073         * lib/filter.h: Binary compatibility change: 
2074         Added unique name to export filters.  Can be NULL.
2075         * lib/filter.c (filter_get_by_name): Finding a filter by
2076         non-extension name.
2078         * app/app_procs.h: Changed prototype for do_convert.
2079         * app/app_procs.c (app_init): Support for non-extension file
2080         format selection for export.  Also allow extension to differ from
2081         that specified by the filters.  A bit of refactoring, too.
2083 2003-09-28  Steffen Macke <sdteffen@web.de>
2085         * makefile.msc: added target po to update the translations
2087 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2089         * config.h.win32: 
2090         * dia.spec (Release): 
2091         * NEWS: 
2092         * doc/pl/dia-manual.sgml: 
2093         * doc/en/dia-manual.xml: 
2094         Pre4 is given a short try.
2095         
2096         * configure.in: Give all necessary libs to PNG test.
2098         * lib/font.c: Added legacy entries for sans, serif and monospace.
2100         * app/app_procs.c (internal_plugin_init): 
2101         * app/render_eps.h: 
2102         * app/render_eps.c: 
2103         Added PS fonts output for Unix.
2105         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
2106         factor to make PS fonts stay in boxes.
2107         
2108 2003-08-03  Hans Breuer  <hans@breuer.org>
2110         * config.h.win32 : close the version string
2112         * lib/libdia.def : with color_white, color_black being static
2113         on win32 they can not be exported anymore either
2115         * lib/dialibartrenderer.c : text rendering is back on win32,
2116         only by Gdk though; almost a year seems to be enough to
2117         wait for my patch at bug #94791 to be accepted ...
2119 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2121         * shapes/network/{digitizing_board.png,plotter.png,
2122         laptop.png,telephone.png}: 22x22 icons.
2124 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2126         * doc/pl/dia-manual.sgml: 
2127         * doc/en/dia-manual.xml: 
2128         * dia.spec (Release): 
2129         * configure.in: 
2130         * config.h.win32: 
2131         * NEWS: 
2132         pre3 improves font rendering speed.
2134         * app/app_procs.c (app_init): Don't do pango init here, it's done
2135         on demand in font.c now.
2137         * lib/font.c: Load pango context on demand rather than during
2138         init/all the time strikes a better balance between working font
2139         size and speed.  Still need to cache width calculations.
2141 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
2143         * lib/dia_xml.c: Enable pretty printing.  Should have been added
2144         on 8/12. 
2146 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2148         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
2149         adjustment a bit for half diamond and open round.
2151         * RELEASE-PROCESS: Added note about notifying translators and
2152         maintainers. 
2154         * doc/pl/dia-manual.sgml: 
2155         * doc/en/dia-manual.xml: 
2156         * dia.spec (Release): 
2157         * configure.in: 
2158         * config.h.win32: 
2159         * NEWS:
2160         Update to 0.92-pre2.
2161         
2162 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
2164         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
2165         calculation for half diamond and open round.
2167         * lib/arrows.c: 
2168         * objects/UML/component_feature.c: 
2169         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
2170         arrows instead of specific little hacks.  Much nicer, but damn
2171         there's a lot of arrows.
2173         * lib/dialibartrenderer.c (begin_render): 
2174         * app/render_libart.c (begin_render): Use correct DPI for screen
2175         (well, actually the default DPI of 75 for now).
2177         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
2179         * lib/diagdkrenderer.c (draw_string): Some reformatting.
2181         * app/app_procs.c (app_init): Note on what should be done for the
2182         pango context now, only it doesn't work:(
2184         * lib/font.c (dia_font_new): Make sure to load fonts that are
2185         used, using a reasonable pango_context.  Also a comment on the
2186         global_zoom_factor, 
2188 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
2190         * doc/pl/graphics/*.png:
2191         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
2192         loop (bug #121817).  PL translator may want to change the
2193         home_network png to be in Polish.  If the docs get translated into
2194         more languages, we'll want to find out how to share these things.
2196 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
2198         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
2199         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
2200         splash.
2202         * app/filedlg.c (file_save_as_callback): Put filename setting
2203         together.  (Preparation for allowing default save dir.)
2205         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
2206         correctly this time:)
2208         * app/dia-props.c (diagram_properties_show): 
2209         * app/properties.c (properties_show): Make sure the
2210         dialogs are transient for the correct diagram.
2212 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2214         * configure.in: Make sure -lz -lm is passed into second png test
2215         as well (stupid AC_LINK_IFELSE can't take it as an argument).
2217         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
2218         comment-filled files readable.  Once we have a 'generic data'
2219         system, we can put comments in there.
2221 2003-09-06  Steffen Macke <sdteffen@web.de>
2223         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
2224         g_string_sized_new() instead of g_string_new() to make it compile
2225         * app/Makefile.am: including dia.ico and dia.rc in the tarball
2226         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
2227         for non-solid linestyles - otherwise custom linestyles have to be used.
2229 2003-09-02  Steffen Macke <sdteffen@web.de>
2231         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
2232         dia.chm
2234 2003-09-02  Christian Neumair  <chris@gnome-de.org>
2236         * sheets/Pneumatic.sheet.in: Slight unification fix.
2238 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
2240         * config.h.win32: 
2241         * configure.in: 
2242         * dia.spec (Release): 
2243         * doc/en/dia-manual.xml: 
2244         * doc/pl/dia-manual.sgml: 
2245         * NEWS: Update to 0.92-pre1.
2247         * app/properties.c (properties_key_event): Removing Esc/Enter
2248         handling for now, interferes to much with regular dialog usage.
2250         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
2251         Function to escape special TeX characters.  Not in use yet, as
2252         PSTricks output by default is TeX strings.  Should get a save-time
2253         selector. 
2255 2008-09-01  Steffen Macke <sdteffen@web.de>
2257         * lib/paper.h: explanatory comment on width and height
2259 2003-08-30  Steffen Macke <sdteffen@web.de>
2261         * lib/color.c:
2262         * lib/color.h: made color_white, color_black static on win32
2264 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
2266         * configure.in (PNG_LIBS): Something in the png tests added an
2267         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
2269 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2271         * configure.in: Quote correctly for temporarily adding freetype
2272         cflags to CPPFLAGS.
2274         * app/preferences.c (prefs_save): Remove debugging g_print.
2276 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
2278         * objects/flowchart/parallelogram.c (pgram_update_data):
2279         Directions for connections, better system for placing
2280         connectionpoints. 
2282 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2284         * lib/diagramdata.c (layer_find_closest_object_except): Look all
2285         the way through the object list, so the foremost object is selected.
2287         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
2288         included for diagramdata.c.
2290         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
2291         newline in multistringprop not close the dialog.  Failed so far.
2293 2003-08-25  Steffen Macke <sdteffen@web.de>
2295         * app/commands.c: using CHM instead of HTML on win32 if available
2296         * lib/diagramdata.h: including dynamic_obj.h
2298 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2300         * app/properties.c (properties_key_event): Make Enter = Ok for
2301         properties dialogs.  Still some problems with this and Esc for
2302         Cancel, for instances escaping out of a menu closes the dialog.
2304         * objects/UML/association.c (association_get_properties): 
2305         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
2306         focus. 
2308         * app/diapsft2renderer.c (draw_string): Use
2309         dia_font_scaled_build_layout to ensure similarity of text.
2311         * lib/diagramdata.c: Remove obj from dynobj list when removing
2312         from layer to avoid nasty race conditions.
2314         * app/undo.c (group_objects_revert): Make sure to unparent and
2315         remove from dynobj list when changing layers objects.
2317 2003-08-23  Steffen Macke <sdteffen@web.de>
2319         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
2320         StretchBlt(); fixes #92249
2321         
2322 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2324         * app/filedlg.c (file_save_as_callback): 
2325         * app/preferences.h: 
2326         * app/preferences.c (prefs_data): 
2327         * lib/diagramdata.h: 
2328         * lib/diagramdata.c (new_diagram_data): 
2329         * app/load_save.c (diagram_data_load): 
2330         Let the document remember whether it was compressed.  The user can
2331         still override this in the Save As... dialog, and that will still
2332         be remembered as the default for new diagrams.
2334 2003-08-23  Steffen Macke <sdteffen@web.de>
2336         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
2338 2003-08-22  Steffen Macke <sdteffen@web.de>
2340         * plug-ins/xslt/dia-uml.xsl:
2341         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
2342         table containing a list of components grouped by stereotype
2344 2003-08-21  Steffen Macke <sdteffen@web.de>
2346         * lib/makefile.msc: added connectionpoint.obj
2347         * lib/libdia.def: added connpoint_update, find_slope_directions
2348         * app/disp_callbacks.c: including scroll_tool.h
2349         * obj/makefile.msc: added component_feature.obj
2350         * app/paginate_gdiprint.c: fixed loop initialization in 
2351         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
2352         wrong
2354 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
2356         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
2357         move_handle call.
2359         * lib/diagramdata.h: Colors added to prefs.
2360         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
2361         New field for pagebreak color, which should
2362         behave the same as grid color and be settable for a diagram.
2364         * app/diagram.c (diagram_init): Update diagram pagebreak color
2365         from prefs. 
2367         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
2368         colors. 
2370         * app/preferences.[ch]: Default diagram colors now #defines, so
2371         loading can use it.  Also, colors are now in NewDiagramData, so
2372         are passed nicely into new diagrams directly from prefs.  Yum.
2374         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
2375         Support for loading and saving grid and pagebreak colors with the
2376         diagram.  I'm inclined to make all the three Colors in diagram
2377         Color*s instead, so we can tell if they're specified for the
2378         diagram or merely the default setting.  There'd be no way for the
2379         user to tell if the color of a diagram is default, though, unless
2380         we add a 'reset to default' button to prefs.
2382         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
2383         pagebreak color.  Unsensitizing grid size when dynamic.
2385         * objects/UML/component.c: Patch from Krzysztof Foltman
2386         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
2387         third.  Makes the left side connections actually be on the line
2388         (gasp!). 
2390 2003-08-20  Steffen Macke <sdteffen@web.de>
2392         * lib/libdia.def: added layer_find_closest_object_except
2393         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
2395 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
2397         * app/tool.h: 
2398         * app/tool.c: 
2399         * app/scroll_tool.c: 
2400         * app/interface.c: 
2401         * app/disp_callbacks.c: 
2402         * app/create_object.h: 
2403         * app/create_object.c: Patch from Krzysztof Foltman
2404         <kfoltman@onet.pl>: Middle button can scroll transiently when
2405         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
2406         various ways.
2408         * app/authors.h: 
2409         * sheets/UML.sheet.in: 
2410         * sheets/UML/receptacle.xpm: 
2411         * sheets/UML/Makefile.am: 
2412         * sheets/UML/eventsource.xpm: 
2413         * sheets/UML/eventsink.xpm: 
2414         * objects/UML/pixmaps/facet.xpm: 
2415         * objects/UML/uml.c (dia_plugin_init): 
2416         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
2417         * objects/UML/component_feature.c: 
2418         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
2419         event sinks.
2420         
2421 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2423         * lib/object.h: Turning some comments into doxygen style.
2425         * lib/object_defaults.c (dia_object_defaults_load)
2426         (dia_object_default_get, dia_object_default_create): 
2427         Fixing up existing documentation.
2429         * lib/object.h: Doxygen style documentation begun.
2431         * app/create_object.c: 
2432         * app/undo.c: 
2433         * app/connectionpoint_ops.c: 
2434         * app/disp_callbacks.c: 
2435         * app/modify_tool.c: 
2437         * objects/network/wanlink.c (wanlink_move_handle): 
2438         * objects/network/bus.c (bus_move_handle): 
2440         * objects/flowchart/parallelogram.c (pgram_move_handle): 
2441         * objects/flowchart/ellipse.c (ellipse_move_handle): 
2442         * objects/flowchart/diamond.c (diamond_move_handle): 
2443         * objects/flowchart/box.c (box_move_handle): 
2445         * objects/custom/custom_object.c (custom_move_handle): 
2447         * objects/chronogram/chronoref.c (chronoref_move_handle): 
2448         * objects/chronogram/chronoline.c (chronoline_move_handle): 
2450         * objects/SADT/box.c (sadtbox_move_handle): 
2451         * objects/SADT/arrow.c (sadtarrow_move_handle): 
2452         * objects/SADT/annotation.c (annotation_move_handle): 
2454         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
2456         * objects/GRAFCET/vergent.c (vergent_move_handle): 
2457         * objects/GRAFCET/vector.c (arc_move_handle): 
2458         * objects/GRAFCET/transition.c (transition_move_handle): 
2459         * objects/GRAFCET/step.c (step_move_handle): 
2460         * objects/GRAFCET/condition.c (condition_move_handle): 
2461         * objects/GRAFCET/action.c (action_move_handle): 
2463         * objects/FS/function.c: 
2464         * objects/FS/flow.c: 
2465         * objects/FS/flow-ortho.c (orthflow_move_handle): 
2466         * objects/FS/flow-poly.c (flow_move_handle): 
2468         * objects/UML/usecase.c (usecase_move_handle): 
2469         * objects/UML/state_term.c (state_move_handle): 
2470         * objects/UML/state.c (state_move_handle): 
2471         * objects/UML/small_package.c (smallpackage_move_handle): 
2472         * objects/UML/realizes.c (realizes_move_handle): 
2473         * objects/UML/object.c (objet_move_handle): 
2474         * objects/UML/note.c (note_move_handle): 
2475         * objects/UML/node.c (node_move_handle): 
2476         * objects/UML/message.c (message_move_handle): 
2477         * objects/UML/lifeline.c (lifeline_move_handle): 
2478         * objects/UML/large_package.c (largepackage_move_handle): 
2479         * objects/UML/implements.c (implements_move_handle): 
2480         * objects/UML/generalization.c (generalization_move_handle): 
2481         * objects/UML/fork.c (fork_move_handle): 
2482         * objects/UML/dependency.c (dependency_move_handle): 
2483         * objects/UML/constraint.c (constraint_move_handle): 
2484         * objects/UML/compprop.c (compprop_move_handle): 
2485         * objects/UML/component.c (component_move_handle): 
2486         * objects/UML/branch.c (branch_move_handle): 
2487         * objects/UML/association.c (association_move_handle): 
2488         * objects/UML/actor.c (actor_move_handle): 
2489         * objects/UML/activity.c (state_move_handle): 
2490         * objects/UML/class.c (umlclass_move_handle): 
2492         * objects/standard/ellipse.c (ellipse_move_handle): 
2493         * objects/standard/zigzagline.c (zigzagline_move_handle): 
2494         * objects/standard/textobj.c (textobj_move_handle): 
2495         * objects/standard/polyline.c (polyline_move_handle): 
2496         * objects/standard/polygon.c (polygon_move_handle): 
2497         * objects/standard/line.c (line_move_handle): 
2498         * objects/standard/image.c (image_move_handle): 
2499         * objects/standard/bezier.c (bezierline_move_handle): 
2500         * objects/standard/arc.c (arc_move_handle): 
2501         * objects/standard/beziergon.c (beziergon_move_handle): 
2502         * objects/standard/box.c (box_move_handle): 
2503         
2504         * objects/ER/relationship.c (relationship_move_handle): 
2505         * objects/ER/participation.c (participation_move_handle): 
2506         * objects/ER/entity.c (entity_move_handle): 
2507         * objects/ER/attribute.c (attribute_move_handle): 
2508         
2509         * lib/polyshape.c (polyshape_move_handle): 
2510         * lib/polyshape.h: 
2511         * lib/orth_conn.c (orthconn_move_handle): 
2512         * lib/orth_conn.h: 
2513         * lib/neworth_conn.c (neworthconn_move_handle): 
2514         * lib/neworth_conn.h: 
2515         * lib/element.c (element_move_handle): 
2516         * lib/element.h: 
2517         * lib/connection.c (connection_move_handle): 
2518         * lib/connection.h: 
2519         * lib/beziershape.c (beziershape_move_handle): 
2520         * lib/beziershape.h: 
2521         * lib/bezier_conn.c (bezierconn_move_handle): 
2522         * lib/bezier_conn.h: 
2523         *BINARY COMPATIBILITY CHANGE*
2524         Update prototype for *_move_handle() to include connectionpoint,
2525         and also pass on modifiers.  Pass in connectionpoint where
2526         applicable. 
2527         
2528         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
2529         file connectionpoint.c.
2531 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
2533         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2535 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2537         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
2539         * lib/beziershape.c (beziershape_update_data): Autoroute
2540         directions for beziershapes!
2542         * lib/connectionpoint.c (find_slope_directions): 
2543         * lib/connectionpoint.h: Function for finding the available
2544         directions on a slope.
2546         * lib/polyshape.c: Reasonable directions for
2547         connectionpoints.       
2549 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2551         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
2552         * objects/GRAFCET/vergent.c (vergent_update_data): 
2553         * objects/GRAFCET/transition.c (transition_update_data): 
2554         * objects/GRAFCET/action.c (action_update_data): 
2555         * objects/GRAFCET/step.c (step_update_data): 
2556         * objects/FS/function.c (function_update_data): 
2557         * lib/connpoint_line.c (connpointline_putonaline): 
2558         * objects/ER/attribute.c (attribute_update_data): 
2559         * objects/ER/entity.c (entity_update_data): 
2560         * objects/ER/relationship.c (relationship_update_data): 
2561         * objects/chronogram/chronoline.c (chronoline_update_data): Set
2562         directions for connection points.
2564         * objects/UML/component.c (component_create): Set to allow
2565         parenting. 
2567         * app/create_object.c (create_object_button_press): 
2568         * app/diagram.[ch] (diagram_find_clicked_object_except): 
2569         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
2570         Avoid parenting to objects you're connecting to (otherwise you
2571         couldn't make a connection out of a parenting object).  To do
2572         this, added functions to find the nearest object except a given
2573         list of objects.
2574         
2575         * app/render_libart.c: Rearrange libart include to avoid multiple
2576         include program (and put libart includes inside #ifdef!)
2578 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2580         * lib/dialibartrenderer.c: Don't include art_config.h if others
2581         also do, as it isn't #ifdef'd.
2583         * objects/flowchart/ellipse.c (ellipse_update_data): Add
2584         directions for connection points.
2586 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2588         * objects/flowchart/box.c (box_update_data): Add directions, use
2589         connpoint_update. 
2590         (box_load): Use g_malloc0.
2592         * lib/Makefile.am (libdia_la_SOURCES):
2593         * lib/connectionpoint.c (connpoint_update): 
2594         Function to call to update a connection point info in _update_data().
2595         
2596         * lib/connectionpoint.h: Convenience DIR_ macros.
2598         * app/preferences.c (prefs_data): Make pretty formatted XML the
2599         default.
2601         * lib/dialibartrenderer.c: 
2602         * app/render_libart.c: Make sure art_config.h is included, cause
2603         some libart headers are broken.
2605         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
2606         after test.  Add freetype-config cflags to cflags variable.
2608 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2610         * app/authors.h: Credits for Krzysztof.
2612         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
2613         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
2614         than the description) is visible in the title of the properties
2615         dialog.  That ought to be a short description (translatable),
2616         though we still want long descriptions for the tooltips.  Hmmm...
2618         * configure.in: Updated to use AC_LINK_IFELSE instead of
2619         AC_TRY_COMPILE, also force to link to check libs on Solaris.
2621         * objects/ER/entity.c (entity_load): 
2622         * objects/ER/attribute.c (attribute_load): 
2623         * lib/attributes.c (attributes_set_default_font): 
2624         Check if font is non-null before unreffing.
2625         
2626 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
2628         * app/diagram.c (diagram_ungroup_selected) 
2629         (diagram_group_selected): Use the undo apply to make sure grouping
2630         and ungrouping is done in consistent manners.  This removes a fair
2631         amount of duplicated code from diagram.c.
2633         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
2634         (group_objects_revert, group_objects_apply): Working undo/redo for
2635         diagram tree updates.  The initial actions still don't quite work.
2637 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2639         * app/create_object.c (create_object_button_press): 
2640         * app/undo.[ch]: 
2641         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
2642         undo only for manipulating the parent/child relationships.  Things
2643         like removing an object doesn't use the undo functions for
2644         parenting, so any updates to come (like to diagramtree) should be
2645         done in those, too.
2647 2003-08-03  Hans Breuer  <hans@breuer.org>
2649         * app/create_object.c : minor formating and g_new0 for
2650         tool creation
2652         * lib/bezier_conn.[hc] lib/beziershape.[hc]
2653           lib/prop_geomtypes.c (prop_geomtypes_register)
2654           objects/standard/bezier.c objects/standard/beziergon.c :
2655         ability to set bezpoints via StdProp api
2657         * plug-ins/python/pydia-property.c : convert list of tuples
2658         to BEZPOINTARRAY
2660         *  plug-ins/python/diasvg_import.py : use it to
2661         implement part of path parsing. Also minor improvements
2662         like inheritance of group attributes to members,
2663         whitespace, title and style:text/css ignoring ;-)
2665 2003-08-02  Hans Breuer  <hans@breuer.org>
2667         * lib/connections.c (connection_move_handle): return
2668         something to make it compile
2669         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
2670         must return a value -> dito
2671         [Is there a warnings-as-errors switch we could use with gcc 
2672          to avoid such in future ?]
2674         * plug-ins/python/pydia-object.h : define *_Check macros
2675         * plug-ins/python/diamodule.c : provide dia.group_create()
2676         * plug-ins/python/pydia-diagramdata.c : add 
2677         DiaDiagramData.add_layer()
2678         * plug-ins/python/pydia-property.c : allow to set color by
2679         tuple of doubles
2681         *  plug-ins/python/diasvg_import.py : based on the above
2682         implement a) group support, b) rgb(1,2,3) color handling,
2683         and somewhat fishy data:image/png;base64 support (create
2684         temporary files from inline image data)
2685         d) dump the import errors as text into an 'Error' layer
2687         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
2688         stray " in draw_rect and corrected error message formating 
2690         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
2691         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
2692         Jacobowitz.
2693         
2694 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
2696         * app/magnify.c (create_magnify_tool): allocate with g_new0()
2698         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
2699         preferences values (see bug 118570). Also group items into a GtkFrame.
2701 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
2703         * app/menus.c:
2704         * app/menus.h:
2705         * app/commands.h: 
2706         * app/commands.c (objects_unparent_children_callback): 
2707         * app/diagram.h: 
2708         * app/diagram.c (diagram_unparent_selected,
2709         (diagram_update_menu_sensitivity): 
2710         Added unparenting of single children.
2712         * lib/bezier_conn.c:
2713         * lib/bezier_conn.h:
2714         * lib/beziershape.c:
2715         * lib/beziershape.h:
2716         * lib/connection.c:
2717         * lib/connection.h:
2718         * lib/element.c:
2719         * lib/element.h:
2720         * lib/group.c:
2721         * lib/neworth_conn.c:
2722         * lib/neworth_conn.h:
2723         * lib/object.h:
2724         * lib/orth_conn.h:
2725         * lib/poly_conn.c:
2726         * lib/poly_conn.h:
2727         * lib/polyshape.c:
2728         * lib/polyshape.h:
2729         * objects/EML/instantiation.c:
2730         * objects/EML/interaction-ortho.c:
2731         * objects/EML/interaction.c:
2732         * objects/EML/process.c:
2733         * objects/ER/attribute.c:
2734         * objects/ER/entity.c:
2735         * objects/ER/participation.c:
2736         * objects/ER/relationship.c:
2737         * objects/FS/flow-ortho.c:
2738         * objects/FS/flow-poly.c:
2739         * objects/FS/flow.c:
2740         * objects/FS/function.c:
2741         * objects/GRAFCET/action.c:
2742         * objects/GRAFCET/condition.c:
2743         * objects/GRAFCET/step.c:
2744         * objects/GRAFCET/transition.c:
2745         * objects/GRAFCET/vector.c:
2746         * objects/GRAFCET/vergent.c:
2747         * objects/Misc/analog_clock.c:
2748         * objects/SADT/annotation.c:
2749         * objects/SADT/arrow.c:
2750         * objects/SADT/box.c:
2751         * objects/UML/activity.c:
2752         * objects/UML/actor.c:
2753         * objects/UML/association.c:
2754         * objects/UML/branch.c:
2755         * objects/UML/class.c:
2756         * objects/UML/classicon.c:
2757         * objects/UML/component.c:
2758         * objects/UML/constraint.c:
2759         * objects/UML/dependency.c:
2760         * objects/UML/fork.c:
2761         * objects/UML/generalization.c:
2762         * objects/UML/implements.c:
2763         * objects/UML/large_package.c:
2764         * objects/UML/lifeline.c:
2765         * objects/UML/message.c:
2766         * objects/UML/node.c:
2767         * objects/UML/note.c:
2768         * objects/UML/object.c:
2769         * objects/UML/realizes.c:
2770         * objects/UML/small_package.c:
2771         * objects/UML/state.c:
2772         * objects/UML/state_term.c:
2773         * objects/UML/usecase.c:
2774         * objects/chronogram/chronoline.c:
2775         * objects/chronogram/chronoref.c:
2776         * objects/custom/custom_object.c:
2777         * objects/flowchart/box.c:
2778         * objects/flowchart/diamond.c:
2779         * objects/flowchart/ellipse.c:
2780         * objects/flowchart/parallelogram.c:
2781         * objects/network/bus.c:
2782         * objects/network/wanlink.c:
2783         * objects/standard/arc.c:
2784         * objects/standard/bezier.c:
2785         * objects/standard/beziergon.c:
2786         * objects/standard/box.c:
2787         * objects/standard/ellipse.c:
2788         * objects/standard/image.c:
2789         * objects/standard/line.c:
2790         * objects/standard/polygon.c:
2791         * objects/standard/polyline.c:
2792         * objects/standard/textobj.c:
2793         * objects/standard/zigzagline.c:
2794         Binary compatibility update:  Added return value for foo_move() and
2795         foo_move_handle().  Orthconn derivatives also returns change from
2796         orthconn_move_handle().
2797         
2798         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
2799         doesn't support it yet.
2801         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
2802         Add returning ObjectChange from object moves.  Needs to handle
2803         multiple object moves.
2805         * app/modify_tool.c (modify_motion, modify_release): Add
2806         ObjectChange from move & move_handle to undo stack.
2808         * objects/EML/instantiation.c (instantiation_move): Removing
2809         duplicate move & update.
2811 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
2813         * plug-ins/xfig/xfig-export.c: Added support for arrow head
2814         export.  Many arrow types not supported by XFig, replacing those
2815         with standard arrows.  Not sure whether it'd be better to render
2816         them as a group of lines instead.  You'd lose the arrow-ness for
2817         further editing, but preserve the actual shape of it.  Also added
2818         support for dash length.
2820         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
2822         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
2823         description for version 3.2, for reference.
2825         * plug-ins/xfig/xfig-import.c: Added import of arrows.
2827         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
2828         Align Vertical Adjacent call _v rather than _h.
2830 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
2832         * app/scroll_tool.c (create_scroll_tool): 
2833         * app/modify_tool.c (create_modify_tool): use g_new0() to
2834         initialize the tool
2836 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
2838         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
2840 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
2842         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
2844 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
2846         * configure.in: Added Belarusian to ALL_LINGUAS.
2848 2003-07-19  Hans Breuer  <hans@breuer.org>
2850         [
2851          Make the xslt plug-in work on win32, too. It appears
2852          to require a quite recent version of libxml and libxslt,
2853          otherwise windoze pathes aren't translated correctly
2854          during file processing
2855         ]
2857         * plug-ins/xslt/xslt.h : #include <glib.h> before 
2858         using G_OS_WIN32
2860         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
2861         the 'script' file finding similar to how it is done
2862         with the python scripts (no need for hardcoded pathes,
2863         removed the 'plugin' part from the path)
2865         * plug-ins/xslt/stylesheets.xml : added again. It does
2866         not have any path but only the pure filename again
2868         * plug-ins/xslt/stylesheets.xml.in : removed
2870         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
2871         rule to process stylesheets.xml.in
2873         * plug-ins/makefile.msc : added xslt
2875 2003-07-19  Hans Breuer  <hans@breuer.org>
2877         Finally Dia learned to remember the recent selected sheet
2879         * app/preferences.[hc] : added prefs.recent_sheet
2880         * app/interface.c : restore and remember the sheet-option-menu
2881         history, but only if the respective number is stiil available.
2882         This additional adds robustness against running Dia without
2883         any sheet (e.g. installation problems)
2884         * app/app_procs.c : call prefs_safe() in app_exit() to remember
2885         changes which are not done by the prefernces dialog
2887         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
2888         removed every call (especially the conditional ones) to prefs_safe().
2889         Before prefs_safe() was called _many_ times during Dia startup
2891 2003-07-18  Hans Breuer  <hans@breuer.org>
2893         * app/makefile.msc lib/makefile.msc lib/libdia.def :
2894         updated win32 build
2896         * lib/color.c : use gtk_widget_get_default_visual();
2897         as suggested in #114536
2899         * app/interface.c app/disp_callbacks.c :
2900         moved round_up () to the latter file where it is used
2902         * app/linewidth_area.c : #include "interface.h" for
2903         interface_get_toolbox_shell()
2905 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
2907         * plug-ins/pixbuf/.cvsignore
2908         * shapes/Cisco/.cvsignore: 
2909         added cvsignore
2911 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
2913         * app/dia-props.c (diagram_properties_retrieve): Use
2914         diagram_get_name() to add the diagram name to the diagram
2915         properties dialog.
2917         * app/diagram.h: 
2918         * app/diagram.c (diagram_get_name): New function to get a
2919         reasonable diagram name.
2921         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
2922         info.  Still need to be able to set dynamic grid.  Also ought to
2923         follow Gnome style and have instant apply.
2925         * app/preferences.h: 
2926         * app/preferences.c (prefs_data): Remove option to use stippled
2927         grid, add option for major line offset.  Default to 5 minor lines
2928         per major line.
2929         Add option for dynamically sized grid.
2931         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
2933         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
2934         stippled/solid to display minor/major grid lines.  Line drawing in
2935         separate functions away from calculating line distance.
2937         * app/grid.h: Split page break drawing out of grid_draw.
2939         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
2940         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
2941         when menu item is selected.
2943 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2945         * configure.in: Removed -Winline flag to make way for important
2946         warnings. 
2948         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
2949         non-compressed.  Should fix bug #117381, also look prettier.
2950         
2951         * Makefile.am: 
2952         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
2953         Set up desktop info more properly.
2955 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2957         * activity.c:
2958         * actor.c:
2959         * branch.c:
2960         * class.c:
2961         * classicon.c:
2962         * component.c:
2963         * large_package.c:
2964         * lifeline.c:
2965         * node.c:
2966         * note.c:
2967         * object.c:
2968         * small_package.c:
2969         * state.c:
2970         * state_term.c:
2971         * usecase.c: 
2972         Autorouting directions patch from Krzysztof Foltman
2973         <kfoltman@onet.pl>.
2975         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
2976         GNOME parent menu items.
2977         
2978         * app/authors.h: Added Vadim to contributors list.
2980 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2982         * app/commands.[ch]: 
2983         * app/create_object.c: 
2984         * app/disp_callbacks.[ch]: 
2985         * app/diagram.[ch]: 
2986         * app/interface.c: 
2987         * app/load_save.c: 
2988         * app/menus.[ch]:
2989         * app/modify_tool.c
2990         * app/undo.[ch]:
2991         * lib/Makefile.am:
2992         * lib/group.c: 
2993         * lib/object.[ch]: 
2994         * lib/parent.[ch]:
2995         * objects/UML/large_package.c: Patch from Vadim Berezniker
2996         <vadim@berezniker.com>: 
2997         Objects may "parent" other objects, i.e. contain them within
2998         themselves, restrain them and move them along.  Some more stuff is
2999         needed, such as selection and individual unparenting.  This adds
3000         parenting to UML - Large Package rather than Box.
3002 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3004         * app/linewidth_area.c: Patch from Krzysztof Foltman
3005         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
3006         conform more, at least:).
3008         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
3009         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
3010         arcs.  Implemented images (though there is some pixelization and
3011         banding in the output).  Changed output file format to be a little
3012         more readable.  
3014         * app/app_procs.c (app_exit): Added message for double exit, which
3015         shouldn't happen any more.  Also preventing strange g_object_unref
3016         messages by having a printf after gtk_main_quit.  This is really
3017         weird.
3019         * app/interface.c (toolbox_delete): Avoid double app_exit call by
3020         removing handler for destroy when delete is called.
3022 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
3024         * app/display.h: 
3025         * app/display.c (ddisplay_scroll_to_object,
3026         ddisplay_scroll_center_point):  New function for easy scrolling to
3027         object or point.
3029 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3031         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
3032         $(srcdir) on stylesheets.xml.
3034         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
3035         diagram menus (since they're at the top by default now).  Also
3036         move the Properties... menu item from Dialogs to Objects.  Dialogs
3037         menu should disappear at some point.
3039         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
3040         ./configure from ./autogen.sh, as configure may need to be run
3041         from a different directory.  (Also more standard this way.)
3043         * app/app_procs.c (app_init): 
3044         * app/Makefile.am (INCLUDES): Gnome standardization patch from
3045         Alex. 
3047 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3049         * objects/flowchart/parallelogram.c (pgram_update_data):
3050         Left/right alignment for parallelograms.  Doesn't use all
3051         available space, but then pgrams also ignore their shear value.
3052         This thing needs a loving hand.
3054 2003-07-01  Hans Breuer  <hans@breuer.org>
3056         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
3057         * lib/proplist.c : don't complain if optional attr is missing
3058         * lib/orth_conn.h : make "orth_autoroute" optional to
3059         stop complaining with older files.
3061 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
3063         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
3065 2003-06-05  Andrew Halper  <ashalper@cox.net>
3067         * app/diagram_tree.c : add scrolling of drawing area
3068         to desired object on "Locate".  Patch modified to use new ddisplay
3069         function ddisplay_scroll_to_object().
3071 2003-06-11  Lars Clausen  <lars@raeder.dk>
3073         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3074         info.  Before next version, the grid dialog (view dialog, really)
3075         must be redone to allow a) instant apply, b) apply to all
3076         diagrams, and c) setting colour, dynamic, major lines.
3078         * app/preferences.h: 
3079         * app/preferences.c (prefs_data): Remove option to use stippled
3080         grid, add option for major line offset.  Default to 5 minor lines
3081         per major line.
3082         Add option for dynamically sized grid.
3084         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3086         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
3087         stippled/solid to display minor/major grid lines.  Line drawing in
3088         separate function away from calculating line distance.
3090         * app/grid.h: Split page break drawing out of grid_draw.
3092 2003-05-15  Hans Breuer  <hans@breuer.org>
3094         * plug-ins/python/diasvg.py : add xlink definition,
3095         also avoid to put spaces into attribute values. At least
3096         Sodipodi doesn't like them in width/height attributes
3098         * plug-ins/python/diasvg_import.py : add simple scaling.
3099         Some (more) handling for <svg>, <desc>, <circle>        
3101         * plug-ins/python/scascale.py : (new file) which does
3102         some experimental scaling via StdProp api
3104         * plug-ins/python/pydia-cpoint.c 
3105           plug-ins/python/pydia-handle.c : return PyDiaPoint for
3106         obj.pos not simple tuples. PyDiaPoint has a tuple interface
3107         so this may even be api compatible ...
3109 2003-05-11  Hans Breuer  <hans@breuer.org>
3111         * app/line_area.c : add window position persitence
3113         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
3114         'poly_points' via StdProp api
3115         * lib/neworth_conn.h : don't rely on OrthConn and 
3116         NewOrtConn having the same struct offsets
3118         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
3119         to help separating 'useful' properies - in terms of
3120         the PyDia access
3122         * objects/custom/custom_object.c
3123           objects/UML/*.c
3124         add the missing prop_desc_list_calculate_quarks to
3125         all the *_describe_props()
3127         * objects/standard/beziergon.c objects/standard/bezier.c :
3128         explicit initializtion of default_user_data
3129         * objects/standard/polygon.c objects/standard/polyline.c :
3130         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
3132         * plug-ins/python/diamodule.c : implement dia.register_import
3134         * plug-ins/python/makefile.msc : need to link with Pango
3135         for pango_color_parse()
3137         * plug-ins/python/pydia-property.c : add a bunch of type
3138         conversions to PyDiaProperty_ApllyToObject()
3140         * plug-ins/python/diasvg_import.py : (new file) which currently
3141         is mainly a stress test for PyDia but for some files already
3142         produces better results than svg-import.c
3144 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3146         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
3147         type-less operations.
3149 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
3151         * configure.in(ALL_LINGUAS): Added "ms".
3153 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3155         * plug-ins/xslt/xslt.c (xslt_ok): 
3156         * plug-ins/shape/shape-export.c (new_shape_renderer): 
3157         * plug-ins/svg/render_svg.c (new_svg_renderer): 
3158         * plug-ins/hpgl/hpgl.c (export_data): 
3159         * plug-ins/dxf/dxf-export.c (export_dxf): 
3160         * plug-ins/metapost/render_metapost.c (export_metapost): 
3161         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
3162         * plug-ins/xfig/xfig-export.c (export_fig): 
3163         * plug-ins/wpg/wpg.c (export_data): 
3164         * plug-ins/cgm/cgm.c (export_cgm): 
3165         * app/render_eps.c (export_eps): 
3166         * app/export_png.c (export_png_ok): 
3167         * app/load_save.c (diagram_data_save): Adding and standardizing
3168         output file error messages to include fopen error message.
3170 2003-05-01  Steffen Macke <sdteffen@web.de>
3172         * app/persistence.c: do not use unistd.h for MSVC build
3174 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3176         * sheets/Assorted.sheet.in
3177         * sheets/Circuit.sheet.in
3178         * sheets/Contact.sheet.in
3179         * sheets/EML.sheet.in
3180         * sheets/ER.sheet.in
3181         * sheets/Electric.sheet.in
3182         * sheets/FS.sheet.in
3183         * sheets/Flowchart.sheet.in
3184         * sheets/GRAFCET.sheet.in
3185         * sheets/Logic.sheet.in
3186         * sheets/MSE.sheet.in
3187         * sheets/Misc.sheet.in
3188         * sheets/Pneumatic.sheet.in
3189         * sheets/SADT.sheet.in
3190         * sheets/SDL.sheet.in
3191         * sheets/UML.sheet.in
3192         * sheets/chronogram.sheet.in
3193         * sheets/ciscohub.sheet.in
3194         * sheets/ciscomisc.sheet.in
3195         * sheets/cisconetwork.sheet.in
3196         * sheets/ciscorouter.sheet.in
3197         * sheets/civil.sheet.in
3198         * sheets/network.sheet.in
3199         * sheets/sybase.sheet.in:
3200         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
3201         standardizes shape descriptions to use no articles, no 'create
3202         ...'.
3203         
3204         * app/interface.c (tool_data): Standard objects follow same
3205         standard as sheets.
3207 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3209         * app/color_area.c (color_area_edit): More informative title on
3210         color selection dialog.
3212         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
3213         sensitivity when dropping object in.  Also reset tool to pointer.
3215         * objects/flowchart/diamond.c (diamond_update_data): 
3216         * objects/flowchart/parallelogram.c (pgram_update_data): Added
3217         left and right alignment options.
3219 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3221         * objects/flowchart/box.c: Added left and right alignment options.
3223 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3225         * app/persistence.c (persistence_load): Test existence of
3226         persistence file before trying to open it.
3228 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3230         * app/properties.c: Escape now closes properties dialogs.
3232 2003-04-25  Hans Breuer  <hans@breuer.org>
3234         * app/config.h.win32 : bump version to 0.91+cvs
3236         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
3238         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
3240         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
3241         returns NULL
3243         * app/presistence.c : need to #include "dia_xml_libxml.h"
3244         for xmlDiaParseFile
3246         * app/layer_dialog.c : make delayed creation work by protecting
3247         all non static layer_dialog_*() with :
3248            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
3249              create_layer_dialog();
3250         * app/app_procs.c : removed /* create_layer_dialog(); */
3252         * objects/uml/association.c : give it a minimal StdProp
3253         implementation to fix bug #108896
3254         * lib/object_defaults.c : don't try to copy props if there
3255         is no obj->ops->describe_props
3257 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3259         * objects/standard/image.c (image_create): 
3260         * objects/standard/ellipse.c (ellipse_create): 
3261         * objects/standard/box.c (box_create): 
3262         * objects/flowchart/ellipse.c (ellipse_create): 
3263         * objects/flowchart/diamond.c (diamond_create): 
3264         * objects/flowchart/box.c (box_create): 
3265         * objects/custom/custom_object.c (custom_create): 
3266         * objects/ER/relationship.c (relationship_create): 
3267         * objects/ER/entity.c (entity_create): 
3268         * objects/ER/attribute.c (attribute_create): Initialize
3269         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
3271         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
3272         alignment. 
3274         * configure.in: 
3275         * plug-ins/Makefile.am: 
3276         * plug-ins/xslt/Makefile.am: 
3277         * plug-ins/xslt/xslt.c (dia_plugin_init): 
3278         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
3279         automake-style if to only include xslt dir when needed.  Works
3280         with automake 1.4 and up, at least.
3282 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3284         * lib/diasvgrenderer.c (draw_string): 
3285         * lib/dia_svg.c (dia_svg_parse_style): Use
3286         text-anchor:(start|middle|end).
3288         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
3289         polygon rather than polyline & avoid missing line pieces.
3290         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
3291         black-filled things.
3293 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
3295         * app/persistence.c (persistence_load): Check that persistence
3296         file exists before trying to read it.
3297         (persistence_update_window): Removed printf.
3299         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
3301         * lib/autoroute.c: Take badness into the layouters again, as some
3302         of them know they can do things that are pretty but would be
3303         counted as ugly by the default calculation.
3305         * objects/UML/large_package.c: Shrink package name box when no
3306         stereotype is present.
3308         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
3309         * lib/orth_conn.c: Added object menu item for autorouting.
3311         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
3312         Autorouting, plus set initial dragging handle to be the end, not
3313         the middle.
3314         (orthflow_draw): Flipped arrow place to be at the end, as
3315         originally intended (got lost in arrow update).
3317         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
3318         * objects/UML/dependency.c (dependency_get_object_menu): 
3319         * objects/UML/association.c (association_get_object_menu): 
3320         * objects/UML/realizes.c (realizes_get_object_menu): 
3321         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
3322         * objects/GRAFCET/vector.c (arc_get_object_menu): 
3323         * objects/ER/participation.c (participation_get_object_menu): 
3324         * objects/EML/instantiation.c (instantiation_get_object_menu): 
3325         * objects/UML/generalization.c (generalization_get_object_menu): 
3326         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
3327         Autorouting setup (currently disabled for SADT/arrow).
3328         
3329 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
3331         * lib/autoroute.c: Removed printfs.
3333         * lib/orth_conn.c: 
3334         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
3335         non-connected orthconns too.
3337 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3339         * lib/orth_conn.h: 
3340         * lib/orth_conn.c: Function to set autorouting on/off, use
3341         autorouting in move_handle (turns off when a middle handle is
3342         moved), added to standard orthconn props. 
3344         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
3345         Stopped signal emission for check menu items being set to on/off.
3347         * objects/standard/zigzagline.c: Added autorouting object menu item.
3349         * lib/autoroute.c: Added last cases of autoroute layout, fixed
3350         floating point comparison bug, cleaned up layouters, tweaked
3351         badness to allow kinks. 
3353 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
3355         * lib/connectionpoint.h: Changed DIR_* macros to go around the
3356         clock. 
3358         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
3359         points at once.
3360         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
3361         old cruft, added call to autoroute (currently cannot be turned
3362         off).  Need to check what undo thinks about this.
3363         * lib/autoroute.[ch]: Fairly working simple layout.
3365         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
3366         * lib/autoroute.[ch]: Start of proper autorouting functionality.
3368 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3370         * lib/prop_widgets.c: Show labels on ListProp.
3372 2003-04-11  Steffen Macke <sdteffen@web.de>
3374         * doc/en/dia-manual.xml: removed reference of non-existing authors 
3375         note.
3376         * doc/en/usage-objects-selecting: commented out misleading section
3377         references.
3379 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3381         * app/app_procs.c (app_init): Layer window now opened at startup
3382         only if needed.
3384         * lib/prop_widgets.c: Show labels on ListProp.
3386 2003-04-09  Steffen Macke <sdteffen@web.de>
3388         * doc/en/*.sgml: removed files
3389         * doc/en/*.xml: added files
3390         * doc/en/Makefile.am: switched to XML DocBook
3392 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3394         * plug-ins/xslt/xslt.c (dia_plugin_init): 
3395         * configure.in: Added --with-xslt-prefix to allow other XSLT
3396         placements than /usr/lib.
3398 2003-04-09  Steffen Macke <sdteffen@web.de>
3400         * lib/makefile.mingw: updated to include latest files, including 
3401         and linking libintl
3402         * lib/geometry.h: don't define isinf and finite for mingw gcc build
3404 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
3406         * app/persistence.h:
3407         * app/persistence.c (persistence_register_window_create): 
3408         * app/app_procs.c (app_init): 
3409         Register window function that doesn't create the window unless it
3410         should be open.  Other windows should move to this, so startup
3411         speed can be reduced.
3412         
3413         * app/persistence.h: Removed call prototype for update_window, now
3414         done internally.
3415         * app/persistence.c (persistence_register_window): A number of
3416         fixes.  Doesn't forget position when window is closed.  Now
3417         actually loads prefs.
3419         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
3420         event connect.
3422         * app/preferences.c (prefs_data): 
3423         * app/diagram_tree_window.h: 
3424         * app/diagram_tree_window.c: Added persistence registering.
3425         Removed prefs items storing size and openness. 
3427         * app/sheets_dialog.c (create_sheets_main_dialog): Added
3428         persistence registering.  
3430         * app/Makefile.am (dia_core_files): Added persistence files.
3432         * lib/dia_dirs.h: 
3433         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
3434         that dirs are present.
3436         * app/app_procs.c (app_init): Loads persistent values on startup.
3437         (app_exit): Saves persistent values on exit.
3439         * app/layer_dialog.c (create_layer_dialog): Registers the layer
3440         window for persistence.
3442         * app/persistence.[ch]: New files handling various kinds of
3443         persistence.
3445 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3447         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
3448         head spacing calculations.  Added half-circle arrow from Matthieu
3449         Sozeau <mattam@netcourrier.com> 
3451 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3453         * app/app_procs.c (app_init): Moved layer dialog init to allow
3454         tooltips to be initialized.
3456         * app/interface.c (create_display_shell): More tooltips.
3458         * app/linewidth_area.c (linewidth_area_create) 
3459         (linewidth_area_events): 
3460         * app/color_area.c (color_area_events, color_area_create): 
3461         Made tooltips work by embedding drawing_area in event_box.
3463         * app/interface.c (create_display_shell,
3464         (create_lineprops_area, create_color_area): Added a few tooltips.
3466 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3468         * app/pixmaps/off-grid.xpm: 
3469         * app/pixmaps/on-grid.xpm: 
3470         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
3472         * app/display.h: 
3473         * app/commands.c (view_snap_to_grid_callback): 
3474         * app/display.c (ddisplay_set_snap_to_grid) 
3475         (update_snap_grid_status): 
3476         * app/interface.c (create_display_shell, grid_toggle_snap): 
3477         Added snap-to-grid status button.
3479 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3481         * app/app_procs.c (app_init): Create a new diagram if a file on
3482         the command line isn't found.
3484 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
3486         * lib/dialibartrenderer.c (draw_string): Correct color handling
3487         for AA.
3489 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
3491         * NEWS: 
3492         * doc/en/dia-manual.sgml: 
3493         * doc/pl/dia-manual.sgml: 
3494         * configure.in: 
3495         * dia.spec (Release): 
3496         Version 0.91 is here!
3498 2003-02-10  Steffen Macke <sdteffen@web.de>
3500         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
3501         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
3502         non-ANSI characters, closes #107980
3504 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3506         * configure.in: 
3507         * NEWS: 
3508         * dia.spec (Release): 
3509         * doc/en/dia-manual.sgml: Upping to pre6.
3511         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
3513         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
3514         #107511:  Make arrow selector for correct arrow type.
3516 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3518         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
3519         EXTRA_DIST.
3521 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3523         * doc/en/dia-manual.sgml: 
3524         * configure.in: 
3525         * NEWS: 
3526         * dia.spec (Release): Upping to pre5.
3528         * configure.in: Add freetype-config derived libs to the
3529         AC_CHECK_LIB statement for freetype.
3531 2003-02-28  Hans Breuer  <hans@breuer.org>
3533         [fix for bug #107203]
3535         * lib/diarenderer.c : add warning 'implementation'
3536         for fill_rect to avoid crashing with a renderer
3537         which does not implement this required function.
3539         * plug-ins/dxf/dxf-export.c : provide - still empty -
3540         'implementations' for fill_rect and fill_polygon 
3541         to suppress the above warnings. Now it works like
3542         in version 0.90 
3544 2003-02-28  Steffen Macke <sdteffen@web.de>
3546         * samples/all_objects.dia: New sheet containing all dia shapes
3547         and objects; one layer per sheet
3548         
3549 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3551         * lib/prop_text.c (multistringprop_get_widget,
3552         multistringprop_reset_widget, multistringprop_set_from_widget): 
3553         Now uses GtkTextView instead of deprecated stuff, and also works:)
3555         * configure.in: Slightly more informative error message for isinf.
3557         * dia.spec (Requires): Require libxml2 rather than libxml.
3559 2003-02-28  Steffen Macke <sdteffen@web.de>
3561         * shapes/Circuit/hjumper.png:
3562         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
3563         jumper shape
3564         
3565 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3567         * doc/en/dia-manual.sgml: 
3568         * configure.in: 
3569         * dia.spec (Release):
3570         * NEWS: New prerelease 0.91pre4, two important fixes.
3572 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3574         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
3575         stylesheets.xml.in 
3577         * app/commands.c (help_manual_callback): More correct URL for help
3578         page (include file://, was broken on Dillo without it).
3580 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3582         * app/disp_callbacks.c: Set modifed when text is changed.
3584         * app/modify_tool.c (modify_button_release): Allow undo for moving
3585         objects.
3587 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3589         * dia.spec: 
3590         * doc/en/dia-manual.sgml: 
3591         * NEWS: 
3592         * configure.in: New prerelease with important bugfix.
3593         * shapes/network/digitizing_board.png:
3594         * shapes/network/plotter.png: Re-adding with -kb.
3595         
3596 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
3598         * app/app_procs.c (app_init): Add comment for translators.
3600 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3602         * lib/filter.c (filter_register_import, filter_register_export):
3603         Don't accept filters with NULL description.
3605         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
3606         (as we assume the description is available in other places).
3608 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
3609         
3610         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
3611         * app/display.c (ddisplay_resize_canvas): Use
3612         ddisplay_add_update_all().
3613         (ddisplay_add_update_all): Free display and update lists when
3614         doing update_all, as they'll be regenerated immediately to cover
3615         all visible area.  Fixes bug #106165, crash when resizing.  This
3616         appears to be the original AA crash bug, believed long extinct.
3618 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3620         * app/commands.c (help_manual_callback): Use file: protocol for
3621         help. 
3623         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
3625         * plug-ins/xslt/stylesheets: Removed old-style config file.
3626         
3627         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
3629         * plug-ins/xslt/Makefile.am: 
3630         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
3631         handling (no more DIA_PLUGIN_PATH).
3633 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3635         * plug-ins/svg/render_svg.c: 
3636         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
3638 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3640         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
3641         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
3642         side of the triangle is longer than the hypotenuse.  Rounding
3643         error suspected.
3645 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3647         * NEWS: 
3648         * configure.in: 
3649         * doc/en/dia-manual.sgml: Update for pre2.
3651         * app/menus.c (display_menu_items): Fixed wrongly place separators.
3653         * objects/flowchart/box.c (box_update_data): Applied patch from
3654         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
3655         comment). 
3657         * app/paginate_psprint.c (print_page): Set paper name, so it
3658         convinces ps printers to use to right size.
3660 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
3662         * app/properties.c (properties_show): Hide the dialog if the
3663         object is NULL (get rid of 'no properties' randomly popping up).
3665 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3667         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
3668         for diagrams not starting at origo.
3670 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
3672         * dia.spec (BuildRequires): Use libxml2-devel.
3674         * plug-ins/pixbuf/Makefile.am: Added to CVS.
3676         * RELEASE-PROCESS: Note on RPM version numbers.
3678         * app/interface.c (create_display_shell): Don't set as toolbar
3679         under Unix, either.  Especially not the diagram shell.  It removes
3680         it from the taskbar and makes it unresizable, always-on-top with
3681         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
3682         appropriate thing, UTILITY, is not good either, you lose resizing
3683         and minimizing/maximizing under OpenBox.
3685         * app/menus.c (display_menu_items): Set delete item to use Delete.
3687 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3689         * dia.spec (BuildRequires, Requires): Updated for Gtk2
3690         requirements.
3692         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
3693         display flush when getting focus in, or we may get an update after
3694         the diagram has been destroyed in some cases.  Fixes bug #105221.
3696         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
3698         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
3700         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
3701         - gnome-compiled Dia will now read files specified on the command line.
3703 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3705         * INSTALL (REQUIREMENTS): Updated requirements section.
3707         * configure.in: Better finite() check from MÃ¥rten Svantesson
3708         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
3709         if's. 
3710         
3711 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3713         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
3715         * app/app_procs.c (debug_break): Added some code to avoid
3716         over-eager optimizations removing the call.  Surely there's a
3717         nicer way, but I'm not sure how.
3719         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
3720         that set text to black.
3722 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3724         * NEWS: Mention of Twiki as doc source for Python.
3726         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
3727         libart/libpng is not available.  Later when we have a way of
3728         letting the user pick options in the file select dialog we shall
3729         allow the choice when applicable.
3731 2003-02-02  Steffen Macke <sdteffen@web.de>
3733         * doc/en/usage-loadsave.sgml:
3734         * doc/en/usage-objects.sgml: patch from
3735         James K. Lowden <jklowden@schemamania.org> to fix
3736         some docbook errors
3737         
3738 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3740         * plug-ins/Makefile.am (SUBDIRS): 
3741         * plug-ins/pixbuf/pixbuf.c: 
3742         * plug-ins/pixbuf/Makefile.am: 
3743         * configure.in: 
3744         Added pixbuf plugin to Makefile.am, but for import only.  PNG
3745         export handled by libart, which is better. JPG export is
3746         discouraged.  BMP is not much used on Unix.  Next release will
3747         integrate libart to allow all outputs.
3749 2003-02-01  Hans Breuer  <hans@breuer.org>
3751         * app/preferences.c :
3752         * app/pagesetup.c :
3753         the last two dialogs with 'old' button order finally
3754         are converted to gtk2, no GnomeDialog in all of Dia 
3755         anymore :-) 
3757 2003-02-01  Hans Breuer  <hans@breuer.org>
3759         * app/filedlg.c : don't try to use a button as
3760         'overwrite-file-dialog'-parent, use the FileSelDialog
3761         instead
3763         * plug-ins/pixbuf/pixbuf.c : make it work with 
3764         system-visual-depth < 24. Remove 'bmp' from output
3765         format extensions, it just was wishful thinking.
3767         * plug-ins/python/Makefile.am : added the four new python 
3768         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
3770 2003-02-01  Hans Breuer  <hans@breuer.org>
3772         * NEWS : updated content beside dependencies
3774 2003-02-01  Hans Breuer  <hans@breuer.org>
3776         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
3777         to make it useable across DLL boundaries
3778         * app/lineprops_area.c : same code to access arrow_types
3779         on all platforms
3781         * objects/UML/class.c : the non empty string is e.g.
3782         comment != NULL && comment[0] != '\0'
3783         * objects/UML/uml.c : same here, don't bother with
3784         empty operation stereotypes
3786 2003-02-01  Steffen Macke <sdteffen@web.de>
3788         * app/lineprops_area.c: latest changes do not work on
3789         windows, using old code without tooltips
3790         * makefile.msc: fixed copying of wmf.dll
3791         * plug-ins/makefile.msc: 
3792         * app/makefile.msc:
3793         * lib/makefile.msc: now linking libintl
3794         * config.h.win32: enabling native language support
3796 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3798         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
3799         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
3801 2003-01-31  Daniel Yacob  <locales@geez.org>
3803         * configure.in: Added am (Amharic) to ALL_LINGUAS.
3805 2003-01-31  Steffen Macke <sdteffen@web.de>
3807         * objects/UML/class.c (umlclass_calculate_data): fixed crash
3808         when comments were visible, no class comment available and
3809         a attribute comment
3810          
3811 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3813         * RELEASE-PROCESS: Updated to fit new install-module syntax.
3814         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
3815         with DIA_0_91_PRE1.
3817 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3819         * config.h.win32: 
3820         * NEWS: 
3821         * configure.in:
3822         * dia.spec:
3823         Prerelease version changes, version 0.91-pre1.
3825         * app/sheets_dialog_callbacks.h: 
3826         * app/sheets_dialog_callbacks.c: 
3827         * app/sheets_dialog.c (create_sheets_main_dialog): 
3828         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
3829         to handle destruction of main dialog cleanly, but it's a mess.
3831         * configure.in: Downgraded ieeefp test to make it not produce
3832         illegal shell code.
3834         * lib/widgets.c (dia_arrow_selector_set_arrow): 
3835         (dia_line_style_selector_set_linestyle): Select menu dot
3836         correctly set.
3838         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
3839         adjustment for diamondheads.
3841         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
3843         * app/properties.c (create_dialog): Destroy properties dialog and
3844         box correctly.
3846         * app/sheets_dialog_callbacks.c
3847         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
3848         if the old one is destroyed.
3850 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3852         * app/export_png.c (export_png_ok): Added info on resolution.
3853         Should (next release) improve export dialog to allow setting
3854         resolution instead of pixels.
3856         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
3857         to generate arrowheads as well as tooltips.
3859         * lib/arrows.c: Added hollow diamond to menudesc list.
3861         * lib/arrows.[ch]: 
3862         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
3863         unify with rendered menu.
3865         * lib/diarenderer.c (draw_line_with_arrows)
3866         (draw_polyline_with_arrows, draw_arc_with_arrows)
3867         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
3868         without changing renderer API.  Thanks to David Scherba for
3869         providing inspiration.
3871 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3873         * app/interface.c (create_display_shell):
3874         * app/display.h: Patching from Hubert Figuiere
3875         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
3876         correct menu items.
3878 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3880         * app/defaults.c (defaults_show): Fixed defaults closing bug.
3881         Thanks to Hans for pointing it out.
3883 2003-01-25  Hans Breuer  <hans@breuer.org>
3885         * app/commands.c : don't warn about crashing libart renderer
3886         on win32. It simply doesn't render text anymore :-(
3888         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
3890         * objects/UML/class.c : don't access umlclass->properties_dialog
3891         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
3892         which sets the former to NULL by destroy_properties_dialog() callback.
3894         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
3896         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
3898         * plug-ins/python/pydia-image.c : add image.uri member
3899         not only useful for SVG rendering
3901         * plug-ins/python/diasvg.py : (new file) a more advanced
3902         example. A full blown SVG Renderer, currently only
3903         registered for .svgz
3905         * plug-ins/python/export-object.py : write text props
3907         * plug-ins/python/debug_objects.py : write prop.type and
3908         prop.visible 
3910 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3912         * objects/UML/association.c (association_update_data): Better
3913         bounding box for assoc with arrows.
3915         * lib/properties.h: New flag for properties with multiple values
3916         in groups.
3918         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
3919         arrow updating in dialog.  Was broken due to changes from destroy
3920         fix:(
3922         * app/commands.c (view_aa_callback): AA warning only for Windows
3923         -- I trust the Unix side well enough.
3925         * app/render_libart.c (get_text_width): 
3926         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
3927         font height can be taken from parent instance.
3929         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
3930         (get_text_width): Proper cursor positioning for libart renderer.
3931         Ought to have a DiaInteractiveRenderer that these two can inherit
3932         from, that knows about transform.
3934 2003-01-25  Steffen Macke <sdteffen@web.de>
3936         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
3937         plug-in still not working on win32
3938         
3939 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3941         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
3942         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
3943         thought.
3945 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
3947         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
3948         bail out on gtk options.
3950         * lib/message.c (gtk_message_internal): Better handling of destroy
3951         event.
3953 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3955         * app/color_area.c (color_area_edit): 
3956         * lib/widgets.c (dia_file_selector_browse_pressed) 
3957         (dia_color_selector_pressed): 
3958         * app/plugin-manager.c (get_plugin_manager): 
3959         * app/filedlg.c (file_open_callback, file_save_as_callback) 
3960         (file_export_callback):
3961         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
3962         handling of destroy event.
3964 2003-01-22  Alan Horkan <horkana@tcd.ie>
3966         * app/commands.c (file_new_callback): Changed Untitled to Diagram
3967         for default name.
3969 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
3971         * app/preferences.c (prefs_create_dialog): 
3972         * app/linewidth_area.c (linewidth_create_dialog): 
3973         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
3974         * app/layer_dialog.c (create_layer_dialog)
3975         (layer_dialog_edit_layer): Correct handling of destroy signal. 
3977         * app/diapsft2renderer.c (set_font): Adjust silly random factor
3978         for change in font.c
3980         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
3982         * lib/font.c (dia_font_build_layout): Let's all use the same weird
3983         factor here.
3985         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
3986         * app/layer_dialog.c (create_layer_dialog) 
3987         (layer_dialog_edit_layer): 
3988         * app/filedlg.c (file_open_callback, file_save_as_callback) 
3989         (file_export_callback): 
3990         * app/dia-props.c (create_diagram_properties_dialog): 
3991         * app/defaults.c (defaults_dialog_destroyed): 
3992         * app/color_area.c (color_area_edit): Dialog destroy event handling.
3994 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
3996         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
3997         defaults dialog destroyed.
3999 2003-01-19  Steffen Macke <sdteffen@web.de>
4001         * objects/makefile.msc: added bondgraph
4002         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
4003         to compile pixbuf.dll
4004         * makefile.msc: copying all objects and dlls now
4005         
4006 2003-01-19  Hans Breuer  <hans@breuer.org>
4008         * app/diagram.[hc] : provide dia_open_diagrams(), make
4009         open_diagrams variable static
4010         * app/dia.def : export it (to be used by PyDia)
4011         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
4012           app/display.c app/dynamic_refresh.c app/layer_dialog.c
4013           app/load_save.c : make use of dia_open_diagrams()
4015         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
4016         on win32. It removes the diagram window from the taskbar and
4017         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
4019         * app/menus.c : add '...' to menu entries where a dialog 
4020         gets invoked
4021         * app/recent_files.c app/dia_embedd.c : reflect the above in 
4022         menus_get_item_from_path() calls
4024         * lib/libdia.def : add dia_image_rgba_data
4026         * lib/properties.h lib/prop_text.[hc] : add new property
4027         type StringList
4028         * objects/UML/class.[hc] object/UML/class_dialog.c : use
4029         StringList for attributes_strings and operations_strings to
4030         make this calculated data accessible via the Property API
4032         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
4033         provide dia.new() to create a new diagram, dia.registered_types()
4034         to get on Dia's type registry, dia.message() for simple dialogs
4036         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
4037         to create a new display from a diagram. Let diagram.extents and
4038         diagram.bg_color return the same types as in diagramdata.*
4040         * plug-ins/python/pydia-geometry.c : add a read-only 
4041         'sequence interface' to DiaPoint and DiaRectangle
4043         * plug-ins/python/pydia-property.c : allow to get on StringList
4044         from Python
4046         * plug-ins/python/pydia-render.c : fix typo to make it compile
4048         * plug-ins/python/python-startup.py : removed 'import pygtk'
4049         again. This file does not need any gtk UI, and some python
4050         plug-ins don't do either
4052         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
4053         it should actually work as intended again
4055         * plug-ins/python/group_props.py : (new file) a prototype for
4056         one the most requested features: Change properties of selected
4057         objects in one step. Requires pygtk.
4059         * plug-ins/python/select_by.py : (new file) select objects by 
4060         common properties. Requires pygtk.
4062         [Start of 'PyDia Self Documentation Series']
4064         * plug-ins/python/pydiadoc.py : (new file) generates a new 
4065         diagram which contains all objects of dir(dia)
4066         
4067         * plug-ins/python/otypes.py : (new file) generates a new diagram 
4068         which contains all the currently registered object types sorted 
4069         by their containing package
4071 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4073         * configure.in: Added check for Pango >= 1.1.5, which appears to
4074         be enough to have text work.
4075         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
4076         do it.  AC_SUBST should be idempotent, though.
4078 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4080         * configure.in (HAVE_FREETYPE): Better test for freetype version
4081         using neat macro.
4082         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
4084         * lib/font.c: Renamed global_size_one to global_zoom_factor to
4085         avoid confusion, and added comment.  Set scale factor in
4086         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
4087         my weird scaling problems.  Fonts are now of the expectable size,
4088         i.e. the space between lines at size 1.0 is 1.0.  If we want a
4089         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
4090         diagrams, though there will always be differences.
4092 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4094         * plug-ins/python/python-startup.py: 
4095         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
4097         * plug-ins/python/python.c (dia_plugin_init): Added warning
4098         message for missing startup file.
4100         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
4101         
4102         * lib/dia_image.c (dia_image_rgb_data): 
4103         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
4104         involving EPS.  Can't do transparency in EPS yet.
4106         * lib/dia_image.h: 
4107         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
4108         data as one chunk.  Documentation for the RGB data getting funcs.
4109         (dia_image_rgb_data): Added comment.
4111         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
4112         (bug #103565)
4114 2003-01-13  Steffen Macke <sdteffen@web.de>
4116         * lib/dia_image.c: dia_image_rgb_data() is working for
4117         non-alpha images now. Fixes #93762
4118         * Makefile.am: added makefile.msc to EXTRA_DIST
4119         
4120 2003-01-10  Steffen Macke <sdteffen@web.de>
4122         * app/paginate_psprint.c: Closing print dialog when file
4123         could not be written. Fixes #84746
4124         
4125 2003-01-04  Steffen Macke <sdteffen@web.de>
4127         * doc/custom-shapes: incomplete description of <svg:text>
4129 2003-01-03  Steffen Macke <sdteffen@web.de>
4131         * makefile.msc(new): new makefile to create file
4132         structure suitable for running dia win32 under
4133         $(TOP)/dia/build/win32
4134         
4135 2003-01-02  Steffen Macke <sdteffen@web.de>
4136         
4137         * lib/dia_svg.c: including stdlib.h
4138         * lib/makefile.msc: added gdk_pixbuf libs to linker
4139         * app/makefile.msc: added gdk_pixbuf libs, made libart
4140         libs compatible with gnuwin32 package
4141         
4142 2003-01-01  Hans Breuer  <hans@breuer.org>
4144         * lib/font.c : more comment about global_size_one
4146         * app/menus.c : <control>[<shift>]A for plain gtk build too.
4148         * plug-ins/wmf/wmf.cpp : some type juggling to make 
4149         msvc7 happy
4151 2002-12-31  Steffen Macke <sdteffen@web.de>
4153         * app/makefile.msc: added hint on how to enable console output
4154         
4155 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4157         * objects/standard/textobj.c (textobj_load): Get the handle type
4158         right, at least to be the same as when created.
4160 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4162         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
4164 2002-12-08  Hans Breuer  <hans@breuer.org>
4166         * app/commands.c : fixed bug #85315 'give diagram properties, 
4167         instead of no object selected error' almost a one-liner
4169         * app/splash.c : don't make having the logo pixmap
4170         mandatory. Fixes bug #96068. 
4172         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
4173         sequence by connecting to the "delete_event"
4174         * app/objects/uml/class_dialog.c : handle "destroy" for 
4175         the same reason.
4177         * lib/libdia.def : remove diaXmlNewChild again
4179         * app/paginate_gdiprint.cpp : reflect Dia's page setting
4180         portrait/landscape in the windoze print dialog
4182         * objects/makefile.msc : only UML needs to link against
4183         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
4185 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
4187         * objects/standard/ellipse.c (ellipse_distance_from): 
4188         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
4189         correct distance function.  Could be faster, but it's not really
4190         essential. 
4192 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
4194         * lib/font.c: Changed global_size_one to more correct 28.35.
4195         Looks better, too.
4197         * app/load_save.c:
4198         * lib/dia_xml.h: 
4199         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
4200         after all.
4202 2002-12-07  Hans Breuer  <hans@breuer.org>
4204         * lib/widgets.c : g_file_get_contents() silently assumes
4205         a binary file. Reflect when creating the font_menu file
4206         to get rid of junk in font menus
4208 2002-12-06  Hans Breuer  <hans@breuer.org>
4210         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
4211         removed 0xD 0xD 0xA line ends which get created by
4212         cvs if windoze line ends 0xD 0xA are checked in from
4213         *nix and checked out on win32.
4215         * app/preferences.c : changed toolbox_on_top default to
4216         false. It is currently not possible to change the behaviour
4217         at runtime, at least not on win32.
4219         * lib/dialibartrenderer.c : bug #94791 'rendering to 
4220         bitmap without PangoFt2' got delayed to milestone future 
4221         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
4222         It is not available without my Pango patch in bugzilla.
4224         * lib/font.c : added comment to global_size_one and adapt
4225         the arbitrary size scaling in dia_font_build_layout() for
4226         win32, too. This is needed to get an acceptable font size 
4227         approximation for Dia 0.90 and earlier files.
4228         Also #include "message.h".
4230         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
4231         reflect movement of group.[hc]
4232         * lib/group.h : export group_type which gets used by app/*
4234         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
4235         to get the GtkTypeInfo definition
4237         * plug-ins/makefile.msc : dxf and xfig don't need to link
4238         against app/ anymore now that group is moved to lib/
4240         * plug-ins/python/pydia-render.c : remove massive leaking
4241         of self, i.e. PyDiaRenderer
4243         *  plug-ins/python/makefile.msc : remove linking against
4244         GTK libs
4246 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
4248         * objects/standard/line.c: Removed properties options for gaps,
4249         until release is done.
4251         * configure.in: Check for freetype version.
4253         * lib/text.c (text_insert_char): Fixed small buffer overflow for
4254         length = 0.
4256         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
4258         * app/diapsft2renderer.h: 
4259         * app/diapsft2renderer.c: 
4260         * app/diapsrenderer.h: 
4261         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
4263         * app/render_eps.c (export_eps, new_psprint_renderer): Using
4264         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
4266         * lib/properties.h: Fixed bad frame end def.
4268         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
4270         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
4271         
4272         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
4274 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
4276         * lib/font.c: Now checking for the proper dia-style standard fonts.
4278         * lib/Makefile.am: 
4279         * app/Makefile.am: Moving group.[ch]
4281         * plug-ins/dxf/dxf-import.c: 
4282         * plug-ins/xfig/xfig-import.c: 
4283         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
4285         * app/object_ops.c: 
4286         * app/object_ops.h: 
4287         * lib/object.c (object_list_move_delta, object_copy_list): 
4288         * lib/object.h: Moved some object-related functions from
4289         object_ops to object to assist moving group.c.
4291         * lib/diatypes.h: Added Group typedef.
4293         * lib/group.h: 
4294         * lib/group.c: Moved from app to lib to a) resolve plug-ins
4295         references, and b) make groups more "real" objects.
4297         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
4299 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
4301         * lib/font.c (dia_font_init): Added check that the three standard
4302         fonts exist.
4304 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4306         * lib/dia_xml.[ch]:
4307         * app/load_save.c: Linebreaks in dia files, no indentation.
4308         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
4309         this. 
4310         
4311         * objects/standard/line.c: Small but important fixes to the line
4312         gap code.
4314         * lib/dia_xml.h: 
4315         * lib/dia_xml.c (diaXmlNewChild): 
4316         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
4317         XML prettyprinting wrapper.
4319 2002-12-03  Steffen Macke <sdteffen@web.de>
4321         * shapes/Cisco/Makefile.am:
4322         * shapes/Cisco/*.shape: finished conversion of Cisco icons
4323         to *.png
4324         
4325 2002-12-02  Steffen Macke <sdteffen@web.de>
4327         * doc/en/Makefile.am:
4328         * doc/en/usage-objects.sgml:
4329         * doc/en/graphics/line_icon.png: (new) added line icon
4330         
4331 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4333         * objects/standard/line.c: Binary search object edge line gap.
4335 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4337         * configure.in: Added Cisco makefile, sorted Makefiles list.
4339         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
4341         * configure.in: Now checks for availability of PangoFT2 and
4342         FreeType, raising an error if not found.
4344         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
4345         Hans.
4347 2002-12-01  Steffen Macke <sdteffen@web.de>
4348         
4349         * doc/en/usage-loadsave.sgml: updated information on import
4350         and export formats
4351         
4352 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4354         * app/commands.c (edit_copy_callback): Freeing copy_list.
4356 2002-11-28  Steffen Macke <sdteffen@web.de>
4357         
4358         * app/render_libart.c: art_config.h was included twice
4360 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4362         * sheets/.cvsignore: More ignorance.
4364         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
4366         * lib/prop_widgets.h: Two (currently unused) settings for frame
4367         foldability.
4369         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
4370         (by default) foldable. 
4372         * lib/propinternals.h: 
4373         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
4374         widgets in a more controlled manner.
4376         * objects/standard/line.c (line_update_data): Line gap things
4377         inserted.  Can do xeyes now:)
4379 2002-11-26  Christian Neumair  <chris@gnome-de.org>
4381         * .cvsignore: Changed.
4382         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
4383         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
4384         Added.
4386 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4388         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
4390         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
4391         passing to font hash.
4393         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
4394         utf-8 or locale-convertible before adding to dialog text.  This
4395         probably needs done in a number of places where we get text from
4396         the environment and send it to GTK to display.
4398         * lib/widgets.c: Fixed case problems for font menu entries.
4400         * objects/SADT/annotation.c: Don't run the event test (but leave
4401         it here for inspiration).
4403         * lib/widgets.c: 
4404         * lib/widgets.h: Allowing setting preview text for fonts.
4406 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4408         * objects/bondgraph/Makefile.am: 
4409         * objects/bondgraph/bondgraph.c: 
4410         * configure.in: 
4411         * objects/Makefile.am: Added bond graph dir.
4413 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4415         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
4417 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4419         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
4420         positioning. 
4422         * app/diapsrenderer.c: Freetype rendering is back in force.
4424         * app/disp_callbacks.c: Added missing updates for pre-text-change.
4426 2002-11-25  David Hoover <jazzdaq@yahoo.com>
4428         * app/render_libart.c: Added missing #include line for libart.
4430         * lib/geometry.h:
4431         * lib/geometry.c: Added point_convex function.  This computes
4432         points inside a line segment (0 <= alpha <= 1) or outside the
4433         line segment (alpha < 0 | alpha > 1).
4435         * objects/standard/line.c: Line now has additional code/attributes
4436         which permit the line to extend past the line anchors (gap < 0) or
4437         leave a gap without reaching the anchor (gap > 0).  If no gap is
4438         specified, the default gap of 0 will result in identical line
4439         behavior as before.  If the 'fractional' attributes are TRUE, the
4440         gap length is not fixed, but a percentage of the line length.  I
4441         did not know how create the GTK widgets so the gap code currently
4442         cannot be used without adding XML attributes by hand.
4444 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4446         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
4448         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
4450 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
4452         * lib/font.c: Debugging functionality in separate functions.
4454         * lib/widgets.c: Using fontsel with context.
4456         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
4458         * objects/custom/custom_object.c: Orientation handling for shapes,
4459         patch thanks to Martin Hans <opfinder@gmx.net>.
4461         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
4462         work on even better orientation handling.
4464         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
4465         casting NULL pointers.  Should be unnecessary in an upcoming GTK
4466         release. 
4468 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4470         * lib/font.h:
4471         * lib/font.c:
4472         * lib/widgets.c: Now uses correct context to get font families.
4474         * lib/diagdkrenderer.c (get_text_width, draw_string): 
4475         * lib/dialibartrenderer.c (draw_string): 
4476         * lib/font.h: 
4477         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
4478         (dia_font_build_layout): Unified the twiddle factors into a use of
4479         global_size_one.  But I deeply distrust Pango for seeming to
4480         change size of fonts every time I turn my back.
4482         * app/display.c: 
4483         * app/diagram.c: 
4484         * app/menus.c:
4485         * app/menus.h: Updated some more methods to also be more specific
4486         on the types.
4488         * app/menus.h:
4489         * app/recent_files.c: 
4490         Changed to return most specific type, to avoid run-time type errors.
4492         * app/menus.c (menus_get_item_from_path): Non-gnome version now
4493         gets menu_item rather than widget, which works better.
4495 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
4497         * app/display.c: (new_display):
4498         * app/menus.c: (menus_get_item_from_path):
4499         Relying on the tearoff to locate the input methods menu wasn't a
4500         good idea: tearoffs seem to be an endangered species nowadays.
4501         Anyway, the IM menu seems to be working now.
4503         * app/interface.c: hinted the window manager that the toolbox window
4504         is a toolbox window. Not that my (fairly default configuration)
4505         sawfish cares, but other NETWM compliant WMs may.
4507         * app/commands.c: 
4508         * app/defaults.c: 
4509         * app/dia-props.c:
4510         * app/filedlg.c: 
4511         * app/interface.c: 
4512         * app/layer_dialog.c: 
4513         * app/linewidth_area.c: 
4514         * app/properties.c: 
4515         * app/sheets_dialog.c: 
4516         * app/splash.c: 
4518         The GTK doc says to avoir gtk_window_set_wmclass() and 
4519         gtk_window_set_policy(), and use gtk_window_set_role() and
4520         gtk_window_set_resizable(), respectively.
4521         
4522         * app/preferences.c: (prefs_create_dialog):
4523         * app/preferences.h:
4524         * app/display.c: (display_set_active):
4525         Added a preference to have the toolbox hover over diagram windows.
4526                 
4527 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4529         * lib/diagdkrenderer.c (get_text_width, draw_string):
4530         Freetype-based string drawing now works.  Not very fast, though.
4531         I wish I could use the graphics card for this:(  I'm doing three
4532         bitmap loops where I should be doing one.  The size is not correct
4533         either, despite having get_text_width give the right thing.
4535 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
4537         * app/connectionpoint_ops.c (diagram_update_connections_object):
4538         Allows more than one connectionpoint on an object to be moved at a
4539         time (bug #96306).
4541 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
4543         * configure.in: Added cs to ALL_LINGUAS.
4545 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4547         * app/paginate_psprint.c: Removed unnecessary decl of autosave
4548         stuff.
4550         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
4552         * app/export_png.c (export_png_ok): Saving more variables from the
4553         evil setjmp.
4555 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
4557         * lib/dialibartrenderer.c (begin_render):
4558         (end_render): Correct pushing and popping of font contexts.
4559         (draw_string): Double zooming eliminated, strange twiddle factor
4560         introduced (grumble).  Close to working now, but there are still
4561         strange differences from font to font.  In particular, some fonts
4562         really mess with the cursor and extents.
4564         * app/render_eps.c (export_eps): 
4565         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
4566         Fixed file closing confusion, no longer dependent on PS/EPS.
4568         * app/diagram.c (diagram_place_down_selected) 
4569         (diagram_place_up_selected): Now implemented.
4571         * lib/font.c (dia_font_init): 
4572         * lib/font.h: 
4573         Redesigned the font init/context pushing code.  Start of fix for
4574         font name differences.
4575         
4576 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
4578         * app/sheets_dialog_callbacks.c: Fix a typo.
4579         
4580 2002-10-15  Hans Breuer  <hans@breuer.org>
4582         * app/diapsrenderer.[hc] : (new files, old content :-)
4583         simple base class for post script rendering. Does neither 
4584         use Pango/FT2 nor does it handle non latin1 characters. 
4585         The fancy stuff which nowadays appears to be needed should 
4586         probably be done in derived class(es)
4588         * app/makefile.msc app/Makefile.am : added new files
4590         * app/paginate_psrint.c : re-enabled and used as test
4591         for the simple ps renderer above.
4593         * app/render_eps.[hc] : ripped out common ps code and
4594         moved to DiaPsRenderer. The rest of the file is mostly
4595         disabled. And I don't understand enough of it to 
4596         change port it.
4598         * app/diaepsrenderer.h : short lived, removed.
4600 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4602         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
4603         as a plugin (thanks to Torben Nielsen).
4605 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4607         * app/diaepsrenderer.h: 
4608         * app/render_eps.h: 
4609         * app/paginate_psprint.c: 
4610         #ifdef'd out enough ps stuff to allow compile.  Now we just need
4611         to convert it.
4612         
4613 2002-10-12  Hans Breuer  <hans@breuer.org>
4615         [last plug-in ported]
4617         * plug-ins/xfig/xfig-export.c : ported to new renderer api
4619         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
4620         scale color values to [0..1.0] to properly reconstruct
4621         user colors
4623         * plug-ins/xfig/xfig-common.c : some cleaning
4625 2002-10-12  Hans Breuer  <hans@breuer.org>
4627         [decrease inter-plug-in-dependencies]
4629         * objects/custom/shape_info.[hc] : move parse_style()
4630         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
4631         the related structs and constants.
4632         * objects/custom/custom_object.c : reflect namespace
4633         changes
4635         * lib/dia_svg.[hc] : new files
4636         * lib/makefile.msc lib/Makefile.am : add new files
4637         * lib/libdia.def : updated externals
4639         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
4641         * plug-ins/svg/svg.c : enable svg import for win32 (and
4642         probably for other non ELF builds)
4644         * plug-ins/makefile.msc : enable svg import
4646 2002-10-11  Hans Breuer  <hans@breuer.org>
4648         * plug-ins/metapost/render_metapost.[hc] : ported
4650         * plug-ins/pstricks/render_pstricks.[hc] : dito
4652 2002-10-11  Hans Breuer  <hans@breuer.org>
4654         * plug-ins/cgm/cgm.c : ported, appears to work as before,
4655         but graphic apps available to me can't import the generated 
4656         files (the could not with Dia-0.90 cgm as well) ...
4658         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
4659         Removed all those function which did emulate 'complex' 
4660         drawing ops with basic ones (e.g. rect by line) cause this
4661         stuff is already provided by the base class
4662         * plug-ins/dxf/dxf-import.c : removed render.h include
4664         * plug-ins/python/pydia-font.[hc]
4665           plug-ins/python/pydia-text.c : finally ported to new font api
4667         * plug-ins/python/pydia-layer.c : add extra parameter
4668         to layer_find_closest_connectionpoint()
4670         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
4672         * plug-ins/python/python.c : added missing copyright notice
4674         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
4675         actually use the renderers set_font implementation
4677         * plug-ins/renderer.inc : unused now, removed
4678         * plug-ins/Makefile.am : reflect it
4680 2002-10-08  Hans Breuer  <hans@breuer.org>
4682         * app/render_gdk.c : don't add the InteractiveRenderer
4683         interface multiple times (it's added to the type, not
4684         the object)
4685         * app/render_libart.c : dito. It's currently added
4686         unconditional cause eport_png uses it, but claims
4687         to be non-interactive. Probably set_size should be moved
4688         to the DiaRenderer interface.
4690         * lib/dialibartrenderer.c : add implementations for
4691         get_<width|height>_pixels. Libart rendering works again.
4692         DiaLibartRenderer::draw_image : use dia_image_rowstride()
4693         instead of width*3
4695         * lib/diatransform.c(dia_transform_coords_double) :
4696         don't ROUND() the returned values
4698         * plug-ins/pixbuf/pixbuf.c : added import function. It
4699         simply creates a wrapping "Standard - Image" object.
4701         * plug-ins/shape/shape-export.c : use the more direct
4702         method to call base class methods
4704 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4706         * lib/font.c (dia_font_init): Changed dia_font_init to return old
4707         pango context, to allow stacked contexts (for printing while
4708         antialiased).
4709         
4710         * lib/arrows.h
4711         * lib/bezier_conn.h
4712         * lib/beziershape.h
4713         * lib/boundingbox.h
4714         * lib/color.h
4715         * lib/connection.h
4716         * lib/connectionpoint.h
4717         * lib/create.h
4718         * lib/dia_image.h
4719         * lib/diagdkrenderer.h
4720         * lib/diagramdata.h
4721         * lib/dialibartrenderer.h
4722         * lib/diamenu.h
4723         * lib/diarenderer.h
4724         * lib/diasvgrenderer.h
4725         * lib/diatransform.h
4726         * lib/element.h
4727         * lib/filter.h
4728         * lib/focus.h
4729         * lib/font.h
4730         * lib/geometry.h
4731         * lib/handle.h
4732         * lib/neworth_conn.h
4733         * lib/objchange.h
4734         * lib/object.h
4735         * lib/orth_conn.h
4736         * lib/paper.h
4737         * lib/plug-ins.h
4738         * lib/poly_conn.h
4739         * lib/polyshape.h
4740         * lib/properties.h
4741         * lib/ps-utf8.h
4742         * lib/sheet.h
4743         * lib/text.h
4744         * lib/textattr.h
4745         * lib/widgets.h
4746         * lib/diatypes.h
4747         Moved all externally visible struct typedefs into diatypes.h, as
4748         per Hans' suggestions.
4750 2002-10-07  Steffen Macke <sdteffen@web.de>
4752         * lib/Makefile.am: removed a '\' causing problems
4754 2002-10-07  Hans Breuer  <hans@breuer.org>
4756         [Libart Renderer resurrected; almost it's compiling but
4757          almost instantly crashing :-]
4759         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
4760         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
4761         * lib/diatransform.[hc] : added dia_transform_coords_double()
4763         * app/display.c : the right parameters for new_renderer_libart()
4764         * app/export_png.c : ported, removed the blind Display hack
4766         * app/makefile.msc lib/makefile.msc 
4767           lib/Makefile.am : updated
4769         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
4771 2002-10-06  Hans Breuer  <hans@breuer.org>
4773         * plug-ins/pixbuf/pixbuf.c : (new file)
4774         there is a new export plug-in called 'Pixbuf' which uses 
4775         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
4776         formats (currently only PNG and JPEG).
4778 2002-10-06  Hans Breuer  <hans@breuer.org>
4780         See also: 
4781         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
4783         * lib/dia-enums.h lib/diatransform.[hc]
4784           lib/diarenderer.[hc] lib/diainteractiverenderer.c
4785           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
4786         : new files 
4788         * lib/makefile.msc lib/makefile.am : added new files
4790         * lib/plug-ins.c : g_module_error() returns a locale
4791         string, convert to utf8 before further usage 
4793         * lib/render.h : #error out. Everything including this
4794         needs porting
4795         * lib/*.[hc] : ported to new renderer api
4797         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
4798         just to make the rest compile
4799         * app/render_eps.c : temporary disabled all of this
4800         * app/render_eps.h : removed RendererEPS
4802         * app/render_gdk.[hc] : a small wrapper around the new
4803         DiaGdkRenderer form lib/*
4805         * app/render_libart.h : removed RenderLibart definition
4806         * app/render_libart.c : not yet ported to new DiaRenderer
4807         but having an implementation to untie form FT2 dependency
4808         at least on win32. It is using new Pango api form bug #94791
4810         * app/render_pixmap.[hc] : a small wrapper around the new
4811         DiaGdkRenderer form lib/*
4813         * app/display.h : removed render_*.h includes
4814         * app/display.c : the only place where specific 
4815         renderers need to be known
4817         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
4818         use new DiaInteractiveRenderer interface
4820         * app/*.c : ported to new renderer api
4821         * object/*/*.c : ported to new renderer api
4822         s/render.h/diarenderer.h/
4823         s/Renderer/DiaRenderer/
4824         s/renderer->ops/renderer_ops/
4825         add in every draw method:
4826         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
4828         * plug-ins/hpgl/hpgl.c : 
4829           plug-ins/wmf/wmf.cpp 
4830           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
4831         * plug-ins/shape/shape-export.c
4832           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
4833           (nice how small these files became :-)
4835 2002-09-28  Hans Breuer  <hans@breuer.org>
4837         * */makefile.msc : updated
4839         * app/defaults.c : don't gdk_invalidate_rect(NULL)
4840         * app/disp_callbacks.c : 
4841         can't cast GtkWindow to GdkWindow, use shell->window
4842         (ddisplay_unrealize) don't use already unrefed im_context
4843         * app/display.c :
4844         can't cast from GtkMenu to GtkMenuItem
4845         (ddisp_destroy) : mark im_context as unrefed
4847         * lib/dia_xml (data_font) : prefer new font format over old one
4848         (data_add_font) : write the legacy name to allow file exchange
4849         with pre Pango versions of Dia, which would otherwise crash 
4850         on missing font 'name' attribute.
4851         * lib/font.c (dia_font_get_legacy_name) : improved implementation
4852         to get a better match.
4854         * lib/libdia.def : updated
4856         * lib/messages.c : don't gdk_widget_show(NULL)
4858         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
4860         [make Dia compile, link _and_ work with mingw/gcc3.2]
4862         * config.h.win32 : #define LIBXML, this gets defined from libxml
4863         header but only for _MSC_VER. The mingw build did access an 
4864         unitialized function pointer for xmlFree.
4866         * */makefile.mingw : updated (some plug-ins have build issues)
4867         
4868         * lib/handle.h lib/object.h :   there appears to be no 
4869         forward declaration of the form 
4870                 typedef enum _HandleId HandleId 
4871         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
4872         use of enum `_HandleId' without previous declaration
4874         * app/paginate_gdiprint.cpp : added a hack to avoid g++
4875         naming conflict on 'export'
4877         * app/paginate_gdiprint.h : forward declare Diagram
4879         * objects/SADT/annotaion.c : use g_random_double()
4881 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4883         * app/modify_tool.c: Made motion not happen until sufficiently
4884         large or past double-click interval, to avoid accidental moving
4885         when doubleclicking.  Got the double-click time right, and fixed
4886         some issues with release.  There are some corner cases that may
4887         exhibit strange behaviour, will look at those later.  Nah, let's
4888         not care about those, they are rare and not dangerous.
4890 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
4892         * app/layer_dialog.c: 
4893         * app/load_save.c: 
4894         * plug-ins/dxf/dxf-import.c: 
4895         * plug-ins/python/pydia-diagram.c: 
4896         * lib/diagramdata.c:
4897         * lib/diagramdata.h:
4898         Improved the consistency of the obj->parent_layer backlinks (esp.
4899         during reloads)
4901         * lib/Makefile.am:
4902         * lib/dummy_dep.h:
4903         * lib/dynamic_obj.[ch] (NEW):
4904         * app/Makefile.am:
4905         * app/app_procs.c: 
4906         * app/dynamic_refresh.[ch] (NEW):
4907         * objects/Misc/analog_clock.c: 
4908         Added support for dynamic refresh (animated objects).
4909                 
4910 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
4912         Patch from Owen Taylor <otaylor@redhat.com>:    
4913         * doc/en/Makefile.am:
4914         * doc/en/dia-manual.sgml:
4915         * doc/en/usage-objects.sgml:
4916         * doc/en/usage-quickstart.sgml:
4917         * doc/pl/Makefile.am:
4918         * doc/pl/dia-manual.sgml:
4919         * doc/pl/usage-objects.sgml:
4920         * doc/pl/usage-quickstart.sgml:
4922         - Change the DTD declration from an outdated GNOME one to a
4923         standard DTD.
4924         
4925         - Remove close tags for <graphics> which aren't allowed for
4926         docbook SGML
4927         
4928         - A hacky fix for a problem where some versions of db2html don't
4929         create *.css files. (If *.css doesn't match anything, then you get
4930         the global explicitely.)
4932         (Closes: #92061)
4933         
4934 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
4936         * objects/custom/custom_object.c: 
4937         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
4938         were never properly prepared for use when reloading a shape with
4939         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
4940         reporting the problem and coming up with a fix! (Closes: #93974)
4942         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
4943         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
4945         * app/menus.c:
4946         * app/display.c: updated menu item paths Alan's patch had moved.
4947         
4948         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
4949         load the sheet-provided icon (libpng versions mismatch, grrr.).
4950         
4951         * configure.in:
4952         * objects/Makefile.am:
4953         * objects/Misc/Makefile.am (NEW):
4954         * objects/Misc/libmisc.c (NEW):
4955         * objects/Misc/analog_clock.c (NEW):
4956         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
4957         * sheets/Misc.sheet.in: just a little experiment...
4959 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
4961         * plug-ins/xlst/Makefile.am: found a way to silence automake while
4962         not forcing everyone to build using libxslt.
4964         * lib/font.c: 
4965         * lib/message.c:
4966         * lib/object_defaults.c:
4967         * lib/intl.[ch]:
4968         * lib/render.c:
4969         * lib/properties.[ch]:
4970         * lib/propobject.c:
4971         * objects/standard/box.c: 
4972         * objects/UML/state_term.c:
4973         * objects/FS/box.c:
4974         * objects/FS/flow-ortho.c:
4975         * app/app_procs.c:
4976         * app/autosave.c:       
4977         * app/commands.c:
4978         * app/diagram_tree.c:
4979         * app/display.c:
4980         * app/disp_callbacks.c:
4981         * app/export_png.c:
4982         * app/filedlg.c:
4983         * app/lineprops_area.c:
4984         * app/menus.c:  
4985         * app/preferences.c:
4986         * app/render_eps.c:     
4987         * app/sheets.c:
4988         * app/sheets_dialog_callbacks.c:
4989         * plug-ins/xslt/xslt.c:
4990         * plug-ins/metapost/render_metapost.c:
4991         * plug-ins/xfig/xfig-export.c:
4992         * plug-ins/shape/shape-export.c:
4993         
4994         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
4995         unused variables, mostly)
4997         * app/display.c:
4998         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
5000         * app/Makefile.am: modified run_dia.sh so that we recover the
5001         ability to run a debugger despite libtool's hacks.
5003         * plug-ins/dxf/Makefile.am: 
5004         * app/Makefile.am
5005         "make distcheck" fixes.
5006         
5007 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5009         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
5010         <mfranzoni@madd.it>:  Check for the type being NULL.
5012 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5014         * app/render_eps.c (set_font): Re-tweaked font size for printing.
5016 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
5018         Patch from Angus Ainslie <angusa@deltatee.com>:
5019         * plug-ins/dxf/dxf-import.c:
5020         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
5022         (plus a couple extra fixes by me, such as the removal of printf's,
5023         adapting for recent changes, and killed a couple warnings) 
5025         * app/authors.h: a 60K patch isn't insignificant, is it?
5026         
5027 2002-09-09  Tor Lillqvist  <tml@iki.fi>
5029         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
5030         as before) and -lfreetype (using AC_CHECK_LIB). At least on
5031         Solaris with Sun's compiler (Forte C), you need to link also the
5032         dia application with -lfreetype, even if it is implicitly linked
5033         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
5034         which is what they actually mean. Use FREETYPE_LIBS for
5035         -lfreetype.
5037         Don't look for libsunmath if isinf() is not found in math.h (as on
5038         Solaris). The sunmath library is part of Forte C and not present
5039         on all machines. Besides, even if isinf was found in libsunmath,
5040         we didn't use it in the Makefile.am.
5041         
5042         Fix a couple of bashisms.
5044         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
5045         too, on Solaris with Forte C.
5047         Don't try to use the gcc flags with other compilers.
5048         DIA_CHECK_CFLAG gives a false indication that Forte C understands
5049         the gcc -f switches, but in fact they get interpreted meaning
5050         something completely different.
5052         Define the automake conditional HAVE_CGC.
5053         
5054         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
5056         Use -export-dynamic only with gcc.
5058         * */Makefile.am
5059         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
5060         PANGOFT2_CFLAGS rename.
5062         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
5063         
5064         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
5065         Solaris.
5067         * lib/paper.c: Workaround for gccism: Can't use inline this way with
5068         Forte C, either.
5070 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
5072         * lib/text.c(set_string): fixed a memory leak (char* ain't no
5073         std::auto_ptr<char> !).
5075         * app/display.[ch]:
5076         * app/interface.[ch]:
5077         * app/ddisp_callbacks.[ch]: Added some basic support for input 
5078         methods (GtkIMContext-based)
5080         * lib/Makefile.am:
5081         * app/Makefile.am: made libdia a shared object (per Tor
5082         Lillqvist's suggestion/request), to cope for platforms with a less
5083         than par dynamic library loader.
5085         * app/display.c: disabled the input method menu (I really don't
5086         see where and how to put them. Blame Frozen Bubble )
5087         
5088 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5090         * objects/flowchart/box.c (box_update_data): Made resizing
5091         possible again (only set width & height when resized too small).
5093         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
5095         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
5096         GdkScrollEvents.
5097         
5098 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
5100         * app/authors.h: now showing Akira TAGOH's name in the native script.
5102 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5104         * plug-ins/xslt/xslt.c: Removed glib warning for unset
5105         DIA_PLUGIN_PATH.
5107 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
5109         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
5110         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
5111         sweep flag in arcs.
5113 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5115         * objects/UML/class.c: Fixed showing of empty stereotypes and got
5116         the string placed correctly.
5118 2002-08-30  Hans Breuer  <hans@breuer.org>
5120         * lib/font.c (dia_font_get_style) : don't shift already
5121         shifted DIA_FONT values.
5123         * lib/libdia.def : updated externals
5125         * app/disp_callbacks.c : on win32 GdkEventKey::string already
5126         is in UTF-8. (Longterm this probably should be handled on the
5127         gtk api level)
5129         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
5130         switch display renderers again. The libart renderer is very 
5131         useful for win9x with it's limited GDI.
5133         * app/render_gdk.c : use g_warning instead of printf which gets
5134         nowhere on win32 (non console apps)
5136         * app/render_libart.c : make it compile without FREETYPE
5138         * objects/makefile.msc plug-ins/makefile.msc : added clean target
5140 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5142         * app/render_eps.c (postscript_draw_contour): Debugging statement
5143         that allowed me to figure out font problems.
5145         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
5146         items for font styles.
5148         * objects/FS/flow-poly.c: 
5149         * objects/FS/flow-ortho.c: 
5150         * objects/FS/flow.c: Further conversion away from GTK dialogs.
5151         Can't set a default label right now:(
5153         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
5155 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
5156         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
5158         * Makefile.am: rules relating to AUTHORS and THANKS
5159         altered.
5160         * AUTHORS: file content changed to more accurately
5161         reflect guideline requirements.
5162         * TODO: warning added about Gnome BTS.
5163         * KNOWN_BUGS: warning added about Gnome BTS.
5165         ---
5167         * AUTHORS: added full copyright info.
5168         * mkauthors-placeholder: (removed) 
5169         
5170 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5172         * app/paginate_psprint.c (print_page): Fixed text printing after
5173         tip from Dov Grobgeld.
5175 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5177         * app/paginate_psprint.c (print_page): Fixed color of clip
5178         region.
5180 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
5182         * sheets/Makefile.am: enabled intltool-merge translation cache for
5183         sheets.
5185         * Makefile.am:
5186         * mkauthors-placeholder:
5187         * AUTHORS: revived that file (in a placeholder form) so that
5188         automake stops yelling.
5189         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
5190         (Closes: #91144)
5192         Heh, by the way, thanks Christophe. I feel better now.
5193         
5194 2002-08-25  Christophe Merlet  <christophe@merlet.net>
5196         * app/command.c: Removed invalid multibyte sequence in Chepelov.
5198 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5200         * lib/dia_image.c (dia_image_rgb_data): 
5201         Bugfixes in image data retrieval.
5202         
5203         * app/render_eps.c: Refactoring of new_*_renderer.
5205 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5207         * app/render_eps.c: 
5208         * lib/dia_image.h: 
5209         * lib/dia_image.c: Support for rowstride != width (odd width images)
5211 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
5213         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
5214         * plug-ins/xfig/xfig-import.c: Removed assertion.
5216 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5218         * lib/paper.c: Removed app/preferences.h reference.
5220 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5222         * plug-ins/svg/svg-import.c: 
5223         * plug-ins/xfig/xfig-import.c: 
5224         * lib/Makefile.am (libdia_a_SOURCES): 
5225         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
5226         * lib/create.h:
5227         * objects/standard/create.h:
5228         * objects/standard/polygon.c (polygon_create): 
5229         * objects/standard/polyline.c (polyline_create): 
5230         * objects/standard/beziergon.c (beziergon_create): 
5231         * objects/standard/bezier.c (bezierline_create): 
5232         Moving create.h into lib.
5234 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5236         * app/render_libart.[ch]: Work on PNG font export.  Something's
5237         still fishy with the scaling, I don't get it.
5239         * app/display.c: 
5240         * app/interface.c: Replaced broken zoom combo with entry+menu.
5241         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
5243         * app/render_gdk.c (get_text_width): Checks for validity of text.
5244         Temporary help while debugging input -- should only activate on
5245         invalid input.
5247         * objects/SADT/annotation.c: 
5248         * objects/GRAFCET/transition.c: 
5249         * objects/FS/function.c: Removal of gtk.h include.
5251         * objects/UML/state.c (state_load): Warnings about using State
5252         object for initial/final states.
5254         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
5256 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5258         * app/render_eps.c: Text rendering that scales correctly.  Too bad
5259         the standard fonts don't get selected right.
5261 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
5263         * lib/diagramdata.h: 
5264         * lib/paper.c (get_paper_info): 
5265         * lib/paper.h: 
5266         * plug-ins/xfig/xfig-import.c: 
5267         Committed before testing.  I am so embarrased.  This compiles, now
5268         that the includes are in the right order.
5269         
5270         * app/diagram.c (diagram_init): 
5271         * app/app_procs.c (do_convert): 
5272         * app/preferences.h: 
5273         * lib/diagramdata.h: 
5274         * lib/diagramdata.c (new_diagram_data): 
5275         * lib/paper.h: 
5276         * lib/paper.c (get_paper_info): 
5277         Moved new_diagram part of prefs into lib/diagramdata.h.  More
5278         could be done in new_diagram_data() now.
5280 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5282         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
5284 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
5286         * configure.in: removed silly user-visible comment
5288         (actually, this is a dummy entry before I manually run nemo; for
5289         some dist-upgrade related reason, this morning's run aborted before
5290         the snapshots were created)
5291         
5292 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5294         * objects/network/wanlink.c: 
5295         * objects/network/bus.c: 
5296         stdprop compliance!
5298         * objects/custom/custom_object.c: 
5299         * objects/network/wanlink.c: 
5300         * objects/flowchart/parallelogram.c: 
5301         * objects/flowchart/ellipse.c: 
5302         * objects/flowchart/diamond.c: 
5303         * objects/flowchart/box.c: 
5304         Removed GTK defaults stuff.
5305         
5306         * objects/UML/fork.c: 
5307         * objects/UML/object.c: 
5308         * objects/UML/lifeline.c: 
5309         * objects/UML/branch.c: 
5310         * objects/GRAFCET/transition.c: 
5311         * objects/FS/function.c: Removed GTK include.
5313         * objects/FS/flow-ortho.c: 
5314         * objects/FS/flow.c: Made the label behave again.
5315         Also removed GTK defaults stuff.
5317 2002-08-06  Hans Breuer  <hans@breuer.org>
5319         * app/autosave.c : ported to GDir which is the improved
5320         cross platform replacement for <dirent.h>
5322         * app/makefile.msc : build autosave.obj
5324         * app/font.c : some (bad?) code calls 
5325         dia_font_scaled_decent() not only with empty string but 
5326         with NULL. Handle it gracefully.
5328         * lib/paper.c : don't depend on ../app. Although IMO
5329         this shouldn't be allowed on any platform it is only
5330         disabled for win32, where it simply doesn't work
5331         this way
5333         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
5335         * objects/fs/flow.c : conditionalize debug spew, disabled
5336         and 'ported' to use g_print. Simple printf won't work with
5337         standard win32 gui apps, may even crash them.
5339         * plug-ins/makefile.msc : DISABLED svg-import cause it
5340         depends on ../objects/custom. This not only break the
5341         build for all non ELF systems but IMO also isn't acceptable
5342         from a design point of view. See dia-list mail on subject.
5344         * plug-ins/python/makefile.msc :
5345           plug-ins/python/python.c : remove all references to dirent    
5347 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
5349         * configure.in: added ro to ALL_LINGUAS
5351         * po-checktrans:
5352         * po-checktrans.py:
5353         * ../translation-graphs/transgraph.py: added support for fuzzy
5354         translations. Enlarged the graphs.
5356 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5358         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
5359         key events according to locale.  No clue if this works for
5360         advanced stuff.
5362 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5364         * lib/text.c: Various UTF8 related fixes, in particular in
5365         deleting.  Text_insert_char is fine, far as I can tell.
5367         * app/interface.c (create_display_shell): 
5368         * app/commands.c: Now uses gtk_clipboard functions, for they are
5369         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
5370         don't seem to get handled correctly by text_insert_char in
5371         lib/text.c.
5372         
5373         * app/commands.c (received_selection_handler): Got utf8 handling
5374         on paste, and individual char handling out of commands.c.  Pasting
5375         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
5377         * lib/message.c (gtk_message_internal): Message dialog re-shown
5378         when new message appears.  Maybe it should even move to top?
5380         * lib/font.c: 
5381         * lib/widgets.c: 
5382         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
5383         (again) and case-insensitive.
5385         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
5386         BASIC_SANS_FONT. 
5388 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5390         * app/commands.c (edit_cut_text_callback): 
5391         * lib/text.c (text_delete_all): Now functioning undo for text cut.
5392         
5393         * app/commands.c (edit_cut_text_callback): Now removes text.
5394         Undo is broken, though.
5396 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5398         * app/diagram.c (diagram_update_menu_sensitivity): 
5399         Making cut_text active.
5400         
5401         * app/commands.h: 
5402         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
5403         clipboard.  Also removed AA callback.   
5405 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5407         * objects/chronogram/chronoref.c: 
5408         * objects/chronogram/chronoline.c: 
5409         * objects/SADT/annotation.c: 
5410         * objects/SADT/arrow.c: 
5411         * objects/SADT/box.c: 
5412         * objects/GRAFCET/vergent.c: 
5413         * objects/GRAFCET/vector.c: 
5414         * objects/GRAFCET/step.c: 
5415         * objects/GRAFCET/condition.c: 
5416         * objects/GRAFCET/action.c: 
5417         * objects/ER/participation.c: 
5418         * objects/ER/relationship.c: 
5419         * objects/ER/entity.c: 
5420         * objects/ER/attribute.c: 
5421         Removing unnecessary GTK references.
5423 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5425         * objects/standard/image.c: 
5426         * objects/standard/textobj.c: 
5427         * objects/standard/ellipse.c: 
5428         * objects/standard/polygon.c: 
5429         * objects/standard/beziergon.c:
5430         * objects/standard/box.c: 
5431         Making default default properties.
5432         
5433         * objects/standard/image.c: 
5434         * objects/standard/arc.c: 
5435         * objects/standard/box.c: 
5436         * objects/standard/zigzagline.c: 
5437         * objects/standard/polyline.c: 
5438         * objects/standard/line.c: 
5439         * objects/standard/ellipse.c: 
5440         * objects/standard/polygon.c: 
5441         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
5443         * lib/object_defaults.c (dia_object_default_create): 
5444         * lib/proplist.c: 
5445         * lib/properties.h: 
5446         * lib/object.c (object_copy_using_properties): 
5447         * lib/propdialogs.c: 
5448         * lib/propinternals.h: 
5449         * lib/propobject.c (object_create_props_dialog)
5450         (object_copy_props): 
5451         Removing the standard (toolbox) properties from defaults dialogs.
5453 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5455         * lib/font.c (dia_font_scaled_string_width) 
5456         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
5457         zoom factor.
5458         * lib/text.c (text_calc_boundingbox): Take descent into account.
5460         * objects/standard/bezier.c (bezierline_draw): 
5461         * lib/render.c (draw_bezier_with_arrows): 
5462         Better arrow drawing for beziers.  Doesn't change the mouse-click
5463         area either.
5465         * lib/arrows.h: Some const-ness.
5467         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
5469         * lib/render.c (draw_arc_with_arrows): 
5470         * objects/standard/arc.c (arc_draw): Better arrow drawing for
5471         arcs.  Doesn't change the mouse-click area yet.
5473         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
5475         * lib/render.h: 
5476         * lib/render.c: 
5477         Arc arrow prework.
5479 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5481         * app/group.c (group_draw): Forgotten commit: Groups to draw as
5482         objects (using default routines).
5484         * app/object_ops.h: 
5485         * app/diagram.h: 
5486         * lib/diagramdata.h: 
5487         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
5488         * objects/standard/zigzagline.c (zigzagline_move_handle): 
5489         * app/diagram.c (diagram_find_closest_connectionpoint): 
5490         * plug-ins/python/pydia-diagram.c
5491         (PyDiaDiagram_FindClosestConnectionPoint):
5492         * app/object_ops.c (object_connect_display) 
5493         (object_find_connectpoint_display) 
5494         * app/create_object.c (create_object_button_press) 
5495         (create_object_motion): 
5496         * app/modify_tool.c (modify_motion): 
5497         Adding object param to allow connectionpoint and handle coinciding.
5499         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
5500         Fixing minor problems.
5502         * objects/standard/ellipse.c (ellipse_update_data): 
5503         Added direction hints.
5505         * lib/diagramdata.c: 
5506         * lib/object.c: 
5507         * lib/object.h: 
5508         * lib/diagramdata.h: 
5509         * objects/standard/zigzagline.c: 
5510         First working example of zigzagline hints, currently only between
5511         Box and Zigzagline.
5513 2002-07-27  Steffen Macke <sdteffen@web.de>
5515         * plug-ins/svg/render_svg.c: added support for rounded
5516         rectangles (fixes #69053 if compile with
5517         -DNEW_RENDER_OPS)
5518         * object/custom/shape_info.[c|h]: made parse_style and
5519         parse_path accessible for svg plug-in
5520         * plug-ins/svg/Makefile.am:
5521         * plug-ins/svg/svg.c:
5522         * plug-ins/svg/svg-import.c(new): added SVG import filter
5524 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5526         * objects/standard/box.c: 
5527         * objects/standard/zigzagline.c (zigzagline_move): 
5528         More work on zigzagline hints.
5530 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5531         * lib/connectionpoint.h: 
5532         Hints for zigzaglines.
5534         * app/properties.c (properties_show): 
5535         * app/defaults.c (defaults_show): 
5536         * lib/properties.h: 
5537         * lib/propobject.c (object_create_props_dialog): 
5538         * lib/object.h: 
5539         * objects/FS/flow-poly.c: 
5540         * objects/network/wanlink.c: 
5541         * objects/network/bus.c: 
5542         * objects/UML/class.h: 
5543         * objects/UML/class_dialog.c: 
5544         * objects/UML/association.c: 
5545         Start of removing toolbox props from props dialogs.
5546         
5547         * lib/widgets.c: 
5548         * lib/arrows.h: 
5549         * app/lineprops_area.c (dia_arrow_chooser_new): 
5550         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
5552         * app/create_object.c: 
5553         * app/modify_tool.c: 
5554         * app/cursor.h: 
5555         * app/cursor.c: 
5556         More cursor change.
5558 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5560         * app/preferences.c: 
5561         * lib/paper.c: 
5562         * app/diapagelayout.c: 
5563         New prefs selector kind PREF_CHOICE chooses between a list of
5564         strings.  Used for picking default paper.
5565         
5566         * app/preferences.c (prefs_data): 
5567         * lib/paper.c (get_paper_info): Added prefs setting for
5568         is_portrait.
5570         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
5571         line segments at the ends (bug #86603).
5573 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5575         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
5576         #60324: Now calls update_data after copy.
5578         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
5579         Now doesn't steal selection from non-object tools.
5581 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5583         * app/commands.c (help_manual_callback): Uses BROWSER environment
5584         variable when available.
5586 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5588         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
5589         object from the new sheet when changing.
5591         * app/app_procs.c (app_init): Uses more standard size icon, from
5592         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
5594 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5596         * objects/UML/implements.c (implements_update_data): 
5597         * objects/UML/realizes.c (realizes_update_data): 
5598         * objects/UML/dependency.c (dependency_update_data): 
5599         Test for null strings before calling on ascent.
5601         * objects/UML/realizes.c (realizes_draw): 
5602         * objects/UML/message.c (message_draw): 
5603         * objects/UML/generalization.c (generalization_draw): 
5604         * objects/UML/dependency.c (dependency_draw) 
5605         * objects/UML/constraint.c (constraint_draw): 
5606         * objects/GRAFCET/condition.c (condition_draw): 
5607         * objects/UML/association.c (association_draw): 
5608         * objects/FS/flow-ortho.c (orthflow_draw): 
5609         * objects/FS/flow.c (flow_draw): Change to use
5610         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
5612         * lib/render.h: 
5613         * lib/arrows.c (calculate_arrow_point): 
5614         * lib/arrows.h: 
5615         * lib/render.c: 
5616         * objects/standard/zigzagline.c:
5617         * objects/standard/polyline.c:
5618         * objects/standard/line.c: Work towards better arrow drawing.
5620 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5622         * objects/UML/state.c: Starting phase-out of State object as
5623         initial/final state (which never worked right).
5625         * app/app_procs.c (app_init): --version command line option for
5626         non-Gnome.
5628         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
5630 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5632         * app/render_eps.c: Removed debugging info.
5634         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
5635         Kludge to make ascent and descent work for empty strings.  Won't
5636         work when using non-ASCII fonts.  Better would be to get a
5637         PangoFont and ask directly.
5639         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
5640         of the init stuff.
5642         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
5643         Cursor now better.
5645 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5647         * plug-ins/xfig/xfig-export.c: First use of draw_object render
5648         function: All shapes are now groups in XFig export.
5650         * lib/diagramdata.c (normal_render): 
5651         * lib/render.c: 
5652         * lib/render.h: 
5653         * app/display.c (ddisplay_obj_render): 
5654         New render function for drawing objects, allows renderers to group
5655         or otherwise specially handle objects.  We may want to reconsider
5656         calling it in app/display.c, as we 'know' the object draw function
5657         is the default one there.
5659         * lib/Makefile.am: Removed extra \ that broke stuff.
5661         * plug-ins/xfig/xfig-import.c: 
5662         Spline import for xfig.  Not perfect.
5664         * objects/standard/create.h: 
5665         * objects/standard/bezier.c (bezierline_create): 
5666         * lib/bezier_conn.c: 
5667         * lib/beziershape.c (beziershape_set_points): 
5668         * lib/bezier_conn.h: 
5669         * lib/beziershape.h: 
5670         Support for creating beziers non-interactively.
5672 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5674         * plug-ins/xfig/xfig-import.c: Support for polygons and
5675         polylines.  Special warning handling system removed.
5677         * lib/message.c (gtk_message_internal): Fixed bug involving
5678         closing message window and then getting repeated message.
5680         * Makefile.am: 
5681         * autogen.sh: 
5682         * configure.in (GETTEXT_PACKAGE): 
5683         Update based on bug #88199.  Hopefully this doesn't break too much
5684         intl stuff.
5686         * dia.desktop.in (_Comment): Changed after suggestion from
5687         calum.benson@ireland.sun.com (bug 88345)
5689         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
5690         <loli@unsa.edu.ar> that makes user/system distinction better.
5692 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5694         * app/render_libart.c: Got the context right, removed crashes.
5696         * app/commands.c: 
5697         * app/commands.h: 
5698         Redraw menu item.
5700         * app/display.c: 
5701         * app/display.h: 
5702         * app/interface.c: 
5703         * app/menus.c: 
5704         Remove libart #defines from most places (still around for png export).
5706         * app/render_libart.h: 
5707         * app/render_libart.c: 
5708         * configure.in (HAVE_LIBART): 
5709         Starting on update of libart stuff for png export (without X).
5711         * app/autosave.h (autosave_check_autosave): 
5712         * app/load_save.h: 
5713         * app/diagram.h: 
5714         * app/Makefile.am (dia_core_files): 
5715         * app/load_save.c: 
5716         * app/diagram.c (diagram_set_modified): 
5717         * app/autosave.c: 
5718         * app/app_procs.c (app_init): 
5719         Autosave support.  No automatic restore yet.
5721 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5723         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
5724         assignment. 
5725         
5726 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5728         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
5730 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
5732         * Fix for 'make dist' etc. --- problem caused by
5733         previous AUTHORS patch.
5735 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5737         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
5738         pango_context. 
5739         (set_font): NULL check.
5740         
5741 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5743         * app/disp_callbacks.c: 
5744         * lib/diamenu.h: 
5745         Addition to the object menus allows check menu items.
5747 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
5749         * HACKING: completely changed to bring up-to-date.
5750         * AUTHORS: file needs REMOVING from CVS as now
5751           dynamically generated.
5752         * app/authors.h: split into subcategories for original
5753           authors, maintainers, etc.
5754         * app/app_procs.c: --credits rewritten to support new
5755           app/authors.h
5756         * app/commands.c: no changes to about box code, comment
5757           added though.
5758         * Makefile.am: added rule for AUTHORS. I'm still
5759           inexperienced with automake, it seems to work, but
5760           for AUTHORS-related bugs, look at this change first.
5762 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5764         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
5765         work.  Back to including xslt dir always.
5767         * objects/UML/uml.c: 
5768         * objects/UML/class.h: 
5769         * objects/UML/class_dialog.c: 
5770         * objects/UML/class.c: Patch from
5771         <mattam@netcourrier.com>:  Adds comment visibility switch, also
5772         fixes various bugs.
5774         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
5775         for state/fork/activity stuff.
5776         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
5777         * objects/UML/Makefile.am:
5778         * objects/UML/uml.c:
5779         * sheets/UML.sheet.in: Added new objects activity, fork,
5780           state_term.
5781         * objects/UML/pixmaps/state_term.xpm:
5782         * objects/UML/state_term.c: New, only initial/final states.
5783         * objects/UML/pixmaps/activity.xpm:
5784         * objects/UML/activity.c: New, activity state.
5785         * objects/UML/pixmaps/fork.xpm:
5786         * objects/UML/fork.c: New, fork/join bar.
5787         * objects/UML/pixmaps/state.xpm: state icon.
5789         
5790         * doc/diagram.dtd: 
5791         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
5792         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
5793         svg:text to shape.
5795 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5797         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
5798         detecting XSLT
5800         * app/Makefile.am: Commented out the diaconv parts while it's not
5801         used anyway.  To come back later.
5803         * configure.in (HAVE_FREETYPE): 
5804         * app/app_procs.c: 
5805         * app/render_eps.h: 
5806         * app/render_eps.c: Support for printing with freetype, better
5807         encapsulated now.  Renders the text nicely, but ignores font
5808         setting.  Requires pangoft2 to get the font outline, but non-text
5809         objects can still be rendered without it.
5811         * app/commands.h: 
5812         * app/commands.c (objects_place_up_callback) 
5813         (objects_place_down_callback): 
5814         * app/diagram.h: 
5815         * app/diagram.c (diagram_place_down_selected) 
5816         (diagram_place_up_selected): Starting support for moving objects
5817         one level up/down.
5819         * app/menus.c: Removed character/numeral shortcuts.
5821 2002-07-06  Hans Breuer  <hans@breuer.org>
5823         * makefile.am app/makefile.am lib/makefile.am
5824           objects/makefile.am plug-ins/makefile.am 
5825           plug-ins/python/makefile.am :
5826         added required files for win32 build to EXTRA_DIST
5828         * app/paginate_psprint.c app/render_eps.c 
5829           app/app_procs.c :
5830         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
5831         on Pango as currently is on win32 => no PostScript 
5832         anymore.
5834         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
5835         use '/* noop */;' for empty case labels; replace
5836         debug spew printf with g_print which is guaranteed 
5837         to work on win32, too.
5839         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
5840         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
5841         in the pango_font_description_set_weight() api documentation
5842         Take care for them in dia_font_get_style() too.
5844         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
5845           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
5846         rename Obliquity to Slant which appears to be the usual name,
5847         also rename dia_font_get_style_string -> dia_font_get_slant_string
5849         * plug-ins/wmf/wmf.cpp : finally ported to new font api
5851         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
5853         * objects/uml/association.c class.c large_package.c message.c
5854         if g_free() is used g_strdup needs to be used.
5855         * objects/custom/shape_info.c
5856           objects/ER/attribute.c entity.c
5857           objects/standard/image.c 
5858           app/sheets_dialog_callbacks.c : more strdup cleaning
5860 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5862         * app/render_eps.c: Non-crashing printing (made the right
5863         context).  Font output still fscked up.
5865 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
5867         * app/authors.h: Added file --- now master
5868         location for contributors data.
5869         * app/app_procs.c: Added --credits option.
5870         * app/commands.c: Modified about box to use
5871         app/authors.h.
5873 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5875         * app/render_eps.c: First stab at EPS rendering using the contour
5876         code from PAPS.  Crashes.
5878 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5880         * app/recent_files.c (recent_file_history_remove): 
5881         Fixed call to g_list_delete_link discarding return value.
5882         
5883         * lib/widgets.c (dia_font_selector_set_styles): 
5884         * lib/font.h (DiaFontWeight): 
5885         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
5887 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
5889         Contribution from Alan Horkan <horkana@tcd.ie>: 
5890         
5891         * shapes/Assorted/*
5892         * sheets/Assorted.sheet:
5893         A set of 40 assorted geometric shapes.
5895         * sheets/Assorted.sheet.in:
5896         * sheets/Makefile.am
5897         * shapes/Assorted/Makefile.am:
5898         * shapes/Makefile.am:
5899         * po/POTFILES.in:
5900         * configure.in:
5901         Done the integration job of Alan's shapes. (Translators: have fun!)
5903         * po/dia.pot: refreshed the main potfile.
5904         
5905 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
5907         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
5908         
5909         * objects/UML/class.[ch]:
5910         * objects/UML/class_dialog.c:
5911         changed the number of connection points from a hardcoded value of
5912         8 to a #defined constant
5914         (I changed the constant back from 20 to 8, until we better know
5915         how we'll handle more connection points on the UML class in the
5916         future -- but Tim's patch is a welcome clean-up).
5918 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
5920         * shapes/MSE/demultiplexer.xpm:
5921         * shapes/MSE/node_center.xpm:
5922         * shapes/MSE/multiplexer.xpm:
5923         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
5924         Horkan <horkana@tcd.ie>
5926 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5928         * lib/widgets.c: Total rehash of font selector, with font dialog
5929         option, expanding list (not LRU yet), and stuff.
5931 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
5933         * lib/font.h:
5934         * lib/font.c: 
5935         Added a set of new setter/getters, some of them more specially for
5936         the SVG-ish I/O.
5937         
5938         * plug-ins/shape/shape-export.c: (new_shape_renderer),
5939         (destroy_shape_renderer), (set_font), (draw_string):
5940         * plug-ins/svg/render_svg.c: (new_svg_renderer),
5941         (destroy_svg_renderer), (set_font), (draw_string):
5943         Actually exported the font face, style, weight and size (sodipodi
5944         agrees with dia on how a small sample should look like (a sample
5945         0.90 would not even display anyways). Yay !)
5947         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
5949         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
5951         (end of ChangeLog-less patch)
5953         * objects/custom/shape_info.c (parse_style): now understands the
5954         font-style and font-weight attributes as well. Does not use
5955         anymore dia_font_new_from_legacy_name().
5956         
5957 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5959         * objects/standard/textobj.c: Now uses stdprops for defaults.
5961         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
5962         * lib/font.c (dia_font_get_style): Style now linear and conversion
5963         simple. 
5965         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
5966         selector. 
5968 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
5970         * plug-ins/dxf/dxf-import.c:
5971         using dia_font_new_from_style()
5973         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
5975         * objects/UML/class.[ch]: Added a comment field to class
5976         * objects/UML/uml.[ch]: Added a comment field to attributes,
5977         operations and parameters.
5978         * objects/UML/class_dialog.c: Added code for the new comment
5979         fields.
5980         * plug-ins/xslt/*.xsl: Added some code to handle comments.
5981         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
5982         Added a $directory parameter for stylesheets so the output is 
5983         in the good place (not in the $PWD).
5985         (end of Patch)
5987         * AUTHORS: added contributors, updated maintainers. Removed the
5988         specific areas of action.
5990         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
5991         from a patch by Xing Wang <quixon@gnuchina.org>:
5993         * app/commands.c: help_about_callback now supports
5994         new-style GNOME about box as well as old GTK style. 
5995         code also tidied (Closes: #85726)
5997         (end of Patch)
5999         * app/commands.c: fixed the copyright (it's not all FSF), and
6000         maintainers. Synced contributors list with AUTHORS.
6001                 
6002 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6004         * lib/message.c: More work on repeating messages, now with
6005         togglable view.
6007 2002-06-24  Hans Breuer  <hans@breuer.org>
6009         * lib/widget.c : some more bits in place, at least
6010         it does something useful instead of crashing. Much
6011         better - but not all ok :-)
6013 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6015         * lib/message.c (gtk_message_internal): First stab at repeating
6016         message dialog.
6018 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6020         * objects/FS/*.c:
6021         * objects/GRAFCET/*.c:
6022         * objects/SADT/*.c:
6023         * objects/UML/association.c: (one instance forgotten)
6024         * objects/UML/large_package.c: 
6025         * objects/standard/textobj.c:
6026         * lib/attributes.c:
6027         * lib/text.c:
6028         using dia_font_new_from_style()
6030 2002-06-23  Hans Breuer  <hans@breuer.org>
6032         * lib/font.c : giving some love to
6033         dia_font_new_from_legacy_name() that is making
6034         import of old files as painless as possible and
6035         provide an almost exact match where possible.
6036         It does not yet fully work because it interfers
6037         with the Style to DiaStyle conversion which comes
6038         next ...
6040         [Changing these files is only allowed with Dia-0.90]
6041         * broken-files/fonts-0.90.dia : including the
6042         common hard-coded fonts from Dia-0.90. It also
6043         has drawn bounding-boxes for win32 as they were calculated
6044         from the former version (they were all too big).
6045         * broken-files/fonts-0.90-full.dia : all hardcoded
6046         fonts including the asian versions. On my machine
6047         this gives _a lot_ complaining about missing fonts
6048         and a finally a broken file display. Anyone having
6049         all these fonts ?
6050         
6051 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6053         * objects/chronogram/*.c: 
6054         * objects/custom/custom_object.c:
6055         * objects/ER/*.c:
6056         using dia_font_new_from_style()
6058 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6060         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
6061         font selector (stability, insensitivity).
6063         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
6064         stretching scheme for tweaking, and made scaling scheme faster
6065         (but less precise).
6066         (dia_font_dia_style_to_pango): Oops, % != /.
6068 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6070         
6071         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
6073         * plug-ins/xslt : Added an XSLT plugin to export dia files using
6074         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
6075         It includes a small config file to tell it what stylesheets to use.
6077         (end of patch)
6078         
6079         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
6080         GTK2.0/HIG compliant (the labels could be slightly more verbose,
6081         perhaps). Added back a couple forgotten _(). Removed //-style
6082         comments.
6083         
6084 2002-06-23  Hans Breuer  <hans@breuer.org>
6086         * lib/plug-ins.c
6087         (dia_plugin_get_name) : don't crash plugin_manager
6088         on name being NULL 
6089         (dia_plugin_load) : reuse the description field to
6090         store the error string if loading fails.
6092         * lib/font.[hc] : starting to beautify the new
6093         font api: proper namespacing, adding convenience
6094         functions like dia_font_new_from_style(), ...
6096         * objects/uml/*.c : use the new convenience functions.
6098         [Next thing I plan to do is changing the other font
6099          functions to take DiaStyle and make Style and 
6100          BASIC_*_FONT vanish. As well as giving some love to
6101          dia_font_new_from_legacy_name().
6102          If anyone want's to help on converting the other
6103          objects to the new api during that, I would highly 
6104          appreciate it.]
6106 2002-06-23  Hans Breuer  <hans@breuer.org>
6108         * lib/font.c : made it compile and small indent fixes.
6109         Is there a code-has-no-effect-so-needs-not-be-valid
6110         with GCC?       
6112         * lib/widgets.c : use g_strcasecmp
6114 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6116         * lib/font.c: 
6117         * lib/font.h: 
6118         * lib/widgets.c: Font names sorted, style selector widget
6119         reappeared.  Doesn't select the old style yet.
6121 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
6123         * lib/font.c: one who expects a text's font to be changed shall 
6124         actually request the attributes to apply to the whole range of the
6125         said text... D'oh! 
6127         * lib/font.c: extents computation was wrong.
6129         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
6130         if a last NULL parameter is added...
6132         * lib/font.c: extents computation was completely wrong. This looks
6133         much better this time.
6135         * objects/UML/class.c: fixed the various strings positions.
6137         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
6138         macros to get the hardcoded base fonts.
6140         * objects/ER/relationship.c: wasn't converted to DiaFont*
6141         
6142 2002-06-22  Hans Breuer  <hans@breuer.org>
6144         * lib/widget.c : dont use backend specific functions
6145         to get on the font_families. Including it would mean
6146         including <windows.h> which breaks due to namespace
6147         pollutions ...
6149         * lib/libdia.def : updated externals
6151         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
6153         * lib/font.c : added empty dia_font_init_instance function,
6154         reformatting of dia_fon_unref to allow to set breakpoint,
6155         dia_fon_build_layout() : dont crash on string==NULL
6157         * lib/text.c (text_set_attributes) : don't unref the wrong font
6159         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
6160         stores lowercased font names, but dia_font_get_family()
6161         returns mixed case      
6163 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6165         * lib/widgets.c: 
6166         * app/render_gdk.c: Patch from Hans Breuer.
6168         * app/Makefile.am (dia_core_files): diaconv commented out for now.
6169         
6170 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
6172         * lib/all files touched yesterday: took into account some of Hans
6173         Breuer's remarks in
6174         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
6176         * objects/chronogram/*: 
6177         * objects/custom/*:
6178         * objects/ER/*:
6179         * objects/flowchart/*:
6180         * objects/FS/*:
6181         * objects/GRAFCET/*:
6182         * objects/SADT/*:
6183         * objects/standard/textobj.?:
6184         * objects/UML/*:
6185         converted to the new DiaFonts.
6187         * plug-ins/cgm/*:
6188         * plug-ins/pstricks/*:
6189         * plug-ins/wpg/*:
6190         * plug-ins/dxf/*:
6191         * plug-ins/xfig/*:
6192         Made minimalistic conversions so that they'd at least compile.
6194         * app/render_gdk.c:
6195         * app/render_pixmap.c:
6196         Converted to the new DiaFonts.
6198         * app/app_procs.c
6199         * app/diaconv.c:
6200         * app/render_eps.c:
6201         made the minimal changes so that it would at least build.       
6203         *** At this point, the thing builds on my machine, but segfaults
6204         right away. ***
6205         
6206 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
6208         * configure.in: removed the backend-specific pango pkg_modules
6209         (trivial to add back if needed, when actually needed)
6211         * app/Makefile.am:
6212         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
6213         renderer. The APIs will have completely changed when we get around
6214         to redo a renderer for it, anyways.
6216         * font.[ch]: rewrote everything from scratch, with a Pango
6217         implementation. Normally, only backend-neutral things should go in
6218         there.
6220         **WARNING**: new rules for managing DiaFont* pointers: these are
6221         reference-counted GObjects. One >must< diafont_ref() and
6222         diafont_unref() as appropriate. I wish I could overload operator=()...
6224         lib/plug-ins.h: bumped up the plug-in API.
6225         
6226         lib/attributes.c: 
6227         lib/dia_xml.c: 
6228         lib/dummy_dep.h
6229         lib/object_defaults:
6230         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
6231         again tomorrow with GObject.
6232         
6233         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
6235         **** The rest of the tree should be updated as well ****
6236         
6237 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6239         * app/render_gdk.h: 
6240         * app/render_gdk.c: 
6241         * app/render_pixmap.c: 
6242         * app/render_pixmap.h: 
6243         * app/render_libart.h: 
6244         * app/render_libart.c: 
6245         * lib/font.h: 
6246         * lib/font.c: Removed freetype stuff (still around in
6247         lib/widgets.c 'cause we might want the font selector widget).
6249 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
6251         * shapes/network/laptop.(xml|shape):
6252         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
6253         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
6255 2002-06-17  Hans Breuer  <hans@breuer.org>
6257         * lib/object_defaults.c : #include <libxml/tree.h> not
6258         <tree.h> pointed out by Xing Wang
6260 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6262         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
6263         * lib/widgets.c: 
6264         * app/color_area.c: Update to
6265         gtk_color_selection_*_current_color() fixed bad crash issues, plus
6266         updated color conversions.
6268         * sheets/ER/weakentity.xpm: Accepted patch from
6269         quixon@gnuchina.org to make icon match actual appearance.
6271         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
6272         quixon@gnuchina.org.
6274 2002-06-16  Hans Breuer  <hans@breuer.org>
6276         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
6277         good tradition of information hiding. Add new function
6278         dia_plugin_get_symbol()
6279         * app/sheets.c app/sheets_dialog_callbacks.c : use it
6281         * app/sheets.c : stop complaining about object_get_type() 
6282         returning NULL. This is a consequence of e.g. disabling 
6283         plug-ins at runtime _and_ it was and is gracefully handled. 
6284         Spitting out g_warning for it isn't appropriate. 
6286         * lib/object.[ch] : removed dead code
6288         * app/plugin-mangager.c : almost complete rewrite for gtk2
6289         using GtkListStore/GtkTreeView
6291         * lib/libdia.def : updated externals
6293         * todo.gtk2 : updated, that is removed already done steps
6295 2002-06-15  Hans Breuer  <hans@breuer.org>
6297         * objects/uml/class_dialog.c : clean some left-over
6298         utf8-mess, return 0 from "focus_out_event" handlers
6299         to avoid asserting in gtk (#78305). Reconstruct 
6300         stereotype/NULL behaviour to avoid rendering empty
6301         stereotypes on classes and member functions
6303         [#56109 - Provide object defaults for StdProp objects,
6304          some remaining issues are discussed in bugzilla]
6306         * lib/object_defaults.c : (new file) manage default properties 
6307         of dia objects. The serialization is done with standard
6308         object methods in a diagram compatible format.
6310         * lib/object.c : add object_registry_foreach() which allows
6311         to iterate over all registered object types
6313         * lib/object.h : added prototypes object_default*() and
6314         object_registry_foreach()
6316         * lib/makefile.am lib/makefile.msc : add new file to build
6318         * lib/libdia.def : export new functions
6320         * app/defaults.c : provide StdProp based defaults if the
6321         ObjectType doesn't implement it's own default functions
6323         * app/create_object.c : through dia_object_default_create()
6324         * app/disp_callbacks.c : same here
6326 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6328         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
6329         sensitivity for deleting segments.
6331 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
6333         * app/color_area.c: (color_area_events):
6334         * app/diagram.c: (diagram_destroy):
6335         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
6336         (fill_sheet_menu):
6337         * app/load_save.c: (diagram_data_load):
6338         * app/menus.c: (menus_get_item_from_path):
6339         * app/preferences.c: (prefs_load):
6340         * app/render_gdk.c: (get_text_width):
6341         * lib/arrows.h:
6342         * lib/color.c: (color_convert):
6343         * lib/dia_dirs.c: (dia_config_filename):
6344         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
6345         * lib/intl.c: (intl_get_language_list):
6346         * lib/message.c: (message):
6347         * lib/message.h:
6348         * lib/paper.c: (get_default_paper):
6349         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
6350         * lib/widgets.c: (dia_file_selector_get_file):
6351         * lib/widgets.h:
6352         * objects/standard/image.c: (get_directory):
6354         warningectomy.
6355         
6356 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6358         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
6360 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6362         * app/interface.c: sscanf now returns EOF on empty string, so
6363         handle no match for zoom factor better => correct zoom at start.
6365         * app/sheets.c (create_object_pixmap): Tried to display empty error.
6366         (sheets_optionmenu_create): Died when not finding specified
6367         sheet.  Don't think it should.
6369         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
6370         (bug #84367) to place the text better.
6372 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
6374         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
6375                         
6376         * app/commands.c: Removed unnecessary gnome include. Removed
6377         GNOME-Print support.
6379         * app/menus.h: Removed now unnecessary gnome include.
6380         
6381         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
6382         GNOME-specific stock buttons
6383         
6384 2002-06-09  Hans Breuer  <hans@breuer.org>
6386         * app/app_procs.c : convert 'Modified diagrams exits'
6387         dialog to use GtkMessageDialog. That gives us:
6388         - icons without Gnome dependency
6389         - much less code, also cross platform
6390         - improved useability ?
6392         * app/color_area.c : the Color Selection Widget looked
6393         quite wrong (alpha problems). Fix it by merging in required
6394         changes stolen from The Gimp cvs
6395         * app/color_area.h : to get the right appearance the maskes
6396         needed to be taken into account
6397         * app/interface.c : adapt to color_area_create changes.
6398         Also remove some dead code and finally remove cvs autexpansion, 
6399         I was bothered enough by irrelevant differences :-)
6401         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
6402         api, i.e stocks and response to make the GnomeDialog usage
6403         obsolete. Also fixed the issue with closing the 'parent'
6404         before closing the dialog
6406         * app/display.[ch] : removed some dead code and conversion
6407         to new GtkDialog api. Also trying to conform to new HIG
6408         standard http://developer.gnome.org/projects/gup/hig/
6410 2002-06-09  Hans Breuer  <hans@breuer.org>
6412         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
6413         build ps-utf8.c
6415         * lib/dia_image.c : gtk_widget_set_default_visual()
6416         remove. It does nothing with Gtk2.
6418         * lib/libdia.def : added ps_unicoder exports
6420         * lib/message.c : remove #GNOME use GtkMessageDialog.
6421         Yeah, Dia gets dialogs wit icons cross-platform.
6423         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
6424         to gtk_spin_button_get_value()
6426         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
6428         add #undef GTK_DISABLE_DEPRECATED to still use ...
6429         * lib/prop_text.c :  ... GtkText
6430         * lib/prop_widgets.c : ... GtkList
6431         * lib/prop_dialogs.c : ... gtk_signal_connect and more
6432         * lib/widgets.c : ... (too much to list here)
6434         * lib/ps-utf8.c : #include <string.h>
6436 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
6438         * configure.in:
6439         * Makefile.am:  Adapted for gtk2.
6440         Removed dependencies on libunicode, on iconv(), on langinfo().
6442         * acconfig.h: removed (now obsolete)
6444         * lib/charconv.[ch]: removed (superceded by glib)
6445         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
6447         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
6448         libunicode types for their glib counterparts. Fixed the include
6449         paths for libxml2. Removed all traces of libxml1 or non-UTF8
6450         support (there were remains in objects/uml).
6452         
6453 2002-06-08  Hans Breuer  <hans@breuer.org>
6455         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
6456         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
6457         Also use g_strdup()'s handling of NULL by returning NULL
6458         again at all places I found (remove unnecessary if's)
6460         * todo.gtk2 : new file to keep notes about gtk2 porting,
6461         further issues and thoughts and some status information.
6462         Also sent to dia-list ('Dia goes Gtk2 ...').
6463         
6464         [make it compile with GTK+ 2.0]
6466         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
6467         removed definition of S_ISDIR, S_ISREG and getlogin
6469         * */makefile.msc : Use GTK2 and libxml2
6470         BEWARE: makefile.am, configure.in not yet ported !
6472         * app/app_procs.c app/diagram.c : remove 
6473         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
6474         but set use gtk_menu_set_accel_path() on menu creation
6476         * app/color_area.c lib/widgets.c : 
6477         make use of gtk_color_selection_set_has_palette ()
6479         * app/commands.c : gdk_pixbuf_new_from_file wants an 
6480         extra argument. Convert from DIR to GDir usage.
6482         * app/diagram_tree.c(button_press_callback) : need to return 
6483         FALSE in the signal handler to let gtk process it further.
6484         (get_object_name) : don't leak 'prop'
6485         
6486         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
6487         dia_page_layout_destroy() getting called more than once
6489         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
6490         GtkTypeInfo changes
6492         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
6494         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
6495         IIRC this code will not compile unchanged when USE_XIM is defined ...
6497         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
6499         * app/interface.c : there is no widget->klass anymore in Gtk, 
6500         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
6501         parameter. Some tweaking of GtkWrapBox usage to get four tools in
6502         a row again.
6503         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
6504         get triple buffering and flicker.
6505         Replace call to GTK private function _gtk_accel_group_attach()
6506         with public gtk_window_add_accel_group()
6508         * app/layer_dialog.c : adapt to GtkTypeInfo changes
6510         * app/load_save.c lib/plug-ins.c lib/sheet.c 
6511           objects/custom/custom.c : 
6512         simplified by using g_file_test()
6514         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
6515         to gtk_accel_map_<save|load>. Also added common stock-icons
6516         to the menu.
6517         
6518         * app/preferences.c : use gtk_button_set_label() instead
6519         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
6521         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
6522         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
6523         in config.h.win32
6525         * app/recent_files.c : removed GLIB_CHECK_VERSION
6527         * app/render_eps.c 
6528           plug-ins/metapost/render_metapost.c
6529           plug-ins/pstricks/render_pstricks.c
6530           plug-ins/svg/render_svg.c :
6531         replace getlogin() with g_get_user_name() which always
6532         returns non NULL
6534         * app/render_gdk.c : gdk_region_union_with_rect() modifies
6535         inplace now and returns nothing, also less #hell
6537         * app/render_libart.c : some initial #hell cleaning, SuckFont
6538         still needs to vanish
6540         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
6541         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
6543         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
6544         * app/sheets_dialog_callbacks.c : some #hell and adaptions
6545         needed to GtkWrapBox api changes
6548         * lib/charconv.[hc] : removed from build
6549         [changed appropriate]
6550         * lib/prop_inttypes.c lib/prop_text.c : 
6551         all utf-8 cleaning 
6552         * lib/text.c : ported from HEAD but keep original indent
6553         intact. Original was done by Akira TAGOH.
6555         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
6557         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
6559         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
6560         same on all platforms now!
6562         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
6564         * lib/message.c : remove "charconv.h"
6566         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
6568         * lib/plug-in.c :
6569         * lib/sheet.c : convert from DIR to GDir usage
6571         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
6573         * lib/widgets.h : include gtk<label|colorseldialog>.h
6576         * objects/fs/flow.c :
6577         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
6579         * objects/custom/custom.c : convert from DIR to GDir usage
6582         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
6585 2002-05-03  Hans Breuer  <hans@breuer.org>
6587         * lib/dia_xml.c : make the well formed utf8 check
6588         actually work for &#251; (non 7-bit ascii encoding)
6589         and fixed the file re-writing if the check fails.
6590         Thanks to Vitaly Lipatov for noticing the misbehaviour.
6592         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
6593         comment on last ressort font. Thanks to Maxim Sobolev.
6595 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
6597         * sheets/network.sheet.in: corrected a typo in plotter invocation.
6599 2002-06-03  Steffen Macke  <sdteffen@web.de>
6601         * shapes/network/digitizing_board.png:
6602         * shapes/network/digitizing_board.shape:
6603         * shapes/network/plotter.png:
6604         * shapes/network/plotter.shape:
6605         * shapes/network/Makefile.am
6606         * sheets/network.sheet.in: added new plotter and digitizing
6607         board shapes
6608         
6609 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
6611         * lib/font.c: made a symptomatic fix to a segfault reported by 
6612         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
6613         won't prevent dia from terminating, but should give more
6614         user-friendly information about why did it terminate.
6616         Two patches from <robert.young@dsto.defence.gov.au>:
6617         
6618         * app/display.c: fix the size of the canvas area which gets
6619         redrawn. There was an off-by one error (Closes #83659)
6621         * app/display.c: make sure we redraw all screen only when we
6622         really have to (some update_areas were mistakenly ignored) (Closes
6623         #83496). 
6625         * NEWS: added a new entry for the future. Put there a reminder to
6626         update the dependencies.
6628         * configure.in: put in notes about what will change shortly.
6629         upped the version to 0.90+cvs (did also in config.h.win32)
6630         upped the minimum version for intltools (now 0.21)
6631         
6632 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
6634         * dia.spec:
6635         * configure.in:
6636         * NEWS:
6637         * config.h.win32:
6638         bumped up version number to 0.90. Yay!
6640 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
6642         * doc/pl/Makefile.am:
6643         * doc/en/Makefile.am: fixed a "make install" problem when db2html
6644         is not present (Reported by Andrew Ferrier
6645         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
6646         problem which prevented me from ever seeing the problem in doc/en...
6647         
6648         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
6649         
6650         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
6651         way to read the font path from the XFS configuration files in
6652         order to enable FreeType (fixes #83098).
6654         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
6655         shipped nowadays.
6656                 
6657         * dia.spec:
6658         * configure.in:
6659         * NEWS:
6660         * config.h.win32:
6661         bumped up version number to 0.90.RC3
6663 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
6665         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
6666         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
6667         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
6668         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
6669         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
6670         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
6671         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
6672         Added Polish documentation.
6674 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
6676         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
6677         format for the UML State object. Now there's a hack to reload
6678         older files, and get them converted on the fly. 
6679         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
6681         * lib/properties.h:
6682         * lib/propobject.c:
6683         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
6684         and adapter the proplist predicates. A LOAD_ONLY property is for
6685         when you have legacy to support but can't resist moving your
6686         fields around... (was needed to support the above state.c fix).
6688         If the in-core of your object changes and you need a LOAD_ONLY
6689         property for the old format, you must keep some spare room in your
6690         object's struct to accomodate for the potential old-style
6691         attributes. Then in foo_load(), after having called
6692         object_load_using_properties(), you must inspect the old-style
6693         fields and act accordingly. Don't ever change the on-disk formats...
6695         * objects/UML/object.c:
6696         * objects/UML/small_package.c: added a check against empty
6697         stereotypes still consuming space. Reported by Dolores Alia de
6698         Saravia <loli@unsa.edu.ar>. Thanks!     
6699         
6700 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
6702         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
6703         using libtool on an AFS partition.
6705         * po/update_potfiles_in.sh: now simply calls the recent intltools 
6706         features; they work better than hand-crafted half-ignorant
6707         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
6708         for the tip.
6710         * po/POTFILES.in: added back two files update_potfiles_in.sh
6711         didn't take into account. Now this file is not automatically
6712         generated anymore!      
6713         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
6714         (the usual suspects, in fact).
6716         * configure.in: improved the isinf() / isfinite() detection on
6717         Solaris (MÃ¥rten Svantesson)
6718         
6719 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
6721         * configure.in: one expression was replacing $CFLAGS, removing
6722         whatever was previously in.
6723         Added more checks for isinf() and finite() on Solaris.
6725         * lib/geometry.h: added a macro defintion for isinf() if not
6726         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
6727         on Win32)
6729         * app/commands.c: "cut" did not set the 'modified' bit (paste has
6730         been for a little while). Fixes #82994.
6732         * Makefile.am: added more stuff to distclean-local. This should make
6733         "make distcheck" pass! Thanks to the author of
6734         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
6735         ... I wonder who this Henstridge guy is ... ;-)
6736         Darn. Still doesn't pass. I give up for tonight.
6737         
6738         * po/update_potfiles_in.sh: updated to take care of sheet files,
6739         and to filter out the EML plug-in.
6740         * po/POTFILES.in: updated with all .c and all .sheet.in files 
6742         * po/dia.pot, po/*.po: again updated all .po files with all
6743         strings (with the updated POTFILES). Now with the up-to-date
6744         POTFILES, just all languages have some fuzzy or untranslated
6745         strings (not that the 100% team was that large beforehand...)
6747         * po-checktrans: removed the comment about .po files not holding
6748         all translatable stuff, since now they do.
6749         
6750 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
6752         * dia.spec:
6753         * configure.in:
6754         * NEWS:
6755         * config.h.win32:
6756         bumped up version number to 0.90.RC2
6758 2002-05-20  Hans Breuer  <hans@breuer.org>
6760         * app/load_save.c : starting to increase
6761         Dias tolerance on incomplete/broken files. The 
6762         corresponding bug is #56233. But the patch there does
6763         neither apply anymore nor does it really fix the problem
6764         but only delays it, e.g. even if it would be allowed
6765         to read a file without any layers, the later code can't
6766         handle it.
6767         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
6768         handle passing in NULL for the node gracefully.
6770         * shapes/network/printer.shape : added two more connection
6771         points - one at each side - to fix bug #60359
6773         * app/commands.c (edit_copy_callback) : 
6774         add ddisplay_do_update_menu_sensitivity() to make 
6775         sequence select-copy-paste work.
6777 2002-05-20  Hans Breuer  <hans@breuer.org>
6779         * app/create_object.c (create_object_button_press) :
6780         added a call to ddisplay_do_update_menu_sensitivity()
6781         to make Ctrl^D etc work after object creation. 
6782         Fixes #80983.
6784 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6786         * objects/ER/entity.c: 
6787         * objects/ER/attribute.c: 
6788         * objects/ER/relationship.c: Patch to allow text size change from
6789         Celso Tetsuo Nagase Suzuki.
6791 2002-05-18  Steffen Macke <sdteffen@web.de>
6793         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
6794         libxml2)
6795         * doc/en/graphics/greendots.png:
6796         * doc/en/home_network.png:
6797         * doc/en/line_props.png: 
6798         * dia-diagram.png:
6799         * dia_gnome_icon.png:
6800         * dia_gnome_menu_icon.png:
6801         * dia_logo.png:
6802         * shapes/network/telephone.png:
6803         * shapes/Logic/and.png:
6804         * shapes/Logic/buffer.png:
6805         * shapes/Logic/connector.png:
6806         * shapes/Logic/inverter.png:
6807         * shapes/Logic/nand.png:
6808         * shapes/Logic/nor.png:
6809         * shapes/Logic/not.png:
6810         * shapes/Logic/or.png:
6811         * shapes/logic/xor.png:
6812         * samples/ER-demo.dia:
6813         * samples/SADT.dia:
6814         * samples/UML-demo.dia:
6815         * samples/chronograms.dia:
6816         * samples/grafcet.dia: re-added as binary files
6818 2002-05-17  Hans Breuer  <hans@breuer.org>
6820         * lib/libdia.def : reflect removing of render_store.[ch]
6822         * */makefile.mingw : remove VERSION definition it's
6823         done in config.h.win32. Dia still doesn't work if
6824         build with mingw ...
6826         * RELEASE-PROCESS : removed */makefile.mingw
6828         * app/sheets_dialog_callbacks.c : if we use those
6829         ugly charconv_gtk_* functions lib/charconv.h needs to
6830         be #included ...
6831         * lib/charconv.h : ... and needs to contain the 
6832         necesseray prototypes _and_ #defines
6834         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
6835         is deprecated and does nothing but spit a warning. This broke
6836         the shape format writing. Fixed.
6837         Also with libxml2 pretty formatted xml isn't the default
6838         anymore, but needs to be enabled explicit: It is done now 
6839         for shape files, which almost always needed to be edited by
6840         hand ... 
6842         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
6843         from stderr - which is invalid on Dia/win32 - to g_print -
6844         which opens up a console window if necessary. This way
6845         a xml-deprecation-error shouldn't stay unnoticed next time
6847 2002-05-17  Steffen Macke <sdteffen@web.de>
6849         * shapes/Misc/folder.png:
6850         * shapes/Misc/file.png: re-added as binary files
6851         
6852 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6854         * lib/font.c: Fixed segfault for fonts without family_name.
6856 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
6858         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
6860         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
6861         Lars' request, minor cosmetic stuff (mostly _() of human-readable
6862         XML comments in .sheet files; one translator booby-trap disarmed).
6864         * lib/charconv.c: moved #hell inside the body of the new
6865         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
6866         will yell)
6867         
6868 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6870         * plug-ins/wpg/Makefile.am (INCLUDES): 
6871         * plug-ins/shape/Makefile.am (INCLUDES): 
6872         * plug-ins/svg/Makefile.am (INCLUDES): 
6873         * plug-ins/pstricks/Makefile.am (INCLUDES): 
6874         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
6875         and DEBUG_CFLAGS in some missing places.
6877         * MAINTAINERS: New file containing list of known package
6878         maintainers. 
6880         * lib/charconv.h: 
6881         * lib/charconv.c: Charconv versions of some common gtk calls.
6883         * app/sheets_dialog_callbacks.c
6884         (on_sheets_new_dialog_button_ok_clicked),
6885         (on_sheets_dialog_button_edit_clicked),
6886         (on_sheets_dialog_button_remove_clicked),
6887         (on_sheets_edit_dialog_button_ok_clicked):
6888         * app/sheets.c (sheets_optionmenu_create),
6889         (sheets_optionmenu_create): Added utf8 translations.
6891         * app/sheets_dialog.c: 
6892         * app/sheets.c: 
6893         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
6895 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
6897         * po/POTFILES.in: added app/sheets_dialog.c
6899 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
6901         * lib/charconv.c: (charconv_local8_to_utf8),
6902         (charconv_utf8_to_local8): tweaked the warnings to get more 
6903         informations
6904         * lib/font.c: (font_get_suckfont): handled a potential case of
6905         uninitialised data being used (just paranoid)
6906         
6907         * objects/GRAFCET/boolequation.c: (opstring),
6908         (opblock_get_boundingbox), (opblock_draw),
6909         (boolequation_calc_boundingbox): some extra hoops needed now dia
6910         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
6911         symbols can't yet be used with their proper Unicode cells, since
6912         gtk will demand them in the Symbol font, expressed in the local
6913         8-bit encoding.
6914         
6915         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
6916         the fix just above).
6918 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6920         * app/diagram_tree.c (get_object_name): Check that name property
6921         doesn't have null string.
6923 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6925         * autogen.sh (DIE): Added conditional --force to gettextize.
6927         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
6928         function call.
6930 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
6932         * RELEASE-PROCESS: added James' notes on how to properly make the
6933         tarball.
6935         * configure.in: removed macro nesting related to libpng.h, which
6936         was causing some problems on some systems (like mine, which made
6937         the snapshots bad).
6939         Made --enable-unicode, previously an option, the mandatory case.
6941         * app/Makefile.am: updated EXTRA_DIST
6942         
6943         * NEWS:
6944         * app/makefile.mingw:
6945         * dia.spec:
6946         * doc/en/dia-manual.sgml:
6947         * plug-ins/makefile.mingw:
6948         * configure.in: bumped up the version number to 0.90.RC1
6950         * lib/render_objects.[ch]:
6951         * po/POTFILES.in: removed render_objects from the build.
6953         * plug-ins/Makefile.am:
6954         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
6955         so we keep its source in the tarball.
6957         * objects/network/*.c, Makefile.am:
6958         * objects/sybase/*.c, Makefile.am:
6959         * po/POTFILES.in: cleaned up the non-existent files from the po
6960         build process.
6962         * plug-ins/Makefile.am: re-enabled metapost plug-in.
6963         
6964 2002-05-13  Steffen Macke <sdteffen@web.de>
6966         * AUTHORS:
6967         * app/command.c: added M. C. Nelson to the Authors
6968         * sheets/Circuit/Makefile.am: added firewall shape to build
6969         * sheets/network/Makefile.am: added telephone and microphone
6970           shapes to build
6972 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6974         * RELEASE-PROCESS: Added list of files that contain the release
6975         number or should otherwise be changed at each release.
6977 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6979         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
6980         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
6982 2002-05-12  Hans Breuer  <hans@breuer.org>
6984         * config.h.win32 : changed VERSION to 0.90.RC1
6986         * app/makefile.msc lib/makefile.msc : use renamed
6987         gdk-pixbuf version (same content but renamed because
6988         all the other gtk+ dlls are renamed) to avoid trouble
6989         mixing gtk versions (of which one would not 
6990         be initialized ...
6992         * app/app_procs.c : removed recently unneeded
6993         inclusion of "sheets.h"
6995         * app/render_gdk.c : removed my own debug spew
6996         which should never made it to cvs
6998         * lib/render_object.[hc] : added
6999         #error "File not used anymore."
7001         * lib/libdia.def : updated externals
7003         * app/interface.c : dropped filenames need to be
7004         converted from uri with Gtk+2.0
7006 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
7008         * RELEASE-PROCESS (new): a draft document about how to release. To
7009         be discussed. (already with some input from Hans Breuer)
7011 2002-05-12  Steffen Macke <sdteffen@web.de>
7013         * sheets/Makefile.am: re-added Misc sheet to make process
7014         
7015 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7017         * objects/FS/function.c: Added comments to humungous list of menu
7018         items, to aid translators.
7020 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7022         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7024         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7026         * app/interface.c (create_toolbox): Disallow shrinking beyond
7027         requested size.  Fixes bug #59439, and confirms to GTK guidelines
7028         (see gtk_window_set_policy).
7029         (create_sheets): Removed now unnecessary set_usize call.
7031 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7033         * lib/beziershape.c (remove_handles): Fixing removal of last
7034         segment.  Undo of removal still hokey.
7036 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7038         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
7039         handles. 
7040         * lib/beziershape.c (beziershape_init): Removed early call to
7041         beziershape_update_data where points aren't set yet.
7042         (beziershape_add_segment): Use segment 0 instead of overflowing
7043         points array with segment+1.
7044         (beziershape_remove_segment): Proper offset for fixing
7045         connectionpoints. 
7046         (remove_handles): Proper offset.
7048 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7050         * objects/GRAFCET/action.c (action_update_data): Init x value of
7051         click point for call to connpointlist_adjust_count.
7053         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
7055         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
7056         setting to where values are inited.
7058         * lib/polyshape.c (polyshape_init): Removed call to
7059         polyshape_update_data that tried to use uninitialized data.
7061 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7063         * app/sheets_dialog.c: Mass removal of //-style comments.  The
7064         Irix compiler doesn't like them:(  I do...
7066 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7068         * app/render_libart.c (draw_string): Bail out when no GDK font is
7069         found.
7070         (set_font): Give error when font not found.
7071         (set_fillstyle): Intlized error msg.
7073         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
7074         modified when applied (and ok only does apply if apply is set
7075         sensitive).  Fixes bug #75623.
7077 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
7079         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
7081 2002-05-05  Steffen Macke <sdteffen@web.de>
7083         * app/Makefile.am: added $(UNICODE_CFLAGS)
7084         
7085 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7087         * app/commands.c (help_manual_callback): Check return value of
7088         opendir.
7090         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
7092         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
7093         checks for errors.
7095 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7097         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
7099         * objects/UML/uml.c (uml_operation_read): Fix of UML default
7100         inheritance. 
7102 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7104         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
7105         Added button to toggle diagram compression.
7107 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7109         * lib/font.c: Support for loading extra kerning files, plus got
7110         rid of rounding errors.  Bounding box mostly perfect for freetype
7111         fonts.
7112         (font_string_width): Fudge factor to get around nonlinearity of
7113         font scaling.
7115 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7117         * lib/font.c (font_string_width): YA font calculation scheme, with
7118         comments.
7120         * objects/UML/class.c (umlclass_calculate_data): Uses the same
7121         font for drawing and calculating now.
7123         * configure.in: Added utime.h check.
7125         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
7126         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
7128 2002-04-26  Hans Breuer  <hans@breuer.org>
7130         [ Instead of fixing about 70 occurances in 20 files
7131           where GTK_TALKS_UTF8_WE_DONT needed to be handled
7132           Dia on win32 from now on uses glib-2.0 and not 
7133           only talks utf-8 with gtk-1.3 but also internally.
7134           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
7135           anymore. ]
7137         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
7138         #undef GTK_TALKS_UTF8_WE_DONT
7140         * */makefile.msc : changes to use glib-2.0 (still
7141         using gtk+1.3(win32-production)
7143         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
7144         adapt kevent->string handling, add <string.h>
7145         * app/render_gdk.c (get_text_width) : the length given
7146         is in chars, gdk_text_width() needs bytes
7148         * app/render_libart.c : 
7149         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
7150         (could simplify the same way as done in render_gdk.c)
7152         * app/diagram_tree.c app/paginate_gdiprint.cpp
7153           app/sheets.c :
7154         * lib/prop_basic.c lib/prop_geomtypes.c 
7155           lib/propdialgs.c lib/propobject.c :
7156         added <string.h> which is now removed from charconv.h
7158         * lib/charconv.h : optional use infrastructure from
7159         glib-2.0 -> only five direct function mapping left
7161         * lib/charconv.c : avoid to build this with glib-2.0
7163         * lib/font.c : no string conversion needed anymore      
7164         when Dia and Gtk talk utf-8, also code adaptions
7165         for GLIB_CHECK_VERSION(2,0,0)
7167         * lib/libdia.def : removed charconv functions
7169         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
7170         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
7172         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
7173         removed GTK_TALKS_UTF8_WE_DONT
7175         * lib/text.c : finally(?) fixed cursor <place|move>ment 
7176         for Umlauts. Also fixed char insertion, still wondering
7177         how this could ever work. Does realloc on Linux 
7178         initialize the memory with zeros ?
7180         * objects/chronogram/chronoline_event.c
7181           objects/grafcet/boolequation.c :
7182         there is no uni_get_utf8 when building for glib-2.0.
7183         Replace with g_utf8_get_char() and g_utf8_next_char().
7185         * objects/uml/stereotype.c (bracketted_to_string) : 
7186         simplify while adding code for glib-2.0 build
7188 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7190         * app/diagram.h: Autosave field
7191         * app/diagram.c (diagram_set_modified): Sets autosave field.
7192         
7193         * objects/UML/usecase.c (usecase_update_data): 
7194         * objects/flowchart/ellipse.c (ellipse_update_data): 
7195         * objects/flowchart/parallelogram.c (pgram_update_data): 
7196         * objects/flowchart/diamond.c (diamond_update_data): 
7197         * objects/custom/custom_object.c (custom_update_data): 
7198         * objects/UML/state.c (state_update_data): 
7199         * objects/UML/small_package.c (smallpackage_update_data): 
7200         * objects/UML/object.c (objet_update_data): 
7201         * objects/UML/note.c (note_update_data): 
7202         * objects/UML/node.c (node_update_data): 
7203         * objects/UML/component.c (component_update_data): 
7204         * objects/UML/classicon.c (classicon_update_data): 
7205         * objects/UML/actor.c (actor_update_data): 
7206         * objects/SADT/box.c (sadtbox_update_data): 
7207         * objects/FS/function.c (function_update_data): 
7208         All now update text boundaries from update_data.
7209         
7210         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
7211         correctly. 
7213 2002-04-26  Hans Breuer  <hans@breuer.org>
7215         * config.h.win32 : added VERSION definition here
7216         (and removed from makefile.msc's)
7218         * app/makefile.msc : added new files
7220         * app/app_procs.c (app_init): remove sheets_dialog_create()
7221         from start-up and ... 
7223         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
7224         sheet_dialog here when it is really needed.
7225         #include "../lib/message.h", make sheets_dialog_create() 
7226         return it's success or failing on (!custom_type_symbol). 
7227         Although editing shapes is nice IMHO it isn't crucial enough 
7228         to abort() Dia if       it isn't possible.
7230         * app/sheet.h : adapt create_sheet_dialog() prototype
7232         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
7234         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
7235         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
7236         name space corrections for utime() and utim_buf #ifdef
7237         G_OS_WIN32
7239         * lib/libdia.def : export new sheet functions
7241         * lib/makefile.msc : added new files
7243         * lib/render.c : don't put draw_bezier_with_arrows() in
7244         the DrawLineWithArrowsFunc slot
7246         * objects/custom/custom_object.c : #include <gmodule.h>
7247         and export 'custom_type' via G_MODULE_EXPORT
7249         * objects/uml/class_dialog.c : removed 'incompatible 
7250         types' warnings. Some refactoring while making it fit
7251         on screen with 800x600 again.
7253         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
7255         * plug-ins/python/pydia-handle.h : extra parameter to
7256         PyDiaHandle_New to store the owner of the handle
7257         * plug-ins/python/pydia-handle.c : store handle owner
7258         on construction and use it in new method .connect()
7259         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
7260         adapt to changed prototype
7262 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7264         * lib/text.c (text_calc_boundingbox): Will now return early if box
7265         passed is NULL.
7267         * objects/flowchart/box.c (box_update_data): Now updates text
7268         width info from update_data.
7270 2002-04-23  Steffen Macke <sdteffen@web.de>
7272         * plug-ins/xfig/xfig-import.c: fixed text import
7273         
7274 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7276         * app/export_png.c: Moved dialog functions to their own file.
7277         * app/dialogs.[ch]: New files with standard functions for creating
7278         small, transient dialogs (e.g. export options).
7279         * app/Makefile.am: Added dialogs.[ch]
7281 2002-04-19  Steffen Macke <sdteffen@web.de>
7283         * shapes/Misc/folder.*:
7284         * shapes/Misc/file.*:
7285         * shapes/Misc/Makefile.am:
7286         * shapes/Makefile.am:
7287         * sheets/Misc.sheet.in:
7288         * sheets/Makefile.am:
7289         * configure.in: added new Misc sheet containing filesystem shapes
7290         
7291 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7293         * app/lineprops_area.c: Arrow selector in toolbox changed to use
7294         standard arrowdraw code.  Line is thinner to make some arrowheads
7295         distinguishable. 
7297 2002-04-18  Steffen Macke <sdteffen@web.de>
7299         * sheets/network.sheet.in:
7300         * shapes/network/telephone.shape:
7301         * shapes/network/Makefile.am: added telephone shape
7302         
7303 2002-04-16  Steffen Macke <sdteffen@web.de>
7305         * sheets/EML.sheet.in: commented out unavailable shapes
7306         
7307 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
7309         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
7310           variable assignment.
7311         
7312 2002-04-15  Steffen Macke <sdteffen@web.de>
7314         * plug-ins/dxf/dxf-import.c: text import works again
7315         * shapes/Pneumatic/Makefile.am: added compush shape
7316         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
7317         and dist53
7318         
7319 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
7321         * All these modifications are for the 'Sheets and Objects' dialog
7322           (new feature):
7324         * app/pixmaps/line_break.xpm: new icon representing a line break.
7325         
7326         * app/pixmaps/n_a.xpm: new empty icon representing not available.
7328         * app/Makefile.am: added sheets_*.[ch] files to compile list.
7329         
7330         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
7331         
7332         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
7334         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
7335         
7336         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
7337         
7338         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
7340         * app/sheets_dialog_callbacks.h: [new file] support for " " "
7342         * app/interface.c: added 'interface_current_sheet_name' global to 
7343           fill_sheet_wbox(); made fill_sheet_menu() non-static
7345         * app/interface.h: added extern declaration for aboves.
7347         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
7349         * app/sheets.h: [new file] declarations for backing store structures
7351         * lib/sheet.c: modification of new_sheet() parameters; introduction
7352           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
7353           changes to load_register_sheet().
7355         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
7356           added 'has_icon_on_sheet' flag to SheetObject structure; added 
7357           'filename', 'scope', 'shadowing' fields to Sheet structure.
7359         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
7360           it belongs.
7362         * lib/plug-isn.h: see above.
7364         * lib/object.c: added 'sheet.h' to include list; added several 
7365           functions
7366           to detect objects which are not found on any sheet (for future use)
7367           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
7368           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
7370         * lib/object.h: added public declarations for above functions where
7371           necessary.
7373         * objects/custom/custom.c: made custom_object_load() non-static so we
7374           can load and interpret .shape files from the Sheets & Objects dialog
7376         * objects/custom/custom_object.c: made 'custom_type' non-static so 
7377           we can differentiate between SVG shapes and other types.a
7379 2002-04-07  Hans Breuer  <hans@breuer.org>
7381         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
7382         from 2002-01-22 to not destroy diagram->data->selected. 
7383         Avoids to crash on Objects/Align/Vertical/Top
7385         * app/render_eps.c (draw_string) : un-const buffer
7386         It isn't at all const (g_malloc(), assignment, g_free()).
7387         Doesn't gcc catch such ?
7389         * lib/arrows.h : prototype calculate_arrow_point()
7391         * lib/font.c (font_get_suckfont) : no need to
7392         special case gdk_draw_string() with GTK_TALKS_UTF8,
7393         cause all the parameter differences are handled above
7395         * lib/libdia.def : updated externals
7397         * lib/makefile.msc : removed string_prerenderer, added render
7399         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
7400         is expected. [Sometimes it's good to read compiler warnings.]
7402         * objects/standard/image.c : simplified by use of g_strconcat()
7404         * plug-ins/python/makefile.msc : updated for Python 2.2
7406 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7408         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
7409         directionality problem for zero-length line segments.
7411 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7413         * app/diagram.c (diagram_ungroup_selected) 
7414         (diagram_update_menu_sensitivity): Now allows ungrouping of
7415         several groups at once.
7417 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7419         * lib/render.c, all renderers: Binary incompatibility, change to
7420         expandable renderops structure.
7422 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
7424         * objects/standard/Makefile.am:
7425         * objects/network/Makefile.am:
7426         * objects/UML/Makefile.am:
7427         * objects/ER/Makefile.am:
7428         * objects/FS/Makefile.am:
7429         * objects/flowchart/Makefile.am:
7430         * objects/custom/Makefile.am:
7431         * objects/GRAFCET/Makefile.am:
7432         * objects/chronogram/Makefile.am:
7433         * objects/SADT/Makefile.am:
7434         * plug-ins/cgm/Makefile.am:
7435         * plug-ins/pstricks/Makefile.am:
7436         * plug-ins/hpgl/Makefile.am:
7437         * plug-ins/wpg/Makefile.am:
7438         * plug-ins/svg/Makefile.am:
7439         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
7440         
7441 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7443         * app/render_eps.c: Support for dumping TrueType fonts (taken from
7444         ttfps).
7446 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7448         * lib/render.c: New abstract super class for renderers.
7450 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
7452         * objects/ER/attribute.c (attribute_save): save a font property.
7453         (attribute_load): load a font property, and if can't load it, it's
7454         initialized.
7456         * objects/ER/entity.c (entity_save): save a font property.
7457         (entity_load): load a font property, and if can't load it, it's
7458         initialized.
7460         * objects/ER/relationship.c (relationship_save): save a font property.
7461         (relationship_load): load a font property, and if can't load it, it's
7462         initialized.
7464         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
7465         has a vaule.
7466         (umlclass_save): save the font and the font size properties.
7467         (umlclass_load): load the font and the font size properties.
7469 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
7471         * lib/string_prerenderer.[ch] (REMOVED):
7472         * lib/render.h:
7473         * lib/diagramdata.c:
7474         * lib/Makefile.am:
7475         * app/render_eps.c: got rid of the string-specific string
7476         prerenderer, transitioned its functionality towards Lars'
7477         two-phase rendering
7479 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7481         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
7482         may need to rerun aclocal.
7484 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7486         * lib/font.c: First attempt at Unicodeness for Freetype.
7488 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7490         * lib/font.c (font_string_width): Fixed font_string_width for
7491         freetype.  BB is now almost right.
7493 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7495         * app/render_eps.h: 
7496         * app/paginate_psprint.c (paginate_psprint): 
7497         * lib/font.c: 
7498         * app/render_eps.c: Support for dumping postscript fonts into
7499         postscript files with freetype.  Fairly primitive, but works.
7500         Unicode version may have problems.
7502 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
7504         * objects/UML/class_dialog.c (class_read_from_dialog)
7505         (class_fill_in_dialog), (class_create_page): add the font selector and
7506         the font size selector.
7508         * objects/UML/class.c (umlclass_draw): uses each font_height.
7509         (umlclass_calculate_data): ditto.
7510         (fill_in_fontdata): add initial value of new font_height.
7511         (umlclass_copy): add new font_height.
7513 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
7515         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
7516         
7517         * lib/font.c: calculate font metrics properly and stop guessing at
7518         string widths.
7520 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
7522         * configure.in: changed gtk_advancement value to dia_talks_utf8.
7523         right now Dia is working with UTF-8 internally. it means Dia probably
7524         support most languages also including the languages which heretofore
7525         didn't work correctly.
7527 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
7529         * objects/FS/function.c: add related text properties.
7530         (function_get_props), (function_set_props): add handling attribute.
7532         * objects/FS/flow.c: add related text properties.
7533         (flow_get_props), (flow_set_props): add handling attribute.
7535         * objects/FS/flow-ortho.c: add related text properties.
7536         (orthflow_set_props), (orthflow_get_props): add handling attribute.
7538         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
7540         * objects/ER/entity.c: ditto.
7542         * objects/ER/attribute.c: ditto.
7544 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
7546         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
7547         
7548         * autogen.sh: add a check for missing intltoolize.
7550 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
7552         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
7553         charcode, it was registered the duplicate item to HashTable. fix.
7555         * app/render_gnomeprint.c (get_width_string): add new function.
7556         (draw_string): fix non-multibyte specific code.
7558 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
7560         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
7561         
7562         * lib/font.c: do not try to search paths that do not begin with
7563         '/', like X Font Server addresses.
7564         
7565         * objects/UML/message.c (message_draw): free mname when not 
7566         message->text but CREATE or DESTROY.
7567         
7568         * objects/UML/uml.h:
7569         * objects/UML/uml.c:
7570         * objects/UML/class_dialog.c: added code to handle a stereotype 
7571         attribute for operations.
7573 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
7575         * lib/Makefile.am: add LIBART_CFLAGS.
7577 2002-02-15  Hans Breuer  <hans@breuer.org>
7579         * lib/font.c (font_get_suck_font): the black and white pixel values 
7580         need to be taken from a 1 bit colormap rather than the default colormap.
7581         (fixed again, last time was 2000-05-26)
7583         Also handle the case where GTK_TALKS_UTF8 and expects all strings
7584         passed in to be in this encoding.
7586         * lib/libdia.def : export suck_font_free()
7588         * lib/text.c (text_draw) : avoid circular dependency to ../app
7589         at least for the !USE_XIM case, where it is unnecessary.
7591 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
7593         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
7594         
7595         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
7596         * sheets/Circuit.sheet.in: added new shape microphone
7597         * shapes/Circuit/speaker_de.shape: Added a connection point.
7598         
7599 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
7601         * app/render_libart.c (draw_string): fixed build issue for Win32.
7603         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
7604         Win32.
7606         * configure.in: fixed testing gtk_advancement.
7608         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
7610 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
7612         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
7613         diagram window.
7615 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7617         * app/group.c (group_copy): Made new object properly initialized
7618         before copy.
7620 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
7622         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
7623         
7624 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
7626         * lib/text.c (text_draw): fixed XIM transaction.
7628         * app/interface.c (create_display_shell): add signal for
7629         size_allocate.
7631         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
7632         XIM transaction.
7633         (set_input_dialog): remove.
7634         (ddisplay_canvas_events): remove XIM transaction. it can't transact
7635         correctly on this function.
7637 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7639         * app/app_procs.c:
7640         * app/export_png.c: Added checks for interactivity (maybe this
7641         should be a hook after all?).
7643         * app/filedlg.c (file_export_callback): Made export dialog add
7644         suffix when reopened.
7646         * app/export_png.c: Added dialog asking for export size.
7648 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7650         * lib/widgets.c: Fixed font reselection problem and first font
7651         bogus warning.
7653         * objects/UML/actor.c (actor_update_data): Changed to have
7654         connection points below text.
7656 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
7658         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
7659         and memcpy().
7661 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
7663         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
7664         strings which is given.
7665         (suck_font): remove. it's any longer needed.
7667         * app/render_libart.c (set_font): don't get suckfont.
7668         (draw_string): get suckfont only which is needed for now.
7670 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7672         * lib/text.c: Fixes for misunderstood width functions.
7674 2002-02-05  Hans Breuer  <hans@breuer.org>
7676         * lib/dia_xml.c : use g_strconcat() instead of 
7677         malloc, strcpy, strcat dance
7678         * app/properties.c : same here and plug memory leak
7679         (gtk functions don't eat strings)
7681         * objects/UML/message.c : there is no g_sprintf()
7682         use g_strdup_printf() instead ...
7684 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
7686         * lib/message.c (gtk_message_internal): doesn't need to convert to
7687         UTF-8.
7689         * app/render_libart.c (draw_string): fixed transaction for UTF-8
7690         support.
7691         (get_text_width): ditto.
7693         * app/Makefile.am (EXTRA_DIST):
7694         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
7696         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
7697         This function needs ifdef HAVE_FREETYPE because don't use it for
7698         --disable-freetype
7700 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
7702         * NEWS: updated with the new dependencies.
7703         
7704         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7706         * objects/UML/class.h:
7707         * objects/UML/class.c:  
7708         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
7709         property using a GtkMenu. Options are Undefined, In, Out, In & Out
7711 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7713         * app/render_libart.c: Slow but working libart freetype renderer,
7714         with color!
7716 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7718         * app/render_gdk.c (draw_string): Fixed gc_function bug.
7720         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
7722         * lib/font.c (freetype_render_string): 
7723         * lib/font.h:
7724         * app/render_gdk.c:
7725         * app/render_gdk.h: Changed freetype_render_string to use
7726         callback.  Rendering is broken.
7728 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
7730         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7732         * objects/UML/uml.h:    
7733         * objects/UML/uml.c: added UMLInheritanceType and isQuery
7734         (constant) UML Operation attributes. UMLInheritanceType is either
7735         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
7737         * objects/UML/class.h:
7738         * objects/UML/class.c:  
7739         * objetcs/UML/class_dialog.c: added code to handle new
7740         UMLOperation attributes via a GtkMenu and a checkbox.
7742 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
7744         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
7745         several client doesn't work with previous codes.
7747 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7749         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
7750         seem to use it.
7752 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
7754         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
7755         when doing the operation like invert the objects after active view is
7756         destroyed. when changes focus, it needs to set active_display.
7758         * app/layer_dialog.c (dia_layer_update_from_layer):
7759         (layer_dialog_edit_layer): need to convert to locale encoding
7760         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7761         (edit_layer_ok_callback):
7762         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7764         * lib/diagramdata.c (new_diagram_data): ditto.
7766         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
7768         * lib/diagramdata.c (new_layer): use utfchar instead of char for
7769         argument.
7771         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
7772         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
7773         it's needed for now. also this function needs prototype declaration.
7775 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7777         * lib/widgets.c: Style now functional on font selector.  Some leak
7778         possible, but doesn't show up under stress test.
7780 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
7782         * app/plugin-manager.c (clist_select_row): name and description needs to
7783         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7784         (get_plugin_manager): ditto.
7786         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
7788         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
7789         support.
7791         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
7792         when prop->string_data is NULL.
7794 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7796         * lib/widgets.c: 
7797         * lib/widgets.h: New font selector separating font and style.
7798         Style not functional yet.
7800 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7802         * lib/text.c: 
7803         * app/render_gdk.c (draw_string): More freetype support, now
7804         renders text.  Still broken is font selection and exporting.
7806 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
7808         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
7809         for font.
7811         * objects/chronogram/chronoline.c (chronoline_create): ditto.
7813         * objects/UML/usecase.c (usecase_create): ditto.
7815         * objects/UML/state.c (state_create): ditto.
7817         * objects/UML/object.c (objet_create): ditto.
7819         * objects/UML/node.c (node_create): ditto.
7821         * objects/UML/message.c (message_create): ditto.
7823         * objects/UML/component.c (component_create): ditto.
7825         * objects/UML/classicon.c (classicon_create): ditto.
7827         * objects/UML/actor.c (actor_create): ditto.
7829         * objects/SADT/box.c (sadtbox_create): ditto.
7831         * objects/SADT/annotation.c (annotation_create): ditto.
7833         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
7835         * objects/GRAFCET/step.c (STEP_FONT):
7836         * (step_create): ditto.
7838         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
7840         * objects/GRAFCET/action.c (ACTION_FONT):
7841         (action_create): ditto.
7843         * objects/FS/function.c (function_create): ditto.
7845         * objects/FS/flow.c (flow_create):
7846         (flow_load): 
7847         (flow_apply_defaults): ditto.
7849         * objects/FS/flow-poly.c (flow_create):
7850         (flow_load):
7851         (flow_apply_defaults): ditto.
7853         * objects/FS/flow-ortho.c (orthflow_create):
7854         (orthflow_load):
7855         (orthflow_apply_defaults): ditto.
7857         * objects/ER/relationship.c: use utfchar instead of char for structure.
7858         (relationship_create): name needs to convert to UTF-8.
7860         * objects/ER/attribute.c: use utfchar instead of char for structure.
7861         (attribute_create): name needs to convert to UTF-8.
7863         * objects/ER/entity.c: use utfchar instead of char for structure.
7864         (entity_create): name needs to convert to UTF-8.
7866         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
7867         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
7868         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
7869         items. if GTK_TALKS_UTF8 isn't defined.
7871 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
7873         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
7874         it was my careless mistake...
7876         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
7877         a font name, because there are strings which isn't shown by "Courier".
7878         We need to consider a way to feel free to choose a font at runtime.
7880         * lib/render_object.c (render_object_load): ditto.
7882         * lib/text.c (data_text): ditto.
7884         * objects/EML/instantiation.c (instantiation_create): ditto.
7886         * objects/EML/interaction-ortho.c (interaction_ortho_create):
7887         (interaction_ortho_load): ditto.
7889         * objects/EML/interaction.c (interaction_create):
7890         (interaction_load): ditto.
7892         * objects/EML/process.c (fill_in_fontdata): ditto.
7894         * objects/ER/attribute.c (attribute_create): 
7895         (attribute_load): ditto.
7897         * objects/ER/entity.c (entity_create): 
7898         (entity_load): ditto.
7900         * objects/ER/relationship.c (relationship_create): 
7901         (relationship_load): ditto.
7903         * objects/UML/association.c (association_create): 
7904         (association_load): ditto.
7906         * objects/UML/class.c (fill_in_fontdata): ditto.
7908         * objects/UML/constraint.c (constraint_create): ditto.
7910         * objects/UML/dependency.c (dependency_create): ditto.
7912         * objects/UML/generalization.c (generalization_create): ditto.
7914         * objects/UML/implements.c (implements_create): ditto.
7916         * objects/UML/large_package.c (largepackage_create): ditto.
7918         * objects/UML/note.c (note_create): ditto.
7920         * objects/UML/realizes.c (realizes_create): ditto.
7922         * objects/UML/small_package.c (smallpackage_create): ditto.
7924         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
7926         * objects/custom/custom_object.c (custom_create): ditto.
7928         * objects/network/antenna.c (render_to_store): ditto.
7930         * objects/network/computer.c (render_to_store): ditto.
7932         * objects/network/disc.c (render_to_store): ditto.
7934         * objects/network/flash.c (render_to_store): ditto.
7936         * objects/network/hub.c (render_to_store): ditto.
7938         * objects/network/modem.c (render_to_store): ditto.
7940         * objects/network/modularswitch.c (render_to_store): ditto.
7942         * objects/network/monitor.c (render_to_store): ditto.
7944         * objects/network/printer.c (render_to_store): ditto.
7946         * objects/network/rj45plug.c (render_to_store): ditto.
7948         * objects/network/scead-plug.c (render_to_store): ditto.
7950         * objects/standard/textobj.c (textobj_load): ditto.
7952         * objects/sybase/client.c (render_to_store): ditto.
7954         * objects/sybase/dataserver.c (render_to_store): ditto.
7956         * objects/sybase/ltm.c (render_to_store): ditto.
7958         * objects/sybase/repserver.c (render_to_store): ditto.
7960         * objects/sybase/rsm.c (render_to_store): ditto.
7962         * objects/sybase/stableq.c (render_to_store): ditto.
7964         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
7966         * objects/UML/uml.h (UML_STEREOTYPE_START):
7967         (UML_STEREOTYPE_END): changes default strings.
7969 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
7971         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
7972         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
7973         which is given to arguments isn't UTF-8. so don't need to convert it.
7974         if GTK+ handle UTF-8, also don't need to convert it.
7975         (strend): remove.
7976         (bracketted_to_string): fixed transaction for UTF-8 support.
7977         also start/end bracket is not necessarily 1 character. so that when use
7978         strend(), it doesn't work correctly.
7979         (string_to_stereotype): use utfchar instead of char.
7980         (remove_stereotype_from_string): ditto.
7981         (stereotype_to_string): ditto.
7983         * objects/UML/stereotype.h: ditto.
7985         * objects/UML/message.c: use utfchar instead of char for structure.
7986         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
7988         * objects/UML/small_package.c: use utfchar instead of char for structure.
7990         * objects/UML/realizes.c: ditto.
7992         * objects/UML/object.c: ditto.
7994         * objects/UML/large_package.c: ditto.
7996         * objects/UML/implements.c: ditto.
7998         * objects/UML/generalization.c: ditto.
8000         * objects/UML/dependency.c: ditto.
8002         * objects/UML/constraint.c: ditto.
8004         * objects/UML/component.c: ditto.
8006         * objects/UML/class_dialog.c (attributes_get_current_values):
8007         (attributes_list_new_callback, attributes_fill_in_dialog):
8008         (parameters_set_values, parameters_get_values):
8009         (parameters_get_current_values, parameters_list_new_callback):
8010         (operations_set_values, operations_get_values):
8011         (operations_get_current_values, operations_list_new_callback):
8012         (operations_fill_in_dialog, templates_set_values):
8013         (templates_get_values, templates_get_current_values):
8014         (templates_list_new_callback, templates_fill_in_dialog):
8015         fixed transaction for UTF-8 support.
8017 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
8019         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
8021         * objects/UML/class_dialog.c (class_read_from_dialog):
8022         (class_fill_in_dialog):
8023         (attributes_get_values): ditto.
8025         * objects/UML/actor.c (actor_create): ditto.
8027         * objects/UML/class.c (umlclass_calculate_data): ditto.
8029         * objects/UML/association.c (association_apply_properties):
8030         (fill_in_dialog): ditto.
8032         * objects/UML/uml.c (uml_get_attribute_string):
8033         (uml_get_operation_string):
8034         (uml_get_parameter_string):
8035         (uml_get_formalparameter_string): use utfchar instead of char.
8037         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
8038         UML_STEREOTYPE_END.
8040         * objects/UML/class.h: use utfchar instead of char.
8042         * lib/dia_xml.c (data_add_string): ditto.
8044         * lib/text.c (text_insert_char): fixed characters# calculation
8045         when includes multibytes character in strings.
8047 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
8049         Patch from Richard Rowell <rwrowell@bellsouth.net>:
8051         * app/lineprops_area.c:
8052         * lib/arrows.h:
8053         * lib/arrows.c: 
8054         * lib/widgets.c: added crow foot arrow and cross arrow
8055         
8056         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
8057         
8058         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
8060 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
8062         * po/update.pl (REMOVED):
8063         * po/update.sh (REMOVED):
8064         * xml-i18n-merge.in.kg (REMOVED):
8065         * xml-i18n-update.in.kg (REMOVED):
8066         * sheets/Makefile.am:
8067         * Makefile.am:
8068         * autogen.sh:
8069         * configure.in: converted from xml-i18n-tools to intltools
8071         This looks like it fixes the build bugs of the snapshot tarballs, 
8072         and it supersedes #69611.       
8074 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
8076         * lib/text.c (text_insert_char): fixed characters# calculation.
8077         it's not string length.
8079         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
8080         is defined, needs to convert a description to UTF-8.
8082         * app/render_gdk.c (get_text_width): fixed transaction for
8083         UTF-8 support. also should uses gdk_text_width_wc() instead
8084         of gdk_text_width().
8086         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
8087         is defined, needs to convert to locale encoding for display.
8088         Also use utfchar instead of char for argument.
8090 2002-01-24  Hans Breuer  <hans@breuer.org>
8092         * app/commands.c(edit_paste_callback and more) : 
8093         call diagram_modified(ddisp->diagram) to fix #68083
8094         (help_menu_callback) : plug a DIR leak
8096         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
8097         GTK_TALKS_UTF8_WE_DONT
8099         * app/render_gdk.c(get_text_with) : it's a bad idea to use
8100         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
8101         gdk_text_width(). The length value is still questionable ...
8103         * lib/charconv.c : use functions already available in early
8104         GLIB-1.3 days whiches API hasn't changed since, to avoid
8105         version problems with the win32 build
8107         * lib/font.c : finally fix #58045 and #68208
8109         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
8111 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
8113         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
8114         no strings, fixed transaction.
8116         * lib/charconv.h: fixed typo.
8118         * app/menus.c: fixed typo.
8120         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
8122         * objects/UML/object.c: attrib's type uses utfchar instead of char.
8124         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
8126         * lib/text.c (text_create_change): use unichar instead of char.
8128         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
8129         use utfchar instead of char.
8131         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
8132         UTF-8 support.
8134         * lib/charconv.c (charconv_utf8_get_char): add new function.
8136 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
8138         * lib/text.c (text_delete_forward, text_delete_backward,
8139         text_split_line): fixed transaction for UTF-8 support.
8141         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
8142         strlen[] has string length for UTF-8, so has to use alloclen[].
8144         * dia.pot: remove.
8146         * .cvsignore: add dia.pot.
8148 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
8150         * configure.in: Added "sk" to ALL_LINGUAS.
8152 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
8154         * lib/text.c (text_set_string, new_text, text_copy,
8155         text_get_string_copy, text_join_lines): use utfchar instead of gchar
8156         for strings.
8158         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
8159         strchr().
8161         * lib/charconv.c (charconv_utf8_strchr): add new function.
8163         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
8165         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
8167         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
8168         strings to the appropriate encoding.
8170 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8172         * app/object_ops.c (object_list_align_[hv]): Leak fix.
8174         * lib/Makefile.am (INCLUDES): Added debug flags.
8176         * app/object_ops.c: Fixed ordering problem of align equi-distant &
8177         adjacent. 
8179 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
8181         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
8182         gdk_string_width().
8184         * objects/GRAFCET/boolequation.c: fixed invalid comment.
8186         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
8187         when defined UNICODE_WORK_IN_PROGRESS.
8189         * lib/dia_xml.c (data_add_string): fixed typo.
8191 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
8193         * configure.in: fixed test gtk_advancement.
8195 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
8197         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
8198         exported to SVG
8200         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
8202         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
8203         tool tips, preferences, and arbitrarily long ~/.dia/history
8205         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
8206         removed 'Open Recent'; added new separators for recent documents on
8207         File menu.
8209         * app/interface.[ch] (interface_get_toolbox_shell): new function
8211         * app/diagram.c: added new parameter to recent_file_history_add() call
8213         * app/preferences.[ch]: added new 'Recent documents list size'
8214         preferences item
8215         
8216 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
8218         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
8219         if it failed, should be used gdk_font_load ().
8221         * lib/font.c (font_data): added the font entries for CJK.
8223 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
8225         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8227         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
8228         
8229 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
8231         Patch from Martin Cracauer <cracauer@cons.org>:
8232         
8233         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
8234         non-GNOME case ?)
8236 2002-01-01  Hans Breuer  <hans@breuer.org>
8238         * app/command.c : optional use GDI printing on windoze
8240         * app/preferences.[hc] : add option 'prefer_psprint' to 
8241         select the print engine to use (could be used for Dia/Gnome
8242         as well)
8244         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
8245         wmf plug-in with the common win32 print api. Now printing
8246         should work almost as expected from a windows program :-)
8248         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
8249         to .edit_delete to avoid clashes with C++
8251         * app/makefile.msc : updated for GDI printing
8253         * plug-ins/wmf/wmf.cpp : some small modifications to support
8254         GDI printing. Also swap R and B channel in draw_image()
8256         * app/makefile.am : added windows only files to EXTRA_DIST
8258         * objects/uml/class.c(umlclass_set_props) : force recalculation
8259         when applying properties
8261         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
8262         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
8263         many incompatible changes (and would force a gtk update)
8265         * objects/makefile.msc : don't build C-Objects which are
8266         already available as 'pure shape'
8268         * plug-ins/makefile.msc : remove diaimport from build. It was
8269         only available via mailing-list and is broken since the
8270         StdProp overhaul.
8273         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
8275         * app/preferences.[hc] : tweaked preferences.c to make 
8276         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
8277         added some more DiagramTree prefererences and their own
8278         notebook page.
8280         * app/diagram_tree.[hc] : allow to sort by object type or name
8281         and hide by type ...
8282         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
8283         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
8285         * app/diagram_tree_window.c : handle hidden types and window
8286         size restoring.
8288 2001-12-20  Hans Breuer  <hans@breuer.org>
8290         * plug-ins/python/Makefile.am : patch from Peter Moulder 
8291         <pmoulder@csse.monash.edu.au> to make the python plug-in
8292         compile on *nix too.
8294 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
8296         Patch from Alan <horkana@tcd.ie>:
8298         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
8300 2001-11-20  Hans Breuer  <hans@breuer.org>
8302         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
8304 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
8306         * app/diagram_tree.[hc] : Added new functions and types for
8307         sorting diagram and objects, and attaching the popup menus.
8309         * app/preferences.h: Added more diagram tree preferences, using a
8310         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
8311         height and width of the diagram tree window and the default sort
8312         orders for diagrams and objects.
8314         * app/preferences.c (prefs_data): Added new entries for the new
8315         diagram tree preferences.
8317         * app/preferences.c (prefs_tabs): New tab for diagram tree
8318         preferences.
8320         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
8321         * app/diagram_tree_window.c (diagram_tree_window_new): 
8322         * app/interface.c (create_tree_window): The diagram tree window is
8323         initialised using the DiagramTreeConfig part of prefs.
8326 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
8328         * app/diagram_tree_menu.[hc]: New files. Functions to create the
8329         diagram tree popup menus.
8331         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
8332         the diagram tree popup menus.
8334         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
8335         added.
8337 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
8339         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
8340         double-clicking a diagram tree node raises the diagram window
8341         to the foreground (and, if a object node was clicked, selects the
8342         object in the diagram).
8344         * app/diagram_tree.c (select_tree_widget): selecting an object
8345         node with single click simply updates it (no raise).
8347 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
8348         These changes make the diagram tree lazy: it is not created unless
8349         the diagram tree window is requested.
8350         
8351         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
8352         function for creating the tree window.
8354         * app/interface.c (create_tree_window): call
8355         create_diagram_tree_window() instead of diagram_window().
8357         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
8358         (diagram_tree_update, diagram_tree_update_name) 
8359         (diagram_tree_add_object, diagram_tree_add_objects) 
8360         (diagram_tree_remove_object, diagram_tree_remove_objects) 
8361         (diagram_tree_update_object): accept a NULL tree as a nominal
8362         argument (and do nothing in this case!), so that the diagram tree
8363         is not initialised if not used.
8365         * app/diagram_tree_window.c (diagram_tree): do not create the
8366         diagram tree until diagram_window() or diagtree_show_callback()
8367         are invoked.
8369 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
8370         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
8372         * app/diagram_tree_window.[hc] : (new files) implementation of 
8373         the diagram tree window, a container for a diagram tree. [Removed
8374         the horizontal scroll bar glitch by disableing it]
8376         * app/diagram_tree.[hc] : (new files) implementation of the 
8377         diagram tree widget. [Don't rely on the layers GPtrArray to be
8378         NULL terminated, but use its ->len field] 
8380         * app/Makefile.am (dia_core_files): added new files
8381         diagram_tree.[hc] and diagram_tree_window.[hc]
8383         * app/interface.[hc] : (create_tree_window): this function 
8384         creates the new diagram tree window widget
8386         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
8387         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
8388         (ungroup_objects_apply) (ungroup_objects_revert): 
8389         every time that an undoable command modifies a diagram 
8390         adding/removing/(un)grouping objects, a diagram_tree_something() is 
8391         invoked to keep the diagram tree window in sync
8393         * app/properties.c (properties_apply): call to
8394         diagram_object_modified(), which updates the diagram tree window
8395         when the properties of an object are modified
8397         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
8398         (whether the diagram tree window should be shown on dia startup)
8400         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
8402         * app/diagram.h (diagram_object_modified): callback notifying of a
8403         diagram object modification
8405         * app/diagram.c (diagram_load_into): added call to
8406         diagram_tree_add() to add newly loaded diagrams to the diagram
8407         tree window
8408         (diagram_destroy): call to diagram_tree_remove() to remove a
8409         destroyed diagram from the diagram tree window
8410         (diagram_add_object): call to diagram_tree_add_object() to add an
8411         object to the diagram tree window
8412         (diagram_add_object_list): as above, but with an object list
8413         (diagram_selected_break_external): deletion of objects from the
8414         diagram is detected here, and diagram_tree_remove_object() is
8415         invoked to remove the object from the diagram tree window (it
8416         would be nice to have a diagram_remove_object() in the Diagram
8417         interface)
8418         (diagram_set_filename): update the diagram tree window when a
8419         diagram's filename changes
8421         * app/commands.c (file_new_callback): added call to
8422         diagram_tree_add() to add newly created diagrams to the diagram
8423         tree window
8425         * app/app_procs.c (app_init): added call to create_tree_window()
8427         * app/makefile.msc : updated
8429 2001-10-28  Hans Breuer  <hans@breuer.org>
8431         * app/preferences.h (DiaPreferences): 
8432         * app/preferences.c (prefs_data): new "show_diagram_tree"
8433         configuration option (whether the diagram tree window should be
8434         shown on dia startup)
8436         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
8437         entry (both for GNOME and gtk)
8439         * app/diagram.h (diagram_object_modified): callback notifying of a
8440         diagram object modification
8442         * app/diagram.c (diagram_load_into): added call to
8443         diagram_tree_add() to add newly loaded diagrams to the diagram
8444         tree window
8445         (diagram_destroy): call to diagram_tree_remove() to remove a
8446         destroyed diagram from the diagram tree window
8447         (diagram_add_object): call to diagram_tree_add_object() to add an
8448         object to the diagram tree window
8449         (diagram_add_object_list): as above, but with an object list
8450         (diagram_selected_break_external): deletion of objects from the
8451         diagram is detected here, and diagram_tree_remove_object() is
8452         invoked to remove the object from the diagram tree window (it
8453         would be nice to have a diagram_remove_object() in the Diagram
8454         interface)
8455         (diagram_set_filename): update the diagram tree window when a
8456         diagram's filename changes
8458         * app/commands.c (file_new_callback): added call to
8459         diagram_tree_add() to add newly created diagrams to the diagram
8460         tree window
8462         * app/app_procs.c (app_init): added call to create_tree_window()
8464 2001-10-28  Hans Breuer  <hans@breuer.org>
8466         * plug-ins/python/pydia-property.c : apparently I missed
8467         to commit this last time. Now it has some more SetAttr
8468         support (apply from property)
8470         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
8472         * plug-ins/python/pydia-text.[ch] : new files
8474 2001-10-14  Hans Breuer  <hans@breuer.org>
8476         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
8477         strings. Use g_strdup() for these.
8479         libxml2 does not produce 'any extra indentation when saving a tree'
8480         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
8481         libxml(1). To get human readable XML some extra tweaking is required.
8482         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
8483         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
8484         * app/preferences.[ch] : initialize 'pretty_formated_xml'
8486         * lib/libdia.def : updated externals
8488         * lib/properties.h : add prototype for prop_list_from_single ()
8490         * plug-ins/makefile.msc : build metapost plug-in
8492         * plug-ins/metapost/render_metapost.c : msvc does not like
8493         switch labels without operation 'default: }'. Added a noop.
8495         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
8496         * plug-ins/python/diamodule.c : added PyDiaText 
8497         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
8498         Although the python plug-in does not use libxml at all, the
8499         headers are required to use the lib/prop*.h headers
8501         * plug-ins/python/pydia-diagramdata.c : added wrappers for
8502         update_extents and get_sorted_selected (should I duplicate
8503         more functions from PyDiaDiagram or should they be moved?)
8505         * plug-ins/python/pydia-properties.c : allow to set (some) properties
8506         through the dictionary api
8507         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
8508         * plug-ins/python/pydia-property.c : implement it (currently only
8509         string properties can be set)
8511         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
8512         Quoting myself: 'Still not convinced that this is better than an 
8513          integral property->type and some casting ...
8514          It is trading a straightforward 40 lines switch statement to
8515          this nice 'type safe' function mapping (about 125 lines)'
8516         (But now it works again, better than changing the News file :)
8517         
8518 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
8520         patch from <robert.young@dsto.defence.gov.au>: 
8521         * objects/UML/component.c: remember to set font in UML component
8522         object (fixes #62132)   
8524 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8526         * plug-ins/metapost/metapost.c: 
8527         * plug-ins/metapost/Makefile.am:
8528         * plug-ins/metapost/render_metapost.c:
8529         * plug-ins/metapost/render_metapost.h:
8530         Metapost renderer from Chris Sperandio
8532 2001-09-14  Hans Breuer  <hans@breuer.org>
8534         * app/render_gdk.c : reflect the fact, that GTK already talks
8535         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
8537         * lib/font.c : 
8538         * app/render_libart.c : trying to fix #58045 but it appears
8539         to be an Gdk/win32, too. 
8541         * lib/charconv.c : handle utf8 conversion with the help of
8542         glib-1.3 even in the !HAVE_UNICODE case.
8544         * lib/dia_xml.c : reduce complaing about missing encoding, by
8545         detecting if the default (utf8) would break the file.
8547 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
8549         * lib/charconv.c: (get_local_charset): at least please try to not 
8550         silently change the logic, while avoiding crashes. 
8552         * lib/font.c: (suck_font): put a #error, we have a nasty something
8553         to fix there before we switch to Gtk 2.0.
8554         
8555 2001-09-09  Hans Breuer  <hans@breuer.org>
8557         * **/makefile.mingw : Approach to compile Dia with mingw.
8558         Compiling mostly works but running does not (yet) ... 
8560         * lib/geometry.h : 
8561         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
8562           Apparently mingw needs it too.
8563         - enable 'normalization' of a null verctor. Otherwise the beziergon
8564           bounding box calculation would be broken at least with msvc. What's
8565           the mathematical correct result of 0.0/0.0 ?
8567         * lib/dia_xml.c : isinf() for mingw too.
8569         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
8570         and msvc)
8572         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
8573         Please don't do it.
8575         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
8577         * lib/libdia.def : updated externals. Apparently mingw needs
8578         them to produce the right mangling.
8580         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
8581         and xmlDiaSaveFile
8583 2001-09-08  Wang Jian  <lark@linux.net.cn>
8585         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
8587 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
8589         * lib/dia_xml_libxml.h:
8590         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
8591         libxml1's code, to rework the output file before it gets committed
8592         to disk. This is rubbish, and will be removed when libxml2
8593         switches from discouraged to mandatory. 
8594         All in all, this fixes #60152. 
8595         
8596         * lib/charconv.h: 
8597         * lib/charconv.c: (charconv_unichar_to_utf8):
8598         made the type of the input parameter explicitly an unsigned long.
8600         * configure.in: Added a check for libz (we must now include it
8601         explicitly, for xmlDiaSaveFile).
8602         
8603         * app/load_save.c: (diagram_data_save):
8604         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
8605         (dia_pluginrc_write):
8606         * plug-ins/shape/shape-export.c: (new_shape_renderer),
8607         (end_render), (draw_string):
8608         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
8609         (draw_string):
8611         Made sure we always write UTF-8 XML files, and through
8612         xmlDiaSaveFile().
8614         * NEWS: documented that fact.
8615         
8616 2001-09-07  James Henstridge  <james@daa.com.au>
8618         * configure.in (found_libxml): refactor the check for libxml a
8619         little so that it handles finding both libxml1 and 2 better.
8621 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
8623         * app/app_procs.c: removed a spurious } which caused a compilation
8624         error in the (!HAVE_GNOME && HAVE_POPT_H) case
8626         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
8627         don't know what ANSI X3.4-1968 is. I didn't know until this day,
8628         but it's just plain old ASCII. Added a check to shield the poor
8629         XML library.
8631         Patches from <robert.young@dsto.defence.gov.au>:
8633         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
8634         width and height of text before calculating bounds. Fixes #59928
8636         * app/preferences.c: Moved grid related items into Grid Tab.
8637         
8638 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
8640         * app/interface.c: (create_zoom_widget): connected one more signal
8641         to the Zoom selector combo's list. Fixes #59879.
8643         * app/app_procs.[ch]: (app_init) (do_convert)
8644         (build_output_file_name): brought back into the main executable
8645         the rare useful bits of the ill-fated diaconv. This means we have
8646         one new feature : --export-to-format (-t), which should make
8647         writing conversion scripts easier, and a crude implementation of
8648         -t and -e for the poptless argument parsing, which means the Win32
8649         port should be able to take advantage of it (that should make
8650         resolving #58197 possible).
8652         * app/diaconv.c: kept the poor duck compiling (but that's about
8653         it).
8655         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
8656         I've got it right).
8658         * NEWS: updated about the new feature above, and documented the 
8659         "missing encoding specification" complaint. 
8660         
8661 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
8663         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
8665 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
8667         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
8668         care of #59837.
8670 2001-09-01  James Henstridge  <james@daa.com.au>
8672         * */Makefile.am: various changes to include missing files, and fix
8673         sheets dir to handle building with builddir != srcdir.
8675         * autogen.sh: unconditionally pass the --enable-maintainer-mode
8676         and --enable-db2html flags so that builds from CVS work correctly.
8678         * configure.in: increment version number.  Also add an
8679         --enable-db2html flag.  Without the flag, db2html won't be run (if
8680         the flag is passed and db2html is not present, do nothing).
8682 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
8684         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
8685         even compiled. It's really too bad there is no lint tool easily
8686         available (or a more cautious, pedandic, paranoid and verbose
8687         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
8689 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
8691         * app/load_save.c:
8692         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
8693         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
8695         * app/menu.c: added ellipsis(...) to diagram properties menu item.
8696         * app/dia-props.c: diagram properties dialog contents did not
8697         represent current diagram settings.
8698         * app/dia-props.[ch]:
8699         * app/display.c: diagram properties contents now follows currently
8700         selected diagram.
8701         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
8703         * AUTHORS: added Robert Young.
8704         
8705 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
8707         * app/modify_tool.c: (modify_button_release): Patch from
8708         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
8709         #59090: if selection dragging was released outside of the window, 
8710         artifacts of the selection box remained.
8712 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
8714         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
8716 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
8718         * configure.in:
8719         * sheets/Makefile.am: prepared the terrain for the Version of
8720         xml-i18n-tools Which Comes After 0.9 (and which will feature at
8721         last a sane behaviour with XML files). Some reasonible delay
8722         before enforcing that version *will* be given.
8724         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
8725         
8726         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
8727         becomes a nonexistent symbol.
8728         
8729 2001-08-18  Hans Breuer  <hans@breuer.org>
8731         * app/app_procs.c : made it compile without ENABLE_NLS
8733         * app/diap_callbacks.c : strcmp isn't guaranteed to work
8734         with NULL pointers
8736         * app/load_save.c :
8737         * lib/plug-ins.c : 
8738         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
8739         It has to be :
8740                 xmlGetProp, ... -> xmlFree
8741                 malloc, strdup -> free
8742                 g_new, g_malloc, g_strdup - > g_free
8744         * app/win32print.c : some more error checking, still not
8745         working on Win9x
8747         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
8749         * lib/dia_xml.c : msvc still has no unistd.h
8751         * lib/dia_xml.c :
8752         * lib/sheets.c : temporary resolved libxml include brokeness
8754         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
8755         changes. Compiles again, but doesn't do anything useful anymore.
8756         (see THE_PROP_TYPE_IS_INTEGRAL)
8758         * **/makefile.msc : updated to use LIBXML2
8760         * lib/libdia.def : reflect api changes
8762 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
8764         * config.h.win32: added defines telling that gtk speaks UTF8.
8765         Hans, I believe this reflects what GTK on Win32 does.
8767         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
8768         strings.        
8769         * lib/prop_inttypes.c: 
8770         * lib/prop_text.c:
8771         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
8772         code path.
8773         
8774         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
8775         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
8776         search for plug-ins is done.
8777         * app/Makefile.am: made app/run_dia.sh use the // capability. No
8778         need to update this anymore if we get a new plug-in library (or
8779         remove one).
8781         * lib/dia_xml.c: #include <unistd.h> was missing.
8782         
8783         * lib/properties.h: 
8784         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
8785         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
8786         support.        
8788 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
8790         * sheets/civil.sheet: removed duplicate "Danish" entries.
8792         * autogen.sh:
8793         * configure.in: 
8794         * .cvsignore:
8795         * sheets/Makefile.am: 
8796         * po/POTFILES.in:
8797         * Makefile.am: applied the xml-i18n-tools README's instructions.
8799         * po/(da de fr hu nl nn no sl).po: merged the translations from
8800         the sheet files into the .po files. I hope I haven't mixed
8801         languages...
8802         * sheets/*.sheet (REMOVED):
8803         * sheets/*.sheet.in (NEW): moved the sheet files sans
8804         translations into .sheet.in files. 
8805         
8806         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
8807         because we don't yet want to force all translators to work using
8808         UTF-8 editors. We'll want to do that sometime (sooner rather than
8809         later). Okay, I sing a slightly different tune in po/ChangeLog...
8811         * dia.desktop (REMOVED):
8812         * dia.desktop.in (NEW): used also the x18t infrastructure for
8813         this too.
8815         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
8816         "official" version of x18t with support for .sheet files is available.
8817         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
8818         "official" version of x18t which doesn't corrupt UTF-8 data in XML
8819         is available.
8820         
8821         ** yes, we are now using xml-i18n-tools to manage the sheet
8822         translations. For the Win32 build, Nemo stores snapshots of
8823         translated strings next to the CVS snapshots. **
8825         * sheets/checktrans.py: suddenly, some sheets have lots of
8826         translations (objects which existed before sheets, mostly).
8827         Adapted the formatting.
8829         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
8831         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
8832         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
8833         <robert.young@dsto.defence.gov.au>, to fix #59090.
8835         * app/display.c: (ddisplay_scroll): While at it, added some
8836         margin, so that autoscrolling can happen within a margin outside
8837         the diagram's extents.
8839         * app/tool.[ch]: 
8840         * app/interface.c:
8841         * app/disp_callbacks.c: Robert "forced" me to go when I usually
8842         don't, namely the app/ directory. So while I was there, I
8843         scratched a long-time itch. If no object has focus, pressing the
8844         space bar will select back the tool which was selected before the 
8845         current one (I find this especially useful with "reset after create" !)
8846         
8847         * lib/proplist.c: (prop_list_from_single): Renamed
8848         prop_list_singleton() to avoid confusion with the Singleton
8849         pattern (which it definitely is not).
8850         
8851         * lib/propobject.c: (object_prop_by_name_type),
8852         (object_prop_by_name): The "flags" parameter was not necessary.
8853         These don't return synthetic properties, but properties built from
8854         a real property description list; therefore, we don't call
8855         make_new_prop() but use the existing property descriptor, which
8856         has perfectly valid (and meaningful) flags.
8858         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
8859         new predicates better reflect the reason why properties exist when
8860         they're created by make_new_prop() or object_prop_by_name().    
8862         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8863         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
8864         of pdtpp_true().
8866         * lib/properties.h: reflects all the above changes.
8868         * objects/SADT/arrow.c:
8869         * objects/SADT/annotation.c:
8870         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
8871         IDEF0 terminology.
8872         
8873 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
8875         * lib/properties.h:
8876         * lib/proplist.c: (prop_list_singleton):
8877         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8878         Added these, to simplify interactions of plug-ins with the StdProp
8879         core.
8881         * lib/Makefile.am:
8882         * lib/dia_xml.h:
8883         * lib/dia_xml_libxml.h (NEW): 
8884         * app/load_save.c:
8885         * lib/dia_xml.c:
8886         * lib/plug-ins.c:
8887         * lib/sheet.c:
8888         * objects/custom/shape_info.c: A few prototypes were causing
8889         #include hell, because we generally attempt to not pull the whole
8890         libxml header set when we include dia_xml.h. Moved those
8891         prototypes away for the rare cases they're necessary.
8892         
8893 2001-08-15  Hans Breuer  <hans@breuer.org>
8895         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
8897         * lib/libdia.def : 
8898         * lib/makefile.msc : updated
8900         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
8901         use G_GNUC_FUNCTION instead.
8903         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
8905         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
8906         msvc instead of cleaning missing includes
8908         * plug-ins/wmf/wmf.cpp :
8909         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
8911 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
8913         * app/app_procs.c:
8914         * app/load_save.c:
8915         * lib/dia_xml.c:
8916         * lib/plug-ins.c:
8917         * lib/sheet.c:
8918         * objects/custom/shape_info.c:
8919         * plug-ins/shape/shape-export.c:
8920         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
8921         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
8922         removed xmlKeepBlanksDefault(0) in favour for proper
8923         xmlIsBlankNode() testing. Lots of other fixups to use the
8924         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
8925         make libxml1 output correct files.
8927         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
8928         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
8929         packages). If both devel packages are found, the build will stop 
8930         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
8932         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
8933         allocate the first handle :-)
8934         
8935         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
8936         a cast and a sizeof.</gratuitous>
8938         * objects/custom/custom_object.c: (custom_copy): don't call
8939         text_get_attrbutes if the shape has no text...
8940         (custom_update_data): The info->resize_with_text code was a bit
8941         directive; basically, the shape's bounding box was forced to be 
8942         proportional to the text's bounding box.... This fixes #57187.
8943         
8944         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
8945         default for info->aspect_ratio; unobfuscated a line about
8946         info->resize_with_text;
8947         
8948 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
8950         * lib/properties.h: added comments next to the PROP_TYPEs to tell
8951         which C Property subclass to use.
8952         
8953         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
8954         cast-ridden form of setting properties in a list, in favour for
8955         the "local pointers" form. I'll take any better offer...
8957 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
8958         
8959         * lib/font.c: fprintf(...) --> fprintf(format...)
8961         * configure.in: added a disabled versioned test for glib.
8962         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
8963         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
8964         g_critical() with a simple g_error(). Proper fix is to implement
8965         that stuff. 
8967         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
8968         PROP_TYPE_STRING.
8969         
8970         * lib/properties.h:     
8971         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
8972         * lib/proplist.c: (find_prop_by_name_and_type):
8973         * lib/prop_basic.c: (make_new_prop), (initialize_property):
8974         * lib/propoffsets.c: (do_set_props_from_offsets),
8975         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
8976         Added a type_quark member to PropDescription, Property and
8977         PropOffset. Used it to implement a safety in
8978         do_[sg]et_props_from_offsets().
8979                 
8980         * objects/flowchart/diamond.c: the diamond's text was not saved,
8981         and thus not even copied (c&p).
8982         * objects/standard/textobj.c: ditto.
8984         Most of the above changes thanks to Robert Young's testing. Thanks !
8985         
8986 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
8988         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
8989         and bokmÃ¥l).
8990         
8991 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
8993         * lib/proplist.c (prop_list_from_descs): added a call to
8994         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
8995         too embarrassing to tell.
8996         
8997         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
8998         while loop to a for loop, for symmetry with
8999         prop_offset_list_calculate_quarks().
9001         * lib/geometry.h: new inline function, rectangle_equals.
9003         * lib/diagramdata.[ch]: refactored a bit the diagram extents
9004         computation logic, and changed it to always be the union of the
9005         visible layers' extents. This should close #58882 (Debian
9006         #107167), and fixes #55498.
9008         * app/display.c: made the initial visible box more coherent with
9009         the diagram being loaded's extents.
9011         * app/prop_attr.c: don't set the font (from offset) if font_data
9012         is NULL. Two brainos in colorprop_load() and fontprop_load().
9013         
9014 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
9016         * lib/properties.[ch]: split in a lot of pieces: 
9018         * lib/prop_*.[ch] (NEW): all property types are now first-class
9019         objects, inheriting from the original abstract Property type.
9020         * lib/propdesc.c (NEW): property description handling routines
9021         * lib/propoffsets.c (NEW): property offset handling routines
9022         * lib/proplist.c (NEW): property list handling routines
9023         * lib/propobject.c (NEW): property list <-> object routines
9024         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
9025         relations.
9026         * lib/propinternals.h: prototypes for stuff not usually needed by 
9027         the outside of StdProps.
9028         * lib/Makefile.am: a lot of new files have been added...
9030         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
9031         BOTH INTERFACES AND RUN-TIME STABILITY.
9033         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
9034         
9035         * lib/object.h: removed the incestuous relationship with
9036         properties.h' contents. Now a Property list is a GPtrArray -->
9037         object interface change !
9039         * app/app_procs.c/app_init(): removed a disabled call to a
9040         non-existent routine. Added a call to stdprops_init().
9041         
9042         * objects/Makefile.am: disabled the construction of EML. I'm not
9043         touching these until a certain issue is solved (or this module
9044         removed).
9045         * app/group.c:  
9046         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
9047         objects to the interface changes.
9048         
9049         * app/disp_callbacks.c: killed a warning.
9050         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
9052         * app/commands.c: 
9053         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
9054         interface.
9056         * plug-ins/dxf/dxf-import.c: 
9057         * plug-ins/xfig/xfig-import.c: 
9058         PROP_VALUE_* macros have been removed. Converted to the new API.
9060         * plug-ins/python/**/*: I gave up converting this; I can't
9061         compile --with-python (problems with object.h defined both by us
9062         and by Python). I'll gladly help whomever cares to fix it !
9063         (or, fix it myself if someone tells me how to compile it).
9064         
9065         * configure.in: added the UNICODE-related progress defines.
9066                 
9067         * configure.in:
9068         * lib/geometry.h: On Solaris and perhaps other systems, finite()
9069         is defined in ieeefp.h rather than in math.h. Patch from Andrew
9070         Halper <ashalper@acm.org> with further modifications, isinf() is
9071         provided by -lsunmath (sunmath.h).
9072         
9073         * lib/font.c: conditionally disabled Lars' debugging messages.
9074         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
9075         
9076 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
9078         * lib/bezier_conn.h: 
9079         * objects/standard/bezier.c (bezierline_create): 
9080         * lib/bezier_conn.c (bezierconn_init): 
9081         Preparations for use of userdata for bezier lines.
9082         
9083         * objects/standard/polygon.c: 
9084         * objects/standard/create.h:
9085         * lib/polyshape.c:
9086         * lib/polyshape.h:
9087         * plug-ins/xfig/xfig-import.c:
9088         Use of user_data for polygon as well, including adding
9089         polyshape_set_points.  Include file for non-interactive 
9090         creation of standard objects, objects/standard/create.h
9092 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9094         * app/render_gdk.c: 
9095         * app/render_gdk.h: 
9096         * lib/font.c:
9097         * lib/font.h:
9098         * lib/widgets.c:
9099         More preliminary freetype support.  Not at all functional, crashes
9100         when rendering.
9102         * lib/poly_conn.h: 
9103         * lib/poly_conn.c: 
9104         * objects/standard/polyline.c: 
9105         Support for creating polyline objects with more than two points.
9106         This includes an extra function and a prototype change in the
9107         poly_conn lib object.
9109         * lib/object.c (object_copy): Fixed memory leak of handles and
9110         connections.
9112 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
9114         * dia.desktop: added traditional Chinese strings
9116 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
9118         * NEWS: updated to reflect build-time dependencies.
9120         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
9121         around obj->ops->describe_props(obj). Quarks are none of an
9122         object's business in the general case... 
9123         * lib/text.c: Added an apply_textattr_properties() function to
9124         factor out some common code related to applying a dialog's text
9125         attribute properties to a (Text *) which wasn't edited there. 
9126         Ditto for textstr, for the string part of an objet.
9128         * objects/GRAFCET/action.c:
9129         * objects/SADT/annotation.c:
9130         * objects/SADT/box.c: used apply_textattr_properties().
9131         
9132         * objects/UML/actor.c: 
9133         * objects/UML/branch.c:
9134         * objects/UML/component.c:
9135         * objects/UML/constraint.c:
9136         * objects/UML/small_package.c:
9137         * objects/UML/state.c:
9138         * objects/UML/usecase.c:
9139         * objects/UML/large_package.c:
9140         * objects/UML/note.c:
9141         * objects/UML/node.c:
9142         * objects/UML/message.c:
9143         * objects/UML/classicon.c:
9144         * objects/UML/object.c:
9145         * objects/UML/realizes.c:
9146         * objects/UML/dependency.c:
9147         * objects/UML/implements.c:
9148         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
9149         (most objects were already using StdProps to some extent ; this
9150         systematises usage and removes some dead wood). 
9151         
9152         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
9153         * objects/UML/uml.[ch]: audited for UTF-8.
9155         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
9156         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
9157         private (ISO-8859-1) definition.
9158         
9159         * lib/charconv.c: Added a warning if we didn't run
9160         nl_langinfo(CODESET) but rely instead on a hardcoded default.
9161         
9162 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
9164         * lib/diamenu.h:
9165         * app/disp_callbacks.c: added a way for an object to cause an
9166         already realised menu to be destroyed (for instance if it changes
9167         too much).
9169         * objects/custom/custom_object.c: used the above to fix #55073.
9171 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9173         * configure.in: Remove 2.50 prereq.
9175 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
9177         * po-checktrans.py: under some circumstances, there was one column 
9178         more than what was supposed to be, thus breaking the formatting.
9179         
9180 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
9181         
9182         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
9184         * NEWS: updated with new stuff since 0.88
9186         * shapes/network/antenna.shape: the text was misplaced ; fixed.
9188         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
9189         firewall router (upon request from Cyril Lacoux
9190         <clacoux@easter-eggs.com>)
9192         * configure.in (didn't rename to configure.ac): autoconf 2.50
9193         constructs were used ; added an AC_PREREQ call to guard against
9194         older autoconfs.
9195         
9196 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
9198         * lib/properties.c: minor clean-ups with the event delivery code.
9200         * EML/instantiation.c: brought this object back from stone and ice
9201         age.    
9203         * app/diaconv.c(NEW): added a command-line conversion tool. Still
9204         lacks a man page and correctness. In fact, it doesn't work. Please
9205         see #58196 if you want to finish it.
9206         
9207         * lib/message.[ch]: redefined things a little so that a different
9208         message_internal routine could be passed.
9209         applications can use that to fit themselves to the display model.
9211 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
9213         * objects/SADT/box.c: 
9214         * objects/GRAFCET/action.c: spelling in property descriptors (name
9215         field...)
9216         * objects/SADT/annotation.c: ditto, plus a temporary test of the
9217         event delivery code (try to click on the "click me !" button !).
9219         * app/group.c: 
9220         * lib/properties.[ch]: improved (fixed) support for group event 
9221         handlers. Fixed various things from yesterday's code to make it
9222         not too obviously crash.
9224 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
9226         * app/group.c: added delivery of events to the first member of the
9227         group which is able to process it.
9229         * lib/properties.c(prop_desc_lists_intersection): properties
9230         don't match if they don't have identical event handler.
9231         * lib/properties.h: simplified the PropEventHandler signature.
9233         Event delivery code is still untested so far, but should be
9234         lurking harmless.
9235         
9236 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
9238         * lib/properties.[ch]: Added (untested !) property event handler
9239         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
9240         generating such events. This stuff compiles, and should lurk
9241         around silently as long as you don't declare property descriptors
9242         with events (AFAICT).
9243         In object_create_props_dialog() and friends:
9244         attached a single structure with lots of data instead of lots of
9245         little attachments of data to the dialog widget.
9246         
9247         * lib/object.h: fixed mild typedef breakage introduced by the above.
9249 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9251         * lots of files: Changed Font to DiaFont
9252         * */Makefile.am: Added FREETYPE_LIBS
9253         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
9255 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
9257         * configure.in: Added "nn" to ALL_LINGUAS.
9258         
9259 2001-07-09  Alex Larsson  <alexl@redhat.com>
9261         * app/disp_callbacks.c:
9262         Add gdk_im_ready() calls to XIM code.
9264 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
9266         * lib/properties.[ch]: splitted prop_get_widget() into
9267         prop_get_widget() (gives a widget but doesn't fill it) and 
9268         prop_reset_widget() (fills an existing widget with a property's value).
9270         * lib/widgets.[ch]: const enforcement police work.
9272         * shapes/network/antenna.shape: added a connection point at top,
9273         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
9274         
9275 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
9277         * intl/*: tested with gettext-0.10.38
9278         * configure.in: moved a macro call around (AM_PROG_CC) to keep
9279         some of autogen.sh from complaining.
9280         * INSTALL: added a warning against gettext older than at least 0.10.36
9281         
9282 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
9284         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
9285         AM_ICONV (both provided by gettext)
9287 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
9289         * lib/charconv.c: corrected the degraded mode for when
9290         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
9292         * objects/chronoline/chronoline_events.c: UTF8 compliance.
9293         
9294 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
9296         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
9297         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
9298         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
9299         into a frame box.
9301         * objects/chronogram/chronoline.c:
9302         * objects/chronogram/chronoref.c: took advantage of the above to
9303         make nicer looking dialogs.
9305         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
9306         from libunicode's internals).
9307         * lib/message.c: convert strings to local encoding prior to
9308         display (UNICODE_WORK_IN_PROGRESS)
9309         * lib/properties.[ch]: convert strings to local encoding prior to
9310         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
9311         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
9312         * lib/stringprerenderer.[ch]: ditto
9314         (lib/text.c has been audited for UTF8, but the size of the changes
9315         make them inappropriate for commit before 0.89)
9316         
9317 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
9319         * objects/boolequation.h (<save|load>_boolequation): made the 
9320         prototypes for match the .c file.
9321         
9322         * samples/grafcet.dia: minor non-conformance with IEC-848
9323         fixed (in the transition from step 100 to step 101).
9325         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
9326         disallow editing of properties if the object is part of a group.
9328         * objects/chronogram/chronoline.c: 
9329         * objects/SADT/annotation.c:
9330         * objects/SADT/box.c:
9331         * objects/GRAFCET/step.c:
9332         * objects/GRAFCET/transition.c:
9333         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
9334         
9335 2001-06-12  Hans Breuer  <hans@breuer.org>
9337         * lib/libdia.def : removed lazyprop exports
9338         * lib/makefile.msc : removed lazyprop.obj
9340         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
9341         and avoid crashes by always creating a custom->text,
9342         when (custom->info->has_text) 
9344         * objects/makefile.msc : removed sybase from build
9346         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
9347         ObjectNode is a pointer already, which is what we want
9348         instead of a pointer pointer.
9350         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
9351         and implemented working export for images
9353         * shapes/network/zip-disk.shape : added connection points 
9355 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
9357         * objects/SADT/box.c: removed lazyprops for standard props.
9358         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
9359         * objects/chronograms/chronoref.c: ditto 
9361         * lib/Makefile.am:
9362         * lib/dummy_dep.h:
9363         * lib/connpoint_line.c:
9364         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
9365         * lib/properties.[ch]: new property types:
9366             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
9367             - PROP_TYPE_MULTISTRING: same as string, but renders as a
9368             multi-line entry box.
9369             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
9370             in a tabbed-notebook style (this is a bit complicated to use; 
9371             see objects/chronograms/chronoline.c for an example).
9372                
9373 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
9375         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
9376         * objects/GRAFCET/step.c: ditto.
9377         * objects/GRAFCET/vector.c: ditto.
9378         * objects/SADT/annotation.c: ditto.
9379         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
9380         
9381         * lib/properties.[ch]: two more non-visible types
9382         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
9384         * lib/neworthconn.[ch]:
9385         * lib/orthconn.[ch]: added support for manipulation through
9386         standard properties.
9388         * configure.in: removed -fomit-frame-pointer, this seems to
9389         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
9390         bugzilla.
9392         * charconv.[ch]: more functions from unicode.h.
9393         get_local_charset() wasn't working properly, fixed now.
9394         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
9395         ElectricFence !)
9396         
9397         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
9398         * lib/lazyprops.[ch]: put a big fat warning in.
9400         * app/render_eps.c: one line mysteriously went away, causing a
9401         variable to be used uninitialised....
9403 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
9405         * app/app_procs.c: commented out the call to
9406         bind_textdomain_codeset(): it's premature.
9407         
9408         * lib/connpoint_line.c: a NULL point can be given to
9409         connpointline_adjust_count(), in case there's not really a clicked
9410         point.
9412         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
9413         #include order troubles. #included by lib/text.h, so there is no 
9414         impact outside lib/.
9415         * lib/properties.[ch]: added support for CONNPOINT_LINE and
9416         (nonvisible) TEXT properties.
9418         * objects/GRAFCET/action.c:
9419         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
9420         properties.
9421         
9422         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
9423         standard properties code). Grafted a dynamic number of connection
9424         points (heavily inspired from what Vergent does). This is the real
9425         fix for #55863.
9427         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
9429         * lib/fonts.c: some hardening (mostly g_assert())
9430 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
9432         * app/app_procs.c (app_init): added a call to
9433         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
9434         (UNICODE_WORK_IN_PROGRESS).
9435         
9436 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
9438         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
9440         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
9441         (fixes #55863) : some clean-ups in the handling of connection
9442         points. Now the total number of connection points is just a
9443         #define (the proper solution is to retrofit the GRAFCET Vergent's
9444         dynamic behaviour wrt connection points).
9445         
9446 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
9448         * app/app_procs.c (app_init): added a call to unicode_init() (only
9449         if HAVE_UNICODE, of course).
9451         * lib/charconv.c: simplified the code which detects the local
9452         charset. No need to use <langinfo.h>, libunicode already takes the
9453         burden of figuring that out. Also, if local charset is utf8, no
9454         conversion will take place.
9455         Exposed a way to get the current charset (similar to
9456         unicode_get_charset() but actually working, hopefully).
9458         * lib/charconv.h: Added a partial non-UTF8 implementation of
9459         unicode.h if !HAVE_UNICODE (actually, all the time for the
9460         moment). The UTF8 implementation is just macros on libunicode (use
9461         the functions prefixed by uni_, as defined by charconv.h, not
9462         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
9463         From now on, all strings which don't *need* to be ASCII should be
9464         utfchar *, not gchar *. Just include charconv.h, let it sort out
9465         the details (such as: "is libunicode available and enabled?") 
9467         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
9468         "API" instead of directly libunicode. Removed the now unnecessary
9469         speculative clustering of characters in encoding pages.
9471         * app/render_eps.c: made the local8->utf8 conversions dependent of
9472         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
9473         boundary will be when this WIP is done).
9475         * lib/dia_xml.c (data_point): fixed a format string typo.
9477         * po/POTFILES.in: added all C files from lib/ 
9478         
9479 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
9481         * app/disp_callbacks.c: make sure the objects' connected objects
9482         are updated when the objects' size changes after a keypress event
9483         (fixes #51222)
9485         * configure.in: added a big warning about the possible future
9486         non-optionality of --enable-unicode. 
9488         * TODO: removed entries which look like done ; added a few ones
9489         (Bugzilla "enhancement" bugs may be a better way to keep track of
9490         this)
9491         
9492 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
9494         * objects/UML/message.c: got rid of #55564 and of message_copy()
9495         by using more standard properties (are the message_state_*()
9496         functions still necessary ?)
9498 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
9500         * lib/plug-ins.c: 
9501         * objecs/custom/shape_info.c:
9502         * plug-ins/shape/shape-export.c:
9503         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
9504         use xmlChar instead of obsolete CHAR.
9506 2001-06-03  Hans Breuer  <hans@breuer.org>
9508         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
9509         * app/commands.c : give the right number of parameters
9510         to diagram_update_menu_sensitivity ()
9512         * app/preferences.c : do proper initialization for DiaPrefsData:
9513         render_bounding_boxes. It would be a real surprise if 'hidden'
9514         properties would have ever worked before.
9515         Don't try to access the widgets of hidden property, it does not
9516         have one.
9518         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
9519         it is defined in libdia, but initialized from dia app, which 
9520         otherwise gave nice start-up crashes.
9522         * lib/diagramdata.c : initialize the color for rendering bounding 
9523         boxes in the Dia range (0 .. 1.0)
9525         * lib/libdia.def : added *_bbox functions for export
9527         * lib/makefile.msc : added new sources
9529         * objects/custom/custom_object.c : use HAVE_UNISTD_H
9531 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
9533         * app/interface.c:
9534         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
9535         removes a translation of menus (in a place where there shouldn't
9536         have been), which gets rid of a waterfall of warnings if LANG!=C,
9537         and a fix to #55047.
9539 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
9541         * lib/charconv.c : added #include <errno.h>
9543         * app/dia_embedd.c : updated menus_get_item_from_path usage
9544         
9545 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
9547         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
9548         Added a special case for Symbol strings, so that they're not
9549         re-encoded using the LN encoding (we use the bare Adobe encoding
9550         instead).
9552         * objects/custom/custom_object.c: Now that #52912 is fixed,
9553         I could remove the ugly hack I wrote to squash the shape bounding box
9554         problem shown by Ben A. Hetland a few months ago, and fix it
9555         properly this time.
9556         
9557         * lib/text.c: enlarged a little the bounding box to account for
9558         the cursor in rightmost position.
9559         
9560         * lib/diagramdata.c: draw bounding boxes only if the relevant
9561         variable is set (as before), but also only if the rendere is
9562         interactive (ie, don't bother rendering bounding boxes on 
9563         Postscript...)
9564         Made the bounding box's line width a fixed value, 0.01
9565         
9566         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
9567         and assymmetric control beziers. Implemented ellipse_bbox().
9568         
9569         * Makefile.am: incantations to get po/dia.pot build, as suggested
9570         by Hubert in #55075.
9571         
9572         * shapes/network/computer.shape: typo fixed.
9573         * shapes/network/antenna.shape: fixed #55074 (antenna is now
9574         properly translucent, except for its base where it makes sense. It
9575         doesn't look that ugly anymore if transparent mode is on).
9577         * configure.in: --enable-unicode is now the default. This
9578         still currently affects only printing.
9579         
9580 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
9582         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
9583         The overshoot code is buggy, and the bounding boxes for polyshapes
9584         looks a bit cheezy. To be done ASAP.
9586 2001-05-26  James Henstridge  <james@daa.com.au>
9588         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
9589         This should clear up some of the build problems people have been
9590         having.
9592         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
9594 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
9596         * lib/Makefile.am:
9597         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
9598         box code (beginning with lines, polylines and polybeziers), into a
9599         more generic facility. While at it, a better shot at correctly
9600         computing the bounding box of a Bezieroid (should take care of
9601         #53424, #51233 and of course is part 1 of #52912).
9603         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
9604         into a hidden preference (set render_bounding_boxes in diarc).
9605         * app/preferences.[ch]: Added support for hidden preferences.
9607         * lib/geometry.[ch]: sprinkled with "const" modifiers.
9608         
9609         * lib/bezier_conn.[ch]:
9610         * lib/beziershape.[ch]:
9611         * lib/connection.[ch]:
9612         * lib/element.[ch]:
9613         * lib/poly_conn.[ch]:
9614         * lib/orth_conn.[ch]:
9615         * lib/neworth_conn.[ch]:
9616         * lib/polyshape.[ch]: adapted to take advantage of
9617         boundingbox.[ch] instead of relying on private (duplicate) code.
9619         * object/FS/flow.c:
9620         * object/GRAFCET/action.c:
9621         * objects/GRAFCET/condition.c:
9622         * objects/GRAFCET/vergent.c:
9623         * objects/GRAFCET/vector.c:
9624         * objects/SADT/annotation.c:
9625         * objects/SADT/arrow.c:
9626         * objects/ER/participation.c:
9627         * objects/UML/constraint.c:
9628         * objects/UML/implements.c:
9629         * objects/UML/lifeline.c:
9630         * objects/UML/message.c:
9631         * objects/UML/realizes.c:
9632         * objects/UML/generalization.c:
9633         * objects/UML/association.c:
9634         * objects/UML/dependency.c:
9635         * objects/FS/flow-ortho.c:
9636         * objects/network/bus.c:
9637         * objects/standard/arc.c:
9638         * objects/standard/bezier.c:
9639         * objects/standard/beziergon.c:
9640         * objects/standard/line.c:
9641         * objects/standard/polygon.c:
9642         * objects/standard/zigzagline.c:
9643         
9644         * objects/standard/polyline.c: Some *BBExtras structures changed
9645         names while moving to boundingbox.[ch]. A trivial mass-renaming.
9646         
9647 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
9649         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
9650         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
9652         * app/display.c (ddisplay_update_scrollbars): from Patrick's
9653         suggestion, remove the extra scrollable area (it was only visible
9654         to the scrollbars). This is experimental.
9655         
9656         * objects/custom/custom_object.c: If a shape's icon file doesn't 
9657         exist, warn and substitute a default icon, instead of crashing.
9658         (fixes #52913)
9659         
9660         * objects/network/network.c:
9661         * shapes/network/modularswitch.(shape|xpm) (NEW):
9662         * shapes/network/printer.(shape|xpm) (NEW):
9663         * shapes/network/genmonitor.(shape|xpm) (NEW):
9664         * shapes/network/computer.(shape|xpm) (NEW):
9665         * shapes/network/Makefile.am: four less objects, four more shapes.
9666         These were the last known RenderObjects. (phew !)
9668         * lib/Makefile.am:
9669         * lib/dummy_dep.h:
9670         * objects/sybase/Makefile.am: 
9671         * objects/network/Makefile.am: Removed the older Renderobjects
9672         from the build, and their infrastructure (not yet deleted,
9673         though).
9675         * shapes/network/sceadplug.shape:
9676         * shapes/network/antenna.shape:
9677         * shapes/network/modem.shape:
9678         * shapes/network/hub.shape:
9679         * shapes/network/rj45plug.shape:
9680         * shapes/sybase/client.shape:
9681         * shapes/sybase/dataserver.shape:
9682         * shapes/sybase/ltm.shape:
9683         * shapes/sybase/repserver.shape:
9684         * shapes/sybase/rsm.shape:
9685         * shapes/sybase/stableq.shape: Minor corrections (line widths were
9686         ten times too narrow).
9687         
9688 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
9690         * objects/network/network.c:
9691         * shapes/network/sceadplug.(shape|xpm) (NEW):
9692         * shapes/network/antenna.(shape|xpm) (NEW):
9693         * shapes/network/modem.(shape|xpm) (NEW):
9694         * shapes/network/Makefile.am: four less objects, four more shapes.
9695         
9696         * lib/Makefile.am:
9697         * lib/diagramdata.c:
9698         * lib/render.h:
9699         * lib/string_prerenderer.[ch] (NEW):
9700         Add a new renderer primitive, predraw_string() (does nothing, to be
9701         used as a hook to optimise the character encodings if needed). 
9702         Added a string pre-renderer, which can be viewed as a filter
9703         renderer (to route draw_string() to predraw_string() and ignore
9704         the rest, in a first rendering pass)
9705         
9706         * app/render_eps.c: Took advantage of the above to make wholly
9707         optimised Postscript encoding page(s), even (especially) with 
9708         non-latin1 code (HAVE_UNICODE must be true).
9710         (#53512 in fact is wholly resolved).
9711         
9712 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
9714         * lib/charconv.c: steps towards resolution of #53512 (inspired by
9715         Alexey Novodvorsky <aen@logic.ru>'s patch).
9717         * app/menus.c (dia_menu_signal_proxy): checked that the signal
9718         handler is not NULL before transferring control to it... (fixes #52836)
9720         * app/app_procs.c (app_init): removed non-constant initialiser
9721         (fixes #52950)
9723         * objects/custom/custom_object.c:
9724         * objects/custom/shape_info.[ch]:
9725         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
9726         <skh@mathstar.com>. This add support for a <svg:text> shape
9727         element, and some related style properties (font, font height, 
9728         alignment)
9730         * doc/custom_shapes: a precision about the meaning of case in a
9731         SVG path (closes #52364)
9733         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
9734         fixed by <drk@sgi.com>)
9735         
9736 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
9738         * objects/network/network.c:
9739         * shapes/network/Makefile.am:
9740         * shapes/network/hub.(shape|xpm) (NEW):
9741         * shapes/network/flash.(shape|xpm) (NEW):
9742         * shapes/network/rj45plug.(shape|xpm) (NEW):
9743         More shapes, less renderobjects.
9745 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
9746         
9747         * plug-ins/svg/render_svg.c: typo made exported ellipses
9748         corrupted (zero Y pseudo-radius).
9750         * objects/network/network.c:
9751         * objects/network/disc.c:
9752         * shapes/network/disc.(shape|xpm): Converted the first
9753         Renderobject into a shape. Normally, old diagrams should reload
9754         without problems (please check this against your diagrams). More
9755         flexibility should be gained that way. I intend to hunt and
9756         eradicate all renderobjects as I can commit cycles to that. 
9758         * objects/Makefile.am:
9759         * configure.in:
9760         * app/Makefile.am:
9761         * objects/sybase/sybase.c:
9762         * shapes/sybase/Makefile.am(NEW):
9763         * shapes/sybase/client.(xpm|shape) (NEW):
9764         * shapes/sybase/dataserver.(xpm|shape) (NEW):
9765         * shapes/sybase/ltm.(xpm|shape) (NEW):
9766         * shapes/sybase/repserver.(xpm|shape) (NEW):
9767         * shapes/sybase/rsm.(xpm|shape) (NEW):
9768         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
9769         renderobjects into shapes. The Sybase objects are now not compiled
9770         anymore, and ready to be nuked if nobody objects in the next few weeks.
9771         
9772         * app/commands.c:
9773         * app/diagram.[ch]:
9774         * app/disp_callbacks.c:
9775         * app/display.[ch]:
9776         * app/interface.[ch]:
9777         * app/menus.[ch]:
9778         * app/modify_tool.c:
9779         * app/preferences.[ch]:
9780         * app/recent_files.c:
9781         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
9782         a menu bar reflecting the popup menu, to each display window. This
9783         is optional (changing the preference currently doesn't affect
9784         already opened windows; a few other rough edges to cut).
9786         * plug-ins/wpg/wpg.c:
9787         * plug-ins/xfig/xfig-import.c:
9788         * plug-ins/python/pydia-property.c:
9789         * plug-ins/python/pydia-properties.c:
9790         * plug-ins/python/pydia-geometry.c:
9791         * plug-ins/pstricks/render_pstricks.c:
9792         * lib/arrows.c:
9793         * objects/EML/dbox.c:
9794         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
9795         #53054.
9797         * lib/ps-utf8.c: improved the clustering of alphabetic character
9798         definitions in custom encodings pages.
9799         
9800 2001-05-02  Hans Breuer  <hans@breuer.org>
9802         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
9803         of 'obj_bb' to PROP_TYPE_RECT
9805         * objects/custom/custom_object.c : take all quarks into account, 
9806         not only 4 as copy&paste suggests
9808         * objects/uml/objects.c : completed the implementation of the
9809         property api to avoid reading of totally bogus data. Removed
9810         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
9811         there was too much but too less ...
9812   
9813         The above changes removed all known crashes (mentioned below) 
9814         from the Property API. Property access is still incomplete though.
9816         * objects/flowchart/box.c :
9817         * objects/flowchart/diamond.c :
9818         * objects/flowchart/ellipse.c :
9819         * objects/flowchart/parallelogram.c :
9820         * objects/uml/classicon.c :
9821         * objects/uml/state.c : calculate number of quarks from quark array 
9822         size instead of using hardcoded values for consistence and to avoid 
9823         future bugs like the above
9824         
9825         * objects/eml/nlist.c : include <string.h> for strcmp()
9827         * lib/dia_xml.c : relax g_warning for values, which
9828         appear to be too small. There is nothing which prevents
9829         them while saving
9831         * plug-ins/python/pydia-geometry.c : changed stringifying of
9832         geometry objects accept BezPoint back to %f, which does not
9833         crash anymore, because all the data is intialized now and it
9834         simply is more readable than %e ...
9836         * plug-ins/python/python-startup.py : removed dependency
9837         to PyGtk, because it isn't required here and probably won't
9838         in i.e.: export filters.
9840         * plug-ins/python/gtkcons.py : create the gtkoutfile even
9841         if sys.stderr.fileno() isn't supported
9843         * app/makefile.msc : make version 0.88
9844         * plug-ins/makefile.msc : make version 0.88 an added new
9845         xfig files to build
9847 2001-05-11  James Henstridge  <james@daa.com.au>
9849         * NEWS: remember to add news items this time.
9851         * dia.spec: update spec file for 0.88 release.
9853         * configure.in: up version number to 0.88
9855         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
9856         preventing any of the useful python scripts from being
9857         distributed.
9859         * sheets/Makefile.am (sheet-translation-report): fix bustage I
9860         introduced in my fixups for the 0.87 release :(
9862 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9864         * plug-ins/xfig/xfig-import.c: Finally got groups working.
9866 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
9868         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
9869         group manipulation.
9871 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
9873         * lib/ps-utf8.[ch]:
9874         * lib/Makefile.am: fix makefile breakage which led to not
9875         including ps-utf8.[ch] in the released tarballs. 
9877 2001-05-09  James Henstridge  <james@daa.com.au>
9879         * Makefile.am (core-translation-report): dist scripts needed for
9880         this target, and change to $(srcdir) before running.
9882         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
9883         files aren't automatically included in the tarball by automake
9884         because they could be generated files.
9886         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
9888         * doc/en/Makefile.am (install-data-hook): fix up where graphics
9889         are installed.
9891         * configure.in: up version number to 0.87
9893         * plug-ins/python/*.py: no longer necessary to explicitly set
9894         sys.argv, as python.c does it for us now (like it should).
9896         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
9897         python plugin.
9899         * plug-ins/python/python-startup.py: startup script that imports
9900         all modules in $(datadir)/dia/python and ~/.dia/python.
9902         * plug-ins/python/python.c (dia_plugin_init): change so that it
9903         only runs the $(datadir)/dia/python-startup.py script.  Make sure
9904         that sys.argv and __main__.__file__ are set when calling the
9905         startup script.
9907         * plug-ins/python/Makefile.am: update makefile.  Make it install
9908         gtkcons.py plugin.  I haven't set any other plugins to install, as
9909         they look like they are mainly for debugging purposes.
9911         * configure.in: add tests to detect if python is available, so we
9912         can build the python plugin.  Only run if --with-python passed to
9913         configure.
9915 2001-05-08  James Henstridge  <james@daa.com.au>
9917         * acinclude.m4: add macros for detecting python.
9919         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
9920         at GNOME_APP_UI_SUBTREE entries.
9921         (menus_add_path): function to add a menu item to the menubars.
9922         Uses a hash table to keep track of extra menu items it adds.  Also
9923         notifies the item factory about the entries so that accels can be
9924         saved for them.
9925         (menus_add_path): implement gtk only version.
9926         (menus_init): use menus_add_path() to add the menu.
9927         (plugin_callback): simplify.
9929 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
9931         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
9932         
9933 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9935         * plug-ins/xfig/xfig-export.c: 
9936         * plug-ins/xfig/xfig-common.c: 
9937         * plug-ins/xfig/xfig-import.c: 
9938         * plug-ins/xfig/xfig.c: 
9939         * plug-ins/xfig/xfig.h: 
9940         * app/Makefile.am: Added support for exporting to Fig format
9941         (except splits, which are less powerful in Fig).  Some refactoring
9942         along the way.
9944 2001-05-02  Hans Breuer  <hans@breuer.org>
9946         * plug-ins/python/debug_objects.py : added another
9947         test to get massive crashes from the Property API due
9948         to unintialized data.
9950         * app/menu.c : the callback_action wasn't incremented
9951         (should have checked my last optimization). Now more
9952         than one plug-in callback is supported again.
9954         * plug-ins/python/pydia-geometry.c : avoid crashes from
9955         glib, when trying to g_strdup_printf unintialized floats.
9957         * plug-ins/python/pydia-property.c : avoid crashes from
9958         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
9960 2001-05-01  Hans Breuer  <hans@breuer.org>
9962         * objects/makefile.msc : added eml
9963         * objects/eml/instantiation.c : initialize 'inst' pointer
9964         before using, zero initialization for objects
9965         * objects/eml/interaction-ortho.c :
9966         * objects/eml/interaction.c : zero initialization for objects
9968         * app/menus.c : removed Gimp mru stuff which slipped in at
9969         2000-08-15, was never activated and will never be needed, 
9970         because of Steffens recent file list patch added at 2001-01-05.
9972         * objects/eml/*.c : some more zero initialization of objects
9973         to avoid infinite (uninitialized) bounding boxes
9975         Implemented a callback api which allows plug-ins to register
9976         menu call backs. Dia for Gnome should compile, but will need 
9977         some extra tweaking to make it work because I can't test it.
9979         * plug-ins/python/pydia-error.h :
9980         * plug-ins/python/pydia-render.c : moved Pxthon function return 
9981         value handling from pydia-render.c to pydia-error.h, to make it
9982         usable for
9983         * plug-ins/python/diamodule.c : implement callback function
9984         registration from and relaying to Python code
9986         * app/menus.c : register and use plug-in menu callbacks
9988         * lib/filter.[hc] : implement filter_register_callback() and
9989         filter_get_callbacks() for the above
9990         * lib/libdia.def : export them
9992         * plug-ins/python/debug_objects.py (new file): 
9993         sample using the above
9995 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9997         * plug-ins/shape/shape-export.c (new_shape_renderer): 
9998         The name of a shape is now taken from the dir, to conform with
9999         standard naming.
10001 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
10003         * app/properties.c (properties_show): Added title containing
10004         object type, plus (hopefully) fix of the ghost properties dialog.
10006 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
10008         * app/display.c: remove the display idle handler in case we
10009         destroy the ddisplay (caused crashes in ddd, probably random
10010         crashes elsewhere).
10012         * autogen.sh: 
10013         * configure.in:
10014         * Makefile.am: hack around gettext-0.10.36's new "features".
10015         
10016         * lib/properties.[ch]: added new function object_copy_props().
10017         Added new property type PROP_TYPE_ENDPOINTS
10019         * lib/connection.h: added support for load/saving through the
10020         properties interface.
10022         * lib/object.[ch]: object_load/save/copy_using_properties()
10023         support functions (code factorisations).
10024         
10025         * objects/GRAFCET/boolequation.c: check against null values in
10026         boolequation_set_value() and boolequation_destroy().
10028         * objects/GRAFCET/transition.c: Converted from lazyprops to
10029         standard properties. 31% less (x86) code !
10031         * objects/GRAFCET/condition.c: also converted from lazyprops to
10032         standard properties. Also killed lots of code.
10033         
10034 2001-04-13  Hans Breuer  <hans@breuer.org>
10036         * plug-ins/wmf/wmf.cpp : changed text conversion from
10037         g_utf8_utf16 to g_convert usage. The latter function is already
10038         available in tml's last "official" Gtk+ version (2000-12-26).
10039         This change allows to use recent Dia with either the official
10040         version or the latest cvs "gtk-1-3-win32-production"-branch.
10042 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10044         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
10045         * app/disp_callbacks.c:
10046         - Allow submenus in DiaMenus.
10047         - Don't require DiaMenu.title to be non-null (so that
10048           submenus aren't required to have titles)
10050         * objects/FS/function.c:
10051         - object menu now has submenus, an almost complete list of
10052           standard-basis verbs, and a start on nouns.
10053         - box padding, dash length, and other visual attributes are
10054           scaled by the font size... eventually font height will be
10055           a function property.
10056         - draw functions with smaller font to make initial view hold
10057           a reasonable number of functions.
10058         
10059 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
10061         * sheets/ER.sheet:
10062         * sheets/chronogram.sheet:
10063         * sheets/jigsaw.sheet:
10064         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
10065         Wieers <dag@wieers.com>
10067 2001-04-13  Hans Breuer  <hans@breuer.org>
10069         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
10070         to ensure that all the deinitialization is only done once. Fixes
10071         recent app exit crash on win32
10073         * lib/dia_xml.c : provide isinf() replacement for msc which does only
10074         have _finite()
10076         * lib/libdia.def : updated
10078         * objects/makefile.msc : added wanlink.c 
10080         * objects/network/wanlink.c : added M_PI_2 definition for poor
10081         platforms which don't have one
10083         * objects/standard/arc.c :
10084         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
10085         initialized which led to rather huge bounding boxes (try Ctrl^A on
10086         diagrams with Arcs or ZigZagLines).
10087         * objects/*/*.c : to avoid further bugs like the above changed all
10088         object initializations to g_malloc0 or g_new0
10091 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
10093         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
10094         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
10096         * objects/UML/class.c: 
10097         * objects/UML/usecase.c:
10098         * objects/UML/large_package.c:
10099         * objects/UML/message.c:
10100         * objects/UML/object.c:
10101         * objects/UML/lifeline.c:
10102         * objects/FS/flow.c:
10103         * objects/FS/flow-ortho.c:
10104         * objects/FS/function.c:
10105         * objects/custom/custom_object.c:
10106         * objects/GRAFCET/vergent.c:
10107         * objects/chronogram/chronoref.c:
10108         * objects/SADT/box.c:
10109         * objects/SADT/annotation.c:
10110         * plug-ins/dxf/dxf-import.c:
10111         * plug-ins/xfig/xfig-import.c:
10112         * plug-ins/wpg/wpg.c:
10113         * app/command.c:
10114         * app/app_procs.c:
10115         * app/display.c: /* certainly more WIP than dead code there */
10116         Unused variables, unused static function definitions, forgotten or
10117         incomplete prototypes added or fixed, lack of const or unwanted const,
10118         etc. (mostly clean-ups of leftovers of the pre-properties era).
10119         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
10120         please check these.
10122         * app/lineprops_area.c: More of the same. Missing prototypes
10123         added, and functions unused outside made static.
10125         * app/recent_files.c:
10126         * app/properties.c:
10127         * app/defaults.c: some variables are used only when doing a GNOME
10128         build.
10129         
10130         * app/magnify.c: missing #include <stdlib.h>.
10132         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
10134         These are a lot of clean-ups (by the way, this compiles and runs
10135         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
10136         for DEAD_CODE, and if it's yours, judge it.
10137         
10138 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
10140         * plug-ins/dxf-import.c: some progress with the arcs; still some
10141         clean-ups to do and line width scaling issues to figure out.
10143         * objects/standard/arc.c: start_point and end_point properties
10144         (duplicated from standard/line.c)
10146         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
10147         code there.
10148         
10149 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
10151         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
10152         preliminary support for arcs (doesn't work). Circles and ellipses are
10153         now transparent. Coordinate and width scaling are now a common 
10154         static constant (probably before morphing into a preference).
10155         
10156         * sheet/checktrans.py: improved error reporting. Made checktrans
10157         count lack of <name xml:lang="code"> as a lack of translation for
10158         language "code" (no, it's not a plot to bring down other
10159         language's scores !)
10160         
10161         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
10162         in the header, and have <name xml:lang="fr"> components.
10163         
10164 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
10166         * objects/custom/custom_object.c: temporary hack to fix the shape
10167         bounding box reported by Ben A. Hetland. Proper fix isn't .87
10168         material, see bugzilla #52912.
10170 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10172         * objects/standard/image.c (get_directory): Now uses
10173         G_SEPARATOR_CHAR_S instead of "/"
10175         * sheets/network.sheet: 
10176         * sheets/Logic.sheet:
10177         * sheets/Flowchart.sheet:
10178         * sheets/Electric.sheet:
10179         * sheets/Circuit.sheet:
10180         * sheets/ER.sheet:
10181         * sheets/Pneumatic.sheet:
10182         * sheets/SDL.sheet:
10183         * sheets/UML.sheet:
10184         * sheets/GRAFCET.sheet:
10185         * sheets/MSE.sheet:
10186         * sheets/chronogram.sheet:
10187         * sheets/civil.sheet:
10188         * sheets/network.sheet:
10189         Danish translations.
10190         
10191         * objects/standard/image.c (get_directory): Changed get_directory
10192         to use g_dirname to find the directory part.
10194 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
10196         * sheets/ER.sheet:
10197         * sheets/Electric.sheet:
10198         * sheets/Flowchart.sheet:
10199         * sheets/Logic.sheet:
10200         * sheets/network.sheet: More Dutch translations from Dag Wieers.
10202 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10204         * sheets/checktrans.py: now emits a warning when two descriptions
10205         for a single language code are found.
10207         * Makefile.am:
10208         * sheets/Makefile.am: -translation-reports now also depend on their
10209         checktrans.py
10210         
10211 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10213         * sheets/Circuit.sheet:
10214         * sheets/Contact.sheet:
10215         * sheets/Logic.sheet:
10216         * sheets/chronogram.sheet:
10217         * sheets/sybase.sheet: 
10218         Dutch translations from Dag Wieers <dag@wieers.com>
10220 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10222         * po-checktrans.py: Now shows the detailed counts alongside the
10223         percentage of translations.
10224         
10225 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
10227         * Makefile.am:
10228         * po-checktrans (NEW):
10229         * po-checktrans.py (NEW): builds core-translation-report:
10230         percentages of core (gettext) translations done [Not placed into
10231         po/ where that should belong, because of integration fear^Wissues
10232         with gettextize]. 
10234         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
10235         sheets/sheet-translation-report probably ought to be copied on the 
10236         user's /usr/share/doc/dia (or equivalent) directory.
10238         * sheets/Makefile.am: sheet-translation-report now a simple
10239         EXTRA_DIST; make install won't install it by default. 
10240         
10241 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
10243         * app/preferences.c: changed the default grid colour to something
10244         less intrusive. 
10246         * shapes/SDL/*.shape:
10247         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
10248         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
10249         DIA FILES (well, for files using SDL), see the mailing list
10250         archive "SDL (ab)using the global shape namespace" for a script to
10251         do this conversion.
10253         * sheets/SDL.sheet: translated into French
10254         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
10255         
10256 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
10258         * lib/dia_xml.c: made data_point() more paranoid
10260         * sheets/Makefile.am:
10261         * sheets/checktrans (NEW):
10262         * sheets/checktrans.py: Made checktrans handle more gracefully the
10263         absence of python and python-xml packages, and made the error
10264         message more helpful.
10265         
10266 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10268         * lib/render_object.c (new_render_object): Made initial handles
10269         behave like on most other objects.
10271         * app/load_save.c (read_objects): Fixed premature free'ing ofr
10272         typestr causing garbage.
10274 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10276         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
10277         accouting for handle ordering through copy and save. (#51479)
10279 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
10281         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
10283 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
10285         * sheets/Circuit.sheet
10286         * sheets/UML.sheet
10287         * sheets/network.sheet: Updated German translations
10288         
10289 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10290         * lib/arrows.[ch]:
10291         * lib/widgets.c:
10292         * app/lineprops_area.c: The return of the revenge of the arrow
10293         heads. Now all types covered by ISO 10303-201 should be covered.
10294         
10295 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10297         * sheets/Flowchart.sheet: translations in probably Hungarian were
10298         a victim of cut-n-paste from the German one. Fixed (hopefully).
10299         * sheet/UML.sheet: translation in probably Norwegian was a victim
10300         of cut-n-paste from the French one. Fixed (hopefully).
10301         * sheets/Logic.sheet: French translation not tagged with
10302         xml:lang="fr".
10303         
10304         * sheets/checktrans.py:
10305         * sheets/Makefile.am: new file, sheet-translation-report, to be
10306         installed along the sheets, show how much of them has been
10307         translated into which language (I wish the result was prettier...)
10309         * po/README: most translators don't read this file, but anyway...
10311         * sheets/.cvsignore:
10312         * objects/network/.cvsignore: the usual negotiation with CVS.
10314 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10316         * sheets/*.sheet: French translations
10318 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
10320         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
10322         ** objects/network/network.c:
10323         ** objects/network/wanlink.c:
10324         ** objects/network/pixmaps/wanlink.c:
10325         ** sheets/network.sheet:
10326         ** objects/network/Makefile.am: a better object to use instead of
10327         the older WAN Connection.
10328         
10329         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
10331         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
10332         name clash 
10334         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
10335         Arc; kept the C file name (because CVS wouldn't like it), and
10336         still registering the older object name (but advertising the newer
10337         one in sheets/GRAFCET.sheet).   
10339 2001-03-24  Hans Breuer  <hans@breuer.org>
10341         * app/dia.def : some plug-ins (currently only python, xfig) are using 
10342         functions from the dia executable. To get them working these functions 
10343         need to be explicit exported on win32. IMO the much cleaner way would
10344         be to move these functions to libdia, but that would require some
10345         long term restructuring ...
10347         * lib/libdia.def : updated
10349         * plug-ins/makefile.msc : build xfig plug-in
10351 2001-03-24  Hans Breuer  <hans@breuer.org>
10353         * app/diagram.c : g_strdup (dia->filename) because it will be
10354         g_free ()d
10356         * app/display.c : set ddisp->renderer to NULL after destruction.
10357         This may solve or help to identify erroneous access to it after
10358         destruction.
10360         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
10361         get 'umlauts' working
10363 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
10365         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
10366         were reversed... (look for the patch, and drink a beer to my
10367         stupidity)      
10368         
10369 2001-03-23  Hans Breuer  <hans@breuer.org>
10371         * app/app_procs.c : don't g_error () if the config directory
10372         can't be created (at least not on windoze) because it's quite
10373         common that the user don't read or understand the FAQ ...
10375         * app/cursor.c : use ddisplay_active () instead of active_display
10376         from app/display.c
10378         * app/display.[hc] : made active_display var static and provide
10379         an accessor funtion ddisplay_active_diagram ()
10381         * app/dia-props.c : don't store the active_diagram, but ask
10382         for it everytime it needed.
10384         * lib/properties.h : #include "intl.h"
10386         * lib/makefile.msc : need to take care of inclusion order to
10387         avoid clashes with gtk+2.0's gdk-pixbuf
10389         * objects/makefile.msc : added uml/stereotype.c to build
10391 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10393         * **/*.c: Added config.h to the remaining .c files, and changed
10394         all to be <config.h>.
10396 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
10398         * lib/arrows.c
10399         * lib/arrows.h
10400         * lib/widgets.c
10401         * app/lineprops_area.c: added new arrow types with double
10402         heads
10403         
10404 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
10406         * shapes/Civil/civil_gas_bottle.xpm
10407         * shapes/Civil/civil_gas_bottle.shape
10408         * sheets/civil.sheet
10409         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
10410         Battermann
10411         
10412 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
10414         * objects/custom/shape_info.c (load_shape_info): 
10415         * objects/custom/shape_info.h: 
10416         * objects/custom/custom_object.c (custom_update_data): 
10417         Better support for text outside the box -- new attributes 'resize'
10418         and 'align' for text entity.  Align not fully supported yet.
10420         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
10422 2001-03-20  James Henstridge  <james@daa.com.au>
10424         * app/interface.c (display_data_received_callback): comment out
10425         status message.
10427 2001-03-19  James Henstridge  <james@daa.com.au>
10429         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
10431         * objects/UML/realizes.c: similar here.
10433         * objects/UML/implements.c: similar here.
10435         * objects/UML/component.c: similar here.
10437         * objects/UML/generalization.c: same here.
10439         * objects/UML/dependency.c: allow NULL for ->name and
10440         ->stereotype.  This fixes a number of problems in loading saved
10441         files.
10443         * lib/properties.c: various changes so that NULL string properties
10444         should work.
10446         * objects/standard/line.c (line_update_data):
10447         line->extra.start_long and line->extra.end_long were not being
10448         initialised.  This fixes potential problems with the bounding box
10449         of "Standard - Line" objects.
10451 2001-03-19  Hans Breuer  <hans@breuer.org>
10453         * app/commands.c : added win32 specific code to display a html
10454         file. #include "text.h" for text_delete_all prototype.
10456         * app/dia.ico :
10457         * app/dia.rc : (new) to give Dia win32 an icon
10459         * app/win32print.[ch] : new files to support direct postscript
10460         file printing on win32. Beware: it *requires* a ps-printer!
10462         * app/paginate_psprint.c : disable the signal code for win32 build
10463         and added small specific changes to support win32print.
10465         * app/makefile.msc : added win32print and linking shell32.lib
10467         * lib/libdia.def : updated
10469 2001-03-18  Kevin Breit <battery841@mediaone.net>
10471         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
10472           Help tabs.
10474 2001-03-17  James Henstridge  <james@daa.com.au>
10476         * app/paginate_psprint.c (diagram_print_ps): add code that traps
10477         SIGPIPEs during printing.  This gets rid of a number of crashes
10478         caused by printing (eg. typing an incorrect print command).
10480         * dia.spec (%install): gzip the manpage.
10482         * lib/beziershape.c (beziershape_save): fix off by one error in
10483         beziershape save code, which was adding an extra segment to the
10484         object on save.
10486         * app/menus.c: add a separator in the gnome version of the help
10487         menu.
10489         * app/app_procs.c (app_init): add a --nosplash argument which
10490         disables the splash screen.
10492         * app/dia_embedd.c (main): don't leave the splash screen open for
10493         embeddable component.
10495         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
10496         didn't seem to be showing the splash screen like expected, so I
10497         have replaced it with some code that calls gtk_main() until the
10498         first exposure of the window.
10500 2001-03-16  James Henstridge  <james@daa.com.au>
10502         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
10504         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
10505         stereotype.h
10507         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
10509         * app/Makefile.am (dia_core_files): remove splash.h from file
10510         list, as it doesn't exist.
10512         * doc/en/Makefile.am (uninstall-local): remove the docdir on
10513         uninstall.
10515         * doc/Makefile.am (uninstall-local): target to remove the C
10516         symlink.
10518         * dia.spec (%files): include the documentation in the package.
10520         * app/menus.c (toolbox_menu_items): add menu item for manual,
10521         which calls help_manual_callback.
10523         * app/commands.c (help_manual_callback): find help file and load
10524         netscape to view it.
10526         * app/commands.h: add prototype for help_manual_callback()
10528         * doc/Makefile.am (helpdir): similar here.
10530         * doc/en/Makefile.am (helpdir): make the helpdir
10531         $(pkgdatadir)/help/en in the non gnome case.
10533         * configure.in (HAVE_GNOME): add conditional.
10535         * doc/en/Makefile.am: handle the graphics in a more general way,
10536         so it is easier for Kevin to add them to the build (just add them
10537         to the GRAPHICS var).
10539         * app/Makefile.am (embed_extra_print_files): make the case of
10540         building without gnome-print support but with bonobo support work.
10541         dia-embedd needs to be include the gnome-print
10543 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
10545         * samples/Makefile.am: included all samples in the distribution....
10546         
10547 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
10549         * configure.in: removed premature test for DPS. Added -*- m4 -*-
10550         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
10551         vanished, removed it from ALL_LINGUAS.
10553         * lib/charconv.[ch] (NEW): a very small wrapper around
10554         unicode_iconv to convert strings between utf8 and local charset
10555         (actually, ISO-8859-1, though one can do
10556         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
10558         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
10559         library to help build Postscript streams which use as many custom
10560         font encodings as necessary to correctly represent all characters
10561         used (testing from users with non-latin1 and/or more than 256
10562         characters in routine use *very* welcome).
10564         * app/Makefile.am, lib/Makefile.am: integrated these into the
10565         build process.
10567         * shapes/Logic/.cvsignore (NEW): .cvsignore
10568         
10569         * app/render_eps.h: forwarded some changes Lars forgot to include.
10570         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
10571         doesn't yet build.
10573 2001-03-08  Kevin Breit <battery841@mediaone.net>
10575         * doc/en/home_network.png: Added file.
10576         * doc/en/line_props.png: Added file.
10577         * doc/en/usage-objects.sgml: Added two graphics to file.
10578         * doc/en/usage-quickstart.sgml: Added one graphic to file.
10580 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
10582         * app/grid.h: Place comment around text after #endif.
10583         * lib/bezier_conn.c: #include <string.h>.
10584         * lib/beziershape.c: #include <string.h>.
10585         * lib/connpoint_line.h: Comment after #endif.
10586         * lib/dia_dirs.c: #include <string.h>.
10587         * lib/element.c: Same.
10588         * lib/lazyprops.c: #include <config.h> and "intl.h".
10589         * lib/lazyprops.h: Comment out text after #endif.
10590         * lib/neworth_conn.c: #include <string.h>
10591         * lib/orth_conn.c: Same here.
10592         * lib/poly_conn.c: Here too.
10593         * lib/polyshape.c: And here.
10594         * lib/properties.c: Remove #include "intl.h" from here and add
10595         an array of static strings to work around bug in gettext that
10596         makes it miss strings in a #define body.
10597         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
10598         * objects/GRAFCET/boolequation.h: Same here.
10599         * objects/chronogram/chronoline_event.h: Add prototype for
10600         destroy_cle().
10601         
10602 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10604         * objects/FS/function.c: 
10605         * objects/FS/flow.c: 
10606         * objects/FS/flow-ortho.c: 
10607         Updated to use properties.
10609 2001-03-03  James Henstridge  <james@daa.com.au>
10611         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
10612         button labels when creating them.
10614 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10616         * objects/UML/actor.c
10617         * objects/UML/realizes.c 
10618         * objects/UML/implements.c 
10619         * objects/UML/generalization.c 
10620         * objects/UML/dependency.c 
10621         * objects/UML/constraint.c
10622         Updated to use properties.
10623         
10624         * objects/UML/stereotype.c 
10625         * objects/UML/stereotype.h
10626         Generalized to any kind of bracketting.
10627         
10628 2001-02-28  James Henstridge  <james@daa.com.au>
10630         * app/menus.c: add help entry to the help menu.  Need to get this
10631         working for the non GNOME case as well (maybe put help under
10632         $(datadir)/dia/help for non GNOME?)
10634         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
10636         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
10637         this element so that we get a meaningful filename in the html
10638         translation.
10640         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
10641         documentation.
10643         * configure.in (DB2HTML): add a check for the db2html program, and
10644         set an automake conditional if it is found.
10646         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
10647         and descend into doc/ directory while building.
10649         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
10650         we need more complex rules for building the docs.
10652 2001-02-25  Hans Breuer  <hans@breuer.org>
10654         * config.h.win32 : some cleanup
10656         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
10657         are deprecated since glib-1.3.2. Sorry needing to use them
10658         contionally, but there is no glib-1.2 for win32
10660         * app/recent_files.c : use g_strescape (params) conditionally
10662         * lib/connection.c : include string.h for memcpy
10664         * lib/geometry.h : added some stuff for compatibility with
10665         msvc, which previously came from included config.h
10667         * lib/libdia.def : updated
10669         * objects/makefile.msc : updated
10671         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
10672         'extra' used without having been initialized
10674         * objects/network/bus.c(658) : initialize 'extra'
10676         * plug-ins/makefile.msc : updated
10678         * plug-ins/cgm/cgm.c :
10679         * plug-ins/pstricks/render_pstricks.c : 
10680         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
10681         huge memory leaks.
10683         * plug-ins/python/python.c : use HAVE_DIRENT_H
10685 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10687         * lib/connection.c (connection_update_boundingbox): 
10688         Made the BB shrink on right and lower sides, too.
10690 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
10692         * */*.c: #incude <config.h> at the top.
10693         * */*.h: Remove include of "config.h" since it should only
10694         be included in .c files and at the very top for things to
10695         work.
10696         * sheets/*.sheet: Updated Norwegian translations.
10697         
10698 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10700         * objects/UML/small_package.c: 
10701         * objects/UML/class.c: 
10702         * objects/UML/node.c: 
10703         * objects/UML/usecase.c:
10704         * objects/UML/lifeline.c: 
10705         * objects/UML/message.c:
10706         Various cleanup of properties in particular.  Now much more use of
10707         standard properties.
10709         * lib/diagramdata.c (layer_render): Visualization of bounding
10710         boxes, for debugging purpoises.
10712 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
10714         * lib/geometry.h:
10715         * lib/connection.[ch]:
10716         * lib/poly_conn.[ch]:
10717         * lib/polyshape.[ch]:
10718         * lib/bezier_conn.[ch]:
10719         * lib/beziershape.[ch]:
10720         * lib/orth_conn.[ch]:
10721         * lib/neworth_conn.[ch]:
10722         * lib/element.[ch]: Changed a bit the _update_boundingbox()
10723         interface. Now the parent elements have an extra_spacing
10724         structure, which child objects just need to fill, to take care of
10725         most arrow & line width extra space needs.
10727         * objects/**/*.c: updated all objects to the new interface.
10728         While at it, killed all instances of (Object *) downcasts (phew !)
10730         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
10731         doesn't speak about.
10732         
10733 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10735         * sheets/Logic.sheet: New sheet for Logic symbols.
10737 2001-02-21  James Henstridge  <james@daa.com.au>
10739         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
10740         widget by its path name.  Walks the GnomeUIInfo heirachy rather
10741         than widget tree, compares untranslated label names and ignores
10742         underscores in the labels.
10743         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
10744         lookups are not dependent on the current locale, as with
10745         gnome_app_find_menu_pos.
10747         * acconfig.h: guard against multiple inclusion of config.h.
10749         * app/select.c (select_style_callback): simply set the selection
10750         style to the value of action.
10752         * app/menus.c (menus_init): simplify the item factory based menu
10753         code a bit.  It looks like it was using some code cut and pasted
10754         from the gimp, which looked a bit unnecessary.  Things work fine
10755         without it.
10756         (selectmenu): set the action to the type of selection mode
10757         requested.
10758         (display_menu_items): use the symbolic enumeration values for the
10759         action field.
10761         * app/plugin-manager.c: 
10762         * app/plugin-manager.h: 
10763         * app/filedlg.c:
10764         * app/filedlg.h: 
10765         * app/select.c:
10766         * app/select.h: change prototypes.
10768         * app/commands.c: update all callback prototypes, and get rid of
10769         some #ifdef GNOME's.
10771         * app/commands.h: change function prototypes.
10773         * app/dia_embedd.c (save_fn):
10774         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
10776         * app/menus.c (menus_init): for gnome menus, use
10777         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
10778         structure that proxies the callbacks to have the same signature as
10779         GtkItemFactory type 1 callbacks.
10780         (menus_init): for GTK menus, change from callback type 2 to type
10781         1.
10782         (display_menu_items): add back tearoffs.  I don't know who removed
10783         these for the gtk menu case.
10785 2001-02-20  Kevin Breit <battery841@mediaone.net>
10787         * doc/en/usage-objects-special.sgml: Fixed a few of the special
10788         object descriptions.  More to come in the next few days.
10790 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
10792         * app/render_eps.c: Fixed for internationalized floating point
10793         output. 
10795         * objects/UML/note.c: Fixed properties -- was missing
10796         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
10797         position. 
10799 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
10801         * plug-ins/xfig/xfig-import.c: 
10802         File added importing xfig files.  Still very rough, but good
10803         enough to let others hack on it.
10805 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
10807         * app/interface.c:
10808         * app/linewidth_area.c:
10809         * lib/lazyprops.c:
10810         * lib/properties.c:
10811         * lib/widgets.c:
10812         * objects/ER/attribute.c:
10813         * objects/ER/entity.c:
10814         * objects/ER/relationship.c:
10815         * objects/custom/custom_object.c:
10816         * objects/flowchart/box.c:
10817         * objects/flowchart/diamond.c:
10818         * objects/flowchart/ellipse.c:
10819         * objects/flowchart/parallelogram.c:
10820         * objects/standard/box.c:
10821         * objects/standard/textobj.c: per Vlad Harchev's request, made
10822         page sizes of gtk_adjustments different than their step sizes.
10823         When sensible values of page size weren't found (overwhelming
10824         majority of cases), page sizes were set to 10.0 * respective step
10825         size.   
10827 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
10829         * objects/network/hub.c: 
10830         Patch from Hubert Figuiere applied, adding connection points.
10832 2001-02-02  James Henstridge  <james@daa.com.au>
10834         * app/display.c (new_display): set update id to 0 here.
10835         (ddisplay_update_handler): rename from ddisplay_flush, and set
10836         update_id to 0 at end of processing.
10837         (ddisplay_flush): new implementation that simply sets an idle
10838         handler to perform the actual drawing.
10840         * app/display.h: add structure member to hold the redraw idle
10841         handler id.
10843 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10845         * objects/standard/ellipse.c (ellipse_copy): 
10846         * objects/standard/zigzagline.c (zigzagline_copy): 
10847         Fix of copying provided by Martin Hawlisch.
10849 2001-01-23  Kevin Breit <battery841@mediaone.net>
10851         * doc/en/graphics/: added directory
10853         * doc/en/graphics/greendots.png: added file
10855         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
10856         release.
10858 2001-01-23  Kevin Breit <battery841@mediaone.net>
10860         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
10861                         thanks to John Fleck!
10863 2001-01-21  Kevin Breit <battery841@mediaone.net>
10865         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
10867 2001-01-12  Michael Meeks  <michael@helixcode.com>
10869         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
10870         so our POA gets setup properly.
10872         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
10873         things we g_malloc.
10875         * configure.in: Use bonobox_print.
10877         * app/dia_embedd.c (embeddable_factory): add print interface.
10878         (object_print): impl.
10880 2001-01-11  Michael Meeks  <michael@helixcode.com>
10882         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
10883         (load_fn, save_fn): impl.
10884         (view_factory): hide modified status bar, & use activate fn.
10885         (refresh_view): force redraws of the views.
10886         (view_show_hide): split from
10887         (dia_view_activate): here.
10889         * app/diagram.c (diagram_load_into): split from diagram_load.
10890         (new_diagram): simplify bu splittin stuff into
10891         (diagram_init): here.
10893 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
10895         * shapes/jigsaw/*.shape: replaced #000000 with foreground
10896         and #ffffff with background
10897         
10898 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
10900         *configure.in: GTK+-build was broken due to missing
10901         have_bonobo=no
10902         
10903 2001-01-06  Michael Meeks  <michael@helixcode.com>
10905         * app/dia_embedd.c (main): add running context support.
10906         (dia_embeddable_destroy): remove old running object counting.
10907         (embeddable_factory): ditto.
10908         (view_factory): comment out menu path hiding.
10910         * lib/sheet.c (load_register_sheet): use free to free
10911         stuff from libxml not g_free.
10913         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
10915         * configure.in: remove USE_OAF checks, check for a precice
10916         Bonobo version >= 0.31, revamp bits.
10918         * app/dia_embedd.c (init_server_factory): upd.
10919         (init_dia_factory): remove OAF conditionals, everything uses
10920         oaf now.
10922         * app/GNOME_Dia.oafinfo: rename OAFIIDs
10924         * app/Makefile.am: remove ancient gnorba code.
10925         rename dia.oafinfo to GNOME_Dia.oafinfo
10927 2001-01-07  Hans Breuer <Hans@Breuer.Org>
10929         * config.h.win32
10930         * install.win32
10931         * readme.win32 : some more files required or useful to build 
10932         Dia on win32
10934         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
10935         fill_bezier implementation, boundary drawing in fill mode, etc.
10936         Next one complaining gets the source, uncommented ...
10938         * shapes/network/router-symbol.xpm 
10939         * shapes/network/switch-atm-symbol.xpm 
10940         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
10941         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
10942         the files as XPMs. Maybe the X versions of these functions are more
10943         tolerant ...
10945 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
10947         * plug-ins/python/Makefile.am: added libart path
10949         * plug-ins/python/python.c: added dirent.h
10951         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
10952         
10953 2001-01-06  Hans Breuer <Hans@Breuer.Org>
10955         * objects/uml/actor.c
10956         * objects/uml/branch.c
10957         * objects/uml/class.c
10958         * objects/uml/classicon.c
10959         * objects/uml/component.c
10960         * objects/uml/large_package.c
10961         * objects/uml/node.c
10962         * objects/uml/note.c
10963         * objects/uml/object.c
10964         * objects/uml/small_package.c
10965         * objects/uml/state.c
10966         * objects/uml/usecase.c : started to implement the generic property
10967         interface for the uml objects. Would appreciate some help on how
10968         to implement properties which are list of properties themselves,
10969         e.g. member functions and their parameters of UMLClass.
10971 2001-01-06  Hans Breuer <Hans@Breuer.Org>
10973         * plug-ins/python/diamodule.c : finally ported to win32.
10974         Added new objects and implemented register_export function.
10976         * plug-ins/python/pydia-object.h
10977         * plug-ins/python/pydia-display.c
10978         * plug-ins/python/pydia-handle.c
10979         PyObject_HEAD_INIT needs some tweakink on win32. Done in
10980         pydia-object.h; others files simply using it.
10982         * plug-ins/python/pydia-layer.c : reflect 
10983         layer_find_closest_connection(_)point renaming
10985         * plug-ins/python/pydia-object.c : add property properties.
10986         Also change bounding_box to DiaRectangle.
10988         * plug-ins/python/python.c : extended error reporting; use
10989         all *.py files from Dia's plug-in dir instead of hardcoded
10990         test.py. This sollution should be fine with Win32, but on
10991         Unix it may need some tweaking (dunno) ...
10993         * plug-ins/python/export-object.py
10994         * plug-ins/python/export-render.py : test and documentation 
10995         implementations for export filter implementations in Python
10997         * plug-ins/python/pydia-color.[hc]
10998         * plug-ins/python/pydia-diagramdata.[hc]
10999         * plug-ins/python/pydia-error.[hc]
11000         * plug-ins/python/pydia-export.[hc]
11001         * plug-ins/python/pydia-font.[hc]
11002         * plug-ins/python/pydia-geometry.[hc]
11003         * plug-ins/python/pydia-image.[hc]
11004         * plug-ins/python/pydia-properties.[hc]
11005         * plug-ins/python/pydia-property.c
11006         * plug-ins/python/pydia-render.c : new objects in new files 
11008         * plug-ins/python/makefile.am : added new files but can't test it
11010         * plug-ins/python/pydia.def
11011         * plug-ins/python/makefile.msc : for win32 build
11013         * plug-ins/cgm/cgm.c
11014         * plug-ins/dxf/dxf-import.c
11015         * plug-ins/dxf/dxf-export.c
11016         * plug-ins/hpgl/hpgl.c : reflect export API change
11018         * plug-ins/shape/shape-export.c : reflect export API change
11019         and check for libart (better the availibility of a png exporter) 
11020         at run-time instead of compile-time. 
11022 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
11024         * app/recent_files.h was missing from Hans's commit
11026         * plug-ins/shape/shape_export.c: shape export was broken
11027         due to interface changes
11028         
11029 2001-01-05  Hans Breuer <Hans@Breuer.Org>
11031         Applied Steffen's recent file list patch :
11032         * app/Makefile.am : added recent_files.[hc]
11033         * app/diagram.c : add files to recent file list
11034         * app/menus.c : add recent file menu
11035         * app/app_procs.c : changed initialization order to
11036         make recent file list work with command line processing.
11038         The Filter export()/import() functions have got an additional 
11039         parameter to allow multiple filters via one C callback (required
11040         for Python bindings)
11042         * app/commands.[hc] : corrected the signature for gtk menu callback
11043         functions, which actually use the second or third parameter. This
11044         is the absolute minimum change to make these functions/menu entries
11045         work again. Using the other possible gtk menu callback signature
11046         would have required one more function to change. (see mailing list
11047         thread "Objects/Align/Equal Distance" for more information.
11049         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
11050         zoom-combo focus patch
11052         * app/display.c
11053         * app/interface.c : wrapped the Zoom Combo code into 
11054         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
11055         improvement but cluttering the user interface. Also it wasn't
11056         compiling on Win32 anyway. The win32 version does define 
11057         WITHOUT_ZOOM_COMBO to keep the old look. 
11058         There are plans to use the statusbar to display size and placement
11059         of selected objects, whereas the Zoom Combo would need to get out
11060         of the way as well.
11062         Added "Save Changes?" to diagram close dialog. Hopefuly the
11063         Yes/No/Cancel option isn't too much windoze like. IHMO this is
11064         an useability improvement.
11066         * app/export_png.c
11067         * app/filedlg.c
11068         * app/load_save.c
11069         * app/layer_dialog.c
11070         * app/paginate_psprint.c
11071         * app/render_eps.c
11072         - reflect signature changing of filter->export function
11073         - replaced '/' with G_DIR_SEPARARTOR where appropriate
11075         * app/diaunitspinner.c
11076         * app/render_libart.c
11077         added misssing headers like <string.h>
11079         * app/object_ops.c : fixed copy&paste bug in dialog string
11081         * app/splash.c : gdk_widget_show_now () does not ensure actual
11082         drawing of the splash screen, at least not on win32. Reuse the
11083         previous implementation with gtk_main_iteration() again.
11085         * */makefile.msc : make use of the build module (available in
11086         gnome-cvs/build. Updated for other source changes
11088         * lib/filter.h : added an user_data pointer to <ex/im>port()
11089         function signature and Dia<Im/Ex>portFilter to allow different
11090         filters to reuse the same callback function
11092         * lib/font.c : #include <string.h>
11094         * lib/orth_conn.c 
11095         * lib/poly_conn.c 
11096         * lib/poly_shape.c 
11097         * lib/neworth_conn.c
11098         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
11100         * */*.def : export function definition files required by win32 build
11102         * objects/custom/custom.c : #include <string.h>
11104         * plug-ins/pstricks/render_pstricks.c
11105         * plug-ins/shape/shape_export.c
11106         * plug-ins/svg/render_svg.c
11107         reflect changes to filter export function signature
11109         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
11110         mostly work as expected
11111         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
11112         to build the wmf plug-in because on the one hand the GDI emulation 
11113         isn't finished and on the other hand it isn't required when building
11114         for win32. Is there anybody out there, who wants to save WMF on non
11115         windoze platforms ?
11117         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
11118         offset into account.
11120 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
11122         * app/Makefile.am: added missing plug-ins to run_dia.sh
11124         * lib/paper.c: added paper sizes A0, A1, A2
11126         * objects/UML/class.c
11127         objects/UML/class.h
11128         objects/UML/class_dialog.c: added support for colored UML
11129         classes
11130         
11131 2000-12-30  Kevin Breit <battery841@mediaone.net>
11133         * doc/en/usage-customization.sgml: added more content
11135 2000-12-24  Kevin Breit <battery841@mediaone.net>
11137         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
11138         <remy.viard@laposte.net>
11140 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
11142         * added limiting lines to Civil Engineering sheet,
11143         fixed vertical pump icon
11144         
11145 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
11147         * updated/additional Civil Engineering shapes: better icons,
11148         shapes use foreground/background colors now and are filled
11149         
11150 2000-12-03  Kevin Breit  <battery841@mediaone.net>
11152         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
11153         the selection <sect1>
11155 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
11157         * app/load_save.c (diagram_data_save): avoid using obsoleted
11158         libxml calls (only matters when compiling with libxml2)
11160 2000-11-25  James Henstridge  <james@daa.com.au>
11162         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
11163         handle the tool drops on the canvas.
11165         * app/interface.c (display_data_received_callback): do the check
11166         to make sure that the drag is from a local toolbox here as well.
11168         * app/interface.c (create_tools): unref the pixmap/mask after
11169         creating the GtkPixmap.
11170         (tool_setup_drag_source): function to set up a drag source for
11171         create object tool buttons.
11172         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
11173         (fill_sheet_wbox): same here.
11174         (create_display_shell): set up the display canvas as a drag
11175         destination.
11176         (display_drop_callback, display_data_received_callback): functions
11177         to handle drops of tool buttons.
11179         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
11180         does weird shit to the user_data pointer for a menu item.  Object
11181         alignment should work again now.
11183         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
11184         NULL, and mark this function static.
11185         (app_splash_init): use gtk_widget_show_now() instead of the
11186         gtk_main_iteration loop.
11187         (app_splash_init): connecting gtk_widget_destroy to the destroy
11188         signal of a widget seems pretty useless.
11190 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
11192         * doc/en/dia-manual.sgml:
11193                 Added sect1 for advanced object types.  Starting development
11194                 on that part.
11196 2000-11-18  Kevin Breit <battery841@mediaone.net>
11198         * doc/en/dia-manual.sgml:
11199                 Stupid spelling fixes.
11201 2000-11-18  Kevin Breit <battery841@mediaone.net>
11203         * doc/en/dia-manual.sgml:
11204                 Just some small changes I made.  Props to Greg LeBlanc on the
11205                 recommendations.
11207 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
11209         * app/display.c:
11210         (ddisplay_add_display_area): Clip input rectangle to
11211         the visible part of the display.
11212         (ddisplay_scroll): Optimization, don't scroll and
11213         redraw if moving to the same position as before.
11215         * app/render_libart.c (renderer_libart_copy_to_window):
11216         Removed sanity check. Now moved to ddisplay_add_display_area().
11218         * lib/diavar.h:
11219         Added return at end of file.
11220         
11221 2000-11-13 Kevin Breit <battery841@mypad.com>
11222         * doc/en/dia-manual.sgml
11223                 Commited manual changes from Henry House <hajhouse@houseag.com>
11225 2000-10-21 Hans Breuer <Hans@Breuer.Org>
11226         * lib/beziershape.c :
11227                 The previous code was accessing unowned memory due to IHMO
11228                 wrong index calculation. Now it appears to be fixed.
11229                 *Please Review!*
11231         * lib/makefile.msc
11232         * plug-ins/makefile.msc
11233         * objects/makefile.msc
11234         * app/makefile.msc: (new files)
11235                 Makefiles for Dia on Win32, Micro$oft VC only.
11237         * plug-ins/pstricks/render_pstricks.c
11238         * plug-ins/dxf/dxf-import.c
11239         * plug-ins/shape/shape-export.c
11240         * plug-ins/svg/render_svg.c
11241         * app/commands.c
11242         * app/filedlg.c
11243         * app/preferences.c
11244         * app/render_eps.c
11245         * lib/sheet.c
11246         * lib/plug-ins.c
11247         * objects/custom/custom.c
11248         * objects/standard/image.c
11249                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
11250                 where   appropriate, add missing prototypes like <string.h>
11252         * plug-ins/wmf/wmf_gdi.cpp
11253         * plug-ins/wmf/wmf_gdi.h:
11254                 start of wmf write functions for non Win32 platform. Not 
11255                 finished yet. The other way to get it working maybe to
11256                 link the plug-in against wine libs.
11257                 
11258         * plug-ins/wpg/wpg.c : add missing brace
11260         * app/load_save.c :
11261                 Handling for unknown objects at load time. Previously Dia
11262                 was crashing, if you try to load a file referencing objects
11263                 whiches plug-ins aren't installed/available. Now it spits out 
11264                 a warning and ignores the unknown objects.
11266         * app/interface.c
11267                 toolbox DND support for files like The Gimp does it.
11269         * app/main.c
11270         * app/app_procs.h
11271                 Simple splash screen support and usage.
11273         * app/app_procs.c
11274                 Splash screen, portability fixes, dont' g_error if there is
11275                 g_get_homedir return NULL. This may remove the one and only
11276                 FAQ for Win32.
11278         * app/menus.c :
11279                 Make it compile without ENABLE_NLS
11281         * app/render_libart.c :
11282                 Sanity check to avoid calling libart with wrong window coordinates.
11283                 They come from the update handler. Direct Gdk is dealing nicely
11284                 with coordinates out of range, libart does access un-owned memory
11285                 in this case, mostly causing crashes.
11287         * app/winmain.c: (new file) Export the Win32 Gui version of the
11288                 main function. This file is only required for Windoze.
11290         * app/splash.c: (new file) splash screen implementation
11292         * lib/color.h
11293         * lib/font.h
11294         * lib/diavar.h: (new file)
11295                 moved special variable export code to diavar.h, because it is
11296                 needed in color.h and font.h
11298         * lib/paper.c :
11299                 M$VC cann't export inlined functions. Quick hack to let it
11300                 link again. Probably the glib mechanics should be used here?
11302         * objects/UML/lifeline.c : initialize var before usage
11304         * objects/GRAFCET/step.c : removed unused var
11306 2000-10-14  James Henstridge  <james@daa.com.au>
11308         * app/render_gnomeprint.c (draw_image): change code so images
11309         don't get flipped when printing.
11311         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
11312         sure that the return value of
11313         gnome_print_context_new_with_paper_size is not NULL.
11315         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
11316         into a series of bezier segments.
11317         (fill_arc): similar code to handle filled arc segments.
11319 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
11321         * app/app_procs.c
11322         * app/commands.c
11323         * app/dia-props.c
11324         * app/diagram.c
11325         * app/diagram.h
11326         * app/disp_callbacks.c
11327         * app/display.c
11328         * app/linewidth_area.c
11329         * app/paginate_psprint.c
11330         * app/preferences.c
11331         * app/undo.c
11332         * app/font.c
11333         * app/message.c
11334         * app/neworth_conn.c
11335         * app/orth_conn.c
11336         * objects/standard/box.c: various small changes to get rid of 
11337         annoying warnings (eg faulty prototypes and unused variables)
11339         * app/disp_callbacks.c
11340         * app/cursor.h
11341         * app/magnify.c
11342         * app/magnify.h: update magnify tool icon when pressing/releasing
11343         shift. I will try to make something more general so that similar
11344         things can be used by other tools.
11346         * shapes/SDL/inout.shape
11347         * shapes/SDL/return.shape: fixed some typos
11349 2000-10-09  James Henstridge  <james@daa.com.au>
11351         * objects/custom/shape_info.c (parse_path): apply patch from
11352         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
11353         #25221
11355 2000-10-08  James Henstridge  <james@daa.com.au>
11357         * objects/standard/image.c (image_set_props): if the file could not
11358         be loaded, show the broken image icon.
11360         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
11362         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
11364         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
11365         object icon when loading from a file.  This allows you to have PNG
11366         icon files for shapes.
11368 2000-10-07  James Henstridge  <james@daa.com.au>
11370         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
11372         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
11373         GDK_IMLIB_CFLAGS reference.
11375         * app/commands.c (help_about_callback): remove imlib code.
11377         * lib/dia_image.c: only include the pixbuf version of the image
11378         routines.
11380         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
11382         * configure.in (CPPFLAGS): remove the check for imlib, as we now
11383         require gdk-pixbuf.
11385         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
11386         conditionally define \setfont as well.
11388 2000-10-05  James Henstridge  <james@daa.com.au>
11390         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
11391         preamble so that we define \setlinejoinmode and \setlinecaps
11392         commands conditionally on them being undefined.  This way, the
11393         pstricks output files should work without modification, and will
11394         support the commands when they are implemented in pstricks.
11396 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
11398         * dia.desktop: added hungarian translations to dia.desktop
11400 2000-10-04  James Henstridge  <james@daa.com.au>
11402         * sheets/UML.sheet: fix typo.
11404         * objects/custom/shape_info.c: use strtod instead of g_strtod.
11405         (parse_path): actually call setlocale around strtod calls.
11407         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
11408         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
11409         the g_strtod wrapper.
11411         * shapes/SDL/: add SDL shapes from Rubens Ramos
11412         <rubens_ramos@yahoo.com>
11414         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
11416         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
11418         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
11419         W. Michael Petullo <mike@flyn.org>.
11421         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
11422         from the 0.86 tarball) and jigsaw.sheet.
11424         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
11426         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
11428         * shapes/network/: add network-additional shapes here.
11430         * sheets/network.sheet: add the network-additional shapes from
11431         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
11432         sheet.
11434 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
11436         * configure.in: Updated ALL_LINGUAS
11438         * po/nl.po: Removed newline from translation
11440 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
11442         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
11443         logo filename generation. 
11445         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
11446         Avoiding "//dia_logo.png".
11448 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
11450         * app/filedlg.c: add include <sys/types.h> to
11451         remove warning. (OS/2)
11453 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
11455         * objects/chronogram/chronoline_event.c (reparse_clevent):
11456         the __checksum routine was simply bogus. Redone it in a slightly
11457         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
11459 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
11461         * app/create_object.c (create_object_button_press): 
11462         * app/modify_tool.c (click_select_object): 
11463         * lib/object.h: select renamed to selectf to prevent
11464         compiler problems with function select().  OS/2 version.
11466 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
11468         * po/de.po: Updated.
11470 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
11472         * dia.desktop: Added German translation
11473         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
11475 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
11477         * configure.in (ALL_LINGUAS): added "es"
11479 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
11481         * app/magnify.c:
11482         * app/cursor.h:
11483         * app/cursor.c:
11484         * app/scroll_tool.c:
11485         Standardized cursor function get_cursor().  Magnify now has
11486         looking-glass cursor with + and -.
11488         * app/create_object.c (create_object_button_press): 
11489         Newly created connections now snap to connection points even when
11490         off the grid. 
11492 2000-08-17  Daniel Egger  <egger@suse.de>
11494         * app/menus.c: #ifdef'ed some code for the none GNOME
11495         case.
11496         * app/dia_embedd.c: Changed obvious hackery. Can anyone
11497         please have a look at the GNOME UI menu creation? The
11498         gnome-app-helper code is ages old and plainly broken!
11500 2000-08-15  Daniel Egger  <egger@suse.de>
11502         * app/commands.c:
11503         * app/commands.h:
11504         * app/diagram.c:
11505         * app/display.c:
11506         * app/menus.c:
11507         * app/select.c: First big patch to get the menus
11508         working again in the international version. Copied
11509         some code written by Sven and me from GIMP and
11510         thus implemented automatic tearoffmenu creation and
11511         proper translation. I also removed that pseudo
11512         radiomenu hack and cleaned up several translation
11513         hacks which have never really worked. All in all
11514         this is part I of the big menu patch. Enjoy and tell
11515         me if you detect any problems.
11517 2000-08-14  Daniel Egger  <egger@suse.de>
11519         * sheets/UML.sheet: Changed one German translation as
11520         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
11522 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
11524         * app/diapagelayout.c:
11525         * lib/diagramdata.c:
11526         * lib/diagramdata.h:
11527         * lib/Makefile.am:
11528         * lib/paper.c:
11529         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
11530         selecting paper size for a new diagram. TODO: Use libpaper if 
11531         available and use gnome_paper-stuff if using GNOME.
11533         * sheets/Electric.sheet: fixed typo.
11534         
11535 2000-08-08  James Henstridge  <james@daa.com.au>
11537         * po/README: added a readme file to tell translators to translate
11538         the .sheet files as well.
11540         * app/commands.c (help_about_callback): fix small bug where we tried
11541         to gdk_bitmap_unref() the mask for the about box image, even though
11542         it was NULL.  Now check for a NULL mask.
11544 2000-08-07  Daniel Egger  <egger@suse.de>
11546         * sheets/*.sheet: Added translations for the name
11547         in the toolbar tab. Brushed up some descriptions 
11548         and some translations a bit.
11550 2000-08-06  James Henstridge  <james@daa.com.au>
11552         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
11553         identifier and dtd url for SVG output.
11554         (new_svg_renderer): fix the output of the viewBox output.  The
11555         second two numbers are the width and height -- not the right
11556         and bottom sides of the box.
11558         * shapes/*/*.shape: update svg namespace URI.
11560         * objects/custom/shape_info.c (load_shape_info): change the
11561         namespace URI for custom shapes yet again to match the Candidate
11562         Recommedation.  It looks like this one will probably be the final
11563         one.
11565         * app/display.c (new_display): remove the code that sets ic and
11566         ic_attr members to NULL, as one of the previous function calls
11567         causes the display to be realised.  This means that the ic gets
11568         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
11569         this one.
11571 2000-08-06  James Henstridge  <james@daa.com.au>
11573         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
11575         * NEWS: fixed date in NEWS file, as I will release today.
11577         * README: updated the README a little.  Added note that Dia is now
11578         a GNU program.
11580         * dia.spec: fix up spec file.
11582         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
11584         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
11585         get heaps of warnings when you turn off debugging.
11586         Also made a few other warning fixes.
11588 2000-08-02  James Henstridge  <james@daa.com.au>
11590         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
11592         * configure.in: update version number.
11594 2000-08-01  James Henstridge  <james@daa.com.au>
11596         * app/commands.c (help_about_callback): add Hans to about dialog.
11598         * doc/shape.dtd: dtd for shape file format.
11600         * doc/custom-shapes: update doc file about creating custom shapes.
11602         * shapes/*/*.shape: change namespace URI for the SVG portion to the
11603         one for the latest draft.
11605         * shapes/*/*.shape: fix up rect definitions.
11607         * objects/custom/shape_info.c (load_shape_info): recognise newer
11608         namespace tag for SVG.
11609         (parse_svg_node): the rect element should take attributes x, y, width
11610         and height -- not x1,y1,x2,y2.
11612         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
11613         output to use the newest draft DTD.
11615         * plug-ins/svg/svg.c: initialisation code for plugin.
11617         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
11619         * plug-ins/svg/Makefile.am: makefile for svg plugin.
11621         * app/app_procs.c (internal_plugin_init): don't register the svg
11622         export filter here.
11624         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
11626 2000-07-31  James Henstridge  <james@daa.com.au>
11628         * objects/standard/textobj.c (textobj_get_defaults): 
11629         * objects/standard/polygon.c (polygon_get_defaults): 
11630         * objects/standard/image.c (image_get_defaults): 
11631         * objects/standard/ellipse.c (ellipse_get_defaults): 
11632         * objects/standard/box.c (box_get_defaults): 
11633         * objects/standard/beziergon.c (beziergon_get_defaults): 
11634         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
11635         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
11636         * objects/flowchart/diamond.c (diamond_get_defaults): 
11637         * objects/flowchart/box.c (box_get_defaults): 
11638         * objects/custom/custom_object.c (custom_get_defaults): 
11639         * objects/FS/flow.c (flow_get_defaults): 
11640         * objects/FS/flow-poly.c (flow_get_defaults): 
11641         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
11642         defaults widget.
11644         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
11645         widgets for various object types.
11646         (create_dialog): ref and sink the no_defaults_dialog.
11648         * app/preferences.c (prefs_create_dialog): change
11649         gtk_container_border_width call to gtk_container_set_border_width.
11651 2000-07-29  James Henstridge  <james@daa.com.au>
11653         * app/commands.c (view_aa_callback): show a warning dialog if
11654         you start AA mode.
11656         * app/interface.c (fill_sheet_menu): don't add a menu item for
11657         empty sheets.
11659 2000-07-26  James Henstridge  <james@daa.com.au>
11661         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
11663         * app/menus.c: remove edit grid menu item.
11665         * app/commands.[ch] (view_edit_grid_callback): removed.
11667         * app/display.c (new_display): don't initialise removed Grid members.
11669         * app/grid.c: remove unused functions.
11671         * app/grid.h: remove dialog related stuff from Grid structure.
11672         Remove prototypes for dialog functions.
11674         * app/menus.c: add to menus
11675         
11676         * app/commands.[ch] (view_diagram_properties_callback): new command
11677         for showing the diagram properties dialog.
11679         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
11680         the edit grid dialog.
11682 2000-07-25  James Henstridge  <james@daa.com.au>
11684         * app/grid.c (grid_x_update): 
11685         (grid_y_update): as the grid setting is stored with the diagram,
11686         update all displays when a change is made.
11688         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
11690         * app/create_object.c (create_object_button_press): 
11691         (create_object_motion): use new snap_to_grid signature.
11693         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
11694         and handle invisible grid lines.
11695         (snap_to_grid): use new grid settings.  Also changed signature to
11696         take a DDisplay rather than Grid pointer.
11697         (grid_show_dialog): get the defaults from the correct place.
11699         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
11701         * app/diagram.c (new_diagram): set the grid size defaults from the
11702         user preferences.
11704         * app/load_save.c (diagram_data_save): save grid and guide info to
11705         diagram file.
11706         (diagram_data_load): add guide and grid load support.
11708         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
11709         members.
11711         * lib/diagramdata.h: add members to DiagramData for grid and guide
11712         settings.
11714         * configure.in (BONOBO_LIBS): update configure scripts
11716         * app/dia.oafinfo: oafinfo file for dia embeddables.
11718         * app/dia_embedd.c: add OAF support.
11720 2000-07-24  James Henstridge  <james@daa.com.au>
11722         * plug-ins/wpg/Makefile.am: 
11723         * plug-ins/pstricks/Makefile.am: 
11724         * plug-ins/hpgl/Makefile.am: 
11725         * plug-ins/dxf/Makefile.am: same here.
11727         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
11728         the required libraries, and the link line was causing libtool not
11729         to build a shared library on some systems :(
11731         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
11732         be checking x, not n.
11734 2000-07-23  James Henstridge  <james@daa.com.au>
11736         * app/preferences.c (prefs_data): set the "reset tools after
11737         create" preference to true by default.  That seems to be what most
11738         people expect.
11740         * app/interface.c (create_sheets): instead of a notebook, use an
11741         option menu that updates the sheet tools.  The notebook tabs were
11742         getting a bit unwieldly, so the option menu should fix that.  This
11743         also reduces the number of widgets in the tools radio button
11744         group, which should make the UI a little more responsive.
11746 2000-07-19  Fatih Demir <kabalak@gmx.net>
11747         
11748         * configure.in: Added tr to ALL_LINGUAS.
11749                 [ Yeah, we're now having a Turkish translation,
11750                    too. ]
11751         
11752         * dia.desktop: Added the Turkish entries.
11754 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
11756         * doc/diagram.dtd: changed string-element so it conforms to the
11757         output from dia.
11759 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
11761         * configure.in: added chinese. 
11762         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
11764         * app/app_procs.c:
11765           app/load_save.c:
11766           app/render_svg.c:
11767           lib/dia_xml.c:
11768           lib/plug-ins.c:
11769           lib/sheet.c:
11770           objects/custom/shape_info.c: 
11771           shapes/Circuit/npn.shape:
11772           shapes/Circuit/pnp.shape:
11773           sheets/*.sheet: dia now works with libxml2.
11774         Libxml2 is a bit more picky when parsing xml and reported errors on all 
11775         sheet files because they use non ascii characters (added 
11776         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
11777         I commented out these.
11779 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
11781         * configure.in (ALL_LINGUAS): added Italian
11783 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
11785         * configure.in (ALL_LINGUAS): added Korean
11787 2000-06-25  James Henstridge  <james@daa.com.au>
11789         * objects/flowchart/parallelogram.c (pgram_create): use default font
11790         and add properties interface support.
11792         * objects/flowchart/ellipse.c (ellipse_create): use default font and
11793         add properties interface support.
11795         * objects/flowchart/diamond.c (diamond_create): use default font and
11796         add properties interface code.
11798         * objects/flowchart/box.c (box_create): use default font.
11800         * objects/custom/custom_object.c (custom_create): use default font
11801         here too.
11803         * objects/standard/textobj.c (textobj_create): update to use default
11804         font.
11806         * lib/attributes.c: add implementations.
11808         * lib/attributes.h (attributes_[gs]et_default_font): add function
11809         prototypes for setting/getting a default font.
11811 2000-06-24  James Henstridge  <james@daa.com.au>
11813         * app/paginate_gnomeprint.h: updated prototype.
11815         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
11816         diagram page settings.
11818         * objects/standard/beziergon.c (beziergon_copy): same here.
11820         * objects/standard/polygon.c (polygon_copy): copy the fill colour
11821         as well.
11823         * app/undo.h: 
11824         * app/tool.h (tool_options_dialog_show): 
11825         * app/scroll_tool.h (free_scroll_tool): 
11826         * app/render_svg.h: 
11827         * app/render_libart.h (renderer_libart_copy_to_window): 
11828         * app/render_gdk.h (renderer_gdk_copy_to_window): 
11829         * app/properties.h (properties_hide_if_shown): 
11830         * app/preferences.h (prefs_load): 
11831         * app/object_ops.h: 
11832         * app/modify_tool.h (free_modify_tool): 
11833         * app/magnify.h (free_magnify_tool): 
11834         * app/linewidth_area.h (linewidth_area_create): 
11835         * app/layer_dialog.h: 
11836         * app/handle_ops.h (handle_is_clicked): 
11837         * app/group.h: 
11838         * app/grid.h (grid_destroy_dialog): 
11839         * app/defaults.h (defaults_show): 
11840         * app/cut_n_paste.h (cnp_exist_stored_objects): 
11841         * app/create_object.h (free_create_object_tool): 
11842         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
11843         * app/commands.h: 
11844         * app/color_area.h (color_area_create): 
11845         * app/app_procs.h (app_is_embedded): remove extern keyword from
11846         function prototypes.
11848         * lib/text.h: 
11849         * lib/sheet.h (load_all_sheets): 
11850         * lib/render_store.h: 
11851         * lib/render_object.h (render_object_load): 
11852         * lib/polyshape.h (polyshape_closest_segment): 
11853         * lib/poly_conn.h (polyconn_closest_segment): 
11854         * lib/orth_conn.h: 
11855         * lib/object.h: 
11856         * lib/objchange.h (new_object_state_change): 
11857         * lib/neworth_conn.h (neworthconn_add_segment): 
11858         * lib/message.h (message_error): 
11859         * lib/lazyprops.h: 
11860         * lib/geometry.h: 
11861         * lib/font.h (font_descent): 
11862         * lib/focus.h (remove_focus): 
11863         * lib/element.h: 
11864         * lib/diagramdata.h: 
11865         * lib/dia_xml.h (data_add_composite): 
11866         * lib/dia_image.h: 
11867         * lib/connpoint_line.h: 
11868         * lib/connection.h (connection_move_handle): 
11869         * lib/color.h: 
11870         * lib/attributes.h (attributes_set_default_line_style): 
11871         * lib/arrows.h (arrow_draw): remove extern keyword from function
11872         definitions.  It is not required for functions.
11874         * plug-ins/dxf/Makefile.am (INCLUDES): 
11875         * plug-ins/pstricks/Makefile.am (INCLUDES): 
11876         * plug-ins/cgm/Makefile.am (INCLUDES): 
11877         * objects/SADT/Makefile.am (INCLUDES): 
11878         * objects/chronogram/Makefile.am (INCLUDES): 
11879         * objects/GRAFCET/Makefile.am (INCLUDES): 
11880         * objects/flowchart/Makefile.am (INCLUDES): 
11881         * objects/sybase/Makefile.am (INCLUDES): 
11882         * objects/FS/Makefile.am (INCLUDES): 
11883         * objects/standard/Makefile.am (INCLUDES): 
11884         * objects/network/Makefile.am (INCLUDES):
11885         * objects/UML/Makefile.am (INCLUDES): same here.
11887         * objects/ER/Makefile.am: changed inclusion of some macros to
11888         variables.
11890         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
11891         handle the plug in extension, rather than have all the #ifdef's in
11892         the code.
11894         * plug-ins/Makefile.am: add renderer.inc to dist.
11896         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
11898 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
11900         * lib/plug-ins.c: Handle OS/2 dll's too.
11902 2000-06-07  James Henstridge  <james@daa.com.au>
11904         * app/plugin-manager.c (get_plugin_manager): set some table
11905         packing options to make it look a little nicer.
11907         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
11908         makefiles for these plug-ins.
11910         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
11912         * configure.in: added hpgl and wpg directories to build.  Added
11913         note about whether gnome-print support was enabled, and noted that
11914         it is not recommended.
11916 2000-06-06  James Henstridge  <james@daa.com.au>
11918         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
11919         a little work, but I am checking them in so I don't lose them.
11921 2000-06-01  James Henstridge  <james@daa.com.au>
11923         * objects/standard/arc.c: added extra properties.
11925         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
11926         was using the wrong index into the handles array.  This gets corner
11927         type changing working correctly.
11929         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
11930         to properties code (no editing or loading yet though).  Also added
11931         support for point array manipulation through the offsets interfaces.
11933         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
11935         * app/interface.c (origin_button_press): changes so the origin
11936         button doesn't grab the pointer when we pop up the menu.
11938         * app/commands.c (help_about_callback): fix small memory leak in
11939         about box code.
11941         * app/menus.c (menus_init): fixed breakage I introduced in the non
11942         gnome menus when I was doing the menu changes.  The tearoffs work
11943         really nicely in plain gtk mode as well.
11945         * objects/standard/beziergon.c (beziergon_create): changed the
11946         returned handles to match the handle numbering changes.  Now
11947         segment addition and removal works correctly with undo!
11949         * lib/beziershape.c: various changes to the code.  Changed the
11950         numbering of handles, and fixed the segment removal code.
11952 2000-05-31  James Henstridge  <james@daa.com.au>
11954         * objects/standard/beziergon.c: remove connection point handling.
11955         There is still a bit of work to be done to get adding and removing
11956         of segments working correctly.
11958         * lib/beziershape.c: add connection point handling to beziershape.
11959         I set it for two connection points per segment.
11961 2000-05-30  James Henstridge  <james@daa.com.au>
11963         * objects/standard/polygon.c: don't do connectionpoint handling.
11965         * lib/polyshape.c: changed to handle connection points internally.
11966         Also, don't worry about connections to handles on polyshape, as
11967         all handles are non connectable.
11969 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
11971         * configure.in: Added finnish
11972         
11973 2000-05-30  James Henstridge  <james@daa.com.au>
11975         * sheets/*.sheet: translation updates to the .sheet files.
11977         * po/fr.po: updated po file from Christophe Merlet.
11979         * menus.h: removed prototypes for functions which have been removed.
11981 2000-05-29  James Henstridge  <james@daa.com.au>
11983         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
11984         item in the option menu when changing selected diagram.
11986         * app/dia_embedd.c (view_factory): fix up function to work with new
11987         menus API.
11989         * app/disp_callbacks.c (ddisplay_realize): remove call to
11990         display_set_active from here.
11991         (ddisplay_canvas_events): move call here.  This gets rid of all the
11992         warnings, as the renderer has been fully set up correctly at this
11993         point.
11995         * app/menus.c (menus_init): add the tearoff item to the start of the
11996         right click menu.
11998         * app/app_procs.c (create_user_dirs): we don't need to create the
11999         menus directory anymore.
12001         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
12002         necessary to update the menu state here, as it was done when the
12003         active display was set.
12005         * app/display.c (display_set_active): update the menu state when
12006         changing active displays.
12008         * app/interface.c (origin_button_press): set the display as active
12009         when a click is made on the menu button.
12011         * app/menus.c (menus_init): set up a quit function to save the accels
12012         at exit.
12013         Add tearoff items for the non GNOME menus, add accelerators for
12014         several GNOME menus.
12016         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
12017         menus_get_image_menu().
12019         * app/menus.c (menus_get_item_from_path): use display_menus here
12020         rather than ddisp->popup.
12022         * app/display.h: remove the popup member in the DDisplay structure.
12024         * app/interface.c: remove option of not using wrap box.
12025         (create_toolbox): change to always use menus_get_toolbox_menubar
12026         even when using gnome menus.
12027         (create_display_shell): use menus_get_image_menu to load accelerators
12028         only -- not the actual popup menu.
12030         * app/menus.c (menus_init): new function to create the menus.
12031         (menus_get_toolbox_menubar): use this function whether gnome is
12032         in use or not.  Changed to use menus_init.
12033         (menus_get_image_menu): same here.  Also, now this function always
12034         returns the same menu, rather than a new one each time.
12035         (menus_init): read a menurc file to load accelerators here.
12037 2000-05-28  James Henstridge  <james@daa.com.au>
12039         * app/display.c (ddisplay_really_destroy): unset active display if
12040         active display is destroyed.
12041         (ddisplay_active): simplify function to return active_display as set
12042         by display_set_active.  This allows using a pinned menu with any
12043         display -- not just the one it was popped up from.
12044         (display_set_active): notify the layer dialog of change of diagrams
12045         when active diagram changes.
12047         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
12048         on button and key presses.
12049         (ddisplay_realize): set active display on realize.
12051         * app/display.c (display_set_active): simple implementation of this
12052         function.
12054         * app/display.h (display_set_active): add prototype for setting
12055         the active display.
12057         * app/interface.c (create_display_shell): don't give focus to the
12058         menu button.
12060         * app/menus.c: fix up menus for Beziergon.
12062         * app/interface.c (create_display_shell): make the widget in the
12063         top left corner a button that can be used to pop up the right click
12064         menu, like in gimp and sketch.
12066         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
12067         the display menu.
12069         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
12070         add code to set corner types for beziergon.
12072         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
12073         setting code.
12074         (beziershape_move_handle): use the previous corner type for right
12075         controls.
12077         * app/interface.c (tool_data): add beziergon to toolbox.
12079         * objects/standard/standard.c (dia_plugin_init): initialise the new
12080         Beziergon object type.
12082         * objects/standard/beziergon.c: an object based on BezierShape.
12084         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
12086         * lib/beziershape.[ch]: new files implementing a bezier shape.
12088 2000-05-26  James Henstridge  <james@daa.com.au>
12090         * lib/text.c (text_key_event): handle multibyte inserts.
12091         (text_key_event): also add home and end keybindings.
12093         * app/interface.c (create_display_shell): connect handlers for
12094         focus_in_event, focus_out_event, realize and unrealize signals.
12096         * app/display.[ch] (new_display): initialise input context members.
12098         * app/disp_callbacks.[ch]: added XIM support here.
12100         * lib/font.c (suck_font): the black and white pixel values should be
12101         taken from a 1 bit colormap rather than the default colormap.
12103         Hans Breuer's Windows patches ...
12105         * lib/font.c: use Courier New for fixed width font on windows
12106         machines.
12108         * lib/dia_image.h: change to "struct _DiaImage".
12110         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
12112         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
12113         mouse button for object menu.  This will make two button mouse owners
12114         happier.
12116 2000-05-25  James Henstridge  <james@daa.com.au>
12118         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
12120         * app/app_procs.c (app_init): add extra NULL argument to call of
12121         diagram_load.
12123         * app/load_save.h: remove prototype.
12125         * app/load_save.c: remove diagram_data function here.
12127         * app/diagram.h: added prototype.
12129         * app/diagram.c (diagram_load): new function here, which uses import
12130         filters.
12132         * plug-ins/dxf/dxf.c: register the import filter as well.
12134         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
12135         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
12137         * objects/standard/line.c: add start_point and end_point properties
12138         to standard line object.
12140 2000-05-21  James Henstridge  <james@daa.com.au>
12142         * app/paginate_psprint.c: added missing include of locale.h.
12144         * objects/custom/custom_object.c (custom_draw): use fabs rather than
12145         abs for scaling factors.
12146         (custom_distance_from): same here.
12148         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
12150 2000-05-18  James Henstridge  <james@daa.com.au>
12152         * po/POTFILES.in: updated POTFILES.in.
12154         * dia.spec: incremented version number in spec file.
12156         * NEWS: added (lots of) news items for the 0.85 release.
12158         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
12159         the config file.
12161         * configure.in: updated version number here.
12163         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
12165 2000-05-17  James Henstridge  <james@daa.com.au>
12167         * app/app_procs.c (internal_plugin_init): register the native import
12168         filter.
12170         * app/load_save.c (diagram_data_load, diagram_load): split this
12171         function into two -- one that does all the work on the DiagramData
12172         structure, and the other that provides compatibility with the old
12173         function.
12174         (dia_import_filter): use diagram_data_load to define an import
12175         filter.
12177         * app/diagram.h (new_diagram): added const to prototype.
12179         * app/filedlg.c (file_open_callback): change to use new import filter
12180         code.
12182         * lib/filter.c: added import filter management functions.
12184         * lib/filter.h: added prototypes for import filter interface.
12186         * app/commands.c (help_about_callback): updated about dialog to
12187         contain a few more names.
12189 2000-05-16  James Henstridge  <james@daa.com.au>
12191         * configure.in (Configuration): added a status message to the end of
12192         the configure script to give the user some idea of what was
12193         configured.
12195         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
12197         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
12198         plugin.
12200         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
12201         filter for dia.
12203         * configure.in (AM_PATH_LIBART): use the check function provided
12204         with libart rather than our own code.  It is more reliable, and
12205         it only requires that people who build out of CVS have libart.m4
12206         installed (not necessarily all of libart).
12207         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
12209 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
12211         * dia.desktop: Added Swedish translation.
12213 2000-05-09  James Henstridge  <james@daa.com.au>
12215         * lib/dia_xml.c: you can't free a const pointer, so remove const
12216         from variable definitions.
12218         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
12219         initialised correctly.
12221         * app/render_svg.c (export_svg): set locale to C.
12223         * app/paginate_psprint.c (paginate_psprint): set locale to C.
12225         * app/render_eps.c (export_eps): set locale to C for EPS export.
12227         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
12228         (data_add_point): same here.
12229         (data_add_rectangle): same here.
12230         (data_real): use g_strtod to convert strings to real numbers, so that
12231         locales are taken into account.
12232         (data_point): same here.
12233         (data_rectangle): same here.
12235         * AUTHORS: added Henk and Jacek to authors file.
12237         Daniel Egger's code cleanups.
12239         * app/select.c (select_invert_callback): remove unused variable.
12241         * app/plugin-manager.c (get_plugin_manager): fix typo.
12243         * app/load_save.c (read_connections, write_objects): 
12244         (write_connections): made some functions static.
12246         * app/interface.c (toolbox_delete, toolbox_destroy): made some
12247         functions static.
12249         * app/filedlg.c (file_export_callback): remove unused variable.
12251         * app/app_procs.c: various warning fixes.
12253         Integrating Jacek Pliszka's pstricks export filter.
12255         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
12257         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
12258         renderer (with a few small modifications by me).
12260         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
12262         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
12264 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
12266         * configure.in:
12267         * sheets/Makefile.am:
12268         * shapes/Makefile.am:
12269         * shapes/Civil/Makefile.am:
12270         * sheets/civil.sheet:
12271         * shapes/Civil/*:
12272         Added civil/hydraulic/structural engineering objects from
12273         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
12274         
12275 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
12277         * objects/FS/flow-poly.c:
12278         * objects/FS/flow.c:
12279         Fix division by zero in point_normalize().
12280         Patch by David Thompson <dcthomp@mail.utexas.edu>
12282 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
12284         * lib/arrows.c:
12285         * lib/bezier_conn.c:
12286         * lib/connpoint_line.c:
12287         Added checks for zero-length lines before calls to point_normalize.
12289 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12291         * app/preferences.c (prefs_data): Changed
12292         reversed_dragging_intersects to not make the dialog ridiculously
12293         wide.
12294         
12295 2000-04-22  James Henstridge  <james@daa.com.au>
12297         Hans's win32 patches:
12299         * app/export_png.c: include message.h
12300         * app/interface.c: include dia_dirs.h
12301         * app/linewidth_area.c: check for rint
12302         * app/main.c: include interface.h
12303         * app/paginate_psprint.c: remove unused variable.
12304         * app/preferences.c: include message.h
12305         * app/render_svg.c: include stdlib.h
12306         * app/select.c: include object_ops.h
12307         * lib/dia_dirs.c: miscelaneous fixes for win32.
12308         * lib/dia_image.c: include string.h
12309         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
12310         * lib/properties.c: include stdlib.h
12311         * lib/properties.h: define extra data for standard properties as
12312         static variables on win32 (to get around dynamic linker problems).
12313         * objects/standard/polygon.c: polygon_create_change missing return
12314         statement.
12316 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
12318         * configure.in (ALL_LINGUAS): added Catalan
12320 2000-04-18  James Henstridge  <james@daa.com.au>
12322         * objects/standard/bezier.c (bezierline_get_object_menu): add a
12323         separator to the object menu between the add/remove segment items
12324         and the corner type items.
12325         (bezierline_get_object_menu): add code to disable the menu item for
12326         the current corner type.  Really just a cosmetic change.
12328         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
12329         a NULL for the label or with no associated callback.
12331         * objects/standard/bezier.c (bezierline_menu_items): use the
12332         enumeration values rather than numeric values for the corner types.
12334         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
12335         structure, and add code to handle it.  Also, don't save the corner
12336         types inline in the bez_points node.  The way it is conditionally
12337         including the element just feels like it will break.
12339         * lib/geometry.h (BezPoint): removed the corner_type stuff from
12340         BezPoint.  The corner type stuff is a user interface level idea rather
12341         than something required by the renderer, so should be taken care of
12342         at the object level.
12344 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12346         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
12347         checks.  Weren't able to reproduce original bug, tough.
12349 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
12351         * sheets/Electric.sheet:
12352         * sheets/Contact.sheet:
12353         * sheets/Pneumatic.sheet:
12354         * sheets/Circuit.sheet: sprayed some <br/>'s around.
12355         (added a few French translations in the last file)
12356         
12357 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12359         * lib/geometry.h: 
12360         * lib/bezier_conn.h: 
12361         * objects/standard/bezier.c: 
12362         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
12363         bezier points.  Only one minor problem known:  Menus are active
12364         for endpoints minor handles.
12365         11:28: Save and load now works, too.
12366         (bezierconn_closest_major_handle): 12:03: New function to get the
12367         non-control point handle associated with the nearest control
12368         point.  
12369         Also fixed the menu activation problem, and made remove_segment
12370         not remove the endpoint.
12372 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12374         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
12375         new API is in use.
12377 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
12379         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
12380         <sys/stat.h>.   OS/2 patch.
12382 2000-04-15  James Henstridge  <james@daa.com.au>
12384         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
12385         Thompson's patch that adds undo support to the function structure
12386         diagram objects.
12388 2000-04-14  James Henstridge  <james@daa.com.au>
12390         * objects/custom/custom_object.c (custom_distance_from): new
12391         implementation of distance algorithm that actually takes the
12392         display list into account when calculating the distance.  Much nicer
12393         than a simple bounding box.
12395 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
12397         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
12399 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12401         * objects/standard/polygon.c: Start of polygons own changes (for
12402         connectionpoints).  Need to do seperate changes in polyshape, too,
12403         rather than reuse the bezier changes.
12405 2000-04-13  James Henstridge  <james@daa.com.au>
12407         * lib/dia_image.c (dia_image_draw): use the new enumeration values
12408         from after the gdk-pixbuf cleanup.
12410         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
12411         on for loop.  Last set of coefficients were not beeing calculated,
12412         which caused a bit of breakage.
12414         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
12415         functions in geometry.c for calculating the closest segment.
12416         (bezierconn_distance_from): use distance_bez_line_point to calculate
12417         the distance.
12419         * lib/geometry.c (distance_bez_line_point): new function to calculate
12420         the distance from an open bezier line to a point.
12421         (distance_bez_shape_point): new function to calculate the distance
12422         from a closed bezier shape.
12423         (distance_ellipse_point): new function to calculate the distance from
12424         a filled ellipse to a point.
12426         * lib/geometry.h (BezPoint): moved this structure here from render.h
12428 2000-04-12  James Henstridge  <james@daa.com.au>
12430         * lib/geometry.c (distance_bez_seg_point): new function to calculate
12431         the distance from a bezier segment.
12433         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
12434         to calculate the distance from the object.
12436         * lib/geometry.c (distance_polygon_point): function for calculating
12437         the distance from a polygon to a point.
12439 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
12441         * app/interface.c:
12442         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
12443         breaks can be inserted in the tool box. 
12445         * doc/sheet.dtd: updated the DTD
12446         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
12447         
12448 2000-04-12  James Henstridge  <james@daa.com.au>
12450         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
12451         macro if the dialog is a GtkDialog :(
12453 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12455         * objects/standard/polygon.c: Connectionpoints now properly
12456         managed in a GList.  As far as I can tell, this will not dieturb
12457         the order (but I have the nagging doubt...)
12459         * lib/polyshape.c: No longer knows about connectionpoints.
12461 2000-04-11  James Henstridge  <james@daa.com.au>
12463         * app/Makefile.am: fix makefile for bonobo build.
12465         * configure.in: fix checks for bonobo.
12467         * app/menus.c: added entries for the plugin manager.
12469         * app/Makefile.am (dia_core_files): added plugin manager to files
12470         list.
12472         * app/plugin-manager.[ch]: the plugin manager dialog.
12474         * app/display.c (display_update_menu_state): set the antialiased
12475         menu entry to the correct value.
12477 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
12479         * objects/custom/custom_object.c: not all renderers like ellipses with
12480         negative dimensions. This could cause ellipses to disappear when using
12481         the flip_h and flip_v functions.
12483         * samples/grafcet.dia: fixed speling and correctness.
12484         
12485 2000-04-11  James Henstridge  <james@daa.com.au>
12487         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
12488         exposed the dia_plugin_load and dia_plugin_unload functions.
12490         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
12491         already created PluginInfo structure.
12493         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
12494         the pluginrc file.
12496         * lib/sheet.c: fix up call to dia_config_filename.
12498         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
12499         file.  This would save information such as which plugins not to
12500         load during startup.
12502 2000-04-09  James Henstridge  <james@daa.com.au>
12504         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
12506 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
12508         * lib/plug-ins.c (dia_register_plugins):
12509         Don't free the value returned from g_getenv.
12511 2000-04-09  Anders Carlsson  <andersca@gnu.org>
12513         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
12515         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
12517         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
12518         right to left, select objects that intersect the rubberbanding rectangle
12519         instead of selecting objects that are in the rectangle.
12521         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
12523         * lib/diagramdata.h: Likewise.
12526 2000-04-09  James Henstridge  <james@daa.com.au>
12528         * lib/plug-ins.[ch]: add copyright messages to files.
12530         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
12531         plugin interface.
12533         * objects/sybase/sybase.c (dia_plugin_init): 
12534         * objects/network/network.c (dia_plugin_init): 
12535         * objects/flowchart/flowchart.c (dia_plugin_init): 
12536         * objects/custom/custom.c (dia_plugin_init): 
12537         * objects/chronogram/chronogram.c (dia_plugin_init): 
12538         * objects/UML/uml.c (dia_plugin_init): 
12539         * objects/SADT/sadt.c (dia_plugin_init): 
12540         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
12541         * objects/FS/fs.c (dia_plugin_init): 
12542         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
12543         object libraries.
12545         * objects/standard/standard.c (dia_plugin_init): change over to new
12546         plugin interface.
12548         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
12549         the version checker for plugins.
12551         * app/app_procs.c: remove plugin loading code from here, and use
12552         code from plug-ins.[ch].  Also move registration of internal
12553         objects/filters to a `builtin' plugin.
12555         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
12557         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
12559         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
12560         defined variable in EXTRA_DIST.
12562         * app/preferences.h: removed dia_config_filename from header.
12564         * app/preferences.c: removed dia_config_filename function.
12566         * lib/dia_dirs.c (dia_config_filename): moved function over to this
12567         file.  Also changed implementation slightly so that it should work
12568         on the win32 port correctly (and use NT home directories).
12570         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
12571         it should have been.
12573         * lib/plug-ins.[ch]: new plugin loading code.
12575 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12577         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
12579         * lib/polyshape.c: Fix closest segment finding, exposes deeper
12580         bugs in adding corners to 'wraparound' segment.
12582         * objects/standard/polygon.c: Added connection points (fixed so
12583         far), set menu sensitivity.
12585         * lib/polyshape.c: Changed to box-style handles, fixed for start
12586         and ends not being special, added initial connections,
12588         * lib/dummy_dep.h: Added polyshape (gotcha!)
12590         * objects/standard/pixmaps/ellipse.xpm: 
12591         * objects/standard/pixmaps/box.xpm: 
12592         Filled element pixmaps with white.
12594         * lib/polyshape.c: 
12595         * objects/standard/polygon.c: 
12596         * lib/polyshape.h: 
12597         * objects/standard/standard.c: 
12598         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
12599         * lib/Makefile.am (libdia_a_SOURCES): 
12600         * app/menus.c: 
12601         * app/interface.c (tool_data): 
12602         Added Standard/Polygon object and PolyShape lib object.  Still
12603         needs inside grab and connection points.
12605         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
12606         available. 
12608         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
12609         not wanted.
12611         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
12612         if (argv) outside ifdefs.
12614 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12616         * objects/standard/image.c (image_set_props): 
12617         Aspect ratio is back in town.
12619         * app/Makefile.am (dia_LDADD): 
12620         * acconfig.h: 
12621         * configure.in: 
12622         Check for gdk_pixbuf (by default disabled, for now)
12624         * app/render_eps.c (draw_image): 
12625         * app/render_libart.c (draw_image): 
12626         * app/render_gnomeprint.c (draw_image): 
12627         Support for alpha mask in rendering.  Color postscript, too.
12629         * lib/dia_image.c: 
12630         * lib/dia_image.h: 
12631         Support for gdk_pixbuf and proper masking for exports.
12633 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
12635         * sheets/*.sheets: Updated Norwegian translations.
12636         
12637 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12639         * lib/text.c (text_insert_char): 
12640         * lib/render_store.c (add_data): 
12641         Made realloc double the alloced space rather than add
12642         a fixed amount, to reduce memory stress.
12644         * app/select.c: Added new select method 'Transitive'
12645         that select every reachable (by connections) object.
12647 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
12649         * dia.desktop: Added Norwegian translation.
12650         
12651 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
12653         * app/render_eps.c:
12654         * app/render_svg.c:
12655         Don't dereference NULL pointer if the renderer
12656         couldn't open the file. Fix by Lars Clausen.
12657         Bug reported by Martin Chisholm <b1mt@unb.ca>
12658         
12659 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
12661         * dia.desktop:
12662         * po/pt.po:
12663         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
12665 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
12667         * app/dia.gnorba (location_info):
12668         Changed to correct executable name.
12670 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
12672         * app/app_procs.c:
12673         Don't do any argument parsing or initialization
12674         if argv==NULL.
12676         * app/dia_embedd.c:
12677         Call init_server_factroy before app_init.
12678         Call app_init with argv==NULL
12679         Now we don't get any critical error on startup.
12681         * configure.in:
12682         Add Electric and Pneumatic to makefile list.
12683         
12684 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
12686         * shapes/Electric/*:
12687         * sheets/Electric.sheet:
12688         Add some Electric circuit shapes.
12690         * shapes/Pneumatic/*:
12691         * sheets/Pneumatic.sheet:
12692         Add some Pneumatic & Hydraulic circuit shapes
12693         (both sheets are still incomplete, though feature enough 
12694         things for basic circuits).
12696         * shapes/Contact/l_*.(xpm|shape):
12697         * sheets/Contact.sheet
12698         * shapes/Contact/Makefile.am
12699         made the older electric circuit shapes in Contact obsolete (disabled
12700         them in the sheet, made that sheet Ladder only). Fixed the makefile
12701         for forgotten items.
12702         
12703 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
12705         * app/Makefile.am:
12706         Add support for Dia bonobo component.
12707         Currently a bit raw, so it's commented out.
12708         
12709         * app/dia_embedd.c:
12710         * app/dia.gnorba:
12711         New files for embedding dia.
12712         The menu disabling hack is a bit gross. Esp. for GNOME.
12714         * app/app_procs.h:
12715         Add new function app_is_embedded();
12717         * app/diagram.c:
12718         Don't destroy diagram when last display is destroyed if embedded.
12719         
12720         * app/display.c:
12721         Change initialization of display so it works with embedding.
12723         * app/display.h:
12724         Clarify comment about display destruction.
12726         * app/interface.[ch]:
12727         Added top_level_window argument to create_display_shell.
12728         Don't open a top-level window if embedding.
12729         Don't quit app if trying to close toolbox window when embedding.
12730         Add toolbox_show() and toolbox_hide().
12732         * app/main.c:
12733         Added app_is_embedded() function (just returns false).
12734         Added toolbox_show() call in main().
12736         * app/menus.c:
12737         Added code for getting toolbox menus. This is used to
12738         hide some menu items when running embedded.
12739         
12740         * app/app_procs.c:
12741         Include sheet.h to remove warning.
12743         * objects/UML/association.c:
12744         Clarify association direction text.
12745         
12746 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
12748         * dia.1
12749         Fixed man page so whatis parsing works.
12751 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
12753         * app/render_libart.c (new_libart_renderer):
12754         Fix from segg <segg@infonet.ca> to compile without libart.
12755         I forgot to change the stub for new_libart_renderer when doing
12756         the interactive renderer stuff for libart.
12758 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
12760         * dia.desktop: Added Irish translation.
12761         
12762         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
12764 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
12766         * app/load_save.c (fchmod): OS/2 defines only.
12768 2000-03-07  James Henstridge  <james@daa.com.au>
12770         * lib/properties.c (prop_get_widget): set the position in the option
12771         menu correctly.
12773 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
12775         * app/display.c:
12776         * app/export_png.c:
12777         * app/render_libart.[ch]:
12778         Don't export png:s with an interactive libart renderer.
12780 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
12782         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
12784 2000-03-02  James Henstridge  <james@daa.com.au>
12786         * dia.spec (%build): unset LINGUAS before running configure.  This
12787         ensures that all translations get included in the RPM.
12789         * lib/properties.c (object_create_props_dialog): put in a check for
12790         a NULL return from the describe_props() object method.
12791         (prop_desc_lists_union): make sure that the returned array is not
12792         NULL.
12793         (prop_desc_lists_intersection): same here.
12795 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
12797         * objects/ER/Makefile.am:
12798         * objects/FS/Makefile.am:
12799         * objects/UML/Makefile.am:
12800         Don't link object libs with gtk.
12802 2000-02-29  James Henstridge  <james@daa.com.au>
12804         * app/preferences.c (prefs_save): check to see if the file could
12805         be opened before writing the prefs.
12807         * app/disp_callbacks.c (popup_object_menu): pass the button event
12808         to gtk_menu_popup.  This allows you to click and release to open
12809         the object menu.
12810         (ddisplay_canvas_events): same here.
12811         (create_object_menu): set the object type menu item in the object
12812         menu to be insensitive.
12814         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
12815         as we are now requiring a new version of libxml.
12817         * dia.spec: updated version number.  Added requirement for
12818         libxml >= 1.8.5
12820         * configure.in: incremented version number to 0.84.
12821         Added check for libxml >= 1.8.5.  This will prevent some of the
12822         problems people have had with broken libxml versions.
12824         * NEWS: added news items.
12826         * app/interface.c (create_color_area): removed call to realize parent
12827         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
12828         but I haven't seen it on my copy of dia.
12830 2000-02-28  James Henstridge  <james@daa.com.au>
12832         * app/export_png.c: added copyright notice, and made the band height
12833         a constant.
12835 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
12837         * lib/font.c (suck_font):
12838         Fixed off-by one bug in font pixmap height.
12839         Fixes the problem with garbage at the bottom of some text in aa mode
12840         and in png exported files.
12842 2000-02-27  James Henstridge  <james@daa.com.au>
12844         * app/app_procs.c: add the png export filter if it was compiled in.
12846         * app/export_png.c (export_png): new PNG export filter.  This requires
12847         the libart renderer to work as it needs a renderer that renders to a
12848         pixel buffer.
12850         * configure.in: add check for libpng.
12852         * lib/message.c (message_internal): use a GNOME dialog here as well.
12854         * app/display.c (ddisplay_close): use a GNOME dialog here.
12856         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
12857         when exporting to EPS.  This is because some people said the EPS
12858         output was too large
12860 2000-02-26  James Henstridge  <james@daa.com.au>
12862         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
12863         window.
12865         * app/app_procs.c (app_exit): use a GNOME dialog here.
12867         * app/preferences.c (prefs_create_dialog): if GNOME support is
12868         enabled, show a GNOME dialog.
12870         * app/grid.c (grid_draw): use preferences when drawing page break
12871         lines.
12873         * app/preferences.c: add page break preferences to dialog.
12875         * app/preferences.h: added page break preferences.
12877 2000-02-25  James Henstridge  <james@daa.com.au>
12879         * sheets/UML.sheet: added new objects.
12881         * objects/UML/uml.c: link in the two new objects.
12883         * objects/UML/node.c: 
12884         * objects/UML/branch.c: new UML objects from Stfan Seefeld
12885         <seefelds@magellan.umontreal.ca>.
12887 2000-02-24  James Henstridge  <james@daa.com.au>
12889         * objects/custom/custom_object.c: converted to use the properties
12890         interface.  In the future, it would be nice to add support for
12891         defining custom properties for custom objects, but that can wait.
12893 2000-02-22  James Henstridge  <james@daa.com.au>
12895         * sheets/Circuit.sheet: added new circuit shapes to sheet.
12897         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
12898         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
12899         and adds a few new features.
12901 2000-02-21  Daniel Egger  <egger@suse.de>
12903         * sheets/*.sheets: Added German translations and made some
12904         corrections to the others.
12905         
12906 2000-02-21  James Henstridge  <james@daa.com.au>
12908         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
12910         * shapes/Circuit/...: added new shapes from Erik Janssens.
12912 2000-02-20  James Henstridge  <james@daa.com.au>
12914         * app/interface.c (create_color_area): realize the parent window
12915         first.
12917         * objects/standard/image.c: properties patch for standard image
12918         object, from Lars Clausen.
12920         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
12922         * lib/properties.h (PropType): added file property type.
12924         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
12925         other shapes.
12927         * app/interface.c: use wrap box for toolbox.
12929         * app/Makefile.am: added new files.
12931         * app/gtk*wrapbox.[ch]: added wrap box widget.
12933 2000-02-19  James Henstridge  <james@daa.com.au>
12935         * sheets/network.sheet: added extra shapes to networks sheet.
12937         * configure.in (AC_OUTPUT): added shapes/network/Makefile
12939         * shapes/network/*: added shapes that were posted to the list a while
12940         back.
12941         
12942         * shapes/Makefile.am (SUBDIRS): added network subdirectory
12944         * app/menus.c (toolbox_menu_items): don't right justify help menu for
12945         gtk+ version of menus.
12947         * app/properties.c (create_dialog): use a GnomeDialog if we happen
12948         to be using gnome.
12950 2000-02-18  James Henstridge  <james@daa.com.au>
12952         * objects/flowchart/box.c: set extra data for corner radius and text
12953         padding properties.
12955         * objects/standard/box.c: set extra data for corner radius property.
12957         * lib/properties.h: set extra data in some standard properties.
12959         * lib/properties.c (prop_get_widget): look at the extra data for
12960         int, real and enum property types.  They now use GtkSpinButton and
12961         GtkOptionMenu respectively.
12963         * lib/properties.h: extra data members for creating property setting
12964         widgets.
12966 2000-02-17  James Henstridge  <james@daa.com.au>
12968         * objects/flowchart/box.c: reverted load/save functions back to
12969         previous implementations.  Made box use standard property names.
12971         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
12973         * app/grid.c: add more digits to the grid edit dialog.  This patch
12974         was also from Lars Clausen.
12976         * objects/standard/zigzagline.c: 
12977         * objects/standard/textobj.c:
12978         * objects/standard/polyline.c:
12979         * objects/standard/line.c:
12980         * objects/standard/ellipse.c:
12981         * objects/standard/box.c: 
12982         * objects/standard/bezier.c: 
12983         * objects/standard/arc.c: patches to add properties code to standard
12984         objects.  Based on patches from Lars Clausen.  I have also removed
12985         some dead code from the files.
12987         * lib/properties.h (PROP_STD_*): define a number of standard
12988         properties.  Where appropriate, objects should include these
12989         properties in their PropDescription list.  This way, the intersection
12990         of properties of two different shapes will be greater.
12992 2000-02-14  James Henstridge  <james@daa.com.au>
12994         * objects/flowchart/box.c (box_load, box_save): use property save
12995         routines.  Make sure that any props not handled by object_load_props
12996         are loaded before calling object_load_props, or we get errors because
12997         update_data is called.
12999         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
13000         error that could cause properties to be loaded incorrectly.
13001         (object_set_props_from_offsets): similar here.
13003         * lib/properties.[ch] (prop_{load,save}): functions for loading
13004         or saving a property in Dia's XML file format.
13005         (object_{load,save}_props): load or save some properties of an
13006         object.  These functions should help simplify the load/save methods
13007         of objects that implement the properties interface.
13009 2000-02-13  James Henstridge  <james@daa.com.au>
13011         * objects/flowchart/box.c: use offset code to simplify property
13012         get/set routines.
13014         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
13015         properties.
13016         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
13018         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
13019         properties.
13020         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
13022         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
13023         functions 
13025 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
13027         * app/Makefile.am:
13028         Add the custom object to DIA_LIB_PATH in run_dia.sh
13030 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
13032         * sheets/Circuit.sheet:
13033         * shapes/l_sout* (NEW):
13034         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
13035         variants of simple, inverted, set and reset outputs.
13036         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
13037         probably a split of Contact and Ladder sheets. And then a major 
13038         revamping of the Contact sheet.
13040 2000-02-10  James Henstridge  <james@daa.com.au>
13042         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
13044         * app/app_procs.c (register_all_objects): don't explicitely
13045         register the custom objects library -- let it be loaded by the
13046         normal plugin loading methods.
13048         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
13050         * objects/custom/Makefile.am: build libcustom_objects as a shared
13051         library again.
13053         * objects/custom/shape_info.[ch]: don't read the description field
13054         of custom shapes.  It makes more sense to have these in the sheet
13055         file to localise the parts of dia that translators have to deal
13056         with.
13058         * objects/custom/custom_object.c (custom_object_new): do not
13059         create the sheet object for the new custom shape -- this is
13060         handled by the custom sheet code.
13062         * objects/custom/custom.c: change over to being a normal plug-in
13063         rather than being linked with the main dia executable.
13065 2000-02-09  James Henstridge  <james@daa.com.au>
13067         * sheets/Circuit.sheet: 
13068         * sheets/Flowchart.sheet: 
13069         * sheets/Contact.sheet: fixed up sheets.
13071         * objects/custom/custom_object.c (custom_object_new): set the
13072         extra ObjectType fields.
13074         * lib/sheet.c: use extra ObjectType fields when creating sheet
13075         objects.  Give a warning if <shape> tags are found in a sheet
13076         file.  Now the custom sheet code does not know about custom
13077         shapes -- they look like any other object type.
13079         * lib/object.h (ObjectType): added extra members
13081 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
13083         * app/linewidth_area.c:
13084         Added code to set arbitrary line width.
13085         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
13087 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
13089         * app/linewidth_area.c: 
13090         * lib/font.[ch]:
13091         Add support for font-sucking.
13092         Implementation borrowed from gnome-canvas.
13093         
13094         * app/render_libart.[ch]:
13095         Implement text rendering.
13097 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
13099         * app/properties.c (create_dialog):
13100         ref and sink no_properties_dialog.
13102 2000-02-07  James Henstridge  <james@daa.com.au>
13104         * app/group.c (group_describe_props): new function.  Return the
13105         intersection of the properties of the contained objects that
13106         implement the describe_props interface.
13107         (group_get_props): implement by iterating through contained objects
13108         and calling their get_props method until all properties have been
13109         set.  Maybe this should go through all objects all the time??
13110         (group_set_props): implement by calling set_props method on all
13111         contained objects.
13112         (group_ops): use standard props dialog creation routines.
13114         * lib/properties.c (prop_desc_lists_intersection): fix implementation
13115         of intersection -- I was using i++ instead of i-- in a for loop :(
13117         * objects/custom/custom.c (custom_register_objects): fix usage
13118         of dia_get_data_directory again.
13120         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
13121         actually read the sheets.
13123 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
13125         Win32 port by Hans Breuer <Hans@Breuer.org>
13127         * app/Makefile.am:
13128         Remove DATADIR and LIBDIR defines.
13130         * lib/Makefile.am:
13131         Add dia_dirs.c and dia_dirs.h
13132         Added DATADIR and LIBDIR defines.
13134         * lib/dia_dirs.[ch]:
13135         New files for handling special directories.
13137         * app/app_procs.c:
13138         * app/commands.c:
13139         * lib/sheet.c:
13140         * objects/custom/custom.c:
13141         Fix warnings.  Use directory functions.
13143         * app/diagram.h:
13144         Add prototype for diagram_redraw_all.
13146         * app/diaunitspinner.c:
13147         * app/filedlg.c:
13148         * app/interface.c:
13149         * app/preferences.c:
13150         Fix warning.
13152         * app/load_save.c:
13153         Win32 doesn't have mkstemp and fchmod.
13155         * app/paginate_psprint.c:
13156         Win32 calls popen _popen and pclose _pclose.
13157         
13158         * app/arrow.c:
13159         Win32 calls finite _finite.
13161         * lib/color.h:
13162         Win32 needs to dllexport the color vars.
13164         * objects/GRAFCET/step.c:
13165         * objects/chronogram/chronoref.c:
13166         snprintf -> g_snprintf
13168 2000-02-05  James Henstridge  <james@daa.com.au>
13170         * lib/properties.c: more fixes so that it doesn't crash when using
13171         properties.  The undo/redo stuff also works!!
13173         * objects/flowchart/box.c (box_{describe, get, set}_props): test
13174         object where I have implemented the new properties interface
13175         complete with automatic properties dialog generation.
13177         * lib/properties.c (object_apply_props): fixed stupid error when
13178         creating the old_props array.  Also, it no longer frees the props
13179         array -- you will have to do that yourself.
13181 2000-02-04  James Henstridge  <james@daa.com.au>
13183         * app/properties.c (properties_apply): pass object_part to
13184         apply_properties.
13186         * lib/object.h (ApplyPropertiesFunc): added widget argument.
13188         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
13189         created this way as well.
13191         * objects/*/*.c: ref and sink the properties dialog window for each
13192         widget.  It can't rely on ref count being incremented by
13193         properties_show anymore.
13195         * app/properties.c (properties_show): don't ref the widget before
13196         removing it, or its ref count will increase each time you open the
13197         properties dialog.  Don't unparent the widget, as container_remove
13198         does that for us.
13200         * lib/object.h: fixed up prototypes for new object methods.
13202         * lib/properties.[ch]: added functions for automatically creating
13203         a properties dialog from the output of describe_props, get_props and
13204         set_props.
13205         (object_apply_props): apply properties and return an ObjectChange
13206         structure that can be used for undo.
13208 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
13210         * objects/GRAFCET/transition.c: minor leak plugged.
13212         * sheets/GRAFCET.sheet:
13213         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
13214         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
13215         conditions.
13216         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
13217         new ones (for condition.c).
13218         * objects/GRAFCET/action.c: added connection points for the conditions.
13219         * samples/grafcet.dia: updated the sample to improve conformance to
13220         IEC 848 and take advantage of dia's new features.
13221         
13222         * lib/geometry.h: (point_get_normed) fixed a typo.
13224 2000-02-02  James Henstridge  <james@daa.com.au>
13226         * lib/object.h: added object functions describe_props, get_props and
13227         set_props.  Do type definitions so that object.h doesn't need to
13228         include properties.h, since properties.h includes object.h.
13230         * lib/properties.[ch]: more hacking.
13232         * po/de.po: updated po file.
13234 2000-01-30  James Henstridge  <james@daa.com.au>
13236         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
13237         check to see if the C compiler accepts the flag beforehand.
13239         * lib/properties.[ch]: start of properties code.
13241         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
13243 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
13244         
13245         * sheets/GRAFCET.sheet:
13246         * sheets/GRAFCET/etapemc.xpm: (NEW)
13247         * sheets/GRAFCET/etapesp.xpm: (NEW)
13248         * objects/GRAFCET/step.c: Added the macro and
13249         sub-program call step types.
13251         * objects/GRAFCET/receptivity.[ch]: renamed to 
13252         objects/GRAFCET/boolequation.[ch]. 
13253         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
13254         (BoolEquation *)
13256         * lib/connpoint_line.[ch]: 
13257         * objects/chronogram/chronoline.c:
13258         * objects/chronogram/chronoref.c:
13259         * objects/GRAFCET/vergent.c:
13260         * objects/standard/line.c:
13261         * objects/SADT/box.c: Minor CPL interface changes, factored out the
13262         point count adjustment code into the CPL object.
13263         
13264 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
13266         * app/render_libart.c:
13267         Added support for images and bezier curves.
13268         Only text/fonts missing now.
13270         * app/render_gdk.c:
13271         Removed old erronous comment.
13273 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
13275         * objects/chronogram/chronoline_event.c: removed references to
13276         lround(). Please don't insist, I'm already red of shame.
13277         
13278 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
13280         * app/render_libart.[ch]:
13281         * app/Makefile.am:
13282         Non-finished libart renderer.
13284         * acconfig.h:
13285         Added HAVE_LIBART flag
13287         * configure.in:
13288         Added libart probe
13290         * app/app_procs.c:
13291         Call gdk_rbg_init().
13293         * app/connectionpoint_ops.c:
13294         * app/disp_callbacks.c:
13295         * app/grid.c:
13296         * app/handle_ops.c:
13297         * app/magnify.c:
13298         * app/modify_tool.c:
13299         Change ddisp->renderer type from RendererGdk * to Renderer *
13300         Draw zoom and select rects in ddisp->canvas->window instead
13301         of ddisp->renderer->renderer->pixmap.
13303         * app/display.[ch]:
13304         Add aa_renderer to DDisplay, and  support for it.
13305         New function ddisplay_set_renderer() for changing renderer.
13306         Add ddisplay_transform_coords_double() function, used by aa renderer.
13307         Change ddisp->renderer type from RendererGdk * to Renderer *
13309         * app/menus.c:
13310         Add antialias to menu.
13311         
13312         * app/commands.[ch]:
13313         add view_aa_callback function
13314         Change ddisp->renderer type from RendererGdk * to Renderer *
13316         * lib/geometry.[ch]:
13317         Added IntRectangle and int_rectangle_union.
13319 2000-01-28  James Henstridge  <james@daa.com.au>
13321         * app/commands.h: removed prototypes.
13323         * app/commands.c: removed the functions that have been moved to
13324         filedlg.c.
13326         * app/filedlg.h: added new prototypes.
13328         * app/filedlg.c (file_open_callback): move open dialog to this
13329         file.  This implementation should remember the current directory
13330         between file loads.
13331         (file_save_as_callback): moved this dialog as well.
13332         (file_save_callback): moved this function here.
13334         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
13335         align page boundaries to the origin.
13337         * app/diagram.c (diagram_update_extents): redraw the diagram if the
13338         scaling factor changes while updating the extents.  This is so the
13339         page breaks get redrawn correctly.
13341         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
13342         applying changes.
13344         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
13345         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
13346         the corner of the bounding box.
13348         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
13349         into page setup dialog.
13350         (pagesetup_apply): apply new `fit to' attributes to the diagram.
13352         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
13353         (diagram_data_save): save `fit to' data.
13355         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
13356         (data_update_extents): when in `fit to' mode, update scale factor
13357         when we update the extents.
13359         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
13360         structure.
13362         * .../.cvsignore: added some cvsignore files to quieten cvs.
13363         
13364         * app/pagesetup.c (pagesetup_changed): added code to change the
13365         scaling/fit to values as you change the options in the page setup
13366         dialog.  I haven't added code so that the fit to options are saved
13367         though.
13369         * app/diapagelayout.[ch]: changed the scaling portion of the widget
13370         to make it easier to set a `fit to' style scaling factor.
13372 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
13373         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
13374         but connpoint_line-based, so that there's a connection point at the 
13375         middle of each segment. Currently only the SADT arrow uses this.
13377         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
13378         
13379 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
13380         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
13381         saving and editing of properties (and default properties). 
13382         See the new objects (GRAFCET, SADT, chonograms) for examples.
13383         For already too hairy stuff, see objects/chronogram/chronoline.c.
13385         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
13386         evenly spaced connection points, which the user can add or remove at
13387         will. An object can own several connection point lines. See the SADT
13388         Box, or the GRAFCET vergents for examples.
13390         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
13391         quiet about unused stuff.
13393         * objects/GRAFCET (NEW):
13394         * samples/grafcet.dia (NEW):
13395         Added support for GRAFCET charts. 
13397         * objects/chronogram (NEW):
13398         * samples/chronograms.dia (NEW):
13399         Added support for chronograms (feature requested by Ronald L. Chichest;
13400         I found I'd use it often, too).
13402         * objects/standard/line.c: Replace the middle connectionpoint by 
13403         a whole connection point line, which defaults to one point (hint, 
13404         hint). New Line object menu to take advantage of this. 
13405         "Bothwards" compatibility is preserved (although you may loose 
13406         connections if you load a newer file in a older dia).
13408         * app/lineprops_area.c:
13409         * lib/arrows.[ch]:
13410         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
13411         (feature requested by Benjamin Kahn).
13412         Merged in Steffen Macke's slashed arrow head type.
13414         * app/Makefile.am (app/run_dia.sh actually):
13415         Added $DEBUGGER in front of dia's invocation, so that
13416         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
13417         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
13418         "EFENCE=-lefence" to link with Electric Fence.
13420         * configure.in: Made gcc do more aggressive optimisations on i386, and
13421         enabled warnings.
13422         
13423 2000-01-24  James Henstridge  <james@daa.com.au>
13425         * lib/geometry.[ch]: added inline versions of functions.  Used
13426         glib's G_INLINE_FUNC stuff, so it should still work on systems
13427         without inline funcs.
13429         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
13430         it outputs the correct element id for the ellipse objects.
13432 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13434         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
13435         object_add_handle_at. Message typo fixed.
13436         
13437         * lib/sheet.c (load_register_sheet):
13438         potential bug fixed (warning hunt).
13440         * objects/custom/custom.c (custom_object_load): disabled an assertion
13441         which made dia abort upon failure to load a shape file. Fixed a
13442         subsequent crash. 
13444         * objects/custom/shape_info.c (load_shape_info): Made the custom 
13445         shape load code ignore XML comments between <?xml ...?> and the 
13446         root object (mostly useful to put the emacs magic comments).
13447         
13448         * app/load_save.c: Made dia do backup copies of files when saving,
13449         and complain in case of failure.
13451 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
13453         * AUTHORS: fixed my address (ISP thought it was a great idea to change
13454         the domain name)
13455         
13456         * configure.in:
13457         * shapes/Contact:
13458         * shapes/Contact/*:
13459         * sheets/Contact.sheet:
13460         * sheets/Makefile.am:
13461         Added support for Contact and LADDER charts.
13463         * dia.desktop: Added a French translation.
13464         
13465 2000-01-23  James Henstridge  <james@daa.com.au>
13467         * app/commands.c (help_about_callback): don't die if can't load
13468         logo image.
13470         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
13471         out NaN's when performing bezier curve subdivision.
13473         * objects/custom/custom_object.c: initialise memory of Custom structs
13474         to zero.
13476         * app/render_svg.c (draw_image): added image support to the XML
13477         output filter.  The image is just referenced, rather than being
13478         included inline, so if you copy the SVG file somewhere else, you
13479         may need to move the images or fix up the links.
13481         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
13482         so the text is not just displayed in black all the time.
13484 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
13486         * configure.in: fixed libpopt test so we wont try to build with
13487         too old libpopt.
13489 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
13491         * configure.in: Added "uk" to ALL_LINGUAS.
13493 1999-12-24  James Henstridge  <james@daa.com.au>
13495         * po/ru.po: updated russian translation from Valek Filippov.
13496         
13497         * app/render_svg.c (new_svg_renderer): make output use 19991203
13498         version of SVG DTD.  Use viewBox to set the extents of the view.
13500         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
13501         ftp.gnome.org as the download.
13503         * TODO (TODO): weeded out completed todo items and added a few extra.
13505         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
13507         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
13508         be good to get rid of the object/shape distinction and separate
13509         the custom shape code out from the main application.
13511         * objects/custom/README, diagram.dtd: moved to new doc directory.
13512         Renamed the custom shapes README to custom-shapes.  Also updated
13513         custom shape docs a bit and removed the section on sheet files, as
13514         that has changed a bit.
13516         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
13517         of the image data is larger than the maximum cell array.  I should
13518         add code to break scan lines down further in this case, but for now
13519         an error message is better than an infinite loop.
13521         * app/filedlg.c (file_export_ok_callback): show a dialog if we
13522         couldn't determine the export filter to use.
13524         * app/commands.c (help_about_callback): fixed up about box logo
13525         expose bug.  Now just use a GtkPixmap widget rather than a
13526         GtkDrawingArea and calling gdk_imlib_paste_image.
13528         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
13529         because automake does not always get things right.
13531         * configure.in: updated version number to 0.83.
13533         * app/preferences.c (prefs_save): 
13534         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
13535         for fopen.  Text is the default file mode anyway.
13537         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
13538         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
13539         * app/load_save.c (write_objects, write_connections): 
13540         * app/filedlg.c (file_export_ok_callback): 
13541         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
13542         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
13543         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
13544         snprintf to calls to g_snprintf.
13546         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
13547         as the picture name.
13549 1999-12-23  James Henstridge  <james@daa.com.au>
13551         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
13552         negative numbers.  This fixes the upside down text problem I was
13553         having previously.
13554         (draw_image): implemented the image code.  It will try to split the
13555         image data up into bands if it is too big to fit into a single
13556         cgm cell array element.  It will have problems if you try to insert
13557         an image wider than about 10,000 pixels though.
13559         * Makefile.am: use gnomedatadir for the files that need to be
13560         installed in gnome's datadir.  This is mainly to help people doing
13561         packages for weird setups.
13563 1999-12-22  James Henstridge  <james@daa.com.au>
13565         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
13566         beziers are left to do.  The text seems to be the wrong way up
13567         still.  This is probably a problem with character orientation
13568         element, but I have used what the settings given in the standard.
13569         Other than this, the CGMs dia produces are readable (and displayable)
13570         by ralcgm and corel draw.
13571         (draw_string): subtract from the X coord rather than the Y coord for
13572         center and right aligned text.
13574         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
13575         the size of a real number, and changed name of write_double to
13576         write_real.  Consider changing to fixed real encoding.  Also, now
13577         all element headers are correct.  Once the real number encoding is
13578         fixed, only text, beziers and images are left to do.
13580 1999-12-21  James Henstridge  <james@daa.com.au>
13582         * Makefile.am (SUBDIRS): recurse into plug-ins.
13584         * configure.in: add plug-ins directory makefiles to list.
13586         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
13587         not done yet.  Also, the output files are not quite correct.
13589         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
13590         font.  It doesn't work if you do.
13592 1999-12-20  James Henstridge  <james@daa.com.au>
13594         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
13595         export the files.  Instead, use filter_guess_export_filter to
13596         guess the correct format to save in and use the appropriate filter.
13597         It defaults to postscript for compatibility.
13599         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
13600         function.
13602         * app/commands.[ch]: removed export to eps functions.
13604         * app/menus.c: removed export to eps menu items.
13606         * app/app_procs.c: register new export filters.
13608         * app/load_save.[ch]: define dia native export filter.
13610         * app/render_eps.[ch]: define eps export filter.
13612         * lib/filter.h: added diafilename argument to the DiaExportFunc
13613         prototype.  This is useful for putting the source of the diagram
13614         into the output file for instance.
13616         * app/app_procs.c (app_init): register the SVG export filter.  Have
13617         to get EPS code converted to this API, and maybe also allow saving in
13618         DIA's native format from the export dialog.  In fact, it is now
13619         possible to load an export filter from a shared library and it will
13620         integrate into the interface correctly.
13622         * app/menus.c: removed references to the SVG renderer.
13624         * app/commands.[ch]: removed svg stuff.
13626         * app/diagram.[ch]: removed diagram_export_to_svg function.
13628         * app/render_svg.[ch]: added a DiaExportFilter structure for this
13629         renderer.
13631         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
13632         probably move the open/save dialogs to this file as well.
13634 1999-12-19  James Henstridge  <james@daa.com.au>
13636         * lib/filter.[ch]: start of interface for generalised handling of
13637         filters.  I have only done code for export filters so far.  I still
13638         need to do the gui for this, and convert the current SVG and EPS
13639         filters to the new API.
13641         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
13642         weren't setting the last handle correctly.  It was actually assigning
13643         to the wrong position in the handles array, so the last handle was
13644         left as NULL, which caused the segfault.
13646         * objects/standard/image.c (image_copy): modified routine so that
13647         it just adds a reference to the DiaImage structure in the new image
13648         object.  This seems to have cleared up the problems with copying
13649         image objects.
13651         * dia.spec: spec file additions from John Gotts.
13653 1999-12-12  James Henstridge  <james@daa.com.au>
13655         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
13656         has not been released yet though.
13658         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
13660         
13661         The following based on a patch from Lars Clausen:
13662         
13663         * objects/standard/bezier.c (bezierline_move_handle): when performing
13664         the initial drag of the bezierline, move the control points to keep
13665         the line straight.
13667         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
13668         make the new control points a bit closer to the major point.
13670         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
13671         as the reason for the move.
13672         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
13673         move reason.
13675         * lib/handle.h: new handle move reasons.
13677 1999-12-09  James Henstridge  <james@daa.com.au>
13679         * dia.spec: include the new files in RPMs.
13681         * Makefile.am: install these new files.
13683         * dia.keys.in: file describing actions and icon for dia diagrams for
13684         use in the gnome file manager.
13685         
13686         * dia.mime: a file defining the application/x-dia-diagram mime type.
13687         
13688         * dia-diagram.png: an icon for dia diagrams.
13690 1999-12-08  James Henstridge  <james@daa.com.au>
13692         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
13694         * plug-ins/python/pydia-display.[ch]: wrapper for display.
13696         * objects/standard/ellipse.c: applied Lars's patch to optionally not
13697         draw the background of the ellipse.
13699         * app/load_save.c (read_connections): do some sanity checking on the
13700         handle and connection point numbers before performing the object
13701         connection.
13703         * lib/bezier_conn.c (bezierconn_load): give the correct number of
13704         handles when loading a BezierConn.
13706 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
13708         * sheets/*.sheet: Finished Norwegian translations.
13709         
13710 1999-12-07  James Henstridge  <james@daa.com.au>
13712         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
13713         (PyDia_GetObjectType): find object type function.
13715         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
13716         method for diagrams.
13718         * plug-ins/python/pydia-object.c: added methods for DiaObject and
13719         DiaObjectType.
13721         * AUTHORS: added Lars and Cyrille to the authors file.
13723         * objects/standard/bezier.c (bezierline_add_segment_callback): place
13724         new point correctly.
13726         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
13728         * lib/bezier_conn.c: applied Lars's patch for placement of the new
13729         point when adding a segment to a BezierConn.
13731 1999-12-06  James Henstridge  <james@daa.com.au>
13733         * plug-ins/python/test.py: test script for the python plug-in.
13735         * plug-ins/python/python.c: this file contains the plug-in startup
13736         code for the python plugin.  Right now, it just initialises the
13737         dia module and executes a script.
13739         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
13741         * objects/standard/bezier.c (bezierline_draw): draw control lines for
13742         bezier curve if we are using an interactive renderer (ie. only if
13743         displaying to the screen).
13745         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
13746         to draw control lines on to a bezier curve.  Based on implementation
13747         from Lars.
13749         * objects/standard/bezier.c (bezierline_delete_segment_callback):
13750         calculate segment number using closest_segment rather than
13751         closest_handle.  Sometimes the closest handle is part of a different
13752         segment.
13753         (bezierline_draw): use correct size for start arrow.
13755         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
13756         * lib/geometry.c (distance_line_point): added notes to documentation
13757         in comment.
13758         * app/object_ops.c (object_list_align_v): 
13759         (object_list_align_h): fix of by one error when calculating free space
13760         for equal distance alignment.
13761         * app/menus.c (objects_align_h, objects_align_v): include align
13762         adjacent menu items in the gnome version of the menus.
13763         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
13764         align adjacent menu items correctly.
13767         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
13768         table.
13770         * objects/standard/bezier.c: converted bezierline to use BezierConn.
13771         Still a few bugs.  It crashes on deleting line segments.
13773         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
13775 1999-12-05  James Henstridge  <james@daa.com.au>
13777         * lib/bezier_conn.[ch]: start of BezierConn object
13779         * app/interface.c: add bezierline to toolbox.
13781         * objects/standard/standard.c: initialise bezierline.
13783         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
13784         made a few modifications to get it working nicely.  It still needs
13785         a bit of work though.  Maybe create a BezierConn object in lib.
13787 1999-12-02  James Henstridge  <james@daa.com.au>
13789         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
13790         
13791         * plug-ins/python/Makefile.am: tried building everything.  It is
13792         building as a library at the moment.  I will have to convert it
13793         to a libtool library and add some initialisation code.
13794         
13795         * plug-ins/python/diamodule.c: start of the dia module, using the
13796         other object wrappers.  Not complete.
13798 1999-12-01  James Henstridge  <james@daa.com.au>
13800         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
13801         the handles and connections attributes.
13803         * plug-ins/python/pydia-layer.c: added functions that use
13804         ConnectionPoint's.
13806         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
13808         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
13810         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
13811         I am currently wrapping the basic elements in the diagram in python
13812         objects -- nothing to see or play with yet.
13814 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
13816         * AUTHORS:
13817         * HACKING:
13818         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
13820 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
13822         * configure.in:
13823         * po/ru.po:
13824         Added russian translation from Valek Filippov <frob@df.ru>
13826 1999-11-24  James Henstridge  <james@daa.com.au>
13828         * sheets/UML/*: 
13829         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
13830         discussed with Alex.  Also added extra makefiles so that make install
13831         works correctly.
13833 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
13835         * app/preferences.[ch]:
13836         * app/display.c:
13837         Added snap to grid preference.
13838         Patch from Michael Leslie <mles@springboardwireless.com>
13840 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13842         * app/load_save.c:
13843         * lib/dia_xml.c:
13844         * lib/sheet.c:
13845         * lib/text.c:
13846         * objects/custom/shape_info.c:
13847         All strings returned by libxml must be freed with free, not
13848         g_free, or there will be problems if you use memory debugging
13849         in glib.
13850         
13851 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13853         * app/create_object.[ch]:
13854         * app/menus.c:
13855         * app/tool.[ch]:
13856         * app/commands.[ch]:
13857         * app/pixmaps.h:
13858         * app/interface.[ch]:
13859         Reverted the tool menu patch. It has some 'issues'.
13860         I liked it though, so it'll probably return.
13862 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13864         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
13865         <bruce@cybersight.com> for some purify runs and analysis.
13866         Also a great thank you to Owen Taylor for creating MemProf, a
13867         free memory leak detector that was used to find and verify a
13868         lot of these fixes.
13869         
13870         * app/diagram.c:
13871         * app/paginate_psprint.c:
13872         * app/render_eps.[ch]:
13873         * app/render_svg.[ch]:
13874         Free renderers.
13876         * app/interface.c:
13877         Don't add a reference to ddisp->shell. Why was this done in
13878         the first place?
13880         * app/load_save.c:
13881         * lib/dia_xml.c:
13882         * lib/sheet.c:
13883         * lib/text.c:
13884         Free all strings returned from xmlGetProp
13886         * app/modify_tool.c:
13887         Plug leak.
13889         * objects/custom/custom.c:
13890         Use closedir() after opendir().
13892         * objects/custom/shape_info.c:
13893         User g_free() instead of "if (tmp) free(tmp)".
13895         * sheets/ER.sheet:
13896         Add newline at end of file.
13897         
13899 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
13901         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
13902         Adds tool menu and keyboard shortcuts.
13904         * app/create_object.[ch]:
13905         Use tool_set() instead of tool_reset().
13906         create_create_object_tool() takes extra type argument
13908         * menus.c:
13909         Add tools menu.
13910         
13911         * tool.[ch]:
13912         Moved tool_data here, export it.
13913         Add separate tool type for all create objects tools.
13914         new functions tool_set().
13916         * commands.[ch]:
13917         New callback tool_set_callback.
13919         * pixmaps.h:
13920         Moved some pixmaps to interface.c.
13921         
13922         * interface.[ch]:
13923         Remove tool_data array (moved to tool.c).
13924         Use the tool_data from tool.c.
13925         Remove modify_tool_button global var.
13926         
13927 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
13929         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
13930         
13931         * app/app_procs.c:
13932         Interprets command-line arguments as files to open even when
13933         HAVE_POPT is not defined.
13935         * app/magnify.c:        
13936         Shift-clicking when zooming zooms out, like the Gimp.
13938         * app/menus.c:
13939         Has hotkeys for zoom-100% and snap-to-grid.
13941 1999-11-17  James Henstridge  <james@daa.com.au>
13943         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
13944         that it is not jumpy.
13946         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
13948         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
13949         scrolling by pressing the shift key when using the scroll tool.
13951         * sheets/Makefile.am: fixed makefile so that install actually works
13952         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
13953         don't exist.
13954         (SHEETS): install Circuit.sheet
13956 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
13957         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
13959         * sheets/Circuit.sheet:
13960         * sheets/ER.sheet:
13961         * sheets/FS.sheet:
13962         * sheets/Flowchart.sheet:
13963         * sheets/UML.sheet:
13964         * sheets/network.sheet:
13965         * sheets/sybase.sheet:
13966         Changed name space
13968         * sheets/Circuit.sheet:
13969         added some missing French translations
13971         * lib/sheet.c:
13972         killed the temporary sheet namespace
13974         * objects/custom/custom.c:
13975         obsolete comment cleaned up
13977 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
13979         * configure.in:
13980         * po/pt.po:
13981         Added portugese translation from Pedro Morais
13982         <pmmm@rnl.ist.utl.pt>
13984 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
13986         Changed all sheets to be specified in xml.
13987         All sheet objects removed from the C code.
13988         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
13989         
13990         * Makefile.am:
13991         * configure.in:
13992         Adding shapes dir.
13993         Updated version to 0.81cvs.
13994         
13995         * app/Makefile.am:
13996         Update run_dia.sh with sheet-dir.
13997         
13998         * app/app_procs.c:
13999         Load all sheets on startup.
14000         Create sheet directory first time.
14001         Don't call custom_register_sheets().
14003         * lib/Makefile.am:
14004         Add sheetdir define
14006         * lib/custom.h:
14007         Remove custom_register_sheets().
14009         * lib/sheet.[ch]:
14010         Add sheet loading code.
14012         * sheet/Circuit.sheet:
14013         * sheet/ER.sheet:
14014         * sheet/FS.sheet:
14015         * sheet/Flowchart.sheet:
14016         * sheet/UML.sheet:
14017         * sheet/network.sheet:
14018         * sheet/sybase.sheet:
14019         Added sheet files.
14021         * sheet/ER/weakentity.xpm:
14022         * sheet/UML/aggregation.xpm
14023         * sheet/UML/umlclass_template.xpm
14024         Added sheet pixmaps.
14025         These are moved from their old places.
14027         * sheet/.cvsignore:
14028         Shut up cvs.
14030         * objects/*/*.c:
14031         Removed sheet objects and sheet registration.
14032         
14033         * objects/ER/Makefile.am:
14034         * objects/ER/pixmaps/weakentity.xpm:
14035         * objects/UML/Makefile.am:
14036         * objects/UML/pixmaps/aggregation.xpm:
14037         * objects/UML/pixmaps/umlclass_template.xpm:
14038         Removed alternative pixmaps. (Moved to sheet).
14040         * objects/custom/Makefile.am:
14041         * objects/custom/load_sheet.[ch]:
14042         Removed old sheet loading code.
14043         
14044         * objects/custom/custom.c:
14045         Load all shapes instead of sheets.
14046         Removed custom_register_sheets().
14048         * objects/custom/custom_object.c:
14049         Added debug code.
14051         * objects/custom/shape_info.[ch]:
14052         Added shape_info_getbyname().
14054         * objects/flowchart/Makefile.am:
14055         * objects/flowchart/collate.shape            
14056         * objects/flowchart/delay.shape              
14057         * objects/flowchart/display.shape            
14058         * objects/flowchart/document.shape           
14059         * objects/flowchart/extract.shape            
14060         * objects/flowchart/flowchart.c              
14061         * objects/flowchart/intstorage.shape         
14062         * objects/flowchart/magdisk.shape            
14063         * objects/flowchart/magdrum.shape            
14064         * objects/flowchart/magtape.shape            
14065         * objects/flowchart/manualinput.shape        
14066         * objects/flowchart/manualop.shape           
14067         * objects/flowchart/merge.shape              
14068         * objects/flowchart/offlinestore.shape       
14069         * objects/flowchart/offpageconn.shape        
14070         * objects/flowchart/or.shape                 
14071         * objects/flowchart/predefdproc.shape        
14072         * objects/flowchart/preparation.shape        
14073         * objects/flowchart/punchedcard.shape        
14074         * objects/flowchart/punchedtape.shape        
14075         * objects/flowchart/sort.shape               
14076         * objects/flowchart/sumjunction.shape        
14077         * objects/flowchart/terminal.shape           
14078         * objects/flowchart/transaction.shape        
14079         * objects/flowchart/transmittape.shape       
14080         * objects/flowchart/pixmaps/collate.xpm      
14081         * objects/flowchart/pixmaps/delay.xpm        
14082         * objects/flowchart/pixmaps/display.xpm      
14083         * objects/flowchart/pixmaps/document.xpm     
14084         * objects/flowchart/pixmaps/extract.xpm      
14085         * objects/flowchart/pixmaps/intstorage.xpm   
14086         * objects/flowchart/pixmaps/magdisk.xpm      
14087         * objects/flowchart/pixmaps/magdrum.xpm      
14088         * objects/flowchart/pixmaps/magtape.xpm      
14089         * objects/flowchart/pixmaps/manualinput.xpm  
14090         * objects/flowchart/pixmaps/manualop.xpm     
14091         * objects/flowchart/pixmaps/merge.xpm        
14092         * objects/flowchart/pixmaps/offlinestore.xpm 
14093         * objects/flowchart/pixmaps/offpageconn.xpm  
14094         * objects/flowchart/pixmaps/or.xpm           
14095         * objects/flowchart/pixmaps/predefdproc.xpm  
14096         * objects/flowchart/pixmaps/preparation.xpm  
14097         * objects/flowchart/pixmaps/punchedcard.xpm  
14098         * objects/flowchart/pixmaps/punchedtape.xpm  
14099         * objects/flowchart/pixmaps/sort.xpm         
14100         * objects/flowchart/pixmaps/sumjunction.xpm  
14101         * objects/flowchart/pixmaps/terminal.xpm     
14102         * objects/flowchart/pixmaps/transaction.xpm  
14103         * objects/flowchart/pixmaps/transmittape.xpm 
14104         Moved shapes and their pixmaps to shapes/flowchart
14106         * shapes/Circuit/Makefile.am:
14107         * shapes/Circuit/index.sheet:
14108         Removed index.sheet.
14109         
14110         * shapes/Makefile.am:
14111         * shapes/flowchart/Makefile.am:
14112         * shapes/flowchart/*.shape:
14113         * shapes/flowchart/*.xpm:
14114         Added flowchart shapes. (Moved from objects/flowchart)
14115         
14117 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
14119         * app/app_procs.c: Fixed popt stuff.
14121 1999-11-01  James Henstridge  <james@daa.com.au>
14123         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
14124         Andreas Scherf.
14126 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
14128         * dia.spec:
14129         * configure.in:
14130         Update version to 0.81.
14131         
14132         * NEWS:
14133         Update with news for 0.81.
14134         
14135         * shapes/Circuit/*:
14136         * shapes/Circuit_eu/*:
14137         Moved european circuit objects to Circuit sheet.
14139 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
14140         
14141         * lib/diagramdata.[ch]:
14142         Added layer_set_object_list() function.
14144         * app/undo.[ch]:
14145         Added support for undo of reordered objects.
14146         Fix the undo of delete to keep the right order on undo.
14147         
14148         * app/diagram.c:
14149         changed loop to object_add_updates_list() calls.
14150         Added undo support to bring to front/back.
14152         * app/disp_callbacks.c:
14153         * app/paginate_psprint.c:
14154         Remove warnings.
14156 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
14158         This plugs some leaks. Thanks to
14159         Bruce Mitchener <bruce@cybersight.com> for running
14160         Dia through purify for me.
14161         
14162         * app/app_procs.c:
14163         Free displays and diagrams on exit.
14165         * app/modify_tool.c:
14166         Free gc when freeing tool.
14168         * lib/diagramdata.c:
14169         Free layer name.
14170         
14171         * app/display.c:
14172         Free update and display lists when destroying display.
14173         
14174         * lib/diagramdata.c:
14175         Don't leak layer name.
14177         * objects/custom/load_sheet.c: 
14178         * objects/custom/shape_info.c:
14179         Free loaded xml documents.
14181 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
14183         * app/commands.c:
14184         * app/object_ops.[ch]:
14185         Add undo handling to alignment ops.
14186         Based partially on patch by Dan Cohn <dan@internap.com>.
14188         * objects/standard/image.c (image_move_handle):
14189         Don't divide by zero for small images.
14190         Patch by Dan Cohn <dan@internap.com>.
14192         * objects/UML/class.c (umlclass_destroy): 
14193         * objects/custom/custom_object.c (custom_destroy):
14194         Don't free connectionpoints before calling element_destroy
14195         which unconnects them.
14197 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
14199         * objects/custom/custom_object.c: 
14200         Load and save padding too. Fixes strange load crashes.
14202         * app/group.c (group_destroy):
14203         Don't unconnect already freed connectionpoints when
14204         destroying group. Probably fixes bug reported by
14205         Elliot Lee <sopwith@redhat.com>.
14207         * app/render_gdk.c:
14208         Don't crash on zero-size (broken) bezier curves.
14209         Different sort of fix. This should work on closed bezier curves
14210         too.
14212         * objects/standard/textobj.c:
14213         Activate default properties dialog for Text objects.
14215         * app/render_eps.c: 
14216         * app/load_save.c:
14217         * app/preferences.c:
14218         * app/render_svg.c:
14219         fopen files in binary or text mode.
14221 1999-10-26  Alexander Larsson  <alex@cendio.se>
14223         * app/render_gdk.c (bezier_add_lines):
14224         Don't crash on zero-size (broken) bezier curves.
14225         Fixes a crashing bug.
14227 1999-10-25  James Henstridge  <james@daa.com.au>
14229         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
14230         before it is installed.
14232         * objects/flowchart/flowchart.c: use relative paths to find shapes.
14234         * objects/custom/custom.c (custom_object_load): take file names
14235         relative to $(pkgdatadir)/shape-internal, and check an environment
14236         variable for an alternative directory.
14238         * app/...: added copyright messages to the top of my new code.
14240         * app/paginate_psprint.c: some general clean ups.  Also, give an error
14241         dialog if we can't open the command or output file for writing.
14243         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
14244         function so it would set orientation to landscape correctly.
14246         * app/paginate_psprint.c: use the paper settings that come with
14247         the diagram.  Also implemented landscape printing.
14249         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
14250         in PS header.
14252         * app/commands.[ch] (file_pagesetup_callback): added callback for
14253         the page setup dialog.
14255         * app/menus.c: added page setup menu item.
14257         * app/pagesetup.[ch]: implementation of the page setup dialog.
14259         * app/diapagelayout.[ch]: added accessors for the scaling factor.
14260         
14261         * app/load_save.c (diagram_load): load paper information from save
14262         file.
14263         (diagram_save): save the paper info.
14265         * lib/diagramdata.c (new_diagram_data): initialise paper info section
14266         of DiagramData structure.
14267         (diagram_data_destroy): free the paper name.
14269         * lib/diagramdata.h: added a paper member to the DiagramData structure
14270         that holds the page layout info for a diagram.
14272 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
14274         * objects/flowchart/box.c:
14275         * objects/flowchart/ellipse.c:
14276         * objects/flowchart/diamond.c:
14277         * objects/flowchart/parallelogram.c:
14278         Load and save padding too. Fixes strange load crashes.
14280 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
14282         * app/app_procs.c (name_is_lib):
14283         .dll, .sl and .so.0.0.0 are also libraries.
14285 1999-10-20  James Henstridge  <james@daa.com.au>
14287         * configure.in: added extra makefile.
14288         
14289         * shapes/Circuit_eu/*: a new set of european circuit shapes from
14290         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
14291         (added fuses to makefile, fill the area of some of the components).
14293 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
14295         * lib/Makefile.am:
14296         * app/Makefile.am: 
14297         Add GDK_IMLIB_CFLAGS to includes.
14298         Changed --export-dynamic to -export-dynamic
14300         * lib/widgets.c:
14301         * objects/UML/message.c:
14302         Removed c++ comment.
14304         * lib/render_store.[ch]:
14305         Don't use empty structure. That is not Ansi C.
14307 1999-10-19  James Henstridge  <james@daa.com.au>
14309         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
14310         the margin entries, as they allow interpretation of units.
14311         (paper_size_change): display the current page dimensions.
14313         * app/diaunitspinner.[ch]: a widget derived from the standard
14314         GtkSpinButton that tries to take units into account.  So if you enter
14315         "1in" into the entry, it will convert it to 2.54cm.
14317 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
14319         * app/app_procs.c:
14320         Removed include of dlfcn.h
14322 1999-10-18  James Henstridge  <james@daa.com.au>
14324         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
14325         bound on margin widths.  It is set to the paper width/height.
14327         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
14328         routine for the diamond.  This bug was found and fixed by Daniel Wang
14329         <danwang@CS.Princeton.EDU>
14331 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
14333         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
14334         remove warning (OS/2 version).
14336 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
14338         * README:
14339         Put a pointer to objects/custom/README.
14340         
14341 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
14343         * dia.spec:
14344         Updated version to 0.80
14346         * configure.in:
14347         Updated version to 0.80cvs
14349 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
14351         * Released Dia 0.80
14352         Tag called DIA_0_80
14353         
14354 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
14356         * app/Makefile.am
14357         * lib/Makefile.am
14358         * objects/UML/Makefile.am
14359         * objects/ER/Makefile.am
14360         * objects/network/Makefile.am
14361         * objects/standard/Makefile.am
14362         * objects/FS/Makefile.am
14363         * objects/sybase/Makefile.am
14364         * objects/flowchart/Makefile.am
14365         * objects/custom/Makefile.am
14366         Added -I$(top_srcdir)/intl which is needed for
14367         --with-included-gettext.
14369         * POTFILES.in
14370         Updated.
14371         
14372         * po/sv.po
14373         Updated swedish translation.
14375 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
14377         * configure.in:
14378         Updated version number to 0.80.
14380         * KNOWN_BUGS:
14381         New file.
14383         * TODO:
14384         Updated. Moved bugs to KNOWN_BUGS.
14386         * NEWS:
14387         Updated with 0.80 release notes.
14388         
14389 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
14390         
14391         * lib/orth_conn.c:
14392         For backwards compatibility, make sure handle 0 and 1 are the
14393         first and last handle. Fixes compatibility with 0.41, breaks
14394         compatibility with cvs version.
14395         Fixed bug in undo/redo of adding deleting endpoint segments
14396         when the endpoint was connected.
14397         Start OrthConn objects with three segments.
14399 1999-10-16  James Henstridge  <james@daa.com.au>
14401         * objects/custom/custom_object.c (custom_update_data): changed
14402         resizing behaviour a bit so that shapes don't grow huge when you try
14403         to resize them to smaller than the size required by the text box.
14404         Also, now shapes will not grow with fixed aspect ratio when you enter
14405         text into them unless the shape has the fixed aspect ratio flag set.
14407 1999-10-15  James Henstridge  <james@daa.com.au>
14409         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14411         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14413         * objects/flowchart/magdrum.shape: 
14414         * objects/flowchart/offlinestore.shape: 
14415         * objects/flowchart/punchedtape.shape: 
14416         * objects/flowchart/transmittape.shape: 
14417         * objects/flowchart/punchedcard.shape: new shapes.
14419         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14421         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14423         * objects/flowchart/collate.shape:
14424         * objects/flowchart/delay.shape:
14425         * objects/flowchart/extract.shape:
14426         * objects/flowchart/intstorage.shape:
14427         * objects/flowchart/magdisk.shape:
14428         * objects/flowchart/magtape.shape:
14429         * objects/flowchart/merge.shape:
14430         * objects/flowchart/or.shape:
14431         * objects/flowchart/sort.shape:
14432         * objects/flowchart/sumjunction.shape: new shapes.
14434 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
14436         * TODO (BUGS):
14437         Added bug:
14438         Entering an erronous command as print command
14439         crashes dia.
14441         * app/paginate_psprint.c:
14442         Save all print dialog values for next time.
14443         
14444         * app/Makefile.am:
14445         Remove custom lib from DIA_LIB_PATH.
14447 1999-10-14  James Henstridge  <james@daa.com.au>
14449         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14451         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14452         
14453         * objects/flowchart/offpageconn.shape: 
14454         * objects/flowchart/manualop.shape: 
14455         * objects/flowchart/preparation.shape: 
14456         * objects/flowchart/manualinput.shape: 
14457         * objects/flowchart/predefdproc.shape: 
14458         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
14460 1999-10-13  James Henstridge  <james@daa.com.au>
14462         * app/diapagelayout.[ch]: added accessors to paper information.  The
14463         widget should be just about complete now.
14465         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
14466         It actually does something now.
14468 1999-10-12  James Henstridge  <james@daa.com.au>
14470         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
14471         for the page layout widget.
14473         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
14474         built yet as it is not complete.
14476         * objects/flowchart/flowchart.c: added new shapes to sheet.
14478         * objects/flowchart/display.shape:
14479         * objects/flowchart/transaction.shape: new shapes.
14481         * AUTHORS: added my name to the spec file.
14483         * dia.spec: include the dia desktop entry to the spec file.
14485         * Makefile.am: install the dia.desktop file.
14487         * dia.desktop: added a gnome desktop entry so you can start dia
14488         from the gnome panel menu.
14490 1999-10-11  James Henstridge  <james@daa.com.au>
14492         * objects/custom/custom_object.c:
14493         * objects/custom/shape_info.c: warning fixes.
14495         * objects/flowchart/document.shape: a shape file for the `document'
14496         flowchart shape.
14498         * lib/custom.h: new header with the custom shape prototypes.
14500         * app/app_procs.c: register custom objects as well.
14501         (register_objects_in): close shared libraries if they don't load
14502         correctly, and call g_module_make_resident on libraries that load
14503         correctly.
14505         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
14507         * objects/custom/custom.c: removed get_version, added custom_ prefix
14508         to register_objects and register_sheets.
14510         * objects/custom/Makefile.am: converted to a normal library.
14512 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
14514         * app/lineprops_area.c:
14515         * app/render_svg.c:
14516         * lib/objchange.c:
14517         * objects/custom/shape_info.c:
14518         * objects/flowchart/box.c:
14519         * objects/flowchart/diamond.c:
14520         * objects/flowchart/ellipse.c:
14521         * objects/flowchart/parallelogram.c:
14522         * objects/network/flash.c:
14523         * objects/network/scead-plug.c:
14524         * objects/sybase/client.c:
14525         Removed -Wall warnings.
14526         
14527         * objects/network/bus.c:
14528         Removed unused functions.
14530         * objects/FS/flow-ortho.c:
14531         * objects/FS/flow-poly.c:
14532         * objects/FS/flow.c:
14533         * objects/FS/function.c:
14534         
14535         Implemented "non-implemented" undo for FS objects.
14536         Now at least it won't crash.
14537         
14538 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
14540         * objects/network/bus.c:
14541         Implemented undo.
14542         Handles are now added and removed using the object menu.
14543         Default to 6 handles instead of 10.
14544         Changed name from "Standard - Bus" to "Network - Bus". Kept old
14545         name for backwards compatibility.
14547         * objects/network/network.c:
14548         Changed name from "Standard - Bus" to "Network - Bus". Kept old
14549         name for backwards compatibility.
14551         * app/properties.[ch]:
14552         * app/undo.c:
14553         Update properties in properties dialog if the shown object
14554         is part of and ObjectChange (undo or redo).
14556         * lib/poly_conn.c:
14557         Remove old known bugs list.
14559         * objects/UML/class_dialog.c:
14560         Removed debug printf's.
14562 1999-10-10  James Henstridge  <james@daa.com.au>
14564         * objects/custom/custom.c (custom_object_load): new function that
14565         provides a nice entry point to the custom shape code for when it
14566         gets used by other libraries.
14568         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
14569         speeds builds up a bit.
14571         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
14572         (SUBDIRS): do not descend into pixmaps subdirs.
14574         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
14575         This speeds up build process.
14577         * objects/custom/custom.c (sheets): made variable static.
14579         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
14580         renamed function.
14582         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
14584         * objects/custom/custom.c: look in ~/.shapes instead of
14585         ~/.dia_shapes as the per-user shapes directory.
14587         * app/preferences.c (prefs_save): save config to ~/.diarc.
14588         (prefs_load): load configuration from ~/.diarc.  If the file
14589         does not exist, fallback on the old ~/.diarc location.
14591         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
14592         on startup.
14593         (register_all_objects): look for user specific objects in
14594         ~/.objects rather than ~/.dia_libs.
14596 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
14598         * configure.in:
14599         * app_procs.c:
14600         * objects/flowchart/box.c
14601         * objects/flowchart/ellipse.c
14602         * objects/flowchart/flowchart.c 
14603         Use gmodule for dynamic linking. As gmodule is using
14604         RTLD_GLOBAL i had to change flowchart box and ellipse
14605         so the typenames doesn't conflict with the standard
14606         box and ellipse.
14608         * message.c
14609         * commands.c
14610         Use button box to make dialogs look better.
14612 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
14614         * objects/UML/class_dialog.c:
14615         * objects/UML/class.h:
14616         Implemented undo for "UML - Class" objects.
14617         Not 100% tested yet.
14619         * objects/UML/classicon.c:
14620         * objects/UML/constraint.c:
14621         * objects/UML/dependency.c:
14622         * objects/UML/generalization.c:
14623         * objects/UML/implements.c:
14624         * objects/UML/large_package.c:
14625         * objects/UML/lifeline.c:
14626         * objects/UML/message.c:
14627         * objects/UML/object.c:
14628         * objects/UML/realizes.c:
14629         * objects/UML/state.c:
14630         * objects/UML/usecase.c:
14631         Removed warnings.
14632         
14633         * lib/connectionpoint.h:
14634         Fixed typo.
14635         
14636 1999-10-09  James Henstridge  <james@daa.com.au>
14638         * objects/custom/*.[ch]: added copyright notices to custom object
14639         files.
14641         * shapes/Circuit/hdiode.shape:
14642         * shapes/Circuit/hzener.shape: 
14643         * shapes/Circuit/opamp.shape:
14644         * shapes/Circuit/vdiode.shape:
14645         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
14646         shapes look nice after the custom shape code changes.
14648         * objects/custom/README: updated docs to cover changes to drawing
14649         code.
14651         * objects/custom/custom_object.c (custom_draw): honour the line
14652         properties when drawing the shape.
14654         * objects/custom/shape_info.[ch]: added support for setting line
14655         properties for individual drawing elements in a custom shape.  You
14656         can set the dash style, dash length, cap style and join style.
14658 1999-10-07  James Henstridge  <james@daa.com.au>
14660         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
14661         for foreground and background.
14663         * objects/custom/custom_object.c (custom_draw): use the new style
14664         information when drawing the object.
14666         * objects/custom/shape_info.[ch]: store all shape style info in the
14667         GraphicStyle structure.  This makes adding support for extra CSS
14668         attributes easier -- we don't have to keep adding extra arguments to
14669         a lot of functions.
14671 1999-10-05  James Henstridge  <james@daa.com.au>
14673         * lib/intl.c (unalias_lang): merged in changes from the i18n code
14674         swiped from gnome-libs.
14676 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
14678         * objects/standard/image.c (get_directory):
14679         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
14681 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
14683         * lib/poly_conn.c (polyconn_destroy):
14684         Fix bug. Access of freed memory.
14685         Rememeber, you can't free the handles of an object
14686         before calling object_destroy(), as it unconnects the handles
14687         therefore referencing them.
14689 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
14691         * app/undo.c:
14692         undo_clear() didn't set stack->depth to zero.
14693         This made other undo functions crash after this had been called
14694         on a "full" stack.
14695         
14696         * dia.xpm:
14697         Slightly modified by Chris Love <clove@exactis.com>
14699 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
14701         * objects/UML/class.h: 
14702         * objects/UML/class_dialog.c:
14703         Retrun NULL ObjectChange on class property change.
14704         This means no crashes, but "UML - Class" doesn't support undo yet.
14705         
14706 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
14707         
14708         * lib/text.c:
14709         Indentation fix.
14711         * objects/UML/classicon.c:
14712         * objects/UML/dependency.c:
14713         * objects/UML/generalization.c:
14714         * objects/UML/implements.c:
14715         * objects/UML/large_package.c:
14716         * objects/UML/lifeline.c:
14717         * objects/UML/message.c:
14718         * objects/UML/object.c:
14719         * objects/UML/realizes.c:
14720         * objects/UML/state.c:
14721         * objects/UML/usecase.c:
14722         Update to new undo (w. get/set_state).
14723         Add object menu to add/delete segments.
14725 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
14727         * app/menus.c:
14728         Add equal distance alignment.
14730         * app/object_ops.c:
14731         Add equal distance alignment.
14732         Fix bug in adjacent alignment.
14734 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
14736         * objects/UML/constraint.c: 
14737         Update to new undo (w. get/set_state).
14739 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
14741         * app/paginate_psprint.c:
14742         Save (parts, more todo) of the info in the print dialog to the
14743         next time it's opened.
14744         Patch from Yo Ric Dude <ricdude@toad.net>
14746 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
14748         * configure.in:
14749         Updated version string to 0.41cvs.
14751         * objects/UML/assocition.c:
14752         Update to new undo (w. get/set_state).
14753         Add object menu to add/delete segments.
14755         * app/app_procs.c:
14756         Added function debug_break() and called it after all
14757         objects and sheets are loaded. Place a breakpoint here if you
14758         want to debug objects. All symbols should be loaded.
14760 1999-09-12  James Henstridge  <james@daa.com.au>
14762         * app/menus.c (display_menu_items): added print menu item.
14763         (filemenu): always add print menu item -- even if gnome-print is
14764         not installed.
14766         * app/commands.h, app/commands.c (file_print_callback): the print
14767         menu item is now available for both gnome-print and non gnome-print
14768         setups.
14770         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
14771         print with the non gnome-print driver.
14773 1999-09-11  James Henstridge  <james@daa.com.au>
14775         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
14776         printer dialog code out of commands.c.
14778         * app/paginate_psprint.c: new file containing the pagination code for
14779         psprint.
14781         * app/render_eps.c: made a few modifications so as well as producing
14782         EPS files, this renderer can be set up to do postscript printing.
14783         This basically entailed adding an extra function to create a RenderEPS
14784         renderer which did not bother setting the viewport for the document.
14785         That was left for the pagination code.
14787 1999-09-10  James Henstridge  <james@daa.com.au>
14789         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
14790         gnome-print does not support elliptic arcs at the moment, approximate
14791         the ellipse with eight bezier curves.  This gives a pretty good
14792         match to a true ellipse.
14794 1999-09-09  James Henstridge  <james@daa.com.au>
14796         * app/commands.c (file_gnome_print_callback): added support for
14797         scaling the diagram.  Also fixed a few other bugs.
14799         * app/paginate_gnomeprint.c (print_page): added ability to scale
14800         document.  Fixed up test to see if the page has no objects on it.
14801         This should prevent some blank pages being printed.  Non square
14802         objects such as lines could still cause problems.
14804 1999-09-08  James Henstridge  <james@daa.com.au>
14806         * app/commands.c (file_gnome_print_callback): changed from using the
14807         standard printer selection dialog to one that also has a paper size
14808         selector as well.
14810         * commands.[ch]: added callbacks for the print menu item.  Currently
14811         it only does A4 output.  I will make it configurable soon.
14812         
14813         * app/menus.c: add a print diagram menu item if gnome-print support
14814         is enabled.
14815         
14816         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
14817         bit higher level than the gnome-print renderer.  It splits the
14818         diagram into page size chunks and then renders them.  For each
14819         page, it only renders the objects whose bounding box intersects
14820         the page, and it sets the clip mask so that the diagram does not
14821         overlap the margins.
14822         
14823         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
14824         that uses gnome-print as its back end.
14825         
14826         * configure.in: added a check for gnome-print.  It is disabled by
14827         default because the code is not really working correctly yet.
14829         * app/menus.c: the delete object menu item was missing from the
14830         GnomeUIInfo style menus.
14832 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
14834         * configure.in
14835         Added japanese to ALL_LINGUAS.
14836         Fix for Linux on Alpha.
14838 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
14840         * app/create_object.c (create_object_button_press):
14841         Always initialize tool->obj. Otherwise we store a null
14842         in the undo Change.
14844         * lib/text.c:
14845         Set linestyle before drawing cursor.
14846         Fix undo of backwards delete.
14848 1999-09-05  James Henstridge  <james@daa.com.au>
14850         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
14852         * app/render_svg.c (draw_image): some fixes so that the appropriate
14853         style attributes are set.  Before it was setting line styles on
14854         fill_* functions.  Now it only does this for the draw_* variants.
14856         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
14857         variable so that custom shapes can be loaded.
14859         * shapes/: new directory for custom shapes.  The Circuit sheet has
14860         been moved here.
14862 1999-09-02  James Henstridge  <james@daa.com.au>
14864         * TODO: removed a few todo items that have been implemented.
14866         * app/interface.c (create_sheets): enabled the popup page menu to the
14867         notebook.  This can make it easier to select different sheets.
14869         * object/custom/Circuit/: added diode, zener diode, ground point and
14870         operational amplifier shapes.
14871         
14872         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
14873         if you want the output.
14875         * objects/custom/shape_info.c (parse_path): same here.
14877         * objects/custom/load_sheet.c (load_with_readdir): don't print so
14878         much debugging output.  To get the previous level of output, define
14879         DEBUG_CUSTOM.
14881         * objects/custom/shape_info.c (parse_svg_node): polygons were being
14882         recorded as polylines in the ShapeInfo structure.
14884         * objects/custom/README: some notes on writing new custom shapes.
14885         
14886 1999-09-01  James Henstridge  <james@daa.com.au>
14888         * objects/custom/Circuit/hinductor.*:
14889         * objects/custom/Circuit/vinductor.*: added inductor shapes that
14890         also test out the bezier curve and SVG path support.
14891         
14892         * objects/custom/custom_object.c (custom_draw): added support for
14893         drawing bezier paths and filled shapes.
14895         * objects/custom/shape_info.c (parse_path): new function to parse
14896         SVG path elements.  It does not do quadratic beziers or elliptic
14897         arcs though.  Only moves, lines and cubic beziers.
14898         (*): added support for paths.
14900 1999-08-31  James Henstridge  <james@daa.com.au>
14902         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
14904         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
14905         interface
14907         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
14908         interface
14910         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
14911         interface.
14913         * lib/render_store.[ch]: use newer bezier functions.
14915         * lib/render.h: changed the bezier drawing functions to use an array
14916         of BezPoint structures instead of normal Point structures to allow
14917         lineto's mixed in with the curveto's.
14918         
14919         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
14920         
14921         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
14922         xpm images for different shapes to Makefile.
14924         * objects/custom/custom_object.c (custom_object_new): set the icon
14925         for the sheet button if there is one.  Otherwise fall back on the
14926         default custom object icon.
14928         * objects/custom/shape_info.c (load_shape_info): read the sheet
14929         icon name from the shape file.
14931         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
14932         check the pixmap_file field for the name of a pixmap file to load
14933         for the tool.
14935         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
14936         at the end of the structure, and it isn't used if the pixmap field
14937         is non NULL, so it should not break binary compatibility.
14939         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
14940         added support for the use of an index.sheet file so you can specify
14941         the ordering of the shapes in the sheet, and also internationalise
14942         the sheet name and actually be able to give a description.  The old
14943         readdir based sheet loading code acts as a fallback if an index.sheet
14944         file can not be found.
14946         * objects/custom/custom_util.[ch]: new file containing useful routines
14947         needed by the custom object code.  Currently only contains a simple
14948         routine for resolving relative paths.
14950         * objects/custom/custom_object.c (custom_draw): fixed problem with
14951         drawing rectangles if the shape has been flipped.
14953 1999-08-30  James Henstridge  <james@daa.com.au>
14955         * objects/custom/custom_object.c (custom_get_object_menu): allow
14956         flipping of custom shapes.  This uses the miggle click object
14957         menu.
14959         * objects/custom/Circuit/npn.shape: fix aspect ratio.
14961         * objects/custom/custom_object.c (custom_update_data): honour the
14962         aspect ratio constraints.
14964         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
14965         tag parsing, so you can specify a free, fixed or a range for aspect
14966         ratios for the shape.
14968 1999-08-29  James Henstridge  <james@daa.com.au>
14970         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
14971         up shape namespace tag.
14973         * objects/custom/shape_info.c (load_shape_info): check xml:lang
14974         attribute on <description> elements to support i18n for custom
14975         shape descriptions.
14976         Also changed the shape namespace for custom shapes to something
14977         a little more sensible.
14979         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
14981         * lib/intl.c: new file containing some functions for i18n stuff.
14983         * app/layer_dialog.c (create_button_box): fixed a warning.
14985         * objects/custom/custom_object.c: use current line style.  Save dash
14986         length.
14988         * objects/flowchart/diamond.c: use current line style.  Save dash
14989         length.
14991         * objects/flowchart/parallelogram.c: use current line style.  Save
14992         dash length.
14994         * objects/flowchart/ellipse.c: use current line style.  Save dash
14995         length.
14997         * objects/flowchart/box.c: use current line style.  Save dash length.
14999         * objects/standard/ellipse.c: make ellipse use current line style.
15001         * objects/standard/box.c: use the line style set in the toolbox for
15002         new boxes, and remember the dash length.
15004         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
15005         rulers.
15007 1999-08-24  James Henstridge  <james@daa.com.au>
15009         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
15010         to try to stop ellipse to get infinite width/height when we resize,
15011         while trying to keep the text inside the ellipse.
15013         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
15014         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
15015         resizing behaviour, so that you can't push objects round the screen
15016         with the resize handles.
15018         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
15019         get the OK buttons in the dialogs to take default clicks.
15021         * objects/custom/custom_object.c: added code so that resizing the
15022         shape does not end up pushing it round the screen.
15024 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
15026         * app/display.[ch]:
15027         Generate rectangle with the union of the damaged regions.
15028         This is used to optimize the grid paint and the object rendering.
15029         display_render_pixmap passes this info to grid_draw() and data_render().
15031         * app/grid.[ch]:
15032         grid_draw doesn't draw grid lines outside of damaged rectangle.
15033         Sets dashlength when drawing non-solid grid.
15034         
15035         * lib/diagramdata.[ch]:
15036         data_render() and layer_render() takes an optional damaged rectangle
15037         argument. No objects not intersecting this are drawn.
15039         * app/diagram.c:
15040         Fix warning.
15041         Call data_render with NULL update rectangle.
15042         
15043 1999-08-23  James Henstridge  <james@daa.com.au>
15045         * objects/custom/custom_object.c (custom_update_data): if the aspect
15046         ratio is fixed, make sure the shape is not distorted.
15048         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
15049         a <fixaspectratio/> tag is given in the shape file.
15051         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
15052         added support for stroke-width, stroke and fill CSS attributes
15053         specified in style attributes of the SVG elements.  The line width
15054         is relative to the user specified line width.  The stroke and fill
15055         attributes can only be used to swap the foreground/background
15056         colours.
15058         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
15059         sensitivity on the dash length selector when this function is called.
15061         * objects/standard/arc.c: same.  Also handle dash length.
15062         * objects/standard/zigzagline.c: same.
15063         * objects/standard/polyline.c: same.  Also handle dash length.
15064         * objects/standard/line.c: use default arrow/line styles.
15066         * app/interface.c: added callbacks to set the default attributes.
15068         * lib/attributes.c: added implementations of these functions.
15070         * lib/attributes.h: added extra prototypes for the new line properties
15071         area in the toolbox.
15073         * app/interface.c (create_lineprops_area): added line properties
15074         area to bottom of toolbox.
15076         * app/lineprops_area.h: a header exporting a few routines of the
15077         line properties area widgets.
15079         * app/lineprops_area.c: new file containing a selector for arrows
15080         and line styles to go in the main toolbox.
15082 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
15084         * HACKING:
15085         Update Gtk+ 1.0.5 comment to 1.2.0.
15087         * INSTALL:
15088         Demand libtool 1.3
15090         * acconfig.h:
15091         Add HAVE_LIBPOPT
15093         * configure.in:
15094         Make sure we don't propagate -ldl and -lpopt to all LIBS
15095         by adding new var APP_LIBS that only app/dia links with.
15096                 
15097         * app/Makefile.am:
15098         Update run_dia.sh to load custom and flowchart objects.
15100         * objects/ER/Makefile.am:
15101         * objects/FS/Makefile.am:
15102         * objects/UML/Makefile.am:
15103         * objects/network/Makefile.am:
15104         * objects/standard/Makefile.am:
15105         * objects/sybase/Makefile.am:
15106         Don't build versioned libs.     
15107         
15108 1999-08-22  James Henstridge  <james@daa.com.au>
15110         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
15111         list.
15113         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
15114         should actually work a bit now.
15116         * objects/custom/Circuit/*: a test sheet for the custom shape code.
15117         It is a small collection of circuit elements.
15119         * objects/custom/shape_info.c: fixed up loading of polylines and
15120         polygons.  Before it was removing negative signs :(
15122         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
15123         placeholder was here before.  I still need to work out how to set
15124         icons for individual custom shapes.
15125         
15126         * objects/custom/custom.c: added code to load the shapes into sheets
15127         properly.  The shape files should be arranged into directories, and
15128         each directory represents a different sheet in the toolbox.  This
15129         will make it very easy to distribute a collection of dia shapes as
15130         a tarball.  I still need to work out internationalisation, and maybe
15131         also shape ordering in the sheet.
15133         * objects/custom/custom_object.c: fixed up dialogs for these objects.
15134         (custom_create): fix for objects without text areas.
15136         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
15137         and saving of custom object works correctly now.
15139 1999-08-21  James Henstridge  <james@daa.com.au>
15141         * objects/flowchart/ellipse.c: 
15142         * objects/flowchart/diamond.c: 
15143         * objects/flowchart/parallelogram.c: 
15144         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
15145         copying or loading these object types.  Not all the connection
15146         points would be initialised correctly.
15148         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
15149         similar here.
15151         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
15152         build a versioned library.  It will only ever be dlopen'd, so this
15153         is not a problem.
15155         * objects/custom/custom_object.c (custom_distance_from): allow
15156         selecting the object by clicking on the text.  This fixes problems
15157         where the text box is outside the graphic.
15159         * objects/custom/shape_info.c (load_shape_info): fixed up reading
15160         of connections points.  It should be possible to add connections
15161         to custom objects now.
15163         * objects/custom/custom_object.c (custom_update_data): fixed resizing
15164         due to changes to text.
15166         * configure.in: added extra makefiles.
15167         
15168         * objects/custom/shape_info.[ch]:
15169         * objects/custom/custom_object.c:
15170         * objects/custom/custom.c: the starts of custom shape support in dia.
15171         This is not built by default at the moment, since it is not quite
15172         complete.  When it is, it will let you create more shapes for dia
15173         without writing a line of C.  Its implementation includes buzzwords
15174         such as XML and SVG, so it must be good :)
15176 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
15178         * app/app_procs.c (app_exit): Use button labels "Quit" and
15179         "Cancel" instead of "Yes" and "No".
15180         Set default action to "Cancel" instead of "Quit".
15182 1999-08-19  James Henstridge  <james@daa.com.au>
15184         * objects/flowchart/flowchart.c: added ellipse object.
15185         
15186         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
15188 1999-08-18  James Henstridge  <james@daa.com.au>d
15190         * app/color_area.c (color_area_edit): small fix to prevent dia from
15191         segfaulting when you try to change the default foreground/background.
15193 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
15195         * app/diagram.[ch] (diagram_redraw_all):
15196         Added function that redraws all diagrams.
15198         * app/preferences.c (prefs_apply):
15199         Call diagram_redraw_all when prefs are changed.
15201         * app/render_svg.c:
15202         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
15203         older libxml's, and the old version works good enought here.
15204         
15205 1999-08-17  James Henstridge  <james@daa.com.au>
15207         * lib/widgets.c: changed handlers that were connected to the GtkButton
15208         "pressed" signal to connect to the "clicked" signal.  This removes the
15209         problem where dialogs are inactive until you click a mouse button
15210         after using a colour selector.
15212         * configure.in: added extra makefiles to AC_OUTPUT list.
15213         
15214         * objects/Makefile.am (SUBDIRS): added flowchart module
15216         * objects/flowchart/*: a collection of shapes for use in flowcharts.
15218         * app/color_area.c (color_area_events): similar here.
15220         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
15221         event is recieved with event->width == 0, which causes a warning if we
15222         try to create a pixmap of that width.
15224         * app/preferences.c, app/preferences.h, app/grid.c: added code to
15225         allow you to configure the colour of the grid, and also lets you
15226         set the grid to use dotted lines instead of solid ones.
15227         
15228         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
15229         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
15230         
15231         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
15232         export filter.  It is not quite complete, but for most shapes it
15233         works as expected.  Fonts still need a bit of work.
15235 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
15237         * configure.in: Added "en_GB" to ALL_LINGUAS.
15239 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
15241         * menus.c
15242         Added Undo and Redo to GNOME menus.
15243         
15244         * objects/ER/attribute.c:
15245         * objects/ER/entity.c:
15246         * objects/ER/participation.c:
15247         * objects/ER/relationship.c:
15248         Added get/set_state functions.
15250         * objects/ER/participation.c:
15251         Added add/delete segment.
15253         * po/sv.po
15254         Updated Swedish translation.
15256 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15258         * app/preferences.[hc]:
15259         Added undo_depth pref.
15260         
15261         * app/undo.[ch]:
15262         Never grow stack larger than pref.undo_depth.
15263         undo_depth == 0 means unlimited.
15264         Converted printfs to conditionally compiled DEBUG_PRINTFs.
15265         
15266 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15268         * app/diagram.c:
15269         * app/group.c:
15270         * lib/object.h:
15271         * lib/render_object.c:
15272         * objects/ER/attribute.c:
15273         * objects/ER/entity.c:
15274         * objects/ER/participation.c:
15275         * objects/ER/relationship.c:
15276         * objects/FS/flow-ortho.c:
15277         * objects/FS/flow-poly.c:
15278         * objects/FS/flow.c:
15279         * objects/FS/function.c:
15280         * objects/UML/actor.c:
15281         * objects/UML/association.c:
15282         * objects/UML/class.c:
15283         * objects/UML/classicon.c:
15284         * objects/UML/component.c:
15285         * objects/UML/constraint.c:
15286         * objects/UML/dependency.c:
15287         * objects/UML/generalization.c:
15288         * objects/UML/implements.c:
15289         * objects/UML/large_package.c:
15290         * objects/UML/lifeline.c:
15291         * objects/UML/message.c:
15292         * objects/UML/note.c:
15293         * objects/UML/object.c:
15294         * objects/UML/realizes.c:
15295         * objects/UML/small_package.c:
15296         * objects/UML/state.c:
15297         * objects/UML/usecase.c:
15298         * objects/network/bus.c:
15299         * objects/standard/arc.c:
15300         * objects/standard/box.c:
15301         * objects/standard/ellipse.c:
15302         * objects/standard/image.c:
15303         * objects/standard/line.c:
15304         * objects/standard/polyline.c:
15305         * objects/standard/textobj.c:
15306         * objects/standard/zigzagline.c:
15307         Removed all traces of is_empty(). It doesn't work in an
15308         Undo/Redo world.
15310 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15312         * app/diagram.c:
15313         * app/group.[ch]:
15314         * app/undo.[ch]:
15315         Undoable grouping and ungrouping.
15317         * app/layer_dialog.c:
15318         * lib/diagramdata.[ch]:
15319         Undoable layer ops.
15321         * app/modify_tool.c:
15322         Undoable unconnect on handle move.
15324         * lib/orth_conn.[ch]:
15325         Working undoable add/remove segment.
15326         Removed endpoint_handles from OrthConn, renamed
15327         midpoint_handles to handles and put the endpoint
15328         handles there.
15330         * objects/standard/zigzagline.c:
15331         * objects/ER/participation.c:
15332         * objects/UML/association.c:
15333         * objects/UML/dependency.c:
15334         * objects/UML/generalization.c:
15335         * objects/UML/realizes.c:
15336         Update for the changes in OrthConn
15337         
15338 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
15340         * configure.in: Added "de" to ALL_LINGUAS.
15342 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
15344         * dia.1:
15345         Fixed typo.
15347         * app/display.c:
15348         * po/da.po:
15349         * po/fr.po:
15350         * po/hu.po:
15351         * po/no.po:
15352         * po/pl.po:
15353         * po/sv.po:
15354         Don't have the <Display> etc part of the menu strings
15355         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15357         * app/diagram.c:
15358         Don't have the <Display> etc part of the menu strings
15359         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15360         Don't remove is_empty() objects, that don't work with undo.
15362         * lib/objchange.[ch]:
15363         New files.
15364         Definition of ObjectChange. This is essentially an Change
15365         exported to the object libs. It encapsulates a change made
15366         to an objects internals. It can be applied, reverted and freed.
15367         There are also utility functions for doing ObjectChanges that
15368         only get/set the whole state of an object to store the change.
15369         This cannot be used when the object change deletes or adds a
15370         object which has references from other objects, eg. Handles which
15371         might be connected.
15373         * lib/Makefile.am:
15374         Added objchange.c and objchange.h.
15376         * lib/dia_image.c:
15377         Return NULL when loading fails.
15379         * lib/diamenu.h:
15380         Menu callbacks return an ObjectChange.
15382         * lib/dummy_dep.h:
15383         Reference objchange.o
15385         * lib/focus.h:
15386         Key events return ObjectChange if they modify the object.
15388         
15389         * lib/object.h:
15390         Added object_add_handle_at() function.
15391         Apply properties returns an ObjectChange.
15392         Remove ObjectState and the get/set state functions, these
15393         don't always work. Use the new ObjectChange instead.
15394         
15395         * lib/object.c:
15396         Added object_add_handle_at() function implementation.
15397         
15398         * lib/orth_conn.[ch]:
15399         Use ObjectChange. Not finished yet.
15400         Removed get/set/free state functions
15402         * lib/poly_conn.[ch]:
15403         Use ObjectChange.
15404         Don't remove segments that are small.
15405         Removed get/set/free state functions
15407         * lib/text.[ch]:
15408         Use ObjectChange.
15409         Added functions to get/set all text attributes.
15411         * objects/standard/arc.c:
15412         * objects/standard/box.c:
15413         * objects/standard/ellipse.c:
15414         * objects/standard/image.c:
15415         * objects/standard/line.c:
15416         * objects/standard/polyline.c:
15417         * objects/standard/textobj.c:
15418         * objects/standard/zigzagline.c:
15419         Use ObjectChange.
15420         fixed bug in image_set_state.
15421         zigzagline.c not finished yet.
15423         * app/disp_callbacks.c:
15424         Use ObjectChange that are returned from menu callbacks and
15425         key_events for undo.
15427         * app/properties.c:
15428         Use ObjectChange that are returned from properties apply
15429         for undo.
15431         * app/undo.c:
15432         * app/undo.h:
15433         New undo type: ObjectChangeChange. This wraps a change to the
15434         internals of an object (and ObjectChange) in code that does
15435         app specific stuff (object_add_updates etc.)
15437 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
15439         * lib/orth_conn.[ch]:
15440         Added code for add/delete segment.
15442         * objects/standard/zigzagline.c:
15443         Use the new orth_conn code.
15444         
15446 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
15448         * objects/FS/Makefile.am
15449         Removed fs.h from sources.
15451         * Makefile.am
15452         * dia.1
15453         Added man page.
15455 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
15457         * app/disp_callbacks.c (ddisplay_canvas_events):
15458         Fix for bug. Every other arrow-key press got lost.
15459         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
15461         * INSTALL:
15462         change automake.sh to autogen.sh
15463         
15464 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
15466         * app/diagram.c:
15467         Don't remove 'empty' objects.
15468         This violent destruction of objects won't work
15469         with the new undo framework.
15471         * app/disp_callbacks.c:
15472         Save undo info for object menu calls and key_events.
15474         * app/properties.c:
15475         Save undo info on properties apply.
15477         * lib/dia_image.[ch]:
15478         Add refcounting for images.
15480         * app/render_eps.c:
15481         * app/render_gdk.c:
15482         * lib/render.h:
15483         DiaImage * -> DiaImage
15485         * app/undo.[ch]:
15486         Add undo functions for object state changes.
15488         * lib/focus.h:
15489         * lib/text.c:
15490         change of semntics for focus->key_event.
15491         Now returns TRUE if the object recieving the event
15492         was changed.
15494         * lib/object.h:
15495         Comment changes.
15497         * lib/orth_conn.[ch]:
15498         Don't automatically create and delete segments when
15499         handles are moved. This is incompatible with undo.
15500         Added state get, set and free functions.
15502         * lib/orth_conn.[ch]:
15503         Added state get, set and free functions.
15505         * objects/UML/object.c:
15506         * objects/UML/uml.c:
15507         Fixed typo "UML - Objet" -> "UML - Object".
15508         Saved old for backwards compatibility.
15510         * objects/standard/arc.c:
15511         * objects/standard/box.c:
15512         * objects/standard/ellipse.c:
15513         * objects/standard/image.c:
15514         * objects/standard/line.c:
15515         * objects/standard/polyline.c:
15516         * objects/standard/textobj.c:
15517         * objects/standard/zigzagline.c:
15518         Added get/set state functions.
15519         Textobj has a redo crash-bug.
15520         Zigzagline needs object menus to add segments.
15521         
15523 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
15525         * app/render_eps.c (set_dashlength):
15526         Don't generate eps files with zero dash-length.
15528 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
15530         * app/commands.c:
15531         * app/create_object.c:
15532         * app/undo.[ch]:
15533         Finished undo for create and paste.
15534         
15535         * lib/object.h:
15536         Started properties undo.
15538 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
15540         * TODO:
15541         Added resizeable groups.
15543         * app/app_procs.c:
15544         Removed unused variable.
15546         * app/commands.c:
15547         * app/undo.[ch]:
15548         Undo/redo for cut/delete done.
15550         * app/create_object.c:
15551         * app/modify_tool.c:
15552         * lib/diagramdata.[ch]:
15553         * app/diagram.[ch]:
15554         renamed diagram_add_selected -> diagram_select
15555         renamed diagram_remove_selected -> diagram_unselect
15556         
15557         * app/properties.[ch]:
15558         Added properties_hide_if_shown() function.
15560 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
15562         * app/undo.[ch]:
15563         * app/Makefile.am:
15564         Undo functions.
15565         
15566         * app/commands.[ch]
15567         * app/modify_tool.[ch]
15568         * app/object_ops.[ch]
15569         * app/connectionpoint_ops.c
15570         * app/menus.c
15571         Use undo functions.
15572         WARNING: Not finished. Will break.
15573         Finished: move object, move handle.
15575         * app/diagram.[ch]
15576         Added diagram_selected_break_external() function.
15577         It removes all connections between selected objects
15578         and non-selected.
15579         Add undo stack to Diagram.
15580         
15581         * lib/diagramdata.[ch]
15582         Added layer_remove_objects() function
15583         
15584 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
15586         * objects/FS/Makefile.am
15587         * objects/sybase/Makefile.am
15588         Now uses GNOME_CFLAGS.
15590         * app/app_procs.c
15591         Now compiles with GNOME even if popt.h isn't available.
15593 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
15595         * configure.in
15596         * objects/Makefile.am
15597         * objects/sybase/*
15598         First version of sybase objects from
15599         Brian Bruns <camber@umcc.ais.org>
15601 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
15603         * configure.in
15604         Added fr to ALL_LINGUAS
15606 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
15608         * configure.in
15609         * app/app_procs.c
15610         Popt-code is activated if popt is available.
15612 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
15614         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
15615         
15616         * lib/orth_conn.[ch]:
15617         Added orthconn_get_middle_handle()
15619         * lib/text.[ch]:
15620         Added text_set_cursor_at_end()
15621         
15622         * objects/FS/*
15623         Added first version of functions structure diagrams.
15624         
15625 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
15627         * app/modify_tool.c:
15628         Include math.h to remove warning.
15630         * app/commands.c (dialogs_properties_callback):
15631         Bring up correct properties dialog when selected
15632         from menu.
15633         From Dan Cohn <dan@internap.com>
15635 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
15637         Patch from Lars R. Clausen 
15638         
15639         * app/modify_tool.c:
15640         Changed abs to fabs.
15642 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
15644         * INSTALL: 
15645         * configure.in:
15646         Require Gtk+ 1.2.0
15648 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
15650         Patches from Dan Cohn <dan@internap.com>
15651         
15652         * app/commands.[ch]: 
15653         * app/display.[ch]: 
15654         * app/menus.c:
15655         * app/preferences.[ch]:
15656         Implements ability to turn on/off connection points in
15657         current drawing and in global prefs.
15659 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
15661         * lib/widgets.c (dia_line_style_selector_init): 
15662         Fixed warnings.
15663         
15664         * lib/diagramdata.c (layer_update_extents):
15665         Fixed uninitialized variable error.
15667 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
15669         * lib/dia_image.c:
15670         Made some changes to the gdk_imlib visual+colormap setup.
15672 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15674         * objects/UML/usecase.c: 
15675        * objects/UML/lifeline.c
15676         Fine tunning.
15678         * objects/UML/object.c: 
15679         * objects/UML/message.c: 
15680         Changed font from Courier to Helvetica.
15682         * lib/widgets.c: 
15683         * lib/widgets.h:
15684         Added dash lenth to the LineStyle widget.
15685         
15686         * objects/standard/ellipse.c :
15687         * objects/standard/zigzagline.c: 
15688         * objects/standard/line.c: 
15689         Added dash lenght property.
15691 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
15693         * app/render_eps.c:
15694         First shot at latin1 encoded eps files.
15695         Works, but the eps files get a bit large.
15696         
15697 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
15699         * objects/UML/class.[ch]: 
15700         * objects/UML/uml.[ch]:
15701         Reverted the line wrap changes.
15702         Some day this might return, but it has to be selectable and
15703         default to off for loaded objects, otherwise it breaks file
15704         format compatibility.
15705         There was also some complains about how it looked, so a making it
15706         selectable is good for this too.
15708 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
15710         * objects/UML/class.[ch]:
15711         Some indentation cleanup.
15712         Added wrap_lines variable to class.
15713         I'll fix the line break stuff tomorrow.
15715 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
15717         * lib/dummy_dep.h:
15718         Added ref to poly_conn.o.
15720         * objects/standard/polyline.c (polyline_draw): 
15721         * objects/standard/zigzagline.c (zigzagline_draw): 
15722         * objects/standard/arc.c (arc_draw): 
15723         * objects/standard/line.c (line_draw):
15724         Draw lines before arrows. This makes hollow arrows not
15725         show the line.
15727 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
15729         Changes from Kim Peasley <kpeasley@ior.com> 
15730                 
15731         * objects/UML/class.c:
15732         Break lines with long operations so classes won't be
15733         so wide.
15735         * objects/UML/uml.[ch]:
15736         Helperfunctions for the above.
15737         
15738         * objects/UML/objects.c:
15739         Fix bug that duplicated the text in the attributes
15740         textwidget each time the object was selected.
15741         
15742 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
15744         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
15745         
15746         * app/modify_tool.c:
15747         * app/modify_tool.h:
15748         Control-drag is restricted to vertical/horizontal movement
15749         
15750         * lib/object.h:
15751         ModifierKeys argument added to object_move_handle
15753         * app/connectionpoint_ops.c:
15754         * app/create_object.c:
15755         * app/object_ops.c:
15756         * objects/ER/attribute.c:
15757         * objects/ER/entity.c:
15758         * objects/ER/participation.c:
15759         * objects/ER/relationship.c:
15760         * objects/UML/actor.c:
15761         * objects/UML/association.c:
15762         * objects/UML/class.c:
15763         * objects/UML/classicon.c:
15764         * objects/UML/component.c:
15765         * objects/UML/constraint.c:
15766         * objects/UML/dependency.c:
15767         * objects/UML/generalization.c:
15768         * objects/UML/implements.c:
15769         * objects/UML/large_package.c:
15770         * objects/UML/lifeline.c:
15771         * objects/UML/message.c:
15772         * objects/UML/note.c:
15773         * objects/UML/object.c:
15774         * objects/UML/realizes.c:
15775         * objects/UML/small_package.c:
15776         * objects/UML/state.c:
15777         * objects/UML/usecase.c:
15778         * objects/network/bus.c:
15779         * objects/standard/arc.c:
15780         * objects/standard/box.c:
15781         * objects/standard/ellipse.c:
15782         * objects/standard/image.c:
15783         * objects/standard/line.c:
15784         * objects/standard/polyline.c:
15785         * objects/standard/textobj.c:
15786         * objects/standard/zigzagline.c:
15787         Changed calls to move_handle to pass the new argument.
15788         
15789         * lib/widgets.c:
15790         * lib/widgets.h:
15791         Default line width, color etc #define'd
15792         
15793         * po/da.po:
15794         Updates of danish menus
15796 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
15798         * dia.xpm
15799         * dia_gnome_icon.png
15800         * dia_gnome_menu_icon.png
15801         * dia_logo.png
15802         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
15804         * app/commands.c
15805         About dialog shows dia_logo.png. Removed the GNOME about dialog.
15807         * Makefile.am
15808         Distribute the icons and install logo in pkgdatadir.
15809         
15810         * app/Makefile.am
15811         Added DATADIR-define.
15812         
15813 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
15814         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
15816         * dia.spec:
15817         Updated version number, made setup quiet, can build from cvs,
15818         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
15820         * lib/Makefile.am
15821         * objects/ER/Makefile.am
15822         * objects/UML/Makefile.am
15823         * objects/network/Makefile.am
15824         * objects/standard/Makefile.am
15825         now builds better with gnome
15827         * objects/UML/class_dialog.c
15828         Fixed typo -> po files must be updated too!!
15829         
15830 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
15832         * lib/dummy_dep.h:
15833         Added reference so that widgets.o gets linked to the app.
15835 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15837         * objects/UML/classicon.c: 
15838         Added object mode.
15840         * objects/UML/actor.c: 
15841         Changed position of 'snap-to-grid' so connection points are
15842         in the grid.
15844 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
15846         * objects/UML/classicon.c:
15847         Changed position of 'snap-to-grid'.
15848         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15849         
15850 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
15852         * objects/network/antenna.c
15853         * objects/network/flash.c
15854         * objects/network/hub.c
15855         * objects/network/modem.c
15856         * objects/network/modularswitch.c
15857         * objects/network/rj45plug.c
15858         * objects/network/scead-plug.c
15859         * objects/network/network.c
15860         * objects/network/Makefile.am
15861         * objects/network/pixmaps/antenna.xpm
15862         * objects/network/pixmaps/flash.xpm
15863         * objects/network/pixmaps/hub.xpm
15864         * objects/network/pixmaps/modem.xpm
15865         * objects/network/pixmaps/modularswitch.xpm
15866         * objects/network/pixmaps/rj45plug.xpm
15867         * objects/network/pixmaps/sceadplug.xpm
15868         * objects/network/pixmaps/Makefile.am
15869         Lots of new network objects from
15870         Roland Steinbach <roland@support-system.com>.
15872 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15874         * objects/UML/classicon.c: 
15875         Fixed connection positions, saved type as int (it has 3 states),
15876         and other small fixes.
15877         
15878 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
15880         * app/preferences.c:
15881         * app/load_save.c:
15882         Added preference compress_save. It lets dia save uncompressed
15883         xml files.
15885         * objects/UML/class.c:
15886         Fixed bug with size calculation on methods that had class scope.
15887         
15888 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15890         * objects/UML/usecase.c: 
15891         Added collaboration mode
15892         Fixed connection points with text > ellipse bug and other 
15893         small things
15895         * objects/UML/state.c:
15896         Fixed bug of bad position of text after being either end
15897         or begin, moved and returned to text
15899 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
15901         * app/preferences.c: Add prototype declaration for prefs_apply.
15903 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
15905         * app/preferences.c:
15906         Added 'ok' button.
15907         Apply don't hide window.
15909         * app/properties.c:
15910         Add 'ok' button.
15912         * objects/UML/object.c:
15913         * objdcts/UML/state.c:
15914         Some data was not copied on copy.
15916         This patch is from
15917         Ben Hochstedler <benh@eeyore.moneng.mei.com>
15919 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
15921         * app/Makefile.am:
15922         Changed link order between X and libxml.
15923         Some people had problems with an old libz in their
15924         x11 directory.  
15926 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
15928         * po/no.po: updated translation.
15929         
15930 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
15932         * lib/message.c (message_error):
15933         Fixed small error.
15935         * app/commands.[ch]:
15936         * app/diagram.[ch]:
15937         Added begining of xfig importing
15939 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15941         * objects/UML/pixmaps/state.xpm: 
15942         * objects/UML/state.c: 
15943         New UML object state machine.
15945         * objects/UML/uml.c:
15946         * objects/UML/Makefile.am:
15947         * objects/UML/pixmaps/Makefile.am:
15948         Added the state object.
15949         
15950 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
15952         * objects/UML/usecase.c: 
15953         Added dialog to allow move text outside the ellipse.
15955 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
15957         * Released Dia 0.41
15958         Tag called DIA_0_41
15960         * NEWS:
15961         Updates for 0.41.
15962         
15963 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
15965         * configure.in:
15966         Updated version number to 0.41
15968         * po/*.po:
15969         Update po-files
15971 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
15973         * app/app_procs.c
15974         Changed errormessage for --export-to-ps. Removed call to 
15975         g_log_set_always_fatal().
15977         * app/diagram.c
15978         * app/disp_callbacks.c
15979         * app/load_save.c
15980         (i18n) Removed gettext from some debugmessages.
15982         * app/menus.c
15983         Small fix in GNOME-menus. Added warning that will help track
15984         problems with translations.
15986         * po/sv.po
15987         (i18n) Updated swedish translation.
15989 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
15991         * po/da.po:
15992         New updates
15994 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
15996         * po/da.po:
15997         * po/no.po:
15998         Some fixes.
15999         
16000 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
16002         * po/da.po:
16003         (i18n) Updated the danish translation.
16004         From Lars R. Clausen.
16006 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
16008         * app/menus.c
16009         (i18n) The popup menu is translated now.
16011         * po/sv.po
16012         (i18n) Updated swedish translation.
16014 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16016         * Released Dia 0.40
16017         Tag called DIA_0_40
16019         * NEWS:
16020         Updated for new release
16021         
16022 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16024         * objects/network/bus.c:
16025         Added initialization of properties dialog to NULL.
16027         * app/commands.c (edit_cut_callback):
16028         Update menu sensitivity when cut object.
16030         * app/modify_tool.c (click_select_object):
16031         * app/modify_tool.c (modify_button_release): 
16032         Call diagram_update_menu_sensitivity() when
16033         selecting objects to update stuff that depends
16034         on selected/not selected.
16036 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16038         * Makefile.am:
16039         Change order of subdir so that libintl.a builds.
16040         Now passed make distcheck.
16042 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16044         * lib/font.c (init_x11_font):
16045         Stupid bug fixed.
16047 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16049         * objects/UML/pixmaps/classicon.xpm: 
16050         * objects/UML/classicon.c:
16051         * objects/UML/uml.c:
16052         Added the class stereotype icon objects.
16054         * app/commands.c:
16055         Changed default ps extension from .ps to .eps.
16056         
16057 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16059         * lib/Makefile.am:
16060         Added diamenu.h and intl.h
16062         * lib/font.c:
16063         Stupid typo fix.
16064         
16065         * objects/UML/pixmaps/Makefile.am:
16066         Added message.xpm
16068         * objects/standard/pixmaps/Makefile.am:
16069         Added image.xpm
16071 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16073         * lib/font.c:
16074         Use a scalable font before fixed when real font not found.
16076         * app/commands.c:
16077         Removed warning.
16079         * objects/standard/image.c:
16080         Better handling of loading/saving of images.
16082         * INSTALL:
16083         Added some text about cvs, fonts and rewrote some parts.
16085         * TODO:
16086         Updated with new stuff.
16087         
16088         * configure.in:
16089         Bump up version number to 0.40.
16090         
16091 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16093         * app/display.c:
16094         Moved diagram_add_ddisplay() call into new_display().
16095         Fixed new_display to not use uninitialized variables
16096         causing loaded files to show up as black (or garbage).
16097         
16098         * app/commands.c:
16099         * app/app_procs.c:
16100         Removed unneeded calls to diagram_add_ddisplay().
16101         
16102 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16104         * objects/UML/lifeline.c:
16105         Fixed bug in copy.
16106         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16108         * objects/UML/message.c:
16109         Fixed bug loading messages with null-text.
16110         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16112 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
16114         * po/sv.po
16115         Updated swedish translation.
16117         * app/menus.c
16118         (GNOME) Removed help-browser from help menu. Fixed typo.
16120         * app/interface.c
16121         (GNOME) Accelerators in diagrams should work now. 
16123 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
16125         * app/app_procs.c
16126         * app/commands.c
16127         * app/defaults.c
16128         * app/disp_callbacks.c
16129         * app/display.c
16130         * app/interface.c
16131         * app/menus.c
16132         * app/preferences.c
16133         * app/render_eps.c
16134         * lib/diagramdata.c
16135         * lib/font.c
16136         * lib/message.c
16137         * lib/widgets.c
16138         * objects/ER/*.c
16139         * objects/UML/*.c
16140         * objects/network/*.c
16141         * objects/standard/*.c
16142         * po/update_pofiles_in.sh
16143         * po/POFILES.in
16144         More i18n. All strings (expect rare debug messages) can be
16145         translated now. Moved intl.h from app to lib. Updated
16146         update_pofiles_in.sh to check all .c-files.
16148 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
16150         * app/disp_callbacks.c (ddisplay_canvas_events):
16151         Don't drop keys while num-lock, scroll-lock etc is on.
16153 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16155         * app/render_eps.c (draw_image):
16156         Fixed exporting of images.
16157         Still not perfect, but not outright buggy.
16158         
16159 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16161         * configure.in:
16162         * po/hu.po:
16163         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
16165         * app/Makefile.am:
16166         Added $* to the dia call in run_dia.sh
16168 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16169         
16170         * lib/color.[ch]:
16171         Added color_equals() call.
16173         * objects/standard/arc.c:
16174         * objects/standard/line.c:
16175         Don't save unneccesary data.
16176         
16177         * objects/standard/box.c:
16178         * objects/standard/ellipse.c:
16179         * objects/standard/image.c:
16180         * objects/standard/polyline.c:
16181         * objects/standard/zigzagline.c:
16182         Share properties dialog.
16183         Don't save unneccesary data.
16184         
16185 1999-03-22  Seth Alves  <alves@hungry.com>
16187         * app/menus.c:
16188         * app/diagram.c:
16189         * app/display.c:
16190         small changes so that gnome menus aren't broken
16191         
16192 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16194         * po/da.po:
16195         Added danish translation from lrclause@cs.uiuc.edu.
16197         * po/POFILES.in:
16198         Updated file.
16200         * po/update_pofiles_in.sh:
16201         Added script that updates POFILES.in.
16202         This should probably be run automatically from somewhere.
16204 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
16206         * app/diagram.[ch]:
16207         Added function diagram_update_menu_sensitivity() which
16208         sets the sensitivity of some menu items. This function
16209         is called at each diagram state change (from diagram_modified()).
16210         This is needed  because otherwise the keyboard accelerators
16211         don't work correctly.
16213         * app/display.[ch]:
16214         Changed display_set_menu_sensitivity() to display_update_menu_state().
16215         Moved lots of code to diagram_update_menu_sensitivity() in
16216         diagram.c. Optimized to only look up menu-items from path:s once.
16217         
16218         * app/disp_callbacks.c:
16219         * app/interface.c:
16220         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
16221         Need to set GDK_FOCUS_CHANGE_MASK.
16222         
16223         * app/create_object.c:
16224         Call diagram_modified when an object has been created and
16225         selected so that the menu sensitivity is updated. 
16227         * app/menus.[ch]:
16228         removed menus_set_sensitive() and menus_set_state(). Exported
16229         renamed function menus_get_item_from_path().
16231 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
16233         * app/disp_callbacks.c:
16234         Show (empty) object menus on object that has none.
16235         Show title on object menus.
16237         * app/display.c:
16238         Set zoom factor correctly when opening new displays.
16239         Better setting of scrollbars.
16241         * app/grid.c:
16242         * app/menus.h:
16243         Some reformating cleanup.
16245         * lib/diamenu.h:
16246         Added title to object menus.
16248         * objects/*/*.c:
16249         Added object menu method (NULL-valued) to all objects.
16251         * objects/standard/polyline.c:
16252         Added title to object menu.
16254 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
16256         * app/preferences.[ch]:
16257         New files. Implements the preferences dialog and
16258         loading/saving of ~/.diarc.
16260         * app/Makefile.am:
16261         Added preferences.[ch].
16263         * app/app_procs.c:
16264         Load preferences on startup.
16266         * app/commands.[ch]:
16267         Added file_preferences_callback to show the preferences dialog.
16269         * app/create_object.c:
16270         Update extents when creating object.
16271         Use the reset_tools_after_create preferences setting.
16273         * app/display.c:
16274         Use preferences when creating new display.
16276         * app/menus.c:
16277         Add preferences to menu.
16279         * app/defaults.c:
16280         * app/layer_dialog.c:
16281         * app/properties.c:
16282         Don't allow shrinking of dialog.
16283         Add i18n of some strings.
16285 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
16286         * po/no.po:
16287         Norwegian translation added.
16288         
16289 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
16291         * objects/standard/line.c: 
16292         * objects/standard/arc.c: 
16293         * objects/standard/polyline.c: 
16294         * objects/standard/zigzagline.c:
16295         Loading of arrow data fixed.
16297 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
16299         * app/commands.c:
16300         Update extents when saving and exporting to postscript.
16301         Fixes a bug with postscript bounding-box being wrong.
16303         * app/defaults.c:
16304         Changed border width from 5 to 2.
16306         * app/group.c:
16307         Move grouped objects by the move-point of the first object.
16308         Fixes bug that made all objects in the group be off-grid
16309         when moving the group, even though all objects was on-grid.
16311         * app/layer_dialog.c:
16312         Update extents when changing layer.
16314 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16316        * objects/UML/uml.c: 
16317        * objects/UML/component.c: 
16318        * objects/UML/pixmaps/component.xpm: 
16319        Added the UML component object
16320         
16321 1999-03-04  Seth Alves  <alves@hungry.com>
16323         * objects/UML/generalization.c (generalization_create): avoid
16324         math on uninitialized genlz->text_width (NaN causes sigfpe)
16325         
16326         * objects/UML/realizes.c (realizes_create): same
16328         * objects/UML/dependency.c (dependency_create): same
16330 1999-03-01  Seth Alves  <alves@hungry.com>
16332         * app/display.c (ddisplay_active): don't fly a warning panel
16333         if ddisplay_active is called when no views are open.
16335         * app/commands.c (set_default_file_selection_directory): set
16336         file selector's default directory if there is already
16337         a document open.
16339 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16341         * INSTALL:
16342         New info about imlib requirements.
16344         * Configure.in:
16345         Added lib/pixmaps/Makefile to created makefiles.
16347         * app/app_procs.c:
16348         * app/commands.c:
16349         Change from obsoleted to newer gtk calls.
16350         
16351         * load_save.c:
16352         Pass filename of the diagram when loading and saving.
16353         This creates better oportunities to handle filename saving.
16355         * lib/object.h:
16356         Pass filenames to load and save methods.
16357         
16358         * lib/dia_image.[ch]:
16359         Added dia_image_get_broken() call that returns a image which
16360         is used for 'broken' images.
16361         
16362         * lib/pixmaps/.cvsignore:
16363         * lib/pixmaps/Makefile.am:
16364         * lib/pixmaps/broken.xpm:
16365         New files for the broken image bitmap.
16367         * lib/widgets.c:
16368         Fixed bug with double destroyed filedialog.
16370         * objects/*/*.c:
16371         Updated load and save prototypes to use the new filename argument.
16373         * objects/image.c:
16374         Render broken image instead of line when got no image.
16375         Use the new filename in load and save to save (if possible)
16376         relative pathnames and to better try to find loaded images.
16378 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16380         * TODO:
16381         Some updates to the todo file.
16382         
16383         * app/menus.c:
16384         * app/display.c:
16385         Place over/place over => sent to back/bring to front.
16386         Added some keyboard shortcuts to menus.
16387         
16388 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16390         * lib/dia_xml.c:
16391         Changed string saving/loading to a new method. This should
16392         be much better att handling &,<,> and whitespaces.
16393         Loading strings of the old kind is still supported for backwards
16394         compatibility.
16396         * samples/ER-demo.dia:
16397         * samples/UML-demo.dia:
16398         Updated to use the new strings.
16399         
16400         * app/load_save.c:
16401         statusbar modified update fix.
16403 1999-02-27  Seth Alves  <alves@hungry.com>
16405         * app/app_procs.c (app_init): added a --export-to-ps option
16406         which will cause dia to load a dia file and save it as ps
16407         and then exit.  this is a little bogus, because it still
16408         pops up a window.  this option only shows up if --enable-gnome
16409         is used
16411         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
16412         menu when built with --enable-gnome
16414         * app/interface.c (create_display_shell): build status bar
16415         even if --enable-gnome is used
16417         * app/menus.c: menu fixes for --enable-gnome
16419         * app/commands.c (file_open_dialog_ok_callback): fixed up
16420         menus when --enable-gnome is used
16421         (file_export_to_eps_callback): set a default file name
16422         when dialog is created
16424 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
16426         * objects/UML/association.c (association_create):
16427         Fixed usage of not initialized variable.
16428         Pointed out by Seth Alves <alves@hungry.com>.
16430 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
16432         * configure.in:
16433         Fixed detection of gnome-xml.
16434         From Valtteri Vuorikoski <vuori@k.notcom.org>.
16435         
16436         * app/app_procs.c:
16437         Fixed error detection on dlsym calls. 
16438         From Valtteri Vuorikoski <vuori@k.notcom.org>.
16440 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
16442         * objects/UML/message.c (fill_in_dialog):
16443         Fixed warnings.
16445 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16447         * objects/standard/zigzagline.c:
16448         * objects/standard/polyline.c:
16449         * objects/standard/line.c:
16450         * objects/standard/arc.c:
16451         * lib/widgets.h:
16452         * lib/arrows.h:
16453         * lib/widgets.c:
16454         Support for sizeable arrows. 
16456         * objects/standard/box.c:
16457         * objects/standard/ellipse.c:
16458         * objects/standard/image.c:
16459         Changed creation handle to lower-right.
16460         Transparent box/ellipse.
16461         
16462         * objects/standard/image.c:
16463         Better layout of properties boxes.
16465 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16467         * objects/UML/message.c (fill_in_dialog): 
16468         Fixed dialog fill in. Common dialog for all messages.
16470         * objects/UML/object.c: 
16471         Added multiple instance. Dialog related bugs fixed.
16472         Common dialog for all instances. Completed copy and destroy.
16474         * objects/UML/lifeline.c (lifeline_load): 
16475         Conn initialization bug fixed and few bad loading prevention flags.
16476         Common dialog for all lifeline objects.
16477         
16478 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16480         * lib/dia_image.[ch]:
16481         More work on the DiaImage abstraction.
16482         
16483         * app/app_procs.c:
16484         * app/render_eps.c:
16485         * app/render_gdk.c:
16486         * objects/standard/image.c:
16487         Use the new DiaImage calls.
16489 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16491         * app/menus.c:
16492         * app/display.c:
16493         Reversed the meaning of align horizontal/vertical.
16495 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16497         * app/load_save.c (diagram_load):
16498         Statusbar update fix.
16500 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16502         * app/interface.c (create_display_shell):
16503         Fixed status bar size.
16504         
16505 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16507         * lib/dia_image.[ch]:
16508         Added extern declaration for dia_image_release.
16509         Removed dia_image_draw, as it's not neseccary.
16511 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16512         
16513         * app/object_ops.c: 
16514         * app/menus.c: 
16515         Added equal distance alignment both vertical and horizontal.
16516         
16517         * objects/UML/object.c: 
16518         Added a couple of attributes to load/read that were missing.
16520         * objects/UML/lifeline.c: 
16521         Better handling of handles. Fixed another bug I forgot to add
16522         to my last patch.
16523         
16524 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
16526         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16527         
16528         * lib/dia_image.[ch]:
16529         * lib/Makefile.am:
16530         New files. DiaImage wraps the GdkImlibImage.
16532         * lib/render.h:
16533         * app/render_eps.c:
16534         * app/render_gdk.c:
16535         * lib/render_store.[ch]:
16536         * objects/standard/image.c:
16537         Use the new DiaImagetype.
16539         * lib/widgets.c:
16540         Removed unused variable to eliminate  warning.
16542 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
16544         * objects/standard/box.c:
16545         Added rounded corners on the box object.
16547         * lib/widgets.[ch]:
16548         Updated the DiaFileSelector widget.
16549         
16550 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16552         * objects/UML/object.c (objet_draw): 
16553         Completed underlining of all object name lines. 
16555         * objects/UML/message.c (fill_in_dialog): 
16556         Fixed a bug that filled incorrectly the message's dialog.
16558         * objects/UML/lifeline.c (lifeline_load): 
16559         Some cleanning and fixed a couple of bugs that caused
16560         crashes after reading diagrams with lifelines.
16562         * lib/text.c: 
16563         Added flags to prevent crash with void strings
16565 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
16566         * app/display.[ch]:
16567         Added statusbar to the display widget. Currently shows the zoom
16568         factor and modified flag of the viewed diagram. The statusbar is
16569         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
16570         This caused the following additions:
16571         
16572         * app/diagram.[ch]:
16573         Added function diagram_set_modified. Calls
16574         ddisplay_update_statusbar for all displays showing the modified diagram.
16575         Changed diagram_modified to call diagram_set_modified.
16576         
16577         * app/interface.c:
16578         Added the creation of the statusbar.
16579         
16580         * app/load_save.c:
16581         diagram_save now calls diagram_set_modified instead of setting
16582         dia->modified. Needed to force call to display_update_statusbar
16583         
16584         * app/commands.c:
16585         Changed the way view_show_all works. Now calls ddisplay_zoom
16586         instead of directly setting the zoom_factor, so the zoom factor is
16587         correctly shown in the statusbar.
16589         * app/magnify.c:
16590         Fixed rubberband zoom to use ddisplay_zoom().
16591         
16592 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
16594         * app/app_procs.c
16595         Rudimentary GNOME session management.
16596         
16597         * app/disp_callbacks.c
16598         * app/interface.c
16599         * app/menus.c
16600         * app/menus.h
16601         GNOME menus. Problems: 
16602         Callbacks doesn't get user_data.
16603         Weird warnings when creating popup menus.
16604         menus_set_sensitive(), menus_set_state() doesn't work.
16606 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16608         * configure.in:
16609         Add AM_PATH_GDK_IMLIB() call.
16611         * app/Makefile.am:
16612         Add gdk_imlib to linking flags.
16614         * app/app_procs.c:
16615         Init gdk_imlib.
16616         Print library-loading error messages on stdout too.
16618         * app/interface.c:
16619         Add standard image to toolbox.
16620         
16621         * app/render_eps.c: 
16622         Set a more reasonable dot length.  Fixed
16623         missing initialization of dot length.
16624         Added draw_image methods.
16626         * app/render_gdk.c (new_gdk_renderer): 
16627         Dot a bit wider.  Looks good in normal mode now.
16629         * objects/standard/image.c:
16630         * objects/standard/pixmaps/image.xpm:
16631         New files. Standard object for images.
16632         
16633         * app/render_eps.c (set_linestyle):
16634         * app/render_gdk.c (set_linestyle):
16635         * lib/widgets.c (dia_line_style_selector_init): 
16636         * lib/render.h: 
16637         New line style DOTTED.
16639         * lib/render.h:
16640         * lib/render_store.c:
16641         Change DrawImage call to use gdk_imlib.
16643         * lib/widgets.[ch]:
16644         Added widgets for selecting files.
16645         Added dotted to the linestyle selector.
16647 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
16649         * objects/network/printer.c:
16650         * objects/network/network.c:
16651         * objects/network/pixmaps/printer.xpm:
16652         * objects/network/.cvsignore:
16653         * objects/network/Makefile.am:
16654         * objects/network/pixmaps/Makefile.am:
16655         New printer object in network.
16656         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
16658         * TODO:
16659         Added known XML bug.
16660         
16661 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
16663         * app/load_save.c:
16664         * lib/dia_xml.c:
16665         Reverted back from #include <gnome-xml/tree.h> to
16666         #include <tree.h> as this is fixed by the xml-config program.
16667         The former way broke for some people.
16668         Reported by blizzard@redhat.com.
16670         * objects/UML/lifeline.c:
16671         * objects/UML/message.c:
16672         * objects/UML/object.c:
16673         Removed some warnings.
16674         
16675 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16677         * objects/UML/lifeline.c: 
16678         Fixed connection points over the life line when the focus of
16679         control is not drawn.
16681         * objects/UML/message.c: 
16682         Now a recursive message can be freely resized using the handles.
16684 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16686         * objects/UML/lifeline.c:
16687         Added connection points.
16688         Added properties dialog with the option to draw/hide focus of control
16689         box and destruction mark.
16691         * objects/UML/object.c: 
16692         Added properties dialog and stereotype, explicit state and attributes. 
16693         It's also possible to mark the object as active.
16695         * objects/UML/pixmaps/object.xpm: 
16696         Cosmetic change.
16698         * objects/UML/message.c:
16699         Added "recursive" message type (was not necessary to use OrthConn).
16701 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
16703         * objects/standard/arc.c:
16704         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
16706 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
16708         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
16709         
16710         * app/load_save.c:
16711         * lib/dia_xml.c:
16712         Update xml includes to gnome-xml/*.h.
16714         * objects/standard/arc.c:
16715         Only one property dialog per type.
16716         Fix arrows directions.
16718         * objects/standard/box.c:
16719         * objects/standard/ellipse.c:
16720         * objects/standard/textobj.c
16721         Added default properties dialog.
16722         
16724 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16726         * objects/UML/Makefile.am: 
16727         * objects/UML/uml.c:
16728         * objects/UML/lifeline.c: 
16729         * objects/UML/object.c: 
16730         * objects/UML/message.c:
16731         * objects/UML/pixmaps/lifeline.xpm: 
16732         * objects/UML/pixmaps/object.xpm: 
16733         * objects/UML/pixmaps/message.xpm:
16734         Added 3 new UML objects for dynamic modeling. To avoid internal 
16735         conflicts, the name "objet" is used for object "object".        
16737         * lib/arrows.[ch]: 
16738         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
16739         UML messages.
16740         
16741 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
16743         * app/display.[ch]:
16744         * app/modify_tool.c:
16745         Added autoscrolling while doing rubber-band select.
16746         This patch from Matthias Köster
16747         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
16748         
16750 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
16752         * app/defaults.[ch]:
16753         New files, deals with default properties dialog.
16755         * lib/diamenu.h:
16756         New file. Contains definitions for the new object menu.
16758         * lib/poly_conn.[ch]:
16759         New file. Base class for poly-line like objects.
16761         * objects/standard/polyline.c:
16762         * objects/standard/pixmaps/polyline.xpm:
16763         New files. Polyline object.
16765         * app/app_procs.c:
16766         Fixed bug with infinite loop when registering sheets.
16767         
16768         * app/commands.c:
16769         Removed unneccesary stuff.
16771         * app/disp_callbacks.c:
16772         Support for object menus.
16774         * app/interface.c:
16775         Added polyline to toolbox.
16776         Added call to tool_options_dialog_show() when double clicking on
16777         tool.
16779         * app/tool.[ch]:
16780         New function tool_options_dialog_show() for tool properties.
16782         * lib/arrows.[ch]:
16783         Added ARROW_NONE.
16785         * lib/object.h:
16786         Added ObjectType methods for handling object default dialogs.
16787         Added Object method for handling object_menu.
16788         Added unused methods to ObjectTypeOps for future binary
16789         compatibility.
16791         * lib/widgets.[ch]:
16792         Added DiaArrowTypeSelector widget.
16794         * objects/standard/arc.c:
16795         * objects/standard/zigzagline.c:
16796         Added support for default properties.
16798         * objects/standard/line.c:
16799         Added support for default properties.
16800         Just use one properties dialog for all line objects. NOTE: This
16801         seems to have a bug. We're working on it.
16803         * standard/standard.c:
16804         Add the polyline object.
16806 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
16808         * app/modify_tool.c:
16809         Commented out buggy transitive select function. It wasn't really
16810         meant to go into cvs.
16811         
16813 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
16815         * autogen.sh:
16816         * acconfig.h:
16817         * configure.in:
16818         * Makefile.am:
16819         * app/Makefile.am:
16820         * po/POTFILES.in:
16821         * app/intl.h
16822         i18n-support.
16824         * po/sv.po:
16825         Swedish translation. Not completed.
16826         
16827         * configure.in:
16828         * acconfig.h:
16829         Added possibility to enable GNOME specific code with configure.
16831         * configure.in:
16832         Added possibility to set debug level with configure.
16834         * commands.[hc]:
16835         Added about dialog.
16837         * app_procs.c
16838         * commands.c
16839         * interface.c
16840         * menus.c
16841         Added some GNOME specific code. Not ready for use.
16843 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
16845         * INSTALL:
16846         Added text about needing gtk 1.1.13 and gnome-xml.
16847         
16848         * NEWS:
16849         Described changes since last version (0.20).
16851         Released version 0.30, tagged DIA_0_30.
16853 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
16855         * app/magnify.c (magnify_button_release):
16856         Fixed a problem when zooming in on a very small box would
16857         not release the grabbed pointer-focus.
16859 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
16861         * app/load_save.c (diagram_load):
16862         Be somewhat more robust when loading files that
16863         are not diagrams.
16864         
16865 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
16867         * app/app_procs.c:
16868         * objects/ER/er.c:
16869         * objects/UML/uml.c:
16870         * objects/network/network.c:
16871         * objects/standard/standard.c:
16872         Added versioning of object libraries.
16874         * app/create_object.c:
16875         Don't change tool when an object is created.
16876         
16877         * objects/network/network.c:
16879         * TODO:
16880         Update
16882 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
16884         * configure.in:
16885         Updated gtk requirement to Gtk+ 1.1.13.
16887         * app/display.c:
16888         Always add one screenful of scrolling space on
16889         each side of a diagram window.
16891 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
16893         * autogen.sh:
16894         Tell automake to auto-install missing files.
16896         * app/menus.c:
16897         Renamed deprecated Gtk+ function.
16899 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
16901         * Makefile.am:
16902         * configure.in:
16903         * samples/Makefile.am:
16904         * samples/ER-demo.dia:
16905         * samples/UML-demo.dia:
16906         Added samples directory.
16907         Added samples for ER and UML.
16908         
16909         * app/commands.c:
16910         * app/disp_callbacks.c:
16911         * app/menus.c:
16912         Zoom is done by sqrt(2) instead of 2.
16913         Lots of more zoom options in the menu.
16915         * objects/ER/relationship.c:
16916         Relationships have 8 connectionpoints instead of 4.
16918         * objects/UML/class.c:
16919         UML class name font a bit smaller.
16920         Fixed stupid bug in the copy operation.
16921         
16922         * app/display.c:
16923         Displays are opened at 500x400 instead of 256x256.
16925         * app/load_save.c:
16926         Fixup of internal error message.
16928         * app/color_area.c:
16929         * app/diagram.c:
16930         * app/modify_tool.c:
16931         * lib/object.c:
16932         Removed debug printf's.
16933         
16934         * TODO (BUGS):
16935         Added new known bug.
16937 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
16939         * app/interface.c:
16940         * app/menus.c:
16941         Fixed so accelerator groups work in all windows.
16942         Updated to new gtk function names.
16944         * TODO (BUGS):
16945         Removed fixed bug.
16947         * app/display.c:
16948         Updated to new gtk function names.
16949         Set sensitivity of the align menu items.        
16951         * objects/ER/pixmaps/Makefile.am:
16952         * objects/UML/pixmaps/Makefile.am:
16953         * objects/network/pixmaps/Makefile.am:
16954         Fix so that make dist works.
16956         * app/app_procs.c:
16957         * app/color_area.c:
16958         * app/commands.c:
16959         * app/diagram.c:
16960         * app/grid.c:
16961         * app/layer_dialog.c:
16962         * app/load_save.c:
16963         * app/object_ops.c:
16964         * app/properties.c:
16965         * lib/diagramdata.[ch]: 
16966         * lib/message.c:
16967         * lib/objects/ER/attribute.c:
16968         * lib/objects/ER/entity.c:
16969         * lib/objects/ER/participation.c:
16970         * lib/objects/ER/relationship.c:
16971         * lib/objects/ER/.c:
16972         * objects/UML/actor.c:
16973         * objects/UML/association.c:
16974         * objects/UML/class_dialog.c:
16975         * objects/UML/dependency.c:
16976         * objects/UML/generalization.c:
16977         * objects/UML/large_package.c:
16978         * objects/UML/realizes.c:
16979         * objects/UML/.c:
16980         * objects/UML/.c:
16981         Updated to new gtk function names.
16982         Removed warnings.
16984 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
16986         * TODO:
16987         Update TODO.
16989         * app/app_procs.c:
16990         Fixed loading of diagrams specified as arguments.
16992         * objects/ER/attribute.c:
16993         * objects/ER/entity.c:
16994         * objects/ER/er.c:
16995         * objects/ER/participation.c:
16996         * objects/ER/relationship.c:
16997         Updated the ER objects.
16998         
17000 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
17002         * configure.in:
17003         * app/Makefile.am:
17004         * objects/Makefile.am:
17005         * objects/ER/attribute.c:
17006         * objects/ER/entity.c:
17007         * objects/ER/er.c:
17008         * objects/ER/participation.c:
17009         * objects/ER/relationship.c:
17010         * objects/ER/pixmaps/Makefile.am:
17011         * objects/ER/pixmaps/attribute.xpm:
17012         * objects/ER/pixmaps/entity.xpm:
17013         * objects/ER/pixmaps/participation.xpm:
17014         * objects/ER/pixmaps/relationship.xpm:
17015         * objects/ER/pixmaps/weakentity.xpm:
17016         First commit of entity relationship objects.
17017         These were done by hallon@lysator.liu.se.
17018         There are still stuff to do on these.
17019         
17020 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
17022         * TODO:
17023         Updates.
17025         * app/diagram.[ch]:
17026         Change diagram_remove_all_selected to take new argument
17027         delete_empty. Empty objects are deleted only if it is TRUE.
17028         Removed call to close_eps_renderer. This is now done in end_render
17029         in the eps renderer.
17031         * app/create_object.c:
17032         * app/layer_dialog.c:
17033         Update calls to diagram_remove_all_selected.
17035         * app/commands.c:
17036         Update calls to diagram_remove_all_selected.
17037         Some code reformating.
17038         Changed order of adding updates i align_h and align_v.
17040         * app/modify_tool.c:
17041         Update calls to diagram_remove_all_selected.
17042         Added pointer grab when doing rubber-band selection, this fixes
17043         the bug when draging the box over to another window.
17045         * app/connectionpoint_ops.[ch]:
17046         diagram_update_connections_object changed to take an argument
17047         update_nonmoved. This lets connections that has not moved, but
17048         the stuff they're connected to has been moved work.
17049         Update calls to the new diagram_update_connections_object.
17051         * app/properties.c:
17052         Update calls to the new diagram_update_connections_object.
17053         Update extents when properties are applied.
17054         
17055         * app/disp_callbacks.c:
17056         Added support for zooming with the '+' and '-' keys.
17058         * app/menus.c:
17059         Removed old keyboard shortcuts for zoom.
17061         * lib/render.h:
17062         Added calls begin_render and end_render to renderer.
17063         These can be used for setup and cleanup.
17065         * lib/diagramdata.c:
17066         Added calls to begin_render and end_render in data_render.
17068         * app/render_gdk.c:
17069         Added begin_render and end_render.
17071         * app/render_eps.[ch]:
17072         Added begin_render and end_render.
17073         Moved close_eps_renderer code to end_render.
17074         Various fixes to the generated eps code. This fixes importing
17075         generated eps into LYX.
17076         
17077 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
17079         * TODO:
17080         Update of todo.
17081         
17082         * app/menus.c:
17083         Menus for alignment updated.
17085         * app/object_ops.[ch]:
17086         Functions for object alignment updated.
17088         * app/commands.[ch]:
17089         Object alignment callbacks updated.
17090         New diagrams are called Untitled-<nr>.
17092         * app/layer_dialog.c:
17093         Active layer selected when showing layers from new
17094         diagram.
17096         * app/load_save.c:
17097         Compress xml files when saving.
17098         Use xml namespace 'dia'.
17100         * lib/object.h:
17101         Minor comment update.
17103         * objects/UML/class_dialog.c:
17104         Cleanup of the gkt_list_item moving code.
17105         Fixed bug with update of operation when moving parameters.
17107 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
17109         * app/layer_dialog.[ch]:
17110         Fixed the rest of the layers dialog.
17112         * app/dialog.c:
17113         Added call to redo layer dialogs diagram list when changing
17114         diagram name.
17116         * lib/diagramdata.[ch]:
17117         Added data_raise_layer and data_lower_layer functions for
17118         raising/lowering layers. Added data_add_layer_at for adding a
17119         layer at a specified index.
17121 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
17123         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
17124                 
17125         * app/app_procs.c:
17126         Added support for reading diagrams from the command line.
17128 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
17130         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
17131                 
17132         * app/commands.[ch]:
17133         Added objects_align_callback().
17135         * app/menus.c:
17136         Added align objects to menu.
17138         * app/object_ops.[ch]:
17139         Add object_list_align().
17140         
17141 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
17142         * app/layer_dialog.[ch]:
17143         New files. Handles the layers dialog. Needs a bugfix for glib to
17144         work. Sent patch to gtk-list.
17145         
17146         * app/pixmaps/new.xpm:
17147         * app/pixmaps/eye.xbm:
17148         * app/pixmaps/lower.xpm:
17149         * app/pixmaps/raise.xpm:
17150         * app/pixmaps/delete.xpm:
17151         New files. Images for the layer dialog buttons.
17152         
17153         * lib/diagramdata.h
17154         * lib/diagramdata.c
17155         New files for the DiagramData and Layer structures and functions.
17156         
17157         * app/app_procs.c:
17158         Added call to create_layer_dialog() on startup.
17159         
17160         * app/commands.[ch]:
17161         New callbacks for showing the properties and layout dialog.
17162         Changes for the new DiagramData structure.
17164         * app/connectionpoint_ops.c:
17165         * app/cut_n_paste.c:
17166         * app/diagram.[ch]:
17167         * app/display.[ch]:
17168         * app/group.c:
17169         * app/modify_tool.c:
17170         * app/object_ops.[ch]:
17171         * app/render_eps.c:
17172         * lib/object.[ch]:
17173         Changes for the new DiagramData structure.
17175         * app/interface.c:
17176         * app/properties.c:
17177         Set correct wmclasses.
17179         * app/load_save.c:
17180         Fix load and save of layers.
17182         * diagram.dtd:
17183         Update DTD for layers.
17184         
17185         * app/menus.c:
17186         New menus for dialogs.
17188         
17189         * TODO:
17190         Some updates.
17191         
17192 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
17194         * TODO:
17195         Removed the gtk 1.1.5 stuff.
17197         * configure.in:
17198         Updated gtk check to version 1.1.5.
17199         Updated version from 0.20 to 0.30
17201         * app/commands.[ch]:
17202         Updated some callbacks to be of type GtkItemFactoryCallback1.
17203         Not all are done yet, but it works anyway.
17205         * app/display.h:
17206         Removed Gtk 1.0.0 GtkAcceleratorTable references.
17207         
17208         * app/interface.c:
17209         * app/menus.[ch]:
17210         Update to Gtk 1.1.x functions.
17211         Use ItemFactory instead of MenuFactory.
17212         
17213         * app/render_gdk.c:
17214         Removed Gtk 1.0.0 references.
17216         * objects/UML/class_dialog.c:
17217         Scrolled window updates for Gtk 1.1.5.
17218         
17219         * lib/dia_xml.c:
17220         Removed ugly fix for gnome-xml bug. Make sure you get the
17221         newest version of gnome-xml from CVS.
17222         
17223 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
17225         * TODO:
17226         Removed the xml load/save line.
17228         * lib/files.[ch]:
17229         Removed files.
17230         
17231         * lib/Makefile.am:
17232         Removed building of files.c
17234         * app/load_save.c:
17235         * lib/connection.c:
17236         * lib/element.c:
17237         * lib/object.c:
17238         * lib/orth_conn.c:
17239         * lib/render_object.c:
17240         * objects/UML/actor.c:
17241         * objects/UML/association.c:
17242         * objects/UML/class.c:
17243         * objects/UML/constraint.c:
17244         * objects/UML/dependency.c:
17245         * objects/UML/generalization.c:
17246         * objects/UML/implements.c:
17247         * objects/UML/large_package.c:
17248         * objects/UML/note.c:
17249         * objects/UML/realizes.c:
17250         * objects/UML/small_package.c:
17251         * objects/UML/uml.c:
17252         * objects/UML/usecase.c:
17253         * objects/network/bus.c:
17254         * objects/standard/arc.c:
17255         * objects/standard/box.c:
17256         * objects/standard/ellipse.c:
17257         * objects/standard/line.c:
17258         * objects/standard/textobj.c:
17259         * objects/standard/zigzagline.c:
17260         Removed all includes of files.h
17262         
17263 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
17265         * dialog.dtd:
17266         Made the val property of string be implied.
17267         This makes it possible to save strings that
17268         are NULL. Just leave out val.
17270         * objects/lib/dia_xml.c:
17271         Fixed string so that it is possible to save strings
17272         that are NULL. Also made an ugly workaround of a
17273         bug in gnome-xml which removes empty properties.
17274         
17275         * objects/lib/orth_conn.c:
17276         Fixed a bug in saving. Forgot to step through the
17277         directions.
17278         
17279         * objects/UML/association.c: 
17280         * objects/UML/class.c: 
17281         * objects/UML/constraint.c: 
17282         * objects/UML/dependency.c: 
17283         * objects/UML/generalization.c: 
17284         * objects/UML/implements.c: 
17285         * objects/UML/large_package.c: 
17286         * objects/UML/note.c: 
17287         * objects/UML/small_package.c:
17288         * objects/UML/realizes.c:
17289         * objects/UML/usecase.c: 
17290         * objects/UML/actor.c: 
17291         Fixed UML objects to save as xml.
17292         The last two were done by asierra@servidor.unam.mx (asierra-981204)
17293         
17294         * objects/UML/uml.[ch]:
17295         Updated *_write() and *_read() functions to use xml.
17297         * objects/network/bus.c: 
17298         * objects/network/computer.c: 
17299         * objects/network/disc.c: 
17300         * objects/network/monitor.c:
17301         Updated network diagrams to use xml.
17303 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
17305         * dialog.dtd:
17306         New file. DTD that describes the xml file format
17307         dia uses.
17309         * lib/dia_xml.[ch]:
17310         New files. Support for saving object to xml files.
17312         * configure.in:
17313         * app/Makefile.am:
17314         * lib/Makefile.am:
17315         Added check for and usage of gnome-xml library.
17317         * app/load_save.c:
17318         Major chages. Now saves/loads diagrams as xml.
17320         * lib/object.[ch]:
17321         * lib/element.[ch]:
17322         * lib/connection.[ch]:
17323         * lib/orth_conn.[ch]:
17324         * lib/render_object.[ch]:
17325         * lib/text.[ch]:
17326         Updated object support load/save functions for xml:
17328         * object/standard/arc.c:
17329         * object/standard/box.c:
17330         * object/standard/ellipse.c:
17331         * object/standard/line.c:
17332         * object/standard/textobj.c:
17333         * object/standard/zigzagline.c:
17334         Updated all standard objects to use xml.
17335         
17336         NOTE NOTE NOTE
17337         Only the standard objects are converted right now, don't
17338         save or load uml or network diagrams yet. Also, since this
17339         is new code it is deemed a bit unstable.
17340         
17341         * TODO
17342         Added a know bug.
17344 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
17346         * objects/UML/class.c:
17347         Changed classname font to Helvetica.
17348         Added more space above the classname
17350         * objects/UML/usecase.c:
17351         Correct placements of connectionpoints on ellipse.
17352         Better algorithm for deciding aspect ration on
17353         ellipse.
17355         These changes were made by Alejandro Aguilar Sierra
17356         <asierra@servidor.unam.mx>. (asierra-981201)
17358 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
17360         * objects/UML/actor.c:
17361         Changed the extents and alignment of the element
17362         and the text.
17364         * objects/UML/.cvsignore:
17365         Added usecase.lo and actor.lo.
17367 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
17369         * objects/UML/actor.c:
17370         * objects/UML/usecase.c:
17371         * objects/UML/pixmaps/actor.xpm:
17372         * objects/UML/pixmaps/case.xpm:
17373         New files. Implements usecase and actor UML objects.
17374         These objects are done by Alejandro Aguilar Sierra
17375         <asierra@servidor.unam.mx>.
17376         
17377         * objects/UML/Makefile.am:
17378         * objects/UML/pixmaps/Makefile.am:
17379         Added usecase and actor to makefile.
17380         
17381         * AUTHORS:
17382         Added Alejandro and Jerome to autors list.
17383         
17384 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
17386         * objects/UML/class.c (umlclass_load):
17387         Fixed typo. Reported by Jerome.Abela@solsoft.fr
17389 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
17391         * app/properties.c:
17392         Update connections when doing apply in the properties window.
17394         * objects/UML/uml.[ch]:
17395         * objects/UML/class.[ch]:
17396         * objects/UML/class_dialog.c:
17397         Added connection points on both sides of attributes and
17398         operations in UML classes.
17399         Based on idea from Jerome.Abela@solsoft.fr
17400         
17401 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
17403         * README:
17404         Some new documentation about handles and connectionpoints.
17405         
17406         * lib/object.[ch]:
17407         Added functions object_add_connectionpoint and
17408         object_remove_connectionpoint for handling a dynamic
17409         number of connectionpoints.
17411         * objects/UML/class.c:
17412         Only reserve space for stereotype when it is shown.
17414         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
17416 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
17418         * app/connectionpoint_ops.c:
17419         * app/commands.c:
17420         * app/disp_callbacks.c:
17421         * app/display.[ch]:
17422         * app/grid.c:
17423         * app/handle_ops.c:
17424         * app/magnify.c:
17425         * app/modify_tool.c:
17426         * app/render_gdk.[ch]:
17427         * lib/render.h:
17428         Huge cleanup of internal rendering system.
17429         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
17430         This gives a few new methods for Interactive Renderers for setting
17431         clipping regions and drawing pixel based lines and rects.
17432         Updated the rest of the code to use the new stuff.
17433         
17434         * app/render_eps.c:
17435         Fixed warning.
17437         * lib/widgets.c:
17438         * objects/standard/zigzagline.c
17439         Fixed unused variable warnings.
17441         * lib/font.c:
17442         Fixedbug with stringwidth where width==0.
17444         * TODO:
17445         Added known bug.
17447 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
17449         * lib/widgets.[ch]:
17450         Added suppot for setting the font of a
17451         DiaFontSelector widget.
17452         Also fixed some typos in the header.
17454         * lib/object.h: 
17455         Added a comment about the GetPRoperties method call.
17456         You have to make sure to update widget state when
17457         this method is called. (Not all objects do this yet,
17458         to be fixed.)
17460         * TODO:
17461         Some small updates
17463 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
17465         * lib/font.c
17466         Fixed problem with height of ascent and descent for fonts.
17467         It didn't use the whole height (==ascent+descent) when calculatine
17468         ascent_ratio and descent_ratio.
17470         * objects/standard/textobj.c:
17471         * objects/standard/box.c:
17472         * objects/standard/ellipse.c:
17473         * objects/standard/line.c:
17474         * objects/standard/arc.c:
17475         Updated and added property dialogs for these objects.
17476         Also added line width/color/style to those objects
17477         that didn't have it.
17478         This change breaks fileformat compatibility for these objects.
17479         
17480         * objects/standard/zigzagline.c:
17481         Changed zigzagline to be based on OrthConn, much nicer.
17482         Also added line style and color to properties.
17483         This change breaks fileformat compatibility for zigzagline.
17485         * lib/message.c:
17486         Fixed bug in message(). Forgot a pair of '&'.
17488 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
17490         * lib/widgets.[ch]:
17491         Added DiaColorSelector widget.
17492         This is a colored button that pops up a color selection
17493         dialog when pressed.
17495 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
17497         * lib/widgets.[ch]:
17498         * lib/Makefile.am:
17499         New files, added widgets for selecting fonts, alignment
17500         and line-style. Will be used later.
17502 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
17504         * app/Makefile.am:
17505         * lib/Makefile.am:
17506         * objects/UML/Makefile.am:
17507         * objects/network/Makefile.am:
17508         * objects/standard/Makefile.am:
17509         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
17510         in all Makefile.am.
17512 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
17514         * app/handle_ops.c (handle_draw):
17515         connected HANDLE_MINOR_CONTROL also becomes red.
17517 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
17519         * Makefile.am:
17520         removed -ldl from linking. This is added if needed by configure.
17522         * app/app_procs.c:
17523         Open dlls with RTLD_LAZY if it is defined.
17524         Some cleanups: char *error -> const char *error
17525         Added fprintf()'s to where we exited because of errors.
17527         * lib/files.c:
17528         Include <sys/types.h>
17530 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
17532         * acconfig.h:
17533         * configure.in:
17534         * app/app_procs.c:
17535         Detect dlopen better.
17536         Detect wether dlopen needs an underscore in the identifier.
17537         This code was mostly borrowed from guile.
17539         * lib/sheet.[ch]:
17540         * app/app_procs.c:
17541         * objects/standard/standard.c:
17542         * objects/network/network.c:
17543         * objects/UML/uml.c:
17544         * most objects:
17545         Changed the way sheets reference objects to use just the
17546         name. Changed module loading to a two stage model:
17547         First register_objects() is called for all modules.
17548         Then register_sheets() is called. This means that
17549         sheets can safely include objects from other modules.
17550         
17552 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
17554         * objects/network/bus.c:
17555         * objects/network/network.c:
17556         * objects/network/Makefile.am:
17557         New file bus.c. Added new object: Ethernet bus.
17559         * objects/standard/box.c:
17560         Added call to gtk_spin_button_set_numeric for linewidth spinner
17561         in property dialog.
17563 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
17565         * app/connectionpoint_ops.c:
17566         * app/create_object.c:
17567         * app/group.c:
17568         * app/handle_ops.c:
17569         * app/modify_tool.c:
17570         * lib/connection.c:
17571         * lib/element.c:
17572         * lib/handle.h:
17573         * lib/object.c:
17574         * lib/orth_conn.c:
17575         * loads of objects:
17576         Changed handle->connectable to handle->connect_type.
17577         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
17578         that their connections don't break when moving objects.
17580         * app/diagram.c:
17581         Always select the last handle in an object that has
17582         the closest distance.
17583         
17584         * lib/geometry.[ch]:
17585         Added rectangle_add_point function.
17586         
17588 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
17590         * app/properties.[ch]: New files. Handles the new properties
17591         dialog.
17593         * app/modify_tool.c: Changed to use new properties dialog.
17595         * app/object_ops.[ch]: Removed object_changed_callback, as it's
17596         not needed anymore. This is now handled differently in
17597         properties.c
17599         * lib/object.[ch]:
17600         Changed the properties ops for objects. Removed typedefs
17601         ChangedObjectTime and ObjectChangedFunc needed for the old way.
17602         Added object_return_null function.
17603         
17604         * app/group.c:
17605         * lib/render_object.c:
17606         * objects/*/*.c:
17607         Changed objects to use the new properties dialog.
17608         
17610 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
17612         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
17613         builddir.
17615         * autogen.sh: New file. Copied from gtk and added a call to
17616         libtoolize. Anyone knows why this isn't done in gtk?
17618         * Removed autogenerated files.
17620 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
17622         * Added call setlocale(LC_NUMERIC, "C") so that formating of
17623           floating-point numbers in postscript output will be correct.
17624         * Did some cleanup of generated postscript files.