about to re-add as binary
[dia.git] / ChangeLog
blobafba335021772fc1da244849b5e31cbfbede61f3
1 2004-07-11  Lars Clausen  <lars@raeder.dk>
3         * lib/dialibartrenderer.c: 
4         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): 
5         * lib/object.c: 
6         * lib/object.h (OBJECT_COMMON_PROPERTIES): First attempt at actual
7         rotation.  Very primitive interface, only rect can rotate, only in
8         libart, and there the box collapses:(  But it's progress.
10 2004-07-10  Lars Clausen  <lars@raeder.dk>
12         * app/sheets_dialog_callbacks.c (write_user_sheet): 
13         * lib/sheet.c (load_register_sheet): Don't introduce double
14         slashes in namespace.
16         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
17         old diagrams, or XSLT will barf all over.
18         
19 2004-07-10  Steffen Macke <sdteffen@web.de>
21         * makefile.msc: added doc target; updated for 0.94-pre1 release
22         * shapes/RDP/place.shape:
23         * shapes/RDP/transition.shape: use *.png instead of *.xpm
25 2004-07-08  Steffen Macke <sdteffen@web.de>
27         * plug-ins/wmf/wmf.cpp (UsePen): linewidth is now working for PS_SOLID  
29 2004-07-05  Hans Breuer  <hans@breuer.org>
31         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
32         -std=c89. Mostly //-comments and M_PI -> G_PI
33         [Istar, Jackson, KAOS were removed from build cause they
34         simply have *too* much C++ comments ;]
35         * object/UML/association.c : use g_strdup() not plain strdup()
36         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
37         isn't known with more portable signal code
38         
39         * app/app_procs.c : don't call gtk_init() if just --version
40         is requested (bug #144321, Vladimir Kondratiev)
41         
42         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
43         DiaFont* if not NULL
44         * objects/UML/class.c : moved fill_in_fontdata() to 
45         umlclass_load() to avoid such trouble, though unsure if
46         this really is an improvement...
47         
48         * shapes/network/makefile.am : patch-panel added here too
50 2004-07-04  Hans Breuer  <hans@breuer.org>
52         * sheets/network.sheet.in shapes/network/patch-panel.xpm
53           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
54         fixes bug #136629, James McDonald
56 2004-07-04  Hans Breuer  <hans@breuer.org>
58         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
59           lib/object_defaults.c : revert changing of Dia's XML namespace
60         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
61         about its purpose and relation to real world urls.
63         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
64         added comment about when to do so
65         [Should have been long time ago and probably multiple times
66         to avoid crashing on older plug-ins]
67         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
68         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
70         * lib/object.c objects/UML/class.c : there are still compilers not 
71         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
72         on the stack
73         * objects/UML/class.h : there is a differnce between a list pointer
74         and a list pointer pointer. We and GLib want the former.
76         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
77         if Gtk is initialized. Using gdk_display_get_default () avoids the
78         app/* dependency and is also closer to the requirements of the
79         plug-ins working.
81         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
82         some #ifdefed support for Cairo backends not public available yet.
84         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
85         windoze platform supports them. This should fix bug #109818, at
86         least for the majority running NT or above ...
87         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
89         * objects/makefile.msc : build Istar, Jackson and Kaos
91         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
92         keep old diagrams as they were - instead of this nice new effect ;-)
93         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
95         * objects/UML/class.c : mark for translation _("Wrap ...
97         * objects/UML/class.c : more correct types, also some default properties
98         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
100         * objects/UML/activity.c : removed a leftover from the 
101         use-localization-for-font-substitution-hack
103         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
104         'cvs admin -kb *.png' PNG files should already be *added* as binary,
105         otherwise they are not readable on line-end-converting-platforms
107         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
108         filter_get_by_name()
110         * plug-ins/python/pydia-property.c : some more g_warnings for
111         not implemented conversions
113         * plug-ins/python/group_props.py : ensure unique property values
114         at the right place. Now something like :
115         - load an old UML class diagram
116         - change one of the classes to wrap operations
117         - select all classes (/Select/Same Type)
118         - /Dialogs/Group Properties : check wrap_operations, select '1'
119         - Ok, works like a charm :-)
121 2004-07-04  Lars Clausen  <lars@raeder.dk>
123         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
124         pixbuf. (#145362)
125         
126 2004-07-03  Lars Clausen  <lars@raeder.dk>
128         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
129         <LAV@VL3143.spb.edu>: Fixes console output problems and some
130         interactiveness problems.
132 2004-07-02  Lars Clausen  <lars@reader.dk>
134         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
135         app isn't interactive.
137 2004-07-01  Lars Clausen  <lars@raeder.dk>
139         * plug-ins/cairo/diacairo.c: Add init of last field of filter
140         struct to remove crash.
142         * sheets/Makefile.am (sheet_in_files): 
143         * shapes/Makefile.am: 
144         * sheets/ChemEng.sheet.in: 
145         * shapes/ChemEng/Makefile.am: 
146         * configure.in: 
147         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
148         Chemical engineering shapes.
149         
150         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
151         multiple arguments when using devel script.
153         * app/display.c (new_display): 
154         * app/dia-props.c: 
155         * lib/diagramdata.c (new_diagram_data): 
156         * lib/diagramdata.h: 
157         * app/preferences.h: 
158         * app/preferences.c: 
159         * app/grid.c: 
160         * app/diagram.c: 
161         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
162         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
164         * HACKING: 
165         * doc/pl/authors.xml: 
166         * doc/en/authors.xml: 
167         * lib/object_defaults.c (dia_object_defaults_save): 
168         * readme.win32 (BTW): 
169         * lib/persistence.c (persistence_save): 
170         * app/load_save.c (diagram_data_write_doc): 
171         * app/commands.c (help_about_callback): 
172         * README: Fix links to home page.
174         * lib/font.c: 
175         * app/load_save.c (diagram_data_load): 
176         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
177         loading, and guard against them when fonting.
179         * lib/diarenderer.c (draw_rounded_polyline): Patch from
180         anthonym@overture.com:  Make limited rounding a corner-specific
181         rendering-only thing.
183 2004-06-30  Lars Clausen  <lars@raeder.dk>
185         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
186         adjustment: If you can't fix it, at least don't change it.
188         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
189         code instead of individual code in here.
191 2004-06-29  Lars Clausen  <lars@raeder.dk>
193         * objects/UML/association.c: Patch from Kiran
194         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
195         text. 
197         * lib/geometry.c: 
198         * lib/geometry.h: 
199         * lib/diarenderer.c (draw_rounded_polyline): 
200         * objects/standard/polyline.c (polyline_draw): 
201         * objects/standard/zigzagline.c (zigzagline_draw): 
202         Patch from anthonym@overture.com:  Add rounded polylines.
204 2004-06-27  Lars Clausen  <lars@raeder.dk>
206         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
208         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
209         free family list before taking out the pointer we need. Also set
210         the entry_nr correctly so we get the menu set up right.
212 2004-06-23  Lars Clausen  <lars@raeder.dk>
214         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
215         images at the right place.
217         * objects/Istar/actor.c
218         * objects/Istar/goal.c
219         * objects/Istar/istar.c
220         * objects/Istar/istar.h
221         * objects/Istar/link.c
222         * objects/Istar/other.c
223         * objects/Jackson/domain.c
224         * objects/Jackson/jackson.c
225         * objects/Jackson/jackson.h
226         * objects/Jackson/phenomenon.c
227         * objects/Jackson/requirement.c
228         * objects/KAOS/goal.c
229         * objects/KAOS/kaos.c
230         * objects/KAOS/kaos.h
231         * objects/KAOS/metaandorrel.c
232         * objects/KAOS/metabinrel.c
233         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
234         <cp@cetic.be>: Fix instability issues caused by not returning NULL
235         in *_move_handle and *_move.  Also improved the headers with
236         correct (c) information.
238 2004-06-22  Lars Clausen  <lars@raeder.dk>
240         * objects/KAOS/goal.c:
241         * objects/KAOS/other.c:
242         * objects/Istar/actor.c:
243         * objects/Istar/goal.c:
244         * objects/Istar/other.c:
245         * objects/Jackson/domain.c:
246         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
247         <cp@cetic.be>: Fix resize issues.
249         * app/filedlg.c (file_dialog_hide): Patch from Kiran
250         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
251         related dialog. #129520.
253         * app/dia-props.c (diagram_properties_show): Patch from Kiran
254         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
255         a child of its diagram. #129520.
257         * objects/UML/association.c (association_load): Patch from Kiran
258         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
259         text placement. #118313.
261 2004-06-17  Lars Clausen  <lars@raeder.dk>
263         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
265         * Makefile.am: Make THANKS only be generated by maintainers.
267         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
268         Makefile, too.
270         * configure.in: Added three missing Makefiles.
272         * app/diagram.[ch]: 
273         * app/filedlg.c:
274         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
275         diagram-related (save) dialog when closing diagram.  To be
276         extended to other dialogs.
278         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
280         * samples/Istar.dia:
281         * samples/Jackson.dia:
282         * samples/KAOS.dia:
283         * sheets/Istar.sheet.in:
284         * sheets/Jackson.sheet.in:
285         * sheets/KAOS.sheet.in:
286         * sheets/Istar/*:
287         * sheets/Jackson/*:
288         * sheets/KAOS/*:
289         * objects/Istar/*:
290         * objects/Jackson/*:
291         * objects/KAOS/*:
292         * configure.in: 
293         * objects/Makefile.am (SUBDIRS): 
294         * sheets/Makefile.am (SUBDIRS): 
295         * samples/Makefile.am: Additions from Christophe Ponsard
296         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
297         of hacking still.
299 2004-06-12  Lars Clausen  <lars@raeder.dk>
301         * lib/properties.h: 
302         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
304         * lib/font.h: Toning down comments a bit:)
306         * lib/font.c (dia_font_build_layout): Playing around with DPI 
308         * objects/UML/association.c (association_load): Avoid crashes on
309         strcmp with NULL.
311         * objects/UML/association.c: Patch from kimmidi@novell.com:
312         Improve placement of labels when vertical.  Part fix of #118313
314         * lib/object.c (dia_object_is_selected): Grouped objects are not
315         selected, only the group itself.  Thus, don't crash when grouping
316         beziers. #143681
318         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
319         on how to represent empty strings.  Fixes #143639.
321         * lib/object.c (dia_object_is_selected): Added comment answer.
323 2004-06-12  Hans Breuer  <hans@breuer.org>
325         * lib/diagramdata.c lib/object.c : deal with grouped objects
326         not knowing their parent_layer, i.e. avoid crashing in 
327         dia_object_is_selected() via group_draw() [ Triggered by
328         playing with the Visio generated svg from bug #143455 ]
330         * plug-ins/python/diasvg_import.py : started to implement
331         transformation="translate(...)" and <style/> handling. Also
332         use some other completely bogus values for em/ex scaling
333         
334 2004-06-08  Lars Clausen  <lars@raeder.dk>
336         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
338 2004-06-07  Lars Clausen  <lars@raeder.dk>
340         * app/layer_dialog.c (layer_dialog_set_diagram): 
341         * app/display.c: Layer widget crash more properly dealt with in
342         layer dialog code.
343         
344         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
345         widget deselect was called during destroy, but called
346         ddisplay_flush, leading to a new display timeout after renderer
347         was dead.
349         * lib/widgets.c (dia_toggle_button_destroy): 
350         * app/recent_files.c (recent_file_menuitem_create): 
351         * lib/persistence.c (persistence_save_list): 
352         * app/commands.c (edit_delete_callback): 
353         * lib/object_defaults.c (dia_object_defaults_save): 
354         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
355         (#142669)
356         
357         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
358         debugging info.
360         * lib/diagramdata.c (new_layer): Initialize connectibility.
362         * app/display.c (ddisplay_obj_render): 
363         * app/diagram.c (diagram_find_closest_connectionpoint): Take
364         connectibility into account.
366         * app/layer_dialog.h (struct _DiaLayerWidget): 
367         * app/layer_dialog.c:
368         Connectible toggle updates, now works fairly well.
370         * app/select.c (select_transitive_callback): Make sure we're only
371         selecting in the same layer.
373 2004-06-04  Lars Clausen  <lars@raeder.dk>
375         * app/pixmaps/Makefile.am: Also install connectable images.
376         
377         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
378         layer toggles from layer itself.  Also update diagram correctly
379         for visibility.  Still need updates for connectivity behaviour.
381 2004-06-03  Hans Breuer  <hans@breuer.org>
383         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
385         * lib/diagdkrenderer.c(set_linejoin) : actually set
386         join_style not cap_style
387         (set_dashes): with the correct number of dashes
389 2004-06-03  Lars Clausen  <lars@raeder.dk>
391         * app/modify_tool.c (click_select_object): 
392         * lib/text.c (text_set_cursor): 
393         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
395 2004-05-31  Hans Breuer  <hans@breuer.org>
397         * lib/object_defaults.c : don't 'failed to load external 
398         entity "NULL"' when the defaults file does not exist, 
399         bug #108764 [again: somehow this got lost]
401         * app/paginate_gdiprint.cpp : don guess the WMF export 
402         filter used for printing but find it by unique name.
403         Also update for export_func renaming
404         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
405         provide some unique names
407         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
408           app/select.c : fix bug #140789 by always checking if there
409         still is an active diagram before accessing it
411         * app/defaults.c app/properties.c : user visible string should 
412         not read DiaObject but stay as "Object defaults/properties"
414         * app/app_procs.c : reduce the hack to pass --size to the
415         export via user_data to the only filter supporting it. Other
416         filters would crash on it or do worse ;(
418         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
420 2004-05-31  Lars Clausen  <lars@raeder.dk>
422         * lib/widgets.h: 
423         * lib/widgets.c: Use GtkType rather than guint for
424         dia_size_selector_get_type. 
426 2004-05-29  Lars Clausen  <lars@raeder.dk>
428         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
429         that it matches the screen output for selfoverlapping polygons and
430         beziers. 
432 2004-05-28  Hans Breuer  <hans@breuer.org>
434         * app/load_save.c : ignore empty groups on load and don't
435         write empty groups while saving
436         * lib/group.h (group_update_data): there is no first object
437         in empty groups and they probably don't need an update at 
438         all. Maybe the shold just not exist ?
440         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
441         text positioning as well as drawing of images with alpha
443         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
444         HAVE_WINDOWS_H or G_OS_WIN32 is defined
446 2004-05-28  Lars Clausen  <lars@raeder.dk>
448         * app/pixmaps/Makefile.am (imagedir): 
449         * app/pixmaps/visible.png:
450         * app/pixmaps/visible-empty.png: New images for the visibility
451         button in the layer dialog.
453         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
454         more border around the button.  Still some left when hovering the
455         mouse or selecting, and the grey background is annoying.
457         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
458         visibility connector.
460 2004-05-26  Lars Clausen  <lars@raeder.dk>
462         * configure.in (DB2MAN): Better check for db2man docbook place.
463         Need something even better.
465         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
467         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
468         extraeneous borders.
470         * dia_logo.png:
471         * dia_gnome_icon.png:
472         * samples/render-test.dia: Rendering test from Hans.
474 2004-05-24  Hans Breuer  <hans@breuer.org>
476         * lib/filter.h : renamed DiaExportFilter::export to
477         _DiaExportFilter::export_func (should not use c++ 
478         keywords (g++ specifc ?) in headers. Same for import
479         out of pure symmetry reasons
480         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
481           app/diagram.c app/filedlg.c : reflect functions renaming
483         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
484         under *NIX, too. [If you want something done, do it yourself ;-]
485         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
486         with wmf.cpp's GDI usage
487         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
488         [For the moment it does not much more than compiling, i.e. 
489         the produced WMF files are invalid, if not created on windoze.]
491         * configure.in : check for C++ to compile plug-in/wmf
492         
493         * objects/GRAFCET/boolequation.c : looks like fixing 
494         another leak (untested)
496 2004-05-23  Hans Breuer  <hans@breuer.org>
498         * acinclude.m4 : another attempt to fix 
499         bug #142032 (still not sure it's the right one,
500         but works for me(tm), which the other does not ;)
501         
502         * plug-ins/cairo/Makefile.am
503           plug-ins/Makefile.am 
504           configure.in : support building the new cairo
505         plug-in, if given --with-cairo and the cairo
506         packages are found, see http://cairographics.org
507         and also http://hans.breuer.org/dia/dia-cairo.htm
509         * plug-ins/cairo/diacairo.c : make it compile
510         with DEBUG_CAIRO defined, too.
512 2004-05-23  Hans Breuer  <hans@breuer.org>
514         * plug-ins/cairo/Makefile.am : initial attempt
516         * plug-ins/cairo/diacairo.c : a new exporter based on
517         Cairo http://cairographics.org rendering api. Currently
518         it just can export PNG and PS but one day it might get
519         PDF and more almost for free. [It is not yet included
520         in the *NIX build system due to lack of auto* magic.]
522         * plug-ins/pixbuf/pixbuf.c : always register the export
523         filter part. If the user does not want it it can be 
524         disabled by File/Plugins or explicit selected the other
525         one in the Export Formats List
527 2004-05-23  Hans Breuer  <hans@breuer.org>
529         * lib/dia_dirs.c : #include "message.h"
530           lib/widgets.c : #include "persistence.h"
531           lib/widgets.c(dia_font_selector_init) : still not C99
532           lib/persitence.h : removed unimplemented prototype
533           lib/persitence.c(persistence_load_list) : still not C99
534           app/create_object.c : #include "highlight.h"
535           app/layer_dialog.c : #include "widgets.h"
536           app/modify_tool.c : prototype functions before usage
537           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
538         [otherwise one will have a hard time to make C++ compile ;]
539           lib/dia_dirs.c : #include "message.h"
540           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
541           lib/
543         * plug-ins/xfig/xfig-import.c : dont initialize an int with
544         a string pointer
546         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
547         as documented, i.e. _not_ copying. Plugs a memory leak in
548         lib/dialibartrenderer.c
550         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
551         to radius to more of a clue what it is representing
553         * */makefile.msc lib/libdia.def : updated
555         ChangeLog : fixed some date copy&paste bug
557 2004-05-21  Lars Clausen <lars@raeder.dk>
559         * NEWS: Release tag.
561         * config.h.win32: Now 0.93+cvs
563         * RELEASE-PROCESS: Update with new info about release branches.
564         
565         * Many files:  Moved devel branch back into main trunk.  Should
566         have been done in the opposite way, with release in a branch.  
567         
568 2004-05-20  Hans Breuer  <hans@breuer.org>
570         * acinclude.m4 : disable setting of PYTHON_PREFIX
571         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
572         as workaround for bug #142032 (the real fix would 
573         involve some auto* knowledge which I don't have
574         either;)
575         
576         * plug-ins/python/Makefile.am : more python 
577         plug-ins to be installed (especially svg import,
578         but also 'simple scale' should be useable 
579         sometimes)
580         
581         * plug-ins/python/scascale.py : update display
582         after modifying selected objects
583         
584         * plug-ins/python/diasvg_import.py : initialize
585         stroke to none
586         
587 2004-05-18  Lars Clausen  <lars@raeder.dk>
589         * app/diagram_tree.c (select_node): Use
590         diagram_remove_all_selected to kill selected list.
592         * lib/font.c: Set language when using a different context.
594         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
595         and removed ctype include (#142661).
597         * lib/paper.c (get_default_paper): Changed isalnum to
598         g_ascii_isalnum and removed ctype include. (#142661)
600         * objects/custom/shape_info.c: 
601         * lib/dia_svg.c: 
602         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
604 2004-05-17  Hans Breuer  <hans@breuer.org>
606         * lib/object_defaults.c : don't 'failed to load external 
607         entity "NULL"' when the defaults file does not exist, 
608         bug #108764
610         * lib/widgets.c : fixed possible menu leak
611         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
612         avoid finalization of floating references, bug #142307
614 2004-05-15  Lars Clausen  <lars@raeder.dk>
616         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
617         fonts better (#138655)
618         
619         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
621         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
622         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
624         * Makefile.am (CLEANFILES): 
625         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
626         translation-reports, they are generated automagically.  THANKS
627         file not considered locally generated, so is not locally
628         cleaned. (#133735) 
630         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
632         * lib/diaarrowchooser.c: 
633         * lib/prop_attr.c: Fixing naming for arrowselector.
635         * objects/UML/object.c (objet_type): Oops, little too aggressive
636         with the DiaObject thing here:)
638         * objects/custom/shape_info.c (parse_svg_node): Use
639         g_ascii_isdigit instead of isdigit.
641         * app/diaunitspinner.c (dia_unit_spinner_update): 
642         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
643         instead of isspace avoids char subscript issues (#142467).
645         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
646         return value conflict.
648         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
649         value conflict.  Also improved signature. (#142466)
651         * app/load_save.c (diagram_data_load): Don't overwrite the list in
652         the layer, but instead free the returned list (#142480)
654         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
655         for the grid widget.
657         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
659         * configure.in (DB2MAN): Currently just check for two known
660         positions for the docbook xsl.  Don't know a generic way to find
661         this info.  Ought to add an option for it, but then it's really
662         only required for maintainers, I think.  Maybe.
664         * app/display.c (update_snap_grid_status): Remove nasty image
665         toggling code not require for grid toggle button anymore. (#142475)
667         * app/interface.c (create_display_shell): Use
668         dia_toggle_button_new_with_images to create grid toggle button.
669         Much nicer. (#142475)
671         * app/menus.c (menus_initialize_updatable_items): Free the string
672         along with the GString. (#142475)
674         * lib/intl.c (free_alias_table): Free hash table entries in a
675         proper way, avoiding duplicate frees. (#142475)
677         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
678         not put in the hash (avoid reading freed memory). (#142476)
680         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
681         faces. (#142484)
682         (dia_font_selector_get_family_from_name): Stop leaking
683         families. (#142482) 
685 2004-05-14  Lars Clausen  <lars@raeder.dk>
687         * Transfer of fixes from release branch.  Not the prettiest way to
688         do it, this should be done during release, not afterwards.
690         Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
692         * acinclude.m4: minor fixes (added missing [] quotation).
694         Lars Clausen  <lars@raeder.dk>:
696         * app/interface.c (toolbox_delete): 
697         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
698         cancels quit due to modified diagrams.
700         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
702         * is.po: Added "is" to ALL_LINGUAS.
704         Lars Clausen  <lars@raeder.dk>:
706         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
708         Hans Breuer  <hans@breuer.org>:
710         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
711         burden should be shared and not be win32 only ;) [this time 
712         build was broken by adding GtkType to widget.h]
714         * objects/standard/box.c objects/standard/ellipse.c :
715         for code clarification compare (obj->aspect != FREE_ASPECT)
716         and not (obj->aspect); no binary effect.
718         * app/paginate_psprint.c : don't leak printcmd
720         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
721         standard C requires variables to be declared at the beginning of 
722         a block, also there is no fabsf() with msvc
723         
724         * app/win32print.[ch] : make win32_printer_close() return an
725         error code, it's used as pclose replacement
727         Lars Clausen  <lars@raeder.dk>:
729         * RELEASE-PROCESS: Mention PATCH keyword in release process.
731 2004-05-06  Lars Clausen  <lars@raeder.dk>
733         * lib/widgets.[ch]: Utility function to make a widget with two
734         images (selected and non-selected).
736         * lib/diagramdata.h: Renamed selectable to connectable.
737         Selectable will come later.
739         * configure.in: 
740         * app/pixmaps/Makefile.am (imagedir): 
741         * app/pixmaps/connectable.png:
742         * app/pixmaps/connectable-empty.png: New images for the
743         selectability widget.  Proper installation, too.
745         * app/layer_dialog.[ch]: Adding new button showing connectability
746         status.  Much cleaner way of doing the button, but some problems
747         with the item getting selected
749         * lib/widgets.h: Reminder of how to install images for use by
750         dia_get_image_from_file.
752 2004-05-05  Lars Clausen  <lars@raeder.dk>
754         * objects/network/Makefile.am: 
755         * objects/network/pixmaps/radiocell.xpm: 
756         * objects/network/pixmaps/basestation.xpm: 
757         * objects/network/network.c: 
758         * objects/network/basestation.c: 
759         * objects/network/radiocell.c: 
760         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
761         station objects.
763         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
764         Backslash arrow head. 
766         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
767         Notify takes care.  Should maybe use that more.
769         * lib/diagramdata.[ch]: 
770         * app/filedlg.c (file_export_ok_callback): 
771         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
773         * app/dia-props.c (diagram_properties_respond): 
774         * app/diagram.c (diagram_set_modified): 
775         * app/undo.c: 
776         * app/disp_callbacks.c: 
777         * app/commands.c: 
778         * app/load_save.c (diagram_save): 
779         Better handling of undo and modified status -- only diagram
780         properties and page setup explicitly set modified status, all
781         other important changes should be done through the undo stack
782         now.
784 2004-05-04  Lars Clausen  <lars@raeder.dk>
786         * app/app_procs.c (app_init): Consistently open a new diagram if
787         none specified, with standard name Diagram1.dia.
789         * app/layer_dialog.c: 
790         * app/diagram.c (diagram_finalize): 
791         * app/commands.c (dialogs_layers_callback): 
792         * app/filedlg.c (file_export_ok_callback): 
793         * app/app_procs.c (app_exit): 
794         * app/display.c (display_set_active): 
795         * app/interface.c (dia_dnd_file_drag_data_received): 
796         * app/recent_files.c: 
797         Undone attempt at unifying the multi-diagram windows (like
798         layers).  It broke the layers and didn't make much sense for the
799         diagram properties dialog anyway.
801         * lib/group.c: 
802         * lib/diatypes.h: 
803         * lib/diagramdata.c: 
804         * lib/object.h: 
805         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
806         many subclasses have to be fixed.  Fixed remaining
807         Object/ObjectType renaming issues.
809 2004-05-02  Lars Clausen  <lars@raeder.dk>
811         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
812           having to make all the children objects conform to
813           GObject style at once?  Warning!  Does not compile right now.
815         * many, many files: Rename Object to DiaObject in preparation for
816           making it a GObject.
817         
818         * app/diagram.[ch]: Turn diagram into a real GObject.
820         * app/pagesetup.c: 
821         * app/filedlg.c: Correctly ref and unref diagram. 
823         * lib/diagramdata.h: Starting to turn it into a GObject as well.
825 2004-05-02  Lars Clausen  <lars@raeder.dk>
827         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
828         GObject. 
830         * app/dia-props.c: Undo the attempt at making it really
831         multi-diagram, now going for a one-diagram dialog.
833 2004-04-30  Lars Clausen  <lars@raeder.dk>
835         * app/undo.c: Undoing broken undo stuff for diagram properties and
836         page setup.  Shouldn't be mixed into undo at all.
838         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
839         function to avoid in particular the grid crawling.
841         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
842         to allow aligning dashes, so they don't crawl.
844 2004-04-28  Lars Clausen  <lars@raeder.dk>
846         * app/Makefile.am: New files diacanvas.[ch]
848         * app/interface.c (create_display_shell): Use new diacanvas that
849         allows placing widgets on canvas, for text edit.
851         * lib/object.h: 
852         Early work towards rotation.  No implementation yet.
854         * app/layer_dialog.c (undo_layer): 
855         * objects/network/bus.c (bus_create_change): 
856         * objects/standard/box.c (aspect_create_change): 
857         * objects/standard/ellipse.c (aspect_create_change): 
858         Use g_new0 for change struct.
860         * app/undo.c (diagram_change_apply_or_revert): 
861         Support for undo of diagram properties and page setup.
863         * app/disp_callbacks.c (ddisplay_canvas_events): 
864         * lib/text.h: 
865         * lib/diagramdata.h: 
866         * app/modify_tool.c (click_select_object): 
867         * lib/text.c (text_register_editable): 
868         Starting work on new text editing model.  Guarded by #ifdef so
869         far. 
871 2004-04-07  Lars Clausen  <lars@raeder.dk>
873         * app/recent_files.c (open_recent_file_callback): 
874         * app/interface.c (origin_button_press): 
875         * app/filedlg.c (file_open_ok_callback): 
876         * app/display.c: 
877         * app/diagram.[ch]: 
878         * app/commands.c (dialogs_layers_callback): Using new
879         diagram_set_current() function to ensure auxilliary windows are
880         updated. 
882         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
883         menu now borken.  *sniff*
885         * app/dia-props.c: Diagram properties window attempted
886         persistentified.  Trying to make more like layer dialog (since it
887         already changes when the diagram changes), but some things still
888         borken. 
890 2004-04-06  Lars Clausen  <lars@raeder.dk>
892         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
893         * lib/attributes.c (attributes_set_default_line_style): 
894         * app/interface.c (create_lineprops_area): 
895         Make line style persistent as well.  Added function to directly
896         set the style and dashlength of a dialinechooser. 
898 2004-04-03  Lars Clausen  <lars@raeder.dk>
900         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
901         Copy the ellipse extra handle correctly.
903         * objects/standard/box.c (box_move_handle): Move definitions
904         according to bug #138925.
906 2004-04-02  Lars Clausen  <lars@raeder.dk>
908         * app/recent_files.c: Use absolute name for recent files list.
910         * lib/attributes.c: Set start and end arrow types, correctly.
912         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
913         to get arrow index.
915         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
917         * app/interface.c (create_lineprops_area): Set persistently stored
918         arrow info.
920         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
921         from arrow type.
923         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
924         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
926         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
927         with what xfig does.  Text now converted from latin-1 to utf-8
928         (latin-1, since that's what xfig seems to use.  Would like to see
929         examples of non-latin-1 figs).  String case problems fixed.
931 2004-04-01  Lars Clausen  <lars@raeder.dk>
933         * lib/attributes.c: 
934         * app/interface.c: Default arrows now stored persistently, too.
936         * lib/arrows.[ch]: New function to get arrow type from name.
938         * app/color_area.c (color_area_create): 
939         * lib/attributes.c: 
940         * app/linewidth_area.c: Also persistent colors and line width.
941         That was easy.  Arrows and line style will take a bit more work,
942         but not much.
944 2004-04-01  Lars Clausen  <lars@raeder.dk>
946         * app/preferences.c:   All preferences are now
947         handled by persistence, old prefs load and store code is gone.
949         * lib/persistence.[ch]: Added string and color persistents.  This is
950         a different string from the one used in the printer dialog, that
951         one has a GtkEntry attached -- may want to make that one an
952         encapsulation of this one or something.
954 2004-03-31  Lars Clausen  <lars@raeder.dk>
956         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
957         phased out anyway.
958         
959         * lib/persistence.[ch]: 
960         * app/preferences.c: Adding persistence for integers, reals,
961         booleans.  Fixed stupid list bug.  Test persistence for prefs.
963 2004-03-30  Lars Clausen  <lars@raeder.dk>
965         * app/recent_files.c: 
966         Debugging of deallocation.
967         
968         * lib/widgets.c: 
969         Font menu now uses persistence.  Ordering needs fixing, or it must
970         be sorted.
972         * lib/libdia.def: 
973         * lib/Makefile.am (libdia_la_SOURCES): 
974         * app/Makefile.am (dia_core_files): 
975         * app/persistence.[ch]: 
976         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
977         number of fixes, including multiple entries now being read
978         properly.  Still some oddity about the persistent list having the
979         role as first entry (which makes the font menu crash after a few
980         iterations). 
982 2004-03-26  Lars Clausen  <lars@raeder.dk>
984         * app/persistence.c:
985         * app/recent_files.[ch]: Redoing the recent-files list using
986         persistence, reducing code by about 50%.  Still a problem when
987         selecting an item from the menu -- possibly it doesn't like the
988         menu being destroyed while in the callback?
990 2004-03-25  Lars Clausen  <lars@raeder.dk>
992         * app/persistence.c (persistence_load_string): Missing semicolon?!?
994 2004-03-24  Lars Clausen  <lars@raeder.dk>
996         * RELEASE-PROCESS: 
998         * app/persistence.[ch]: 
999         * app/paginate_psprint.c (diagram_print_ps): New type of data can
1000         be stored persistently:  Strings.  Only the printer command/file
1001         go in here now, but things like creator, organization, diagram
1002         comments etc could also be handled this way.
1004         * objects/standard/beziergon.c (beziergon_draw): Avoid control
1005         lines when the object is not selected.
1007 2004-03-23  Lars Clausen  <lars@raeder.dk>
1009         * lib/connectionpoint.h: 
1010         * app/load_save.c: Allow connection points to have names, and
1011         handle that in load/store.
1013         * lib/dialibartrenderer.c: Better highlighting for text.
1015         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
1016         * lib/diagdkrenderer.c: Better highlighting for all, using same
1017         principles as libart highlighter.
1019 2004-03-22  Lars Clausen  <lars@raeder.dk>
1021         * lib/dialibartrenderer.[ch]: 
1022         * lib/diagdkrenderer.c: 
1023         * lib/object.h: 
1024         * app/object_ops.c:
1025         * app/diagram.[ch]:
1026         * app/display.[ch]:
1027         * app/Makefile.am: 
1028         * app/modify_tool.c: 
1029         * app/create_object.c: 
1030         * app/highlight.[ch]: 
1031         Added simple object highlighting.  In GDK rendering, highlights
1032         the bbox, in libart highlights the outline of the object (except
1033         for texts).
1035 2004-03-22  Lars Clausen  <lars@raeder.dk>
1037         * RELEASE-PROCESS: Added info on how to do a branch for
1038         development during release process.
1040 2004-03-20  Lars Clausen  <lars@raeder.dk>
1042         * RELEASE-PROCESS: Mention PATCH keyword in release process.
1044 2004-03-19  Lars Clausen  <lars@raeder.dk>
1046         * xmldocs.make: Fixed apparent uninstall error.
1048         * config.h.win32: 
1049         * doc/en/dia-manual.xml: 
1050         * doc/pl/dia-manual.xml: 
1051         * dia.spec: 
1052         * configure.in: 
1053         * NEWS: Version 0.93-pre1.
1055         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
1056         borelli):  Remove some deprecated stuff.
1058 2004-03-18  Lars Clausen  <lars@raeder.dk>
1060         * Makefile.am: Try better uninstall thing for scrollkeeper.
1062         * objects/ER/entity.c: 
1063         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
1064         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
1065         1, 1 exactly, as well as associative ER entities.
1067 2004-03-17  Lars Clausen  <lars@raeder.dk>
1069         * Makefile.am: Make distcheck not complain about scrollkeeper
1070         problems (as per advice from James Henstridge).
1072         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
1073         standard installation.
1075         * objects/standard/ellipse.c: Better strings for object menu.
1077         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
1078         of dialogs (shame on you, glade!)
1080         * objects/custom/custom_object.c (custom_setup_properties):
1081         Removed debugging output
1083         * app/paginate_psprint.c (diagram_print_ps): Slightly more
1084         readable printer error messages.
1086         * xmldocs.make: 
1087         * omf.make: 
1088         * doc/en/Makefile.am: 
1089         * doc/pl/Makefile.am: 
1090         New more standard way to install the XML-based manuals.  
1092 2004-03-15  Lars Clausen  <lars@raeder.dk>
1094         * objects/standard/box.c (box_move_handle): More intuitive fixed
1095         aspect behaviour.
1097         * objects/standard/ellipse.c: 
1098         * objects/standard/box.c: 
1100         * lib/widgets.[ch]:
1101         * app/layer_dialog.[ch]:
1102         Patch from Steve Langasek <vorlon@debian.org>:
1103         Fixes startup crash on Alpha (bug #137169)
1104         
1105         * objects/standard/box.c: Aspect fixing like ellipses.
1107         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
1109         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
1110         pixmaps, now can uninstall properly.
1112         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
1113         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
1114         #93940. 
1115         Added object menu access.
1117 2004-03-07  Hans Breuer  <hans@breuer.org>
1119         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
1120         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
1121         would not use deprecated apis, but it's much simpler this way)
1123         * lib/makefile.msc : build the above new widgets and render_pixmap
1124         * lib/libdia.def app/dia.def app/makefile.msc : updated
1126         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
1127         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
1128         Previously it gave :
1129         disp_callbacks.c(188) : error C2059: syntax error : '}'
1130         disp_callbacks.c(191) : warning C4034: sizeof returns 0
1132         * app/interface.c : #include "dialinechooser.h"
1134         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
1135         [one more reason not to use it here : it's quite slow compared to
1136          the native win32 font renderer ;]
1138         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
1139         a GtkDialog*, removed unneeded cast
1141         * app/render_eps.c : avoid assignment warning for void* user_data
1142         not being an int 
1144 2004-03-06  Steffen Macke sdteffen@web.de>
1146         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
1147         shapes
1149 2004-03-06  Lars Clausen  <lars@raeder.dk>
1151         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
1152         0.5, as per poll.
1154         * lib/font.c: Simple cleanup system for layout cache removes any
1155         layout that hasn't been used for 10 minutes, but only during idle
1156         time. 
1158 2004-03-05  Lars Clausen  <lars@raeder.dk>
1160         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
1161         (lluis padro) (#130887): Extended Electric shapes with vertical
1162         versions. 
1164         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
1165         start with "Create a" or "A", always capitalize first word).
1167         * objects/standard/ellipse.c: Patch from Grégoire Dooms
1168         <dooms@info.ucl.ac.be>: Add extra connection point in center of
1169         ellipse.  Additionally added a handle in the center, and resize is
1170         now around the center.
1172         * configure.in: 
1173         * sheets/Makefile.am (SUBDIRS): 
1174         * sheets/IsometricMap.sheet.in: 
1175         * shapes/Map/Isometric/*
1176         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
1178 2004-03-04  Lars Clausen  <lars@raeder.dk>
1180         * lib/Makefile.am: 
1181         * lib/pixmaps/Makefile.am: 
1182         * configure.in: 
1183         Better installation handling of pixmaps.
1184         
1185         * lib/diagdkrenderer.c: 
1186         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
1187         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
1188         Constness fixes.
1190 2004-03-03  Lars Clausen  <lars@raeder.dk>
1192         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
1193         * lib/diagdkrenderer.c: 
1194         * lib/diasvgrenderer.c:
1195         * lib/dialibartrenderer.c:
1196         * lib/diainteractiverenderer.c: 
1197         * lib/prop_text.c (multistringprop_handle_key): 
1198         * lib/dia_dirs.c: 
1199         * lib/dia_image.c (dia_image_rgba_data): 
1200         * lib/widgets.c: 
1201         * lib/diagramdata.c (layer_set_object_list): 
1202         * lib/font.h: 
1203         * lib/font.c: 
1204         Getting rid of compile warnings.
1206         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
1207         images.  Also remove unused decls.
1209 2004-03-02  Lars Clausen  <lars@raeder.dk>
1211         * lib/widgets.h: 
1212         * lib/widgets.c (dia_size_selector_init): Add images to the size
1213         selector chain widget.  Also new function to load installed images
1214         from files (better than from included XPM, IMHO).
1216 2004-03-02  Lars Clausen  <lars@raeder.dk>
1218         * lib/libdia.def: 
1219         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
1220         size selector.
1222         * lib/Makefile.am: 
1223         * lib/widgets.c (dia_size_selector_init): Work
1224         on getting proper icon onto the size selector.  Need simple image
1225         load mechanism in utils.
1227         * lib/text.c: 
1228         * app/display.[ch]:
1229         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
1230         strings, handle utf8 strlen properly.  Bug #135930.
1232 2004-03-01  Lars Clausen  <lars@raeder.dk>
1234         * shapes/Cybernetics/*:
1235         * sheets/Cybernetics.sheet.in:
1236         * sheets/Makefile.am:
1237         * shapes/Makefile.am: 
1238         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
1239         Roggendorf): Cybernetic shapes (#95553).
1241 2004-03-01  Lars Clausen  <lars@raeder.dk>
1243         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
1245         * lib/diatypes.h: New type DiaSizeSelector.
1247         * lib/widgets.[ch]: New size selector widgets that selects two
1248         values (width and height, nominally) optionally linked to keep
1249         aspect ratio.
1251 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
1253         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
1254         in front of file. Bug #128600.
1256         * app/Makefile.am:
1257         * app/interface.h:
1258         * app/lineprops_area.[ch]:
1259         * lib/Makefile.am:
1260         * lib/dialinechooser.[ch]:
1261         * lib/widgets.c (dia_line_style_selector_init): use line preview 
1262         instead of text labels. This involve moving away line_chooser to lib
1263         from app.
1265         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
1266         symbol conflicts.
1268         * app/Makefile.am (dia_core_files): 
1269         * app/interface.c (create_lineprops_area):
1270         * app/render_pixmap.[ch]:
1271         * lib/Makefile.am:
1272         * lib/diaarrowchooser.[ch]:
1273         * lib/libdia.def:
1274         * lib/prop_attr.c:
1275         * lib/propdialogs.c:
1276         * lib/render_pixmap.[ch]:
1277         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
1278         of text labels. This involve moving away arrow_chooser to lib from
1279         app.
1281 2004-02-29  Lars Clausen  <lars@raeder.dk>
1283         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
1284         being updated half-way through destruction.  To be removed when
1285         the lists are replaced by something better.
1287         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
1288         Accelerators for class dialog.  Bug #130995.
1289         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
1291         * app/dia-props.c:
1292         * app/preferences.c:
1293         * lib/properties.c:
1294         * objects/GRAFCET/step.c:
1295         * objects/Misc/analog_clock.c:
1296         * objects/chronogram/chronoline.c:
1297         * objects/chronogram/chronoref.c:
1298         Change to american spelling (color, not colour) to ease
1299         translators job.  Note that a number of translations may need an
1300         update now.  Bug #120466.
1302 2004-02-29  Lars Clausen  <lars@raeder.dk>
1304         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
1305         Better arrow handling for missing arrows.
1307         * plug-ins/metapost/render_metapost.[ch]: Patch from
1308         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
1309         size. See bug #135363.
1311         * app/app_procs.c (app_init): If non-interactive, or if
1312         --log-to-stderr used, send all messages to stderr.  This should
1313         mean that old diaconv == dia --export-to-format=FOO BAR
1315 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
1317         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
1319 2004-02-28  Lars Clausen  <lars@raeder.dk>
1321         * lib/text.c (text_key_event): Patch from Kouhei Sutou
1322         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
1324 2004-02-27  Lars Clausen  <lars@raeder.dk>
1326         * KNOWN_BUGS: Added info on most commonly reported bugs, with
1327         BugZilla numbers.
1328         
1329         * app/disp_callbacks.c (popup_object_menu): Unified properties
1330         entry, fixes bug #105080.
1332         * app/diagram.c (diagram_update_menu_sensitivity): 
1333         * app/menus.h (struct _UpdatableMenuItems): 
1334         * app/menus.c (menus_initialize_updatable_items): Menu items
1335         changed around, align menus flattened, properties entry ghosted,
1336         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
1337         #117495, #135125.
1338         Also taking out Gnome menus for now.  They don't allow shortcuts,
1339         so what are they good for?
1341 2004-02-27  Lars Clausen  <lars@raeder.dk>
1343         * app/menus.c (display_menu_items): 
1344         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
1345         (bug #95546).
1347 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
1349         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
1351 2004-02-23  Lars Clausen  <lars@raeder.dk>
1353         * app/app_procs.c (app_init): Comments for translators.
1355 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
1357         * app/preferences.c (prefs_create_dialog): Change packing policy
1358         for widget to expand.
1360         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
1361         running with a debugger.
1363 2004-02-19  Lars Clausen  <lars@raeder.dk>
1365         * app/undo.[ch]: Adding last-saved information to undo to allow a
1366         diagram with all changes since last save undo to be marked as
1367         nonmodified.  Still needs integration with actual undo
1368         apply/revert calls.
1370         * app/diagram.h: 
1371         * app/diagram_tree.c (diagram_tree_update): 
1372         * app/diagram.c: 
1373         * app/display.c (update_modified_status): 
1374         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
1375         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
1376         test. 
1378         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
1379         vs. EPSI, comment out EPSI until preview is in there.
1381         * lib/render.c: 
1382         * lib/diarenderer.c: Removing debugging printfs.
1384         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
1385         (with preview)
1387         * objects/standard/arc.c (arc_update_handles): Check to avoid
1388         crash when start and end points are the same.
1390 2004-02-19  Lars Clausen  <lars@raeder.dk>
1392         * objects/standard/bezier.c: 
1393         * objects/standard/line.c (line_load): 
1394         * objects/standard/polyline.c (polyline_load): 
1395         * objects/standard/zigzagline.c (zigzagline_load): 
1396         * objects/standard/arc.c (arc_load): 
1397         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
1398         instead of hardcoding.
1400 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
1402         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
1403         display properties.
1405 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
1407         * app/app_procs.c: declare rc properly with the proper #ifdef
1409 2004-02-17  Lars Clausen  <lars@raeder.dk>
1411         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
1412         objects (which seemingly FIG itself breaks, or else there is no
1413         ordering).
1415 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1417         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
1418         width renderable in xfig.  Helps on bug #133637, but does not
1419         quite fix it -- something about depth is wrong.
1421         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
1422         Extern definitions for Mac compilation.
1424         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
1425         (jdassen@debian.org): Include fix.
1427         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
1428         sure the initial diagram size is correct.
1430 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
1432         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
1433         CPPFLAGS, as per automake warning.
1434         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
1435         LDFLAGS, as per automake warning.
1436         (run_dia.sh): More robust creation, and more easily moved.
1438         * app/undo.c (group_objects_revert): Don't double-free the objects
1439         list.  (#129221) Call object_add_updates on grouped objects.
1440         (ungroup_objects_revert): Call object_add_updates on grouped objects.
1442         * lib/diagramdata.c: Internal
1443         documentation. 
1445         * lib/polyshape.c (polyshape_update_data): Correctly calculate
1446         directions for polyshape corners (thanks, Valgrind!)
1448         * lib/attributes.c: 
1449         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
1451         * lib/arrows.h: Default arrow size defined.  After all are using
1452         this, may lower to 0.4 or so.
1454         * app/lineprops_area.[ch]: New function to set the arrow type for an
1455         arrow chooser.
1457         * app/interface.c (create_lineprops_area): Set default line to
1458         have an arrow (fairly likely to be what's wanted, plus it shows
1459         the user where arrows are set).
1461         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
1463 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1465         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
1466         Dotted lines should use dot_length, not dash_length.
1468 2004-02-06  Hans Breuer  <hans@breuer.org>
1470         * app/interface.c : don't use gtk_drawing_area_size() to avoid
1471         the defaut size being also the minimum size. Instead use
1472         gtk_window_set_default_size() on the display shell. Fixes #130982.
1474         [fixing #131210, but umlauts in the 'main' filename still not really 
1475          supported on systems where filesystem encoding != utf8
1476         (Problems with recent file menu and window title)]
1477         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
1478         to deal with possible differnces in filename encodings, see
1479         g_filename_<to|from>_utf8()
1480         * objects/standard/image.c : use them.
1482         * lib/widgets.c : handle possible encoding difference here, too.
1483         Also get rid of most warnings by using const and GTK casts where 
1484         appropriate; one wrong cast (probably causing a crash) was found/fixed 
1485         by this - the remaining give a hint on finally leaking FontSelectorEntry.
1487         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
1488         dia_file_selector_<get|set>_file to behave like the respective Gtk 
1489         functions do : encoding- and const-wise ;-)
1491 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
1493         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1495 2004-01-19  Hans Breuer  <hans@breuer.org>
1497         * app/app_procs.c app/diaconv : 
1498         only call bind_textdomain_codeset when available, what's good 
1499         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
1500         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
1502 2004-01-19  Steffen Macke <sdteffen@web.de>
1504         * makefile.msc: updated for new GAIM-like installer build; sync'ed
1505         ALL_LINGUAS with configure.in
1507 2004-01-18  Hans Breuer  <hans@breuer.org>
1509         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
1510         by not passing NULL to g_print()
1512         * app/interface.c (create_toolbox) : actually use
1513         persitence_register_window() to restore toolbox window size
1515         * app/makefile.msc lib/makefile.msc : allow to deselect
1516         building with Freetype by command line to nmake like :
1517                 nmake -f makefile.msc "NOFT2=1"
1519         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
1520         far as possible with Dia's limited line style
1521         * plug-ins/python/pydia-property.c : allow to get and set
1522         Linestyle, style and dash(length)
1524         * lib/object.h : removed typedef for ObjectId not use anywhere
1526 2004-01-17  Hans Breuer  <hans@breuer.org>
1528         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
1529           doc/shape.dtd doc/custom-shapes : 
1530         support for images in custom shapes, also removed some long-time
1531         dead code
1533         * doc/en/*.xml : fixed crippled line ends which get created
1534         when windoze line ends are checkin from the unix side
1536 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
1538         * configure.in: Added "sq" to ALL_LINGUAS.
1540 2004-01-11  Hans Breuer  <hans@breuer.org>
1542         [more less leaks ;-]
1543         
1544         * objects/SADT/annotation.c : use text_destroy() not g_free()
1545         
1546         * objects/chronogram/chronoline.c : neither leak chronoline::events
1547         nor chronoline::name
1549         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
1551 2004-01-11  Hans Breuer  <hans@breuer.org>
1553         * lib/properties.h :
1554         * objects/custom/custom_object.c : more properties optional
1555         to be backward compatible for older diagrams not having them 
1556         set. (Try to load samples/all_objects.dia)
1557         
1558         [less memory leaks thanks valgrind ;-]
1559         
1560         * app/recent_files.c (recent_file_history_write) : 
1561         g_free(history_filename);
1562         (recent_file_menu_item) : use g_path_get_basename() 
1563         which already strdups, free result of g_strescape()
1564         
1565         * app/filedlg.c (create_export_menu) : return of
1566         filter_get_export_filter_label() must be g_free()'d
1567         (create_open_menu) : same for import
1568         
1569         * app/export_png.c (export_png_ok) : destroy info ptr
1570         with png_destroy_write_struct()
1571         
1572         * app/app_procs.c (app_init) : g_free(export_format_string);
1573         
1574         * lib/font.c (dia_font_finalize) : finalize parent_class, too
1575         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
1576         refing it a second time, g_type_create_from_instance() is enough
1577         
1578         * lib/object_defaults.c (_obj_store) : don't mess with names
1579         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
1580         
1581 2004-01-11  Steffen Macke <sdteffen@web.de>
1583         * app/diapsftrenderer.c: including ftoutln.h
1584         * app/makefile.msc: updated for freetype build
1585         * lib/libdia.def: added dia_font_get_context()
1586         * lib/dialibartrenderer.c (draw_string): added cast
1587         
1588 2004-01-10  Hans Breuer  <hans@breuer.org>
1590         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
1591         transformed coordinates, fixes bug 130804
1593 2004-01-10  Hans Breuer  <hans@breuer.org>
1595         * app/filedlg.c app/app_procs.c : don't try to destroy 
1596         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
1597         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
1598         returns. Fixes 'has no handler' bugs like #121019
1600 2004-01-10  Hans Breuer  <hans@breuer.org>
1602         * objects/UML/class.c objects/UML/class_dialog.c : 
1603         handle umlclass->name being empty to avoid, i.e. fix #127968
1605         [plugging memleaks, thanks valgrind :-]
1606         
1607         * lib/dia_xml.c (data_string) : don't leak return value
1608         of xmlNodeListGetString()
1609         
1610         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
1611         before returning, maybe alloca() would be the better 
1612         choice but anyway ;)
1614         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
1615         
1616         * lib/font.c (dia_font_build_layout) : don't leak result
1617         of g_utf8_strdown()
1618         
1619         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
1620         (this is the one which got me started using valgrind, see #130816)
1621         
1622 2004-01-07  Sanlig Badral  <badral@openmn.org>
1624         * configure.in: Added "mn" to ALL_LINGUAS.
1626 2004-01-04  Hans Breuer  <hans@breuer.org>
1628         * lib/diagdkrenderer.c : replace rendering of really small (height
1629         less than 2 pixels) with a simple dashed line, you wont notice the 
1630         differnce beside it being much faster. This allows ...
1631         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
1632         * app/navigation.c : ... and lets you see an read rendered text even 
1633         in the nice navigation popup.
1635         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
1636         (draw_string) : don't leak temporary image
1638 2004-01-04  Hans Breuer  <hans@breuer.org>
1640         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
1641         * app/interface.c : use dia-app-icons.h to give Dia window icons
1643         * lib/dia_image.c lib/color.c : _never_ call functions implemented
1644         in app/ from lib/. It is not portable and broken from design
1645         * app/app_procs.c : call color_init() and dia_image_init() conditional,
1646         i.e. only if running interactive.
1648         * lib/font.h : #include <time.h>
1650         * lib/libdia.def : updated externals
1652         * objects/UML/actor.c 
1653             objects/UML/association.c (todo)
1654           objects/UML/branch.c
1655           objects/UML/class.[hc] objects/UML/class_dialog.c
1656           objects/UML/classicon.c
1657           objects/UML/component.c 
1658           objects/UML/constraint.c
1659           objects/UML/dependency.c
1660           objects/UML/generalization.c
1661           objects/UML/implements.c
1662           objects/UML/large_package.c
1663           objects/UML/lifeline.c
1664           objects/UML/message.c
1665           objects/UML/node.c
1666           objects/UML/object.c
1667           objects/UML/realizes.c
1668           objects/UML/small_package.c
1669           objects/UML/state.c
1670           objects/UML/usecase.c
1671           objects/UML/
1672         : ported coloring of most UML objects (bug #97517, orginal
1673           work Mathias Hasselmann)
1675         * lib/properties.h : add _OPTIONAL variants for 
1676         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
1677         i.e. default colored - UML diagrams without complaining
1678         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
1679         not set properties with the help of PXP_NOTSET. Otherwise 
1680         optional attributes would lead to wrong initialization. 
1682         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
1683         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
1684         Same for most other selectors which probably should be rewritten
1685         to the combo box with tree model from Gtk+ 2.4
1687 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
1689         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
1690         being the Right Thing(tm) to use on Solaris.
1692         * objects/standard/bezier.c (bezierline_draw): Don't draw
1693         guidelines if not selected.
1695         * lib/object.[ch] (dia_object_is_selected): Function to check whether
1696         a given object is selected. O(n), where n is # selected objects.
1697         
1699 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
1701         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
1702         Fonts dialog is closed without pressing Ok (bug #128646).
1704 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1706         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
1707         #130099). 
1709 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1711         * INSTALL: Updated list of requirements (bug #129653)
1713         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
1714         Pionchon <luc@handhelds.org>.
1716 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1718         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
1719         empty or NULL strings (bug #130097).
1721 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
1722         
1723         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
1724         Added checks against color_black.
1726 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1728         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
1729         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
1730         can happen.
1732         * objects/UML/component_feature.c: Patch from W. Borgert
1733         <debacle@debian.org>:  Add handle to component feature text.
1735         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
1737         * lib/font.c: Caching PangoLayout for better rendering speed.
1739 2003-12-30  Lars Clausen  <lars@raeder.dk>
1741         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
1742         get absolute file name from relative.
1743         * app/recent_files.c (recent_file_history_add): Use absolute
1744         filenames for recent files menu so that files can be found when
1745         Dia is invoked from other places.  
1747         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
1748         Actually load different diagrams if such are requested on command
1749         line.  
1751         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
1752         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
1754         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
1755         remove text rendering.  May be turned into greeking at some later
1756         stage.
1758         * app/interface.c: 
1759         * app/Makefile.am (dia_core_files): 
1760         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
1761         Adds navigation window a la Gimp, though without text being
1762         rendered at all.
1764 2003-12-27  Luc Pionchon <luc@handhelds.org>
1766         * app/navigation.h: (new file)
1767         * app/navigation.c: (new file) creates a navigation window with a
1768         thumbnail view of the whole diagram.
1769         * app/Makefile.am (dia_core_files): added new files.
1771         * app/interface.c (create_display_shell): added a button between
1772         the scrollbars to popup a navigation window.
1774         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
1775         boolean
1776         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
1777         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
1778         not want text rendering.        
1780 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1782         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
1784         * objects/custom/shape_info.[ch]: Cleanup.
1786         * objects/custom/custom_object.[ch]: Changed to use new props
1787         interface.
1789         * lib/properties.h: 
1790         * lib/prop_text.c: 
1791         * lib/prop_inttypes.c: 
1792         * lib/prop_geomtypes.c: Added *prop_get_data_size.
1794         * lib/libdia.def: Added object_load_props.
1796         * configure.in: Better FT2 version test, from bug #129225.
1798         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
1800         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
1801         Lehmann <holger.lehmann@catworkx.de>.
1803         * plug-ins/xslt/Makefile.am: 
1804         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
1805         and OWL XSLT sheets.
1807 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
1809         * lib/diagdkrenderer.c: Add implementation so text is still
1810         rendered.  May be improved later.
1812         * lib/dia_image.c: 
1813         * app/main.c: 
1814         * app/export_png.c: 
1815         * app/diagram.c: 
1816         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
1817         Allow running without a $DISPLAY!
1819         * lib/color.c: Remove warnings for non-interactive run.
1821         * doc/en/dia.dbk: 
1822         * app/export_png.c: 
1823         * app/diaconv.c: 
1824         * app/app_procs.[ch]: 
1825         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
1826         to specify size for PNG output.
1828         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
1829         render a little smaller, so as to fit the big ones.
1831         * lib/arrows.[ch]: New arrow type from W. Borgert
1832         <debacle@debian.org>: Filled Dot and Triangle.
1834 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1836         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
1837         for gif images.
1839         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
1841         * acinclude.m4: Better Python configure code patch (can't find
1842         author, author please speak up!)
1844 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1846         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
1847         smarter ones.
1849 2003-11-30  Hans Breuer  <hans@breuer.org>
1851         * plug-ins/python/diasvg.py : initialize self.dash_length
1852         in constructor to avoid crashing if the renderer user
1853         does not set it before first usage.
1855 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
1857         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
1858         active yet.
1860         * configure.in: 
1861         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
1862         development and stable versions.
1864         * lib/text.c (text_draw): Use new renderer function to draw the
1865         text.
1867         * lib/diarenderer.h: 
1868         * lib/diarenderer.c: New renderer function "draw_text" with
1869         default implementation.  This function should eventually be the
1870         main interface, as it will be able to handle width and caching of
1871         rendering internally.  All users of draw_string should convert to
1872         use Text objects and call either renderer->draw_text or text_draw,
1873         the latter if the text can be edited in-place (as should be the
1874         goal, eventually).
1876 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
1878         * shapes/Circuit/hresistor.shape: First example of extra
1879         attributes. 
1881 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
1883         * plug-ins/shape/shape-export.c: 
1884         * lib/diasvgrenderer.h: 
1885         * lib/diasvgrenderer.c: 
1886         * plug-ins/svg/render_svg.c (new_svg_renderer): 
1887         Actually store the font size, using DiaRenderer's font fields.
1889 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
1891         * objects/custom/shape_info.[ch]: 
1892         * objects/custom/custom_object.[ch]: 
1893         Support for extra attributes in custom objects.
1894         
1895 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
1897         * app/diagram.c (diagram_update_menu_sensitivity): More
1898         intelligent checks for menu sensitivity.  Might be slow on huge
1899         diagrams, but I think other things outweigh it by a lot.
1901         * app/menus.[ch]: Make "Bring Forwards"
1902         and "Send Backwards" updateable.
1904 2003-11-22  Steffen Macke <sdteffen@web.de>
1906         * shapes/Assorted/arrow-turn-up.shape:
1907         * shapes/Assorted/arrow-turn-up.png:
1908         * sheets/Assorted/Makefile.am:
1909         * sheets/Assorted.sheet.in: Added new arrow
1911 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
1913         * app/app_procs.c
1914         * app/color_area.c
1915         * app/commands.c
1916         * app/defaults.c
1917         * app/dia_embedd.c
1918         * app/diagram.c
1919         * app/diagram_tree.c
1920         * app/diagram_tree_menu.c
1921         * app/diagram_tree_window.c
1922         * app/diapagelayout.c
1923         * app/diaunitspinner.c
1924         * app/export_png.c
1925         * app/filedlg.c
1926         * app/interface.c
1927         * app/layer_dialog.c
1928         * app/lineprops_area.c
1929         * app/linewidth_area.c
1930         * app/menus.c
1931         * app/pagesetup.c
1932         * app/paginate_psprint.c
1933         * app/persistence.c
1934         * app/plugin-manager.c
1935         * app/preferences.c
1936         * app/properties.c
1937         * app/recent_files.c
1938         * app/sheets.c
1939         * app/sheets_dialog.c
1940         * app/sheets_dialog_callbacks.c
1941         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
1942         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
1944         * TODO: Updated, note on EPS transparency.
1946 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
1948         * objects/UML/class.c (umlclass_draw): Allow classes with no name
1949         without crashing.
1951 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1953         * config.h.win32: 
1954         * doc/en/dia-manual.xml: 
1955         * dia.spec: 
1956         * configure.in: 
1957         * NEWS: Another Brown Bag release for parenting problems,
1958         including a crash bug fix.
1960         * app/connectionpoint_ops.c (diagram_update_connections_object):
1961         Also update connections when moving children.  This can cause
1962         move_handle to be called twice, so it must be idempotent.
1964         * app/load_save.c: Loading and saving of children totally redone.
1965         Now doesn't violate assumption that all objects in a layer are
1966         placed in order in XML file.
1968         * objects/UML/branch.c (branch_create): Don't lie about being
1969         resizable. 
1971         * objects/UML/node.c (node_create): 
1972         * objects/UML/large_package.c (largepackage_create): Drag with
1973         lower right-hand handle at creation like all other objects.
1975 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
1977         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
1978         parenting drop to behave like a move inside, i.e. constrain place
1979         instead of trying to resize.  'Cause, resizing cannot be done for
1980         all objects (e.g. UML Class). Also simplified the algorithm a lot
1981         at the same time.
1983         * app/load_save.c: Saving and loading of connection points for
1984         children added.  Prototypes for static functions added.
1986         * lib/dynamic_obj.c: Removed debugging output.
1988 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1990         * doc/en/dia-manual.xml: 
1991         * doc/pl/dia-manual.sgml: 
1992         * dia.spec: 
1993         * config.h.win32: 
1994         * configure.in: 
1995         * NEWS: Brown Bag release 0.92.1
1997         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
1999 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2001         * app/app_procs.c (app_init): Rearrangement for translators.
2003 2003-10-24  Steffen Macke <sdteffen@web.de>
2005         * lib/text.c(text_key_event): enforcing the inserted text length now,
2006         fix for bug #125348
2008 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2010         * MAINTAINERS: Change Debian maintainer to be the default address.
2012         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
2013         args to match prototype, thus removing crashbug #125159.
2015         * RELEASE-PROCESS: Note to self.
2017 2003-10-22  Steffen Macke <sdteffen@web.de>
2019         * doc/en/dia-manual.xml: removed superfluous external references
2020         
2021 2003-10-21  Steffen Macke <sdteffen@web.de>
2023         * lib/libdia.def: added filter_get_by_name
2024         * app/render_eps.c: moved extensions definition outside #ifdef
2026 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2028         * Makefile.am: 
2029         * dia.1:
2030         Removed old Dia manual, put new one in doc/en/.  Translations
2031         should go in doc/??/.
2033         * doc/en/dia-manual.xml: 
2034         * doc/pl/dia-manual.sgml: 
2035         * dia.spec (Release): 
2036         * config.h.win32: 
2037         * configure.in: 
2038         * NEWS: 0.92 is here!
2040         * doc/en/dia.dbk: 
2041         * doc/en/dia.1: 
2042         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
2043         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
2044         but it shall be.
2046         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
2048         * doc/en/usage-objects-selecting.xml: Commented out empty note.
2050 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2052         * doc/pl/dia-manual.sgml: 
2053         * doc/en/dia-manual.xml: 
2054         * config.h.win32: 
2055         * NEWS: 
2056         * configure.in: 
2057         * dia.spec (Release): Pre7.
2059         * app/diapsrenderer.c (draw_string): Convert string to print based
2060         on current locale.  If conversion fails, fall back to UTF-8 (which
2061         is almost certain to be messy).
2063 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2065         * doc/pl/dia-manual.sgml: 
2066         * dia.spec (Release): 
2067         * configure.in: 
2068         * NEWS: 
2069         * config.h.win32: 
2070         * doc/en/dia-manual.xml: Pre6.
2072         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
2073         TeX chars in strings -- must be possible to use TeX text in there.
2074         Also avoids infinite loop bug (#124464) Will get option for this
2075         later.
2077 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2079         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
2081         * doc/en/dia-manual.xml: 
2082         * doc/pl/dia-manual.sgml: 
2083         * dia.spec (Release): 
2084         * configure.in: 
2085         * config.h.win32: 
2086         * NEWS: pre5.
2088         * app/authors.h: Removed duplicate of M. C. Nelson.
2090         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
2092         * app/export_png.c: Unique name for libart PNG export: png-libart.
2094         * app/render_eps.c: Unique names for the two eps export methods:
2095         eps-builtin, eps-pango.
2097         * lib/filter.h: Binary compatibility change: 
2098         Added unique name to export filters.  Can be NULL.
2099         * lib/filter.c (filter_get_by_name): Finding a filter by
2100         non-extension name.
2102         * app/app_procs.h: Changed prototype for do_convert.
2103         * app/app_procs.c (app_init): Support for non-extension file
2104         format selection for export.  Also allow extension to differ from
2105         that specified by the filters.  A bit of refactoring, too.
2107 2003-09-28  Steffen Macke <sdteffen@web.de>
2109         * makefile.msc: added target po to update the translations
2111 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2113         * config.h.win32: 
2114         * dia.spec (Release): 
2115         * NEWS: 
2116         * doc/pl/dia-manual.sgml: 
2117         * doc/en/dia-manual.xml: 
2118         Pre4 is given a short try.
2119         
2120         * configure.in: Give all necessary libs to PNG test.
2122         * lib/font.c: Added legacy entries for sans, serif and monospace.
2124         * app/app_procs.c (internal_plugin_init): 
2125         * app/render_eps.h: 
2126         * app/render_eps.c: 
2127         Added PS fonts output for Unix.
2129         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
2130         factor to make PS fonts stay in boxes.
2131         
2132 2003-08-03  Hans Breuer  <hans@breuer.org>
2134         * config.h.win32 : close the version string
2136         * lib/libdia.def : with color_white, color_black being static
2137         on win32 they can not be exported anymore either
2139         * lib/dialibartrenderer.c : text rendering is back on win32,
2140         only by Gdk though; almost a year seems to be enough to
2141         wait for my patch at bug #94791 to be accepted ...
2143 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2145         * shapes/network/{digitizing_board.png,plotter.png,
2146         laptop.png,telephone.png}: 22x22 icons.
2148 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2150         * doc/pl/dia-manual.sgml: 
2151         * doc/en/dia-manual.xml: 
2152         * dia.spec (Release): 
2153         * configure.in: 
2154         * config.h.win32: 
2155         * NEWS: 
2156         pre3 improves font rendering speed.
2158         * app/app_procs.c (app_init): Don't do pango init here, it's done
2159         on demand in font.c now.
2161         * lib/font.c: Load pango context on demand rather than during
2162         init/all the time strikes a better balance between working font
2163         size and speed.  Still need to cache width calculations.
2165 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
2167         * lib/dia_xml.c: Enable pretty printing.  Should have been added
2168         on 8/12. 
2170 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2172         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
2173         adjustment a bit for half diamond and open round.
2175         * RELEASE-PROCESS: Added note about notifying translators and
2176         maintainers. 
2178         * doc/pl/dia-manual.sgml: 
2179         * doc/en/dia-manual.xml: 
2180         * dia.spec (Release): 
2181         * configure.in: 
2182         * config.h.win32: 
2183         * NEWS:
2184         Update to 0.92-pre2.
2185         
2186 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
2188         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
2189         calculation for half diamond and open round.
2191         * lib/arrows.c: 
2192         * objects/UML/component_feature.c: 
2193         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
2194         arrows instead of specific little hacks.  Much nicer, but damn
2195         there's a lot of arrows.
2197         * lib/dialibartrenderer.c (begin_render): 
2198         * app/render_libart.c (begin_render): Use correct DPI for screen
2199         (well, actually the default DPI of 75 for now).
2201         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
2203         * lib/diagdkrenderer.c (draw_string): Some reformatting.
2205         * app/app_procs.c (app_init): Note on what should be done for the
2206         pango context now, only it doesn't work:(
2208         * lib/font.c (dia_font_new): Make sure to load fonts that are
2209         used, using a reasonable pango_context.  Also a comment on the
2210         global_zoom_factor, 
2212 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
2214         * doc/pl/graphics/*.png:
2215         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
2216         loop (bug #121817).  PL translator may want to change the
2217         home_network png to be in Polish.  If the docs get translated into
2218         more languages, we'll want to find out how to share these things.
2220 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
2222         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
2223         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
2224         splash.
2226         * app/filedlg.c (file_save_as_callback): Put filename setting
2227         together.  (Preparation for allowing default save dir.)
2229         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
2230         correctly this time:)
2232         * app/dia-props.c (diagram_properties_show): 
2233         * app/properties.c (properties_show): Make sure the
2234         dialogs are transient for the correct diagram.
2236 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2238         * configure.in: Make sure -lz -lm is passed into second png test
2239         as well (stupid AC_LINK_IFELSE can't take it as an argument).
2241         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
2242         comment-filled files readable.  Once we have a 'generic data'
2243         system, we can put comments in there.
2245 2003-09-06  Steffen Macke <sdteffen@web.de>
2247         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
2248         g_string_sized_new() instead of g_string_new() to make it compile
2249         * app/Makefile.am: including dia.ico and dia.rc in the tarball
2250         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
2251         for non-solid linestyles - otherwise custom linestyles have to be used.
2253 2003-09-02  Steffen Macke <sdteffen@web.de>
2255         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
2256         dia.chm
2258 2003-09-02  Christian Neumair  <chris@gnome-de.org>
2260         * sheets/Pneumatic.sheet.in: Slight unification fix.
2262 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
2264         * config.h.win32: 
2265         * configure.in: 
2266         * dia.spec (Release): 
2267         * doc/en/dia-manual.xml: 
2268         * doc/pl/dia-manual.sgml: 
2269         * NEWS: Update to 0.92-pre1.
2271         * app/properties.c (properties_key_event): Removing Esc/Enter
2272         handling for now, interferes to much with regular dialog usage.
2274         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
2275         Function to escape special TeX characters.  Not in use yet, as
2276         PSTricks output by default is TeX strings.  Should get a save-time
2277         selector. 
2279 2008-09-01  Steffen Macke <sdteffen@web.de>
2281         * lib/paper.h: explanatory comment on width and height
2283 2003-08-30  Steffen Macke <sdteffen@web.de>
2285         * lib/color.c:
2286         * lib/color.h: made color_white, color_black static on win32
2288 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
2290         * configure.in (PNG_LIBS): Something in the png tests added an
2291         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
2293 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2295         * configure.in: Quote correctly for temporarily adding freetype
2296         cflags to CPPFLAGS.
2298         * app/preferences.c (prefs_save): Remove debugging g_print.
2300 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
2302         * objects/flowchart/parallelogram.c (pgram_update_data):
2303         Directions for connections, better system for placing
2304         connectionpoints. 
2306 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2308         * lib/diagramdata.c (layer_find_closest_object_except): Look all
2309         the way through the object list, so the foremost object is selected.
2311         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
2312         included for diagramdata.c.
2314         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
2315         newline in multistringprop not close the dialog.  Failed so far.
2317 2003-08-25  Steffen Macke <sdteffen@web.de>
2319         * app/commands.c: using CHM instead of HTML on win32 if available
2320         * lib/diagramdata.h: including dynamic_obj.h
2322 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2324         * app/properties.c (properties_key_event): Make Enter = Ok for
2325         properties dialogs.  Still some problems with this and Esc for
2326         Cancel, for instances escaping out of a menu closes the dialog.
2328         * objects/UML/association.c (association_get_properties): 
2329         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
2330         focus. 
2332         * app/diapsft2renderer.c (draw_string): Use
2333         dia_font_scaled_build_layout to ensure similarity of text.
2335         * lib/diagramdata.c: Remove obj from dynobj list when removing
2336         from layer to avoid nasty race conditions.
2338         * app/undo.c (group_objects_revert): Make sure to unparent and
2339         remove from dynobj list when changing layers objects.
2341 2003-08-23  Steffen Macke <sdteffen@web.de>
2343         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
2344         StretchBlt(); fixes #92249
2345         
2346 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2348         * app/filedlg.c (file_save_as_callback): 
2349         * app/preferences.h: 
2350         * app/preferences.c (prefs_data): 
2351         * lib/diagramdata.h: 
2352         * lib/diagramdata.c (new_diagram_data): 
2353         * app/load_save.c (diagram_data_load): 
2354         Let the document remember whether it was compressed.  The user can
2355         still override this in the Save As... dialog, and that will still
2356         be remembered as the default for new diagrams.
2358 2003-08-23  Steffen Macke <sdteffen@web.de>
2360         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
2362 2003-08-22  Steffen Macke <sdteffen@web.de>
2364         * plug-ins/xslt/dia-uml.xsl:
2365         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
2366         table containing a list of components grouped by stereotype
2368 2003-08-21  Steffen Macke <sdteffen@web.de>
2370         * lib/makefile.msc: added connectionpoint.obj
2371         * lib/libdia.def: added connpoint_update, find_slope_directions
2372         * app/disp_callbacks.c: including scroll_tool.h
2373         * obj/makefile.msc: added component_feature.obj
2374         * app/paginate_gdiprint.c: fixed loop initialization in 
2375         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
2376         wrong
2378 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
2380         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
2381         move_handle call.
2383         * lib/diagramdata.h: Colors added to prefs.
2384         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
2385         New field for pagebreak color, which should
2386         behave the same as grid color and be settable for a diagram.
2388         * app/diagram.c (diagram_init): Update diagram pagebreak color
2389         from prefs. 
2391         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
2392         colors. 
2394         * app/preferences.[ch]: Default diagram colors now #defines, so
2395         loading can use it.  Also, colors are now in NewDiagramData, so
2396         are passed nicely into new diagrams directly from prefs.  Yum.
2398         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
2399         Support for loading and saving grid and pagebreak colors with the
2400         diagram.  I'm inclined to make all the three Colors in diagram
2401         Color*s instead, so we can tell if they're specified for the
2402         diagram or merely the default setting.  There'd be no way for the
2403         user to tell if the color of a diagram is default, though, unless
2404         we add a 'reset to default' button to prefs.
2406         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
2407         pagebreak color.  Unsensitizing grid size when dynamic.
2409         * objects/UML/component.c: Patch from Krzysztof Foltman
2410         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
2411         third.  Makes the left side connections actually be on the line
2412         (gasp!). 
2414 2003-08-20  Steffen Macke <sdteffen@web.de>
2416         * lib/libdia.def: added layer_find_closest_object_except
2417         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
2419 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
2421         * app/tool.h: 
2422         * app/tool.c: 
2423         * app/scroll_tool.c: 
2424         * app/interface.c: 
2425         * app/disp_callbacks.c: 
2426         * app/create_object.h: 
2427         * app/create_object.c: Patch from Krzysztof Foltman
2428         <kfoltman@onet.pl>: Middle button can scroll transiently when
2429         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
2430         various ways.
2432         * app/authors.h: 
2433         * sheets/UML.sheet.in: 
2434         * sheets/UML/receptacle.xpm: 
2435         * sheets/UML/Makefile.am: 
2436         * sheets/UML/eventsource.xpm: 
2437         * sheets/UML/eventsink.xpm: 
2438         * objects/UML/pixmaps/facet.xpm: 
2439         * objects/UML/uml.c (dia_plugin_init): 
2440         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
2441         * objects/UML/component_feature.c: 
2442         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
2443         event sinks.
2444         
2445 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2447         * lib/object.h: Turning some comments into doxygen style.
2449         * lib/object_defaults.c (dia_object_defaults_load)
2450         (dia_object_default_get, dia_object_default_create): 
2451         Fixing up existing documentation.
2453         * lib/object.h: Doxygen style documentation begun.
2455         * app/create_object.c: 
2456         * app/undo.c: 
2457         * app/connectionpoint_ops.c: 
2458         * app/disp_callbacks.c: 
2459         * app/modify_tool.c: 
2461         * objects/network/wanlink.c (wanlink_move_handle): 
2462         * objects/network/bus.c (bus_move_handle): 
2464         * objects/flowchart/parallelogram.c (pgram_move_handle): 
2465         * objects/flowchart/ellipse.c (ellipse_move_handle): 
2466         * objects/flowchart/diamond.c (diamond_move_handle): 
2467         * objects/flowchart/box.c (box_move_handle): 
2469         * objects/custom/custom_object.c (custom_move_handle): 
2471         * objects/chronogram/chronoref.c (chronoref_move_handle): 
2472         * objects/chronogram/chronoline.c (chronoline_move_handle): 
2474         * objects/SADT/box.c (sadtbox_move_handle): 
2475         * objects/SADT/arrow.c (sadtarrow_move_handle): 
2476         * objects/SADT/annotation.c (annotation_move_handle): 
2478         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
2480         * objects/GRAFCET/vergent.c (vergent_move_handle): 
2481         * objects/GRAFCET/vector.c (arc_move_handle): 
2482         * objects/GRAFCET/transition.c (transition_move_handle): 
2483         * objects/GRAFCET/step.c (step_move_handle): 
2484         * objects/GRAFCET/condition.c (condition_move_handle): 
2485         * objects/GRAFCET/action.c (action_move_handle): 
2487         * objects/FS/function.c: 
2488         * objects/FS/flow.c: 
2489         * objects/FS/flow-ortho.c (orthflow_move_handle): 
2490         * objects/FS/flow-poly.c (flow_move_handle): 
2492         * objects/UML/usecase.c (usecase_move_handle): 
2493         * objects/UML/state_term.c (state_move_handle): 
2494         * objects/UML/state.c (state_move_handle): 
2495         * objects/UML/small_package.c (smallpackage_move_handle): 
2496         * objects/UML/realizes.c (realizes_move_handle): 
2497         * objects/UML/object.c (objet_move_handle): 
2498         * objects/UML/note.c (note_move_handle): 
2499         * objects/UML/node.c (node_move_handle): 
2500         * objects/UML/message.c (message_move_handle): 
2501         * objects/UML/lifeline.c (lifeline_move_handle): 
2502         * objects/UML/large_package.c (largepackage_move_handle): 
2503         * objects/UML/implements.c (implements_move_handle): 
2504         * objects/UML/generalization.c (generalization_move_handle): 
2505         * objects/UML/fork.c (fork_move_handle): 
2506         * objects/UML/dependency.c (dependency_move_handle): 
2507         * objects/UML/constraint.c (constraint_move_handle): 
2508         * objects/UML/compprop.c (compprop_move_handle): 
2509         * objects/UML/component.c (component_move_handle): 
2510         * objects/UML/branch.c (branch_move_handle): 
2511         * objects/UML/association.c (association_move_handle): 
2512         * objects/UML/actor.c (actor_move_handle): 
2513         * objects/UML/activity.c (state_move_handle): 
2514         * objects/UML/class.c (umlclass_move_handle): 
2516         * objects/standard/ellipse.c (ellipse_move_handle): 
2517         * objects/standard/zigzagline.c (zigzagline_move_handle): 
2518         * objects/standard/textobj.c (textobj_move_handle): 
2519         * objects/standard/polyline.c (polyline_move_handle): 
2520         * objects/standard/polygon.c (polygon_move_handle): 
2521         * objects/standard/line.c (line_move_handle): 
2522         * objects/standard/image.c (image_move_handle): 
2523         * objects/standard/bezier.c (bezierline_move_handle): 
2524         * objects/standard/arc.c (arc_move_handle): 
2525         * objects/standard/beziergon.c (beziergon_move_handle): 
2526         * objects/standard/box.c (box_move_handle): 
2527         
2528         * objects/ER/relationship.c (relationship_move_handle): 
2529         * objects/ER/participation.c (participation_move_handle): 
2530         * objects/ER/entity.c (entity_move_handle): 
2531         * objects/ER/attribute.c (attribute_move_handle): 
2532         
2533         * lib/polyshape.c (polyshape_move_handle): 
2534         * lib/polyshape.h: 
2535         * lib/orth_conn.c (orthconn_move_handle): 
2536         * lib/orth_conn.h: 
2537         * lib/neworth_conn.c (neworthconn_move_handle): 
2538         * lib/neworth_conn.h: 
2539         * lib/element.c (element_move_handle): 
2540         * lib/element.h: 
2541         * lib/connection.c (connection_move_handle): 
2542         * lib/connection.h: 
2543         * lib/beziershape.c (beziershape_move_handle): 
2544         * lib/beziershape.h: 
2545         * lib/bezier_conn.c (bezierconn_move_handle): 
2546         * lib/bezier_conn.h: 
2547         *BINARY COMPATIBILITY CHANGE*
2548         Update prototype for *_move_handle() to include connectionpoint,
2549         and also pass on modifiers.  Pass in connectionpoint where
2550         applicable. 
2551         
2552         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
2553         file connectionpoint.c.
2555 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
2557         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2559 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2561         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
2563         * lib/beziershape.c (beziershape_update_data): Autoroute
2564         directions for beziershapes!
2566         * lib/connectionpoint.c (find_slope_directions): 
2567         * lib/connectionpoint.h: Function for finding the available
2568         directions on a slope.
2570         * lib/polyshape.c: Reasonable directions for
2571         connectionpoints.       
2573 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2575         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
2576         * objects/GRAFCET/vergent.c (vergent_update_data): 
2577         * objects/GRAFCET/transition.c (transition_update_data): 
2578         * objects/GRAFCET/action.c (action_update_data): 
2579         * objects/GRAFCET/step.c (step_update_data): 
2580         * objects/FS/function.c (function_update_data): 
2581         * lib/connpoint_line.c (connpointline_putonaline): 
2582         * objects/ER/attribute.c (attribute_update_data): 
2583         * objects/ER/entity.c (entity_update_data): 
2584         * objects/ER/relationship.c (relationship_update_data): 
2585         * objects/chronogram/chronoline.c (chronoline_update_data): Set
2586         directions for connection points.
2588         * objects/UML/component.c (component_create): Set to allow
2589         parenting. 
2591         * app/create_object.c (create_object_button_press): 
2592         * app/diagram.[ch] (diagram_find_clicked_object_except): 
2593         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
2594         Avoid parenting to objects you're connecting to (otherwise you
2595         couldn't make a connection out of a parenting object).  To do
2596         this, added functions to find the nearest object except a given
2597         list of objects.
2598         
2599         * app/render_libart.c: Rearrange libart include to avoid multiple
2600         include program (and put libart includes inside #ifdef!)
2602 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2604         * lib/dialibartrenderer.c: Don't include art_config.h if others
2605         also do, as it isn't #ifdef'd.
2607         * objects/flowchart/ellipse.c (ellipse_update_data): Add
2608         directions for connection points.
2610 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2612         * objects/flowchart/box.c (box_update_data): Add directions, use
2613         connpoint_update. 
2614         (box_load): Use g_malloc0.
2616         * lib/Makefile.am (libdia_la_SOURCES):
2617         * lib/connectionpoint.c (connpoint_update): 
2618         Function to call to update a connection point info in _update_data().
2619         
2620         * lib/connectionpoint.h: Convenience DIR_ macros.
2622         * app/preferences.c (prefs_data): Make pretty formatted XML the
2623         default.
2625         * lib/dialibartrenderer.c: 
2626         * app/render_libart.c: Make sure art_config.h is included, cause
2627         some libart headers are broken.
2629         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
2630         after test.  Add freetype-config cflags to cflags variable.
2632 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2634         * app/authors.h: Credits for Krzysztof.
2636         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
2637         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
2638         than the description) is visible in the title of the properties
2639         dialog.  That ought to be a short description (translatable),
2640         though we still want long descriptions for the tooltips.  Hmmm...
2642         * configure.in: Updated to use AC_LINK_IFELSE instead of
2643         AC_TRY_COMPILE, also force to link to check libs on Solaris.
2645         * objects/ER/entity.c (entity_load): 
2646         * objects/ER/attribute.c (attribute_load): 
2647         * lib/attributes.c (attributes_set_default_font): 
2648         Check if font is non-null before unreffing.
2649         
2650 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
2652         * app/diagram.c (diagram_ungroup_selected) 
2653         (diagram_group_selected): Use the undo apply to make sure grouping
2654         and ungrouping is done in consistent manners.  This removes a fair
2655         amount of duplicated code from diagram.c.
2657         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
2658         (group_objects_revert, group_objects_apply): Working undo/redo for
2659         diagram tree updates.  The initial actions still don't quite work.
2661 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2663         * app/create_object.c (create_object_button_press): 
2664         * app/undo.[ch]: 
2665         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
2666         undo only for manipulating the parent/child relationships.  Things
2667         like removing an object doesn't use the undo functions for
2668         parenting, so any updates to come (like to diagramtree) should be
2669         done in those, too.
2671 2003-08-03  Hans Breuer  <hans@breuer.org>
2673         * app/create_object.c : minor formating and g_new0 for
2674         tool creation
2676         * lib/bezier_conn.[hc] lib/beziershape.[hc]
2677           lib/prop_geomtypes.c (prop_geomtypes_register)
2678           objects/standard/bezier.c objects/standard/beziergon.c :
2679         ability to set bezpoints via StdProp api
2681         * plug-ins/python/pydia-property.c : convert list of tuples
2682         to BEZPOINTARRAY
2684         *  plug-ins/python/diasvg_import.py : use it to
2685         implement part of path parsing. Also minor improvements
2686         like inheritance of group attributes to members,
2687         whitespace, title and style:text/css ignoring ;-)
2689 2003-08-02  Hans Breuer  <hans@breuer.org>
2691         * lib/connections.c (connection_move_handle): return
2692         something to make it compile
2693         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
2694         must return a value -> dito
2695         [Is there a warnings-as-errors switch we could use with gcc 
2696          to avoid such in future ?]
2698         * plug-ins/python/pydia-object.h : define *_Check macros
2699         * plug-ins/python/diamodule.c : provide dia.group_create()
2700         * plug-ins/python/pydia-diagramdata.c : add 
2701         DiaDiagramData.add_layer()
2702         * plug-ins/python/pydia-property.c : allow to set color by
2703         tuple of doubles
2705         *  plug-ins/python/diasvg_import.py : based on the above
2706         implement a) group support, b) rgb(1,2,3) color handling,
2707         and somewhat fishy data:image/png;base64 support (create
2708         temporary files from inline image data)
2709         d) dump the import errors as text into an 'Error' layer
2711         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
2712         stray " in draw_rect and corrected error message formating 
2714         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
2715         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
2716         Jacobowitz.
2717         
2718 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
2720         * app/magnify.c (create_magnify_tool): allocate with g_new0()
2722         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
2723         preferences values (see bug 118570). Also group items into a GtkFrame.
2725 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
2727         * app/menus.c:
2728         * app/menus.h:
2729         * app/commands.h: 
2730         * app/commands.c (objects_unparent_children_callback): 
2731         * app/diagram.h: 
2732         * app/diagram.c (diagram_unparent_selected,
2733         (diagram_update_menu_sensitivity): 
2734         Added unparenting of single children.
2736         * lib/bezier_conn.c:
2737         * lib/bezier_conn.h:
2738         * lib/beziershape.c:
2739         * lib/beziershape.h:
2740         * lib/connection.c:
2741         * lib/connection.h:
2742         * lib/element.c:
2743         * lib/element.h:
2744         * lib/group.c:
2745         * lib/neworth_conn.c:
2746         * lib/neworth_conn.h:
2747         * lib/object.h:
2748         * lib/orth_conn.h:
2749         * lib/poly_conn.c:
2750         * lib/poly_conn.h:
2751         * lib/polyshape.c:
2752         * lib/polyshape.h:
2753         * objects/EML/instantiation.c:
2754         * objects/EML/interaction-ortho.c:
2755         * objects/EML/interaction.c:
2756         * objects/EML/process.c:
2757         * objects/ER/attribute.c:
2758         * objects/ER/entity.c:
2759         * objects/ER/participation.c:
2760         * objects/ER/relationship.c:
2761         * objects/FS/flow-ortho.c:
2762         * objects/FS/flow-poly.c:
2763         * objects/FS/flow.c:
2764         * objects/FS/function.c:
2765         * objects/GRAFCET/action.c:
2766         * objects/GRAFCET/condition.c:
2767         * objects/GRAFCET/step.c:
2768         * objects/GRAFCET/transition.c:
2769         * objects/GRAFCET/vector.c:
2770         * objects/GRAFCET/vergent.c:
2771         * objects/Misc/analog_clock.c:
2772         * objects/SADT/annotation.c:
2773         * objects/SADT/arrow.c:
2774         * objects/SADT/box.c:
2775         * objects/UML/activity.c:
2776         * objects/UML/actor.c:
2777         * objects/UML/association.c:
2778         * objects/UML/branch.c:
2779         * objects/UML/class.c:
2780         * objects/UML/classicon.c:
2781         * objects/UML/component.c:
2782         * objects/UML/constraint.c:
2783         * objects/UML/dependency.c:
2784         * objects/UML/fork.c:
2785         * objects/UML/generalization.c:
2786         * objects/UML/implements.c:
2787         * objects/UML/large_package.c:
2788         * objects/UML/lifeline.c:
2789         * objects/UML/message.c:
2790         * objects/UML/node.c:
2791         * objects/UML/note.c:
2792         * objects/UML/object.c:
2793         * objects/UML/realizes.c:
2794         * objects/UML/small_package.c:
2795         * objects/UML/state.c:
2796         * objects/UML/state_term.c:
2797         * objects/UML/usecase.c:
2798         * objects/chronogram/chronoline.c:
2799         * objects/chronogram/chronoref.c:
2800         * objects/custom/custom_object.c:
2801         * objects/flowchart/box.c:
2802         * objects/flowchart/diamond.c:
2803         * objects/flowchart/ellipse.c:
2804         * objects/flowchart/parallelogram.c:
2805         * objects/network/bus.c:
2806         * objects/network/wanlink.c:
2807         * objects/standard/arc.c:
2808         * objects/standard/bezier.c:
2809         * objects/standard/beziergon.c:
2810         * objects/standard/box.c:
2811         * objects/standard/ellipse.c:
2812         * objects/standard/image.c:
2813         * objects/standard/line.c:
2814         * objects/standard/polygon.c:
2815         * objects/standard/polyline.c:
2816         * objects/standard/textobj.c:
2817         * objects/standard/zigzagline.c:
2818         Binary compatibility update:  Added return value for foo_move() and
2819         foo_move_handle().  Orthconn derivatives also returns change from
2820         orthconn_move_handle().
2821         
2822         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
2823         doesn't support it yet.
2825         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
2826         Add returning ObjectChange from object moves.  Needs to handle
2827         multiple object moves.
2829         * app/modify_tool.c (modify_motion, modify_release): Add
2830         ObjectChange from move & move_handle to undo stack.
2832         * objects/EML/instantiation.c (instantiation_move): Removing
2833         duplicate move & update.
2835 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
2837         * plug-ins/xfig/xfig-export.c: Added support for arrow head
2838         export.  Many arrow types not supported by XFig, replacing those
2839         with standard arrows.  Not sure whether it'd be better to render
2840         them as a group of lines instead.  You'd lose the arrow-ness for
2841         further editing, but preserve the actual shape of it.  Also added
2842         support for dash length.
2844         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
2846         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
2847         description for version 3.2, for reference.
2849         * plug-ins/xfig/xfig-import.c: Added import of arrows.
2851         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
2852         Align Vertical Adjacent call _v rather than _h.
2854 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
2856         * app/scroll_tool.c (create_scroll_tool): 
2857         * app/modify_tool.c (create_modify_tool): use g_new0() to
2858         initialize the tool
2860 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
2862         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
2864 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
2866         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
2868 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
2870         * configure.in: Added Belarusian to ALL_LINGUAS.
2872 2003-07-19  Hans Breuer  <hans@breuer.org>
2874         [
2875          Make the xslt plug-in work on win32, too. It appears
2876          to require a quite recent version of libxml and libxslt,
2877          otherwise windoze pathes aren't translated correctly
2878          during file processing
2879         ]
2881         * plug-ins/xslt/xslt.h : #include <glib.h> before 
2882         using G_OS_WIN32
2884         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
2885         the 'script' file finding similar to how it is done
2886         with the python scripts (no need for hardcoded pathes,
2887         removed the 'plugin' part from the path)
2889         * plug-ins/xslt/stylesheets.xml : added again. It does
2890         not have any path but only the pure filename again
2892         * plug-ins/xslt/stylesheets.xml.in : removed
2894         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
2895         rule to process stylesheets.xml.in
2897         * plug-ins/makefile.msc : added xslt
2899 2003-07-19  Hans Breuer  <hans@breuer.org>
2901         Finally Dia learned to remember the recent selected sheet
2903         * app/preferences.[hc] : added prefs.recent_sheet
2904         * app/interface.c : restore and remember the sheet-option-menu
2905         history, but only if the respective number is stiil available.
2906         This additional adds robustness against running Dia without
2907         any sheet (e.g. installation problems)
2908         * app/app_procs.c : call prefs_safe() in app_exit() to remember
2909         changes which are not done by the prefernces dialog
2911         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
2912         removed every call (especially the conditional ones) to prefs_safe().
2913         Before prefs_safe() was called _many_ times during Dia startup
2915 2003-07-18  Hans Breuer  <hans@breuer.org>
2917         * app/makefile.msc lib/makefile.msc lib/libdia.def :
2918         updated win32 build
2920         * lib/color.c : use gtk_widget_get_default_visual();
2921         as suggested in #114536
2923         * app/interface.c app/disp_callbacks.c :
2924         moved round_up () to the latter file where it is used
2926         * app/linewidth_area.c : #include "interface.h" for
2927         interface_get_toolbox_shell()
2929 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
2931         * plug-ins/pixbuf/.cvsignore
2932         * shapes/Cisco/.cvsignore: 
2933         added cvsignore
2935 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
2937         * app/dia-props.c (diagram_properties_retrieve): Use
2938         diagram_get_name() to add the diagram name to the diagram
2939         properties dialog.
2941         * app/diagram.h: 
2942         * app/diagram.c (diagram_get_name): New function to get a
2943         reasonable diagram name.
2945         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
2946         info.  Still need to be able to set dynamic grid.  Also ought to
2947         follow Gnome style and have instant apply.
2949         * app/preferences.h: 
2950         * app/preferences.c (prefs_data): Remove option to use stippled
2951         grid, add option for major line offset.  Default to 5 minor lines
2952         per major line.
2953         Add option for dynamically sized grid.
2955         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
2957         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
2958         stippled/solid to display minor/major grid lines.  Line drawing in
2959         separate functions away from calculating line distance.
2961         * app/grid.h: Split page break drawing out of grid_draw.
2963         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
2964         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
2965         when menu item is selected.
2967 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2969         * configure.in: Removed -Winline flag to make way for important
2970         warnings. 
2972         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
2973         non-compressed.  Should fix bug #117381, also look prettier.
2974         
2975         * Makefile.am: 
2976         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
2977         Set up desktop info more properly.
2979 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2981         * activity.c:
2982         * actor.c:
2983         * branch.c:
2984         * class.c:
2985         * classicon.c:
2986         * component.c:
2987         * large_package.c:
2988         * lifeline.c:
2989         * node.c:
2990         * note.c:
2991         * object.c:
2992         * small_package.c:
2993         * state.c:
2994         * state_term.c:
2995         * usecase.c: 
2996         Autorouting directions patch from Krzysztof Foltman
2997         <kfoltman@onet.pl>.
2999         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
3000         GNOME parent menu items.
3001         
3002         * app/authors.h: Added Vadim to contributors list.
3004 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3006         * app/commands.[ch]: 
3007         * app/create_object.c: 
3008         * app/disp_callbacks.[ch]: 
3009         * app/diagram.[ch]: 
3010         * app/interface.c: 
3011         * app/load_save.c: 
3012         * app/menus.[ch]:
3013         * app/modify_tool.c
3014         * app/undo.[ch]:
3015         * lib/Makefile.am:
3016         * lib/group.c: 
3017         * lib/object.[ch]: 
3018         * lib/parent.[ch]:
3019         * objects/UML/large_package.c: Patch from Vadim Berezniker
3020         <vadim@berezniker.com>: 
3021         Objects may "parent" other objects, i.e. contain them within
3022         themselves, restrain them and move them along.  Some more stuff is
3023         needed, such as selection and individual unparenting.  This adds
3024         parenting to UML - Large Package rather than Box.
3026 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3028         * app/linewidth_area.c: Patch from Krzysztof Foltman
3029         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
3030         conform more, at least:).
3032         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
3033         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
3034         arcs.  Implemented images (though there is some pixelization and
3035         banding in the output).  Changed output file format to be a little
3036         more readable.  
3038         * app/app_procs.c (app_exit): Added message for double exit, which
3039         shouldn't happen any more.  Also preventing strange g_object_unref
3040         messages by having a printf after gtk_main_quit.  This is really
3041         weird.
3043         * app/interface.c (toolbox_delete): Avoid double app_exit call by
3044         removing handler for destroy when delete is called.
3046 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
3048         * app/display.h: 
3049         * app/display.c (ddisplay_scroll_to_object,
3050         ddisplay_scroll_center_point):  New function for easy scrolling to
3051         object or point.
3053 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3055         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
3056         $(srcdir) on stylesheets.xml.
3058         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
3059         diagram menus (since they're at the top by default now).  Also
3060         move the Properties... menu item from Dialogs to Objects.  Dialogs
3061         menu should disappear at some point.
3063         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
3064         ./configure from ./autogen.sh, as configure may need to be run
3065         from a different directory.  (Also more standard this way.)
3067         * app/app_procs.c (app_init): 
3068         * app/Makefile.am (INCLUDES): Gnome standardization patch from
3069         Alex. 
3071 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3073         * objects/flowchart/parallelogram.c (pgram_update_data):
3074         Left/right alignment for parallelograms.  Doesn't use all
3075         available space, but then pgrams also ignore their shear value.
3076         This thing needs a loving hand.
3078 2003-07-01  Hans Breuer  <hans@breuer.org>
3080         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
3081         * lib/proplist.c : don't complain if optional attr is missing
3082         * lib/orth_conn.h : make "orth_autoroute" optional to
3083         stop complaining with older files.
3085 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
3087         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
3089 2003-06-05  Andrew Halper  <ashalper@cox.net>
3091         * app/diagram_tree.c : add scrolling of drawing area
3092         to desired object on "Locate".  Patch modified to use new ddisplay
3093         function ddisplay_scroll_to_object().
3095 2003-06-11  Lars Clausen  <lars@raeder.dk>
3097         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3098         info.  Before next version, the grid dialog (view dialog, really)
3099         must be redone to allow a) instant apply, b) apply to all
3100         diagrams, and c) setting colour, dynamic, major lines.
3102         * app/preferences.h: 
3103         * app/preferences.c (prefs_data): Remove option to use stippled
3104         grid, add option for major line offset.  Default to 5 minor lines
3105         per major line.
3106         Add option for dynamically sized grid.
3108         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3110         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
3111         stippled/solid to display minor/major grid lines.  Line drawing in
3112         separate function away from calculating line distance.
3114         * app/grid.h: Split page break drawing out of grid_draw.
3116 2003-05-15  Hans Breuer  <hans@breuer.org>
3118         * plug-ins/python/diasvg.py : add xlink definition,
3119         also avoid to put spaces into attribute values. At least
3120         Sodipodi doesn't like them in width/height attributes
3122         * plug-ins/python/diasvg_import.py : add simple scaling.
3123         Some (more) handling for <svg>, <desc>, <circle>        
3125         * plug-ins/python/scascale.py : (new file) which does
3126         some experimental scaling via StdProp api
3128         * plug-ins/python/pydia-cpoint.c 
3129           plug-ins/python/pydia-handle.c : return PyDiaPoint for
3130         obj.pos not simple tuples. PyDiaPoint has a tuple interface
3131         so this may even be api compatible ...
3133 2003-05-11  Hans Breuer  <hans@breuer.org>
3135         * app/line_area.c : add window position persitence
3137         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
3138         'poly_points' via StdProp api
3139         * lib/neworth_conn.h : don't rely on OrthConn and 
3140         NewOrtConn having the same struct offsets
3142         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
3143         to help separating 'useful' properies - in terms of
3144         the PyDia access
3146         * objects/custom/custom_object.c
3147           objects/UML/*.c
3148         add the missing prop_desc_list_calculate_quarks to
3149         all the *_describe_props()
3151         * objects/standard/beziergon.c objects/standard/bezier.c :
3152         explicit initializtion of default_user_data
3153         * objects/standard/polygon.c objects/standard/polyline.c :
3154         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
3156         * plug-ins/python/diamodule.c : implement dia.register_import
3158         * plug-ins/python/makefile.msc : need to link with Pango
3159         for pango_color_parse()
3161         * plug-ins/python/pydia-property.c : add a bunch of type
3162         conversions to PyDiaProperty_ApllyToObject()
3164         * plug-ins/python/diasvg_import.py : (new file) which currently
3165         is mainly a stress test for PyDia but for some files already
3166         produces better results than svg-import.c
3168 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3170         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
3171         type-less operations.
3173 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
3175         * configure.in(ALL_LINGUAS): Added "ms".
3177 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3179         * plug-ins/xslt/xslt.c (xslt_ok): 
3180         * plug-ins/shape/shape-export.c (new_shape_renderer): 
3181         * plug-ins/svg/render_svg.c (new_svg_renderer): 
3182         * plug-ins/hpgl/hpgl.c (export_data): 
3183         * plug-ins/dxf/dxf-export.c (export_dxf): 
3184         * plug-ins/metapost/render_metapost.c (export_metapost): 
3185         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
3186         * plug-ins/xfig/xfig-export.c (export_fig): 
3187         * plug-ins/wpg/wpg.c (export_data): 
3188         * plug-ins/cgm/cgm.c (export_cgm): 
3189         * app/render_eps.c (export_eps): 
3190         * app/export_png.c (export_png_ok): 
3191         * app/load_save.c (diagram_data_save): Adding and standardizing
3192         output file error messages to include fopen error message.
3194 2003-05-01  Steffen Macke <sdteffen@web.de>
3196         * app/persistence.c: do not use unistd.h for MSVC build
3198 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3200         * sheets/Assorted.sheet.in
3201         * sheets/Circuit.sheet.in
3202         * sheets/Contact.sheet.in
3203         * sheets/EML.sheet.in
3204         * sheets/ER.sheet.in
3205         * sheets/Electric.sheet.in
3206         * sheets/FS.sheet.in
3207         * sheets/Flowchart.sheet.in
3208         * sheets/GRAFCET.sheet.in
3209         * sheets/Logic.sheet.in
3210         * sheets/MSE.sheet.in
3211         * sheets/Misc.sheet.in
3212         * sheets/Pneumatic.sheet.in
3213         * sheets/SADT.sheet.in
3214         * sheets/SDL.sheet.in
3215         * sheets/UML.sheet.in
3216         * sheets/chronogram.sheet.in
3217         * sheets/ciscohub.sheet.in
3218         * sheets/ciscomisc.sheet.in
3219         * sheets/cisconetwork.sheet.in
3220         * sheets/ciscorouter.sheet.in
3221         * sheets/civil.sheet.in
3222         * sheets/network.sheet.in
3223         * sheets/sybase.sheet.in:
3224         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
3225         standardizes shape descriptions to use no articles, no 'create
3226         ...'.
3227         
3228         * app/interface.c (tool_data): Standard objects follow same
3229         standard as sheets.
3231 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3233         * app/color_area.c (color_area_edit): More informative title on
3234         color selection dialog.
3236         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
3237         sensitivity when dropping object in.  Also reset tool to pointer.
3239         * objects/flowchart/diamond.c (diamond_update_data): 
3240         * objects/flowchart/parallelogram.c (pgram_update_data): Added
3241         left and right alignment options.
3243 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3245         * objects/flowchart/box.c: Added left and right alignment options.
3247 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3249         * app/persistence.c (persistence_load): Test existence of
3250         persistence file before trying to open it.
3252 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3254         * app/properties.c: Escape now closes properties dialogs.
3256 2003-04-25  Hans Breuer  <hans@breuer.org>
3258         * app/config.h.win32 : bump version to 0.91+cvs
3260         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
3262         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
3264         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
3265         returns NULL
3267         * app/presistence.c : need to #include "dia_xml_libxml.h"
3268         for xmlDiaParseFile
3270         * app/layer_dialog.c : make delayed creation work by protecting
3271         all non static layer_dialog_*() with :
3272            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
3273              create_layer_dialog();
3274         * app/app_procs.c : removed /* create_layer_dialog(); */
3276         * objects/uml/association.c : give it a minimal StdProp
3277         implementation to fix bug #108896
3278         * lib/object_defaults.c : don't try to copy props if there
3279         is no obj->ops->describe_props
3281 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3283         * objects/standard/image.c (image_create): 
3284         * objects/standard/ellipse.c (ellipse_create): 
3285         * objects/standard/box.c (box_create): 
3286         * objects/flowchart/ellipse.c (ellipse_create): 
3287         * objects/flowchart/diamond.c (diamond_create): 
3288         * objects/flowchart/box.c (box_create): 
3289         * objects/custom/custom_object.c (custom_create): 
3290         * objects/ER/relationship.c (relationship_create): 
3291         * objects/ER/entity.c (entity_create): 
3292         * objects/ER/attribute.c (attribute_create): Initialize
3293         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
3295         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
3296         alignment. 
3298         * configure.in: 
3299         * plug-ins/Makefile.am: 
3300         * plug-ins/xslt/Makefile.am: 
3301         * plug-ins/xslt/xslt.c (dia_plugin_init): 
3302         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
3303         automake-style if to only include xslt dir when needed.  Works
3304         with automake 1.4 and up, at least.
3306 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3308         * lib/diasvgrenderer.c (draw_string): 
3309         * lib/dia_svg.c (dia_svg_parse_style): Use
3310         text-anchor:(start|middle|end).
3312         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
3313         polygon rather than polyline & avoid missing line pieces.
3314         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
3315         black-filled things.
3317 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
3319         * app/persistence.c (persistence_load): Check that persistence
3320         file exists before trying to read it.
3321         (persistence_update_window): Removed printf.
3323         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
3325         * lib/autoroute.c: Take badness into the layouters again, as some
3326         of them know they can do things that are pretty but would be
3327         counted as ugly by the default calculation.
3329         * objects/UML/large_package.c: Shrink package name box when no
3330         stereotype is present.
3332         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
3333         * lib/orth_conn.c: Added object menu item for autorouting.
3335         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
3336         Autorouting, plus set initial dragging handle to be the end, not
3337         the middle.
3338         (orthflow_draw): Flipped arrow place to be at the end, as
3339         originally intended (got lost in arrow update).
3341         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
3342         * objects/UML/dependency.c (dependency_get_object_menu): 
3343         * objects/UML/association.c (association_get_object_menu): 
3344         * objects/UML/realizes.c (realizes_get_object_menu): 
3345         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
3346         * objects/GRAFCET/vector.c (arc_get_object_menu): 
3347         * objects/ER/participation.c (participation_get_object_menu): 
3348         * objects/EML/instantiation.c (instantiation_get_object_menu): 
3349         * objects/UML/generalization.c (generalization_get_object_menu): 
3350         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
3351         Autorouting setup (currently disabled for SADT/arrow).
3352         
3353 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
3355         * lib/autoroute.c: Removed printfs.
3357         * lib/orth_conn.c: 
3358         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
3359         non-connected orthconns too.
3361 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3363         * lib/orth_conn.h: 
3364         * lib/orth_conn.c: Function to set autorouting on/off, use
3365         autorouting in move_handle (turns off when a middle handle is
3366         moved), added to standard orthconn props. 
3368         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
3369         Stopped signal emission for check menu items being set to on/off.
3371         * objects/standard/zigzagline.c: Added autorouting object menu item.
3373         * lib/autoroute.c: Added last cases of autoroute layout, fixed
3374         floating point comparison bug, cleaned up layouters, tweaked
3375         badness to allow kinks. 
3377 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
3379         * lib/connectionpoint.h: Changed DIR_* macros to go around the
3380         clock. 
3382         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
3383         points at once.
3384         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
3385         old cruft, added call to autoroute (currently cannot be turned
3386         off).  Need to check what undo thinks about this.
3387         * lib/autoroute.[ch]: Fairly working simple layout.
3389         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
3390         * lib/autoroute.[ch]: Start of proper autorouting functionality.
3392 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3394         * lib/prop_widgets.c: Show labels on ListProp.
3396 2003-04-11  Steffen Macke <sdteffen@web.de>
3398         * doc/en/dia-manual.xml: removed reference of non-existing authors 
3399         note.
3400         * doc/en/usage-objects-selecting: commented out misleading section
3401         references.
3403 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3405         * app/app_procs.c (app_init): Layer window now opened at startup
3406         only if needed.
3408         * lib/prop_widgets.c: Show labels on ListProp.
3410 2003-04-09  Steffen Macke <sdteffen@web.de>
3412         * doc/en/*.sgml: removed files
3413         * doc/en/*.xml: added files
3414         * doc/en/Makefile.am: switched to XML DocBook
3416 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3418         * plug-ins/xslt/xslt.c (dia_plugin_init): 
3419         * configure.in: Added --with-xslt-prefix to allow other XSLT
3420         placements than /usr/lib.
3422 2003-04-09  Steffen Macke <sdteffen@web.de>
3424         * lib/makefile.mingw: updated to include latest files, including 
3425         and linking libintl
3426         * lib/geometry.h: don't define isinf and finite for mingw gcc build
3428 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
3430         * app/persistence.h:
3431         * app/persistence.c (persistence_register_window_create): 
3432         * app/app_procs.c (app_init): 
3433         Register window function that doesn't create the window unless it
3434         should be open.  Other windows should move to this, so startup
3435         speed can be reduced.
3436         
3437         * app/persistence.h: Removed call prototype for update_window, now
3438         done internally.
3439         * app/persistence.c (persistence_register_window): A number of
3440         fixes.  Doesn't forget position when window is closed.  Now
3441         actually loads prefs.
3443         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
3444         event connect.
3446         * app/preferences.c (prefs_data): 
3447         * app/diagram_tree_window.h: 
3448         * app/diagram_tree_window.c: Added persistence registering.
3449         Removed prefs items storing size and openness. 
3451         * app/sheets_dialog.c (create_sheets_main_dialog): Added
3452         persistence registering.  
3454         * app/Makefile.am (dia_core_files): Added persistence files.
3456         * lib/dia_dirs.h: 
3457         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
3458         that dirs are present.
3460         * app/app_procs.c (app_init): Loads persistent values on startup.
3461         (app_exit): Saves persistent values on exit.
3463         * app/layer_dialog.c (create_layer_dialog): Registers the layer
3464         window for persistence.
3466         * app/persistence.[ch]: New files handling various kinds of
3467         persistence.
3469 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3471         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
3472         head spacing calculations.  Added half-circle arrow from Matthieu
3473         Sozeau <mattam@netcourrier.com> 
3475 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3477         * app/app_procs.c (app_init): Moved layer dialog init to allow
3478         tooltips to be initialized.
3480         * app/interface.c (create_display_shell): More tooltips.
3482         * app/linewidth_area.c (linewidth_area_create) 
3483         (linewidth_area_events): 
3484         * app/color_area.c (color_area_events, color_area_create): 
3485         Made tooltips work by embedding drawing_area in event_box.
3487         * app/interface.c (create_display_shell,
3488         (create_lineprops_area, create_color_area): Added a few tooltips.
3490 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3492         * app/pixmaps/off-grid.xpm: 
3493         * app/pixmaps/on-grid.xpm: 
3494         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
3496         * app/display.h: 
3497         * app/commands.c (view_snap_to_grid_callback): 
3498         * app/display.c (ddisplay_set_snap_to_grid) 
3499         (update_snap_grid_status): 
3500         * app/interface.c (create_display_shell, grid_toggle_snap): 
3501         Added snap-to-grid status button.
3503 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3505         * app/app_procs.c (app_init): Create a new diagram if a file on
3506         the command line isn't found.
3508 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
3510         * lib/dialibartrenderer.c (draw_string): Correct color handling
3511         for AA.
3513 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
3515         * NEWS: 
3516         * doc/en/dia-manual.sgml: 
3517         * doc/pl/dia-manual.sgml: 
3518         * configure.in: 
3519         * dia.spec (Release): 
3520         Version 0.91 is here!
3522 2003-02-10  Steffen Macke <sdteffen@web.de>
3524         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
3525         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
3526         non-ANSI characters, closes #107980
3528 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3530         * configure.in: 
3531         * NEWS: 
3532         * dia.spec (Release): 
3533         * doc/en/dia-manual.sgml: Upping to pre6.
3535         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
3537         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
3538         #107511:  Make arrow selector for correct arrow type.
3540 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3542         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
3543         EXTRA_DIST.
3545 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3547         * doc/en/dia-manual.sgml: 
3548         * configure.in: 
3549         * NEWS: 
3550         * dia.spec (Release): Upping to pre5.
3552         * configure.in: Add freetype-config derived libs to the
3553         AC_CHECK_LIB statement for freetype.
3555 2003-02-28  Hans Breuer  <hans@breuer.org>
3557         [fix for bug #107203]
3559         * lib/diarenderer.c : add warning 'implementation'
3560         for fill_rect to avoid crashing with a renderer
3561         which does not implement this required function.
3563         * plug-ins/dxf/dxf-export.c : provide - still empty -
3564         'implementations' for fill_rect and fill_polygon 
3565         to suppress the above warnings. Now it works like
3566         in version 0.90 
3568 2003-02-28  Steffen Macke <sdteffen@web.de>
3570         * samples/all_objects.dia: New sheet containing all dia shapes
3571         and objects; one layer per sheet
3572         
3573 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3575         * lib/prop_text.c (multistringprop_get_widget,
3576         multistringprop_reset_widget, multistringprop_set_from_widget): 
3577         Now uses GtkTextView instead of deprecated stuff, and also works:)
3579         * configure.in: Slightly more informative error message for isinf.
3581         * dia.spec (Requires): Require libxml2 rather than libxml.
3583 2003-02-28  Steffen Macke <sdteffen@web.de>
3585         * shapes/Circuit/hjumper.png:
3586         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
3587         jumper shape
3588         
3589 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3591         * doc/en/dia-manual.sgml: 
3592         * configure.in: 
3593         * dia.spec (Release):
3594         * NEWS: New prerelease 0.91pre4, two important fixes.
3596 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3598         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
3599         stylesheets.xml.in 
3601         * app/commands.c (help_manual_callback): More correct URL for help
3602         page (include file://, was broken on Dillo without it).
3604 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3606         * app/disp_callbacks.c: Set modifed when text is changed.
3608         * app/modify_tool.c (modify_button_release): Allow undo for moving
3609         objects.
3611 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3613         * dia.spec: 
3614         * doc/en/dia-manual.sgml: 
3615         * NEWS: 
3616         * configure.in: New prerelease with important bugfix.
3617         * shapes/network/digitizing_board.png:
3618         * shapes/network/plotter.png: Re-adding with -kb.
3619         
3620 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
3622         * app/app_procs.c (app_init): Add comment for translators.
3624 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3626         * lib/filter.c (filter_register_import, filter_register_export):
3627         Don't accept filters with NULL description.
3629         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
3630         (as we assume the description is available in other places).
3632 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
3633         
3634         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
3635         * app/display.c (ddisplay_resize_canvas): Use
3636         ddisplay_add_update_all().
3637         (ddisplay_add_update_all): Free display and update lists when
3638         doing update_all, as they'll be regenerated immediately to cover
3639         all visible area.  Fixes bug #106165, crash when resizing.  This
3640         appears to be the original AA crash bug, believed long extinct.
3642 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3644         * app/commands.c (help_manual_callback): Use file: protocol for
3645         help. 
3647         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
3649         * plug-ins/xslt/stylesheets: Removed old-style config file.
3650         
3651         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
3653         * plug-ins/xslt/Makefile.am: 
3654         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
3655         handling (no more DIA_PLUGIN_PATH).
3657 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3659         * plug-ins/svg/render_svg.c: 
3660         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
3662 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3664         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
3665         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
3666         side of the triangle is longer than the hypotenuse.  Rounding
3667         error suspected.
3669 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3671         * NEWS: 
3672         * configure.in: 
3673         * doc/en/dia-manual.sgml: Update for pre2.
3675         * app/menus.c (display_menu_items): Fixed wrongly place separators.
3677         * objects/flowchart/box.c (box_update_data): Applied patch from
3678         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
3679         comment). 
3681         * app/paginate_psprint.c (print_page): Set paper name, so it
3682         convinces ps printers to use to right size.
3684 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
3686         * app/properties.c (properties_show): Hide the dialog if the
3687         object is NULL (get rid of 'no properties' randomly popping up).
3689 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3691         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
3692         for diagrams not starting at origo.
3694 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
3696         * dia.spec (BuildRequires): Use libxml2-devel.
3698         * plug-ins/pixbuf/Makefile.am: Added to CVS.
3700         * RELEASE-PROCESS: Note on RPM version numbers.
3702         * app/interface.c (create_display_shell): Don't set as toolbar
3703         under Unix, either.  Especially not the diagram shell.  It removes
3704         it from the taskbar and makes it unresizable, always-on-top with
3705         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
3706         appropriate thing, UTILITY, is not good either, you lose resizing
3707         and minimizing/maximizing under OpenBox.
3709         * app/menus.c (display_menu_items): Set delete item to use Delete.
3711 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3713         * dia.spec (BuildRequires, Requires): Updated for Gtk2
3714         requirements.
3716         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
3717         display flush when getting focus in, or we may get an update after
3718         the diagram has been destroyed in some cases.  Fixes bug #105221.
3720         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
3722         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
3724         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
3725         - gnome-compiled Dia will now read files specified on the command line.
3727 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3729         * INSTALL (REQUIREMENTS): Updated requirements section.
3731         * configure.in: Better finite() check from MÃ¥rten Svantesson
3732         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
3733         if's. 
3734         
3735 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3737         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
3739         * app/app_procs.c (debug_break): Added some code to avoid
3740         over-eager optimizations removing the call.  Surely there's a
3741         nicer way, but I'm not sure how.
3743         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
3744         that set text to black.
3746 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3748         * NEWS: Mention of Twiki as doc source for Python.
3750         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
3751         libart/libpng is not available.  Later when we have a way of
3752         letting the user pick options in the file select dialog we shall
3753         allow the choice when applicable.
3755 2003-02-02  Steffen Macke <sdteffen@web.de>
3757         * doc/en/usage-loadsave.sgml:
3758         * doc/en/usage-objects.sgml: patch from
3759         James K. Lowden <jklowden@schemamania.org> to fix
3760         some docbook errors
3761         
3762 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3764         * plug-ins/Makefile.am (SUBDIRS): 
3765         * plug-ins/pixbuf/pixbuf.c: 
3766         * plug-ins/pixbuf/Makefile.am: 
3767         * configure.in: 
3768         Added pixbuf plugin to Makefile.am, but for import only.  PNG
3769         export handled by libart, which is better. JPG export is
3770         discouraged.  BMP is not much used on Unix.  Next release will
3771         integrate libart to allow all outputs.
3773 2003-02-01  Hans Breuer  <hans@breuer.org>
3775         * app/preferences.c :
3776         * app/pagesetup.c :
3777         the last two dialogs with 'old' button order finally
3778         are converted to gtk2, no GnomeDialog in all of Dia 
3779         anymore :-) 
3781 2003-02-01  Hans Breuer  <hans@breuer.org>
3783         * app/filedlg.c : don't try to use a button as
3784         'overwrite-file-dialog'-parent, use the FileSelDialog
3785         instead
3787         * plug-ins/pixbuf/pixbuf.c : make it work with 
3788         system-visual-depth < 24. Remove 'bmp' from output
3789         format extensions, it just was wishful thinking.
3791         * plug-ins/python/Makefile.am : added the four new python 
3792         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
3794 2003-02-01  Hans Breuer  <hans@breuer.org>
3796         * NEWS : updated content beside dependencies
3798 2003-02-01  Hans Breuer  <hans@breuer.org>
3800         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
3801         to make it useable across DLL boundaries
3802         * app/lineprops_area.c : same code to access arrow_types
3803         on all platforms
3805         * objects/UML/class.c : the non empty string is e.g.
3806         comment != NULL && comment[0] != '\0'
3807         * objects/UML/uml.c : same here, don't bother with
3808         empty operation stereotypes
3810 2003-02-01  Steffen Macke <sdteffen@web.de>
3812         * app/lineprops_area.c: latest changes do not work on
3813         windows, using old code without tooltips
3814         * makefile.msc: fixed copying of wmf.dll
3815         * plug-ins/makefile.msc: 
3816         * app/makefile.msc:
3817         * lib/makefile.msc: now linking libintl
3818         * config.h.win32: enabling native language support
3820 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3822         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
3823         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
3825 2003-01-31  Daniel Yacob  <locales@geez.org>
3827         * configure.in: Added am (Amharic) to ALL_LINGUAS.
3829 2003-01-31  Steffen Macke <sdteffen@web.de>
3831         * objects/UML/class.c (umlclass_calculate_data): fixed crash
3832         when comments were visible, no class comment available and
3833         a attribute comment
3834          
3835 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3837         * RELEASE-PROCESS: Updated to fit new install-module syntax.
3838         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
3839         with DIA_0_91_PRE1.
3841 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3843         * config.h.win32: 
3844         * NEWS: 
3845         * configure.in:
3846         * dia.spec:
3847         Prerelease version changes, version 0.91-pre1.
3849         * app/sheets_dialog_callbacks.h: 
3850         * app/sheets_dialog_callbacks.c: 
3851         * app/sheets_dialog.c (create_sheets_main_dialog): 
3852         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
3853         to handle destruction of main dialog cleanly, but it's a mess.
3855         * configure.in: Downgraded ieeefp test to make it not produce
3856         illegal shell code.
3858         * lib/widgets.c (dia_arrow_selector_set_arrow): 
3859         (dia_line_style_selector_set_linestyle): Select menu dot
3860         correctly set.
3862         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
3863         adjustment for diamondheads.
3865         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
3867         * app/properties.c (create_dialog): Destroy properties dialog and
3868         box correctly.
3870         * app/sheets_dialog_callbacks.c
3871         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
3872         if the old one is destroyed.
3874 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3876         * app/export_png.c (export_png_ok): Added info on resolution.
3877         Should (next release) improve export dialog to allow setting
3878         resolution instead of pixels.
3880         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
3881         to generate arrowheads as well as tooltips.
3883         * lib/arrows.c: Added hollow diamond to menudesc list.
3885         * lib/arrows.[ch]: 
3886         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
3887         unify with rendered menu.
3889         * lib/diarenderer.c (draw_line_with_arrows)
3890         (draw_polyline_with_arrows, draw_arc_with_arrows)
3891         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
3892         without changing renderer API.  Thanks to David Scherba for
3893         providing inspiration.
3895 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3897         * app/interface.c (create_display_shell):
3898         * app/display.h: Patching from Hubert Figuiere
3899         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
3900         correct menu items.
3902 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3904         * app/defaults.c (defaults_show): Fixed defaults closing bug.
3905         Thanks to Hans for pointing it out.
3907 2003-01-25  Hans Breuer  <hans@breuer.org>
3909         * app/commands.c : don't warn about crashing libart renderer
3910         on win32. It simply doesn't render text anymore :-(
3912         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
3914         * objects/UML/class.c : don't access umlclass->properties_dialog
3915         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
3916         which sets the former to NULL by destroy_properties_dialog() callback.
3918         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
3920         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
3922         * plug-ins/python/pydia-image.c : add image.uri member
3923         not only useful for SVG rendering
3925         * plug-ins/python/diasvg.py : (new file) a more advanced
3926         example. A full blown SVG Renderer, currently only
3927         registered for .svgz
3929         * plug-ins/python/export-object.py : write text props
3931         * plug-ins/python/debug_objects.py : write prop.type and
3932         prop.visible 
3934 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3936         * objects/UML/association.c (association_update_data): Better
3937         bounding box for assoc with arrows.
3939         * lib/properties.h: New flag for properties with multiple values
3940         in groups.
3942         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
3943         arrow updating in dialog.  Was broken due to changes from destroy
3944         fix:(
3946         * app/commands.c (view_aa_callback): AA warning only for Windows
3947         -- I trust the Unix side well enough.
3949         * app/render_libart.c (get_text_width): 
3950         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
3951         font height can be taken from parent instance.
3953         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
3954         (get_text_width): Proper cursor positioning for libart renderer.
3955         Ought to have a DiaInteractiveRenderer that these two can inherit
3956         from, that knows about transform.
3958 2003-01-25  Steffen Macke <sdteffen@web.de>
3960         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
3961         plug-in still not working on win32
3962         
3963 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3965         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
3966         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
3967         thought.
3969 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
3971         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
3972         bail out on gtk options.
3974         * lib/message.c (gtk_message_internal): Better handling of destroy
3975         event.
3977 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3979         * app/color_area.c (color_area_edit): 
3980         * lib/widgets.c (dia_file_selector_browse_pressed) 
3981         (dia_color_selector_pressed): 
3982         * app/plugin-manager.c (get_plugin_manager): 
3983         * app/filedlg.c (file_open_callback, file_save_as_callback) 
3984         (file_export_callback):
3985         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
3986         handling of destroy event.
3988 2003-01-22  Alan Horkan <horkana@tcd.ie>
3990         * app/commands.c (file_new_callback): Changed Untitled to Diagram
3991         for default name.
3993 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
3995         * app/preferences.c (prefs_create_dialog): 
3996         * app/linewidth_area.c (linewidth_create_dialog): 
3997         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
3998         * app/layer_dialog.c (create_layer_dialog)
3999         (layer_dialog_edit_layer): Correct handling of destroy signal. 
4001         * app/diapsft2renderer.c (set_font): Adjust silly random factor
4002         for change in font.c
4004         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
4006         * lib/font.c (dia_font_build_layout): Let's all use the same weird
4007         factor here.
4009         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
4010         * app/layer_dialog.c (create_layer_dialog) 
4011         (layer_dialog_edit_layer): 
4012         * app/filedlg.c (file_open_callback, file_save_as_callback) 
4013         (file_export_callback): 
4014         * app/dia-props.c (create_diagram_properties_dialog): 
4015         * app/defaults.c (defaults_dialog_destroyed): 
4016         * app/color_area.c (color_area_edit): Dialog destroy event handling.
4018 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
4020         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
4021         defaults dialog destroyed.
4023 2003-01-19  Steffen Macke <sdteffen@web.de>
4025         * objects/makefile.msc: added bondgraph
4026         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
4027         to compile pixbuf.dll
4028         * makefile.msc: copying all objects and dlls now
4029         
4030 2003-01-19  Hans Breuer  <hans@breuer.org>
4032         * app/diagram.[hc] : provide dia_open_diagrams(), make
4033         open_diagrams variable static
4034         * app/dia.def : export it (to be used by PyDia)
4035         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
4036           app/display.c app/dynamic_refresh.c app/layer_dialog.c
4037           app/load_save.c : make use of dia_open_diagrams()
4039         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
4040         on win32. It removes the diagram window from the taskbar and
4041         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
4043         * app/menus.c : add '...' to menu entries where a dialog 
4044         gets invoked
4045         * app/recent_files.c app/dia_embedd.c : reflect the above in 
4046         menus_get_item_from_path() calls
4048         * lib/libdia.def : add dia_image_rgba_data
4050         * lib/properties.h lib/prop_text.[hc] : add new property
4051         type StringList
4052         * objects/UML/class.[hc] object/UML/class_dialog.c : use
4053         StringList for attributes_strings and operations_strings to
4054         make this calculated data accessible via the Property API
4056         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
4057         provide dia.new() to create a new diagram, dia.registered_types()
4058         to get on Dia's type registry, dia.message() for simple dialogs
4060         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
4061         to create a new display from a diagram. Let diagram.extents and
4062         diagram.bg_color return the same types as in diagramdata.*
4064         * plug-ins/python/pydia-geometry.c : add a read-only 
4065         'sequence interface' to DiaPoint and DiaRectangle
4067         * plug-ins/python/pydia-property.c : allow to get on StringList
4068         from Python
4070         * plug-ins/python/pydia-render.c : fix typo to make it compile
4072         * plug-ins/python/python-startup.py : removed 'import pygtk'
4073         again. This file does not need any gtk UI, and some python
4074         plug-ins don't do either
4076         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
4077         it should actually work as intended again
4079         * plug-ins/python/group_props.py : (new file) a prototype for
4080         one the most requested features: Change properties of selected
4081         objects in one step. Requires pygtk.
4083         * plug-ins/python/select_by.py : (new file) select objects by 
4084         common properties. Requires pygtk.
4086         [Start of 'PyDia Self Documentation Series']
4088         * plug-ins/python/pydiadoc.py : (new file) generates a new 
4089         diagram which contains all objects of dir(dia)
4090         
4091         * plug-ins/python/otypes.py : (new file) generates a new diagram 
4092         which contains all the currently registered object types sorted 
4093         by their containing package
4095 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4097         * configure.in: Added check for Pango >= 1.1.5, which appears to
4098         be enough to have text work.
4099         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
4100         do it.  AC_SUBST should be idempotent, though.
4102 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4104         * configure.in (HAVE_FREETYPE): Better test for freetype version
4105         using neat macro.
4106         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
4108         * lib/font.c: Renamed global_size_one to global_zoom_factor to
4109         avoid confusion, and added comment.  Set scale factor in
4110         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
4111         my weird scaling problems.  Fonts are now of the expectable size,
4112         i.e. the space between lines at size 1.0 is 1.0.  If we want a
4113         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
4114         diagrams, though there will always be differences.
4116 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4118         * plug-ins/python/python-startup.py: 
4119         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
4121         * plug-ins/python/python.c (dia_plugin_init): Added warning
4122         message for missing startup file.
4124         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
4125         
4126         * lib/dia_image.c (dia_image_rgb_data): 
4127         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
4128         involving EPS.  Can't do transparency in EPS yet.
4130         * lib/dia_image.h: 
4131         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
4132         data as one chunk.  Documentation for the RGB data getting funcs.
4133         (dia_image_rgb_data): Added comment.
4135         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
4136         (bug #103565)
4138 2003-01-13  Steffen Macke <sdteffen@web.de>
4140         * lib/dia_image.c: dia_image_rgb_data() is working for
4141         non-alpha images now. Fixes #93762
4142         * Makefile.am: added makefile.msc to EXTRA_DIST
4143         
4144 2003-01-10  Steffen Macke <sdteffen@web.de>
4146         * app/paginate_psprint.c: Closing print dialog when file
4147         could not be written. Fixes #84746
4148         
4149 2003-01-04  Steffen Macke <sdteffen@web.de>
4151         * doc/custom-shapes: incomplete description of <svg:text>
4153 2003-01-03  Steffen Macke <sdteffen@web.de>
4155         * makefile.msc(new): new makefile to create file
4156         structure suitable for running dia win32 under
4157         $(TOP)/dia/build/win32
4158         
4159 2003-01-02  Steffen Macke <sdteffen@web.de>
4160         
4161         * lib/dia_svg.c: including stdlib.h
4162         * lib/makefile.msc: added gdk_pixbuf libs to linker
4163         * app/makefile.msc: added gdk_pixbuf libs, made libart
4164         libs compatible with gnuwin32 package
4165         
4166 2003-01-01  Hans Breuer  <hans@breuer.org>
4168         * lib/font.c : more comment about global_size_one
4170         * app/menus.c : <control>[<shift>]A for plain gtk build too.
4172         * plug-ins/wmf/wmf.cpp : some type juggling to make 
4173         msvc7 happy
4175 2002-12-31  Steffen Macke <sdteffen@web.de>
4177         * app/makefile.msc: added hint on how to enable console output
4178         
4179 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4181         * objects/standard/textobj.c (textobj_load): Get the handle type
4182         right, at least to be the same as when created.
4184 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4186         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
4188 2002-12-08  Hans Breuer  <hans@breuer.org>
4190         * app/commands.c : fixed bug #85315 'give diagram properties, 
4191         instead of no object selected error' almost a one-liner
4193         * app/splash.c : don't make having the logo pixmap
4194         mandatory. Fixes bug #96068. 
4196         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
4197         sequence by connecting to the "delete_event"
4198         * app/objects/uml/class_dialog.c : handle "destroy" for 
4199         the same reason.
4201         * lib/libdia.def : remove diaXmlNewChild again
4203         * app/paginate_gdiprint.cpp : reflect Dia's page setting
4204         portrait/landscape in the windoze print dialog
4206         * objects/makefile.msc : only UML needs to link against
4207         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
4209 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
4211         * objects/standard/ellipse.c (ellipse_distance_from): 
4212         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
4213         correct distance function.  Could be faster, but it's not really
4214         essential. 
4216 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
4218         * lib/font.c: Changed global_size_one to more correct 28.35.
4219         Looks better, too.
4221         * app/load_save.c:
4222         * lib/dia_xml.h: 
4223         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
4224         after all.
4226 2002-12-07  Hans Breuer  <hans@breuer.org>
4228         * lib/widgets.c : g_file_get_contents() silently assumes
4229         a binary file. Reflect when creating the font_menu file
4230         to get rid of junk in font menus
4232 2002-12-06  Hans Breuer  <hans@breuer.org>
4234         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
4235         removed 0xD 0xD 0xA line ends which get created by
4236         cvs if windoze line ends 0xD 0xA are checked in from
4237         *nix and checked out on win32.
4239         * app/preferences.c : changed toolbox_on_top default to
4240         false. It is currently not possible to change the behaviour
4241         at runtime, at least not on win32.
4243         * lib/dialibartrenderer.c : bug #94791 'rendering to 
4244         bitmap without PangoFt2' got delayed to milestone future 
4245         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
4246         It is not available without my Pango patch in bugzilla.
4248         * lib/font.c : added comment to global_size_one and adapt
4249         the arbitrary size scaling in dia_font_build_layout() for
4250         win32, too. This is needed to get an acceptable font size 
4251         approximation for Dia 0.90 and earlier files.
4252         Also #include "message.h".
4254         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
4255         reflect movement of group.[hc]
4256         * lib/group.h : export group_type which gets used by app/*
4258         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
4259         to get the GtkTypeInfo definition
4261         * plug-ins/makefile.msc : dxf and xfig don't need to link
4262         against app/ anymore now that group is moved to lib/
4264         * plug-ins/python/pydia-render.c : remove massive leaking
4265         of self, i.e. PyDiaRenderer
4267         *  plug-ins/python/makefile.msc : remove linking against
4268         GTK libs
4270 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
4272         * objects/standard/line.c: Removed properties options for gaps,
4273         until release is done.
4275         * configure.in: Check for freetype version.
4277         * lib/text.c (text_insert_char): Fixed small buffer overflow for
4278         length = 0.
4280         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
4282         * app/diapsft2renderer.h: 
4283         * app/diapsft2renderer.c: 
4284         * app/diapsrenderer.h: 
4285         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
4287         * app/render_eps.c (export_eps, new_psprint_renderer): Using
4288         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
4290         * lib/properties.h: Fixed bad frame end def.
4292         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
4294         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
4295         
4296         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
4298 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
4300         * lib/font.c: Now checking for the proper dia-style standard fonts.
4302         * lib/Makefile.am: 
4303         * app/Makefile.am: Moving group.[ch]
4305         * plug-ins/dxf/dxf-import.c: 
4306         * plug-ins/xfig/xfig-import.c: 
4307         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
4309         * app/object_ops.c: 
4310         * app/object_ops.h: 
4311         * lib/object.c (object_list_move_delta, object_copy_list): 
4312         * lib/object.h: Moved some object-related functions from
4313         object_ops to object to assist moving group.c.
4315         * lib/diatypes.h: Added Group typedef.
4317         * lib/group.h: 
4318         * lib/group.c: Moved from app to lib to a) resolve plug-ins
4319         references, and b) make groups more "real" objects.
4321         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
4323 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
4325         * lib/font.c (dia_font_init): Added check that the three standard
4326         fonts exist.
4328 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4330         * lib/dia_xml.[ch]:
4331         * app/load_save.c: Linebreaks in dia files, no indentation.
4332         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
4333         this. 
4334         
4335         * objects/standard/line.c: Small but important fixes to the line
4336         gap code.
4338         * lib/dia_xml.h: 
4339         * lib/dia_xml.c (diaXmlNewChild): 
4340         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
4341         XML prettyprinting wrapper.
4343 2002-12-03  Steffen Macke <sdteffen@web.de>
4345         * shapes/Cisco/Makefile.am:
4346         * shapes/Cisco/*.shape: finished conversion of Cisco icons
4347         to *.png
4348         
4349 2002-12-02  Steffen Macke <sdteffen@web.de>
4351         * doc/en/Makefile.am:
4352         * doc/en/usage-objects.sgml:
4353         * doc/en/graphics/line_icon.png: (new) added line icon
4354         
4355 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4357         * objects/standard/line.c: Binary search object edge line gap.
4359 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4361         * configure.in: Added Cisco makefile, sorted Makefiles list.
4363         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
4365         * configure.in: Now checks for availability of PangoFT2 and
4366         FreeType, raising an error if not found.
4368         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
4369         Hans.
4371 2002-12-01  Steffen Macke <sdteffen@web.de>
4372         
4373         * doc/en/usage-loadsave.sgml: updated information on import
4374         and export formats
4375         
4376 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4378         * app/commands.c (edit_copy_callback): Freeing copy_list.
4380 2002-11-28  Steffen Macke <sdteffen@web.de>
4381         
4382         * app/render_libart.c: art_config.h was included twice
4384 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4386         * sheets/.cvsignore: More ignorance.
4388         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
4390         * lib/prop_widgets.h: Two (currently unused) settings for frame
4391         foldability.
4393         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
4394         (by default) foldable. 
4396         * lib/propinternals.h: 
4397         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
4398         widgets in a more controlled manner.
4400         * objects/standard/line.c (line_update_data): Line gap things
4401         inserted.  Can do xeyes now:)
4403 2002-11-26  Christian Neumair  <chris@gnome-de.org>
4405         * .cvsignore: Changed.
4406         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
4407         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
4408         Added.
4410 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4412         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
4414         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
4415         passing to font hash.
4417         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
4418         utf-8 or locale-convertible before adding to dialog text.  This
4419         probably needs done in a number of places where we get text from
4420         the environment and send it to GTK to display.
4422         * lib/widgets.c: Fixed case problems for font menu entries.
4424         * objects/SADT/annotation.c: Don't run the event test (but leave
4425         it here for inspiration).
4427         * lib/widgets.c: 
4428         * lib/widgets.h: Allowing setting preview text for fonts.
4430 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4432         * objects/bondgraph/Makefile.am: 
4433         * objects/bondgraph/bondgraph.c: 
4434         * configure.in: 
4435         * objects/Makefile.am: Added bond graph dir.
4437 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4439         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
4441 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4443         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
4444         positioning. 
4446         * app/diapsrenderer.c: Freetype rendering is back in force.
4448         * app/disp_callbacks.c: Added missing updates for pre-text-change.
4450 2002-11-25  David Hoover <jazzdaq@yahoo.com>
4452         * app/render_libart.c: Added missing #include line for libart.
4454         * lib/geometry.h:
4455         * lib/geometry.c: Added point_convex function.  This computes
4456         points inside a line segment (0 <= alpha <= 1) or outside the
4457         line segment (alpha < 0 | alpha > 1).
4459         * objects/standard/line.c: Line now has additional code/attributes
4460         which permit the line to extend past the line anchors (gap < 0) or
4461         leave a gap without reaching the anchor (gap > 0).  If no gap is
4462         specified, the default gap of 0 will result in identical line
4463         behavior as before.  If the 'fractional' attributes are TRUE, the
4464         gap length is not fixed, but a percentage of the line length.  I
4465         did not know how create the GTK widgets so the gap code currently
4466         cannot be used without adding XML attributes by hand.
4468 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4470         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
4472         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
4474 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
4476         * lib/font.c: Debugging functionality in separate functions.
4478         * lib/widgets.c: Using fontsel with context.
4480         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
4482         * objects/custom/custom_object.c: Orientation handling for shapes,
4483         patch thanks to Martin Hans <opfinder@gmx.net>.
4485         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
4486         work on even better orientation handling.
4488         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
4489         casting NULL pointers.  Should be unnecessary in an upcoming GTK
4490         release. 
4492 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4494         * lib/font.h:
4495         * lib/font.c:
4496         * lib/widgets.c: Now uses correct context to get font families.
4498         * lib/diagdkrenderer.c (get_text_width, draw_string): 
4499         * lib/dialibartrenderer.c (draw_string): 
4500         * lib/font.h: 
4501         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
4502         (dia_font_build_layout): Unified the twiddle factors into a use of
4503         global_size_one.  But I deeply distrust Pango for seeming to
4504         change size of fonts every time I turn my back.
4506         * app/display.c: 
4507         * app/diagram.c: 
4508         * app/menus.c:
4509         * app/menus.h: Updated some more methods to also be more specific
4510         on the types.
4512         * app/menus.h:
4513         * app/recent_files.c: 
4514         Changed to return most specific type, to avoid run-time type errors.
4516         * app/menus.c (menus_get_item_from_path): Non-gnome version now
4517         gets menu_item rather than widget, which works better.
4519 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
4521         * app/display.c: (new_display):
4522         * app/menus.c: (menus_get_item_from_path):
4523         Relying on the tearoff to locate the input methods menu wasn't a
4524         good idea: tearoffs seem to be an endangered species nowadays.
4525         Anyway, the IM menu seems to be working now.
4527         * app/interface.c: hinted the window manager that the toolbox window
4528         is a toolbox window. Not that my (fairly default configuration)
4529         sawfish cares, but other NETWM compliant WMs may.
4531         * app/commands.c: 
4532         * app/defaults.c: 
4533         * app/dia-props.c:
4534         * app/filedlg.c: 
4535         * app/interface.c: 
4536         * app/layer_dialog.c: 
4537         * app/linewidth_area.c: 
4538         * app/properties.c: 
4539         * app/sheets_dialog.c: 
4540         * app/splash.c: 
4542         The GTK doc says to avoir gtk_window_set_wmclass() and 
4543         gtk_window_set_policy(), and use gtk_window_set_role() and
4544         gtk_window_set_resizable(), respectively.
4545         
4546         * app/preferences.c: (prefs_create_dialog):
4547         * app/preferences.h:
4548         * app/display.c: (display_set_active):
4549         Added a preference to have the toolbox hover over diagram windows.
4550                 
4551 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4553         * lib/diagdkrenderer.c (get_text_width, draw_string):
4554         Freetype-based string drawing now works.  Not very fast, though.
4555         I wish I could use the graphics card for this:(  I'm doing three
4556         bitmap loops where I should be doing one.  The size is not correct
4557         either, despite having get_text_width give the right thing.
4559 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
4561         * app/connectionpoint_ops.c (diagram_update_connections_object):
4562         Allows more than one connectionpoint on an object to be moved at a
4563         time (bug #96306).
4565 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
4567         * configure.in: Added cs to ALL_LINGUAS.
4569 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4571         * app/paginate_psprint.c: Removed unnecessary decl of autosave
4572         stuff.
4574         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
4576         * app/export_png.c (export_png_ok): Saving more variables from the
4577         evil setjmp.
4579 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
4581         * lib/dialibartrenderer.c (begin_render):
4582         (end_render): Correct pushing and popping of font contexts.
4583         (draw_string): Double zooming eliminated, strange twiddle factor
4584         introduced (grumble).  Close to working now, but there are still
4585         strange differences from font to font.  In particular, some fonts
4586         really mess with the cursor and extents.
4588         * app/render_eps.c (export_eps): 
4589         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
4590         Fixed file closing confusion, no longer dependent on PS/EPS.
4592         * app/diagram.c (diagram_place_down_selected) 
4593         (diagram_place_up_selected): Now implemented.
4595         * lib/font.c (dia_font_init): 
4596         * lib/font.h: 
4597         Redesigned the font init/context pushing code.  Start of fix for
4598         font name differences.
4599         
4600 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
4602         * app/sheets_dialog_callbacks.c: Fix a typo.
4603         
4604 2002-10-15  Hans Breuer  <hans@breuer.org>
4606         * app/diapsrenderer.[hc] : (new files, old content :-)
4607         simple base class for post script rendering. Does neither 
4608         use Pango/FT2 nor does it handle non latin1 characters. 
4609         The fancy stuff which nowadays appears to be needed should 
4610         probably be done in derived class(es)
4612         * app/makefile.msc app/Makefile.am : added new files
4614         * app/paginate_psrint.c : re-enabled and used as test
4615         for the simple ps renderer above.
4617         * app/render_eps.[hc] : ripped out common ps code and
4618         moved to DiaPsRenderer. The rest of the file is mostly
4619         disabled. And I don't understand enough of it to 
4620         change port it.
4622         * app/diaepsrenderer.h : short lived, removed.
4624 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4626         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
4627         as a plugin (thanks to Torben Nielsen).
4629 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4631         * app/diaepsrenderer.h: 
4632         * app/render_eps.h: 
4633         * app/paginate_psprint.c: 
4634         #ifdef'd out enough ps stuff to allow compile.  Now we just need
4635         to convert it.
4636         
4637 2002-10-12  Hans Breuer  <hans@breuer.org>
4639         [last plug-in ported]
4641         * plug-ins/xfig/xfig-export.c : ported to new renderer api
4643         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
4644         scale color values to [0..1.0] to properly reconstruct
4645         user colors
4647         * plug-ins/xfig/xfig-common.c : some cleaning
4649 2002-10-12  Hans Breuer  <hans@breuer.org>
4651         [decrease inter-plug-in-dependencies]
4653         * objects/custom/shape_info.[hc] : move parse_style()
4654         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
4655         the related structs and constants.
4656         * objects/custom/custom_object.c : reflect namespace
4657         changes
4659         * lib/dia_svg.[hc] : new files
4660         * lib/makefile.msc lib/Makefile.am : add new files
4661         * lib/libdia.def : updated externals
4663         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
4665         * plug-ins/svg/svg.c : enable svg import for win32 (and
4666         probably for other non ELF builds)
4668         * plug-ins/makefile.msc : enable svg import
4670 2002-10-11  Hans Breuer  <hans@breuer.org>
4672         * plug-ins/metapost/render_metapost.[hc] : ported
4674         * plug-ins/pstricks/render_pstricks.[hc] : dito
4676 2002-10-11  Hans Breuer  <hans@breuer.org>
4678         * plug-ins/cgm/cgm.c : ported, appears to work as before,
4679         but graphic apps available to me can't import the generated 
4680         files (the could not with Dia-0.90 cgm as well) ...
4682         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
4683         Removed all those function which did emulate 'complex' 
4684         drawing ops with basic ones (e.g. rect by line) cause this
4685         stuff is already provided by the base class
4686         * plug-ins/dxf/dxf-import.c : removed render.h include
4688         * plug-ins/python/pydia-font.[hc]
4689           plug-ins/python/pydia-text.c : finally ported to new font api
4691         * plug-ins/python/pydia-layer.c : add extra parameter
4692         to layer_find_closest_connectionpoint()
4694         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
4696         * plug-ins/python/python.c : added missing copyright notice
4698         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
4699         actually use the renderers set_font implementation
4701         * plug-ins/renderer.inc : unused now, removed
4702         * plug-ins/Makefile.am : reflect it
4704 2002-10-08  Hans Breuer  <hans@breuer.org>
4706         * app/render_gdk.c : don't add the InteractiveRenderer
4707         interface multiple times (it's added to the type, not
4708         the object)
4709         * app/render_libart.c : dito. It's currently added
4710         unconditional cause eport_png uses it, but claims
4711         to be non-interactive. Probably set_size should be moved
4712         to the DiaRenderer interface.
4714         * lib/dialibartrenderer.c : add implementations for
4715         get_<width|height>_pixels. Libart rendering works again.
4716         DiaLibartRenderer::draw_image : use dia_image_rowstride()
4717         instead of width*3
4719         * lib/diatransform.c(dia_transform_coords_double) :
4720         don't ROUND() the returned values
4722         * plug-ins/pixbuf/pixbuf.c : added import function. It
4723         simply creates a wrapping "Standard - Image" object.
4725         * plug-ins/shape/shape-export.c : use the more direct
4726         method to call base class methods
4728 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4730         * lib/font.c (dia_font_init): Changed dia_font_init to return old
4731         pango context, to allow stacked contexts (for printing while
4732         antialiased).
4733         
4734         * lib/arrows.h
4735         * lib/bezier_conn.h
4736         * lib/beziershape.h
4737         * lib/boundingbox.h
4738         * lib/color.h
4739         * lib/connection.h
4740         * lib/connectionpoint.h
4741         * lib/create.h
4742         * lib/dia_image.h
4743         * lib/diagdkrenderer.h
4744         * lib/diagramdata.h
4745         * lib/dialibartrenderer.h
4746         * lib/diamenu.h
4747         * lib/diarenderer.h
4748         * lib/diasvgrenderer.h
4749         * lib/diatransform.h
4750         * lib/element.h
4751         * lib/filter.h
4752         * lib/focus.h
4753         * lib/font.h
4754         * lib/geometry.h
4755         * lib/handle.h
4756         * lib/neworth_conn.h
4757         * lib/objchange.h
4758         * lib/object.h
4759         * lib/orth_conn.h
4760         * lib/paper.h
4761         * lib/plug-ins.h
4762         * lib/poly_conn.h
4763         * lib/polyshape.h
4764         * lib/properties.h
4765         * lib/ps-utf8.h
4766         * lib/sheet.h
4767         * lib/text.h
4768         * lib/textattr.h
4769         * lib/widgets.h
4770         * lib/diatypes.h
4771         Moved all externally visible struct typedefs into diatypes.h, as
4772         per Hans' suggestions.
4774 2002-10-07  Steffen Macke <sdteffen@web.de>
4776         * lib/Makefile.am: removed a '\' causing problems
4778 2002-10-07  Hans Breuer  <hans@breuer.org>
4780         [Libart Renderer resurrected; almost it's compiling but
4781          almost instantly crashing :-]
4783         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
4784         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
4785         * lib/diatransform.[hc] : added dia_transform_coords_double()
4787         * app/display.c : the right parameters for new_renderer_libart()
4788         * app/export_png.c : ported, removed the blind Display hack
4790         * app/makefile.msc lib/makefile.msc 
4791           lib/Makefile.am : updated
4793         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
4795 2002-10-06  Hans Breuer  <hans@breuer.org>
4797         * plug-ins/pixbuf/pixbuf.c : (new file)
4798         there is a new export plug-in called 'Pixbuf' which uses 
4799         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
4800         formats (currently only PNG and JPEG).
4802 2002-10-06  Hans Breuer  <hans@breuer.org>
4804         See also: 
4805         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
4807         * lib/dia-enums.h lib/diatransform.[hc]
4808           lib/diarenderer.[hc] lib/diainteractiverenderer.c
4809           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
4810         : new files 
4812         * lib/makefile.msc lib/makefile.am : added new files
4814         * lib/plug-ins.c : g_module_error() returns a locale
4815         string, convert to utf8 before further usage 
4817         * lib/render.h : #error out. Everything including this
4818         needs porting
4819         * lib/*.[hc] : ported to new renderer api
4821         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
4822         just to make the rest compile
4823         * app/render_eps.c : temporary disabled all of this
4824         * app/render_eps.h : removed RendererEPS
4826         * app/render_gdk.[hc] : a small wrapper around the new
4827         DiaGdkRenderer form lib/*
4829         * app/render_libart.h : removed RenderLibart definition
4830         * app/render_libart.c : not yet ported to new DiaRenderer
4831         but having an implementation to untie form FT2 dependency
4832         at least on win32. It is using new Pango api form bug #94791
4834         * app/render_pixmap.[hc] : a small wrapper around the new
4835         DiaGdkRenderer form lib/*
4837         * app/display.h : removed render_*.h includes
4838         * app/display.c : the only place where specific 
4839         renderers need to be known
4841         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
4842         use new DiaInteractiveRenderer interface
4844         * app/*.c : ported to new renderer api
4845         * object/*/*.c : ported to new renderer api
4846         s/render.h/diarenderer.h/
4847         s/Renderer/DiaRenderer/
4848         s/renderer->ops/renderer_ops/
4849         add in every draw method:
4850         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
4852         * plug-ins/hpgl/hpgl.c : 
4853           plug-ins/wmf/wmf.cpp 
4854           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
4855         * plug-ins/shape/shape-export.c
4856           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
4857           (nice how small these files became :-)
4859 2002-09-28  Hans Breuer  <hans@breuer.org>
4861         * */makefile.msc : updated
4863         * app/defaults.c : don't gdk_invalidate_rect(NULL)
4864         * app/disp_callbacks.c : 
4865         can't cast GtkWindow to GdkWindow, use shell->window
4866         (ddisplay_unrealize) don't use already unrefed im_context
4867         * app/display.c :
4868         can't cast from GtkMenu to GtkMenuItem
4869         (ddisp_destroy) : mark im_context as unrefed
4871         * lib/dia_xml (data_font) : prefer new font format over old one
4872         (data_add_font) : write the legacy name to allow file exchange
4873         with pre Pango versions of Dia, which would otherwise crash 
4874         on missing font 'name' attribute.
4875         * lib/font.c (dia_font_get_legacy_name) : improved implementation
4876         to get a better match.
4878         * lib/libdia.def : updated
4880         * lib/messages.c : don't gdk_widget_show(NULL)
4882         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
4884         [make Dia compile, link _and_ work with mingw/gcc3.2]
4886         * config.h.win32 : #define LIBXML, this gets defined from libxml
4887         header but only for _MSC_VER. The mingw build did access an 
4888         unitialized function pointer for xmlFree.
4890         * */makefile.mingw : updated (some plug-ins have build issues)
4891         
4892         * lib/handle.h lib/object.h :   there appears to be no 
4893         forward declaration of the form 
4894                 typedef enum _HandleId HandleId 
4895         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
4896         use of enum `_HandleId' without previous declaration
4898         * app/paginate_gdiprint.cpp : added a hack to avoid g++
4899         naming conflict on 'export'
4901         * app/paginate_gdiprint.h : forward declare Diagram
4903         * objects/SADT/annotaion.c : use g_random_double()
4905 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4907         * app/modify_tool.c: Made motion not happen until sufficiently
4908         large or past double-click interval, to avoid accidental moving
4909         when doubleclicking.  Got the double-click time right, and fixed
4910         some issues with release.  There are some corner cases that may
4911         exhibit strange behaviour, will look at those later.  Nah, let's
4912         not care about those, they are rare and not dangerous.
4914 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
4916         * app/layer_dialog.c: 
4917         * app/load_save.c: 
4918         * plug-ins/dxf/dxf-import.c: 
4919         * plug-ins/python/pydia-diagram.c: 
4920         * lib/diagramdata.c:
4921         * lib/diagramdata.h:
4922         Improved the consistency of the obj->parent_layer backlinks (esp.
4923         during reloads)
4925         * lib/Makefile.am:
4926         * lib/dummy_dep.h:
4927         * lib/dynamic_obj.[ch] (NEW):
4928         * app/Makefile.am:
4929         * app/app_procs.c: 
4930         * app/dynamic_refresh.[ch] (NEW):
4931         * objects/Misc/analog_clock.c: 
4932         Added support for dynamic refresh (animated objects).
4933                 
4934 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
4936         Patch from Owen Taylor <otaylor@redhat.com>:    
4937         * doc/en/Makefile.am:
4938         * doc/en/dia-manual.sgml:
4939         * doc/en/usage-objects.sgml:
4940         * doc/en/usage-quickstart.sgml:
4941         * doc/pl/Makefile.am:
4942         * doc/pl/dia-manual.sgml:
4943         * doc/pl/usage-objects.sgml:
4944         * doc/pl/usage-quickstart.sgml:
4946         - Change the DTD declration from an outdated GNOME one to a
4947         standard DTD.
4948         
4949         - Remove close tags for <graphics> which aren't allowed for
4950         docbook SGML
4951         
4952         - A hacky fix for a problem where some versions of db2html don't
4953         create *.css files. (If *.css doesn't match anything, then you get
4954         the global explicitely.)
4956         (Closes: #92061)
4957         
4958 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
4960         * objects/custom/custom_object.c: 
4961         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
4962         were never properly prepared for use when reloading a shape with
4963         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
4964         reporting the problem and coming up with a fix! (Closes: #93974)
4966         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
4967         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
4969         * app/menus.c:
4970         * app/display.c: updated menu item paths Alan's patch had moved.
4971         
4972         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
4973         load the sheet-provided icon (libpng versions mismatch, grrr.).
4974         
4975         * configure.in:
4976         * objects/Makefile.am:
4977         * objects/Misc/Makefile.am (NEW):
4978         * objects/Misc/libmisc.c (NEW):
4979         * objects/Misc/analog_clock.c (NEW):
4980         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
4981         * sheets/Misc.sheet.in: just a little experiment...
4983 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
4985         * plug-ins/xlst/Makefile.am: found a way to silence automake while
4986         not forcing everyone to build using libxslt.
4988         * lib/font.c: 
4989         * lib/message.c:
4990         * lib/object_defaults.c:
4991         * lib/intl.[ch]:
4992         * lib/render.c:
4993         * lib/properties.[ch]:
4994         * lib/propobject.c:
4995         * objects/standard/box.c: 
4996         * objects/UML/state_term.c:
4997         * objects/FS/box.c:
4998         * objects/FS/flow-ortho.c:
4999         * app/app_procs.c:
5000         * app/autosave.c:       
5001         * app/commands.c:
5002         * app/diagram_tree.c:
5003         * app/display.c:
5004         * app/disp_callbacks.c:
5005         * app/export_png.c:
5006         * app/filedlg.c:
5007         * app/lineprops_area.c:
5008         * app/menus.c:  
5009         * app/preferences.c:
5010         * app/render_eps.c:     
5011         * app/sheets.c:
5012         * app/sheets_dialog_callbacks.c:
5013         * plug-ins/xslt/xslt.c:
5014         * plug-ins/metapost/render_metapost.c:
5015         * plug-ins/xfig/xfig-export.c:
5016         * plug-ins/shape/shape-export.c:
5017         
5018         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
5019         unused variables, mostly)
5021         * app/display.c:
5022         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
5024         * app/Makefile.am: modified run_dia.sh so that we recover the
5025         ability to run a debugger despite libtool's hacks.
5027         * plug-ins/dxf/Makefile.am: 
5028         * app/Makefile.am
5029         "make distcheck" fixes.
5030         
5031 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5033         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
5034         <mfranzoni@madd.it>:  Check for the type being NULL.
5036 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5038         * app/render_eps.c (set_font): Re-tweaked font size for printing.
5040 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
5042         Patch from Angus Ainslie <angusa@deltatee.com>:
5043         * plug-ins/dxf/dxf-import.c:
5044         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
5046         (plus a couple extra fixes by me, such as the removal of printf's,
5047         adapting for recent changes, and killed a couple warnings) 
5049         * app/authors.h: a 60K patch isn't insignificant, is it?
5050         
5051 2002-09-09  Tor Lillqvist  <tml@iki.fi>
5053         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
5054         as before) and -lfreetype (using AC_CHECK_LIB). At least on
5055         Solaris with Sun's compiler (Forte C), you need to link also the
5056         dia application with -lfreetype, even if it is implicitly linked
5057         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
5058         which is what they actually mean. Use FREETYPE_LIBS for
5059         -lfreetype.
5061         Don't look for libsunmath if isinf() is not found in math.h (as on
5062         Solaris). The sunmath library is part of Forte C and not present
5063         on all machines. Besides, even if isinf was found in libsunmath,
5064         we didn't use it in the Makefile.am.
5065         
5066         Fix a couple of bashisms.
5068         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
5069         too, on Solaris with Forte C.
5071         Don't try to use the gcc flags with other compilers.
5072         DIA_CHECK_CFLAG gives a false indication that Forte C understands
5073         the gcc -f switches, but in fact they get interpreted meaning
5074         something completely different.
5076         Define the automake conditional HAVE_CGC.
5077         
5078         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
5080         Use -export-dynamic only with gcc.
5082         * */Makefile.am
5083         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
5084         PANGOFT2_CFLAGS rename.
5086         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
5087         
5088         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
5089         Solaris.
5091         * lib/paper.c: Workaround for gccism: Can't use inline this way with
5092         Forte C, either.
5094 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
5096         * lib/text.c(set_string): fixed a memory leak (char* ain't no
5097         std::auto_ptr<char> !).
5099         * app/display.[ch]:
5100         * app/interface.[ch]:
5101         * app/ddisp_callbacks.[ch]: Added some basic support for input 
5102         methods (GtkIMContext-based)
5104         * lib/Makefile.am:
5105         * app/Makefile.am: made libdia a shared object (per Tor
5106         Lillqvist's suggestion/request), to cope for platforms with a less
5107         than par dynamic library loader.
5109         * app/display.c: disabled the input method menu (I really don't
5110         see where and how to put them. Blame Frozen Bubble )
5111         
5112 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5114         * objects/flowchart/box.c (box_update_data): Made resizing
5115         possible again (only set width & height when resized too small).
5117         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
5119         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
5120         GdkScrollEvents.
5121         
5122 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
5124         * app/authors.h: now showing Akira TAGOH's name in the native script.
5126 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5128         * plug-ins/xslt/xslt.c: Removed glib warning for unset
5129         DIA_PLUGIN_PATH.
5131 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
5133         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
5134         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
5135         sweep flag in arcs.
5137 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5139         * objects/UML/class.c: Fixed showing of empty stereotypes and got
5140         the string placed correctly.
5142 2002-08-30  Hans Breuer  <hans@breuer.org>
5144         * lib/font.c (dia_font_get_style) : don't shift already
5145         shifted DIA_FONT values.
5147         * lib/libdia.def : updated externals
5149         * app/disp_callbacks.c : on win32 GdkEventKey::string already
5150         is in UTF-8. (Longterm this probably should be handled on the
5151         gtk api level)
5153         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
5154         switch display renderers again. The libart renderer is very 
5155         useful for win9x with it's limited GDI.
5157         * app/render_gdk.c : use g_warning instead of printf which gets
5158         nowhere on win32 (non console apps)
5160         * app/render_libart.c : make it compile without FREETYPE
5162         * objects/makefile.msc plug-ins/makefile.msc : added clean target
5164 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5166         * app/render_eps.c (postscript_draw_contour): Debugging statement
5167         that allowed me to figure out font problems.
5169         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
5170         items for font styles.
5172         * objects/FS/flow-poly.c: 
5173         * objects/FS/flow-ortho.c: 
5174         * objects/FS/flow.c: Further conversion away from GTK dialogs.
5175         Can't set a default label right now:(
5177         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
5179 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
5180         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
5182         * Makefile.am: rules relating to AUTHORS and THANKS
5183         altered.
5184         * AUTHORS: file content changed to more accurately
5185         reflect guideline requirements.
5186         * TODO: warning added about Gnome BTS.
5187         * KNOWN_BUGS: warning added about Gnome BTS.
5189         ---
5191         * AUTHORS: added full copyright info.
5192         * mkauthors-placeholder: (removed) 
5193         
5194 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5196         * app/paginate_psprint.c (print_page): Fixed text printing after
5197         tip from Dov Grobgeld.
5199 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5201         * app/paginate_psprint.c (print_page): Fixed color of clip
5202         region.
5204 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
5206         * sheets/Makefile.am: enabled intltool-merge translation cache for
5207         sheets.
5209         * Makefile.am:
5210         * mkauthors-placeholder:
5211         * AUTHORS: revived that file (in a placeholder form) so that
5212         automake stops yelling.
5213         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
5214         (Closes: #91144)
5216         Heh, by the way, thanks Christophe. I feel better now.
5217         
5218 2002-08-25  Christophe Merlet  <christophe@merlet.net>
5220         * app/command.c: Removed invalid multibyte sequence in Chepelov.
5222 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5224         * lib/dia_image.c (dia_image_rgb_data): 
5225         Bugfixes in image data retrieval.
5226         
5227         * app/render_eps.c: Refactoring of new_*_renderer.
5229 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5231         * app/render_eps.c: 
5232         * lib/dia_image.h: 
5233         * lib/dia_image.c: Support for rowstride != width (odd width images)
5235 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
5237         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
5238         * plug-ins/xfig/xfig-import.c: Removed assertion.
5240 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5242         * lib/paper.c: Removed app/preferences.h reference.
5244 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5246         * plug-ins/svg/svg-import.c: 
5247         * plug-ins/xfig/xfig-import.c: 
5248         * lib/Makefile.am (libdia_a_SOURCES): 
5249         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
5250         * lib/create.h:
5251         * objects/standard/create.h:
5252         * objects/standard/polygon.c (polygon_create): 
5253         * objects/standard/polyline.c (polyline_create): 
5254         * objects/standard/beziergon.c (beziergon_create): 
5255         * objects/standard/bezier.c (bezierline_create): 
5256         Moving create.h into lib.
5258 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5260         * app/render_libart.[ch]: Work on PNG font export.  Something's
5261         still fishy with the scaling, I don't get it.
5263         * app/display.c: 
5264         * app/interface.c: Replaced broken zoom combo with entry+menu.
5265         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
5267         * app/render_gdk.c (get_text_width): Checks for validity of text.
5268         Temporary help while debugging input -- should only activate on
5269         invalid input.
5271         * objects/SADT/annotation.c: 
5272         * objects/GRAFCET/transition.c: 
5273         * objects/FS/function.c: Removal of gtk.h include.
5275         * objects/UML/state.c (state_load): Warnings about using State
5276         object for initial/final states.
5278         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
5280 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5282         * app/render_eps.c: Text rendering that scales correctly.  Too bad
5283         the standard fonts don't get selected right.
5285 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
5287         * lib/diagramdata.h: 
5288         * lib/paper.c (get_paper_info): 
5289         * lib/paper.h: 
5290         * plug-ins/xfig/xfig-import.c: 
5291         Committed before testing.  I am so embarrased.  This compiles, now
5292         that the includes are in the right order.
5293         
5294         * app/diagram.c (diagram_init): 
5295         * app/app_procs.c (do_convert): 
5296         * app/preferences.h: 
5297         * lib/diagramdata.h: 
5298         * lib/diagramdata.c (new_diagram_data): 
5299         * lib/paper.h: 
5300         * lib/paper.c (get_paper_info): 
5301         Moved new_diagram part of prefs into lib/diagramdata.h.  More
5302         could be done in new_diagram_data() now.
5304 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5306         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
5308 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
5310         * configure.in: removed silly user-visible comment
5312         (actually, this is a dummy entry before I manually run nemo; for
5313         some dist-upgrade related reason, this morning's run aborted before
5314         the snapshots were created)
5315         
5316 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5318         * objects/network/wanlink.c: 
5319         * objects/network/bus.c: 
5320         stdprop compliance!
5322         * objects/custom/custom_object.c: 
5323         * objects/network/wanlink.c: 
5324         * objects/flowchart/parallelogram.c: 
5325         * objects/flowchart/ellipse.c: 
5326         * objects/flowchart/diamond.c: 
5327         * objects/flowchart/box.c: 
5328         Removed GTK defaults stuff.
5329         
5330         * objects/UML/fork.c: 
5331         * objects/UML/object.c: 
5332         * objects/UML/lifeline.c: 
5333         * objects/UML/branch.c: 
5334         * objects/GRAFCET/transition.c: 
5335         * objects/FS/function.c: Removed GTK include.
5337         * objects/FS/flow-ortho.c: 
5338         * objects/FS/flow.c: Made the label behave again.
5339         Also removed GTK defaults stuff.
5341 2002-08-06  Hans Breuer  <hans@breuer.org>
5343         * app/autosave.c : ported to GDir which is the improved
5344         cross platform replacement for <dirent.h>
5346         * app/makefile.msc : build autosave.obj
5348         * app/font.c : some (bad?) code calls 
5349         dia_font_scaled_decent() not only with empty string but 
5350         with NULL. Handle it gracefully.
5352         * lib/paper.c : don't depend on ../app. Although IMO
5353         this shouldn't be allowed on any platform it is only
5354         disabled for win32, where it simply doesn't work
5355         this way
5357         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
5359         * objects/fs/flow.c : conditionalize debug spew, disabled
5360         and 'ported' to use g_print. Simple printf won't work with
5361         standard win32 gui apps, may even crash them.
5363         * plug-ins/makefile.msc : DISABLED svg-import cause it
5364         depends on ../objects/custom. This not only break the
5365         build for all non ELF systems but IMO also isn't acceptable
5366         from a design point of view. See dia-list mail on subject.
5368         * plug-ins/python/makefile.msc :
5369           plug-ins/python/python.c : remove all references to dirent    
5371 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
5373         * configure.in: added ro to ALL_LINGUAS
5375         * po-checktrans:
5376         * po-checktrans.py:
5377         * ../translation-graphs/transgraph.py: added support for fuzzy
5378         translations. Enlarged the graphs.
5380 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5382         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
5383         key events according to locale.  No clue if this works for
5384         advanced stuff.
5386 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5388         * lib/text.c: Various UTF8 related fixes, in particular in
5389         deleting.  Text_insert_char is fine, far as I can tell.
5391         * app/interface.c (create_display_shell): 
5392         * app/commands.c: Now uses gtk_clipboard functions, for they are
5393         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
5394         don't seem to get handled correctly by text_insert_char in
5395         lib/text.c.
5396         
5397         * app/commands.c (received_selection_handler): Got utf8 handling
5398         on paste, and individual char handling out of commands.c.  Pasting
5399         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
5401         * lib/message.c (gtk_message_internal): Message dialog re-shown
5402         when new message appears.  Maybe it should even move to top?
5404         * lib/font.c: 
5405         * lib/widgets.c: 
5406         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
5407         (again) and case-insensitive.
5409         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
5410         BASIC_SANS_FONT. 
5412 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5414         * app/commands.c (edit_cut_text_callback): 
5415         * lib/text.c (text_delete_all): Now functioning undo for text cut.
5416         
5417         * app/commands.c (edit_cut_text_callback): Now removes text.
5418         Undo is broken, though.
5420 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5422         * app/diagram.c (diagram_update_menu_sensitivity): 
5423         Making cut_text active.
5424         
5425         * app/commands.h: 
5426         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
5427         clipboard.  Also removed AA callback.   
5429 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5431         * objects/chronogram/chronoref.c: 
5432         * objects/chronogram/chronoline.c: 
5433         * objects/SADT/annotation.c: 
5434         * objects/SADT/arrow.c: 
5435         * objects/SADT/box.c: 
5436         * objects/GRAFCET/vergent.c: 
5437         * objects/GRAFCET/vector.c: 
5438         * objects/GRAFCET/step.c: 
5439         * objects/GRAFCET/condition.c: 
5440         * objects/GRAFCET/action.c: 
5441         * objects/ER/participation.c: 
5442         * objects/ER/relationship.c: 
5443         * objects/ER/entity.c: 
5444         * objects/ER/attribute.c: 
5445         Removing unnecessary GTK references.
5447 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5449         * objects/standard/image.c: 
5450         * objects/standard/textobj.c: 
5451         * objects/standard/ellipse.c: 
5452         * objects/standard/polygon.c: 
5453         * objects/standard/beziergon.c:
5454         * objects/standard/box.c: 
5455         Making default default properties.
5456         
5457         * objects/standard/image.c: 
5458         * objects/standard/arc.c: 
5459         * objects/standard/box.c: 
5460         * objects/standard/zigzagline.c: 
5461         * objects/standard/polyline.c: 
5462         * objects/standard/line.c: 
5463         * objects/standard/ellipse.c: 
5464         * objects/standard/polygon.c: 
5465         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
5467         * lib/object_defaults.c (dia_object_default_create): 
5468         * lib/proplist.c: 
5469         * lib/properties.h: 
5470         * lib/object.c (object_copy_using_properties): 
5471         * lib/propdialogs.c: 
5472         * lib/propinternals.h: 
5473         * lib/propobject.c (object_create_props_dialog)
5474         (object_copy_props): 
5475         Removing the standard (toolbox) properties from defaults dialogs.
5477 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5479         * lib/font.c (dia_font_scaled_string_width) 
5480         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
5481         zoom factor.
5482         * lib/text.c (text_calc_boundingbox): Take descent into account.
5484         * objects/standard/bezier.c (bezierline_draw): 
5485         * lib/render.c (draw_bezier_with_arrows): 
5486         Better arrow drawing for beziers.  Doesn't change the mouse-click
5487         area either.
5489         * lib/arrows.h: Some const-ness.
5491         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
5493         * lib/render.c (draw_arc_with_arrows): 
5494         * objects/standard/arc.c (arc_draw): Better arrow drawing for
5495         arcs.  Doesn't change the mouse-click area yet.
5497         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
5499         * lib/render.h: 
5500         * lib/render.c: 
5501         Arc arrow prework.
5503 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5505         * app/group.c (group_draw): Forgotten commit: Groups to draw as
5506         objects (using default routines).
5508         * app/object_ops.h: 
5509         * app/diagram.h: 
5510         * lib/diagramdata.h: 
5511         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
5512         * objects/standard/zigzagline.c (zigzagline_move_handle): 
5513         * app/diagram.c (diagram_find_closest_connectionpoint): 
5514         * plug-ins/python/pydia-diagram.c
5515         (PyDiaDiagram_FindClosestConnectionPoint):
5516         * app/object_ops.c (object_connect_display) 
5517         (object_find_connectpoint_display) 
5518         * app/create_object.c (create_object_button_press) 
5519         (create_object_motion): 
5520         * app/modify_tool.c (modify_motion): 
5521         Adding object param to allow connectionpoint and handle coinciding.
5523         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
5524         Fixing minor problems.
5526         * objects/standard/ellipse.c (ellipse_update_data): 
5527         Added direction hints.
5529         * lib/diagramdata.c: 
5530         * lib/object.c: 
5531         * lib/object.h: 
5532         * lib/diagramdata.h: 
5533         * objects/standard/zigzagline.c: 
5534         First working example of zigzagline hints, currently only between
5535         Box and Zigzagline.
5537 2002-07-27  Steffen Macke <sdteffen@web.de>
5539         * plug-ins/svg/render_svg.c: added support for rounded
5540         rectangles (fixes #69053 if compile with
5541         -DNEW_RENDER_OPS)
5542         * object/custom/shape_info.[c|h]: made parse_style and
5543         parse_path accessible for svg plug-in
5544         * plug-ins/svg/Makefile.am:
5545         * plug-ins/svg/svg.c:
5546         * plug-ins/svg/svg-import.c(new): added SVG import filter
5548 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5550         * objects/standard/box.c: 
5551         * objects/standard/zigzagline.c (zigzagline_move): 
5552         More work on zigzagline hints.
5554 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5555         * lib/connectionpoint.h: 
5556         Hints for zigzaglines.
5558         * app/properties.c (properties_show): 
5559         * app/defaults.c (defaults_show): 
5560         * lib/properties.h: 
5561         * lib/propobject.c (object_create_props_dialog): 
5562         * lib/object.h: 
5563         * objects/FS/flow-poly.c: 
5564         * objects/network/wanlink.c: 
5565         * objects/network/bus.c: 
5566         * objects/UML/class.h: 
5567         * objects/UML/class_dialog.c: 
5568         * objects/UML/association.c: 
5569         Start of removing toolbox props from props dialogs.
5570         
5571         * lib/widgets.c: 
5572         * lib/arrows.h: 
5573         * app/lineprops_area.c (dia_arrow_chooser_new): 
5574         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
5576         * app/create_object.c: 
5577         * app/modify_tool.c: 
5578         * app/cursor.h: 
5579         * app/cursor.c: 
5580         More cursor change.
5582 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5584         * app/preferences.c: 
5585         * lib/paper.c: 
5586         * app/diapagelayout.c: 
5587         New prefs selector kind PREF_CHOICE chooses between a list of
5588         strings.  Used for picking default paper.
5589         
5590         * app/preferences.c (prefs_data): 
5591         * lib/paper.c (get_paper_info): Added prefs setting for
5592         is_portrait.
5594         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
5595         line segments at the ends (bug #86603).
5597 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5599         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
5600         #60324: Now calls update_data after copy.
5602         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
5603         Now doesn't steal selection from non-object tools.
5605 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5607         * app/commands.c (help_manual_callback): Uses BROWSER environment
5608         variable when available.
5610 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5612         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
5613         object from the new sheet when changing.
5615         * app/app_procs.c (app_init): Uses more standard size icon, from
5616         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
5618 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5620         * objects/UML/implements.c (implements_update_data): 
5621         * objects/UML/realizes.c (realizes_update_data): 
5622         * objects/UML/dependency.c (dependency_update_data): 
5623         Test for null strings before calling on ascent.
5625         * objects/UML/realizes.c (realizes_draw): 
5626         * objects/UML/message.c (message_draw): 
5627         * objects/UML/generalization.c (generalization_draw): 
5628         * objects/UML/dependency.c (dependency_draw) 
5629         * objects/UML/constraint.c (constraint_draw): 
5630         * objects/GRAFCET/condition.c (condition_draw): 
5631         * objects/UML/association.c (association_draw): 
5632         * objects/FS/flow-ortho.c (orthflow_draw): 
5633         * objects/FS/flow.c (flow_draw): Change to use
5634         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
5636         * lib/render.h: 
5637         * lib/arrows.c (calculate_arrow_point): 
5638         * lib/arrows.h: 
5639         * lib/render.c: 
5640         * objects/standard/zigzagline.c:
5641         * objects/standard/polyline.c:
5642         * objects/standard/line.c: Work towards better arrow drawing.
5644 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5646         * objects/UML/state.c: Starting phase-out of State object as
5647         initial/final state (which never worked right).
5649         * app/app_procs.c (app_init): --version command line option for
5650         non-Gnome.
5652         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
5654 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5656         * app/render_eps.c: Removed debugging info.
5658         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
5659         Kludge to make ascent and descent work for empty strings.  Won't
5660         work when using non-ASCII fonts.  Better would be to get a
5661         PangoFont and ask directly.
5663         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
5664         of the init stuff.
5666         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
5667         Cursor now better.
5669 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5671         * plug-ins/xfig/xfig-export.c: First use of draw_object render
5672         function: All shapes are now groups in XFig export.
5674         * lib/diagramdata.c (normal_render): 
5675         * lib/render.c: 
5676         * lib/render.h: 
5677         * app/display.c (ddisplay_obj_render): 
5678         New render function for drawing objects, allows renderers to group
5679         or otherwise specially handle objects.  We may want to reconsider
5680         calling it in app/display.c, as we 'know' the object draw function
5681         is the default one there.
5683         * lib/Makefile.am: Removed extra \ that broke stuff.
5685         * plug-ins/xfig/xfig-import.c: 
5686         Spline import for xfig.  Not perfect.
5688         * objects/standard/create.h: 
5689         * objects/standard/bezier.c (bezierline_create): 
5690         * lib/bezier_conn.c: 
5691         * lib/beziershape.c (beziershape_set_points): 
5692         * lib/bezier_conn.h: 
5693         * lib/beziershape.h: 
5694         Support for creating beziers non-interactively.
5696 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5698         * plug-ins/xfig/xfig-import.c: Support for polygons and
5699         polylines.  Special warning handling system removed.
5701         * lib/message.c (gtk_message_internal): Fixed bug involving
5702         closing message window and then getting repeated message.
5704         * Makefile.am: 
5705         * autogen.sh: 
5706         * configure.in (GETTEXT_PACKAGE): 
5707         Update based on bug #88199.  Hopefully this doesn't break too much
5708         intl stuff.
5710         * dia.desktop.in (_Comment): Changed after suggestion from
5711         calum.benson@ireland.sun.com (bug 88345)
5713         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
5714         <loli@unsa.edu.ar> that makes user/system distinction better.
5716 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5718         * app/render_libart.c: Got the context right, removed crashes.
5720         * app/commands.c: 
5721         * app/commands.h: 
5722         Redraw menu item.
5724         * app/display.c: 
5725         * app/display.h: 
5726         * app/interface.c: 
5727         * app/menus.c: 
5728         Remove libart #defines from most places (still around for png export).
5730         * app/render_libart.h: 
5731         * app/render_libart.c: 
5732         * configure.in (HAVE_LIBART): 
5733         Starting on update of libart stuff for png export (without X).
5735         * app/autosave.h (autosave_check_autosave): 
5736         * app/load_save.h: 
5737         * app/diagram.h: 
5738         * app/Makefile.am (dia_core_files): 
5739         * app/load_save.c: 
5740         * app/diagram.c (diagram_set_modified): 
5741         * app/autosave.c: 
5742         * app/app_procs.c (app_init): 
5743         Autosave support.  No automatic restore yet.
5745 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5747         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
5748         assignment. 
5749         
5750 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5752         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
5754 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
5756         * Fix for 'make dist' etc. --- problem caused by
5757         previous AUTHORS patch.
5759 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5761         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
5762         pango_context. 
5763         (set_font): NULL check.
5764         
5765 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5767         * app/disp_callbacks.c: 
5768         * lib/diamenu.h: 
5769         Addition to the object menus allows check menu items.
5771 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
5773         * HACKING: completely changed to bring up-to-date.
5774         * AUTHORS: file needs REMOVING from CVS as now
5775           dynamically generated.
5776         * app/authors.h: split into subcategories for original
5777           authors, maintainers, etc.
5778         * app/app_procs.c: --credits rewritten to support new
5779           app/authors.h
5780         * app/commands.c: no changes to about box code, comment
5781           added though.
5782         * Makefile.am: added rule for AUTHORS. I'm still
5783           inexperienced with automake, it seems to work, but
5784           for AUTHORS-related bugs, look at this change first.
5786 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5788         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
5789         work.  Back to including xslt dir always.
5791         * objects/UML/uml.c: 
5792         * objects/UML/class.h: 
5793         * objects/UML/class_dialog.c: 
5794         * objects/UML/class.c: Patch from
5795         <mattam@netcourrier.com>:  Adds comment visibility switch, also
5796         fixes various bugs.
5798         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
5799         for state/fork/activity stuff.
5800         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
5801         * objects/UML/Makefile.am:
5802         * objects/UML/uml.c:
5803         * sheets/UML.sheet.in: Added new objects activity, fork,
5804           state_term.
5805         * objects/UML/pixmaps/state_term.xpm:
5806         * objects/UML/state_term.c: New, only initial/final states.
5807         * objects/UML/pixmaps/activity.xpm:
5808         * objects/UML/activity.c: New, activity state.
5809         * objects/UML/pixmaps/fork.xpm:
5810         * objects/UML/fork.c: New, fork/join bar.
5811         * objects/UML/pixmaps/state.xpm: state icon.
5813         
5814         * doc/diagram.dtd: 
5815         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
5816         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
5817         svg:text to shape.
5819 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5821         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
5822         detecting XSLT
5824         * app/Makefile.am: Commented out the diaconv parts while it's not
5825         used anyway.  To come back later.
5827         * configure.in (HAVE_FREETYPE): 
5828         * app/app_procs.c: 
5829         * app/render_eps.h: 
5830         * app/render_eps.c: Support for printing with freetype, better
5831         encapsulated now.  Renders the text nicely, but ignores font
5832         setting.  Requires pangoft2 to get the font outline, but non-text
5833         objects can still be rendered without it.
5835         * app/commands.h: 
5836         * app/commands.c (objects_place_up_callback) 
5837         (objects_place_down_callback): 
5838         * app/diagram.h: 
5839         * app/diagram.c (diagram_place_down_selected) 
5840         (diagram_place_up_selected): Starting support for moving objects
5841         one level up/down.
5843         * app/menus.c: Removed character/numeral shortcuts.
5845 2002-07-06  Hans Breuer  <hans@breuer.org>
5847         * makefile.am app/makefile.am lib/makefile.am
5848           objects/makefile.am plug-ins/makefile.am 
5849           plug-ins/python/makefile.am :
5850         added required files for win32 build to EXTRA_DIST
5852         * app/paginate_psprint.c app/render_eps.c 
5853           app/app_procs.c :
5854         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
5855         on Pango as currently is on win32 => no PostScript 
5856         anymore.
5858         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
5859         use '/* noop */;' for empty case labels; replace
5860         debug spew printf with g_print which is guaranteed 
5861         to work on win32, too.
5863         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
5864         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
5865         in the pango_font_description_set_weight() api documentation
5866         Take care for them in dia_font_get_style() too.
5868         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
5869           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
5870         rename Obliquity to Slant which appears to be the usual name,
5871         also rename dia_font_get_style_string -> dia_font_get_slant_string
5873         * plug-ins/wmf/wmf.cpp : finally ported to new font api
5875         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
5877         * objects/uml/association.c class.c large_package.c message.c
5878         if g_free() is used g_strdup needs to be used.
5879         * objects/custom/shape_info.c
5880           objects/ER/attribute.c entity.c
5881           objects/standard/image.c 
5882           app/sheets_dialog_callbacks.c : more strdup cleaning
5884 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5886         * app/render_eps.c: Non-crashing printing (made the right
5887         context).  Font output still fscked up.
5889 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
5891         * app/authors.h: Added file --- now master
5892         location for contributors data.
5893         * app/app_procs.c: Added --credits option.
5894         * app/commands.c: Modified about box to use
5895         app/authors.h.
5897 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5899         * app/render_eps.c: First stab at EPS rendering using the contour
5900         code from PAPS.  Crashes.
5902 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5904         * app/recent_files.c (recent_file_history_remove): 
5905         Fixed call to g_list_delete_link discarding return value.
5906         
5907         * lib/widgets.c (dia_font_selector_set_styles): 
5908         * lib/font.h (DiaFontWeight): 
5909         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
5911 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
5913         Contribution from Alan Horkan <horkana@tcd.ie>: 
5914         
5915         * shapes/Assorted/*
5916         * sheets/Assorted.sheet:
5917         A set of 40 assorted geometric shapes.
5919         * sheets/Assorted.sheet.in:
5920         * sheets/Makefile.am
5921         * shapes/Assorted/Makefile.am:
5922         * shapes/Makefile.am:
5923         * po/POTFILES.in:
5924         * configure.in:
5925         Done the integration job of Alan's shapes. (Translators: have fun!)
5927         * po/dia.pot: refreshed the main potfile.
5928         
5929 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
5931         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
5932         
5933         * objects/UML/class.[ch]:
5934         * objects/UML/class_dialog.c:
5935         changed the number of connection points from a hardcoded value of
5936         8 to a #defined constant
5938         (I changed the constant back from 20 to 8, until we better know
5939         how we'll handle more connection points on the UML class in the
5940         future -- but Tim's patch is a welcome clean-up).
5942 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
5944         * shapes/MSE/demultiplexer.xpm:
5945         * shapes/MSE/node_center.xpm:
5946         * shapes/MSE/multiplexer.xpm:
5947         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
5948         Horkan <horkana@tcd.ie>
5950 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5952         * lib/widgets.c: Total rehash of font selector, with font dialog
5953         option, expanding list (not LRU yet), and stuff.
5955 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
5957         * lib/font.h:
5958         * lib/font.c: 
5959         Added a set of new setter/getters, some of them more specially for
5960         the SVG-ish I/O.
5961         
5962         * plug-ins/shape/shape-export.c: (new_shape_renderer),
5963         (destroy_shape_renderer), (set_font), (draw_string):
5964         * plug-ins/svg/render_svg.c: (new_svg_renderer),
5965         (destroy_svg_renderer), (set_font), (draw_string):
5967         Actually exported the font face, style, weight and size (sodipodi
5968         agrees with dia on how a small sample should look like (a sample
5969         0.90 would not even display anyways). Yay !)
5971         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
5973         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
5975         (end of ChangeLog-less patch)
5977         * objects/custom/shape_info.c (parse_style): now understands the
5978         font-style and font-weight attributes as well. Does not use
5979         anymore dia_font_new_from_legacy_name().
5980         
5981 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5983         * objects/standard/textobj.c: Now uses stdprops for defaults.
5985         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
5986         * lib/font.c (dia_font_get_style): Style now linear and conversion
5987         simple. 
5989         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
5990         selector. 
5992 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
5994         * plug-ins/dxf/dxf-import.c:
5995         using dia_font_new_from_style()
5997         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
5999         * objects/UML/class.[ch]: Added a comment field to class
6000         * objects/UML/uml.[ch]: Added a comment field to attributes,
6001         operations and parameters.
6002         * objects/UML/class_dialog.c: Added code for the new comment
6003         fields.
6004         * plug-ins/xslt/*.xsl: Added some code to handle comments.
6005         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
6006         Added a $directory parameter for stylesheets so the output is 
6007         in the good place (not in the $PWD).
6009         (end of Patch)
6011         * AUTHORS: added contributors, updated maintainers. Removed the
6012         specific areas of action.
6014         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
6015         from a patch by Xing Wang <quixon@gnuchina.org>:
6017         * app/commands.c: help_about_callback now supports
6018         new-style GNOME about box as well as old GTK style. 
6019         code also tidied (Closes: #85726)
6021         (end of Patch)
6023         * app/commands.c: fixed the copyright (it's not all FSF), and
6024         maintainers. Synced contributors list with AUTHORS.
6025                 
6026 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6028         * lib/message.c: More work on repeating messages, now with
6029         togglable view.
6031 2002-06-24  Hans Breuer  <hans@breuer.org>
6033         * lib/widget.c : some more bits in place, at least
6034         it does something useful instead of crashing. Much
6035         better - but not all ok :-)
6037 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6039         * lib/message.c (gtk_message_internal): First stab at repeating
6040         message dialog.
6042 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6044         * objects/FS/*.c:
6045         * objects/GRAFCET/*.c:
6046         * objects/SADT/*.c:
6047         * objects/UML/association.c: (one instance forgotten)
6048         * objects/UML/large_package.c: 
6049         * objects/standard/textobj.c:
6050         * lib/attributes.c:
6051         * lib/text.c:
6052         using dia_font_new_from_style()
6054 2002-06-23  Hans Breuer  <hans@breuer.org>
6056         * lib/font.c : giving some love to
6057         dia_font_new_from_legacy_name() that is making
6058         import of old files as painless as possible and
6059         provide an almost exact match where possible.
6060         It does not yet fully work because it interfers
6061         with the Style to DiaStyle conversion which comes
6062         next ...
6064         [Changing these files is only allowed with Dia-0.90]
6065         * broken-files/fonts-0.90.dia : including the
6066         common hard-coded fonts from Dia-0.90. It also
6067         has drawn bounding-boxes for win32 as they were calculated
6068         from the former version (they were all too big).
6069         * broken-files/fonts-0.90-full.dia : all hardcoded
6070         fonts including the asian versions. On my machine
6071         this gives _a lot_ complaining about missing fonts
6072         and a finally a broken file display. Anyone having
6073         all these fonts ?
6074         
6075 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6077         * objects/chronogram/*.c: 
6078         * objects/custom/custom_object.c:
6079         * objects/ER/*.c:
6080         using dia_font_new_from_style()
6082 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6084         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
6085         font selector (stability, insensitivity).
6087         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
6088         stretching scheme for tweaking, and made scaling scheme faster
6089         (but less precise).
6090         (dia_font_dia_style_to_pango): Oops, % != /.
6092 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6094         
6095         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
6097         * plug-ins/xslt : Added an XSLT plugin to export dia files using
6098         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
6099         It includes a small config file to tell it what stylesheets to use.
6101         (end of patch)
6102         
6103         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
6104         GTK2.0/HIG compliant (the labels could be slightly more verbose,
6105         perhaps). Added back a couple forgotten _(). Removed //-style
6106         comments.
6107         
6108 2002-06-23  Hans Breuer  <hans@breuer.org>
6110         * lib/plug-ins.c
6111         (dia_plugin_get_name) : don't crash plugin_manager
6112         on name being NULL 
6113         (dia_plugin_load) : reuse the description field to
6114         store the error string if loading fails.
6116         * lib/font.[hc] : starting to beautify the new
6117         font api: proper namespacing, adding convenience
6118         functions like dia_font_new_from_style(), ...
6120         * objects/uml/*.c : use the new convenience functions.
6122         [Next thing I plan to do is changing the other font
6123          functions to take DiaStyle and make Style and 
6124          BASIC_*_FONT vanish. As well as giving some love to
6125          dia_font_new_from_legacy_name().
6126          If anyone want's to help on converting the other
6127          objects to the new api during that, I would highly 
6128          appreciate it.]
6130 2002-06-23  Hans Breuer  <hans@breuer.org>
6132         * lib/font.c : made it compile and small indent fixes.
6133         Is there a code-has-no-effect-so-needs-not-be-valid
6134         with GCC?       
6136         * lib/widgets.c : use g_strcasecmp
6138 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6140         * lib/font.c: 
6141         * lib/font.h: 
6142         * lib/widgets.c: Font names sorted, style selector widget
6143         reappeared.  Doesn't select the old style yet.
6145 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
6147         * lib/font.c: one who expects a text's font to be changed shall 
6148         actually request the attributes to apply to the whole range of the
6149         said text... D'oh! 
6151         * lib/font.c: extents computation was wrong.
6153         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
6154         if a last NULL parameter is added...
6156         * lib/font.c: extents computation was completely wrong. This looks
6157         much better this time.
6159         * objects/UML/class.c: fixed the various strings positions.
6161         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
6162         macros to get the hardcoded base fonts.
6164         * objects/ER/relationship.c: wasn't converted to DiaFont*
6165         
6166 2002-06-22  Hans Breuer  <hans@breuer.org>
6168         * lib/widget.c : dont use backend specific functions
6169         to get on the font_families. Including it would mean
6170         including <windows.h> which breaks due to namespace
6171         pollutions ...
6173         * lib/libdia.def : updated externals
6175         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
6177         * lib/font.c : added empty dia_font_init_instance function,
6178         reformatting of dia_fon_unref to allow to set breakpoint,
6179         dia_fon_build_layout() : dont crash on string==NULL
6181         * lib/text.c (text_set_attributes) : don't unref the wrong font
6183         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
6184         stores lowercased font names, but dia_font_get_family()
6185         returns mixed case      
6187 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6189         * lib/widgets.c: 
6190         * app/render_gdk.c: Patch from Hans Breuer.
6192         * app/Makefile.am (dia_core_files): diaconv commented out for now.
6193         
6194 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
6196         * lib/all files touched yesterday: took into account some of Hans
6197         Breuer's remarks in
6198         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
6200         * objects/chronogram/*: 
6201         * objects/custom/*:
6202         * objects/ER/*:
6203         * objects/flowchart/*:
6204         * objects/FS/*:
6205         * objects/GRAFCET/*:
6206         * objects/SADT/*:
6207         * objects/standard/textobj.?:
6208         * objects/UML/*:
6209         converted to the new DiaFonts.
6211         * plug-ins/cgm/*:
6212         * plug-ins/pstricks/*:
6213         * plug-ins/wpg/*:
6214         * plug-ins/dxf/*:
6215         * plug-ins/xfig/*:
6216         Made minimalistic conversions so that they'd at least compile.
6218         * app/render_gdk.c:
6219         * app/render_pixmap.c:
6220         Converted to the new DiaFonts.
6222         * app/app_procs.c
6223         * app/diaconv.c:
6224         * app/render_eps.c:
6225         made the minimal changes so that it would at least build.       
6227         *** At this point, the thing builds on my machine, but segfaults
6228         right away. ***
6229         
6230 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
6232         * configure.in: removed the backend-specific pango pkg_modules
6233         (trivial to add back if needed, when actually needed)
6235         * app/Makefile.am:
6236         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
6237         renderer. The APIs will have completely changed when we get around
6238         to redo a renderer for it, anyways.
6240         * font.[ch]: rewrote everything from scratch, with a Pango
6241         implementation. Normally, only backend-neutral things should go in
6242         there.
6244         **WARNING**: new rules for managing DiaFont* pointers: these are
6245         reference-counted GObjects. One >must< diafont_ref() and
6246         diafont_unref() as appropriate. I wish I could overload operator=()...
6248         lib/plug-ins.h: bumped up the plug-in API.
6249         
6250         lib/attributes.c: 
6251         lib/dia_xml.c: 
6252         lib/dummy_dep.h
6253         lib/object_defaults:
6254         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
6255         again tomorrow with GObject.
6256         
6257         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
6259         **** The rest of the tree should be updated as well ****
6260         
6261 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6263         * app/render_gdk.h: 
6264         * app/render_gdk.c: 
6265         * app/render_pixmap.c: 
6266         * app/render_pixmap.h: 
6267         * app/render_libart.h: 
6268         * app/render_libart.c: 
6269         * lib/font.h: 
6270         * lib/font.c: Removed freetype stuff (still around in
6271         lib/widgets.c 'cause we might want the font selector widget).
6273 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
6275         * shapes/network/laptop.(xml|shape):
6276         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
6277         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
6279 2002-06-17  Hans Breuer  <hans@breuer.org>
6281         * lib/object_defaults.c : #include <libxml/tree.h> not
6282         <tree.h> pointed out by Xing Wang
6284 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6286         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
6287         * lib/widgets.c: 
6288         * app/color_area.c: Update to
6289         gtk_color_selection_*_current_color() fixed bad crash issues, plus
6290         updated color conversions.
6292         * sheets/ER/weakentity.xpm: Accepted patch from
6293         quixon@gnuchina.org to make icon match actual appearance.
6295         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
6296         quixon@gnuchina.org.
6298 2002-06-16  Hans Breuer  <hans@breuer.org>
6300         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
6301         good tradition of information hiding. Add new function
6302         dia_plugin_get_symbol()
6303         * app/sheets.c app/sheets_dialog_callbacks.c : use it
6305         * app/sheets.c : stop complaining about object_get_type() 
6306         returning NULL. This is a consequence of e.g. disabling 
6307         plug-ins at runtime _and_ it was and is gracefully handled. 
6308         Spitting out g_warning for it isn't appropriate. 
6310         * lib/object.[ch] : removed dead code
6312         * app/plugin-mangager.c : almost complete rewrite for gtk2
6313         using GtkListStore/GtkTreeView
6315         * lib/libdia.def : updated externals
6317         * todo.gtk2 : updated, that is removed already done steps
6319 2002-06-15  Hans Breuer  <hans@breuer.org>
6321         * objects/uml/class_dialog.c : clean some left-over
6322         utf8-mess, return 0 from "focus_out_event" handlers
6323         to avoid asserting in gtk (#78305). Reconstruct 
6324         stereotype/NULL behaviour to avoid rendering empty
6325         stereotypes on classes and member functions
6327         [#56109 - Provide object defaults for StdProp objects,
6328          some remaining issues are discussed in bugzilla]
6330         * lib/object_defaults.c : (new file) manage default properties 
6331         of dia objects. The serialization is done with standard
6332         object methods in a diagram compatible format.
6334         * lib/object.c : add object_registry_foreach() which allows
6335         to iterate over all registered object types
6337         * lib/object.h : added prototypes object_default*() and
6338         object_registry_foreach()
6340         * lib/makefile.am lib/makefile.msc : add new file to build
6342         * lib/libdia.def : export new functions
6344         * app/defaults.c : provide StdProp based defaults if the
6345         ObjectType doesn't implement it's own default functions
6347         * app/create_object.c : through dia_object_default_create()
6348         * app/disp_callbacks.c : same here
6350 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6352         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
6353         sensitivity for deleting segments.
6355 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
6357         * app/color_area.c: (color_area_events):
6358         * app/diagram.c: (diagram_destroy):
6359         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
6360         (fill_sheet_menu):
6361         * app/load_save.c: (diagram_data_load):
6362         * app/menus.c: (menus_get_item_from_path):
6363         * app/preferences.c: (prefs_load):
6364         * app/render_gdk.c: (get_text_width):
6365         * lib/arrows.h:
6366         * lib/color.c: (color_convert):
6367         * lib/dia_dirs.c: (dia_config_filename):
6368         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
6369         * lib/intl.c: (intl_get_language_list):
6370         * lib/message.c: (message):
6371         * lib/message.h:
6372         * lib/paper.c: (get_default_paper):
6373         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
6374         * lib/widgets.c: (dia_file_selector_get_file):
6375         * lib/widgets.h:
6376         * objects/standard/image.c: (get_directory):
6378         warningectomy.
6379         
6380 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6382         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
6384 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6386         * app/interface.c: sscanf now returns EOF on empty string, so
6387         handle no match for zoom factor better => correct zoom at start.
6389         * app/sheets.c (create_object_pixmap): Tried to display empty error.
6390         (sheets_optionmenu_create): Died when not finding specified
6391         sheet.  Don't think it should.
6393         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
6394         (bug #84367) to place the text better.
6396 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
6398         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
6399                         
6400         * app/commands.c: Removed unnecessary gnome include. Removed
6401         GNOME-Print support.
6403         * app/menus.h: Removed now unnecessary gnome include.
6404         
6405         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
6406         GNOME-specific stock buttons
6407         
6408 2002-06-09  Hans Breuer  <hans@breuer.org>
6410         * app/app_procs.c : convert 'Modified diagrams exits'
6411         dialog to use GtkMessageDialog. That gives us:
6412         - icons without Gnome dependency
6413         - much less code, also cross platform
6414         - improved useability ?
6416         * app/color_area.c : the Color Selection Widget looked
6417         quite wrong (alpha problems). Fix it by merging in required
6418         changes stolen from The Gimp cvs
6419         * app/color_area.h : to get the right appearance the maskes
6420         needed to be taken into account
6421         * app/interface.c : adapt to color_area_create changes.
6422         Also remove some dead code and finally remove cvs autexpansion, 
6423         I was bothered enough by irrelevant differences :-)
6425         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
6426         api, i.e stocks and response to make the GnomeDialog usage
6427         obsolete. Also fixed the issue with closing the 'parent'
6428         before closing the dialog
6430         * app/display.[ch] : removed some dead code and conversion
6431         to new GtkDialog api. Also trying to conform to new HIG
6432         standard http://developer.gnome.org/projects/gup/hig/
6434 2002-06-09  Hans Breuer  <hans@breuer.org>
6436         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
6437         build ps-utf8.c
6439         * lib/dia_image.c : gtk_widget_set_default_visual()
6440         remove. It does nothing with Gtk2.
6442         * lib/libdia.def : added ps_unicoder exports
6444         * lib/message.c : remove #GNOME use GtkMessageDialog.
6445         Yeah, Dia gets dialogs wit icons cross-platform.
6447         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
6448         to gtk_spin_button_get_value()
6450         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
6452         add #undef GTK_DISABLE_DEPRECATED to still use ...
6453         * lib/prop_text.c :  ... GtkText
6454         * lib/prop_widgets.c : ... GtkList
6455         * lib/prop_dialogs.c : ... gtk_signal_connect and more
6456         * lib/widgets.c : ... (too much to list here)
6458         * lib/ps-utf8.c : #include <string.h>
6460 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
6462         * configure.in:
6463         * Makefile.am:  Adapted for gtk2.
6464         Removed dependencies on libunicode, on iconv(), on langinfo().
6466         * acconfig.h: removed (now obsolete)
6468         * lib/charconv.[ch]: removed (superceded by glib)
6469         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
6471         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
6472         libunicode types for their glib counterparts. Fixed the include
6473         paths for libxml2. Removed all traces of libxml1 or non-UTF8
6474         support (there were remains in objects/uml).
6476         
6477 2002-06-08  Hans Breuer  <hans@breuer.org>
6479         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
6480         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
6481         Also use g_strdup()'s handling of NULL by returning NULL
6482         again at all places I found (remove unnecessary if's)
6484         * todo.gtk2 : new file to keep notes about gtk2 porting,
6485         further issues and thoughts and some status information.
6486         Also sent to dia-list ('Dia goes Gtk2 ...').
6487         
6488         [make it compile with GTK+ 2.0]
6490         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
6491         removed definition of S_ISDIR, S_ISREG and getlogin
6493         * */makefile.msc : Use GTK2 and libxml2
6494         BEWARE: makefile.am, configure.in not yet ported !
6496         * app/app_procs.c app/diagram.c : remove 
6497         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
6498         but set use gtk_menu_set_accel_path() on menu creation
6500         * app/color_area.c lib/widgets.c : 
6501         make use of gtk_color_selection_set_has_palette ()
6503         * app/commands.c : gdk_pixbuf_new_from_file wants an 
6504         extra argument. Convert from DIR to GDir usage.
6506         * app/diagram_tree.c(button_press_callback) : need to return 
6507         FALSE in the signal handler to let gtk process it further.
6508         (get_object_name) : don't leak 'prop'
6509         
6510         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
6511         dia_page_layout_destroy() getting called more than once
6513         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
6514         GtkTypeInfo changes
6516         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
6518         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
6519         IIRC this code will not compile unchanged when USE_XIM is defined ...
6521         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
6523         * app/interface.c : there is no widget->klass anymore in Gtk, 
6524         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
6525         parameter. Some tweaking of GtkWrapBox usage to get four tools in
6526         a row again.
6527         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
6528         get triple buffering and flicker.
6529         Replace call to GTK private function _gtk_accel_group_attach()
6530         with public gtk_window_add_accel_group()
6532         * app/layer_dialog.c : adapt to GtkTypeInfo changes
6534         * app/load_save.c lib/plug-ins.c lib/sheet.c 
6535           objects/custom/custom.c : 
6536         simplified by using g_file_test()
6538         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
6539         to gtk_accel_map_<save|load>. Also added common stock-icons
6540         to the menu.
6541         
6542         * app/preferences.c : use gtk_button_set_label() instead
6543         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
6545         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
6546         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
6547         in config.h.win32
6549         * app/recent_files.c : removed GLIB_CHECK_VERSION
6551         * app/render_eps.c 
6552           plug-ins/metapost/render_metapost.c
6553           plug-ins/pstricks/render_pstricks.c
6554           plug-ins/svg/render_svg.c :
6555         replace getlogin() with g_get_user_name() which always
6556         returns non NULL
6558         * app/render_gdk.c : gdk_region_union_with_rect() modifies
6559         inplace now and returns nothing, also less #hell
6561         * app/render_libart.c : some initial #hell cleaning, SuckFont
6562         still needs to vanish
6564         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
6565         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
6567         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
6568         * app/sheets_dialog_callbacks.c : some #hell and adaptions
6569         needed to GtkWrapBox api changes
6572         * lib/charconv.[hc] : removed from build
6573         [changed appropriate]
6574         * lib/prop_inttypes.c lib/prop_text.c : 
6575         all utf-8 cleaning 
6576         * lib/text.c : ported from HEAD but keep original indent
6577         intact. Original was done by Akira TAGOH.
6579         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
6581         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
6583         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
6584         same on all platforms now!
6586         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
6588         * lib/message.c : remove "charconv.h"
6590         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
6592         * lib/plug-in.c :
6593         * lib/sheet.c : convert from DIR to GDir usage
6595         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
6597         * lib/widgets.h : include gtk<label|colorseldialog>.h
6600         * objects/fs/flow.c :
6601         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
6603         * objects/custom/custom.c : convert from DIR to GDir usage
6606         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
6609 2002-05-03  Hans Breuer  <hans@breuer.org>
6611         * lib/dia_xml.c : make the well formed utf8 check
6612         actually work for &#251; (non 7-bit ascii encoding)
6613         and fixed the file re-writing if the check fails.
6614         Thanks to Vitaly Lipatov for noticing the misbehaviour.
6616         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
6617         comment on last ressort font. Thanks to Maxim Sobolev.
6619 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
6621         * sheets/network.sheet.in: corrected a typo in plotter invocation.
6623 2002-06-03  Steffen Macke  <sdteffen@web.de>
6625         * shapes/network/digitizing_board.png:
6626         * shapes/network/digitizing_board.shape:
6627         * shapes/network/plotter.png:
6628         * shapes/network/plotter.shape:
6629         * shapes/network/Makefile.am
6630         * sheets/network.sheet.in: added new plotter and digitizing
6631         board shapes
6632         
6633 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
6635         * lib/font.c: made a symptomatic fix to a segfault reported by 
6636         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
6637         won't prevent dia from terminating, but should give more
6638         user-friendly information about why did it terminate.
6640         Two patches from <robert.young@dsto.defence.gov.au>:
6641         
6642         * app/display.c: fix the size of the canvas area which gets
6643         redrawn. There was an off-by one error (Closes #83659)
6645         * app/display.c: make sure we redraw all screen only when we
6646         really have to (some update_areas were mistakenly ignored) (Closes
6647         #83496). 
6649         * NEWS: added a new entry for the future. Put there a reminder to
6650         update the dependencies.
6652         * configure.in: put in notes about what will change shortly.
6653         upped the version to 0.90+cvs (did also in config.h.win32)
6654         upped the minimum version for intltools (now 0.21)
6655         
6656 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
6658         * dia.spec:
6659         * configure.in:
6660         * NEWS:
6661         * config.h.win32:
6662         bumped up version number to 0.90. Yay!
6664 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
6666         * doc/pl/Makefile.am:
6667         * doc/en/Makefile.am: fixed a "make install" problem when db2html
6668         is not present (Reported by Andrew Ferrier
6669         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
6670         problem which prevented me from ever seeing the problem in doc/en...
6671         
6672         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
6673         
6674         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
6675         way to read the font path from the XFS configuration files in
6676         order to enable FreeType (fixes #83098).
6678         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
6679         shipped nowadays.
6680                 
6681         * dia.spec:
6682         * configure.in:
6683         * NEWS:
6684         * config.h.win32:
6685         bumped up version number to 0.90.RC3
6687 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
6689         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
6690         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
6691         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
6692         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
6693         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
6694         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
6695         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
6696         Added Polish documentation.
6698 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
6700         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
6701         format for the UML State object. Now there's a hack to reload
6702         older files, and get them converted on the fly. 
6703         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
6705         * lib/properties.h:
6706         * lib/propobject.c:
6707         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
6708         and adapter the proplist predicates. A LOAD_ONLY property is for
6709         when you have legacy to support but can't resist moving your
6710         fields around... (was needed to support the above state.c fix).
6712         If the in-core of your object changes and you need a LOAD_ONLY
6713         property for the old format, you must keep some spare room in your
6714         object's struct to accomodate for the potential old-style
6715         attributes. Then in foo_load(), after having called
6716         object_load_using_properties(), you must inspect the old-style
6717         fields and act accordingly. Don't ever change the on-disk formats...
6719         * objects/UML/object.c:
6720         * objects/UML/small_package.c: added a check against empty
6721         stereotypes still consuming space. Reported by Dolores Alia de
6722         Saravia <loli@unsa.edu.ar>. Thanks!     
6723         
6724 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
6726         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
6727         using libtool on an AFS partition.
6729         * po/update_potfiles_in.sh: now simply calls the recent intltools 
6730         features; they work better than hand-crafted half-ignorant
6731         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
6732         for the tip.
6734         * po/POTFILES.in: added back two files update_potfiles_in.sh
6735         didn't take into account. Now this file is not automatically
6736         generated anymore!      
6737         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
6738         (the usual suspects, in fact).
6740         * configure.in: improved the isinf() / isfinite() detection on
6741         Solaris (MÃ¥rten Svantesson)
6742         
6743 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
6745         * configure.in: one expression was replacing $CFLAGS, removing
6746         whatever was previously in.
6747         Added more checks for isinf() and finite() on Solaris.
6749         * lib/geometry.h: added a macro defintion for isinf() if not
6750         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
6751         on Win32)
6753         * app/commands.c: "cut" did not set the 'modified' bit (paste has
6754         been for a little while). Fixes #82994.
6756         * Makefile.am: added more stuff to distclean-local. This should make
6757         "make distcheck" pass! Thanks to the author of
6758         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
6759         ... I wonder who this Henstridge guy is ... ;-)
6760         Darn. Still doesn't pass. I give up for tonight.
6761         
6762         * po/update_potfiles_in.sh: updated to take care of sheet files,
6763         and to filter out the EML plug-in.
6764         * po/POTFILES.in: updated with all .c and all .sheet.in files 
6766         * po/dia.pot, po/*.po: again updated all .po files with all
6767         strings (with the updated POTFILES). Now with the up-to-date
6768         POTFILES, just all languages have some fuzzy or untranslated
6769         strings (not that the 100% team was that large beforehand...)
6771         * po-checktrans: removed the comment about .po files not holding
6772         all translatable stuff, since now they do.
6773         
6774 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
6776         * dia.spec:
6777         * configure.in:
6778         * NEWS:
6779         * config.h.win32:
6780         bumped up version number to 0.90.RC2
6782 2002-05-20  Hans Breuer  <hans@breuer.org>
6784         * app/load_save.c : starting to increase
6785         Dias tolerance on incomplete/broken files. The 
6786         corresponding bug is #56233. But the patch there does
6787         neither apply anymore nor does it really fix the problem
6788         but only delays it, e.g. even if it would be allowed
6789         to read a file without any layers, the later code can't
6790         handle it.
6791         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
6792         handle passing in NULL for the node gracefully.
6794         * shapes/network/printer.shape : added two more connection
6795         points - one at each side - to fix bug #60359
6797         * app/commands.c (edit_copy_callback) : 
6798         add ddisplay_do_update_menu_sensitivity() to make 
6799         sequence select-copy-paste work.
6801 2002-05-20  Hans Breuer  <hans@breuer.org>
6803         * app/create_object.c (create_object_button_press) :
6804         added a call to ddisplay_do_update_menu_sensitivity()
6805         to make Ctrl^D etc work after object creation. 
6806         Fixes #80983.
6808 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6810         * objects/ER/entity.c: 
6811         * objects/ER/attribute.c: 
6812         * objects/ER/relationship.c: Patch to allow text size change from
6813         Celso Tetsuo Nagase Suzuki.
6815 2002-05-18  Steffen Macke <sdteffen@web.de>
6817         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
6818         libxml2)
6819         * doc/en/graphics/greendots.png:
6820         * doc/en/home_network.png:
6821         * doc/en/line_props.png: 
6822         * dia-diagram.png:
6823         * dia_gnome_icon.png:
6824         * dia_gnome_menu_icon.png:
6825         * dia_logo.png:
6826         * shapes/network/telephone.png:
6827         * shapes/Logic/and.png:
6828         * shapes/Logic/buffer.png:
6829         * shapes/Logic/connector.png:
6830         * shapes/Logic/inverter.png:
6831         * shapes/Logic/nand.png:
6832         * shapes/Logic/nor.png:
6833         * shapes/Logic/not.png:
6834         * shapes/Logic/or.png:
6835         * shapes/logic/xor.png:
6836         * samples/ER-demo.dia:
6837         * samples/SADT.dia:
6838         * samples/UML-demo.dia:
6839         * samples/chronograms.dia:
6840         * samples/grafcet.dia: re-added as binary files
6842 2002-05-17  Hans Breuer  <hans@breuer.org>
6844         * lib/libdia.def : reflect removing of render_store.[ch]
6846         * */makefile.mingw : remove VERSION definition it's
6847         done in config.h.win32. Dia still doesn't work if
6848         build with mingw ...
6850         * RELEASE-PROCESS : removed */makefile.mingw
6852         * app/sheets_dialog_callbacks.c : if we use those
6853         ugly charconv_gtk_* functions lib/charconv.h needs to
6854         be #included ...
6855         * lib/charconv.h : ... and needs to contain the 
6856         necesseray prototypes _and_ #defines
6858         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
6859         is deprecated and does nothing but spit a warning. This broke
6860         the shape format writing. Fixed.
6861         Also with libxml2 pretty formatted xml isn't the default
6862         anymore, but needs to be enabled explicit: It is done now 
6863         for shape files, which almost always needed to be edited by
6864         hand ... 
6866         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
6867         from stderr - which is invalid on Dia/win32 - to g_print -
6868         which opens up a console window if necessary. This way
6869         a xml-deprecation-error shouldn't stay unnoticed next time
6871 2002-05-17  Steffen Macke <sdteffen@web.de>
6873         * shapes/Misc/folder.png:
6874         * shapes/Misc/file.png: re-added as binary files
6875         
6876 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6878         * lib/font.c: Fixed segfault for fonts without family_name.
6880 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
6882         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
6884         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
6885         Lars' request, minor cosmetic stuff (mostly _() of human-readable
6886         XML comments in .sheet files; one translator booby-trap disarmed).
6888         * lib/charconv.c: moved #hell inside the body of the new
6889         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
6890         will yell)
6891         
6892 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6894         * plug-ins/wpg/Makefile.am (INCLUDES): 
6895         * plug-ins/shape/Makefile.am (INCLUDES): 
6896         * plug-ins/svg/Makefile.am (INCLUDES): 
6897         * plug-ins/pstricks/Makefile.am (INCLUDES): 
6898         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
6899         and DEBUG_CFLAGS in some missing places.
6901         * MAINTAINERS: New file containing list of known package
6902         maintainers. 
6904         * lib/charconv.h: 
6905         * lib/charconv.c: Charconv versions of some common gtk calls.
6907         * app/sheets_dialog_callbacks.c
6908         (on_sheets_new_dialog_button_ok_clicked),
6909         (on_sheets_dialog_button_edit_clicked),
6910         (on_sheets_dialog_button_remove_clicked),
6911         (on_sheets_edit_dialog_button_ok_clicked):
6912         * app/sheets.c (sheets_optionmenu_create),
6913         (sheets_optionmenu_create): Added utf8 translations.
6915         * app/sheets_dialog.c: 
6916         * app/sheets.c: 
6917         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
6919 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
6921         * po/POTFILES.in: added app/sheets_dialog.c
6923 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
6925         * lib/charconv.c: (charconv_local8_to_utf8),
6926         (charconv_utf8_to_local8): tweaked the warnings to get more 
6927         informations
6928         * lib/font.c: (font_get_suckfont): handled a potential case of
6929         uninitialised data being used (just paranoid)
6930         
6931         * objects/GRAFCET/boolequation.c: (opstring),
6932         (opblock_get_boundingbox), (opblock_draw),
6933         (boolequation_calc_boundingbox): some extra hoops needed now dia
6934         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
6935         symbols can't yet be used with their proper Unicode cells, since
6936         gtk will demand them in the Symbol font, expressed in the local
6937         8-bit encoding.
6938         
6939         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
6940         the fix just above).
6942 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6944         * app/diagram_tree.c (get_object_name): Check that name property
6945         doesn't have null string.
6947 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6949         * autogen.sh (DIE): Added conditional --force to gettextize.
6951         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
6952         function call.
6954 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
6956         * RELEASE-PROCESS: added James' notes on how to properly make the
6957         tarball.
6959         * configure.in: removed macro nesting related to libpng.h, which
6960         was causing some problems on some systems (like mine, which made
6961         the snapshots bad).
6963         Made --enable-unicode, previously an option, the mandatory case.
6965         * app/Makefile.am: updated EXTRA_DIST
6966         
6967         * NEWS:
6968         * app/makefile.mingw:
6969         * dia.spec:
6970         * doc/en/dia-manual.sgml:
6971         * plug-ins/makefile.mingw:
6972         * configure.in: bumped up the version number to 0.90.RC1
6974         * lib/render_objects.[ch]:
6975         * po/POTFILES.in: removed render_objects from the build.
6977         * plug-ins/Makefile.am:
6978         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
6979         so we keep its source in the tarball.
6981         * objects/network/*.c, Makefile.am:
6982         * objects/sybase/*.c, Makefile.am:
6983         * po/POTFILES.in: cleaned up the non-existent files from the po
6984         build process.
6986         * plug-ins/Makefile.am: re-enabled metapost plug-in.
6987         
6988 2002-05-13  Steffen Macke <sdteffen@web.de>
6990         * AUTHORS:
6991         * app/command.c: added M. C. Nelson to the Authors
6992         * sheets/Circuit/Makefile.am: added firewall shape to build
6993         * sheets/network/Makefile.am: added telephone and microphone
6994           shapes to build
6996 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6998         * RELEASE-PROCESS: Added list of files that contain the release
6999         number or should otherwise be changed at each release.
7001 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7003         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
7004         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
7006 2002-05-12  Hans Breuer  <hans@breuer.org>
7008         * config.h.win32 : changed VERSION to 0.90.RC1
7010         * app/makefile.msc lib/makefile.msc : use renamed
7011         gdk-pixbuf version (same content but renamed because
7012         all the other gtk+ dlls are renamed) to avoid trouble
7013         mixing gtk versions (of which one would not 
7014         be initialized ...
7016         * app/app_procs.c : removed recently unneeded
7017         inclusion of "sheets.h"
7019         * app/render_gdk.c : removed my own debug spew
7020         which should never made it to cvs
7022         * lib/render_object.[hc] : added
7023         #error "File not used anymore."
7025         * lib/libdia.def : updated externals
7027         * app/interface.c : dropped filenames need to be
7028         converted from uri with Gtk+2.0
7030 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
7032         * RELEASE-PROCESS (new): a draft document about how to release. To
7033         be discussed. (already with some input from Hans Breuer)
7035 2002-05-12  Steffen Macke <sdteffen@web.de>
7037         * sheets/Makefile.am: re-added Misc sheet to make process
7038         
7039 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7041         * objects/FS/function.c: Added comments to humungous list of menu
7042         items, to aid translators.
7044 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7046         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7048         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7050         * app/interface.c (create_toolbox): Disallow shrinking beyond
7051         requested size.  Fixes bug #59439, and confirms to GTK guidelines
7052         (see gtk_window_set_policy).
7053         (create_sheets): Removed now unnecessary set_usize call.
7055 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7057         * lib/beziershape.c (remove_handles): Fixing removal of last
7058         segment.  Undo of removal still hokey.
7060 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7062         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
7063         handles. 
7064         * lib/beziershape.c (beziershape_init): Removed early call to
7065         beziershape_update_data where points aren't set yet.
7066         (beziershape_add_segment): Use segment 0 instead of overflowing
7067         points array with segment+1.
7068         (beziershape_remove_segment): Proper offset for fixing
7069         connectionpoints. 
7070         (remove_handles): Proper offset.
7072 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7074         * objects/GRAFCET/action.c (action_update_data): Init x value of
7075         click point for call to connpointlist_adjust_count.
7077         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
7079         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
7080         setting to where values are inited.
7082         * lib/polyshape.c (polyshape_init): Removed call to
7083         polyshape_update_data that tried to use uninitialized data.
7085 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7087         * app/sheets_dialog.c: Mass removal of //-style comments.  The
7088         Irix compiler doesn't like them:(  I do...
7090 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7092         * app/render_libart.c (draw_string): Bail out when no GDK font is
7093         found.
7094         (set_font): Give error when font not found.
7095         (set_fillstyle): Intlized error msg.
7097         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
7098         modified when applied (and ok only does apply if apply is set
7099         sensitive).  Fixes bug #75623.
7101 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
7103         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
7105 2002-05-05  Steffen Macke <sdteffen@web.de>
7107         * app/Makefile.am: added $(UNICODE_CFLAGS)
7108         
7109 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7111         * app/commands.c (help_manual_callback): Check return value of
7112         opendir.
7114         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
7116         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
7117         checks for errors.
7119 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7121         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
7123         * objects/UML/uml.c (uml_operation_read): Fix of UML default
7124         inheritance. 
7126 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7128         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
7129         Added button to toggle diagram compression.
7131 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7133         * lib/font.c: Support for loading extra kerning files, plus got
7134         rid of rounding errors.  Bounding box mostly perfect for freetype
7135         fonts.
7136         (font_string_width): Fudge factor to get around nonlinearity of
7137         font scaling.
7139 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7141         * lib/font.c (font_string_width): YA font calculation scheme, with
7142         comments.
7144         * objects/UML/class.c (umlclass_calculate_data): Uses the same
7145         font for drawing and calculating now.
7147         * configure.in: Added utime.h check.
7149         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
7150         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
7152 2002-04-26  Hans Breuer  <hans@breuer.org>
7154         [ Instead of fixing about 70 occurances in 20 files
7155           where GTK_TALKS_UTF8_WE_DONT needed to be handled
7156           Dia on win32 from now on uses glib-2.0 and not 
7157           only talks utf-8 with gtk-1.3 but also internally.
7158           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
7159           anymore. ]
7161         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
7162         #undef GTK_TALKS_UTF8_WE_DONT
7164         * */makefile.msc : changes to use glib-2.0 (still
7165         using gtk+1.3(win32-production)
7167         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
7168         adapt kevent->string handling, add <string.h>
7169         * app/render_gdk.c (get_text_width) : the length given
7170         is in chars, gdk_text_width() needs bytes
7172         * app/render_libart.c : 
7173         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
7174         (could simplify the same way as done in render_gdk.c)
7176         * app/diagram_tree.c app/paginate_gdiprint.cpp
7177           app/sheets.c :
7178         * lib/prop_basic.c lib/prop_geomtypes.c 
7179           lib/propdialgs.c lib/propobject.c :
7180         added <string.h> which is now removed from charconv.h
7182         * lib/charconv.h : optional use infrastructure from
7183         glib-2.0 -> only five direct function mapping left
7185         * lib/charconv.c : avoid to build this with glib-2.0
7187         * lib/font.c : no string conversion needed anymore      
7188         when Dia and Gtk talk utf-8, also code adaptions
7189         for GLIB_CHECK_VERSION(2,0,0)
7191         * lib/libdia.def : removed charconv functions
7193         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
7194         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
7196         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
7197         removed GTK_TALKS_UTF8_WE_DONT
7199         * lib/text.c : finally(?) fixed cursor <place|move>ment 
7200         for Umlauts. Also fixed char insertion, still wondering
7201         how this could ever work. Does realloc on Linux 
7202         initialize the memory with zeros ?
7204         * objects/chronogram/chronoline_event.c
7205           objects/grafcet/boolequation.c :
7206         there is no uni_get_utf8 when building for glib-2.0.
7207         Replace with g_utf8_get_char() and g_utf8_next_char().
7209         * objects/uml/stereotype.c (bracketted_to_string) : 
7210         simplify while adding code for glib-2.0 build
7212 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7214         * app/diagram.h: Autosave field
7215         * app/diagram.c (diagram_set_modified): Sets autosave field.
7216         
7217         * objects/UML/usecase.c (usecase_update_data): 
7218         * objects/flowchart/ellipse.c (ellipse_update_data): 
7219         * objects/flowchart/parallelogram.c (pgram_update_data): 
7220         * objects/flowchart/diamond.c (diamond_update_data): 
7221         * objects/custom/custom_object.c (custom_update_data): 
7222         * objects/UML/state.c (state_update_data): 
7223         * objects/UML/small_package.c (smallpackage_update_data): 
7224         * objects/UML/object.c (objet_update_data): 
7225         * objects/UML/note.c (note_update_data): 
7226         * objects/UML/node.c (node_update_data): 
7227         * objects/UML/component.c (component_update_data): 
7228         * objects/UML/classicon.c (classicon_update_data): 
7229         * objects/UML/actor.c (actor_update_data): 
7230         * objects/SADT/box.c (sadtbox_update_data): 
7231         * objects/FS/function.c (function_update_data): 
7232         All now update text boundaries from update_data.
7233         
7234         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
7235         correctly. 
7237 2002-04-26  Hans Breuer  <hans@breuer.org>
7239         * config.h.win32 : added VERSION definition here
7240         (and removed from makefile.msc's)
7242         * app/makefile.msc : added new files
7244         * app/app_procs.c (app_init): remove sheets_dialog_create()
7245         from start-up and ... 
7247         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
7248         sheet_dialog here when it is really needed.
7249         #include "../lib/message.h", make sheets_dialog_create() 
7250         return it's success or failing on (!custom_type_symbol). 
7251         Although editing shapes is nice IMHO it isn't crucial enough 
7252         to abort() Dia if       it isn't possible.
7254         * app/sheet.h : adapt create_sheet_dialog() prototype
7256         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
7258         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
7259         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
7260         name space corrections for utime() and utim_buf #ifdef
7261         G_OS_WIN32
7263         * lib/libdia.def : export new sheet functions
7265         * lib/makefile.msc : added new files
7267         * lib/render.c : don't put draw_bezier_with_arrows() in
7268         the DrawLineWithArrowsFunc slot
7270         * objects/custom/custom_object.c : #include <gmodule.h>
7271         and export 'custom_type' via G_MODULE_EXPORT
7273         * objects/uml/class_dialog.c : removed 'incompatible 
7274         types' warnings. Some refactoring while making it fit
7275         on screen with 800x600 again.
7277         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
7279         * plug-ins/python/pydia-handle.h : extra parameter to
7280         PyDiaHandle_New to store the owner of the handle
7281         * plug-ins/python/pydia-handle.c : store handle owner
7282         on construction and use it in new method .connect()
7283         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
7284         adapt to changed prototype
7286 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7288         * lib/text.c (text_calc_boundingbox): Will now return early if box
7289         passed is NULL.
7291         * objects/flowchart/box.c (box_update_data): Now updates text
7292         width info from update_data.
7294 2002-04-23  Steffen Macke <sdteffen@web.de>
7296         * plug-ins/xfig/xfig-import.c: fixed text import
7297         
7298 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7300         * app/export_png.c: Moved dialog functions to their own file.
7301         * app/dialogs.[ch]: New files with standard functions for creating
7302         small, transient dialogs (e.g. export options).
7303         * app/Makefile.am: Added dialogs.[ch]
7305 2002-04-19  Steffen Macke <sdteffen@web.de>
7307         * shapes/Misc/folder.*:
7308         * shapes/Misc/file.*:
7309         * shapes/Misc/Makefile.am:
7310         * shapes/Makefile.am:
7311         * sheets/Misc.sheet.in:
7312         * sheets/Makefile.am:
7313         * configure.in: added new Misc sheet containing filesystem shapes
7314         
7315 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7317         * app/lineprops_area.c: Arrow selector in toolbox changed to use
7318         standard arrowdraw code.  Line is thinner to make some arrowheads
7319         distinguishable. 
7321 2002-04-18  Steffen Macke <sdteffen@web.de>
7323         * sheets/network.sheet.in:
7324         * shapes/network/telephone.shape:
7325         * shapes/network/Makefile.am: added telephone shape
7326         
7327 2002-04-16  Steffen Macke <sdteffen@web.de>
7329         * sheets/EML.sheet.in: commented out unavailable shapes
7330         
7331 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
7333         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
7334           variable assignment.
7335         
7336 2002-04-15  Steffen Macke <sdteffen@web.de>
7338         * plug-ins/dxf/dxf-import.c: text import works again
7339         * shapes/Pneumatic/Makefile.am: added compush shape
7340         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
7341         and dist53
7342         
7343 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
7345         * All these modifications are for the 'Sheets and Objects' dialog
7346           (new feature):
7348         * app/pixmaps/line_break.xpm: new icon representing a line break.
7349         
7350         * app/pixmaps/n_a.xpm: new empty icon representing not available.
7352         * app/Makefile.am: added sheets_*.[ch] files to compile list.
7353         
7354         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
7355         
7356         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
7358         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
7359         
7360         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
7361         
7362         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
7364         * app/sheets_dialog_callbacks.h: [new file] support for " " "
7366         * app/interface.c: added 'interface_current_sheet_name' global to 
7367           fill_sheet_wbox(); made fill_sheet_menu() non-static
7369         * app/interface.h: added extern declaration for aboves.
7371         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
7373         * app/sheets.h: [new file] declarations for backing store structures
7375         * lib/sheet.c: modification of new_sheet() parameters; introduction
7376           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
7377           changes to load_register_sheet().
7379         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
7380           added 'has_icon_on_sheet' flag to SheetObject structure; added 
7381           'filename', 'scope', 'shadowing' fields to Sheet structure.
7383         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
7384           it belongs.
7386         * lib/plug-isn.h: see above.
7388         * lib/object.c: added 'sheet.h' to include list; added several 
7389           functions
7390           to detect objects which are not found on any sheet (for future use)
7391           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
7392           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
7394         * lib/object.h: added public declarations for above functions where
7395           necessary.
7397         * objects/custom/custom.c: made custom_object_load() non-static so we
7398           can load and interpret .shape files from the Sheets & Objects dialog
7400         * objects/custom/custom_object.c: made 'custom_type' non-static so 
7401           we can differentiate between SVG shapes and other types.a
7403 2002-04-07  Hans Breuer  <hans@breuer.org>
7405         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
7406         from 2002-01-22 to not destroy diagram->data->selected. 
7407         Avoids to crash on Objects/Align/Vertical/Top
7409         * app/render_eps.c (draw_string) : un-const buffer
7410         It isn't at all const (g_malloc(), assignment, g_free()).
7411         Doesn't gcc catch such ?
7413         * lib/arrows.h : prototype calculate_arrow_point()
7415         * lib/font.c (font_get_suckfont) : no need to
7416         special case gdk_draw_string() with GTK_TALKS_UTF8,
7417         cause all the parameter differences are handled above
7419         * lib/libdia.def : updated externals
7421         * lib/makefile.msc : removed string_prerenderer, added render
7423         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
7424         is expected. [Sometimes it's good to read compiler warnings.]
7426         * objects/standard/image.c : simplified by use of g_strconcat()
7428         * plug-ins/python/makefile.msc : updated for Python 2.2
7430 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7432         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
7433         directionality problem for zero-length line segments.
7435 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7437         * app/diagram.c (diagram_ungroup_selected) 
7438         (diagram_update_menu_sensitivity): Now allows ungrouping of
7439         several groups at once.
7441 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7443         * lib/render.c, all renderers: Binary incompatibility, change to
7444         expandable renderops structure.
7446 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
7448         * objects/standard/Makefile.am:
7449         * objects/network/Makefile.am:
7450         * objects/UML/Makefile.am:
7451         * objects/ER/Makefile.am:
7452         * objects/FS/Makefile.am:
7453         * objects/flowchart/Makefile.am:
7454         * objects/custom/Makefile.am:
7455         * objects/GRAFCET/Makefile.am:
7456         * objects/chronogram/Makefile.am:
7457         * objects/SADT/Makefile.am:
7458         * plug-ins/cgm/Makefile.am:
7459         * plug-ins/pstricks/Makefile.am:
7460         * plug-ins/hpgl/Makefile.am:
7461         * plug-ins/wpg/Makefile.am:
7462         * plug-ins/svg/Makefile.am:
7463         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
7464         
7465 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7467         * app/render_eps.c: Support for dumping TrueType fonts (taken from
7468         ttfps).
7470 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7472         * lib/render.c: New abstract super class for renderers.
7474 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
7476         * objects/ER/attribute.c (attribute_save): save a font property.
7477         (attribute_load): load a font property, and if can't load it, it's
7478         initialized.
7480         * objects/ER/entity.c (entity_save): save a font property.
7481         (entity_load): load a font property, and if can't load it, it's
7482         initialized.
7484         * objects/ER/relationship.c (relationship_save): save a font property.
7485         (relationship_load): load a font property, and if can't load it, it's
7486         initialized.
7488         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
7489         has a vaule.
7490         (umlclass_save): save the font and the font size properties.
7491         (umlclass_load): load the font and the font size properties.
7493 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
7495         * lib/string_prerenderer.[ch] (REMOVED):
7496         * lib/render.h:
7497         * lib/diagramdata.c:
7498         * lib/Makefile.am:
7499         * app/render_eps.c: got rid of the string-specific string
7500         prerenderer, transitioned its functionality towards Lars'
7501         two-phase rendering
7503 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7505         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
7506         may need to rerun aclocal.
7508 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7510         * lib/font.c: First attempt at Unicodeness for Freetype.
7512 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7514         * lib/font.c (font_string_width): Fixed font_string_width for
7515         freetype.  BB is now almost right.
7517 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7519         * app/render_eps.h: 
7520         * app/paginate_psprint.c (paginate_psprint): 
7521         * lib/font.c: 
7522         * app/render_eps.c: Support for dumping postscript fonts into
7523         postscript files with freetype.  Fairly primitive, but works.
7524         Unicode version may have problems.
7526 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
7528         * objects/UML/class_dialog.c (class_read_from_dialog)
7529         (class_fill_in_dialog), (class_create_page): add the font selector and
7530         the font size selector.
7532         * objects/UML/class.c (umlclass_draw): uses each font_height.
7533         (umlclass_calculate_data): ditto.
7534         (fill_in_fontdata): add initial value of new font_height.
7535         (umlclass_copy): add new font_height.
7537 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
7539         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
7540         
7541         * lib/font.c: calculate font metrics properly and stop guessing at
7542         string widths.
7544 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
7546         * configure.in: changed gtk_advancement value to dia_talks_utf8.
7547         right now Dia is working with UTF-8 internally. it means Dia probably
7548         support most languages also including the languages which heretofore
7549         didn't work correctly.
7551 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
7553         * objects/FS/function.c: add related text properties.
7554         (function_get_props), (function_set_props): add handling attribute.
7556         * objects/FS/flow.c: add related text properties.
7557         (flow_get_props), (flow_set_props): add handling attribute.
7559         * objects/FS/flow-ortho.c: add related text properties.
7560         (orthflow_set_props), (orthflow_get_props): add handling attribute.
7562         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
7564         * objects/ER/entity.c: ditto.
7566         * objects/ER/attribute.c: ditto.
7568 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
7570         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
7571         
7572         * autogen.sh: add a check for missing intltoolize.
7574 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
7576         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
7577         charcode, it was registered the duplicate item to HashTable. fix.
7579         * app/render_gnomeprint.c (get_width_string): add new function.
7580         (draw_string): fix non-multibyte specific code.
7582 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
7584         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
7585         
7586         * lib/font.c: do not try to search paths that do not begin with
7587         '/', like X Font Server addresses.
7588         
7589         * objects/UML/message.c (message_draw): free mname when not 
7590         message->text but CREATE or DESTROY.
7591         
7592         * objects/UML/uml.h:
7593         * objects/UML/uml.c:
7594         * objects/UML/class_dialog.c: added code to handle a stereotype 
7595         attribute for operations.
7597 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
7599         * lib/Makefile.am: add LIBART_CFLAGS.
7601 2002-02-15  Hans Breuer  <hans@breuer.org>
7603         * lib/font.c (font_get_suck_font): the black and white pixel values 
7604         need to be taken from a 1 bit colormap rather than the default colormap.
7605         (fixed again, last time was 2000-05-26)
7607         Also handle the case where GTK_TALKS_UTF8 and expects all strings
7608         passed in to be in this encoding.
7610         * lib/libdia.def : export suck_font_free()
7612         * lib/text.c (text_draw) : avoid circular dependency to ../app
7613         at least for the !USE_XIM case, where it is unnecessary.
7615 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
7617         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
7618         
7619         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
7620         * sheets/Circuit.sheet.in: added new shape microphone
7621         * shapes/Circuit/speaker_de.shape: Added a connection point.
7622         
7623 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
7625         * app/render_libart.c (draw_string): fixed build issue for Win32.
7627         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
7628         Win32.
7630         * configure.in: fixed testing gtk_advancement.
7632         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
7634 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
7636         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
7637         diagram window.
7639 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7641         * app/group.c (group_copy): Made new object properly initialized
7642         before copy.
7644 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
7646         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
7647         
7648 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
7650         * lib/text.c (text_draw): fixed XIM transaction.
7652         * app/interface.c (create_display_shell): add signal for
7653         size_allocate.
7655         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
7656         XIM transaction.
7657         (set_input_dialog): remove.
7658         (ddisplay_canvas_events): remove XIM transaction. it can't transact
7659         correctly on this function.
7661 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7663         * app/app_procs.c:
7664         * app/export_png.c: Added checks for interactivity (maybe this
7665         should be a hook after all?).
7667         * app/filedlg.c (file_export_callback): Made export dialog add
7668         suffix when reopened.
7670         * app/export_png.c: Added dialog asking for export size.
7672 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7674         * lib/widgets.c: Fixed font reselection problem and first font
7675         bogus warning.
7677         * objects/UML/actor.c (actor_update_data): Changed to have
7678         connection points below text.
7680 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
7682         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
7683         and memcpy().
7685 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
7687         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
7688         strings which is given.
7689         (suck_font): remove. it's any longer needed.
7691         * app/render_libart.c (set_font): don't get suckfont.
7692         (draw_string): get suckfont only which is needed for now.
7694 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7696         * lib/text.c: Fixes for misunderstood width functions.
7698 2002-02-05  Hans Breuer  <hans@breuer.org>
7700         * lib/dia_xml.c : use g_strconcat() instead of 
7701         malloc, strcpy, strcat dance
7702         * app/properties.c : same here and plug memory leak
7703         (gtk functions don't eat strings)
7705         * objects/UML/message.c : there is no g_sprintf()
7706         use g_strdup_printf() instead ...
7708 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
7710         * lib/message.c (gtk_message_internal): doesn't need to convert to
7711         UTF-8.
7713         * app/render_libart.c (draw_string): fixed transaction for UTF-8
7714         support.
7715         (get_text_width): ditto.
7717         * app/Makefile.am (EXTRA_DIST):
7718         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
7720         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
7721         This function needs ifdef HAVE_FREETYPE because don't use it for
7722         --disable-freetype
7724 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
7726         * NEWS: updated with the new dependencies.
7727         
7728         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7730         * objects/UML/class.h:
7731         * objects/UML/class.c:  
7732         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
7733         property using a GtkMenu. Options are Undefined, In, Out, In & Out
7735 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7737         * app/render_libart.c: Slow but working libart freetype renderer,
7738         with color!
7740 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7742         * app/render_gdk.c (draw_string): Fixed gc_function bug.
7744         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
7746         * lib/font.c (freetype_render_string): 
7747         * lib/font.h:
7748         * app/render_gdk.c:
7749         * app/render_gdk.h: Changed freetype_render_string to use
7750         callback.  Rendering is broken.
7752 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
7754         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7756         * objects/UML/uml.h:    
7757         * objects/UML/uml.c: added UMLInheritanceType and isQuery
7758         (constant) UML Operation attributes. UMLInheritanceType is either
7759         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
7761         * objects/UML/class.h:
7762         * objects/UML/class.c:  
7763         * objetcs/UML/class_dialog.c: added code to handle new
7764         UMLOperation attributes via a GtkMenu and a checkbox.
7766 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
7768         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
7769         several client doesn't work with previous codes.
7771 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7773         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
7774         seem to use it.
7776 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
7778         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
7779         when doing the operation like invert the objects after active view is
7780         destroyed. when changes focus, it needs to set active_display.
7782         * app/layer_dialog.c (dia_layer_update_from_layer):
7783         (layer_dialog_edit_layer): need to convert to locale encoding
7784         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7785         (edit_layer_ok_callback):
7786         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7788         * lib/diagramdata.c (new_diagram_data): ditto.
7790         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
7792         * lib/diagramdata.c (new_layer): use utfchar instead of char for
7793         argument.
7795         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
7796         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
7797         it's needed for now. also this function needs prototype declaration.
7799 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7801         * lib/widgets.c: Style now functional on font selector.  Some leak
7802         possible, but doesn't show up under stress test.
7804 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
7806         * app/plugin-manager.c (clist_select_row): name and description needs to
7807         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7808         (get_plugin_manager): ditto.
7810         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
7812         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
7813         support.
7815         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
7816         when prop->string_data is NULL.
7818 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7820         * lib/widgets.c: 
7821         * lib/widgets.h: New font selector separating font and style.
7822         Style not functional yet.
7824 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7826         * lib/text.c: 
7827         * app/render_gdk.c (draw_string): More freetype support, now
7828         renders text.  Still broken is font selection and exporting.
7830 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
7832         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
7833         for font.
7835         * objects/chronogram/chronoline.c (chronoline_create): ditto.
7837         * objects/UML/usecase.c (usecase_create): ditto.
7839         * objects/UML/state.c (state_create): ditto.
7841         * objects/UML/object.c (objet_create): ditto.
7843         * objects/UML/node.c (node_create): ditto.
7845         * objects/UML/message.c (message_create): ditto.
7847         * objects/UML/component.c (component_create): ditto.
7849         * objects/UML/classicon.c (classicon_create): ditto.
7851         * objects/UML/actor.c (actor_create): ditto.
7853         * objects/SADT/box.c (sadtbox_create): ditto.
7855         * objects/SADT/annotation.c (annotation_create): ditto.
7857         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
7859         * objects/GRAFCET/step.c (STEP_FONT):
7860         * (step_create): ditto.
7862         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
7864         * objects/GRAFCET/action.c (ACTION_FONT):
7865         (action_create): ditto.
7867         * objects/FS/function.c (function_create): ditto.
7869         * objects/FS/flow.c (flow_create):
7870         (flow_load): 
7871         (flow_apply_defaults): ditto.
7873         * objects/FS/flow-poly.c (flow_create):
7874         (flow_load):
7875         (flow_apply_defaults): ditto.
7877         * objects/FS/flow-ortho.c (orthflow_create):
7878         (orthflow_load):
7879         (orthflow_apply_defaults): ditto.
7881         * objects/ER/relationship.c: use utfchar instead of char for structure.
7882         (relationship_create): name needs to convert to UTF-8.
7884         * objects/ER/attribute.c: use utfchar instead of char for structure.
7885         (attribute_create): name needs to convert to UTF-8.
7887         * objects/ER/entity.c: use utfchar instead of char for structure.
7888         (entity_create): name needs to convert to UTF-8.
7890         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
7891         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
7892         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
7893         items. if GTK_TALKS_UTF8 isn't defined.
7895 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
7897         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
7898         it was my careless mistake...
7900         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
7901         a font name, because there are strings which isn't shown by "Courier".
7902         We need to consider a way to feel free to choose a font at runtime.
7904         * lib/render_object.c (render_object_load): ditto.
7906         * lib/text.c (data_text): ditto.
7908         * objects/EML/instantiation.c (instantiation_create): ditto.
7910         * objects/EML/interaction-ortho.c (interaction_ortho_create):
7911         (interaction_ortho_load): ditto.
7913         * objects/EML/interaction.c (interaction_create):
7914         (interaction_load): ditto.
7916         * objects/EML/process.c (fill_in_fontdata): ditto.
7918         * objects/ER/attribute.c (attribute_create): 
7919         (attribute_load): ditto.
7921         * objects/ER/entity.c (entity_create): 
7922         (entity_load): ditto.
7924         * objects/ER/relationship.c (relationship_create): 
7925         (relationship_load): ditto.
7927         * objects/UML/association.c (association_create): 
7928         (association_load): ditto.
7930         * objects/UML/class.c (fill_in_fontdata): ditto.
7932         * objects/UML/constraint.c (constraint_create): ditto.
7934         * objects/UML/dependency.c (dependency_create): ditto.
7936         * objects/UML/generalization.c (generalization_create): ditto.
7938         * objects/UML/implements.c (implements_create): ditto.
7940         * objects/UML/large_package.c (largepackage_create): ditto.
7942         * objects/UML/note.c (note_create): ditto.
7944         * objects/UML/realizes.c (realizes_create): ditto.
7946         * objects/UML/small_package.c (smallpackage_create): ditto.
7948         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
7950         * objects/custom/custom_object.c (custom_create): ditto.
7952         * objects/network/antenna.c (render_to_store): ditto.
7954         * objects/network/computer.c (render_to_store): ditto.
7956         * objects/network/disc.c (render_to_store): ditto.
7958         * objects/network/flash.c (render_to_store): ditto.
7960         * objects/network/hub.c (render_to_store): ditto.
7962         * objects/network/modem.c (render_to_store): ditto.
7964         * objects/network/modularswitch.c (render_to_store): ditto.
7966         * objects/network/monitor.c (render_to_store): ditto.
7968         * objects/network/printer.c (render_to_store): ditto.
7970         * objects/network/rj45plug.c (render_to_store): ditto.
7972         * objects/network/scead-plug.c (render_to_store): ditto.
7974         * objects/standard/textobj.c (textobj_load): ditto.
7976         * objects/sybase/client.c (render_to_store): ditto.
7978         * objects/sybase/dataserver.c (render_to_store): ditto.
7980         * objects/sybase/ltm.c (render_to_store): ditto.
7982         * objects/sybase/repserver.c (render_to_store): ditto.
7984         * objects/sybase/rsm.c (render_to_store): ditto.
7986         * objects/sybase/stableq.c (render_to_store): ditto.
7988         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
7990         * objects/UML/uml.h (UML_STEREOTYPE_START):
7991         (UML_STEREOTYPE_END): changes default strings.
7993 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
7995         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
7996         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
7997         which is given to arguments isn't UTF-8. so don't need to convert it.
7998         if GTK+ handle UTF-8, also don't need to convert it.
7999         (strend): remove.
8000         (bracketted_to_string): fixed transaction for UTF-8 support.
8001         also start/end bracket is not necessarily 1 character. so that when use
8002         strend(), it doesn't work correctly.
8003         (string_to_stereotype): use utfchar instead of char.
8004         (remove_stereotype_from_string): ditto.
8005         (stereotype_to_string): ditto.
8007         * objects/UML/stereotype.h: ditto.
8009         * objects/UML/message.c: use utfchar instead of char for structure.
8010         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
8012         * objects/UML/small_package.c: use utfchar instead of char for structure.
8014         * objects/UML/realizes.c: ditto.
8016         * objects/UML/object.c: ditto.
8018         * objects/UML/large_package.c: ditto.
8020         * objects/UML/implements.c: ditto.
8022         * objects/UML/generalization.c: ditto.
8024         * objects/UML/dependency.c: ditto.
8026         * objects/UML/constraint.c: ditto.
8028         * objects/UML/component.c: ditto.
8030         * objects/UML/class_dialog.c (attributes_get_current_values):
8031         (attributes_list_new_callback, attributes_fill_in_dialog):
8032         (parameters_set_values, parameters_get_values):
8033         (parameters_get_current_values, parameters_list_new_callback):
8034         (operations_set_values, operations_get_values):
8035         (operations_get_current_values, operations_list_new_callback):
8036         (operations_fill_in_dialog, templates_set_values):
8037         (templates_get_values, templates_get_current_values):
8038         (templates_list_new_callback, templates_fill_in_dialog):
8039         fixed transaction for UTF-8 support.
8041 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
8043         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
8045         * objects/UML/class_dialog.c (class_read_from_dialog):
8046         (class_fill_in_dialog):
8047         (attributes_get_values): ditto.
8049         * objects/UML/actor.c (actor_create): ditto.
8051         * objects/UML/class.c (umlclass_calculate_data): ditto.
8053         * objects/UML/association.c (association_apply_properties):
8054         (fill_in_dialog): ditto.
8056         * objects/UML/uml.c (uml_get_attribute_string):
8057         (uml_get_operation_string):
8058         (uml_get_parameter_string):
8059         (uml_get_formalparameter_string): use utfchar instead of char.
8061         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
8062         UML_STEREOTYPE_END.
8064         * objects/UML/class.h: use utfchar instead of char.
8066         * lib/dia_xml.c (data_add_string): ditto.
8068         * lib/text.c (text_insert_char): fixed characters# calculation
8069         when includes multibytes character in strings.
8071 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
8073         Patch from Richard Rowell <rwrowell@bellsouth.net>:
8075         * app/lineprops_area.c:
8076         * lib/arrows.h:
8077         * lib/arrows.c: 
8078         * lib/widgets.c: added crow foot arrow and cross arrow
8079         
8080         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
8081         
8082         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
8084 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
8086         * po/update.pl (REMOVED):
8087         * po/update.sh (REMOVED):
8088         * xml-i18n-merge.in.kg (REMOVED):
8089         * xml-i18n-update.in.kg (REMOVED):
8090         * sheets/Makefile.am:
8091         * Makefile.am:
8092         * autogen.sh:
8093         * configure.in: converted from xml-i18n-tools to intltools
8095         This looks like it fixes the build bugs of the snapshot tarballs, 
8096         and it supersedes #69611.       
8098 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
8100         * lib/text.c (text_insert_char): fixed characters# calculation.
8101         it's not string length.
8103         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
8104         is defined, needs to convert a description to UTF-8.
8106         * app/render_gdk.c (get_text_width): fixed transaction for
8107         UTF-8 support. also should uses gdk_text_width_wc() instead
8108         of gdk_text_width().
8110         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
8111         is defined, needs to convert to locale encoding for display.
8112         Also use utfchar instead of char for argument.
8114 2002-01-24  Hans Breuer  <hans@breuer.org>
8116         * app/commands.c(edit_paste_callback and more) : 
8117         call diagram_modified(ddisp->diagram) to fix #68083
8118         (help_menu_callback) : plug a DIR leak
8120         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
8121         GTK_TALKS_UTF8_WE_DONT
8123         * app/render_gdk.c(get_text_with) : it's a bad idea to use
8124         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
8125         gdk_text_width(). The length value is still questionable ...
8127         * lib/charconv.c : use functions already available in early
8128         GLIB-1.3 days whiches API hasn't changed since, to avoid
8129         version problems with the win32 build
8131         * lib/font.c : finally fix #58045 and #68208
8133         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
8135 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
8137         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
8138         no strings, fixed transaction.
8140         * lib/charconv.h: fixed typo.
8142         * app/menus.c: fixed typo.
8144         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
8146         * objects/UML/object.c: attrib's type uses utfchar instead of char.
8148         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
8150         * lib/text.c (text_create_change): use unichar instead of char.
8152         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
8153         use utfchar instead of char.
8155         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
8156         UTF-8 support.
8158         * lib/charconv.c (charconv_utf8_get_char): add new function.
8160 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
8162         * lib/text.c (text_delete_forward, text_delete_backward,
8163         text_split_line): fixed transaction for UTF-8 support.
8165         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
8166         strlen[] has string length for UTF-8, so has to use alloclen[].
8168         * dia.pot: remove.
8170         * .cvsignore: add dia.pot.
8172 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
8174         * configure.in: Added "sk" to ALL_LINGUAS.
8176 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
8178         * lib/text.c (text_set_string, new_text, text_copy,
8179         text_get_string_copy, text_join_lines): use utfchar instead of gchar
8180         for strings.
8182         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
8183         strchr().
8185         * lib/charconv.c (charconv_utf8_strchr): add new function.
8187         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
8189         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
8191         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
8192         strings to the appropriate encoding.
8194 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8196         * app/object_ops.c (object_list_align_[hv]): Leak fix.
8198         * lib/Makefile.am (INCLUDES): Added debug flags.
8200         * app/object_ops.c: Fixed ordering problem of align equi-distant &
8201         adjacent. 
8203 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
8205         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
8206         gdk_string_width().
8208         * objects/GRAFCET/boolequation.c: fixed invalid comment.
8210         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
8211         when defined UNICODE_WORK_IN_PROGRESS.
8213         * lib/dia_xml.c (data_add_string): fixed typo.
8215 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
8217         * configure.in: fixed test gtk_advancement.
8219 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
8221         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
8222         exported to SVG
8224         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
8226         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
8227         tool tips, preferences, and arbitrarily long ~/.dia/history
8229         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
8230         removed 'Open Recent'; added new separators for recent documents on
8231         File menu.
8233         * app/interface.[ch] (interface_get_toolbox_shell): new function
8235         * app/diagram.c: added new parameter to recent_file_history_add() call
8237         * app/preferences.[ch]: added new 'Recent documents list size'
8238         preferences item
8239         
8240 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
8242         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
8243         if it failed, should be used gdk_font_load ().
8245         * lib/font.c (font_data): added the font entries for CJK.
8247 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
8249         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8251         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
8252         
8253 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
8255         Patch from Martin Cracauer <cracauer@cons.org>:
8256         
8257         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
8258         non-GNOME case ?)
8260 2002-01-01  Hans Breuer  <hans@breuer.org>
8262         * app/command.c : optional use GDI printing on windoze
8264         * app/preferences.[hc] : add option 'prefer_psprint' to 
8265         select the print engine to use (could be used for Dia/Gnome
8266         as well)
8268         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
8269         wmf plug-in with the common win32 print api. Now printing
8270         should work almost as expected from a windows program :-)
8272         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
8273         to .edit_delete to avoid clashes with C++
8275         * app/makefile.msc : updated for GDI printing
8277         * plug-ins/wmf/wmf.cpp : some small modifications to support
8278         GDI printing. Also swap R and B channel in draw_image()
8280         * app/makefile.am : added windows only files to EXTRA_DIST
8282         * objects/uml/class.c(umlclass_set_props) : force recalculation
8283         when applying properties
8285         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
8286         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
8287         many incompatible changes (and would force a gtk update)
8289         * objects/makefile.msc : don't build C-Objects which are
8290         already available as 'pure shape'
8292         * plug-ins/makefile.msc : remove diaimport from build. It was
8293         only available via mailing-list and is broken since the
8294         StdProp overhaul.
8297         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
8299         * app/preferences.[hc] : tweaked preferences.c to make 
8300         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
8301         added some more DiagramTree prefererences and their own
8302         notebook page.
8304         * app/diagram_tree.[hc] : allow to sort by object type or name
8305         and hide by type ...
8306         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
8307         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
8309         * app/diagram_tree_window.c : handle hidden types and window
8310         size restoring.
8312 2001-12-20  Hans Breuer  <hans@breuer.org>
8314         * plug-ins/python/Makefile.am : patch from Peter Moulder 
8315         <pmoulder@csse.monash.edu.au> to make the python plug-in
8316         compile on *nix too.
8318 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
8320         Patch from Alan <horkana@tcd.ie>:
8322         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
8324 2001-11-20  Hans Breuer  <hans@breuer.org>
8326         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
8328 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
8330         * app/diagram_tree.[hc] : Added new functions and types for
8331         sorting diagram and objects, and attaching the popup menus.
8333         * app/preferences.h: Added more diagram tree preferences, using a
8334         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
8335         height and width of the diagram tree window and the default sort
8336         orders for diagrams and objects.
8338         * app/preferences.c (prefs_data): Added new entries for the new
8339         diagram tree preferences.
8341         * app/preferences.c (prefs_tabs): New tab for diagram tree
8342         preferences.
8344         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
8345         * app/diagram_tree_window.c (diagram_tree_window_new): 
8346         * app/interface.c (create_tree_window): The diagram tree window is
8347         initialised using the DiagramTreeConfig part of prefs.
8350 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
8352         * app/diagram_tree_menu.[hc]: New files. Functions to create the
8353         diagram tree popup menus.
8355         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
8356         the diagram tree popup menus.
8358         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
8359         added.
8361 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
8363         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
8364         double-clicking a diagram tree node raises the diagram window
8365         to the foreground (and, if a object node was clicked, selects the
8366         object in the diagram).
8368         * app/diagram_tree.c (select_tree_widget): selecting an object
8369         node with single click simply updates it (no raise).
8371 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
8372         These changes make the diagram tree lazy: it is not created unless
8373         the diagram tree window is requested.
8374         
8375         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
8376         function for creating the tree window.
8378         * app/interface.c (create_tree_window): call
8379         create_diagram_tree_window() instead of diagram_window().
8381         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
8382         (diagram_tree_update, diagram_tree_update_name) 
8383         (diagram_tree_add_object, diagram_tree_add_objects) 
8384         (diagram_tree_remove_object, diagram_tree_remove_objects) 
8385         (diagram_tree_update_object): accept a NULL tree as a nominal
8386         argument (and do nothing in this case!), so that the diagram tree
8387         is not initialised if not used.
8389         * app/diagram_tree_window.c (diagram_tree): do not create the
8390         diagram tree until diagram_window() or diagtree_show_callback()
8391         are invoked.
8393 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
8394         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
8396         * app/diagram_tree_window.[hc] : (new files) implementation of 
8397         the diagram tree window, a container for a diagram tree. [Removed
8398         the horizontal scroll bar glitch by disableing it]
8400         * app/diagram_tree.[hc] : (new files) implementation of the 
8401         diagram tree widget. [Don't rely on the layers GPtrArray to be
8402         NULL terminated, but use its ->len field] 
8404         * app/Makefile.am (dia_core_files): added new files
8405         diagram_tree.[hc] and diagram_tree_window.[hc]
8407         * app/interface.[hc] : (create_tree_window): this function 
8408         creates the new diagram tree window widget
8410         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
8411         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
8412         (ungroup_objects_apply) (ungroup_objects_revert): 
8413         every time that an undoable command modifies a diagram 
8414         adding/removing/(un)grouping objects, a diagram_tree_something() is 
8415         invoked to keep the diagram tree window in sync
8417         * app/properties.c (properties_apply): call to
8418         diagram_object_modified(), which updates the diagram tree window
8419         when the properties of an object are modified
8421         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
8422         (whether the diagram tree window should be shown on dia startup)
8424         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
8426         * app/diagram.h (diagram_object_modified): callback notifying of a
8427         diagram object modification
8429         * app/diagram.c (diagram_load_into): added call to
8430         diagram_tree_add() to add newly loaded diagrams to the diagram
8431         tree window
8432         (diagram_destroy): call to diagram_tree_remove() to remove a
8433         destroyed diagram from the diagram tree window
8434         (diagram_add_object): call to diagram_tree_add_object() to add an
8435         object to the diagram tree window
8436         (diagram_add_object_list): as above, but with an object list
8437         (diagram_selected_break_external): deletion of objects from the
8438         diagram is detected here, and diagram_tree_remove_object() is
8439         invoked to remove the object from the diagram tree window (it
8440         would be nice to have a diagram_remove_object() in the Diagram
8441         interface)
8442         (diagram_set_filename): update the diagram tree window when a
8443         diagram's filename changes
8445         * app/commands.c (file_new_callback): added call to
8446         diagram_tree_add() to add newly created diagrams to the diagram
8447         tree window
8449         * app/app_procs.c (app_init): added call to create_tree_window()
8451         * app/makefile.msc : updated
8453 2001-10-28  Hans Breuer  <hans@breuer.org>
8455         * app/preferences.h (DiaPreferences): 
8456         * app/preferences.c (prefs_data): new "show_diagram_tree"
8457         configuration option (whether the diagram tree window should be
8458         shown on dia startup)
8460         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
8461         entry (both for GNOME and gtk)
8463         * app/diagram.h (diagram_object_modified): callback notifying of a
8464         diagram object modification
8466         * app/diagram.c (diagram_load_into): added call to
8467         diagram_tree_add() to add newly loaded diagrams to the diagram
8468         tree window
8469         (diagram_destroy): call to diagram_tree_remove() to remove a
8470         destroyed diagram from the diagram tree window
8471         (diagram_add_object): call to diagram_tree_add_object() to add an
8472         object to the diagram tree window
8473         (diagram_add_object_list): as above, but with an object list
8474         (diagram_selected_break_external): deletion of objects from the
8475         diagram is detected here, and diagram_tree_remove_object() is
8476         invoked to remove the object from the diagram tree window (it
8477         would be nice to have a diagram_remove_object() in the Diagram
8478         interface)
8479         (diagram_set_filename): update the diagram tree window when a
8480         diagram's filename changes
8482         * app/commands.c (file_new_callback): added call to
8483         diagram_tree_add() to add newly created diagrams to the diagram
8484         tree window
8486         * app/app_procs.c (app_init): added call to create_tree_window()
8488 2001-10-28  Hans Breuer  <hans@breuer.org>
8490         * plug-ins/python/pydia-property.c : apparently I missed
8491         to commit this last time. Now it has some more SetAttr
8492         support (apply from property)
8494         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
8496         * plug-ins/python/pydia-text.[ch] : new files
8498 2001-10-14  Hans Breuer  <hans@breuer.org>
8500         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
8501         strings. Use g_strdup() for these.
8503         libxml2 does not produce 'any extra indentation when saving a tree'
8504         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
8505         libxml(1). To get human readable XML some extra tweaking is required.
8506         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
8507         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
8508         * app/preferences.[ch] : initialize 'pretty_formated_xml'
8510         * lib/libdia.def : updated externals
8512         * lib/properties.h : add prototype for prop_list_from_single ()
8514         * plug-ins/makefile.msc : build metapost plug-in
8516         * plug-ins/metapost/render_metapost.c : msvc does not like
8517         switch labels without operation 'default: }'. Added a noop.
8519         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
8520         * plug-ins/python/diamodule.c : added PyDiaText 
8521         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
8522         Although the python plug-in does not use libxml at all, the
8523         headers are required to use the lib/prop*.h headers
8525         * plug-ins/python/pydia-diagramdata.c : added wrappers for
8526         update_extents and get_sorted_selected (should I duplicate
8527         more functions from PyDiaDiagram or should they be moved?)
8529         * plug-ins/python/pydia-properties.c : allow to set (some) properties
8530         through the dictionary api
8531         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
8532         * plug-ins/python/pydia-property.c : implement it (currently only
8533         string properties can be set)
8535         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
8536         Quoting myself: 'Still not convinced that this is better than an 
8537          integral property->type and some casting ...
8538          It is trading a straightforward 40 lines switch statement to
8539          this nice 'type safe' function mapping (about 125 lines)'
8540         (But now it works again, better than changing the News file :)
8541         
8542 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
8544         patch from <robert.young@dsto.defence.gov.au>: 
8545         * objects/UML/component.c: remember to set font in UML component
8546         object (fixes #62132)   
8548 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8550         * plug-ins/metapost/metapost.c: 
8551         * plug-ins/metapost/Makefile.am:
8552         * plug-ins/metapost/render_metapost.c:
8553         * plug-ins/metapost/render_metapost.h:
8554         Metapost renderer from Chris Sperandio
8556 2001-09-14  Hans Breuer  <hans@breuer.org>
8558         * app/render_gdk.c : reflect the fact, that GTK already talks
8559         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
8561         * lib/font.c : 
8562         * app/render_libart.c : trying to fix #58045 but it appears
8563         to be an Gdk/win32, too. 
8565         * lib/charconv.c : handle utf8 conversion with the help of
8566         glib-1.3 even in the !HAVE_UNICODE case.
8568         * lib/dia_xml.c : reduce complaing about missing encoding, by
8569         detecting if the default (utf8) would break the file.
8571 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
8573         * lib/charconv.c: (get_local_charset): at least please try to not 
8574         silently change the logic, while avoiding crashes. 
8576         * lib/font.c: (suck_font): put a #error, we have a nasty something
8577         to fix there before we switch to Gtk 2.0.
8578         
8579 2001-09-09  Hans Breuer  <hans@breuer.org>
8581         * **/makefile.mingw : Approach to compile Dia with mingw.
8582         Compiling mostly works but running does not (yet) ... 
8584         * lib/geometry.h : 
8585         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
8586           Apparently mingw needs it too.
8587         - enable 'normalization' of a null verctor. Otherwise the beziergon
8588           bounding box calculation would be broken at least with msvc. What's
8589           the mathematical correct result of 0.0/0.0 ?
8591         * lib/dia_xml.c : isinf() for mingw too.
8593         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
8594         and msvc)
8596         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
8597         Please don't do it.
8599         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
8601         * lib/libdia.def : updated externals. Apparently mingw needs
8602         them to produce the right mangling.
8604         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
8605         and xmlDiaSaveFile
8607 2001-09-08  Wang Jian  <lark@linux.net.cn>
8609         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
8611 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
8613         * lib/dia_xml_libxml.h:
8614         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
8615         libxml1's code, to rework the output file before it gets committed
8616         to disk. This is rubbish, and will be removed when libxml2
8617         switches from discouraged to mandatory. 
8618         All in all, this fixes #60152. 
8619         
8620         * lib/charconv.h: 
8621         * lib/charconv.c: (charconv_unichar_to_utf8):
8622         made the type of the input parameter explicitly an unsigned long.
8624         * configure.in: Added a check for libz (we must now include it
8625         explicitly, for xmlDiaSaveFile).
8626         
8627         * app/load_save.c: (diagram_data_save):
8628         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
8629         (dia_pluginrc_write):
8630         * plug-ins/shape/shape-export.c: (new_shape_renderer),
8631         (end_render), (draw_string):
8632         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
8633         (draw_string):
8635         Made sure we always write UTF-8 XML files, and through
8636         xmlDiaSaveFile().
8638         * NEWS: documented that fact.
8639         
8640 2001-09-07  James Henstridge  <james@daa.com.au>
8642         * configure.in (found_libxml): refactor the check for libxml a
8643         little so that it handles finding both libxml1 and 2 better.
8645 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
8647         * app/app_procs.c: removed a spurious } which caused a compilation
8648         error in the (!HAVE_GNOME && HAVE_POPT_H) case
8650         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
8651         don't know what ANSI X3.4-1968 is. I didn't know until this day,
8652         but it's just plain old ASCII. Added a check to shield the poor
8653         XML library.
8655         Patches from <robert.young@dsto.defence.gov.au>:
8657         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
8658         width and height of text before calculating bounds. Fixes #59928
8660         * app/preferences.c: Moved grid related items into Grid Tab.
8661         
8662 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
8664         * app/interface.c: (create_zoom_widget): connected one more signal
8665         to the Zoom selector combo's list. Fixes #59879.
8667         * app/app_procs.[ch]: (app_init) (do_convert)
8668         (build_output_file_name): brought back into the main executable
8669         the rare useful bits of the ill-fated diaconv. This means we have
8670         one new feature : --export-to-format (-t), which should make
8671         writing conversion scripts easier, and a crude implementation of
8672         -t and -e for the poptless argument parsing, which means the Win32
8673         port should be able to take advantage of it (that should make
8674         resolving #58197 possible).
8676         * app/diaconv.c: kept the poor duck compiling (but that's about
8677         it).
8679         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
8680         I've got it right).
8682         * NEWS: updated about the new feature above, and documented the 
8683         "missing encoding specification" complaint. 
8684         
8685 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
8687         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
8689 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
8691         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
8692         care of #59837.
8694 2001-09-01  James Henstridge  <james@daa.com.au>
8696         * */Makefile.am: various changes to include missing files, and fix
8697         sheets dir to handle building with builddir != srcdir.
8699         * autogen.sh: unconditionally pass the --enable-maintainer-mode
8700         and --enable-db2html flags so that builds from CVS work correctly.
8702         * configure.in: increment version number.  Also add an
8703         --enable-db2html flag.  Without the flag, db2html won't be run (if
8704         the flag is passed and db2html is not present, do nothing).
8706 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
8708         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
8709         even compiled. It's really too bad there is no lint tool easily
8710         available (or a more cautious, pedandic, paranoid and verbose
8711         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
8713 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
8715         * app/load_save.c:
8716         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
8717         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
8719         * app/menu.c: added ellipsis(...) to diagram properties menu item.
8720         * app/dia-props.c: diagram properties dialog contents did not
8721         represent current diagram settings.
8722         * app/dia-props.[ch]:
8723         * app/display.c: diagram properties contents now follows currently
8724         selected diagram.
8725         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
8727         * AUTHORS: added Robert Young.
8728         
8729 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
8731         * app/modify_tool.c: (modify_button_release): Patch from
8732         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
8733         #59090: if selection dragging was released outside of the window, 
8734         artifacts of the selection box remained.
8736 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
8738         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
8740 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
8742         * configure.in:
8743         * sheets/Makefile.am: prepared the terrain for the Version of
8744         xml-i18n-tools Which Comes After 0.9 (and which will feature at
8745         last a sane behaviour with XML files). Some reasonible delay
8746         before enforcing that version *will* be given.
8748         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
8749         
8750         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
8751         becomes a nonexistent symbol.
8752         
8753 2001-08-18  Hans Breuer  <hans@breuer.org>
8755         * app/app_procs.c : made it compile without ENABLE_NLS
8757         * app/diap_callbacks.c : strcmp isn't guaranteed to work
8758         with NULL pointers
8760         * app/load_save.c :
8761         * lib/plug-ins.c : 
8762         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
8763         It has to be :
8764                 xmlGetProp, ... -> xmlFree
8765                 malloc, strdup -> free
8766                 g_new, g_malloc, g_strdup - > g_free
8768         * app/win32print.c : some more error checking, still not
8769         working on Win9x
8771         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
8773         * lib/dia_xml.c : msvc still has no unistd.h
8775         * lib/dia_xml.c :
8776         * lib/sheets.c : temporary resolved libxml include brokeness
8778         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
8779         changes. Compiles again, but doesn't do anything useful anymore.
8780         (see THE_PROP_TYPE_IS_INTEGRAL)
8782         * **/makefile.msc : updated to use LIBXML2
8784         * lib/libdia.def : reflect api changes
8786 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
8788         * config.h.win32: added defines telling that gtk speaks UTF8.
8789         Hans, I believe this reflects what GTK on Win32 does.
8791         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
8792         strings.        
8793         * lib/prop_inttypes.c: 
8794         * lib/prop_text.c:
8795         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
8796         code path.
8797         
8798         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
8799         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
8800         search for plug-ins is done.
8801         * app/Makefile.am: made app/run_dia.sh use the // capability. No
8802         need to update this anymore if we get a new plug-in library (or
8803         remove one).
8805         * lib/dia_xml.c: #include <unistd.h> was missing.
8806         
8807         * lib/properties.h: 
8808         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
8809         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
8810         support.        
8812 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
8814         * sheets/civil.sheet: removed duplicate "Danish" entries.
8816         * autogen.sh:
8817         * configure.in: 
8818         * .cvsignore:
8819         * sheets/Makefile.am: 
8820         * po/POTFILES.in:
8821         * Makefile.am: applied the xml-i18n-tools README's instructions.
8823         * po/(da de fr hu nl nn no sl).po: merged the translations from
8824         the sheet files into the .po files. I hope I haven't mixed
8825         languages...
8826         * sheets/*.sheet (REMOVED):
8827         * sheets/*.sheet.in (NEW): moved the sheet files sans
8828         translations into .sheet.in files. 
8829         
8830         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
8831         because we don't yet want to force all translators to work using
8832         UTF-8 editors. We'll want to do that sometime (sooner rather than
8833         later). Okay, I sing a slightly different tune in po/ChangeLog...
8835         * dia.desktop (REMOVED):
8836         * dia.desktop.in (NEW): used also the x18t infrastructure for
8837         this too.
8839         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
8840         "official" version of x18t with support for .sheet files is available.
8841         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
8842         "official" version of x18t which doesn't corrupt UTF-8 data in XML
8843         is available.
8844         
8845         ** yes, we are now using xml-i18n-tools to manage the sheet
8846         translations. For the Win32 build, Nemo stores snapshots of
8847         translated strings next to the CVS snapshots. **
8849         * sheets/checktrans.py: suddenly, some sheets have lots of
8850         translations (objects which existed before sheets, mostly).
8851         Adapted the formatting.
8853         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
8855         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
8856         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
8857         <robert.young@dsto.defence.gov.au>, to fix #59090.
8859         * app/display.c: (ddisplay_scroll): While at it, added some
8860         margin, so that autoscrolling can happen within a margin outside
8861         the diagram's extents.
8863         * app/tool.[ch]: 
8864         * app/interface.c:
8865         * app/disp_callbacks.c: Robert "forced" me to go when I usually
8866         don't, namely the app/ directory. So while I was there, I
8867         scratched a long-time itch. If no object has focus, pressing the
8868         space bar will select back the tool which was selected before the 
8869         current one (I find this especially useful with "reset after create" !)
8870         
8871         * lib/proplist.c: (prop_list_from_single): Renamed
8872         prop_list_singleton() to avoid confusion with the Singleton
8873         pattern (which it definitely is not).
8874         
8875         * lib/propobject.c: (object_prop_by_name_type),
8876         (object_prop_by_name): The "flags" parameter was not necessary.
8877         These don't return synthetic properties, but properties built from
8878         a real property description list; therefore, we don't call
8879         make_new_prop() but use the existing property descriptor, which
8880         has perfectly valid (and meaningful) flags.
8882         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
8883         new predicates better reflect the reason why properties exist when
8884         they're created by make_new_prop() or object_prop_by_name().    
8886         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8887         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
8888         of pdtpp_true().
8890         * lib/properties.h: reflects all the above changes.
8892         * objects/SADT/arrow.c:
8893         * objects/SADT/annotation.c:
8894         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
8895         IDEF0 terminology.
8896         
8897 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
8899         * lib/properties.h:
8900         * lib/proplist.c: (prop_list_singleton):
8901         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8902         Added these, to simplify interactions of plug-ins with the StdProp
8903         core.
8905         * lib/Makefile.am:
8906         * lib/dia_xml.h:
8907         * lib/dia_xml_libxml.h (NEW): 
8908         * app/load_save.c:
8909         * lib/dia_xml.c:
8910         * lib/plug-ins.c:
8911         * lib/sheet.c:
8912         * objects/custom/shape_info.c: A few prototypes were causing
8913         #include hell, because we generally attempt to not pull the whole
8914         libxml header set when we include dia_xml.h. Moved those
8915         prototypes away for the rare cases they're necessary.
8916         
8917 2001-08-15  Hans Breuer  <hans@breuer.org>
8919         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
8921         * lib/libdia.def : 
8922         * lib/makefile.msc : updated
8924         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
8925         use G_GNUC_FUNCTION instead.
8927         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
8929         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
8930         msvc instead of cleaning missing includes
8932         * plug-ins/wmf/wmf.cpp :
8933         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
8935 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
8937         * app/app_procs.c:
8938         * app/load_save.c:
8939         * lib/dia_xml.c:
8940         * lib/plug-ins.c:
8941         * lib/sheet.c:
8942         * objects/custom/shape_info.c:
8943         * plug-ins/shape/shape-export.c:
8944         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
8945         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
8946         removed xmlKeepBlanksDefault(0) in favour for proper
8947         xmlIsBlankNode() testing. Lots of other fixups to use the
8948         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
8949         make libxml1 output correct files.
8951         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
8952         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
8953         packages). If both devel packages are found, the build will stop 
8954         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
8956         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
8957         allocate the first handle :-)
8958         
8959         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
8960         a cast and a sizeof.</gratuitous>
8962         * objects/custom/custom_object.c: (custom_copy): don't call
8963         text_get_attrbutes if the shape has no text...
8964         (custom_update_data): The info->resize_with_text code was a bit
8965         directive; basically, the shape's bounding box was forced to be 
8966         proportional to the text's bounding box.... This fixes #57187.
8967         
8968         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
8969         default for info->aspect_ratio; unobfuscated a line about
8970         info->resize_with_text;
8971         
8972 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
8974         * lib/properties.h: added comments next to the PROP_TYPEs to tell
8975         which C Property subclass to use.
8976         
8977         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
8978         cast-ridden form of setting properties in a list, in favour for
8979         the "local pointers" form. I'll take any better offer...
8981 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
8982         
8983         * lib/font.c: fprintf(...) --> fprintf(format...)
8985         * configure.in: added a disabled versioned test for glib.
8986         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
8987         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
8988         g_critical() with a simple g_error(). Proper fix is to implement
8989         that stuff. 
8991         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
8992         PROP_TYPE_STRING.
8993         
8994         * lib/properties.h:     
8995         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
8996         * lib/proplist.c: (find_prop_by_name_and_type):
8997         * lib/prop_basic.c: (make_new_prop), (initialize_property):
8998         * lib/propoffsets.c: (do_set_props_from_offsets),
8999         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
9000         Added a type_quark member to PropDescription, Property and
9001         PropOffset. Used it to implement a safety in
9002         do_[sg]et_props_from_offsets().
9003                 
9004         * objects/flowchart/diamond.c: the diamond's text was not saved,
9005         and thus not even copied (c&p).
9006         * objects/standard/textobj.c: ditto.
9008         Most of the above changes thanks to Robert Young's testing. Thanks !
9009         
9010 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
9012         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
9013         and bokmÃ¥l).
9014         
9015 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
9017         * lib/proplist.c (prop_list_from_descs): added a call to
9018         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
9019         too embarrassing to tell.
9020         
9021         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
9022         while loop to a for loop, for symmetry with
9023         prop_offset_list_calculate_quarks().
9025         * lib/geometry.h: new inline function, rectangle_equals.
9027         * lib/diagramdata.[ch]: refactored a bit the diagram extents
9028         computation logic, and changed it to always be the union of the
9029         visible layers' extents. This should close #58882 (Debian
9030         #107167), and fixes #55498.
9032         * app/display.c: made the initial visible box more coherent with
9033         the diagram being loaded's extents.
9035         * app/prop_attr.c: don't set the font (from offset) if font_data
9036         is NULL. Two brainos in colorprop_load() and fontprop_load().
9037         
9038 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
9040         * lib/properties.[ch]: split in a lot of pieces: 
9042         * lib/prop_*.[ch] (NEW): all property types are now first-class
9043         objects, inheriting from the original abstract Property type.
9044         * lib/propdesc.c (NEW): property description handling routines
9045         * lib/propoffsets.c (NEW): property offset handling routines
9046         * lib/proplist.c (NEW): property list handling routines
9047         * lib/propobject.c (NEW): property list <-> object routines
9048         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
9049         relations.
9050         * lib/propinternals.h: prototypes for stuff not usually needed by 
9051         the outside of StdProps.
9052         * lib/Makefile.am: a lot of new files have been added...
9054         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
9055         BOTH INTERFACES AND RUN-TIME STABILITY.
9057         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
9058         
9059         * lib/object.h: removed the incestuous relationship with
9060         properties.h' contents. Now a Property list is a GPtrArray -->
9061         object interface change !
9063         * app/app_procs.c/app_init(): removed a disabled call to a
9064         non-existent routine. Added a call to stdprops_init().
9065         
9066         * objects/Makefile.am: disabled the construction of EML. I'm not
9067         touching these until a certain issue is solved (or this module
9068         removed).
9069         * app/group.c:  
9070         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
9071         objects to the interface changes.
9072         
9073         * app/disp_callbacks.c: killed a warning.
9074         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
9076         * app/commands.c: 
9077         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
9078         interface.
9080         * plug-ins/dxf/dxf-import.c: 
9081         * plug-ins/xfig/xfig-import.c: 
9082         PROP_VALUE_* macros have been removed. Converted to the new API.
9084         * plug-ins/python/**/*: I gave up converting this; I can't
9085         compile --with-python (problems with object.h defined both by us
9086         and by Python). I'll gladly help whomever cares to fix it !
9087         (or, fix it myself if someone tells me how to compile it).
9088         
9089         * configure.in: added the UNICODE-related progress defines.
9090                 
9091         * configure.in:
9092         * lib/geometry.h: On Solaris and perhaps other systems, finite()
9093         is defined in ieeefp.h rather than in math.h. Patch from Andrew
9094         Halper <ashalper@acm.org> with further modifications, isinf() is
9095         provided by -lsunmath (sunmath.h).
9096         
9097         * lib/font.c: conditionally disabled Lars' debugging messages.
9098         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
9099         
9100 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
9102         * lib/bezier_conn.h: 
9103         * objects/standard/bezier.c (bezierline_create): 
9104         * lib/bezier_conn.c (bezierconn_init): 
9105         Preparations for use of userdata for bezier lines.
9106         
9107         * objects/standard/polygon.c: 
9108         * objects/standard/create.h:
9109         * lib/polyshape.c:
9110         * lib/polyshape.h:
9111         * plug-ins/xfig/xfig-import.c:
9112         Use of user_data for polygon as well, including adding
9113         polyshape_set_points.  Include file for non-interactive 
9114         creation of standard objects, objects/standard/create.h
9116 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9118         * app/render_gdk.c: 
9119         * app/render_gdk.h: 
9120         * lib/font.c:
9121         * lib/font.h:
9122         * lib/widgets.c:
9123         More preliminary freetype support.  Not at all functional, crashes
9124         when rendering.
9126         * lib/poly_conn.h: 
9127         * lib/poly_conn.c: 
9128         * objects/standard/polyline.c: 
9129         Support for creating polyline objects with more than two points.
9130         This includes an extra function and a prototype change in the
9131         poly_conn lib object.
9133         * lib/object.c (object_copy): Fixed memory leak of handles and
9134         connections.
9136 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
9138         * dia.desktop: added traditional Chinese strings
9140 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
9142         * NEWS: updated to reflect build-time dependencies.
9144         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
9145         around obj->ops->describe_props(obj). Quarks are none of an
9146         object's business in the general case... 
9147         * lib/text.c: Added an apply_textattr_properties() function to
9148         factor out some common code related to applying a dialog's text
9149         attribute properties to a (Text *) which wasn't edited there. 
9150         Ditto for textstr, for the string part of an objet.
9152         * objects/GRAFCET/action.c:
9153         * objects/SADT/annotation.c:
9154         * objects/SADT/box.c: used apply_textattr_properties().
9155         
9156         * objects/UML/actor.c: 
9157         * objects/UML/branch.c:
9158         * objects/UML/component.c:
9159         * objects/UML/constraint.c:
9160         * objects/UML/small_package.c:
9161         * objects/UML/state.c:
9162         * objects/UML/usecase.c:
9163         * objects/UML/large_package.c:
9164         * objects/UML/note.c:
9165         * objects/UML/node.c:
9166         * objects/UML/message.c:
9167         * objects/UML/classicon.c:
9168         * objects/UML/object.c:
9169         * objects/UML/realizes.c:
9170         * objects/UML/dependency.c:
9171         * objects/UML/implements.c:
9172         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
9173         (most objects were already using StdProps to some extent ; this
9174         systematises usage and removes some dead wood). 
9175         
9176         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
9177         * objects/UML/uml.[ch]: audited for UTF-8.
9179         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
9180         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
9181         private (ISO-8859-1) definition.
9182         
9183         * lib/charconv.c: Added a warning if we didn't run
9184         nl_langinfo(CODESET) but rely instead on a hardcoded default.
9185         
9186 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
9188         * lib/diamenu.h:
9189         * app/disp_callbacks.c: added a way for an object to cause an
9190         already realised menu to be destroyed (for instance if it changes
9191         too much).
9193         * objects/custom/custom_object.c: used the above to fix #55073.
9195 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9197         * configure.in: Remove 2.50 prereq.
9199 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
9201         * po-checktrans.py: under some circumstances, there was one column 
9202         more than what was supposed to be, thus breaking the formatting.
9203         
9204 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
9205         
9206         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
9208         * NEWS: updated with new stuff since 0.88
9210         * shapes/network/antenna.shape: the text was misplaced ; fixed.
9212         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
9213         firewall router (upon request from Cyril Lacoux
9214         <clacoux@easter-eggs.com>)
9216         * configure.in (didn't rename to configure.ac): autoconf 2.50
9217         constructs were used ; added an AC_PREREQ call to guard against
9218         older autoconfs.
9219         
9220 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
9222         * lib/properties.c: minor clean-ups with the event delivery code.
9224         * EML/instantiation.c: brought this object back from stone and ice
9225         age.    
9227         * app/diaconv.c(NEW): added a command-line conversion tool. Still
9228         lacks a man page and correctness. In fact, it doesn't work. Please
9229         see #58196 if you want to finish it.
9230         
9231         * lib/message.[ch]: redefined things a little so that a different
9232         message_internal routine could be passed.
9233         applications can use that to fit themselves to the display model.
9235 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
9237         * objects/SADT/box.c: 
9238         * objects/GRAFCET/action.c: spelling in property descriptors (name
9239         field...)
9240         * objects/SADT/annotation.c: ditto, plus a temporary test of the
9241         event delivery code (try to click on the "click me !" button !).
9243         * app/group.c: 
9244         * lib/properties.[ch]: improved (fixed) support for group event 
9245         handlers. Fixed various things from yesterday's code to make it
9246         not too obviously crash.
9248 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
9250         * app/group.c: added delivery of events to the first member of the
9251         group which is able to process it.
9253         * lib/properties.c(prop_desc_lists_intersection): properties
9254         don't match if they don't have identical event handler.
9255         * lib/properties.h: simplified the PropEventHandler signature.
9257         Event delivery code is still untested so far, but should be
9258         lurking harmless.
9259         
9260 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
9262         * lib/properties.[ch]: Added (untested !) property event handler
9263         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
9264         generating such events. This stuff compiles, and should lurk
9265         around silently as long as you don't declare property descriptors
9266         with events (AFAICT).
9267         In object_create_props_dialog() and friends:
9268         attached a single structure with lots of data instead of lots of
9269         little attachments of data to the dialog widget.
9270         
9271         * lib/object.h: fixed mild typedef breakage introduced by the above.
9273 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9275         * lots of files: Changed Font to DiaFont
9276         * */Makefile.am: Added FREETYPE_LIBS
9277         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
9279 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
9281         * configure.in: Added "nn" to ALL_LINGUAS.
9282         
9283 2001-07-09  Alex Larsson  <alexl@redhat.com>
9285         * app/disp_callbacks.c:
9286         Add gdk_im_ready() calls to XIM code.
9288 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
9290         * lib/properties.[ch]: splitted prop_get_widget() into
9291         prop_get_widget() (gives a widget but doesn't fill it) and 
9292         prop_reset_widget() (fills an existing widget with a property's value).
9294         * lib/widgets.[ch]: const enforcement police work.
9296         * shapes/network/antenna.shape: added a connection point at top,
9297         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
9298         
9299 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
9301         * intl/*: tested with gettext-0.10.38
9302         * configure.in: moved a macro call around (AM_PROG_CC) to keep
9303         some of autogen.sh from complaining.
9304         * INSTALL: added a warning against gettext older than at least 0.10.36
9305         
9306 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
9308         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
9309         AM_ICONV (both provided by gettext)
9311 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
9313         * lib/charconv.c: corrected the degraded mode for when
9314         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
9316         * objects/chronoline/chronoline_events.c: UTF8 compliance.
9317         
9318 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
9320         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
9321         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
9322         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
9323         into a frame box.
9325         * objects/chronogram/chronoline.c:
9326         * objects/chronogram/chronoref.c: took advantage of the above to
9327         make nicer looking dialogs.
9329         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
9330         from libunicode's internals).
9331         * lib/message.c: convert strings to local encoding prior to
9332         display (UNICODE_WORK_IN_PROGRESS)
9333         * lib/properties.[ch]: convert strings to local encoding prior to
9334         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
9335         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
9336         * lib/stringprerenderer.[ch]: ditto
9338         (lib/text.c has been audited for UTF8, but the size of the changes
9339         make them inappropriate for commit before 0.89)
9340         
9341 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
9343         * objects/boolequation.h (<save|load>_boolequation): made the 
9344         prototypes for match the .c file.
9345         
9346         * samples/grafcet.dia: minor non-conformance with IEC-848
9347         fixed (in the transition from step 100 to step 101).
9349         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
9350         disallow editing of properties if the object is part of a group.
9352         * objects/chronogram/chronoline.c: 
9353         * objects/SADT/annotation.c:
9354         * objects/SADT/box.c:
9355         * objects/GRAFCET/step.c:
9356         * objects/GRAFCET/transition.c:
9357         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
9358         
9359 2001-06-12  Hans Breuer  <hans@breuer.org>
9361         * lib/libdia.def : removed lazyprop exports
9362         * lib/makefile.msc : removed lazyprop.obj
9364         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
9365         and avoid crashes by always creating a custom->text,
9366         when (custom->info->has_text) 
9368         * objects/makefile.msc : removed sybase from build
9370         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
9371         ObjectNode is a pointer already, which is what we want
9372         instead of a pointer pointer.
9374         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
9375         and implemented working export for images
9377         * shapes/network/zip-disk.shape : added connection points 
9379 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
9381         * objects/SADT/box.c: removed lazyprops for standard props.
9382         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
9383         * objects/chronograms/chronoref.c: ditto 
9385         * lib/Makefile.am:
9386         * lib/dummy_dep.h:
9387         * lib/connpoint_line.c:
9388         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
9389         * lib/properties.[ch]: new property types:
9390             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
9391             - PROP_TYPE_MULTISTRING: same as string, but renders as a
9392             multi-line entry box.
9393             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
9394             in a tabbed-notebook style (this is a bit complicated to use; 
9395             see objects/chronograms/chronoline.c for an example).
9396                
9397 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
9399         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
9400         * objects/GRAFCET/step.c: ditto.
9401         * objects/GRAFCET/vector.c: ditto.
9402         * objects/SADT/annotation.c: ditto.
9403         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
9404         
9405         * lib/properties.[ch]: two more non-visible types
9406         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
9408         * lib/neworthconn.[ch]:
9409         * lib/orthconn.[ch]: added support for manipulation through
9410         standard properties.
9412         * configure.in: removed -fomit-frame-pointer, this seems to
9413         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
9414         bugzilla.
9416         * charconv.[ch]: more functions from unicode.h.
9417         get_local_charset() wasn't working properly, fixed now.
9418         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
9419         ElectricFence !)
9420         
9421         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
9422         * lib/lazyprops.[ch]: put a big fat warning in.
9424         * app/render_eps.c: one line mysteriously went away, causing a
9425         variable to be used uninitialised....
9427 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
9429         * app/app_procs.c: commented out the call to
9430         bind_textdomain_codeset(): it's premature.
9431         
9432         * lib/connpoint_line.c: a NULL point can be given to
9433         connpointline_adjust_count(), in case there's not really a clicked
9434         point.
9436         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
9437         #include order troubles. #included by lib/text.h, so there is no 
9438         impact outside lib/.
9439         * lib/properties.[ch]: added support for CONNPOINT_LINE and
9440         (nonvisible) TEXT properties.
9442         * objects/GRAFCET/action.c:
9443         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
9444         properties.
9445         
9446         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
9447         standard properties code). Grafted a dynamic number of connection
9448         points (heavily inspired from what Vergent does). This is the real
9449         fix for #55863.
9451         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
9453         * lib/fonts.c: some hardening (mostly g_assert())
9454 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
9456         * app/app_procs.c (app_init): added a call to
9457         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
9458         (UNICODE_WORK_IN_PROGRESS).
9459         
9460 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
9462         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
9464         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
9465         (fixes #55863) : some clean-ups in the handling of connection
9466         points. Now the total number of connection points is just a
9467         #define (the proper solution is to retrofit the GRAFCET Vergent's
9468         dynamic behaviour wrt connection points).
9469         
9470 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
9472         * app/app_procs.c (app_init): added a call to unicode_init() (only
9473         if HAVE_UNICODE, of course).
9475         * lib/charconv.c: simplified the code which detects the local
9476         charset. No need to use <langinfo.h>, libunicode already takes the
9477         burden of figuring that out. Also, if local charset is utf8, no
9478         conversion will take place.
9479         Exposed a way to get the current charset (similar to
9480         unicode_get_charset() but actually working, hopefully).
9482         * lib/charconv.h: Added a partial non-UTF8 implementation of
9483         unicode.h if !HAVE_UNICODE (actually, all the time for the
9484         moment). The UTF8 implementation is just macros on libunicode (use
9485         the functions prefixed by uni_, as defined by charconv.h, not
9486         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
9487         From now on, all strings which don't *need* to be ASCII should be
9488         utfchar *, not gchar *. Just include charconv.h, let it sort out
9489         the details (such as: "is libunicode available and enabled?") 
9491         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
9492         "API" instead of directly libunicode. Removed the now unnecessary
9493         speculative clustering of characters in encoding pages.
9495         * app/render_eps.c: made the local8->utf8 conversions dependent of
9496         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
9497         boundary will be when this WIP is done).
9499         * lib/dia_xml.c (data_point): fixed a format string typo.
9501         * po/POTFILES.in: added all C files from lib/ 
9502         
9503 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
9505         * app/disp_callbacks.c: make sure the objects' connected objects
9506         are updated when the objects' size changes after a keypress event
9507         (fixes #51222)
9509         * configure.in: added a big warning about the possible future
9510         non-optionality of --enable-unicode. 
9512         * TODO: removed entries which look like done ; added a few ones
9513         (Bugzilla "enhancement" bugs may be a better way to keep track of
9514         this)
9515         
9516 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
9518         * objects/UML/message.c: got rid of #55564 and of message_copy()
9519         by using more standard properties (are the message_state_*()
9520         functions still necessary ?)
9522 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
9524         * lib/plug-ins.c: 
9525         * objecs/custom/shape_info.c:
9526         * plug-ins/shape/shape-export.c:
9527         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
9528         use xmlChar instead of obsolete CHAR.
9530 2001-06-03  Hans Breuer  <hans@breuer.org>
9532         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
9533         * app/commands.c : give the right number of parameters
9534         to diagram_update_menu_sensitivity ()
9536         * app/preferences.c : do proper initialization for DiaPrefsData:
9537         render_bounding_boxes. It would be a real surprise if 'hidden'
9538         properties would have ever worked before.
9539         Don't try to access the widgets of hidden property, it does not
9540         have one.
9542         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
9543         it is defined in libdia, but initialized from dia app, which 
9544         otherwise gave nice start-up crashes.
9546         * lib/diagramdata.c : initialize the color for rendering bounding 
9547         boxes in the Dia range (0 .. 1.0)
9549         * lib/libdia.def : added *_bbox functions for export
9551         * lib/makefile.msc : added new sources
9553         * objects/custom/custom_object.c : use HAVE_UNISTD_H
9555 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
9557         * app/interface.c:
9558         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
9559         removes a translation of menus (in a place where there shouldn't
9560         have been), which gets rid of a waterfall of warnings if LANG!=C,
9561         and a fix to #55047.
9563 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
9565         * lib/charconv.c : added #include <errno.h>
9567         * app/dia_embedd.c : updated menus_get_item_from_path usage
9568         
9569 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
9571         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
9572         Added a special case for Symbol strings, so that they're not
9573         re-encoded using the LN encoding (we use the bare Adobe encoding
9574         instead).
9576         * objects/custom/custom_object.c: Now that #52912 is fixed,
9577         I could remove the ugly hack I wrote to squash the shape bounding box
9578         problem shown by Ben A. Hetland a few months ago, and fix it
9579         properly this time.
9580         
9581         * lib/text.c: enlarged a little the bounding box to account for
9582         the cursor in rightmost position.
9583         
9584         * lib/diagramdata.c: draw bounding boxes only if the relevant
9585         variable is set (as before), but also only if the rendere is
9586         interactive (ie, don't bother rendering bounding boxes on 
9587         Postscript...)
9588         Made the bounding box's line width a fixed value, 0.01
9589         
9590         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
9591         and assymmetric control beziers. Implemented ellipse_bbox().
9592         
9593         * Makefile.am: incantations to get po/dia.pot build, as suggested
9594         by Hubert in #55075.
9595         
9596         * shapes/network/computer.shape: typo fixed.
9597         * shapes/network/antenna.shape: fixed #55074 (antenna is now
9598         properly translucent, except for its base where it makes sense. It
9599         doesn't look that ugly anymore if transparent mode is on).
9601         * configure.in: --enable-unicode is now the default. This
9602         still currently affects only printing.
9603         
9604 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
9606         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
9607         The overshoot code is buggy, and the bounding boxes for polyshapes
9608         looks a bit cheezy. To be done ASAP.
9610 2001-05-26  James Henstridge  <james@daa.com.au>
9612         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
9613         This should clear up some of the build problems people have been
9614         having.
9616         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
9618 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
9620         * lib/Makefile.am:
9621         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
9622         box code (beginning with lines, polylines and polybeziers), into a
9623         more generic facility. While at it, a better shot at correctly
9624         computing the bounding box of a Bezieroid (should take care of
9625         #53424, #51233 and of course is part 1 of #52912).
9627         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
9628         into a hidden preference (set render_bounding_boxes in diarc).
9629         * app/preferences.[ch]: Added support for hidden preferences.
9631         * lib/geometry.[ch]: sprinkled with "const" modifiers.
9632         
9633         * lib/bezier_conn.[ch]:
9634         * lib/beziershape.[ch]:
9635         * lib/connection.[ch]:
9636         * lib/element.[ch]:
9637         * lib/poly_conn.[ch]:
9638         * lib/orth_conn.[ch]:
9639         * lib/neworth_conn.[ch]:
9640         * lib/polyshape.[ch]: adapted to take advantage of
9641         boundingbox.[ch] instead of relying on private (duplicate) code.
9643         * object/FS/flow.c:
9644         * object/GRAFCET/action.c:
9645         * objects/GRAFCET/condition.c:
9646         * objects/GRAFCET/vergent.c:
9647         * objects/GRAFCET/vector.c:
9648         * objects/SADT/annotation.c:
9649         * objects/SADT/arrow.c:
9650         * objects/ER/participation.c:
9651         * objects/UML/constraint.c:
9652         * objects/UML/implements.c:
9653         * objects/UML/lifeline.c:
9654         * objects/UML/message.c:
9655         * objects/UML/realizes.c:
9656         * objects/UML/generalization.c:
9657         * objects/UML/association.c:
9658         * objects/UML/dependency.c:
9659         * objects/FS/flow-ortho.c:
9660         * objects/network/bus.c:
9661         * objects/standard/arc.c:
9662         * objects/standard/bezier.c:
9663         * objects/standard/beziergon.c:
9664         * objects/standard/line.c:
9665         * objects/standard/polygon.c:
9666         * objects/standard/zigzagline.c:
9667         
9668         * objects/standard/polyline.c: Some *BBExtras structures changed
9669         names while moving to boundingbox.[ch]. A trivial mass-renaming.
9670         
9671 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
9673         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
9674         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
9676         * app/display.c (ddisplay_update_scrollbars): from Patrick's
9677         suggestion, remove the extra scrollable area (it was only visible
9678         to the scrollbars). This is experimental.
9679         
9680         * objects/custom/custom_object.c: If a shape's icon file doesn't 
9681         exist, warn and substitute a default icon, instead of crashing.
9682         (fixes #52913)
9683         
9684         * objects/network/network.c:
9685         * shapes/network/modularswitch.(shape|xpm) (NEW):
9686         * shapes/network/printer.(shape|xpm) (NEW):
9687         * shapes/network/genmonitor.(shape|xpm) (NEW):
9688         * shapes/network/computer.(shape|xpm) (NEW):
9689         * shapes/network/Makefile.am: four less objects, four more shapes.
9690         These were the last known RenderObjects. (phew !)
9692         * lib/Makefile.am:
9693         * lib/dummy_dep.h:
9694         * objects/sybase/Makefile.am: 
9695         * objects/network/Makefile.am: Removed the older Renderobjects
9696         from the build, and their infrastructure (not yet deleted,
9697         though).
9699         * shapes/network/sceadplug.shape:
9700         * shapes/network/antenna.shape:
9701         * shapes/network/modem.shape:
9702         * shapes/network/hub.shape:
9703         * shapes/network/rj45plug.shape:
9704         * shapes/sybase/client.shape:
9705         * shapes/sybase/dataserver.shape:
9706         * shapes/sybase/ltm.shape:
9707         * shapes/sybase/repserver.shape:
9708         * shapes/sybase/rsm.shape:
9709         * shapes/sybase/stableq.shape: Minor corrections (line widths were
9710         ten times too narrow).
9711         
9712 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
9714         * objects/network/network.c:
9715         * shapes/network/sceadplug.(shape|xpm) (NEW):
9716         * shapes/network/antenna.(shape|xpm) (NEW):
9717         * shapes/network/modem.(shape|xpm) (NEW):
9718         * shapes/network/Makefile.am: four less objects, four more shapes.
9719         
9720         * lib/Makefile.am:
9721         * lib/diagramdata.c:
9722         * lib/render.h:
9723         * lib/string_prerenderer.[ch] (NEW):
9724         Add a new renderer primitive, predraw_string() (does nothing, to be
9725         used as a hook to optimise the character encodings if needed). 
9726         Added a string pre-renderer, which can be viewed as a filter
9727         renderer (to route draw_string() to predraw_string() and ignore
9728         the rest, in a first rendering pass)
9729         
9730         * app/render_eps.c: Took advantage of the above to make wholly
9731         optimised Postscript encoding page(s), even (especially) with 
9732         non-latin1 code (HAVE_UNICODE must be true).
9734         (#53512 in fact is wholly resolved).
9735         
9736 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
9738         * lib/charconv.c: steps towards resolution of #53512 (inspired by
9739         Alexey Novodvorsky <aen@logic.ru>'s patch).
9741         * app/menus.c (dia_menu_signal_proxy): checked that the signal
9742         handler is not NULL before transferring control to it... (fixes #52836)
9744         * app/app_procs.c (app_init): removed non-constant initialiser
9745         (fixes #52950)
9747         * objects/custom/custom_object.c:
9748         * objects/custom/shape_info.[ch]:
9749         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
9750         <skh@mathstar.com>. This add support for a <svg:text> shape
9751         element, and some related style properties (font, font height, 
9752         alignment)
9754         * doc/custom_shapes: a precision about the meaning of case in a
9755         SVG path (closes #52364)
9757         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
9758         fixed by <drk@sgi.com>)
9759         
9760 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
9762         * objects/network/network.c:
9763         * shapes/network/Makefile.am:
9764         * shapes/network/hub.(shape|xpm) (NEW):
9765         * shapes/network/flash.(shape|xpm) (NEW):
9766         * shapes/network/rj45plug.(shape|xpm) (NEW):
9767         More shapes, less renderobjects.
9769 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
9770         
9771         * plug-ins/svg/render_svg.c: typo made exported ellipses
9772         corrupted (zero Y pseudo-radius).
9774         * objects/network/network.c:
9775         * objects/network/disc.c:
9776         * shapes/network/disc.(shape|xpm): Converted the first
9777         Renderobject into a shape. Normally, old diagrams should reload
9778         without problems (please check this against your diagrams). More
9779         flexibility should be gained that way. I intend to hunt and
9780         eradicate all renderobjects as I can commit cycles to that. 
9782         * objects/Makefile.am:
9783         * configure.in:
9784         * app/Makefile.am:
9785         * objects/sybase/sybase.c:
9786         * shapes/sybase/Makefile.am(NEW):
9787         * shapes/sybase/client.(xpm|shape) (NEW):
9788         * shapes/sybase/dataserver.(xpm|shape) (NEW):
9789         * shapes/sybase/ltm.(xpm|shape) (NEW):
9790         * shapes/sybase/repserver.(xpm|shape) (NEW):
9791         * shapes/sybase/rsm.(xpm|shape) (NEW):
9792         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
9793         renderobjects into shapes. The Sybase objects are now not compiled
9794         anymore, and ready to be nuked if nobody objects in the next few weeks.
9795         
9796         * app/commands.c:
9797         * app/diagram.[ch]:
9798         * app/disp_callbacks.c:
9799         * app/display.[ch]:
9800         * app/interface.[ch]:
9801         * app/menus.[ch]:
9802         * app/modify_tool.c:
9803         * app/preferences.[ch]:
9804         * app/recent_files.c:
9805         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
9806         a menu bar reflecting the popup menu, to each display window. This
9807         is optional (changing the preference currently doesn't affect
9808         already opened windows; a few other rough edges to cut).
9810         * plug-ins/wpg/wpg.c:
9811         * plug-ins/xfig/xfig-import.c:
9812         * plug-ins/python/pydia-property.c:
9813         * plug-ins/python/pydia-properties.c:
9814         * plug-ins/python/pydia-geometry.c:
9815         * plug-ins/pstricks/render_pstricks.c:
9816         * lib/arrows.c:
9817         * objects/EML/dbox.c:
9818         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
9819         #53054.
9821         * lib/ps-utf8.c: improved the clustering of alphabetic character
9822         definitions in custom encodings pages.
9823         
9824 2001-05-02  Hans Breuer  <hans@breuer.org>
9826         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
9827         of 'obj_bb' to PROP_TYPE_RECT
9829         * objects/custom/custom_object.c : take all quarks into account, 
9830         not only 4 as copy&paste suggests
9832         * objects/uml/objects.c : completed the implementation of the
9833         property api to avoid reading of totally bogus data. Removed
9834         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
9835         there was too much but too less ...
9836   
9837         The above changes removed all known crashes (mentioned below) 
9838         from the Property API. Property access is still incomplete though.
9840         * objects/flowchart/box.c :
9841         * objects/flowchart/diamond.c :
9842         * objects/flowchart/ellipse.c :
9843         * objects/flowchart/parallelogram.c :
9844         * objects/uml/classicon.c :
9845         * objects/uml/state.c : calculate number of quarks from quark array 
9846         size instead of using hardcoded values for consistence and to avoid 
9847         future bugs like the above
9848         
9849         * objects/eml/nlist.c : include <string.h> for strcmp()
9851         * lib/dia_xml.c : relax g_warning for values, which
9852         appear to be too small. There is nothing which prevents
9853         them while saving
9855         * plug-ins/python/pydia-geometry.c : changed stringifying of
9856         geometry objects accept BezPoint back to %f, which does not
9857         crash anymore, because all the data is intialized now and it
9858         simply is more readable than %e ...
9860         * plug-ins/python/python-startup.py : removed dependency
9861         to PyGtk, because it isn't required here and probably won't
9862         in i.e.: export filters.
9864         * plug-ins/python/gtkcons.py : create the gtkoutfile even
9865         if sys.stderr.fileno() isn't supported
9867         * app/makefile.msc : make version 0.88
9868         * plug-ins/makefile.msc : make version 0.88 an added new
9869         xfig files to build
9871 2001-05-11  James Henstridge  <james@daa.com.au>
9873         * NEWS: remember to add news items this time.
9875         * dia.spec: update spec file for 0.88 release.
9877         * configure.in: up version number to 0.88
9879         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
9880         preventing any of the useful python scripts from being
9881         distributed.
9883         * sheets/Makefile.am (sheet-translation-report): fix bustage I
9884         introduced in my fixups for the 0.87 release :(
9886 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9888         * plug-ins/xfig/xfig-import.c: Finally got groups working.
9890 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
9892         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
9893         group manipulation.
9895 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
9897         * lib/ps-utf8.[ch]:
9898         * lib/Makefile.am: fix makefile breakage which led to not
9899         including ps-utf8.[ch] in the released tarballs. 
9901 2001-05-09  James Henstridge  <james@daa.com.au>
9903         * Makefile.am (core-translation-report): dist scripts needed for
9904         this target, and change to $(srcdir) before running.
9906         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
9907         files aren't automatically included in the tarball by automake
9908         because they could be generated files.
9910         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
9912         * doc/en/Makefile.am (install-data-hook): fix up where graphics
9913         are installed.
9915         * configure.in: up version number to 0.87
9917         * plug-ins/python/*.py: no longer necessary to explicitly set
9918         sys.argv, as python.c does it for us now (like it should).
9920         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
9921         python plugin.
9923         * plug-ins/python/python-startup.py: startup script that imports
9924         all modules in $(datadir)/dia/python and ~/.dia/python.
9926         * plug-ins/python/python.c (dia_plugin_init): change so that it
9927         only runs the $(datadir)/dia/python-startup.py script.  Make sure
9928         that sys.argv and __main__.__file__ are set when calling the
9929         startup script.
9931         * plug-ins/python/Makefile.am: update makefile.  Make it install
9932         gtkcons.py plugin.  I haven't set any other plugins to install, as
9933         they look like they are mainly for debugging purposes.
9935         * configure.in: add tests to detect if python is available, so we
9936         can build the python plugin.  Only run if --with-python passed to
9937         configure.
9939 2001-05-08  James Henstridge  <james@daa.com.au>
9941         * acinclude.m4: add macros for detecting python.
9943         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
9944         at GNOME_APP_UI_SUBTREE entries.
9945         (menus_add_path): function to add a menu item to the menubars.
9946         Uses a hash table to keep track of extra menu items it adds.  Also
9947         notifies the item factory about the entries so that accels can be
9948         saved for them.
9949         (menus_add_path): implement gtk only version.
9950         (menus_init): use menus_add_path() to add the menu.
9951         (plugin_callback): simplify.
9953 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
9955         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
9956         
9957 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9959         * plug-ins/xfig/xfig-export.c: 
9960         * plug-ins/xfig/xfig-common.c: 
9961         * plug-ins/xfig/xfig-import.c: 
9962         * plug-ins/xfig/xfig.c: 
9963         * plug-ins/xfig/xfig.h: 
9964         * app/Makefile.am: Added support for exporting to Fig format
9965         (except splits, which are less powerful in Fig).  Some refactoring
9966         along the way.
9968 2001-05-02  Hans Breuer  <hans@breuer.org>
9970         * plug-ins/python/debug_objects.py : added another
9971         test to get massive crashes from the Property API due
9972         to unintialized data.
9974         * app/menu.c : the callback_action wasn't incremented
9975         (should have checked my last optimization). Now more
9976         than one plug-in callback is supported again.
9978         * plug-ins/python/pydia-geometry.c : avoid crashes from
9979         glib, when trying to g_strdup_printf unintialized floats.
9981         * plug-ins/python/pydia-property.c : avoid crashes from
9982         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
9984 2001-05-01  Hans Breuer  <hans@breuer.org>
9986         * objects/makefile.msc : added eml
9987         * objects/eml/instantiation.c : initialize 'inst' pointer
9988         before using, zero initialization for objects
9989         * objects/eml/interaction-ortho.c :
9990         * objects/eml/interaction.c : zero initialization for objects
9992         * app/menus.c : removed Gimp mru stuff which slipped in at
9993         2000-08-15, was never activated and will never be needed, 
9994         because of Steffens recent file list patch added at 2001-01-05.
9996         * objects/eml/*.c : some more zero initialization of objects
9997         to avoid infinite (uninitialized) bounding boxes
9999         Implemented a callback api which allows plug-ins to register
10000         menu call backs. Dia for Gnome should compile, but will need 
10001         some extra tweaking to make it work because I can't test it.
10003         * plug-ins/python/pydia-error.h :
10004         * plug-ins/python/pydia-render.c : moved Pxthon function return 
10005         value handling from pydia-render.c to pydia-error.h, to make it
10006         usable for
10007         * plug-ins/python/diamodule.c : implement callback function
10008         registration from and relaying to Python code
10010         * app/menus.c : register and use plug-in menu callbacks
10012         * lib/filter.[hc] : implement filter_register_callback() and
10013         filter_get_callbacks() for the above
10014         * lib/libdia.def : export them
10016         * plug-ins/python/debug_objects.py (new file): 
10017         sample using the above
10019 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
10021         * plug-ins/shape/shape-export.c (new_shape_renderer): 
10022         The name of a shape is now taken from the dir, to conform with
10023         standard naming.
10025 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
10027         * app/properties.c (properties_show): Added title containing
10028         object type, plus (hopefully) fix of the ghost properties dialog.
10030 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
10032         * app/display.c: remove the display idle handler in case we
10033         destroy the ddisplay (caused crashes in ddd, probably random
10034         crashes elsewhere).
10036         * autogen.sh: 
10037         * configure.in:
10038         * Makefile.am: hack around gettext-0.10.36's new "features".
10039         
10040         * lib/properties.[ch]: added new function object_copy_props().
10041         Added new property type PROP_TYPE_ENDPOINTS
10043         * lib/connection.h: added support for load/saving through the
10044         properties interface.
10046         * lib/object.[ch]: object_load/save/copy_using_properties()
10047         support functions (code factorisations).
10048         
10049         * objects/GRAFCET/boolequation.c: check against null values in
10050         boolequation_set_value() and boolequation_destroy().
10052         * objects/GRAFCET/transition.c: Converted from lazyprops to
10053         standard properties. 31% less (x86) code !
10055         * objects/GRAFCET/condition.c: also converted from lazyprops to
10056         standard properties. Also killed lots of code.
10057         
10058 2001-04-13  Hans Breuer  <hans@breuer.org>
10060         * plug-ins/wmf/wmf.cpp : changed text conversion from
10061         g_utf8_utf16 to g_convert usage. The latter function is already
10062         available in tml's last "official" Gtk+ version (2000-12-26).
10063         This change allows to use recent Dia with either the official
10064         version or the latest cvs "gtk-1-3-win32-production"-branch.
10066 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10068         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
10069         * app/disp_callbacks.c:
10070         - Allow submenus in DiaMenus.
10071         - Don't require DiaMenu.title to be non-null (so that
10072           submenus aren't required to have titles)
10074         * objects/FS/function.c:
10075         - object menu now has submenus, an almost complete list of
10076           standard-basis verbs, and a start on nouns.
10077         - box padding, dash length, and other visual attributes are
10078           scaled by the font size... eventually font height will be
10079           a function property.
10080         - draw functions with smaller font to make initial view hold
10081           a reasonable number of functions.
10082         
10083 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
10085         * sheets/ER.sheet:
10086         * sheets/chronogram.sheet:
10087         * sheets/jigsaw.sheet:
10088         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
10089         Wieers <dag@wieers.com>
10091 2001-04-13  Hans Breuer  <hans@breuer.org>
10093         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
10094         to ensure that all the deinitialization is only done once. Fixes
10095         recent app exit crash on win32
10097         * lib/dia_xml.c : provide isinf() replacement for msc which does only
10098         have _finite()
10100         * lib/libdia.def : updated
10102         * objects/makefile.msc : added wanlink.c 
10104         * objects/network/wanlink.c : added M_PI_2 definition for poor
10105         platforms which don't have one
10107         * objects/standard/arc.c :
10108         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
10109         initialized which led to rather huge bounding boxes (try Ctrl^A on
10110         diagrams with Arcs or ZigZagLines).
10111         * objects/*/*.c : to avoid further bugs like the above changed all
10112         object initializations to g_malloc0 or g_new0
10115 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
10117         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
10118         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
10120         * objects/UML/class.c: 
10121         * objects/UML/usecase.c:
10122         * objects/UML/large_package.c:
10123         * objects/UML/message.c:
10124         * objects/UML/object.c:
10125         * objects/UML/lifeline.c:
10126         * objects/FS/flow.c:
10127         * objects/FS/flow-ortho.c:
10128         * objects/FS/function.c:
10129         * objects/custom/custom_object.c:
10130         * objects/GRAFCET/vergent.c:
10131         * objects/chronogram/chronoref.c:
10132         * objects/SADT/box.c:
10133         * objects/SADT/annotation.c:
10134         * plug-ins/dxf/dxf-import.c:
10135         * plug-ins/xfig/xfig-import.c:
10136         * plug-ins/wpg/wpg.c:
10137         * app/command.c:
10138         * app/app_procs.c:
10139         * app/display.c: /* certainly more WIP than dead code there */
10140         Unused variables, unused static function definitions, forgotten or
10141         incomplete prototypes added or fixed, lack of const or unwanted const,
10142         etc. (mostly clean-ups of leftovers of the pre-properties era).
10143         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
10144         please check these.
10146         * app/lineprops_area.c: More of the same. Missing prototypes
10147         added, and functions unused outside made static.
10149         * app/recent_files.c:
10150         * app/properties.c:
10151         * app/defaults.c: some variables are used only when doing a GNOME
10152         build.
10153         
10154         * app/magnify.c: missing #include <stdlib.h>.
10156         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
10158         These are a lot of clean-ups (by the way, this compiles and runs
10159         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
10160         for DEAD_CODE, and if it's yours, judge it.
10161         
10162 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
10164         * plug-ins/dxf-import.c: some progress with the arcs; still some
10165         clean-ups to do and line width scaling issues to figure out.
10167         * objects/standard/arc.c: start_point and end_point properties
10168         (duplicated from standard/line.c)
10170         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
10171         code there.
10172         
10173 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
10175         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
10176         preliminary support for arcs (doesn't work). Circles and ellipses are
10177         now transparent. Coordinate and width scaling are now a common 
10178         static constant (probably before morphing into a preference).
10179         
10180         * sheet/checktrans.py: improved error reporting. Made checktrans
10181         count lack of <name xml:lang="code"> as a lack of translation for
10182         language "code" (no, it's not a plot to bring down other
10183         language's scores !)
10184         
10185         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
10186         in the header, and have <name xml:lang="fr"> components.
10187         
10188 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
10190         * objects/custom/custom_object.c: temporary hack to fix the shape
10191         bounding box reported by Ben A. Hetland. Proper fix isn't .87
10192         material, see bugzilla #52912.
10194 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10196         * objects/standard/image.c (get_directory): Now uses
10197         G_SEPARATOR_CHAR_S instead of "/"
10199         * sheets/network.sheet: 
10200         * sheets/Logic.sheet:
10201         * sheets/Flowchart.sheet:
10202         * sheets/Electric.sheet:
10203         * sheets/Circuit.sheet:
10204         * sheets/ER.sheet:
10205         * sheets/Pneumatic.sheet:
10206         * sheets/SDL.sheet:
10207         * sheets/UML.sheet:
10208         * sheets/GRAFCET.sheet:
10209         * sheets/MSE.sheet:
10210         * sheets/chronogram.sheet:
10211         * sheets/civil.sheet:
10212         * sheets/network.sheet:
10213         Danish translations.
10214         
10215         * objects/standard/image.c (get_directory): Changed get_directory
10216         to use g_dirname to find the directory part.
10218 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
10220         * sheets/ER.sheet:
10221         * sheets/Electric.sheet:
10222         * sheets/Flowchart.sheet:
10223         * sheets/Logic.sheet:
10224         * sheets/network.sheet: More Dutch translations from Dag Wieers.
10226 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10228         * sheets/checktrans.py: now emits a warning when two descriptions
10229         for a single language code are found.
10231         * Makefile.am:
10232         * sheets/Makefile.am: -translation-reports now also depend on their
10233         checktrans.py
10234         
10235 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10237         * sheets/Circuit.sheet:
10238         * sheets/Contact.sheet:
10239         * sheets/Logic.sheet:
10240         * sheets/chronogram.sheet:
10241         * sheets/sybase.sheet: 
10242         Dutch translations from Dag Wieers <dag@wieers.com>
10244 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10246         * po-checktrans.py: Now shows the detailed counts alongside the
10247         percentage of translations.
10248         
10249 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
10251         * Makefile.am:
10252         * po-checktrans (NEW):
10253         * po-checktrans.py (NEW): builds core-translation-report:
10254         percentages of core (gettext) translations done [Not placed into
10255         po/ where that should belong, because of integration fear^Wissues
10256         with gettextize]. 
10258         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
10259         sheets/sheet-translation-report probably ought to be copied on the 
10260         user's /usr/share/doc/dia (or equivalent) directory.
10262         * sheets/Makefile.am: sheet-translation-report now a simple
10263         EXTRA_DIST; make install won't install it by default. 
10264         
10265 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
10267         * app/preferences.c: changed the default grid colour to something
10268         less intrusive. 
10270         * shapes/SDL/*.shape:
10271         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
10272         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
10273         DIA FILES (well, for files using SDL), see the mailing list
10274         archive "SDL (ab)using the global shape namespace" for a script to
10275         do this conversion.
10277         * sheets/SDL.sheet: translated into French
10278         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
10279         
10280 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
10282         * lib/dia_xml.c: made data_point() more paranoid
10284         * sheets/Makefile.am:
10285         * sheets/checktrans (NEW):
10286         * sheets/checktrans.py: Made checktrans handle more gracefully the
10287         absence of python and python-xml packages, and made the error
10288         message more helpful.
10289         
10290 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10292         * lib/render_object.c (new_render_object): Made initial handles
10293         behave like on most other objects.
10295         * app/load_save.c (read_objects): Fixed premature free'ing ofr
10296         typestr causing garbage.
10298 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10300         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
10301         accouting for handle ordering through copy and save. (#51479)
10303 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
10305         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
10307 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
10309         * sheets/Circuit.sheet
10310         * sheets/UML.sheet
10311         * sheets/network.sheet: Updated German translations
10312         
10313 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10314         * lib/arrows.[ch]:
10315         * lib/widgets.c:
10316         * app/lineprops_area.c: The return of the revenge of the arrow
10317         heads. Now all types covered by ISO 10303-201 should be covered.
10318         
10319 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10321         * sheets/Flowchart.sheet: translations in probably Hungarian were
10322         a victim of cut-n-paste from the German one. Fixed (hopefully).
10323         * sheet/UML.sheet: translation in probably Norwegian was a victim
10324         of cut-n-paste from the French one. Fixed (hopefully).
10325         * sheets/Logic.sheet: French translation not tagged with
10326         xml:lang="fr".
10327         
10328         * sheets/checktrans.py:
10329         * sheets/Makefile.am: new file, sheet-translation-report, to be
10330         installed along the sheets, show how much of them has been
10331         translated into which language (I wish the result was prettier...)
10333         * po/README: most translators don't read this file, but anyway...
10335         * sheets/.cvsignore:
10336         * objects/network/.cvsignore: the usual negotiation with CVS.
10338 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10340         * sheets/*.sheet: French translations
10342 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
10344         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
10346         ** objects/network/network.c:
10347         ** objects/network/wanlink.c:
10348         ** objects/network/pixmaps/wanlink.c:
10349         ** sheets/network.sheet:
10350         ** objects/network/Makefile.am: a better object to use instead of
10351         the older WAN Connection.
10352         
10353         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
10355         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
10356         name clash 
10358         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
10359         Arc; kept the C file name (because CVS wouldn't like it), and
10360         still registering the older object name (but advertising the newer
10361         one in sheets/GRAFCET.sheet).   
10363 2001-03-24  Hans Breuer  <hans@breuer.org>
10365         * app/dia.def : some plug-ins (currently only python, xfig) are using 
10366         functions from the dia executable. To get them working these functions 
10367         need to be explicit exported on win32. IMO the much cleaner way would
10368         be to move these functions to libdia, but that would require some
10369         long term restructuring ...
10371         * lib/libdia.def : updated
10373         * plug-ins/makefile.msc : build xfig plug-in
10375 2001-03-24  Hans Breuer  <hans@breuer.org>
10377         * app/diagram.c : g_strdup (dia->filename) because it will be
10378         g_free ()d
10380         * app/display.c : set ddisp->renderer to NULL after destruction.
10381         This may solve or help to identify erroneous access to it after
10382         destruction.
10384         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
10385         get 'umlauts' working
10387 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
10389         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
10390         were reversed... (look for the patch, and drink a beer to my
10391         stupidity)      
10392         
10393 2001-03-23  Hans Breuer  <hans@breuer.org>
10395         * app/app_procs.c : don't g_error () if the config directory
10396         can't be created (at least not on windoze) because it's quite
10397         common that the user don't read or understand the FAQ ...
10399         * app/cursor.c : use ddisplay_active () instead of active_display
10400         from app/display.c
10402         * app/display.[hc] : made active_display var static and provide
10403         an accessor funtion ddisplay_active_diagram ()
10405         * app/dia-props.c : don't store the active_diagram, but ask
10406         for it everytime it needed.
10408         * lib/properties.h : #include "intl.h"
10410         * lib/makefile.msc : need to take care of inclusion order to
10411         avoid clashes with gtk+2.0's gdk-pixbuf
10413         * objects/makefile.msc : added uml/stereotype.c to build
10415 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10417         * **/*.c: Added config.h to the remaining .c files, and changed
10418         all to be <config.h>.
10420 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
10422         * lib/arrows.c
10423         * lib/arrows.h
10424         * lib/widgets.c
10425         * app/lineprops_area.c: added new arrow types with double
10426         heads
10427         
10428 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
10430         * shapes/Civil/civil_gas_bottle.xpm
10431         * shapes/Civil/civil_gas_bottle.shape
10432         * sheets/civil.sheet
10433         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
10434         Battermann
10435         
10436 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
10438         * objects/custom/shape_info.c (load_shape_info): 
10439         * objects/custom/shape_info.h: 
10440         * objects/custom/custom_object.c (custom_update_data): 
10441         Better support for text outside the box -- new attributes 'resize'
10442         and 'align' for text entity.  Align not fully supported yet.
10444         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
10446 2001-03-20  James Henstridge  <james@daa.com.au>
10448         * app/interface.c (display_data_received_callback): comment out
10449         status message.
10451 2001-03-19  James Henstridge  <james@daa.com.au>
10453         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
10455         * objects/UML/realizes.c: similar here.
10457         * objects/UML/implements.c: similar here.
10459         * objects/UML/component.c: similar here.
10461         * objects/UML/generalization.c: same here.
10463         * objects/UML/dependency.c: allow NULL for ->name and
10464         ->stereotype.  This fixes a number of problems in loading saved
10465         files.
10467         * lib/properties.c: various changes so that NULL string properties
10468         should work.
10470         * objects/standard/line.c (line_update_data):
10471         line->extra.start_long and line->extra.end_long were not being
10472         initialised.  This fixes potential problems with the bounding box
10473         of "Standard - Line" objects.
10475 2001-03-19  Hans Breuer  <hans@breuer.org>
10477         * app/commands.c : added win32 specific code to display a html
10478         file. #include "text.h" for text_delete_all prototype.
10480         * app/dia.ico :
10481         * app/dia.rc : (new) to give Dia win32 an icon
10483         * app/win32print.[ch] : new files to support direct postscript
10484         file printing on win32. Beware: it *requires* a ps-printer!
10486         * app/paginate_psprint.c : disable the signal code for win32 build
10487         and added small specific changes to support win32print.
10489         * app/makefile.msc : added win32print and linking shell32.lib
10491         * lib/libdia.def : updated
10493 2001-03-18  Kevin Breit <battery841@mediaone.net>
10495         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
10496           Help tabs.
10498 2001-03-17  James Henstridge  <james@daa.com.au>
10500         * app/paginate_psprint.c (diagram_print_ps): add code that traps
10501         SIGPIPEs during printing.  This gets rid of a number of crashes
10502         caused by printing (eg. typing an incorrect print command).
10504         * dia.spec (%install): gzip the manpage.
10506         * lib/beziershape.c (beziershape_save): fix off by one error in
10507         beziershape save code, which was adding an extra segment to the
10508         object on save.
10510         * app/menus.c: add a separator in the gnome version of the help
10511         menu.
10513         * app/app_procs.c (app_init): add a --nosplash argument which
10514         disables the splash screen.
10516         * app/dia_embedd.c (main): don't leave the splash screen open for
10517         embeddable component.
10519         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
10520         didn't seem to be showing the splash screen like expected, so I
10521         have replaced it with some code that calls gtk_main() until the
10522         first exposure of the window.
10524 2001-03-16  James Henstridge  <james@daa.com.au>
10526         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
10528         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
10529         stereotype.h
10531         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
10533         * app/Makefile.am (dia_core_files): remove splash.h from file
10534         list, as it doesn't exist.
10536         * doc/en/Makefile.am (uninstall-local): remove the docdir on
10537         uninstall.
10539         * doc/Makefile.am (uninstall-local): target to remove the C
10540         symlink.
10542         * dia.spec (%files): include the documentation in the package.
10544         * app/menus.c (toolbox_menu_items): add menu item for manual,
10545         which calls help_manual_callback.
10547         * app/commands.c (help_manual_callback): find help file and load
10548         netscape to view it.
10550         * app/commands.h: add prototype for help_manual_callback()
10552         * doc/Makefile.am (helpdir): similar here.
10554         * doc/en/Makefile.am (helpdir): make the helpdir
10555         $(pkgdatadir)/help/en in the non gnome case.
10557         * configure.in (HAVE_GNOME): add conditional.
10559         * doc/en/Makefile.am: handle the graphics in a more general way,
10560         so it is easier for Kevin to add them to the build (just add them
10561         to the GRAPHICS var).
10563         * app/Makefile.am (embed_extra_print_files): make the case of
10564         building without gnome-print support but with bonobo support work.
10565         dia-embedd needs to be include the gnome-print
10567 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
10569         * samples/Makefile.am: included all samples in the distribution....
10570         
10571 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
10573         * configure.in: removed premature test for DPS. Added -*- m4 -*-
10574         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
10575         vanished, removed it from ALL_LINGUAS.
10577         * lib/charconv.[ch] (NEW): a very small wrapper around
10578         unicode_iconv to convert strings between utf8 and local charset
10579         (actually, ISO-8859-1, though one can do
10580         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
10582         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
10583         library to help build Postscript streams which use as many custom
10584         font encodings as necessary to correctly represent all characters
10585         used (testing from users with non-latin1 and/or more than 256
10586         characters in routine use *very* welcome).
10588         * app/Makefile.am, lib/Makefile.am: integrated these into the
10589         build process.
10591         * shapes/Logic/.cvsignore (NEW): .cvsignore
10592         
10593         * app/render_eps.h: forwarded some changes Lars forgot to include.
10594         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
10595         doesn't yet build.
10597 2001-03-08  Kevin Breit <battery841@mediaone.net>
10599         * doc/en/home_network.png: Added file.
10600         * doc/en/line_props.png: Added file.
10601         * doc/en/usage-objects.sgml: Added two graphics to file.
10602         * doc/en/usage-quickstart.sgml: Added one graphic to file.
10604 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
10606         * app/grid.h: Place comment around text after #endif.
10607         * lib/bezier_conn.c: #include <string.h>.
10608         * lib/beziershape.c: #include <string.h>.
10609         * lib/connpoint_line.h: Comment after #endif.
10610         * lib/dia_dirs.c: #include <string.h>.
10611         * lib/element.c: Same.
10612         * lib/lazyprops.c: #include <config.h> and "intl.h".
10613         * lib/lazyprops.h: Comment out text after #endif.
10614         * lib/neworth_conn.c: #include <string.h>
10615         * lib/orth_conn.c: Same here.
10616         * lib/poly_conn.c: Here too.
10617         * lib/polyshape.c: And here.
10618         * lib/properties.c: Remove #include "intl.h" from here and add
10619         an array of static strings to work around bug in gettext that
10620         makes it miss strings in a #define body.
10621         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
10622         * objects/GRAFCET/boolequation.h: Same here.
10623         * objects/chronogram/chronoline_event.h: Add prototype for
10624         destroy_cle().
10625         
10626 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10628         * objects/FS/function.c: 
10629         * objects/FS/flow.c: 
10630         * objects/FS/flow-ortho.c: 
10631         Updated to use properties.
10633 2001-03-03  James Henstridge  <james@daa.com.au>
10635         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
10636         button labels when creating them.
10638 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10640         * objects/UML/actor.c
10641         * objects/UML/realizes.c 
10642         * objects/UML/implements.c 
10643         * objects/UML/generalization.c 
10644         * objects/UML/dependency.c 
10645         * objects/UML/constraint.c
10646         Updated to use properties.
10647         
10648         * objects/UML/stereotype.c 
10649         * objects/UML/stereotype.h
10650         Generalized to any kind of bracketting.
10651         
10652 2001-02-28  James Henstridge  <james@daa.com.au>
10654         * app/menus.c: add help entry to the help menu.  Need to get this
10655         working for the non GNOME case as well (maybe put help under
10656         $(datadir)/dia/help for non GNOME?)
10658         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
10660         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
10661         this element so that we get a meaningful filename in the html
10662         translation.
10664         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
10665         documentation.
10667         * configure.in (DB2HTML): add a check for the db2html program, and
10668         set an automake conditional if it is found.
10670         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
10671         and descend into doc/ directory while building.
10673         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
10674         we need more complex rules for building the docs.
10676 2001-02-25  Hans Breuer  <hans@breuer.org>
10678         * config.h.win32 : some cleanup
10680         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
10681         are deprecated since glib-1.3.2. Sorry needing to use them
10682         contionally, but there is no glib-1.2 for win32
10684         * app/recent_files.c : use g_strescape (params) conditionally
10686         * lib/connection.c : include string.h for memcpy
10688         * lib/geometry.h : added some stuff for compatibility with
10689         msvc, which previously came from included config.h
10691         * lib/libdia.def : updated
10693         * objects/makefile.msc : updated
10695         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
10696         'extra' used without having been initialized
10698         * objects/network/bus.c(658) : initialize 'extra'
10700         * plug-ins/makefile.msc : updated
10702         * plug-ins/cgm/cgm.c :
10703         * plug-ins/pstricks/render_pstricks.c : 
10704         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
10705         huge memory leaks.
10707         * plug-ins/python/python.c : use HAVE_DIRENT_H
10709 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10711         * lib/connection.c (connection_update_boundingbox): 
10712         Made the BB shrink on right and lower sides, too.
10714 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
10716         * */*.c: #incude <config.h> at the top.
10717         * */*.h: Remove include of "config.h" since it should only
10718         be included in .c files and at the very top for things to
10719         work.
10720         * sheets/*.sheet: Updated Norwegian translations.
10721         
10722 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10724         * objects/UML/small_package.c: 
10725         * objects/UML/class.c: 
10726         * objects/UML/node.c: 
10727         * objects/UML/usecase.c:
10728         * objects/UML/lifeline.c: 
10729         * objects/UML/message.c:
10730         Various cleanup of properties in particular.  Now much more use of
10731         standard properties.
10733         * lib/diagramdata.c (layer_render): Visualization of bounding
10734         boxes, for debugging purpoises.
10736 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
10738         * lib/geometry.h:
10739         * lib/connection.[ch]:
10740         * lib/poly_conn.[ch]:
10741         * lib/polyshape.[ch]:
10742         * lib/bezier_conn.[ch]:
10743         * lib/beziershape.[ch]:
10744         * lib/orth_conn.[ch]:
10745         * lib/neworth_conn.[ch]:
10746         * lib/element.[ch]: Changed a bit the _update_boundingbox()
10747         interface. Now the parent elements have an extra_spacing
10748         structure, which child objects just need to fill, to take care of
10749         most arrow & line width extra space needs.
10751         * objects/**/*.c: updated all objects to the new interface.
10752         While at it, killed all instances of (Object *) downcasts (phew !)
10754         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
10755         doesn't speak about.
10756         
10757 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10759         * sheets/Logic.sheet: New sheet for Logic symbols.
10761 2001-02-21  James Henstridge  <james@daa.com.au>
10763         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
10764         widget by its path name.  Walks the GnomeUIInfo heirachy rather
10765         than widget tree, compares untranslated label names and ignores
10766         underscores in the labels.
10767         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
10768         lookups are not dependent on the current locale, as with
10769         gnome_app_find_menu_pos.
10771         * acconfig.h: guard against multiple inclusion of config.h.
10773         * app/select.c (select_style_callback): simply set the selection
10774         style to the value of action.
10776         * app/menus.c (menus_init): simplify the item factory based menu
10777         code a bit.  It looks like it was using some code cut and pasted
10778         from the gimp, which looked a bit unnecessary.  Things work fine
10779         without it.
10780         (selectmenu): set the action to the type of selection mode
10781         requested.
10782         (display_menu_items): use the symbolic enumeration values for the
10783         action field.
10785         * app/plugin-manager.c: 
10786         * app/plugin-manager.h: 
10787         * app/filedlg.c:
10788         * app/filedlg.h: 
10789         * app/select.c:
10790         * app/select.h: change prototypes.
10792         * app/commands.c: update all callback prototypes, and get rid of
10793         some #ifdef GNOME's.
10795         * app/commands.h: change function prototypes.
10797         * app/dia_embedd.c (save_fn):
10798         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
10800         * app/menus.c (menus_init): for gnome menus, use
10801         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
10802         structure that proxies the callbacks to have the same signature as
10803         GtkItemFactory type 1 callbacks.
10804         (menus_init): for GTK menus, change from callback type 2 to type
10805         1.
10806         (display_menu_items): add back tearoffs.  I don't know who removed
10807         these for the gtk menu case.
10809 2001-02-20  Kevin Breit <battery841@mediaone.net>
10811         * doc/en/usage-objects-special.sgml: Fixed a few of the special
10812         object descriptions.  More to come in the next few days.
10814 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
10816         * app/render_eps.c: Fixed for internationalized floating point
10817         output. 
10819         * objects/UML/note.c: Fixed properties -- was missing
10820         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
10821         position. 
10823 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
10825         * plug-ins/xfig/xfig-import.c: 
10826         File added importing xfig files.  Still very rough, but good
10827         enough to let others hack on it.
10829 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
10831         * app/interface.c:
10832         * app/linewidth_area.c:
10833         * lib/lazyprops.c:
10834         * lib/properties.c:
10835         * lib/widgets.c:
10836         * objects/ER/attribute.c:
10837         * objects/ER/entity.c:
10838         * objects/ER/relationship.c:
10839         * objects/custom/custom_object.c:
10840         * objects/flowchart/box.c:
10841         * objects/flowchart/diamond.c:
10842         * objects/flowchart/ellipse.c:
10843         * objects/flowchart/parallelogram.c:
10844         * objects/standard/box.c:
10845         * objects/standard/textobj.c: per Vlad Harchev's request, made
10846         page sizes of gtk_adjustments different than their step sizes.
10847         When sensible values of page size weren't found (overwhelming
10848         majority of cases), page sizes were set to 10.0 * respective step
10849         size.   
10851 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
10853         * objects/network/hub.c: 
10854         Patch from Hubert Figuiere applied, adding connection points.
10856 2001-02-02  James Henstridge  <james@daa.com.au>
10858         * app/display.c (new_display): set update id to 0 here.
10859         (ddisplay_update_handler): rename from ddisplay_flush, and set
10860         update_id to 0 at end of processing.
10861         (ddisplay_flush): new implementation that simply sets an idle
10862         handler to perform the actual drawing.
10864         * app/display.h: add structure member to hold the redraw idle
10865         handler id.
10867 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10869         * objects/standard/ellipse.c (ellipse_copy): 
10870         * objects/standard/zigzagline.c (zigzagline_copy): 
10871         Fix of copying provided by Martin Hawlisch.
10873 2001-01-23  Kevin Breit <battery841@mediaone.net>
10875         * doc/en/graphics/: added directory
10877         * doc/en/graphics/greendots.png: added file
10879         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
10880         release.
10882 2001-01-23  Kevin Breit <battery841@mediaone.net>
10884         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
10885                         thanks to John Fleck!
10887 2001-01-21  Kevin Breit <battery841@mediaone.net>
10889         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
10891 2001-01-12  Michael Meeks  <michael@helixcode.com>
10893         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
10894         so our POA gets setup properly.
10896         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
10897         things we g_malloc.
10899         * configure.in: Use bonobox_print.
10901         * app/dia_embedd.c (embeddable_factory): add print interface.
10902         (object_print): impl.
10904 2001-01-11  Michael Meeks  <michael@helixcode.com>
10906         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
10907         (load_fn, save_fn): impl.
10908         (view_factory): hide modified status bar, & use activate fn.
10909         (refresh_view): force redraws of the views.
10910         (view_show_hide): split from
10911         (dia_view_activate): here.
10913         * app/diagram.c (diagram_load_into): split from diagram_load.
10914         (new_diagram): simplify bu splittin stuff into
10915         (diagram_init): here.
10917 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
10919         * shapes/jigsaw/*.shape: replaced #000000 with foreground
10920         and #ffffff with background
10921         
10922 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
10924         *configure.in: GTK+-build was broken due to missing
10925         have_bonobo=no
10926         
10927 2001-01-06  Michael Meeks  <michael@helixcode.com>
10929         * app/dia_embedd.c (main): add running context support.
10930         (dia_embeddable_destroy): remove old running object counting.
10931         (embeddable_factory): ditto.
10932         (view_factory): comment out menu path hiding.
10934         * lib/sheet.c (load_register_sheet): use free to free
10935         stuff from libxml not g_free.
10937         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
10939         * configure.in: remove USE_OAF checks, check for a precice
10940         Bonobo version >= 0.31, revamp bits.
10942         * app/dia_embedd.c (init_server_factory): upd.
10943         (init_dia_factory): remove OAF conditionals, everything uses
10944         oaf now.
10946         * app/GNOME_Dia.oafinfo: rename OAFIIDs
10948         * app/Makefile.am: remove ancient gnorba code.
10949         rename dia.oafinfo to GNOME_Dia.oafinfo
10951 2001-01-07  Hans Breuer <Hans@Breuer.Org>
10953         * config.h.win32
10954         * install.win32
10955         * readme.win32 : some more files required or useful to build 
10956         Dia on win32
10958         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
10959         fill_bezier implementation, boundary drawing in fill mode, etc.
10960         Next one complaining gets the source, uncommented ...
10962         * shapes/network/router-symbol.xpm 
10963         * shapes/network/switch-atm-symbol.xpm 
10964         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
10965         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
10966         the files as XPMs. Maybe the X versions of these functions are more
10967         tolerant ...
10969 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
10971         * plug-ins/python/Makefile.am: added libart path
10973         * plug-ins/python/python.c: added dirent.h
10975         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
10976         
10977 2001-01-06  Hans Breuer <Hans@Breuer.Org>
10979         * objects/uml/actor.c
10980         * objects/uml/branch.c
10981         * objects/uml/class.c
10982         * objects/uml/classicon.c
10983         * objects/uml/component.c
10984         * objects/uml/large_package.c
10985         * objects/uml/node.c
10986         * objects/uml/note.c
10987         * objects/uml/object.c
10988         * objects/uml/small_package.c
10989         * objects/uml/state.c
10990         * objects/uml/usecase.c : started to implement the generic property
10991         interface for the uml objects. Would appreciate some help on how
10992         to implement properties which are list of properties themselves,
10993         e.g. member functions and their parameters of UMLClass.
10995 2001-01-06  Hans Breuer <Hans@Breuer.Org>
10997         * plug-ins/python/diamodule.c : finally ported to win32.
10998         Added new objects and implemented register_export function.
11000         * plug-ins/python/pydia-object.h
11001         * plug-ins/python/pydia-display.c
11002         * plug-ins/python/pydia-handle.c
11003         PyObject_HEAD_INIT needs some tweakink on win32. Done in
11004         pydia-object.h; others files simply using it.
11006         * plug-ins/python/pydia-layer.c : reflect 
11007         layer_find_closest_connection(_)point renaming
11009         * plug-ins/python/pydia-object.c : add property properties.
11010         Also change bounding_box to DiaRectangle.
11012         * plug-ins/python/python.c : extended error reporting; use
11013         all *.py files from Dia's plug-in dir instead of hardcoded
11014         test.py. This sollution should be fine with Win32, but on
11015         Unix it may need some tweaking (dunno) ...
11017         * plug-ins/python/export-object.py
11018         * plug-ins/python/export-render.py : test and documentation 
11019         implementations for export filter implementations in Python
11021         * plug-ins/python/pydia-color.[hc]
11022         * plug-ins/python/pydia-diagramdata.[hc]
11023         * plug-ins/python/pydia-error.[hc]
11024         * plug-ins/python/pydia-export.[hc]
11025         * plug-ins/python/pydia-font.[hc]
11026         * plug-ins/python/pydia-geometry.[hc]
11027         * plug-ins/python/pydia-image.[hc]
11028         * plug-ins/python/pydia-properties.[hc]
11029         * plug-ins/python/pydia-property.c
11030         * plug-ins/python/pydia-render.c : new objects in new files 
11032         * plug-ins/python/makefile.am : added new files but can't test it
11034         * plug-ins/python/pydia.def
11035         * plug-ins/python/makefile.msc : for win32 build
11037         * plug-ins/cgm/cgm.c
11038         * plug-ins/dxf/dxf-import.c
11039         * plug-ins/dxf/dxf-export.c
11040         * plug-ins/hpgl/hpgl.c : reflect export API change
11042         * plug-ins/shape/shape-export.c : reflect export API change
11043         and check for libart (better the availibility of a png exporter) 
11044         at run-time instead of compile-time. 
11046 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
11048         * app/recent_files.h was missing from Hans's commit
11050         * plug-ins/shape/shape_export.c: shape export was broken
11051         due to interface changes
11052         
11053 2001-01-05  Hans Breuer <Hans@Breuer.Org>
11055         Applied Steffen's recent file list patch :
11056         * app/Makefile.am : added recent_files.[hc]
11057         * app/diagram.c : add files to recent file list
11058         * app/menus.c : add recent file menu
11059         * app/app_procs.c : changed initialization order to
11060         make recent file list work with command line processing.
11062         The Filter export()/import() functions have got an additional 
11063         parameter to allow multiple filters via one C callback (required
11064         for Python bindings)
11066         * app/commands.[hc] : corrected the signature for gtk menu callback
11067         functions, which actually use the second or third parameter. This
11068         is the absolute minimum change to make these functions/menu entries
11069         work again. Using the other possible gtk menu callback signature
11070         would have required one more function to change. (see mailing list
11071         thread "Objects/Align/Equal Distance" for more information.
11073         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
11074         zoom-combo focus patch
11076         * app/display.c
11077         * app/interface.c : wrapped the Zoom Combo code into 
11078         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
11079         improvement but cluttering the user interface. Also it wasn't
11080         compiling on Win32 anyway. The win32 version does define 
11081         WITHOUT_ZOOM_COMBO to keep the old look. 
11082         There are plans to use the statusbar to display size and placement
11083         of selected objects, whereas the Zoom Combo would need to get out
11084         of the way as well.
11086         Added "Save Changes?" to diagram close dialog. Hopefuly the
11087         Yes/No/Cancel option isn't too much windoze like. IHMO this is
11088         an useability improvement.
11090         * app/export_png.c
11091         * app/filedlg.c
11092         * app/load_save.c
11093         * app/layer_dialog.c
11094         * app/paginate_psprint.c
11095         * app/render_eps.c
11096         - reflect signature changing of filter->export function
11097         - replaced '/' with G_DIR_SEPARARTOR where appropriate
11099         * app/diaunitspinner.c
11100         * app/render_libart.c
11101         added misssing headers like <string.h>
11103         * app/object_ops.c : fixed copy&paste bug in dialog string
11105         * app/splash.c : gdk_widget_show_now () does not ensure actual
11106         drawing of the splash screen, at least not on win32. Reuse the
11107         previous implementation with gtk_main_iteration() again.
11109         * */makefile.msc : make use of the build module (available in
11110         gnome-cvs/build. Updated for other source changes
11112         * lib/filter.h : added an user_data pointer to <ex/im>port()
11113         function signature and Dia<Im/Ex>portFilter to allow different
11114         filters to reuse the same callback function
11116         * lib/font.c : #include <string.h>
11118         * lib/orth_conn.c 
11119         * lib/poly_conn.c 
11120         * lib/poly_shape.c 
11121         * lib/neworth_conn.c
11122         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
11124         * */*.def : export function definition files required by win32 build
11126         * objects/custom/custom.c : #include <string.h>
11128         * plug-ins/pstricks/render_pstricks.c
11129         * plug-ins/shape/shape_export.c
11130         * plug-ins/svg/render_svg.c
11131         reflect changes to filter export function signature
11133         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
11134         mostly work as expected
11135         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
11136         to build the wmf plug-in because on the one hand the GDI emulation 
11137         isn't finished and on the other hand it isn't required when building
11138         for win32. Is there anybody out there, who wants to save WMF on non
11139         windoze platforms ?
11141         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
11142         offset into account.
11144 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
11146         * app/Makefile.am: added missing plug-ins to run_dia.sh
11148         * lib/paper.c: added paper sizes A0, A1, A2
11150         * objects/UML/class.c
11151         objects/UML/class.h
11152         objects/UML/class_dialog.c: added support for colored UML
11153         classes
11154         
11155 2000-12-30  Kevin Breit <battery841@mediaone.net>
11157         * doc/en/usage-customization.sgml: added more content
11159 2000-12-24  Kevin Breit <battery841@mediaone.net>
11161         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
11162         <remy.viard@laposte.net>
11164 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
11166         * added limiting lines to Civil Engineering sheet,
11167         fixed vertical pump icon
11168         
11169 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
11171         * updated/additional Civil Engineering shapes: better icons,
11172         shapes use foreground/background colors now and are filled
11173         
11174 2000-12-03  Kevin Breit  <battery841@mediaone.net>
11176         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
11177         the selection <sect1>
11179 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
11181         * app/load_save.c (diagram_data_save): avoid using obsoleted
11182         libxml calls (only matters when compiling with libxml2)
11184 2000-11-25  James Henstridge  <james@daa.com.au>
11186         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
11187         handle the tool drops on the canvas.
11189         * app/interface.c (display_data_received_callback): do the check
11190         to make sure that the drag is from a local toolbox here as well.
11192         * app/interface.c (create_tools): unref the pixmap/mask after
11193         creating the GtkPixmap.
11194         (tool_setup_drag_source): function to set up a drag source for
11195         create object tool buttons.
11196         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
11197         (fill_sheet_wbox): same here.
11198         (create_display_shell): set up the display canvas as a drag
11199         destination.
11200         (display_drop_callback, display_data_received_callback): functions
11201         to handle drops of tool buttons.
11203         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
11204         does weird shit to the user_data pointer for a menu item.  Object
11205         alignment should work again now.
11207         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
11208         NULL, and mark this function static.
11209         (app_splash_init): use gtk_widget_show_now() instead of the
11210         gtk_main_iteration loop.
11211         (app_splash_init): connecting gtk_widget_destroy to the destroy
11212         signal of a widget seems pretty useless.
11214 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
11216         * doc/en/dia-manual.sgml:
11217                 Added sect1 for advanced object types.  Starting development
11218                 on that part.
11220 2000-11-18  Kevin Breit <battery841@mediaone.net>
11222         * doc/en/dia-manual.sgml:
11223                 Stupid spelling fixes.
11225 2000-11-18  Kevin Breit <battery841@mediaone.net>
11227         * doc/en/dia-manual.sgml:
11228                 Just some small changes I made.  Props to Greg LeBlanc on the
11229                 recommendations.
11231 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
11233         * app/display.c:
11234         (ddisplay_add_display_area): Clip input rectangle to
11235         the visible part of the display.
11236         (ddisplay_scroll): Optimization, don't scroll and
11237         redraw if moving to the same position as before.
11239         * app/render_libart.c (renderer_libart_copy_to_window):
11240         Removed sanity check. Now moved to ddisplay_add_display_area().
11242         * lib/diavar.h:
11243         Added return at end of file.
11244         
11245 2000-11-13 Kevin Breit <battery841@mypad.com>
11246         * doc/en/dia-manual.sgml
11247                 Commited manual changes from Henry House <hajhouse@houseag.com>
11249 2000-10-21 Hans Breuer <Hans@Breuer.Org>
11250         * lib/beziershape.c :
11251                 The previous code was accessing unowned memory due to IHMO
11252                 wrong index calculation. Now it appears to be fixed.
11253                 *Please Review!*
11255         * lib/makefile.msc
11256         * plug-ins/makefile.msc
11257         * objects/makefile.msc
11258         * app/makefile.msc: (new files)
11259                 Makefiles for Dia on Win32, Micro$oft VC only.
11261         * plug-ins/pstricks/render_pstricks.c
11262         * plug-ins/dxf/dxf-import.c
11263         * plug-ins/shape/shape-export.c
11264         * plug-ins/svg/render_svg.c
11265         * app/commands.c
11266         * app/filedlg.c
11267         * app/preferences.c
11268         * app/render_eps.c
11269         * lib/sheet.c
11270         * lib/plug-ins.c
11271         * objects/custom/custom.c
11272         * objects/standard/image.c
11273                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
11274                 where   appropriate, add missing prototypes like <string.h>
11276         * plug-ins/wmf/wmf_gdi.cpp
11277         * plug-ins/wmf/wmf_gdi.h:
11278                 start of wmf write functions for non Win32 platform. Not 
11279                 finished yet. The other way to get it working maybe to
11280                 link the plug-in against wine libs.
11281                 
11282         * plug-ins/wpg/wpg.c : add missing brace
11284         * app/load_save.c :
11285                 Handling for unknown objects at load time. Previously Dia
11286                 was crashing, if you try to load a file referencing objects
11287                 whiches plug-ins aren't installed/available. Now it spits out 
11288                 a warning and ignores the unknown objects.
11290         * app/interface.c
11291                 toolbox DND support for files like The Gimp does it.
11293         * app/main.c
11294         * app/app_procs.h
11295                 Simple splash screen support and usage.
11297         * app/app_procs.c
11298                 Splash screen, portability fixes, dont' g_error if there is
11299                 g_get_homedir return NULL. This may remove the one and only
11300                 FAQ for Win32.
11302         * app/menus.c :
11303                 Make it compile without ENABLE_NLS
11305         * app/render_libart.c :
11306                 Sanity check to avoid calling libart with wrong window coordinates.
11307                 They come from the update handler. Direct Gdk is dealing nicely
11308                 with coordinates out of range, libart does access un-owned memory
11309                 in this case, mostly causing crashes.
11311         * app/winmain.c: (new file) Export the Win32 Gui version of the
11312                 main function. This file is only required for Windoze.
11314         * app/splash.c: (new file) splash screen implementation
11316         * lib/color.h
11317         * lib/font.h
11318         * lib/diavar.h: (new file)
11319                 moved special variable export code to diavar.h, because it is
11320                 needed in color.h and font.h
11322         * lib/paper.c :
11323                 M$VC cann't export inlined functions. Quick hack to let it
11324                 link again. Probably the glib mechanics should be used here?
11326         * objects/UML/lifeline.c : initialize var before usage
11328         * objects/GRAFCET/step.c : removed unused var
11330 2000-10-14  James Henstridge  <james@daa.com.au>
11332         * app/render_gnomeprint.c (draw_image): change code so images
11333         don't get flipped when printing.
11335         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
11336         sure that the return value of
11337         gnome_print_context_new_with_paper_size is not NULL.
11339         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
11340         into a series of bezier segments.
11341         (fill_arc): similar code to handle filled arc segments.
11343 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
11345         * app/app_procs.c
11346         * app/commands.c
11347         * app/dia-props.c
11348         * app/diagram.c
11349         * app/diagram.h
11350         * app/disp_callbacks.c
11351         * app/display.c
11352         * app/linewidth_area.c
11353         * app/paginate_psprint.c
11354         * app/preferences.c
11355         * app/undo.c
11356         * app/font.c
11357         * app/message.c
11358         * app/neworth_conn.c
11359         * app/orth_conn.c
11360         * objects/standard/box.c: various small changes to get rid of 
11361         annoying warnings (eg faulty prototypes and unused variables)
11363         * app/disp_callbacks.c
11364         * app/cursor.h
11365         * app/magnify.c
11366         * app/magnify.h: update magnify tool icon when pressing/releasing
11367         shift. I will try to make something more general so that similar
11368         things can be used by other tools.
11370         * shapes/SDL/inout.shape
11371         * shapes/SDL/return.shape: fixed some typos
11373 2000-10-09  James Henstridge  <james@daa.com.au>
11375         * objects/custom/shape_info.c (parse_path): apply patch from
11376         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
11377         #25221
11379 2000-10-08  James Henstridge  <james@daa.com.au>
11381         * objects/standard/image.c (image_set_props): if the file could not
11382         be loaded, show the broken image icon.
11384         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
11386         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
11388         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
11389         object icon when loading from a file.  This allows you to have PNG
11390         icon files for shapes.
11392 2000-10-07  James Henstridge  <james@daa.com.au>
11394         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
11396         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
11397         GDK_IMLIB_CFLAGS reference.
11399         * app/commands.c (help_about_callback): remove imlib code.
11401         * lib/dia_image.c: only include the pixbuf version of the image
11402         routines.
11404         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
11406         * configure.in (CPPFLAGS): remove the check for imlib, as we now
11407         require gdk-pixbuf.
11409         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
11410         conditionally define \setfont as well.
11412 2000-10-05  James Henstridge  <james@daa.com.au>
11414         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
11415         preamble so that we define \setlinejoinmode and \setlinecaps
11416         commands conditionally on them being undefined.  This way, the
11417         pstricks output files should work without modification, and will
11418         support the commands when they are implemented in pstricks.
11420 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
11422         * dia.desktop: added hungarian translations to dia.desktop
11424 2000-10-04  James Henstridge  <james@daa.com.au>
11426         * sheets/UML.sheet: fix typo.
11428         * objects/custom/shape_info.c: use strtod instead of g_strtod.
11429         (parse_path): actually call setlocale around strtod calls.
11431         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
11432         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
11433         the g_strtod wrapper.
11435         * shapes/SDL/: add SDL shapes from Rubens Ramos
11436         <rubens_ramos@yahoo.com>
11438         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
11440         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
11442         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
11443         W. Michael Petullo <mike@flyn.org>.
11445         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
11446         from the 0.86 tarball) and jigsaw.sheet.
11448         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
11450         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
11452         * shapes/network/: add network-additional shapes here.
11454         * sheets/network.sheet: add the network-additional shapes from
11455         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
11456         sheet.
11458 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
11460         * configure.in: Updated ALL_LINGUAS
11462         * po/nl.po: Removed newline from translation
11464 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
11466         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
11467         logo filename generation. 
11469         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
11470         Avoiding "//dia_logo.png".
11472 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
11474         * app/filedlg.c: add include <sys/types.h> to
11475         remove warning. (OS/2)
11477 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
11479         * objects/chronogram/chronoline_event.c (reparse_clevent):
11480         the __checksum routine was simply bogus. Redone it in a slightly
11481         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
11483 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
11485         * app/create_object.c (create_object_button_press): 
11486         * app/modify_tool.c (click_select_object): 
11487         * lib/object.h: select renamed to selectf to prevent
11488         compiler problems with function select().  OS/2 version.
11490 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
11492         * po/de.po: Updated.
11494 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
11496         * dia.desktop: Added German translation
11497         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
11499 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
11501         * configure.in (ALL_LINGUAS): added "es"
11503 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
11505         * app/magnify.c:
11506         * app/cursor.h:
11507         * app/cursor.c:
11508         * app/scroll_tool.c:
11509         Standardized cursor function get_cursor().  Magnify now has
11510         looking-glass cursor with + and -.
11512         * app/create_object.c (create_object_button_press): 
11513         Newly created connections now snap to connection points even when
11514         off the grid. 
11516 2000-08-17  Daniel Egger  <egger@suse.de>
11518         * app/menus.c: #ifdef'ed some code for the none GNOME
11519         case.
11520         * app/dia_embedd.c: Changed obvious hackery. Can anyone
11521         please have a look at the GNOME UI menu creation? The
11522         gnome-app-helper code is ages old and plainly broken!
11524 2000-08-15  Daniel Egger  <egger@suse.de>
11526         * app/commands.c:
11527         * app/commands.h:
11528         * app/diagram.c:
11529         * app/display.c:
11530         * app/menus.c:
11531         * app/select.c: First big patch to get the menus
11532         working again in the international version. Copied
11533         some code written by Sven and me from GIMP and
11534         thus implemented automatic tearoffmenu creation and
11535         proper translation. I also removed that pseudo
11536         radiomenu hack and cleaned up several translation
11537         hacks which have never really worked. All in all
11538         this is part I of the big menu patch. Enjoy and tell
11539         me if you detect any problems.
11541 2000-08-14  Daniel Egger  <egger@suse.de>
11543         * sheets/UML.sheet: Changed one German translation as
11544         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
11546 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
11548         * app/diapagelayout.c:
11549         * lib/diagramdata.c:
11550         * lib/diagramdata.h:
11551         * lib/Makefile.am:
11552         * lib/paper.c:
11553         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
11554         selecting paper size for a new diagram. TODO: Use libpaper if 
11555         available and use gnome_paper-stuff if using GNOME.
11557         * sheets/Electric.sheet: fixed typo.
11558         
11559 2000-08-08  James Henstridge  <james@daa.com.au>
11561         * po/README: added a readme file to tell translators to translate
11562         the .sheet files as well.
11564         * app/commands.c (help_about_callback): fix small bug where we tried
11565         to gdk_bitmap_unref() the mask for the about box image, even though
11566         it was NULL.  Now check for a NULL mask.
11568 2000-08-07  Daniel Egger  <egger@suse.de>
11570         * sheets/*.sheet: Added translations for the name
11571         in the toolbar tab. Brushed up some descriptions 
11572         and some translations a bit.
11574 2000-08-06  James Henstridge  <james@daa.com.au>
11576         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
11577         identifier and dtd url for SVG output.
11578         (new_svg_renderer): fix the output of the viewBox output.  The
11579         second two numbers are the width and height -- not the right
11580         and bottom sides of the box.
11582         * shapes/*/*.shape: update svg namespace URI.
11584         * objects/custom/shape_info.c (load_shape_info): change the
11585         namespace URI for custom shapes yet again to match the Candidate
11586         Recommedation.  It looks like this one will probably be the final
11587         one.
11589         * app/display.c (new_display): remove the code that sets ic and
11590         ic_attr members to NULL, as one of the previous function calls
11591         causes the display to be realised.  This means that the ic gets
11592         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
11593         this one.
11595 2000-08-06  James Henstridge  <james@daa.com.au>
11597         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
11599         * NEWS: fixed date in NEWS file, as I will release today.
11601         * README: updated the README a little.  Added note that Dia is now
11602         a GNU program.
11604         * dia.spec: fix up spec file.
11606         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
11608         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
11609         get heaps of warnings when you turn off debugging.
11610         Also made a few other warning fixes.
11612 2000-08-02  James Henstridge  <james@daa.com.au>
11614         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
11616         * configure.in: update version number.
11618 2000-08-01  James Henstridge  <james@daa.com.au>
11620         * app/commands.c (help_about_callback): add Hans to about dialog.
11622         * doc/shape.dtd: dtd for shape file format.
11624         * doc/custom-shapes: update doc file about creating custom shapes.
11626         * shapes/*/*.shape: change namespace URI for the SVG portion to the
11627         one for the latest draft.
11629         * shapes/*/*.shape: fix up rect definitions.
11631         * objects/custom/shape_info.c (load_shape_info): recognise newer
11632         namespace tag for SVG.
11633         (parse_svg_node): the rect element should take attributes x, y, width
11634         and height -- not x1,y1,x2,y2.
11636         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
11637         output to use the newest draft DTD.
11639         * plug-ins/svg/svg.c: initialisation code for plugin.
11641         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
11643         * plug-ins/svg/Makefile.am: makefile for svg plugin.
11645         * app/app_procs.c (internal_plugin_init): don't register the svg
11646         export filter here.
11648         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
11650 2000-07-31  James Henstridge  <james@daa.com.au>
11652         * objects/standard/textobj.c (textobj_get_defaults): 
11653         * objects/standard/polygon.c (polygon_get_defaults): 
11654         * objects/standard/image.c (image_get_defaults): 
11655         * objects/standard/ellipse.c (ellipse_get_defaults): 
11656         * objects/standard/box.c (box_get_defaults): 
11657         * objects/standard/beziergon.c (beziergon_get_defaults): 
11658         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
11659         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
11660         * objects/flowchart/diamond.c (diamond_get_defaults): 
11661         * objects/flowchart/box.c (box_get_defaults): 
11662         * objects/custom/custom_object.c (custom_get_defaults): 
11663         * objects/FS/flow.c (flow_get_defaults): 
11664         * objects/FS/flow-poly.c (flow_get_defaults): 
11665         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
11666         defaults widget.
11668         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
11669         widgets for various object types.
11670         (create_dialog): ref and sink the no_defaults_dialog.
11672         * app/preferences.c (prefs_create_dialog): change
11673         gtk_container_border_width call to gtk_container_set_border_width.
11675 2000-07-29  James Henstridge  <james@daa.com.au>
11677         * app/commands.c (view_aa_callback): show a warning dialog if
11678         you start AA mode.
11680         * app/interface.c (fill_sheet_menu): don't add a menu item for
11681         empty sheets.
11683 2000-07-26  James Henstridge  <james@daa.com.au>
11685         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
11687         * app/menus.c: remove edit grid menu item.
11689         * app/commands.[ch] (view_edit_grid_callback): removed.
11691         * app/display.c (new_display): don't initialise removed Grid members.
11693         * app/grid.c: remove unused functions.
11695         * app/grid.h: remove dialog related stuff from Grid structure.
11696         Remove prototypes for dialog functions.
11698         * app/menus.c: add to menus
11699         
11700         * app/commands.[ch] (view_diagram_properties_callback): new command
11701         for showing the diagram properties dialog.
11703         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
11704         the edit grid dialog.
11706 2000-07-25  James Henstridge  <james@daa.com.au>
11708         * app/grid.c (grid_x_update): 
11709         (grid_y_update): as the grid setting is stored with the diagram,
11710         update all displays when a change is made.
11712         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
11714         * app/create_object.c (create_object_button_press): 
11715         (create_object_motion): use new snap_to_grid signature.
11717         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
11718         and handle invisible grid lines.
11719         (snap_to_grid): use new grid settings.  Also changed signature to
11720         take a DDisplay rather than Grid pointer.
11721         (grid_show_dialog): get the defaults from the correct place.
11723         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
11725         * app/diagram.c (new_diagram): set the grid size defaults from the
11726         user preferences.
11728         * app/load_save.c (diagram_data_save): save grid and guide info to
11729         diagram file.
11730         (diagram_data_load): add guide and grid load support.
11732         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
11733         members.
11735         * lib/diagramdata.h: add members to DiagramData for grid and guide
11736         settings.
11738         * configure.in (BONOBO_LIBS): update configure scripts
11740         * app/dia.oafinfo: oafinfo file for dia embeddables.
11742         * app/dia_embedd.c: add OAF support.
11744 2000-07-24  James Henstridge  <james@daa.com.au>
11746         * plug-ins/wpg/Makefile.am: 
11747         * plug-ins/pstricks/Makefile.am: 
11748         * plug-ins/hpgl/Makefile.am: 
11749         * plug-ins/dxf/Makefile.am: same here.
11751         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
11752         the required libraries, and the link line was causing libtool not
11753         to build a shared library on some systems :(
11755         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
11756         be checking x, not n.
11758 2000-07-23  James Henstridge  <james@daa.com.au>
11760         * app/preferences.c (prefs_data): set the "reset tools after
11761         create" preference to true by default.  That seems to be what most
11762         people expect.
11764         * app/interface.c (create_sheets): instead of a notebook, use an
11765         option menu that updates the sheet tools.  The notebook tabs were
11766         getting a bit unwieldly, so the option menu should fix that.  This
11767         also reduces the number of widgets in the tools radio button
11768         group, which should make the UI a little more responsive.
11770 2000-07-19  Fatih Demir <kabalak@gmx.net>
11771         
11772         * configure.in: Added tr to ALL_LINGUAS.
11773                 [ Yeah, we're now having a Turkish translation,
11774                    too. ]
11775         
11776         * dia.desktop: Added the Turkish entries.
11778 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
11780         * doc/diagram.dtd: changed string-element so it conforms to the
11781         output from dia.
11783 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
11785         * configure.in: added chinese. 
11786         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
11788         * app/app_procs.c:
11789           app/load_save.c:
11790           app/render_svg.c:
11791           lib/dia_xml.c:
11792           lib/plug-ins.c:
11793           lib/sheet.c:
11794           objects/custom/shape_info.c: 
11795           shapes/Circuit/npn.shape:
11796           shapes/Circuit/pnp.shape:
11797           sheets/*.sheet: dia now works with libxml2.
11798         Libxml2 is a bit more picky when parsing xml and reported errors on all 
11799         sheet files because they use non ascii characters (added 
11800         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
11801         I commented out these.
11803 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
11805         * configure.in (ALL_LINGUAS): added Italian
11807 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
11809         * configure.in (ALL_LINGUAS): added Korean
11811 2000-06-25  James Henstridge  <james@daa.com.au>
11813         * objects/flowchart/parallelogram.c (pgram_create): use default font
11814         and add properties interface support.
11816         * objects/flowchart/ellipse.c (ellipse_create): use default font and
11817         add properties interface support.
11819         * objects/flowchart/diamond.c (diamond_create): use default font and
11820         add properties interface code.
11822         * objects/flowchart/box.c (box_create): use default font.
11824         * objects/custom/custom_object.c (custom_create): use default font
11825         here too.
11827         * objects/standard/textobj.c (textobj_create): update to use default
11828         font.
11830         * lib/attributes.c: add implementations.
11832         * lib/attributes.h (attributes_[gs]et_default_font): add function
11833         prototypes for setting/getting a default font.
11835 2000-06-24  James Henstridge  <james@daa.com.au>
11837         * app/paginate_gnomeprint.h: updated prototype.
11839         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
11840         diagram page settings.
11842         * objects/standard/beziergon.c (beziergon_copy): same here.
11844         * objects/standard/polygon.c (polygon_copy): copy the fill colour
11845         as well.
11847         * app/undo.h: 
11848         * app/tool.h (tool_options_dialog_show): 
11849         * app/scroll_tool.h (free_scroll_tool): 
11850         * app/render_svg.h: 
11851         * app/render_libart.h (renderer_libart_copy_to_window): 
11852         * app/render_gdk.h (renderer_gdk_copy_to_window): 
11853         * app/properties.h (properties_hide_if_shown): 
11854         * app/preferences.h (prefs_load): 
11855         * app/object_ops.h: 
11856         * app/modify_tool.h (free_modify_tool): 
11857         * app/magnify.h (free_magnify_tool): 
11858         * app/linewidth_area.h (linewidth_area_create): 
11859         * app/layer_dialog.h: 
11860         * app/handle_ops.h (handle_is_clicked): 
11861         * app/group.h: 
11862         * app/grid.h (grid_destroy_dialog): 
11863         * app/defaults.h (defaults_show): 
11864         * app/cut_n_paste.h (cnp_exist_stored_objects): 
11865         * app/create_object.h (free_create_object_tool): 
11866         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
11867         * app/commands.h: 
11868         * app/color_area.h (color_area_create): 
11869         * app/app_procs.h (app_is_embedded): remove extern keyword from
11870         function prototypes.
11872         * lib/text.h: 
11873         * lib/sheet.h (load_all_sheets): 
11874         * lib/render_store.h: 
11875         * lib/render_object.h (render_object_load): 
11876         * lib/polyshape.h (polyshape_closest_segment): 
11877         * lib/poly_conn.h (polyconn_closest_segment): 
11878         * lib/orth_conn.h: 
11879         * lib/object.h: 
11880         * lib/objchange.h (new_object_state_change): 
11881         * lib/neworth_conn.h (neworthconn_add_segment): 
11882         * lib/message.h (message_error): 
11883         * lib/lazyprops.h: 
11884         * lib/geometry.h: 
11885         * lib/font.h (font_descent): 
11886         * lib/focus.h (remove_focus): 
11887         * lib/element.h: 
11888         * lib/diagramdata.h: 
11889         * lib/dia_xml.h (data_add_composite): 
11890         * lib/dia_image.h: 
11891         * lib/connpoint_line.h: 
11892         * lib/connection.h (connection_move_handle): 
11893         * lib/color.h: 
11894         * lib/attributes.h (attributes_set_default_line_style): 
11895         * lib/arrows.h (arrow_draw): remove extern keyword from function
11896         definitions.  It is not required for functions.
11898         * plug-ins/dxf/Makefile.am (INCLUDES): 
11899         * plug-ins/pstricks/Makefile.am (INCLUDES): 
11900         * plug-ins/cgm/Makefile.am (INCLUDES): 
11901         * objects/SADT/Makefile.am (INCLUDES): 
11902         * objects/chronogram/Makefile.am (INCLUDES): 
11903         * objects/GRAFCET/Makefile.am (INCLUDES): 
11904         * objects/flowchart/Makefile.am (INCLUDES): 
11905         * objects/sybase/Makefile.am (INCLUDES): 
11906         * objects/FS/Makefile.am (INCLUDES): 
11907         * objects/standard/Makefile.am (INCLUDES): 
11908         * objects/network/Makefile.am (INCLUDES):
11909         * objects/UML/Makefile.am (INCLUDES): same here.
11911         * objects/ER/Makefile.am: changed inclusion of some macros to
11912         variables.
11914         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
11915         handle the plug in extension, rather than have all the #ifdef's in
11916         the code.
11918         * plug-ins/Makefile.am: add renderer.inc to dist.
11920         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
11922 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
11924         * lib/plug-ins.c: Handle OS/2 dll's too.
11926 2000-06-07  James Henstridge  <james@daa.com.au>
11928         * app/plugin-manager.c (get_plugin_manager): set some table
11929         packing options to make it look a little nicer.
11931         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
11932         makefiles for these plug-ins.
11934         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
11936         * configure.in: added hpgl and wpg directories to build.  Added
11937         note about whether gnome-print support was enabled, and noted that
11938         it is not recommended.
11940 2000-06-06  James Henstridge  <james@daa.com.au>
11942         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
11943         a little work, but I am checking them in so I don't lose them.
11945 2000-06-01  James Henstridge  <james@daa.com.au>
11947         * objects/standard/arc.c: added extra properties.
11949         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
11950         was using the wrong index into the handles array.  This gets corner
11951         type changing working correctly.
11953         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
11954         to properties code (no editing or loading yet though).  Also added
11955         support for point array manipulation through the offsets interfaces.
11957         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
11959         * app/interface.c (origin_button_press): changes so the origin
11960         button doesn't grab the pointer when we pop up the menu.
11962         * app/commands.c (help_about_callback): fix small memory leak in
11963         about box code.
11965         * app/menus.c (menus_init): fixed breakage I introduced in the non
11966         gnome menus when I was doing the menu changes.  The tearoffs work
11967         really nicely in plain gtk mode as well.
11969         * objects/standard/beziergon.c (beziergon_create): changed the
11970         returned handles to match the handle numbering changes.  Now
11971         segment addition and removal works correctly with undo!
11973         * lib/beziershape.c: various changes to the code.  Changed the
11974         numbering of handles, and fixed the segment removal code.
11976 2000-05-31  James Henstridge  <james@daa.com.au>
11978         * objects/standard/beziergon.c: remove connection point handling.
11979         There is still a bit of work to be done to get adding and removing
11980         of segments working correctly.
11982         * lib/beziershape.c: add connection point handling to beziershape.
11983         I set it for two connection points per segment.
11985 2000-05-30  James Henstridge  <james@daa.com.au>
11987         * objects/standard/polygon.c: don't do connectionpoint handling.
11989         * lib/polyshape.c: changed to handle connection points internally.
11990         Also, don't worry about connections to handles on polyshape, as
11991         all handles are non connectable.
11993 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
11995         * configure.in: Added finnish
11996         
11997 2000-05-30  James Henstridge  <james@daa.com.au>
11999         * sheets/*.sheet: translation updates to the .sheet files.
12001         * po/fr.po: updated po file from Christophe Merlet.
12003         * menus.h: removed prototypes for functions which have been removed.
12005 2000-05-29  James Henstridge  <james@daa.com.au>
12007         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
12008         item in the option menu when changing selected diagram.
12010         * app/dia_embedd.c (view_factory): fix up function to work with new
12011         menus API.
12013         * app/disp_callbacks.c (ddisplay_realize): remove call to
12014         display_set_active from here.
12015         (ddisplay_canvas_events): move call here.  This gets rid of all the
12016         warnings, as the renderer has been fully set up correctly at this
12017         point.
12019         * app/menus.c (menus_init): add the tearoff item to the start of the
12020         right click menu.
12022         * app/app_procs.c (create_user_dirs): we don't need to create the
12023         menus directory anymore.
12025         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
12026         necessary to update the menu state here, as it was done when the
12027         active display was set.
12029         * app/display.c (display_set_active): update the menu state when
12030         changing active displays.
12032         * app/interface.c (origin_button_press): set the display as active
12033         when a click is made on the menu button.
12035         * app/menus.c (menus_init): set up a quit function to save the accels
12036         at exit.
12037         Add tearoff items for the non GNOME menus, add accelerators for
12038         several GNOME menus.
12040         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
12041         menus_get_image_menu().
12043         * app/menus.c (menus_get_item_from_path): use display_menus here
12044         rather than ddisp->popup.
12046         * app/display.h: remove the popup member in the DDisplay structure.
12048         * app/interface.c: remove option of not using wrap box.
12049         (create_toolbox): change to always use menus_get_toolbox_menubar
12050         even when using gnome menus.
12051         (create_display_shell): use menus_get_image_menu to load accelerators
12052         only -- not the actual popup menu.
12054         * app/menus.c (menus_init): new function to create the menus.
12055         (menus_get_toolbox_menubar): use this function whether gnome is
12056         in use or not.  Changed to use menus_init.
12057         (menus_get_image_menu): same here.  Also, now this function always
12058         returns the same menu, rather than a new one each time.
12059         (menus_init): read a menurc file to load accelerators here.
12061 2000-05-28  James Henstridge  <james@daa.com.au>
12063         * app/display.c (ddisplay_really_destroy): unset active display if
12064         active display is destroyed.
12065         (ddisplay_active): simplify function to return active_display as set
12066         by display_set_active.  This allows using a pinned menu with any
12067         display -- not just the one it was popped up from.
12068         (display_set_active): notify the layer dialog of change of diagrams
12069         when active diagram changes.
12071         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
12072         on button and key presses.
12073         (ddisplay_realize): set active display on realize.
12075         * app/display.c (display_set_active): simple implementation of this
12076         function.
12078         * app/display.h (display_set_active): add prototype for setting
12079         the active display.
12081         * app/interface.c (create_display_shell): don't give focus to the
12082         menu button.
12084         * app/menus.c: fix up menus for Beziergon.
12086         * app/interface.c (create_display_shell): make the widget in the
12087         top left corner a button that can be used to pop up the right click
12088         menu, like in gimp and sketch.
12090         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
12091         the display menu.
12093         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
12094         add code to set corner types for beziergon.
12096         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
12097         setting code.
12098         (beziershape_move_handle): use the previous corner type for right
12099         controls.
12101         * app/interface.c (tool_data): add beziergon to toolbox.
12103         * objects/standard/standard.c (dia_plugin_init): initialise the new
12104         Beziergon object type.
12106         * objects/standard/beziergon.c: an object based on BezierShape.
12108         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
12110         * lib/beziershape.[ch]: new files implementing a bezier shape.
12112 2000-05-26  James Henstridge  <james@daa.com.au>
12114         * lib/text.c (text_key_event): handle multibyte inserts.
12115         (text_key_event): also add home and end keybindings.
12117         * app/interface.c (create_display_shell): connect handlers for
12118         focus_in_event, focus_out_event, realize and unrealize signals.
12120         * app/display.[ch] (new_display): initialise input context members.
12122         * app/disp_callbacks.[ch]: added XIM support here.
12124         * lib/font.c (suck_font): the black and white pixel values should be
12125         taken from a 1 bit colormap rather than the default colormap.
12127         Hans Breuer's Windows patches ...
12129         * lib/font.c: use Courier New for fixed width font on windows
12130         machines.
12132         * lib/dia_image.h: change to "struct _DiaImage".
12134         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
12136         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
12137         mouse button for object menu.  This will make two button mouse owners
12138         happier.
12140 2000-05-25  James Henstridge  <james@daa.com.au>
12142         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
12144         * app/app_procs.c (app_init): add extra NULL argument to call of
12145         diagram_load.
12147         * app/load_save.h: remove prototype.
12149         * app/load_save.c: remove diagram_data function here.
12151         * app/diagram.h: added prototype.
12153         * app/diagram.c (diagram_load): new function here, which uses import
12154         filters.
12156         * plug-ins/dxf/dxf.c: register the import filter as well.
12158         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
12159         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
12161         * objects/standard/line.c: add start_point and end_point properties
12162         to standard line object.
12164 2000-05-21  James Henstridge  <james@daa.com.au>
12166         * app/paginate_psprint.c: added missing include of locale.h.
12168         * objects/custom/custom_object.c (custom_draw): use fabs rather than
12169         abs for scaling factors.
12170         (custom_distance_from): same here.
12172         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
12174 2000-05-18  James Henstridge  <james@daa.com.au>
12176         * po/POTFILES.in: updated POTFILES.in.
12178         * dia.spec: incremented version number in spec file.
12180         * NEWS: added (lots of) news items for the 0.85 release.
12182         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
12183         the config file.
12185         * configure.in: updated version number here.
12187         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
12189 2000-05-17  James Henstridge  <james@daa.com.au>
12191         * app/app_procs.c (internal_plugin_init): register the native import
12192         filter.
12194         * app/load_save.c (diagram_data_load, diagram_load): split this
12195         function into two -- one that does all the work on the DiagramData
12196         structure, and the other that provides compatibility with the old
12197         function.
12198         (dia_import_filter): use diagram_data_load to define an import
12199         filter.
12201         * app/diagram.h (new_diagram): added const to prototype.
12203         * app/filedlg.c (file_open_callback): change to use new import filter
12204         code.
12206         * lib/filter.c: added import filter management functions.
12208         * lib/filter.h: added prototypes for import filter interface.
12210         * app/commands.c (help_about_callback): updated about dialog to
12211         contain a few more names.
12213 2000-05-16  James Henstridge  <james@daa.com.au>
12215         * configure.in (Configuration): added a status message to the end of
12216         the configure script to give the user some idea of what was
12217         configured.
12219         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
12221         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
12222         plugin.
12224         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
12225         filter for dia.
12227         * configure.in (AM_PATH_LIBART): use the check function provided
12228         with libart rather than our own code.  It is more reliable, and
12229         it only requires that people who build out of CVS have libart.m4
12230         installed (not necessarily all of libart).
12231         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
12233 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
12235         * dia.desktop: Added Swedish translation.
12237 2000-05-09  James Henstridge  <james@daa.com.au>
12239         * lib/dia_xml.c: you can't free a const pointer, so remove const
12240         from variable definitions.
12242         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
12243         initialised correctly.
12245         * app/render_svg.c (export_svg): set locale to C.
12247         * app/paginate_psprint.c (paginate_psprint): set locale to C.
12249         * app/render_eps.c (export_eps): set locale to C for EPS export.
12251         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
12252         (data_add_point): same here.
12253         (data_add_rectangle): same here.
12254         (data_real): use g_strtod to convert strings to real numbers, so that
12255         locales are taken into account.
12256         (data_point): same here.
12257         (data_rectangle): same here.
12259         * AUTHORS: added Henk and Jacek to authors file.
12261         Daniel Egger's code cleanups.
12263         * app/select.c (select_invert_callback): remove unused variable.
12265         * app/plugin-manager.c (get_plugin_manager): fix typo.
12267         * app/load_save.c (read_connections, write_objects): 
12268         (write_connections): made some functions static.
12270         * app/interface.c (toolbox_delete, toolbox_destroy): made some
12271         functions static.
12273         * app/filedlg.c (file_export_callback): remove unused variable.
12275         * app/app_procs.c: various warning fixes.
12277         Integrating Jacek Pliszka's pstricks export filter.
12279         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
12281         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
12282         renderer (with a few small modifications by me).
12284         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
12286         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
12288 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
12290         * configure.in:
12291         * sheets/Makefile.am:
12292         * shapes/Makefile.am:
12293         * shapes/Civil/Makefile.am:
12294         * sheets/civil.sheet:
12295         * shapes/Civil/*:
12296         Added civil/hydraulic/structural engineering objects from
12297         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
12298         
12299 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
12301         * objects/FS/flow-poly.c:
12302         * objects/FS/flow.c:
12303         Fix division by zero in point_normalize().
12304         Patch by David Thompson <dcthomp@mail.utexas.edu>
12306 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
12308         * lib/arrows.c:
12309         * lib/bezier_conn.c:
12310         * lib/connpoint_line.c:
12311         Added checks for zero-length lines before calls to point_normalize.
12313 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12315         * app/preferences.c (prefs_data): Changed
12316         reversed_dragging_intersects to not make the dialog ridiculously
12317         wide.
12318         
12319 2000-04-22  James Henstridge  <james@daa.com.au>
12321         Hans's win32 patches:
12323         * app/export_png.c: include message.h
12324         * app/interface.c: include dia_dirs.h
12325         * app/linewidth_area.c: check for rint
12326         * app/main.c: include interface.h
12327         * app/paginate_psprint.c: remove unused variable.
12328         * app/preferences.c: include message.h
12329         * app/render_svg.c: include stdlib.h
12330         * app/select.c: include object_ops.h
12331         * lib/dia_dirs.c: miscelaneous fixes for win32.
12332         * lib/dia_image.c: include string.h
12333         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
12334         * lib/properties.c: include stdlib.h
12335         * lib/properties.h: define extra data for standard properties as
12336         static variables on win32 (to get around dynamic linker problems).
12337         * objects/standard/polygon.c: polygon_create_change missing return
12338         statement.
12340 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
12342         * configure.in (ALL_LINGUAS): added Catalan
12344 2000-04-18  James Henstridge  <james@daa.com.au>
12346         * objects/standard/bezier.c (bezierline_get_object_menu): add a
12347         separator to the object menu between the add/remove segment items
12348         and the corner type items.
12349         (bezierline_get_object_menu): add code to disable the menu item for
12350         the current corner type.  Really just a cosmetic change.
12352         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
12353         a NULL for the label or with no associated callback.
12355         * objects/standard/bezier.c (bezierline_menu_items): use the
12356         enumeration values rather than numeric values for the corner types.
12358         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
12359         structure, and add code to handle it.  Also, don't save the corner
12360         types inline in the bez_points node.  The way it is conditionally
12361         including the element just feels like it will break.
12363         * lib/geometry.h (BezPoint): removed the corner_type stuff from
12364         BezPoint.  The corner type stuff is a user interface level idea rather
12365         than something required by the renderer, so should be taken care of
12366         at the object level.
12368 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12370         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
12371         checks.  Weren't able to reproduce original bug, tough.
12373 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
12375         * sheets/Electric.sheet:
12376         * sheets/Contact.sheet:
12377         * sheets/Pneumatic.sheet:
12378         * sheets/Circuit.sheet: sprayed some <br/>'s around.
12379         (added a few French translations in the last file)
12380         
12381 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12383         * lib/geometry.h: 
12384         * lib/bezier_conn.h: 
12385         * objects/standard/bezier.c: 
12386         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
12387         bezier points.  Only one minor problem known:  Menus are active
12388         for endpoints minor handles.
12389         11:28: Save and load now works, too.
12390         (bezierconn_closest_major_handle): 12:03: New function to get the
12391         non-control point handle associated with the nearest control
12392         point.  
12393         Also fixed the menu activation problem, and made remove_segment
12394         not remove the endpoint.
12396 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12398         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
12399         new API is in use.
12401 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
12403         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
12404         <sys/stat.h>.   OS/2 patch.
12406 2000-04-15  James Henstridge  <james@daa.com.au>
12408         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
12409         Thompson's patch that adds undo support to the function structure
12410         diagram objects.
12412 2000-04-14  James Henstridge  <james@daa.com.au>
12414         * objects/custom/custom_object.c (custom_distance_from): new
12415         implementation of distance algorithm that actually takes the
12416         display list into account when calculating the distance.  Much nicer
12417         than a simple bounding box.
12419 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
12421         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
12423 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12425         * objects/standard/polygon.c: Start of polygons own changes (for
12426         connectionpoints).  Need to do seperate changes in polyshape, too,
12427         rather than reuse the bezier changes.
12429 2000-04-13  James Henstridge  <james@daa.com.au>
12431         * lib/dia_image.c (dia_image_draw): use the new enumeration values
12432         from after the gdk-pixbuf cleanup.
12434         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
12435         on for loop.  Last set of coefficients were not beeing calculated,
12436         which caused a bit of breakage.
12438         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
12439         functions in geometry.c for calculating the closest segment.
12440         (bezierconn_distance_from): use distance_bez_line_point to calculate
12441         the distance.
12443         * lib/geometry.c (distance_bez_line_point): new function to calculate
12444         the distance from an open bezier line to a point.
12445         (distance_bez_shape_point): new function to calculate the distance
12446         from a closed bezier shape.
12447         (distance_ellipse_point): new function to calculate the distance from
12448         a filled ellipse to a point.
12450         * lib/geometry.h (BezPoint): moved this structure here from render.h
12452 2000-04-12  James Henstridge  <james@daa.com.au>
12454         * lib/geometry.c (distance_bez_seg_point): new function to calculate
12455         the distance from a bezier segment.
12457         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
12458         to calculate the distance from the object.
12460         * lib/geometry.c (distance_polygon_point): function for calculating
12461         the distance from a polygon to a point.
12463 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
12465         * app/interface.c:
12466         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
12467         breaks can be inserted in the tool box. 
12469         * doc/sheet.dtd: updated the DTD
12470         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
12471         
12472 2000-04-12  James Henstridge  <james@daa.com.au>
12474         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
12475         macro if the dialog is a GtkDialog :(
12477 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12479         * objects/standard/polygon.c: Connectionpoints now properly
12480         managed in a GList.  As far as I can tell, this will not dieturb
12481         the order (but I have the nagging doubt...)
12483         * lib/polyshape.c: No longer knows about connectionpoints.
12485 2000-04-11  James Henstridge  <james@daa.com.au>
12487         * app/Makefile.am: fix makefile for bonobo build.
12489         * configure.in: fix checks for bonobo.
12491         * app/menus.c: added entries for the plugin manager.
12493         * app/Makefile.am (dia_core_files): added plugin manager to files
12494         list.
12496         * app/plugin-manager.[ch]: the plugin manager dialog.
12498         * app/display.c (display_update_menu_state): set the antialiased
12499         menu entry to the correct value.
12501 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
12503         * objects/custom/custom_object.c: not all renderers like ellipses with
12504         negative dimensions. This could cause ellipses to disappear when using
12505         the flip_h and flip_v functions.
12507         * samples/grafcet.dia: fixed speling and correctness.
12508         
12509 2000-04-11  James Henstridge  <james@daa.com.au>
12511         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
12512         exposed the dia_plugin_load and dia_plugin_unload functions.
12514         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
12515         already created PluginInfo structure.
12517         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
12518         the pluginrc file.
12520         * lib/sheet.c: fix up call to dia_config_filename.
12522         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
12523         file.  This would save information such as which plugins not to
12524         load during startup.
12526 2000-04-09  James Henstridge  <james@daa.com.au>
12528         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
12530 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
12532         * lib/plug-ins.c (dia_register_plugins):
12533         Don't free the value returned from g_getenv.
12535 2000-04-09  Anders Carlsson  <andersca@gnu.org>
12537         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
12539         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
12541         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
12542         right to left, select objects that intersect the rubberbanding rectangle
12543         instead of selecting objects that are in the rectangle.
12545         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
12547         * lib/diagramdata.h: Likewise.
12550 2000-04-09  James Henstridge  <james@daa.com.au>
12552         * lib/plug-ins.[ch]: add copyright messages to files.
12554         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
12555         plugin interface.
12557         * objects/sybase/sybase.c (dia_plugin_init): 
12558         * objects/network/network.c (dia_plugin_init): 
12559         * objects/flowchart/flowchart.c (dia_plugin_init): 
12560         * objects/custom/custom.c (dia_plugin_init): 
12561         * objects/chronogram/chronogram.c (dia_plugin_init): 
12562         * objects/UML/uml.c (dia_plugin_init): 
12563         * objects/SADT/sadt.c (dia_plugin_init): 
12564         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
12565         * objects/FS/fs.c (dia_plugin_init): 
12566         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
12567         object libraries.
12569         * objects/standard/standard.c (dia_plugin_init): change over to new
12570         plugin interface.
12572         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
12573         the version checker for plugins.
12575         * app/app_procs.c: remove plugin loading code from here, and use
12576         code from plug-ins.[ch].  Also move registration of internal
12577         objects/filters to a `builtin' plugin.
12579         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
12581         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
12583         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
12584         defined variable in EXTRA_DIST.
12586         * app/preferences.h: removed dia_config_filename from header.
12588         * app/preferences.c: removed dia_config_filename function.
12590         * lib/dia_dirs.c (dia_config_filename): moved function over to this
12591         file.  Also changed implementation slightly so that it should work
12592         on the win32 port correctly (and use NT home directories).
12594         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
12595         it should have been.
12597         * lib/plug-ins.[ch]: new plugin loading code.
12599 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12601         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
12603         * lib/polyshape.c: Fix closest segment finding, exposes deeper
12604         bugs in adding corners to 'wraparound' segment.
12606         * objects/standard/polygon.c: Added connection points (fixed so
12607         far), set menu sensitivity.
12609         * lib/polyshape.c: Changed to box-style handles, fixed for start
12610         and ends not being special, added initial connections,
12612         * lib/dummy_dep.h: Added polyshape (gotcha!)
12614         * objects/standard/pixmaps/ellipse.xpm: 
12615         * objects/standard/pixmaps/box.xpm: 
12616         Filled element pixmaps with white.
12618         * lib/polyshape.c: 
12619         * objects/standard/polygon.c: 
12620         * lib/polyshape.h: 
12621         * objects/standard/standard.c: 
12622         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
12623         * lib/Makefile.am (libdia_a_SOURCES): 
12624         * app/menus.c: 
12625         * app/interface.c (tool_data): 
12626         Added Standard/Polygon object and PolyShape lib object.  Still
12627         needs inside grab and connection points.
12629         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
12630         available. 
12632         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
12633         not wanted.
12635         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
12636         if (argv) outside ifdefs.
12638 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12640         * objects/standard/image.c (image_set_props): 
12641         Aspect ratio is back in town.
12643         * app/Makefile.am (dia_LDADD): 
12644         * acconfig.h: 
12645         * configure.in: 
12646         Check for gdk_pixbuf (by default disabled, for now)
12648         * app/render_eps.c (draw_image): 
12649         * app/render_libart.c (draw_image): 
12650         * app/render_gnomeprint.c (draw_image): 
12651         Support for alpha mask in rendering.  Color postscript, too.
12653         * lib/dia_image.c: 
12654         * lib/dia_image.h: 
12655         Support for gdk_pixbuf and proper masking for exports.
12657 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
12659         * sheets/*.sheets: Updated Norwegian translations.
12660         
12661 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12663         * lib/text.c (text_insert_char): 
12664         * lib/render_store.c (add_data): 
12665         Made realloc double the alloced space rather than add
12666         a fixed amount, to reduce memory stress.
12668         * app/select.c: Added new select method 'Transitive'
12669         that select every reachable (by connections) object.
12671 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
12673         * dia.desktop: Added Norwegian translation.
12674         
12675 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
12677         * app/render_eps.c:
12678         * app/render_svg.c:
12679         Don't dereference NULL pointer if the renderer
12680         couldn't open the file. Fix by Lars Clausen.
12681         Bug reported by Martin Chisholm <b1mt@unb.ca>
12682         
12683 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
12685         * dia.desktop:
12686         * po/pt.po:
12687         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
12689 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
12691         * app/dia.gnorba (location_info):
12692         Changed to correct executable name.
12694 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
12696         * app/app_procs.c:
12697         Don't do any argument parsing or initialization
12698         if argv==NULL.
12700         * app/dia_embedd.c:
12701         Call init_server_factroy before app_init.
12702         Call app_init with argv==NULL
12703         Now we don't get any critical error on startup.
12705         * configure.in:
12706         Add Electric and Pneumatic to makefile list.
12707         
12708 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
12710         * shapes/Electric/*:
12711         * sheets/Electric.sheet:
12712         Add some Electric circuit shapes.
12714         * shapes/Pneumatic/*:
12715         * sheets/Pneumatic.sheet:
12716         Add some Pneumatic & Hydraulic circuit shapes
12717         (both sheets are still incomplete, though feature enough 
12718         things for basic circuits).
12720         * shapes/Contact/l_*.(xpm|shape):
12721         * sheets/Contact.sheet
12722         * shapes/Contact/Makefile.am
12723         made the older electric circuit shapes in Contact obsolete (disabled
12724         them in the sheet, made that sheet Ladder only). Fixed the makefile
12725         for forgotten items.
12726         
12727 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
12729         * app/Makefile.am:
12730         Add support for Dia bonobo component.
12731         Currently a bit raw, so it's commented out.
12732         
12733         * app/dia_embedd.c:
12734         * app/dia.gnorba:
12735         New files for embedding dia.
12736         The menu disabling hack is a bit gross. Esp. for GNOME.
12738         * app/app_procs.h:
12739         Add new function app_is_embedded();
12741         * app/diagram.c:
12742         Don't destroy diagram when last display is destroyed if embedded.
12743         
12744         * app/display.c:
12745         Change initialization of display so it works with embedding.
12747         * app/display.h:
12748         Clarify comment about display destruction.
12750         * app/interface.[ch]:
12751         Added top_level_window argument to create_display_shell.
12752         Don't open a top-level window if embedding.
12753         Don't quit app if trying to close toolbox window when embedding.
12754         Add toolbox_show() and toolbox_hide().
12756         * app/main.c:
12757         Added app_is_embedded() function (just returns false).
12758         Added toolbox_show() call in main().
12760         * app/menus.c:
12761         Added code for getting toolbox menus. This is used to
12762         hide some menu items when running embedded.
12763         
12764         * app/app_procs.c:
12765         Include sheet.h to remove warning.
12767         * objects/UML/association.c:
12768         Clarify association direction text.
12769         
12770 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
12772         * dia.1
12773         Fixed man page so whatis parsing works.
12775 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
12777         * app/render_libart.c (new_libart_renderer):
12778         Fix from segg <segg@infonet.ca> to compile without libart.
12779         I forgot to change the stub for new_libart_renderer when doing
12780         the interactive renderer stuff for libart.
12782 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
12784         * dia.desktop: Added Irish translation.
12785         
12786         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
12788 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
12790         * app/load_save.c (fchmod): OS/2 defines only.
12792 2000-03-07  James Henstridge  <james@daa.com.au>
12794         * lib/properties.c (prop_get_widget): set the position in the option
12795         menu correctly.
12797 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
12799         * app/display.c:
12800         * app/export_png.c:
12801         * app/render_libart.[ch]:
12802         Don't export png:s with an interactive libart renderer.
12804 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
12806         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
12808 2000-03-02  James Henstridge  <james@daa.com.au>
12810         * dia.spec (%build): unset LINGUAS before running configure.  This
12811         ensures that all translations get included in the RPM.
12813         * lib/properties.c (object_create_props_dialog): put in a check for
12814         a NULL return from the describe_props() object method.
12815         (prop_desc_lists_union): make sure that the returned array is not
12816         NULL.
12817         (prop_desc_lists_intersection): same here.
12819 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
12821         * objects/ER/Makefile.am:
12822         * objects/FS/Makefile.am:
12823         * objects/UML/Makefile.am:
12824         Don't link object libs with gtk.
12826 2000-02-29  James Henstridge  <james@daa.com.au>
12828         * app/preferences.c (prefs_save): check to see if the file could
12829         be opened before writing the prefs.
12831         * app/disp_callbacks.c (popup_object_menu): pass the button event
12832         to gtk_menu_popup.  This allows you to click and release to open
12833         the object menu.
12834         (ddisplay_canvas_events): same here.
12835         (create_object_menu): set the object type menu item in the object
12836         menu to be insensitive.
12838         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
12839         as we are now requiring a new version of libxml.
12841         * dia.spec: updated version number.  Added requirement for
12842         libxml >= 1.8.5
12844         * configure.in: incremented version number to 0.84.
12845         Added check for libxml >= 1.8.5.  This will prevent some of the
12846         problems people have had with broken libxml versions.
12848         * NEWS: added news items.
12850         * app/interface.c (create_color_area): removed call to realize parent
12851         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
12852         but I haven't seen it on my copy of dia.
12854 2000-02-28  James Henstridge  <james@daa.com.au>
12856         * app/export_png.c: added copyright notice, and made the band height
12857         a constant.
12859 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
12861         * lib/font.c (suck_font):
12862         Fixed off-by one bug in font pixmap height.
12863         Fixes the problem with garbage at the bottom of some text in aa mode
12864         and in png exported files.
12866 2000-02-27  James Henstridge  <james@daa.com.au>
12868         * app/app_procs.c: add the png export filter if it was compiled in.
12870         * app/export_png.c (export_png): new PNG export filter.  This requires
12871         the libart renderer to work as it needs a renderer that renders to a
12872         pixel buffer.
12874         * configure.in: add check for libpng.
12876         * lib/message.c (message_internal): use a GNOME dialog here as well.
12878         * app/display.c (ddisplay_close): use a GNOME dialog here.
12880         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
12881         when exporting to EPS.  This is because some people said the EPS
12882         output was too large
12884 2000-02-26  James Henstridge  <james@daa.com.au>
12886         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
12887         window.
12889         * app/app_procs.c (app_exit): use a GNOME dialog here.
12891         * app/preferences.c (prefs_create_dialog): if GNOME support is
12892         enabled, show a GNOME dialog.
12894         * app/grid.c (grid_draw): use preferences when drawing page break
12895         lines.
12897         * app/preferences.c: add page break preferences to dialog.
12899         * app/preferences.h: added page break preferences.
12901 2000-02-25  James Henstridge  <james@daa.com.au>
12903         * sheets/UML.sheet: added new objects.
12905         * objects/UML/uml.c: link in the two new objects.
12907         * objects/UML/node.c: 
12908         * objects/UML/branch.c: new UML objects from Stfan Seefeld
12909         <seefelds@magellan.umontreal.ca>.
12911 2000-02-24  James Henstridge  <james@daa.com.au>
12913         * objects/custom/custom_object.c: converted to use the properties
12914         interface.  In the future, it would be nice to add support for
12915         defining custom properties for custom objects, but that can wait.
12917 2000-02-22  James Henstridge  <james@daa.com.au>
12919         * sheets/Circuit.sheet: added new circuit shapes to sheet.
12921         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
12922         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
12923         and adds a few new features.
12925 2000-02-21  Daniel Egger  <egger@suse.de>
12927         * sheets/*.sheets: Added German translations and made some
12928         corrections to the others.
12929         
12930 2000-02-21  James Henstridge  <james@daa.com.au>
12932         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
12934         * shapes/Circuit/...: added new shapes from Erik Janssens.
12936 2000-02-20  James Henstridge  <james@daa.com.au>
12938         * app/interface.c (create_color_area): realize the parent window
12939         first.
12941         * objects/standard/image.c: properties patch for standard image
12942         object, from Lars Clausen.
12944         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
12946         * lib/properties.h (PropType): added file property type.
12948         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
12949         other shapes.
12951         * app/interface.c: use wrap box for toolbox.
12953         * app/Makefile.am: added new files.
12955         * app/gtk*wrapbox.[ch]: added wrap box widget.
12957 2000-02-19  James Henstridge  <james@daa.com.au>
12959         * sheets/network.sheet: added extra shapes to networks sheet.
12961         * configure.in (AC_OUTPUT): added shapes/network/Makefile
12963         * shapes/network/*: added shapes that were posted to the list a while
12964         back.
12965         
12966         * shapes/Makefile.am (SUBDIRS): added network subdirectory
12968         * app/menus.c (toolbox_menu_items): don't right justify help menu for
12969         gtk+ version of menus.
12971         * app/properties.c (create_dialog): use a GnomeDialog if we happen
12972         to be using gnome.
12974 2000-02-18  James Henstridge  <james@daa.com.au>
12976         * objects/flowchart/box.c: set extra data for corner radius and text
12977         padding properties.
12979         * objects/standard/box.c: set extra data for corner radius property.
12981         * lib/properties.h: set extra data in some standard properties.
12983         * lib/properties.c (prop_get_widget): look at the extra data for
12984         int, real and enum property types.  They now use GtkSpinButton and
12985         GtkOptionMenu respectively.
12987         * lib/properties.h: extra data members for creating property setting
12988         widgets.
12990 2000-02-17  James Henstridge  <james@daa.com.au>
12992         * objects/flowchart/box.c: reverted load/save functions back to
12993         previous implementations.  Made box use standard property names.
12995         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
12997         * app/grid.c: add more digits to the grid edit dialog.  This patch
12998         was also from Lars Clausen.
13000         * objects/standard/zigzagline.c: 
13001         * objects/standard/textobj.c:
13002         * objects/standard/polyline.c:
13003         * objects/standard/line.c:
13004         * objects/standard/ellipse.c:
13005         * objects/standard/box.c: 
13006         * objects/standard/bezier.c: 
13007         * objects/standard/arc.c: patches to add properties code to standard
13008         objects.  Based on patches from Lars Clausen.  I have also removed
13009         some dead code from the files.
13011         * lib/properties.h (PROP_STD_*): define a number of standard
13012         properties.  Where appropriate, objects should include these
13013         properties in their PropDescription list.  This way, the intersection
13014         of properties of two different shapes will be greater.
13016 2000-02-14  James Henstridge  <james@daa.com.au>
13018         * objects/flowchart/box.c (box_load, box_save): use property save
13019         routines.  Make sure that any props not handled by object_load_props
13020         are loaded before calling object_load_props, or we get errors because
13021         update_data is called.
13023         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
13024         error that could cause properties to be loaded incorrectly.
13025         (object_set_props_from_offsets): similar here.
13027         * lib/properties.[ch] (prop_{load,save}): functions for loading
13028         or saving a property in Dia's XML file format.
13029         (object_{load,save}_props): load or save some properties of an
13030         object.  These functions should help simplify the load/save methods
13031         of objects that implement the properties interface.
13033 2000-02-13  James Henstridge  <james@daa.com.au>
13035         * objects/flowchart/box.c: use offset code to simplify property
13036         get/set routines.
13038         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
13039         properties.
13040         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
13042         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
13043         properties.
13044         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
13046         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
13047         functions 
13049 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
13051         * app/Makefile.am:
13052         Add the custom object to DIA_LIB_PATH in run_dia.sh
13054 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
13056         * sheets/Circuit.sheet:
13057         * shapes/l_sout* (NEW):
13058         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
13059         variants of simple, inverted, set and reset outputs.
13060         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
13061         probably a split of Contact and Ladder sheets. And then a major 
13062         revamping of the Contact sheet.
13064 2000-02-10  James Henstridge  <james@daa.com.au>
13066         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
13068         * app/app_procs.c (register_all_objects): don't explicitely
13069         register the custom objects library -- let it be loaded by the
13070         normal plugin loading methods.
13072         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
13074         * objects/custom/Makefile.am: build libcustom_objects as a shared
13075         library again.
13077         * objects/custom/shape_info.[ch]: don't read the description field
13078         of custom shapes.  It makes more sense to have these in the sheet
13079         file to localise the parts of dia that translators have to deal
13080         with.
13082         * objects/custom/custom_object.c (custom_object_new): do not
13083         create the sheet object for the new custom shape -- this is
13084         handled by the custom sheet code.
13086         * objects/custom/custom.c: change over to being a normal plug-in
13087         rather than being linked with the main dia executable.
13089 2000-02-09  James Henstridge  <james@daa.com.au>
13091         * sheets/Circuit.sheet: 
13092         * sheets/Flowchart.sheet: 
13093         * sheets/Contact.sheet: fixed up sheets.
13095         * objects/custom/custom_object.c (custom_object_new): set the
13096         extra ObjectType fields.
13098         * lib/sheet.c: use extra ObjectType fields when creating sheet
13099         objects.  Give a warning if <shape> tags are found in a sheet
13100         file.  Now the custom sheet code does not know about custom
13101         shapes -- they look like any other object type.
13103         * lib/object.h (ObjectType): added extra members
13105 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
13107         * app/linewidth_area.c:
13108         Added code to set arbitrary line width.
13109         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
13111 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
13113         * app/linewidth_area.c: 
13114         * lib/font.[ch]:
13115         Add support for font-sucking.
13116         Implementation borrowed from gnome-canvas.
13117         
13118         * app/render_libart.[ch]:
13119         Implement text rendering.
13121 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
13123         * app/properties.c (create_dialog):
13124         ref and sink no_properties_dialog.
13126 2000-02-07  James Henstridge  <james@daa.com.au>
13128         * app/group.c (group_describe_props): new function.  Return the
13129         intersection of the properties of the contained objects that
13130         implement the describe_props interface.
13131         (group_get_props): implement by iterating through contained objects
13132         and calling their get_props method until all properties have been
13133         set.  Maybe this should go through all objects all the time??
13134         (group_set_props): implement by calling set_props method on all
13135         contained objects.
13136         (group_ops): use standard props dialog creation routines.
13138         * lib/properties.c (prop_desc_lists_intersection): fix implementation
13139         of intersection -- I was using i++ instead of i-- in a for loop :(
13141         * objects/custom/custom.c (custom_register_objects): fix usage
13142         of dia_get_data_directory again.
13144         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
13145         actually read the sheets.
13147 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
13149         Win32 port by Hans Breuer <Hans@Breuer.org>
13151         * app/Makefile.am:
13152         Remove DATADIR and LIBDIR defines.
13154         * lib/Makefile.am:
13155         Add dia_dirs.c and dia_dirs.h
13156         Added DATADIR and LIBDIR defines.
13158         * lib/dia_dirs.[ch]:
13159         New files for handling special directories.
13161         * app/app_procs.c:
13162         * app/commands.c:
13163         * lib/sheet.c:
13164         * objects/custom/custom.c:
13165         Fix warnings.  Use directory functions.
13167         * app/diagram.h:
13168         Add prototype for diagram_redraw_all.
13170         * app/diaunitspinner.c:
13171         * app/filedlg.c:
13172         * app/interface.c:
13173         * app/preferences.c:
13174         Fix warning.
13176         * app/load_save.c:
13177         Win32 doesn't have mkstemp and fchmod.
13179         * app/paginate_psprint.c:
13180         Win32 calls popen _popen and pclose _pclose.
13181         
13182         * app/arrow.c:
13183         Win32 calls finite _finite.
13185         * lib/color.h:
13186         Win32 needs to dllexport the color vars.
13188         * objects/GRAFCET/step.c:
13189         * objects/chronogram/chronoref.c:
13190         snprintf -> g_snprintf
13192 2000-02-05  James Henstridge  <james@daa.com.au>
13194         * lib/properties.c: more fixes so that it doesn't crash when using
13195         properties.  The undo/redo stuff also works!!
13197         * objects/flowchart/box.c (box_{describe, get, set}_props): test
13198         object where I have implemented the new properties interface
13199         complete with automatic properties dialog generation.
13201         * lib/properties.c (object_apply_props): fixed stupid error when
13202         creating the old_props array.  Also, it no longer frees the props
13203         array -- you will have to do that yourself.
13205 2000-02-04  James Henstridge  <james@daa.com.au>
13207         * app/properties.c (properties_apply): pass object_part to
13208         apply_properties.
13210         * lib/object.h (ApplyPropertiesFunc): added widget argument.
13212         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
13213         created this way as well.
13215         * objects/*/*.c: ref and sink the properties dialog window for each
13216         widget.  It can't rely on ref count being incremented by
13217         properties_show anymore.
13219         * app/properties.c (properties_show): don't ref the widget before
13220         removing it, or its ref count will increase each time you open the
13221         properties dialog.  Don't unparent the widget, as container_remove
13222         does that for us.
13224         * lib/object.h: fixed up prototypes for new object methods.
13226         * lib/properties.[ch]: added functions for automatically creating
13227         a properties dialog from the output of describe_props, get_props and
13228         set_props.
13229         (object_apply_props): apply properties and return an ObjectChange
13230         structure that can be used for undo.
13232 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
13234         * objects/GRAFCET/transition.c: minor leak plugged.
13236         * sheets/GRAFCET.sheet:
13237         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
13238         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
13239         conditions.
13240         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
13241         new ones (for condition.c).
13242         * objects/GRAFCET/action.c: added connection points for the conditions.
13243         * samples/grafcet.dia: updated the sample to improve conformance to
13244         IEC 848 and take advantage of dia's new features.
13245         
13246         * lib/geometry.h: (point_get_normed) fixed a typo.
13248 2000-02-02  James Henstridge  <james@daa.com.au>
13250         * lib/object.h: added object functions describe_props, get_props and
13251         set_props.  Do type definitions so that object.h doesn't need to
13252         include properties.h, since properties.h includes object.h.
13254         * lib/properties.[ch]: more hacking.
13256         * po/de.po: updated po file.
13258 2000-01-30  James Henstridge  <james@daa.com.au>
13260         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
13261         check to see if the C compiler accepts the flag beforehand.
13263         * lib/properties.[ch]: start of properties code.
13265         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
13267 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
13268         
13269         * sheets/GRAFCET.sheet:
13270         * sheets/GRAFCET/etapemc.xpm: (NEW)
13271         * sheets/GRAFCET/etapesp.xpm: (NEW)
13272         * objects/GRAFCET/step.c: Added the macro and
13273         sub-program call step types.
13275         * objects/GRAFCET/receptivity.[ch]: renamed to 
13276         objects/GRAFCET/boolequation.[ch]. 
13277         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
13278         (BoolEquation *)
13280         * lib/connpoint_line.[ch]: 
13281         * objects/chronogram/chronoline.c:
13282         * objects/chronogram/chronoref.c:
13283         * objects/GRAFCET/vergent.c:
13284         * objects/standard/line.c:
13285         * objects/SADT/box.c: Minor CPL interface changes, factored out the
13286         point count adjustment code into the CPL object.
13287         
13288 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
13290         * app/render_libart.c:
13291         Added support for images and bezier curves.
13292         Only text/fonts missing now.
13294         * app/render_gdk.c:
13295         Removed old erronous comment.
13297 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
13299         * objects/chronogram/chronoline_event.c: removed references to
13300         lround(). Please don't insist, I'm already red of shame.
13301         
13302 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
13304         * app/render_libart.[ch]:
13305         * app/Makefile.am:
13306         Non-finished libart renderer.
13308         * acconfig.h:
13309         Added HAVE_LIBART flag
13311         * configure.in:
13312         Added libart probe
13314         * app/app_procs.c:
13315         Call gdk_rbg_init().
13317         * app/connectionpoint_ops.c:
13318         * app/disp_callbacks.c:
13319         * app/grid.c:
13320         * app/handle_ops.c:
13321         * app/magnify.c:
13322         * app/modify_tool.c:
13323         Change ddisp->renderer type from RendererGdk * to Renderer *
13324         Draw zoom and select rects in ddisp->canvas->window instead
13325         of ddisp->renderer->renderer->pixmap.
13327         * app/display.[ch]:
13328         Add aa_renderer to DDisplay, and  support for it.
13329         New function ddisplay_set_renderer() for changing renderer.
13330         Add ddisplay_transform_coords_double() function, used by aa renderer.
13331         Change ddisp->renderer type from RendererGdk * to Renderer *
13333         * app/menus.c:
13334         Add antialias to menu.
13335         
13336         * app/commands.[ch]:
13337         add view_aa_callback function
13338         Change ddisp->renderer type from RendererGdk * to Renderer *
13340         * lib/geometry.[ch]:
13341         Added IntRectangle and int_rectangle_union.
13343 2000-01-28  James Henstridge  <james@daa.com.au>
13345         * app/commands.h: removed prototypes.
13347         * app/commands.c: removed the functions that have been moved to
13348         filedlg.c.
13350         * app/filedlg.h: added new prototypes.
13352         * app/filedlg.c (file_open_callback): move open dialog to this
13353         file.  This implementation should remember the current directory
13354         between file loads.
13355         (file_save_as_callback): moved this dialog as well.
13356         (file_save_callback): moved this function here.
13358         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
13359         align page boundaries to the origin.
13361         * app/diagram.c (diagram_update_extents): redraw the diagram if the
13362         scaling factor changes while updating the extents.  This is so the
13363         page breaks get redrawn correctly.
13365         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
13366         applying changes.
13368         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
13369         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
13370         the corner of the bounding box.
13372         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
13373         into page setup dialog.
13374         (pagesetup_apply): apply new `fit to' attributes to the diagram.
13376         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
13377         (diagram_data_save): save `fit to' data.
13379         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
13380         (data_update_extents): when in `fit to' mode, update scale factor
13381         when we update the extents.
13383         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
13384         structure.
13386         * .../.cvsignore: added some cvsignore files to quieten cvs.
13387         
13388         * app/pagesetup.c (pagesetup_changed): added code to change the
13389         scaling/fit to values as you change the options in the page setup
13390         dialog.  I haven't added code so that the fit to options are saved
13391         though.
13393         * app/diapagelayout.[ch]: changed the scaling portion of the widget
13394         to make it easier to set a `fit to' style scaling factor.
13396 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
13397         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
13398         but connpoint_line-based, so that there's a connection point at the 
13399         middle of each segment. Currently only the SADT arrow uses this.
13401         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
13402         
13403 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
13404         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
13405         saving and editing of properties (and default properties). 
13406         See the new objects (GRAFCET, SADT, chonograms) for examples.
13407         For already too hairy stuff, see objects/chronogram/chronoline.c.
13409         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
13410         evenly spaced connection points, which the user can add or remove at
13411         will. An object can own several connection point lines. See the SADT
13412         Box, or the GRAFCET vergents for examples.
13414         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
13415         quiet about unused stuff.
13417         * objects/GRAFCET (NEW):
13418         * samples/grafcet.dia (NEW):
13419         Added support for GRAFCET charts. 
13421         * objects/chronogram (NEW):
13422         * samples/chronograms.dia (NEW):
13423         Added support for chronograms (feature requested by Ronald L. Chichest;
13424         I found I'd use it often, too).
13426         * objects/standard/line.c: Replace the middle connectionpoint by 
13427         a whole connection point line, which defaults to one point (hint, 
13428         hint). New Line object menu to take advantage of this. 
13429         "Bothwards" compatibility is preserved (although you may loose 
13430         connections if you load a newer file in a older dia).
13432         * app/lineprops_area.c:
13433         * lib/arrows.[ch]:
13434         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
13435         (feature requested by Benjamin Kahn).
13436         Merged in Steffen Macke's slashed arrow head type.
13438         * app/Makefile.am (app/run_dia.sh actually):
13439         Added $DEBUGGER in front of dia's invocation, so that
13440         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
13441         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
13442         "EFENCE=-lefence" to link with Electric Fence.
13444         * configure.in: Made gcc do more aggressive optimisations on i386, and
13445         enabled warnings.
13446         
13447 2000-01-24  James Henstridge  <james@daa.com.au>
13449         * lib/geometry.[ch]: added inline versions of functions.  Used
13450         glib's G_INLINE_FUNC stuff, so it should still work on systems
13451         without inline funcs.
13453         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
13454         it outputs the correct element id for the ellipse objects.
13456 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13458         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
13459         object_add_handle_at. Message typo fixed.
13460         
13461         * lib/sheet.c (load_register_sheet):
13462         potential bug fixed (warning hunt).
13464         * objects/custom/custom.c (custom_object_load): disabled an assertion
13465         which made dia abort upon failure to load a shape file. Fixed a
13466         subsequent crash. 
13468         * objects/custom/shape_info.c (load_shape_info): Made the custom 
13469         shape load code ignore XML comments between <?xml ...?> and the 
13470         root object (mostly useful to put the emacs magic comments).
13471         
13472         * app/load_save.c: Made dia do backup copies of files when saving,
13473         and complain in case of failure.
13475 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
13477         * AUTHORS: fixed my address (ISP thought it was a great idea to change
13478         the domain name)
13479         
13480         * configure.in:
13481         * shapes/Contact:
13482         * shapes/Contact/*:
13483         * sheets/Contact.sheet:
13484         * sheets/Makefile.am:
13485         Added support for Contact and LADDER charts.
13487         * dia.desktop: Added a French translation.
13488         
13489 2000-01-23  James Henstridge  <james@daa.com.au>
13491         * app/commands.c (help_about_callback): don't die if can't load
13492         logo image.
13494         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
13495         out NaN's when performing bezier curve subdivision.
13497         * objects/custom/custom_object.c: initialise memory of Custom structs
13498         to zero.
13500         * app/render_svg.c (draw_image): added image support to the XML
13501         output filter.  The image is just referenced, rather than being
13502         included inline, so if you copy the SVG file somewhere else, you
13503         may need to move the images or fix up the links.
13505         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
13506         so the text is not just displayed in black all the time.
13508 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
13510         * configure.in: fixed libpopt test so we wont try to build with
13511         too old libpopt.
13513 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
13515         * configure.in: Added "uk" to ALL_LINGUAS.
13517 1999-12-24  James Henstridge  <james@daa.com.au>
13519         * po/ru.po: updated russian translation from Valek Filippov.
13520         
13521         * app/render_svg.c (new_svg_renderer): make output use 19991203
13522         version of SVG DTD.  Use viewBox to set the extents of the view.
13524         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
13525         ftp.gnome.org as the download.
13527         * TODO (TODO): weeded out completed todo items and added a few extra.
13529         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
13531         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
13532         be good to get rid of the object/shape distinction and separate
13533         the custom shape code out from the main application.
13535         * objects/custom/README, diagram.dtd: moved to new doc directory.
13536         Renamed the custom shapes README to custom-shapes.  Also updated
13537         custom shape docs a bit and removed the section on sheet files, as
13538         that has changed a bit.
13540         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
13541         of the image data is larger than the maximum cell array.  I should
13542         add code to break scan lines down further in this case, but for now
13543         an error message is better than an infinite loop.
13545         * app/filedlg.c (file_export_ok_callback): show a dialog if we
13546         couldn't determine the export filter to use.
13548         * app/commands.c (help_about_callback): fixed up about box logo
13549         expose bug.  Now just use a GtkPixmap widget rather than a
13550         GtkDrawingArea and calling gdk_imlib_paste_image.
13552         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
13553         because automake does not always get things right.
13555         * configure.in: updated version number to 0.83.
13557         * app/preferences.c (prefs_save): 
13558         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
13559         for fopen.  Text is the default file mode anyway.
13561         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
13562         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
13563         * app/load_save.c (write_objects, write_connections): 
13564         * app/filedlg.c (file_export_ok_callback): 
13565         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
13566         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
13567         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
13568         snprintf to calls to g_snprintf.
13570         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
13571         as the picture name.
13573 1999-12-23  James Henstridge  <james@daa.com.au>
13575         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
13576         negative numbers.  This fixes the upside down text problem I was
13577         having previously.
13578         (draw_image): implemented the image code.  It will try to split the
13579         image data up into bands if it is too big to fit into a single
13580         cgm cell array element.  It will have problems if you try to insert
13581         an image wider than about 10,000 pixels though.
13583         * Makefile.am: use gnomedatadir for the files that need to be
13584         installed in gnome's datadir.  This is mainly to help people doing
13585         packages for weird setups.
13587 1999-12-22  James Henstridge  <james@daa.com.au>
13589         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
13590         beziers are left to do.  The text seems to be the wrong way up
13591         still.  This is probably a problem with character orientation
13592         element, but I have used what the settings given in the standard.
13593         Other than this, the CGMs dia produces are readable (and displayable)
13594         by ralcgm and corel draw.
13595         (draw_string): subtract from the X coord rather than the Y coord for
13596         center and right aligned text.
13598         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
13599         the size of a real number, and changed name of write_double to
13600         write_real.  Consider changing to fixed real encoding.  Also, now
13601         all element headers are correct.  Once the real number encoding is
13602         fixed, only text, beziers and images are left to do.
13604 1999-12-21  James Henstridge  <james@daa.com.au>
13606         * Makefile.am (SUBDIRS): recurse into plug-ins.
13608         * configure.in: add plug-ins directory makefiles to list.
13610         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
13611         not done yet.  Also, the output files are not quite correct.
13613         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
13614         font.  It doesn't work if you do.
13616 1999-12-20  James Henstridge  <james@daa.com.au>
13618         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
13619         export the files.  Instead, use filter_guess_export_filter to
13620         guess the correct format to save in and use the appropriate filter.
13621         It defaults to postscript for compatibility.
13623         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
13624         function.
13626         * app/commands.[ch]: removed export to eps functions.
13628         * app/menus.c: removed export to eps menu items.
13630         * app/app_procs.c: register new export filters.
13632         * app/load_save.[ch]: define dia native export filter.
13634         * app/render_eps.[ch]: define eps export filter.
13636         * lib/filter.h: added diafilename argument to the DiaExportFunc
13637         prototype.  This is useful for putting the source of the diagram
13638         into the output file for instance.
13640         * app/app_procs.c (app_init): register the SVG export filter.  Have
13641         to get EPS code converted to this API, and maybe also allow saving in
13642         DIA's native format from the export dialog.  In fact, it is now
13643         possible to load an export filter from a shared library and it will
13644         integrate into the interface correctly.
13646         * app/menus.c: removed references to the SVG renderer.
13648         * app/commands.[ch]: removed svg stuff.
13650         * app/diagram.[ch]: removed diagram_export_to_svg function.
13652         * app/render_svg.[ch]: added a DiaExportFilter structure for this
13653         renderer.
13655         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
13656         probably move the open/save dialogs to this file as well.
13658 1999-12-19  James Henstridge  <james@daa.com.au>
13660         * lib/filter.[ch]: start of interface for generalised handling of
13661         filters.  I have only done code for export filters so far.  I still
13662         need to do the gui for this, and convert the current SVG and EPS
13663         filters to the new API.
13665         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
13666         weren't setting the last handle correctly.  It was actually assigning
13667         to the wrong position in the handles array, so the last handle was
13668         left as NULL, which caused the segfault.
13670         * objects/standard/image.c (image_copy): modified routine so that
13671         it just adds a reference to the DiaImage structure in the new image
13672         object.  This seems to have cleared up the problems with copying
13673         image objects.
13675         * dia.spec: spec file additions from John Gotts.
13677 1999-12-12  James Henstridge  <james@daa.com.au>
13679         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
13680         has not been released yet though.
13682         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
13684         
13685         The following based on a patch from Lars Clausen:
13686         
13687         * objects/standard/bezier.c (bezierline_move_handle): when performing
13688         the initial drag of the bezierline, move the control points to keep
13689         the line straight.
13691         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
13692         make the new control points a bit closer to the major point.
13694         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
13695         as the reason for the move.
13696         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
13697         move reason.
13699         * lib/handle.h: new handle move reasons.
13701 1999-12-09  James Henstridge  <james@daa.com.au>
13703         * dia.spec: include the new files in RPMs.
13705         * Makefile.am: install these new files.
13707         * dia.keys.in: file describing actions and icon for dia diagrams for
13708         use in the gnome file manager.
13709         
13710         * dia.mime: a file defining the application/x-dia-diagram mime type.
13711         
13712         * dia-diagram.png: an icon for dia diagrams.
13714 1999-12-08  James Henstridge  <james@daa.com.au>
13716         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
13718         * plug-ins/python/pydia-display.[ch]: wrapper for display.
13720         * objects/standard/ellipse.c: applied Lars's patch to optionally not
13721         draw the background of the ellipse.
13723         * app/load_save.c (read_connections): do some sanity checking on the
13724         handle and connection point numbers before performing the object
13725         connection.
13727         * lib/bezier_conn.c (bezierconn_load): give the correct number of
13728         handles when loading a BezierConn.
13730 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
13732         * sheets/*.sheet: Finished Norwegian translations.
13733         
13734 1999-12-07  James Henstridge  <james@daa.com.au>
13736         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
13737         (PyDia_GetObjectType): find object type function.
13739         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
13740         method for diagrams.
13742         * plug-ins/python/pydia-object.c: added methods for DiaObject and
13743         DiaObjectType.
13745         * AUTHORS: added Lars and Cyrille to the authors file.
13747         * objects/standard/bezier.c (bezierline_add_segment_callback): place
13748         new point correctly.
13750         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
13752         * lib/bezier_conn.c: applied Lars's patch for placement of the new
13753         point when adding a segment to a BezierConn.
13755 1999-12-06  James Henstridge  <james@daa.com.au>
13757         * plug-ins/python/test.py: test script for the python plug-in.
13759         * plug-ins/python/python.c: this file contains the plug-in startup
13760         code for the python plugin.  Right now, it just initialises the
13761         dia module and executes a script.
13763         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
13765         * objects/standard/bezier.c (bezierline_draw): draw control lines for
13766         bezier curve if we are using an interactive renderer (ie. only if
13767         displaying to the screen).
13769         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
13770         to draw control lines on to a bezier curve.  Based on implementation
13771         from Lars.
13773         * objects/standard/bezier.c (bezierline_delete_segment_callback):
13774         calculate segment number using closest_segment rather than
13775         closest_handle.  Sometimes the closest handle is part of a different
13776         segment.
13777         (bezierline_draw): use correct size for start arrow.
13779         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
13780         * lib/geometry.c (distance_line_point): added notes to documentation
13781         in comment.
13782         * app/object_ops.c (object_list_align_v): 
13783         (object_list_align_h): fix of by one error when calculating free space
13784         for equal distance alignment.
13785         * app/menus.c (objects_align_h, objects_align_v): include align
13786         adjacent menu items in the gnome version of the menus.
13787         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
13788         align adjacent menu items correctly.
13791         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
13792         table.
13794         * objects/standard/bezier.c: converted bezierline to use BezierConn.
13795         Still a few bugs.  It crashes on deleting line segments.
13797         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
13799 1999-12-05  James Henstridge  <james@daa.com.au>
13801         * lib/bezier_conn.[ch]: start of BezierConn object
13803         * app/interface.c: add bezierline to toolbox.
13805         * objects/standard/standard.c: initialise bezierline.
13807         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
13808         made a few modifications to get it working nicely.  It still needs
13809         a bit of work though.  Maybe create a BezierConn object in lib.
13811 1999-12-02  James Henstridge  <james@daa.com.au>
13813         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
13814         
13815         * plug-ins/python/Makefile.am: tried building everything.  It is
13816         building as a library at the moment.  I will have to convert it
13817         to a libtool library and add some initialisation code.
13818         
13819         * plug-ins/python/diamodule.c: start of the dia module, using the
13820         other object wrappers.  Not complete.
13822 1999-12-01  James Henstridge  <james@daa.com.au>
13824         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
13825         the handles and connections attributes.
13827         * plug-ins/python/pydia-layer.c: added functions that use
13828         ConnectionPoint's.
13830         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
13832         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
13834         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
13835         I am currently wrapping the basic elements in the diagram in python
13836         objects -- nothing to see or play with yet.
13838 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
13840         * AUTHORS:
13841         * HACKING:
13842         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
13844 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
13846         * configure.in:
13847         * po/ru.po:
13848         Added russian translation from Valek Filippov <frob@df.ru>
13850 1999-11-24  James Henstridge  <james@daa.com.au>
13852         * sheets/UML/*: 
13853         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
13854         discussed with Alex.  Also added extra makefiles so that make install
13855         works correctly.
13857 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
13859         * app/preferences.[ch]:
13860         * app/display.c:
13861         Added snap to grid preference.
13862         Patch from Michael Leslie <mles@springboardwireless.com>
13864 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13866         * app/load_save.c:
13867         * lib/dia_xml.c:
13868         * lib/sheet.c:
13869         * lib/text.c:
13870         * objects/custom/shape_info.c:
13871         All strings returned by libxml must be freed with free, not
13872         g_free, or there will be problems if you use memory debugging
13873         in glib.
13874         
13875 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13877         * app/create_object.[ch]:
13878         * app/menus.c:
13879         * app/tool.[ch]:
13880         * app/commands.[ch]:
13881         * app/pixmaps.h:
13882         * app/interface.[ch]:
13883         Reverted the tool menu patch. It has some 'issues'.
13884         I liked it though, so it'll probably return.
13886 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13888         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
13889         <bruce@cybersight.com> for some purify runs and analysis.
13890         Also a great thank you to Owen Taylor for creating MemProf, a
13891         free memory leak detector that was used to find and verify a
13892         lot of these fixes.
13893         
13894         * app/diagram.c:
13895         * app/paginate_psprint.c:
13896         * app/render_eps.[ch]:
13897         * app/render_svg.[ch]:
13898         Free renderers.
13900         * app/interface.c:
13901         Don't add a reference to ddisp->shell. Why was this done in
13902         the first place?
13904         * app/load_save.c:
13905         * lib/dia_xml.c:
13906         * lib/sheet.c:
13907         * lib/text.c:
13908         Free all strings returned from xmlGetProp
13910         * app/modify_tool.c:
13911         Plug leak.
13913         * objects/custom/custom.c:
13914         Use closedir() after opendir().
13916         * objects/custom/shape_info.c:
13917         User g_free() instead of "if (tmp) free(tmp)".
13919         * sheets/ER.sheet:
13920         Add newline at end of file.
13921         
13923 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
13925         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
13926         Adds tool menu and keyboard shortcuts.
13928         * app/create_object.[ch]:
13929         Use tool_set() instead of tool_reset().
13930         create_create_object_tool() takes extra type argument
13932         * menus.c:
13933         Add tools menu.
13934         
13935         * tool.[ch]:
13936         Moved tool_data here, export it.
13937         Add separate tool type for all create objects tools.
13938         new functions tool_set().
13940         * commands.[ch]:
13941         New callback tool_set_callback.
13943         * pixmaps.h:
13944         Moved some pixmaps to interface.c.
13945         
13946         * interface.[ch]:
13947         Remove tool_data array (moved to tool.c).
13948         Use the tool_data from tool.c.
13949         Remove modify_tool_button global var.
13950         
13951 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
13953         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
13954         
13955         * app/app_procs.c:
13956         Interprets command-line arguments as files to open even when
13957         HAVE_POPT is not defined.
13959         * app/magnify.c:        
13960         Shift-clicking when zooming zooms out, like the Gimp.
13962         * app/menus.c:
13963         Has hotkeys for zoom-100% and snap-to-grid.
13965 1999-11-17  James Henstridge  <james@daa.com.au>
13967         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
13968         that it is not jumpy.
13970         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
13972         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
13973         scrolling by pressing the shift key when using the scroll tool.
13975         * sheets/Makefile.am: fixed makefile so that install actually works
13976         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
13977         don't exist.
13978         (SHEETS): install Circuit.sheet
13980 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
13981         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
13983         * sheets/Circuit.sheet:
13984         * sheets/ER.sheet:
13985         * sheets/FS.sheet:
13986         * sheets/Flowchart.sheet:
13987         * sheets/UML.sheet:
13988         * sheets/network.sheet:
13989         * sheets/sybase.sheet:
13990         Changed name space
13992         * sheets/Circuit.sheet:
13993         added some missing French translations
13995         * lib/sheet.c:
13996         killed the temporary sheet namespace
13998         * objects/custom/custom.c:
13999         obsolete comment cleaned up
14001 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
14003         * configure.in:
14004         * po/pt.po:
14005         Added portugese translation from Pedro Morais
14006         <pmmm@rnl.ist.utl.pt>
14008 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
14010         Changed all sheets to be specified in xml.
14011         All sheet objects removed from the C code.
14012         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
14013         
14014         * Makefile.am:
14015         * configure.in:
14016         Adding shapes dir.
14017         Updated version to 0.81cvs.
14018         
14019         * app/Makefile.am:
14020         Update run_dia.sh with sheet-dir.
14021         
14022         * app/app_procs.c:
14023         Load all sheets on startup.
14024         Create sheet directory first time.
14025         Don't call custom_register_sheets().
14027         * lib/Makefile.am:
14028         Add sheetdir define
14030         * lib/custom.h:
14031         Remove custom_register_sheets().
14033         * lib/sheet.[ch]:
14034         Add sheet loading code.
14036         * sheet/Circuit.sheet:
14037         * sheet/ER.sheet:
14038         * sheet/FS.sheet:
14039         * sheet/Flowchart.sheet:
14040         * sheet/UML.sheet:
14041         * sheet/network.sheet:
14042         * sheet/sybase.sheet:
14043         Added sheet files.
14045         * sheet/ER/weakentity.xpm:
14046         * sheet/UML/aggregation.xpm
14047         * sheet/UML/umlclass_template.xpm
14048         Added sheet pixmaps.
14049         These are moved from their old places.
14051         * sheet/.cvsignore:
14052         Shut up cvs.
14054         * objects/*/*.c:
14055         Removed sheet objects and sheet registration.
14056         
14057         * objects/ER/Makefile.am:
14058         * objects/ER/pixmaps/weakentity.xpm:
14059         * objects/UML/Makefile.am:
14060         * objects/UML/pixmaps/aggregation.xpm:
14061         * objects/UML/pixmaps/umlclass_template.xpm:
14062         Removed alternative pixmaps. (Moved to sheet).
14064         * objects/custom/Makefile.am:
14065         * objects/custom/load_sheet.[ch]:
14066         Removed old sheet loading code.
14067         
14068         * objects/custom/custom.c:
14069         Load all shapes instead of sheets.
14070         Removed custom_register_sheets().
14072         * objects/custom/custom_object.c:
14073         Added debug code.
14075         * objects/custom/shape_info.[ch]:
14076         Added shape_info_getbyname().
14078         * objects/flowchart/Makefile.am:
14079         * objects/flowchart/collate.shape            
14080         * objects/flowchart/delay.shape              
14081         * objects/flowchart/display.shape            
14082         * objects/flowchart/document.shape           
14083         * objects/flowchart/extract.shape            
14084         * objects/flowchart/flowchart.c              
14085         * objects/flowchart/intstorage.shape         
14086         * objects/flowchart/magdisk.shape            
14087         * objects/flowchart/magdrum.shape            
14088         * objects/flowchart/magtape.shape            
14089         * objects/flowchart/manualinput.shape        
14090         * objects/flowchart/manualop.shape           
14091         * objects/flowchart/merge.shape              
14092         * objects/flowchart/offlinestore.shape       
14093         * objects/flowchart/offpageconn.shape        
14094         * objects/flowchart/or.shape                 
14095         * objects/flowchart/predefdproc.shape        
14096         * objects/flowchart/preparation.shape        
14097         * objects/flowchart/punchedcard.shape        
14098         * objects/flowchart/punchedtape.shape        
14099         * objects/flowchart/sort.shape               
14100         * objects/flowchart/sumjunction.shape        
14101         * objects/flowchart/terminal.shape           
14102         * objects/flowchart/transaction.shape        
14103         * objects/flowchart/transmittape.shape       
14104         * objects/flowchart/pixmaps/collate.xpm      
14105         * objects/flowchart/pixmaps/delay.xpm        
14106         * objects/flowchart/pixmaps/display.xpm      
14107         * objects/flowchart/pixmaps/document.xpm     
14108         * objects/flowchart/pixmaps/extract.xpm      
14109         * objects/flowchart/pixmaps/intstorage.xpm   
14110         * objects/flowchart/pixmaps/magdisk.xpm      
14111         * objects/flowchart/pixmaps/magdrum.xpm      
14112         * objects/flowchart/pixmaps/magtape.xpm      
14113         * objects/flowchart/pixmaps/manualinput.xpm  
14114         * objects/flowchart/pixmaps/manualop.xpm     
14115         * objects/flowchart/pixmaps/merge.xpm        
14116         * objects/flowchart/pixmaps/offlinestore.xpm 
14117         * objects/flowchart/pixmaps/offpageconn.xpm  
14118         * objects/flowchart/pixmaps/or.xpm           
14119         * objects/flowchart/pixmaps/predefdproc.xpm  
14120         * objects/flowchart/pixmaps/preparation.xpm  
14121         * objects/flowchart/pixmaps/punchedcard.xpm  
14122         * objects/flowchart/pixmaps/punchedtape.xpm  
14123         * objects/flowchart/pixmaps/sort.xpm         
14124         * objects/flowchart/pixmaps/sumjunction.xpm  
14125         * objects/flowchart/pixmaps/terminal.xpm     
14126         * objects/flowchart/pixmaps/transaction.xpm  
14127         * objects/flowchart/pixmaps/transmittape.xpm 
14128         Moved shapes and their pixmaps to shapes/flowchart
14130         * shapes/Circuit/Makefile.am:
14131         * shapes/Circuit/index.sheet:
14132         Removed index.sheet.
14133         
14134         * shapes/Makefile.am:
14135         * shapes/flowchart/Makefile.am:
14136         * shapes/flowchart/*.shape:
14137         * shapes/flowchart/*.xpm:
14138         Added flowchart shapes. (Moved from objects/flowchart)
14139         
14141 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
14143         * app/app_procs.c: Fixed popt stuff.
14145 1999-11-01  James Henstridge  <james@daa.com.au>
14147         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
14148         Andreas Scherf.
14150 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
14152         * dia.spec:
14153         * configure.in:
14154         Update version to 0.81.
14155         
14156         * NEWS:
14157         Update with news for 0.81.
14158         
14159         * shapes/Circuit/*:
14160         * shapes/Circuit_eu/*:
14161         Moved european circuit objects to Circuit sheet.
14163 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
14164         
14165         * lib/diagramdata.[ch]:
14166         Added layer_set_object_list() function.
14168         * app/undo.[ch]:
14169         Added support for undo of reordered objects.
14170         Fix the undo of delete to keep the right order on undo.
14171         
14172         * app/diagram.c:
14173         changed loop to object_add_updates_list() calls.
14174         Added undo support to bring to front/back.
14176         * app/disp_callbacks.c:
14177         * app/paginate_psprint.c:
14178         Remove warnings.
14180 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
14182         This plugs some leaks. Thanks to
14183         Bruce Mitchener <bruce@cybersight.com> for running
14184         Dia through purify for me.
14185         
14186         * app/app_procs.c:
14187         Free displays and diagrams on exit.
14189         * app/modify_tool.c:
14190         Free gc when freeing tool.
14192         * lib/diagramdata.c:
14193         Free layer name.
14194         
14195         * app/display.c:
14196         Free update and display lists when destroying display.
14197         
14198         * lib/diagramdata.c:
14199         Don't leak layer name.
14201         * objects/custom/load_sheet.c: 
14202         * objects/custom/shape_info.c:
14203         Free loaded xml documents.
14205 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
14207         * app/commands.c:
14208         * app/object_ops.[ch]:
14209         Add undo handling to alignment ops.
14210         Based partially on patch by Dan Cohn <dan@internap.com>.
14212         * objects/standard/image.c (image_move_handle):
14213         Don't divide by zero for small images.
14214         Patch by Dan Cohn <dan@internap.com>.
14216         * objects/UML/class.c (umlclass_destroy): 
14217         * objects/custom/custom_object.c (custom_destroy):
14218         Don't free connectionpoints before calling element_destroy
14219         which unconnects them.
14221 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
14223         * objects/custom/custom_object.c: 
14224         Load and save padding too. Fixes strange load crashes.
14226         * app/group.c (group_destroy):
14227         Don't unconnect already freed connectionpoints when
14228         destroying group. Probably fixes bug reported by
14229         Elliot Lee <sopwith@redhat.com>.
14231         * app/render_gdk.c:
14232         Don't crash on zero-size (broken) bezier curves.
14233         Different sort of fix. This should work on closed bezier curves
14234         too.
14236         * objects/standard/textobj.c:
14237         Activate default properties dialog for Text objects.
14239         * app/render_eps.c: 
14240         * app/load_save.c:
14241         * app/preferences.c:
14242         * app/render_svg.c:
14243         fopen files in binary or text mode.
14245 1999-10-26  Alexander Larsson  <alex@cendio.se>
14247         * app/render_gdk.c (bezier_add_lines):
14248         Don't crash on zero-size (broken) bezier curves.
14249         Fixes a crashing bug.
14251 1999-10-25  James Henstridge  <james@daa.com.au>
14253         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
14254         before it is installed.
14256         * objects/flowchart/flowchart.c: use relative paths to find shapes.
14258         * objects/custom/custom.c (custom_object_load): take file names
14259         relative to $(pkgdatadir)/shape-internal, and check an environment
14260         variable for an alternative directory.
14262         * app/...: added copyright messages to the top of my new code.
14264         * app/paginate_psprint.c: some general clean ups.  Also, give an error
14265         dialog if we can't open the command or output file for writing.
14267         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
14268         function so it would set orientation to landscape correctly.
14270         * app/paginate_psprint.c: use the paper settings that come with
14271         the diagram.  Also implemented landscape printing.
14273         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
14274         in PS header.
14276         * app/commands.[ch] (file_pagesetup_callback): added callback for
14277         the page setup dialog.
14279         * app/menus.c: added page setup menu item.
14281         * app/pagesetup.[ch]: implementation of the page setup dialog.
14283         * app/diapagelayout.[ch]: added accessors for the scaling factor.
14284         
14285         * app/load_save.c (diagram_load): load paper information from save
14286         file.
14287         (diagram_save): save the paper info.
14289         * lib/diagramdata.c (new_diagram_data): initialise paper info section
14290         of DiagramData structure.
14291         (diagram_data_destroy): free the paper name.
14293         * lib/diagramdata.h: added a paper member to the DiagramData structure
14294         that holds the page layout info for a diagram.
14296 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
14298         * objects/flowchart/box.c:
14299         * objects/flowchart/ellipse.c:
14300         * objects/flowchart/diamond.c:
14301         * objects/flowchart/parallelogram.c:
14302         Load and save padding too. Fixes strange load crashes.
14304 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
14306         * app/app_procs.c (name_is_lib):
14307         .dll, .sl and .so.0.0.0 are also libraries.
14309 1999-10-20  James Henstridge  <james@daa.com.au>
14311         * configure.in: added extra makefile.
14312         
14313         * shapes/Circuit_eu/*: a new set of european circuit shapes from
14314         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
14315         (added fuses to makefile, fill the area of some of the components).
14317 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
14319         * lib/Makefile.am:
14320         * app/Makefile.am: 
14321         Add GDK_IMLIB_CFLAGS to includes.
14322         Changed --export-dynamic to -export-dynamic
14324         * lib/widgets.c:
14325         * objects/UML/message.c:
14326         Removed c++ comment.
14328         * lib/render_store.[ch]:
14329         Don't use empty structure. That is not Ansi C.
14331 1999-10-19  James Henstridge  <james@daa.com.au>
14333         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
14334         the margin entries, as they allow interpretation of units.
14335         (paper_size_change): display the current page dimensions.
14337         * app/diaunitspinner.[ch]: a widget derived from the standard
14338         GtkSpinButton that tries to take units into account.  So if you enter
14339         "1in" into the entry, it will convert it to 2.54cm.
14341 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
14343         * app/app_procs.c:
14344         Removed include of dlfcn.h
14346 1999-10-18  James Henstridge  <james@daa.com.au>
14348         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
14349         bound on margin widths.  It is set to the paper width/height.
14351         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
14352         routine for the diamond.  This bug was found and fixed by Daniel Wang
14353         <danwang@CS.Princeton.EDU>
14355 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
14357         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
14358         remove warning (OS/2 version).
14360 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
14362         * README:
14363         Put a pointer to objects/custom/README.
14364         
14365 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
14367         * dia.spec:
14368         Updated version to 0.80
14370         * configure.in:
14371         Updated version to 0.80cvs
14373 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
14375         * Released Dia 0.80
14376         Tag called DIA_0_80
14377         
14378 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
14380         * app/Makefile.am
14381         * lib/Makefile.am
14382         * objects/UML/Makefile.am
14383         * objects/ER/Makefile.am
14384         * objects/network/Makefile.am
14385         * objects/standard/Makefile.am
14386         * objects/FS/Makefile.am
14387         * objects/sybase/Makefile.am
14388         * objects/flowchart/Makefile.am
14389         * objects/custom/Makefile.am
14390         Added -I$(top_srcdir)/intl which is needed for
14391         --with-included-gettext.
14393         * POTFILES.in
14394         Updated.
14395         
14396         * po/sv.po
14397         Updated swedish translation.
14399 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
14401         * configure.in:
14402         Updated version number to 0.80.
14404         * KNOWN_BUGS:
14405         New file.
14407         * TODO:
14408         Updated. Moved bugs to KNOWN_BUGS.
14410         * NEWS:
14411         Updated with 0.80 release notes.
14412         
14413 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
14414         
14415         * lib/orth_conn.c:
14416         For backwards compatibility, make sure handle 0 and 1 are the
14417         first and last handle. Fixes compatibility with 0.41, breaks
14418         compatibility with cvs version.
14419         Fixed bug in undo/redo of adding deleting endpoint segments
14420         when the endpoint was connected.
14421         Start OrthConn objects with three segments.
14423 1999-10-16  James Henstridge  <james@daa.com.au>
14425         * objects/custom/custom_object.c (custom_update_data): changed
14426         resizing behaviour a bit so that shapes don't grow huge when you try
14427         to resize them to smaller than the size required by the text box.
14428         Also, now shapes will not grow with fixed aspect ratio when you enter
14429         text into them unless the shape has the fixed aspect ratio flag set.
14431 1999-10-15  James Henstridge  <james@daa.com.au>
14433         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14435         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14437         * objects/flowchart/magdrum.shape: 
14438         * objects/flowchart/offlinestore.shape: 
14439         * objects/flowchart/punchedtape.shape: 
14440         * objects/flowchart/transmittape.shape: 
14441         * objects/flowchart/punchedcard.shape: new shapes.
14443         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14445         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14447         * objects/flowchart/collate.shape:
14448         * objects/flowchart/delay.shape:
14449         * objects/flowchart/extract.shape:
14450         * objects/flowchart/intstorage.shape:
14451         * objects/flowchart/magdisk.shape:
14452         * objects/flowchart/magtape.shape:
14453         * objects/flowchart/merge.shape:
14454         * objects/flowchart/or.shape:
14455         * objects/flowchart/sort.shape:
14456         * objects/flowchart/sumjunction.shape: new shapes.
14458 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
14460         * TODO (BUGS):
14461         Added bug:
14462         Entering an erronous command as print command
14463         crashes dia.
14465         * app/paginate_psprint.c:
14466         Save all print dialog values for next time.
14467         
14468         * app/Makefile.am:
14469         Remove custom lib from DIA_LIB_PATH.
14471 1999-10-14  James Henstridge  <james@daa.com.au>
14473         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14475         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14476         
14477         * objects/flowchart/offpageconn.shape: 
14478         * objects/flowchart/manualop.shape: 
14479         * objects/flowchart/preparation.shape: 
14480         * objects/flowchart/manualinput.shape: 
14481         * objects/flowchart/predefdproc.shape: 
14482         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
14484 1999-10-13  James Henstridge  <james@daa.com.au>
14486         * app/diapagelayout.[ch]: added accessors to paper information.  The
14487         widget should be just about complete now.
14489         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
14490         It actually does something now.
14492 1999-10-12  James Henstridge  <james@daa.com.au>
14494         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
14495         for the page layout widget.
14497         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
14498         built yet as it is not complete.
14500         * objects/flowchart/flowchart.c: added new shapes to sheet.
14502         * objects/flowchart/display.shape:
14503         * objects/flowchart/transaction.shape: new shapes.
14505         * AUTHORS: added my name to the spec file.
14507         * dia.spec: include the dia desktop entry to the spec file.
14509         * Makefile.am: install the dia.desktop file.
14511         * dia.desktop: added a gnome desktop entry so you can start dia
14512         from the gnome panel menu.
14514 1999-10-11  James Henstridge  <james@daa.com.au>
14516         * objects/custom/custom_object.c:
14517         * objects/custom/shape_info.c: warning fixes.
14519         * objects/flowchart/document.shape: a shape file for the `document'
14520         flowchart shape.
14522         * lib/custom.h: new header with the custom shape prototypes.
14524         * app/app_procs.c: register custom objects as well.
14525         (register_objects_in): close shared libraries if they don't load
14526         correctly, and call g_module_make_resident on libraries that load
14527         correctly.
14529         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
14531         * objects/custom/custom.c: removed get_version, added custom_ prefix
14532         to register_objects and register_sheets.
14534         * objects/custom/Makefile.am: converted to a normal library.
14536 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
14538         * app/lineprops_area.c:
14539         * app/render_svg.c:
14540         * lib/objchange.c:
14541         * objects/custom/shape_info.c:
14542         * objects/flowchart/box.c:
14543         * objects/flowchart/diamond.c:
14544         * objects/flowchart/ellipse.c:
14545         * objects/flowchart/parallelogram.c:
14546         * objects/network/flash.c:
14547         * objects/network/scead-plug.c:
14548         * objects/sybase/client.c:
14549         Removed -Wall warnings.
14550         
14551         * objects/network/bus.c:
14552         Removed unused functions.
14554         * objects/FS/flow-ortho.c:
14555         * objects/FS/flow-poly.c:
14556         * objects/FS/flow.c:
14557         * objects/FS/function.c:
14558         
14559         Implemented "non-implemented" undo for FS objects.
14560         Now at least it won't crash.
14561         
14562 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
14564         * objects/network/bus.c:
14565         Implemented undo.
14566         Handles are now added and removed using the object menu.
14567         Default to 6 handles instead of 10.
14568         Changed name from "Standard - Bus" to "Network - Bus". Kept old
14569         name for backwards compatibility.
14571         * objects/network/network.c:
14572         Changed name from "Standard - Bus" to "Network - Bus". Kept old
14573         name for backwards compatibility.
14575         * app/properties.[ch]:
14576         * app/undo.c:
14577         Update properties in properties dialog if the shown object
14578         is part of and ObjectChange (undo or redo).
14580         * lib/poly_conn.c:
14581         Remove old known bugs list.
14583         * objects/UML/class_dialog.c:
14584         Removed debug printf's.
14586 1999-10-10  James Henstridge  <james@daa.com.au>
14588         * objects/custom/custom.c (custom_object_load): new function that
14589         provides a nice entry point to the custom shape code for when it
14590         gets used by other libraries.
14592         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
14593         speeds builds up a bit.
14595         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
14596         (SUBDIRS): do not descend into pixmaps subdirs.
14598         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
14599         This speeds up build process.
14601         * objects/custom/custom.c (sheets): made variable static.
14603         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
14604         renamed function.
14606         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
14608         * objects/custom/custom.c: look in ~/.shapes instead of
14609         ~/.dia_shapes as the per-user shapes directory.
14611         * app/preferences.c (prefs_save): save config to ~/.diarc.
14612         (prefs_load): load configuration from ~/.diarc.  If the file
14613         does not exist, fallback on the old ~/.diarc location.
14615         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
14616         on startup.
14617         (register_all_objects): look for user specific objects in
14618         ~/.objects rather than ~/.dia_libs.
14620 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
14622         * configure.in:
14623         * app_procs.c:
14624         * objects/flowchart/box.c
14625         * objects/flowchart/ellipse.c
14626         * objects/flowchart/flowchart.c 
14627         Use gmodule for dynamic linking. As gmodule is using
14628         RTLD_GLOBAL i had to change flowchart box and ellipse
14629         so the typenames doesn't conflict with the standard
14630         box and ellipse.
14632         * message.c
14633         * commands.c
14634         Use button box to make dialogs look better.
14636 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
14638         * objects/UML/class_dialog.c:
14639         * objects/UML/class.h:
14640         Implemented undo for "UML - Class" objects.
14641         Not 100% tested yet.
14643         * objects/UML/classicon.c:
14644         * objects/UML/constraint.c:
14645         * objects/UML/dependency.c:
14646         * objects/UML/generalization.c:
14647         * objects/UML/implements.c:
14648         * objects/UML/large_package.c:
14649         * objects/UML/lifeline.c:
14650         * objects/UML/message.c:
14651         * objects/UML/object.c:
14652         * objects/UML/realizes.c:
14653         * objects/UML/state.c:
14654         * objects/UML/usecase.c:
14655         Removed warnings.
14656         
14657         * lib/connectionpoint.h:
14658         Fixed typo.
14659         
14660 1999-10-09  James Henstridge  <james@daa.com.au>
14662         * objects/custom/*.[ch]: added copyright notices to custom object
14663         files.
14665         * shapes/Circuit/hdiode.shape:
14666         * shapes/Circuit/hzener.shape: 
14667         * shapes/Circuit/opamp.shape:
14668         * shapes/Circuit/vdiode.shape:
14669         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
14670         shapes look nice after the custom shape code changes.
14672         * objects/custom/README: updated docs to cover changes to drawing
14673         code.
14675         * objects/custom/custom_object.c (custom_draw): honour the line
14676         properties when drawing the shape.
14678         * objects/custom/shape_info.[ch]: added support for setting line
14679         properties for individual drawing elements in a custom shape.  You
14680         can set the dash style, dash length, cap style and join style.
14682 1999-10-07  James Henstridge  <james@daa.com.au>
14684         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
14685         for foreground and background.
14687         * objects/custom/custom_object.c (custom_draw): use the new style
14688         information when drawing the object.
14690         * objects/custom/shape_info.[ch]: store all shape style info in the
14691         GraphicStyle structure.  This makes adding support for extra CSS
14692         attributes easier -- we don't have to keep adding extra arguments to
14693         a lot of functions.
14695 1999-10-05  James Henstridge  <james@daa.com.au>
14697         * lib/intl.c (unalias_lang): merged in changes from the i18n code
14698         swiped from gnome-libs.
14700 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
14702         * objects/standard/image.c (get_directory):
14703         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
14705 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
14707         * lib/poly_conn.c (polyconn_destroy):
14708         Fix bug. Access of freed memory.
14709         Rememeber, you can't free the handles of an object
14710         before calling object_destroy(), as it unconnects the handles
14711         therefore referencing them.
14713 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
14715         * app/undo.c:
14716         undo_clear() didn't set stack->depth to zero.
14717         This made other undo functions crash after this had been called
14718         on a "full" stack.
14719         
14720         * dia.xpm:
14721         Slightly modified by Chris Love <clove@exactis.com>
14723 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
14725         * objects/UML/class.h: 
14726         * objects/UML/class_dialog.c:
14727         Retrun NULL ObjectChange on class property change.
14728         This means no crashes, but "UML - Class" doesn't support undo yet.
14729         
14730 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
14731         
14732         * lib/text.c:
14733         Indentation fix.
14735         * objects/UML/classicon.c:
14736         * objects/UML/dependency.c:
14737         * objects/UML/generalization.c:
14738         * objects/UML/implements.c:
14739         * objects/UML/large_package.c:
14740         * objects/UML/lifeline.c:
14741         * objects/UML/message.c:
14742         * objects/UML/object.c:
14743         * objects/UML/realizes.c:
14744         * objects/UML/state.c:
14745         * objects/UML/usecase.c:
14746         Update to new undo (w. get/set_state).
14747         Add object menu to add/delete segments.
14749 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
14751         * app/menus.c:
14752         Add equal distance alignment.
14754         * app/object_ops.c:
14755         Add equal distance alignment.
14756         Fix bug in adjacent alignment.
14758 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
14760         * objects/UML/constraint.c: 
14761         Update to new undo (w. get/set_state).
14763 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
14765         * app/paginate_psprint.c:
14766         Save (parts, more todo) of the info in the print dialog to the
14767         next time it's opened.
14768         Patch from Yo Ric Dude <ricdude@toad.net>
14770 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
14772         * configure.in:
14773         Updated version string to 0.41cvs.
14775         * objects/UML/assocition.c:
14776         Update to new undo (w. get/set_state).
14777         Add object menu to add/delete segments.
14779         * app/app_procs.c:
14780         Added function debug_break() and called it after all
14781         objects and sheets are loaded. Place a breakpoint here if you
14782         want to debug objects. All symbols should be loaded.
14784 1999-09-12  James Henstridge  <james@daa.com.au>
14786         * app/menus.c (display_menu_items): added print menu item.
14787         (filemenu): always add print menu item -- even if gnome-print is
14788         not installed.
14790         * app/commands.h, app/commands.c (file_print_callback): the print
14791         menu item is now available for both gnome-print and non gnome-print
14792         setups.
14794         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
14795         print with the non gnome-print driver.
14797 1999-09-11  James Henstridge  <james@daa.com.au>
14799         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
14800         printer dialog code out of commands.c.
14802         * app/paginate_psprint.c: new file containing the pagination code for
14803         psprint.
14805         * app/render_eps.c: made a few modifications so as well as producing
14806         EPS files, this renderer can be set up to do postscript printing.
14807         This basically entailed adding an extra function to create a RenderEPS
14808         renderer which did not bother setting the viewport for the document.
14809         That was left for the pagination code.
14811 1999-09-10  James Henstridge  <james@daa.com.au>
14813         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
14814         gnome-print does not support elliptic arcs at the moment, approximate
14815         the ellipse with eight bezier curves.  This gives a pretty good
14816         match to a true ellipse.
14818 1999-09-09  James Henstridge  <james@daa.com.au>
14820         * app/commands.c (file_gnome_print_callback): added support for
14821         scaling the diagram.  Also fixed a few other bugs.
14823         * app/paginate_gnomeprint.c (print_page): added ability to scale
14824         document.  Fixed up test to see if the page has no objects on it.
14825         This should prevent some blank pages being printed.  Non square
14826         objects such as lines could still cause problems.
14828 1999-09-08  James Henstridge  <james@daa.com.au>
14830         * app/commands.c (file_gnome_print_callback): changed from using the
14831         standard printer selection dialog to one that also has a paper size
14832         selector as well.
14834         * commands.[ch]: added callbacks for the print menu item.  Currently
14835         it only does A4 output.  I will make it configurable soon.
14836         
14837         * app/menus.c: add a print diagram menu item if gnome-print support
14838         is enabled.
14839         
14840         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
14841         bit higher level than the gnome-print renderer.  It splits the
14842         diagram into page size chunks and then renders them.  For each
14843         page, it only renders the objects whose bounding box intersects
14844         the page, and it sets the clip mask so that the diagram does not
14845         overlap the margins.
14846         
14847         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
14848         that uses gnome-print as its back end.
14849         
14850         * configure.in: added a check for gnome-print.  It is disabled by
14851         default because the code is not really working correctly yet.
14853         * app/menus.c: the delete object menu item was missing from the
14854         GnomeUIInfo style menus.
14856 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
14858         * configure.in
14859         Added japanese to ALL_LINGUAS.
14860         Fix for Linux on Alpha.
14862 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
14864         * app/create_object.c (create_object_button_press):
14865         Always initialize tool->obj. Otherwise we store a null
14866         in the undo Change.
14868         * lib/text.c:
14869         Set linestyle before drawing cursor.
14870         Fix undo of backwards delete.
14872 1999-09-05  James Henstridge  <james@daa.com.au>
14874         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
14876         * app/render_svg.c (draw_image): some fixes so that the appropriate
14877         style attributes are set.  Before it was setting line styles on
14878         fill_* functions.  Now it only does this for the draw_* variants.
14880         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
14881         variable so that custom shapes can be loaded.
14883         * shapes/: new directory for custom shapes.  The Circuit sheet has
14884         been moved here.
14886 1999-09-02  James Henstridge  <james@daa.com.au>
14888         * TODO: removed a few todo items that have been implemented.
14890         * app/interface.c (create_sheets): enabled the popup page menu to the
14891         notebook.  This can make it easier to select different sheets.
14893         * object/custom/Circuit/: added diode, zener diode, ground point and
14894         operational amplifier shapes.
14895         
14896         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
14897         if you want the output.
14899         * objects/custom/shape_info.c (parse_path): same here.
14901         * objects/custom/load_sheet.c (load_with_readdir): don't print so
14902         much debugging output.  To get the previous level of output, define
14903         DEBUG_CUSTOM.
14905         * objects/custom/shape_info.c (parse_svg_node): polygons were being
14906         recorded as polylines in the ShapeInfo structure.
14908         * objects/custom/README: some notes on writing new custom shapes.
14909         
14910 1999-09-01  James Henstridge  <james@daa.com.au>
14912         * objects/custom/Circuit/hinductor.*:
14913         * objects/custom/Circuit/vinductor.*: added inductor shapes that
14914         also test out the bezier curve and SVG path support.
14915         
14916         * objects/custom/custom_object.c (custom_draw): added support for
14917         drawing bezier paths and filled shapes.
14919         * objects/custom/shape_info.c (parse_path): new function to parse
14920         SVG path elements.  It does not do quadratic beziers or elliptic
14921         arcs though.  Only moves, lines and cubic beziers.
14922         (*): added support for paths.
14924 1999-08-31  James Henstridge  <james@daa.com.au>
14926         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
14928         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
14929         interface
14931         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
14932         interface
14934         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
14935         interface.
14937         * lib/render_store.[ch]: use newer bezier functions.
14939         * lib/render.h: changed the bezier drawing functions to use an array
14940         of BezPoint structures instead of normal Point structures to allow
14941         lineto's mixed in with the curveto's.
14942         
14943         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
14944         
14945         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
14946         xpm images for different shapes to Makefile.
14948         * objects/custom/custom_object.c (custom_object_new): set the icon
14949         for the sheet button if there is one.  Otherwise fall back on the
14950         default custom object icon.
14952         * objects/custom/shape_info.c (load_shape_info): read the sheet
14953         icon name from the shape file.
14955         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
14956         check the pixmap_file field for the name of a pixmap file to load
14957         for the tool.
14959         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
14960         at the end of the structure, and it isn't used if the pixmap field
14961         is non NULL, so it should not break binary compatibility.
14963         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
14964         added support for the use of an index.sheet file so you can specify
14965         the ordering of the shapes in the sheet, and also internationalise
14966         the sheet name and actually be able to give a description.  The old
14967         readdir based sheet loading code acts as a fallback if an index.sheet
14968         file can not be found.
14970         * objects/custom/custom_util.[ch]: new file containing useful routines
14971         needed by the custom object code.  Currently only contains a simple
14972         routine for resolving relative paths.
14974         * objects/custom/custom_object.c (custom_draw): fixed problem with
14975         drawing rectangles if the shape has been flipped.
14977 1999-08-30  James Henstridge  <james@daa.com.au>
14979         * objects/custom/custom_object.c (custom_get_object_menu): allow
14980         flipping of custom shapes.  This uses the miggle click object
14981         menu.
14983         * objects/custom/Circuit/npn.shape: fix aspect ratio.
14985         * objects/custom/custom_object.c (custom_update_data): honour the
14986         aspect ratio constraints.
14988         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
14989         tag parsing, so you can specify a free, fixed or a range for aspect
14990         ratios for the shape.
14992 1999-08-29  James Henstridge  <james@daa.com.au>
14994         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
14995         up shape namespace tag.
14997         * objects/custom/shape_info.c (load_shape_info): check xml:lang
14998         attribute on <description> elements to support i18n for custom
14999         shape descriptions.
15000         Also changed the shape namespace for custom shapes to something
15001         a little more sensible.
15003         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
15005         * lib/intl.c: new file containing some functions for i18n stuff.
15007         * app/layer_dialog.c (create_button_box): fixed a warning.
15009         * objects/custom/custom_object.c: use current line style.  Save dash
15010         length.
15012         * objects/flowchart/diamond.c: use current line style.  Save dash
15013         length.
15015         * objects/flowchart/parallelogram.c: use current line style.  Save
15016         dash length.
15018         * objects/flowchart/ellipse.c: use current line style.  Save dash
15019         length.
15021         * objects/flowchart/box.c: use current line style.  Save dash length.
15023         * objects/standard/ellipse.c: make ellipse use current line style.
15025         * objects/standard/box.c: use the line style set in the toolbox for
15026         new boxes, and remember the dash length.
15028         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
15029         rulers.
15031 1999-08-24  James Henstridge  <james@daa.com.au>
15033         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
15034         to try to stop ellipse to get infinite width/height when we resize,
15035         while trying to keep the text inside the ellipse.
15037         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
15038         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
15039         resizing behaviour, so that you can't push objects round the screen
15040         with the resize handles.
15042         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
15043         get the OK buttons in the dialogs to take default clicks.
15045         * objects/custom/custom_object.c: added code so that resizing the
15046         shape does not end up pushing it round the screen.
15048 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
15050         * app/display.[ch]:
15051         Generate rectangle with the union of the damaged regions.
15052         This is used to optimize the grid paint and the object rendering.
15053         display_render_pixmap passes this info to grid_draw() and data_render().
15055         * app/grid.[ch]:
15056         grid_draw doesn't draw grid lines outside of damaged rectangle.
15057         Sets dashlength when drawing non-solid grid.
15058         
15059         * lib/diagramdata.[ch]:
15060         data_render() and layer_render() takes an optional damaged rectangle
15061         argument. No objects not intersecting this are drawn.
15063         * app/diagram.c:
15064         Fix warning.
15065         Call data_render with NULL update rectangle.
15066         
15067 1999-08-23  James Henstridge  <james@daa.com.au>
15069         * objects/custom/custom_object.c (custom_update_data): if the aspect
15070         ratio is fixed, make sure the shape is not distorted.
15072         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
15073         a <fixaspectratio/> tag is given in the shape file.
15075         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
15076         added support for stroke-width, stroke and fill CSS attributes
15077         specified in style attributes of the SVG elements.  The line width
15078         is relative to the user specified line width.  The stroke and fill
15079         attributes can only be used to swap the foreground/background
15080         colours.
15082         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
15083         sensitivity on the dash length selector when this function is called.
15085         * objects/standard/arc.c: same.  Also handle dash length.
15086         * objects/standard/zigzagline.c: same.
15087         * objects/standard/polyline.c: same.  Also handle dash length.
15088         * objects/standard/line.c: use default arrow/line styles.
15090         * app/interface.c: added callbacks to set the default attributes.
15092         * lib/attributes.c: added implementations of these functions.
15094         * lib/attributes.h: added extra prototypes for the new line properties
15095         area in the toolbox.
15097         * app/interface.c (create_lineprops_area): added line properties
15098         area to bottom of toolbox.
15100         * app/lineprops_area.h: a header exporting a few routines of the
15101         line properties area widgets.
15103         * app/lineprops_area.c: new file containing a selector for arrows
15104         and line styles to go in the main toolbox.
15106 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
15108         * HACKING:
15109         Update Gtk+ 1.0.5 comment to 1.2.0.
15111         * INSTALL:
15112         Demand libtool 1.3
15114         * acconfig.h:
15115         Add HAVE_LIBPOPT
15117         * configure.in:
15118         Make sure we don't propagate -ldl and -lpopt to all LIBS
15119         by adding new var APP_LIBS that only app/dia links with.
15120                 
15121         * app/Makefile.am:
15122         Update run_dia.sh to load custom and flowchart objects.
15124         * objects/ER/Makefile.am:
15125         * objects/FS/Makefile.am:
15126         * objects/UML/Makefile.am:
15127         * objects/network/Makefile.am:
15128         * objects/standard/Makefile.am:
15129         * objects/sybase/Makefile.am:
15130         Don't build versioned libs.     
15131         
15132 1999-08-22  James Henstridge  <james@daa.com.au>
15134         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
15135         list.
15137         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
15138         should actually work a bit now.
15140         * objects/custom/Circuit/*: a test sheet for the custom shape code.
15141         It is a small collection of circuit elements.
15143         * objects/custom/shape_info.c: fixed up loading of polylines and
15144         polygons.  Before it was removing negative signs :(
15146         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
15147         placeholder was here before.  I still need to work out how to set
15148         icons for individual custom shapes.
15149         
15150         * objects/custom/custom.c: added code to load the shapes into sheets
15151         properly.  The shape files should be arranged into directories, and
15152         each directory represents a different sheet in the toolbox.  This
15153         will make it very easy to distribute a collection of dia shapes as
15154         a tarball.  I still need to work out internationalisation, and maybe
15155         also shape ordering in the sheet.
15157         * objects/custom/custom_object.c: fixed up dialogs for these objects.
15158         (custom_create): fix for objects without text areas.
15160         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
15161         and saving of custom object works correctly now.
15163 1999-08-21  James Henstridge  <james@daa.com.au>
15165         * objects/flowchart/ellipse.c: 
15166         * objects/flowchart/diamond.c: 
15167         * objects/flowchart/parallelogram.c: 
15168         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
15169         copying or loading these object types.  Not all the connection
15170         points would be initialised correctly.
15172         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
15173         similar here.
15175         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
15176         build a versioned library.  It will only ever be dlopen'd, so this
15177         is not a problem.
15179         * objects/custom/custom_object.c (custom_distance_from): allow
15180         selecting the object by clicking on the text.  This fixes problems
15181         where the text box is outside the graphic.
15183         * objects/custom/shape_info.c (load_shape_info): fixed up reading
15184         of connections points.  It should be possible to add connections
15185         to custom objects now.
15187         * objects/custom/custom_object.c (custom_update_data): fixed resizing
15188         due to changes to text.
15190         * configure.in: added extra makefiles.
15191         
15192         * objects/custom/shape_info.[ch]:
15193         * objects/custom/custom_object.c:
15194         * objects/custom/custom.c: the starts of custom shape support in dia.
15195         This is not built by default at the moment, since it is not quite
15196         complete.  When it is, it will let you create more shapes for dia
15197         without writing a line of C.  Its implementation includes buzzwords
15198         such as XML and SVG, so it must be good :)
15200 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
15202         * app/app_procs.c (app_exit): Use button labels "Quit" and
15203         "Cancel" instead of "Yes" and "No".
15204         Set default action to "Cancel" instead of "Quit".
15206 1999-08-19  James Henstridge  <james@daa.com.au>
15208         * objects/flowchart/flowchart.c: added ellipse object.
15209         
15210         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
15212 1999-08-18  James Henstridge  <james@daa.com.au>d
15214         * app/color_area.c (color_area_edit): small fix to prevent dia from
15215         segfaulting when you try to change the default foreground/background.
15217 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
15219         * app/diagram.[ch] (diagram_redraw_all):
15220         Added function that redraws all diagrams.
15222         * app/preferences.c (prefs_apply):
15223         Call diagram_redraw_all when prefs are changed.
15225         * app/render_svg.c:
15226         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
15227         older libxml's, and the old version works good enought here.
15228         
15229 1999-08-17  James Henstridge  <james@daa.com.au>
15231         * lib/widgets.c: changed handlers that were connected to the GtkButton
15232         "pressed" signal to connect to the "clicked" signal.  This removes the
15233         problem where dialogs are inactive until you click a mouse button
15234         after using a colour selector.
15236         * configure.in: added extra makefiles to AC_OUTPUT list.
15237         
15238         * objects/Makefile.am (SUBDIRS): added flowchart module
15240         * objects/flowchart/*: a collection of shapes for use in flowcharts.
15242         * app/color_area.c (color_area_events): similar here.
15244         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
15245         event is recieved with event->width == 0, which causes a warning if we
15246         try to create a pixmap of that width.
15248         * app/preferences.c, app/preferences.h, app/grid.c: added code to
15249         allow you to configure the colour of the grid, and also lets you
15250         set the grid to use dotted lines instead of solid ones.
15251         
15252         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
15253         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
15254         
15255         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
15256         export filter.  It is not quite complete, but for most shapes it
15257         works as expected.  Fonts still need a bit of work.
15259 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
15261         * configure.in: Added "en_GB" to ALL_LINGUAS.
15263 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
15265         * menus.c
15266         Added Undo and Redo to GNOME menus.
15267         
15268         * objects/ER/attribute.c:
15269         * objects/ER/entity.c:
15270         * objects/ER/participation.c:
15271         * objects/ER/relationship.c:
15272         Added get/set_state functions.
15274         * objects/ER/participation.c:
15275         Added add/delete segment.
15277         * po/sv.po
15278         Updated Swedish translation.
15280 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15282         * app/preferences.[hc]:
15283         Added undo_depth pref.
15284         
15285         * app/undo.[ch]:
15286         Never grow stack larger than pref.undo_depth.
15287         undo_depth == 0 means unlimited.
15288         Converted printfs to conditionally compiled DEBUG_PRINTFs.
15289         
15290 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15292         * app/diagram.c:
15293         * app/group.c:
15294         * lib/object.h:
15295         * lib/render_object.c:
15296         * objects/ER/attribute.c:
15297         * objects/ER/entity.c:
15298         * objects/ER/participation.c:
15299         * objects/ER/relationship.c:
15300         * objects/FS/flow-ortho.c:
15301         * objects/FS/flow-poly.c:
15302         * objects/FS/flow.c:
15303         * objects/FS/function.c:
15304         * objects/UML/actor.c:
15305         * objects/UML/association.c:
15306         * objects/UML/class.c:
15307         * objects/UML/classicon.c:
15308         * objects/UML/component.c:
15309         * objects/UML/constraint.c:
15310         * objects/UML/dependency.c:
15311         * objects/UML/generalization.c:
15312         * objects/UML/implements.c:
15313         * objects/UML/large_package.c:
15314         * objects/UML/lifeline.c:
15315         * objects/UML/message.c:
15316         * objects/UML/note.c:
15317         * objects/UML/object.c:
15318         * objects/UML/realizes.c:
15319         * objects/UML/small_package.c:
15320         * objects/UML/state.c:
15321         * objects/UML/usecase.c:
15322         * objects/network/bus.c:
15323         * objects/standard/arc.c:
15324         * objects/standard/box.c:
15325         * objects/standard/ellipse.c:
15326         * objects/standard/image.c:
15327         * objects/standard/line.c:
15328         * objects/standard/polyline.c:
15329         * objects/standard/textobj.c:
15330         * objects/standard/zigzagline.c:
15331         Removed all traces of is_empty(). It doesn't work in an
15332         Undo/Redo world.
15334 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15336         * app/diagram.c:
15337         * app/group.[ch]:
15338         * app/undo.[ch]:
15339         Undoable grouping and ungrouping.
15341         * app/layer_dialog.c:
15342         * lib/diagramdata.[ch]:
15343         Undoable layer ops.
15345         * app/modify_tool.c:
15346         Undoable unconnect on handle move.
15348         * lib/orth_conn.[ch]:
15349         Working undoable add/remove segment.
15350         Removed endpoint_handles from OrthConn, renamed
15351         midpoint_handles to handles and put the endpoint
15352         handles there.
15354         * objects/standard/zigzagline.c:
15355         * objects/ER/participation.c:
15356         * objects/UML/association.c:
15357         * objects/UML/dependency.c:
15358         * objects/UML/generalization.c:
15359         * objects/UML/realizes.c:
15360         Update for the changes in OrthConn
15361         
15362 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
15364         * configure.in: Added "de" to ALL_LINGUAS.
15366 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
15368         * dia.1:
15369         Fixed typo.
15371         * app/display.c:
15372         * po/da.po:
15373         * po/fr.po:
15374         * po/hu.po:
15375         * po/no.po:
15376         * po/pl.po:
15377         * po/sv.po:
15378         Don't have the <Display> etc part of the menu strings
15379         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15381         * app/diagram.c:
15382         Don't have the <Display> etc part of the menu strings
15383         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15384         Don't remove is_empty() objects, that don't work with undo.
15386         * lib/objchange.[ch]:
15387         New files.
15388         Definition of ObjectChange. This is essentially an Change
15389         exported to the object libs. It encapsulates a change made
15390         to an objects internals. It can be applied, reverted and freed.
15391         There are also utility functions for doing ObjectChanges that
15392         only get/set the whole state of an object to store the change.
15393         This cannot be used when the object change deletes or adds a
15394         object which has references from other objects, eg. Handles which
15395         might be connected.
15397         * lib/Makefile.am:
15398         Added objchange.c and objchange.h.
15400         * lib/dia_image.c:
15401         Return NULL when loading fails.
15403         * lib/diamenu.h:
15404         Menu callbacks return an ObjectChange.
15406         * lib/dummy_dep.h:
15407         Reference objchange.o
15409         * lib/focus.h:
15410         Key events return ObjectChange if they modify the object.
15412         
15413         * lib/object.h:
15414         Added object_add_handle_at() function.
15415         Apply properties returns an ObjectChange.
15416         Remove ObjectState and the get/set state functions, these
15417         don't always work. Use the new ObjectChange instead.
15418         
15419         * lib/object.c:
15420         Added object_add_handle_at() function implementation.
15421         
15422         * lib/orth_conn.[ch]:
15423         Use ObjectChange. Not finished yet.
15424         Removed get/set/free state functions
15426         * lib/poly_conn.[ch]:
15427         Use ObjectChange.
15428         Don't remove segments that are small.
15429         Removed get/set/free state functions
15431         * lib/text.[ch]:
15432         Use ObjectChange.
15433         Added functions to get/set all text attributes.
15435         * objects/standard/arc.c:
15436         * objects/standard/box.c:
15437         * objects/standard/ellipse.c:
15438         * objects/standard/image.c:
15439         * objects/standard/line.c:
15440         * objects/standard/polyline.c:
15441         * objects/standard/textobj.c:
15442         * objects/standard/zigzagline.c:
15443         Use ObjectChange.
15444         fixed bug in image_set_state.
15445         zigzagline.c not finished yet.
15447         * app/disp_callbacks.c:
15448         Use ObjectChange that are returned from menu callbacks and
15449         key_events for undo.
15451         * app/properties.c:
15452         Use ObjectChange that are returned from properties apply
15453         for undo.
15455         * app/undo.c:
15456         * app/undo.h:
15457         New undo type: ObjectChangeChange. This wraps a change to the
15458         internals of an object (and ObjectChange) in code that does
15459         app specific stuff (object_add_updates etc.)
15461 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
15463         * lib/orth_conn.[ch]:
15464         Added code for add/delete segment.
15466         * objects/standard/zigzagline.c:
15467         Use the new orth_conn code.
15468         
15470 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
15472         * objects/FS/Makefile.am
15473         Removed fs.h from sources.
15475         * Makefile.am
15476         * dia.1
15477         Added man page.
15479 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
15481         * app/disp_callbacks.c (ddisplay_canvas_events):
15482         Fix for bug. Every other arrow-key press got lost.
15483         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
15485         * INSTALL:
15486         change automake.sh to autogen.sh
15487         
15488 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
15490         * app/diagram.c:
15491         Don't remove 'empty' objects.
15492         This violent destruction of objects won't work
15493         with the new undo framework.
15495         * app/disp_callbacks.c:
15496         Save undo info for object menu calls and key_events.
15498         * app/properties.c:
15499         Save undo info on properties apply.
15501         * lib/dia_image.[ch]:
15502         Add refcounting for images.
15504         * app/render_eps.c:
15505         * app/render_gdk.c:
15506         * lib/render.h:
15507         DiaImage * -> DiaImage
15509         * app/undo.[ch]:
15510         Add undo functions for object state changes.
15512         * lib/focus.h:
15513         * lib/text.c:
15514         change of semntics for focus->key_event.
15515         Now returns TRUE if the object recieving the event
15516         was changed.
15518         * lib/object.h:
15519         Comment changes.
15521         * lib/orth_conn.[ch]:
15522         Don't automatically create and delete segments when
15523         handles are moved. This is incompatible with undo.
15524         Added state get, set and free functions.
15526         * lib/orth_conn.[ch]:
15527         Added state get, set and free functions.
15529         * objects/UML/object.c:
15530         * objects/UML/uml.c:
15531         Fixed typo "UML - Objet" -> "UML - Object".
15532         Saved old for backwards compatibility.
15534         * objects/standard/arc.c:
15535         * objects/standard/box.c:
15536         * objects/standard/ellipse.c:
15537         * objects/standard/image.c:
15538         * objects/standard/line.c:
15539         * objects/standard/polyline.c:
15540         * objects/standard/textobj.c:
15541         * objects/standard/zigzagline.c:
15542         Added get/set state functions.
15543         Textobj has a redo crash-bug.
15544         Zigzagline needs object menus to add segments.
15545         
15547 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
15549         * app/render_eps.c (set_dashlength):
15550         Don't generate eps files with zero dash-length.
15552 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
15554         * app/commands.c:
15555         * app/create_object.c:
15556         * app/undo.[ch]:
15557         Finished undo for create and paste.
15558         
15559         * lib/object.h:
15560         Started properties undo.
15562 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
15564         * TODO:
15565         Added resizeable groups.
15567         * app/app_procs.c:
15568         Removed unused variable.
15570         * app/commands.c:
15571         * app/undo.[ch]:
15572         Undo/redo for cut/delete done.
15574         * app/create_object.c:
15575         * app/modify_tool.c:
15576         * lib/diagramdata.[ch]:
15577         * app/diagram.[ch]:
15578         renamed diagram_add_selected -> diagram_select
15579         renamed diagram_remove_selected -> diagram_unselect
15580         
15581         * app/properties.[ch]:
15582         Added properties_hide_if_shown() function.
15584 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
15586         * app/undo.[ch]:
15587         * app/Makefile.am:
15588         Undo functions.
15589         
15590         * app/commands.[ch]
15591         * app/modify_tool.[ch]
15592         * app/object_ops.[ch]
15593         * app/connectionpoint_ops.c
15594         * app/menus.c
15595         Use undo functions.
15596         WARNING: Not finished. Will break.
15597         Finished: move object, move handle.
15599         * app/diagram.[ch]
15600         Added diagram_selected_break_external() function.
15601         It removes all connections between selected objects
15602         and non-selected.
15603         Add undo stack to Diagram.
15604         
15605         * lib/diagramdata.[ch]
15606         Added layer_remove_objects() function
15607         
15608 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
15610         * objects/FS/Makefile.am
15611         * objects/sybase/Makefile.am
15612         Now uses GNOME_CFLAGS.
15614         * app/app_procs.c
15615         Now compiles with GNOME even if popt.h isn't available.
15617 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
15619         * configure.in
15620         * objects/Makefile.am
15621         * objects/sybase/*
15622         First version of sybase objects from
15623         Brian Bruns <camber@umcc.ais.org>
15625 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
15627         * configure.in
15628         Added fr to ALL_LINGUAS
15630 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
15632         * configure.in
15633         * app/app_procs.c
15634         Popt-code is activated if popt is available.
15636 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
15638         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
15639         
15640         * lib/orth_conn.[ch]:
15641         Added orthconn_get_middle_handle()
15643         * lib/text.[ch]:
15644         Added text_set_cursor_at_end()
15645         
15646         * objects/FS/*
15647         Added first version of functions structure diagrams.
15648         
15649 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
15651         * app/modify_tool.c:
15652         Include math.h to remove warning.
15654         * app/commands.c (dialogs_properties_callback):
15655         Bring up correct properties dialog when selected
15656         from menu.
15657         From Dan Cohn <dan@internap.com>
15659 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
15661         Patch from Lars R. Clausen 
15662         
15663         * app/modify_tool.c:
15664         Changed abs to fabs.
15666 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
15668         * INSTALL: 
15669         * configure.in:
15670         Require Gtk+ 1.2.0
15672 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
15674         Patches from Dan Cohn <dan@internap.com>
15675         
15676         * app/commands.[ch]: 
15677         * app/display.[ch]: 
15678         * app/menus.c:
15679         * app/preferences.[ch]:
15680         Implements ability to turn on/off connection points in
15681         current drawing and in global prefs.
15683 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
15685         * lib/widgets.c (dia_line_style_selector_init): 
15686         Fixed warnings.
15687         
15688         * lib/diagramdata.c (layer_update_extents):
15689         Fixed uninitialized variable error.
15691 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
15693         * lib/dia_image.c:
15694         Made some changes to the gdk_imlib visual+colormap setup.
15696 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15698         * objects/UML/usecase.c: 
15699        * objects/UML/lifeline.c
15700         Fine tunning.
15702         * objects/UML/object.c: 
15703         * objects/UML/message.c: 
15704         Changed font from Courier to Helvetica.
15706         * lib/widgets.c: 
15707         * lib/widgets.h:
15708         Added dash lenth to the LineStyle widget.
15709         
15710         * objects/standard/ellipse.c :
15711         * objects/standard/zigzagline.c: 
15712         * objects/standard/line.c: 
15713         Added dash lenght property.
15715 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
15717         * app/render_eps.c:
15718         First shot at latin1 encoded eps files.
15719         Works, but the eps files get a bit large.
15720         
15721 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
15723         * objects/UML/class.[ch]: 
15724         * objects/UML/uml.[ch]:
15725         Reverted the line wrap changes.
15726         Some day this might return, but it has to be selectable and
15727         default to off for loaded objects, otherwise it breaks file
15728         format compatibility.
15729         There was also some complains about how it looked, so a making it
15730         selectable is good for this too.
15732 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
15734         * objects/UML/class.[ch]:
15735         Some indentation cleanup.
15736         Added wrap_lines variable to class.
15737         I'll fix the line break stuff tomorrow.
15739 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
15741         * lib/dummy_dep.h:
15742         Added ref to poly_conn.o.
15744         * objects/standard/polyline.c (polyline_draw): 
15745         * objects/standard/zigzagline.c (zigzagline_draw): 
15746         * objects/standard/arc.c (arc_draw): 
15747         * objects/standard/line.c (line_draw):
15748         Draw lines before arrows. This makes hollow arrows not
15749         show the line.
15751 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
15753         Changes from Kim Peasley <kpeasley@ior.com> 
15754                 
15755         * objects/UML/class.c:
15756         Break lines with long operations so classes won't be
15757         so wide.
15759         * objects/UML/uml.[ch]:
15760         Helperfunctions for the above.
15761         
15762         * objects/UML/objects.c:
15763         Fix bug that duplicated the text in the attributes
15764         textwidget each time the object was selected.
15765         
15766 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
15768         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
15769         
15770         * app/modify_tool.c:
15771         * app/modify_tool.h:
15772         Control-drag is restricted to vertical/horizontal movement
15773         
15774         * lib/object.h:
15775         ModifierKeys argument added to object_move_handle
15777         * app/connectionpoint_ops.c:
15778         * app/create_object.c:
15779         * app/object_ops.c:
15780         * objects/ER/attribute.c:
15781         * objects/ER/entity.c:
15782         * objects/ER/participation.c:
15783         * objects/ER/relationship.c:
15784         * objects/UML/actor.c:
15785         * objects/UML/association.c:
15786         * objects/UML/class.c:
15787         * objects/UML/classicon.c:
15788         * objects/UML/component.c:
15789         * objects/UML/constraint.c:
15790         * objects/UML/dependency.c:
15791         * objects/UML/generalization.c:
15792         * objects/UML/implements.c:
15793         * objects/UML/large_package.c:
15794         * objects/UML/lifeline.c:
15795         * objects/UML/message.c:
15796         * objects/UML/note.c:
15797         * objects/UML/object.c:
15798         * objects/UML/realizes.c:
15799         * objects/UML/small_package.c:
15800         * objects/UML/state.c:
15801         * objects/UML/usecase.c:
15802         * objects/network/bus.c:
15803         * objects/standard/arc.c:
15804         * objects/standard/box.c:
15805         * objects/standard/ellipse.c:
15806         * objects/standard/image.c:
15807         * objects/standard/line.c:
15808         * objects/standard/polyline.c:
15809         * objects/standard/textobj.c:
15810         * objects/standard/zigzagline.c:
15811         Changed calls to move_handle to pass the new argument.
15812         
15813         * lib/widgets.c:
15814         * lib/widgets.h:
15815         Default line width, color etc #define'd
15816         
15817         * po/da.po:
15818         Updates of danish menus
15820 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
15822         * dia.xpm
15823         * dia_gnome_icon.png
15824         * dia_gnome_menu_icon.png
15825         * dia_logo.png
15826         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
15828         * app/commands.c
15829         About dialog shows dia_logo.png. Removed the GNOME about dialog.
15831         * Makefile.am
15832         Distribute the icons and install logo in pkgdatadir.
15833         
15834         * app/Makefile.am
15835         Added DATADIR-define.
15836         
15837 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
15838         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
15840         * dia.spec:
15841         Updated version number, made setup quiet, can build from cvs,
15842         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
15844         * lib/Makefile.am
15845         * objects/ER/Makefile.am
15846         * objects/UML/Makefile.am
15847         * objects/network/Makefile.am
15848         * objects/standard/Makefile.am
15849         now builds better with gnome
15851         * objects/UML/class_dialog.c
15852         Fixed typo -> po files must be updated too!!
15853         
15854 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
15856         * lib/dummy_dep.h:
15857         Added reference so that widgets.o gets linked to the app.
15859 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15861         * objects/UML/classicon.c: 
15862         Added object mode.
15864         * objects/UML/actor.c: 
15865         Changed position of 'snap-to-grid' so connection points are
15866         in the grid.
15868 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
15870         * objects/UML/classicon.c:
15871         Changed position of 'snap-to-grid'.
15872         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15873         
15874 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
15876         * objects/network/antenna.c
15877         * objects/network/flash.c
15878         * objects/network/hub.c
15879         * objects/network/modem.c
15880         * objects/network/modularswitch.c
15881         * objects/network/rj45plug.c
15882         * objects/network/scead-plug.c
15883         * objects/network/network.c
15884         * objects/network/Makefile.am
15885         * objects/network/pixmaps/antenna.xpm
15886         * objects/network/pixmaps/flash.xpm
15887         * objects/network/pixmaps/hub.xpm
15888         * objects/network/pixmaps/modem.xpm
15889         * objects/network/pixmaps/modularswitch.xpm
15890         * objects/network/pixmaps/rj45plug.xpm
15891         * objects/network/pixmaps/sceadplug.xpm
15892         * objects/network/pixmaps/Makefile.am
15893         Lots of new network objects from
15894         Roland Steinbach <roland@support-system.com>.
15896 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15898         * objects/UML/classicon.c: 
15899         Fixed connection positions, saved type as int (it has 3 states),
15900         and other small fixes.
15901         
15902 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
15904         * app/preferences.c:
15905         * app/load_save.c:
15906         Added preference compress_save. It lets dia save uncompressed
15907         xml files.
15909         * objects/UML/class.c:
15910         Fixed bug with size calculation on methods that had class scope.
15911         
15912 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15914         * objects/UML/usecase.c: 
15915         Added collaboration mode
15916         Fixed connection points with text > ellipse bug and other 
15917         small things
15919         * objects/UML/state.c:
15920         Fixed bug of bad position of text after being either end
15921         or begin, moved and returned to text
15923 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
15925         * app/preferences.c: Add prototype declaration for prefs_apply.
15927 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
15929         * app/preferences.c:
15930         Added 'ok' button.
15931         Apply don't hide window.
15933         * app/properties.c:
15934         Add 'ok' button.
15936         * objects/UML/object.c:
15937         * objdcts/UML/state.c:
15938         Some data was not copied on copy.
15940         This patch is from
15941         Ben Hochstedler <benh@eeyore.moneng.mei.com>
15943 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
15945         * app/Makefile.am:
15946         Changed link order between X and libxml.
15947         Some people had problems with an old libz in their
15948         x11 directory.  
15950 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
15952         * po/no.po: updated translation.
15953         
15954 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
15956         * lib/message.c (message_error):
15957         Fixed small error.
15959         * app/commands.[ch]:
15960         * app/diagram.[ch]:
15961         Added begining of xfig importing
15963 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15965         * objects/UML/pixmaps/state.xpm: 
15966         * objects/UML/state.c: 
15967         New UML object state machine.
15969         * objects/UML/uml.c:
15970         * objects/UML/Makefile.am:
15971         * objects/UML/pixmaps/Makefile.am:
15972         Added the state object.
15973         
15974 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
15976         * objects/UML/usecase.c: 
15977         Added dialog to allow move text outside the ellipse.
15979 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
15981         * Released Dia 0.41
15982         Tag called DIA_0_41
15984         * NEWS:
15985         Updates for 0.41.
15986         
15987 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
15989         * configure.in:
15990         Updated version number to 0.41
15992         * po/*.po:
15993         Update po-files
15995 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
15997         * app/app_procs.c
15998         Changed errormessage for --export-to-ps. Removed call to 
15999         g_log_set_always_fatal().
16001         * app/diagram.c
16002         * app/disp_callbacks.c
16003         * app/load_save.c
16004         (i18n) Removed gettext from some debugmessages.
16006         * app/menus.c
16007         Small fix in GNOME-menus. Added warning that will help track
16008         problems with translations.
16010         * po/sv.po
16011         (i18n) Updated swedish translation.
16013 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
16015         * po/da.po:
16016         New updates
16018 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
16020         * po/da.po:
16021         * po/no.po:
16022         Some fixes.
16023         
16024 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
16026         * po/da.po:
16027         (i18n) Updated the danish translation.
16028         From Lars R. Clausen.
16030 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
16032         * app/menus.c
16033         (i18n) The popup menu is translated now.
16035         * po/sv.po
16036         (i18n) Updated swedish translation.
16038 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16040         * Released Dia 0.40
16041         Tag called DIA_0_40
16043         * NEWS:
16044         Updated for new release
16045         
16046 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16048         * objects/network/bus.c:
16049         Added initialization of properties dialog to NULL.
16051         * app/commands.c (edit_cut_callback):
16052         Update menu sensitivity when cut object.
16054         * app/modify_tool.c (click_select_object):
16055         * app/modify_tool.c (modify_button_release): 
16056         Call diagram_update_menu_sensitivity() when
16057         selecting objects to update stuff that depends
16058         on selected/not selected.
16060 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16062         * Makefile.am:
16063         Change order of subdir so that libintl.a builds.
16064         Now passed make distcheck.
16066 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16068         * lib/font.c (init_x11_font):
16069         Stupid bug fixed.
16071 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16073         * objects/UML/pixmaps/classicon.xpm: 
16074         * objects/UML/classicon.c:
16075         * objects/UML/uml.c:
16076         Added the class stereotype icon objects.
16078         * app/commands.c:
16079         Changed default ps extension from .ps to .eps.
16080         
16081 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16083         * lib/Makefile.am:
16084         Added diamenu.h and intl.h
16086         * lib/font.c:
16087         Stupid typo fix.
16088         
16089         * objects/UML/pixmaps/Makefile.am:
16090         Added message.xpm
16092         * objects/standard/pixmaps/Makefile.am:
16093         Added image.xpm
16095 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16097         * lib/font.c:
16098         Use a scalable font before fixed when real font not found.
16100         * app/commands.c:
16101         Removed warning.
16103         * objects/standard/image.c:
16104         Better handling of loading/saving of images.
16106         * INSTALL:
16107         Added some text about cvs, fonts and rewrote some parts.
16109         * TODO:
16110         Updated with new stuff.
16111         
16112         * configure.in:
16113         Bump up version number to 0.40.
16114         
16115 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16117         * app/display.c:
16118         Moved diagram_add_ddisplay() call into new_display().
16119         Fixed new_display to not use uninitialized variables
16120         causing loaded files to show up as black (or garbage).
16121         
16122         * app/commands.c:
16123         * app/app_procs.c:
16124         Removed unneeded calls to diagram_add_ddisplay().
16125         
16126 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16128         * objects/UML/lifeline.c:
16129         Fixed bug in copy.
16130         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16132         * objects/UML/message.c:
16133         Fixed bug loading messages with null-text.
16134         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16136 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
16138         * po/sv.po
16139         Updated swedish translation.
16141         * app/menus.c
16142         (GNOME) Removed help-browser from help menu. Fixed typo.
16144         * app/interface.c
16145         (GNOME) Accelerators in diagrams should work now. 
16147 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
16149         * app/app_procs.c
16150         * app/commands.c
16151         * app/defaults.c
16152         * app/disp_callbacks.c
16153         * app/display.c
16154         * app/interface.c
16155         * app/menus.c
16156         * app/preferences.c
16157         * app/render_eps.c
16158         * lib/diagramdata.c
16159         * lib/font.c
16160         * lib/message.c
16161         * lib/widgets.c
16162         * objects/ER/*.c
16163         * objects/UML/*.c
16164         * objects/network/*.c
16165         * objects/standard/*.c
16166         * po/update_pofiles_in.sh
16167         * po/POFILES.in
16168         More i18n. All strings (expect rare debug messages) can be
16169         translated now. Moved intl.h from app to lib. Updated
16170         update_pofiles_in.sh to check all .c-files.
16172 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
16174         * app/disp_callbacks.c (ddisplay_canvas_events):
16175         Don't drop keys while num-lock, scroll-lock etc is on.
16177 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16179         * app/render_eps.c (draw_image):
16180         Fixed exporting of images.
16181         Still not perfect, but not outright buggy.
16182         
16183 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16185         * configure.in:
16186         * po/hu.po:
16187         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
16189         * app/Makefile.am:
16190         Added $* to the dia call in run_dia.sh
16192 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16193         
16194         * lib/color.[ch]:
16195         Added color_equals() call.
16197         * objects/standard/arc.c:
16198         * objects/standard/line.c:
16199         Don't save unneccesary data.
16200         
16201         * objects/standard/box.c:
16202         * objects/standard/ellipse.c:
16203         * objects/standard/image.c:
16204         * objects/standard/polyline.c:
16205         * objects/standard/zigzagline.c:
16206         Share properties dialog.
16207         Don't save unneccesary data.
16208         
16209 1999-03-22  Seth Alves  <alves@hungry.com>
16211         * app/menus.c:
16212         * app/diagram.c:
16213         * app/display.c:
16214         small changes so that gnome menus aren't broken
16215         
16216 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16218         * po/da.po:
16219         Added danish translation from lrclause@cs.uiuc.edu.
16221         * po/POFILES.in:
16222         Updated file.
16224         * po/update_pofiles_in.sh:
16225         Added script that updates POFILES.in.
16226         This should probably be run automatically from somewhere.
16228 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
16230         * app/diagram.[ch]:
16231         Added function diagram_update_menu_sensitivity() which
16232         sets the sensitivity of some menu items. This function
16233         is called at each diagram state change (from diagram_modified()).
16234         This is needed  because otherwise the keyboard accelerators
16235         don't work correctly.
16237         * app/display.[ch]:
16238         Changed display_set_menu_sensitivity() to display_update_menu_state().
16239         Moved lots of code to diagram_update_menu_sensitivity() in
16240         diagram.c. Optimized to only look up menu-items from path:s once.
16241         
16242         * app/disp_callbacks.c:
16243         * app/interface.c:
16244         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
16245         Need to set GDK_FOCUS_CHANGE_MASK.
16246         
16247         * app/create_object.c:
16248         Call diagram_modified when an object has been created and
16249         selected so that the menu sensitivity is updated. 
16251         * app/menus.[ch]:
16252         removed menus_set_sensitive() and menus_set_state(). Exported
16253         renamed function menus_get_item_from_path().
16255 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
16257         * app/disp_callbacks.c:
16258         Show (empty) object menus on object that has none.
16259         Show title on object menus.
16261         * app/display.c:
16262         Set zoom factor correctly when opening new displays.
16263         Better setting of scrollbars.
16265         * app/grid.c:
16266         * app/menus.h:
16267         Some reformating cleanup.
16269         * lib/diamenu.h:
16270         Added title to object menus.
16272         * objects/*/*.c:
16273         Added object menu method (NULL-valued) to all objects.
16275         * objects/standard/polyline.c:
16276         Added title to object menu.
16278 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
16280         * app/preferences.[ch]:
16281         New files. Implements the preferences dialog and
16282         loading/saving of ~/.diarc.
16284         * app/Makefile.am:
16285         Added preferences.[ch].
16287         * app/app_procs.c:
16288         Load preferences on startup.
16290         * app/commands.[ch]:
16291         Added file_preferences_callback to show the preferences dialog.
16293         * app/create_object.c:
16294         Update extents when creating object.
16295         Use the reset_tools_after_create preferences setting.
16297         * app/display.c:
16298         Use preferences when creating new display.
16300         * app/menus.c:
16301         Add preferences to menu.
16303         * app/defaults.c:
16304         * app/layer_dialog.c:
16305         * app/properties.c:
16306         Don't allow shrinking of dialog.
16307         Add i18n of some strings.
16309 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
16310         * po/no.po:
16311         Norwegian translation added.
16312         
16313 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
16315         * objects/standard/line.c: 
16316         * objects/standard/arc.c: 
16317         * objects/standard/polyline.c: 
16318         * objects/standard/zigzagline.c:
16319         Loading of arrow data fixed.
16321 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
16323         * app/commands.c:
16324         Update extents when saving and exporting to postscript.
16325         Fixes a bug with postscript bounding-box being wrong.
16327         * app/defaults.c:
16328         Changed border width from 5 to 2.
16330         * app/group.c:
16331         Move grouped objects by the move-point of the first object.
16332         Fixes bug that made all objects in the group be off-grid
16333         when moving the group, even though all objects was on-grid.
16335         * app/layer_dialog.c:
16336         Update extents when changing layer.
16338 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16340        * objects/UML/uml.c: 
16341        * objects/UML/component.c: 
16342        * objects/UML/pixmaps/component.xpm: 
16343        Added the UML component object
16344         
16345 1999-03-04  Seth Alves  <alves@hungry.com>
16347         * objects/UML/generalization.c (generalization_create): avoid
16348         math on uninitialized genlz->text_width (NaN causes sigfpe)
16349         
16350         * objects/UML/realizes.c (realizes_create): same
16352         * objects/UML/dependency.c (dependency_create): same
16354 1999-03-01  Seth Alves  <alves@hungry.com>
16356         * app/display.c (ddisplay_active): don't fly a warning panel
16357         if ddisplay_active is called when no views are open.
16359         * app/commands.c (set_default_file_selection_directory): set
16360         file selector's default directory if there is already
16361         a document open.
16363 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16365         * INSTALL:
16366         New info about imlib requirements.
16368         * Configure.in:
16369         Added lib/pixmaps/Makefile to created makefiles.
16371         * app/app_procs.c:
16372         * app/commands.c:
16373         Change from obsoleted to newer gtk calls.
16374         
16375         * load_save.c:
16376         Pass filename of the diagram when loading and saving.
16377         This creates better oportunities to handle filename saving.
16379         * lib/object.h:
16380         Pass filenames to load and save methods.
16381         
16382         * lib/dia_image.[ch]:
16383         Added dia_image_get_broken() call that returns a image which
16384         is used for 'broken' images.
16385         
16386         * lib/pixmaps/.cvsignore:
16387         * lib/pixmaps/Makefile.am:
16388         * lib/pixmaps/broken.xpm:
16389         New files for the broken image bitmap.
16391         * lib/widgets.c:
16392         Fixed bug with double destroyed filedialog.
16394         * objects/*/*.c:
16395         Updated load and save prototypes to use the new filename argument.
16397         * objects/image.c:
16398         Render broken image instead of line when got no image.
16399         Use the new filename in load and save to save (if possible)
16400         relative pathnames and to better try to find loaded images.
16402 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16404         * TODO:
16405         Some updates to the todo file.
16406         
16407         * app/menus.c:
16408         * app/display.c:
16409         Place over/place over => sent to back/bring to front.
16410         Added some keyboard shortcuts to menus.
16411         
16412 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16414         * lib/dia_xml.c:
16415         Changed string saving/loading to a new method. This should
16416         be much better att handling &,<,> and whitespaces.
16417         Loading strings of the old kind is still supported for backwards
16418         compatibility.
16420         * samples/ER-demo.dia:
16421         * samples/UML-demo.dia:
16422         Updated to use the new strings.
16423         
16424         * app/load_save.c:
16425         statusbar modified update fix.
16427 1999-02-27  Seth Alves  <alves@hungry.com>
16429         * app/app_procs.c (app_init): added a --export-to-ps option
16430         which will cause dia to load a dia file and save it as ps
16431         and then exit.  this is a little bogus, because it still
16432         pops up a window.  this option only shows up if --enable-gnome
16433         is used
16435         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
16436         menu when built with --enable-gnome
16438         * app/interface.c (create_display_shell): build status bar
16439         even if --enable-gnome is used
16441         * app/menus.c: menu fixes for --enable-gnome
16443         * app/commands.c (file_open_dialog_ok_callback): fixed up
16444         menus when --enable-gnome is used
16445         (file_export_to_eps_callback): set a default file name
16446         when dialog is created
16448 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
16450         * objects/UML/association.c (association_create):
16451         Fixed usage of not initialized variable.
16452         Pointed out by Seth Alves <alves@hungry.com>.
16454 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
16456         * configure.in:
16457         Fixed detection of gnome-xml.
16458         From Valtteri Vuorikoski <vuori@k.notcom.org>.
16459         
16460         * app/app_procs.c:
16461         Fixed error detection on dlsym calls. 
16462         From Valtteri Vuorikoski <vuori@k.notcom.org>.
16464 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
16466         * objects/UML/message.c (fill_in_dialog):
16467         Fixed warnings.
16469 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16471         * objects/standard/zigzagline.c:
16472         * objects/standard/polyline.c:
16473         * objects/standard/line.c:
16474         * objects/standard/arc.c:
16475         * lib/widgets.h:
16476         * lib/arrows.h:
16477         * lib/widgets.c:
16478         Support for sizeable arrows. 
16480         * objects/standard/box.c:
16481         * objects/standard/ellipse.c:
16482         * objects/standard/image.c:
16483         Changed creation handle to lower-right.
16484         Transparent box/ellipse.
16485         
16486         * objects/standard/image.c:
16487         Better layout of properties boxes.
16489 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16491         * objects/UML/message.c (fill_in_dialog): 
16492         Fixed dialog fill in. Common dialog for all messages.
16494         * objects/UML/object.c: 
16495         Added multiple instance. Dialog related bugs fixed.
16496         Common dialog for all instances. Completed copy and destroy.
16498         * objects/UML/lifeline.c (lifeline_load): 
16499         Conn initialization bug fixed and few bad loading prevention flags.
16500         Common dialog for all lifeline objects.
16501         
16502 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16504         * lib/dia_image.[ch]:
16505         More work on the DiaImage abstraction.
16506         
16507         * app/app_procs.c:
16508         * app/render_eps.c:
16509         * app/render_gdk.c:
16510         * objects/standard/image.c:
16511         Use the new DiaImage calls.
16513 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16515         * app/menus.c:
16516         * app/display.c:
16517         Reversed the meaning of align horizontal/vertical.
16519 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16521         * app/load_save.c (diagram_load):
16522         Statusbar update fix.
16524 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16526         * app/interface.c (create_display_shell):
16527         Fixed status bar size.
16528         
16529 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16531         * lib/dia_image.[ch]:
16532         Added extern declaration for dia_image_release.
16533         Removed dia_image_draw, as it's not neseccary.
16535 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16536         
16537         * app/object_ops.c: 
16538         * app/menus.c: 
16539         Added equal distance alignment both vertical and horizontal.
16540         
16541         * objects/UML/object.c: 
16542         Added a couple of attributes to load/read that were missing.
16544         * objects/UML/lifeline.c: 
16545         Better handling of handles. Fixed another bug I forgot to add
16546         to my last patch.
16547         
16548 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
16550         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16551         
16552         * lib/dia_image.[ch]:
16553         * lib/Makefile.am:
16554         New files. DiaImage wraps the GdkImlibImage.
16556         * lib/render.h:
16557         * app/render_eps.c:
16558         * app/render_gdk.c:
16559         * lib/render_store.[ch]:
16560         * objects/standard/image.c:
16561         Use the new DiaImagetype.
16563         * lib/widgets.c:
16564         Removed unused variable to eliminate  warning.
16566 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
16568         * objects/standard/box.c:
16569         Added rounded corners on the box object.
16571         * lib/widgets.[ch]:
16572         Updated the DiaFileSelector widget.
16573         
16574 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16576         * objects/UML/object.c (objet_draw): 
16577         Completed underlining of all object name lines. 
16579         * objects/UML/message.c (fill_in_dialog): 
16580         Fixed a bug that filled incorrectly the message's dialog.
16582         * objects/UML/lifeline.c (lifeline_load): 
16583         Some cleanning and fixed a couple of bugs that caused
16584         crashes after reading diagrams with lifelines.
16586         * lib/text.c: 
16587         Added flags to prevent crash with void strings
16589 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
16590         * app/display.[ch]:
16591         Added statusbar to the display widget. Currently shows the zoom
16592         factor and modified flag of the viewed diagram. The statusbar is
16593         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
16594         This caused the following additions:
16595         
16596         * app/diagram.[ch]:
16597         Added function diagram_set_modified. Calls
16598         ddisplay_update_statusbar for all displays showing the modified diagram.
16599         Changed diagram_modified to call diagram_set_modified.
16600         
16601         * app/interface.c:
16602         Added the creation of the statusbar.
16603         
16604         * app/load_save.c:
16605         diagram_save now calls diagram_set_modified instead of setting
16606         dia->modified. Needed to force call to display_update_statusbar
16607         
16608         * app/commands.c:
16609         Changed the way view_show_all works. Now calls ddisplay_zoom
16610         instead of directly setting the zoom_factor, so the zoom factor is
16611         correctly shown in the statusbar.
16613         * app/magnify.c:
16614         Fixed rubberband zoom to use ddisplay_zoom().
16615         
16616 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
16618         * app/app_procs.c
16619         Rudimentary GNOME session management.
16620         
16621         * app/disp_callbacks.c
16622         * app/interface.c
16623         * app/menus.c
16624         * app/menus.h
16625         GNOME menus. Problems: 
16626         Callbacks doesn't get user_data.
16627         Weird warnings when creating popup menus.
16628         menus_set_sensitive(), menus_set_state() doesn't work.
16630 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16632         * configure.in:
16633         Add AM_PATH_GDK_IMLIB() call.
16635         * app/Makefile.am:
16636         Add gdk_imlib to linking flags.
16638         * app/app_procs.c:
16639         Init gdk_imlib.
16640         Print library-loading error messages on stdout too.
16642         * app/interface.c:
16643         Add standard image to toolbox.
16644         
16645         * app/render_eps.c: 
16646         Set a more reasonable dot length.  Fixed
16647         missing initialization of dot length.
16648         Added draw_image methods.
16650         * app/render_gdk.c (new_gdk_renderer): 
16651         Dot a bit wider.  Looks good in normal mode now.
16653         * objects/standard/image.c:
16654         * objects/standard/pixmaps/image.xpm:
16655         New files. Standard object for images.
16656         
16657         * app/render_eps.c (set_linestyle):
16658         * app/render_gdk.c (set_linestyle):
16659         * lib/widgets.c (dia_line_style_selector_init): 
16660         * lib/render.h: 
16661         New line style DOTTED.
16663         * lib/render.h:
16664         * lib/render_store.c:
16665         Change DrawImage call to use gdk_imlib.
16667         * lib/widgets.[ch]:
16668         Added widgets for selecting files.
16669         Added dotted to the linestyle selector.
16671 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
16673         * objects/network/printer.c:
16674         * objects/network/network.c:
16675         * objects/network/pixmaps/printer.xpm:
16676         * objects/network/.cvsignore:
16677         * objects/network/Makefile.am:
16678         * objects/network/pixmaps/Makefile.am:
16679         New printer object in network.
16680         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
16682         * TODO:
16683         Added known XML bug.
16684         
16685 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
16687         * app/load_save.c:
16688         * lib/dia_xml.c:
16689         Reverted back from #include <gnome-xml/tree.h> to
16690         #include <tree.h> as this is fixed by the xml-config program.
16691         The former way broke for some people.
16692         Reported by blizzard@redhat.com.
16694         * objects/UML/lifeline.c:
16695         * objects/UML/message.c:
16696         * objects/UML/object.c:
16697         Removed some warnings.
16698         
16699 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16701         * objects/UML/lifeline.c: 
16702         Fixed connection points over the life line when the focus of
16703         control is not drawn.
16705         * objects/UML/message.c: 
16706         Now a recursive message can be freely resized using the handles.
16708 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16710         * objects/UML/lifeline.c:
16711         Added connection points.
16712         Added properties dialog with the option to draw/hide focus of control
16713         box and destruction mark.
16715         * objects/UML/object.c: 
16716         Added properties dialog and stereotype, explicit state and attributes. 
16717         It's also possible to mark the object as active.
16719         * objects/UML/pixmaps/object.xpm: 
16720         Cosmetic change.
16722         * objects/UML/message.c:
16723         Added "recursive" message type (was not necessary to use OrthConn).
16725 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
16727         * objects/standard/arc.c:
16728         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
16730 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
16732         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
16733         
16734         * app/load_save.c:
16735         * lib/dia_xml.c:
16736         Update xml includes to gnome-xml/*.h.
16738         * objects/standard/arc.c:
16739         Only one property dialog per type.
16740         Fix arrows directions.
16742         * objects/standard/box.c:
16743         * objects/standard/ellipse.c:
16744         * objects/standard/textobj.c
16745         Added default properties dialog.
16746         
16748 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16750         * objects/UML/Makefile.am: 
16751         * objects/UML/uml.c:
16752         * objects/UML/lifeline.c: 
16753         * objects/UML/object.c: 
16754         * objects/UML/message.c:
16755         * objects/UML/pixmaps/lifeline.xpm: 
16756         * objects/UML/pixmaps/object.xpm: 
16757         * objects/UML/pixmaps/message.xpm:
16758         Added 3 new UML objects for dynamic modeling. To avoid internal 
16759         conflicts, the name "objet" is used for object "object".        
16761         * lib/arrows.[ch]: 
16762         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
16763         UML messages.
16764         
16765 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
16767         * app/display.[ch]:
16768         * app/modify_tool.c:
16769         Added autoscrolling while doing rubber-band select.
16770         This patch from Matthias Köster
16771         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
16772         
16774 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
16776         * app/defaults.[ch]:
16777         New files, deals with default properties dialog.
16779         * lib/diamenu.h:
16780         New file. Contains definitions for the new object menu.
16782         * lib/poly_conn.[ch]:
16783         New file. Base class for poly-line like objects.
16785         * objects/standard/polyline.c:
16786         * objects/standard/pixmaps/polyline.xpm:
16787         New files. Polyline object.
16789         * app/app_procs.c:
16790         Fixed bug with infinite loop when registering sheets.
16791         
16792         * app/commands.c:
16793         Removed unneccesary stuff.
16795         * app/disp_callbacks.c:
16796         Support for object menus.
16798         * app/interface.c:
16799         Added polyline to toolbox.
16800         Added call to tool_options_dialog_show() when double clicking on
16801         tool.
16803         * app/tool.[ch]:
16804         New function tool_options_dialog_show() for tool properties.
16806         * lib/arrows.[ch]:
16807         Added ARROW_NONE.
16809         * lib/object.h:
16810         Added ObjectType methods for handling object default dialogs.
16811         Added Object method for handling object_menu.
16812         Added unused methods to ObjectTypeOps for future binary
16813         compatibility.
16815         * lib/widgets.[ch]:
16816         Added DiaArrowTypeSelector widget.
16818         * objects/standard/arc.c:
16819         * objects/standard/zigzagline.c:
16820         Added support for default properties.
16822         * objects/standard/line.c:
16823         Added support for default properties.
16824         Just use one properties dialog for all line objects. NOTE: This
16825         seems to have a bug. We're working on it.
16827         * standard/standard.c:
16828         Add the polyline object.
16830 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
16832         * app/modify_tool.c:
16833         Commented out buggy transitive select function. It wasn't really
16834         meant to go into cvs.
16835         
16837 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
16839         * autogen.sh:
16840         * acconfig.h:
16841         * configure.in:
16842         * Makefile.am:
16843         * app/Makefile.am:
16844         * po/POTFILES.in:
16845         * app/intl.h
16846         i18n-support.
16848         * po/sv.po:
16849         Swedish translation. Not completed.
16850         
16851         * configure.in:
16852         * acconfig.h:
16853         Added possibility to enable GNOME specific code with configure.
16855         * configure.in:
16856         Added possibility to set debug level with configure.
16858         * commands.[hc]:
16859         Added about dialog.
16861         * app_procs.c
16862         * commands.c
16863         * interface.c
16864         * menus.c
16865         Added some GNOME specific code. Not ready for use.
16867 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
16869         * INSTALL:
16870         Added text about needing gtk 1.1.13 and gnome-xml.
16871         
16872         * NEWS:
16873         Described changes since last version (0.20).
16875         Released version 0.30, tagged DIA_0_30.
16877 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
16879         * app/magnify.c (magnify_button_release):
16880         Fixed a problem when zooming in on a very small box would
16881         not release the grabbed pointer-focus.
16883 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
16885         * app/load_save.c (diagram_load):
16886         Be somewhat more robust when loading files that
16887         are not diagrams.
16888         
16889 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
16891         * app/app_procs.c:
16892         * objects/ER/er.c:
16893         * objects/UML/uml.c:
16894         * objects/network/network.c:
16895         * objects/standard/standard.c:
16896         Added versioning of object libraries.
16898         * app/create_object.c:
16899         Don't change tool when an object is created.
16900         
16901         * objects/network/network.c:
16903         * TODO:
16904         Update
16906 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
16908         * configure.in:
16909         Updated gtk requirement to Gtk+ 1.1.13.
16911         * app/display.c:
16912         Always add one screenful of scrolling space on
16913         each side of a diagram window.
16915 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
16917         * autogen.sh:
16918         Tell automake to auto-install missing files.
16920         * app/menus.c:
16921         Renamed deprecated Gtk+ function.
16923 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
16925         * Makefile.am:
16926         * configure.in:
16927         * samples/Makefile.am:
16928         * samples/ER-demo.dia:
16929         * samples/UML-demo.dia:
16930         Added samples directory.
16931         Added samples for ER and UML.
16932         
16933         * app/commands.c:
16934         * app/disp_callbacks.c:
16935         * app/menus.c:
16936         Zoom is done by sqrt(2) instead of 2.
16937         Lots of more zoom options in the menu.
16939         * objects/ER/relationship.c:
16940         Relationships have 8 connectionpoints instead of 4.
16942         * objects/UML/class.c:
16943         UML class name font a bit smaller.
16944         Fixed stupid bug in the copy operation.
16945         
16946         * app/display.c:
16947         Displays are opened at 500x400 instead of 256x256.
16949         * app/load_save.c:
16950         Fixup of internal error message.
16952         * app/color_area.c:
16953         * app/diagram.c:
16954         * app/modify_tool.c:
16955         * lib/object.c:
16956         Removed debug printf's.
16957         
16958         * TODO (BUGS):
16959         Added new known bug.
16961 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
16963         * app/interface.c:
16964         * app/menus.c:
16965         Fixed so accelerator groups work in all windows.
16966         Updated to new gtk function names.
16968         * TODO (BUGS):
16969         Removed fixed bug.
16971         * app/display.c:
16972         Updated to new gtk function names.
16973         Set sensitivity of the align menu items.        
16975         * objects/ER/pixmaps/Makefile.am:
16976         * objects/UML/pixmaps/Makefile.am:
16977         * objects/network/pixmaps/Makefile.am:
16978         Fix so that make dist works.
16980         * app/app_procs.c:
16981         * app/color_area.c:
16982         * app/commands.c:
16983         * app/diagram.c:
16984         * app/grid.c:
16985         * app/layer_dialog.c:
16986         * app/load_save.c:
16987         * app/object_ops.c:
16988         * app/properties.c:
16989         * lib/diagramdata.[ch]: 
16990         * lib/message.c:
16991         * lib/objects/ER/attribute.c:
16992         * lib/objects/ER/entity.c:
16993         * lib/objects/ER/participation.c:
16994         * lib/objects/ER/relationship.c:
16995         * lib/objects/ER/.c:
16996         * objects/UML/actor.c:
16997         * objects/UML/association.c:
16998         * objects/UML/class_dialog.c:
16999         * objects/UML/dependency.c:
17000         * objects/UML/generalization.c:
17001         * objects/UML/large_package.c:
17002         * objects/UML/realizes.c:
17003         * objects/UML/.c:
17004         * objects/UML/.c:
17005         Updated to new gtk function names.
17006         Removed warnings.
17008 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
17010         * TODO:
17011         Update TODO.
17013         * app/app_procs.c:
17014         Fixed loading of diagrams specified as arguments.
17016         * objects/ER/attribute.c:
17017         * objects/ER/entity.c:
17018         * objects/ER/er.c:
17019         * objects/ER/participation.c:
17020         * objects/ER/relationship.c:
17021         Updated the ER objects.
17022         
17024 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
17026         * configure.in:
17027         * app/Makefile.am:
17028         * objects/Makefile.am:
17029         * objects/ER/attribute.c:
17030         * objects/ER/entity.c:
17031         * objects/ER/er.c:
17032         * objects/ER/participation.c:
17033         * objects/ER/relationship.c:
17034         * objects/ER/pixmaps/Makefile.am:
17035         * objects/ER/pixmaps/attribute.xpm:
17036         * objects/ER/pixmaps/entity.xpm:
17037         * objects/ER/pixmaps/participation.xpm:
17038         * objects/ER/pixmaps/relationship.xpm:
17039         * objects/ER/pixmaps/weakentity.xpm:
17040         First commit of entity relationship objects.
17041         These were done by hallon@lysator.liu.se.
17042         There are still stuff to do on these.
17043         
17044 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
17046         * TODO:
17047         Updates.
17049         * app/diagram.[ch]:
17050         Change diagram_remove_all_selected to take new argument
17051         delete_empty. Empty objects are deleted only if it is TRUE.
17052         Removed call to close_eps_renderer. This is now done in end_render
17053         in the eps renderer.
17055         * app/create_object.c:
17056         * app/layer_dialog.c:
17057         Update calls to diagram_remove_all_selected.
17059         * app/commands.c:
17060         Update calls to diagram_remove_all_selected.
17061         Some code reformating.
17062         Changed order of adding updates i align_h and align_v.
17064         * app/modify_tool.c:
17065         Update calls to diagram_remove_all_selected.
17066         Added pointer grab when doing rubber-band selection, this fixes
17067         the bug when draging the box over to another window.
17069         * app/connectionpoint_ops.[ch]:
17070         diagram_update_connections_object changed to take an argument
17071         update_nonmoved. This lets connections that has not moved, but
17072         the stuff they're connected to has been moved work.
17073         Update calls to the new diagram_update_connections_object.
17075         * app/properties.c:
17076         Update calls to the new diagram_update_connections_object.
17077         Update extents when properties are applied.
17078         
17079         * app/disp_callbacks.c:
17080         Added support for zooming with the '+' and '-' keys.
17082         * app/menus.c:
17083         Removed old keyboard shortcuts for zoom.
17085         * lib/render.h:
17086         Added calls begin_render and end_render to renderer.
17087         These can be used for setup and cleanup.
17089         * lib/diagramdata.c:
17090         Added calls to begin_render and end_render in data_render.
17092         * app/render_gdk.c:
17093         Added begin_render and end_render.
17095         * app/render_eps.[ch]:
17096         Added begin_render and end_render.
17097         Moved close_eps_renderer code to end_render.
17098         Various fixes to the generated eps code. This fixes importing
17099         generated eps into LYX.
17100         
17101 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
17103         * TODO:
17104         Update of todo.
17105         
17106         * app/menus.c:
17107         Menus for alignment updated.
17109         * app/object_ops.[ch]:
17110         Functions for object alignment updated.
17112         * app/commands.[ch]:
17113         Object alignment callbacks updated.
17114         New diagrams are called Untitled-<nr>.
17116         * app/layer_dialog.c:
17117         Active layer selected when showing layers from new
17118         diagram.
17120         * app/load_save.c:
17121         Compress xml files when saving.
17122         Use xml namespace 'dia'.
17124         * lib/object.h:
17125         Minor comment update.
17127         * objects/UML/class_dialog.c:
17128         Cleanup of the gkt_list_item moving code.
17129         Fixed bug with update of operation when moving parameters.
17131 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
17133         * app/layer_dialog.[ch]:
17134         Fixed the rest of the layers dialog.
17136         * app/dialog.c:
17137         Added call to redo layer dialogs diagram list when changing
17138         diagram name.
17140         * lib/diagramdata.[ch]:
17141         Added data_raise_layer and data_lower_layer functions for
17142         raising/lowering layers. Added data_add_layer_at for adding a
17143         layer at a specified index.
17145 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
17147         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
17148                 
17149         * app/app_procs.c:
17150         Added support for reading diagrams from the command line.
17152 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
17154         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
17155                 
17156         * app/commands.[ch]:
17157         Added objects_align_callback().
17159         * app/menus.c:
17160         Added align objects to menu.
17162         * app/object_ops.[ch]:
17163         Add object_list_align().
17164         
17165 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
17166         * app/layer_dialog.[ch]:
17167         New files. Handles the layers dialog. Needs a bugfix for glib to
17168         work. Sent patch to gtk-list.
17169         
17170         * app/pixmaps/new.xpm:
17171         * app/pixmaps/eye.xbm:
17172         * app/pixmaps/lower.xpm:
17173         * app/pixmaps/raise.xpm:
17174         * app/pixmaps/delete.xpm:
17175         New files. Images for the layer dialog buttons.
17176         
17177         * lib/diagramdata.h
17178         * lib/diagramdata.c
17179         New files for the DiagramData and Layer structures and functions.
17180         
17181         * app/app_procs.c:
17182         Added call to create_layer_dialog() on startup.
17183         
17184         * app/commands.[ch]:
17185         New callbacks for showing the properties and layout dialog.
17186         Changes for the new DiagramData structure.
17188         * app/connectionpoint_ops.c:
17189         * app/cut_n_paste.c:
17190         * app/diagram.[ch]:
17191         * app/display.[ch]:
17192         * app/group.c:
17193         * app/modify_tool.c:
17194         * app/object_ops.[ch]:
17195         * app/render_eps.c:
17196         * lib/object.[ch]:
17197         Changes for the new DiagramData structure.
17199         * app/interface.c:
17200         * app/properties.c:
17201         Set correct wmclasses.
17203         * app/load_save.c:
17204         Fix load and save of layers.
17206         * diagram.dtd:
17207         Update DTD for layers.
17208         
17209         * app/menus.c:
17210         New menus for dialogs.
17212         
17213         * TODO:
17214         Some updates.
17215         
17216 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
17218         * TODO:
17219         Removed the gtk 1.1.5 stuff.
17221         * configure.in:
17222         Updated gtk check to version 1.1.5.
17223         Updated version from 0.20 to 0.30
17225         * app/commands.[ch]:
17226         Updated some callbacks to be of type GtkItemFactoryCallback1.
17227         Not all are done yet, but it works anyway.
17229         * app/display.h:
17230         Removed Gtk 1.0.0 GtkAcceleratorTable references.
17231         
17232         * app/interface.c:
17233         * app/menus.[ch]:
17234         Update to Gtk 1.1.x functions.
17235         Use ItemFactory instead of MenuFactory.
17236         
17237         * app/render_gdk.c:
17238         Removed Gtk 1.0.0 references.
17240         * objects/UML/class_dialog.c:
17241         Scrolled window updates for Gtk 1.1.5.
17242         
17243         * lib/dia_xml.c:
17244         Removed ugly fix for gnome-xml bug. Make sure you get the
17245         newest version of gnome-xml from CVS.
17246         
17247 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
17249         * TODO:
17250         Removed the xml load/save line.
17252         * lib/files.[ch]:
17253         Removed files.
17254         
17255         * lib/Makefile.am:
17256         Removed building of files.c
17258         * app/load_save.c:
17259         * lib/connection.c:
17260         * lib/element.c:
17261         * lib/object.c:
17262         * lib/orth_conn.c:
17263         * lib/render_object.c:
17264         * objects/UML/actor.c:
17265         * objects/UML/association.c:
17266         * objects/UML/class.c:
17267         * objects/UML/constraint.c:
17268         * objects/UML/dependency.c:
17269         * objects/UML/generalization.c:
17270         * objects/UML/implements.c:
17271         * objects/UML/large_package.c:
17272         * objects/UML/note.c:
17273         * objects/UML/realizes.c:
17274         * objects/UML/small_package.c:
17275         * objects/UML/uml.c:
17276         * objects/UML/usecase.c:
17277         * objects/network/bus.c:
17278         * objects/standard/arc.c:
17279         * objects/standard/box.c:
17280         * objects/standard/ellipse.c:
17281         * objects/standard/line.c:
17282         * objects/standard/textobj.c:
17283         * objects/standard/zigzagline.c:
17284         Removed all includes of files.h
17286         
17287 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
17289         * dialog.dtd:
17290         Made the val property of string be implied.
17291         This makes it possible to save strings that
17292         are NULL. Just leave out val.
17294         * objects/lib/dia_xml.c:
17295         Fixed string so that it is possible to save strings
17296         that are NULL. Also made an ugly workaround of a
17297         bug in gnome-xml which removes empty properties.
17298         
17299         * objects/lib/orth_conn.c:
17300         Fixed a bug in saving. Forgot to step through the
17301         directions.
17302         
17303         * objects/UML/association.c: 
17304         * objects/UML/class.c: 
17305         * objects/UML/constraint.c: 
17306         * objects/UML/dependency.c: 
17307         * objects/UML/generalization.c: 
17308         * objects/UML/implements.c: 
17309         * objects/UML/large_package.c: 
17310         * objects/UML/note.c: 
17311         * objects/UML/small_package.c:
17312         * objects/UML/realizes.c:
17313         * objects/UML/usecase.c: 
17314         * objects/UML/actor.c: 
17315         Fixed UML objects to save as xml.
17316         The last two were done by asierra@servidor.unam.mx (asierra-981204)
17317         
17318         * objects/UML/uml.[ch]:
17319         Updated *_write() and *_read() functions to use xml.
17321         * objects/network/bus.c: 
17322         * objects/network/computer.c: 
17323         * objects/network/disc.c: 
17324         * objects/network/monitor.c:
17325         Updated network diagrams to use xml.
17327 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
17329         * dialog.dtd:
17330         New file. DTD that describes the xml file format
17331         dia uses.
17333         * lib/dia_xml.[ch]:
17334         New files. Support for saving object to xml files.
17336         * configure.in:
17337         * app/Makefile.am:
17338         * lib/Makefile.am:
17339         Added check for and usage of gnome-xml library.
17341         * app/load_save.c:
17342         Major chages. Now saves/loads diagrams as xml.
17344         * lib/object.[ch]:
17345         * lib/element.[ch]:
17346         * lib/connection.[ch]:
17347         * lib/orth_conn.[ch]:
17348         * lib/render_object.[ch]:
17349         * lib/text.[ch]:
17350         Updated object support load/save functions for xml:
17352         * object/standard/arc.c:
17353         * object/standard/box.c:
17354         * object/standard/ellipse.c:
17355         * object/standard/line.c:
17356         * object/standard/textobj.c:
17357         * object/standard/zigzagline.c:
17358         Updated all standard objects to use xml.
17359         
17360         NOTE NOTE NOTE
17361         Only the standard objects are converted right now, don't
17362         save or load uml or network diagrams yet. Also, since this
17363         is new code it is deemed a bit unstable.
17364         
17365         * TODO
17366         Added a know bug.
17368 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
17370         * objects/UML/class.c:
17371         Changed classname font to Helvetica.
17372         Added more space above the classname
17374         * objects/UML/usecase.c:
17375         Correct placements of connectionpoints on ellipse.
17376         Better algorithm for deciding aspect ration on
17377         ellipse.
17379         These changes were made by Alejandro Aguilar Sierra
17380         <asierra@servidor.unam.mx>. (asierra-981201)
17382 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
17384         * objects/UML/actor.c:
17385         Changed the extents and alignment of the element
17386         and the text.
17388         * objects/UML/.cvsignore:
17389         Added usecase.lo and actor.lo.
17391 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
17393         * objects/UML/actor.c:
17394         * objects/UML/usecase.c:
17395         * objects/UML/pixmaps/actor.xpm:
17396         * objects/UML/pixmaps/case.xpm:
17397         New files. Implements usecase and actor UML objects.
17398         These objects are done by Alejandro Aguilar Sierra
17399         <asierra@servidor.unam.mx>.
17400         
17401         * objects/UML/Makefile.am:
17402         * objects/UML/pixmaps/Makefile.am:
17403         Added usecase and actor to makefile.
17404         
17405         * AUTHORS:
17406         Added Alejandro and Jerome to autors list.
17407         
17408 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
17410         * objects/UML/class.c (umlclass_load):
17411         Fixed typo. Reported by Jerome.Abela@solsoft.fr
17413 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
17415         * app/properties.c:
17416         Update connections when doing apply in the properties window.
17418         * objects/UML/uml.[ch]:
17419         * objects/UML/class.[ch]:
17420         * objects/UML/class_dialog.c:
17421         Added connection points on both sides of attributes and
17422         operations in UML classes.
17423         Based on idea from Jerome.Abela@solsoft.fr
17424         
17425 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
17427         * README:
17428         Some new documentation about handles and connectionpoints.
17429         
17430         * lib/object.[ch]:
17431         Added functions object_add_connectionpoint and
17432         object_remove_connectionpoint for handling a dynamic
17433         number of connectionpoints.
17435         * objects/UML/class.c:
17436         Only reserve space for stereotype when it is shown.
17438         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
17440 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
17442         * app/connectionpoint_ops.c:
17443         * app/commands.c:
17444         * app/disp_callbacks.c:
17445         * app/display.[ch]:
17446         * app/grid.c:
17447         * app/handle_ops.c:
17448         * app/magnify.c:
17449         * app/modify_tool.c:
17450         * app/render_gdk.[ch]:
17451         * lib/render.h:
17452         Huge cleanup of internal rendering system.
17453         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
17454         This gives a few new methods for Interactive Renderers for setting
17455         clipping regions and drawing pixel based lines and rects.
17456         Updated the rest of the code to use the new stuff.
17457         
17458         * app/render_eps.c:
17459         Fixed warning.
17461         * lib/widgets.c:
17462         * objects/standard/zigzagline.c
17463         Fixed unused variable warnings.
17465         * lib/font.c:
17466         Fixedbug with stringwidth where width==0.
17468         * TODO:
17469         Added known bug.
17471 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
17473         * lib/widgets.[ch]:
17474         Added suppot for setting the font of a
17475         DiaFontSelector widget.
17476         Also fixed some typos in the header.
17478         * lib/object.h: 
17479         Added a comment about the GetPRoperties method call.
17480         You have to make sure to update widget state when
17481         this method is called. (Not all objects do this yet,
17482         to be fixed.)
17484         * TODO:
17485         Some small updates
17487 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
17489         * lib/font.c
17490         Fixed problem with height of ascent and descent for fonts.
17491         It didn't use the whole height (==ascent+descent) when calculatine
17492         ascent_ratio and descent_ratio.
17494         * objects/standard/textobj.c:
17495         * objects/standard/box.c:
17496         * objects/standard/ellipse.c:
17497         * objects/standard/line.c:
17498         * objects/standard/arc.c:
17499         Updated and added property dialogs for these objects.
17500         Also added line width/color/style to those objects
17501         that didn't have it.
17502         This change breaks fileformat compatibility for these objects.
17503         
17504         * objects/standard/zigzagline.c:
17505         Changed zigzagline to be based on OrthConn, much nicer.
17506         Also added line style and color to properties.
17507         This change breaks fileformat compatibility for zigzagline.
17509         * lib/message.c:
17510         Fixed bug in message(). Forgot a pair of '&'.
17512 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
17514         * lib/widgets.[ch]:
17515         Added DiaColorSelector widget.
17516         This is a colored button that pops up a color selection
17517         dialog when pressed.
17519 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
17521         * lib/widgets.[ch]:
17522         * lib/Makefile.am:
17523         New files, added widgets for selecting fonts, alignment
17524         and line-style. Will be used later.
17526 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
17528         * app/Makefile.am:
17529         * lib/Makefile.am:
17530         * objects/UML/Makefile.am:
17531         * objects/network/Makefile.am:
17532         * objects/standard/Makefile.am:
17533         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
17534         in all Makefile.am.
17536 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
17538         * app/handle_ops.c (handle_draw):
17539         connected HANDLE_MINOR_CONTROL also becomes red.
17541 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
17543         * Makefile.am:
17544         removed -ldl from linking. This is added if needed by configure.
17546         * app/app_procs.c:
17547         Open dlls with RTLD_LAZY if it is defined.
17548         Some cleanups: char *error -> const char *error
17549         Added fprintf()'s to where we exited because of errors.
17551         * lib/files.c:
17552         Include <sys/types.h>
17554 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
17556         * acconfig.h:
17557         * configure.in:
17558         * app/app_procs.c:
17559         Detect dlopen better.
17560         Detect wether dlopen needs an underscore in the identifier.
17561         This code was mostly borrowed from guile.
17563         * lib/sheet.[ch]:
17564         * app/app_procs.c:
17565         * objects/standard/standard.c:
17566         * objects/network/network.c:
17567         * objects/UML/uml.c:
17568         * most objects:
17569         Changed the way sheets reference objects to use just the
17570         name. Changed module loading to a two stage model:
17571         First register_objects() is called for all modules.
17572         Then register_sheets() is called. This means that
17573         sheets can safely include objects from other modules.
17574         
17576 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
17578         * objects/network/bus.c:
17579         * objects/network/network.c:
17580         * objects/network/Makefile.am:
17581         New file bus.c. Added new object: Ethernet bus.
17583         * objects/standard/box.c:
17584         Added call to gtk_spin_button_set_numeric for linewidth spinner
17585         in property dialog.
17587 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
17589         * app/connectionpoint_ops.c:
17590         * app/create_object.c:
17591         * app/group.c:
17592         * app/handle_ops.c:
17593         * app/modify_tool.c:
17594         * lib/connection.c:
17595         * lib/element.c:
17596         * lib/handle.h:
17597         * lib/object.c:
17598         * lib/orth_conn.c:
17599         * loads of objects:
17600         Changed handle->connectable to handle->connect_type.
17601         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
17602         that their connections don't break when moving objects.
17604         * app/diagram.c:
17605         Always select the last handle in an object that has
17606         the closest distance.
17607         
17608         * lib/geometry.[ch]:
17609         Added rectangle_add_point function.
17610         
17612 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
17614         * app/properties.[ch]: New files. Handles the new properties
17615         dialog.
17617         * app/modify_tool.c: Changed to use new properties dialog.
17619         * app/object_ops.[ch]: Removed object_changed_callback, as it's
17620         not needed anymore. This is now handled differently in
17621         properties.c
17623         * lib/object.[ch]:
17624         Changed the properties ops for objects. Removed typedefs
17625         ChangedObjectTime and ObjectChangedFunc needed for the old way.
17626         Added object_return_null function.
17627         
17628         * app/group.c:
17629         * lib/render_object.c:
17630         * objects/*/*.c:
17631         Changed objects to use the new properties dialog.
17632         
17634 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
17636         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
17637         builddir.
17639         * autogen.sh: New file. Copied from gtk and added a call to
17640         libtoolize. Anyone knows why this isn't done in gtk?
17642         * Removed autogenerated files.
17644 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
17646         * Added call setlocale(LC_NUMERIC, "C") so that formating of
17647           floating-point numbers in postscript output will be correct.
17648         * Did some cleanup of generated postscript files.