re-added sample diagrams as binary files
[dia.git] / ChangeLog
blob77fe4fe3f21120b68e46c6e5660b8101fbf2a732
1 2004-07-13  Steffen Macke <sdteffen@web.de>
3         * samples/Istar.dia:
4         * samples/KAOS.dia:
5         * samples/Jackson.dia: re-added to the CVS as binary files
7 2004-07-11  Lars Clausen  <lars@raeder.dk>
9         * lib/dialibartrenderer.c: 
10         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): 
11         * lib/object.c: 
12         * lib/object.h (OBJECT_COMMON_PROPERTIES): First attempt at actual
13         rotation.  Very primitive interface, only rect can rotate, only in
14         libart, and there the box collapses:(  But it's progress.
16 2004-07-10  Lars Clausen  <lars@raeder.dk>
18         * app/sheets_dialog_callbacks.c (write_user_sheet): 
19         * lib/sheet.c (load_register_sheet): Don't introduce double
20         slashes in namespace.
22         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
23         old diagrams, or XSLT will barf all over.
24         
25 2004-07-10  Steffen Macke <sdteffen@web.de>
27         * makefile.msc: added doc target; updated for 0.94-pre1 release
28         * shapes/RDP/place.shape:
29         * shapes/RDP/transition.shape: use *.png instead of *.xpm
31 2004-07-08  Steffen Macke <sdteffen@web.de>
33         * plug-ins/wmf/wmf.cpp (UsePen): linewidth is now working for PS_SOLID  
35 2004-07-05  Hans Breuer  <hans@breuer.org>
37         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
38         -std=c89. Mostly //-comments and M_PI -> G_PI
39         [Istar, Jackson, KAOS were removed from build cause they
40         simply have *too* much C++ comments ;]
41         * object/UML/association.c : use g_strdup() not plain strdup()
42         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
43         isn't known with more portable signal code
44         
45         * app/app_procs.c : don't call gtk_init() if just --version
46         is requested (bug #144321, Vladimir Kondratiev)
47         
48         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
49         DiaFont* if not NULL
50         * objects/UML/class.c : moved fill_in_fontdata() to 
51         umlclass_load() to avoid such trouble, though unsure if
52         this really is an improvement...
53         
54         * shapes/network/makefile.am : patch-panel added here too
56 2004-07-04  Hans Breuer  <hans@breuer.org>
58         * sheets/network.sheet.in shapes/network/patch-panel.xpm
59           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
60         fixes bug #136629, James McDonald
62 2004-07-04  Hans Breuer  <hans@breuer.org>
64         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
65           lib/object_defaults.c : revert changing of Dia's XML namespace
66         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
67         about its purpose and relation to real world urls.
69         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
70         added comment about when to do so
71         [Should have been long time ago and probably multiple times
72         to avoid crashing on older plug-ins]
73         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
74         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
76         * lib/object.c objects/UML/class.c : there are still compilers not 
77         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
78         on the stack
79         * objects/UML/class.h : there is a differnce between a list pointer
80         and a list pointer pointer. We and GLib want the former.
82         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
83         if Gtk is initialized. Using gdk_display_get_default () avoids the
84         app/* dependency and is also closer to the requirements of the
85         plug-ins working.
87         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
88         some #ifdefed support for Cairo backends not public available yet.
90         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
91         windoze platform supports them. This should fix bug #109818, at
92         least for the majority running NT or above ...
93         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
95         * objects/makefile.msc : build Istar, Jackson and Kaos
97         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
98         keep old diagrams as they were - instead of this nice new effect ;-)
99         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
101         * objects/UML/class.c : mark for translation _("Wrap ...
103         * objects/UML/class.c : more correct types, also some default properties
104         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
106         * objects/UML/activity.c : removed a leftover from the 
107         use-localization-for-font-substitution-hack
109         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
110         'cvs admin -kb *.png' PNG files should already be *added* as binary,
111         otherwise they are not readable on line-end-converting-platforms
113         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
114         filter_get_by_name()
116         * plug-ins/python/pydia-property.c : some more g_warnings for
117         not implemented conversions
119         * plug-ins/python/group_props.py : ensure unique property values
120         at the right place. Now something like :
121         - load an old UML class diagram
122         - change one of the classes to wrap operations
123         - select all classes (/Select/Same Type)
124         - /Dialogs/Group Properties : check wrap_operations, select '1'
125         - Ok, works like a charm :-)
127 2004-07-04  Lars Clausen  <lars@raeder.dk>
129         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
130         pixbuf. (#145362)
131         
132 2004-07-03  Lars Clausen  <lars@raeder.dk>
134         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
135         <LAV@VL3143.spb.edu>: Fixes console output problems and some
136         interactiveness problems.
138 2004-07-02  Lars Clausen  <lars@reader.dk>
140         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
141         app isn't interactive.
143 2004-07-01  Lars Clausen  <lars@raeder.dk>
145         * plug-ins/cairo/diacairo.c: Add init of last field of filter
146         struct to remove crash.
148         * sheets/Makefile.am (sheet_in_files): 
149         * shapes/Makefile.am: 
150         * sheets/ChemEng.sheet.in: 
151         * shapes/ChemEng/Makefile.am: 
152         * configure.in: 
153         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
154         Chemical engineering shapes.
155         
156         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
157         multiple arguments when using devel script.
159         * app/display.c (new_display): 
160         * app/dia-props.c: 
161         * lib/diagramdata.c (new_diagram_data): 
162         * lib/diagramdata.h: 
163         * app/preferences.h: 
164         * app/preferences.c: 
165         * app/grid.c: 
166         * app/diagram.c: 
167         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
168         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
170         * HACKING: 
171         * doc/pl/authors.xml: 
172         * doc/en/authors.xml: 
173         * lib/object_defaults.c (dia_object_defaults_save): 
174         * readme.win32 (BTW): 
175         * lib/persistence.c (persistence_save): 
176         * app/load_save.c (diagram_data_write_doc): 
177         * app/commands.c (help_about_callback): 
178         * README: Fix links to home page.
180         * lib/font.c: 
181         * app/load_save.c (diagram_data_load): 
182         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
183         loading, and guard against them when fonting.
185         * lib/diarenderer.c (draw_rounded_polyline): Patch from
186         anthonym@overture.com:  Make limited rounding a corner-specific
187         rendering-only thing.
189 2004-06-30  Lars Clausen  <lars@raeder.dk>
191         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
192         adjustment: If you can't fix it, at least don't change it.
194         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
195         code instead of individual code in here.
197 2004-06-29  Lars Clausen  <lars@raeder.dk>
199         * objects/UML/association.c: Patch from Kiran
200         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
201         text. 
203         * lib/geometry.c: 
204         * lib/geometry.h: 
205         * lib/diarenderer.c (draw_rounded_polyline): 
206         * objects/standard/polyline.c (polyline_draw): 
207         * objects/standard/zigzagline.c (zigzagline_draw): 
208         Patch from anthonym@overture.com:  Add rounded polylines.
210 2004-06-27  Lars Clausen  <lars@raeder.dk>
212         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
214         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
215         free family list before taking out the pointer we need. Also set
216         the entry_nr correctly so we get the menu set up right.
218 2004-06-23  Lars Clausen  <lars@raeder.dk>
220         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
221         images at the right place.
223         * objects/Istar/actor.c
224         * objects/Istar/goal.c
225         * objects/Istar/istar.c
226         * objects/Istar/istar.h
227         * objects/Istar/link.c
228         * objects/Istar/other.c
229         * objects/Jackson/domain.c
230         * objects/Jackson/jackson.c
231         * objects/Jackson/jackson.h
232         * objects/Jackson/phenomenon.c
233         * objects/Jackson/requirement.c
234         * objects/KAOS/goal.c
235         * objects/KAOS/kaos.c
236         * objects/KAOS/kaos.h
237         * objects/KAOS/metaandorrel.c
238         * objects/KAOS/metabinrel.c
239         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
240         <cp@cetic.be>: Fix instability issues caused by not returning NULL
241         in *_move_handle and *_move.  Also improved the headers with
242         correct (c) information.
244 2004-06-22  Lars Clausen  <lars@raeder.dk>
246         * objects/KAOS/goal.c:
247         * objects/KAOS/other.c:
248         * objects/Istar/actor.c:
249         * objects/Istar/goal.c:
250         * objects/Istar/other.c:
251         * objects/Jackson/domain.c:
252         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
253         <cp@cetic.be>: Fix resize issues.
255         * app/filedlg.c (file_dialog_hide): Patch from Kiran
256         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
257         related dialog. #129520.
259         * app/dia-props.c (diagram_properties_show): Patch from Kiran
260         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
261         a child of its diagram. #129520.
263         * objects/UML/association.c (association_load): Patch from Kiran
264         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
265         text placement. #118313.
267 2004-06-17  Lars Clausen  <lars@raeder.dk>
269         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
271         * Makefile.am: Make THANKS only be generated by maintainers.
273         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
274         Makefile, too.
276         * configure.in: Added three missing Makefiles.
278         * app/diagram.[ch]: 
279         * app/filedlg.c:
280         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
281         diagram-related (save) dialog when closing diagram.  To be
282         extended to other dialogs.
284         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
286         * samples/Istar.dia:
287         * samples/Jackson.dia:
288         * samples/KAOS.dia:
289         * sheets/Istar.sheet.in:
290         * sheets/Jackson.sheet.in:
291         * sheets/KAOS.sheet.in:
292         * sheets/Istar/*:
293         * sheets/Jackson/*:
294         * sheets/KAOS/*:
295         * objects/Istar/*:
296         * objects/Jackson/*:
297         * objects/KAOS/*:
298         * configure.in: 
299         * objects/Makefile.am (SUBDIRS): 
300         * sheets/Makefile.am (SUBDIRS): 
301         * samples/Makefile.am: Additions from Christophe Ponsard
302         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
303         of hacking still.
305 2004-06-12  Lars Clausen  <lars@raeder.dk>
307         * lib/properties.h: 
308         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
310         * lib/font.h: Toning down comments a bit:)
312         * lib/font.c (dia_font_build_layout): Playing around with DPI 
314         * objects/UML/association.c (association_load): Avoid crashes on
315         strcmp with NULL.
317         * objects/UML/association.c: Patch from kimmidi@novell.com:
318         Improve placement of labels when vertical.  Part fix of #118313
320         * lib/object.c (dia_object_is_selected): Grouped objects are not
321         selected, only the group itself.  Thus, don't crash when grouping
322         beziers. #143681
324         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
325         on how to represent empty strings.  Fixes #143639.
327         * lib/object.c (dia_object_is_selected): Added comment answer.
329 2004-06-12  Hans Breuer  <hans@breuer.org>
331         * lib/diagramdata.c lib/object.c : deal with grouped objects
332         not knowing their parent_layer, i.e. avoid crashing in 
333         dia_object_is_selected() via group_draw() [ Triggered by
334         playing with the Visio generated svg from bug #143455 ]
336         * plug-ins/python/diasvg_import.py : started to implement
337         transformation="translate(...)" and <style/> handling. Also
338         use some other completely bogus values for em/ex scaling
339         
340 2004-06-08  Lars Clausen  <lars@raeder.dk>
342         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
344 2004-06-07  Lars Clausen  <lars@raeder.dk>
346         * app/layer_dialog.c (layer_dialog_set_diagram): 
347         * app/display.c: Layer widget crash more properly dealt with in
348         layer dialog code.
349         
350         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
351         widget deselect was called during destroy, but called
352         ddisplay_flush, leading to a new display timeout after renderer
353         was dead.
355         * lib/widgets.c (dia_toggle_button_destroy): 
356         * app/recent_files.c (recent_file_menuitem_create): 
357         * lib/persistence.c (persistence_save_list): 
358         * app/commands.c (edit_delete_callback): 
359         * lib/object_defaults.c (dia_object_defaults_save): 
360         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
361         (#142669)
362         
363         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
364         debugging info.
366         * lib/diagramdata.c (new_layer): Initialize connectibility.
368         * app/display.c (ddisplay_obj_render): 
369         * app/diagram.c (diagram_find_closest_connectionpoint): Take
370         connectibility into account.
372         * app/layer_dialog.h (struct _DiaLayerWidget): 
373         * app/layer_dialog.c:
374         Connectible toggle updates, now works fairly well.
376         * app/select.c (select_transitive_callback): Make sure we're only
377         selecting in the same layer.
379 2004-06-04  Lars Clausen  <lars@raeder.dk>
381         * app/pixmaps/Makefile.am: Also install connectable images.
382         
383         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
384         layer toggles from layer itself.  Also update diagram correctly
385         for visibility.  Still need updates for connectivity behaviour.
387 2004-06-03  Hans Breuer  <hans@breuer.org>
389         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
391         * lib/diagdkrenderer.c(set_linejoin) : actually set
392         join_style not cap_style
393         (set_dashes): with the correct number of dashes
395 2004-06-03  Lars Clausen  <lars@raeder.dk>
397         * app/modify_tool.c (click_select_object): 
398         * lib/text.c (text_set_cursor): 
399         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
401 2004-05-31  Hans Breuer  <hans@breuer.org>
403         * lib/object_defaults.c : don't 'failed to load external 
404         entity "NULL"' when the defaults file does not exist, 
405         bug #108764 [again: somehow this got lost]
407         * app/paginate_gdiprint.cpp : don guess the WMF export 
408         filter used for printing but find it by unique name.
409         Also update for export_func renaming
410         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
411         provide some unique names
413         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
414           app/select.c : fix bug #140789 by always checking if there
415         still is an active diagram before accessing it
417         * app/defaults.c app/properties.c : user visible string should 
418         not read DiaObject but stay as "Object defaults/properties"
420         * app/app_procs.c : reduce the hack to pass --size to the
421         export via user_data to the only filter supporting it. Other
422         filters would crash on it or do worse ;(
424         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
426 2004-05-31  Lars Clausen  <lars@raeder.dk>
428         * lib/widgets.h: 
429         * lib/widgets.c: Use GtkType rather than guint for
430         dia_size_selector_get_type. 
432 2004-05-29  Lars Clausen  <lars@raeder.dk>
434         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
435         that it matches the screen output for selfoverlapping polygons and
436         beziers. 
438 2004-05-28  Hans Breuer  <hans@breuer.org>
440         * app/load_save.c : ignore empty groups on load and don't
441         write empty groups while saving
442         * lib/group.h (group_update_data): there is no first object
443         in empty groups and they probably don't need an update at 
444         all. Maybe the shold just not exist ?
446         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
447         text positioning as well as drawing of images with alpha
449         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
450         HAVE_WINDOWS_H or G_OS_WIN32 is defined
452 2004-05-28  Lars Clausen  <lars@raeder.dk>
454         * app/pixmaps/Makefile.am (imagedir): 
455         * app/pixmaps/visible.png:
456         * app/pixmaps/visible-empty.png: New images for the visibility
457         button in the layer dialog.
459         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
460         more border around the button.  Still some left when hovering the
461         mouse or selecting, and the grey background is annoying.
463         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
464         visibility connector.
466 2004-05-26  Lars Clausen  <lars@raeder.dk>
468         * configure.in (DB2MAN): Better check for db2man docbook place.
469         Need something even better.
471         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
473         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
474         extraeneous borders.
476         * dia_logo.png:
477         * dia_gnome_icon.png:
478         * samples/render-test.dia: Rendering test from Hans.
480 2004-05-24  Hans Breuer  <hans@breuer.org>
482         * lib/filter.h : renamed DiaExportFilter::export to
483         _DiaExportFilter::export_func (should not use c++ 
484         keywords (g++ specifc ?) in headers. Same for import
485         out of pure symmetry reasons
486         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
487           app/diagram.c app/filedlg.c : reflect functions renaming
489         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
490         under *NIX, too. [If you want something done, do it yourself ;-]
491         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
492         with wmf.cpp's GDI usage
493         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
494         [For the moment it does not much more than compiling, i.e. 
495         the produced WMF files are invalid, if not created on windoze.]
497         * configure.in : check for C++ to compile plug-in/wmf
498         
499         * objects/GRAFCET/boolequation.c : looks like fixing 
500         another leak (untested)
502 2004-05-23  Hans Breuer  <hans@breuer.org>
504         * acinclude.m4 : another attempt to fix 
505         bug #142032 (still not sure it's the right one,
506         but works for me(tm), which the other does not ;)
507         
508         * plug-ins/cairo/Makefile.am
509           plug-ins/Makefile.am 
510           configure.in : support building the new cairo
511         plug-in, if given --with-cairo and the cairo
512         packages are found, see http://cairographics.org
513         and also http://hans.breuer.org/dia/dia-cairo.htm
515         * plug-ins/cairo/diacairo.c : make it compile
516         with DEBUG_CAIRO defined, too.
518 2004-05-23  Hans Breuer  <hans@breuer.org>
520         * plug-ins/cairo/Makefile.am : initial attempt
522         * plug-ins/cairo/diacairo.c : a new exporter based on
523         Cairo http://cairographics.org rendering api. Currently
524         it just can export PNG and PS but one day it might get
525         PDF and more almost for free. [It is not yet included
526         in the *NIX build system due to lack of auto* magic.]
528         * plug-ins/pixbuf/pixbuf.c : always register the export
529         filter part. If the user does not want it it can be 
530         disabled by File/Plugins or explicit selected the other
531         one in the Export Formats List
533 2004-05-23  Hans Breuer  <hans@breuer.org>
535         * lib/dia_dirs.c : #include "message.h"
536           lib/widgets.c : #include "persistence.h"
537           lib/widgets.c(dia_font_selector_init) : still not C99
538           lib/persitence.h : removed unimplemented prototype
539           lib/persitence.c(persistence_load_list) : still not C99
540           app/create_object.c : #include "highlight.h"
541           app/layer_dialog.c : #include "widgets.h"
542           app/modify_tool.c : prototype functions before usage
543           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
544         [otherwise one will have a hard time to make C++ compile ;]
545           lib/dia_dirs.c : #include "message.h"
546           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
547           lib/
549         * plug-ins/xfig/xfig-import.c : dont initialize an int with
550         a string pointer
552         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
553         as documented, i.e. _not_ copying. Plugs a memory leak in
554         lib/dialibartrenderer.c
556         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
557         to radius to more of a clue what it is representing
559         * */makefile.msc lib/libdia.def : updated
561         ChangeLog : fixed some date copy&paste bug
563 2004-05-21  Lars Clausen <lars@raeder.dk>
565         * NEWS: Release tag.
567         * config.h.win32: Now 0.93+cvs
569         * RELEASE-PROCESS: Update with new info about release branches.
570         
571         * Many files:  Moved devel branch back into main trunk.  Should
572         have been done in the opposite way, with release in a branch.  
573         
574 2004-05-20  Hans Breuer  <hans@breuer.org>
576         * acinclude.m4 : disable setting of PYTHON_PREFIX
577         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
578         as workaround for bug #142032 (the real fix would 
579         involve some auto* knowledge which I don't have
580         either;)
581         
582         * plug-ins/python/Makefile.am : more python 
583         plug-ins to be installed (especially svg import,
584         but also 'simple scale' should be useable 
585         sometimes)
586         
587         * plug-ins/python/scascale.py : update display
588         after modifying selected objects
589         
590         * plug-ins/python/diasvg_import.py : initialize
591         stroke to none
592         
593 2004-05-18  Lars Clausen  <lars@raeder.dk>
595         * app/diagram_tree.c (select_node): Use
596         diagram_remove_all_selected to kill selected list.
598         * lib/font.c: Set language when using a different context.
600         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
601         and removed ctype include (#142661).
603         * lib/paper.c (get_default_paper): Changed isalnum to
604         g_ascii_isalnum and removed ctype include. (#142661)
606         * objects/custom/shape_info.c: 
607         * lib/dia_svg.c: 
608         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
610 2004-05-17  Hans Breuer  <hans@breuer.org>
612         * lib/object_defaults.c : don't 'failed to load external 
613         entity "NULL"' when the defaults file does not exist, 
614         bug #108764
616         * lib/widgets.c : fixed possible menu leak
617         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
618         avoid finalization of floating references, bug #142307
620 2004-05-15  Lars Clausen  <lars@raeder.dk>
622         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
623         fonts better (#138655)
624         
625         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
627         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
628         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
630         * Makefile.am (CLEANFILES): 
631         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
632         translation-reports, they are generated automagically.  THANKS
633         file not considered locally generated, so is not locally
634         cleaned. (#133735) 
636         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
638         * lib/diaarrowchooser.c: 
639         * lib/prop_attr.c: Fixing naming for arrowselector.
641         * objects/UML/object.c (objet_type): Oops, little too aggressive
642         with the DiaObject thing here:)
644         * objects/custom/shape_info.c (parse_svg_node): Use
645         g_ascii_isdigit instead of isdigit.
647         * app/diaunitspinner.c (dia_unit_spinner_update): 
648         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
649         instead of isspace avoids char subscript issues (#142467).
651         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
652         return value conflict.
654         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
655         value conflict.  Also improved signature. (#142466)
657         * app/load_save.c (diagram_data_load): Don't overwrite the list in
658         the layer, but instead free the returned list (#142480)
660         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
661         for the grid widget.
663         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
665         * configure.in (DB2MAN): Currently just check for two known
666         positions for the docbook xsl.  Don't know a generic way to find
667         this info.  Ought to add an option for it, but then it's really
668         only required for maintainers, I think.  Maybe.
670         * app/display.c (update_snap_grid_status): Remove nasty image
671         toggling code not require for grid toggle button anymore. (#142475)
673         * app/interface.c (create_display_shell): Use
674         dia_toggle_button_new_with_images to create grid toggle button.
675         Much nicer. (#142475)
677         * app/menus.c (menus_initialize_updatable_items): Free the string
678         along with the GString. (#142475)
680         * lib/intl.c (free_alias_table): Free hash table entries in a
681         proper way, avoiding duplicate frees. (#142475)
683         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
684         not put in the hash (avoid reading freed memory). (#142476)
686         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
687         faces. (#142484)
688         (dia_font_selector_get_family_from_name): Stop leaking
689         families. (#142482) 
691 2004-05-14  Lars Clausen  <lars@raeder.dk>
693         * Transfer of fixes from release branch.  Not the prettiest way to
694         do it, this should be done during release, not afterwards.
696         Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
698         * acinclude.m4: minor fixes (added missing [] quotation).
700         Lars Clausen  <lars@raeder.dk>:
702         * app/interface.c (toolbox_delete): 
703         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
704         cancels quit due to modified diagrams.
706         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
708         * is.po: Added "is" to ALL_LINGUAS.
710         Lars Clausen  <lars@raeder.dk>:
712         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
714         Hans Breuer  <hans@breuer.org>:
716         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
717         burden should be shared and not be win32 only ;) [this time 
718         build was broken by adding GtkType to widget.h]
720         * objects/standard/box.c objects/standard/ellipse.c :
721         for code clarification compare (obj->aspect != FREE_ASPECT)
722         and not (obj->aspect); no binary effect.
724         * app/paginate_psprint.c : don't leak printcmd
726         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
727         standard C requires variables to be declared at the beginning of 
728         a block, also there is no fabsf() with msvc
729         
730         * app/win32print.[ch] : make win32_printer_close() return an
731         error code, it's used as pclose replacement
733         Lars Clausen  <lars@raeder.dk>:
735         * RELEASE-PROCESS: Mention PATCH keyword in release process.
737 2004-05-06  Lars Clausen  <lars@raeder.dk>
739         * lib/widgets.[ch]: Utility function to make a widget with two
740         images (selected and non-selected).
742         * lib/diagramdata.h: Renamed selectable to connectable.
743         Selectable will come later.
745         * configure.in: 
746         * app/pixmaps/Makefile.am (imagedir): 
747         * app/pixmaps/connectable.png:
748         * app/pixmaps/connectable-empty.png: New images for the
749         selectability widget.  Proper installation, too.
751         * app/layer_dialog.[ch]: Adding new button showing connectability
752         status.  Much cleaner way of doing the button, but some problems
753         with the item getting selected
755         * lib/widgets.h: Reminder of how to install images for use by
756         dia_get_image_from_file.
758 2004-05-05  Lars Clausen  <lars@raeder.dk>
760         * objects/network/Makefile.am: 
761         * objects/network/pixmaps/radiocell.xpm: 
762         * objects/network/pixmaps/basestation.xpm: 
763         * objects/network/network.c: 
764         * objects/network/basestation.c: 
765         * objects/network/radiocell.c: 
766         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
767         station objects.
769         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
770         Backslash arrow head. 
772         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
773         Notify takes care.  Should maybe use that more.
775         * lib/diagramdata.[ch]: 
776         * app/filedlg.c (file_export_ok_callback): 
777         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
779         * app/dia-props.c (diagram_properties_respond): 
780         * app/diagram.c (diagram_set_modified): 
781         * app/undo.c: 
782         * app/disp_callbacks.c: 
783         * app/commands.c: 
784         * app/load_save.c (diagram_save): 
785         Better handling of undo and modified status -- only diagram
786         properties and page setup explicitly set modified status, all
787         other important changes should be done through the undo stack
788         now.
790 2004-05-04  Lars Clausen  <lars@raeder.dk>
792         * app/app_procs.c (app_init): Consistently open a new diagram if
793         none specified, with standard name Diagram1.dia.
795         * app/layer_dialog.c: 
796         * app/diagram.c (diagram_finalize): 
797         * app/commands.c (dialogs_layers_callback): 
798         * app/filedlg.c (file_export_ok_callback): 
799         * app/app_procs.c (app_exit): 
800         * app/display.c (display_set_active): 
801         * app/interface.c (dia_dnd_file_drag_data_received): 
802         * app/recent_files.c: 
803         Undone attempt at unifying the multi-diagram windows (like
804         layers).  It broke the layers and didn't make much sense for the
805         diagram properties dialog anyway.
807         * lib/group.c: 
808         * lib/diatypes.h: 
809         * lib/diagramdata.c: 
810         * lib/object.h: 
811         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
812         many subclasses have to be fixed.  Fixed remaining
813         Object/ObjectType renaming issues.
815 2004-05-02  Lars Clausen  <lars@raeder.dk>
817         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
818           having to make all the children objects conform to
819           GObject style at once?  Warning!  Does not compile right now.
821         * many, many files: Rename Object to DiaObject in preparation for
822           making it a GObject.
823         
824         * app/diagram.[ch]: Turn diagram into a real GObject.
826         * app/pagesetup.c: 
827         * app/filedlg.c: Correctly ref and unref diagram. 
829         * lib/diagramdata.h: Starting to turn it into a GObject as well.
831 2004-05-02  Lars Clausen  <lars@raeder.dk>
833         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
834         GObject. 
836         * app/dia-props.c: Undo the attempt at making it really
837         multi-diagram, now going for a one-diagram dialog.
839 2004-04-30  Lars Clausen  <lars@raeder.dk>
841         * app/undo.c: Undoing broken undo stuff for diagram properties and
842         page setup.  Shouldn't be mixed into undo at all.
844         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
845         function to avoid in particular the grid crawling.
847         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
848         to allow aligning dashes, so they don't crawl.
850 2004-04-28  Lars Clausen  <lars@raeder.dk>
852         * app/Makefile.am: New files diacanvas.[ch]
854         * app/interface.c (create_display_shell): Use new diacanvas that
855         allows placing widgets on canvas, for text edit.
857         * lib/object.h: 
858         Early work towards rotation.  No implementation yet.
860         * app/layer_dialog.c (undo_layer): 
861         * objects/network/bus.c (bus_create_change): 
862         * objects/standard/box.c (aspect_create_change): 
863         * objects/standard/ellipse.c (aspect_create_change): 
864         Use g_new0 for change struct.
866         * app/undo.c (diagram_change_apply_or_revert): 
867         Support for undo of diagram properties and page setup.
869         * app/disp_callbacks.c (ddisplay_canvas_events): 
870         * lib/text.h: 
871         * lib/diagramdata.h: 
872         * app/modify_tool.c (click_select_object): 
873         * lib/text.c (text_register_editable): 
874         Starting work on new text editing model.  Guarded by #ifdef so
875         far. 
877 2004-04-07  Lars Clausen  <lars@raeder.dk>
879         * app/recent_files.c (open_recent_file_callback): 
880         * app/interface.c (origin_button_press): 
881         * app/filedlg.c (file_open_ok_callback): 
882         * app/display.c: 
883         * app/diagram.[ch]: 
884         * app/commands.c (dialogs_layers_callback): Using new
885         diagram_set_current() function to ensure auxilliary windows are
886         updated. 
888         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
889         menu now borken.  *sniff*
891         * app/dia-props.c: Diagram properties window attempted
892         persistentified.  Trying to make more like layer dialog (since it
893         already changes when the diagram changes), but some things still
894         borken. 
896 2004-04-06  Lars Clausen  <lars@raeder.dk>
898         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
899         * lib/attributes.c (attributes_set_default_line_style): 
900         * app/interface.c (create_lineprops_area): 
901         Make line style persistent as well.  Added function to directly
902         set the style and dashlength of a dialinechooser. 
904 2004-04-03  Lars Clausen  <lars@raeder.dk>
906         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
907         Copy the ellipse extra handle correctly.
909         * objects/standard/box.c (box_move_handle): Move definitions
910         according to bug #138925.
912 2004-04-02  Lars Clausen  <lars@raeder.dk>
914         * app/recent_files.c: Use absolute name for recent files list.
916         * lib/attributes.c: Set start and end arrow types, correctly.
918         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
919         to get arrow index.
921         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
923         * app/interface.c (create_lineprops_area): Set persistently stored
924         arrow info.
926         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
927         from arrow type.
929         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
930         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
932         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
933         with what xfig does.  Text now converted from latin-1 to utf-8
934         (latin-1, since that's what xfig seems to use.  Would like to see
935         examples of non-latin-1 figs).  String case problems fixed.
937 2004-04-01  Lars Clausen  <lars@raeder.dk>
939         * lib/attributes.c: 
940         * app/interface.c: Default arrows now stored persistently, too.
942         * lib/arrows.[ch]: New function to get arrow type from name.
944         * app/color_area.c (color_area_create): 
945         * lib/attributes.c: 
946         * app/linewidth_area.c: Also persistent colors and line width.
947         That was easy.  Arrows and line style will take a bit more work,
948         but not much.
950 2004-04-01  Lars Clausen  <lars@raeder.dk>
952         * app/preferences.c:   All preferences are now
953         handled by persistence, old prefs load and store code is gone.
955         * lib/persistence.[ch]: Added string and color persistents.  This is
956         a different string from the one used in the printer dialog, that
957         one has a GtkEntry attached -- may want to make that one an
958         encapsulation of this one or something.
960 2004-03-31  Lars Clausen  <lars@raeder.dk>
962         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
963         phased out anyway.
964         
965         * lib/persistence.[ch]: 
966         * app/preferences.c: Adding persistence for integers, reals,
967         booleans.  Fixed stupid list bug.  Test persistence for prefs.
969 2004-03-30  Lars Clausen  <lars@raeder.dk>
971         * app/recent_files.c: 
972         Debugging of deallocation.
973         
974         * lib/widgets.c: 
975         Font menu now uses persistence.  Ordering needs fixing, or it must
976         be sorted.
978         * lib/libdia.def: 
979         * lib/Makefile.am (libdia_la_SOURCES): 
980         * app/Makefile.am (dia_core_files): 
981         * app/persistence.[ch]: 
982         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
983         number of fixes, including multiple entries now being read
984         properly.  Still some oddity about the persistent list having the
985         role as first entry (which makes the font menu crash after a few
986         iterations). 
988 2004-03-26  Lars Clausen  <lars@raeder.dk>
990         * app/persistence.c:
991         * app/recent_files.[ch]: Redoing the recent-files list using
992         persistence, reducing code by about 50%.  Still a problem when
993         selecting an item from the menu -- possibly it doesn't like the
994         menu being destroyed while in the callback?
996 2004-03-25  Lars Clausen  <lars@raeder.dk>
998         * app/persistence.c (persistence_load_string): Missing semicolon?!?
1000 2004-03-24  Lars Clausen  <lars@raeder.dk>
1002         * RELEASE-PROCESS: 
1004         * app/persistence.[ch]: 
1005         * app/paginate_psprint.c (diagram_print_ps): New type of data can
1006         be stored persistently:  Strings.  Only the printer command/file
1007         go in here now, but things like creator, organization, diagram
1008         comments etc could also be handled this way.
1010         * objects/standard/beziergon.c (beziergon_draw): Avoid control
1011         lines when the object is not selected.
1013 2004-03-23  Lars Clausen  <lars@raeder.dk>
1015         * lib/connectionpoint.h: 
1016         * app/load_save.c: Allow connection points to have names, and
1017         handle that in load/store.
1019         * lib/dialibartrenderer.c: Better highlighting for text.
1021         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
1022         * lib/diagdkrenderer.c: Better highlighting for all, using same
1023         principles as libart highlighter.
1025 2004-03-22  Lars Clausen  <lars@raeder.dk>
1027         * lib/dialibartrenderer.[ch]: 
1028         * lib/diagdkrenderer.c: 
1029         * lib/object.h: 
1030         * app/object_ops.c:
1031         * app/diagram.[ch]:
1032         * app/display.[ch]:
1033         * app/Makefile.am: 
1034         * app/modify_tool.c: 
1035         * app/create_object.c: 
1036         * app/highlight.[ch]: 
1037         Added simple object highlighting.  In GDK rendering, highlights
1038         the bbox, in libart highlights the outline of the object (except
1039         for texts).
1041 2004-03-22  Lars Clausen  <lars@raeder.dk>
1043         * RELEASE-PROCESS: Added info on how to do a branch for
1044         development during release process.
1046 2004-03-20  Lars Clausen  <lars@raeder.dk>
1048         * RELEASE-PROCESS: Mention PATCH keyword in release process.
1050 2004-03-19  Lars Clausen  <lars@raeder.dk>
1052         * xmldocs.make: Fixed apparent uninstall error.
1054         * config.h.win32: 
1055         * doc/en/dia-manual.xml: 
1056         * doc/pl/dia-manual.xml: 
1057         * dia.spec: 
1058         * configure.in: 
1059         * NEWS: Version 0.93-pre1.
1061         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
1062         borelli):  Remove some deprecated stuff.
1064 2004-03-18  Lars Clausen  <lars@raeder.dk>
1066         * Makefile.am: Try better uninstall thing for scrollkeeper.
1068         * objects/ER/entity.c: 
1069         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
1070         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
1071         1, 1 exactly, as well as associative ER entities.
1073 2004-03-17  Lars Clausen  <lars@raeder.dk>
1075         * Makefile.am: Make distcheck not complain about scrollkeeper
1076         problems (as per advice from James Henstridge).
1078         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
1079         standard installation.
1081         * objects/standard/ellipse.c: Better strings for object menu.
1083         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
1084         of dialogs (shame on you, glade!)
1086         * objects/custom/custom_object.c (custom_setup_properties):
1087         Removed debugging output
1089         * app/paginate_psprint.c (diagram_print_ps): Slightly more
1090         readable printer error messages.
1092         * xmldocs.make: 
1093         * omf.make: 
1094         * doc/en/Makefile.am: 
1095         * doc/pl/Makefile.am: 
1096         New more standard way to install the XML-based manuals.  
1098 2004-03-15  Lars Clausen  <lars@raeder.dk>
1100         * objects/standard/box.c (box_move_handle): More intuitive fixed
1101         aspect behaviour.
1103         * objects/standard/ellipse.c: 
1104         * objects/standard/box.c: 
1106         * lib/widgets.[ch]:
1107         * app/layer_dialog.[ch]:
1108         Patch from Steve Langasek <vorlon@debian.org>:
1109         Fixes startup crash on Alpha (bug #137169)
1110         
1111         * objects/standard/box.c: Aspect fixing like ellipses.
1113         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
1115         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
1116         pixmaps, now can uninstall properly.
1118         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
1119         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
1120         #93940. 
1121         Added object menu access.
1123 2004-03-07  Hans Breuer  <hans@breuer.org>
1125         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
1126         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
1127         would not use deprecated apis, but it's much simpler this way)
1129         * lib/makefile.msc : build the above new widgets and render_pixmap
1130         * lib/libdia.def app/dia.def app/makefile.msc : updated
1132         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
1133         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
1134         Previously it gave :
1135         disp_callbacks.c(188) : error C2059: syntax error : '}'
1136         disp_callbacks.c(191) : warning C4034: sizeof returns 0
1138         * app/interface.c : #include "dialinechooser.h"
1140         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
1141         [one more reason not to use it here : it's quite slow compared to
1142          the native win32 font renderer ;]
1144         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
1145         a GtkDialog*, removed unneeded cast
1147         * app/render_eps.c : avoid assignment warning for void* user_data
1148         not being an int 
1150 2004-03-06  Steffen Macke sdteffen@web.de>
1152         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
1153         shapes
1155 2004-03-06  Lars Clausen  <lars@raeder.dk>
1157         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
1158         0.5, as per poll.
1160         * lib/font.c: Simple cleanup system for layout cache removes any
1161         layout that hasn't been used for 10 minutes, but only during idle
1162         time. 
1164 2004-03-05  Lars Clausen  <lars@raeder.dk>
1166         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
1167         (lluis padro) (#130887): Extended Electric shapes with vertical
1168         versions. 
1170         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
1171         start with "Create a" or "A", always capitalize first word).
1173         * objects/standard/ellipse.c: Patch from Grégoire Dooms
1174         <dooms@info.ucl.ac.be>: Add extra connection point in center of
1175         ellipse.  Additionally added a handle in the center, and resize is
1176         now around the center.
1178         * configure.in: 
1179         * sheets/Makefile.am (SUBDIRS): 
1180         * sheets/IsometricMap.sheet.in: 
1181         * shapes/Map/Isometric/*
1182         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
1184 2004-03-04  Lars Clausen  <lars@raeder.dk>
1186         * lib/Makefile.am: 
1187         * lib/pixmaps/Makefile.am: 
1188         * configure.in: 
1189         Better installation handling of pixmaps.
1190         
1191         * lib/diagdkrenderer.c: 
1192         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
1193         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
1194         Constness fixes.
1196 2004-03-03  Lars Clausen  <lars@raeder.dk>
1198         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
1199         * lib/diagdkrenderer.c: 
1200         * lib/diasvgrenderer.c:
1201         * lib/dialibartrenderer.c:
1202         * lib/diainteractiverenderer.c: 
1203         * lib/prop_text.c (multistringprop_handle_key): 
1204         * lib/dia_dirs.c: 
1205         * lib/dia_image.c (dia_image_rgba_data): 
1206         * lib/widgets.c: 
1207         * lib/diagramdata.c (layer_set_object_list): 
1208         * lib/font.h: 
1209         * lib/font.c: 
1210         Getting rid of compile warnings.
1212         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
1213         images.  Also remove unused decls.
1215 2004-03-02  Lars Clausen  <lars@raeder.dk>
1217         * lib/widgets.h: 
1218         * lib/widgets.c (dia_size_selector_init): Add images to the size
1219         selector chain widget.  Also new function to load installed images
1220         from files (better than from included XPM, IMHO).
1222 2004-03-02  Lars Clausen  <lars@raeder.dk>
1224         * lib/libdia.def: 
1225         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
1226         size selector.
1228         * lib/Makefile.am: 
1229         * lib/widgets.c (dia_size_selector_init): Work
1230         on getting proper icon onto the size selector.  Need simple image
1231         load mechanism in utils.
1233         * lib/text.c: 
1234         * app/display.[ch]:
1235         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
1236         strings, handle utf8 strlen properly.  Bug #135930.
1238 2004-03-01  Lars Clausen  <lars@raeder.dk>
1240         * shapes/Cybernetics/*:
1241         * sheets/Cybernetics.sheet.in:
1242         * sheets/Makefile.am:
1243         * shapes/Makefile.am: 
1244         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
1245         Roggendorf): Cybernetic shapes (#95553).
1247 2004-03-01  Lars Clausen  <lars@raeder.dk>
1249         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
1251         * lib/diatypes.h: New type DiaSizeSelector.
1253         * lib/widgets.[ch]: New size selector widgets that selects two
1254         values (width and height, nominally) optionally linked to keep
1255         aspect ratio.
1257 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
1259         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
1260         in front of file. Bug #128600.
1262         * app/Makefile.am:
1263         * app/interface.h:
1264         * app/lineprops_area.[ch]:
1265         * lib/Makefile.am:
1266         * lib/dialinechooser.[ch]:
1267         * lib/widgets.c (dia_line_style_selector_init): use line preview 
1268         instead of text labels. This involve moving away line_chooser to lib
1269         from app.
1271         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
1272         symbol conflicts.
1274         * app/Makefile.am (dia_core_files): 
1275         * app/interface.c (create_lineprops_area):
1276         * app/render_pixmap.[ch]:
1277         * lib/Makefile.am:
1278         * lib/diaarrowchooser.[ch]:
1279         * lib/libdia.def:
1280         * lib/prop_attr.c:
1281         * lib/propdialogs.c:
1282         * lib/render_pixmap.[ch]:
1283         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
1284         of text labels. This involve moving away arrow_chooser to lib from
1285         app.
1287 2004-02-29  Lars Clausen  <lars@raeder.dk>
1289         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
1290         being updated half-way through destruction.  To be removed when
1291         the lists are replaced by something better.
1293         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
1294         Accelerators for class dialog.  Bug #130995.
1295         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
1297         * app/dia-props.c:
1298         * app/preferences.c:
1299         * lib/properties.c:
1300         * objects/GRAFCET/step.c:
1301         * objects/Misc/analog_clock.c:
1302         * objects/chronogram/chronoline.c:
1303         * objects/chronogram/chronoref.c:
1304         Change to american spelling (color, not colour) to ease
1305         translators job.  Note that a number of translations may need an
1306         update now.  Bug #120466.
1308 2004-02-29  Lars Clausen  <lars@raeder.dk>
1310         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
1311         Better arrow handling for missing arrows.
1313         * plug-ins/metapost/render_metapost.[ch]: Patch from
1314         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
1315         size. See bug #135363.
1317         * app/app_procs.c (app_init): If non-interactive, or if
1318         --log-to-stderr used, send all messages to stderr.  This should
1319         mean that old diaconv == dia --export-to-format=FOO BAR
1321 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
1323         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
1325 2004-02-28  Lars Clausen  <lars@raeder.dk>
1327         * lib/text.c (text_key_event): Patch from Kouhei Sutou
1328         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
1330 2004-02-27  Lars Clausen  <lars@raeder.dk>
1332         * KNOWN_BUGS: Added info on most commonly reported bugs, with
1333         BugZilla numbers.
1334         
1335         * app/disp_callbacks.c (popup_object_menu): Unified properties
1336         entry, fixes bug #105080.
1338         * app/diagram.c (diagram_update_menu_sensitivity): 
1339         * app/menus.h (struct _UpdatableMenuItems): 
1340         * app/menus.c (menus_initialize_updatable_items): Menu items
1341         changed around, align menus flattened, properties entry ghosted,
1342         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
1343         #117495, #135125.
1344         Also taking out Gnome menus for now.  They don't allow shortcuts,
1345         so what are they good for?
1347 2004-02-27  Lars Clausen  <lars@raeder.dk>
1349         * app/menus.c (display_menu_items): 
1350         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
1351         (bug #95546).
1353 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
1355         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
1357 2004-02-23  Lars Clausen  <lars@raeder.dk>
1359         * app/app_procs.c (app_init): Comments for translators.
1361 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
1363         * app/preferences.c (prefs_create_dialog): Change packing policy
1364         for widget to expand.
1366         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
1367         running with a debugger.
1369 2004-02-19  Lars Clausen  <lars@raeder.dk>
1371         * app/undo.[ch]: Adding last-saved information to undo to allow a
1372         diagram with all changes since last save undo to be marked as
1373         nonmodified.  Still needs integration with actual undo
1374         apply/revert calls.
1376         * app/diagram.h: 
1377         * app/diagram_tree.c (diagram_tree_update): 
1378         * app/diagram.c: 
1379         * app/display.c (update_modified_status): 
1380         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
1381         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
1382         test. 
1384         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
1385         vs. EPSI, comment out EPSI until preview is in there.
1387         * lib/render.c: 
1388         * lib/diarenderer.c: Removing debugging printfs.
1390         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
1391         (with preview)
1393         * objects/standard/arc.c (arc_update_handles): Check to avoid
1394         crash when start and end points are the same.
1396 2004-02-19  Lars Clausen  <lars@raeder.dk>
1398         * objects/standard/bezier.c: 
1399         * objects/standard/line.c (line_load): 
1400         * objects/standard/polyline.c (polyline_load): 
1401         * objects/standard/zigzagline.c (zigzagline_load): 
1402         * objects/standard/arc.c (arc_load): 
1403         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
1404         instead of hardcoding.
1406 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
1408         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
1409         display properties.
1411 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
1413         * app/app_procs.c: declare rc properly with the proper #ifdef
1415 2004-02-17  Lars Clausen  <lars@raeder.dk>
1417         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
1418         objects (which seemingly FIG itself breaks, or else there is no
1419         ordering).
1421 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1423         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
1424         width renderable in xfig.  Helps on bug #133637, but does not
1425         quite fix it -- something about depth is wrong.
1427         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
1428         Extern definitions for Mac compilation.
1430         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
1431         (jdassen@debian.org): Include fix.
1433         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
1434         sure the initial diagram size is correct.
1436 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
1438         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
1439         CPPFLAGS, as per automake warning.
1440         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
1441         LDFLAGS, as per automake warning.
1442         (run_dia.sh): More robust creation, and more easily moved.
1444         * app/undo.c (group_objects_revert): Don't double-free the objects
1445         list.  (#129221) Call object_add_updates on grouped objects.
1446         (ungroup_objects_revert): Call object_add_updates on grouped objects.
1448         * lib/diagramdata.c: Internal
1449         documentation. 
1451         * lib/polyshape.c (polyshape_update_data): Correctly calculate
1452         directions for polyshape corners (thanks, Valgrind!)
1454         * lib/attributes.c: 
1455         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
1457         * lib/arrows.h: Default arrow size defined.  After all are using
1458         this, may lower to 0.4 or so.
1460         * app/lineprops_area.[ch]: New function to set the arrow type for an
1461         arrow chooser.
1463         * app/interface.c (create_lineprops_area): Set default line to
1464         have an arrow (fairly likely to be what's wanted, plus it shows
1465         the user where arrows are set).
1467         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
1469 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1471         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
1472         Dotted lines should use dot_length, not dash_length.
1474 2004-02-06  Hans Breuer  <hans@breuer.org>
1476         * app/interface.c : don't use gtk_drawing_area_size() to avoid
1477         the defaut size being also the minimum size. Instead use
1478         gtk_window_set_default_size() on the display shell. Fixes #130982.
1480         [fixing #131210, but umlauts in the 'main' filename still not really 
1481          supported on systems where filesystem encoding != utf8
1482         (Problems with recent file menu and window title)]
1483         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
1484         to deal with possible differnces in filename encodings, see
1485         g_filename_<to|from>_utf8()
1486         * objects/standard/image.c : use them.
1488         * lib/widgets.c : handle possible encoding difference here, too.
1489         Also get rid of most warnings by using const and GTK casts where 
1490         appropriate; one wrong cast (probably causing a crash) was found/fixed 
1491         by this - the remaining give a hint on finally leaking FontSelectorEntry.
1493         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
1494         dia_file_selector_<get|set>_file to behave like the respective Gtk 
1495         functions do : encoding- and const-wise ;-)
1497 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
1499         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1501 2004-01-19  Hans Breuer  <hans@breuer.org>
1503         * app/app_procs.c app/diaconv : 
1504         only call bind_textdomain_codeset when available, what's good 
1505         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
1506         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
1508 2004-01-19  Steffen Macke <sdteffen@web.de>
1510         * makefile.msc: updated for new GAIM-like installer build; sync'ed
1511         ALL_LINGUAS with configure.in
1513 2004-01-18  Hans Breuer  <hans@breuer.org>
1515         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
1516         by not passing NULL to g_print()
1518         * app/interface.c (create_toolbox) : actually use
1519         persitence_register_window() to restore toolbox window size
1521         * app/makefile.msc lib/makefile.msc : allow to deselect
1522         building with Freetype by command line to nmake like :
1523                 nmake -f makefile.msc "NOFT2=1"
1525         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
1526         far as possible with Dia's limited line style
1527         * plug-ins/python/pydia-property.c : allow to get and set
1528         Linestyle, style and dash(length)
1530         * lib/object.h : removed typedef for ObjectId not use anywhere
1532 2004-01-17  Hans Breuer  <hans@breuer.org>
1534         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
1535           doc/shape.dtd doc/custom-shapes : 
1536         support for images in custom shapes, also removed some long-time
1537         dead code
1539         * doc/en/*.xml : fixed crippled line ends which get created
1540         when windoze line ends are checkin from the unix side
1542 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
1544         * configure.in: Added "sq" to ALL_LINGUAS.
1546 2004-01-11  Hans Breuer  <hans@breuer.org>
1548         [more less leaks ;-]
1549         
1550         * objects/SADT/annotation.c : use text_destroy() not g_free()
1551         
1552         * objects/chronogram/chronoline.c : neither leak chronoline::events
1553         nor chronoline::name
1555         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
1557 2004-01-11  Hans Breuer  <hans@breuer.org>
1559         * lib/properties.h :
1560         * objects/custom/custom_object.c : more properties optional
1561         to be backward compatible for older diagrams not having them 
1562         set. (Try to load samples/all_objects.dia)
1563         
1564         [less memory leaks thanks valgrind ;-]
1565         
1566         * app/recent_files.c (recent_file_history_write) : 
1567         g_free(history_filename);
1568         (recent_file_menu_item) : use g_path_get_basename() 
1569         which already strdups, free result of g_strescape()
1570         
1571         * app/filedlg.c (create_export_menu) : return of
1572         filter_get_export_filter_label() must be g_free()'d
1573         (create_open_menu) : same for import
1574         
1575         * app/export_png.c (export_png_ok) : destroy info ptr
1576         with png_destroy_write_struct()
1577         
1578         * app/app_procs.c (app_init) : g_free(export_format_string);
1579         
1580         * lib/font.c (dia_font_finalize) : finalize parent_class, too
1581         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
1582         refing it a second time, g_type_create_from_instance() is enough
1583         
1584         * lib/object_defaults.c (_obj_store) : don't mess with names
1585         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
1586         
1587 2004-01-11  Steffen Macke <sdteffen@web.de>
1589         * app/diapsftrenderer.c: including ftoutln.h
1590         * app/makefile.msc: updated for freetype build
1591         * lib/libdia.def: added dia_font_get_context()
1592         * lib/dialibartrenderer.c (draw_string): added cast
1593         
1594 2004-01-10  Hans Breuer  <hans@breuer.org>
1596         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
1597         transformed coordinates, fixes bug 130804
1599 2004-01-10  Hans Breuer  <hans@breuer.org>
1601         * app/filedlg.c app/app_procs.c : don't try to destroy 
1602         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
1603         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
1604         returns. Fixes 'has no handler' bugs like #121019
1606 2004-01-10  Hans Breuer  <hans@breuer.org>
1608         * objects/UML/class.c objects/UML/class_dialog.c : 
1609         handle umlclass->name being empty to avoid, i.e. fix #127968
1611         [plugging memleaks, thanks valgrind :-]
1612         
1613         * lib/dia_xml.c (data_string) : don't leak return value
1614         of xmlNodeListGetString()
1615         
1616         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
1617         before returning, maybe alloca() would be the better 
1618         choice but anyway ;)
1620         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
1621         
1622         * lib/font.c (dia_font_build_layout) : don't leak result
1623         of g_utf8_strdown()
1624         
1625         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
1626         (this is the one which got me started using valgrind, see #130816)
1627         
1628 2004-01-07  Sanlig Badral  <badral@openmn.org>
1630         * configure.in: Added "mn" to ALL_LINGUAS.
1632 2004-01-04  Hans Breuer  <hans@breuer.org>
1634         * lib/diagdkrenderer.c : replace rendering of really small (height
1635         less than 2 pixels) with a simple dashed line, you wont notice the 
1636         differnce beside it being much faster. This allows ...
1637         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
1638         * app/navigation.c : ... and lets you see an read rendered text even 
1639         in the nice navigation popup.
1641         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
1642         (draw_string) : don't leak temporary image
1644 2004-01-04  Hans Breuer  <hans@breuer.org>
1646         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
1647         * app/interface.c : use dia-app-icons.h to give Dia window icons
1649         * lib/dia_image.c lib/color.c : _never_ call functions implemented
1650         in app/ from lib/. It is not portable and broken from design
1651         * app/app_procs.c : call color_init() and dia_image_init() conditional,
1652         i.e. only if running interactive.
1654         * lib/font.h : #include <time.h>
1656         * lib/libdia.def : updated externals
1658         * objects/UML/actor.c 
1659             objects/UML/association.c (todo)
1660           objects/UML/branch.c
1661           objects/UML/class.[hc] objects/UML/class_dialog.c
1662           objects/UML/classicon.c
1663           objects/UML/component.c 
1664           objects/UML/constraint.c
1665           objects/UML/dependency.c
1666           objects/UML/generalization.c
1667           objects/UML/implements.c
1668           objects/UML/large_package.c
1669           objects/UML/lifeline.c
1670           objects/UML/message.c
1671           objects/UML/node.c
1672           objects/UML/object.c
1673           objects/UML/realizes.c
1674           objects/UML/small_package.c
1675           objects/UML/state.c
1676           objects/UML/usecase.c
1677           objects/UML/
1678         : ported coloring of most UML objects (bug #97517, orginal
1679           work Mathias Hasselmann)
1681         * lib/properties.h : add _OPTIONAL variants for 
1682         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
1683         i.e. default colored - UML diagrams without complaining
1684         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
1685         not set properties with the help of PXP_NOTSET. Otherwise 
1686         optional attributes would lead to wrong initialization. 
1688         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
1689         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
1690         Same for most other selectors which probably should be rewritten
1691         to the combo box with tree model from Gtk+ 2.4
1693 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
1695         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
1696         being the Right Thing(tm) to use on Solaris.
1698         * objects/standard/bezier.c (bezierline_draw): Don't draw
1699         guidelines if not selected.
1701         * lib/object.[ch] (dia_object_is_selected): Function to check whether
1702         a given object is selected. O(n), where n is # selected objects.
1703         
1705 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
1707         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
1708         Fonts dialog is closed without pressing Ok (bug #128646).
1710 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1712         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
1713         #130099). 
1715 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1717         * INSTALL: Updated list of requirements (bug #129653)
1719         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
1720         Pionchon <luc@handhelds.org>.
1722 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1724         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
1725         empty or NULL strings (bug #130097).
1727 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
1728         
1729         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
1730         Added checks against color_black.
1732 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1734         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
1735         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
1736         can happen.
1738         * objects/UML/component_feature.c: Patch from W. Borgert
1739         <debacle@debian.org>:  Add handle to component feature text.
1741         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
1743         * lib/font.c: Caching PangoLayout for better rendering speed.
1745 2003-12-30  Lars Clausen  <lars@raeder.dk>
1747         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
1748         get absolute file name from relative.
1749         * app/recent_files.c (recent_file_history_add): Use absolute
1750         filenames for recent files menu so that files can be found when
1751         Dia is invoked from other places.  
1753         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
1754         Actually load different diagrams if such are requested on command
1755         line.  
1757         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
1758         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
1760         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
1761         remove text rendering.  May be turned into greeking at some later
1762         stage.
1764         * app/interface.c: 
1765         * app/Makefile.am (dia_core_files): 
1766         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
1767         Adds navigation window a la Gimp, though without text being
1768         rendered at all.
1770 2003-12-27  Luc Pionchon <luc@handhelds.org>
1772         * app/navigation.h: (new file)
1773         * app/navigation.c: (new file) creates a navigation window with a
1774         thumbnail view of the whole diagram.
1775         * app/Makefile.am (dia_core_files): added new files.
1777         * app/interface.c (create_display_shell): added a button between
1778         the scrollbars to popup a navigation window.
1780         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
1781         boolean
1782         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
1783         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
1784         not want text rendering.        
1786 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1788         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
1790         * objects/custom/shape_info.[ch]: Cleanup.
1792         * objects/custom/custom_object.[ch]: Changed to use new props
1793         interface.
1795         * lib/properties.h: 
1796         * lib/prop_text.c: 
1797         * lib/prop_inttypes.c: 
1798         * lib/prop_geomtypes.c: Added *prop_get_data_size.
1800         * lib/libdia.def: Added object_load_props.
1802         * configure.in: Better FT2 version test, from bug #129225.
1804         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
1806         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
1807         Lehmann <holger.lehmann@catworkx.de>.
1809         * plug-ins/xslt/Makefile.am: 
1810         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
1811         and OWL XSLT sheets.
1813 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
1815         * lib/diagdkrenderer.c: Add implementation so text is still
1816         rendered.  May be improved later.
1818         * lib/dia_image.c: 
1819         * app/main.c: 
1820         * app/export_png.c: 
1821         * app/diagram.c: 
1822         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
1823         Allow running without a $DISPLAY!
1825         * lib/color.c: Remove warnings for non-interactive run.
1827         * doc/en/dia.dbk: 
1828         * app/export_png.c: 
1829         * app/diaconv.c: 
1830         * app/app_procs.[ch]: 
1831         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
1832         to specify size for PNG output.
1834         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
1835         render a little smaller, so as to fit the big ones.
1837         * lib/arrows.[ch]: New arrow type from W. Borgert
1838         <debacle@debian.org>: Filled Dot and Triangle.
1840 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1842         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
1843         for gif images.
1845         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
1847         * acinclude.m4: Better Python configure code patch (can't find
1848         author, author please speak up!)
1850 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1852         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
1853         smarter ones.
1855 2003-11-30  Hans Breuer  <hans@breuer.org>
1857         * plug-ins/python/diasvg.py : initialize self.dash_length
1858         in constructor to avoid crashing if the renderer user
1859         does not set it before first usage.
1861 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
1863         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
1864         active yet.
1866         * configure.in: 
1867         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
1868         development and stable versions.
1870         * lib/text.c (text_draw): Use new renderer function to draw the
1871         text.
1873         * lib/diarenderer.h: 
1874         * lib/diarenderer.c: New renderer function "draw_text" with
1875         default implementation.  This function should eventually be the
1876         main interface, as it will be able to handle width and caching of
1877         rendering internally.  All users of draw_string should convert to
1878         use Text objects and call either renderer->draw_text or text_draw,
1879         the latter if the text can be edited in-place (as should be the
1880         goal, eventually).
1882 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
1884         * shapes/Circuit/hresistor.shape: First example of extra
1885         attributes. 
1887 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
1889         * plug-ins/shape/shape-export.c: 
1890         * lib/diasvgrenderer.h: 
1891         * lib/diasvgrenderer.c: 
1892         * plug-ins/svg/render_svg.c (new_svg_renderer): 
1893         Actually store the font size, using DiaRenderer's font fields.
1895 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
1897         * objects/custom/shape_info.[ch]: 
1898         * objects/custom/custom_object.[ch]: 
1899         Support for extra attributes in custom objects.
1900         
1901 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
1903         * app/diagram.c (diagram_update_menu_sensitivity): More
1904         intelligent checks for menu sensitivity.  Might be slow on huge
1905         diagrams, but I think other things outweigh it by a lot.
1907         * app/menus.[ch]: Make "Bring Forwards"
1908         and "Send Backwards" updateable.
1910 2003-11-22  Steffen Macke <sdteffen@web.de>
1912         * shapes/Assorted/arrow-turn-up.shape:
1913         * shapes/Assorted/arrow-turn-up.png:
1914         * sheets/Assorted/Makefile.am:
1915         * sheets/Assorted.sheet.in: Added new arrow
1917 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
1919         * app/app_procs.c
1920         * app/color_area.c
1921         * app/commands.c
1922         * app/defaults.c
1923         * app/dia_embedd.c
1924         * app/diagram.c
1925         * app/diagram_tree.c
1926         * app/diagram_tree_menu.c
1927         * app/diagram_tree_window.c
1928         * app/diapagelayout.c
1929         * app/diaunitspinner.c
1930         * app/export_png.c
1931         * app/filedlg.c
1932         * app/interface.c
1933         * app/layer_dialog.c
1934         * app/lineprops_area.c
1935         * app/linewidth_area.c
1936         * app/menus.c
1937         * app/pagesetup.c
1938         * app/paginate_psprint.c
1939         * app/persistence.c
1940         * app/plugin-manager.c
1941         * app/preferences.c
1942         * app/properties.c
1943         * app/recent_files.c
1944         * app/sheets.c
1945         * app/sheets_dialog.c
1946         * app/sheets_dialog_callbacks.c
1947         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
1948         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
1950         * TODO: Updated, note on EPS transparency.
1952 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
1954         * objects/UML/class.c (umlclass_draw): Allow classes with no name
1955         without crashing.
1957 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1959         * config.h.win32: 
1960         * doc/en/dia-manual.xml: 
1961         * dia.spec: 
1962         * configure.in: 
1963         * NEWS: Another Brown Bag release for parenting problems,
1964         including a crash bug fix.
1966         * app/connectionpoint_ops.c (diagram_update_connections_object):
1967         Also update connections when moving children.  This can cause
1968         move_handle to be called twice, so it must be idempotent.
1970         * app/load_save.c: Loading and saving of children totally redone.
1971         Now doesn't violate assumption that all objects in a layer are
1972         placed in order in XML file.
1974         * objects/UML/branch.c (branch_create): Don't lie about being
1975         resizable. 
1977         * objects/UML/node.c (node_create): 
1978         * objects/UML/large_package.c (largepackage_create): Drag with
1979         lower right-hand handle at creation like all other objects.
1981 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
1983         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
1984         parenting drop to behave like a move inside, i.e. constrain place
1985         instead of trying to resize.  'Cause, resizing cannot be done for
1986         all objects (e.g. UML Class). Also simplified the algorithm a lot
1987         at the same time.
1989         * app/load_save.c: Saving and loading of connection points for
1990         children added.  Prototypes for static functions added.
1992         * lib/dynamic_obj.c: Removed debugging output.
1994 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1996         * doc/en/dia-manual.xml: 
1997         * doc/pl/dia-manual.sgml: 
1998         * dia.spec: 
1999         * config.h.win32: 
2000         * configure.in: 
2001         * NEWS: Brown Bag release 0.92.1
2003         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
2005 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2007         * app/app_procs.c (app_init): Rearrangement for translators.
2009 2003-10-24  Steffen Macke <sdteffen@web.de>
2011         * lib/text.c(text_key_event): enforcing the inserted text length now,
2012         fix for bug #125348
2014 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2016         * MAINTAINERS: Change Debian maintainer to be the default address.
2018         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
2019         args to match prototype, thus removing crashbug #125159.
2021         * RELEASE-PROCESS: Note to self.
2023 2003-10-22  Steffen Macke <sdteffen@web.de>
2025         * doc/en/dia-manual.xml: removed superfluous external references
2026         
2027 2003-10-21  Steffen Macke <sdteffen@web.de>
2029         * lib/libdia.def: added filter_get_by_name
2030         * app/render_eps.c: moved extensions definition outside #ifdef
2032 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2034         * Makefile.am: 
2035         * dia.1:
2036         Removed old Dia manual, put new one in doc/en/.  Translations
2037         should go in doc/??/.
2039         * doc/en/dia-manual.xml: 
2040         * doc/pl/dia-manual.sgml: 
2041         * dia.spec (Release): 
2042         * config.h.win32: 
2043         * configure.in: 
2044         * NEWS: 0.92 is here!
2046         * doc/en/dia.dbk: 
2047         * doc/en/dia.1: 
2048         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
2049         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
2050         but it shall be.
2052         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
2054         * doc/en/usage-objects-selecting.xml: Commented out empty note.
2056 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2058         * doc/pl/dia-manual.sgml: 
2059         * doc/en/dia-manual.xml: 
2060         * config.h.win32: 
2061         * NEWS: 
2062         * configure.in: 
2063         * dia.spec (Release): Pre7.
2065         * app/diapsrenderer.c (draw_string): Convert string to print based
2066         on current locale.  If conversion fails, fall back to UTF-8 (which
2067         is almost certain to be messy).
2069 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2071         * doc/pl/dia-manual.sgml: 
2072         * dia.spec (Release): 
2073         * configure.in: 
2074         * NEWS: 
2075         * config.h.win32: 
2076         * doc/en/dia-manual.xml: Pre6.
2078         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
2079         TeX chars in strings -- must be possible to use TeX text in there.
2080         Also avoids infinite loop bug (#124464) Will get option for this
2081         later.
2083 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2085         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
2087         * doc/en/dia-manual.xml: 
2088         * doc/pl/dia-manual.sgml: 
2089         * dia.spec (Release): 
2090         * configure.in: 
2091         * config.h.win32: 
2092         * NEWS: pre5.
2094         * app/authors.h: Removed duplicate of M. C. Nelson.
2096         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
2098         * app/export_png.c: Unique name for libart PNG export: png-libart.
2100         * app/render_eps.c: Unique names for the two eps export methods:
2101         eps-builtin, eps-pango.
2103         * lib/filter.h: Binary compatibility change: 
2104         Added unique name to export filters.  Can be NULL.
2105         * lib/filter.c (filter_get_by_name): Finding a filter by
2106         non-extension name.
2108         * app/app_procs.h: Changed prototype for do_convert.
2109         * app/app_procs.c (app_init): Support for non-extension file
2110         format selection for export.  Also allow extension to differ from
2111         that specified by the filters.  A bit of refactoring, too.
2113 2003-09-28  Steffen Macke <sdteffen@web.de>
2115         * makefile.msc: added target po to update the translations
2117 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2119         * config.h.win32: 
2120         * dia.spec (Release): 
2121         * NEWS: 
2122         * doc/pl/dia-manual.sgml: 
2123         * doc/en/dia-manual.xml: 
2124         Pre4 is given a short try.
2125         
2126         * configure.in: Give all necessary libs to PNG test.
2128         * lib/font.c: Added legacy entries for sans, serif and monospace.
2130         * app/app_procs.c (internal_plugin_init): 
2131         * app/render_eps.h: 
2132         * app/render_eps.c: 
2133         Added PS fonts output for Unix.
2135         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
2136         factor to make PS fonts stay in boxes.
2137         
2138 2003-08-03  Hans Breuer  <hans@breuer.org>
2140         * config.h.win32 : close the version string
2142         * lib/libdia.def : with color_white, color_black being static
2143         on win32 they can not be exported anymore either
2145         * lib/dialibartrenderer.c : text rendering is back on win32,
2146         only by Gdk though; almost a year seems to be enough to
2147         wait for my patch at bug #94791 to be accepted ...
2149 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2151         * shapes/network/{digitizing_board.png,plotter.png,
2152         laptop.png,telephone.png}: 22x22 icons.
2154 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2156         * doc/pl/dia-manual.sgml: 
2157         * doc/en/dia-manual.xml: 
2158         * dia.spec (Release): 
2159         * configure.in: 
2160         * config.h.win32: 
2161         * NEWS: 
2162         pre3 improves font rendering speed.
2164         * app/app_procs.c (app_init): Don't do pango init here, it's done
2165         on demand in font.c now.
2167         * lib/font.c: Load pango context on demand rather than during
2168         init/all the time strikes a better balance between working font
2169         size and speed.  Still need to cache width calculations.
2171 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
2173         * lib/dia_xml.c: Enable pretty printing.  Should have been added
2174         on 8/12. 
2176 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2178         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
2179         adjustment a bit for half diamond and open round.
2181         * RELEASE-PROCESS: Added note about notifying translators and
2182         maintainers. 
2184         * doc/pl/dia-manual.sgml: 
2185         * doc/en/dia-manual.xml: 
2186         * dia.spec (Release): 
2187         * configure.in: 
2188         * config.h.win32: 
2189         * NEWS:
2190         Update to 0.92-pre2.
2191         
2192 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
2194         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
2195         calculation for half diamond and open round.
2197         * lib/arrows.c: 
2198         * objects/UML/component_feature.c: 
2199         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
2200         arrows instead of specific little hacks.  Much nicer, but damn
2201         there's a lot of arrows.
2203         * lib/dialibartrenderer.c (begin_render): 
2204         * app/render_libart.c (begin_render): Use correct DPI for screen
2205         (well, actually the default DPI of 75 for now).
2207         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
2209         * lib/diagdkrenderer.c (draw_string): Some reformatting.
2211         * app/app_procs.c (app_init): Note on what should be done for the
2212         pango context now, only it doesn't work:(
2214         * lib/font.c (dia_font_new): Make sure to load fonts that are
2215         used, using a reasonable pango_context.  Also a comment on the
2216         global_zoom_factor, 
2218 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
2220         * doc/pl/graphics/*.png:
2221         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
2222         loop (bug #121817).  PL translator may want to change the
2223         home_network png to be in Polish.  If the docs get translated into
2224         more languages, we'll want to find out how to share these things.
2226 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
2228         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
2229         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
2230         splash.
2232         * app/filedlg.c (file_save_as_callback): Put filename setting
2233         together.  (Preparation for allowing default save dir.)
2235         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
2236         correctly this time:)
2238         * app/dia-props.c (diagram_properties_show): 
2239         * app/properties.c (properties_show): Make sure the
2240         dialogs are transient for the correct diagram.
2242 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2244         * configure.in: Make sure -lz -lm is passed into second png test
2245         as well (stupid AC_LINK_IFELSE can't take it as an argument).
2247         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
2248         comment-filled files readable.  Once we have a 'generic data'
2249         system, we can put comments in there.
2251 2003-09-06  Steffen Macke <sdteffen@web.de>
2253         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
2254         g_string_sized_new() instead of g_string_new() to make it compile
2255         * app/Makefile.am: including dia.ico and dia.rc in the tarball
2256         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
2257         for non-solid linestyles - otherwise custom linestyles have to be used.
2259 2003-09-02  Steffen Macke <sdteffen@web.de>
2261         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
2262         dia.chm
2264 2003-09-02  Christian Neumair  <chris@gnome-de.org>
2266         * sheets/Pneumatic.sheet.in: Slight unification fix.
2268 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
2270         * config.h.win32: 
2271         * configure.in: 
2272         * dia.spec (Release): 
2273         * doc/en/dia-manual.xml: 
2274         * doc/pl/dia-manual.sgml: 
2275         * NEWS: Update to 0.92-pre1.
2277         * app/properties.c (properties_key_event): Removing Esc/Enter
2278         handling for now, interferes to much with regular dialog usage.
2280         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
2281         Function to escape special TeX characters.  Not in use yet, as
2282         PSTricks output by default is TeX strings.  Should get a save-time
2283         selector. 
2285 2008-09-01  Steffen Macke <sdteffen@web.de>
2287         * lib/paper.h: explanatory comment on width and height
2289 2003-08-30  Steffen Macke <sdteffen@web.de>
2291         * lib/color.c:
2292         * lib/color.h: made color_white, color_black static on win32
2294 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
2296         * configure.in (PNG_LIBS): Something in the png tests added an
2297         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
2299 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2301         * configure.in: Quote correctly for temporarily adding freetype
2302         cflags to CPPFLAGS.
2304         * app/preferences.c (prefs_save): Remove debugging g_print.
2306 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
2308         * objects/flowchart/parallelogram.c (pgram_update_data):
2309         Directions for connections, better system for placing
2310         connectionpoints. 
2312 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2314         * lib/diagramdata.c (layer_find_closest_object_except): Look all
2315         the way through the object list, so the foremost object is selected.
2317         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
2318         included for diagramdata.c.
2320         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
2321         newline in multistringprop not close the dialog.  Failed so far.
2323 2003-08-25  Steffen Macke <sdteffen@web.de>
2325         * app/commands.c: using CHM instead of HTML on win32 if available
2326         * lib/diagramdata.h: including dynamic_obj.h
2328 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2330         * app/properties.c (properties_key_event): Make Enter = Ok for
2331         properties dialogs.  Still some problems with this and Esc for
2332         Cancel, for instances escaping out of a menu closes the dialog.
2334         * objects/UML/association.c (association_get_properties): 
2335         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
2336         focus. 
2338         * app/diapsft2renderer.c (draw_string): Use
2339         dia_font_scaled_build_layout to ensure similarity of text.
2341         * lib/diagramdata.c: Remove obj from dynobj list when removing
2342         from layer to avoid nasty race conditions.
2344         * app/undo.c (group_objects_revert): Make sure to unparent and
2345         remove from dynobj list when changing layers objects.
2347 2003-08-23  Steffen Macke <sdteffen@web.de>
2349         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
2350         StretchBlt(); fixes #92249
2351         
2352 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2354         * app/filedlg.c (file_save_as_callback): 
2355         * app/preferences.h: 
2356         * app/preferences.c (prefs_data): 
2357         * lib/diagramdata.h: 
2358         * lib/diagramdata.c (new_diagram_data): 
2359         * app/load_save.c (diagram_data_load): 
2360         Let the document remember whether it was compressed.  The user can
2361         still override this in the Save As... dialog, and that will still
2362         be remembered as the default for new diagrams.
2364 2003-08-23  Steffen Macke <sdteffen@web.de>
2366         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
2368 2003-08-22  Steffen Macke <sdteffen@web.de>
2370         * plug-ins/xslt/dia-uml.xsl:
2371         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
2372         table containing a list of components grouped by stereotype
2374 2003-08-21  Steffen Macke <sdteffen@web.de>
2376         * lib/makefile.msc: added connectionpoint.obj
2377         * lib/libdia.def: added connpoint_update, find_slope_directions
2378         * app/disp_callbacks.c: including scroll_tool.h
2379         * obj/makefile.msc: added component_feature.obj
2380         * app/paginate_gdiprint.c: fixed loop initialization in 
2381         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
2382         wrong
2384 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
2386         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
2387         move_handle call.
2389         * lib/diagramdata.h: Colors added to prefs.
2390         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
2391         New field for pagebreak color, which should
2392         behave the same as grid color and be settable for a diagram.
2394         * app/diagram.c (diagram_init): Update diagram pagebreak color
2395         from prefs. 
2397         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
2398         colors. 
2400         * app/preferences.[ch]: Default diagram colors now #defines, so
2401         loading can use it.  Also, colors are now in NewDiagramData, so
2402         are passed nicely into new diagrams directly from prefs.  Yum.
2404         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
2405         Support for loading and saving grid and pagebreak colors with the
2406         diagram.  I'm inclined to make all the three Colors in diagram
2407         Color*s instead, so we can tell if they're specified for the
2408         diagram or merely the default setting.  There'd be no way for the
2409         user to tell if the color of a diagram is default, though, unless
2410         we add a 'reset to default' button to prefs.
2412         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
2413         pagebreak color.  Unsensitizing grid size when dynamic.
2415         * objects/UML/component.c: Patch from Krzysztof Foltman
2416         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
2417         third.  Makes the left side connections actually be on the line
2418         (gasp!). 
2420 2003-08-20  Steffen Macke <sdteffen@web.de>
2422         * lib/libdia.def: added layer_find_closest_object_except
2423         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
2425 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
2427         * app/tool.h: 
2428         * app/tool.c: 
2429         * app/scroll_tool.c: 
2430         * app/interface.c: 
2431         * app/disp_callbacks.c: 
2432         * app/create_object.h: 
2433         * app/create_object.c: Patch from Krzysztof Foltman
2434         <kfoltman@onet.pl>: Middle button can scroll transiently when
2435         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
2436         various ways.
2438         * app/authors.h: 
2439         * sheets/UML.sheet.in: 
2440         * sheets/UML/receptacle.xpm: 
2441         * sheets/UML/Makefile.am: 
2442         * sheets/UML/eventsource.xpm: 
2443         * sheets/UML/eventsink.xpm: 
2444         * objects/UML/pixmaps/facet.xpm: 
2445         * objects/UML/uml.c (dia_plugin_init): 
2446         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
2447         * objects/UML/component_feature.c: 
2448         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
2449         event sinks.
2450         
2451 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2453         * lib/object.h: Turning some comments into doxygen style.
2455         * lib/object_defaults.c (dia_object_defaults_load)
2456         (dia_object_default_get, dia_object_default_create): 
2457         Fixing up existing documentation.
2459         * lib/object.h: Doxygen style documentation begun.
2461         * app/create_object.c: 
2462         * app/undo.c: 
2463         * app/connectionpoint_ops.c: 
2464         * app/disp_callbacks.c: 
2465         * app/modify_tool.c: 
2467         * objects/network/wanlink.c (wanlink_move_handle): 
2468         * objects/network/bus.c (bus_move_handle): 
2470         * objects/flowchart/parallelogram.c (pgram_move_handle): 
2471         * objects/flowchart/ellipse.c (ellipse_move_handle): 
2472         * objects/flowchart/diamond.c (diamond_move_handle): 
2473         * objects/flowchart/box.c (box_move_handle): 
2475         * objects/custom/custom_object.c (custom_move_handle): 
2477         * objects/chronogram/chronoref.c (chronoref_move_handle): 
2478         * objects/chronogram/chronoline.c (chronoline_move_handle): 
2480         * objects/SADT/box.c (sadtbox_move_handle): 
2481         * objects/SADT/arrow.c (sadtarrow_move_handle): 
2482         * objects/SADT/annotation.c (annotation_move_handle): 
2484         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
2486         * objects/GRAFCET/vergent.c (vergent_move_handle): 
2487         * objects/GRAFCET/vector.c (arc_move_handle): 
2488         * objects/GRAFCET/transition.c (transition_move_handle): 
2489         * objects/GRAFCET/step.c (step_move_handle): 
2490         * objects/GRAFCET/condition.c (condition_move_handle): 
2491         * objects/GRAFCET/action.c (action_move_handle): 
2493         * objects/FS/function.c: 
2494         * objects/FS/flow.c: 
2495         * objects/FS/flow-ortho.c (orthflow_move_handle): 
2496         * objects/FS/flow-poly.c (flow_move_handle): 
2498         * objects/UML/usecase.c (usecase_move_handle): 
2499         * objects/UML/state_term.c (state_move_handle): 
2500         * objects/UML/state.c (state_move_handle): 
2501         * objects/UML/small_package.c (smallpackage_move_handle): 
2502         * objects/UML/realizes.c (realizes_move_handle): 
2503         * objects/UML/object.c (objet_move_handle): 
2504         * objects/UML/note.c (note_move_handle): 
2505         * objects/UML/node.c (node_move_handle): 
2506         * objects/UML/message.c (message_move_handle): 
2507         * objects/UML/lifeline.c (lifeline_move_handle): 
2508         * objects/UML/large_package.c (largepackage_move_handle): 
2509         * objects/UML/implements.c (implements_move_handle): 
2510         * objects/UML/generalization.c (generalization_move_handle): 
2511         * objects/UML/fork.c (fork_move_handle): 
2512         * objects/UML/dependency.c (dependency_move_handle): 
2513         * objects/UML/constraint.c (constraint_move_handle): 
2514         * objects/UML/compprop.c (compprop_move_handle): 
2515         * objects/UML/component.c (component_move_handle): 
2516         * objects/UML/branch.c (branch_move_handle): 
2517         * objects/UML/association.c (association_move_handle): 
2518         * objects/UML/actor.c (actor_move_handle): 
2519         * objects/UML/activity.c (state_move_handle): 
2520         * objects/UML/class.c (umlclass_move_handle): 
2522         * objects/standard/ellipse.c (ellipse_move_handle): 
2523         * objects/standard/zigzagline.c (zigzagline_move_handle): 
2524         * objects/standard/textobj.c (textobj_move_handle): 
2525         * objects/standard/polyline.c (polyline_move_handle): 
2526         * objects/standard/polygon.c (polygon_move_handle): 
2527         * objects/standard/line.c (line_move_handle): 
2528         * objects/standard/image.c (image_move_handle): 
2529         * objects/standard/bezier.c (bezierline_move_handle): 
2530         * objects/standard/arc.c (arc_move_handle): 
2531         * objects/standard/beziergon.c (beziergon_move_handle): 
2532         * objects/standard/box.c (box_move_handle): 
2533         
2534         * objects/ER/relationship.c (relationship_move_handle): 
2535         * objects/ER/participation.c (participation_move_handle): 
2536         * objects/ER/entity.c (entity_move_handle): 
2537         * objects/ER/attribute.c (attribute_move_handle): 
2538         
2539         * lib/polyshape.c (polyshape_move_handle): 
2540         * lib/polyshape.h: 
2541         * lib/orth_conn.c (orthconn_move_handle): 
2542         * lib/orth_conn.h: 
2543         * lib/neworth_conn.c (neworthconn_move_handle): 
2544         * lib/neworth_conn.h: 
2545         * lib/element.c (element_move_handle): 
2546         * lib/element.h: 
2547         * lib/connection.c (connection_move_handle): 
2548         * lib/connection.h: 
2549         * lib/beziershape.c (beziershape_move_handle): 
2550         * lib/beziershape.h: 
2551         * lib/bezier_conn.c (bezierconn_move_handle): 
2552         * lib/bezier_conn.h: 
2553         *BINARY COMPATIBILITY CHANGE*
2554         Update prototype for *_move_handle() to include connectionpoint,
2555         and also pass on modifiers.  Pass in connectionpoint where
2556         applicable. 
2557         
2558         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
2559         file connectionpoint.c.
2561 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
2563         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2565 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2567         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
2569         * lib/beziershape.c (beziershape_update_data): Autoroute
2570         directions for beziershapes!
2572         * lib/connectionpoint.c (find_slope_directions): 
2573         * lib/connectionpoint.h: Function for finding the available
2574         directions on a slope.
2576         * lib/polyshape.c: Reasonable directions for
2577         connectionpoints.       
2579 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2581         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
2582         * objects/GRAFCET/vergent.c (vergent_update_data): 
2583         * objects/GRAFCET/transition.c (transition_update_data): 
2584         * objects/GRAFCET/action.c (action_update_data): 
2585         * objects/GRAFCET/step.c (step_update_data): 
2586         * objects/FS/function.c (function_update_data): 
2587         * lib/connpoint_line.c (connpointline_putonaline): 
2588         * objects/ER/attribute.c (attribute_update_data): 
2589         * objects/ER/entity.c (entity_update_data): 
2590         * objects/ER/relationship.c (relationship_update_data): 
2591         * objects/chronogram/chronoline.c (chronoline_update_data): Set
2592         directions for connection points.
2594         * objects/UML/component.c (component_create): Set to allow
2595         parenting. 
2597         * app/create_object.c (create_object_button_press): 
2598         * app/diagram.[ch] (diagram_find_clicked_object_except): 
2599         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
2600         Avoid parenting to objects you're connecting to (otherwise you
2601         couldn't make a connection out of a parenting object).  To do
2602         this, added functions to find the nearest object except a given
2603         list of objects.
2604         
2605         * app/render_libart.c: Rearrange libart include to avoid multiple
2606         include program (and put libart includes inside #ifdef!)
2608 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2610         * lib/dialibartrenderer.c: Don't include art_config.h if others
2611         also do, as it isn't #ifdef'd.
2613         * objects/flowchart/ellipse.c (ellipse_update_data): Add
2614         directions for connection points.
2616 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2618         * objects/flowchart/box.c (box_update_data): Add directions, use
2619         connpoint_update. 
2620         (box_load): Use g_malloc0.
2622         * lib/Makefile.am (libdia_la_SOURCES):
2623         * lib/connectionpoint.c (connpoint_update): 
2624         Function to call to update a connection point info in _update_data().
2625         
2626         * lib/connectionpoint.h: Convenience DIR_ macros.
2628         * app/preferences.c (prefs_data): Make pretty formatted XML the
2629         default.
2631         * lib/dialibartrenderer.c: 
2632         * app/render_libart.c: Make sure art_config.h is included, cause
2633         some libart headers are broken.
2635         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
2636         after test.  Add freetype-config cflags to cflags variable.
2638 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2640         * app/authors.h: Credits for Krzysztof.
2642         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
2643         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
2644         than the description) is visible in the title of the properties
2645         dialog.  That ought to be a short description (translatable),
2646         though we still want long descriptions for the tooltips.  Hmmm...
2648         * configure.in: Updated to use AC_LINK_IFELSE instead of
2649         AC_TRY_COMPILE, also force to link to check libs on Solaris.
2651         * objects/ER/entity.c (entity_load): 
2652         * objects/ER/attribute.c (attribute_load): 
2653         * lib/attributes.c (attributes_set_default_font): 
2654         Check if font is non-null before unreffing.
2655         
2656 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
2658         * app/diagram.c (diagram_ungroup_selected) 
2659         (diagram_group_selected): Use the undo apply to make sure grouping
2660         and ungrouping is done in consistent manners.  This removes a fair
2661         amount of duplicated code from diagram.c.
2663         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
2664         (group_objects_revert, group_objects_apply): Working undo/redo for
2665         diagram tree updates.  The initial actions still don't quite work.
2667 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2669         * app/create_object.c (create_object_button_press): 
2670         * app/undo.[ch]: 
2671         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
2672         undo only for manipulating the parent/child relationships.  Things
2673         like removing an object doesn't use the undo functions for
2674         parenting, so any updates to come (like to diagramtree) should be
2675         done in those, too.
2677 2003-08-03  Hans Breuer  <hans@breuer.org>
2679         * app/create_object.c : minor formating and g_new0 for
2680         tool creation
2682         * lib/bezier_conn.[hc] lib/beziershape.[hc]
2683           lib/prop_geomtypes.c (prop_geomtypes_register)
2684           objects/standard/bezier.c objects/standard/beziergon.c :
2685         ability to set bezpoints via StdProp api
2687         * plug-ins/python/pydia-property.c : convert list of tuples
2688         to BEZPOINTARRAY
2690         *  plug-ins/python/diasvg_import.py : use it to
2691         implement part of path parsing. Also minor improvements
2692         like inheritance of group attributes to members,
2693         whitespace, title and style:text/css ignoring ;-)
2695 2003-08-02  Hans Breuer  <hans@breuer.org>
2697         * lib/connections.c (connection_move_handle): return
2698         something to make it compile
2699         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
2700         must return a value -> dito
2701         [Is there a warnings-as-errors switch we could use with gcc 
2702          to avoid such in future ?]
2704         * plug-ins/python/pydia-object.h : define *_Check macros
2705         * plug-ins/python/diamodule.c : provide dia.group_create()
2706         * plug-ins/python/pydia-diagramdata.c : add 
2707         DiaDiagramData.add_layer()
2708         * plug-ins/python/pydia-property.c : allow to set color by
2709         tuple of doubles
2711         *  plug-ins/python/diasvg_import.py : based on the above
2712         implement a) group support, b) rgb(1,2,3) color handling,
2713         and somewhat fishy data:image/png;base64 support (create
2714         temporary files from inline image data)
2715         d) dump the import errors as text into an 'Error' layer
2717         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
2718         stray " in draw_rect and corrected error message formating 
2720         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
2721         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
2722         Jacobowitz.
2723         
2724 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
2726         * app/magnify.c (create_magnify_tool): allocate with g_new0()
2728         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
2729         preferences values (see bug 118570). Also group items into a GtkFrame.
2731 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
2733         * app/menus.c:
2734         * app/menus.h:
2735         * app/commands.h: 
2736         * app/commands.c (objects_unparent_children_callback): 
2737         * app/diagram.h: 
2738         * app/diagram.c (diagram_unparent_selected,
2739         (diagram_update_menu_sensitivity): 
2740         Added unparenting of single children.
2742         * lib/bezier_conn.c:
2743         * lib/bezier_conn.h:
2744         * lib/beziershape.c:
2745         * lib/beziershape.h:
2746         * lib/connection.c:
2747         * lib/connection.h:
2748         * lib/element.c:
2749         * lib/element.h:
2750         * lib/group.c:
2751         * lib/neworth_conn.c:
2752         * lib/neworth_conn.h:
2753         * lib/object.h:
2754         * lib/orth_conn.h:
2755         * lib/poly_conn.c:
2756         * lib/poly_conn.h:
2757         * lib/polyshape.c:
2758         * lib/polyshape.h:
2759         * objects/EML/instantiation.c:
2760         * objects/EML/interaction-ortho.c:
2761         * objects/EML/interaction.c:
2762         * objects/EML/process.c:
2763         * objects/ER/attribute.c:
2764         * objects/ER/entity.c:
2765         * objects/ER/participation.c:
2766         * objects/ER/relationship.c:
2767         * objects/FS/flow-ortho.c:
2768         * objects/FS/flow-poly.c:
2769         * objects/FS/flow.c:
2770         * objects/FS/function.c:
2771         * objects/GRAFCET/action.c:
2772         * objects/GRAFCET/condition.c:
2773         * objects/GRAFCET/step.c:
2774         * objects/GRAFCET/transition.c:
2775         * objects/GRAFCET/vector.c:
2776         * objects/GRAFCET/vergent.c:
2777         * objects/Misc/analog_clock.c:
2778         * objects/SADT/annotation.c:
2779         * objects/SADT/arrow.c:
2780         * objects/SADT/box.c:
2781         * objects/UML/activity.c:
2782         * objects/UML/actor.c:
2783         * objects/UML/association.c:
2784         * objects/UML/branch.c:
2785         * objects/UML/class.c:
2786         * objects/UML/classicon.c:
2787         * objects/UML/component.c:
2788         * objects/UML/constraint.c:
2789         * objects/UML/dependency.c:
2790         * objects/UML/fork.c:
2791         * objects/UML/generalization.c:
2792         * objects/UML/implements.c:
2793         * objects/UML/large_package.c:
2794         * objects/UML/lifeline.c:
2795         * objects/UML/message.c:
2796         * objects/UML/node.c:
2797         * objects/UML/note.c:
2798         * objects/UML/object.c:
2799         * objects/UML/realizes.c:
2800         * objects/UML/small_package.c:
2801         * objects/UML/state.c:
2802         * objects/UML/state_term.c:
2803         * objects/UML/usecase.c:
2804         * objects/chronogram/chronoline.c:
2805         * objects/chronogram/chronoref.c:
2806         * objects/custom/custom_object.c:
2807         * objects/flowchart/box.c:
2808         * objects/flowchart/diamond.c:
2809         * objects/flowchart/ellipse.c:
2810         * objects/flowchart/parallelogram.c:
2811         * objects/network/bus.c:
2812         * objects/network/wanlink.c:
2813         * objects/standard/arc.c:
2814         * objects/standard/bezier.c:
2815         * objects/standard/beziergon.c:
2816         * objects/standard/box.c:
2817         * objects/standard/ellipse.c:
2818         * objects/standard/image.c:
2819         * objects/standard/line.c:
2820         * objects/standard/polygon.c:
2821         * objects/standard/polyline.c:
2822         * objects/standard/textobj.c:
2823         * objects/standard/zigzagline.c:
2824         Binary compatibility update:  Added return value for foo_move() and
2825         foo_move_handle().  Orthconn derivatives also returns change from
2826         orthconn_move_handle().
2827         
2828         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
2829         doesn't support it yet.
2831         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
2832         Add returning ObjectChange from object moves.  Needs to handle
2833         multiple object moves.
2835         * app/modify_tool.c (modify_motion, modify_release): Add
2836         ObjectChange from move & move_handle to undo stack.
2838         * objects/EML/instantiation.c (instantiation_move): Removing
2839         duplicate move & update.
2841 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
2843         * plug-ins/xfig/xfig-export.c: Added support for arrow head
2844         export.  Many arrow types not supported by XFig, replacing those
2845         with standard arrows.  Not sure whether it'd be better to render
2846         them as a group of lines instead.  You'd lose the arrow-ness for
2847         further editing, but preserve the actual shape of it.  Also added
2848         support for dash length.
2850         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
2852         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
2853         description for version 3.2, for reference.
2855         * plug-ins/xfig/xfig-import.c: Added import of arrows.
2857         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
2858         Align Vertical Adjacent call _v rather than _h.
2860 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
2862         * app/scroll_tool.c (create_scroll_tool): 
2863         * app/modify_tool.c (create_modify_tool): use g_new0() to
2864         initialize the tool
2866 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
2868         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
2870 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
2872         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
2874 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
2876         * configure.in: Added Belarusian to ALL_LINGUAS.
2878 2003-07-19  Hans Breuer  <hans@breuer.org>
2880         [
2881          Make the xslt plug-in work on win32, too. It appears
2882          to require a quite recent version of libxml and libxslt,
2883          otherwise windoze pathes aren't translated correctly
2884          during file processing
2885         ]
2887         * plug-ins/xslt/xslt.h : #include <glib.h> before 
2888         using G_OS_WIN32
2890         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
2891         the 'script' file finding similar to how it is done
2892         with the python scripts (no need for hardcoded pathes,
2893         removed the 'plugin' part from the path)
2895         * plug-ins/xslt/stylesheets.xml : added again. It does
2896         not have any path but only the pure filename again
2898         * plug-ins/xslt/stylesheets.xml.in : removed
2900         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
2901         rule to process stylesheets.xml.in
2903         * plug-ins/makefile.msc : added xslt
2905 2003-07-19  Hans Breuer  <hans@breuer.org>
2907         Finally Dia learned to remember the recent selected sheet
2909         * app/preferences.[hc] : added prefs.recent_sheet
2910         * app/interface.c : restore and remember the sheet-option-menu
2911         history, but only if the respective number is stiil available.
2912         This additional adds robustness against running Dia without
2913         any sheet (e.g. installation problems)
2914         * app/app_procs.c : call prefs_safe() in app_exit() to remember
2915         changes which are not done by the prefernces dialog
2917         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
2918         removed every call (especially the conditional ones) to prefs_safe().
2919         Before prefs_safe() was called _many_ times during Dia startup
2921 2003-07-18  Hans Breuer  <hans@breuer.org>
2923         * app/makefile.msc lib/makefile.msc lib/libdia.def :
2924         updated win32 build
2926         * lib/color.c : use gtk_widget_get_default_visual();
2927         as suggested in #114536
2929         * app/interface.c app/disp_callbacks.c :
2930         moved round_up () to the latter file where it is used
2932         * app/linewidth_area.c : #include "interface.h" for
2933         interface_get_toolbox_shell()
2935 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
2937         * plug-ins/pixbuf/.cvsignore
2938         * shapes/Cisco/.cvsignore: 
2939         added cvsignore
2941 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
2943         * app/dia-props.c (diagram_properties_retrieve): Use
2944         diagram_get_name() to add the diagram name to the diagram
2945         properties dialog.
2947         * app/diagram.h: 
2948         * app/diagram.c (diagram_get_name): New function to get a
2949         reasonable diagram name.
2951         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
2952         info.  Still need to be able to set dynamic grid.  Also ought to
2953         follow Gnome style and have instant apply.
2955         * app/preferences.h: 
2956         * app/preferences.c (prefs_data): Remove option to use stippled
2957         grid, add option for major line offset.  Default to 5 minor lines
2958         per major line.
2959         Add option for dynamically sized grid.
2961         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
2963         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
2964         stippled/solid to display minor/major grid lines.  Line drawing in
2965         separate functions away from calculating line distance.
2967         * app/grid.h: Split page break drawing out of grid_draw.
2969         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
2970         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
2971         when menu item is selected.
2973 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2975         * configure.in: Removed -Winline flag to make way for important
2976         warnings. 
2978         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
2979         non-compressed.  Should fix bug #117381, also look prettier.
2980         
2981         * Makefile.am: 
2982         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
2983         Set up desktop info more properly.
2985 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
2987         * activity.c:
2988         * actor.c:
2989         * branch.c:
2990         * class.c:
2991         * classicon.c:
2992         * component.c:
2993         * large_package.c:
2994         * lifeline.c:
2995         * node.c:
2996         * note.c:
2997         * object.c:
2998         * small_package.c:
2999         * state.c:
3000         * state_term.c:
3001         * usecase.c: 
3002         Autorouting directions patch from Krzysztof Foltman
3003         <kfoltman@onet.pl>.
3005         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
3006         GNOME parent menu items.
3007         
3008         * app/authors.h: Added Vadim to contributors list.
3010 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3012         * app/commands.[ch]: 
3013         * app/create_object.c: 
3014         * app/disp_callbacks.[ch]: 
3015         * app/diagram.[ch]: 
3016         * app/interface.c: 
3017         * app/load_save.c: 
3018         * app/menus.[ch]:
3019         * app/modify_tool.c
3020         * app/undo.[ch]:
3021         * lib/Makefile.am:
3022         * lib/group.c: 
3023         * lib/object.[ch]: 
3024         * lib/parent.[ch]:
3025         * objects/UML/large_package.c: Patch from Vadim Berezniker
3026         <vadim@berezniker.com>: 
3027         Objects may "parent" other objects, i.e. contain them within
3028         themselves, restrain them and move them along.  Some more stuff is
3029         needed, such as selection and individual unparenting.  This adds
3030         parenting to UML - Large Package rather than Box.
3032 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3034         * app/linewidth_area.c: Patch from Krzysztof Foltman
3035         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
3036         conform more, at least:).
3038         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
3039         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
3040         arcs.  Implemented images (though there is some pixelization and
3041         banding in the output).  Changed output file format to be a little
3042         more readable.  
3044         * app/app_procs.c (app_exit): Added message for double exit, which
3045         shouldn't happen any more.  Also preventing strange g_object_unref
3046         messages by having a printf after gtk_main_quit.  This is really
3047         weird.
3049         * app/interface.c (toolbox_delete): Avoid double app_exit call by
3050         removing handler for destroy when delete is called.
3052 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
3054         * app/display.h: 
3055         * app/display.c (ddisplay_scroll_to_object,
3056         ddisplay_scroll_center_point):  New function for easy scrolling to
3057         object or point.
3059 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3061         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
3062         $(srcdir) on stylesheets.xml.
3064         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
3065         diagram menus (since they're at the top by default now).  Also
3066         move the Properties... menu item from Dialogs to Objects.  Dialogs
3067         menu should disappear at some point.
3069         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
3070         ./configure from ./autogen.sh, as configure may need to be run
3071         from a different directory.  (Also more standard this way.)
3073         * app/app_procs.c (app_init): 
3074         * app/Makefile.am (INCLUDES): Gnome standardization patch from
3075         Alex. 
3077 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3079         * objects/flowchart/parallelogram.c (pgram_update_data):
3080         Left/right alignment for parallelograms.  Doesn't use all
3081         available space, but then pgrams also ignore their shear value.
3082         This thing needs a loving hand.
3084 2003-07-01  Hans Breuer  <hans@breuer.org>
3086         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
3087         * lib/proplist.c : don't complain if optional attr is missing
3088         * lib/orth_conn.h : make "orth_autoroute" optional to
3089         stop complaining with older files.
3091 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
3093         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
3095 2003-06-05  Andrew Halper  <ashalper@cox.net>
3097         * app/diagram_tree.c : add scrolling of drawing area
3098         to desired object on "Locate".  Patch modified to use new ddisplay
3099         function ddisplay_scroll_to_object().
3101 2003-06-11  Lars Clausen  <lars@raeder.dk>
3103         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3104         info.  Before next version, the grid dialog (view dialog, really)
3105         must be redone to allow a) instant apply, b) apply to all
3106         diagrams, and c) setting colour, dynamic, major lines.
3108         * app/preferences.h: 
3109         * app/preferences.c (prefs_data): Remove option to use stippled
3110         grid, add option for major line offset.  Default to 5 minor lines
3111         per major line.
3112         Add option for dynamically sized grid.
3114         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3116         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
3117         stippled/solid to display minor/major grid lines.  Line drawing in
3118         separate function away from calculating line distance.
3120         * app/grid.h: Split page break drawing out of grid_draw.
3122 2003-05-15  Hans Breuer  <hans@breuer.org>
3124         * plug-ins/python/diasvg.py : add xlink definition,
3125         also avoid to put spaces into attribute values. At least
3126         Sodipodi doesn't like them in width/height attributes
3128         * plug-ins/python/diasvg_import.py : add simple scaling.
3129         Some (more) handling for <svg>, <desc>, <circle>        
3131         * plug-ins/python/scascale.py : (new file) which does
3132         some experimental scaling via StdProp api
3134         * plug-ins/python/pydia-cpoint.c 
3135           plug-ins/python/pydia-handle.c : return PyDiaPoint for
3136         obj.pos not simple tuples. PyDiaPoint has a tuple interface
3137         so this may even be api compatible ...
3139 2003-05-11  Hans Breuer  <hans@breuer.org>
3141         * app/line_area.c : add window position persitence
3143         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
3144         'poly_points' via StdProp api
3145         * lib/neworth_conn.h : don't rely on OrthConn and 
3146         NewOrtConn having the same struct offsets
3148         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
3149         to help separating 'useful' properies - in terms of
3150         the PyDia access
3152         * objects/custom/custom_object.c
3153           objects/UML/*.c
3154         add the missing prop_desc_list_calculate_quarks to
3155         all the *_describe_props()
3157         * objects/standard/beziergon.c objects/standard/bezier.c :
3158         explicit initializtion of default_user_data
3159         * objects/standard/polygon.c objects/standard/polyline.c :
3160         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
3162         * plug-ins/python/diamodule.c : implement dia.register_import
3164         * plug-ins/python/makefile.msc : need to link with Pango
3165         for pango_color_parse()
3167         * plug-ins/python/pydia-property.c : add a bunch of type
3168         conversions to PyDiaProperty_ApllyToObject()
3170         * plug-ins/python/diasvg_import.py : (new file) which currently
3171         is mainly a stress test for PyDia but for some files already
3172         produces better results than svg-import.c
3174 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3176         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
3177         type-less operations.
3179 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
3181         * configure.in(ALL_LINGUAS): Added "ms".
3183 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3185         * plug-ins/xslt/xslt.c (xslt_ok): 
3186         * plug-ins/shape/shape-export.c (new_shape_renderer): 
3187         * plug-ins/svg/render_svg.c (new_svg_renderer): 
3188         * plug-ins/hpgl/hpgl.c (export_data): 
3189         * plug-ins/dxf/dxf-export.c (export_dxf): 
3190         * plug-ins/metapost/render_metapost.c (export_metapost): 
3191         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
3192         * plug-ins/xfig/xfig-export.c (export_fig): 
3193         * plug-ins/wpg/wpg.c (export_data): 
3194         * plug-ins/cgm/cgm.c (export_cgm): 
3195         * app/render_eps.c (export_eps): 
3196         * app/export_png.c (export_png_ok): 
3197         * app/load_save.c (diagram_data_save): Adding and standardizing
3198         output file error messages to include fopen error message.
3200 2003-05-01  Steffen Macke <sdteffen@web.de>
3202         * app/persistence.c: do not use unistd.h for MSVC build
3204 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3206         * sheets/Assorted.sheet.in
3207         * sheets/Circuit.sheet.in
3208         * sheets/Contact.sheet.in
3209         * sheets/EML.sheet.in
3210         * sheets/ER.sheet.in
3211         * sheets/Electric.sheet.in
3212         * sheets/FS.sheet.in
3213         * sheets/Flowchart.sheet.in
3214         * sheets/GRAFCET.sheet.in
3215         * sheets/Logic.sheet.in
3216         * sheets/MSE.sheet.in
3217         * sheets/Misc.sheet.in
3218         * sheets/Pneumatic.sheet.in
3219         * sheets/SADT.sheet.in
3220         * sheets/SDL.sheet.in
3221         * sheets/UML.sheet.in
3222         * sheets/chronogram.sheet.in
3223         * sheets/ciscohub.sheet.in
3224         * sheets/ciscomisc.sheet.in
3225         * sheets/cisconetwork.sheet.in
3226         * sheets/ciscorouter.sheet.in
3227         * sheets/civil.sheet.in
3228         * sheets/network.sheet.in
3229         * sheets/sybase.sheet.in:
3230         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
3231         standardizes shape descriptions to use no articles, no 'create
3232         ...'.
3233         
3234         * app/interface.c (tool_data): Standard objects follow same
3235         standard as sheets.
3237 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3239         * app/color_area.c (color_area_edit): More informative title on
3240         color selection dialog.
3242         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
3243         sensitivity when dropping object in.  Also reset tool to pointer.
3245         * objects/flowchart/diamond.c (diamond_update_data): 
3246         * objects/flowchart/parallelogram.c (pgram_update_data): Added
3247         left and right alignment options.
3249 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3251         * objects/flowchart/box.c: Added left and right alignment options.
3253 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3255         * app/persistence.c (persistence_load): Test existence of
3256         persistence file before trying to open it.
3258 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3260         * app/properties.c: Escape now closes properties dialogs.
3262 2003-04-25  Hans Breuer  <hans@breuer.org>
3264         * app/config.h.win32 : bump version to 0.91+cvs
3266         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
3268         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
3270         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
3271         returns NULL
3273         * app/presistence.c : need to #include "dia_xml_libxml.h"
3274         for xmlDiaParseFile
3276         * app/layer_dialog.c : make delayed creation work by protecting
3277         all non static layer_dialog_*() with :
3278            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
3279              create_layer_dialog();
3280         * app/app_procs.c : removed /* create_layer_dialog(); */
3282         * objects/uml/association.c : give it a minimal StdProp
3283         implementation to fix bug #108896
3284         * lib/object_defaults.c : don't try to copy props if there
3285         is no obj->ops->describe_props
3287 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3289         * objects/standard/image.c (image_create): 
3290         * objects/standard/ellipse.c (ellipse_create): 
3291         * objects/standard/box.c (box_create): 
3292         * objects/flowchart/ellipse.c (ellipse_create): 
3293         * objects/flowchart/diamond.c (diamond_create): 
3294         * objects/flowchart/box.c (box_create): 
3295         * objects/custom/custom_object.c (custom_create): 
3296         * objects/ER/relationship.c (relationship_create): 
3297         * objects/ER/entity.c (entity_create): 
3298         * objects/ER/attribute.c (attribute_create): Initialize
3299         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
3301         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
3302         alignment. 
3304         * configure.in: 
3305         * plug-ins/Makefile.am: 
3306         * plug-ins/xslt/Makefile.am: 
3307         * plug-ins/xslt/xslt.c (dia_plugin_init): 
3308         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
3309         automake-style if to only include xslt dir when needed.  Works
3310         with automake 1.4 and up, at least.
3312 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3314         * lib/diasvgrenderer.c (draw_string): 
3315         * lib/dia_svg.c (dia_svg_parse_style): Use
3316         text-anchor:(start|middle|end).
3318         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
3319         polygon rather than polyline & avoid missing line pieces.
3320         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
3321         black-filled things.
3323 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
3325         * app/persistence.c (persistence_load): Check that persistence
3326         file exists before trying to read it.
3327         (persistence_update_window): Removed printf.
3329         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
3331         * lib/autoroute.c: Take badness into the layouters again, as some
3332         of them know they can do things that are pretty but would be
3333         counted as ugly by the default calculation.
3335         * objects/UML/large_package.c: Shrink package name box when no
3336         stereotype is present.
3338         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
3339         * lib/orth_conn.c: Added object menu item for autorouting.
3341         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
3342         Autorouting, plus set initial dragging handle to be the end, not
3343         the middle.
3344         (orthflow_draw): Flipped arrow place to be at the end, as
3345         originally intended (got lost in arrow update).
3347         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
3348         * objects/UML/dependency.c (dependency_get_object_menu): 
3349         * objects/UML/association.c (association_get_object_menu): 
3350         * objects/UML/realizes.c (realizes_get_object_menu): 
3351         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
3352         * objects/GRAFCET/vector.c (arc_get_object_menu): 
3353         * objects/ER/participation.c (participation_get_object_menu): 
3354         * objects/EML/instantiation.c (instantiation_get_object_menu): 
3355         * objects/UML/generalization.c (generalization_get_object_menu): 
3356         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
3357         Autorouting setup (currently disabled for SADT/arrow).
3358         
3359 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
3361         * lib/autoroute.c: Removed printfs.
3363         * lib/orth_conn.c: 
3364         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
3365         non-connected orthconns too.
3367 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3369         * lib/orth_conn.h: 
3370         * lib/orth_conn.c: Function to set autorouting on/off, use
3371         autorouting in move_handle (turns off when a middle handle is
3372         moved), added to standard orthconn props. 
3374         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
3375         Stopped signal emission for check menu items being set to on/off.
3377         * objects/standard/zigzagline.c: Added autorouting object menu item.
3379         * lib/autoroute.c: Added last cases of autoroute layout, fixed
3380         floating point comparison bug, cleaned up layouters, tweaked
3381         badness to allow kinks. 
3383 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
3385         * lib/connectionpoint.h: Changed DIR_* macros to go around the
3386         clock. 
3388         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
3389         points at once.
3390         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
3391         old cruft, added call to autoroute (currently cannot be turned
3392         off).  Need to check what undo thinks about this.
3393         * lib/autoroute.[ch]: Fairly working simple layout.
3395         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
3396         * lib/autoroute.[ch]: Start of proper autorouting functionality.
3398 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3400         * lib/prop_widgets.c: Show labels on ListProp.
3402 2003-04-11  Steffen Macke <sdteffen@web.de>
3404         * doc/en/dia-manual.xml: removed reference of non-existing authors 
3405         note.
3406         * doc/en/usage-objects-selecting: commented out misleading section
3407         references.
3409 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3411         * app/app_procs.c (app_init): Layer window now opened at startup
3412         only if needed.
3414         * lib/prop_widgets.c: Show labels on ListProp.
3416 2003-04-09  Steffen Macke <sdteffen@web.de>
3418         * doc/en/*.sgml: removed files
3419         * doc/en/*.xml: added files
3420         * doc/en/Makefile.am: switched to XML DocBook
3422 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3424         * plug-ins/xslt/xslt.c (dia_plugin_init): 
3425         * configure.in: Added --with-xslt-prefix to allow other XSLT
3426         placements than /usr/lib.
3428 2003-04-09  Steffen Macke <sdteffen@web.de>
3430         * lib/makefile.mingw: updated to include latest files, including 
3431         and linking libintl
3432         * lib/geometry.h: don't define isinf and finite for mingw gcc build
3434 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
3436         * app/persistence.h:
3437         * app/persistence.c (persistence_register_window_create): 
3438         * app/app_procs.c (app_init): 
3439         Register window function that doesn't create the window unless it
3440         should be open.  Other windows should move to this, so startup
3441         speed can be reduced.
3442         
3443         * app/persistence.h: Removed call prototype for update_window, now
3444         done internally.
3445         * app/persistence.c (persistence_register_window): A number of
3446         fixes.  Doesn't forget position when window is closed.  Now
3447         actually loads prefs.
3449         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
3450         event connect.
3452         * app/preferences.c (prefs_data): 
3453         * app/diagram_tree_window.h: 
3454         * app/diagram_tree_window.c: Added persistence registering.
3455         Removed prefs items storing size and openness. 
3457         * app/sheets_dialog.c (create_sheets_main_dialog): Added
3458         persistence registering.  
3460         * app/Makefile.am (dia_core_files): Added persistence files.
3462         * lib/dia_dirs.h: 
3463         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
3464         that dirs are present.
3466         * app/app_procs.c (app_init): Loads persistent values on startup.
3467         (app_exit): Saves persistent values on exit.
3469         * app/layer_dialog.c (create_layer_dialog): Registers the layer
3470         window for persistence.
3472         * app/persistence.[ch]: New files handling various kinds of
3473         persistence.
3475 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3477         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
3478         head spacing calculations.  Added half-circle arrow from Matthieu
3479         Sozeau <mattam@netcourrier.com> 
3481 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3483         * app/app_procs.c (app_init): Moved layer dialog init to allow
3484         tooltips to be initialized.
3486         * app/interface.c (create_display_shell): More tooltips.
3488         * app/linewidth_area.c (linewidth_area_create) 
3489         (linewidth_area_events): 
3490         * app/color_area.c (color_area_events, color_area_create): 
3491         Made tooltips work by embedding drawing_area in event_box.
3493         * app/interface.c (create_display_shell,
3494         (create_lineprops_area, create_color_area): Added a few tooltips.
3496 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3498         * app/pixmaps/off-grid.xpm: 
3499         * app/pixmaps/on-grid.xpm: 
3500         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
3502         * app/display.h: 
3503         * app/commands.c (view_snap_to_grid_callback): 
3504         * app/display.c (ddisplay_set_snap_to_grid) 
3505         (update_snap_grid_status): 
3506         * app/interface.c (create_display_shell, grid_toggle_snap): 
3507         Added snap-to-grid status button.
3509 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3511         * app/app_procs.c (app_init): Create a new diagram if a file on
3512         the command line isn't found.
3514 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
3516         * lib/dialibartrenderer.c (draw_string): Correct color handling
3517         for AA.
3519 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
3521         * NEWS: 
3522         * doc/en/dia-manual.sgml: 
3523         * doc/pl/dia-manual.sgml: 
3524         * configure.in: 
3525         * dia.spec (Release): 
3526         Version 0.91 is here!
3528 2003-02-10  Steffen Macke <sdteffen@web.de>
3530         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
3531         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
3532         non-ANSI characters, closes #107980
3534 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3536         * configure.in: 
3537         * NEWS: 
3538         * dia.spec (Release): 
3539         * doc/en/dia-manual.sgml: Upping to pre6.
3541         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
3543         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
3544         #107511:  Make arrow selector for correct arrow type.
3546 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3548         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
3549         EXTRA_DIST.
3551 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3553         * doc/en/dia-manual.sgml: 
3554         * configure.in: 
3555         * NEWS: 
3556         * dia.spec (Release): Upping to pre5.
3558         * configure.in: Add freetype-config derived libs to the
3559         AC_CHECK_LIB statement for freetype.
3561 2003-02-28  Hans Breuer  <hans@breuer.org>
3563         [fix for bug #107203]
3565         * lib/diarenderer.c : add warning 'implementation'
3566         for fill_rect to avoid crashing with a renderer
3567         which does not implement this required function.
3569         * plug-ins/dxf/dxf-export.c : provide - still empty -
3570         'implementations' for fill_rect and fill_polygon 
3571         to suppress the above warnings. Now it works like
3572         in version 0.90 
3574 2003-02-28  Steffen Macke <sdteffen@web.de>
3576         * samples/all_objects.dia: New sheet containing all dia shapes
3577         and objects; one layer per sheet
3578         
3579 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3581         * lib/prop_text.c (multistringprop_get_widget,
3582         multistringprop_reset_widget, multistringprop_set_from_widget): 
3583         Now uses GtkTextView instead of deprecated stuff, and also works:)
3585         * configure.in: Slightly more informative error message for isinf.
3587         * dia.spec (Requires): Require libxml2 rather than libxml.
3589 2003-02-28  Steffen Macke <sdteffen@web.de>
3591         * shapes/Circuit/hjumper.png:
3592         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
3593         jumper shape
3594         
3595 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3597         * doc/en/dia-manual.sgml: 
3598         * configure.in: 
3599         * dia.spec (Release):
3600         * NEWS: New prerelease 0.91pre4, two important fixes.
3602 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3604         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
3605         stylesheets.xml.in 
3607         * app/commands.c (help_manual_callback): More correct URL for help
3608         page (include file://, was broken on Dillo without it).
3610 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3612         * app/disp_callbacks.c: Set modifed when text is changed.
3614         * app/modify_tool.c (modify_button_release): Allow undo for moving
3615         objects.
3617 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3619         * dia.spec: 
3620         * doc/en/dia-manual.sgml: 
3621         * NEWS: 
3622         * configure.in: New prerelease with important bugfix.
3623         * shapes/network/digitizing_board.png:
3624         * shapes/network/plotter.png: Re-adding with -kb.
3625         
3626 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
3628         * app/app_procs.c (app_init): Add comment for translators.
3630 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3632         * lib/filter.c (filter_register_import, filter_register_export):
3633         Don't accept filters with NULL description.
3635         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
3636         (as we assume the description is available in other places).
3638 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
3639         
3640         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
3641         * app/display.c (ddisplay_resize_canvas): Use
3642         ddisplay_add_update_all().
3643         (ddisplay_add_update_all): Free display and update lists when
3644         doing update_all, as they'll be regenerated immediately to cover
3645         all visible area.  Fixes bug #106165, crash when resizing.  This
3646         appears to be the original AA crash bug, believed long extinct.
3648 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3650         * app/commands.c (help_manual_callback): Use file: protocol for
3651         help. 
3653         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
3655         * plug-ins/xslt/stylesheets: Removed old-style config file.
3656         
3657         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
3659         * plug-ins/xslt/Makefile.am: 
3660         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
3661         handling (no more DIA_PLUGIN_PATH).
3663 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3665         * plug-ins/svg/render_svg.c: 
3666         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
3668 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3670         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
3671         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
3672         side of the triangle is longer than the hypotenuse.  Rounding
3673         error suspected.
3675 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3677         * NEWS: 
3678         * configure.in: 
3679         * doc/en/dia-manual.sgml: Update for pre2.
3681         * app/menus.c (display_menu_items): Fixed wrongly place separators.
3683         * objects/flowchart/box.c (box_update_data): Applied patch from
3684         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
3685         comment). 
3687         * app/paginate_psprint.c (print_page): Set paper name, so it
3688         convinces ps printers to use to right size.
3690 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
3692         * app/properties.c (properties_show): Hide the dialog if the
3693         object is NULL (get rid of 'no properties' randomly popping up).
3695 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3697         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
3698         for diagrams not starting at origo.
3700 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
3702         * dia.spec (BuildRequires): Use libxml2-devel.
3704         * plug-ins/pixbuf/Makefile.am: Added to CVS.
3706         * RELEASE-PROCESS: Note on RPM version numbers.
3708         * app/interface.c (create_display_shell): Don't set as toolbar
3709         under Unix, either.  Especially not the diagram shell.  It removes
3710         it from the taskbar and makes it unresizable, always-on-top with
3711         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
3712         appropriate thing, UTILITY, is not good either, you lose resizing
3713         and minimizing/maximizing under OpenBox.
3715         * app/menus.c (display_menu_items): Set delete item to use Delete.
3717 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3719         * dia.spec (BuildRequires, Requires): Updated for Gtk2
3720         requirements.
3722         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
3723         display flush when getting focus in, or we may get an update after
3724         the diagram has been destroyed in some cases.  Fixes bug #105221.
3726         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
3728         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
3730         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
3731         - gnome-compiled Dia will now read files specified on the command line.
3733 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3735         * INSTALL (REQUIREMENTS): Updated requirements section.
3737         * configure.in: Better finite() check from MÃ¥rten Svantesson
3738         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
3739         if's. 
3740         
3741 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3743         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
3745         * app/app_procs.c (debug_break): Added some code to avoid
3746         over-eager optimizations removing the call.  Surely there's a
3747         nicer way, but I'm not sure how.
3749         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
3750         that set text to black.
3752 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3754         * NEWS: Mention of Twiki as doc source for Python.
3756         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
3757         libart/libpng is not available.  Later when we have a way of
3758         letting the user pick options in the file select dialog we shall
3759         allow the choice when applicable.
3761 2003-02-02  Steffen Macke <sdteffen@web.de>
3763         * doc/en/usage-loadsave.sgml:
3764         * doc/en/usage-objects.sgml: patch from
3765         James K. Lowden <jklowden@schemamania.org> to fix
3766         some docbook errors
3767         
3768 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3770         * plug-ins/Makefile.am (SUBDIRS): 
3771         * plug-ins/pixbuf/pixbuf.c: 
3772         * plug-ins/pixbuf/Makefile.am: 
3773         * configure.in: 
3774         Added pixbuf plugin to Makefile.am, but for import only.  PNG
3775         export handled by libart, which is better. JPG export is
3776         discouraged.  BMP is not much used on Unix.  Next release will
3777         integrate libart to allow all outputs.
3779 2003-02-01  Hans Breuer  <hans@breuer.org>
3781         * app/preferences.c :
3782         * app/pagesetup.c :
3783         the last two dialogs with 'old' button order finally
3784         are converted to gtk2, no GnomeDialog in all of Dia 
3785         anymore :-) 
3787 2003-02-01  Hans Breuer  <hans@breuer.org>
3789         * app/filedlg.c : don't try to use a button as
3790         'overwrite-file-dialog'-parent, use the FileSelDialog
3791         instead
3793         * plug-ins/pixbuf/pixbuf.c : make it work with 
3794         system-visual-depth < 24. Remove 'bmp' from output
3795         format extensions, it just was wishful thinking.
3797         * plug-ins/python/Makefile.am : added the four new python 
3798         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
3800 2003-02-01  Hans Breuer  <hans@breuer.org>
3802         * NEWS : updated content beside dependencies
3804 2003-02-01  Hans Breuer  <hans@breuer.org>
3806         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
3807         to make it useable across DLL boundaries
3808         * app/lineprops_area.c : same code to access arrow_types
3809         on all platforms
3811         * objects/UML/class.c : the non empty string is e.g.
3812         comment != NULL && comment[0] != '\0'
3813         * objects/UML/uml.c : same here, don't bother with
3814         empty operation stereotypes
3816 2003-02-01  Steffen Macke <sdteffen@web.de>
3818         * app/lineprops_area.c: latest changes do not work on
3819         windows, using old code without tooltips
3820         * makefile.msc: fixed copying of wmf.dll
3821         * plug-ins/makefile.msc: 
3822         * app/makefile.msc:
3823         * lib/makefile.msc: now linking libintl
3824         * config.h.win32: enabling native language support
3826 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3828         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
3829         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
3831 2003-01-31  Daniel Yacob  <locales@geez.org>
3833         * configure.in: Added am (Amharic) to ALL_LINGUAS.
3835 2003-01-31  Steffen Macke <sdteffen@web.de>
3837         * objects/UML/class.c (umlclass_calculate_data): fixed crash
3838         when comments were visible, no class comment available and
3839         a attribute comment
3840          
3841 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
3843         * RELEASE-PROCESS: Updated to fit new install-module syntax.
3844         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
3845         with DIA_0_91_PRE1.
3847 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3849         * config.h.win32: 
3850         * NEWS: 
3851         * configure.in:
3852         * dia.spec:
3853         Prerelease version changes, version 0.91-pre1.
3855         * app/sheets_dialog_callbacks.h: 
3856         * app/sheets_dialog_callbacks.c: 
3857         * app/sheets_dialog.c (create_sheets_main_dialog): 
3858         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
3859         to handle destruction of main dialog cleanly, but it's a mess.
3861         * configure.in: Downgraded ieeefp test to make it not produce
3862         illegal shell code.
3864         * lib/widgets.c (dia_arrow_selector_set_arrow): 
3865         (dia_line_style_selector_set_linestyle): Select menu dot
3866         correctly set.
3868         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
3869         adjustment for diamondheads.
3871         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
3873         * app/properties.c (create_dialog): Destroy properties dialog and
3874         box correctly.
3876         * app/sheets_dialog_callbacks.c
3877         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
3878         if the old one is destroyed.
3880 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3882         * app/export_png.c (export_png_ok): Added info on resolution.
3883         Should (next release) improve export dialog to allow setting
3884         resolution instead of pixels.
3886         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
3887         to generate arrowheads as well as tooltips.
3889         * lib/arrows.c: Added hollow diamond to menudesc list.
3891         * lib/arrows.[ch]: 
3892         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
3893         unify with rendered menu.
3895         * lib/diarenderer.c (draw_line_with_arrows)
3896         (draw_polyline_with_arrows, draw_arc_with_arrows)
3897         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
3898         without changing renderer API.  Thanks to David Scherba for
3899         providing inspiration.
3901 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3903         * app/interface.c (create_display_shell):
3904         * app/display.h: Patching from Hubert Figuiere
3905         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
3906         correct menu items.
3908 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
3910         * app/defaults.c (defaults_show): Fixed defaults closing bug.
3911         Thanks to Hans for pointing it out.
3913 2003-01-25  Hans Breuer  <hans@breuer.org>
3915         * app/commands.c : don't warn about crashing libart renderer
3916         on win32. It simply doesn't render text anymore :-(
3918         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
3920         * objects/UML/class.c : don't access umlclass->properties_dialog
3921         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
3922         which sets the former to NULL by destroy_properties_dialog() callback.
3924         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
3926         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
3928         * plug-ins/python/pydia-image.c : add image.uri member
3929         not only useful for SVG rendering
3931         * plug-ins/python/diasvg.py : (new file) a more advanced
3932         example. A full blown SVG Renderer, currently only
3933         registered for .svgz
3935         * plug-ins/python/export-object.py : write text props
3937         * plug-ins/python/debug_objects.py : write prop.type and
3938         prop.visible 
3940 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
3942         * objects/UML/association.c (association_update_data): Better
3943         bounding box for assoc with arrows.
3945         * lib/properties.h: New flag for properties with multiple values
3946         in groups.
3948         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
3949         arrow updating in dialog.  Was broken due to changes from destroy
3950         fix:(
3952         * app/commands.c (view_aa_callback): AA warning only for Windows
3953         -- I trust the Unix side well enough.
3955         * app/render_libart.c (get_text_width): 
3956         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
3957         font height can be taken from parent instance.
3959         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
3960         (get_text_width): Proper cursor positioning for libart renderer.
3961         Ought to have a DiaInteractiveRenderer that these two can inherit
3962         from, that knows about transform.
3964 2003-01-25  Steffen Macke <sdteffen@web.de>
3966         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
3967         plug-in still not working on win32
3968         
3969 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3971         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
3972         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
3973         thought.
3975 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
3977         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
3978         bail out on gtk options.
3980         * lib/message.c (gtk_message_internal): Better handling of destroy
3981         event.
3983 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3985         * app/color_area.c (color_area_edit): 
3986         * lib/widgets.c (dia_file_selector_browse_pressed) 
3987         (dia_color_selector_pressed): 
3988         * app/plugin-manager.c (get_plugin_manager): 
3989         * app/filedlg.c (file_open_callback, file_save_as_callback) 
3990         (file_export_callback):
3991         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
3992         handling of destroy event.
3994 2003-01-22  Alan Horkan <horkana@tcd.ie>
3996         * app/commands.c (file_new_callback): Changed Untitled to Diagram
3997         for default name.
3999 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
4001         * app/preferences.c (prefs_create_dialog): 
4002         * app/linewidth_area.c (linewidth_create_dialog): 
4003         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
4004         * app/layer_dialog.c (create_layer_dialog)
4005         (layer_dialog_edit_layer): Correct handling of destroy signal. 
4007         * app/diapsft2renderer.c (set_font): Adjust silly random factor
4008         for change in font.c
4010         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
4012         * lib/font.c (dia_font_build_layout): Let's all use the same weird
4013         factor here.
4015         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
4016         * app/layer_dialog.c (create_layer_dialog) 
4017         (layer_dialog_edit_layer): 
4018         * app/filedlg.c (file_open_callback, file_save_as_callback) 
4019         (file_export_callback): 
4020         * app/dia-props.c (create_diagram_properties_dialog): 
4021         * app/defaults.c (defaults_dialog_destroyed): 
4022         * app/color_area.c (color_area_edit): Dialog destroy event handling.
4024 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
4026         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
4027         defaults dialog destroyed.
4029 2003-01-19  Steffen Macke <sdteffen@web.de>
4031         * objects/makefile.msc: added bondgraph
4032         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
4033         to compile pixbuf.dll
4034         * makefile.msc: copying all objects and dlls now
4035         
4036 2003-01-19  Hans Breuer  <hans@breuer.org>
4038         * app/diagram.[hc] : provide dia_open_diagrams(), make
4039         open_diagrams variable static
4040         * app/dia.def : export it (to be used by PyDia)
4041         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
4042           app/display.c app/dynamic_refresh.c app/layer_dialog.c
4043           app/load_save.c : make use of dia_open_diagrams()
4045         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
4046         on win32. It removes the diagram window from the taskbar and
4047         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
4049         * app/menus.c : add '...' to menu entries where a dialog 
4050         gets invoked
4051         * app/recent_files.c app/dia_embedd.c : reflect the above in 
4052         menus_get_item_from_path() calls
4054         * lib/libdia.def : add dia_image_rgba_data
4056         * lib/properties.h lib/prop_text.[hc] : add new property
4057         type StringList
4058         * objects/UML/class.[hc] object/UML/class_dialog.c : use
4059         StringList for attributes_strings and operations_strings to
4060         make this calculated data accessible via the Property API
4062         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
4063         provide dia.new() to create a new diagram, dia.registered_types()
4064         to get on Dia's type registry, dia.message() for simple dialogs
4066         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
4067         to create a new display from a diagram. Let diagram.extents and
4068         diagram.bg_color return the same types as in diagramdata.*
4070         * plug-ins/python/pydia-geometry.c : add a read-only 
4071         'sequence interface' to DiaPoint and DiaRectangle
4073         * plug-ins/python/pydia-property.c : allow to get on StringList
4074         from Python
4076         * plug-ins/python/pydia-render.c : fix typo to make it compile
4078         * plug-ins/python/python-startup.py : removed 'import pygtk'
4079         again. This file does not need any gtk UI, and some python
4080         plug-ins don't do either
4082         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
4083         it should actually work as intended again
4085         * plug-ins/python/group_props.py : (new file) a prototype for
4086         one the most requested features: Change properties of selected
4087         objects in one step. Requires pygtk.
4089         * plug-ins/python/select_by.py : (new file) select objects by 
4090         common properties. Requires pygtk.
4092         [Start of 'PyDia Self Documentation Series']
4094         * plug-ins/python/pydiadoc.py : (new file) generates a new 
4095         diagram which contains all objects of dir(dia)
4096         
4097         * plug-ins/python/otypes.py : (new file) generates a new diagram 
4098         which contains all the currently registered object types sorted 
4099         by their containing package
4101 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4103         * configure.in: Added check for Pango >= 1.1.5, which appears to
4104         be enough to have text work.
4105         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
4106         do it.  AC_SUBST should be idempotent, though.
4108 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4110         * configure.in (HAVE_FREETYPE): Better test for freetype version
4111         using neat macro.
4112         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
4114         * lib/font.c: Renamed global_size_one to global_zoom_factor to
4115         avoid confusion, and added comment.  Set scale factor in
4116         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
4117         my weird scaling problems.  Fonts are now of the expectable size,
4118         i.e. the space between lines at size 1.0 is 1.0.  If we want a
4119         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
4120         diagrams, though there will always be differences.
4122 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4124         * plug-ins/python/python-startup.py: 
4125         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
4127         * plug-ins/python/python.c (dia_plugin_init): Added warning
4128         message for missing startup file.
4130         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
4131         
4132         * lib/dia_image.c (dia_image_rgb_data): 
4133         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
4134         involving EPS.  Can't do transparency in EPS yet.
4136         * lib/dia_image.h: 
4137         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
4138         data as one chunk.  Documentation for the RGB data getting funcs.
4139         (dia_image_rgb_data): Added comment.
4141         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
4142         (bug #103565)
4144 2003-01-13  Steffen Macke <sdteffen@web.de>
4146         * lib/dia_image.c: dia_image_rgb_data() is working for
4147         non-alpha images now. Fixes #93762
4148         * Makefile.am: added makefile.msc to EXTRA_DIST
4149         
4150 2003-01-10  Steffen Macke <sdteffen@web.de>
4152         * app/paginate_psprint.c: Closing print dialog when file
4153         could not be written. Fixes #84746
4154         
4155 2003-01-04  Steffen Macke <sdteffen@web.de>
4157         * doc/custom-shapes: incomplete description of <svg:text>
4159 2003-01-03  Steffen Macke <sdteffen@web.de>
4161         * makefile.msc(new): new makefile to create file
4162         structure suitable for running dia win32 under
4163         $(TOP)/dia/build/win32
4164         
4165 2003-01-02  Steffen Macke <sdteffen@web.de>
4166         
4167         * lib/dia_svg.c: including stdlib.h
4168         * lib/makefile.msc: added gdk_pixbuf libs to linker
4169         * app/makefile.msc: added gdk_pixbuf libs, made libart
4170         libs compatible with gnuwin32 package
4171         
4172 2003-01-01  Hans Breuer  <hans@breuer.org>
4174         * lib/font.c : more comment about global_size_one
4176         * app/menus.c : <control>[<shift>]A for plain gtk build too.
4178         * plug-ins/wmf/wmf.cpp : some type juggling to make 
4179         msvc7 happy
4181 2002-12-31  Steffen Macke <sdteffen@web.de>
4183         * app/makefile.msc: added hint on how to enable console output
4184         
4185 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4187         * objects/standard/textobj.c (textobj_load): Get the handle type
4188         right, at least to be the same as when created.
4190 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4192         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
4194 2002-12-08  Hans Breuer  <hans@breuer.org>
4196         * app/commands.c : fixed bug #85315 'give diagram properties, 
4197         instead of no object selected error' almost a one-liner
4199         * app/splash.c : don't make having the logo pixmap
4200         mandatory. Fixes bug #96068. 
4202         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
4203         sequence by connecting to the "delete_event"
4204         * app/objects/uml/class_dialog.c : handle "destroy" for 
4205         the same reason.
4207         * lib/libdia.def : remove diaXmlNewChild again
4209         * app/paginate_gdiprint.cpp : reflect Dia's page setting
4210         portrait/landscape in the windoze print dialog
4212         * objects/makefile.msc : only UML needs to link against
4213         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
4215 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
4217         * objects/standard/ellipse.c (ellipse_distance_from): 
4218         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
4219         correct distance function.  Could be faster, but it's not really
4220         essential. 
4222 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
4224         * lib/font.c: Changed global_size_one to more correct 28.35.
4225         Looks better, too.
4227         * app/load_save.c:
4228         * lib/dia_xml.h: 
4229         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
4230         after all.
4232 2002-12-07  Hans Breuer  <hans@breuer.org>
4234         * lib/widgets.c : g_file_get_contents() silently assumes
4235         a binary file. Reflect when creating the font_menu file
4236         to get rid of junk in font menus
4238 2002-12-06  Hans Breuer  <hans@breuer.org>
4240         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
4241         removed 0xD 0xD 0xA line ends which get created by
4242         cvs if windoze line ends 0xD 0xA are checked in from
4243         *nix and checked out on win32.
4245         * app/preferences.c : changed toolbox_on_top default to
4246         false. It is currently not possible to change the behaviour
4247         at runtime, at least not on win32.
4249         * lib/dialibartrenderer.c : bug #94791 'rendering to 
4250         bitmap without PangoFt2' got delayed to milestone future 
4251         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
4252         It is not available without my Pango patch in bugzilla.
4254         * lib/font.c : added comment to global_size_one and adapt
4255         the arbitrary size scaling in dia_font_build_layout() for
4256         win32, too. This is needed to get an acceptable font size 
4257         approximation for Dia 0.90 and earlier files.
4258         Also #include "message.h".
4260         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
4261         reflect movement of group.[hc]
4262         * lib/group.h : export group_type which gets used by app/*
4264         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
4265         to get the GtkTypeInfo definition
4267         * plug-ins/makefile.msc : dxf and xfig don't need to link
4268         against app/ anymore now that group is moved to lib/
4270         * plug-ins/python/pydia-render.c : remove massive leaking
4271         of self, i.e. PyDiaRenderer
4273         *  plug-ins/python/makefile.msc : remove linking against
4274         GTK libs
4276 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
4278         * objects/standard/line.c: Removed properties options for gaps,
4279         until release is done.
4281         * configure.in: Check for freetype version.
4283         * lib/text.c (text_insert_char): Fixed small buffer overflow for
4284         length = 0.
4286         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
4288         * app/diapsft2renderer.h: 
4289         * app/diapsft2renderer.c: 
4290         * app/diapsrenderer.h: 
4291         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
4293         * app/render_eps.c (export_eps, new_psprint_renderer): Using
4294         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
4296         * lib/properties.h: Fixed bad frame end def.
4298         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
4300         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
4301         
4302         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
4304 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
4306         * lib/font.c: Now checking for the proper dia-style standard fonts.
4308         * lib/Makefile.am: 
4309         * app/Makefile.am: Moving group.[ch]
4311         * plug-ins/dxf/dxf-import.c: 
4312         * plug-ins/xfig/xfig-import.c: 
4313         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
4315         * app/object_ops.c: 
4316         * app/object_ops.h: 
4317         * lib/object.c (object_list_move_delta, object_copy_list): 
4318         * lib/object.h: Moved some object-related functions from
4319         object_ops to object to assist moving group.c.
4321         * lib/diatypes.h: Added Group typedef.
4323         * lib/group.h: 
4324         * lib/group.c: Moved from app to lib to a) resolve plug-ins
4325         references, and b) make groups more "real" objects.
4327         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
4329 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
4331         * lib/font.c (dia_font_init): Added check that the three standard
4332         fonts exist.
4334 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4336         * lib/dia_xml.[ch]:
4337         * app/load_save.c: Linebreaks in dia files, no indentation.
4338         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
4339         this. 
4340         
4341         * objects/standard/line.c: Small but important fixes to the line
4342         gap code.
4344         * lib/dia_xml.h: 
4345         * lib/dia_xml.c (diaXmlNewChild): 
4346         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
4347         XML prettyprinting wrapper.
4349 2002-12-03  Steffen Macke <sdteffen@web.de>
4351         * shapes/Cisco/Makefile.am:
4352         * shapes/Cisco/*.shape: finished conversion of Cisco icons
4353         to *.png
4354         
4355 2002-12-02  Steffen Macke <sdteffen@web.de>
4357         * doc/en/Makefile.am:
4358         * doc/en/usage-objects.sgml:
4359         * doc/en/graphics/line_icon.png: (new) added line icon
4360         
4361 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4363         * objects/standard/line.c: Binary search object edge line gap.
4365 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4367         * configure.in: Added Cisco makefile, sorted Makefiles list.
4369         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
4371         * configure.in: Now checks for availability of PangoFT2 and
4372         FreeType, raising an error if not found.
4374         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
4375         Hans.
4377 2002-12-01  Steffen Macke <sdteffen@web.de>
4378         
4379         * doc/en/usage-loadsave.sgml: updated information on import
4380         and export formats
4381         
4382 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4384         * app/commands.c (edit_copy_callback): Freeing copy_list.
4386 2002-11-28  Steffen Macke <sdteffen@web.de>
4387         
4388         * app/render_libart.c: art_config.h was included twice
4390 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4392         * sheets/.cvsignore: More ignorance.
4394         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
4396         * lib/prop_widgets.h: Two (currently unused) settings for frame
4397         foldability.
4399         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
4400         (by default) foldable. 
4402         * lib/propinternals.h: 
4403         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
4404         widgets in a more controlled manner.
4406         * objects/standard/line.c (line_update_data): Line gap things
4407         inserted.  Can do xeyes now:)
4409 2002-11-26  Christian Neumair  <chris@gnome-de.org>
4411         * .cvsignore: Changed.
4412         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
4413         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
4414         Added.
4416 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4418         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
4420         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
4421         passing to font hash.
4423         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
4424         utf-8 or locale-convertible before adding to dialog text.  This
4425         probably needs done in a number of places where we get text from
4426         the environment and send it to GTK to display.
4428         * lib/widgets.c: Fixed case problems for font menu entries.
4430         * objects/SADT/annotation.c: Don't run the event test (but leave
4431         it here for inspiration).
4433         * lib/widgets.c: 
4434         * lib/widgets.h: Allowing setting preview text for fonts.
4436 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4438         * objects/bondgraph/Makefile.am: 
4439         * objects/bondgraph/bondgraph.c: 
4440         * configure.in: 
4441         * objects/Makefile.am: Added bond graph dir.
4443 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4445         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
4447 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4449         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
4450         positioning. 
4452         * app/diapsrenderer.c: Freetype rendering is back in force.
4454         * app/disp_callbacks.c: Added missing updates for pre-text-change.
4456 2002-11-25  David Hoover <jazzdaq@yahoo.com>
4458         * app/render_libart.c: Added missing #include line for libart.
4460         * lib/geometry.h:
4461         * lib/geometry.c: Added point_convex function.  This computes
4462         points inside a line segment (0 <= alpha <= 1) or outside the
4463         line segment (alpha < 0 | alpha > 1).
4465         * objects/standard/line.c: Line now has additional code/attributes
4466         which permit the line to extend past the line anchors (gap < 0) or
4467         leave a gap without reaching the anchor (gap > 0).  If no gap is
4468         specified, the default gap of 0 will result in identical line
4469         behavior as before.  If the 'fractional' attributes are TRUE, the
4470         gap length is not fixed, but a percentage of the line length.  I
4471         did not know how create the GTK widgets so the gap code currently
4472         cannot be used without adding XML attributes by hand.
4474 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4476         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
4478         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
4480 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
4482         * lib/font.c: Debugging functionality in separate functions.
4484         * lib/widgets.c: Using fontsel with context.
4486         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
4488         * objects/custom/custom_object.c: Orientation handling for shapes,
4489         patch thanks to Martin Hans <opfinder@gmx.net>.
4491         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
4492         work on even better orientation handling.
4494         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
4495         casting NULL pointers.  Should be unnecessary in an upcoming GTK
4496         release. 
4498 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4500         * lib/font.h:
4501         * lib/font.c:
4502         * lib/widgets.c: Now uses correct context to get font families.
4504         * lib/diagdkrenderer.c (get_text_width, draw_string): 
4505         * lib/dialibartrenderer.c (draw_string): 
4506         * lib/font.h: 
4507         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
4508         (dia_font_build_layout): Unified the twiddle factors into a use of
4509         global_size_one.  But I deeply distrust Pango for seeming to
4510         change size of fonts every time I turn my back.
4512         * app/display.c: 
4513         * app/diagram.c: 
4514         * app/menus.c:
4515         * app/menus.h: Updated some more methods to also be more specific
4516         on the types.
4518         * app/menus.h:
4519         * app/recent_files.c: 
4520         Changed to return most specific type, to avoid run-time type errors.
4522         * app/menus.c (menus_get_item_from_path): Non-gnome version now
4523         gets menu_item rather than widget, which works better.
4525 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
4527         * app/display.c: (new_display):
4528         * app/menus.c: (menus_get_item_from_path):
4529         Relying on the tearoff to locate the input methods menu wasn't a
4530         good idea: tearoffs seem to be an endangered species nowadays.
4531         Anyway, the IM menu seems to be working now.
4533         * app/interface.c: hinted the window manager that the toolbox window
4534         is a toolbox window. Not that my (fairly default configuration)
4535         sawfish cares, but other NETWM compliant WMs may.
4537         * app/commands.c: 
4538         * app/defaults.c: 
4539         * app/dia-props.c:
4540         * app/filedlg.c: 
4541         * app/interface.c: 
4542         * app/layer_dialog.c: 
4543         * app/linewidth_area.c: 
4544         * app/properties.c: 
4545         * app/sheets_dialog.c: 
4546         * app/splash.c: 
4548         The GTK doc says to avoir gtk_window_set_wmclass() and 
4549         gtk_window_set_policy(), and use gtk_window_set_role() and
4550         gtk_window_set_resizable(), respectively.
4551         
4552         * app/preferences.c: (prefs_create_dialog):
4553         * app/preferences.h:
4554         * app/display.c: (display_set_active):
4555         Added a preference to have the toolbox hover over diagram windows.
4556                 
4557 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4559         * lib/diagdkrenderer.c (get_text_width, draw_string):
4560         Freetype-based string drawing now works.  Not very fast, though.
4561         I wish I could use the graphics card for this:(  I'm doing three
4562         bitmap loops where I should be doing one.  The size is not correct
4563         either, despite having get_text_width give the right thing.
4565 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
4567         * app/connectionpoint_ops.c (diagram_update_connections_object):
4568         Allows more than one connectionpoint on an object to be moved at a
4569         time (bug #96306).
4571 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
4573         * configure.in: Added cs to ALL_LINGUAS.
4575 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4577         * app/paginate_psprint.c: Removed unnecessary decl of autosave
4578         stuff.
4580         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
4582         * app/export_png.c (export_png_ok): Saving more variables from the
4583         evil setjmp.
4585 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
4587         * lib/dialibartrenderer.c (begin_render):
4588         (end_render): Correct pushing and popping of font contexts.
4589         (draw_string): Double zooming eliminated, strange twiddle factor
4590         introduced (grumble).  Close to working now, but there are still
4591         strange differences from font to font.  In particular, some fonts
4592         really mess with the cursor and extents.
4594         * app/render_eps.c (export_eps): 
4595         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
4596         Fixed file closing confusion, no longer dependent on PS/EPS.
4598         * app/diagram.c (diagram_place_down_selected) 
4599         (diagram_place_up_selected): Now implemented.
4601         * lib/font.c (dia_font_init): 
4602         * lib/font.h: 
4603         Redesigned the font init/context pushing code.  Start of fix for
4604         font name differences.
4605         
4606 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
4608         * app/sheets_dialog_callbacks.c: Fix a typo.
4609         
4610 2002-10-15  Hans Breuer  <hans@breuer.org>
4612         * app/diapsrenderer.[hc] : (new files, old content :-)
4613         simple base class for post script rendering. Does neither 
4614         use Pango/FT2 nor does it handle non latin1 characters. 
4615         The fancy stuff which nowadays appears to be needed should 
4616         probably be done in derived class(es)
4618         * app/makefile.msc app/Makefile.am : added new files
4620         * app/paginate_psrint.c : re-enabled and used as test
4621         for the simple ps renderer above.
4623         * app/render_eps.[hc] : ripped out common ps code and
4624         moved to DiaPsRenderer. The rest of the file is mostly
4625         disabled. And I don't understand enough of it to 
4626         change port it.
4628         * app/diaepsrenderer.h : short lived, removed.
4630 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4632         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
4633         as a plugin (thanks to Torben Nielsen).
4635 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4637         * app/diaepsrenderer.h: 
4638         * app/render_eps.h: 
4639         * app/paginate_psprint.c: 
4640         #ifdef'd out enough ps stuff to allow compile.  Now we just need
4641         to convert it.
4642         
4643 2002-10-12  Hans Breuer  <hans@breuer.org>
4645         [last plug-in ported]
4647         * plug-ins/xfig/xfig-export.c : ported to new renderer api
4649         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
4650         scale color values to [0..1.0] to properly reconstruct
4651         user colors
4653         * plug-ins/xfig/xfig-common.c : some cleaning
4655 2002-10-12  Hans Breuer  <hans@breuer.org>
4657         [decrease inter-plug-in-dependencies]
4659         * objects/custom/shape_info.[hc] : move parse_style()
4660         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
4661         the related structs and constants.
4662         * objects/custom/custom_object.c : reflect namespace
4663         changes
4665         * lib/dia_svg.[hc] : new files
4666         * lib/makefile.msc lib/Makefile.am : add new files
4667         * lib/libdia.def : updated externals
4669         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
4671         * plug-ins/svg/svg.c : enable svg import for win32 (and
4672         probably for other non ELF builds)
4674         * plug-ins/makefile.msc : enable svg import
4676 2002-10-11  Hans Breuer  <hans@breuer.org>
4678         * plug-ins/metapost/render_metapost.[hc] : ported
4680         * plug-ins/pstricks/render_pstricks.[hc] : dito
4682 2002-10-11  Hans Breuer  <hans@breuer.org>
4684         * plug-ins/cgm/cgm.c : ported, appears to work as before,
4685         but graphic apps available to me can't import the generated 
4686         files (the could not with Dia-0.90 cgm as well) ...
4688         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
4689         Removed all those function which did emulate 'complex' 
4690         drawing ops with basic ones (e.g. rect by line) cause this
4691         stuff is already provided by the base class
4692         * plug-ins/dxf/dxf-import.c : removed render.h include
4694         * plug-ins/python/pydia-font.[hc]
4695           plug-ins/python/pydia-text.c : finally ported to new font api
4697         * plug-ins/python/pydia-layer.c : add extra parameter
4698         to layer_find_closest_connectionpoint()
4700         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
4702         * plug-ins/python/python.c : added missing copyright notice
4704         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
4705         actually use the renderers set_font implementation
4707         * plug-ins/renderer.inc : unused now, removed
4708         * plug-ins/Makefile.am : reflect it
4710 2002-10-08  Hans Breuer  <hans@breuer.org>
4712         * app/render_gdk.c : don't add the InteractiveRenderer
4713         interface multiple times (it's added to the type, not
4714         the object)
4715         * app/render_libart.c : dito. It's currently added
4716         unconditional cause eport_png uses it, but claims
4717         to be non-interactive. Probably set_size should be moved
4718         to the DiaRenderer interface.
4720         * lib/dialibartrenderer.c : add implementations for
4721         get_<width|height>_pixels. Libart rendering works again.
4722         DiaLibartRenderer::draw_image : use dia_image_rowstride()
4723         instead of width*3
4725         * lib/diatransform.c(dia_transform_coords_double) :
4726         don't ROUND() the returned values
4728         * plug-ins/pixbuf/pixbuf.c : added import function. It
4729         simply creates a wrapping "Standard - Image" object.
4731         * plug-ins/shape/shape-export.c : use the more direct
4732         method to call base class methods
4734 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4736         * lib/font.c (dia_font_init): Changed dia_font_init to return old
4737         pango context, to allow stacked contexts (for printing while
4738         antialiased).
4739         
4740         * lib/arrows.h
4741         * lib/bezier_conn.h
4742         * lib/beziershape.h
4743         * lib/boundingbox.h
4744         * lib/color.h
4745         * lib/connection.h
4746         * lib/connectionpoint.h
4747         * lib/create.h
4748         * lib/dia_image.h
4749         * lib/diagdkrenderer.h
4750         * lib/diagramdata.h
4751         * lib/dialibartrenderer.h
4752         * lib/diamenu.h
4753         * lib/diarenderer.h
4754         * lib/diasvgrenderer.h
4755         * lib/diatransform.h
4756         * lib/element.h
4757         * lib/filter.h
4758         * lib/focus.h
4759         * lib/font.h
4760         * lib/geometry.h
4761         * lib/handle.h
4762         * lib/neworth_conn.h
4763         * lib/objchange.h
4764         * lib/object.h
4765         * lib/orth_conn.h
4766         * lib/paper.h
4767         * lib/plug-ins.h
4768         * lib/poly_conn.h
4769         * lib/polyshape.h
4770         * lib/properties.h
4771         * lib/ps-utf8.h
4772         * lib/sheet.h
4773         * lib/text.h
4774         * lib/textattr.h
4775         * lib/widgets.h
4776         * lib/diatypes.h
4777         Moved all externally visible struct typedefs into diatypes.h, as
4778         per Hans' suggestions.
4780 2002-10-07  Steffen Macke <sdteffen@web.de>
4782         * lib/Makefile.am: removed a '\' causing problems
4784 2002-10-07  Hans Breuer  <hans@breuer.org>
4786         [Libart Renderer resurrected; almost it's compiling but
4787          almost instantly crashing :-]
4789         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
4790         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
4791         * lib/diatransform.[hc] : added dia_transform_coords_double()
4793         * app/display.c : the right parameters for new_renderer_libart()
4794         * app/export_png.c : ported, removed the blind Display hack
4796         * app/makefile.msc lib/makefile.msc 
4797           lib/Makefile.am : updated
4799         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
4801 2002-10-06  Hans Breuer  <hans@breuer.org>
4803         * plug-ins/pixbuf/pixbuf.c : (new file)
4804         there is a new export plug-in called 'Pixbuf' which uses 
4805         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
4806         formats (currently only PNG and JPEG).
4808 2002-10-06  Hans Breuer  <hans@breuer.org>
4810         See also: 
4811         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
4813         * lib/dia-enums.h lib/diatransform.[hc]
4814           lib/diarenderer.[hc] lib/diainteractiverenderer.c
4815           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
4816         : new files 
4818         * lib/makefile.msc lib/makefile.am : added new files
4820         * lib/plug-ins.c : g_module_error() returns a locale
4821         string, convert to utf8 before further usage 
4823         * lib/render.h : #error out. Everything including this
4824         needs porting
4825         * lib/*.[hc] : ported to new renderer api
4827         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
4828         just to make the rest compile
4829         * app/render_eps.c : temporary disabled all of this
4830         * app/render_eps.h : removed RendererEPS
4832         * app/render_gdk.[hc] : a small wrapper around the new
4833         DiaGdkRenderer form lib/*
4835         * app/render_libart.h : removed RenderLibart definition
4836         * app/render_libart.c : not yet ported to new DiaRenderer
4837         but having an implementation to untie form FT2 dependency
4838         at least on win32. It is using new Pango api form bug #94791
4840         * app/render_pixmap.[hc] : a small wrapper around the new
4841         DiaGdkRenderer form lib/*
4843         * app/display.h : removed render_*.h includes
4844         * app/display.c : the only place where specific 
4845         renderers need to be known
4847         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
4848         use new DiaInteractiveRenderer interface
4850         * app/*.c : ported to new renderer api
4851         * object/*/*.c : ported to new renderer api
4852         s/render.h/diarenderer.h/
4853         s/Renderer/DiaRenderer/
4854         s/renderer->ops/renderer_ops/
4855         add in every draw method:
4856         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
4858         * plug-ins/hpgl/hpgl.c : 
4859           plug-ins/wmf/wmf.cpp 
4860           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
4861         * plug-ins/shape/shape-export.c
4862           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
4863           (nice how small these files became :-)
4865 2002-09-28  Hans Breuer  <hans@breuer.org>
4867         * */makefile.msc : updated
4869         * app/defaults.c : don't gdk_invalidate_rect(NULL)
4870         * app/disp_callbacks.c : 
4871         can't cast GtkWindow to GdkWindow, use shell->window
4872         (ddisplay_unrealize) don't use already unrefed im_context
4873         * app/display.c :
4874         can't cast from GtkMenu to GtkMenuItem
4875         (ddisp_destroy) : mark im_context as unrefed
4877         * lib/dia_xml (data_font) : prefer new font format over old one
4878         (data_add_font) : write the legacy name to allow file exchange
4879         with pre Pango versions of Dia, which would otherwise crash 
4880         on missing font 'name' attribute.
4881         * lib/font.c (dia_font_get_legacy_name) : improved implementation
4882         to get a better match.
4884         * lib/libdia.def : updated
4886         * lib/messages.c : don't gdk_widget_show(NULL)
4888         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
4890         [make Dia compile, link _and_ work with mingw/gcc3.2]
4892         * config.h.win32 : #define LIBXML, this gets defined from libxml
4893         header but only for _MSC_VER. The mingw build did access an 
4894         unitialized function pointer for xmlFree.
4896         * */makefile.mingw : updated (some plug-ins have build issues)
4897         
4898         * lib/handle.h lib/object.h :   there appears to be no 
4899         forward declaration of the form 
4900                 typedef enum _HandleId HandleId 
4901         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
4902         use of enum `_HandleId' without previous declaration
4904         * app/paginate_gdiprint.cpp : added a hack to avoid g++
4905         naming conflict on 'export'
4907         * app/paginate_gdiprint.h : forward declare Diagram
4909         * objects/SADT/annotaion.c : use g_random_double()
4911 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4913         * app/modify_tool.c: Made motion not happen until sufficiently
4914         large or past double-click interval, to avoid accidental moving
4915         when doubleclicking.  Got the double-click time right, and fixed
4916         some issues with release.  There are some corner cases that may
4917         exhibit strange behaviour, will look at those later.  Nah, let's
4918         not care about those, they are rare and not dangerous.
4920 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
4922         * app/layer_dialog.c: 
4923         * app/load_save.c: 
4924         * plug-ins/dxf/dxf-import.c: 
4925         * plug-ins/python/pydia-diagram.c: 
4926         * lib/diagramdata.c:
4927         * lib/diagramdata.h:
4928         Improved the consistency of the obj->parent_layer backlinks (esp.
4929         during reloads)
4931         * lib/Makefile.am:
4932         * lib/dummy_dep.h:
4933         * lib/dynamic_obj.[ch] (NEW):
4934         * app/Makefile.am:
4935         * app/app_procs.c: 
4936         * app/dynamic_refresh.[ch] (NEW):
4937         * objects/Misc/analog_clock.c: 
4938         Added support for dynamic refresh (animated objects).
4939                 
4940 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
4942         Patch from Owen Taylor <otaylor@redhat.com>:    
4943         * doc/en/Makefile.am:
4944         * doc/en/dia-manual.sgml:
4945         * doc/en/usage-objects.sgml:
4946         * doc/en/usage-quickstart.sgml:
4947         * doc/pl/Makefile.am:
4948         * doc/pl/dia-manual.sgml:
4949         * doc/pl/usage-objects.sgml:
4950         * doc/pl/usage-quickstart.sgml:
4952         - Change the DTD declration from an outdated GNOME one to a
4953         standard DTD.
4954         
4955         - Remove close tags for <graphics> which aren't allowed for
4956         docbook SGML
4957         
4958         - A hacky fix for a problem where some versions of db2html don't
4959         create *.css files. (If *.css doesn't match anything, then you get
4960         the global explicitely.)
4962         (Closes: #92061)
4963         
4964 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
4966         * objects/custom/custom_object.c: 
4967         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
4968         were never properly prepared for use when reloading a shape with
4969         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
4970         reporting the problem and coming up with a fix! (Closes: #93974)
4972         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
4973         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
4975         * app/menus.c:
4976         * app/display.c: updated menu item paths Alan's patch had moved.
4977         
4978         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
4979         load the sheet-provided icon (libpng versions mismatch, grrr.).
4980         
4981         * configure.in:
4982         * objects/Makefile.am:
4983         * objects/Misc/Makefile.am (NEW):
4984         * objects/Misc/libmisc.c (NEW):
4985         * objects/Misc/analog_clock.c (NEW):
4986         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
4987         * sheets/Misc.sheet.in: just a little experiment...
4989 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
4991         * plug-ins/xlst/Makefile.am: found a way to silence automake while
4992         not forcing everyone to build using libxslt.
4994         * lib/font.c: 
4995         * lib/message.c:
4996         * lib/object_defaults.c:
4997         * lib/intl.[ch]:
4998         * lib/render.c:
4999         * lib/properties.[ch]:
5000         * lib/propobject.c:
5001         * objects/standard/box.c: 
5002         * objects/UML/state_term.c:
5003         * objects/FS/box.c:
5004         * objects/FS/flow-ortho.c:
5005         * app/app_procs.c:
5006         * app/autosave.c:       
5007         * app/commands.c:
5008         * app/diagram_tree.c:
5009         * app/display.c:
5010         * app/disp_callbacks.c:
5011         * app/export_png.c:
5012         * app/filedlg.c:
5013         * app/lineprops_area.c:
5014         * app/menus.c:  
5015         * app/preferences.c:
5016         * app/render_eps.c:     
5017         * app/sheets.c:
5018         * app/sheets_dialog_callbacks.c:
5019         * plug-ins/xslt/xslt.c:
5020         * plug-ins/metapost/render_metapost.c:
5021         * plug-ins/xfig/xfig-export.c:
5022         * plug-ins/shape/shape-export.c:
5023         
5024         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
5025         unused variables, mostly)
5027         * app/display.c:
5028         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
5030         * app/Makefile.am: modified run_dia.sh so that we recover the
5031         ability to run a debugger despite libtool's hacks.
5033         * plug-ins/dxf/Makefile.am: 
5034         * app/Makefile.am
5035         "make distcheck" fixes.
5036         
5037 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5039         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
5040         <mfranzoni@madd.it>:  Check for the type being NULL.
5042 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5044         * app/render_eps.c (set_font): Re-tweaked font size for printing.
5046 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
5048         Patch from Angus Ainslie <angusa@deltatee.com>:
5049         * plug-ins/dxf/dxf-import.c:
5050         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
5052         (plus a couple extra fixes by me, such as the removal of printf's,
5053         adapting for recent changes, and killed a couple warnings) 
5055         * app/authors.h: a 60K patch isn't insignificant, is it?
5056         
5057 2002-09-09  Tor Lillqvist  <tml@iki.fi>
5059         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
5060         as before) and -lfreetype (using AC_CHECK_LIB). At least on
5061         Solaris with Sun's compiler (Forte C), you need to link also the
5062         dia application with -lfreetype, even if it is implicitly linked
5063         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
5064         which is what they actually mean. Use FREETYPE_LIBS for
5065         -lfreetype.
5067         Don't look for libsunmath if isinf() is not found in math.h (as on
5068         Solaris). The sunmath library is part of Forte C and not present
5069         on all machines. Besides, even if isinf was found in libsunmath,
5070         we didn't use it in the Makefile.am.
5071         
5072         Fix a couple of bashisms.
5074         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
5075         too, on Solaris with Forte C.
5077         Don't try to use the gcc flags with other compilers.
5078         DIA_CHECK_CFLAG gives a false indication that Forte C understands
5079         the gcc -f switches, but in fact they get interpreted meaning
5080         something completely different.
5082         Define the automake conditional HAVE_CGC.
5083         
5084         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
5086         Use -export-dynamic only with gcc.
5088         * */Makefile.am
5089         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
5090         PANGOFT2_CFLAGS rename.
5092         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
5093         
5094         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
5095         Solaris.
5097         * lib/paper.c: Workaround for gccism: Can't use inline this way with
5098         Forte C, either.
5100 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
5102         * lib/text.c(set_string): fixed a memory leak (char* ain't no
5103         std::auto_ptr<char> !).
5105         * app/display.[ch]:
5106         * app/interface.[ch]:
5107         * app/ddisp_callbacks.[ch]: Added some basic support for input 
5108         methods (GtkIMContext-based)
5110         * lib/Makefile.am:
5111         * app/Makefile.am: made libdia a shared object (per Tor
5112         Lillqvist's suggestion/request), to cope for platforms with a less
5113         than par dynamic library loader.
5115         * app/display.c: disabled the input method menu (I really don't
5116         see where and how to put them. Blame Frozen Bubble )
5117         
5118 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5120         * objects/flowchart/box.c (box_update_data): Made resizing
5121         possible again (only set width & height when resized too small).
5123         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
5125         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
5126         GdkScrollEvents.
5127         
5128 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
5130         * app/authors.h: now showing Akira TAGOH's name in the native script.
5132 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5134         * plug-ins/xslt/xslt.c: Removed glib warning for unset
5135         DIA_PLUGIN_PATH.
5137 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
5139         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
5140         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
5141         sweep flag in arcs.
5143 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5145         * objects/UML/class.c: Fixed showing of empty stereotypes and got
5146         the string placed correctly.
5148 2002-08-30  Hans Breuer  <hans@breuer.org>
5150         * lib/font.c (dia_font_get_style) : don't shift already
5151         shifted DIA_FONT values.
5153         * lib/libdia.def : updated externals
5155         * app/disp_callbacks.c : on win32 GdkEventKey::string already
5156         is in UTF-8. (Longterm this probably should be handled on the
5157         gtk api level)
5159         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
5160         switch display renderers again. The libart renderer is very 
5161         useful for win9x with it's limited GDI.
5163         * app/render_gdk.c : use g_warning instead of printf which gets
5164         nowhere on win32 (non console apps)
5166         * app/render_libart.c : make it compile without FREETYPE
5168         * objects/makefile.msc plug-ins/makefile.msc : added clean target
5170 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5172         * app/render_eps.c (postscript_draw_contour): Debugging statement
5173         that allowed me to figure out font problems.
5175         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
5176         items for font styles.
5178         * objects/FS/flow-poly.c: 
5179         * objects/FS/flow-ortho.c: 
5180         * objects/FS/flow.c: Further conversion away from GTK dialogs.
5181         Can't set a default label right now:(
5183         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
5185 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
5186         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
5188         * Makefile.am: rules relating to AUTHORS and THANKS
5189         altered.
5190         * AUTHORS: file content changed to more accurately
5191         reflect guideline requirements.
5192         * TODO: warning added about Gnome BTS.
5193         * KNOWN_BUGS: warning added about Gnome BTS.
5195         ---
5197         * AUTHORS: added full copyright info.
5198         * mkauthors-placeholder: (removed) 
5199         
5200 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5202         * app/paginate_psprint.c (print_page): Fixed text printing after
5203         tip from Dov Grobgeld.
5205 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5207         * app/paginate_psprint.c (print_page): Fixed color of clip
5208         region.
5210 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
5212         * sheets/Makefile.am: enabled intltool-merge translation cache for
5213         sheets.
5215         * Makefile.am:
5216         * mkauthors-placeholder:
5217         * AUTHORS: revived that file (in a placeholder form) so that
5218         automake stops yelling.
5219         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
5220         (Closes: #91144)
5222         Heh, by the way, thanks Christophe. I feel better now.
5223         
5224 2002-08-25  Christophe Merlet  <christophe@merlet.net>
5226         * app/command.c: Removed invalid multibyte sequence in Chepelov.
5228 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5230         * lib/dia_image.c (dia_image_rgb_data): 
5231         Bugfixes in image data retrieval.
5232         
5233         * app/render_eps.c: Refactoring of new_*_renderer.
5235 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5237         * app/render_eps.c: 
5238         * lib/dia_image.h: 
5239         * lib/dia_image.c: Support for rowstride != width (odd width images)
5241 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
5243         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
5244         * plug-ins/xfig/xfig-import.c: Removed assertion.
5246 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5248         * lib/paper.c: Removed app/preferences.h reference.
5250 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5252         * plug-ins/svg/svg-import.c: 
5253         * plug-ins/xfig/xfig-import.c: 
5254         * lib/Makefile.am (libdia_a_SOURCES): 
5255         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
5256         * lib/create.h:
5257         * objects/standard/create.h:
5258         * objects/standard/polygon.c (polygon_create): 
5259         * objects/standard/polyline.c (polyline_create): 
5260         * objects/standard/beziergon.c (beziergon_create): 
5261         * objects/standard/bezier.c (bezierline_create): 
5262         Moving create.h into lib.
5264 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5266         * app/render_libart.[ch]: Work on PNG font export.  Something's
5267         still fishy with the scaling, I don't get it.
5269         * app/display.c: 
5270         * app/interface.c: Replaced broken zoom combo with entry+menu.
5271         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
5273         * app/render_gdk.c (get_text_width): Checks for validity of text.
5274         Temporary help while debugging input -- should only activate on
5275         invalid input.
5277         * objects/SADT/annotation.c: 
5278         * objects/GRAFCET/transition.c: 
5279         * objects/FS/function.c: Removal of gtk.h include.
5281         * objects/UML/state.c (state_load): Warnings about using State
5282         object for initial/final states.
5284         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
5286 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5288         * app/render_eps.c: Text rendering that scales correctly.  Too bad
5289         the standard fonts don't get selected right.
5291 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
5293         * lib/diagramdata.h: 
5294         * lib/paper.c (get_paper_info): 
5295         * lib/paper.h: 
5296         * plug-ins/xfig/xfig-import.c: 
5297         Committed before testing.  I am so embarrased.  This compiles, now
5298         that the includes are in the right order.
5299         
5300         * app/diagram.c (diagram_init): 
5301         * app/app_procs.c (do_convert): 
5302         * app/preferences.h: 
5303         * lib/diagramdata.h: 
5304         * lib/diagramdata.c (new_diagram_data): 
5305         * lib/paper.h: 
5306         * lib/paper.c (get_paper_info): 
5307         Moved new_diagram part of prefs into lib/diagramdata.h.  More
5308         could be done in new_diagram_data() now.
5310 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5312         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
5314 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
5316         * configure.in: removed silly user-visible comment
5318         (actually, this is a dummy entry before I manually run nemo; for
5319         some dist-upgrade related reason, this morning's run aborted before
5320         the snapshots were created)
5321         
5322 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5324         * objects/network/wanlink.c: 
5325         * objects/network/bus.c: 
5326         stdprop compliance!
5328         * objects/custom/custom_object.c: 
5329         * objects/network/wanlink.c: 
5330         * objects/flowchart/parallelogram.c: 
5331         * objects/flowchart/ellipse.c: 
5332         * objects/flowchart/diamond.c: 
5333         * objects/flowchart/box.c: 
5334         Removed GTK defaults stuff.
5335         
5336         * objects/UML/fork.c: 
5337         * objects/UML/object.c: 
5338         * objects/UML/lifeline.c: 
5339         * objects/UML/branch.c: 
5340         * objects/GRAFCET/transition.c: 
5341         * objects/FS/function.c: Removed GTK include.
5343         * objects/FS/flow-ortho.c: 
5344         * objects/FS/flow.c: Made the label behave again.
5345         Also removed GTK defaults stuff.
5347 2002-08-06  Hans Breuer  <hans@breuer.org>
5349         * app/autosave.c : ported to GDir which is the improved
5350         cross platform replacement for <dirent.h>
5352         * app/makefile.msc : build autosave.obj
5354         * app/font.c : some (bad?) code calls 
5355         dia_font_scaled_decent() not only with empty string but 
5356         with NULL. Handle it gracefully.
5358         * lib/paper.c : don't depend on ../app. Although IMO
5359         this shouldn't be allowed on any platform it is only
5360         disabled for win32, where it simply doesn't work
5361         this way
5363         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
5365         * objects/fs/flow.c : conditionalize debug spew, disabled
5366         and 'ported' to use g_print. Simple printf won't work with
5367         standard win32 gui apps, may even crash them.
5369         * plug-ins/makefile.msc : DISABLED svg-import cause it
5370         depends on ../objects/custom. This not only break the
5371         build for all non ELF systems but IMO also isn't acceptable
5372         from a design point of view. See dia-list mail on subject.
5374         * plug-ins/python/makefile.msc :
5375           plug-ins/python/python.c : remove all references to dirent    
5377 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
5379         * configure.in: added ro to ALL_LINGUAS
5381         * po-checktrans:
5382         * po-checktrans.py:
5383         * ../translation-graphs/transgraph.py: added support for fuzzy
5384         translations. Enlarged the graphs.
5386 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5388         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
5389         key events according to locale.  No clue if this works for
5390         advanced stuff.
5392 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5394         * lib/text.c: Various UTF8 related fixes, in particular in
5395         deleting.  Text_insert_char is fine, far as I can tell.
5397         * app/interface.c (create_display_shell): 
5398         * app/commands.c: Now uses gtk_clipboard functions, for they are
5399         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
5400         don't seem to get handled correctly by text_insert_char in
5401         lib/text.c.
5402         
5403         * app/commands.c (received_selection_handler): Got utf8 handling
5404         on paste, and individual char handling out of commands.c.  Pasting
5405         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
5407         * lib/message.c (gtk_message_internal): Message dialog re-shown
5408         when new message appears.  Maybe it should even move to top?
5410         * lib/font.c: 
5411         * lib/widgets.c: 
5412         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
5413         (again) and case-insensitive.
5415         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
5416         BASIC_SANS_FONT. 
5418 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5420         * app/commands.c (edit_cut_text_callback): 
5421         * lib/text.c (text_delete_all): Now functioning undo for text cut.
5422         
5423         * app/commands.c (edit_cut_text_callback): Now removes text.
5424         Undo is broken, though.
5426 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5428         * app/diagram.c (diagram_update_menu_sensitivity): 
5429         Making cut_text active.
5430         
5431         * app/commands.h: 
5432         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
5433         clipboard.  Also removed AA callback.   
5435 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5437         * objects/chronogram/chronoref.c: 
5438         * objects/chronogram/chronoline.c: 
5439         * objects/SADT/annotation.c: 
5440         * objects/SADT/arrow.c: 
5441         * objects/SADT/box.c: 
5442         * objects/GRAFCET/vergent.c: 
5443         * objects/GRAFCET/vector.c: 
5444         * objects/GRAFCET/step.c: 
5445         * objects/GRAFCET/condition.c: 
5446         * objects/GRAFCET/action.c: 
5447         * objects/ER/participation.c: 
5448         * objects/ER/relationship.c: 
5449         * objects/ER/entity.c: 
5450         * objects/ER/attribute.c: 
5451         Removing unnecessary GTK references.
5453 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5455         * objects/standard/image.c: 
5456         * objects/standard/textobj.c: 
5457         * objects/standard/ellipse.c: 
5458         * objects/standard/polygon.c: 
5459         * objects/standard/beziergon.c:
5460         * objects/standard/box.c: 
5461         Making default default properties.
5462         
5463         * objects/standard/image.c: 
5464         * objects/standard/arc.c: 
5465         * objects/standard/box.c: 
5466         * objects/standard/zigzagline.c: 
5467         * objects/standard/polyline.c: 
5468         * objects/standard/line.c: 
5469         * objects/standard/ellipse.c: 
5470         * objects/standard/polygon.c: 
5471         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
5473         * lib/object_defaults.c (dia_object_default_create): 
5474         * lib/proplist.c: 
5475         * lib/properties.h: 
5476         * lib/object.c (object_copy_using_properties): 
5477         * lib/propdialogs.c: 
5478         * lib/propinternals.h: 
5479         * lib/propobject.c (object_create_props_dialog)
5480         (object_copy_props): 
5481         Removing the standard (toolbox) properties from defaults dialogs.
5483 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5485         * lib/font.c (dia_font_scaled_string_width) 
5486         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
5487         zoom factor.
5488         * lib/text.c (text_calc_boundingbox): Take descent into account.
5490         * objects/standard/bezier.c (bezierline_draw): 
5491         * lib/render.c (draw_bezier_with_arrows): 
5492         Better arrow drawing for beziers.  Doesn't change the mouse-click
5493         area either.
5495         * lib/arrows.h: Some const-ness.
5497         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
5499         * lib/render.c (draw_arc_with_arrows): 
5500         * objects/standard/arc.c (arc_draw): Better arrow drawing for
5501         arcs.  Doesn't change the mouse-click area yet.
5503         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
5505         * lib/render.h: 
5506         * lib/render.c: 
5507         Arc arrow prework.
5509 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5511         * app/group.c (group_draw): Forgotten commit: Groups to draw as
5512         objects (using default routines).
5514         * app/object_ops.h: 
5515         * app/diagram.h: 
5516         * lib/diagramdata.h: 
5517         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
5518         * objects/standard/zigzagline.c (zigzagline_move_handle): 
5519         * app/diagram.c (diagram_find_closest_connectionpoint): 
5520         * plug-ins/python/pydia-diagram.c
5521         (PyDiaDiagram_FindClosestConnectionPoint):
5522         * app/object_ops.c (object_connect_display) 
5523         (object_find_connectpoint_display) 
5524         * app/create_object.c (create_object_button_press) 
5525         (create_object_motion): 
5526         * app/modify_tool.c (modify_motion): 
5527         Adding object param to allow connectionpoint and handle coinciding.
5529         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
5530         Fixing minor problems.
5532         * objects/standard/ellipse.c (ellipse_update_data): 
5533         Added direction hints.
5535         * lib/diagramdata.c: 
5536         * lib/object.c: 
5537         * lib/object.h: 
5538         * lib/diagramdata.h: 
5539         * objects/standard/zigzagline.c: 
5540         First working example of zigzagline hints, currently only between
5541         Box and Zigzagline.
5543 2002-07-27  Steffen Macke <sdteffen@web.de>
5545         * plug-ins/svg/render_svg.c: added support for rounded
5546         rectangles (fixes #69053 if compile with
5547         -DNEW_RENDER_OPS)
5548         * object/custom/shape_info.[c|h]: made parse_style and
5549         parse_path accessible for svg plug-in
5550         * plug-ins/svg/Makefile.am:
5551         * plug-ins/svg/svg.c:
5552         * plug-ins/svg/svg-import.c(new): added SVG import filter
5554 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5556         * objects/standard/box.c: 
5557         * objects/standard/zigzagline.c (zigzagline_move): 
5558         More work on zigzagline hints.
5560 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5561         * lib/connectionpoint.h: 
5562         Hints for zigzaglines.
5564         * app/properties.c (properties_show): 
5565         * app/defaults.c (defaults_show): 
5566         * lib/properties.h: 
5567         * lib/propobject.c (object_create_props_dialog): 
5568         * lib/object.h: 
5569         * objects/FS/flow-poly.c: 
5570         * objects/network/wanlink.c: 
5571         * objects/network/bus.c: 
5572         * objects/UML/class.h: 
5573         * objects/UML/class_dialog.c: 
5574         * objects/UML/association.c: 
5575         Start of removing toolbox props from props dialogs.
5576         
5577         * lib/widgets.c: 
5578         * lib/arrows.h: 
5579         * app/lineprops_area.c (dia_arrow_chooser_new): 
5580         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
5582         * app/create_object.c: 
5583         * app/modify_tool.c: 
5584         * app/cursor.h: 
5585         * app/cursor.c: 
5586         More cursor change.
5588 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5590         * app/preferences.c: 
5591         * lib/paper.c: 
5592         * app/diapagelayout.c: 
5593         New prefs selector kind PREF_CHOICE chooses between a list of
5594         strings.  Used for picking default paper.
5595         
5596         * app/preferences.c (prefs_data): 
5597         * lib/paper.c (get_paper_info): Added prefs setting for
5598         is_portrait.
5600         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
5601         line segments at the ends (bug #86603).
5603 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5605         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
5606         #60324: Now calls update_data after copy.
5608         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
5609         Now doesn't steal selection from non-object tools.
5611 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5613         * app/commands.c (help_manual_callback): Uses BROWSER environment
5614         variable when available.
5616 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5618         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
5619         object from the new sheet when changing.
5621         * app/app_procs.c (app_init): Uses more standard size icon, from
5622         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
5624 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5626         * objects/UML/implements.c (implements_update_data): 
5627         * objects/UML/realizes.c (realizes_update_data): 
5628         * objects/UML/dependency.c (dependency_update_data): 
5629         Test for null strings before calling on ascent.
5631         * objects/UML/realizes.c (realizes_draw): 
5632         * objects/UML/message.c (message_draw): 
5633         * objects/UML/generalization.c (generalization_draw): 
5634         * objects/UML/dependency.c (dependency_draw) 
5635         * objects/UML/constraint.c (constraint_draw): 
5636         * objects/GRAFCET/condition.c (condition_draw): 
5637         * objects/UML/association.c (association_draw): 
5638         * objects/FS/flow-ortho.c (orthflow_draw): 
5639         * objects/FS/flow.c (flow_draw): Change to use
5640         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
5642         * lib/render.h: 
5643         * lib/arrows.c (calculate_arrow_point): 
5644         * lib/arrows.h: 
5645         * lib/render.c: 
5646         * objects/standard/zigzagline.c:
5647         * objects/standard/polyline.c:
5648         * objects/standard/line.c: Work towards better arrow drawing.
5650 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5652         * objects/UML/state.c: Starting phase-out of State object as
5653         initial/final state (which never worked right).
5655         * app/app_procs.c (app_init): --version command line option for
5656         non-Gnome.
5658         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
5660 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5662         * app/render_eps.c: Removed debugging info.
5664         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
5665         Kludge to make ascent and descent work for empty strings.  Won't
5666         work when using non-ASCII fonts.  Better would be to get a
5667         PangoFont and ask directly.
5669         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
5670         of the init stuff.
5672         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
5673         Cursor now better.
5675 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5677         * plug-ins/xfig/xfig-export.c: First use of draw_object render
5678         function: All shapes are now groups in XFig export.
5680         * lib/diagramdata.c (normal_render): 
5681         * lib/render.c: 
5682         * lib/render.h: 
5683         * app/display.c (ddisplay_obj_render): 
5684         New render function for drawing objects, allows renderers to group
5685         or otherwise specially handle objects.  We may want to reconsider
5686         calling it in app/display.c, as we 'know' the object draw function
5687         is the default one there.
5689         * lib/Makefile.am: Removed extra \ that broke stuff.
5691         * plug-ins/xfig/xfig-import.c: 
5692         Spline import for xfig.  Not perfect.
5694         * objects/standard/create.h: 
5695         * objects/standard/bezier.c (bezierline_create): 
5696         * lib/bezier_conn.c: 
5697         * lib/beziershape.c (beziershape_set_points): 
5698         * lib/bezier_conn.h: 
5699         * lib/beziershape.h: 
5700         Support for creating beziers non-interactively.
5702 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5704         * plug-ins/xfig/xfig-import.c: Support for polygons and
5705         polylines.  Special warning handling system removed.
5707         * lib/message.c (gtk_message_internal): Fixed bug involving
5708         closing message window and then getting repeated message.
5710         * Makefile.am: 
5711         * autogen.sh: 
5712         * configure.in (GETTEXT_PACKAGE): 
5713         Update based on bug #88199.  Hopefully this doesn't break too much
5714         intl stuff.
5716         * dia.desktop.in (_Comment): Changed after suggestion from
5717         calum.benson@ireland.sun.com (bug 88345)
5719         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
5720         <loli@unsa.edu.ar> that makes user/system distinction better.
5722 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5724         * app/render_libart.c: Got the context right, removed crashes.
5726         * app/commands.c: 
5727         * app/commands.h: 
5728         Redraw menu item.
5730         * app/display.c: 
5731         * app/display.h: 
5732         * app/interface.c: 
5733         * app/menus.c: 
5734         Remove libart #defines from most places (still around for png export).
5736         * app/render_libart.h: 
5737         * app/render_libart.c: 
5738         * configure.in (HAVE_LIBART): 
5739         Starting on update of libart stuff for png export (without X).
5741         * app/autosave.h (autosave_check_autosave): 
5742         * app/load_save.h: 
5743         * app/diagram.h: 
5744         * app/Makefile.am (dia_core_files): 
5745         * app/load_save.c: 
5746         * app/diagram.c (diagram_set_modified): 
5747         * app/autosave.c: 
5748         * app/app_procs.c (app_init): 
5749         Autosave support.  No automatic restore yet.
5751 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5753         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
5754         assignment. 
5755         
5756 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5758         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
5760 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
5762         * Fix for 'make dist' etc. --- problem caused by
5763         previous AUTHORS patch.
5765 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5767         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
5768         pango_context. 
5769         (set_font): NULL check.
5770         
5771 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5773         * app/disp_callbacks.c: 
5774         * lib/diamenu.h: 
5775         Addition to the object menus allows check menu items.
5777 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
5779         * HACKING: completely changed to bring up-to-date.
5780         * AUTHORS: file needs REMOVING from CVS as now
5781           dynamically generated.
5782         * app/authors.h: split into subcategories for original
5783           authors, maintainers, etc.
5784         * app/app_procs.c: --credits rewritten to support new
5785           app/authors.h
5786         * app/commands.c: no changes to about box code, comment
5787           added though.
5788         * Makefile.am: added rule for AUTHORS. I'm still
5789           inexperienced with automake, it seems to work, but
5790           for AUTHORS-related bugs, look at this change first.
5792 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5794         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
5795         work.  Back to including xslt dir always.
5797         * objects/UML/uml.c: 
5798         * objects/UML/class.h: 
5799         * objects/UML/class_dialog.c: 
5800         * objects/UML/class.c: Patch from
5801         <mattam@netcourrier.com>:  Adds comment visibility switch, also
5802         fixes various bugs.
5804         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
5805         for state/fork/activity stuff.
5806         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
5807         * objects/UML/Makefile.am:
5808         * objects/UML/uml.c:
5809         * sheets/UML.sheet.in: Added new objects activity, fork,
5810           state_term.
5811         * objects/UML/pixmaps/state_term.xpm:
5812         * objects/UML/state_term.c: New, only initial/final states.
5813         * objects/UML/pixmaps/activity.xpm:
5814         * objects/UML/activity.c: New, activity state.
5815         * objects/UML/pixmaps/fork.xpm:
5816         * objects/UML/fork.c: New, fork/join bar.
5817         * objects/UML/pixmaps/state.xpm: state icon.
5819         
5820         * doc/diagram.dtd: 
5821         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
5822         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
5823         svg:text to shape.
5825 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5827         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
5828         detecting XSLT
5830         * app/Makefile.am: Commented out the diaconv parts while it's not
5831         used anyway.  To come back later.
5833         * configure.in (HAVE_FREETYPE): 
5834         * app/app_procs.c: 
5835         * app/render_eps.h: 
5836         * app/render_eps.c: Support for printing with freetype, better
5837         encapsulated now.  Renders the text nicely, but ignores font
5838         setting.  Requires pangoft2 to get the font outline, but non-text
5839         objects can still be rendered without it.
5841         * app/commands.h: 
5842         * app/commands.c (objects_place_up_callback) 
5843         (objects_place_down_callback): 
5844         * app/diagram.h: 
5845         * app/diagram.c (diagram_place_down_selected) 
5846         (diagram_place_up_selected): Starting support for moving objects
5847         one level up/down.
5849         * app/menus.c: Removed character/numeral shortcuts.
5851 2002-07-06  Hans Breuer  <hans@breuer.org>
5853         * makefile.am app/makefile.am lib/makefile.am
5854           objects/makefile.am plug-ins/makefile.am 
5855           plug-ins/python/makefile.am :
5856         added required files for win32 build to EXTRA_DIST
5858         * app/paginate_psprint.c app/render_eps.c 
5859           app/app_procs.c :
5860         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
5861         on Pango as currently is on win32 => no PostScript 
5862         anymore.
5864         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
5865         use '/* noop */;' for empty case labels; replace
5866         debug spew printf with g_print which is guaranteed 
5867         to work on win32, too.
5869         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
5870         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
5871         in the pango_font_description_set_weight() api documentation
5872         Take care for them in dia_font_get_style() too.
5874         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
5875           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
5876         rename Obliquity to Slant which appears to be the usual name,
5877         also rename dia_font_get_style_string -> dia_font_get_slant_string
5879         * plug-ins/wmf/wmf.cpp : finally ported to new font api
5881         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
5883         * objects/uml/association.c class.c large_package.c message.c
5884         if g_free() is used g_strdup needs to be used.
5885         * objects/custom/shape_info.c
5886           objects/ER/attribute.c entity.c
5887           objects/standard/image.c 
5888           app/sheets_dialog_callbacks.c : more strdup cleaning
5890 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5892         * app/render_eps.c: Non-crashing printing (made the right
5893         context).  Font output still fscked up.
5895 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
5897         * app/authors.h: Added file --- now master
5898         location for contributors data.
5899         * app/app_procs.c: Added --credits option.
5900         * app/commands.c: Modified about box to use
5901         app/authors.h.
5903 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
5905         * app/render_eps.c: First stab at EPS rendering using the contour
5906         code from PAPS.  Crashes.
5908 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5910         * app/recent_files.c (recent_file_history_remove): 
5911         Fixed call to g_list_delete_link discarding return value.
5912         
5913         * lib/widgets.c (dia_font_selector_set_styles): 
5914         * lib/font.h (DiaFontWeight): 
5915         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
5917 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
5919         Contribution from Alan Horkan <horkana@tcd.ie>: 
5920         
5921         * shapes/Assorted/*
5922         * sheets/Assorted.sheet:
5923         A set of 40 assorted geometric shapes.
5925         * sheets/Assorted.sheet.in:
5926         * sheets/Makefile.am
5927         * shapes/Assorted/Makefile.am:
5928         * shapes/Makefile.am:
5929         * po/POTFILES.in:
5930         * configure.in:
5931         Done the integration job of Alan's shapes. (Translators: have fun!)
5933         * po/dia.pot: refreshed the main potfile.
5934         
5935 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
5937         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
5938         
5939         * objects/UML/class.[ch]:
5940         * objects/UML/class_dialog.c:
5941         changed the number of connection points from a hardcoded value of
5942         8 to a #defined constant
5944         (I changed the constant back from 20 to 8, until we better know
5945         how we'll handle more connection points on the UML class in the
5946         future -- but Tim's patch is a welcome clean-up).
5948 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
5950         * shapes/MSE/demultiplexer.xpm:
5951         * shapes/MSE/node_center.xpm:
5952         * shapes/MSE/multiplexer.xpm:
5953         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
5954         Horkan <horkana@tcd.ie>
5956 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5958         * lib/widgets.c: Total rehash of font selector, with font dialog
5959         option, expanding list (not LRU yet), and stuff.
5961 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
5963         * lib/font.h:
5964         * lib/font.c: 
5965         Added a set of new setter/getters, some of them more specially for
5966         the SVG-ish I/O.
5967         
5968         * plug-ins/shape/shape-export.c: (new_shape_renderer),
5969         (destroy_shape_renderer), (set_font), (draw_string):
5970         * plug-ins/svg/render_svg.c: (new_svg_renderer),
5971         (destroy_svg_renderer), (set_font), (draw_string):
5973         Actually exported the font face, style, weight and size (sodipodi
5974         agrees with dia on how a small sample should look like (a sample
5975         0.90 would not even display anyways). Yay !)
5977         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
5979         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
5981         (end of ChangeLog-less patch)
5983         * objects/custom/shape_info.c (parse_style): now understands the
5984         font-style and font-weight attributes as well. Does not use
5985         anymore dia_font_new_from_legacy_name().
5986         
5987 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5989         * objects/standard/textobj.c: Now uses stdprops for defaults.
5991         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
5992         * lib/font.c (dia_font_get_style): Style now linear and conversion
5993         simple. 
5995         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
5996         selector. 
5998 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
6000         * plug-ins/dxf/dxf-import.c:
6001         using dia_font_new_from_style()
6003         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
6005         * objects/UML/class.[ch]: Added a comment field to class
6006         * objects/UML/uml.[ch]: Added a comment field to attributes,
6007         operations and parameters.
6008         * objects/UML/class_dialog.c: Added code for the new comment
6009         fields.
6010         * plug-ins/xslt/*.xsl: Added some code to handle comments.
6011         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
6012         Added a $directory parameter for stylesheets so the output is 
6013         in the good place (not in the $PWD).
6015         (end of Patch)
6017         * AUTHORS: added contributors, updated maintainers. Removed the
6018         specific areas of action.
6020         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
6021         from a patch by Xing Wang <quixon@gnuchina.org>:
6023         * app/commands.c: help_about_callback now supports
6024         new-style GNOME about box as well as old GTK style. 
6025         code also tidied (Closes: #85726)
6027         (end of Patch)
6029         * app/commands.c: fixed the copyright (it's not all FSF), and
6030         maintainers. Synced contributors list with AUTHORS.
6031                 
6032 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6034         * lib/message.c: More work on repeating messages, now with
6035         togglable view.
6037 2002-06-24  Hans Breuer  <hans@breuer.org>
6039         * lib/widget.c : some more bits in place, at least
6040         it does something useful instead of crashing. Much
6041         better - but not all ok :-)
6043 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6045         * lib/message.c (gtk_message_internal): First stab at repeating
6046         message dialog.
6048 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6050         * objects/FS/*.c:
6051         * objects/GRAFCET/*.c:
6052         * objects/SADT/*.c:
6053         * objects/UML/association.c: (one instance forgotten)
6054         * objects/UML/large_package.c: 
6055         * objects/standard/textobj.c:
6056         * lib/attributes.c:
6057         * lib/text.c:
6058         using dia_font_new_from_style()
6060 2002-06-23  Hans Breuer  <hans@breuer.org>
6062         * lib/font.c : giving some love to
6063         dia_font_new_from_legacy_name() that is making
6064         import of old files as painless as possible and
6065         provide an almost exact match where possible.
6066         It does not yet fully work because it interfers
6067         with the Style to DiaStyle conversion which comes
6068         next ...
6070         [Changing these files is only allowed with Dia-0.90]
6071         * broken-files/fonts-0.90.dia : including the
6072         common hard-coded fonts from Dia-0.90. It also
6073         has drawn bounding-boxes for win32 as they were calculated
6074         from the former version (they were all too big).
6075         * broken-files/fonts-0.90-full.dia : all hardcoded
6076         fonts including the asian versions. On my machine
6077         this gives _a lot_ complaining about missing fonts
6078         and a finally a broken file display. Anyone having
6079         all these fonts ?
6080         
6081 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6083         * objects/chronogram/*.c: 
6084         * objects/custom/custom_object.c:
6085         * objects/ER/*.c:
6086         using dia_font_new_from_style()
6088 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6090         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
6091         font selector (stability, insensitivity).
6093         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
6094         stretching scheme for tweaking, and made scaling scheme faster
6095         (but less precise).
6096         (dia_font_dia_style_to_pango): Oops, % != /.
6098 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
6100         
6101         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
6103         * plug-ins/xslt : Added an XSLT plugin to export dia files using
6104         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
6105         It includes a small config file to tell it what stylesheets to use.
6107         (end of patch)
6108         
6109         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
6110         GTK2.0/HIG compliant (the labels could be slightly more verbose,
6111         perhaps). Added back a couple forgotten _(). Removed //-style
6112         comments.
6113         
6114 2002-06-23  Hans Breuer  <hans@breuer.org>
6116         * lib/plug-ins.c
6117         (dia_plugin_get_name) : don't crash plugin_manager
6118         on name being NULL 
6119         (dia_plugin_load) : reuse the description field to
6120         store the error string if loading fails.
6122         * lib/font.[hc] : starting to beautify the new
6123         font api: proper namespacing, adding convenience
6124         functions like dia_font_new_from_style(), ...
6126         * objects/uml/*.c : use the new convenience functions.
6128         [Next thing I plan to do is changing the other font
6129          functions to take DiaStyle and make Style and 
6130          BASIC_*_FONT vanish. As well as giving some love to
6131          dia_font_new_from_legacy_name().
6132          If anyone want's to help on converting the other
6133          objects to the new api during that, I would highly 
6134          appreciate it.]
6136 2002-06-23  Hans Breuer  <hans@breuer.org>
6138         * lib/font.c : made it compile and small indent fixes.
6139         Is there a code-has-no-effect-so-needs-not-be-valid
6140         with GCC?       
6142         * lib/widgets.c : use g_strcasecmp
6144 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6146         * lib/font.c: 
6147         * lib/font.h: 
6148         * lib/widgets.c: Font names sorted, style selector widget
6149         reappeared.  Doesn't select the old style yet.
6151 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
6153         * lib/font.c: one who expects a text's font to be changed shall 
6154         actually request the attributes to apply to the whole range of the
6155         said text... D'oh! 
6157         * lib/font.c: extents computation was wrong.
6159         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
6160         if a last NULL parameter is added...
6162         * lib/font.c: extents computation was completely wrong. This looks
6163         much better this time.
6165         * objects/UML/class.c: fixed the various strings positions.
6167         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
6168         macros to get the hardcoded base fonts.
6170         * objects/ER/relationship.c: wasn't converted to DiaFont*
6171         
6172 2002-06-22  Hans Breuer  <hans@breuer.org>
6174         * lib/widget.c : dont use backend specific functions
6175         to get on the font_families. Including it would mean
6176         including <windows.h> which breaks due to namespace
6177         pollutions ...
6179         * lib/libdia.def : updated externals
6181         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
6183         * lib/font.c : added empty dia_font_init_instance function,
6184         reformatting of dia_fon_unref to allow to set breakpoint,
6185         dia_fon_build_layout() : dont crash on string==NULL
6187         * lib/text.c (text_set_attributes) : don't unref the wrong font
6189         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
6190         stores lowercased font names, but dia_font_get_family()
6191         returns mixed case      
6193 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6195         * lib/widgets.c: 
6196         * app/render_gdk.c: Patch from Hans Breuer.
6198         * app/Makefile.am (dia_core_files): diaconv commented out for now.
6199         
6200 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
6202         * lib/all files touched yesterday: took into account some of Hans
6203         Breuer's remarks in
6204         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
6206         * objects/chronogram/*: 
6207         * objects/custom/*:
6208         * objects/ER/*:
6209         * objects/flowchart/*:
6210         * objects/FS/*:
6211         * objects/GRAFCET/*:
6212         * objects/SADT/*:
6213         * objects/standard/textobj.?:
6214         * objects/UML/*:
6215         converted to the new DiaFonts.
6217         * plug-ins/cgm/*:
6218         * plug-ins/pstricks/*:
6219         * plug-ins/wpg/*:
6220         * plug-ins/dxf/*:
6221         * plug-ins/xfig/*:
6222         Made minimalistic conversions so that they'd at least compile.
6224         * app/render_gdk.c:
6225         * app/render_pixmap.c:
6226         Converted to the new DiaFonts.
6228         * app/app_procs.c
6229         * app/diaconv.c:
6230         * app/render_eps.c:
6231         made the minimal changes so that it would at least build.       
6233         *** At this point, the thing builds on my machine, but segfaults
6234         right away. ***
6235         
6236 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
6238         * configure.in: removed the backend-specific pango pkg_modules
6239         (trivial to add back if needed, when actually needed)
6241         * app/Makefile.am:
6242         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
6243         renderer. The APIs will have completely changed when we get around
6244         to redo a renderer for it, anyways.
6246         * font.[ch]: rewrote everything from scratch, with a Pango
6247         implementation. Normally, only backend-neutral things should go in
6248         there.
6250         **WARNING**: new rules for managing DiaFont* pointers: these are
6251         reference-counted GObjects. One >must< diafont_ref() and
6252         diafont_unref() as appropriate. I wish I could overload operator=()...
6254         lib/plug-ins.h: bumped up the plug-in API.
6255         
6256         lib/attributes.c: 
6257         lib/dia_xml.c: 
6258         lib/dummy_dep.h
6259         lib/object_defaults:
6260         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
6261         again tomorrow with GObject.
6262         
6263         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
6265         **** The rest of the tree should be updated as well ****
6266         
6267 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6269         * app/render_gdk.h: 
6270         * app/render_gdk.c: 
6271         * app/render_pixmap.c: 
6272         * app/render_pixmap.h: 
6273         * app/render_libart.h: 
6274         * app/render_libart.c: 
6275         * lib/font.h: 
6276         * lib/font.c: Removed freetype stuff (still around in
6277         lib/widgets.c 'cause we might want the font selector widget).
6279 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
6281         * shapes/network/laptop.(xml|shape):
6282         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
6283         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
6285 2002-06-17  Hans Breuer  <hans@breuer.org>
6287         * lib/object_defaults.c : #include <libxml/tree.h> not
6288         <tree.h> pointed out by Xing Wang
6290 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6292         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
6293         * lib/widgets.c: 
6294         * app/color_area.c: Update to
6295         gtk_color_selection_*_current_color() fixed bad crash issues, plus
6296         updated color conversions.
6298         * sheets/ER/weakentity.xpm: Accepted patch from
6299         quixon@gnuchina.org to make icon match actual appearance.
6301         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
6302         quixon@gnuchina.org.
6304 2002-06-16  Hans Breuer  <hans@breuer.org>
6306         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
6307         good tradition of information hiding. Add new function
6308         dia_plugin_get_symbol()
6309         * app/sheets.c app/sheets_dialog_callbacks.c : use it
6311         * app/sheets.c : stop complaining about object_get_type() 
6312         returning NULL. This is a consequence of e.g. disabling 
6313         plug-ins at runtime _and_ it was and is gracefully handled. 
6314         Spitting out g_warning for it isn't appropriate. 
6316         * lib/object.[ch] : removed dead code
6318         * app/plugin-mangager.c : almost complete rewrite for gtk2
6319         using GtkListStore/GtkTreeView
6321         * lib/libdia.def : updated externals
6323         * todo.gtk2 : updated, that is removed already done steps
6325 2002-06-15  Hans Breuer  <hans@breuer.org>
6327         * objects/uml/class_dialog.c : clean some left-over
6328         utf8-mess, return 0 from "focus_out_event" handlers
6329         to avoid asserting in gtk (#78305). Reconstruct 
6330         stereotype/NULL behaviour to avoid rendering empty
6331         stereotypes on classes and member functions
6333         [#56109 - Provide object defaults for StdProp objects,
6334          some remaining issues are discussed in bugzilla]
6336         * lib/object_defaults.c : (new file) manage default properties 
6337         of dia objects. The serialization is done with standard
6338         object methods in a diagram compatible format.
6340         * lib/object.c : add object_registry_foreach() which allows
6341         to iterate over all registered object types
6343         * lib/object.h : added prototypes object_default*() and
6344         object_registry_foreach()
6346         * lib/makefile.am lib/makefile.msc : add new file to build
6348         * lib/libdia.def : export new functions
6350         * app/defaults.c : provide StdProp based defaults if the
6351         ObjectType doesn't implement it's own default functions
6353         * app/create_object.c : through dia_object_default_create()
6354         * app/disp_callbacks.c : same here
6356 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6358         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
6359         sensitivity for deleting segments.
6361 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
6363         * app/color_area.c: (color_area_events):
6364         * app/diagram.c: (diagram_destroy):
6365         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
6366         (fill_sheet_menu):
6367         * app/load_save.c: (diagram_data_load):
6368         * app/menus.c: (menus_get_item_from_path):
6369         * app/preferences.c: (prefs_load):
6370         * app/render_gdk.c: (get_text_width):
6371         * lib/arrows.h:
6372         * lib/color.c: (color_convert):
6373         * lib/dia_dirs.c: (dia_config_filename):
6374         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
6375         * lib/intl.c: (intl_get_language_list):
6376         * lib/message.c: (message):
6377         * lib/message.h:
6378         * lib/paper.c: (get_default_paper):
6379         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
6380         * lib/widgets.c: (dia_file_selector_get_file):
6381         * lib/widgets.h:
6382         * objects/standard/image.c: (get_directory):
6384         warningectomy.
6385         
6386 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6388         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
6390 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6392         * app/interface.c: sscanf now returns EOF on empty string, so
6393         handle no match for zoom factor better => correct zoom at start.
6395         * app/sheets.c (create_object_pixmap): Tried to display empty error.
6396         (sheets_optionmenu_create): Died when not finding specified
6397         sheet.  Don't think it should.
6399         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
6400         (bug #84367) to place the text better.
6402 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
6404         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
6405                         
6406         * app/commands.c: Removed unnecessary gnome include. Removed
6407         GNOME-Print support.
6409         * app/menus.h: Removed now unnecessary gnome include.
6410         
6411         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
6412         GNOME-specific stock buttons
6413         
6414 2002-06-09  Hans Breuer  <hans@breuer.org>
6416         * app/app_procs.c : convert 'Modified diagrams exits'
6417         dialog to use GtkMessageDialog. That gives us:
6418         - icons without Gnome dependency
6419         - much less code, also cross platform
6420         - improved useability ?
6422         * app/color_area.c : the Color Selection Widget looked
6423         quite wrong (alpha problems). Fix it by merging in required
6424         changes stolen from The Gimp cvs
6425         * app/color_area.h : to get the right appearance the maskes
6426         needed to be taken into account
6427         * app/interface.c : adapt to color_area_create changes.
6428         Also remove some dead code and finally remove cvs autexpansion, 
6429         I was bothered enough by irrelevant differences :-)
6431         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
6432         api, i.e stocks and response to make the GnomeDialog usage
6433         obsolete. Also fixed the issue with closing the 'parent'
6434         before closing the dialog
6436         * app/display.[ch] : removed some dead code and conversion
6437         to new GtkDialog api. Also trying to conform to new HIG
6438         standard http://developer.gnome.org/projects/gup/hig/
6440 2002-06-09  Hans Breuer  <hans@breuer.org>
6442         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
6443         build ps-utf8.c
6445         * lib/dia_image.c : gtk_widget_set_default_visual()
6446         remove. It does nothing with Gtk2.
6448         * lib/libdia.def : added ps_unicoder exports
6450         * lib/message.c : remove #GNOME use GtkMessageDialog.
6451         Yeah, Dia gets dialogs wit icons cross-platform.
6453         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
6454         to gtk_spin_button_get_value()
6456         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
6458         add #undef GTK_DISABLE_DEPRECATED to still use ...
6459         * lib/prop_text.c :  ... GtkText
6460         * lib/prop_widgets.c : ... GtkList
6461         * lib/prop_dialogs.c : ... gtk_signal_connect and more
6462         * lib/widgets.c : ... (too much to list here)
6464         * lib/ps-utf8.c : #include <string.h>
6466 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
6468         * configure.in:
6469         * Makefile.am:  Adapted for gtk2.
6470         Removed dependencies on libunicode, on iconv(), on langinfo().
6472         * acconfig.h: removed (now obsolete)
6474         * lib/charconv.[ch]: removed (superceded by glib)
6475         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
6477         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
6478         libunicode types for their glib counterparts. Fixed the include
6479         paths for libxml2. Removed all traces of libxml1 or non-UTF8
6480         support (there were remains in objects/uml).
6482         
6483 2002-06-08  Hans Breuer  <hans@breuer.org>
6485         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
6486         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
6487         Also use g_strdup()'s handling of NULL by returning NULL
6488         again at all places I found (remove unnecessary if's)
6490         * todo.gtk2 : new file to keep notes about gtk2 porting,
6491         further issues and thoughts and some status information.
6492         Also sent to dia-list ('Dia goes Gtk2 ...').
6493         
6494         [make it compile with GTK+ 2.0]
6496         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
6497         removed definition of S_ISDIR, S_ISREG and getlogin
6499         * */makefile.msc : Use GTK2 and libxml2
6500         BEWARE: makefile.am, configure.in not yet ported !
6502         * app/app_procs.c app/diagram.c : remove 
6503         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
6504         but set use gtk_menu_set_accel_path() on menu creation
6506         * app/color_area.c lib/widgets.c : 
6507         make use of gtk_color_selection_set_has_palette ()
6509         * app/commands.c : gdk_pixbuf_new_from_file wants an 
6510         extra argument. Convert from DIR to GDir usage.
6512         * app/diagram_tree.c(button_press_callback) : need to return 
6513         FALSE in the signal handler to let gtk process it further.
6514         (get_object_name) : don't leak 'prop'
6515         
6516         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
6517         dia_page_layout_destroy() getting called more than once
6519         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
6520         GtkTypeInfo changes
6522         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
6524         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
6525         IIRC this code will not compile unchanged when USE_XIM is defined ...
6527         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
6529         * app/interface.c : there is no widget->klass anymore in Gtk, 
6530         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
6531         parameter. Some tweaking of GtkWrapBox usage to get four tools in
6532         a row again.
6533         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
6534         get triple buffering and flicker.
6535         Replace call to GTK private function _gtk_accel_group_attach()
6536         with public gtk_window_add_accel_group()
6538         * app/layer_dialog.c : adapt to GtkTypeInfo changes
6540         * app/load_save.c lib/plug-ins.c lib/sheet.c 
6541           objects/custom/custom.c : 
6542         simplified by using g_file_test()
6544         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
6545         to gtk_accel_map_<save|load>. Also added common stock-icons
6546         to the menu.
6547         
6548         * app/preferences.c : use gtk_button_set_label() instead
6549         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
6551         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
6552         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
6553         in config.h.win32
6555         * app/recent_files.c : removed GLIB_CHECK_VERSION
6557         * app/render_eps.c 
6558           plug-ins/metapost/render_metapost.c
6559           plug-ins/pstricks/render_pstricks.c
6560           plug-ins/svg/render_svg.c :
6561         replace getlogin() with g_get_user_name() which always
6562         returns non NULL
6564         * app/render_gdk.c : gdk_region_union_with_rect() modifies
6565         inplace now and returns nothing, also less #hell
6567         * app/render_libart.c : some initial #hell cleaning, SuckFont
6568         still needs to vanish
6570         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
6571         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
6573         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
6574         * app/sheets_dialog_callbacks.c : some #hell and adaptions
6575         needed to GtkWrapBox api changes
6578         * lib/charconv.[hc] : removed from build
6579         [changed appropriate]
6580         * lib/prop_inttypes.c lib/prop_text.c : 
6581         all utf-8 cleaning 
6582         * lib/text.c : ported from HEAD but keep original indent
6583         intact. Original was done by Akira TAGOH.
6585         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
6587         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
6589         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
6590         same on all platforms now!
6592         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
6594         * lib/message.c : remove "charconv.h"
6596         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
6598         * lib/plug-in.c :
6599         * lib/sheet.c : convert from DIR to GDir usage
6601         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
6603         * lib/widgets.h : include gtk<label|colorseldialog>.h
6606         * objects/fs/flow.c :
6607         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
6609         * objects/custom/custom.c : convert from DIR to GDir usage
6612         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
6615 2002-05-03  Hans Breuer  <hans@breuer.org>
6617         * lib/dia_xml.c : make the well formed utf8 check
6618         actually work for &#251; (non 7-bit ascii encoding)
6619         and fixed the file re-writing if the check fails.
6620         Thanks to Vitaly Lipatov for noticing the misbehaviour.
6622         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
6623         comment on last ressort font. Thanks to Maxim Sobolev.
6625 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
6627         * sheets/network.sheet.in: corrected a typo in plotter invocation.
6629 2002-06-03  Steffen Macke  <sdteffen@web.de>
6631         * shapes/network/digitizing_board.png:
6632         * shapes/network/digitizing_board.shape:
6633         * shapes/network/plotter.png:
6634         * shapes/network/plotter.shape:
6635         * shapes/network/Makefile.am
6636         * sheets/network.sheet.in: added new plotter and digitizing
6637         board shapes
6638         
6639 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
6641         * lib/font.c: made a symptomatic fix to a segfault reported by 
6642         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
6643         won't prevent dia from terminating, but should give more
6644         user-friendly information about why did it terminate.
6646         Two patches from <robert.young@dsto.defence.gov.au>:
6647         
6648         * app/display.c: fix the size of the canvas area which gets
6649         redrawn. There was an off-by one error (Closes #83659)
6651         * app/display.c: make sure we redraw all screen only when we
6652         really have to (some update_areas were mistakenly ignored) (Closes
6653         #83496). 
6655         * NEWS: added a new entry for the future. Put there a reminder to
6656         update the dependencies.
6658         * configure.in: put in notes about what will change shortly.
6659         upped the version to 0.90+cvs (did also in config.h.win32)
6660         upped the minimum version for intltools (now 0.21)
6661         
6662 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
6664         * dia.spec:
6665         * configure.in:
6666         * NEWS:
6667         * config.h.win32:
6668         bumped up version number to 0.90. Yay!
6670 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
6672         * doc/pl/Makefile.am:
6673         * doc/en/Makefile.am: fixed a "make install" problem when db2html
6674         is not present (Reported by Andrew Ferrier
6675         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
6676         problem which prevented me from ever seeing the problem in doc/en...
6677         
6678         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
6679         
6680         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
6681         way to read the font path from the XFS configuration files in
6682         order to enable FreeType (fixes #83098).
6684         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
6685         shipped nowadays.
6686                 
6687         * dia.spec:
6688         * configure.in:
6689         * NEWS:
6690         * config.h.win32:
6691         bumped up version number to 0.90.RC3
6693 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
6695         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
6696         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
6697         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
6698         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
6699         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
6700         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
6701         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
6702         Added Polish documentation.
6704 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
6706         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
6707         format for the UML State object. Now there's a hack to reload
6708         older files, and get them converted on the fly. 
6709         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
6711         * lib/properties.h:
6712         * lib/propobject.c:
6713         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
6714         and adapter the proplist predicates. A LOAD_ONLY property is for
6715         when you have legacy to support but can't resist moving your
6716         fields around... (was needed to support the above state.c fix).
6718         If the in-core of your object changes and you need a LOAD_ONLY
6719         property for the old format, you must keep some spare room in your
6720         object's struct to accomodate for the potential old-style
6721         attributes. Then in foo_load(), after having called
6722         object_load_using_properties(), you must inspect the old-style
6723         fields and act accordingly. Don't ever change the on-disk formats...
6725         * objects/UML/object.c:
6726         * objects/UML/small_package.c: added a check against empty
6727         stereotypes still consuming space. Reported by Dolores Alia de
6728         Saravia <loli@unsa.edu.ar>. Thanks!     
6729         
6730 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
6732         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
6733         using libtool on an AFS partition.
6735         * po/update_potfiles_in.sh: now simply calls the recent intltools 
6736         features; they work better than hand-crafted half-ignorant
6737         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
6738         for the tip.
6740         * po/POTFILES.in: added back two files update_potfiles_in.sh
6741         didn't take into account. Now this file is not automatically
6742         generated anymore!      
6743         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
6744         (the usual suspects, in fact).
6746         * configure.in: improved the isinf() / isfinite() detection on
6747         Solaris (MÃ¥rten Svantesson)
6748         
6749 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
6751         * configure.in: one expression was replacing $CFLAGS, removing
6752         whatever was previously in.
6753         Added more checks for isinf() and finite() on Solaris.
6755         * lib/geometry.h: added a macro defintion for isinf() if not
6756         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
6757         on Win32)
6759         * app/commands.c: "cut" did not set the 'modified' bit (paste has
6760         been for a little while). Fixes #82994.
6762         * Makefile.am: added more stuff to distclean-local. This should make
6763         "make distcheck" pass! Thanks to the author of
6764         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
6765         ... I wonder who this Henstridge guy is ... ;-)
6766         Darn. Still doesn't pass. I give up for tonight.
6767         
6768         * po/update_potfiles_in.sh: updated to take care of sheet files,
6769         and to filter out the EML plug-in.
6770         * po/POTFILES.in: updated with all .c and all .sheet.in files 
6772         * po/dia.pot, po/*.po: again updated all .po files with all
6773         strings (with the updated POTFILES). Now with the up-to-date
6774         POTFILES, just all languages have some fuzzy or untranslated
6775         strings (not that the 100% team was that large beforehand...)
6777         * po-checktrans: removed the comment about .po files not holding
6778         all translatable stuff, since now they do.
6779         
6780 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
6782         * dia.spec:
6783         * configure.in:
6784         * NEWS:
6785         * config.h.win32:
6786         bumped up version number to 0.90.RC2
6788 2002-05-20  Hans Breuer  <hans@breuer.org>
6790         * app/load_save.c : starting to increase
6791         Dias tolerance on incomplete/broken files. The 
6792         corresponding bug is #56233. But the patch there does
6793         neither apply anymore nor does it really fix the problem
6794         but only delays it, e.g. even if it would be allowed
6795         to read a file without any layers, the later code can't
6796         handle it.
6797         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
6798         handle passing in NULL for the node gracefully.
6800         * shapes/network/printer.shape : added two more connection
6801         points - one at each side - to fix bug #60359
6803         * app/commands.c (edit_copy_callback) : 
6804         add ddisplay_do_update_menu_sensitivity() to make 
6805         sequence select-copy-paste work.
6807 2002-05-20  Hans Breuer  <hans@breuer.org>
6809         * app/create_object.c (create_object_button_press) :
6810         added a call to ddisplay_do_update_menu_sensitivity()
6811         to make Ctrl^D etc work after object creation. 
6812         Fixes #80983.
6814 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6816         * objects/ER/entity.c: 
6817         * objects/ER/attribute.c: 
6818         * objects/ER/relationship.c: Patch to allow text size change from
6819         Celso Tetsuo Nagase Suzuki.
6821 2002-05-18  Steffen Macke <sdteffen@web.de>
6823         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
6824         libxml2)
6825         * doc/en/graphics/greendots.png:
6826         * doc/en/home_network.png:
6827         * doc/en/line_props.png: 
6828         * dia-diagram.png:
6829         * dia_gnome_icon.png:
6830         * dia_gnome_menu_icon.png:
6831         * dia_logo.png:
6832         * shapes/network/telephone.png:
6833         * shapes/Logic/and.png:
6834         * shapes/Logic/buffer.png:
6835         * shapes/Logic/connector.png:
6836         * shapes/Logic/inverter.png:
6837         * shapes/Logic/nand.png:
6838         * shapes/Logic/nor.png:
6839         * shapes/Logic/not.png:
6840         * shapes/Logic/or.png:
6841         * shapes/logic/xor.png:
6842         * samples/ER-demo.dia:
6843         * samples/SADT.dia:
6844         * samples/UML-demo.dia:
6845         * samples/chronograms.dia:
6846         * samples/grafcet.dia: re-added as binary files
6848 2002-05-17  Hans Breuer  <hans@breuer.org>
6850         * lib/libdia.def : reflect removing of render_store.[ch]
6852         * */makefile.mingw : remove VERSION definition it's
6853         done in config.h.win32. Dia still doesn't work if
6854         build with mingw ...
6856         * RELEASE-PROCESS : removed */makefile.mingw
6858         * app/sheets_dialog_callbacks.c : if we use those
6859         ugly charconv_gtk_* functions lib/charconv.h needs to
6860         be #included ...
6861         * lib/charconv.h : ... and needs to contain the 
6862         necesseray prototypes _and_ #defines
6864         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
6865         is deprecated and does nothing but spit a warning. This broke
6866         the shape format writing. Fixed.
6867         Also with libxml2 pretty formatted xml isn't the default
6868         anymore, but needs to be enabled explicit: It is done now 
6869         for shape files, which almost always needed to be edited by
6870         hand ... 
6872         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
6873         from stderr - which is invalid on Dia/win32 - to g_print -
6874         which opens up a console window if necessary. This way
6875         a xml-deprecation-error shouldn't stay unnoticed next time
6877 2002-05-17  Steffen Macke <sdteffen@web.de>
6879         * shapes/Misc/folder.png:
6880         * shapes/Misc/file.png: re-added as binary files
6881         
6882 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6884         * lib/font.c: Fixed segfault for fonts without family_name.
6886 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
6888         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
6890         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
6891         Lars' request, minor cosmetic stuff (mostly _() of human-readable
6892         XML comments in .sheet files; one translator booby-trap disarmed).
6894         * lib/charconv.c: moved #hell inside the body of the new
6895         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
6896         will yell)
6897         
6898 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6900         * plug-ins/wpg/Makefile.am (INCLUDES): 
6901         * plug-ins/shape/Makefile.am (INCLUDES): 
6902         * plug-ins/svg/Makefile.am (INCLUDES): 
6903         * plug-ins/pstricks/Makefile.am (INCLUDES): 
6904         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
6905         and DEBUG_CFLAGS in some missing places.
6907         * MAINTAINERS: New file containing list of known package
6908         maintainers. 
6910         * lib/charconv.h: 
6911         * lib/charconv.c: Charconv versions of some common gtk calls.
6913         * app/sheets_dialog_callbacks.c
6914         (on_sheets_new_dialog_button_ok_clicked),
6915         (on_sheets_dialog_button_edit_clicked),
6916         (on_sheets_dialog_button_remove_clicked),
6917         (on_sheets_edit_dialog_button_ok_clicked):
6918         * app/sheets.c (sheets_optionmenu_create),
6919         (sheets_optionmenu_create): Added utf8 translations.
6921         * app/sheets_dialog.c: 
6922         * app/sheets.c: 
6923         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
6925 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
6927         * po/POTFILES.in: added app/sheets_dialog.c
6929 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
6931         * lib/charconv.c: (charconv_local8_to_utf8),
6932         (charconv_utf8_to_local8): tweaked the warnings to get more 
6933         informations
6934         * lib/font.c: (font_get_suckfont): handled a potential case of
6935         uninitialised data being used (just paranoid)
6936         
6937         * objects/GRAFCET/boolequation.c: (opstring),
6938         (opblock_get_boundingbox), (opblock_draw),
6939         (boolequation_calc_boundingbox): some extra hoops needed now dia
6940         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
6941         symbols can't yet be used with their proper Unicode cells, since
6942         gtk will demand them in the Symbol font, expressed in the local
6943         8-bit encoding.
6944         
6945         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
6946         the fix just above).
6948 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6950         * app/diagram_tree.c (get_object_name): Check that name property
6951         doesn't have null string.
6953 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6955         * autogen.sh (DIE): Added conditional --force to gettextize.
6957         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
6958         function call.
6960 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
6962         * RELEASE-PROCESS: added James' notes on how to properly make the
6963         tarball.
6965         * configure.in: removed macro nesting related to libpng.h, which
6966         was causing some problems on some systems (like mine, which made
6967         the snapshots bad).
6969         Made --enable-unicode, previously an option, the mandatory case.
6971         * app/Makefile.am: updated EXTRA_DIST
6972         
6973         * NEWS:
6974         * app/makefile.mingw:
6975         * dia.spec:
6976         * doc/en/dia-manual.sgml:
6977         * plug-ins/makefile.mingw:
6978         * configure.in: bumped up the version number to 0.90.RC1
6980         * lib/render_objects.[ch]:
6981         * po/POTFILES.in: removed render_objects from the build.
6983         * plug-ins/Makefile.am:
6984         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
6985         so we keep its source in the tarball.
6987         * objects/network/*.c, Makefile.am:
6988         * objects/sybase/*.c, Makefile.am:
6989         * po/POTFILES.in: cleaned up the non-existent files from the po
6990         build process.
6992         * plug-ins/Makefile.am: re-enabled metapost plug-in.
6993         
6994 2002-05-13  Steffen Macke <sdteffen@web.de>
6996         * AUTHORS:
6997         * app/command.c: added M. C. Nelson to the Authors
6998         * sheets/Circuit/Makefile.am: added firewall shape to build
6999         * sheets/network/Makefile.am: added telephone and microphone
7000           shapes to build
7002 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7004         * RELEASE-PROCESS: Added list of files that contain the release
7005         number or should otherwise be changed at each release.
7007 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7009         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
7010         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
7012 2002-05-12  Hans Breuer  <hans@breuer.org>
7014         * config.h.win32 : changed VERSION to 0.90.RC1
7016         * app/makefile.msc lib/makefile.msc : use renamed
7017         gdk-pixbuf version (same content but renamed because
7018         all the other gtk+ dlls are renamed) to avoid trouble
7019         mixing gtk versions (of which one would not 
7020         be initialized ...
7022         * app/app_procs.c : removed recently unneeded
7023         inclusion of "sheets.h"
7025         * app/render_gdk.c : removed my own debug spew
7026         which should never made it to cvs
7028         * lib/render_object.[hc] : added
7029         #error "File not used anymore."
7031         * lib/libdia.def : updated externals
7033         * app/interface.c : dropped filenames need to be
7034         converted from uri with Gtk+2.0
7036 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
7038         * RELEASE-PROCESS (new): a draft document about how to release. To
7039         be discussed. (already with some input from Hans Breuer)
7041 2002-05-12  Steffen Macke <sdteffen@web.de>
7043         * sheets/Makefile.am: re-added Misc sheet to make process
7044         
7045 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7047         * objects/FS/function.c: Added comments to humungous list of menu
7048         items, to aid translators.
7050 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7052         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7054         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7056         * app/interface.c (create_toolbox): Disallow shrinking beyond
7057         requested size.  Fixes bug #59439, and confirms to GTK guidelines
7058         (see gtk_window_set_policy).
7059         (create_sheets): Removed now unnecessary set_usize call.
7061 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7063         * lib/beziershape.c (remove_handles): Fixing removal of last
7064         segment.  Undo of removal still hokey.
7066 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7068         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
7069         handles. 
7070         * lib/beziershape.c (beziershape_init): Removed early call to
7071         beziershape_update_data where points aren't set yet.
7072         (beziershape_add_segment): Use segment 0 instead of overflowing
7073         points array with segment+1.
7074         (beziershape_remove_segment): Proper offset for fixing
7075         connectionpoints. 
7076         (remove_handles): Proper offset.
7078 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7080         * objects/GRAFCET/action.c (action_update_data): Init x value of
7081         click point for call to connpointlist_adjust_count.
7083         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
7085         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
7086         setting to where values are inited.
7088         * lib/polyshape.c (polyshape_init): Removed call to
7089         polyshape_update_data that tried to use uninitialized data.
7091 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7093         * app/sheets_dialog.c: Mass removal of //-style comments.  The
7094         Irix compiler doesn't like them:(  I do...
7096 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7098         * app/render_libart.c (draw_string): Bail out when no GDK font is
7099         found.
7100         (set_font): Give error when font not found.
7101         (set_fillstyle): Intlized error msg.
7103         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
7104         modified when applied (and ok only does apply if apply is set
7105         sensitive).  Fixes bug #75623.
7107 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
7109         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
7111 2002-05-05  Steffen Macke <sdteffen@web.de>
7113         * app/Makefile.am: added $(UNICODE_CFLAGS)
7114         
7115 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7117         * app/commands.c (help_manual_callback): Check return value of
7118         opendir.
7120         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
7122         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
7123         checks for errors.
7125 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7127         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
7129         * objects/UML/uml.c (uml_operation_read): Fix of UML default
7130         inheritance. 
7132 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7134         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
7135         Added button to toggle diagram compression.
7137 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7139         * lib/font.c: Support for loading extra kerning files, plus got
7140         rid of rounding errors.  Bounding box mostly perfect for freetype
7141         fonts.
7142         (font_string_width): Fudge factor to get around nonlinearity of
7143         font scaling.
7145 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7147         * lib/font.c (font_string_width): YA font calculation scheme, with
7148         comments.
7150         * objects/UML/class.c (umlclass_calculate_data): Uses the same
7151         font for drawing and calculating now.
7153         * configure.in: Added utime.h check.
7155         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
7156         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
7158 2002-04-26  Hans Breuer  <hans@breuer.org>
7160         [ Instead of fixing about 70 occurances in 20 files
7161           where GTK_TALKS_UTF8_WE_DONT needed to be handled
7162           Dia on win32 from now on uses glib-2.0 and not 
7163           only talks utf-8 with gtk-1.3 but also internally.
7164           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
7165           anymore. ]
7167         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
7168         #undef GTK_TALKS_UTF8_WE_DONT
7170         * */makefile.msc : changes to use glib-2.0 (still
7171         using gtk+1.3(win32-production)
7173         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
7174         adapt kevent->string handling, add <string.h>
7175         * app/render_gdk.c (get_text_width) : the length given
7176         is in chars, gdk_text_width() needs bytes
7178         * app/render_libart.c : 
7179         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
7180         (could simplify the same way as done in render_gdk.c)
7182         * app/diagram_tree.c app/paginate_gdiprint.cpp
7183           app/sheets.c :
7184         * lib/prop_basic.c lib/prop_geomtypes.c 
7185           lib/propdialgs.c lib/propobject.c :
7186         added <string.h> which is now removed from charconv.h
7188         * lib/charconv.h : optional use infrastructure from
7189         glib-2.0 -> only five direct function mapping left
7191         * lib/charconv.c : avoid to build this with glib-2.0
7193         * lib/font.c : no string conversion needed anymore      
7194         when Dia and Gtk talk utf-8, also code adaptions
7195         for GLIB_CHECK_VERSION(2,0,0)
7197         * lib/libdia.def : removed charconv functions
7199         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
7200         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
7202         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
7203         removed GTK_TALKS_UTF8_WE_DONT
7205         * lib/text.c : finally(?) fixed cursor <place|move>ment 
7206         for Umlauts. Also fixed char insertion, still wondering
7207         how this could ever work. Does realloc on Linux 
7208         initialize the memory with zeros ?
7210         * objects/chronogram/chronoline_event.c
7211           objects/grafcet/boolequation.c :
7212         there is no uni_get_utf8 when building for glib-2.0.
7213         Replace with g_utf8_get_char() and g_utf8_next_char().
7215         * objects/uml/stereotype.c (bracketted_to_string) : 
7216         simplify while adding code for glib-2.0 build
7218 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7220         * app/diagram.h: Autosave field
7221         * app/diagram.c (diagram_set_modified): Sets autosave field.
7222         
7223         * objects/UML/usecase.c (usecase_update_data): 
7224         * objects/flowchart/ellipse.c (ellipse_update_data): 
7225         * objects/flowchart/parallelogram.c (pgram_update_data): 
7226         * objects/flowchart/diamond.c (diamond_update_data): 
7227         * objects/custom/custom_object.c (custom_update_data): 
7228         * objects/UML/state.c (state_update_data): 
7229         * objects/UML/small_package.c (smallpackage_update_data): 
7230         * objects/UML/object.c (objet_update_data): 
7231         * objects/UML/note.c (note_update_data): 
7232         * objects/UML/node.c (node_update_data): 
7233         * objects/UML/component.c (component_update_data): 
7234         * objects/UML/classicon.c (classicon_update_data): 
7235         * objects/UML/actor.c (actor_update_data): 
7236         * objects/SADT/box.c (sadtbox_update_data): 
7237         * objects/FS/function.c (function_update_data): 
7238         All now update text boundaries from update_data.
7239         
7240         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
7241         correctly. 
7243 2002-04-26  Hans Breuer  <hans@breuer.org>
7245         * config.h.win32 : added VERSION definition here
7246         (and removed from makefile.msc's)
7248         * app/makefile.msc : added new files
7250         * app/app_procs.c (app_init): remove sheets_dialog_create()
7251         from start-up and ... 
7253         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
7254         sheet_dialog here when it is really needed.
7255         #include "../lib/message.h", make sheets_dialog_create() 
7256         return it's success or failing on (!custom_type_symbol). 
7257         Although editing shapes is nice IMHO it isn't crucial enough 
7258         to abort() Dia if       it isn't possible.
7260         * app/sheet.h : adapt create_sheet_dialog() prototype
7262         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
7264         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
7265         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
7266         name space corrections for utime() and utim_buf #ifdef
7267         G_OS_WIN32
7269         * lib/libdia.def : export new sheet functions
7271         * lib/makefile.msc : added new files
7273         * lib/render.c : don't put draw_bezier_with_arrows() in
7274         the DrawLineWithArrowsFunc slot
7276         * objects/custom/custom_object.c : #include <gmodule.h>
7277         and export 'custom_type' via G_MODULE_EXPORT
7279         * objects/uml/class_dialog.c : removed 'incompatible 
7280         types' warnings. Some refactoring while making it fit
7281         on screen with 800x600 again.
7283         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
7285         * plug-ins/python/pydia-handle.h : extra parameter to
7286         PyDiaHandle_New to store the owner of the handle
7287         * plug-ins/python/pydia-handle.c : store handle owner
7288         on construction and use it in new method .connect()
7289         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
7290         adapt to changed prototype
7292 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7294         * lib/text.c (text_calc_boundingbox): Will now return early if box
7295         passed is NULL.
7297         * objects/flowchart/box.c (box_update_data): Now updates text
7298         width info from update_data.
7300 2002-04-23  Steffen Macke <sdteffen@web.de>
7302         * plug-ins/xfig/xfig-import.c: fixed text import
7303         
7304 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7306         * app/export_png.c: Moved dialog functions to their own file.
7307         * app/dialogs.[ch]: New files with standard functions for creating
7308         small, transient dialogs (e.g. export options).
7309         * app/Makefile.am: Added dialogs.[ch]
7311 2002-04-19  Steffen Macke <sdteffen@web.de>
7313         * shapes/Misc/folder.*:
7314         * shapes/Misc/file.*:
7315         * shapes/Misc/Makefile.am:
7316         * shapes/Makefile.am:
7317         * sheets/Misc.sheet.in:
7318         * sheets/Makefile.am:
7319         * configure.in: added new Misc sheet containing filesystem shapes
7320         
7321 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7323         * app/lineprops_area.c: Arrow selector in toolbox changed to use
7324         standard arrowdraw code.  Line is thinner to make some arrowheads
7325         distinguishable. 
7327 2002-04-18  Steffen Macke <sdteffen@web.de>
7329         * sheets/network.sheet.in:
7330         * shapes/network/telephone.shape:
7331         * shapes/network/Makefile.am: added telephone shape
7332         
7333 2002-04-16  Steffen Macke <sdteffen@web.de>
7335         * sheets/EML.sheet.in: commented out unavailable shapes
7336         
7337 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
7339         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
7340           variable assignment.
7341         
7342 2002-04-15  Steffen Macke <sdteffen@web.de>
7344         * plug-ins/dxf/dxf-import.c: text import works again
7345         * shapes/Pneumatic/Makefile.am: added compush shape
7346         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
7347         and dist53
7348         
7349 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
7351         * All these modifications are for the 'Sheets and Objects' dialog
7352           (new feature):
7354         * app/pixmaps/line_break.xpm: new icon representing a line break.
7355         
7356         * app/pixmaps/n_a.xpm: new empty icon representing not available.
7358         * app/Makefile.am: added sheets_*.[ch] files to compile list.
7359         
7360         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
7361         
7362         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
7364         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
7365         
7366         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
7367         
7368         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
7370         * app/sheets_dialog_callbacks.h: [new file] support for " " "
7372         * app/interface.c: added 'interface_current_sheet_name' global to 
7373           fill_sheet_wbox(); made fill_sheet_menu() non-static
7375         * app/interface.h: added extern declaration for aboves.
7377         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
7379         * app/sheets.h: [new file] declarations for backing store structures
7381         * lib/sheet.c: modification of new_sheet() parameters; introduction
7382           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
7383           changes to load_register_sheet().
7385         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
7386           added 'has_icon_on_sheet' flag to SheetObject structure; added 
7387           'filename', 'scope', 'shadowing' fields to Sheet structure.
7389         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
7390           it belongs.
7392         * lib/plug-isn.h: see above.
7394         * lib/object.c: added 'sheet.h' to include list; added several 
7395           functions
7396           to detect objects which are not found on any sheet (for future use)
7397           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
7398           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
7400         * lib/object.h: added public declarations for above functions where
7401           necessary.
7403         * objects/custom/custom.c: made custom_object_load() non-static so we
7404           can load and interpret .shape files from the Sheets & Objects dialog
7406         * objects/custom/custom_object.c: made 'custom_type' non-static so 
7407           we can differentiate between SVG shapes and other types.a
7409 2002-04-07  Hans Breuer  <hans@breuer.org>
7411         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
7412         from 2002-01-22 to not destroy diagram->data->selected. 
7413         Avoids to crash on Objects/Align/Vertical/Top
7415         * app/render_eps.c (draw_string) : un-const buffer
7416         It isn't at all const (g_malloc(), assignment, g_free()).
7417         Doesn't gcc catch such ?
7419         * lib/arrows.h : prototype calculate_arrow_point()
7421         * lib/font.c (font_get_suckfont) : no need to
7422         special case gdk_draw_string() with GTK_TALKS_UTF8,
7423         cause all the parameter differences are handled above
7425         * lib/libdia.def : updated externals
7427         * lib/makefile.msc : removed string_prerenderer, added render
7429         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
7430         is expected. [Sometimes it's good to read compiler warnings.]
7432         * objects/standard/image.c : simplified by use of g_strconcat()
7434         * plug-ins/python/makefile.msc : updated for Python 2.2
7436 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7438         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
7439         directionality problem for zero-length line segments.
7441 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7443         * app/diagram.c (diagram_ungroup_selected) 
7444         (diagram_update_menu_sensitivity): Now allows ungrouping of
7445         several groups at once.
7447 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7449         * lib/render.c, all renderers: Binary incompatibility, change to
7450         expandable renderops structure.
7452 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
7454         * objects/standard/Makefile.am:
7455         * objects/network/Makefile.am:
7456         * objects/UML/Makefile.am:
7457         * objects/ER/Makefile.am:
7458         * objects/FS/Makefile.am:
7459         * objects/flowchart/Makefile.am:
7460         * objects/custom/Makefile.am:
7461         * objects/GRAFCET/Makefile.am:
7462         * objects/chronogram/Makefile.am:
7463         * objects/SADT/Makefile.am:
7464         * plug-ins/cgm/Makefile.am:
7465         * plug-ins/pstricks/Makefile.am:
7466         * plug-ins/hpgl/Makefile.am:
7467         * plug-ins/wpg/Makefile.am:
7468         * plug-ins/svg/Makefile.am:
7469         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
7470         
7471 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7473         * app/render_eps.c: Support for dumping TrueType fonts (taken from
7474         ttfps).
7476 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7478         * lib/render.c: New abstract super class for renderers.
7480 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
7482         * objects/ER/attribute.c (attribute_save): save a font property.
7483         (attribute_load): load a font property, and if can't load it, it's
7484         initialized.
7486         * objects/ER/entity.c (entity_save): save a font property.
7487         (entity_load): load a font property, and if can't load it, it's
7488         initialized.
7490         * objects/ER/relationship.c (relationship_save): save a font property.
7491         (relationship_load): load a font property, and if can't load it, it's
7492         initialized.
7494         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
7495         has a vaule.
7496         (umlclass_save): save the font and the font size properties.
7497         (umlclass_load): load the font and the font size properties.
7499 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
7501         * lib/string_prerenderer.[ch] (REMOVED):
7502         * lib/render.h:
7503         * lib/diagramdata.c:
7504         * lib/Makefile.am:
7505         * app/render_eps.c: got rid of the string-specific string
7506         prerenderer, transitioned its functionality towards Lars'
7507         two-phase rendering
7509 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7511         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
7512         may need to rerun aclocal.
7514 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7516         * lib/font.c: First attempt at Unicodeness for Freetype.
7518 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7520         * lib/font.c (font_string_width): Fixed font_string_width for
7521         freetype.  BB is now almost right.
7523 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7525         * app/render_eps.h: 
7526         * app/paginate_psprint.c (paginate_psprint): 
7527         * lib/font.c: 
7528         * app/render_eps.c: Support for dumping postscript fonts into
7529         postscript files with freetype.  Fairly primitive, but works.
7530         Unicode version may have problems.
7532 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
7534         * objects/UML/class_dialog.c (class_read_from_dialog)
7535         (class_fill_in_dialog), (class_create_page): add the font selector and
7536         the font size selector.
7538         * objects/UML/class.c (umlclass_draw): uses each font_height.
7539         (umlclass_calculate_data): ditto.
7540         (fill_in_fontdata): add initial value of new font_height.
7541         (umlclass_copy): add new font_height.
7543 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
7545         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
7546         
7547         * lib/font.c: calculate font metrics properly and stop guessing at
7548         string widths.
7550 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
7552         * configure.in: changed gtk_advancement value to dia_talks_utf8.
7553         right now Dia is working with UTF-8 internally. it means Dia probably
7554         support most languages also including the languages which heretofore
7555         didn't work correctly.
7557 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
7559         * objects/FS/function.c: add related text properties.
7560         (function_get_props), (function_set_props): add handling attribute.
7562         * objects/FS/flow.c: add related text properties.
7563         (flow_get_props), (flow_set_props): add handling attribute.
7565         * objects/FS/flow-ortho.c: add related text properties.
7566         (orthflow_set_props), (orthflow_get_props): add handling attribute.
7568         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
7570         * objects/ER/entity.c: ditto.
7572         * objects/ER/attribute.c: ditto.
7574 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
7576         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
7577         
7578         * autogen.sh: add a check for missing intltoolize.
7580 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
7582         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
7583         charcode, it was registered the duplicate item to HashTable. fix.
7585         * app/render_gnomeprint.c (get_width_string): add new function.
7586         (draw_string): fix non-multibyte specific code.
7588 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
7590         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
7591         
7592         * lib/font.c: do not try to search paths that do not begin with
7593         '/', like X Font Server addresses.
7594         
7595         * objects/UML/message.c (message_draw): free mname when not 
7596         message->text but CREATE or DESTROY.
7597         
7598         * objects/UML/uml.h:
7599         * objects/UML/uml.c:
7600         * objects/UML/class_dialog.c: added code to handle a stereotype 
7601         attribute for operations.
7603 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
7605         * lib/Makefile.am: add LIBART_CFLAGS.
7607 2002-02-15  Hans Breuer  <hans@breuer.org>
7609         * lib/font.c (font_get_suck_font): the black and white pixel values 
7610         need to be taken from a 1 bit colormap rather than the default colormap.
7611         (fixed again, last time was 2000-05-26)
7613         Also handle the case where GTK_TALKS_UTF8 and expects all strings
7614         passed in to be in this encoding.
7616         * lib/libdia.def : export suck_font_free()
7618         * lib/text.c (text_draw) : avoid circular dependency to ../app
7619         at least for the !USE_XIM case, where it is unnecessary.
7621 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
7623         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
7624         
7625         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
7626         * sheets/Circuit.sheet.in: added new shape microphone
7627         * shapes/Circuit/speaker_de.shape: Added a connection point.
7628         
7629 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
7631         * app/render_libart.c (draw_string): fixed build issue for Win32.
7633         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
7634         Win32.
7636         * configure.in: fixed testing gtk_advancement.
7638         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
7640 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
7642         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
7643         diagram window.
7645 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7647         * app/group.c (group_copy): Made new object properly initialized
7648         before copy.
7650 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
7652         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
7653         
7654 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
7656         * lib/text.c (text_draw): fixed XIM transaction.
7658         * app/interface.c (create_display_shell): add signal for
7659         size_allocate.
7661         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
7662         XIM transaction.
7663         (set_input_dialog): remove.
7664         (ddisplay_canvas_events): remove XIM transaction. it can't transact
7665         correctly on this function.
7667 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7669         * app/app_procs.c:
7670         * app/export_png.c: Added checks for interactivity (maybe this
7671         should be a hook after all?).
7673         * app/filedlg.c (file_export_callback): Made export dialog add
7674         suffix when reopened.
7676         * app/export_png.c: Added dialog asking for export size.
7678 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7680         * lib/widgets.c: Fixed font reselection problem and first font
7681         bogus warning.
7683         * objects/UML/actor.c (actor_update_data): Changed to have
7684         connection points below text.
7686 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
7688         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
7689         and memcpy().
7691 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
7693         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
7694         strings which is given.
7695         (suck_font): remove. it's any longer needed.
7697         * app/render_libart.c (set_font): don't get suckfont.
7698         (draw_string): get suckfont only which is needed for now.
7700 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7702         * lib/text.c: Fixes for misunderstood width functions.
7704 2002-02-05  Hans Breuer  <hans@breuer.org>
7706         * lib/dia_xml.c : use g_strconcat() instead of 
7707         malloc, strcpy, strcat dance
7708         * app/properties.c : same here and plug memory leak
7709         (gtk functions don't eat strings)
7711         * objects/UML/message.c : there is no g_sprintf()
7712         use g_strdup_printf() instead ...
7714 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
7716         * lib/message.c (gtk_message_internal): doesn't need to convert to
7717         UTF-8.
7719         * app/render_libart.c (draw_string): fixed transaction for UTF-8
7720         support.
7721         (get_text_width): ditto.
7723         * app/Makefile.am (EXTRA_DIST):
7724         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
7726         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
7727         This function needs ifdef HAVE_FREETYPE because don't use it for
7728         --disable-freetype
7730 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
7732         * NEWS: updated with the new dependencies.
7733         
7734         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7736         * objects/UML/class.h:
7737         * objects/UML/class.c:  
7738         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
7739         property using a GtkMenu. Options are Undefined, In, Out, In & Out
7741 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7743         * app/render_libart.c: Slow but working libart freetype renderer,
7744         with color!
7746 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7748         * app/render_gdk.c (draw_string): Fixed gc_function bug.
7750         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
7752         * lib/font.c (freetype_render_string): 
7753         * lib/font.h:
7754         * app/render_gdk.c:
7755         * app/render_gdk.h: Changed freetype_render_string to use
7756         callback.  Rendering is broken.
7758 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
7760         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7762         * objects/UML/uml.h:    
7763         * objects/UML/uml.c: added UMLInheritanceType and isQuery
7764         (constant) UML Operation attributes. UMLInheritanceType is either
7765         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
7767         * objects/UML/class.h:
7768         * objects/UML/class.c:  
7769         * objetcs/UML/class_dialog.c: added code to handle new
7770         UMLOperation attributes via a GtkMenu and a checkbox.
7772 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
7774         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
7775         several client doesn't work with previous codes.
7777 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7779         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
7780         seem to use it.
7782 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
7784         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
7785         when doing the operation like invert the objects after active view is
7786         destroyed. when changes focus, it needs to set active_display.
7788         * app/layer_dialog.c (dia_layer_update_from_layer):
7789         (layer_dialog_edit_layer): need to convert to locale encoding
7790         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7791         (edit_layer_ok_callback):
7792         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7794         * lib/diagramdata.c (new_diagram_data): ditto.
7796         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
7798         * lib/diagramdata.c (new_layer): use utfchar instead of char for
7799         argument.
7801         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
7802         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
7803         it's needed for now. also this function needs prototype declaration.
7805 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7807         * lib/widgets.c: Style now functional on font selector.  Some leak
7808         possible, but doesn't show up under stress test.
7810 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
7812         * app/plugin-manager.c (clist_select_row): name and description needs to
7813         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7814         (get_plugin_manager): ditto.
7816         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
7818         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
7819         support.
7821         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
7822         when prop->string_data is NULL.
7824 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
7826         * lib/widgets.c: 
7827         * lib/widgets.h: New font selector separating font and style.
7828         Style not functional yet.
7830 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7832         * lib/text.c: 
7833         * app/render_gdk.c (draw_string): More freetype support, now
7834         renders text.  Still broken is font selection and exporting.
7836 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
7838         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
7839         for font.
7841         * objects/chronogram/chronoline.c (chronoline_create): ditto.
7843         * objects/UML/usecase.c (usecase_create): ditto.
7845         * objects/UML/state.c (state_create): ditto.
7847         * objects/UML/object.c (objet_create): ditto.
7849         * objects/UML/node.c (node_create): ditto.
7851         * objects/UML/message.c (message_create): ditto.
7853         * objects/UML/component.c (component_create): ditto.
7855         * objects/UML/classicon.c (classicon_create): ditto.
7857         * objects/UML/actor.c (actor_create): ditto.
7859         * objects/SADT/box.c (sadtbox_create): ditto.
7861         * objects/SADT/annotation.c (annotation_create): ditto.
7863         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
7865         * objects/GRAFCET/step.c (STEP_FONT):
7866         * (step_create): ditto.
7868         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
7870         * objects/GRAFCET/action.c (ACTION_FONT):
7871         (action_create): ditto.
7873         * objects/FS/function.c (function_create): ditto.
7875         * objects/FS/flow.c (flow_create):
7876         (flow_load): 
7877         (flow_apply_defaults): ditto.
7879         * objects/FS/flow-poly.c (flow_create):
7880         (flow_load):
7881         (flow_apply_defaults): ditto.
7883         * objects/FS/flow-ortho.c (orthflow_create):
7884         (orthflow_load):
7885         (orthflow_apply_defaults): ditto.
7887         * objects/ER/relationship.c: use utfchar instead of char for structure.
7888         (relationship_create): name needs to convert to UTF-8.
7890         * objects/ER/attribute.c: use utfchar instead of char for structure.
7891         (attribute_create): name needs to convert to UTF-8.
7893         * objects/ER/entity.c: use utfchar instead of char for structure.
7894         (entity_create): name needs to convert to UTF-8.
7896         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
7897         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
7898         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
7899         items. if GTK_TALKS_UTF8 isn't defined.
7901 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
7903         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
7904         it was my careless mistake...
7906         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
7907         a font name, because there are strings which isn't shown by "Courier".
7908         We need to consider a way to feel free to choose a font at runtime.
7910         * lib/render_object.c (render_object_load): ditto.
7912         * lib/text.c (data_text): ditto.
7914         * objects/EML/instantiation.c (instantiation_create): ditto.
7916         * objects/EML/interaction-ortho.c (interaction_ortho_create):
7917         (interaction_ortho_load): ditto.
7919         * objects/EML/interaction.c (interaction_create):
7920         (interaction_load): ditto.
7922         * objects/EML/process.c (fill_in_fontdata): ditto.
7924         * objects/ER/attribute.c (attribute_create): 
7925         (attribute_load): ditto.
7927         * objects/ER/entity.c (entity_create): 
7928         (entity_load): ditto.
7930         * objects/ER/relationship.c (relationship_create): 
7931         (relationship_load): ditto.
7933         * objects/UML/association.c (association_create): 
7934         (association_load): ditto.
7936         * objects/UML/class.c (fill_in_fontdata): ditto.
7938         * objects/UML/constraint.c (constraint_create): ditto.
7940         * objects/UML/dependency.c (dependency_create): ditto.
7942         * objects/UML/generalization.c (generalization_create): ditto.
7944         * objects/UML/implements.c (implements_create): ditto.
7946         * objects/UML/large_package.c (largepackage_create): ditto.
7948         * objects/UML/note.c (note_create): ditto.
7950         * objects/UML/realizes.c (realizes_create): ditto.
7952         * objects/UML/small_package.c (smallpackage_create): ditto.
7954         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
7956         * objects/custom/custom_object.c (custom_create): ditto.
7958         * objects/network/antenna.c (render_to_store): ditto.
7960         * objects/network/computer.c (render_to_store): ditto.
7962         * objects/network/disc.c (render_to_store): ditto.
7964         * objects/network/flash.c (render_to_store): ditto.
7966         * objects/network/hub.c (render_to_store): ditto.
7968         * objects/network/modem.c (render_to_store): ditto.
7970         * objects/network/modularswitch.c (render_to_store): ditto.
7972         * objects/network/monitor.c (render_to_store): ditto.
7974         * objects/network/printer.c (render_to_store): ditto.
7976         * objects/network/rj45plug.c (render_to_store): ditto.
7978         * objects/network/scead-plug.c (render_to_store): ditto.
7980         * objects/standard/textobj.c (textobj_load): ditto.
7982         * objects/sybase/client.c (render_to_store): ditto.
7984         * objects/sybase/dataserver.c (render_to_store): ditto.
7986         * objects/sybase/ltm.c (render_to_store): ditto.
7988         * objects/sybase/repserver.c (render_to_store): ditto.
7990         * objects/sybase/rsm.c (render_to_store): ditto.
7992         * objects/sybase/stableq.c (render_to_store): ditto.
7994         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
7996         * objects/UML/uml.h (UML_STEREOTYPE_START):
7997         (UML_STEREOTYPE_END): changes default strings.
7999 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
8001         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
8002         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
8003         which is given to arguments isn't UTF-8. so don't need to convert it.
8004         if GTK+ handle UTF-8, also don't need to convert it.
8005         (strend): remove.
8006         (bracketted_to_string): fixed transaction for UTF-8 support.
8007         also start/end bracket is not necessarily 1 character. so that when use
8008         strend(), it doesn't work correctly.
8009         (string_to_stereotype): use utfchar instead of char.
8010         (remove_stereotype_from_string): ditto.
8011         (stereotype_to_string): ditto.
8013         * objects/UML/stereotype.h: ditto.
8015         * objects/UML/message.c: use utfchar instead of char for structure.
8016         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
8018         * objects/UML/small_package.c: use utfchar instead of char for structure.
8020         * objects/UML/realizes.c: ditto.
8022         * objects/UML/object.c: ditto.
8024         * objects/UML/large_package.c: ditto.
8026         * objects/UML/implements.c: ditto.
8028         * objects/UML/generalization.c: ditto.
8030         * objects/UML/dependency.c: ditto.
8032         * objects/UML/constraint.c: ditto.
8034         * objects/UML/component.c: ditto.
8036         * objects/UML/class_dialog.c (attributes_get_current_values):
8037         (attributes_list_new_callback, attributes_fill_in_dialog):
8038         (parameters_set_values, parameters_get_values):
8039         (parameters_get_current_values, parameters_list_new_callback):
8040         (operations_set_values, operations_get_values):
8041         (operations_get_current_values, operations_list_new_callback):
8042         (operations_fill_in_dialog, templates_set_values):
8043         (templates_get_values, templates_get_current_values):
8044         (templates_list_new_callback, templates_fill_in_dialog):
8045         fixed transaction for UTF-8 support.
8047 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
8049         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
8051         * objects/UML/class_dialog.c (class_read_from_dialog):
8052         (class_fill_in_dialog):
8053         (attributes_get_values): ditto.
8055         * objects/UML/actor.c (actor_create): ditto.
8057         * objects/UML/class.c (umlclass_calculate_data): ditto.
8059         * objects/UML/association.c (association_apply_properties):
8060         (fill_in_dialog): ditto.
8062         * objects/UML/uml.c (uml_get_attribute_string):
8063         (uml_get_operation_string):
8064         (uml_get_parameter_string):
8065         (uml_get_formalparameter_string): use utfchar instead of char.
8067         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
8068         UML_STEREOTYPE_END.
8070         * objects/UML/class.h: use utfchar instead of char.
8072         * lib/dia_xml.c (data_add_string): ditto.
8074         * lib/text.c (text_insert_char): fixed characters# calculation
8075         when includes multibytes character in strings.
8077 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
8079         Patch from Richard Rowell <rwrowell@bellsouth.net>:
8081         * app/lineprops_area.c:
8082         * lib/arrows.h:
8083         * lib/arrows.c: 
8084         * lib/widgets.c: added crow foot arrow and cross arrow
8085         
8086         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
8087         
8088         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
8090 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
8092         * po/update.pl (REMOVED):
8093         * po/update.sh (REMOVED):
8094         * xml-i18n-merge.in.kg (REMOVED):
8095         * xml-i18n-update.in.kg (REMOVED):
8096         * sheets/Makefile.am:
8097         * Makefile.am:
8098         * autogen.sh:
8099         * configure.in: converted from xml-i18n-tools to intltools
8101         This looks like it fixes the build bugs of the snapshot tarballs, 
8102         and it supersedes #69611.       
8104 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
8106         * lib/text.c (text_insert_char): fixed characters# calculation.
8107         it's not string length.
8109         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
8110         is defined, needs to convert a description to UTF-8.
8112         * app/render_gdk.c (get_text_width): fixed transaction for
8113         UTF-8 support. also should uses gdk_text_width_wc() instead
8114         of gdk_text_width().
8116         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
8117         is defined, needs to convert to locale encoding for display.
8118         Also use utfchar instead of char for argument.
8120 2002-01-24  Hans Breuer  <hans@breuer.org>
8122         * app/commands.c(edit_paste_callback and more) : 
8123         call diagram_modified(ddisp->diagram) to fix #68083
8124         (help_menu_callback) : plug a DIR leak
8126         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
8127         GTK_TALKS_UTF8_WE_DONT
8129         * app/render_gdk.c(get_text_with) : it's a bad idea to use
8130         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
8131         gdk_text_width(). The length value is still questionable ...
8133         * lib/charconv.c : use functions already available in early
8134         GLIB-1.3 days whiches API hasn't changed since, to avoid
8135         version problems with the win32 build
8137         * lib/font.c : finally fix #58045 and #68208
8139         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
8141 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
8143         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
8144         no strings, fixed transaction.
8146         * lib/charconv.h: fixed typo.
8148         * app/menus.c: fixed typo.
8150         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
8152         * objects/UML/object.c: attrib's type uses utfchar instead of char.
8154         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
8156         * lib/text.c (text_create_change): use unichar instead of char.
8158         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
8159         use utfchar instead of char.
8161         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
8162         UTF-8 support.
8164         * lib/charconv.c (charconv_utf8_get_char): add new function.
8166 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
8168         * lib/text.c (text_delete_forward, text_delete_backward,
8169         text_split_line): fixed transaction for UTF-8 support.
8171         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
8172         strlen[] has string length for UTF-8, so has to use alloclen[].
8174         * dia.pot: remove.
8176         * .cvsignore: add dia.pot.
8178 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
8180         * configure.in: Added "sk" to ALL_LINGUAS.
8182 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
8184         * lib/text.c (text_set_string, new_text, text_copy,
8185         text_get_string_copy, text_join_lines): use utfchar instead of gchar
8186         for strings.
8188         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
8189         strchr().
8191         * lib/charconv.c (charconv_utf8_strchr): add new function.
8193         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
8195         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
8197         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
8198         strings to the appropriate encoding.
8200 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8202         * app/object_ops.c (object_list_align_[hv]): Leak fix.
8204         * lib/Makefile.am (INCLUDES): Added debug flags.
8206         * app/object_ops.c: Fixed ordering problem of align equi-distant &
8207         adjacent. 
8209 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
8211         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
8212         gdk_string_width().
8214         * objects/GRAFCET/boolequation.c: fixed invalid comment.
8216         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
8217         when defined UNICODE_WORK_IN_PROGRESS.
8219         * lib/dia_xml.c (data_add_string): fixed typo.
8221 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
8223         * configure.in: fixed test gtk_advancement.
8225 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
8227         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
8228         exported to SVG
8230         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
8232         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
8233         tool tips, preferences, and arbitrarily long ~/.dia/history
8235         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
8236         removed 'Open Recent'; added new separators for recent documents on
8237         File menu.
8239         * app/interface.[ch] (interface_get_toolbox_shell): new function
8241         * app/diagram.c: added new parameter to recent_file_history_add() call
8243         * app/preferences.[ch]: added new 'Recent documents list size'
8244         preferences item
8245         
8246 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
8248         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
8249         if it failed, should be used gdk_font_load ().
8251         * lib/font.c (font_data): added the font entries for CJK.
8253 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
8255         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8257         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
8258         
8259 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
8261         Patch from Martin Cracauer <cracauer@cons.org>:
8262         
8263         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
8264         non-GNOME case ?)
8266 2002-01-01  Hans Breuer  <hans@breuer.org>
8268         * app/command.c : optional use GDI printing on windoze
8270         * app/preferences.[hc] : add option 'prefer_psprint' to 
8271         select the print engine to use (could be used for Dia/Gnome
8272         as well)
8274         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
8275         wmf plug-in with the common win32 print api. Now printing
8276         should work almost as expected from a windows program :-)
8278         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
8279         to .edit_delete to avoid clashes with C++
8281         * app/makefile.msc : updated for GDI printing
8283         * plug-ins/wmf/wmf.cpp : some small modifications to support
8284         GDI printing. Also swap R and B channel in draw_image()
8286         * app/makefile.am : added windows only files to EXTRA_DIST
8288         * objects/uml/class.c(umlclass_set_props) : force recalculation
8289         when applying properties
8291         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
8292         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
8293         many incompatible changes (and would force a gtk update)
8295         * objects/makefile.msc : don't build C-Objects which are
8296         already available as 'pure shape'
8298         * plug-ins/makefile.msc : remove diaimport from build. It was
8299         only available via mailing-list and is broken since the
8300         StdProp overhaul.
8303         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
8305         * app/preferences.[hc] : tweaked preferences.c to make 
8306         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
8307         added some more DiagramTree prefererences and their own
8308         notebook page.
8310         * app/diagram_tree.[hc] : allow to sort by object type or name
8311         and hide by type ...
8312         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
8313         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
8315         * app/diagram_tree_window.c : handle hidden types and window
8316         size restoring.
8318 2001-12-20  Hans Breuer  <hans@breuer.org>
8320         * plug-ins/python/Makefile.am : patch from Peter Moulder 
8321         <pmoulder@csse.monash.edu.au> to make the python plug-in
8322         compile on *nix too.
8324 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
8326         Patch from Alan <horkana@tcd.ie>:
8328         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
8330 2001-11-20  Hans Breuer  <hans@breuer.org>
8332         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
8334 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
8336         * app/diagram_tree.[hc] : Added new functions and types for
8337         sorting diagram and objects, and attaching the popup menus.
8339         * app/preferences.h: Added more diagram tree preferences, using a
8340         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
8341         height and width of the diagram tree window and the default sort
8342         orders for diagrams and objects.
8344         * app/preferences.c (prefs_data): Added new entries for the new
8345         diagram tree preferences.
8347         * app/preferences.c (prefs_tabs): New tab for diagram tree
8348         preferences.
8350         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
8351         * app/diagram_tree_window.c (diagram_tree_window_new): 
8352         * app/interface.c (create_tree_window): The diagram tree window is
8353         initialised using the DiagramTreeConfig part of prefs.
8356 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
8358         * app/diagram_tree_menu.[hc]: New files. Functions to create the
8359         diagram tree popup menus.
8361         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
8362         the diagram tree popup menus.
8364         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
8365         added.
8367 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
8369         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
8370         double-clicking a diagram tree node raises the diagram window
8371         to the foreground (and, if a object node was clicked, selects the
8372         object in the diagram).
8374         * app/diagram_tree.c (select_tree_widget): selecting an object
8375         node with single click simply updates it (no raise).
8377 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
8378         These changes make the diagram tree lazy: it is not created unless
8379         the diagram tree window is requested.
8380         
8381         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
8382         function for creating the tree window.
8384         * app/interface.c (create_tree_window): call
8385         create_diagram_tree_window() instead of diagram_window().
8387         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
8388         (diagram_tree_update, diagram_tree_update_name) 
8389         (diagram_tree_add_object, diagram_tree_add_objects) 
8390         (diagram_tree_remove_object, diagram_tree_remove_objects) 
8391         (diagram_tree_update_object): accept a NULL tree as a nominal
8392         argument (and do nothing in this case!), so that the diagram tree
8393         is not initialised if not used.
8395         * app/diagram_tree_window.c (diagram_tree): do not create the
8396         diagram tree until diagram_window() or diagtree_show_callback()
8397         are invoked.
8399 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
8400         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
8402         * app/diagram_tree_window.[hc] : (new files) implementation of 
8403         the diagram tree window, a container for a diagram tree. [Removed
8404         the horizontal scroll bar glitch by disableing it]
8406         * app/diagram_tree.[hc] : (new files) implementation of the 
8407         diagram tree widget. [Don't rely on the layers GPtrArray to be
8408         NULL terminated, but use its ->len field] 
8410         * app/Makefile.am (dia_core_files): added new files
8411         diagram_tree.[hc] and diagram_tree_window.[hc]
8413         * app/interface.[hc] : (create_tree_window): this function 
8414         creates the new diagram tree window widget
8416         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
8417         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
8418         (ungroup_objects_apply) (ungroup_objects_revert): 
8419         every time that an undoable command modifies a diagram 
8420         adding/removing/(un)grouping objects, a diagram_tree_something() is 
8421         invoked to keep the diagram tree window in sync
8423         * app/properties.c (properties_apply): call to
8424         diagram_object_modified(), which updates the diagram tree window
8425         when the properties of an object are modified
8427         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
8428         (whether the diagram tree window should be shown on dia startup)
8430         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
8432         * app/diagram.h (diagram_object_modified): callback notifying of a
8433         diagram object modification
8435         * app/diagram.c (diagram_load_into): added call to
8436         diagram_tree_add() to add newly loaded diagrams to the diagram
8437         tree window
8438         (diagram_destroy): call to diagram_tree_remove() to remove a
8439         destroyed diagram from the diagram tree window
8440         (diagram_add_object): call to diagram_tree_add_object() to add an
8441         object to the diagram tree window
8442         (diagram_add_object_list): as above, but with an object list
8443         (diagram_selected_break_external): deletion of objects from the
8444         diagram is detected here, and diagram_tree_remove_object() is
8445         invoked to remove the object from the diagram tree window (it
8446         would be nice to have a diagram_remove_object() in the Diagram
8447         interface)
8448         (diagram_set_filename): update the diagram tree window when a
8449         diagram's filename changes
8451         * app/commands.c (file_new_callback): added call to
8452         diagram_tree_add() to add newly created diagrams to the diagram
8453         tree window
8455         * app/app_procs.c (app_init): added call to create_tree_window()
8457         * app/makefile.msc : updated
8459 2001-10-28  Hans Breuer  <hans@breuer.org>
8461         * app/preferences.h (DiaPreferences): 
8462         * app/preferences.c (prefs_data): new "show_diagram_tree"
8463         configuration option (whether the diagram tree window should be
8464         shown on dia startup)
8466         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
8467         entry (both for GNOME and gtk)
8469         * app/diagram.h (diagram_object_modified): callback notifying of a
8470         diagram object modification
8472         * app/diagram.c (diagram_load_into): added call to
8473         diagram_tree_add() to add newly loaded diagrams to the diagram
8474         tree window
8475         (diagram_destroy): call to diagram_tree_remove() to remove a
8476         destroyed diagram from the diagram tree window
8477         (diagram_add_object): call to diagram_tree_add_object() to add an
8478         object to the diagram tree window
8479         (diagram_add_object_list): as above, but with an object list
8480         (diagram_selected_break_external): deletion of objects from the
8481         diagram is detected here, and diagram_tree_remove_object() is
8482         invoked to remove the object from the diagram tree window (it
8483         would be nice to have a diagram_remove_object() in the Diagram
8484         interface)
8485         (diagram_set_filename): update the diagram tree window when a
8486         diagram's filename changes
8488         * app/commands.c (file_new_callback): added call to
8489         diagram_tree_add() to add newly created diagrams to the diagram
8490         tree window
8492         * app/app_procs.c (app_init): added call to create_tree_window()
8494 2001-10-28  Hans Breuer  <hans@breuer.org>
8496         * plug-ins/python/pydia-property.c : apparently I missed
8497         to commit this last time. Now it has some more SetAttr
8498         support (apply from property)
8500         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
8502         * plug-ins/python/pydia-text.[ch] : new files
8504 2001-10-14  Hans Breuer  <hans@breuer.org>
8506         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
8507         strings. Use g_strdup() for these.
8509         libxml2 does not produce 'any extra indentation when saving a tree'
8510         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
8511         libxml(1). To get human readable XML some extra tweaking is required.
8512         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
8513         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
8514         * app/preferences.[ch] : initialize 'pretty_formated_xml'
8516         * lib/libdia.def : updated externals
8518         * lib/properties.h : add prototype for prop_list_from_single ()
8520         * plug-ins/makefile.msc : build metapost plug-in
8522         * plug-ins/metapost/render_metapost.c : msvc does not like
8523         switch labels without operation 'default: }'. Added a noop.
8525         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
8526         * plug-ins/python/diamodule.c : added PyDiaText 
8527         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
8528         Although the python plug-in does not use libxml at all, the
8529         headers are required to use the lib/prop*.h headers
8531         * plug-ins/python/pydia-diagramdata.c : added wrappers for
8532         update_extents and get_sorted_selected (should I duplicate
8533         more functions from PyDiaDiagram or should they be moved?)
8535         * plug-ins/python/pydia-properties.c : allow to set (some) properties
8536         through the dictionary api
8537         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
8538         * plug-ins/python/pydia-property.c : implement it (currently only
8539         string properties can be set)
8541         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
8542         Quoting myself: 'Still not convinced that this is better than an 
8543          integral property->type and some casting ...
8544          It is trading a straightforward 40 lines switch statement to
8545          this nice 'type safe' function mapping (about 125 lines)'
8546         (But now it works again, better than changing the News file :)
8547         
8548 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
8550         patch from <robert.young@dsto.defence.gov.au>: 
8551         * objects/UML/component.c: remember to set font in UML component
8552         object (fixes #62132)   
8554 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8556         * plug-ins/metapost/metapost.c: 
8557         * plug-ins/metapost/Makefile.am:
8558         * plug-ins/metapost/render_metapost.c:
8559         * plug-ins/metapost/render_metapost.h:
8560         Metapost renderer from Chris Sperandio
8562 2001-09-14  Hans Breuer  <hans@breuer.org>
8564         * app/render_gdk.c : reflect the fact, that GTK already talks
8565         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
8567         * lib/font.c : 
8568         * app/render_libart.c : trying to fix #58045 but it appears
8569         to be an Gdk/win32, too. 
8571         * lib/charconv.c : handle utf8 conversion with the help of
8572         glib-1.3 even in the !HAVE_UNICODE case.
8574         * lib/dia_xml.c : reduce complaing about missing encoding, by
8575         detecting if the default (utf8) would break the file.
8577 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
8579         * lib/charconv.c: (get_local_charset): at least please try to not 
8580         silently change the logic, while avoiding crashes. 
8582         * lib/font.c: (suck_font): put a #error, we have a nasty something
8583         to fix there before we switch to Gtk 2.0.
8584         
8585 2001-09-09  Hans Breuer  <hans@breuer.org>
8587         * **/makefile.mingw : Approach to compile Dia with mingw.
8588         Compiling mostly works but running does not (yet) ... 
8590         * lib/geometry.h : 
8591         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
8592           Apparently mingw needs it too.
8593         - enable 'normalization' of a null verctor. Otherwise the beziergon
8594           bounding box calculation would be broken at least with msvc. What's
8595           the mathematical correct result of 0.0/0.0 ?
8597         * lib/dia_xml.c : isinf() for mingw too.
8599         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
8600         and msvc)
8602         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
8603         Please don't do it.
8605         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
8607         * lib/libdia.def : updated externals. Apparently mingw needs
8608         them to produce the right mangling.
8610         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
8611         and xmlDiaSaveFile
8613 2001-09-08  Wang Jian  <lark@linux.net.cn>
8615         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
8617 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
8619         * lib/dia_xml_libxml.h:
8620         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
8621         libxml1's code, to rework the output file before it gets committed
8622         to disk. This is rubbish, and will be removed when libxml2
8623         switches from discouraged to mandatory. 
8624         All in all, this fixes #60152. 
8625         
8626         * lib/charconv.h: 
8627         * lib/charconv.c: (charconv_unichar_to_utf8):
8628         made the type of the input parameter explicitly an unsigned long.
8630         * configure.in: Added a check for libz (we must now include it
8631         explicitly, for xmlDiaSaveFile).
8632         
8633         * app/load_save.c: (diagram_data_save):
8634         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
8635         (dia_pluginrc_write):
8636         * plug-ins/shape/shape-export.c: (new_shape_renderer),
8637         (end_render), (draw_string):
8638         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
8639         (draw_string):
8641         Made sure we always write UTF-8 XML files, and through
8642         xmlDiaSaveFile().
8644         * NEWS: documented that fact.
8645         
8646 2001-09-07  James Henstridge  <james@daa.com.au>
8648         * configure.in (found_libxml): refactor the check for libxml a
8649         little so that it handles finding both libxml1 and 2 better.
8651 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
8653         * app/app_procs.c: removed a spurious } which caused a compilation
8654         error in the (!HAVE_GNOME && HAVE_POPT_H) case
8656         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
8657         don't know what ANSI X3.4-1968 is. I didn't know until this day,
8658         but it's just plain old ASCII. Added a check to shield the poor
8659         XML library.
8661         Patches from <robert.young@dsto.defence.gov.au>:
8663         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
8664         width and height of text before calculating bounds. Fixes #59928
8666         * app/preferences.c: Moved grid related items into Grid Tab.
8667         
8668 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
8670         * app/interface.c: (create_zoom_widget): connected one more signal
8671         to the Zoom selector combo's list. Fixes #59879.
8673         * app/app_procs.[ch]: (app_init) (do_convert)
8674         (build_output_file_name): brought back into the main executable
8675         the rare useful bits of the ill-fated diaconv. This means we have
8676         one new feature : --export-to-format (-t), which should make
8677         writing conversion scripts easier, and a crude implementation of
8678         -t and -e for the poptless argument parsing, which means the Win32
8679         port should be able to take advantage of it (that should make
8680         resolving #58197 possible).
8682         * app/diaconv.c: kept the poor duck compiling (but that's about
8683         it).
8685         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
8686         I've got it right).
8688         * NEWS: updated about the new feature above, and documented the 
8689         "missing encoding specification" complaint. 
8690         
8691 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
8693         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
8695 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
8697         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
8698         care of #59837.
8700 2001-09-01  James Henstridge  <james@daa.com.au>
8702         * */Makefile.am: various changes to include missing files, and fix
8703         sheets dir to handle building with builddir != srcdir.
8705         * autogen.sh: unconditionally pass the --enable-maintainer-mode
8706         and --enable-db2html flags so that builds from CVS work correctly.
8708         * configure.in: increment version number.  Also add an
8709         --enable-db2html flag.  Without the flag, db2html won't be run (if
8710         the flag is passed and db2html is not present, do nothing).
8712 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
8714         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
8715         even compiled. It's really too bad there is no lint tool easily
8716         available (or a more cautious, pedandic, paranoid and verbose
8717         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
8719 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
8721         * app/load_save.c:
8722         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
8723         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
8725         * app/menu.c: added ellipsis(...) to diagram properties menu item.
8726         * app/dia-props.c: diagram properties dialog contents did not
8727         represent current diagram settings.
8728         * app/dia-props.[ch]:
8729         * app/display.c: diagram properties contents now follows currently
8730         selected diagram.
8731         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
8733         * AUTHORS: added Robert Young.
8734         
8735 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
8737         * app/modify_tool.c: (modify_button_release): Patch from
8738         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
8739         #59090: if selection dragging was released outside of the window, 
8740         artifacts of the selection box remained.
8742 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
8744         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
8746 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
8748         * configure.in:
8749         * sheets/Makefile.am: prepared the terrain for the Version of
8750         xml-i18n-tools Which Comes After 0.9 (and which will feature at
8751         last a sane behaviour with XML files). Some reasonible delay
8752         before enforcing that version *will* be given.
8754         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
8755         
8756         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
8757         becomes a nonexistent symbol.
8758         
8759 2001-08-18  Hans Breuer  <hans@breuer.org>
8761         * app/app_procs.c : made it compile without ENABLE_NLS
8763         * app/diap_callbacks.c : strcmp isn't guaranteed to work
8764         with NULL pointers
8766         * app/load_save.c :
8767         * lib/plug-ins.c : 
8768         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
8769         It has to be :
8770                 xmlGetProp, ... -> xmlFree
8771                 malloc, strdup -> free
8772                 g_new, g_malloc, g_strdup - > g_free
8774         * app/win32print.c : some more error checking, still not
8775         working on Win9x
8777         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
8779         * lib/dia_xml.c : msvc still has no unistd.h
8781         * lib/dia_xml.c :
8782         * lib/sheets.c : temporary resolved libxml include brokeness
8784         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
8785         changes. Compiles again, but doesn't do anything useful anymore.
8786         (see THE_PROP_TYPE_IS_INTEGRAL)
8788         * **/makefile.msc : updated to use LIBXML2
8790         * lib/libdia.def : reflect api changes
8792 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
8794         * config.h.win32: added defines telling that gtk speaks UTF8.
8795         Hans, I believe this reflects what GTK on Win32 does.
8797         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
8798         strings.        
8799         * lib/prop_inttypes.c: 
8800         * lib/prop_text.c:
8801         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
8802         code path.
8803         
8804         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
8805         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
8806         search for plug-ins is done.
8807         * app/Makefile.am: made app/run_dia.sh use the // capability. No
8808         need to update this anymore if we get a new plug-in library (or
8809         remove one).
8811         * lib/dia_xml.c: #include <unistd.h> was missing.
8812         
8813         * lib/properties.h: 
8814         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
8815         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
8816         support.        
8818 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
8820         * sheets/civil.sheet: removed duplicate "Danish" entries.
8822         * autogen.sh:
8823         * configure.in: 
8824         * .cvsignore:
8825         * sheets/Makefile.am: 
8826         * po/POTFILES.in:
8827         * Makefile.am: applied the xml-i18n-tools README's instructions.
8829         * po/(da de fr hu nl nn no sl).po: merged the translations from
8830         the sheet files into the .po files. I hope I haven't mixed
8831         languages...
8832         * sheets/*.sheet (REMOVED):
8833         * sheets/*.sheet.in (NEW): moved the sheet files sans
8834         translations into .sheet.in files. 
8835         
8836         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
8837         because we don't yet want to force all translators to work using
8838         UTF-8 editors. We'll want to do that sometime (sooner rather than
8839         later). Okay, I sing a slightly different tune in po/ChangeLog...
8841         * dia.desktop (REMOVED):
8842         * dia.desktop.in (NEW): used also the x18t infrastructure for
8843         this too.
8845         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
8846         "official" version of x18t with support for .sheet files is available.
8847         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
8848         "official" version of x18t which doesn't corrupt UTF-8 data in XML
8849         is available.
8850         
8851         ** yes, we are now using xml-i18n-tools to manage the sheet
8852         translations. For the Win32 build, Nemo stores snapshots of
8853         translated strings next to the CVS snapshots. **
8855         * sheets/checktrans.py: suddenly, some sheets have lots of
8856         translations (objects which existed before sheets, mostly).
8857         Adapted the formatting.
8859         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
8861         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
8862         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
8863         <robert.young@dsto.defence.gov.au>, to fix #59090.
8865         * app/display.c: (ddisplay_scroll): While at it, added some
8866         margin, so that autoscrolling can happen within a margin outside
8867         the diagram's extents.
8869         * app/tool.[ch]: 
8870         * app/interface.c:
8871         * app/disp_callbacks.c: Robert "forced" me to go when I usually
8872         don't, namely the app/ directory. So while I was there, I
8873         scratched a long-time itch. If no object has focus, pressing the
8874         space bar will select back the tool which was selected before the 
8875         current one (I find this especially useful with "reset after create" !)
8876         
8877         * lib/proplist.c: (prop_list_from_single): Renamed
8878         prop_list_singleton() to avoid confusion with the Singleton
8879         pattern (which it definitely is not).
8880         
8881         * lib/propobject.c: (object_prop_by_name_type),
8882         (object_prop_by_name): The "flags" parameter was not necessary.
8883         These don't return synthetic properties, but properties built from
8884         a real property description list; therefore, we don't call
8885         make_new_prop() but use the existing property descriptor, which
8886         has perfectly valid (and meaningful) flags.
8888         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
8889         new predicates better reflect the reason why properties exist when
8890         they're created by make_new_prop() or object_prop_by_name().    
8892         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8893         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
8894         of pdtpp_true().
8896         * lib/properties.h: reflects all the above changes.
8898         * objects/SADT/arrow.c:
8899         * objects/SADT/annotation.c:
8900         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
8901         IDEF0 terminology.
8902         
8903 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
8905         * lib/properties.h:
8906         * lib/proplist.c: (prop_list_singleton):
8907         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8908         Added these, to simplify interactions of plug-ins with the StdProp
8909         core.
8911         * lib/Makefile.am:
8912         * lib/dia_xml.h:
8913         * lib/dia_xml_libxml.h (NEW): 
8914         * app/load_save.c:
8915         * lib/dia_xml.c:
8916         * lib/plug-ins.c:
8917         * lib/sheet.c:
8918         * objects/custom/shape_info.c: A few prototypes were causing
8919         #include hell, because we generally attempt to not pull the whole
8920         libxml header set when we include dia_xml.h. Moved those
8921         prototypes away for the rare cases they're necessary.
8922         
8923 2001-08-15  Hans Breuer  <hans@breuer.org>
8925         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
8927         * lib/libdia.def : 
8928         * lib/makefile.msc : updated
8930         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
8931         use G_GNUC_FUNCTION instead.
8933         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
8935         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
8936         msvc instead of cleaning missing includes
8938         * plug-ins/wmf/wmf.cpp :
8939         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
8941 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
8943         * app/app_procs.c:
8944         * app/load_save.c:
8945         * lib/dia_xml.c:
8946         * lib/plug-ins.c:
8947         * lib/sheet.c:
8948         * objects/custom/shape_info.c:
8949         * plug-ins/shape/shape-export.c:
8950         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
8951         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
8952         removed xmlKeepBlanksDefault(0) in favour for proper
8953         xmlIsBlankNode() testing. Lots of other fixups to use the
8954         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
8955         make libxml1 output correct files.
8957         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
8958         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
8959         packages). If both devel packages are found, the build will stop 
8960         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
8962         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
8963         allocate the first handle :-)
8964         
8965         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
8966         a cast and a sizeof.</gratuitous>
8968         * objects/custom/custom_object.c: (custom_copy): don't call
8969         text_get_attrbutes if the shape has no text...
8970         (custom_update_data): The info->resize_with_text code was a bit
8971         directive; basically, the shape's bounding box was forced to be 
8972         proportional to the text's bounding box.... This fixes #57187.
8973         
8974         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
8975         default for info->aspect_ratio; unobfuscated a line about
8976         info->resize_with_text;
8977         
8978 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
8980         * lib/properties.h: added comments next to the PROP_TYPEs to tell
8981         which C Property subclass to use.
8982         
8983         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
8984         cast-ridden form of setting properties in a list, in favour for
8985         the "local pointers" form. I'll take any better offer...
8987 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
8988         
8989         * lib/font.c: fprintf(...) --> fprintf(format...)
8991         * configure.in: added a disabled versioned test for glib.
8992         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
8993         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
8994         g_critical() with a simple g_error(). Proper fix is to implement
8995         that stuff. 
8997         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
8998         PROP_TYPE_STRING.
8999         
9000         * lib/properties.h:     
9001         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
9002         * lib/proplist.c: (find_prop_by_name_and_type):
9003         * lib/prop_basic.c: (make_new_prop), (initialize_property):
9004         * lib/propoffsets.c: (do_set_props_from_offsets),
9005         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
9006         Added a type_quark member to PropDescription, Property and
9007         PropOffset. Used it to implement a safety in
9008         do_[sg]et_props_from_offsets().
9009                 
9010         * objects/flowchart/diamond.c: the diamond's text was not saved,
9011         and thus not even copied (c&p).
9012         * objects/standard/textobj.c: ditto.
9014         Most of the above changes thanks to Robert Young's testing. Thanks !
9015         
9016 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
9018         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
9019         and bokmÃ¥l).
9020         
9021 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
9023         * lib/proplist.c (prop_list_from_descs): added a call to
9024         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
9025         too embarrassing to tell.
9026         
9027         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
9028         while loop to a for loop, for symmetry with
9029         prop_offset_list_calculate_quarks().
9031         * lib/geometry.h: new inline function, rectangle_equals.
9033         * lib/diagramdata.[ch]: refactored a bit the diagram extents
9034         computation logic, and changed it to always be the union of the
9035         visible layers' extents. This should close #58882 (Debian
9036         #107167), and fixes #55498.
9038         * app/display.c: made the initial visible box more coherent with
9039         the diagram being loaded's extents.
9041         * app/prop_attr.c: don't set the font (from offset) if font_data
9042         is NULL. Two brainos in colorprop_load() and fontprop_load().
9043         
9044 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
9046         * lib/properties.[ch]: split in a lot of pieces: 
9048         * lib/prop_*.[ch] (NEW): all property types are now first-class
9049         objects, inheriting from the original abstract Property type.
9050         * lib/propdesc.c (NEW): property description handling routines
9051         * lib/propoffsets.c (NEW): property offset handling routines
9052         * lib/proplist.c (NEW): property list handling routines
9053         * lib/propobject.c (NEW): property list <-> object routines
9054         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
9055         relations.
9056         * lib/propinternals.h: prototypes for stuff not usually needed by 
9057         the outside of StdProps.
9058         * lib/Makefile.am: a lot of new files have been added...
9060         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
9061         BOTH INTERFACES AND RUN-TIME STABILITY.
9063         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
9064         
9065         * lib/object.h: removed the incestuous relationship with
9066         properties.h' contents. Now a Property list is a GPtrArray -->
9067         object interface change !
9069         * app/app_procs.c/app_init(): removed a disabled call to a
9070         non-existent routine. Added a call to stdprops_init().
9071         
9072         * objects/Makefile.am: disabled the construction of EML. I'm not
9073         touching these until a certain issue is solved (or this module
9074         removed).
9075         * app/group.c:  
9076         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
9077         objects to the interface changes.
9078         
9079         * app/disp_callbacks.c: killed a warning.
9080         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
9082         * app/commands.c: 
9083         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
9084         interface.
9086         * plug-ins/dxf/dxf-import.c: 
9087         * plug-ins/xfig/xfig-import.c: 
9088         PROP_VALUE_* macros have been removed. Converted to the new API.
9090         * plug-ins/python/**/*: I gave up converting this; I can't
9091         compile --with-python (problems with object.h defined both by us
9092         and by Python). I'll gladly help whomever cares to fix it !
9093         (or, fix it myself if someone tells me how to compile it).
9094         
9095         * configure.in: added the UNICODE-related progress defines.
9096                 
9097         * configure.in:
9098         * lib/geometry.h: On Solaris and perhaps other systems, finite()
9099         is defined in ieeefp.h rather than in math.h. Patch from Andrew
9100         Halper <ashalper@acm.org> with further modifications, isinf() is
9101         provided by -lsunmath (sunmath.h).
9102         
9103         * lib/font.c: conditionally disabled Lars' debugging messages.
9104         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
9105         
9106 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
9108         * lib/bezier_conn.h: 
9109         * objects/standard/bezier.c (bezierline_create): 
9110         * lib/bezier_conn.c (bezierconn_init): 
9111         Preparations for use of userdata for bezier lines.
9112         
9113         * objects/standard/polygon.c: 
9114         * objects/standard/create.h:
9115         * lib/polyshape.c:
9116         * lib/polyshape.h:
9117         * plug-ins/xfig/xfig-import.c:
9118         Use of user_data for polygon as well, including adding
9119         polyshape_set_points.  Include file for non-interactive 
9120         creation of standard objects, objects/standard/create.h
9122 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9124         * app/render_gdk.c: 
9125         * app/render_gdk.h: 
9126         * lib/font.c:
9127         * lib/font.h:
9128         * lib/widgets.c:
9129         More preliminary freetype support.  Not at all functional, crashes
9130         when rendering.
9132         * lib/poly_conn.h: 
9133         * lib/poly_conn.c: 
9134         * objects/standard/polyline.c: 
9135         Support for creating polyline objects with more than two points.
9136         This includes an extra function and a prototype change in the
9137         poly_conn lib object.
9139         * lib/object.c (object_copy): Fixed memory leak of handles and
9140         connections.
9142 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
9144         * dia.desktop: added traditional Chinese strings
9146 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
9148         * NEWS: updated to reflect build-time dependencies.
9150         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
9151         around obj->ops->describe_props(obj). Quarks are none of an
9152         object's business in the general case... 
9153         * lib/text.c: Added an apply_textattr_properties() function to
9154         factor out some common code related to applying a dialog's text
9155         attribute properties to a (Text *) which wasn't edited there. 
9156         Ditto for textstr, for the string part of an objet.
9158         * objects/GRAFCET/action.c:
9159         * objects/SADT/annotation.c:
9160         * objects/SADT/box.c: used apply_textattr_properties().
9161         
9162         * objects/UML/actor.c: 
9163         * objects/UML/branch.c:
9164         * objects/UML/component.c:
9165         * objects/UML/constraint.c:
9166         * objects/UML/small_package.c:
9167         * objects/UML/state.c:
9168         * objects/UML/usecase.c:
9169         * objects/UML/large_package.c:
9170         * objects/UML/note.c:
9171         * objects/UML/node.c:
9172         * objects/UML/message.c:
9173         * objects/UML/classicon.c:
9174         * objects/UML/object.c:
9175         * objects/UML/realizes.c:
9176         * objects/UML/dependency.c:
9177         * objects/UML/implements.c:
9178         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
9179         (most objects were already using StdProps to some extent ; this
9180         systematises usage and removes some dead wood). 
9181         
9182         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
9183         * objects/UML/uml.[ch]: audited for UTF-8.
9185         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
9186         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
9187         private (ISO-8859-1) definition.
9188         
9189         * lib/charconv.c: Added a warning if we didn't run
9190         nl_langinfo(CODESET) but rely instead on a hardcoded default.
9191         
9192 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
9194         * lib/diamenu.h:
9195         * app/disp_callbacks.c: added a way for an object to cause an
9196         already realised menu to be destroyed (for instance if it changes
9197         too much).
9199         * objects/custom/custom_object.c: used the above to fix #55073.
9201 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9203         * configure.in: Remove 2.50 prereq.
9205 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
9207         * po-checktrans.py: under some circumstances, there was one column 
9208         more than what was supposed to be, thus breaking the formatting.
9209         
9210 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
9211         
9212         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
9214         * NEWS: updated with new stuff since 0.88
9216         * shapes/network/antenna.shape: the text was misplaced ; fixed.
9218         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
9219         firewall router (upon request from Cyril Lacoux
9220         <clacoux@easter-eggs.com>)
9222         * configure.in (didn't rename to configure.ac): autoconf 2.50
9223         constructs were used ; added an AC_PREREQ call to guard against
9224         older autoconfs.
9225         
9226 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
9228         * lib/properties.c: minor clean-ups with the event delivery code.
9230         * EML/instantiation.c: brought this object back from stone and ice
9231         age.    
9233         * app/diaconv.c(NEW): added a command-line conversion tool. Still
9234         lacks a man page and correctness. In fact, it doesn't work. Please
9235         see #58196 if you want to finish it.
9236         
9237         * lib/message.[ch]: redefined things a little so that a different
9238         message_internal routine could be passed.
9239         applications can use that to fit themselves to the display model.
9241 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
9243         * objects/SADT/box.c: 
9244         * objects/GRAFCET/action.c: spelling in property descriptors (name
9245         field...)
9246         * objects/SADT/annotation.c: ditto, plus a temporary test of the
9247         event delivery code (try to click on the "click me !" button !).
9249         * app/group.c: 
9250         * lib/properties.[ch]: improved (fixed) support for group event 
9251         handlers. Fixed various things from yesterday's code to make it
9252         not too obviously crash.
9254 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
9256         * app/group.c: added delivery of events to the first member of the
9257         group which is able to process it.
9259         * lib/properties.c(prop_desc_lists_intersection): properties
9260         don't match if they don't have identical event handler.
9261         * lib/properties.h: simplified the PropEventHandler signature.
9263         Event delivery code is still untested so far, but should be
9264         lurking harmless.
9265         
9266 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
9268         * lib/properties.[ch]: Added (untested !) property event handler
9269         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
9270         generating such events. This stuff compiles, and should lurk
9271         around silently as long as you don't declare property descriptors
9272         with events (AFAICT).
9273         In object_create_props_dialog() and friends:
9274         attached a single structure with lots of data instead of lots of
9275         little attachments of data to the dialog widget.
9276         
9277         * lib/object.h: fixed mild typedef breakage introduced by the above.
9279 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9281         * lots of files: Changed Font to DiaFont
9282         * */Makefile.am: Added FREETYPE_LIBS
9283         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
9285 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
9287         * configure.in: Added "nn" to ALL_LINGUAS.
9288         
9289 2001-07-09  Alex Larsson  <alexl@redhat.com>
9291         * app/disp_callbacks.c:
9292         Add gdk_im_ready() calls to XIM code.
9294 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
9296         * lib/properties.[ch]: splitted prop_get_widget() into
9297         prop_get_widget() (gives a widget but doesn't fill it) and 
9298         prop_reset_widget() (fills an existing widget with a property's value).
9300         * lib/widgets.[ch]: const enforcement police work.
9302         * shapes/network/antenna.shape: added a connection point at top,
9303         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
9304         
9305 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
9307         * intl/*: tested with gettext-0.10.38
9308         * configure.in: moved a macro call around (AM_PROG_CC) to keep
9309         some of autogen.sh from complaining.
9310         * INSTALL: added a warning against gettext older than at least 0.10.36
9311         
9312 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
9314         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
9315         AM_ICONV (both provided by gettext)
9317 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
9319         * lib/charconv.c: corrected the degraded mode for when
9320         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
9322         * objects/chronoline/chronoline_events.c: UTF8 compliance.
9323         
9324 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
9326         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
9327         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
9328         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
9329         into a frame box.
9331         * objects/chronogram/chronoline.c:
9332         * objects/chronogram/chronoref.c: took advantage of the above to
9333         make nicer looking dialogs.
9335         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
9336         from libunicode's internals).
9337         * lib/message.c: convert strings to local encoding prior to
9338         display (UNICODE_WORK_IN_PROGRESS)
9339         * lib/properties.[ch]: convert strings to local encoding prior to
9340         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
9341         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
9342         * lib/stringprerenderer.[ch]: ditto
9344         (lib/text.c has been audited for UTF8, but the size of the changes
9345         make them inappropriate for commit before 0.89)
9346         
9347 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
9349         * objects/boolequation.h (<save|load>_boolequation): made the 
9350         prototypes for match the .c file.
9351         
9352         * samples/grafcet.dia: minor non-conformance with IEC-848
9353         fixed (in the transition from step 100 to step 101).
9355         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
9356         disallow editing of properties if the object is part of a group.
9358         * objects/chronogram/chronoline.c: 
9359         * objects/SADT/annotation.c:
9360         * objects/SADT/box.c:
9361         * objects/GRAFCET/step.c:
9362         * objects/GRAFCET/transition.c:
9363         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
9364         
9365 2001-06-12  Hans Breuer  <hans@breuer.org>
9367         * lib/libdia.def : removed lazyprop exports
9368         * lib/makefile.msc : removed lazyprop.obj
9370         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
9371         and avoid crashes by always creating a custom->text,
9372         when (custom->info->has_text) 
9374         * objects/makefile.msc : removed sybase from build
9376         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
9377         ObjectNode is a pointer already, which is what we want
9378         instead of a pointer pointer.
9380         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
9381         and implemented working export for images
9383         * shapes/network/zip-disk.shape : added connection points 
9385 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
9387         * objects/SADT/box.c: removed lazyprops for standard props.
9388         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
9389         * objects/chronograms/chronoref.c: ditto 
9391         * lib/Makefile.am:
9392         * lib/dummy_dep.h:
9393         * lib/connpoint_line.c:
9394         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
9395         * lib/properties.[ch]: new property types:
9396             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
9397             - PROP_TYPE_MULTISTRING: same as string, but renders as a
9398             multi-line entry box.
9399             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
9400             in a tabbed-notebook style (this is a bit complicated to use; 
9401             see objects/chronograms/chronoline.c for an example).
9402                
9403 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
9405         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
9406         * objects/GRAFCET/step.c: ditto.
9407         * objects/GRAFCET/vector.c: ditto.
9408         * objects/SADT/annotation.c: ditto.
9409         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
9410         
9411         * lib/properties.[ch]: two more non-visible types
9412         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
9414         * lib/neworthconn.[ch]:
9415         * lib/orthconn.[ch]: added support for manipulation through
9416         standard properties.
9418         * configure.in: removed -fomit-frame-pointer, this seems to
9419         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
9420         bugzilla.
9422         * charconv.[ch]: more functions from unicode.h.
9423         get_local_charset() wasn't working properly, fixed now.
9424         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
9425         ElectricFence !)
9426         
9427         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
9428         * lib/lazyprops.[ch]: put a big fat warning in.
9430         * app/render_eps.c: one line mysteriously went away, causing a
9431         variable to be used uninitialised....
9433 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
9435         * app/app_procs.c: commented out the call to
9436         bind_textdomain_codeset(): it's premature.
9437         
9438         * lib/connpoint_line.c: a NULL point can be given to
9439         connpointline_adjust_count(), in case there's not really a clicked
9440         point.
9442         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
9443         #include order troubles. #included by lib/text.h, so there is no 
9444         impact outside lib/.
9445         * lib/properties.[ch]: added support for CONNPOINT_LINE and
9446         (nonvisible) TEXT properties.
9448         * objects/GRAFCET/action.c:
9449         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
9450         properties.
9451         
9452         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
9453         standard properties code). Grafted a dynamic number of connection
9454         points (heavily inspired from what Vergent does). This is the real
9455         fix for #55863.
9457         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
9459         * lib/fonts.c: some hardening (mostly g_assert())
9460 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
9462         * app/app_procs.c (app_init): added a call to
9463         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
9464         (UNICODE_WORK_IN_PROGRESS).
9465         
9466 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
9468         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
9470         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
9471         (fixes #55863) : some clean-ups in the handling of connection
9472         points. Now the total number of connection points is just a
9473         #define (the proper solution is to retrofit the GRAFCET Vergent's
9474         dynamic behaviour wrt connection points).
9475         
9476 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
9478         * app/app_procs.c (app_init): added a call to unicode_init() (only
9479         if HAVE_UNICODE, of course).
9481         * lib/charconv.c: simplified the code which detects the local
9482         charset. No need to use <langinfo.h>, libunicode already takes the
9483         burden of figuring that out. Also, if local charset is utf8, no
9484         conversion will take place.
9485         Exposed a way to get the current charset (similar to
9486         unicode_get_charset() but actually working, hopefully).
9488         * lib/charconv.h: Added a partial non-UTF8 implementation of
9489         unicode.h if !HAVE_UNICODE (actually, all the time for the
9490         moment). The UTF8 implementation is just macros on libunicode (use
9491         the functions prefixed by uni_, as defined by charconv.h, not
9492         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
9493         From now on, all strings which don't *need* to be ASCII should be
9494         utfchar *, not gchar *. Just include charconv.h, let it sort out
9495         the details (such as: "is libunicode available and enabled?") 
9497         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
9498         "API" instead of directly libunicode. Removed the now unnecessary
9499         speculative clustering of characters in encoding pages.
9501         * app/render_eps.c: made the local8->utf8 conversions dependent of
9502         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
9503         boundary will be when this WIP is done).
9505         * lib/dia_xml.c (data_point): fixed a format string typo.
9507         * po/POTFILES.in: added all C files from lib/ 
9508         
9509 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
9511         * app/disp_callbacks.c: make sure the objects' connected objects
9512         are updated when the objects' size changes after a keypress event
9513         (fixes #51222)
9515         * configure.in: added a big warning about the possible future
9516         non-optionality of --enable-unicode. 
9518         * TODO: removed entries which look like done ; added a few ones
9519         (Bugzilla "enhancement" bugs may be a better way to keep track of
9520         this)
9521         
9522 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
9524         * objects/UML/message.c: got rid of #55564 and of message_copy()
9525         by using more standard properties (are the message_state_*()
9526         functions still necessary ?)
9528 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
9530         * lib/plug-ins.c: 
9531         * objecs/custom/shape_info.c:
9532         * plug-ins/shape/shape-export.c:
9533         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
9534         use xmlChar instead of obsolete CHAR.
9536 2001-06-03  Hans Breuer  <hans@breuer.org>
9538         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
9539         * app/commands.c : give the right number of parameters
9540         to diagram_update_menu_sensitivity ()
9542         * app/preferences.c : do proper initialization for DiaPrefsData:
9543         render_bounding_boxes. It would be a real surprise if 'hidden'
9544         properties would have ever worked before.
9545         Don't try to access the widgets of hidden property, it does not
9546         have one.
9548         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
9549         it is defined in libdia, but initialized from dia app, which 
9550         otherwise gave nice start-up crashes.
9552         * lib/diagramdata.c : initialize the color for rendering bounding 
9553         boxes in the Dia range (0 .. 1.0)
9555         * lib/libdia.def : added *_bbox functions for export
9557         * lib/makefile.msc : added new sources
9559         * objects/custom/custom_object.c : use HAVE_UNISTD_H
9561 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
9563         * app/interface.c:
9564         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
9565         removes a translation of menus (in a place where there shouldn't
9566         have been), which gets rid of a waterfall of warnings if LANG!=C,
9567         and a fix to #55047.
9569 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
9571         * lib/charconv.c : added #include <errno.h>
9573         * app/dia_embedd.c : updated menus_get_item_from_path usage
9574         
9575 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
9577         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
9578         Added a special case for Symbol strings, so that they're not
9579         re-encoded using the LN encoding (we use the bare Adobe encoding
9580         instead).
9582         * objects/custom/custom_object.c: Now that #52912 is fixed,
9583         I could remove the ugly hack I wrote to squash the shape bounding box
9584         problem shown by Ben A. Hetland a few months ago, and fix it
9585         properly this time.
9586         
9587         * lib/text.c: enlarged a little the bounding box to account for
9588         the cursor in rightmost position.
9589         
9590         * lib/diagramdata.c: draw bounding boxes only if the relevant
9591         variable is set (as before), but also only if the rendere is
9592         interactive (ie, don't bother rendering bounding boxes on 
9593         Postscript...)
9594         Made the bounding box's line width a fixed value, 0.01
9595         
9596         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
9597         and assymmetric control beziers. Implemented ellipse_bbox().
9598         
9599         * Makefile.am: incantations to get po/dia.pot build, as suggested
9600         by Hubert in #55075.
9601         
9602         * shapes/network/computer.shape: typo fixed.
9603         * shapes/network/antenna.shape: fixed #55074 (antenna is now
9604         properly translucent, except for its base where it makes sense. It
9605         doesn't look that ugly anymore if transparent mode is on).
9607         * configure.in: --enable-unicode is now the default. This
9608         still currently affects only printing.
9609         
9610 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
9612         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
9613         The overshoot code is buggy, and the bounding boxes for polyshapes
9614         looks a bit cheezy. To be done ASAP.
9616 2001-05-26  James Henstridge  <james@daa.com.au>
9618         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
9619         This should clear up some of the build problems people have been
9620         having.
9622         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
9624 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
9626         * lib/Makefile.am:
9627         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
9628         box code (beginning with lines, polylines and polybeziers), into a
9629         more generic facility. While at it, a better shot at correctly
9630         computing the bounding box of a Bezieroid (should take care of
9631         #53424, #51233 and of course is part 1 of #52912).
9633         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
9634         into a hidden preference (set render_bounding_boxes in diarc).
9635         * app/preferences.[ch]: Added support for hidden preferences.
9637         * lib/geometry.[ch]: sprinkled with "const" modifiers.
9638         
9639         * lib/bezier_conn.[ch]:
9640         * lib/beziershape.[ch]:
9641         * lib/connection.[ch]:
9642         * lib/element.[ch]:
9643         * lib/poly_conn.[ch]:
9644         * lib/orth_conn.[ch]:
9645         * lib/neworth_conn.[ch]:
9646         * lib/polyshape.[ch]: adapted to take advantage of
9647         boundingbox.[ch] instead of relying on private (duplicate) code.
9649         * object/FS/flow.c:
9650         * object/GRAFCET/action.c:
9651         * objects/GRAFCET/condition.c:
9652         * objects/GRAFCET/vergent.c:
9653         * objects/GRAFCET/vector.c:
9654         * objects/SADT/annotation.c:
9655         * objects/SADT/arrow.c:
9656         * objects/ER/participation.c:
9657         * objects/UML/constraint.c:
9658         * objects/UML/implements.c:
9659         * objects/UML/lifeline.c:
9660         * objects/UML/message.c:
9661         * objects/UML/realizes.c:
9662         * objects/UML/generalization.c:
9663         * objects/UML/association.c:
9664         * objects/UML/dependency.c:
9665         * objects/FS/flow-ortho.c:
9666         * objects/network/bus.c:
9667         * objects/standard/arc.c:
9668         * objects/standard/bezier.c:
9669         * objects/standard/beziergon.c:
9670         * objects/standard/line.c:
9671         * objects/standard/polygon.c:
9672         * objects/standard/zigzagline.c:
9673         
9674         * objects/standard/polyline.c: Some *BBExtras structures changed
9675         names while moving to boundingbox.[ch]. A trivial mass-renaming.
9676         
9677 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
9679         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
9680         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
9682         * app/display.c (ddisplay_update_scrollbars): from Patrick's
9683         suggestion, remove the extra scrollable area (it was only visible
9684         to the scrollbars). This is experimental.
9685         
9686         * objects/custom/custom_object.c: If a shape's icon file doesn't 
9687         exist, warn and substitute a default icon, instead of crashing.
9688         (fixes #52913)
9689         
9690         * objects/network/network.c:
9691         * shapes/network/modularswitch.(shape|xpm) (NEW):
9692         * shapes/network/printer.(shape|xpm) (NEW):
9693         * shapes/network/genmonitor.(shape|xpm) (NEW):
9694         * shapes/network/computer.(shape|xpm) (NEW):
9695         * shapes/network/Makefile.am: four less objects, four more shapes.
9696         These were the last known RenderObjects. (phew !)
9698         * lib/Makefile.am:
9699         * lib/dummy_dep.h:
9700         * objects/sybase/Makefile.am: 
9701         * objects/network/Makefile.am: Removed the older Renderobjects
9702         from the build, and their infrastructure (not yet deleted,
9703         though).
9705         * shapes/network/sceadplug.shape:
9706         * shapes/network/antenna.shape:
9707         * shapes/network/modem.shape:
9708         * shapes/network/hub.shape:
9709         * shapes/network/rj45plug.shape:
9710         * shapes/sybase/client.shape:
9711         * shapes/sybase/dataserver.shape:
9712         * shapes/sybase/ltm.shape:
9713         * shapes/sybase/repserver.shape:
9714         * shapes/sybase/rsm.shape:
9715         * shapes/sybase/stableq.shape: Minor corrections (line widths were
9716         ten times too narrow).
9717         
9718 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
9720         * objects/network/network.c:
9721         * shapes/network/sceadplug.(shape|xpm) (NEW):
9722         * shapes/network/antenna.(shape|xpm) (NEW):
9723         * shapes/network/modem.(shape|xpm) (NEW):
9724         * shapes/network/Makefile.am: four less objects, four more shapes.
9725         
9726         * lib/Makefile.am:
9727         * lib/diagramdata.c:
9728         * lib/render.h:
9729         * lib/string_prerenderer.[ch] (NEW):
9730         Add a new renderer primitive, predraw_string() (does nothing, to be
9731         used as a hook to optimise the character encodings if needed). 
9732         Added a string pre-renderer, which can be viewed as a filter
9733         renderer (to route draw_string() to predraw_string() and ignore
9734         the rest, in a first rendering pass)
9735         
9736         * app/render_eps.c: Took advantage of the above to make wholly
9737         optimised Postscript encoding page(s), even (especially) with 
9738         non-latin1 code (HAVE_UNICODE must be true).
9740         (#53512 in fact is wholly resolved).
9741         
9742 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
9744         * lib/charconv.c: steps towards resolution of #53512 (inspired by
9745         Alexey Novodvorsky <aen@logic.ru>'s patch).
9747         * app/menus.c (dia_menu_signal_proxy): checked that the signal
9748         handler is not NULL before transferring control to it... (fixes #52836)
9750         * app/app_procs.c (app_init): removed non-constant initialiser
9751         (fixes #52950)
9753         * objects/custom/custom_object.c:
9754         * objects/custom/shape_info.[ch]:
9755         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
9756         <skh@mathstar.com>. This add support for a <svg:text> shape
9757         element, and some related style properties (font, font height, 
9758         alignment)
9760         * doc/custom_shapes: a precision about the meaning of case in a
9761         SVG path (closes #52364)
9763         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
9764         fixed by <drk@sgi.com>)
9765         
9766 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
9768         * objects/network/network.c:
9769         * shapes/network/Makefile.am:
9770         * shapes/network/hub.(shape|xpm) (NEW):
9771         * shapes/network/flash.(shape|xpm) (NEW):
9772         * shapes/network/rj45plug.(shape|xpm) (NEW):
9773         More shapes, less renderobjects.
9775 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
9776         
9777         * plug-ins/svg/render_svg.c: typo made exported ellipses
9778         corrupted (zero Y pseudo-radius).
9780         * objects/network/network.c:
9781         * objects/network/disc.c:
9782         * shapes/network/disc.(shape|xpm): Converted the first
9783         Renderobject into a shape. Normally, old diagrams should reload
9784         without problems (please check this against your diagrams). More
9785         flexibility should be gained that way. I intend to hunt and
9786         eradicate all renderobjects as I can commit cycles to that. 
9788         * objects/Makefile.am:
9789         * configure.in:
9790         * app/Makefile.am:
9791         * objects/sybase/sybase.c:
9792         * shapes/sybase/Makefile.am(NEW):
9793         * shapes/sybase/client.(xpm|shape) (NEW):
9794         * shapes/sybase/dataserver.(xpm|shape) (NEW):
9795         * shapes/sybase/ltm.(xpm|shape) (NEW):
9796         * shapes/sybase/repserver.(xpm|shape) (NEW):
9797         * shapes/sybase/rsm.(xpm|shape) (NEW):
9798         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
9799         renderobjects into shapes. The Sybase objects are now not compiled
9800         anymore, and ready to be nuked if nobody objects in the next few weeks.
9801         
9802         * app/commands.c:
9803         * app/diagram.[ch]:
9804         * app/disp_callbacks.c:
9805         * app/display.[ch]:
9806         * app/interface.[ch]:
9807         * app/menus.[ch]:
9808         * app/modify_tool.c:
9809         * app/preferences.[ch]:
9810         * app/recent_files.c:
9811         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
9812         a menu bar reflecting the popup menu, to each display window. This
9813         is optional (changing the preference currently doesn't affect
9814         already opened windows; a few other rough edges to cut).
9816         * plug-ins/wpg/wpg.c:
9817         * plug-ins/xfig/xfig-import.c:
9818         * plug-ins/python/pydia-property.c:
9819         * plug-ins/python/pydia-properties.c:
9820         * plug-ins/python/pydia-geometry.c:
9821         * plug-ins/pstricks/render_pstricks.c:
9822         * lib/arrows.c:
9823         * objects/EML/dbox.c:
9824         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
9825         #53054.
9827         * lib/ps-utf8.c: improved the clustering of alphabetic character
9828         definitions in custom encodings pages.
9829         
9830 2001-05-02  Hans Breuer  <hans@breuer.org>
9832         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
9833         of 'obj_bb' to PROP_TYPE_RECT
9835         * objects/custom/custom_object.c : take all quarks into account, 
9836         not only 4 as copy&paste suggests
9838         * objects/uml/objects.c : completed the implementation of the
9839         property api to avoid reading of totally bogus data. Removed
9840         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
9841         there was too much but too less ...
9842   
9843         The above changes removed all known crashes (mentioned below) 
9844         from the Property API. Property access is still incomplete though.
9846         * objects/flowchart/box.c :
9847         * objects/flowchart/diamond.c :
9848         * objects/flowchart/ellipse.c :
9849         * objects/flowchart/parallelogram.c :
9850         * objects/uml/classicon.c :
9851         * objects/uml/state.c : calculate number of quarks from quark array 
9852         size instead of using hardcoded values for consistence and to avoid 
9853         future bugs like the above
9854         
9855         * objects/eml/nlist.c : include <string.h> for strcmp()
9857         * lib/dia_xml.c : relax g_warning for values, which
9858         appear to be too small. There is nothing which prevents
9859         them while saving
9861         * plug-ins/python/pydia-geometry.c : changed stringifying of
9862         geometry objects accept BezPoint back to %f, which does not
9863         crash anymore, because all the data is intialized now and it
9864         simply is more readable than %e ...
9866         * plug-ins/python/python-startup.py : removed dependency
9867         to PyGtk, because it isn't required here and probably won't
9868         in i.e.: export filters.
9870         * plug-ins/python/gtkcons.py : create the gtkoutfile even
9871         if sys.stderr.fileno() isn't supported
9873         * app/makefile.msc : make version 0.88
9874         * plug-ins/makefile.msc : make version 0.88 an added new
9875         xfig files to build
9877 2001-05-11  James Henstridge  <james@daa.com.au>
9879         * NEWS: remember to add news items this time.
9881         * dia.spec: update spec file for 0.88 release.
9883         * configure.in: up version number to 0.88
9885         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
9886         preventing any of the useful python scripts from being
9887         distributed.
9889         * sheets/Makefile.am (sheet-translation-report): fix bustage I
9890         introduced in my fixups for the 0.87 release :(
9892 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9894         * plug-ins/xfig/xfig-import.c: Finally got groups working.
9896 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
9898         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
9899         group manipulation.
9901 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
9903         * lib/ps-utf8.[ch]:
9904         * lib/Makefile.am: fix makefile breakage which led to not
9905         including ps-utf8.[ch] in the released tarballs. 
9907 2001-05-09  James Henstridge  <james@daa.com.au>
9909         * Makefile.am (core-translation-report): dist scripts needed for
9910         this target, and change to $(srcdir) before running.
9912         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
9913         files aren't automatically included in the tarball by automake
9914         because they could be generated files.
9916         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
9918         * doc/en/Makefile.am (install-data-hook): fix up where graphics
9919         are installed.
9921         * configure.in: up version number to 0.87
9923         * plug-ins/python/*.py: no longer necessary to explicitly set
9924         sys.argv, as python.c does it for us now (like it should).
9926         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
9927         python plugin.
9929         * plug-ins/python/python-startup.py: startup script that imports
9930         all modules in $(datadir)/dia/python and ~/.dia/python.
9932         * plug-ins/python/python.c (dia_plugin_init): change so that it
9933         only runs the $(datadir)/dia/python-startup.py script.  Make sure
9934         that sys.argv and __main__.__file__ are set when calling the
9935         startup script.
9937         * plug-ins/python/Makefile.am: update makefile.  Make it install
9938         gtkcons.py plugin.  I haven't set any other plugins to install, as
9939         they look like they are mainly for debugging purposes.
9941         * configure.in: add tests to detect if python is available, so we
9942         can build the python plugin.  Only run if --with-python passed to
9943         configure.
9945 2001-05-08  James Henstridge  <james@daa.com.au>
9947         * acinclude.m4: add macros for detecting python.
9949         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
9950         at GNOME_APP_UI_SUBTREE entries.
9951         (menus_add_path): function to add a menu item to the menubars.
9952         Uses a hash table to keep track of extra menu items it adds.  Also
9953         notifies the item factory about the entries so that accels can be
9954         saved for them.
9955         (menus_add_path): implement gtk only version.
9956         (menus_init): use menus_add_path() to add the menu.
9957         (plugin_callback): simplify.
9959 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
9961         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
9962         
9963 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9965         * plug-ins/xfig/xfig-export.c: 
9966         * plug-ins/xfig/xfig-common.c: 
9967         * plug-ins/xfig/xfig-import.c: 
9968         * plug-ins/xfig/xfig.c: 
9969         * plug-ins/xfig/xfig.h: 
9970         * app/Makefile.am: Added support for exporting to Fig format
9971         (except splits, which are less powerful in Fig).  Some refactoring
9972         along the way.
9974 2001-05-02  Hans Breuer  <hans@breuer.org>
9976         * plug-ins/python/debug_objects.py : added another
9977         test to get massive crashes from the Property API due
9978         to unintialized data.
9980         * app/menu.c : the callback_action wasn't incremented
9981         (should have checked my last optimization). Now more
9982         than one plug-in callback is supported again.
9984         * plug-ins/python/pydia-geometry.c : avoid crashes from
9985         glib, when trying to g_strdup_printf unintialized floats.
9987         * plug-ins/python/pydia-property.c : avoid crashes from
9988         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
9990 2001-05-01  Hans Breuer  <hans@breuer.org>
9992         * objects/makefile.msc : added eml
9993         * objects/eml/instantiation.c : initialize 'inst' pointer
9994         before using, zero initialization for objects
9995         * objects/eml/interaction-ortho.c :
9996         * objects/eml/interaction.c : zero initialization for objects
9998         * app/menus.c : removed Gimp mru stuff which slipped in at
9999         2000-08-15, was never activated and will never be needed, 
10000         because of Steffens recent file list patch added at 2001-01-05.
10002         * objects/eml/*.c : some more zero initialization of objects
10003         to avoid infinite (uninitialized) bounding boxes
10005         Implemented a callback api which allows plug-ins to register
10006         menu call backs. Dia for Gnome should compile, but will need 
10007         some extra tweaking to make it work because I can't test it.
10009         * plug-ins/python/pydia-error.h :
10010         * plug-ins/python/pydia-render.c : moved Pxthon function return 
10011         value handling from pydia-render.c to pydia-error.h, to make it
10012         usable for
10013         * plug-ins/python/diamodule.c : implement callback function
10014         registration from and relaying to Python code
10016         * app/menus.c : register and use plug-in menu callbacks
10018         * lib/filter.[hc] : implement filter_register_callback() and
10019         filter_get_callbacks() for the above
10020         * lib/libdia.def : export them
10022         * plug-ins/python/debug_objects.py (new file): 
10023         sample using the above
10025 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
10027         * plug-ins/shape/shape-export.c (new_shape_renderer): 
10028         The name of a shape is now taken from the dir, to conform with
10029         standard naming.
10031 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
10033         * app/properties.c (properties_show): Added title containing
10034         object type, plus (hopefully) fix of the ghost properties dialog.
10036 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
10038         * app/display.c: remove the display idle handler in case we
10039         destroy the ddisplay (caused crashes in ddd, probably random
10040         crashes elsewhere).
10042         * autogen.sh: 
10043         * configure.in:
10044         * Makefile.am: hack around gettext-0.10.36's new "features".
10045         
10046         * lib/properties.[ch]: added new function object_copy_props().
10047         Added new property type PROP_TYPE_ENDPOINTS
10049         * lib/connection.h: added support for load/saving through the
10050         properties interface.
10052         * lib/object.[ch]: object_load/save/copy_using_properties()
10053         support functions (code factorisations).
10054         
10055         * objects/GRAFCET/boolequation.c: check against null values in
10056         boolequation_set_value() and boolequation_destroy().
10058         * objects/GRAFCET/transition.c: Converted from lazyprops to
10059         standard properties. 31% less (x86) code !
10061         * objects/GRAFCET/condition.c: also converted from lazyprops to
10062         standard properties. Also killed lots of code.
10063         
10064 2001-04-13  Hans Breuer  <hans@breuer.org>
10066         * plug-ins/wmf/wmf.cpp : changed text conversion from
10067         g_utf8_utf16 to g_convert usage. The latter function is already
10068         available in tml's last "official" Gtk+ version (2000-12-26).
10069         This change allows to use recent Dia with either the official
10070         version or the latest cvs "gtk-1-3-win32-production"-branch.
10072 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10074         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
10075         * app/disp_callbacks.c:
10076         - Allow submenus in DiaMenus.
10077         - Don't require DiaMenu.title to be non-null (so that
10078           submenus aren't required to have titles)
10080         * objects/FS/function.c:
10081         - object menu now has submenus, an almost complete list of
10082           standard-basis verbs, and a start on nouns.
10083         - box padding, dash length, and other visual attributes are
10084           scaled by the font size... eventually font height will be
10085           a function property.
10086         - draw functions with smaller font to make initial view hold
10087           a reasonable number of functions.
10088         
10089 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
10091         * sheets/ER.sheet:
10092         * sheets/chronogram.sheet:
10093         * sheets/jigsaw.sheet:
10094         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
10095         Wieers <dag@wieers.com>
10097 2001-04-13  Hans Breuer  <hans@breuer.org>
10099         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
10100         to ensure that all the deinitialization is only done once. Fixes
10101         recent app exit crash on win32
10103         * lib/dia_xml.c : provide isinf() replacement for msc which does only
10104         have _finite()
10106         * lib/libdia.def : updated
10108         * objects/makefile.msc : added wanlink.c 
10110         * objects/network/wanlink.c : added M_PI_2 definition for poor
10111         platforms which don't have one
10113         * objects/standard/arc.c :
10114         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
10115         initialized which led to rather huge bounding boxes (try Ctrl^A on
10116         diagrams with Arcs or ZigZagLines).
10117         * objects/*/*.c : to avoid further bugs like the above changed all
10118         object initializations to g_malloc0 or g_new0
10121 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
10123         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
10124         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
10126         * objects/UML/class.c: 
10127         * objects/UML/usecase.c:
10128         * objects/UML/large_package.c:
10129         * objects/UML/message.c:
10130         * objects/UML/object.c:
10131         * objects/UML/lifeline.c:
10132         * objects/FS/flow.c:
10133         * objects/FS/flow-ortho.c:
10134         * objects/FS/function.c:
10135         * objects/custom/custom_object.c:
10136         * objects/GRAFCET/vergent.c:
10137         * objects/chronogram/chronoref.c:
10138         * objects/SADT/box.c:
10139         * objects/SADT/annotation.c:
10140         * plug-ins/dxf/dxf-import.c:
10141         * plug-ins/xfig/xfig-import.c:
10142         * plug-ins/wpg/wpg.c:
10143         * app/command.c:
10144         * app/app_procs.c:
10145         * app/display.c: /* certainly more WIP than dead code there */
10146         Unused variables, unused static function definitions, forgotten or
10147         incomplete prototypes added or fixed, lack of const or unwanted const,
10148         etc. (mostly clean-ups of leftovers of the pre-properties era).
10149         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
10150         please check these.
10152         * app/lineprops_area.c: More of the same. Missing prototypes
10153         added, and functions unused outside made static.
10155         * app/recent_files.c:
10156         * app/properties.c:
10157         * app/defaults.c: some variables are used only when doing a GNOME
10158         build.
10159         
10160         * app/magnify.c: missing #include <stdlib.h>.
10162         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
10164         These are a lot of clean-ups (by the way, this compiles and runs
10165         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
10166         for DEAD_CODE, and if it's yours, judge it.
10167         
10168 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
10170         * plug-ins/dxf-import.c: some progress with the arcs; still some
10171         clean-ups to do and line width scaling issues to figure out.
10173         * objects/standard/arc.c: start_point and end_point properties
10174         (duplicated from standard/line.c)
10176         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
10177         code there.
10178         
10179 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
10181         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
10182         preliminary support for arcs (doesn't work). Circles and ellipses are
10183         now transparent. Coordinate and width scaling are now a common 
10184         static constant (probably before morphing into a preference).
10185         
10186         * sheet/checktrans.py: improved error reporting. Made checktrans
10187         count lack of <name xml:lang="code"> as a lack of translation for
10188         language "code" (no, it's not a plot to bring down other
10189         language's scores !)
10190         
10191         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
10192         in the header, and have <name xml:lang="fr"> components.
10193         
10194 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
10196         * objects/custom/custom_object.c: temporary hack to fix the shape
10197         bounding box reported by Ben A. Hetland. Proper fix isn't .87
10198         material, see bugzilla #52912.
10200 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10202         * objects/standard/image.c (get_directory): Now uses
10203         G_SEPARATOR_CHAR_S instead of "/"
10205         * sheets/network.sheet: 
10206         * sheets/Logic.sheet:
10207         * sheets/Flowchart.sheet:
10208         * sheets/Electric.sheet:
10209         * sheets/Circuit.sheet:
10210         * sheets/ER.sheet:
10211         * sheets/Pneumatic.sheet:
10212         * sheets/SDL.sheet:
10213         * sheets/UML.sheet:
10214         * sheets/GRAFCET.sheet:
10215         * sheets/MSE.sheet:
10216         * sheets/chronogram.sheet:
10217         * sheets/civil.sheet:
10218         * sheets/network.sheet:
10219         Danish translations.
10220         
10221         * objects/standard/image.c (get_directory): Changed get_directory
10222         to use g_dirname to find the directory part.
10224 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
10226         * sheets/ER.sheet:
10227         * sheets/Electric.sheet:
10228         * sheets/Flowchart.sheet:
10229         * sheets/Logic.sheet:
10230         * sheets/network.sheet: More Dutch translations from Dag Wieers.
10232 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10234         * sheets/checktrans.py: now emits a warning when two descriptions
10235         for a single language code are found.
10237         * Makefile.am:
10238         * sheets/Makefile.am: -translation-reports now also depend on their
10239         checktrans.py
10240         
10241 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10243         * sheets/Circuit.sheet:
10244         * sheets/Contact.sheet:
10245         * sheets/Logic.sheet:
10246         * sheets/chronogram.sheet:
10247         * sheets/sybase.sheet: 
10248         Dutch translations from Dag Wieers <dag@wieers.com>
10250 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
10252         * po-checktrans.py: Now shows the detailed counts alongside the
10253         percentage of translations.
10254         
10255 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
10257         * Makefile.am:
10258         * po-checktrans (NEW):
10259         * po-checktrans.py (NEW): builds core-translation-report:
10260         percentages of core (gettext) translations done [Not placed into
10261         po/ where that should belong, because of integration fear^Wissues
10262         with gettextize]. 
10264         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
10265         sheets/sheet-translation-report probably ought to be copied on the 
10266         user's /usr/share/doc/dia (or equivalent) directory.
10268         * sheets/Makefile.am: sheet-translation-report now a simple
10269         EXTRA_DIST; make install won't install it by default. 
10270         
10271 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
10273         * app/preferences.c: changed the default grid colour to something
10274         less intrusive. 
10276         * shapes/SDL/*.shape:
10277         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
10278         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
10279         DIA FILES (well, for files using SDL), see the mailing list
10280         archive "SDL (ab)using the global shape namespace" for a script to
10281         do this conversion.
10283         * sheets/SDL.sheet: translated into French
10284         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
10285         
10286 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
10288         * lib/dia_xml.c: made data_point() more paranoid
10290         * sheets/Makefile.am:
10291         * sheets/checktrans (NEW):
10292         * sheets/checktrans.py: Made checktrans handle more gracefully the
10293         absence of python and python-xml packages, and made the error
10294         message more helpful.
10295         
10296 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10298         * lib/render_object.c (new_render_object): Made initial handles
10299         behave like on most other objects.
10301         * app/load_save.c (read_objects): Fixed premature free'ing ofr
10302         typestr causing garbage.
10304 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10306         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
10307         accouting for handle ordering through copy and save. (#51479)
10309 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
10311         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
10313 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
10315         * sheets/Circuit.sheet
10316         * sheets/UML.sheet
10317         * sheets/network.sheet: Updated German translations
10318         
10319 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10320         * lib/arrows.[ch]:
10321         * lib/widgets.c:
10322         * app/lineprops_area.c: The return of the revenge of the arrow
10323         heads. Now all types covered by ISO 10303-201 should be covered.
10324         
10325 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10327         * sheets/Flowchart.sheet: translations in probably Hungarian were
10328         a victim of cut-n-paste from the German one. Fixed (hopefully).
10329         * sheet/UML.sheet: translation in probably Norwegian was a victim
10330         of cut-n-paste from the French one. Fixed (hopefully).
10331         * sheets/Logic.sheet: French translation not tagged with
10332         xml:lang="fr".
10333         
10334         * sheets/checktrans.py:
10335         * sheets/Makefile.am: new file, sheet-translation-report, to be
10336         installed along the sheets, show how much of them has been
10337         translated into which language (I wish the result was prettier...)
10339         * po/README: most translators don't read this file, but anyway...
10341         * sheets/.cvsignore:
10342         * objects/network/.cvsignore: the usual negotiation with CVS.
10344 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
10346         * sheets/*.sheet: French translations
10348 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
10350         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
10352         ** objects/network/network.c:
10353         ** objects/network/wanlink.c:
10354         ** objects/network/pixmaps/wanlink.c:
10355         ** sheets/network.sheet:
10356         ** objects/network/Makefile.am: a better object to use instead of
10357         the older WAN Connection.
10358         
10359         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
10361         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
10362         name clash 
10364         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
10365         Arc; kept the C file name (because CVS wouldn't like it), and
10366         still registering the older object name (but advertising the newer
10367         one in sheets/GRAFCET.sheet).   
10369 2001-03-24  Hans Breuer  <hans@breuer.org>
10371         * app/dia.def : some plug-ins (currently only python, xfig) are using 
10372         functions from the dia executable. To get them working these functions 
10373         need to be explicit exported on win32. IMO the much cleaner way would
10374         be to move these functions to libdia, but that would require some
10375         long term restructuring ...
10377         * lib/libdia.def : updated
10379         * plug-ins/makefile.msc : build xfig plug-in
10381 2001-03-24  Hans Breuer  <hans@breuer.org>
10383         * app/diagram.c : g_strdup (dia->filename) because it will be
10384         g_free ()d
10386         * app/display.c : set ddisp->renderer to NULL after destruction.
10387         This may solve or help to identify erroneous access to it after
10388         destruction.
10390         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
10391         get 'umlauts' working
10393 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
10395         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
10396         were reversed... (look for the patch, and drink a beer to my
10397         stupidity)      
10398         
10399 2001-03-23  Hans Breuer  <hans@breuer.org>
10401         * app/app_procs.c : don't g_error () if the config directory
10402         can't be created (at least not on windoze) because it's quite
10403         common that the user don't read or understand the FAQ ...
10405         * app/cursor.c : use ddisplay_active () instead of active_display
10406         from app/display.c
10408         * app/display.[hc] : made active_display var static and provide
10409         an accessor funtion ddisplay_active_diagram ()
10411         * app/dia-props.c : don't store the active_diagram, but ask
10412         for it everytime it needed.
10414         * lib/properties.h : #include "intl.h"
10416         * lib/makefile.msc : need to take care of inclusion order to
10417         avoid clashes with gtk+2.0's gdk-pixbuf
10419         * objects/makefile.msc : added uml/stereotype.c to build
10421 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10423         * **/*.c: Added config.h to the remaining .c files, and changed
10424         all to be <config.h>.
10426 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
10428         * lib/arrows.c
10429         * lib/arrows.h
10430         * lib/widgets.c
10431         * app/lineprops_area.c: added new arrow types with double
10432         heads
10433         
10434 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
10436         * shapes/Civil/civil_gas_bottle.xpm
10437         * shapes/Civil/civil_gas_bottle.shape
10438         * sheets/civil.sheet
10439         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
10440         Battermann
10441         
10442 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
10444         * objects/custom/shape_info.c (load_shape_info): 
10445         * objects/custom/shape_info.h: 
10446         * objects/custom/custom_object.c (custom_update_data): 
10447         Better support for text outside the box -- new attributes 'resize'
10448         and 'align' for text entity.  Align not fully supported yet.
10450         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
10452 2001-03-20  James Henstridge  <james@daa.com.au>
10454         * app/interface.c (display_data_received_callback): comment out
10455         status message.
10457 2001-03-19  James Henstridge  <james@daa.com.au>
10459         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
10461         * objects/UML/realizes.c: similar here.
10463         * objects/UML/implements.c: similar here.
10465         * objects/UML/component.c: similar here.
10467         * objects/UML/generalization.c: same here.
10469         * objects/UML/dependency.c: allow NULL for ->name and
10470         ->stereotype.  This fixes a number of problems in loading saved
10471         files.
10473         * lib/properties.c: various changes so that NULL string properties
10474         should work.
10476         * objects/standard/line.c (line_update_data):
10477         line->extra.start_long and line->extra.end_long were not being
10478         initialised.  This fixes potential problems with the bounding box
10479         of "Standard - Line" objects.
10481 2001-03-19  Hans Breuer  <hans@breuer.org>
10483         * app/commands.c : added win32 specific code to display a html
10484         file. #include "text.h" for text_delete_all prototype.
10486         * app/dia.ico :
10487         * app/dia.rc : (new) to give Dia win32 an icon
10489         * app/win32print.[ch] : new files to support direct postscript
10490         file printing on win32. Beware: it *requires* a ps-printer!
10492         * app/paginate_psprint.c : disable the signal code for win32 build
10493         and added small specific changes to support win32print.
10495         * app/makefile.msc : added win32print and linking shell32.lib
10497         * lib/libdia.def : updated
10499 2001-03-18  Kevin Breit <battery841@mediaone.net>
10501         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
10502           Help tabs.
10504 2001-03-17  James Henstridge  <james@daa.com.au>
10506         * app/paginate_psprint.c (diagram_print_ps): add code that traps
10507         SIGPIPEs during printing.  This gets rid of a number of crashes
10508         caused by printing (eg. typing an incorrect print command).
10510         * dia.spec (%install): gzip the manpage.
10512         * lib/beziershape.c (beziershape_save): fix off by one error in
10513         beziershape save code, which was adding an extra segment to the
10514         object on save.
10516         * app/menus.c: add a separator in the gnome version of the help
10517         menu.
10519         * app/app_procs.c (app_init): add a --nosplash argument which
10520         disables the splash screen.
10522         * app/dia_embedd.c (main): don't leave the splash screen open for
10523         embeddable component.
10525         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
10526         didn't seem to be showing the splash screen like expected, so I
10527         have replaced it with some code that calls gtk_main() until the
10528         first exposure of the window.
10530 2001-03-16  James Henstridge  <james@daa.com.au>
10532         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
10534         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
10535         stereotype.h
10537         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
10539         * app/Makefile.am (dia_core_files): remove splash.h from file
10540         list, as it doesn't exist.
10542         * doc/en/Makefile.am (uninstall-local): remove the docdir on
10543         uninstall.
10545         * doc/Makefile.am (uninstall-local): target to remove the C
10546         symlink.
10548         * dia.spec (%files): include the documentation in the package.
10550         * app/menus.c (toolbox_menu_items): add menu item for manual,
10551         which calls help_manual_callback.
10553         * app/commands.c (help_manual_callback): find help file and load
10554         netscape to view it.
10556         * app/commands.h: add prototype for help_manual_callback()
10558         * doc/Makefile.am (helpdir): similar here.
10560         * doc/en/Makefile.am (helpdir): make the helpdir
10561         $(pkgdatadir)/help/en in the non gnome case.
10563         * configure.in (HAVE_GNOME): add conditional.
10565         * doc/en/Makefile.am: handle the graphics in a more general way,
10566         so it is easier for Kevin to add them to the build (just add them
10567         to the GRAPHICS var).
10569         * app/Makefile.am (embed_extra_print_files): make the case of
10570         building without gnome-print support but with bonobo support work.
10571         dia-embedd needs to be include the gnome-print
10573 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
10575         * samples/Makefile.am: included all samples in the distribution....
10576         
10577 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
10579         * configure.in: removed premature test for DPS. Added -*- m4 -*-
10580         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
10581         vanished, removed it from ALL_LINGUAS.
10583         * lib/charconv.[ch] (NEW): a very small wrapper around
10584         unicode_iconv to convert strings between utf8 and local charset
10585         (actually, ISO-8859-1, though one can do
10586         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
10588         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
10589         library to help build Postscript streams which use as many custom
10590         font encodings as necessary to correctly represent all characters
10591         used (testing from users with non-latin1 and/or more than 256
10592         characters in routine use *very* welcome).
10594         * app/Makefile.am, lib/Makefile.am: integrated these into the
10595         build process.
10597         * shapes/Logic/.cvsignore (NEW): .cvsignore
10598         
10599         * app/render_eps.h: forwarded some changes Lars forgot to include.
10600         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
10601         doesn't yet build.
10603 2001-03-08  Kevin Breit <battery841@mediaone.net>
10605         * doc/en/home_network.png: Added file.
10606         * doc/en/line_props.png: Added file.
10607         * doc/en/usage-objects.sgml: Added two graphics to file.
10608         * doc/en/usage-quickstart.sgml: Added one graphic to file.
10610 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
10612         * app/grid.h: Place comment around text after #endif.
10613         * lib/bezier_conn.c: #include <string.h>.
10614         * lib/beziershape.c: #include <string.h>.
10615         * lib/connpoint_line.h: Comment after #endif.
10616         * lib/dia_dirs.c: #include <string.h>.
10617         * lib/element.c: Same.
10618         * lib/lazyprops.c: #include <config.h> and "intl.h".
10619         * lib/lazyprops.h: Comment out text after #endif.
10620         * lib/neworth_conn.c: #include <string.h>
10621         * lib/orth_conn.c: Same here.
10622         * lib/poly_conn.c: Here too.
10623         * lib/polyshape.c: And here.
10624         * lib/properties.c: Remove #include "intl.h" from here and add
10625         an array of static strings to work around bug in gettext that
10626         makes it miss strings in a #define body.
10627         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
10628         * objects/GRAFCET/boolequation.h: Same here.
10629         * objects/chronogram/chronoline_event.h: Add prototype for
10630         destroy_cle().
10631         
10632 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10634         * objects/FS/function.c: 
10635         * objects/FS/flow.c: 
10636         * objects/FS/flow-ortho.c: 
10637         Updated to use properties.
10639 2001-03-03  James Henstridge  <james@daa.com.au>
10641         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
10642         button labels when creating them.
10644 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10646         * objects/UML/actor.c
10647         * objects/UML/realizes.c 
10648         * objects/UML/implements.c 
10649         * objects/UML/generalization.c 
10650         * objects/UML/dependency.c 
10651         * objects/UML/constraint.c
10652         Updated to use properties.
10653         
10654         * objects/UML/stereotype.c 
10655         * objects/UML/stereotype.h
10656         Generalized to any kind of bracketting.
10657         
10658 2001-02-28  James Henstridge  <james@daa.com.au>
10660         * app/menus.c: add help entry to the help menu.  Need to get this
10661         working for the non GNOME case as well (maybe put help under
10662         $(datadir)/dia/help for non GNOME?)
10664         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
10666         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
10667         this element so that we get a meaningful filename in the html
10668         translation.
10670         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
10671         documentation.
10673         * configure.in (DB2HTML): add a check for the db2html program, and
10674         set an automake conditional if it is found.
10676         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
10677         and descend into doc/ directory while building.
10679         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
10680         we need more complex rules for building the docs.
10682 2001-02-25  Hans Breuer  <hans@breuer.org>
10684         * config.h.win32 : some cleanup
10686         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
10687         are deprecated since glib-1.3.2. Sorry needing to use them
10688         contionally, but there is no glib-1.2 for win32
10690         * app/recent_files.c : use g_strescape (params) conditionally
10692         * lib/connection.c : include string.h for memcpy
10694         * lib/geometry.h : added some stuff for compatibility with
10695         msvc, which previously came from included config.h
10697         * lib/libdia.def : updated
10699         * objects/makefile.msc : updated
10701         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
10702         'extra' used without having been initialized
10704         * objects/network/bus.c(658) : initialize 'extra'
10706         * plug-ins/makefile.msc : updated
10708         * plug-ins/cgm/cgm.c :
10709         * plug-ins/pstricks/render_pstricks.c : 
10710         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
10711         huge memory leaks.
10713         * plug-ins/python/python.c : use HAVE_DIRENT_H
10715 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10717         * lib/connection.c (connection_update_boundingbox): 
10718         Made the BB shrink on right and lower sides, too.
10720 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
10722         * */*.c: #incude <config.h> at the top.
10723         * */*.h: Remove include of "config.h" since it should only
10724         be included in .c files and at the very top for things to
10725         work.
10726         * sheets/*.sheet: Updated Norwegian translations.
10727         
10728 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10730         * objects/UML/small_package.c: 
10731         * objects/UML/class.c: 
10732         * objects/UML/node.c: 
10733         * objects/UML/usecase.c:
10734         * objects/UML/lifeline.c: 
10735         * objects/UML/message.c:
10736         Various cleanup of properties in particular.  Now much more use of
10737         standard properties.
10739         * lib/diagramdata.c (layer_render): Visualization of bounding
10740         boxes, for debugging purpoises.
10742 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
10744         * lib/geometry.h:
10745         * lib/connection.[ch]:
10746         * lib/poly_conn.[ch]:
10747         * lib/polyshape.[ch]:
10748         * lib/bezier_conn.[ch]:
10749         * lib/beziershape.[ch]:
10750         * lib/orth_conn.[ch]:
10751         * lib/neworth_conn.[ch]:
10752         * lib/element.[ch]: Changed a bit the _update_boundingbox()
10753         interface. Now the parent elements have an extra_spacing
10754         structure, which child objects just need to fill, to take care of
10755         most arrow & line width extra space needs.
10757         * objects/**/*.c: updated all objects to the new interface.
10758         While at it, killed all instances of (Object *) downcasts (phew !)
10760         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
10761         doesn't speak about.
10762         
10763 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
10765         * sheets/Logic.sheet: New sheet for Logic symbols.
10767 2001-02-21  James Henstridge  <james@daa.com.au>
10769         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
10770         widget by its path name.  Walks the GnomeUIInfo heirachy rather
10771         than widget tree, compares untranslated label names and ignores
10772         underscores in the labels.
10773         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
10774         lookups are not dependent on the current locale, as with
10775         gnome_app_find_menu_pos.
10777         * acconfig.h: guard against multiple inclusion of config.h.
10779         * app/select.c (select_style_callback): simply set the selection
10780         style to the value of action.
10782         * app/menus.c (menus_init): simplify the item factory based menu
10783         code a bit.  It looks like it was using some code cut and pasted
10784         from the gimp, which looked a bit unnecessary.  Things work fine
10785         without it.
10786         (selectmenu): set the action to the type of selection mode
10787         requested.
10788         (display_menu_items): use the symbolic enumeration values for the
10789         action field.
10791         * app/plugin-manager.c: 
10792         * app/plugin-manager.h: 
10793         * app/filedlg.c:
10794         * app/filedlg.h: 
10795         * app/select.c:
10796         * app/select.h: change prototypes.
10798         * app/commands.c: update all callback prototypes, and get rid of
10799         some #ifdef GNOME's.
10801         * app/commands.h: change function prototypes.
10803         * app/dia_embedd.c (save_fn):
10804         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
10806         * app/menus.c (menus_init): for gnome menus, use
10807         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
10808         structure that proxies the callbacks to have the same signature as
10809         GtkItemFactory type 1 callbacks.
10810         (menus_init): for GTK menus, change from callback type 2 to type
10811         1.
10812         (display_menu_items): add back tearoffs.  I don't know who removed
10813         these for the gtk menu case.
10815 2001-02-20  Kevin Breit <battery841@mediaone.net>
10817         * doc/en/usage-objects-special.sgml: Fixed a few of the special
10818         object descriptions.  More to come in the next few days.
10820 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
10822         * app/render_eps.c: Fixed for internationalized floating point
10823         output. 
10825         * objects/UML/note.c: Fixed properties -- was missing
10826         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
10827         position. 
10829 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
10831         * plug-ins/xfig/xfig-import.c: 
10832         File added importing xfig files.  Still very rough, but good
10833         enough to let others hack on it.
10835 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
10837         * app/interface.c:
10838         * app/linewidth_area.c:
10839         * lib/lazyprops.c:
10840         * lib/properties.c:
10841         * lib/widgets.c:
10842         * objects/ER/attribute.c:
10843         * objects/ER/entity.c:
10844         * objects/ER/relationship.c:
10845         * objects/custom/custom_object.c:
10846         * objects/flowchart/box.c:
10847         * objects/flowchart/diamond.c:
10848         * objects/flowchart/ellipse.c:
10849         * objects/flowchart/parallelogram.c:
10850         * objects/standard/box.c:
10851         * objects/standard/textobj.c: per Vlad Harchev's request, made
10852         page sizes of gtk_adjustments different than their step sizes.
10853         When sensible values of page size weren't found (overwhelming
10854         majority of cases), page sizes were set to 10.0 * respective step
10855         size.   
10857 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
10859         * objects/network/hub.c: 
10860         Patch from Hubert Figuiere applied, adding connection points.
10862 2001-02-02  James Henstridge  <james@daa.com.au>
10864         * app/display.c (new_display): set update id to 0 here.
10865         (ddisplay_update_handler): rename from ddisplay_flush, and set
10866         update_id to 0 at end of processing.
10867         (ddisplay_flush): new implementation that simply sets an idle
10868         handler to perform the actual drawing.
10870         * app/display.h: add structure member to hold the redraw idle
10871         handler id.
10873 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10875         * objects/standard/ellipse.c (ellipse_copy): 
10876         * objects/standard/zigzagline.c (zigzagline_copy): 
10877         Fix of copying provided by Martin Hawlisch.
10879 2001-01-23  Kevin Breit <battery841@mediaone.net>
10881         * doc/en/graphics/: added directory
10883         * doc/en/graphics/greendots.png: added file
10885         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
10886         release.
10888 2001-01-23  Kevin Breit <battery841@mediaone.net>
10890         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
10891                         thanks to John Fleck!
10893 2001-01-21  Kevin Breit <battery841@mediaone.net>
10895         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
10897 2001-01-12  Michael Meeks  <michael@helixcode.com>
10899         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
10900         so our POA gets setup properly.
10902         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
10903         things we g_malloc.
10905         * configure.in: Use bonobox_print.
10907         * app/dia_embedd.c (embeddable_factory): add print interface.
10908         (object_print): impl.
10910 2001-01-11  Michael Meeks  <michael@helixcode.com>
10912         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
10913         (load_fn, save_fn): impl.
10914         (view_factory): hide modified status bar, & use activate fn.
10915         (refresh_view): force redraws of the views.
10916         (view_show_hide): split from
10917         (dia_view_activate): here.
10919         * app/diagram.c (diagram_load_into): split from diagram_load.
10920         (new_diagram): simplify bu splittin stuff into
10921         (diagram_init): here.
10923 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
10925         * shapes/jigsaw/*.shape: replaced #000000 with foreground
10926         and #ffffff with background
10927         
10928 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
10930         *configure.in: GTK+-build was broken due to missing
10931         have_bonobo=no
10932         
10933 2001-01-06  Michael Meeks  <michael@helixcode.com>
10935         * app/dia_embedd.c (main): add running context support.
10936         (dia_embeddable_destroy): remove old running object counting.
10937         (embeddable_factory): ditto.
10938         (view_factory): comment out menu path hiding.
10940         * lib/sheet.c (load_register_sheet): use free to free
10941         stuff from libxml not g_free.
10943         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
10945         * configure.in: remove USE_OAF checks, check for a precice
10946         Bonobo version >= 0.31, revamp bits.
10948         * app/dia_embedd.c (init_server_factory): upd.
10949         (init_dia_factory): remove OAF conditionals, everything uses
10950         oaf now.
10952         * app/GNOME_Dia.oafinfo: rename OAFIIDs
10954         * app/Makefile.am: remove ancient gnorba code.
10955         rename dia.oafinfo to GNOME_Dia.oafinfo
10957 2001-01-07  Hans Breuer <Hans@Breuer.Org>
10959         * config.h.win32
10960         * install.win32
10961         * readme.win32 : some more files required or useful to build 
10962         Dia on win32
10964         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
10965         fill_bezier implementation, boundary drawing in fill mode, etc.
10966         Next one complaining gets the source, uncommented ...
10968         * shapes/network/router-symbol.xpm 
10969         * shapes/network/switch-atm-symbol.xpm 
10970         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
10971         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
10972         the files as XPMs. Maybe the X versions of these functions are more
10973         tolerant ...
10975 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
10977         * plug-ins/python/Makefile.am: added libart path
10979         * plug-ins/python/python.c: added dirent.h
10981         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
10982         
10983 2001-01-06  Hans Breuer <Hans@Breuer.Org>
10985         * objects/uml/actor.c
10986         * objects/uml/branch.c
10987         * objects/uml/class.c
10988         * objects/uml/classicon.c
10989         * objects/uml/component.c
10990         * objects/uml/large_package.c
10991         * objects/uml/node.c
10992         * objects/uml/note.c
10993         * objects/uml/object.c
10994         * objects/uml/small_package.c
10995         * objects/uml/state.c
10996         * objects/uml/usecase.c : started to implement the generic property
10997         interface for the uml objects. Would appreciate some help on how
10998         to implement properties which are list of properties themselves,
10999         e.g. member functions and their parameters of UMLClass.
11001 2001-01-06  Hans Breuer <Hans@Breuer.Org>
11003         * plug-ins/python/diamodule.c : finally ported to win32.
11004         Added new objects and implemented register_export function.
11006         * plug-ins/python/pydia-object.h
11007         * plug-ins/python/pydia-display.c
11008         * plug-ins/python/pydia-handle.c
11009         PyObject_HEAD_INIT needs some tweakink on win32. Done in
11010         pydia-object.h; others files simply using it.
11012         * plug-ins/python/pydia-layer.c : reflect 
11013         layer_find_closest_connection(_)point renaming
11015         * plug-ins/python/pydia-object.c : add property properties.
11016         Also change bounding_box to DiaRectangle.
11018         * plug-ins/python/python.c : extended error reporting; use
11019         all *.py files from Dia's plug-in dir instead of hardcoded
11020         test.py. This sollution should be fine with Win32, but on
11021         Unix it may need some tweaking (dunno) ...
11023         * plug-ins/python/export-object.py
11024         * plug-ins/python/export-render.py : test and documentation 
11025         implementations for export filter implementations in Python
11027         * plug-ins/python/pydia-color.[hc]
11028         * plug-ins/python/pydia-diagramdata.[hc]
11029         * plug-ins/python/pydia-error.[hc]
11030         * plug-ins/python/pydia-export.[hc]
11031         * plug-ins/python/pydia-font.[hc]
11032         * plug-ins/python/pydia-geometry.[hc]
11033         * plug-ins/python/pydia-image.[hc]
11034         * plug-ins/python/pydia-properties.[hc]
11035         * plug-ins/python/pydia-property.c
11036         * plug-ins/python/pydia-render.c : new objects in new files 
11038         * plug-ins/python/makefile.am : added new files but can't test it
11040         * plug-ins/python/pydia.def
11041         * plug-ins/python/makefile.msc : for win32 build
11043         * plug-ins/cgm/cgm.c
11044         * plug-ins/dxf/dxf-import.c
11045         * plug-ins/dxf/dxf-export.c
11046         * plug-ins/hpgl/hpgl.c : reflect export API change
11048         * plug-ins/shape/shape-export.c : reflect export API change
11049         and check for libart (better the availibility of a png exporter) 
11050         at run-time instead of compile-time. 
11052 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
11054         * app/recent_files.h was missing from Hans's commit
11056         * plug-ins/shape/shape_export.c: shape export was broken
11057         due to interface changes
11058         
11059 2001-01-05  Hans Breuer <Hans@Breuer.Org>
11061         Applied Steffen's recent file list patch :
11062         * app/Makefile.am : added recent_files.[hc]
11063         * app/diagram.c : add files to recent file list
11064         * app/menus.c : add recent file menu
11065         * app/app_procs.c : changed initialization order to
11066         make recent file list work with command line processing.
11068         The Filter export()/import() functions have got an additional 
11069         parameter to allow multiple filters via one C callback (required
11070         for Python bindings)
11072         * app/commands.[hc] : corrected the signature for gtk menu callback
11073         functions, which actually use the second or third parameter. This
11074         is the absolute minimum change to make these functions/menu entries
11075         work again. Using the other possible gtk menu callback signature
11076         would have required one more function to change. (see mailing list
11077         thread "Objects/Align/Equal Distance" for more information.
11079         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
11080         zoom-combo focus patch
11082         * app/display.c
11083         * app/interface.c : wrapped the Zoom Combo code into 
11084         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
11085         improvement but cluttering the user interface. Also it wasn't
11086         compiling on Win32 anyway. The win32 version does define 
11087         WITHOUT_ZOOM_COMBO to keep the old look. 
11088         There are plans to use the statusbar to display size and placement
11089         of selected objects, whereas the Zoom Combo would need to get out
11090         of the way as well.
11092         Added "Save Changes?" to diagram close dialog. Hopefuly the
11093         Yes/No/Cancel option isn't too much windoze like. IHMO this is
11094         an useability improvement.
11096         * app/export_png.c
11097         * app/filedlg.c
11098         * app/load_save.c
11099         * app/layer_dialog.c
11100         * app/paginate_psprint.c
11101         * app/render_eps.c
11102         - reflect signature changing of filter->export function
11103         - replaced '/' with G_DIR_SEPARARTOR where appropriate
11105         * app/diaunitspinner.c
11106         * app/render_libart.c
11107         added misssing headers like <string.h>
11109         * app/object_ops.c : fixed copy&paste bug in dialog string
11111         * app/splash.c : gdk_widget_show_now () does not ensure actual
11112         drawing of the splash screen, at least not on win32. Reuse the
11113         previous implementation with gtk_main_iteration() again.
11115         * */makefile.msc : make use of the build module (available in
11116         gnome-cvs/build. Updated for other source changes
11118         * lib/filter.h : added an user_data pointer to <ex/im>port()
11119         function signature and Dia<Im/Ex>portFilter to allow different
11120         filters to reuse the same callback function
11122         * lib/font.c : #include <string.h>
11124         * lib/orth_conn.c 
11125         * lib/poly_conn.c 
11126         * lib/poly_shape.c 
11127         * lib/neworth_conn.c
11128         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
11130         * */*.def : export function definition files required by win32 build
11132         * objects/custom/custom.c : #include <string.h>
11134         * plug-ins/pstricks/render_pstricks.c
11135         * plug-ins/shape/shape_export.c
11136         * plug-ins/svg/render_svg.c
11137         reflect changes to filter export function signature
11139         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
11140         mostly work as expected
11141         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
11142         to build the wmf plug-in because on the one hand the GDI emulation 
11143         isn't finished and on the other hand it isn't required when building
11144         for win32. Is there anybody out there, who wants to save WMF on non
11145         windoze platforms ?
11147         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
11148         offset into account.
11150 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
11152         * app/Makefile.am: added missing plug-ins to run_dia.sh
11154         * lib/paper.c: added paper sizes A0, A1, A2
11156         * objects/UML/class.c
11157         objects/UML/class.h
11158         objects/UML/class_dialog.c: added support for colored UML
11159         classes
11160         
11161 2000-12-30  Kevin Breit <battery841@mediaone.net>
11163         * doc/en/usage-customization.sgml: added more content
11165 2000-12-24  Kevin Breit <battery841@mediaone.net>
11167         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
11168         <remy.viard@laposte.net>
11170 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
11172         * added limiting lines to Civil Engineering sheet,
11173         fixed vertical pump icon
11174         
11175 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
11177         * updated/additional Civil Engineering shapes: better icons,
11178         shapes use foreground/background colors now and are filled
11179         
11180 2000-12-03  Kevin Breit  <battery841@mediaone.net>
11182         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
11183         the selection <sect1>
11185 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
11187         * app/load_save.c (diagram_data_save): avoid using obsoleted
11188         libxml calls (only matters when compiling with libxml2)
11190 2000-11-25  James Henstridge  <james@daa.com.au>
11192         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
11193         handle the tool drops on the canvas.
11195         * app/interface.c (display_data_received_callback): do the check
11196         to make sure that the drag is from a local toolbox here as well.
11198         * app/interface.c (create_tools): unref the pixmap/mask after
11199         creating the GtkPixmap.
11200         (tool_setup_drag_source): function to set up a drag source for
11201         create object tool buttons.
11202         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
11203         (fill_sheet_wbox): same here.
11204         (create_display_shell): set up the display canvas as a drag
11205         destination.
11206         (display_drop_callback, display_data_received_callback): functions
11207         to handle drops of tool buttons.
11209         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
11210         does weird shit to the user_data pointer for a menu item.  Object
11211         alignment should work again now.
11213         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
11214         NULL, and mark this function static.
11215         (app_splash_init): use gtk_widget_show_now() instead of the
11216         gtk_main_iteration loop.
11217         (app_splash_init): connecting gtk_widget_destroy to the destroy
11218         signal of a widget seems pretty useless.
11220 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
11222         * doc/en/dia-manual.sgml:
11223                 Added sect1 for advanced object types.  Starting development
11224                 on that part.
11226 2000-11-18  Kevin Breit <battery841@mediaone.net>
11228         * doc/en/dia-manual.sgml:
11229                 Stupid spelling fixes.
11231 2000-11-18  Kevin Breit <battery841@mediaone.net>
11233         * doc/en/dia-manual.sgml:
11234                 Just some small changes I made.  Props to Greg LeBlanc on the
11235                 recommendations.
11237 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
11239         * app/display.c:
11240         (ddisplay_add_display_area): Clip input rectangle to
11241         the visible part of the display.
11242         (ddisplay_scroll): Optimization, don't scroll and
11243         redraw if moving to the same position as before.
11245         * app/render_libart.c (renderer_libart_copy_to_window):
11246         Removed sanity check. Now moved to ddisplay_add_display_area().
11248         * lib/diavar.h:
11249         Added return at end of file.
11250         
11251 2000-11-13 Kevin Breit <battery841@mypad.com>
11252         * doc/en/dia-manual.sgml
11253                 Commited manual changes from Henry House <hajhouse@houseag.com>
11255 2000-10-21 Hans Breuer <Hans@Breuer.Org>
11256         * lib/beziershape.c :
11257                 The previous code was accessing unowned memory due to IHMO
11258                 wrong index calculation. Now it appears to be fixed.
11259                 *Please Review!*
11261         * lib/makefile.msc
11262         * plug-ins/makefile.msc
11263         * objects/makefile.msc
11264         * app/makefile.msc: (new files)
11265                 Makefiles for Dia on Win32, Micro$oft VC only.
11267         * plug-ins/pstricks/render_pstricks.c
11268         * plug-ins/dxf/dxf-import.c
11269         * plug-ins/shape/shape-export.c
11270         * plug-ins/svg/render_svg.c
11271         * app/commands.c
11272         * app/filedlg.c
11273         * app/preferences.c
11274         * app/render_eps.c
11275         * lib/sheet.c
11276         * lib/plug-ins.c
11277         * objects/custom/custom.c
11278         * objects/standard/image.c
11279                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
11280                 where   appropriate, add missing prototypes like <string.h>
11282         * plug-ins/wmf/wmf_gdi.cpp
11283         * plug-ins/wmf/wmf_gdi.h:
11284                 start of wmf write functions for non Win32 platform. Not 
11285                 finished yet. The other way to get it working maybe to
11286                 link the plug-in against wine libs.
11287                 
11288         * plug-ins/wpg/wpg.c : add missing brace
11290         * app/load_save.c :
11291                 Handling for unknown objects at load time. Previously Dia
11292                 was crashing, if you try to load a file referencing objects
11293                 whiches plug-ins aren't installed/available. Now it spits out 
11294                 a warning and ignores the unknown objects.
11296         * app/interface.c
11297                 toolbox DND support for files like The Gimp does it.
11299         * app/main.c
11300         * app/app_procs.h
11301                 Simple splash screen support and usage.
11303         * app/app_procs.c
11304                 Splash screen, portability fixes, dont' g_error if there is
11305                 g_get_homedir return NULL. This may remove the one and only
11306                 FAQ for Win32.
11308         * app/menus.c :
11309                 Make it compile without ENABLE_NLS
11311         * app/render_libart.c :
11312                 Sanity check to avoid calling libart with wrong window coordinates.
11313                 They come from the update handler. Direct Gdk is dealing nicely
11314                 with coordinates out of range, libart does access un-owned memory
11315                 in this case, mostly causing crashes.
11317         * app/winmain.c: (new file) Export the Win32 Gui version of the
11318                 main function. This file is only required for Windoze.
11320         * app/splash.c: (new file) splash screen implementation
11322         * lib/color.h
11323         * lib/font.h
11324         * lib/diavar.h: (new file)
11325                 moved special variable export code to diavar.h, because it is
11326                 needed in color.h and font.h
11328         * lib/paper.c :
11329                 M$VC cann't export inlined functions. Quick hack to let it
11330                 link again. Probably the glib mechanics should be used here?
11332         * objects/UML/lifeline.c : initialize var before usage
11334         * objects/GRAFCET/step.c : removed unused var
11336 2000-10-14  James Henstridge  <james@daa.com.au>
11338         * app/render_gnomeprint.c (draw_image): change code so images
11339         don't get flipped when printing.
11341         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
11342         sure that the return value of
11343         gnome_print_context_new_with_paper_size is not NULL.
11345         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
11346         into a series of bezier segments.
11347         (fill_arc): similar code to handle filled arc segments.
11349 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
11351         * app/app_procs.c
11352         * app/commands.c
11353         * app/dia-props.c
11354         * app/diagram.c
11355         * app/diagram.h
11356         * app/disp_callbacks.c
11357         * app/display.c
11358         * app/linewidth_area.c
11359         * app/paginate_psprint.c
11360         * app/preferences.c
11361         * app/undo.c
11362         * app/font.c
11363         * app/message.c
11364         * app/neworth_conn.c
11365         * app/orth_conn.c
11366         * objects/standard/box.c: various small changes to get rid of 
11367         annoying warnings (eg faulty prototypes and unused variables)
11369         * app/disp_callbacks.c
11370         * app/cursor.h
11371         * app/magnify.c
11372         * app/magnify.h: update magnify tool icon when pressing/releasing
11373         shift. I will try to make something more general so that similar
11374         things can be used by other tools.
11376         * shapes/SDL/inout.shape
11377         * shapes/SDL/return.shape: fixed some typos
11379 2000-10-09  James Henstridge  <james@daa.com.au>
11381         * objects/custom/shape_info.c (parse_path): apply patch from
11382         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
11383         #25221
11385 2000-10-08  James Henstridge  <james@daa.com.au>
11387         * objects/standard/image.c (image_set_props): if the file could not
11388         be loaded, show the broken image icon.
11390         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
11392         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
11394         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
11395         object icon when loading from a file.  This allows you to have PNG
11396         icon files for shapes.
11398 2000-10-07  James Henstridge  <james@daa.com.au>
11400         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
11402         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
11403         GDK_IMLIB_CFLAGS reference.
11405         * app/commands.c (help_about_callback): remove imlib code.
11407         * lib/dia_image.c: only include the pixbuf version of the image
11408         routines.
11410         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
11412         * configure.in (CPPFLAGS): remove the check for imlib, as we now
11413         require gdk-pixbuf.
11415         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
11416         conditionally define \setfont as well.
11418 2000-10-05  James Henstridge  <james@daa.com.au>
11420         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
11421         preamble so that we define \setlinejoinmode and \setlinecaps
11422         commands conditionally on them being undefined.  This way, the
11423         pstricks output files should work without modification, and will
11424         support the commands when they are implemented in pstricks.
11426 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
11428         * dia.desktop: added hungarian translations to dia.desktop
11430 2000-10-04  James Henstridge  <james@daa.com.au>
11432         * sheets/UML.sheet: fix typo.
11434         * objects/custom/shape_info.c: use strtod instead of g_strtod.
11435         (parse_path): actually call setlocale around strtod calls.
11437         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
11438         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
11439         the g_strtod wrapper.
11441         * shapes/SDL/: add SDL shapes from Rubens Ramos
11442         <rubens_ramos@yahoo.com>
11444         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
11446         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
11448         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
11449         W. Michael Petullo <mike@flyn.org>.
11451         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
11452         from the 0.86 tarball) and jigsaw.sheet.
11454         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
11456         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
11458         * shapes/network/: add network-additional shapes here.
11460         * sheets/network.sheet: add the network-additional shapes from
11461         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
11462         sheet.
11464 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
11466         * configure.in: Updated ALL_LINGUAS
11468         * po/nl.po: Removed newline from translation
11470 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
11472         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
11473         logo filename generation. 
11475         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
11476         Avoiding "//dia_logo.png".
11478 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
11480         * app/filedlg.c: add include <sys/types.h> to
11481         remove warning. (OS/2)
11483 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
11485         * objects/chronogram/chronoline_event.c (reparse_clevent):
11486         the __checksum routine was simply bogus. Redone it in a slightly
11487         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
11489 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
11491         * app/create_object.c (create_object_button_press): 
11492         * app/modify_tool.c (click_select_object): 
11493         * lib/object.h: select renamed to selectf to prevent
11494         compiler problems with function select().  OS/2 version.
11496 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
11498         * po/de.po: Updated.
11500 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
11502         * dia.desktop: Added German translation
11503         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
11505 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
11507         * configure.in (ALL_LINGUAS): added "es"
11509 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
11511         * app/magnify.c:
11512         * app/cursor.h:
11513         * app/cursor.c:
11514         * app/scroll_tool.c:
11515         Standardized cursor function get_cursor().  Magnify now has
11516         looking-glass cursor with + and -.
11518         * app/create_object.c (create_object_button_press): 
11519         Newly created connections now snap to connection points even when
11520         off the grid. 
11522 2000-08-17  Daniel Egger  <egger@suse.de>
11524         * app/menus.c: #ifdef'ed some code for the none GNOME
11525         case.
11526         * app/dia_embedd.c: Changed obvious hackery. Can anyone
11527         please have a look at the GNOME UI menu creation? The
11528         gnome-app-helper code is ages old and plainly broken!
11530 2000-08-15  Daniel Egger  <egger@suse.de>
11532         * app/commands.c:
11533         * app/commands.h:
11534         * app/diagram.c:
11535         * app/display.c:
11536         * app/menus.c:
11537         * app/select.c: First big patch to get the menus
11538         working again in the international version. Copied
11539         some code written by Sven and me from GIMP and
11540         thus implemented automatic tearoffmenu creation and
11541         proper translation. I also removed that pseudo
11542         radiomenu hack and cleaned up several translation
11543         hacks which have never really worked. All in all
11544         this is part I of the big menu patch. Enjoy and tell
11545         me if you detect any problems.
11547 2000-08-14  Daniel Egger  <egger@suse.de>
11549         * sheets/UML.sheet: Changed one German translation as
11550         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
11552 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
11554         * app/diapagelayout.c:
11555         * lib/diagramdata.c:
11556         * lib/diagramdata.h:
11557         * lib/Makefile.am:
11558         * lib/paper.c:
11559         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
11560         selecting paper size for a new diagram. TODO: Use libpaper if 
11561         available and use gnome_paper-stuff if using GNOME.
11563         * sheets/Electric.sheet: fixed typo.
11564         
11565 2000-08-08  James Henstridge  <james@daa.com.au>
11567         * po/README: added a readme file to tell translators to translate
11568         the .sheet files as well.
11570         * app/commands.c (help_about_callback): fix small bug where we tried
11571         to gdk_bitmap_unref() the mask for the about box image, even though
11572         it was NULL.  Now check for a NULL mask.
11574 2000-08-07  Daniel Egger  <egger@suse.de>
11576         * sheets/*.sheet: Added translations for the name
11577         in the toolbar tab. Brushed up some descriptions 
11578         and some translations a bit.
11580 2000-08-06  James Henstridge  <james@daa.com.au>
11582         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
11583         identifier and dtd url for SVG output.
11584         (new_svg_renderer): fix the output of the viewBox output.  The
11585         second two numbers are the width and height -- not the right
11586         and bottom sides of the box.
11588         * shapes/*/*.shape: update svg namespace URI.
11590         * objects/custom/shape_info.c (load_shape_info): change the
11591         namespace URI for custom shapes yet again to match the Candidate
11592         Recommedation.  It looks like this one will probably be the final
11593         one.
11595         * app/display.c (new_display): remove the code that sets ic and
11596         ic_attr members to NULL, as one of the previous function calls
11597         causes the display to be realised.  This means that the ic gets
11598         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
11599         this one.
11601 2000-08-06  James Henstridge  <james@daa.com.au>
11603         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
11605         * NEWS: fixed date in NEWS file, as I will release today.
11607         * README: updated the README a little.  Added note that Dia is now
11608         a GNU program.
11610         * dia.spec: fix up spec file.
11612         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
11614         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
11615         get heaps of warnings when you turn off debugging.
11616         Also made a few other warning fixes.
11618 2000-08-02  James Henstridge  <james@daa.com.au>
11620         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
11622         * configure.in: update version number.
11624 2000-08-01  James Henstridge  <james@daa.com.au>
11626         * app/commands.c (help_about_callback): add Hans to about dialog.
11628         * doc/shape.dtd: dtd for shape file format.
11630         * doc/custom-shapes: update doc file about creating custom shapes.
11632         * shapes/*/*.shape: change namespace URI for the SVG portion to the
11633         one for the latest draft.
11635         * shapes/*/*.shape: fix up rect definitions.
11637         * objects/custom/shape_info.c (load_shape_info): recognise newer
11638         namespace tag for SVG.
11639         (parse_svg_node): the rect element should take attributes x, y, width
11640         and height -- not x1,y1,x2,y2.
11642         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
11643         output to use the newest draft DTD.
11645         * plug-ins/svg/svg.c: initialisation code for plugin.
11647         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
11649         * plug-ins/svg/Makefile.am: makefile for svg plugin.
11651         * app/app_procs.c (internal_plugin_init): don't register the svg
11652         export filter here.
11654         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
11656 2000-07-31  James Henstridge  <james@daa.com.au>
11658         * objects/standard/textobj.c (textobj_get_defaults): 
11659         * objects/standard/polygon.c (polygon_get_defaults): 
11660         * objects/standard/image.c (image_get_defaults): 
11661         * objects/standard/ellipse.c (ellipse_get_defaults): 
11662         * objects/standard/box.c (box_get_defaults): 
11663         * objects/standard/beziergon.c (beziergon_get_defaults): 
11664         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
11665         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
11666         * objects/flowchart/diamond.c (diamond_get_defaults): 
11667         * objects/flowchart/box.c (box_get_defaults): 
11668         * objects/custom/custom_object.c (custom_get_defaults): 
11669         * objects/FS/flow.c (flow_get_defaults): 
11670         * objects/FS/flow-poly.c (flow_get_defaults): 
11671         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
11672         defaults widget.
11674         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
11675         widgets for various object types.
11676         (create_dialog): ref and sink the no_defaults_dialog.
11678         * app/preferences.c (prefs_create_dialog): change
11679         gtk_container_border_width call to gtk_container_set_border_width.
11681 2000-07-29  James Henstridge  <james@daa.com.au>
11683         * app/commands.c (view_aa_callback): show a warning dialog if
11684         you start AA mode.
11686         * app/interface.c (fill_sheet_menu): don't add a menu item for
11687         empty sheets.
11689 2000-07-26  James Henstridge  <james@daa.com.au>
11691         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
11693         * app/menus.c: remove edit grid menu item.
11695         * app/commands.[ch] (view_edit_grid_callback): removed.
11697         * app/display.c (new_display): don't initialise removed Grid members.
11699         * app/grid.c: remove unused functions.
11701         * app/grid.h: remove dialog related stuff from Grid structure.
11702         Remove prototypes for dialog functions.
11704         * app/menus.c: add to menus
11705         
11706         * app/commands.[ch] (view_diagram_properties_callback): new command
11707         for showing the diagram properties dialog.
11709         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
11710         the edit grid dialog.
11712 2000-07-25  James Henstridge  <james@daa.com.au>
11714         * app/grid.c (grid_x_update): 
11715         (grid_y_update): as the grid setting is stored with the diagram,
11716         update all displays when a change is made.
11718         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
11720         * app/create_object.c (create_object_button_press): 
11721         (create_object_motion): use new snap_to_grid signature.
11723         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
11724         and handle invisible grid lines.
11725         (snap_to_grid): use new grid settings.  Also changed signature to
11726         take a DDisplay rather than Grid pointer.
11727         (grid_show_dialog): get the defaults from the correct place.
11729         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
11731         * app/diagram.c (new_diagram): set the grid size defaults from the
11732         user preferences.
11734         * app/load_save.c (diagram_data_save): save grid and guide info to
11735         diagram file.
11736         (diagram_data_load): add guide and grid load support.
11738         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
11739         members.
11741         * lib/diagramdata.h: add members to DiagramData for grid and guide
11742         settings.
11744         * configure.in (BONOBO_LIBS): update configure scripts
11746         * app/dia.oafinfo: oafinfo file for dia embeddables.
11748         * app/dia_embedd.c: add OAF support.
11750 2000-07-24  James Henstridge  <james@daa.com.au>
11752         * plug-ins/wpg/Makefile.am: 
11753         * plug-ins/pstricks/Makefile.am: 
11754         * plug-ins/hpgl/Makefile.am: 
11755         * plug-ins/dxf/Makefile.am: same here.
11757         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
11758         the required libraries, and the link line was causing libtool not
11759         to build a shared library on some systems :(
11761         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
11762         be checking x, not n.
11764 2000-07-23  James Henstridge  <james@daa.com.au>
11766         * app/preferences.c (prefs_data): set the "reset tools after
11767         create" preference to true by default.  That seems to be what most
11768         people expect.
11770         * app/interface.c (create_sheets): instead of a notebook, use an
11771         option menu that updates the sheet tools.  The notebook tabs were
11772         getting a bit unwieldly, so the option menu should fix that.  This
11773         also reduces the number of widgets in the tools radio button
11774         group, which should make the UI a little more responsive.
11776 2000-07-19  Fatih Demir <kabalak@gmx.net>
11777         
11778         * configure.in: Added tr to ALL_LINGUAS.
11779                 [ Yeah, we're now having a Turkish translation,
11780                    too. ]
11781         
11782         * dia.desktop: Added the Turkish entries.
11784 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
11786         * doc/diagram.dtd: changed string-element so it conforms to the
11787         output from dia.
11789 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
11791         * configure.in: added chinese. 
11792         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
11794         * app/app_procs.c:
11795           app/load_save.c:
11796           app/render_svg.c:
11797           lib/dia_xml.c:
11798           lib/plug-ins.c:
11799           lib/sheet.c:
11800           objects/custom/shape_info.c: 
11801           shapes/Circuit/npn.shape:
11802           shapes/Circuit/pnp.shape:
11803           sheets/*.sheet: dia now works with libxml2.
11804         Libxml2 is a bit more picky when parsing xml and reported errors on all 
11805         sheet files because they use non ascii characters (added 
11806         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
11807         I commented out these.
11809 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
11811         * configure.in (ALL_LINGUAS): added Italian
11813 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
11815         * configure.in (ALL_LINGUAS): added Korean
11817 2000-06-25  James Henstridge  <james@daa.com.au>
11819         * objects/flowchart/parallelogram.c (pgram_create): use default font
11820         and add properties interface support.
11822         * objects/flowchart/ellipse.c (ellipse_create): use default font and
11823         add properties interface support.
11825         * objects/flowchart/diamond.c (diamond_create): use default font and
11826         add properties interface code.
11828         * objects/flowchart/box.c (box_create): use default font.
11830         * objects/custom/custom_object.c (custom_create): use default font
11831         here too.
11833         * objects/standard/textobj.c (textobj_create): update to use default
11834         font.
11836         * lib/attributes.c: add implementations.
11838         * lib/attributes.h (attributes_[gs]et_default_font): add function
11839         prototypes for setting/getting a default font.
11841 2000-06-24  James Henstridge  <james@daa.com.au>
11843         * app/paginate_gnomeprint.h: updated prototype.
11845         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
11846         diagram page settings.
11848         * objects/standard/beziergon.c (beziergon_copy): same here.
11850         * objects/standard/polygon.c (polygon_copy): copy the fill colour
11851         as well.
11853         * app/undo.h: 
11854         * app/tool.h (tool_options_dialog_show): 
11855         * app/scroll_tool.h (free_scroll_tool): 
11856         * app/render_svg.h: 
11857         * app/render_libart.h (renderer_libart_copy_to_window): 
11858         * app/render_gdk.h (renderer_gdk_copy_to_window): 
11859         * app/properties.h (properties_hide_if_shown): 
11860         * app/preferences.h (prefs_load): 
11861         * app/object_ops.h: 
11862         * app/modify_tool.h (free_modify_tool): 
11863         * app/magnify.h (free_magnify_tool): 
11864         * app/linewidth_area.h (linewidth_area_create): 
11865         * app/layer_dialog.h: 
11866         * app/handle_ops.h (handle_is_clicked): 
11867         * app/group.h: 
11868         * app/grid.h (grid_destroy_dialog): 
11869         * app/defaults.h (defaults_show): 
11870         * app/cut_n_paste.h (cnp_exist_stored_objects): 
11871         * app/create_object.h (free_create_object_tool): 
11872         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
11873         * app/commands.h: 
11874         * app/color_area.h (color_area_create): 
11875         * app/app_procs.h (app_is_embedded): remove extern keyword from
11876         function prototypes.
11878         * lib/text.h: 
11879         * lib/sheet.h (load_all_sheets): 
11880         * lib/render_store.h: 
11881         * lib/render_object.h (render_object_load): 
11882         * lib/polyshape.h (polyshape_closest_segment): 
11883         * lib/poly_conn.h (polyconn_closest_segment): 
11884         * lib/orth_conn.h: 
11885         * lib/object.h: 
11886         * lib/objchange.h (new_object_state_change): 
11887         * lib/neworth_conn.h (neworthconn_add_segment): 
11888         * lib/message.h (message_error): 
11889         * lib/lazyprops.h: 
11890         * lib/geometry.h: 
11891         * lib/font.h (font_descent): 
11892         * lib/focus.h (remove_focus): 
11893         * lib/element.h: 
11894         * lib/diagramdata.h: 
11895         * lib/dia_xml.h (data_add_composite): 
11896         * lib/dia_image.h: 
11897         * lib/connpoint_line.h: 
11898         * lib/connection.h (connection_move_handle): 
11899         * lib/color.h: 
11900         * lib/attributes.h (attributes_set_default_line_style): 
11901         * lib/arrows.h (arrow_draw): remove extern keyword from function
11902         definitions.  It is not required for functions.
11904         * plug-ins/dxf/Makefile.am (INCLUDES): 
11905         * plug-ins/pstricks/Makefile.am (INCLUDES): 
11906         * plug-ins/cgm/Makefile.am (INCLUDES): 
11907         * objects/SADT/Makefile.am (INCLUDES): 
11908         * objects/chronogram/Makefile.am (INCLUDES): 
11909         * objects/GRAFCET/Makefile.am (INCLUDES): 
11910         * objects/flowchart/Makefile.am (INCLUDES): 
11911         * objects/sybase/Makefile.am (INCLUDES): 
11912         * objects/FS/Makefile.am (INCLUDES): 
11913         * objects/standard/Makefile.am (INCLUDES): 
11914         * objects/network/Makefile.am (INCLUDES):
11915         * objects/UML/Makefile.am (INCLUDES): same here.
11917         * objects/ER/Makefile.am: changed inclusion of some macros to
11918         variables.
11920         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
11921         handle the plug in extension, rather than have all the #ifdef's in
11922         the code.
11924         * plug-ins/Makefile.am: add renderer.inc to dist.
11926         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
11928 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
11930         * lib/plug-ins.c: Handle OS/2 dll's too.
11932 2000-06-07  James Henstridge  <james@daa.com.au>
11934         * app/plugin-manager.c (get_plugin_manager): set some table
11935         packing options to make it look a little nicer.
11937         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
11938         makefiles for these plug-ins.
11940         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
11942         * configure.in: added hpgl and wpg directories to build.  Added
11943         note about whether gnome-print support was enabled, and noted that
11944         it is not recommended.
11946 2000-06-06  James Henstridge  <james@daa.com.au>
11948         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
11949         a little work, but I am checking them in so I don't lose them.
11951 2000-06-01  James Henstridge  <james@daa.com.au>
11953         * objects/standard/arc.c: added extra properties.
11955         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
11956         was using the wrong index into the handles array.  This gets corner
11957         type changing working correctly.
11959         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
11960         to properties code (no editing or loading yet though).  Also added
11961         support for point array manipulation through the offsets interfaces.
11963         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
11965         * app/interface.c (origin_button_press): changes so the origin
11966         button doesn't grab the pointer when we pop up the menu.
11968         * app/commands.c (help_about_callback): fix small memory leak in
11969         about box code.
11971         * app/menus.c (menus_init): fixed breakage I introduced in the non
11972         gnome menus when I was doing the menu changes.  The tearoffs work
11973         really nicely in plain gtk mode as well.
11975         * objects/standard/beziergon.c (beziergon_create): changed the
11976         returned handles to match the handle numbering changes.  Now
11977         segment addition and removal works correctly with undo!
11979         * lib/beziershape.c: various changes to the code.  Changed the
11980         numbering of handles, and fixed the segment removal code.
11982 2000-05-31  James Henstridge  <james@daa.com.au>
11984         * objects/standard/beziergon.c: remove connection point handling.
11985         There is still a bit of work to be done to get adding and removing
11986         of segments working correctly.
11988         * lib/beziershape.c: add connection point handling to beziershape.
11989         I set it for two connection points per segment.
11991 2000-05-30  James Henstridge  <james@daa.com.au>
11993         * objects/standard/polygon.c: don't do connectionpoint handling.
11995         * lib/polyshape.c: changed to handle connection points internally.
11996         Also, don't worry about connections to handles on polyshape, as
11997         all handles are non connectable.
11999 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
12001         * configure.in: Added finnish
12002         
12003 2000-05-30  James Henstridge  <james@daa.com.au>
12005         * sheets/*.sheet: translation updates to the .sheet files.
12007         * po/fr.po: updated po file from Christophe Merlet.
12009         * menus.h: removed prototypes for functions which have been removed.
12011 2000-05-29  James Henstridge  <james@daa.com.au>
12013         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
12014         item in the option menu when changing selected diagram.
12016         * app/dia_embedd.c (view_factory): fix up function to work with new
12017         menus API.
12019         * app/disp_callbacks.c (ddisplay_realize): remove call to
12020         display_set_active from here.
12021         (ddisplay_canvas_events): move call here.  This gets rid of all the
12022         warnings, as the renderer has been fully set up correctly at this
12023         point.
12025         * app/menus.c (menus_init): add the tearoff item to the start of the
12026         right click menu.
12028         * app/app_procs.c (create_user_dirs): we don't need to create the
12029         menus directory anymore.
12031         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
12032         necessary to update the menu state here, as it was done when the
12033         active display was set.
12035         * app/display.c (display_set_active): update the menu state when
12036         changing active displays.
12038         * app/interface.c (origin_button_press): set the display as active
12039         when a click is made on the menu button.
12041         * app/menus.c (menus_init): set up a quit function to save the accels
12042         at exit.
12043         Add tearoff items for the non GNOME menus, add accelerators for
12044         several GNOME menus.
12046         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
12047         menus_get_image_menu().
12049         * app/menus.c (menus_get_item_from_path): use display_menus here
12050         rather than ddisp->popup.
12052         * app/display.h: remove the popup member in the DDisplay structure.
12054         * app/interface.c: remove option of not using wrap box.
12055         (create_toolbox): change to always use menus_get_toolbox_menubar
12056         even when using gnome menus.
12057         (create_display_shell): use menus_get_image_menu to load accelerators
12058         only -- not the actual popup menu.
12060         * app/menus.c (menus_init): new function to create the menus.
12061         (menus_get_toolbox_menubar): use this function whether gnome is
12062         in use or not.  Changed to use menus_init.
12063         (menus_get_image_menu): same here.  Also, now this function always
12064         returns the same menu, rather than a new one each time.
12065         (menus_init): read a menurc file to load accelerators here.
12067 2000-05-28  James Henstridge  <james@daa.com.au>
12069         * app/display.c (ddisplay_really_destroy): unset active display if
12070         active display is destroyed.
12071         (ddisplay_active): simplify function to return active_display as set
12072         by display_set_active.  This allows using a pinned menu with any
12073         display -- not just the one it was popped up from.
12074         (display_set_active): notify the layer dialog of change of diagrams
12075         when active diagram changes.
12077         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
12078         on button and key presses.
12079         (ddisplay_realize): set active display on realize.
12081         * app/display.c (display_set_active): simple implementation of this
12082         function.
12084         * app/display.h (display_set_active): add prototype for setting
12085         the active display.
12087         * app/interface.c (create_display_shell): don't give focus to the
12088         menu button.
12090         * app/menus.c: fix up menus for Beziergon.
12092         * app/interface.c (create_display_shell): make the widget in the
12093         top left corner a button that can be used to pop up the right click
12094         menu, like in gimp and sketch.
12096         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
12097         the display menu.
12099         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
12100         add code to set corner types for beziergon.
12102         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
12103         setting code.
12104         (beziershape_move_handle): use the previous corner type for right
12105         controls.
12107         * app/interface.c (tool_data): add beziergon to toolbox.
12109         * objects/standard/standard.c (dia_plugin_init): initialise the new
12110         Beziergon object type.
12112         * objects/standard/beziergon.c: an object based on BezierShape.
12114         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
12116         * lib/beziershape.[ch]: new files implementing a bezier shape.
12118 2000-05-26  James Henstridge  <james@daa.com.au>
12120         * lib/text.c (text_key_event): handle multibyte inserts.
12121         (text_key_event): also add home and end keybindings.
12123         * app/interface.c (create_display_shell): connect handlers for
12124         focus_in_event, focus_out_event, realize and unrealize signals.
12126         * app/display.[ch] (new_display): initialise input context members.
12128         * app/disp_callbacks.[ch]: added XIM support here.
12130         * lib/font.c (suck_font): the black and white pixel values should be
12131         taken from a 1 bit colormap rather than the default colormap.
12133         Hans Breuer's Windows patches ...
12135         * lib/font.c: use Courier New for fixed width font on windows
12136         machines.
12138         * lib/dia_image.h: change to "struct _DiaImage".
12140         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
12142         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
12143         mouse button for object menu.  This will make two button mouse owners
12144         happier.
12146 2000-05-25  James Henstridge  <james@daa.com.au>
12148         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
12150         * app/app_procs.c (app_init): add extra NULL argument to call of
12151         diagram_load.
12153         * app/load_save.h: remove prototype.
12155         * app/load_save.c: remove diagram_data function here.
12157         * app/diagram.h: added prototype.
12159         * app/diagram.c (diagram_load): new function here, which uses import
12160         filters.
12162         * plug-ins/dxf/dxf.c: register the import filter as well.
12164         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
12165         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
12167         * objects/standard/line.c: add start_point and end_point properties
12168         to standard line object.
12170 2000-05-21  James Henstridge  <james@daa.com.au>
12172         * app/paginate_psprint.c: added missing include of locale.h.
12174         * objects/custom/custom_object.c (custom_draw): use fabs rather than
12175         abs for scaling factors.
12176         (custom_distance_from): same here.
12178         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
12180 2000-05-18  James Henstridge  <james@daa.com.au>
12182         * po/POTFILES.in: updated POTFILES.in.
12184         * dia.spec: incremented version number in spec file.
12186         * NEWS: added (lots of) news items for the 0.85 release.
12188         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
12189         the config file.
12191         * configure.in: updated version number here.
12193         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
12195 2000-05-17  James Henstridge  <james@daa.com.au>
12197         * app/app_procs.c (internal_plugin_init): register the native import
12198         filter.
12200         * app/load_save.c (diagram_data_load, diagram_load): split this
12201         function into two -- one that does all the work on the DiagramData
12202         structure, and the other that provides compatibility with the old
12203         function.
12204         (dia_import_filter): use diagram_data_load to define an import
12205         filter.
12207         * app/diagram.h (new_diagram): added const to prototype.
12209         * app/filedlg.c (file_open_callback): change to use new import filter
12210         code.
12212         * lib/filter.c: added import filter management functions.
12214         * lib/filter.h: added prototypes for import filter interface.
12216         * app/commands.c (help_about_callback): updated about dialog to
12217         contain a few more names.
12219 2000-05-16  James Henstridge  <james@daa.com.au>
12221         * configure.in (Configuration): added a status message to the end of
12222         the configure script to give the user some idea of what was
12223         configured.
12225         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
12227         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
12228         plugin.
12230         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
12231         filter for dia.
12233         * configure.in (AM_PATH_LIBART): use the check function provided
12234         with libart rather than our own code.  It is more reliable, and
12235         it only requires that people who build out of CVS have libart.m4
12236         installed (not necessarily all of libart).
12237         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
12239 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
12241         * dia.desktop: Added Swedish translation.
12243 2000-05-09  James Henstridge  <james@daa.com.au>
12245         * lib/dia_xml.c: you can't free a const pointer, so remove const
12246         from variable definitions.
12248         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
12249         initialised correctly.
12251         * app/render_svg.c (export_svg): set locale to C.
12253         * app/paginate_psprint.c (paginate_psprint): set locale to C.
12255         * app/render_eps.c (export_eps): set locale to C for EPS export.
12257         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
12258         (data_add_point): same here.
12259         (data_add_rectangle): same here.
12260         (data_real): use g_strtod to convert strings to real numbers, so that
12261         locales are taken into account.
12262         (data_point): same here.
12263         (data_rectangle): same here.
12265         * AUTHORS: added Henk and Jacek to authors file.
12267         Daniel Egger's code cleanups.
12269         * app/select.c (select_invert_callback): remove unused variable.
12271         * app/plugin-manager.c (get_plugin_manager): fix typo.
12273         * app/load_save.c (read_connections, write_objects): 
12274         (write_connections): made some functions static.
12276         * app/interface.c (toolbox_delete, toolbox_destroy): made some
12277         functions static.
12279         * app/filedlg.c (file_export_callback): remove unused variable.
12281         * app/app_procs.c: various warning fixes.
12283         Integrating Jacek Pliszka's pstricks export filter.
12285         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
12287         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
12288         renderer (with a few small modifications by me).
12290         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
12292         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
12294 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
12296         * configure.in:
12297         * sheets/Makefile.am:
12298         * shapes/Makefile.am:
12299         * shapes/Civil/Makefile.am:
12300         * sheets/civil.sheet:
12301         * shapes/Civil/*:
12302         Added civil/hydraulic/structural engineering objects from
12303         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
12304         
12305 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
12307         * objects/FS/flow-poly.c:
12308         * objects/FS/flow.c:
12309         Fix division by zero in point_normalize().
12310         Patch by David Thompson <dcthomp@mail.utexas.edu>
12312 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
12314         * lib/arrows.c:
12315         * lib/bezier_conn.c:
12316         * lib/connpoint_line.c:
12317         Added checks for zero-length lines before calls to point_normalize.
12319 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12321         * app/preferences.c (prefs_data): Changed
12322         reversed_dragging_intersects to not make the dialog ridiculously
12323         wide.
12324         
12325 2000-04-22  James Henstridge  <james@daa.com.au>
12327         Hans's win32 patches:
12329         * app/export_png.c: include message.h
12330         * app/interface.c: include dia_dirs.h
12331         * app/linewidth_area.c: check for rint
12332         * app/main.c: include interface.h
12333         * app/paginate_psprint.c: remove unused variable.
12334         * app/preferences.c: include message.h
12335         * app/render_svg.c: include stdlib.h
12336         * app/select.c: include object_ops.h
12337         * lib/dia_dirs.c: miscelaneous fixes for win32.
12338         * lib/dia_image.c: include string.h
12339         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
12340         * lib/properties.c: include stdlib.h
12341         * lib/properties.h: define extra data for standard properties as
12342         static variables on win32 (to get around dynamic linker problems).
12343         * objects/standard/polygon.c: polygon_create_change missing return
12344         statement.
12346 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
12348         * configure.in (ALL_LINGUAS): added Catalan
12350 2000-04-18  James Henstridge  <james@daa.com.au>
12352         * objects/standard/bezier.c (bezierline_get_object_menu): add a
12353         separator to the object menu between the add/remove segment items
12354         and the corner type items.
12355         (bezierline_get_object_menu): add code to disable the menu item for
12356         the current corner type.  Really just a cosmetic change.
12358         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
12359         a NULL for the label or with no associated callback.
12361         * objects/standard/bezier.c (bezierline_menu_items): use the
12362         enumeration values rather than numeric values for the corner types.
12364         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
12365         structure, and add code to handle it.  Also, don't save the corner
12366         types inline in the bez_points node.  The way it is conditionally
12367         including the element just feels like it will break.
12369         * lib/geometry.h (BezPoint): removed the corner_type stuff from
12370         BezPoint.  The corner type stuff is a user interface level idea rather
12371         than something required by the renderer, so should be taken care of
12372         at the object level.
12374 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12376         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
12377         checks.  Weren't able to reproduce original bug, tough.
12379 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
12381         * sheets/Electric.sheet:
12382         * sheets/Contact.sheet:
12383         * sheets/Pneumatic.sheet:
12384         * sheets/Circuit.sheet: sprayed some <br/>'s around.
12385         (added a few French translations in the last file)
12386         
12387 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12389         * lib/geometry.h: 
12390         * lib/bezier_conn.h: 
12391         * objects/standard/bezier.c: 
12392         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
12393         bezier points.  Only one minor problem known:  Menus are active
12394         for endpoints minor handles.
12395         11:28: Save and load now works, too.
12396         (bezierconn_closest_major_handle): 12:03: New function to get the
12397         non-control point handle associated with the nearest control
12398         point.  
12399         Also fixed the menu activation problem, and made remove_segment
12400         not remove the endpoint.
12402 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12404         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
12405         new API is in use.
12407 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
12409         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
12410         <sys/stat.h>.   OS/2 patch.
12412 2000-04-15  James Henstridge  <james@daa.com.au>
12414         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
12415         Thompson's patch that adds undo support to the function structure
12416         diagram objects.
12418 2000-04-14  James Henstridge  <james@daa.com.au>
12420         * objects/custom/custom_object.c (custom_distance_from): new
12421         implementation of distance algorithm that actually takes the
12422         display list into account when calculating the distance.  Much nicer
12423         than a simple bounding box.
12425 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
12427         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
12429 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12431         * objects/standard/polygon.c: Start of polygons own changes (for
12432         connectionpoints).  Need to do seperate changes in polyshape, too,
12433         rather than reuse the bezier changes.
12435 2000-04-13  James Henstridge  <james@daa.com.au>
12437         * lib/dia_image.c (dia_image_draw): use the new enumeration values
12438         from after the gdk-pixbuf cleanup.
12440         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
12441         on for loop.  Last set of coefficients were not beeing calculated,
12442         which caused a bit of breakage.
12444         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
12445         functions in geometry.c for calculating the closest segment.
12446         (bezierconn_distance_from): use distance_bez_line_point to calculate
12447         the distance.
12449         * lib/geometry.c (distance_bez_line_point): new function to calculate
12450         the distance from an open bezier line to a point.
12451         (distance_bez_shape_point): new function to calculate the distance
12452         from a closed bezier shape.
12453         (distance_ellipse_point): new function to calculate the distance from
12454         a filled ellipse to a point.
12456         * lib/geometry.h (BezPoint): moved this structure here from render.h
12458 2000-04-12  James Henstridge  <james@daa.com.au>
12460         * lib/geometry.c (distance_bez_seg_point): new function to calculate
12461         the distance from a bezier segment.
12463         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
12464         to calculate the distance from the object.
12466         * lib/geometry.c (distance_polygon_point): function for calculating
12467         the distance from a polygon to a point.
12469 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
12471         * app/interface.c:
12472         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
12473         breaks can be inserted in the tool box. 
12475         * doc/sheet.dtd: updated the DTD
12476         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
12477         
12478 2000-04-12  James Henstridge  <james@daa.com.au>
12480         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
12481         macro if the dialog is a GtkDialog :(
12483 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12485         * objects/standard/polygon.c: Connectionpoints now properly
12486         managed in a GList.  As far as I can tell, this will not dieturb
12487         the order (but I have the nagging doubt...)
12489         * lib/polyshape.c: No longer knows about connectionpoints.
12491 2000-04-11  James Henstridge  <james@daa.com.au>
12493         * app/Makefile.am: fix makefile for bonobo build.
12495         * configure.in: fix checks for bonobo.
12497         * app/menus.c: added entries for the plugin manager.
12499         * app/Makefile.am (dia_core_files): added plugin manager to files
12500         list.
12502         * app/plugin-manager.[ch]: the plugin manager dialog.
12504         * app/display.c (display_update_menu_state): set the antialiased
12505         menu entry to the correct value.
12507 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
12509         * objects/custom/custom_object.c: not all renderers like ellipses with
12510         negative dimensions. This could cause ellipses to disappear when using
12511         the flip_h and flip_v functions.
12513         * samples/grafcet.dia: fixed speling and correctness.
12514         
12515 2000-04-11  James Henstridge  <james@daa.com.au>
12517         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
12518         exposed the dia_plugin_load and dia_plugin_unload functions.
12520         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
12521         already created PluginInfo structure.
12523         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
12524         the pluginrc file.
12526         * lib/sheet.c: fix up call to dia_config_filename.
12528         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
12529         file.  This would save information such as which plugins not to
12530         load during startup.
12532 2000-04-09  James Henstridge  <james@daa.com.au>
12534         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
12536 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
12538         * lib/plug-ins.c (dia_register_plugins):
12539         Don't free the value returned from g_getenv.
12541 2000-04-09  Anders Carlsson  <andersca@gnu.org>
12543         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
12545         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
12547         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
12548         right to left, select objects that intersect the rubberbanding rectangle
12549         instead of selecting objects that are in the rectangle.
12551         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
12553         * lib/diagramdata.h: Likewise.
12556 2000-04-09  James Henstridge  <james@daa.com.au>
12558         * lib/plug-ins.[ch]: add copyright messages to files.
12560         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
12561         plugin interface.
12563         * objects/sybase/sybase.c (dia_plugin_init): 
12564         * objects/network/network.c (dia_plugin_init): 
12565         * objects/flowchart/flowchart.c (dia_plugin_init): 
12566         * objects/custom/custom.c (dia_plugin_init): 
12567         * objects/chronogram/chronogram.c (dia_plugin_init): 
12568         * objects/UML/uml.c (dia_plugin_init): 
12569         * objects/SADT/sadt.c (dia_plugin_init): 
12570         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
12571         * objects/FS/fs.c (dia_plugin_init): 
12572         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
12573         object libraries.
12575         * objects/standard/standard.c (dia_plugin_init): change over to new
12576         plugin interface.
12578         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
12579         the version checker for plugins.
12581         * app/app_procs.c: remove plugin loading code from here, and use
12582         code from plug-ins.[ch].  Also move registration of internal
12583         objects/filters to a `builtin' plugin.
12585         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
12587         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
12589         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
12590         defined variable in EXTRA_DIST.
12592         * app/preferences.h: removed dia_config_filename from header.
12594         * app/preferences.c: removed dia_config_filename function.
12596         * lib/dia_dirs.c (dia_config_filename): moved function over to this
12597         file.  Also changed implementation slightly so that it should work
12598         on the win32 port correctly (and use NT home directories).
12600         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
12601         it should have been.
12603         * lib/plug-ins.[ch]: new plugin loading code.
12605 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12607         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
12609         * lib/polyshape.c: Fix closest segment finding, exposes deeper
12610         bugs in adding corners to 'wraparound' segment.
12612         * objects/standard/polygon.c: Added connection points (fixed so
12613         far), set menu sensitivity.
12615         * lib/polyshape.c: Changed to box-style handles, fixed for start
12616         and ends not being special, added initial connections,
12618         * lib/dummy_dep.h: Added polyshape (gotcha!)
12620         * objects/standard/pixmaps/ellipse.xpm: 
12621         * objects/standard/pixmaps/box.xpm: 
12622         Filled element pixmaps with white.
12624         * lib/polyshape.c: 
12625         * objects/standard/polygon.c: 
12626         * lib/polyshape.h: 
12627         * objects/standard/standard.c: 
12628         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
12629         * lib/Makefile.am (libdia_a_SOURCES): 
12630         * app/menus.c: 
12631         * app/interface.c (tool_data): 
12632         Added Standard/Polygon object and PolyShape lib object.  Still
12633         needs inside grab and connection points.
12635         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
12636         available. 
12638         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
12639         not wanted.
12641         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
12642         if (argv) outside ifdefs.
12644 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12646         * objects/standard/image.c (image_set_props): 
12647         Aspect ratio is back in town.
12649         * app/Makefile.am (dia_LDADD): 
12650         * acconfig.h: 
12651         * configure.in: 
12652         Check for gdk_pixbuf (by default disabled, for now)
12654         * app/render_eps.c (draw_image): 
12655         * app/render_libart.c (draw_image): 
12656         * app/render_gnomeprint.c (draw_image): 
12657         Support for alpha mask in rendering.  Color postscript, too.
12659         * lib/dia_image.c: 
12660         * lib/dia_image.h: 
12661         Support for gdk_pixbuf and proper masking for exports.
12663 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
12665         * sheets/*.sheets: Updated Norwegian translations.
12666         
12667 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12669         * lib/text.c (text_insert_char): 
12670         * lib/render_store.c (add_data): 
12671         Made realloc double the alloced space rather than add
12672         a fixed amount, to reduce memory stress.
12674         * app/select.c: Added new select method 'Transitive'
12675         that select every reachable (by connections) object.
12677 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
12679         * dia.desktop: Added Norwegian translation.
12680         
12681 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
12683         * app/render_eps.c:
12684         * app/render_svg.c:
12685         Don't dereference NULL pointer if the renderer
12686         couldn't open the file. Fix by Lars Clausen.
12687         Bug reported by Martin Chisholm <b1mt@unb.ca>
12688         
12689 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
12691         * dia.desktop:
12692         * po/pt.po:
12693         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
12695 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
12697         * app/dia.gnorba (location_info):
12698         Changed to correct executable name.
12700 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
12702         * app/app_procs.c:
12703         Don't do any argument parsing or initialization
12704         if argv==NULL.
12706         * app/dia_embedd.c:
12707         Call init_server_factroy before app_init.
12708         Call app_init with argv==NULL
12709         Now we don't get any critical error on startup.
12711         * configure.in:
12712         Add Electric and Pneumatic to makefile list.
12713         
12714 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
12716         * shapes/Electric/*:
12717         * sheets/Electric.sheet:
12718         Add some Electric circuit shapes.
12720         * shapes/Pneumatic/*:
12721         * sheets/Pneumatic.sheet:
12722         Add some Pneumatic & Hydraulic circuit shapes
12723         (both sheets are still incomplete, though feature enough 
12724         things for basic circuits).
12726         * shapes/Contact/l_*.(xpm|shape):
12727         * sheets/Contact.sheet
12728         * shapes/Contact/Makefile.am
12729         made the older electric circuit shapes in Contact obsolete (disabled
12730         them in the sheet, made that sheet Ladder only). Fixed the makefile
12731         for forgotten items.
12732         
12733 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
12735         * app/Makefile.am:
12736         Add support for Dia bonobo component.
12737         Currently a bit raw, so it's commented out.
12738         
12739         * app/dia_embedd.c:
12740         * app/dia.gnorba:
12741         New files for embedding dia.
12742         The menu disabling hack is a bit gross. Esp. for GNOME.
12744         * app/app_procs.h:
12745         Add new function app_is_embedded();
12747         * app/diagram.c:
12748         Don't destroy diagram when last display is destroyed if embedded.
12749         
12750         * app/display.c:
12751         Change initialization of display so it works with embedding.
12753         * app/display.h:
12754         Clarify comment about display destruction.
12756         * app/interface.[ch]:
12757         Added top_level_window argument to create_display_shell.
12758         Don't open a top-level window if embedding.
12759         Don't quit app if trying to close toolbox window when embedding.
12760         Add toolbox_show() and toolbox_hide().
12762         * app/main.c:
12763         Added app_is_embedded() function (just returns false).
12764         Added toolbox_show() call in main().
12766         * app/menus.c:
12767         Added code for getting toolbox menus. This is used to
12768         hide some menu items when running embedded.
12769         
12770         * app/app_procs.c:
12771         Include sheet.h to remove warning.
12773         * objects/UML/association.c:
12774         Clarify association direction text.
12775         
12776 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
12778         * dia.1
12779         Fixed man page so whatis parsing works.
12781 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
12783         * app/render_libart.c (new_libart_renderer):
12784         Fix from segg <segg@infonet.ca> to compile without libart.
12785         I forgot to change the stub for new_libart_renderer when doing
12786         the interactive renderer stuff for libart.
12788 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
12790         * dia.desktop: Added Irish translation.
12791         
12792         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
12794 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
12796         * app/load_save.c (fchmod): OS/2 defines only.
12798 2000-03-07  James Henstridge  <james@daa.com.au>
12800         * lib/properties.c (prop_get_widget): set the position in the option
12801         menu correctly.
12803 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
12805         * app/display.c:
12806         * app/export_png.c:
12807         * app/render_libart.[ch]:
12808         Don't export png:s with an interactive libart renderer.
12810 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
12812         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
12814 2000-03-02  James Henstridge  <james@daa.com.au>
12816         * dia.spec (%build): unset LINGUAS before running configure.  This
12817         ensures that all translations get included in the RPM.
12819         * lib/properties.c (object_create_props_dialog): put in a check for
12820         a NULL return from the describe_props() object method.
12821         (prop_desc_lists_union): make sure that the returned array is not
12822         NULL.
12823         (prop_desc_lists_intersection): same here.
12825 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
12827         * objects/ER/Makefile.am:
12828         * objects/FS/Makefile.am:
12829         * objects/UML/Makefile.am:
12830         Don't link object libs with gtk.
12832 2000-02-29  James Henstridge  <james@daa.com.au>
12834         * app/preferences.c (prefs_save): check to see if the file could
12835         be opened before writing the prefs.
12837         * app/disp_callbacks.c (popup_object_menu): pass the button event
12838         to gtk_menu_popup.  This allows you to click and release to open
12839         the object menu.
12840         (ddisplay_canvas_events): same here.
12841         (create_object_menu): set the object type menu item in the object
12842         menu to be insensitive.
12844         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
12845         as we are now requiring a new version of libxml.
12847         * dia.spec: updated version number.  Added requirement for
12848         libxml >= 1.8.5
12850         * configure.in: incremented version number to 0.84.
12851         Added check for libxml >= 1.8.5.  This will prevent some of the
12852         problems people have had with broken libxml versions.
12854         * NEWS: added news items.
12856         * app/interface.c (create_color_area): removed call to realize parent
12857         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
12858         but I haven't seen it on my copy of dia.
12860 2000-02-28  James Henstridge  <james@daa.com.au>
12862         * app/export_png.c: added copyright notice, and made the band height
12863         a constant.
12865 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
12867         * lib/font.c (suck_font):
12868         Fixed off-by one bug in font pixmap height.
12869         Fixes the problem with garbage at the bottom of some text in aa mode
12870         and in png exported files.
12872 2000-02-27  James Henstridge  <james@daa.com.au>
12874         * app/app_procs.c: add the png export filter if it was compiled in.
12876         * app/export_png.c (export_png): new PNG export filter.  This requires
12877         the libart renderer to work as it needs a renderer that renders to a
12878         pixel buffer.
12880         * configure.in: add check for libpng.
12882         * lib/message.c (message_internal): use a GNOME dialog here as well.
12884         * app/display.c (ddisplay_close): use a GNOME dialog here.
12886         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
12887         when exporting to EPS.  This is because some people said the EPS
12888         output was too large
12890 2000-02-26  James Henstridge  <james@daa.com.au>
12892         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
12893         window.
12895         * app/app_procs.c (app_exit): use a GNOME dialog here.
12897         * app/preferences.c (prefs_create_dialog): if GNOME support is
12898         enabled, show a GNOME dialog.
12900         * app/grid.c (grid_draw): use preferences when drawing page break
12901         lines.
12903         * app/preferences.c: add page break preferences to dialog.
12905         * app/preferences.h: added page break preferences.
12907 2000-02-25  James Henstridge  <james@daa.com.au>
12909         * sheets/UML.sheet: added new objects.
12911         * objects/UML/uml.c: link in the two new objects.
12913         * objects/UML/node.c: 
12914         * objects/UML/branch.c: new UML objects from Stfan Seefeld
12915         <seefelds@magellan.umontreal.ca>.
12917 2000-02-24  James Henstridge  <james@daa.com.au>
12919         * objects/custom/custom_object.c: converted to use the properties
12920         interface.  In the future, it would be nice to add support for
12921         defining custom properties for custom objects, but that can wait.
12923 2000-02-22  James Henstridge  <james@daa.com.au>
12925         * sheets/Circuit.sheet: added new circuit shapes to sheet.
12927         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
12928         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
12929         and adds a few new features.
12931 2000-02-21  Daniel Egger  <egger@suse.de>
12933         * sheets/*.sheets: Added German translations and made some
12934         corrections to the others.
12935         
12936 2000-02-21  James Henstridge  <james@daa.com.au>
12938         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
12940         * shapes/Circuit/...: added new shapes from Erik Janssens.
12942 2000-02-20  James Henstridge  <james@daa.com.au>
12944         * app/interface.c (create_color_area): realize the parent window
12945         first.
12947         * objects/standard/image.c: properties patch for standard image
12948         object, from Lars Clausen.
12950         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
12952         * lib/properties.h (PropType): added file property type.
12954         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
12955         other shapes.
12957         * app/interface.c: use wrap box for toolbox.
12959         * app/Makefile.am: added new files.
12961         * app/gtk*wrapbox.[ch]: added wrap box widget.
12963 2000-02-19  James Henstridge  <james@daa.com.au>
12965         * sheets/network.sheet: added extra shapes to networks sheet.
12967         * configure.in (AC_OUTPUT): added shapes/network/Makefile
12969         * shapes/network/*: added shapes that were posted to the list a while
12970         back.
12971         
12972         * shapes/Makefile.am (SUBDIRS): added network subdirectory
12974         * app/menus.c (toolbox_menu_items): don't right justify help menu for
12975         gtk+ version of menus.
12977         * app/properties.c (create_dialog): use a GnomeDialog if we happen
12978         to be using gnome.
12980 2000-02-18  James Henstridge  <james@daa.com.au>
12982         * objects/flowchart/box.c: set extra data for corner radius and text
12983         padding properties.
12985         * objects/standard/box.c: set extra data for corner radius property.
12987         * lib/properties.h: set extra data in some standard properties.
12989         * lib/properties.c (prop_get_widget): look at the extra data for
12990         int, real and enum property types.  They now use GtkSpinButton and
12991         GtkOptionMenu respectively.
12993         * lib/properties.h: extra data members for creating property setting
12994         widgets.
12996 2000-02-17  James Henstridge  <james@daa.com.au>
12998         * objects/flowchart/box.c: reverted load/save functions back to
12999         previous implementations.  Made box use standard property names.
13001         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
13003         * app/grid.c: add more digits to the grid edit dialog.  This patch
13004         was also from Lars Clausen.
13006         * objects/standard/zigzagline.c: 
13007         * objects/standard/textobj.c:
13008         * objects/standard/polyline.c:
13009         * objects/standard/line.c:
13010         * objects/standard/ellipse.c:
13011         * objects/standard/box.c: 
13012         * objects/standard/bezier.c: 
13013         * objects/standard/arc.c: patches to add properties code to standard
13014         objects.  Based on patches from Lars Clausen.  I have also removed
13015         some dead code from the files.
13017         * lib/properties.h (PROP_STD_*): define a number of standard
13018         properties.  Where appropriate, objects should include these
13019         properties in their PropDescription list.  This way, the intersection
13020         of properties of two different shapes will be greater.
13022 2000-02-14  James Henstridge  <james@daa.com.au>
13024         * objects/flowchart/box.c (box_load, box_save): use property save
13025         routines.  Make sure that any props not handled by object_load_props
13026         are loaded before calling object_load_props, or we get errors because
13027         update_data is called.
13029         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
13030         error that could cause properties to be loaded incorrectly.
13031         (object_set_props_from_offsets): similar here.
13033         * lib/properties.[ch] (prop_{load,save}): functions for loading
13034         or saving a property in Dia's XML file format.
13035         (object_{load,save}_props): load or save some properties of an
13036         object.  These functions should help simplify the load/save methods
13037         of objects that implement the properties interface.
13039 2000-02-13  James Henstridge  <james@daa.com.au>
13041         * objects/flowchart/box.c: use offset code to simplify property
13042         get/set routines.
13044         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
13045         properties.
13046         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
13048         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
13049         properties.
13050         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
13052         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
13053         functions 
13055 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
13057         * app/Makefile.am:
13058         Add the custom object to DIA_LIB_PATH in run_dia.sh
13060 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
13062         * sheets/Circuit.sheet:
13063         * shapes/l_sout* (NEW):
13064         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
13065         variants of simple, inverted, set and reset outputs.
13066         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
13067         probably a split of Contact and Ladder sheets. And then a major 
13068         revamping of the Contact sheet.
13070 2000-02-10  James Henstridge  <james@daa.com.au>
13072         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
13074         * app/app_procs.c (register_all_objects): don't explicitely
13075         register the custom objects library -- let it be loaded by the
13076         normal plugin loading methods.
13078         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
13080         * objects/custom/Makefile.am: build libcustom_objects as a shared
13081         library again.
13083         * objects/custom/shape_info.[ch]: don't read the description field
13084         of custom shapes.  It makes more sense to have these in the sheet
13085         file to localise the parts of dia that translators have to deal
13086         with.
13088         * objects/custom/custom_object.c (custom_object_new): do not
13089         create the sheet object for the new custom shape -- this is
13090         handled by the custom sheet code.
13092         * objects/custom/custom.c: change over to being a normal plug-in
13093         rather than being linked with the main dia executable.
13095 2000-02-09  James Henstridge  <james@daa.com.au>
13097         * sheets/Circuit.sheet: 
13098         * sheets/Flowchart.sheet: 
13099         * sheets/Contact.sheet: fixed up sheets.
13101         * objects/custom/custom_object.c (custom_object_new): set the
13102         extra ObjectType fields.
13104         * lib/sheet.c: use extra ObjectType fields when creating sheet
13105         objects.  Give a warning if <shape> tags are found in a sheet
13106         file.  Now the custom sheet code does not know about custom
13107         shapes -- they look like any other object type.
13109         * lib/object.h (ObjectType): added extra members
13111 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
13113         * app/linewidth_area.c:
13114         Added code to set arbitrary line width.
13115         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
13117 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
13119         * app/linewidth_area.c: 
13120         * lib/font.[ch]:
13121         Add support for font-sucking.
13122         Implementation borrowed from gnome-canvas.
13123         
13124         * app/render_libart.[ch]:
13125         Implement text rendering.
13127 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
13129         * app/properties.c (create_dialog):
13130         ref and sink no_properties_dialog.
13132 2000-02-07  James Henstridge  <james@daa.com.au>
13134         * app/group.c (group_describe_props): new function.  Return the
13135         intersection of the properties of the contained objects that
13136         implement the describe_props interface.
13137         (group_get_props): implement by iterating through contained objects
13138         and calling their get_props method until all properties have been
13139         set.  Maybe this should go through all objects all the time??
13140         (group_set_props): implement by calling set_props method on all
13141         contained objects.
13142         (group_ops): use standard props dialog creation routines.
13144         * lib/properties.c (prop_desc_lists_intersection): fix implementation
13145         of intersection -- I was using i++ instead of i-- in a for loop :(
13147         * objects/custom/custom.c (custom_register_objects): fix usage
13148         of dia_get_data_directory again.
13150         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
13151         actually read the sheets.
13153 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
13155         Win32 port by Hans Breuer <Hans@Breuer.org>
13157         * app/Makefile.am:
13158         Remove DATADIR and LIBDIR defines.
13160         * lib/Makefile.am:
13161         Add dia_dirs.c and dia_dirs.h
13162         Added DATADIR and LIBDIR defines.
13164         * lib/dia_dirs.[ch]:
13165         New files for handling special directories.
13167         * app/app_procs.c:
13168         * app/commands.c:
13169         * lib/sheet.c:
13170         * objects/custom/custom.c:
13171         Fix warnings.  Use directory functions.
13173         * app/diagram.h:
13174         Add prototype for diagram_redraw_all.
13176         * app/diaunitspinner.c:
13177         * app/filedlg.c:
13178         * app/interface.c:
13179         * app/preferences.c:
13180         Fix warning.
13182         * app/load_save.c:
13183         Win32 doesn't have mkstemp and fchmod.
13185         * app/paginate_psprint.c:
13186         Win32 calls popen _popen and pclose _pclose.
13187         
13188         * app/arrow.c:
13189         Win32 calls finite _finite.
13191         * lib/color.h:
13192         Win32 needs to dllexport the color vars.
13194         * objects/GRAFCET/step.c:
13195         * objects/chronogram/chronoref.c:
13196         snprintf -> g_snprintf
13198 2000-02-05  James Henstridge  <james@daa.com.au>
13200         * lib/properties.c: more fixes so that it doesn't crash when using
13201         properties.  The undo/redo stuff also works!!
13203         * objects/flowchart/box.c (box_{describe, get, set}_props): test
13204         object where I have implemented the new properties interface
13205         complete with automatic properties dialog generation.
13207         * lib/properties.c (object_apply_props): fixed stupid error when
13208         creating the old_props array.  Also, it no longer frees the props
13209         array -- you will have to do that yourself.
13211 2000-02-04  James Henstridge  <james@daa.com.au>
13213         * app/properties.c (properties_apply): pass object_part to
13214         apply_properties.
13216         * lib/object.h (ApplyPropertiesFunc): added widget argument.
13218         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
13219         created this way as well.
13221         * objects/*/*.c: ref and sink the properties dialog window for each
13222         widget.  It can't rely on ref count being incremented by
13223         properties_show anymore.
13225         * app/properties.c (properties_show): don't ref the widget before
13226         removing it, or its ref count will increase each time you open the
13227         properties dialog.  Don't unparent the widget, as container_remove
13228         does that for us.
13230         * lib/object.h: fixed up prototypes for new object methods.
13232         * lib/properties.[ch]: added functions for automatically creating
13233         a properties dialog from the output of describe_props, get_props and
13234         set_props.
13235         (object_apply_props): apply properties and return an ObjectChange
13236         structure that can be used for undo.
13238 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
13240         * objects/GRAFCET/transition.c: minor leak plugged.
13242         * sheets/GRAFCET.sheet:
13243         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
13244         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
13245         conditions.
13246         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
13247         new ones (for condition.c).
13248         * objects/GRAFCET/action.c: added connection points for the conditions.
13249         * samples/grafcet.dia: updated the sample to improve conformance to
13250         IEC 848 and take advantage of dia's new features.
13251         
13252         * lib/geometry.h: (point_get_normed) fixed a typo.
13254 2000-02-02  James Henstridge  <james@daa.com.au>
13256         * lib/object.h: added object functions describe_props, get_props and
13257         set_props.  Do type definitions so that object.h doesn't need to
13258         include properties.h, since properties.h includes object.h.
13260         * lib/properties.[ch]: more hacking.
13262         * po/de.po: updated po file.
13264 2000-01-30  James Henstridge  <james@daa.com.au>
13266         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
13267         check to see if the C compiler accepts the flag beforehand.
13269         * lib/properties.[ch]: start of properties code.
13271         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
13273 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
13274         
13275         * sheets/GRAFCET.sheet:
13276         * sheets/GRAFCET/etapemc.xpm: (NEW)
13277         * sheets/GRAFCET/etapesp.xpm: (NEW)
13278         * objects/GRAFCET/step.c: Added the macro and
13279         sub-program call step types.
13281         * objects/GRAFCET/receptivity.[ch]: renamed to 
13282         objects/GRAFCET/boolequation.[ch]. 
13283         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
13284         (BoolEquation *)
13286         * lib/connpoint_line.[ch]: 
13287         * objects/chronogram/chronoline.c:
13288         * objects/chronogram/chronoref.c:
13289         * objects/GRAFCET/vergent.c:
13290         * objects/standard/line.c:
13291         * objects/SADT/box.c: Minor CPL interface changes, factored out the
13292         point count adjustment code into the CPL object.
13293         
13294 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
13296         * app/render_libart.c:
13297         Added support for images and bezier curves.
13298         Only text/fonts missing now.
13300         * app/render_gdk.c:
13301         Removed old erronous comment.
13303 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
13305         * objects/chronogram/chronoline_event.c: removed references to
13306         lround(). Please don't insist, I'm already red of shame.
13307         
13308 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
13310         * app/render_libart.[ch]:
13311         * app/Makefile.am:
13312         Non-finished libart renderer.
13314         * acconfig.h:
13315         Added HAVE_LIBART flag
13317         * configure.in:
13318         Added libart probe
13320         * app/app_procs.c:
13321         Call gdk_rbg_init().
13323         * app/connectionpoint_ops.c:
13324         * app/disp_callbacks.c:
13325         * app/grid.c:
13326         * app/handle_ops.c:
13327         * app/magnify.c:
13328         * app/modify_tool.c:
13329         Change ddisp->renderer type from RendererGdk * to Renderer *
13330         Draw zoom and select rects in ddisp->canvas->window instead
13331         of ddisp->renderer->renderer->pixmap.
13333         * app/display.[ch]:
13334         Add aa_renderer to DDisplay, and  support for it.
13335         New function ddisplay_set_renderer() for changing renderer.
13336         Add ddisplay_transform_coords_double() function, used by aa renderer.
13337         Change ddisp->renderer type from RendererGdk * to Renderer *
13339         * app/menus.c:
13340         Add antialias to menu.
13341         
13342         * app/commands.[ch]:
13343         add view_aa_callback function
13344         Change ddisp->renderer type from RendererGdk * to Renderer *
13346         * lib/geometry.[ch]:
13347         Added IntRectangle and int_rectangle_union.
13349 2000-01-28  James Henstridge  <james@daa.com.au>
13351         * app/commands.h: removed prototypes.
13353         * app/commands.c: removed the functions that have been moved to
13354         filedlg.c.
13356         * app/filedlg.h: added new prototypes.
13358         * app/filedlg.c (file_open_callback): move open dialog to this
13359         file.  This implementation should remember the current directory
13360         between file loads.
13361         (file_save_as_callback): moved this dialog as well.
13362         (file_save_callback): moved this function here.
13364         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
13365         align page boundaries to the origin.
13367         * app/diagram.c (diagram_update_extents): redraw the diagram if the
13368         scaling factor changes while updating the extents.  This is so the
13369         page breaks get redrawn correctly.
13371         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
13372         applying changes.
13374         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
13375         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
13376         the corner of the bounding box.
13378         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
13379         into page setup dialog.
13380         (pagesetup_apply): apply new `fit to' attributes to the diagram.
13382         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
13383         (diagram_data_save): save `fit to' data.
13385         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
13386         (data_update_extents): when in `fit to' mode, update scale factor
13387         when we update the extents.
13389         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
13390         structure.
13392         * .../.cvsignore: added some cvsignore files to quieten cvs.
13393         
13394         * app/pagesetup.c (pagesetup_changed): added code to change the
13395         scaling/fit to values as you change the options in the page setup
13396         dialog.  I haven't added code so that the fit to options are saved
13397         though.
13399         * app/diapagelayout.[ch]: changed the scaling portion of the widget
13400         to make it easier to set a `fit to' style scaling factor.
13402 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
13403         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
13404         but connpoint_line-based, so that there's a connection point at the 
13405         middle of each segment. Currently only the SADT arrow uses this.
13407         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
13408         
13409 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
13410         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
13411         saving and editing of properties (and default properties). 
13412         See the new objects (GRAFCET, SADT, chonograms) for examples.
13413         For already too hairy stuff, see objects/chronogram/chronoline.c.
13415         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
13416         evenly spaced connection points, which the user can add or remove at
13417         will. An object can own several connection point lines. See the SADT
13418         Box, or the GRAFCET vergents for examples.
13420         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
13421         quiet about unused stuff.
13423         * objects/GRAFCET (NEW):
13424         * samples/grafcet.dia (NEW):
13425         Added support for GRAFCET charts. 
13427         * objects/chronogram (NEW):
13428         * samples/chronograms.dia (NEW):
13429         Added support for chronograms (feature requested by Ronald L. Chichest;
13430         I found I'd use it often, too).
13432         * objects/standard/line.c: Replace the middle connectionpoint by 
13433         a whole connection point line, which defaults to one point (hint, 
13434         hint). New Line object menu to take advantage of this. 
13435         "Bothwards" compatibility is preserved (although you may loose 
13436         connections if you load a newer file in a older dia).
13438         * app/lineprops_area.c:
13439         * lib/arrows.[ch]:
13440         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
13441         (feature requested by Benjamin Kahn).
13442         Merged in Steffen Macke's slashed arrow head type.
13444         * app/Makefile.am (app/run_dia.sh actually):
13445         Added $DEBUGGER in front of dia's invocation, so that
13446         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
13447         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
13448         "EFENCE=-lefence" to link with Electric Fence.
13450         * configure.in: Made gcc do more aggressive optimisations on i386, and
13451         enabled warnings.
13452         
13453 2000-01-24  James Henstridge  <james@daa.com.au>
13455         * lib/geometry.[ch]: added inline versions of functions.  Used
13456         glib's G_INLINE_FUNC stuff, so it should still work on systems
13457         without inline funcs.
13459         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
13460         it outputs the correct element id for the ellipse objects.
13462 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13464         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
13465         object_add_handle_at. Message typo fixed.
13466         
13467         * lib/sheet.c (load_register_sheet):
13468         potential bug fixed (warning hunt).
13470         * objects/custom/custom.c (custom_object_load): disabled an assertion
13471         which made dia abort upon failure to load a shape file. Fixed a
13472         subsequent crash. 
13474         * objects/custom/shape_info.c (load_shape_info): Made the custom 
13475         shape load code ignore XML comments between <?xml ...?> and the 
13476         root object (mostly useful to put the emacs magic comments).
13477         
13478         * app/load_save.c: Made dia do backup copies of files when saving,
13479         and complain in case of failure.
13481 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
13483         * AUTHORS: fixed my address (ISP thought it was a great idea to change
13484         the domain name)
13485         
13486         * configure.in:
13487         * shapes/Contact:
13488         * shapes/Contact/*:
13489         * sheets/Contact.sheet:
13490         * sheets/Makefile.am:
13491         Added support for Contact and LADDER charts.
13493         * dia.desktop: Added a French translation.
13494         
13495 2000-01-23  James Henstridge  <james@daa.com.au>
13497         * app/commands.c (help_about_callback): don't die if can't load
13498         logo image.
13500         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
13501         out NaN's when performing bezier curve subdivision.
13503         * objects/custom/custom_object.c: initialise memory of Custom structs
13504         to zero.
13506         * app/render_svg.c (draw_image): added image support to the XML
13507         output filter.  The image is just referenced, rather than being
13508         included inline, so if you copy the SVG file somewhere else, you
13509         may need to move the images or fix up the links.
13511         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
13512         so the text is not just displayed in black all the time.
13514 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
13516         * configure.in: fixed libpopt test so we wont try to build with
13517         too old libpopt.
13519 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
13521         * configure.in: Added "uk" to ALL_LINGUAS.
13523 1999-12-24  James Henstridge  <james@daa.com.au>
13525         * po/ru.po: updated russian translation from Valek Filippov.
13526         
13527         * app/render_svg.c (new_svg_renderer): make output use 19991203
13528         version of SVG DTD.  Use viewBox to set the extents of the view.
13530         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
13531         ftp.gnome.org as the download.
13533         * TODO (TODO): weeded out completed todo items and added a few extra.
13535         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
13537         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
13538         be good to get rid of the object/shape distinction and separate
13539         the custom shape code out from the main application.
13541         * objects/custom/README, diagram.dtd: moved to new doc directory.
13542         Renamed the custom shapes README to custom-shapes.  Also updated
13543         custom shape docs a bit and removed the section on sheet files, as
13544         that has changed a bit.
13546         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
13547         of the image data is larger than the maximum cell array.  I should
13548         add code to break scan lines down further in this case, but for now
13549         an error message is better than an infinite loop.
13551         * app/filedlg.c (file_export_ok_callback): show a dialog if we
13552         couldn't determine the export filter to use.
13554         * app/commands.c (help_about_callback): fixed up about box logo
13555         expose bug.  Now just use a GtkPixmap widget rather than a
13556         GtkDrawingArea and calling gdk_imlib_paste_image.
13558         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
13559         because automake does not always get things right.
13561         * configure.in: updated version number to 0.83.
13563         * app/preferences.c (prefs_save): 
13564         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
13565         for fopen.  Text is the default file mode anyway.
13567         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
13568         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
13569         * app/load_save.c (write_objects, write_connections): 
13570         * app/filedlg.c (file_export_ok_callback): 
13571         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
13572         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
13573         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
13574         snprintf to calls to g_snprintf.
13576         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
13577         as the picture name.
13579 1999-12-23  James Henstridge  <james@daa.com.au>
13581         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
13582         negative numbers.  This fixes the upside down text problem I was
13583         having previously.
13584         (draw_image): implemented the image code.  It will try to split the
13585         image data up into bands if it is too big to fit into a single
13586         cgm cell array element.  It will have problems if you try to insert
13587         an image wider than about 10,000 pixels though.
13589         * Makefile.am: use gnomedatadir for the files that need to be
13590         installed in gnome's datadir.  This is mainly to help people doing
13591         packages for weird setups.
13593 1999-12-22  James Henstridge  <james@daa.com.au>
13595         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
13596         beziers are left to do.  The text seems to be the wrong way up
13597         still.  This is probably a problem with character orientation
13598         element, but I have used what the settings given in the standard.
13599         Other than this, the CGMs dia produces are readable (and displayable)
13600         by ralcgm and corel draw.
13601         (draw_string): subtract from the X coord rather than the Y coord for
13602         center and right aligned text.
13604         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
13605         the size of a real number, and changed name of write_double to
13606         write_real.  Consider changing to fixed real encoding.  Also, now
13607         all element headers are correct.  Once the real number encoding is
13608         fixed, only text, beziers and images are left to do.
13610 1999-12-21  James Henstridge  <james@daa.com.au>
13612         * Makefile.am (SUBDIRS): recurse into plug-ins.
13614         * configure.in: add plug-ins directory makefiles to list.
13616         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
13617         not done yet.  Also, the output files are not quite correct.
13619         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
13620         font.  It doesn't work if you do.
13622 1999-12-20  James Henstridge  <james@daa.com.au>
13624         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
13625         export the files.  Instead, use filter_guess_export_filter to
13626         guess the correct format to save in and use the appropriate filter.
13627         It defaults to postscript for compatibility.
13629         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
13630         function.
13632         * app/commands.[ch]: removed export to eps functions.
13634         * app/menus.c: removed export to eps menu items.
13636         * app/app_procs.c: register new export filters.
13638         * app/load_save.[ch]: define dia native export filter.
13640         * app/render_eps.[ch]: define eps export filter.
13642         * lib/filter.h: added diafilename argument to the DiaExportFunc
13643         prototype.  This is useful for putting the source of the diagram
13644         into the output file for instance.
13646         * app/app_procs.c (app_init): register the SVG export filter.  Have
13647         to get EPS code converted to this API, and maybe also allow saving in
13648         DIA's native format from the export dialog.  In fact, it is now
13649         possible to load an export filter from a shared library and it will
13650         integrate into the interface correctly.
13652         * app/menus.c: removed references to the SVG renderer.
13654         * app/commands.[ch]: removed svg stuff.
13656         * app/diagram.[ch]: removed diagram_export_to_svg function.
13658         * app/render_svg.[ch]: added a DiaExportFilter structure for this
13659         renderer.
13661         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
13662         probably move the open/save dialogs to this file as well.
13664 1999-12-19  James Henstridge  <james@daa.com.au>
13666         * lib/filter.[ch]: start of interface for generalised handling of
13667         filters.  I have only done code for export filters so far.  I still
13668         need to do the gui for this, and convert the current SVG and EPS
13669         filters to the new API.
13671         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
13672         weren't setting the last handle correctly.  It was actually assigning
13673         to the wrong position in the handles array, so the last handle was
13674         left as NULL, which caused the segfault.
13676         * objects/standard/image.c (image_copy): modified routine so that
13677         it just adds a reference to the DiaImage structure in the new image
13678         object.  This seems to have cleared up the problems with copying
13679         image objects.
13681         * dia.spec: spec file additions from John Gotts.
13683 1999-12-12  James Henstridge  <james@daa.com.au>
13685         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
13686         has not been released yet though.
13688         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
13690         
13691         The following based on a patch from Lars Clausen:
13692         
13693         * objects/standard/bezier.c (bezierline_move_handle): when performing
13694         the initial drag of the bezierline, move the control points to keep
13695         the line straight.
13697         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
13698         make the new control points a bit closer to the major point.
13700         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
13701         as the reason for the move.
13702         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
13703         move reason.
13705         * lib/handle.h: new handle move reasons.
13707 1999-12-09  James Henstridge  <james@daa.com.au>
13709         * dia.spec: include the new files in RPMs.
13711         * Makefile.am: install these new files.
13713         * dia.keys.in: file describing actions and icon for dia diagrams for
13714         use in the gnome file manager.
13715         
13716         * dia.mime: a file defining the application/x-dia-diagram mime type.
13717         
13718         * dia-diagram.png: an icon for dia diagrams.
13720 1999-12-08  James Henstridge  <james@daa.com.au>
13722         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
13724         * plug-ins/python/pydia-display.[ch]: wrapper for display.
13726         * objects/standard/ellipse.c: applied Lars's patch to optionally not
13727         draw the background of the ellipse.
13729         * app/load_save.c (read_connections): do some sanity checking on the
13730         handle and connection point numbers before performing the object
13731         connection.
13733         * lib/bezier_conn.c (bezierconn_load): give the correct number of
13734         handles when loading a BezierConn.
13736 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
13738         * sheets/*.sheet: Finished Norwegian translations.
13739         
13740 1999-12-07  James Henstridge  <james@daa.com.au>
13742         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
13743         (PyDia_GetObjectType): find object type function.
13745         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
13746         method for diagrams.
13748         * plug-ins/python/pydia-object.c: added methods for DiaObject and
13749         DiaObjectType.
13751         * AUTHORS: added Lars and Cyrille to the authors file.
13753         * objects/standard/bezier.c (bezierline_add_segment_callback): place
13754         new point correctly.
13756         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
13758         * lib/bezier_conn.c: applied Lars's patch for placement of the new
13759         point when adding a segment to a BezierConn.
13761 1999-12-06  James Henstridge  <james@daa.com.au>
13763         * plug-ins/python/test.py: test script for the python plug-in.
13765         * plug-ins/python/python.c: this file contains the plug-in startup
13766         code for the python plugin.  Right now, it just initialises the
13767         dia module and executes a script.
13769         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
13771         * objects/standard/bezier.c (bezierline_draw): draw control lines for
13772         bezier curve if we are using an interactive renderer (ie. only if
13773         displaying to the screen).
13775         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
13776         to draw control lines on to a bezier curve.  Based on implementation
13777         from Lars.
13779         * objects/standard/bezier.c (bezierline_delete_segment_callback):
13780         calculate segment number using closest_segment rather than
13781         closest_handle.  Sometimes the closest handle is part of a different
13782         segment.
13783         (bezierline_draw): use correct size for start arrow.
13785         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
13786         * lib/geometry.c (distance_line_point): added notes to documentation
13787         in comment.
13788         * app/object_ops.c (object_list_align_v): 
13789         (object_list_align_h): fix of by one error when calculating free space
13790         for equal distance alignment.
13791         * app/menus.c (objects_align_h, objects_align_v): include align
13792         adjacent menu items in the gnome version of the menus.
13793         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
13794         align adjacent menu items correctly.
13797         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
13798         table.
13800         * objects/standard/bezier.c: converted bezierline to use BezierConn.
13801         Still a few bugs.  It crashes on deleting line segments.
13803         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
13805 1999-12-05  James Henstridge  <james@daa.com.au>
13807         * lib/bezier_conn.[ch]: start of BezierConn object
13809         * app/interface.c: add bezierline to toolbox.
13811         * objects/standard/standard.c: initialise bezierline.
13813         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
13814         made a few modifications to get it working nicely.  It still needs
13815         a bit of work though.  Maybe create a BezierConn object in lib.
13817 1999-12-02  James Henstridge  <james@daa.com.au>
13819         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
13820         
13821         * plug-ins/python/Makefile.am: tried building everything.  It is
13822         building as a library at the moment.  I will have to convert it
13823         to a libtool library and add some initialisation code.
13824         
13825         * plug-ins/python/diamodule.c: start of the dia module, using the
13826         other object wrappers.  Not complete.
13828 1999-12-01  James Henstridge  <james@daa.com.au>
13830         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
13831         the handles and connections attributes.
13833         * plug-ins/python/pydia-layer.c: added functions that use
13834         ConnectionPoint's.
13836         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
13838         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
13840         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
13841         I am currently wrapping the basic elements in the diagram in python
13842         objects -- nothing to see or play with yet.
13844 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
13846         * AUTHORS:
13847         * HACKING:
13848         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
13850 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
13852         * configure.in:
13853         * po/ru.po:
13854         Added russian translation from Valek Filippov <frob@df.ru>
13856 1999-11-24  James Henstridge  <james@daa.com.au>
13858         * sheets/UML/*: 
13859         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
13860         discussed with Alex.  Also added extra makefiles so that make install
13861         works correctly.
13863 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
13865         * app/preferences.[ch]:
13866         * app/display.c:
13867         Added snap to grid preference.
13868         Patch from Michael Leslie <mles@springboardwireless.com>
13870 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13872         * app/load_save.c:
13873         * lib/dia_xml.c:
13874         * lib/sheet.c:
13875         * lib/text.c:
13876         * objects/custom/shape_info.c:
13877         All strings returned by libxml must be freed with free, not
13878         g_free, or there will be problems if you use memory debugging
13879         in glib.
13880         
13881 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13883         * app/create_object.[ch]:
13884         * app/menus.c:
13885         * app/tool.[ch]:
13886         * app/commands.[ch]:
13887         * app/pixmaps.h:
13888         * app/interface.[ch]:
13889         Reverted the tool menu patch. It has some 'issues'.
13890         I liked it though, so it'll probably return.
13892 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
13894         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
13895         <bruce@cybersight.com> for some purify runs and analysis.
13896         Also a great thank you to Owen Taylor for creating MemProf, a
13897         free memory leak detector that was used to find and verify a
13898         lot of these fixes.
13899         
13900         * app/diagram.c:
13901         * app/paginate_psprint.c:
13902         * app/render_eps.[ch]:
13903         * app/render_svg.[ch]:
13904         Free renderers.
13906         * app/interface.c:
13907         Don't add a reference to ddisp->shell. Why was this done in
13908         the first place?
13910         * app/load_save.c:
13911         * lib/dia_xml.c:
13912         * lib/sheet.c:
13913         * lib/text.c:
13914         Free all strings returned from xmlGetProp
13916         * app/modify_tool.c:
13917         Plug leak.
13919         * objects/custom/custom.c:
13920         Use closedir() after opendir().
13922         * objects/custom/shape_info.c:
13923         User g_free() instead of "if (tmp) free(tmp)".
13925         * sheets/ER.sheet:
13926         Add newline at end of file.
13927         
13929 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
13931         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
13932         Adds tool menu and keyboard shortcuts.
13934         * app/create_object.[ch]:
13935         Use tool_set() instead of tool_reset().
13936         create_create_object_tool() takes extra type argument
13938         * menus.c:
13939         Add tools menu.
13940         
13941         * tool.[ch]:
13942         Moved tool_data here, export it.
13943         Add separate tool type for all create objects tools.
13944         new functions tool_set().
13946         * commands.[ch]:
13947         New callback tool_set_callback.
13949         * pixmaps.h:
13950         Moved some pixmaps to interface.c.
13951         
13952         * interface.[ch]:
13953         Remove tool_data array (moved to tool.c).
13954         Use the tool_data from tool.c.
13955         Remove modify_tool_button global var.
13956         
13957 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
13959         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
13960         
13961         * app/app_procs.c:
13962         Interprets command-line arguments as files to open even when
13963         HAVE_POPT is not defined.
13965         * app/magnify.c:        
13966         Shift-clicking when zooming zooms out, like the Gimp.
13968         * app/menus.c:
13969         Has hotkeys for zoom-100% and snap-to-grid.
13971 1999-11-17  James Henstridge  <james@daa.com.au>
13973         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
13974         that it is not jumpy.
13976         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
13978         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
13979         scrolling by pressing the shift key when using the scroll tool.
13981         * sheets/Makefile.am: fixed makefile so that install actually works
13982         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
13983         don't exist.
13984         (SHEETS): install Circuit.sheet
13986 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
13987         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
13989         * sheets/Circuit.sheet:
13990         * sheets/ER.sheet:
13991         * sheets/FS.sheet:
13992         * sheets/Flowchart.sheet:
13993         * sheets/UML.sheet:
13994         * sheets/network.sheet:
13995         * sheets/sybase.sheet:
13996         Changed name space
13998         * sheets/Circuit.sheet:
13999         added some missing French translations
14001         * lib/sheet.c:
14002         killed the temporary sheet namespace
14004         * objects/custom/custom.c:
14005         obsolete comment cleaned up
14007 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
14009         * configure.in:
14010         * po/pt.po:
14011         Added portugese translation from Pedro Morais
14012         <pmmm@rnl.ist.utl.pt>
14014 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
14016         Changed all sheets to be specified in xml.
14017         All sheet objects removed from the C code.
14018         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
14019         
14020         * Makefile.am:
14021         * configure.in:
14022         Adding shapes dir.
14023         Updated version to 0.81cvs.
14024         
14025         * app/Makefile.am:
14026         Update run_dia.sh with sheet-dir.
14027         
14028         * app/app_procs.c:
14029         Load all sheets on startup.
14030         Create sheet directory first time.
14031         Don't call custom_register_sheets().
14033         * lib/Makefile.am:
14034         Add sheetdir define
14036         * lib/custom.h:
14037         Remove custom_register_sheets().
14039         * lib/sheet.[ch]:
14040         Add sheet loading code.
14042         * sheet/Circuit.sheet:
14043         * sheet/ER.sheet:
14044         * sheet/FS.sheet:
14045         * sheet/Flowchart.sheet:
14046         * sheet/UML.sheet:
14047         * sheet/network.sheet:
14048         * sheet/sybase.sheet:
14049         Added sheet files.
14051         * sheet/ER/weakentity.xpm:
14052         * sheet/UML/aggregation.xpm
14053         * sheet/UML/umlclass_template.xpm
14054         Added sheet pixmaps.
14055         These are moved from their old places.
14057         * sheet/.cvsignore:
14058         Shut up cvs.
14060         * objects/*/*.c:
14061         Removed sheet objects and sheet registration.
14062         
14063         * objects/ER/Makefile.am:
14064         * objects/ER/pixmaps/weakentity.xpm:
14065         * objects/UML/Makefile.am:
14066         * objects/UML/pixmaps/aggregation.xpm:
14067         * objects/UML/pixmaps/umlclass_template.xpm:
14068         Removed alternative pixmaps. (Moved to sheet).
14070         * objects/custom/Makefile.am:
14071         * objects/custom/load_sheet.[ch]:
14072         Removed old sheet loading code.
14073         
14074         * objects/custom/custom.c:
14075         Load all shapes instead of sheets.
14076         Removed custom_register_sheets().
14078         * objects/custom/custom_object.c:
14079         Added debug code.
14081         * objects/custom/shape_info.[ch]:
14082         Added shape_info_getbyname().
14084         * objects/flowchart/Makefile.am:
14085         * objects/flowchart/collate.shape            
14086         * objects/flowchart/delay.shape              
14087         * objects/flowchart/display.shape            
14088         * objects/flowchart/document.shape           
14089         * objects/flowchart/extract.shape            
14090         * objects/flowchart/flowchart.c              
14091         * objects/flowchart/intstorage.shape         
14092         * objects/flowchart/magdisk.shape            
14093         * objects/flowchart/magdrum.shape            
14094         * objects/flowchart/magtape.shape            
14095         * objects/flowchart/manualinput.shape        
14096         * objects/flowchart/manualop.shape           
14097         * objects/flowchart/merge.shape              
14098         * objects/flowchart/offlinestore.shape       
14099         * objects/flowchart/offpageconn.shape        
14100         * objects/flowchart/or.shape                 
14101         * objects/flowchart/predefdproc.shape        
14102         * objects/flowchart/preparation.shape        
14103         * objects/flowchart/punchedcard.shape        
14104         * objects/flowchart/punchedtape.shape        
14105         * objects/flowchart/sort.shape               
14106         * objects/flowchart/sumjunction.shape        
14107         * objects/flowchart/terminal.shape           
14108         * objects/flowchart/transaction.shape        
14109         * objects/flowchart/transmittape.shape       
14110         * objects/flowchart/pixmaps/collate.xpm      
14111         * objects/flowchart/pixmaps/delay.xpm        
14112         * objects/flowchart/pixmaps/display.xpm      
14113         * objects/flowchart/pixmaps/document.xpm     
14114         * objects/flowchart/pixmaps/extract.xpm      
14115         * objects/flowchart/pixmaps/intstorage.xpm   
14116         * objects/flowchart/pixmaps/magdisk.xpm      
14117         * objects/flowchart/pixmaps/magdrum.xpm      
14118         * objects/flowchart/pixmaps/magtape.xpm      
14119         * objects/flowchart/pixmaps/manualinput.xpm  
14120         * objects/flowchart/pixmaps/manualop.xpm     
14121         * objects/flowchart/pixmaps/merge.xpm        
14122         * objects/flowchart/pixmaps/offlinestore.xpm 
14123         * objects/flowchart/pixmaps/offpageconn.xpm  
14124         * objects/flowchart/pixmaps/or.xpm           
14125         * objects/flowchart/pixmaps/predefdproc.xpm  
14126         * objects/flowchart/pixmaps/preparation.xpm  
14127         * objects/flowchart/pixmaps/punchedcard.xpm  
14128         * objects/flowchart/pixmaps/punchedtape.xpm  
14129         * objects/flowchart/pixmaps/sort.xpm         
14130         * objects/flowchart/pixmaps/sumjunction.xpm  
14131         * objects/flowchart/pixmaps/terminal.xpm     
14132         * objects/flowchart/pixmaps/transaction.xpm  
14133         * objects/flowchart/pixmaps/transmittape.xpm 
14134         Moved shapes and their pixmaps to shapes/flowchart
14136         * shapes/Circuit/Makefile.am:
14137         * shapes/Circuit/index.sheet:
14138         Removed index.sheet.
14139         
14140         * shapes/Makefile.am:
14141         * shapes/flowchart/Makefile.am:
14142         * shapes/flowchart/*.shape:
14143         * shapes/flowchart/*.xpm:
14144         Added flowchart shapes. (Moved from objects/flowchart)
14145         
14147 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
14149         * app/app_procs.c: Fixed popt stuff.
14151 1999-11-01  James Henstridge  <james@daa.com.au>
14153         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
14154         Andreas Scherf.
14156 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
14158         * dia.spec:
14159         * configure.in:
14160         Update version to 0.81.
14161         
14162         * NEWS:
14163         Update with news for 0.81.
14164         
14165         * shapes/Circuit/*:
14166         * shapes/Circuit_eu/*:
14167         Moved european circuit objects to Circuit sheet.
14169 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
14170         
14171         * lib/diagramdata.[ch]:
14172         Added layer_set_object_list() function.
14174         * app/undo.[ch]:
14175         Added support for undo of reordered objects.
14176         Fix the undo of delete to keep the right order on undo.
14177         
14178         * app/diagram.c:
14179         changed loop to object_add_updates_list() calls.
14180         Added undo support to bring to front/back.
14182         * app/disp_callbacks.c:
14183         * app/paginate_psprint.c:
14184         Remove warnings.
14186 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
14188         This plugs some leaks. Thanks to
14189         Bruce Mitchener <bruce@cybersight.com> for running
14190         Dia through purify for me.
14191         
14192         * app/app_procs.c:
14193         Free displays and diagrams on exit.
14195         * app/modify_tool.c:
14196         Free gc when freeing tool.
14198         * lib/diagramdata.c:
14199         Free layer name.
14200         
14201         * app/display.c:
14202         Free update and display lists when destroying display.
14203         
14204         * lib/diagramdata.c:
14205         Don't leak layer name.
14207         * objects/custom/load_sheet.c: 
14208         * objects/custom/shape_info.c:
14209         Free loaded xml documents.
14211 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
14213         * app/commands.c:
14214         * app/object_ops.[ch]:
14215         Add undo handling to alignment ops.
14216         Based partially on patch by Dan Cohn <dan@internap.com>.
14218         * objects/standard/image.c (image_move_handle):
14219         Don't divide by zero for small images.
14220         Patch by Dan Cohn <dan@internap.com>.
14222         * objects/UML/class.c (umlclass_destroy): 
14223         * objects/custom/custom_object.c (custom_destroy):
14224         Don't free connectionpoints before calling element_destroy
14225         which unconnects them.
14227 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
14229         * objects/custom/custom_object.c: 
14230         Load and save padding too. Fixes strange load crashes.
14232         * app/group.c (group_destroy):
14233         Don't unconnect already freed connectionpoints when
14234         destroying group. Probably fixes bug reported by
14235         Elliot Lee <sopwith@redhat.com>.
14237         * app/render_gdk.c:
14238         Don't crash on zero-size (broken) bezier curves.
14239         Different sort of fix. This should work on closed bezier curves
14240         too.
14242         * objects/standard/textobj.c:
14243         Activate default properties dialog for Text objects.
14245         * app/render_eps.c: 
14246         * app/load_save.c:
14247         * app/preferences.c:
14248         * app/render_svg.c:
14249         fopen files in binary or text mode.
14251 1999-10-26  Alexander Larsson  <alex@cendio.se>
14253         * app/render_gdk.c (bezier_add_lines):
14254         Don't crash on zero-size (broken) bezier curves.
14255         Fixes a crashing bug.
14257 1999-10-25  James Henstridge  <james@daa.com.au>
14259         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
14260         before it is installed.
14262         * objects/flowchart/flowchart.c: use relative paths to find shapes.
14264         * objects/custom/custom.c (custom_object_load): take file names
14265         relative to $(pkgdatadir)/shape-internal, and check an environment
14266         variable for an alternative directory.
14268         * app/...: added copyright messages to the top of my new code.
14270         * app/paginate_psprint.c: some general clean ups.  Also, give an error
14271         dialog if we can't open the command or output file for writing.
14273         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
14274         function so it would set orientation to landscape correctly.
14276         * app/paginate_psprint.c: use the paper settings that come with
14277         the diagram.  Also implemented landscape printing.
14279         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
14280         in PS header.
14282         * app/commands.[ch] (file_pagesetup_callback): added callback for
14283         the page setup dialog.
14285         * app/menus.c: added page setup menu item.
14287         * app/pagesetup.[ch]: implementation of the page setup dialog.
14289         * app/diapagelayout.[ch]: added accessors for the scaling factor.
14290         
14291         * app/load_save.c (diagram_load): load paper information from save
14292         file.
14293         (diagram_save): save the paper info.
14295         * lib/diagramdata.c (new_diagram_data): initialise paper info section
14296         of DiagramData structure.
14297         (diagram_data_destroy): free the paper name.
14299         * lib/diagramdata.h: added a paper member to the DiagramData structure
14300         that holds the page layout info for a diagram.
14302 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
14304         * objects/flowchart/box.c:
14305         * objects/flowchart/ellipse.c:
14306         * objects/flowchart/diamond.c:
14307         * objects/flowchart/parallelogram.c:
14308         Load and save padding too. Fixes strange load crashes.
14310 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
14312         * app/app_procs.c (name_is_lib):
14313         .dll, .sl and .so.0.0.0 are also libraries.
14315 1999-10-20  James Henstridge  <james@daa.com.au>
14317         * configure.in: added extra makefile.
14318         
14319         * shapes/Circuit_eu/*: a new set of european circuit shapes from
14320         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
14321         (added fuses to makefile, fill the area of some of the components).
14323 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
14325         * lib/Makefile.am:
14326         * app/Makefile.am: 
14327         Add GDK_IMLIB_CFLAGS to includes.
14328         Changed --export-dynamic to -export-dynamic
14330         * lib/widgets.c:
14331         * objects/UML/message.c:
14332         Removed c++ comment.
14334         * lib/render_store.[ch]:
14335         Don't use empty structure. That is not Ansi C.
14337 1999-10-19  James Henstridge  <james@daa.com.au>
14339         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
14340         the margin entries, as they allow interpretation of units.
14341         (paper_size_change): display the current page dimensions.
14343         * app/diaunitspinner.[ch]: a widget derived from the standard
14344         GtkSpinButton that tries to take units into account.  So if you enter
14345         "1in" into the entry, it will convert it to 2.54cm.
14347 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
14349         * app/app_procs.c:
14350         Removed include of dlfcn.h
14352 1999-10-18  James Henstridge  <james@daa.com.au>
14354         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
14355         bound on margin widths.  It is set to the paper width/height.
14357         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
14358         routine for the diamond.  This bug was found and fixed by Daniel Wang
14359         <danwang@CS.Princeton.EDU>
14361 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
14363         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
14364         remove warning (OS/2 version).
14366 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
14368         * README:
14369         Put a pointer to objects/custom/README.
14370         
14371 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
14373         * dia.spec:
14374         Updated version to 0.80
14376         * configure.in:
14377         Updated version to 0.80cvs
14379 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
14381         * Released Dia 0.80
14382         Tag called DIA_0_80
14383         
14384 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
14386         * app/Makefile.am
14387         * lib/Makefile.am
14388         * objects/UML/Makefile.am
14389         * objects/ER/Makefile.am
14390         * objects/network/Makefile.am
14391         * objects/standard/Makefile.am
14392         * objects/FS/Makefile.am
14393         * objects/sybase/Makefile.am
14394         * objects/flowchart/Makefile.am
14395         * objects/custom/Makefile.am
14396         Added -I$(top_srcdir)/intl which is needed for
14397         --with-included-gettext.
14399         * POTFILES.in
14400         Updated.
14401         
14402         * po/sv.po
14403         Updated swedish translation.
14405 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
14407         * configure.in:
14408         Updated version number to 0.80.
14410         * KNOWN_BUGS:
14411         New file.
14413         * TODO:
14414         Updated. Moved bugs to KNOWN_BUGS.
14416         * NEWS:
14417         Updated with 0.80 release notes.
14418         
14419 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
14420         
14421         * lib/orth_conn.c:
14422         For backwards compatibility, make sure handle 0 and 1 are the
14423         first and last handle. Fixes compatibility with 0.41, breaks
14424         compatibility with cvs version.
14425         Fixed bug in undo/redo of adding deleting endpoint segments
14426         when the endpoint was connected.
14427         Start OrthConn objects with three segments.
14429 1999-10-16  James Henstridge  <james@daa.com.au>
14431         * objects/custom/custom_object.c (custom_update_data): changed
14432         resizing behaviour a bit so that shapes don't grow huge when you try
14433         to resize them to smaller than the size required by the text box.
14434         Also, now shapes will not grow with fixed aspect ratio when you enter
14435         text into them unless the shape has the fixed aspect ratio flag set.
14437 1999-10-15  James Henstridge  <james@daa.com.au>
14439         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14441         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14443         * objects/flowchart/magdrum.shape: 
14444         * objects/flowchart/offlinestore.shape: 
14445         * objects/flowchart/punchedtape.shape: 
14446         * objects/flowchart/transmittape.shape: 
14447         * objects/flowchart/punchedcard.shape: new shapes.
14449         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14451         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14453         * objects/flowchart/collate.shape:
14454         * objects/flowchart/delay.shape:
14455         * objects/flowchart/extract.shape:
14456         * objects/flowchart/intstorage.shape:
14457         * objects/flowchart/magdisk.shape:
14458         * objects/flowchart/magtape.shape:
14459         * objects/flowchart/merge.shape:
14460         * objects/flowchart/or.shape:
14461         * objects/flowchart/sort.shape:
14462         * objects/flowchart/sumjunction.shape: new shapes.
14464 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
14466         * TODO (BUGS):
14467         Added bug:
14468         Entering an erronous command as print command
14469         crashes dia.
14471         * app/paginate_psprint.c:
14472         Save all print dialog values for next time.
14473         
14474         * app/Makefile.am:
14475         Remove custom lib from DIA_LIB_PATH.
14477 1999-10-14  James Henstridge  <james@daa.com.au>
14479         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14481         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14482         
14483         * objects/flowchart/offpageconn.shape: 
14484         * objects/flowchart/manualop.shape: 
14485         * objects/flowchart/preparation.shape: 
14486         * objects/flowchart/manualinput.shape: 
14487         * objects/flowchart/predefdproc.shape: 
14488         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
14490 1999-10-13  James Henstridge  <james@daa.com.au>
14492         * app/diapagelayout.[ch]: added accessors to paper information.  The
14493         widget should be just about complete now.
14495         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
14496         It actually does something now.
14498 1999-10-12  James Henstridge  <james@daa.com.au>
14500         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
14501         for the page layout widget.
14503         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
14504         built yet as it is not complete.
14506         * objects/flowchart/flowchart.c: added new shapes to sheet.
14508         * objects/flowchart/display.shape:
14509         * objects/flowchart/transaction.shape: new shapes.
14511         * AUTHORS: added my name to the spec file.
14513         * dia.spec: include the dia desktop entry to the spec file.
14515         * Makefile.am: install the dia.desktop file.
14517         * dia.desktop: added a gnome desktop entry so you can start dia
14518         from the gnome panel menu.
14520 1999-10-11  James Henstridge  <james@daa.com.au>
14522         * objects/custom/custom_object.c:
14523         * objects/custom/shape_info.c: warning fixes.
14525         * objects/flowchart/document.shape: a shape file for the `document'
14526         flowchart shape.
14528         * lib/custom.h: new header with the custom shape prototypes.
14530         * app/app_procs.c: register custom objects as well.
14531         (register_objects_in): close shared libraries if they don't load
14532         correctly, and call g_module_make_resident on libraries that load
14533         correctly.
14535         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
14537         * objects/custom/custom.c: removed get_version, added custom_ prefix
14538         to register_objects and register_sheets.
14540         * objects/custom/Makefile.am: converted to a normal library.
14542 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
14544         * app/lineprops_area.c:
14545         * app/render_svg.c:
14546         * lib/objchange.c:
14547         * objects/custom/shape_info.c:
14548         * objects/flowchart/box.c:
14549         * objects/flowchart/diamond.c:
14550         * objects/flowchart/ellipse.c:
14551         * objects/flowchart/parallelogram.c:
14552         * objects/network/flash.c:
14553         * objects/network/scead-plug.c:
14554         * objects/sybase/client.c:
14555         Removed -Wall warnings.
14556         
14557         * objects/network/bus.c:
14558         Removed unused functions.
14560         * objects/FS/flow-ortho.c:
14561         * objects/FS/flow-poly.c:
14562         * objects/FS/flow.c:
14563         * objects/FS/function.c:
14564         
14565         Implemented "non-implemented" undo for FS objects.
14566         Now at least it won't crash.
14567         
14568 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
14570         * objects/network/bus.c:
14571         Implemented undo.
14572         Handles are now added and removed using the object menu.
14573         Default to 6 handles instead of 10.
14574         Changed name from "Standard - Bus" to "Network - Bus". Kept old
14575         name for backwards compatibility.
14577         * objects/network/network.c:
14578         Changed name from "Standard - Bus" to "Network - Bus". Kept old
14579         name for backwards compatibility.
14581         * app/properties.[ch]:
14582         * app/undo.c:
14583         Update properties in properties dialog if the shown object
14584         is part of and ObjectChange (undo or redo).
14586         * lib/poly_conn.c:
14587         Remove old known bugs list.
14589         * objects/UML/class_dialog.c:
14590         Removed debug printf's.
14592 1999-10-10  James Henstridge  <james@daa.com.au>
14594         * objects/custom/custom.c (custom_object_load): new function that
14595         provides a nice entry point to the custom shape code for when it
14596         gets used by other libraries.
14598         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
14599         speeds builds up a bit.
14601         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
14602         (SUBDIRS): do not descend into pixmaps subdirs.
14604         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
14605         This speeds up build process.
14607         * objects/custom/custom.c (sheets): made variable static.
14609         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
14610         renamed function.
14612         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
14614         * objects/custom/custom.c: look in ~/.shapes instead of
14615         ~/.dia_shapes as the per-user shapes directory.
14617         * app/preferences.c (prefs_save): save config to ~/.diarc.
14618         (prefs_load): load configuration from ~/.diarc.  If the file
14619         does not exist, fallback on the old ~/.diarc location.
14621         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
14622         on startup.
14623         (register_all_objects): look for user specific objects in
14624         ~/.objects rather than ~/.dia_libs.
14626 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
14628         * configure.in:
14629         * app_procs.c:
14630         * objects/flowchart/box.c
14631         * objects/flowchart/ellipse.c
14632         * objects/flowchart/flowchart.c 
14633         Use gmodule for dynamic linking. As gmodule is using
14634         RTLD_GLOBAL i had to change flowchart box and ellipse
14635         so the typenames doesn't conflict with the standard
14636         box and ellipse.
14638         * message.c
14639         * commands.c
14640         Use button box to make dialogs look better.
14642 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
14644         * objects/UML/class_dialog.c:
14645         * objects/UML/class.h:
14646         Implemented undo for "UML - Class" objects.
14647         Not 100% tested yet.
14649         * objects/UML/classicon.c:
14650         * objects/UML/constraint.c:
14651         * objects/UML/dependency.c:
14652         * objects/UML/generalization.c:
14653         * objects/UML/implements.c:
14654         * objects/UML/large_package.c:
14655         * objects/UML/lifeline.c:
14656         * objects/UML/message.c:
14657         * objects/UML/object.c:
14658         * objects/UML/realizes.c:
14659         * objects/UML/state.c:
14660         * objects/UML/usecase.c:
14661         Removed warnings.
14662         
14663         * lib/connectionpoint.h:
14664         Fixed typo.
14665         
14666 1999-10-09  James Henstridge  <james@daa.com.au>
14668         * objects/custom/*.[ch]: added copyright notices to custom object
14669         files.
14671         * shapes/Circuit/hdiode.shape:
14672         * shapes/Circuit/hzener.shape: 
14673         * shapes/Circuit/opamp.shape:
14674         * shapes/Circuit/vdiode.shape:
14675         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
14676         shapes look nice after the custom shape code changes.
14678         * objects/custom/README: updated docs to cover changes to drawing
14679         code.
14681         * objects/custom/custom_object.c (custom_draw): honour the line
14682         properties when drawing the shape.
14684         * objects/custom/shape_info.[ch]: added support for setting line
14685         properties for individual drawing elements in a custom shape.  You
14686         can set the dash style, dash length, cap style and join style.
14688 1999-10-07  James Henstridge  <james@daa.com.au>
14690         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
14691         for foreground and background.
14693         * objects/custom/custom_object.c (custom_draw): use the new style
14694         information when drawing the object.
14696         * objects/custom/shape_info.[ch]: store all shape style info in the
14697         GraphicStyle structure.  This makes adding support for extra CSS
14698         attributes easier -- we don't have to keep adding extra arguments to
14699         a lot of functions.
14701 1999-10-05  James Henstridge  <james@daa.com.au>
14703         * lib/intl.c (unalias_lang): merged in changes from the i18n code
14704         swiped from gnome-libs.
14706 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
14708         * objects/standard/image.c (get_directory):
14709         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
14711 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
14713         * lib/poly_conn.c (polyconn_destroy):
14714         Fix bug. Access of freed memory.
14715         Rememeber, you can't free the handles of an object
14716         before calling object_destroy(), as it unconnects the handles
14717         therefore referencing them.
14719 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
14721         * app/undo.c:
14722         undo_clear() didn't set stack->depth to zero.
14723         This made other undo functions crash after this had been called
14724         on a "full" stack.
14725         
14726         * dia.xpm:
14727         Slightly modified by Chris Love <clove@exactis.com>
14729 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
14731         * objects/UML/class.h: 
14732         * objects/UML/class_dialog.c:
14733         Retrun NULL ObjectChange on class property change.
14734         This means no crashes, but "UML - Class" doesn't support undo yet.
14735         
14736 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
14737         
14738         * lib/text.c:
14739         Indentation fix.
14741         * objects/UML/classicon.c:
14742         * objects/UML/dependency.c:
14743         * objects/UML/generalization.c:
14744         * objects/UML/implements.c:
14745         * objects/UML/large_package.c:
14746         * objects/UML/lifeline.c:
14747         * objects/UML/message.c:
14748         * objects/UML/object.c:
14749         * objects/UML/realizes.c:
14750         * objects/UML/state.c:
14751         * objects/UML/usecase.c:
14752         Update to new undo (w. get/set_state).
14753         Add object menu to add/delete segments.
14755 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
14757         * app/menus.c:
14758         Add equal distance alignment.
14760         * app/object_ops.c:
14761         Add equal distance alignment.
14762         Fix bug in adjacent alignment.
14764 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
14766         * objects/UML/constraint.c: 
14767         Update to new undo (w. get/set_state).
14769 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
14771         * app/paginate_psprint.c:
14772         Save (parts, more todo) of the info in the print dialog to the
14773         next time it's opened.
14774         Patch from Yo Ric Dude <ricdude@toad.net>
14776 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
14778         * configure.in:
14779         Updated version string to 0.41cvs.
14781         * objects/UML/assocition.c:
14782         Update to new undo (w. get/set_state).
14783         Add object menu to add/delete segments.
14785         * app/app_procs.c:
14786         Added function debug_break() and called it after all
14787         objects and sheets are loaded. Place a breakpoint here if you
14788         want to debug objects. All symbols should be loaded.
14790 1999-09-12  James Henstridge  <james@daa.com.au>
14792         * app/menus.c (display_menu_items): added print menu item.
14793         (filemenu): always add print menu item -- even if gnome-print is
14794         not installed.
14796         * app/commands.h, app/commands.c (file_print_callback): the print
14797         menu item is now available for both gnome-print and non gnome-print
14798         setups.
14800         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
14801         print with the non gnome-print driver.
14803 1999-09-11  James Henstridge  <james@daa.com.au>
14805         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
14806         printer dialog code out of commands.c.
14808         * app/paginate_psprint.c: new file containing the pagination code for
14809         psprint.
14811         * app/render_eps.c: made a few modifications so as well as producing
14812         EPS files, this renderer can be set up to do postscript printing.
14813         This basically entailed adding an extra function to create a RenderEPS
14814         renderer which did not bother setting the viewport for the document.
14815         That was left for the pagination code.
14817 1999-09-10  James Henstridge  <james@daa.com.au>
14819         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
14820         gnome-print does not support elliptic arcs at the moment, approximate
14821         the ellipse with eight bezier curves.  This gives a pretty good
14822         match to a true ellipse.
14824 1999-09-09  James Henstridge  <james@daa.com.au>
14826         * app/commands.c (file_gnome_print_callback): added support for
14827         scaling the diagram.  Also fixed a few other bugs.
14829         * app/paginate_gnomeprint.c (print_page): added ability to scale
14830         document.  Fixed up test to see if the page has no objects on it.
14831         This should prevent some blank pages being printed.  Non square
14832         objects such as lines could still cause problems.
14834 1999-09-08  James Henstridge  <james@daa.com.au>
14836         * app/commands.c (file_gnome_print_callback): changed from using the
14837         standard printer selection dialog to one that also has a paper size
14838         selector as well.
14840         * commands.[ch]: added callbacks for the print menu item.  Currently
14841         it only does A4 output.  I will make it configurable soon.
14842         
14843         * app/menus.c: add a print diagram menu item if gnome-print support
14844         is enabled.
14845         
14846         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
14847         bit higher level than the gnome-print renderer.  It splits the
14848         diagram into page size chunks and then renders them.  For each
14849         page, it only renders the objects whose bounding box intersects
14850         the page, and it sets the clip mask so that the diagram does not
14851         overlap the margins.
14852         
14853         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
14854         that uses gnome-print as its back end.
14855         
14856         * configure.in: added a check for gnome-print.  It is disabled by
14857         default because the code is not really working correctly yet.
14859         * app/menus.c: the delete object menu item was missing from the
14860         GnomeUIInfo style menus.
14862 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
14864         * configure.in
14865         Added japanese to ALL_LINGUAS.
14866         Fix for Linux on Alpha.
14868 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
14870         * app/create_object.c (create_object_button_press):
14871         Always initialize tool->obj. Otherwise we store a null
14872         in the undo Change.
14874         * lib/text.c:
14875         Set linestyle before drawing cursor.
14876         Fix undo of backwards delete.
14878 1999-09-05  James Henstridge  <james@daa.com.au>
14880         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
14882         * app/render_svg.c (draw_image): some fixes so that the appropriate
14883         style attributes are set.  Before it was setting line styles on
14884         fill_* functions.  Now it only does this for the draw_* variants.
14886         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
14887         variable so that custom shapes can be loaded.
14889         * shapes/: new directory for custom shapes.  The Circuit sheet has
14890         been moved here.
14892 1999-09-02  James Henstridge  <james@daa.com.au>
14894         * TODO: removed a few todo items that have been implemented.
14896         * app/interface.c (create_sheets): enabled the popup page menu to the
14897         notebook.  This can make it easier to select different sheets.
14899         * object/custom/Circuit/: added diode, zener diode, ground point and
14900         operational amplifier shapes.
14901         
14902         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
14903         if you want the output.
14905         * objects/custom/shape_info.c (parse_path): same here.
14907         * objects/custom/load_sheet.c (load_with_readdir): don't print so
14908         much debugging output.  To get the previous level of output, define
14909         DEBUG_CUSTOM.
14911         * objects/custom/shape_info.c (parse_svg_node): polygons were being
14912         recorded as polylines in the ShapeInfo structure.
14914         * objects/custom/README: some notes on writing new custom shapes.
14915         
14916 1999-09-01  James Henstridge  <james@daa.com.au>
14918         * objects/custom/Circuit/hinductor.*:
14919         * objects/custom/Circuit/vinductor.*: added inductor shapes that
14920         also test out the bezier curve and SVG path support.
14921         
14922         * objects/custom/custom_object.c (custom_draw): added support for
14923         drawing bezier paths and filled shapes.
14925         * objects/custom/shape_info.c (parse_path): new function to parse
14926         SVG path elements.  It does not do quadratic beziers or elliptic
14927         arcs though.  Only moves, lines and cubic beziers.
14928         (*): added support for paths.
14930 1999-08-31  James Henstridge  <james@daa.com.au>
14932         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
14934         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
14935         interface
14937         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
14938         interface
14940         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
14941         interface.
14943         * lib/render_store.[ch]: use newer bezier functions.
14945         * lib/render.h: changed the bezier drawing functions to use an array
14946         of BezPoint structures instead of normal Point structures to allow
14947         lineto's mixed in with the curveto's.
14948         
14949         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
14950         
14951         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
14952         xpm images for different shapes to Makefile.
14954         * objects/custom/custom_object.c (custom_object_new): set the icon
14955         for the sheet button if there is one.  Otherwise fall back on the
14956         default custom object icon.
14958         * objects/custom/shape_info.c (load_shape_info): read the sheet
14959         icon name from the shape file.
14961         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
14962         check the pixmap_file field for the name of a pixmap file to load
14963         for the tool.
14965         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
14966         at the end of the structure, and it isn't used if the pixmap field
14967         is non NULL, so it should not break binary compatibility.
14969         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
14970         added support for the use of an index.sheet file so you can specify
14971         the ordering of the shapes in the sheet, and also internationalise
14972         the sheet name and actually be able to give a description.  The old
14973         readdir based sheet loading code acts as a fallback if an index.sheet
14974         file can not be found.
14976         * objects/custom/custom_util.[ch]: new file containing useful routines
14977         needed by the custom object code.  Currently only contains a simple
14978         routine for resolving relative paths.
14980         * objects/custom/custom_object.c (custom_draw): fixed problem with
14981         drawing rectangles if the shape has been flipped.
14983 1999-08-30  James Henstridge  <james@daa.com.au>
14985         * objects/custom/custom_object.c (custom_get_object_menu): allow
14986         flipping of custom shapes.  This uses the miggle click object
14987         menu.
14989         * objects/custom/Circuit/npn.shape: fix aspect ratio.
14991         * objects/custom/custom_object.c (custom_update_data): honour the
14992         aspect ratio constraints.
14994         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
14995         tag parsing, so you can specify a free, fixed or a range for aspect
14996         ratios for the shape.
14998 1999-08-29  James Henstridge  <james@daa.com.au>
15000         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
15001         up shape namespace tag.
15003         * objects/custom/shape_info.c (load_shape_info): check xml:lang
15004         attribute on <description> elements to support i18n for custom
15005         shape descriptions.
15006         Also changed the shape namespace for custom shapes to something
15007         a little more sensible.
15009         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
15011         * lib/intl.c: new file containing some functions for i18n stuff.
15013         * app/layer_dialog.c (create_button_box): fixed a warning.
15015         * objects/custom/custom_object.c: use current line style.  Save dash
15016         length.
15018         * objects/flowchart/diamond.c: use current line style.  Save dash
15019         length.
15021         * objects/flowchart/parallelogram.c: use current line style.  Save
15022         dash length.
15024         * objects/flowchart/ellipse.c: use current line style.  Save dash
15025         length.
15027         * objects/flowchart/box.c: use current line style.  Save dash length.
15029         * objects/standard/ellipse.c: make ellipse use current line style.
15031         * objects/standard/box.c: use the line style set in the toolbox for
15032         new boxes, and remember the dash length.
15034         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
15035         rulers.
15037 1999-08-24  James Henstridge  <james@daa.com.au>
15039         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
15040         to try to stop ellipse to get infinite width/height when we resize,
15041         while trying to keep the text inside the ellipse.
15043         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
15044         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
15045         resizing behaviour, so that you can't push objects round the screen
15046         with the resize handles.
15048         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
15049         get the OK buttons in the dialogs to take default clicks.
15051         * objects/custom/custom_object.c: added code so that resizing the
15052         shape does not end up pushing it round the screen.
15054 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
15056         * app/display.[ch]:
15057         Generate rectangle with the union of the damaged regions.
15058         This is used to optimize the grid paint and the object rendering.
15059         display_render_pixmap passes this info to grid_draw() and data_render().
15061         * app/grid.[ch]:
15062         grid_draw doesn't draw grid lines outside of damaged rectangle.
15063         Sets dashlength when drawing non-solid grid.
15064         
15065         * lib/diagramdata.[ch]:
15066         data_render() and layer_render() takes an optional damaged rectangle
15067         argument. No objects not intersecting this are drawn.
15069         * app/diagram.c:
15070         Fix warning.
15071         Call data_render with NULL update rectangle.
15072         
15073 1999-08-23  James Henstridge  <james@daa.com.au>
15075         * objects/custom/custom_object.c (custom_update_data): if the aspect
15076         ratio is fixed, make sure the shape is not distorted.
15078         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
15079         a <fixaspectratio/> tag is given in the shape file.
15081         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
15082         added support for stroke-width, stroke and fill CSS attributes
15083         specified in style attributes of the SVG elements.  The line width
15084         is relative to the user specified line width.  The stroke and fill
15085         attributes can only be used to swap the foreground/background
15086         colours.
15088         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
15089         sensitivity on the dash length selector when this function is called.
15091         * objects/standard/arc.c: same.  Also handle dash length.
15092         * objects/standard/zigzagline.c: same.
15093         * objects/standard/polyline.c: same.  Also handle dash length.
15094         * objects/standard/line.c: use default arrow/line styles.
15096         * app/interface.c: added callbacks to set the default attributes.
15098         * lib/attributes.c: added implementations of these functions.
15100         * lib/attributes.h: added extra prototypes for the new line properties
15101         area in the toolbox.
15103         * app/interface.c (create_lineprops_area): added line properties
15104         area to bottom of toolbox.
15106         * app/lineprops_area.h: a header exporting a few routines of the
15107         line properties area widgets.
15109         * app/lineprops_area.c: new file containing a selector for arrows
15110         and line styles to go in the main toolbox.
15112 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
15114         * HACKING:
15115         Update Gtk+ 1.0.5 comment to 1.2.0.
15117         * INSTALL:
15118         Demand libtool 1.3
15120         * acconfig.h:
15121         Add HAVE_LIBPOPT
15123         * configure.in:
15124         Make sure we don't propagate -ldl and -lpopt to all LIBS
15125         by adding new var APP_LIBS that only app/dia links with.
15126                 
15127         * app/Makefile.am:
15128         Update run_dia.sh to load custom and flowchart objects.
15130         * objects/ER/Makefile.am:
15131         * objects/FS/Makefile.am:
15132         * objects/UML/Makefile.am:
15133         * objects/network/Makefile.am:
15134         * objects/standard/Makefile.am:
15135         * objects/sybase/Makefile.am:
15136         Don't build versioned libs.     
15137         
15138 1999-08-22  James Henstridge  <james@daa.com.au>
15140         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
15141         list.
15143         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
15144         should actually work a bit now.
15146         * objects/custom/Circuit/*: a test sheet for the custom shape code.
15147         It is a small collection of circuit elements.
15149         * objects/custom/shape_info.c: fixed up loading of polylines and
15150         polygons.  Before it was removing negative signs :(
15152         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
15153         placeholder was here before.  I still need to work out how to set
15154         icons for individual custom shapes.
15155         
15156         * objects/custom/custom.c: added code to load the shapes into sheets
15157         properly.  The shape files should be arranged into directories, and
15158         each directory represents a different sheet in the toolbox.  This
15159         will make it very easy to distribute a collection of dia shapes as
15160         a tarball.  I still need to work out internationalisation, and maybe
15161         also shape ordering in the sheet.
15163         * objects/custom/custom_object.c: fixed up dialogs for these objects.
15164         (custom_create): fix for objects without text areas.
15166         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
15167         and saving of custom object works correctly now.
15169 1999-08-21  James Henstridge  <james@daa.com.au>
15171         * objects/flowchart/ellipse.c: 
15172         * objects/flowchart/diamond.c: 
15173         * objects/flowchart/parallelogram.c: 
15174         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
15175         copying or loading these object types.  Not all the connection
15176         points would be initialised correctly.
15178         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
15179         similar here.
15181         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
15182         build a versioned library.  It will only ever be dlopen'd, so this
15183         is not a problem.
15185         * objects/custom/custom_object.c (custom_distance_from): allow
15186         selecting the object by clicking on the text.  This fixes problems
15187         where the text box is outside the graphic.
15189         * objects/custom/shape_info.c (load_shape_info): fixed up reading
15190         of connections points.  It should be possible to add connections
15191         to custom objects now.
15193         * objects/custom/custom_object.c (custom_update_data): fixed resizing
15194         due to changes to text.
15196         * configure.in: added extra makefiles.
15197         
15198         * objects/custom/shape_info.[ch]:
15199         * objects/custom/custom_object.c:
15200         * objects/custom/custom.c: the starts of custom shape support in dia.
15201         This is not built by default at the moment, since it is not quite
15202         complete.  When it is, it will let you create more shapes for dia
15203         without writing a line of C.  Its implementation includes buzzwords
15204         such as XML and SVG, so it must be good :)
15206 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
15208         * app/app_procs.c (app_exit): Use button labels "Quit" and
15209         "Cancel" instead of "Yes" and "No".
15210         Set default action to "Cancel" instead of "Quit".
15212 1999-08-19  James Henstridge  <james@daa.com.au>
15214         * objects/flowchart/flowchart.c: added ellipse object.
15215         
15216         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
15218 1999-08-18  James Henstridge  <james@daa.com.au>d
15220         * app/color_area.c (color_area_edit): small fix to prevent dia from
15221         segfaulting when you try to change the default foreground/background.
15223 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
15225         * app/diagram.[ch] (diagram_redraw_all):
15226         Added function that redraws all diagrams.
15228         * app/preferences.c (prefs_apply):
15229         Call diagram_redraw_all when prefs are changed.
15231         * app/render_svg.c:
15232         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
15233         older libxml's, and the old version works good enought here.
15234         
15235 1999-08-17  James Henstridge  <james@daa.com.au>
15237         * lib/widgets.c: changed handlers that were connected to the GtkButton
15238         "pressed" signal to connect to the "clicked" signal.  This removes the
15239         problem where dialogs are inactive until you click a mouse button
15240         after using a colour selector.
15242         * configure.in: added extra makefiles to AC_OUTPUT list.
15243         
15244         * objects/Makefile.am (SUBDIRS): added flowchart module
15246         * objects/flowchart/*: a collection of shapes for use in flowcharts.
15248         * app/color_area.c (color_area_events): similar here.
15250         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
15251         event is recieved with event->width == 0, which causes a warning if we
15252         try to create a pixmap of that width.
15254         * app/preferences.c, app/preferences.h, app/grid.c: added code to
15255         allow you to configure the colour of the grid, and also lets you
15256         set the grid to use dotted lines instead of solid ones.
15257         
15258         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
15259         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
15260         
15261         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
15262         export filter.  It is not quite complete, but for most shapes it
15263         works as expected.  Fonts still need a bit of work.
15265 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
15267         * configure.in: Added "en_GB" to ALL_LINGUAS.
15269 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
15271         * menus.c
15272         Added Undo and Redo to GNOME menus.
15273         
15274         * objects/ER/attribute.c:
15275         * objects/ER/entity.c:
15276         * objects/ER/participation.c:
15277         * objects/ER/relationship.c:
15278         Added get/set_state functions.
15280         * objects/ER/participation.c:
15281         Added add/delete segment.
15283         * po/sv.po
15284         Updated Swedish translation.
15286 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15288         * app/preferences.[hc]:
15289         Added undo_depth pref.
15290         
15291         * app/undo.[ch]:
15292         Never grow stack larger than pref.undo_depth.
15293         undo_depth == 0 means unlimited.
15294         Converted printfs to conditionally compiled DEBUG_PRINTFs.
15295         
15296 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15298         * app/diagram.c:
15299         * app/group.c:
15300         * lib/object.h:
15301         * lib/render_object.c:
15302         * objects/ER/attribute.c:
15303         * objects/ER/entity.c:
15304         * objects/ER/participation.c:
15305         * objects/ER/relationship.c:
15306         * objects/FS/flow-ortho.c:
15307         * objects/FS/flow-poly.c:
15308         * objects/FS/flow.c:
15309         * objects/FS/function.c:
15310         * objects/UML/actor.c:
15311         * objects/UML/association.c:
15312         * objects/UML/class.c:
15313         * objects/UML/classicon.c:
15314         * objects/UML/component.c:
15315         * objects/UML/constraint.c:
15316         * objects/UML/dependency.c:
15317         * objects/UML/generalization.c:
15318         * objects/UML/implements.c:
15319         * objects/UML/large_package.c:
15320         * objects/UML/lifeline.c:
15321         * objects/UML/message.c:
15322         * objects/UML/note.c:
15323         * objects/UML/object.c:
15324         * objects/UML/realizes.c:
15325         * objects/UML/small_package.c:
15326         * objects/UML/state.c:
15327         * objects/UML/usecase.c:
15328         * objects/network/bus.c:
15329         * objects/standard/arc.c:
15330         * objects/standard/box.c:
15331         * objects/standard/ellipse.c:
15332         * objects/standard/image.c:
15333         * objects/standard/line.c:
15334         * objects/standard/polyline.c:
15335         * objects/standard/textobj.c:
15336         * objects/standard/zigzagline.c:
15337         Removed all traces of is_empty(). It doesn't work in an
15338         Undo/Redo world.
15340 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
15342         * app/diagram.c:
15343         * app/group.[ch]:
15344         * app/undo.[ch]:
15345         Undoable grouping and ungrouping.
15347         * app/layer_dialog.c:
15348         * lib/diagramdata.[ch]:
15349         Undoable layer ops.
15351         * app/modify_tool.c:
15352         Undoable unconnect on handle move.
15354         * lib/orth_conn.[ch]:
15355         Working undoable add/remove segment.
15356         Removed endpoint_handles from OrthConn, renamed
15357         midpoint_handles to handles and put the endpoint
15358         handles there.
15360         * objects/standard/zigzagline.c:
15361         * objects/ER/participation.c:
15362         * objects/UML/association.c:
15363         * objects/UML/dependency.c:
15364         * objects/UML/generalization.c:
15365         * objects/UML/realizes.c:
15366         Update for the changes in OrthConn
15367         
15368 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
15370         * configure.in: Added "de" to ALL_LINGUAS.
15372 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
15374         * dia.1:
15375         Fixed typo.
15377         * app/display.c:
15378         * po/da.po:
15379         * po/fr.po:
15380         * po/hu.po:
15381         * po/no.po:
15382         * po/pl.po:
15383         * po/sv.po:
15384         Don't have the <Display> etc part of the menu strings
15385         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15387         * app/diagram.c:
15388         Don't have the <Display> etc part of the menu strings
15389         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15390         Don't remove is_empty() objects, that don't work with undo.
15392         * lib/objchange.[ch]:
15393         New files.
15394         Definition of ObjectChange. This is essentially an Change
15395         exported to the object libs. It encapsulates a change made
15396         to an objects internals. It can be applied, reverted and freed.
15397         There are also utility functions for doing ObjectChanges that
15398         only get/set the whole state of an object to store the change.
15399         This cannot be used when the object change deletes or adds a
15400         object which has references from other objects, eg. Handles which
15401         might be connected.
15403         * lib/Makefile.am:
15404         Added objchange.c and objchange.h.
15406         * lib/dia_image.c:
15407         Return NULL when loading fails.
15409         * lib/diamenu.h:
15410         Menu callbacks return an ObjectChange.
15412         * lib/dummy_dep.h:
15413         Reference objchange.o
15415         * lib/focus.h:
15416         Key events return ObjectChange if they modify the object.
15418         
15419         * lib/object.h:
15420         Added object_add_handle_at() function.
15421         Apply properties returns an ObjectChange.
15422         Remove ObjectState and the get/set state functions, these
15423         don't always work. Use the new ObjectChange instead.
15424         
15425         * lib/object.c:
15426         Added object_add_handle_at() function implementation.
15427         
15428         * lib/orth_conn.[ch]:
15429         Use ObjectChange. Not finished yet.
15430         Removed get/set/free state functions
15432         * lib/poly_conn.[ch]:
15433         Use ObjectChange.
15434         Don't remove segments that are small.
15435         Removed get/set/free state functions
15437         * lib/text.[ch]:
15438         Use ObjectChange.
15439         Added functions to get/set all text attributes.
15441         * objects/standard/arc.c:
15442         * objects/standard/box.c:
15443         * objects/standard/ellipse.c:
15444         * objects/standard/image.c:
15445         * objects/standard/line.c:
15446         * objects/standard/polyline.c:
15447         * objects/standard/textobj.c:
15448         * objects/standard/zigzagline.c:
15449         Use ObjectChange.
15450         fixed bug in image_set_state.
15451         zigzagline.c not finished yet.
15453         * app/disp_callbacks.c:
15454         Use ObjectChange that are returned from menu callbacks and
15455         key_events for undo.
15457         * app/properties.c:
15458         Use ObjectChange that are returned from properties apply
15459         for undo.
15461         * app/undo.c:
15462         * app/undo.h:
15463         New undo type: ObjectChangeChange. This wraps a change to the
15464         internals of an object (and ObjectChange) in code that does
15465         app specific stuff (object_add_updates etc.)
15467 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
15469         * lib/orth_conn.[ch]:
15470         Added code for add/delete segment.
15472         * objects/standard/zigzagline.c:
15473         Use the new orth_conn code.
15474         
15476 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
15478         * objects/FS/Makefile.am
15479         Removed fs.h from sources.
15481         * Makefile.am
15482         * dia.1
15483         Added man page.
15485 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
15487         * app/disp_callbacks.c (ddisplay_canvas_events):
15488         Fix for bug. Every other arrow-key press got lost.
15489         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
15491         * INSTALL:
15492         change automake.sh to autogen.sh
15493         
15494 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
15496         * app/diagram.c:
15497         Don't remove 'empty' objects.
15498         This violent destruction of objects won't work
15499         with the new undo framework.
15501         * app/disp_callbacks.c:
15502         Save undo info for object menu calls and key_events.
15504         * app/properties.c:
15505         Save undo info on properties apply.
15507         * lib/dia_image.[ch]:
15508         Add refcounting for images.
15510         * app/render_eps.c:
15511         * app/render_gdk.c:
15512         * lib/render.h:
15513         DiaImage * -> DiaImage
15515         * app/undo.[ch]:
15516         Add undo functions for object state changes.
15518         * lib/focus.h:
15519         * lib/text.c:
15520         change of semntics for focus->key_event.
15521         Now returns TRUE if the object recieving the event
15522         was changed.
15524         * lib/object.h:
15525         Comment changes.
15527         * lib/orth_conn.[ch]:
15528         Don't automatically create and delete segments when
15529         handles are moved. This is incompatible with undo.
15530         Added state get, set and free functions.
15532         * lib/orth_conn.[ch]:
15533         Added state get, set and free functions.
15535         * objects/UML/object.c:
15536         * objects/UML/uml.c:
15537         Fixed typo "UML - Objet" -> "UML - Object".
15538         Saved old for backwards compatibility.
15540         * objects/standard/arc.c:
15541         * objects/standard/box.c:
15542         * objects/standard/ellipse.c:
15543         * objects/standard/image.c:
15544         * objects/standard/line.c:
15545         * objects/standard/polyline.c:
15546         * objects/standard/textobj.c:
15547         * objects/standard/zigzagline.c:
15548         Added get/set state functions.
15549         Textobj has a redo crash-bug.
15550         Zigzagline needs object menus to add segments.
15551         
15553 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
15555         * app/render_eps.c (set_dashlength):
15556         Don't generate eps files with zero dash-length.
15558 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
15560         * app/commands.c:
15561         * app/create_object.c:
15562         * app/undo.[ch]:
15563         Finished undo for create and paste.
15564         
15565         * lib/object.h:
15566         Started properties undo.
15568 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
15570         * TODO:
15571         Added resizeable groups.
15573         * app/app_procs.c:
15574         Removed unused variable.
15576         * app/commands.c:
15577         * app/undo.[ch]:
15578         Undo/redo for cut/delete done.
15580         * app/create_object.c:
15581         * app/modify_tool.c:
15582         * lib/diagramdata.[ch]:
15583         * app/diagram.[ch]:
15584         renamed diagram_add_selected -> diagram_select
15585         renamed diagram_remove_selected -> diagram_unselect
15586         
15587         * app/properties.[ch]:
15588         Added properties_hide_if_shown() function.
15590 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
15592         * app/undo.[ch]:
15593         * app/Makefile.am:
15594         Undo functions.
15595         
15596         * app/commands.[ch]
15597         * app/modify_tool.[ch]
15598         * app/object_ops.[ch]
15599         * app/connectionpoint_ops.c
15600         * app/menus.c
15601         Use undo functions.
15602         WARNING: Not finished. Will break.
15603         Finished: move object, move handle.
15605         * app/diagram.[ch]
15606         Added diagram_selected_break_external() function.
15607         It removes all connections between selected objects
15608         and non-selected.
15609         Add undo stack to Diagram.
15610         
15611         * lib/diagramdata.[ch]
15612         Added layer_remove_objects() function
15613         
15614 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
15616         * objects/FS/Makefile.am
15617         * objects/sybase/Makefile.am
15618         Now uses GNOME_CFLAGS.
15620         * app/app_procs.c
15621         Now compiles with GNOME even if popt.h isn't available.
15623 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
15625         * configure.in
15626         * objects/Makefile.am
15627         * objects/sybase/*
15628         First version of sybase objects from
15629         Brian Bruns <camber@umcc.ais.org>
15631 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
15633         * configure.in
15634         Added fr to ALL_LINGUAS
15636 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
15638         * configure.in
15639         * app/app_procs.c
15640         Popt-code is activated if popt is available.
15642 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
15644         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
15645         
15646         * lib/orth_conn.[ch]:
15647         Added orthconn_get_middle_handle()
15649         * lib/text.[ch]:
15650         Added text_set_cursor_at_end()
15651         
15652         * objects/FS/*
15653         Added first version of functions structure diagrams.
15654         
15655 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
15657         * app/modify_tool.c:
15658         Include math.h to remove warning.
15660         * app/commands.c (dialogs_properties_callback):
15661         Bring up correct properties dialog when selected
15662         from menu.
15663         From Dan Cohn <dan@internap.com>
15665 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
15667         Patch from Lars R. Clausen 
15668         
15669         * app/modify_tool.c:
15670         Changed abs to fabs.
15672 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
15674         * INSTALL: 
15675         * configure.in:
15676         Require Gtk+ 1.2.0
15678 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
15680         Patches from Dan Cohn <dan@internap.com>
15681         
15682         * app/commands.[ch]: 
15683         * app/display.[ch]: 
15684         * app/menus.c:
15685         * app/preferences.[ch]:
15686         Implements ability to turn on/off connection points in
15687         current drawing and in global prefs.
15689 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
15691         * lib/widgets.c (dia_line_style_selector_init): 
15692         Fixed warnings.
15693         
15694         * lib/diagramdata.c (layer_update_extents):
15695         Fixed uninitialized variable error.
15697 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
15699         * lib/dia_image.c:
15700         Made some changes to the gdk_imlib visual+colormap setup.
15702 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15704         * objects/UML/usecase.c: 
15705        * objects/UML/lifeline.c
15706         Fine tunning.
15708         * objects/UML/object.c: 
15709         * objects/UML/message.c: 
15710         Changed font from Courier to Helvetica.
15712         * lib/widgets.c: 
15713         * lib/widgets.h:
15714         Added dash lenth to the LineStyle widget.
15715         
15716         * objects/standard/ellipse.c :
15717         * objects/standard/zigzagline.c: 
15718         * objects/standard/line.c: 
15719         Added dash lenght property.
15721 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
15723         * app/render_eps.c:
15724         First shot at latin1 encoded eps files.
15725         Works, but the eps files get a bit large.
15726         
15727 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
15729         * objects/UML/class.[ch]: 
15730         * objects/UML/uml.[ch]:
15731         Reverted the line wrap changes.
15732         Some day this might return, but it has to be selectable and
15733         default to off for loaded objects, otherwise it breaks file
15734         format compatibility.
15735         There was also some complains about how it looked, so a making it
15736         selectable is good for this too.
15738 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
15740         * objects/UML/class.[ch]:
15741         Some indentation cleanup.
15742         Added wrap_lines variable to class.
15743         I'll fix the line break stuff tomorrow.
15745 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
15747         * lib/dummy_dep.h:
15748         Added ref to poly_conn.o.
15750         * objects/standard/polyline.c (polyline_draw): 
15751         * objects/standard/zigzagline.c (zigzagline_draw): 
15752         * objects/standard/arc.c (arc_draw): 
15753         * objects/standard/line.c (line_draw):
15754         Draw lines before arrows. This makes hollow arrows not
15755         show the line.
15757 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
15759         Changes from Kim Peasley <kpeasley@ior.com> 
15760                 
15761         * objects/UML/class.c:
15762         Break lines with long operations so classes won't be
15763         so wide.
15765         * objects/UML/uml.[ch]:
15766         Helperfunctions for the above.
15767         
15768         * objects/UML/objects.c:
15769         Fix bug that duplicated the text in the attributes
15770         textwidget each time the object was selected.
15771         
15772 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
15774         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
15775         
15776         * app/modify_tool.c:
15777         * app/modify_tool.h:
15778         Control-drag is restricted to vertical/horizontal movement
15779         
15780         * lib/object.h:
15781         ModifierKeys argument added to object_move_handle
15783         * app/connectionpoint_ops.c:
15784         * app/create_object.c:
15785         * app/object_ops.c:
15786         * objects/ER/attribute.c:
15787         * objects/ER/entity.c:
15788         * objects/ER/participation.c:
15789         * objects/ER/relationship.c:
15790         * objects/UML/actor.c:
15791         * objects/UML/association.c:
15792         * objects/UML/class.c:
15793         * objects/UML/classicon.c:
15794         * objects/UML/component.c:
15795         * objects/UML/constraint.c:
15796         * objects/UML/dependency.c:
15797         * objects/UML/generalization.c:
15798         * objects/UML/implements.c:
15799         * objects/UML/large_package.c:
15800         * objects/UML/lifeline.c:
15801         * objects/UML/message.c:
15802         * objects/UML/note.c:
15803         * objects/UML/object.c:
15804         * objects/UML/realizes.c:
15805         * objects/UML/small_package.c:
15806         * objects/UML/state.c:
15807         * objects/UML/usecase.c:
15808         * objects/network/bus.c:
15809         * objects/standard/arc.c:
15810         * objects/standard/box.c:
15811         * objects/standard/ellipse.c:
15812         * objects/standard/image.c:
15813         * objects/standard/line.c:
15814         * objects/standard/polyline.c:
15815         * objects/standard/textobj.c:
15816         * objects/standard/zigzagline.c:
15817         Changed calls to move_handle to pass the new argument.
15818         
15819         * lib/widgets.c:
15820         * lib/widgets.h:
15821         Default line width, color etc #define'd
15822         
15823         * po/da.po:
15824         Updates of danish menus
15826 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
15828         * dia.xpm
15829         * dia_gnome_icon.png
15830         * dia_gnome_menu_icon.png
15831         * dia_logo.png
15832         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
15834         * app/commands.c
15835         About dialog shows dia_logo.png. Removed the GNOME about dialog.
15837         * Makefile.am
15838         Distribute the icons and install logo in pkgdatadir.
15839         
15840         * app/Makefile.am
15841         Added DATADIR-define.
15842         
15843 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
15844         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
15846         * dia.spec:
15847         Updated version number, made setup quiet, can build from cvs,
15848         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
15850         * lib/Makefile.am
15851         * objects/ER/Makefile.am
15852         * objects/UML/Makefile.am
15853         * objects/network/Makefile.am
15854         * objects/standard/Makefile.am
15855         now builds better with gnome
15857         * objects/UML/class_dialog.c
15858         Fixed typo -> po files must be updated too!!
15859         
15860 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
15862         * lib/dummy_dep.h:
15863         Added reference so that widgets.o gets linked to the app.
15865 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15867         * objects/UML/classicon.c: 
15868         Added object mode.
15870         * objects/UML/actor.c: 
15871         Changed position of 'snap-to-grid' so connection points are
15872         in the grid.
15874 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
15876         * objects/UML/classicon.c:
15877         Changed position of 'snap-to-grid'.
15878         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15879         
15880 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
15882         * objects/network/antenna.c
15883         * objects/network/flash.c
15884         * objects/network/hub.c
15885         * objects/network/modem.c
15886         * objects/network/modularswitch.c
15887         * objects/network/rj45plug.c
15888         * objects/network/scead-plug.c
15889         * objects/network/network.c
15890         * objects/network/Makefile.am
15891         * objects/network/pixmaps/antenna.xpm
15892         * objects/network/pixmaps/flash.xpm
15893         * objects/network/pixmaps/hub.xpm
15894         * objects/network/pixmaps/modem.xpm
15895         * objects/network/pixmaps/modularswitch.xpm
15896         * objects/network/pixmaps/rj45plug.xpm
15897         * objects/network/pixmaps/sceadplug.xpm
15898         * objects/network/pixmaps/Makefile.am
15899         Lots of new network objects from
15900         Roland Steinbach <roland@support-system.com>.
15902 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15904         * objects/UML/classicon.c: 
15905         Fixed connection positions, saved type as int (it has 3 states),
15906         and other small fixes.
15907         
15908 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
15910         * app/preferences.c:
15911         * app/load_save.c:
15912         Added preference compress_save. It lets dia save uncompressed
15913         xml files.
15915         * objects/UML/class.c:
15916         Fixed bug with size calculation on methods that had class scope.
15917         
15918 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15920         * objects/UML/usecase.c: 
15921         Added collaboration mode
15922         Fixed connection points with text > ellipse bug and other 
15923         small things
15925         * objects/UML/state.c:
15926         Fixed bug of bad position of text after being either end
15927         or begin, moved and returned to text
15929 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
15931         * app/preferences.c: Add prototype declaration for prefs_apply.
15933 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
15935         * app/preferences.c:
15936         Added 'ok' button.
15937         Apply don't hide window.
15939         * app/properties.c:
15940         Add 'ok' button.
15942         * objects/UML/object.c:
15943         * objdcts/UML/state.c:
15944         Some data was not copied on copy.
15946         This patch is from
15947         Ben Hochstedler <benh@eeyore.moneng.mei.com>
15949 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
15951         * app/Makefile.am:
15952         Changed link order between X and libxml.
15953         Some people had problems with an old libz in their
15954         x11 directory.  
15956 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
15958         * po/no.po: updated translation.
15959         
15960 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
15962         * lib/message.c (message_error):
15963         Fixed small error.
15965         * app/commands.[ch]:
15966         * app/diagram.[ch]:
15967         Added begining of xfig importing
15969 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
15971         * objects/UML/pixmaps/state.xpm: 
15972         * objects/UML/state.c: 
15973         New UML object state machine.
15975         * objects/UML/uml.c:
15976         * objects/UML/Makefile.am:
15977         * objects/UML/pixmaps/Makefile.am:
15978         Added the state object.
15979         
15980 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
15982         * objects/UML/usecase.c: 
15983         Added dialog to allow move text outside the ellipse.
15985 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
15987         * Released Dia 0.41
15988         Tag called DIA_0_41
15990         * NEWS:
15991         Updates for 0.41.
15992         
15993 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
15995         * configure.in:
15996         Updated version number to 0.41
15998         * po/*.po:
15999         Update po-files
16001 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
16003         * app/app_procs.c
16004         Changed errormessage for --export-to-ps. Removed call to 
16005         g_log_set_always_fatal().
16007         * app/diagram.c
16008         * app/disp_callbacks.c
16009         * app/load_save.c
16010         (i18n) Removed gettext from some debugmessages.
16012         * app/menus.c
16013         Small fix in GNOME-menus. Added warning that will help track
16014         problems with translations.
16016         * po/sv.po
16017         (i18n) Updated swedish translation.
16019 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
16021         * po/da.po:
16022         New updates
16024 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
16026         * po/da.po:
16027         * po/no.po:
16028         Some fixes.
16029         
16030 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
16032         * po/da.po:
16033         (i18n) Updated the danish translation.
16034         From Lars R. Clausen.
16036 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
16038         * app/menus.c
16039         (i18n) The popup menu is translated now.
16041         * po/sv.po
16042         (i18n) Updated swedish translation.
16044 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16046         * Released Dia 0.40
16047         Tag called DIA_0_40
16049         * NEWS:
16050         Updated for new release
16051         
16052 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16054         * objects/network/bus.c:
16055         Added initialization of properties dialog to NULL.
16057         * app/commands.c (edit_cut_callback):
16058         Update menu sensitivity when cut object.
16060         * app/modify_tool.c (click_select_object):
16061         * app/modify_tool.c (modify_button_release): 
16062         Call diagram_update_menu_sensitivity() when
16063         selecting objects to update stuff that depends
16064         on selected/not selected.
16066 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
16068         * Makefile.am:
16069         Change order of subdir so that libintl.a builds.
16070         Now passed make distcheck.
16072 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16074         * lib/font.c (init_x11_font):
16075         Stupid bug fixed.
16077 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16079         * objects/UML/pixmaps/classicon.xpm: 
16080         * objects/UML/classicon.c:
16081         * objects/UML/uml.c:
16082         Added the class stereotype icon objects.
16084         * app/commands.c:
16085         Changed default ps extension from .ps to .eps.
16086         
16087 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16089         * lib/Makefile.am:
16090         Added diamenu.h and intl.h
16092         * lib/font.c:
16093         Stupid typo fix.
16094         
16095         * objects/UML/pixmaps/Makefile.am:
16096         Added message.xpm
16098         * objects/standard/pixmaps/Makefile.am:
16099         Added image.xpm
16101 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16103         * lib/font.c:
16104         Use a scalable font before fixed when real font not found.
16106         * app/commands.c:
16107         Removed warning.
16109         * objects/standard/image.c:
16110         Better handling of loading/saving of images.
16112         * INSTALL:
16113         Added some text about cvs, fonts and rewrote some parts.
16115         * TODO:
16116         Updated with new stuff.
16117         
16118         * configure.in:
16119         Bump up version number to 0.40.
16120         
16121 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16123         * app/display.c:
16124         Moved diagram_add_ddisplay() call into new_display().
16125         Fixed new_display to not use uninitialized variables
16126         causing loaded files to show up as black (or garbage).
16127         
16128         * app/commands.c:
16129         * app/app_procs.c:
16130         Removed unneeded calls to diagram_add_ddisplay().
16131         
16132 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
16134         * objects/UML/lifeline.c:
16135         Fixed bug in copy.
16136         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16138         * objects/UML/message.c:
16139         Fixed bug loading messages with null-text.
16140         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16142 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
16144         * po/sv.po
16145         Updated swedish translation.
16147         * app/menus.c
16148         (GNOME) Removed help-browser from help menu. Fixed typo.
16150         * app/interface.c
16151         (GNOME) Accelerators in diagrams should work now. 
16153 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
16155         * app/app_procs.c
16156         * app/commands.c
16157         * app/defaults.c
16158         * app/disp_callbacks.c
16159         * app/display.c
16160         * app/interface.c
16161         * app/menus.c
16162         * app/preferences.c
16163         * app/render_eps.c
16164         * lib/diagramdata.c
16165         * lib/font.c
16166         * lib/message.c
16167         * lib/widgets.c
16168         * objects/ER/*.c
16169         * objects/UML/*.c
16170         * objects/network/*.c
16171         * objects/standard/*.c
16172         * po/update_pofiles_in.sh
16173         * po/POFILES.in
16174         More i18n. All strings (expect rare debug messages) can be
16175         translated now. Moved intl.h from app to lib. Updated
16176         update_pofiles_in.sh to check all .c-files.
16178 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
16180         * app/disp_callbacks.c (ddisplay_canvas_events):
16181         Don't drop keys while num-lock, scroll-lock etc is on.
16183 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16185         * app/render_eps.c (draw_image):
16186         Fixed exporting of images.
16187         Still not perfect, but not outright buggy.
16188         
16189 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16191         * configure.in:
16192         * po/hu.po:
16193         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
16195         * app/Makefile.am:
16196         Added $* to the dia call in run_dia.sh
16198 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16199         
16200         * lib/color.[ch]:
16201         Added color_equals() call.
16203         * objects/standard/arc.c:
16204         * objects/standard/line.c:
16205         Don't save unneccesary data.
16206         
16207         * objects/standard/box.c:
16208         * objects/standard/ellipse.c:
16209         * objects/standard/image.c:
16210         * objects/standard/polyline.c:
16211         * objects/standard/zigzagline.c:
16212         Share properties dialog.
16213         Don't save unneccesary data.
16214         
16215 1999-03-22  Seth Alves  <alves@hungry.com>
16217         * app/menus.c:
16218         * app/diagram.c:
16219         * app/display.c:
16220         small changes so that gnome menus aren't broken
16221         
16222 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
16224         * po/da.po:
16225         Added danish translation from lrclause@cs.uiuc.edu.
16227         * po/POFILES.in:
16228         Updated file.
16230         * po/update_pofiles_in.sh:
16231         Added script that updates POFILES.in.
16232         This should probably be run automatically from somewhere.
16234 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
16236         * app/diagram.[ch]:
16237         Added function diagram_update_menu_sensitivity() which
16238         sets the sensitivity of some menu items. This function
16239         is called at each diagram state change (from diagram_modified()).
16240         This is needed  because otherwise the keyboard accelerators
16241         don't work correctly.
16243         * app/display.[ch]:
16244         Changed display_set_menu_sensitivity() to display_update_menu_state().
16245         Moved lots of code to diagram_update_menu_sensitivity() in
16246         diagram.c. Optimized to only look up menu-items from path:s once.
16247         
16248         * app/disp_callbacks.c:
16249         * app/interface.c:
16250         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
16251         Need to set GDK_FOCUS_CHANGE_MASK.
16252         
16253         * app/create_object.c:
16254         Call diagram_modified when an object has been created and
16255         selected so that the menu sensitivity is updated. 
16257         * app/menus.[ch]:
16258         removed menus_set_sensitive() and menus_set_state(). Exported
16259         renamed function menus_get_item_from_path().
16261 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
16263         * app/disp_callbacks.c:
16264         Show (empty) object menus on object that has none.
16265         Show title on object menus.
16267         * app/display.c:
16268         Set zoom factor correctly when opening new displays.
16269         Better setting of scrollbars.
16271         * app/grid.c:
16272         * app/menus.h:
16273         Some reformating cleanup.
16275         * lib/diamenu.h:
16276         Added title to object menus.
16278         * objects/*/*.c:
16279         Added object menu method (NULL-valued) to all objects.
16281         * objects/standard/polyline.c:
16282         Added title to object menu.
16284 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
16286         * app/preferences.[ch]:
16287         New files. Implements the preferences dialog and
16288         loading/saving of ~/.diarc.
16290         * app/Makefile.am:
16291         Added preferences.[ch].
16293         * app/app_procs.c:
16294         Load preferences on startup.
16296         * app/commands.[ch]:
16297         Added file_preferences_callback to show the preferences dialog.
16299         * app/create_object.c:
16300         Update extents when creating object.
16301         Use the reset_tools_after_create preferences setting.
16303         * app/display.c:
16304         Use preferences when creating new display.
16306         * app/menus.c:
16307         Add preferences to menu.
16309         * app/defaults.c:
16310         * app/layer_dialog.c:
16311         * app/properties.c:
16312         Don't allow shrinking of dialog.
16313         Add i18n of some strings.
16315 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
16316         * po/no.po:
16317         Norwegian translation added.
16318         
16319 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
16321         * objects/standard/line.c: 
16322         * objects/standard/arc.c: 
16323         * objects/standard/polyline.c: 
16324         * objects/standard/zigzagline.c:
16325         Loading of arrow data fixed.
16327 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
16329         * app/commands.c:
16330         Update extents when saving and exporting to postscript.
16331         Fixes a bug with postscript bounding-box being wrong.
16333         * app/defaults.c:
16334         Changed border width from 5 to 2.
16336         * app/group.c:
16337         Move grouped objects by the move-point of the first object.
16338         Fixes bug that made all objects in the group be off-grid
16339         when moving the group, even though all objects was on-grid.
16341         * app/layer_dialog.c:
16342         Update extents when changing layer.
16344 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16346        * objects/UML/uml.c: 
16347        * objects/UML/component.c: 
16348        * objects/UML/pixmaps/component.xpm: 
16349        Added the UML component object
16350         
16351 1999-03-04  Seth Alves  <alves@hungry.com>
16353         * objects/UML/generalization.c (generalization_create): avoid
16354         math on uninitialized genlz->text_width (NaN causes sigfpe)
16355         
16356         * objects/UML/realizes.c (realizes_create): same
16358         * objects/UML/dependency.c (dependency_create): same
16360 1999-03-01  Seth Alves  <alves@hungry.com>
16362         * app/display.c (ddisplay_active): don't fly a warning panel
16363         if ddisplay_active is called when no views are open.
16365         * app/commands.c (set_default_file_selection_directory): set
16366         file selector's default directory if there is already
16367         a document open.
16369 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16371         * INSTALL:
16372         New info about imlib requirements.
16374         * Configure.in:
16375         Added lib/pixmaps/Makefile to created makefiles.
16377         * app/app_procs.c:
16378         * app/commands.c:
16379         Change from obsoleted to newer gtk calls.
16380         
16381         * load_save.c:
16382         Pass filename of the diagram when loading and saving.
16383         This creates better oportunities to handle filename saving.
16385         * lib/object.h:
16386         Pass filenames to load and save methods.
16387         
16388         * lib/dia_image.[ch]:
16389         Added dia_image_get_broken() call that returns a image which
16390         is used for 'broken' images.
16391         
16392         * lib/pixmaps/.cvsignore:
16393         * lib/pixmaps/Makefile.am:
16394         * lib/pixmaps/broken.xpm:
16395         New files for the broken image bitmap.
16397         * lib/widgets.c:
16398         Fixed bug with double destroyed filedialog.
16400         * objects/*/*.c:
16401         Updated load and save prototypes to use the new filename argument.
16403         * objects/image.c:
16404         Render broken image instead of line when got no image.
16405         Use the new filename in load and save to save (if possible)
16406         relative pathnames and to better try to find loaded images.
16408 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16410         * TODO:
16411         Some updates to the todo file.
16412         
16413         * app/menus.c:
16414         * app/display.c:
16415         Place over/place over => sent to back/bring to front.
16416         Added some keyboard shortcuts to menus.
16417         
16418 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
16420         * lib/dia_xml.c:
16421         Changed string saving/loading to a new method. This should
16422         be much better att handling &,<,> and whitespaces.
16423         Loading strings of the old kind is still supported for backwards
16424         compatibility.
16426         * samples/ER-demo.dia:
16427         * samples/UML-demo.dia:
16428         Updated to use the new strings.
16429         
16430         * app/load_save.c:
16431         statusbar modified update fix.
16433 1999-02-27  Seth Alves  <alves@hungry.com>
16435         * app/app_procs.c (app_init): added a --export-to-ps option
16436         which will cause dia to load a dia file and save it as ps
16437         and then exit.  this is a little bogus, because it still
16438         pops up a window.  this option only shows up if --enable-gnome
16439         is used
16441         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
16442         menu when built with --enable-gnome
16444         * app/interface.c (create_display_shell): build status bar
16445         even if --enable-gnome is used
16447         * app/menus.c: menu fixes for --enable-gnome
16449         * app/commands.c (file_open_dialog_ok_callback): fixed up
16450         menus when --enable-gnome is used
16451         (file_export_to_eps_callback): set a default file name
16452         when dialog is created
16454 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
16456         * objects/UML/association.c (association_create):
16457         Fixed usage of not initialized variable.
16458         Pointed out by Seth Alves <alves@hungry.com>.
16460 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
16462         * configure.in:
16463         Fixed detection of gnome-xml.
16464         From Valtteri Vuorikoski <vuori@k.notcom.org>.
16465         
16466         * app/app_procs.c:
16467         Fixed error detection on dlsym calls. 
16468         From Valtteri Vuorikoski <vuori@k.notcom.org>.
16470 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
16472         * objects/UML/message.c (fill_in_dialog):
16473         Fixed warnings.
16475 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16477         * objects/standard/zigzagline.c:
16478         * objects/standard/polyline.c:
16479         * objects/standard/line.c:
16480         * objects/standard/arc.c:
16481         * lib/widgets.h:
16482         * lib/arrows.h:
16483         * lib/widgets.c:
16484         Support for sizeable arrows. 
16486         * objects/standard/box.c:
16487         * objects/standard/ellipse.c:
16488         * objects/standard/image.c:
16489         Changed creation handle to lower-right.
16490         Transparent box/ellipse.
16491         
16492         * objects/standard/image.c:
16493         Better layout of properties boxes.
16495 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16497         * objects/UML/message.c (fill_in_dialog): 
16498         Fixed dialog fill in. Common dialog for all messages.
16500         * objects/UML/object.c: 
16501         Added multiple instance. Dialog related bugs fixed.
16502         Common dialog for all instances. Completed copy and destroy.
16504         * objects/UML/lifeline.c (lifeline_load): 
16505         Conn initialization bug fixed and few bad loading prevention flags.
16506         Common dialog for all lifeline objects.
16507         
16508 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16510         * lib/dia_image.[ch]:
16511         More work on the DiaImage abstraction.
16512         
16513         * app/app_procs.c:
16514         * app/render_eps.c:
16515         * app/render_gdk.c:
16516         * objects/standard/image.c:
16517         Use the new DiaImage calls.
16519 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16521         * app/menus.c:
16522         * app/display.c:
16523         Reversed the meaning of align horizontal/vertical.
16525 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16527         * app/load_save.c (diagram_load):
16528         Statusbar update fix.
16530 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16532         * app/interface.c (create_display_shell):
16533         Fixed status bar size.
16534         
16535 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
16537         * lib/dia_image.[ch]:
16538         Added extern declaration for dia_image_release.
16539         Removed dia_image_draw, as it's not neseccary.
16541 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16542         
16543         * app/object_ops.c: 
16544         * app/menus.c: 
16545         Added equal distance alignment both vertical and horizontal.
16546         
16547         * objects/UML/object.c: 
16548         Added a couple of attributes to load/read that were missing.
16550         * objects/UML/lifeline.c: 
16551         Better handling of handles. Fixed another bug I forgot to add
16552         to my last patch.
16553         
16554 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
16556         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16557         
16558         * lib/dia_image.[ch]:
16559         * lib/Makefile.am:
16560         New files. DiaImage wraps the GdkImlibImage.
16562         * lib/render.h:
16563         * app/render_eps.c:
16564         * app/render_gdk.c:
16565         * lib/render_store.[ch]:
16566         * objects/standard/image.c:
16567         Use the new DiaImagetype.
16569         * lib/widgets.c:
16570         Removed unused variable to eliminate  warning.
16572 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
16574         * objects/standard/box.c:
16575         Added rounded corners on the box object.
16577         * lib/widgets.[ch]:
16578         Updated the DiaFileSelector widget.
16579         
16580 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16582         * objects/UML/object.c (objet_draw): 
16583         Completed underlining of all object name lines. 
16585         * objects/UML/message.c (fill_in_dialog): 
16586         Fixed a bug that filled incorrectly the message's dialog.
16588         * objects/UML/lifeline.c (lifeline_load): 
16589         Some cleanning and fixed a couple of bugs that caused
16590         crashes after reading diagrams with lifelines.
16592         * lib/text.c: 
16593         Added flags to prevent crash with void strings
16595 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
16596         * app/display.[ch]:
16597         Added statusbar to the display widget. Currently shows the zoom
16598         factor and modified flag of the viewed diagram. The statusbar is
16599         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
16600         This caused the following additions:
16601         
16602         * app/diagram.[ch]:
16603         Added function diagram_set_modified. Calls
16604         ddisplay_update_statusbar for all displays showing the modified diagram.
16605         Changed diagram_modified to call diagram_set_modified.
16606         
16607         * app/interface.c:
16608         Added the creation of the statusbar.
16609         
16610         * app/load_save.c:
16611         diagram_save now calls diagram_set_modified instead of setting
16612         dia->modified. Needed to force call to display_update_statusbar
16613         
16614         * app/commands.c:
16615         Changed the way view_show_all works. Now calls ddisplay_zoom
16616         instead of directly setting the zoom_factor, so the zoom factor is
16617         correctly shown in the statusbar.
16619         * app/magnify.c:
16620         Fixed rubberband zoom to use ddisplay_zoom().
16621         
16622 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
16624         * app/app_procs.c
16625         Rudimentary GNOME session management.
16626         
16627         * app/disp_callbacks.c
16628         * app/interface.c
16629         * app/menus.c
16630         * app/menus.h
16631         GNOME menus. Problems: 
16632         Callbacks doesn't get user_data.
16633         Weird warnings when creating popup menus.
16634         menus_set_sensitive(), menus_set_state() doesn't work.
16636 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16638         * configure.in:
16639         Add AM_PATH_GDK_IMLIB() call.
16641         * app/Makefile.am:
16642         Add gdk_imlib to linking flags.
16644         * app/app_procs.c:
16645         Init gdk_imlib.
16646         Print library-loading error messages on stdout too.
16648         * app/interface.c:
16649         Add standard image to toolbox.
16650         
16651         * app/render_eps.c: 
16652         Set a more reasonable dot length.  Fixed
16653         missing initialization of dot length.
16654         Added draw_image methods.
16656         * app/render_gdk.c (new_gdk_renderer): 
16657         Dot a bit wider.  Looks good in normal mode now.
16659         * objects/standard/image.c:
16660         * objects/standard/pixmaps/image.xpm:
16661         New files. Standard object for images.
16662         
16663         * app/render_eps.c (set_linestyle):
16664         * app/render_gdk.c (set_linestyle):
16665         * lib/widgets.c (dia_line_style_selector_init): 
16666         * lib/render.h: 
16667         New line style DOTTED.
16669         * lib/render.h:
16670         * lib/render_store.c:
16671         Change DrawImage call to use gdk_imlib.
16673         * lib/widgets.[ch]:
16674         Added widgets for selecting files.
16675         Added dotted to the linestyle selector.
16677 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
16679         * objects/network/printer.c:
16680         * objects/network/network.c:
16681         * objects/network/pixmaps/printer.xpm:
16682         * objects/network/.cvsignore:
16683         * objects/network/Makefile.am:
16684         * objects/network/pixmaps/Makefile.am:
16685         New printer object in network.
16686         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
16688         * TODO:
16689         Added known XML bug.
16690         
16691 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
16693         * app/load_save.c:
16694         * lib/dia_xml.c:
16695         Reverted back from #include <gnome-xml/tree.h> to
16696         #include <tree.h> as this is fixed by the xml-config program.
16697         The former way broke for some people.
16698         Reported by blizzard@redhat.com.
16700         * objects/UML/lifeline.c:
16701         * objects/UML/message.c:
16702         * objects/UML/object.c:
16703         Removed some warnings.
16704         
16705 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16707         * objects/UML/lifeline.c: 
16708         Fixed connection points over the life line when the focus of
16709         control is not drawn.
16711         * objects/UML/message.c: 
16712         Now a recursive message can be freely resized using the handles.
16714 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16716         * objects/UML/lifeline.c:
16717         Added connection points.
16718         Added properties dialog with the option to draw/hide focus of control
16719         box and destruction mark.
16721         * objects/UML/object.c: 
16722         Added properties dialog and stereotype, explicit state and attributes. 
16723         It's also possible to mark the object as active.
16725         * objects/UML/pixmaps/object.xpm: 
16726         Cosmetic change.
16728         * objects/UML/message.c:
16729         Added "recursive" message type (was not necessary to use OrthConn).
16731 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
16733         * objects/standard/arc.c:
16734         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
16736 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
16738         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
16739         
16740         * app/load_save.c:
16741         * lib/dia_xml.c:
16742         Update xml includes to gnome-xml/*.h.
16744         * objects/standard/arc.c:
16745         Only one property dialog per type.
16746         Fix arrows directions.
16748         * objects/standard/box.c:
16749         * objects/standard/ellipse.c:
16750         * objects/standard/textobj.c
16751         Added default properties dialog.
16752         
16754 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
16756         * objects/UML/Makefile.am: 
16757         * objects/UML/uml.c:
16758         * objects/UML/lifeline.c: 
16759         * objects/UML/object.c: 
16760         * objects/UML/message.c:
16761         * objects/UML/pixmaps/lifeline.xpm: 
16762         * objects/UML/pixmaps/object.xpm: 
16763         * objects/UML/pixmaps/message.xpm:
16764         Added 3 new UML objects for dynamic modeling. To avoid internal 
16765         conflicts, the name "objet" is used for object "object".        
16767         * lib/arrows.[ch]: 
16768         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
16769         UML messages.
16770         
16771 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
16773         * app/display.[ch]:
16774         * app/modify_tool.c:
16775         Added autoscrolling while doing rubber-band select.
16776         This patch from Matthias Köster
16777         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
16778         
16780 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
16782         * app/defaults.[ch]:
16783         New files, deals with default properties dialog.
16785         * lib/diamenu.h:
16786         New file. Contains definitions for the new object menu.
16788         * lib/poly_conn.[ch]:
16789         New file. Base class for poly-line like objects.
16791         * objects/standard/polyline.c:
16792         * objects/standard/pixmaps/polyline.xpm:
16793         New files. Polyline object.
16795         * app/app_procs.c:
16796         Fixed bug with infinite loop when registering sheets.
16797         
16798         * app/commands.c:
16799         Removed unneccesary stuff.
16801         * app/disp_callbacks.c:
16802         Support for object menus.
16804         * app/interface.c:
16805         Added polyline to toolbox.
16806         Added call to tool_options_dialog_show() when double clicking on
16807         tool.
16809         * app/tool.[ch]:
16810         New function tool_options_dialog_show() for tool properties.
16812         * lib/arrows.[ch]:
16813         Added ARROW_NONE.
16815         * lib/object.h:
16816         Added ObjectType methods for handling object default dialogs.
16817         Added Object method for handling object_menu.
16818         Added unused methods to ObjectTypeOps for future binary
16819         compatibility.
16821         * lib/widgets.[ch]:
16822         Added DiaArrowTypeSelector widget.
16824         * objects/standard/arc.c:
16825         * objects/standard/zigzagline.c:
16826         Added support for default properties.
16828         * objects/standard/line.c:
16829         Added support for default properties.
16830         Just use one properties dialog for all line objects. NOTE: This
16831         seems to have a bug. We're working on it.
16833         * standard/standard.c:
16834         Add the polyline object.
16836 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
16838         * app/modify_tool.c:
16839         Commented out buggy transitive select function. It wasn't really
16840         meant to go into cvs.
16841         
16843 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
16845         * autogen.sh:
16846         * acconfig.h:
16847         * configure.in:
16848         * Makefile.am:
16849         * app/Makefile.am:
16850         * po/POTFILES.in:
16851         * app/intl.h
16852         i18n-support.
16854         * po/sv.po:
16855         Swedish translation. Not completed.
16856         
16857         * configure.in:
16858         * acconfig.h:
16859         Added possibility to enable GNOME specific code with configure.
16861         * configure.in:
16862         Added possibility to set debug level with configure.
16864         * commands.[hc]:
16865         Added about dialog.
16867         * app_procs.c
16868         * commands.c
16869         * interface.c
16870         * menus.c
16871         Added some GNOME specific code. Not ready for use.
16873 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
16875         * INSTALL:
16876         Added text about needing gtk 1.1.13 and gnome-xml.
16877         
16878         * NEWS:
16879         Described changes since last version (0.20).
16881         Released version 0.30, tagged DIA_0_30.
16883 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
16885         * app/magnify.c (magnify_button_release):
16886         Fixed a problem when zooming in on a very small box would
16887         not release the grabbed pointer-focus.
16889 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
16891         * app/load_save.c (diagram_load):
16892         Be somewhat more robust when loading files that
16893         are not diagrams.
16894         
16895 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
16897         * app/app_procs.c:
16898         * objects/ER/er.c:
16899         * objects/UML/uml.c:
16900         * objects/network/network.c:
16901         * objects/standard/standard.c:
16902         Added versioning of object libraries.
16904         * app/create_object.c:
16905         Don't change tool when an object is created.
16906         
16907         * objects/network/network.c:
16909         * TODO:
16910         Update
16912 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
16914         * configure.in:
16915         Updated gtk requirement to Gtk+ 1.1.13.
16917         * app/display.c:
16918         Always add one screenful of scrolling space on
16919         each side of a diagram window.
16921 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
16923         * autogen.sh:
16924         Tell automake to auto-install missing files.
16926         * app/menus.c:
16927         Renamed deprecated Gtk+ function.
16929 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
16931         * Makefile.am:
16932         * configure.in:
16933         * samples/Makefile.am:
16934         * samples/ER-demo.dia:
16935         * samples/UML-demo.dia:
16936         Added samples directory.
16937         Added samples for ER and UML.
16938         
16939         * app/commands.c:
16940         * app/disp_callbacks.c:
16941         * app/menus.c:
16942         Zoom is done by sqrt(2) instead of 2.
16943         Lots of more zoom options in the menu.
16945         * objects/ER/relationship.c:
16946         Relationships have 8 connectionpoints instead of 4.
16948         * objects/UML/class.c:
16949         UML class name font a bit smaller.
16950         Fixed stupid bug in the copy operation.
16951         
16952         * app/display.c:
16953         Displays are opened at 500x400 instead of 256x256.
16955         * app/load_save.c:
16956         Fixup of internal error message.
16958         * app/color_area.c:
16959         * app/diagram.c:
16960         * app/modify_tool.c:
16961         * lib/object.c:
16962         Removed debug printf's.
16963         
16964         * TODO (BUGS):
16965         Added new known bug.
16967 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
16969         * app/interface.c:
16970         * app/menus.c:
16971         Fixed so accelerator groups work in all windows.
16972         Updated to new gtk function names.
16974         * TODO (BUGS):
16975         Removed fixed bug.
16977         * app/display.c:
16978         Updated to new gtk function names.
16979         Set sensitivity of the align menu items.        
16981         * objects/ER/pixmaps/Makefile.am:
16982         * objects/UML/pixmaps/Makefile.am:
16983         * objects/network/pixmaps/Makefile.am:
16984         Fix so that make dist works.
16986         * app/app_procs.c:
16987         * app/color_area.c:
16988         * app/commands.c:
16989         * app/diagram.c:
16990         * app/grid.c:
16991         * app/layer_dialog.c:
16992         * app/load_save.c:
16993         * app/object_ops.c:
16994         * app/properties.c:
16995         * lib/diagramdata.[ch]: 
16996         * lib/message.c:
16997         * lib/objects/ER/attribute.c:
16998         * lib/objects/ER/entity.c:
16999         * lib/objects/ER/participation.c:
17000         * lib/objects/ER/relationship.c:
17001         * lib/objects/ER/.c:
17002         * objects/UML/actor.c:
17003         * objects/UML/association.c:
17004         * objects/UML/class_dialog.c:
17005         * objects/UML/dependency.c:
17006         * objects/UML/generalization.c:
17007         * objects/UML/large_package.c:
17008         * objects/UML/realizes.c:
17009         * objects/UML/.c:
17010         * objects/UML/.c:
17011         Updated to new gtk function names.
17012         Removed warnings.
17014 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
17016         * TODO:
17017         Update TODO.
17019         * app/app_procs.c:
17020         Fixed loading of diagrams specified as arguments.
17022         * objects/ER/attribute.c:
17023         * objects/ER/entity.c:
17024         * objects/ER/er.c:
17025         * objects/ER/participation.c:
17026         * objects/ER/relationship.c:
17027         Updated the ER objects.
17028         
17030 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
17032         * configure.in:
17033         * app/Makefile.am:
17034         * objects/Makefile.am:
17035         * objects/ER/attribute.c:
17036         * objects/ER/entity.c:
17037         * objects/ER/er.c:
17038         * objects/ER/participation.c:
17039         * objects/ER/relationship.c:
17040         * objects/ER/pixmaps/Makefile.am:
17041         * objects/ER/pixmaps/attribute.xpm:
17042         * objects/ER/pixmaps/entity.xpm:
17043         * objects/ER/pixmaps/participation.xpm:
17044         * objects/ER/pixmaps/relationship.xpm:
17045         * objects/ER/pixmaps/weakentity.xpm:
17046         First commit of entity relationship objects.
17047         These were done by hallon@lysator.liu.se.
17048         There are still stuff to do on these.
17049         
17050 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
17052         * TODO:
17053         Updates.
17055         * app/diagram.[ch]:
17056         Change diagram_remove_all_selected to take new argument
17057         delete_empty. Empty objects are deleted only if it is TRUE.
17058         Removed call to close_eps_renderer. This is now done in end_render
17059         in the eps renderer.
17061         * app/create_object.c:
17062         * app/layer_dialog.c:
17063         Update calls to diagram_remove_all_selected.
17065         * app/commands.c:
17066         Update calls to diagram_remove_all_selected.
17067         Some code reformating.
17068         Changed order of adding updates i align_h and align_v.
17070         * app/modify_tool.c:
17071         Update calls to diagram_remove_all_selected.
17072         Added pointer grab when doing rubber-band selection, this fixes
17073         the bug when draging the box over to another window.
17075         * app/connectionpoint_ops.[ch]:
17076         diagram_update_connections_object changed to take an argument
17077         update_nonmoved. This lets connections that has not moved, but
17078         the stuff they're connected to has been moved work.
17079         Update calls to the new diagram_update_connections_object.
17081         * app/properties.c:
17082         Update calls to the new diagram_update_connections_object.
17083         Update extents when properties are applied.
17084         
17085         * app/disp_callbacks.c:
17086         Added support for zooming with the '+' and '-' keys.
17088         * app/menus.c:
17089         Removed old keyboard shortcuts for zoom.
17091         * lib/render.h:
17092         Added calls begin_render and end_render to renderer.
17093         These can be used for setup and cleanup.
17095         * lib/diagramdata.c:
17096         Added calls to begin_render and end_render in data_render.
17098         * app/render_gdk.c:
17099         Added begin_render and end_render.
17101         * app/render_eps.[ch]:
17102         Added begin_render and end_render.
17103         Moved close_eps_renderer code to end_render.
17104         Various fixes to the generated eps code. This fixes importing
17105         generated eps into LYX.
17106         
17107 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
17109         * TODO:
17110         Update of todo.
17111         
17112         * app/menus.c:
17113         Menus for alignment updated.
17115         * app/object_ops.[ch]:
17116         Functions for object alignment updated.
17118         * app/commands.[ch]:
17119         Object alignment callbacks updated.
17120         New diagrams are called Untitled-<nr>.
17122         * app/layer_dialog.c:
17123         Active layer selected when showing layers from new
17124         diagram.
17126         * app/load_save.c:
17127         Compress xml files when saving.
17128         Use xml namespace 'dia'.
17130         * lib/object.h:
17131         Minor comment update.
17133         * objects/UML/class_dialog.c:
17134         Cleanup of the gkt_list_item moving code.
17135         Fixed bug with update of operation when moving parameters.
17137 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
17139         * app/layer_dialog.[ch]:
17140         Fixed the rest of the layers dialog.
17142         * app/dialog.c:
17143         Added call to redo layer dialogs diagram list when changing
17144         diagram name.
17146         * lib/diagramdata.[ch]:
17147         Added data_raise_layer and data_lower_layer functions for
17148         raising/lowering layers. Added data_add_layer_at for adding a
17149         layer at a specified index.
17151 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
17153         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
17154                 
17155         * app/app_procs.c:
17156         Added support for reading diagrams from the command line.
17158 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
17160         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
17161                 
17162         * app/commands.[ch]:
17163         Added objects_align_callback().
17165         * app/menus.c:
17166         Added align objects to menu.
17168         * app/object_ops.[ch]:
17169         Add object_list_align().
17170         
17171 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
17172         * app/layer_dialog.[ch]:
17173         New files. Handles the layers dialog. Needs a bugfix for glib to
17174         work. Sent patch to gtk-list.
17175         
17176         * app/pixmaps/new.xpm:
17177         * app/pixmaps/eye.xbm:
17178         * app/pixmaps/lower.xpm:
17179         * app/pixmaps/raise.xpm:
17180         * app/pixmaps/delete.xpm:
17181         New files. Images for the layer dialog buttons.
17182         
17183         * lib/diagramdata.h
17184         * lib/diagramdata.c
17185         New files for the DiagramData and Layer structures and functions.
17186         
17187         * app/app_procs.c:
17188         Added call to create_layer_dialog() on startup.
17189         
17190         * app/commands.[ch]:
17191         New callbacks for showing the properties and layout dialog.
17192         Changes for the new DiagramData structure.
17194         * app/connectionpoint_ops.c:
17195         * app/cut_n_paste.c:
17196         * app/diagram.[ch]:
17197         * app/display.[ch]:
17198         * app/group.c:
17199         * app/modify_tool.c:
17200         * app/object_ops.[ch]:
17201         * app/render_eps.c:
17202         * lib/object.[ch]:
17203         Changes for the new DiagramData structure.
17205         * app/interface.c:
17206         * app/properties.c:
17207         Set correct wmclasses.
17209         * app/load_save.c:
17210         Fix load and save of layers.
17212         * diagram.dtd:
17213         Update DTD for layers.
17214         
17215         * app/menus.c:
17216         New menus for dialogs.
17218         
17219         * TODO:
17220         Some updates.
17221         
17222 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
17224         * TODO:
17225         Removed the gtk 1.1.5 stuff.
17227         * configure.in:
17228         Updated gtk check to version 1.1.5.
17229         Updated version from 0.20 to 0.30
17231         * app/commands.[ch]:
17232         Updated some callbacks to be of type GtkItemFactoryCallback1.
17233         Not all are done yet, but it works anyway.
17235         * app/display.h:
17236         Removed Gtk 1.0.0 GtkAcceleratorTable references.
17237         
17238         * app/interface.c:
17239         * app/menus.[ch]:
17240         Update to Gtk 1.1.x functions.
17241         Use ItemFactory instead of MenuFactory.
17242         
17243         * app/render_gdk.c:
17244         Removed Gtk 1.0.0 references.
17246         * objects/UML/class_dialog.c:
17247         Scrolled window updates for Gtk 1.1.5.
17248         
17249         * lib/dia_xml.c:
17250         Removed ugly fix for gnome-xml bug. Make sure you get the
17251         newest version of gnome-xml from CVS.
17252         
17253 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
17255         * TODO:
17256         Removed the xml load/save line.
17258         * lib/files.[ch]:
17259         Removed files.
17260         
17261         * lib/Makefile.am:
17262         Removed building of files.c
17264         * app/load_save.c:
17265         * lib/connection.c:
17266         * lib/element.c:
17267         * lib/object.c:
17268         * lib/orth_conn.c:
17269         * lib/render_object.c:
17270         * objects/UML/actor.c:
17271         * objects/UML/association.c:
17272         * objects/UML/class.c:
17273         * objects/UML/constraint.c:
17274         * objects/UML/dependency.c:
17275         * objects/UML/generalization.c:
17276         * objects/UML/implements.c:
17277         * objects/UML/large_package.c:
17278         * objects/UML/note.c:
17279         * objects/UML/realizes.c:
17280         * objects/UML/small_package.c:
17281         * objects/UML/uml.c:
17282         * objects/UML/usecase.c:
17283         * objects/network/bus.c:
17284         * objects/standard/arc.c:
17285         * objects/standard/box.c:
17286         * objects/standard/ellipse.c:
17287         * objects/standard/line.c:
17288         * objects/standard/textobj.c:
17289         * objects/standard/zigzagline.c:
17290         Removed all includes of files.h
17292         
17293 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
17295         * dialog.dtd:
17296         Made the val property of string be implied.
17297         This makes it possible to save strings that
17298         are NULL. Just leave out val.
17300         * objects/lib/dia_xml.c:
17301         Fixed string so that it is possible to save strings
17302         that are NULL. Also made an ugly workaround of a
17303         bug in gnome-xml which removes empty properties.
17304         
17305         * objects/lib/orth_conn.c:
17306         Fixed a bug in saving. Forgot to step through the
17307         directions.
17308         
17309         * objects/UML/association.c: 
17310         * objects/UML/class.c: 
17311         * objects/UML/constraint.c: 
17312         * objects/UML/dependency.c: 
17313         * objects/UML/generalization.c: 
17314         * objects/UML/implements.c: 
17315         * objects/UML/large_package.c: 
17316         * objects/UML/note.c: 
17317         * objects/UML/small_package.c:
17318         * objects/UML/realizes.c:
17319         * objects/UML/usecase.c: 
17320         * objects/UML/actor.c: 
17321         Fixed UML objects to save as xml.
17322         The last two were done by asierra@servidor.unam.mx (asierra-981204)
17323         
17324         * objects/UML/uml.[ch]:
17325         Updated *_write() and *_read() functions to use xml.
17327         * objects/network/bus.c: 
17328         * objects/network/computer.c: 
17329         * objects/network/disc.c: 
17330         * objects/network/monitor.c:
17331         Updated network diagrams to use xml.
17333 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
17335         * dialog.dtd:
17336         New file. DTD that describes the xml file format
17337         dia uses.
17339         * lib/dia_xml.[ch]:
17340         New files. Support for saving object to xml files.
17342         * configure.in:
17343         * app/Makefile.am:
17344         * lib/Makefile.am:
17345         Added check for and usage of gnome-xml library.
17347         * app/load_save.c:
17348         Major chages. Now saves/loads diagrams as xml.
17350         * lib/object.[ch]:
17351         * lib/element.[ch]:
17352         * lib/connection.[ch]:
17353         * lib/orth_conn.[ch]:
17354         * lib/render_object.[ch]:
17355         * lib/text.[ch]:
17356         Updated object support load/save functions for xml:
17358         * object/standard/arc.c:
17359         * object/standard/box.c:
17360         * object/standard/ellipse.c:
17361         * object/standard/line.c:
17362         * object/standard/textobj.c:
17363         * object/standard/zigzagline.c:
17364         Updated all standard objects to use xml.
17365         
17366         NOTE NOTE NOTE
17367         Only the standard objects are converted right now, don't
17368         save or load uml or network diagrams yet. Also, since this
17369         is new code it is deemed a bit unstable.
17370         
17371         * TODO
17372         Added a know bug.
17374 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
17376         * objects/UML/class.c:
17377         Changed classname font to Helvetica.
17378         Added more space above the classname
17380         * objects/UML/usecase.c:
17381         Correct placements of connectionpoints on ellipse.
17382         Better algorithm for deciding aspect ration on
17383         ellipse.
17385         These changes were made by Alejandro Aguilar Sierra
17386         <asierra@servidor.unam.mx>. (asierra-981201)
17388 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
17390         * objects/UML/actor.c:
17391         Changed the extents and alignment of the element
17392         and the text.
17394         * objects/UML/.cvsignore:
17395         Added usecase.lo and actor.lo.
17397 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
17399         * objects/UML/actor.c:
17400         * objects/UML/usecase.c:
17401         * objects/UML/pixmaps/actor.xpm:
17402         * objects/UML/pixmaps/case.xpm:
17403         New files. Implements usecase and actor UML objects.
17404         These objects are done by Alejandro Aguilar Sierra
17405         <asierra@servidor.unam.mx>.
17406         
17407         * objects/UML/Makefile.am:
17408         * objects/UML/pixmaps/Makefile.am:
17409         Added usecase and actor to makefile.
17410         
17411         * AUTHORS:
17412         Added Alejandro and Jerome to autors list.
17413         
17414 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
17416         * objects/UML/class.c (umlclass_load):
17417         Fixed typo. Reported by Jerome.Abela@solsoft.fr
17419 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
17421         * app/properties.c:
17422         Update connections when doing apply in the properties window.
17424         * objects/UML/uml.[ch]:
17425         * objects/UML/class.[ch]:
17426         * objects/UML/class_dialog.c:
17427         Added connection points on both sides of attributes and
17428         operations in UML classes.
17429         Based on idea from Jerome.Abela@solsoft.fr
17430         
17431 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
17433         * README:
17434         Some new documentation about handles and connectionpoints.
17435         
17436         * lib/object.[ch]:
17437         Added functions object_add_connectionpoint and
17438         object_remove_connectionpoint for handling a dynamic
17439         number of connectionpoints.
17441         * objects/UML/class.c:
17442         Only reserve space for stereotype when it is shown.
17444         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
17446 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
17448         * app/connectionpoint_ops.c:
17449         * app/commands.c:
17450         * app/disp_callbacks.c:
17451         * app/display.[ch]:
17452         * app/grid.c:
17453         * app/handle_ops.c:
17454         * app/magnify.c:
17455         * app/modify_tool.c:
17456         * app/render_gdk.[ch]:
17457         * lib/render.h:
17458         Huge cleanup of internal rendering system.
17459         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
17460         This gives a few new methods for Interactive Renderers for setting
17461         clipping regions and drawing pixel based lines and rects.
17462         Updated the rest of the code to use the new stuff.
17463         
17464         * app/render_eps.c:
17465         Fixed warning.
17467         * lib/widgets.c:
17468         * objects/standard/zigzagline.c
17469         Fixed unused variable warnings.
17471         * lib/font.c:
17472         Fixedbug with stringwidth where width==0.
17474         * TODO:
17475         Added known bug.
17477 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
17479         * lib/widgets.[ch]:
17480         Added suppot for setting the font of a
17481         DiaFontSelector widget.
17482         Also fixed some typos in the header.
17484         * lib/object.h: 
17485         Added a comment about the GetPRoperties method call.
17486         You have to make sure to update widget state when
17487         this method is called. (Not all objects do this yet,
17488         to be fixed.)
17490         * TODO:
17491         Some small updates
17493 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
17495         * lib/font.c
17496         Fixed problem with height of ascent and descent for fonts.
17497         It didn't use the whole height (==ascent+descent) when calculatine
17498         ascent_ratio and descent_ratio.
17500         * objects/standard/textobj.c:
17501         * objects/standard/box.c:
17502         * objects/standard/ellipse.c:
17503         * objects/standard/line.c:
17504         * objects/standard/arc.c:
17505         Updated and added property dialogs for these objects.
17506         Also added line width/color/style to those objects
17507         that didn't have it.
17508         This change breaks fileformat compatibility for these objects.
17509         
17510         * objects/standard/zigzagline.c:
17511         Changed zigzagline to be based on OrthConn, much nicer.
17512         Also added line style and color to properties.
17513         This change breaks fileformat compatibility for zigzagline.
17515         * lib/message.c:
17516         Fixed bug in message(). Forgot a pair of '&'.
17518 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
17520         * lib/widgets.[ch]:
17521         Added DiaColorSelector widget.
17522         This is a colored button that pops up a color selection
17523         dialog when pressed.
17525 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
17527         * lib/widgets.[ch]:
17528         * lib/Makefile.am:
17529         New files, added widgets for selecting fonts, alignment
17530         and line-style. Will be used later.
17532 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
17534         * app/Makefile.am:
17535         * lib/Makefile.am:
17536         * objects/UML/Makefile.am:
17537         * objects/network/Makefile.am:
17538         * objects/standard/Makefile.am:
17539         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
17540         in all Makefile.am.
17542 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
17544         * app/handle_ops.c (handle_draw):
17545         connected HANDLE_MINOR_CONTROL also becomes red.
17547 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
17549         * Makefile.am:
17550         removed -ldl from linking. This is added if needed by configure.
17552         * app/app_procs.c:
17553         Open dlls with RTLD_LAZY if it is defined.
17554         Some cleanups: char *error -> const char *error
17555         Added fprintf()'s to where we exited because of errors.
17557         * lib/files.c:
17558         Include <sys/types.h>
17560 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
17562         * acconfig.h:
17563         * configure.in:
17564         * app/app_procs.c:
17565         Detect dlopen better.
17566         Detect wether dlopen needs an underscore in the identifier.
17567         This code was mostly borrowed from guile.
17569         * lib/sheet.[ch]:
17570         * app/app_procs.c:
17571         * objects/standard/standard.c:
17572         * objects/network/network.c:
17573         * objects/UML/uml.c:
17574         * most objects:
17575         Changed the way sheets reference objects to use just the
17576         name. Changed module loading to a two stage model:
17577         First register_objects() is called for all modules.
17578         Then register_sheets() is called. This means that
17579         sheets can safely include objects from other modules.
17580         
17582 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
17584         * objects/network/bus.c:
17585         * objects/network/network.c:
17586         * objects/network/Makefile.am:
17587         New file bus.c. Added new object: Ethernet bus.
17589         * objects/standard/box.c:
17590         Added call to gtk_spin_button_set_numeric for linewidth spinner
17591         in property dialog.
17593 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
17595         * app/connectionpoint_ops.c:
17596         * app/create_object.c:
17597         * app/group.c:
17598         * app/handle_ops.c:
17599         * app/modify_tool.c:
17600         * lib/connection.c:
17601         * lib/element.c:
17602         * lib/handle.h:
17603         * lib/object.c:
17604         * lib/orth_conn.c:
17605         * loads of objects:
17606         Changed handle->connectable to handle->connect_type.
17607         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
17608         that their connections don't break when moving objects.
17610         * app/diagram.c:
17611         Always select the last handle in an object that has
17612         the closest distance.
17613         
17614         * lib/geometry.[ch]:
17615         Added rectangle_add_point function.
17616         
17618 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
17620         * app/properties.[ch]: New files. Handles the new properties
17621         dialog.
17623         * app/modify_tool.c: Changed to use new properties dialog.
17625         * app/object_ops.[ch]: Removed object_changed_callback, as it's
17626         not needed anymore. This is now handled differently in
17627         properties.c
17629         * lib/object.[ch]:
17630         Changed the properties ops for objects. Removed typedefs
17631         ChangedObjectTime and ObjectChangedFunc needed for the old way.
17632         Added object_return_null function.
17633         
17634         * app/group.c:
17635         * lib/render_object.c:
17636         * objects/*/*.c:
17637         Changed objects to use the new properties dialog.
17638         
17640 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
17642         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
17643         builddir.
17645         * autogen.sh: New file. Copied from gtk and added a call to
17646         libtoolize. Anyone knows why this isn't done in gtk?
17648         * Removed autogenerated files.
17650 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
17652         * Added call setlocale(LC_NUMERIC, "C") so that formating of
17653           floating-point numbers in postscript output will be correct.
17654         * Did some cleanup of generated postscript files.