2003-02-01 Hans Breuer <hans@breuer.org>
[dia.git] / ChangeLog
blob19da709941fffed17a4b439721980dc4de7dc5c8
1 2003-02-01  Hans Breuer  <hans@breuer.org>
3         * app/preferences.c app/pagesetup.c :
4         the last two dialogs with 'old' button order finally
5         are converted to gtk2, no GnomeDialog in all of Dia 
6         anymore :-) 
8 2003-02-01  Hans Breuer  <hans@breuer.org>
10         * app/filedlg.c : don't try to use a button as
11         'overwrite-file-dialog'-parent, use the FileSelDialog
12         instead
14         * plug-ins/pixbuf/pixbuf.c : make it work with 
15         system-visual-depth < 24. Remove 'bmp' from output
16         format extensions, it just was wishful thinking.
18         * plug-ins/python/Makefile.am : added the four new python 
19         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
21 2003-02-01  Hans Breuer  <hans@breuer.org>
23         * NEWS : updated content beside dependencies
25 2003-02-01  Hans Breuer  <hans@breuer.org>
27         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
28         to make it useable across DLL boundaries
29         * app/lineprops_area.c : same code to access arrow_types
30         on all platforms
32         * objects/UML/class.c : the non empty string is e.g.
33         comment != NULL && comment[0] != '\0'
34         * objects/UML/uml.c : same here, don't bother with
35         empty operation stereotypes
37 2003-02-01  Steffen Macke <sdteffen@web.de>
39         * app/lineprops_area.c: latest changes do not work on
40         windows, using old code without tooltips
41         * makefile.msc: fixed copying of wmf.dll
42         * plug-ins/makefile.msc: 
43         * app/makefile.msc:
44         * lib/makefile.msc: now linking libintl
45         * config.h.win32: enabling native language support
47 2003-01-31  Daniel Yacob  <locales@geez.org>
49         * configure.in: Added am (Amharic) to ALL_LINGUAS.
51 2003-01-31  Steffen Macke <sdteffen@web.de>
53          objects/UML/class.c (umlclass_calculate_data): fixed crash
54          when comments were visible, no class comment available and
55          a attribute comment
56          
57 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
59         * RELEASE-PROCESS: Updated to fit new install-module syntax.
60         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
61         with DIA_0_91_PRE1.
63 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
65         * config.h.win32: 
66         * NEWS: 
67         * configure.in:
68         * dia.spec:
69         Prerelease version changes, version 0.91-pre1.
71         * app/sheets_dialog_callbacks.h: 
72         * app/sheets_dialog_callbacks.c: 
73         * app/sheets_dialog.c (create_sheets_main_dialog): 
74         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
75         to handle destruction of main dialog cleanly, but it's a mess.
77         * configure.in: Downgraded ieeefp test to make it not produce
78         illegal shell code.
80         * lib/widgets.c (dia_arrow_selector_set_arrow): 
81         (dia_line_style_selector_set_linestyle): Select menu dot
82         correctly set.
84         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
85         adjustment for diamondheads.
87         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
89         * app/properties.c (create_dialog): Destroy properties dialog and
90         box correctly.
92         * app/sheets_dialog_callbacks.c
93         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
94         if the old one is destroyed.
96 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
98         * app/export_png.c (export_png_ok): Added info on resolution.
99         Should (next release) improve export dialog to allow setting
100         resolution instead of pixels.
102         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
103         to generate arrowheads as well as tooltips.
105         * lib/arrows.c: Added hollow diamond to menudesc list.
107         * lib/arrows.[ch]: 
108         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
109         unify with rendered menu.
111         * lib/diarenderer.c (draw_line_with_arrows)
112         (draw_polyline_with_arrows, draw_arc_with_arrows)
113         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
114         without changing renderer API.  Thanks to David Scherba for
115         providing inspiration.
117 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
119         * app/interface.c (create_display_shell):
120         * app/display.h: Patching from Hubert Figuiere
121         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
122         correct menu items.
124 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
126         * app/defaults.c (defaults_show): Fixed defaults closing bug.
127         Thanks to Hans for pointing it out.
129 2003-01-25  Hans Breuer  <hans@breuer.org>
131         * app/commands.c : don't warn about crashing libart renderer
132         on win32. It simply doesn't render text anymore :-(
134         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
136         * objects/UML/class.c : don't access umlclass->properties_dialog
137         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
138         which sets the former to NULL by destroy_properties_dialog() callback.
140         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
142         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
144         * plug-ins/python/pydia-image.c : add image.uri member
145         not only useful for SVG rendering
147         * plug-ins/python/diasvg.py : (new file) a more advanced
148         example. A full blown SVG Renderer, currently only
149         registered for .svgz
151         * plug-ins/python/export-object.py : write text props
153         * plug-ins/python/debug_objects.py : write prop.type and
154         prop.visible 
156 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
158         * objects/UML/association.c (association_update_data): Better
159         bounding box for assoc with arrows.
161         * lib/properties.h: New flag for properties with multiple values
162         in groups.
164         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
165         arrow updating in dialog.  Was broken due to changes from destroy
166         fix:(
168         * app/commands.c (view_aa_callback): AA warning only for Windows
169         -- I trust the Unix side well enough.
171         * app/render_libart.c (get_text_width): 
172         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
173         font height can be taken from parent instance.
175         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
176         (get_text_width): Proper cursor positioning for libart renderer.
177         Ought to have a DiaInteractiveRenderer that these two can inherit
178         from, that knows about transform.
180 2003-01-25  Steffen Macke <sdteffen@web.de>
182         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
183         plug-in still not working on win32
184         
185 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
187         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
188         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
189         thought.
191 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
193         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
194         bail out on gtk options.
196         * lib/message.c (gtk_message_internal): Better handling of destroy
197         event.
199 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
201         * app/color_area.c (color_area_edit): 
202         * lib/widgets.c (dia_file_selector_browse_pressed) 
203         (dia_color_selector_pressed): 
204         * app/plugin-manager.c (get_plugin_manager): 
205         * app/filedlg.c (file_open_callback, file_save_as_callback) 
206         (file_export_callback):
207         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
208         handling of destroy event.
210 2003-01-22  Alan Horkan <horkana@tcd.ie>
212         * app/commands.c (file_new_callback): Changed Untitled to Diagram
213         for default name.
215 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
217         * app/preferences.c (prefs_create_dialog): 
218         * app/linewidth_area.c (linewidth_create_dialog): 
219         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
220         * app/layer_dialog.c (create_layer_dialog)
221         (layer_dialog_edit_layer): Correct handling of destroy signal. 
223         * app/diapsft2renderer.c (set_font): Adjust silly random factor
224         for change in font.c
226         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
228         * lib/font.c (dia_font_build_layout): Let's all use the same weird
229         factor here.
231         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
232         * app/layer_dialog.c (create_layer_dialog) 
233         (layer_dialog_edit_layer): 
234         * app/filedlg.c (file_open_callback, file_save_as_callback) 
235         (file_export_callback): 
236         * app/dia-props.c (create_diagram_properties_dialog): 
237         * app/defaults.c (defaults_dialog_destroyed): 
238         * app/color_area.c (color_area_edit): Dialog destroy event handling.
240 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
242         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
243         defaults dialog destroyed.
245 2003-01-19  Steffen Macke <sdteffen@web.de>
247         * objects/makefile.msc: added bondgraph
248         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
249         to compile pixbuf.dll
250         * makefile.msc: copying all objects and dlls now
251         
252 2003-01-19  Hans Breuer  <hans@breuer.org>
254         * app/diagram.[hc] : provide dia_open_diagrams(), make
255         open_diagrams variable static
256         * app/dia.def : export it (to be used by PyDia)
257         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
258           app/display.c app/dynamic_refresh.c app/layer_dialog.c
259           app/load_save.c : make use of dia_open_diagrams()
261         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
262         on win32. It removes the diagram window from the taskbar and
263         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
265         * app/menus.c : add '...' to menu entries where a dialog 
266         gets invoked
267         * app/recent_files.c app/dia_embedd.c : reflect the above in 
268         menus_get_item_from_path() calls
270         * lib/libdia.def : add dia_image_rgba_data
272         * lib/properties.h lib/prop_text.[hc] : add new property
273         type StringList
274         * objects/UML/class.[hc] object/UML/class_dialog.c : use
275         StringList for attributes_strings and operations_strings to
276         make this calculated data accessible via the Property API
278         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
279         provide dia.new() to create a new diagram, dia.registered_types()
280         to get on Dia's type registry, dia.message() for simple dialogs
282         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
283         to create a new display from a diagram. Let diagram.extents and
284         diagram.bg_color return the same types as in diagramdata.*
286         * plug-ins/python/pydia-geometry.c : add a read-only 
287         'sequence interface' to DiaPoint and DiaRectangle
289         * plug-ins/python/pydia-property.c : allow to get on StringList
290         from Python
292         * plug-ins/python/pydia-render.c : fix typo to make it compile
294         * plug-ins/python/python-startup.py : removed 'import pygtk'
295         again. This file does not need any gtk UI, and some python
296         plug-ins don't do either
298         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
299         it should actually work as intended again
301         * plug-ins/python/group_props.py : (new file) a prototype for
302         one the most requested features: Change properties of selected
303         objects in one step. Requires pygtk.
305         * plug-ins/python/select_by.py : (new file) select objects by 
306         common properties. Requires pygtk.
308         [Start of 'PyDia Self Documentation Series']
310         * plug-ins/python/pydiadoc.py : (new file) generates a new 
311         diagram which contains all objects of dir(dia)
312         
313         * plug-ins/python/otypes.py : (new file) generates a new diagram 
314         which contains all the currently registered object types sorted 
315         by their containing package
317 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
319         * configure.in: Added check for Pango >= 1.1.5, which appears to
320         be enough to have text work.
321         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
322         do it.  AC_SUBST should be idempotent, though.
324 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
326         * configure.in (HAVE_FREETYPE): Better test for freetype version
327         using neat macro.
328         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
330         * lib/font.c: Renamed global_size_one to global_zoom_factor to
331         avoid confusion, and added comment.  Set scale factor in
332         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
333         my weird scaling problems.  Fonts are now of the expectable size,
334         i.e. the space between lines at size 1.0 is 1.0.  If we want a
335         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
336         diagrams, though there will always be differences.
338 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
340         * plug-ins/python/python-startup.py: 
341         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
343         * plug-ins/python/python.c (dia_plugin_init): Added warning
344         message for missing startup file.
346         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
347         
348         * lib/dia_image.c (dia_image_rgb_data): 
349         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
350         involving EPS.  Can't do transparency in EPS yet.
352         * lib/dia_image.h: 
353         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
354         data as one chunk.  Documentation for the RGB data getting funcs.
355         (dia_image_rgb_data): Added comment.
357         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
358         (bug #103565)
360 2003-01-13  Steffen Macke <sdteffen@web.de>
362         * lib/dia_image.c: dia_image_rgb_data() is working for
363         non-alpha images now. Fixes #93762
364         * Makefile.am: added makefile.msc to EXTRA_DIST
365         
366 2003-01-10  Steffen Macke <sdteffen@web.de>
368         * app/paginate_psprint.c: Closing print dialog when file
369         could not be written. Fixes #84746
370         
371 2003-01-04  Steffen Macke <sdteffen@web.de>
373         * doc/custom-shapes: incomplete description of <svg:text>
375 2003-01-03  Steffen Macke <sdteffen@web.de>
377         * makefile.msc(new): new makefile to create file
378         structure suitable for running dia win32 under
379         $(TOP)/dia/build/win32
380         
381 2003-01-02  Steffen Macke <sdteffen@web.de>
382         
383         * lib/dia_svg.c: including stdlib.h
384         * lib/makefile.msc: added gdk_pixbuf libs to linker
385         * app/makefile.msc: added gdk_pixbuf libs, made libart
386         libs compatible with gnuwin32 package
387         
388 2003-01-01  Hans Breuer  <hans@breuer.org>
390         * lib/font.c : more comment about global_size_one
392         * app/menus.c : <control>[<shift>]A for plain gtk build too.
394         * plug-ins/wmf/wmf.cpp : some type juggling to make 
395         msvc7 happy
397 2002-12-31  Steffen Macke <sdteffen@web.de>
399         * app/makefile.msc: added hint on how to enable console output
400         
401 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
403         * objects/standard/textobj.c (textobj_load): Get the handle type
404         right, at least to be the same as when created.
406 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
408         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
410 2002-12-08  Hans Breuer  <hans@breuer.org>
412         * app/commands.c : fixed bug #85315 'give diagram properties, 
413         instead of no object selected error' almost a one-liner
415         * app/splash.c : don't make having the logo pixmap
416         mandatory. Fixes bug #96068. 
418         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
419         sequence by connecting to the "delete_event"
420         * app/objects/uml/class_dialog.c : handle "destroy" for 
421         the same reason.
423         * lib/libdia.def : remove diaXmlNewChild again
425         * app/paginate_gdiprint.cpp : reflect Dia's page setting
426         portrait/landscape in the windoze print dialog
428         * objects/makefile.msc : only UML needs to link against
429         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
431 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
433         * objects/standard/ellipse.c (ellipse_distance_from): 
434         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
435         correct distance function.  Could be faster, but it's not really
436         essential. 
438 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
440         * lib/font.c: Changed global_size_one to more correct 28.35.
441         Looks better, too.
443         * app/load_save.c:
444         * lib/dia_xml.h: 
445         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
446         after all.
448 2002-12-07  Hans Breuer  <hans@breuer.org>
450         * lib/widgets.c : g_file_get_contents() silently assumes
451         a binary file. Reflect when creating the font_menu file
452         to get rid of junk in font menus
454 2002-12-06  Hans Breuer  <hans@breuer.org>
456         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
457         removed 0xD 0xD 0xA line ends which get created by
458         cvs if windoze line ends 0xD 0xA are checked in from
459         *nix and checked out on win32.
461         * app/preferences.c : changed toolbox_on_top default to
462         false. It is currently not possible to change the behaviour
463         at runtime, at least not on win32.
465         * lib/dialibartrenderer.c : bug #94791 'rendering to 
466         bitmap without PangoFt2' got delayed to milestone future 
467         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
468         It is not available without my Pango patch in bugzilla.
470         * lib/font.c : added comment to global_size_one and adapt
471         the arbitrary size scaling in dia_font_build_layout() for
472         win32, too. This is needed to get an acceptable font size 
473         approximation for Dia 0.90 and earlier files.
474         Also #include "message.h".
476         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
477         reflect movement of group.[hc]
478         * lib/group.h : export group_type which gets used by app/*
480         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
481         to get the GtkTypeInfo definition
483         * plug-ins/makefile.msc : dxf and xfig don't need to link
484         against app/ anymore now that group is moved to lib/
486         * plug-ins/python/pydia-render.c : remove massive leaking
487         of self, i.e. PyDiaRenderer
489         *  plug-ins/python/makefile.msc : remove linking against
490         GTK libs
492 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
494         * objects/standard/line.c: Removed properties options for gaps,
495         until release is done.
497         * configure.in: Check for freetype version.
499         * lib/text.c (text_insert_char): Fixed small buffer overflow for
500         length = 0.
502         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
504         * app/diapsft2renderer.h: 
505         * app/diapsft2renderer.c: 
506         * app/diapsrenderer.h: 
507         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
509         * app/render_eps.c (export_eps, new_psprint_renderer): Using
510         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
512         * lib/properties.h: Fixed bad frame end def.
514         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
516         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
517         
518         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
520 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
522         * lib/font.c: Now checking for the proper dia-style standard fonts.
524         * lib/Makefile.am: 
525         * app/Makefile.am: Moving group.[ch]
527         * plug-ins/dxf/dxf-import.c: 
528         * plug-ins/xfig/xfig-import.c: 
529         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
531         * app/object_ops.c: 
532         * app/object_ops.h: 
533         * lib/object.c (object_list_move_delta, object_copy_list): 
534         * lib/object.h: Moved some object-related functions from
535         object_ops to object to assist moving group.c.
537         * lib/diatypes.h: Added Group typedef.
539         * lib/group.h: 
540         * lib/group.c: Moved from app to lib to a) resolve plug-ins
541         references, and b) make groups more "real" objects.
543         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
545 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
547         * lib/font.c (dia_font_init): Added check that the three standard
548         fonts exist.
550 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
552         * lib/dia_xml.[ch]:
553         * app/load_save.c: Linebreaks in dia files, no indentation.
554         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
555         this. 
556         
557         * objects/standard/line.c: Small but important fixes to the line
558         gap code.
560         * lib/dia_xml.h: 
561         * lib/dia_xml.c (diaXmlNewChild): 
562         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
563         XML prettyprinting wrapper.
565 2002-12-03  Steffen Macke <sdteffen@web.de>
567         * shapes/Cisco/Makefile.am:
568         * shapes/Cisco/*.shape: finished conversion of Cisco icons
569         to *.png
570         
571 2002-12-02  Steffen Macke <sdteffen@web.de>
573         * doc/en/Makefile.am:
574         * doc/en/usage-objects.sgml:
575         * doc/en/graphics/line_icon.png: (new) added line icon
576         
577 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
579         * objects/standard/line.c: Binary search object edge line gap.
581 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
583         * configure.in: Added Cisco makefile, sorted Makefiles list.
585         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
587         * configure.in: Now checks for availability of PangoFT2 and
588         FreeType, raising an error if not found.
590         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
591         Hans.
593 2002-12-01  Steffen Macke <sdteffen@web.de>
594         
595         * doc/en/usage-loadsave.sgml: updated information on import
596         and export formats
597         
598 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
600         * app/commands.c (edit_copy_callback): Freeing copy_list.
602 2002-11-28  Steffen Macke <sdteffen@web.de>
603         
604         * app/render_libart.c: art_config.h was included twice
606 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
608         * sheets/.cvsignore: More ignorance.
610         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
612         * lib/prop_widgets.h: Two (currently unused) settings for frame
613         foldability.
615         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
616         (by default) foldable. 
618         * lib/propinternals.h: 
619         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
620         widgets in a more controlled manner.
622         * objects/standard/line.c (line_update_data): Line gap things
623         inserted.  Can do xeyes now:)
625 2002-11-26  Christian Neumair  <chris@gnome-de.org>
627         * .cvsignore: Changed.
628         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
629         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
630         Added.
632 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
634         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
636         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
637         passing to font hash.
639         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
640         utf-8 or locale-convertible before adding to dialog text.  This
641         probably needs done in a number of places where we get text from
642         the environment and send it to GTK to display.
644         * lib/widgets.c: Fixed case problems for font menu entries.
646         * objects/SADT/annotation.c: Don't run the event test (but leave
647         it here for inspiration).
649         * lib/widgets.c: 
650         * lib/widgets.h: Allowing setting preview text for fonts.
652 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
654         * objects/bondgraph/Makefile.am: 
655         * objects/bondgraph/bondgraph.c: 
656         * configure.in: 
657         * objects/Makefile.am: Added bond graph dir.
659 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
661         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
663 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
665         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
666         positioning. 
668         * app/diapsrenderer.c: Freetype rendering is back in force.
670         * app/disp_callbacks.c: Added missing updates for pre-text-change.
672 2002-11-25  David Hoover <jazzdaq@yahoo.com>
674         * app/render_libart.c: Added missing #include line for libart.
676         * lib/geometry.h:
677         * lib/geometry.c: Added point_convex function.  This computes
678         points inside a line segment (0 <= alpha <= 1) or outside the
679         line segment (alpha < 0 | alpha > 1).
681         * objects/standard/line.c: Line now has additional code/attributes
682         which permit the line to extend past the line anchors (gap < 0) or
683         leave a gap without reaching the anchor (gap > 0).  If no gap is
684         specified, the default gap of 0 will result in identical line
685         behavior as before.  If the 'fractional' attributes are TRUE, the
686         gap length is not fixed, but a percentage of the line length.  I
687         did not know how create the GTK widgets so the gap code currently
688         cannot be used without adding XML attributes by hand.
690 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
692         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
694         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
696 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
698         * lib/font.c: Debugging functionality in separate functions.
700         * lib/widgets.c: Using fontsel with context.
702         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
704         * objects/custom/custom_object.c: Orientation handling for shapes,
705         patch thanks to Martin Hans <opfinder@gmx.net>.
707         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
708         work on even better orientation handling.
710         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
711         casting NULL pointers.  Should be unnecessary in an upcoming GTK
712         release. 
714 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
716         * lib/font.h:
717         * lib/font.c:
718         * lib/widgets.c: Now uses correct context to get font families.
720         * lib/diagdkrenderer.c (get_text_width, draw_string): 
721         * lib/dialibartrenderer.c (draw_string): 
722         * lib/font.h: 
723         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
724         (dia_font_build_layout): Unified the twiddle factors into a use of
725         global_size_one.  But I deeply distrust Pango for seeming to
726         change size of fonts every time I turn my back.
728         * app/display.c: 
729         * app/diagram.c: 
730         * app/menus.c:
731         * app/menus.h: Updated some more methods to also be more specific
732         on the types.
734         * app/menus.h:
735         * app/recent_files.c: 
736         Changed to return most specific type, to avoid run-time type errors.
738         * app/menus.c (menus_get_item_from_path): Non-gnome version now
739         gets menu_item rather than widget, which works better.
741 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
743         * app/display.c: (new_display):
744         * app/menus.c: (menus_get_item_from_path):
745         Relying on the tearoff to locate the input methods menu wasn't a
746         good idea: tearoffs seem to be an endangered species nowadays.
747         Anyway, the IM menu seems to be working now.
749         * app/interface.c: hinted the window manager that the toolbox window
750         is a toolbox window. Not that my (fairly default configuration)
751         sawfish cares, but other NETWM compliant WMs may.
753         * app/commands.c: 
754         * app/defaults.c: 
755         * app/dia-props.c:
756         * app/filedlg.c: 
757         * app/interface.c: 
758         * app/layer_dialog.c: 
759         * app/linewidth_area.c: 
760         * app/properties.c: 
761         * app/sheets_dialog.c: 
762         * app/splash.c: 
764         The GTK doc says to avoir gtk_window_set_wmclass() and 
765         gtk_window_set_policy(), and use gtk_window_set_role() and
766         gtk_window_set_resizable(), respectively.
767         
768         * app/preferences.c: (prefs_create_dialog):
769         * app/preferences.h:
770         * app/display.c: (display_set_active):
771         Added a preference to have the toolbox hover over diagram windows.
772                 
773 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
775         * lib/diagdkrenderer.c (get_text_width, draw_string):
776         Freetype-based string drawing now works.  Not very fast, though.
777         I wish I could use the graphics card for this:(  I'm doing three
778         bitmap loops where I should be doing one.  The size is not correct
779         either, despite having get_text_width give the right thing.
781 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
783         * app/connectionpoint_ops.c (diagram_update_connections_object):
784         Allows more than one connectionpoint on an object to be moved at a
785         time (bug #96306).
787 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
789         * configure.in: Added cs to ALL_LINGUAS.
791 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
793         * app/paginate_psprint.c: Removed unnecessary decl of autosave
794         stuff.
796         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
798         * app/export_png.c (export_png_ok): Saving more variables from the
799         evil setjmp.
801 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
803         * lib/dialibartrenderer.c (begin_render):
804         (end_render): Correct pushing and popping of font contexts.
805         (draw_string): Double zooming eliminated, strange twiddle factor
806         introduced (grumble).  Close to working now, but there are still
807         strange differences from font to font.  In particular, some fonts
808         really mess with the cursor and extents.
810         * app/render_eps.c (export_eps): 
811         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
812         Fixed file closing confusion, no longer dependent on PS/EPS.
814         * app/diagram.c (diagram_place_down_selected) 
815         (diagram_place_up_selected): Now implemented.
817         * lib/font.c (dia_font_init): 
818         * lib/font.h: 
819         Redesigned the font init/context pushing code.  Start of fix for
820         font name differences.
821         
822 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
824         * app/sheets_dialog_callbacks.c: Fix a typo.
825         
826 2002-10-15  Hans Breuer  <hans@breuer.org>
828         * app/diapsrenderer.[hc] : (new files, old content :-)
829         simple base class for post script rendering. Does neither 
830         use Pango/FT2 nor does it handle non latin1 characters. 
831         The fancy stuff which nowadays appears to be needed should 
832         probably be done in derived class(es)
834         * app/makefile.msc app/Makefile.am : added new files
836         * app/paginate_psrint.c : re-enabled and used as test
837         for the simple ps renderer above.
839         * app/render_eps.[hc] : ripped out common ps code and
840         moved to DiaPsRenderer. The rest of the file is mostly
841         disabled. And I don't understand enough of it to 
842         change port it.
844         * app/diaepsrenderer.h : short lived, removed.
846 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
848         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
849         as a plugin (thanks to Torben Nielsen).
851 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
853         * app/diaepsrenderer.h: 
854         * app/render_eps.h: 
855         * app/paginate_psprint.c: 
856         #ifdef'd out enough ps stuff to allow compile.  Now we just need
857         to convert it.
858         
859 2002-10-12  Hans Breuer  <hans@breuer.org>
861         [last plug-in ported]
863         * plug-ins/xfig/xfig-export.c : ported to new renderer api
865         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
866         scale color values to [0..1.0] to properly reconstruct
867         user colors
869         * plug-ins/xfig/xfig-common.c : some cleaning
871 2002-10-12  Hans Breuer  <hans@breuer.org>
873         [decrease inter-plug-in-dependencies]
875         * objects/custom/shape_info.[hc] : move parse_style()
876         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
877         the related structs and constants.
878         * objects/custom/custom_object.c : reflect namespace
879         changes
881         * lib/dia_svg.[hc] : new files
882         * lib/makefile.msc lib/Makefile.am : add new files
883         * lib/libdia.def : updated externals
885         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
887         * plug-ins/svg/svg.c : enable svg import for win32 (and
888         probably for other non ELF builds)
890         * plug-ins/makefile.msc : enable svg import
892 2002-10-11  Hans Breuer  <hans@breuer.org>
894         * plug-ins/metapost/render_metapost.[hc] : ported
896         * plug-ins/pstricks/render_pstricks.[hc] : dito
898 2002-10-11  Hans Breuer  <hans@breuer.org>
900         * plug-ins/cgm/cgm.c : ported, appears to work as before,
901         but graphic apps available to me can't import the generated 
902         files (the could not with Dia-0.90 cgm as well) ...
904         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
905         Removed all those function which did emulate 'complex' 
906         drawing ops with basic ones (e.g. rect by line) cause this
907         stuff is already provided by the base class
908         * plug-ins/dxf/dxf-import.c : removed render.h include
910         * plug-ins/python/pydia-font.[hc]
911           plug-ins/python/pydia-text.c : finally ported to new font api
913         * plug-ins/python/pydia-layer.c : add extra parameter
914         to layer_find_closest_connectionpoint()
916         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
918         * plug-ins/python/python.c : added missing copyright notice
920         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
921         actually use the renderers set_font implementation
923         * plug-ins/renderer.inc : unused now, removed
924         * plug-ins/Makefile.am : reflect it
926 2002-10-08  Hans Breuer  <hans@breuer.org>
928         * app/render_gdk.c : don't add the InteractiveRenderer
929         interface multiple times (it's added to the type, not
930         the object)
931         * app/render_libart.c : dito. It's currently added
932         unconditional cause eport_png uses it, but claims
933         to be non-interactive. Probably set_size should be moved
934         to the DiaRenderer interface.
936         * lib/dialibartrenderer.c : add implementations for
937         get_<width|height>_pixels. Libart rendering works again.
938         DiaLibartRenderer::draw_image : use dia_image_rowstride()
939         instead of width*3
941         * lib/diatransform.c(dia_transform_coords_double) :
942         don't ROUND() the returned values
944         * plug-ins/pixbuf/pixbuf.c : added import function. It
945         simply creates a wrapping "Standard - Image" object.
947         * plug-ins/shape/shape-export.c : use the more direct
948         method to call base class methods
950 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
952         * lib/font.c (dia_font_init): Changed dia_font_init to return old
953         pango context, to allow stacked contexts (for printing while
954         antialiased).
955         
956         * lib/arrows.h
957         * lib/bezier_conn.h
958         * lib/beziershape.h
959         * lib/boundingbox.h
960         * lib/color.h
961         * lib/connection.h
962         * lib/connectionpoint.h
963         * lib/create.h
964         * lib/dia_image.h
965         * lib/diagdkrenderer.h
966         * lib/diagramdata.h
967         * lib/dialibartrenderer.h
968         * lib/diamenu.h
969         * lib/diarenderer.h
970         * lib/diasvgrenderer.h
971         * lib/diatransform.h
972         * lib/element.h
973         * lib/filter.h
974         * lib/focus.h
975         * lib/font.h
976         * lib/geometry.h
977         * lib/handle.h
978         * lib/neworth_conn.h
979         * lib/objchange.h
980         * lib/object.h
981         * lib/orth_conn.h
982         * lib/paper.h
983         * lib/plug-ins.h
984         * lib/poly_conn.h
985         * lib/polyshape.h
986         * lib/properties.h
987         * lib/ps-utf8.h
988         * lib/sheet.h
989         * lib/text.h
990         * lib/textattr.h
991         * lib/widgets.h
992         * lib/diatypes.h
993         Moved all externally visible struct typedefs into diatypes.h, as
994         per Hans' suggestions.
996 2002-10-07  Steffen Macke <sdteffen@web.de>
998         * lib/Makefile.am: removed a '\' causing problems
1000 2002-10-07  Hans Breuer  <hans@breuer.org>
1002         [Libart Renderer resurrected; almost it's compiling but
1003          almost instantly crashing :-]
1005         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
1006         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
1007         * lib/diatransform.[hc] : added dia_transform_coords_double()
1009         * app/display.c : the right parameters for new_renderer_libart()
1010         * app/export_png.c : ported, removed the blind Display hack
1012         * app/makefile.msc lib/makefile.msc 
1013           lib/Makefile.am : updated
1015         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
1017 2002-10-06  Hans Breuer  <hans@breuer.org>
1019         * plug-ins/pixbuf/pixbuf.c : (new file)
1020         there is a new export plug-in called 'Pixbuf' which uses 
1021         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
1022         formats (currently only PNG and JPEG).
1024 2002-10-06  Hans Breuer  <hans@breuer.org>
1026         See also: 
1027         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
1029         * lib/dia-enums.h lib/diatransform.[hc]
1030           lib/diarenderer.[hc] lib/diainteractiverenderer.c
1031           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
1032         : new files 
1034         * lib/makefile.msc lib/makefile.am : added new files
1036         * lib/plug-ins.c : g_module_error() returns a locale
1037         string, convert to utf8 before further usage 
1039         * lib/render.h : #error out. Everything including this
1040         needs porting
1041         * lib/*.[hc] : ported to new renderer api
1043         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
1044         just to make the rest compile
1045         * app/render_eps.c : temporary disabled all of this
1046         * app/render_eps.h : removed RendererEPS
1048         * app/render_gdk.[hc] : a small wrapper around the new
1049         DiaGdkRenderer form lib/*
1051         * app/render_libart.h : removed RenderLibart definition
1052         * app/render_libart.c : not yet ported to new DiaRenderer
1053         but having an implementation to untie form FT2 dependency
1054         at least on win32. It is using new Pango api form bug #94791
1056         * app/render_pixmap.[hc] : a small wrapper around the new
1057         DiaGdkRenderer form lib/*
1059         * app/display.h : removed render_*.h includes
1060         * app/display.c : the only place where specific 
1061         renderers need to be known
1063         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
1064         use new DiaInteractiveRenderer interface
1066         * app/*.c : ported to new renderer api
1067         * object/*/*.c : ported to new renderer api
1068         s/render.h/diarenderer.h/
1069         s/Renderer/DiaRenderer/
1070         s/renderer->ops/renderer_ops/
1071         add in every draw method:
1072         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
1074         * plug-ins/hpgl/hpgl.c : 
1075           plug-ins/wmf/wmf.cpp 
1076           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
1077         * plug-ins/shape/shape-export.c
1078           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
1079           (nice how small these files became :-)
1081 2002-09-28  Hans Breuer  <hans@breuer.org>
1083         * */makefile.msc : updated
1085         * app/defaults.c : don't gdk_invalidate_rect(NULL)
1086         * app/disp_callbacks.c : 
1087         can't cast GtkWindow to GdkWindow, use shell->window
1088         (ddisplay_unrealize) don't use already unrefed im_context
1089         * app/display.c :
1090         can't cast from GtkMenu to GtkMenuItem
1091         (ddisp_destroy) : mark im_context as unrefed
1093         * lib/dia_xml (data_font) : prefer new font format over old one
1094         (data_add_font) : write the legacy name to allow file exchange
1095         with pre Pango versions of Dia, which would otherwise crash 
1096         on missing font 'name' attribute.
1097         * lib/font.c (dia_font_get_legacy_name) : improved implementation
1098         to get a better match.
1100         * lib/libdia.def : updated
1102         * lib/messages.c : don't gdk_widget_show(NULL)
1104         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
1106         [make Dia compile, link _and_ work with mingw/gcc3.2]
1108         * config.h.win32 : #define LIBXML, this gets defined from libxml
1109         header but only for _MSC_VER. The mingw build did access an 
1110         unitialized function pointer for xmlFree.
1112         * */makefile.mingw : updated (some plug-ins have build issues)
1113         
1114         * lib/handle.h lib/object.h :   there appears to be no 
1115         forward declaration of the form 
1116                 typedef enum _HandleId HandleId 
1117         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
1118         use of enum `_HandleId' without previous declaration
1120         * app/paginate_gdiprint.cpp : added a hack to avoid g++
1121         naming conflict on 'export'
1123         * app/paginate_gdiprint.h : forward declare Diagram
1125         * objects/SADT/annotaion.c : use g_random_double()
1127 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1129         * app/modify_tool.c: Made motion not happen until sufficiently
1130         large or past double-click interval, to avoid accidental moving
1131         when doubleclicking.  Got the double-click time right, and fixed
1132         some issues with release.  There are some corner cases that may
1133         exhibit strange behaviour, will look at those later.  Nah, let's
1134         not care about those, they are rare and not dangerous.
1136 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
1138         * app/layer_dialog.c: 
1139         * app/load_save.c: 
1140         * plug-ins/dxf/dxf-import.c: 
1141         * plug-ins/python/pydia-diagram.c: 
1142         * lib/diagramdata.c:
1143         * lib/diagramdata.h:
1144         Improved the consistency of the obj->parent_layer backlinks (esp.
1145         during reloads)
1147         * lib/Makefile.am:
1148         * lib/dummy_dep.h:
1149         * lib/dynamic_obj.[ch] (NEW):
1150         * app/Makefile.am:
1151         * app/app_procs.c: 
1152         * app/dynamic_refresh.[ch] (NEW):
1153         * objects/Misc/analog_clock.c: 
1154         Added support for dynamic refresh (animated objects).
1155                 
1156 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
1158         Patch from Owen Taylor <otaylor@redhat.com>:    
1159         * doc/en/Makefile.am:
1160         * doc/en/dia-manual.sgml:
1161         * doc/en/usage-objects.sgml:
1162         * doc/en/usage-quickstart.sgml:
1163         * doc/pl/Makefile.am:
1164         * doc/pl/dia-manual.sgml:
1165         * doc/pl/usage-objects.sgml:
1166         * doc/pl/usage-quickstart.sgml:
1168         - Change the DTD declration from an outdated GNOME one to a
1169         standard DTD.
1170         
1171         - Remove close tags for <graphics> which aren't allowed for
1172         docbook SGML
1173         
1174         - A hacky fix for a problem where some versions of db2html don't
1175         create *.css files. (If *.css doesn't match anything, then you get
1176         the global explicitely.)
1178         (Closes: #92061)
1179         
1180 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
1182         * objects/custom/custom_object.c: 
1183         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
1184         were never properly prepared for use when reloading a shape with
1185         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
1186         reporting the problem and coming up with a fix! (Closes: #93974)
1188         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
1189         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
1191         * app/menus.c:
1192         * app/display.c: updated menu item paths Alan's patch had moved.
1193         
1194         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
1195         load the sheet-provided icon (libpng versions mismatch, grrr.).
1196         
1197         * configure.in:
1198         * objects/Makefile.am:
1199         * objects/Misc/Makefile.am (NEW):
1200         * objects/Misc/libmisc.c (NEW):
1201         * objects/Misc/analog_clock.c (NEW):
1202         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
1203         * sheets/Misc.sheet.in: just a little experiment...
1205 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
1207         * plug-ins/xlst/Makefile.am: found a way to silence automake while
1208         not forcing everyone to build using libxslt.
1210         * lib/font.c: 
1211         * lib/message.c:
1212         * lib/object_defaults.c:
1213         * lib/intl.[ch]:
1214         * lib/render.c:
1215         * lib/properties.[ch]:
1216         * lib/propobject.c:
1217         * objects/standard/box.c: 
1218         * objects/UML/state_term.c:
1219         * objects/FS/box.c:
1220         * objects/FS/flow-ortho.c:
1221         * app/app_procs.c:
1222         * app/autosave.c:       
1223         * app/commands.c:
1224         * app/diagram_tree.c:
1225         * app/display.c:
1226         * app/disp_callbacks.c:
1227         * app/export_png.c:
1228         * app/filedlg.c:
1229         * app/lineprops_area.c:
1230         * app/menus.c:  
1231         * app/preferences.c:
1232         * app/render_eps.c:     
1233         * app/sheets.c:
1234         * app/sheets_dialog_callbacks.c:
1235         * plug-ins/xslt/xslt.c:
1236         * plug-ins/metapost/render_metapost.c:
1237         * plug-ins/xfig/xfig-export.c:
1238         * plug-ins/shape/shape-export.c:
1239         
1240         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
1241         unused variables, mostly)
1243         * app/display.c:
1244         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
1246         * app/Makefile.am: modified run_dia.sh so that we recover the
1247         ability to run a debugger despite libtool's hacks.
1249         * plug-ins/dxf/Makefile.am: 
1250         * app/Makefile.am
1251         "make distcheck" fixes.
1252         
1253 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
1255         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
1256         <mfranzoni@madd.it>:  Check for the type being NULL.
1258 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1260         * app/render_eps.c (set_font): Re-tweaked font size for printing.
1262 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
1264         Patch from Angus Ainslie <angusa@deltatee.com>:
1265         * plug-ins/dxf/dxf-import.c:
1266         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
1268         (plus a couple extra fixes by me, such as the removal of printf's,
1269         adapting for recent changes, and killed a couple warnings) 
1271         * app/authors.h: a 60K patch isn't insignificant, is it?
1272         
1273 2002-09-09  Tor Lillqvist  <tml@iki.fi>
1275         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
1276         as before) and -lfreetype (using AC_CHECK_LIB). At least on
1277         Solaris with Sun's compiler (Forte C), you need to link also the
1278         dia application with -lfreetype, even if it is implicitly linked
1279         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
1280         which is what they actually mean. Use FREETYPE_LIBS for
1281         -lfreetype.
1283         Don't look for libsunmath if isinf() is not found in math.h (as on
1284         Solaris). The sunmath library is part of Forte C and not present
1285         on all machines. Besides, even if isinf was found in libsunmath,
1286         we didn't use it in the Makefile.am.
1287         
1288         Fix a couple of bashisms.
1290         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
1291         too, on Solaris with Forte C.
1293         Don't try to use the gcc flags with other compilers.
1294         DIA_CHECK_CFLAG gives a false indication that Forte C understands
1295         the gcc -f switches, but in fact they get interpreted meaning
1296         something completely different.
1298         Define the automake conditional HAVE_CGC.
1299         
1300         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
1302         Use -export-dynamic only with gcc.
1304         * */Makefile.am
1305         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
1306         PANGOFT2_CFLAGS rename.
1308         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
1309         
1310         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
1311         Solaris.
1313         * lib/paper.c: Workaround for gccism: Can't use inline this way with
1314         Forte C, either.
1316 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
1318         * lib/text.c(set_string): fixed a memory leak (char* ain't no
1319         std::auto_ptr<char> !).
1321         * app/display.[ch]:
1322         * app/interface.[ch]:
1323         * app/ddisp_callbacks.[ch]: Added some basic support for input 
1324         methods (GtkIMContext-based)
1326         * lib/Makefile.am:
1327         * app/Makefile.am: made libdia a shared object (per Tor
1328         Lillqvist's suggestion/request), to cope for platforms with a less
1329         than par dynamic library loader.
1331         * app/display.c: disabled the input method menu (I really don't
1332         see where and how to put them. Blame Frozen Bubble )
1333         
1334 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
1336         * objects/flowchart/box.c (box_update_data): Made resizing
1337         possible again (only set width & height when resized too small).
1339         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
1341         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
1342         GdkScrollEvents.
1343         
1344 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
1346         * app/authors.h: now showing Akira TAGOH's name in the native script.
1348 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1350         * plug-ins/xslt/xslt.c: Removed glib warning for unset
1351         DIA_PLUGIN_PATH.
1353 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
1355         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
1356         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
1357         sweep flag in arcs.
1359 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1361         * objects/UML/class.c: Fixed showing of empty stereotypes and got
1362         the string placed correctly.
1364 2002-08-30  Hans Breuer  <hans@breuer.org>
1366         * lib/font.c (dia_font_get_style) : don't shift already
1367         shifted DIA_FONT values.
1369         * lib/libdia.def : updated externals
1371         * app/disp_callbacks.c : on win32 GdkEventKey::string already
1372         is in UTF-8. (Longterm this probably should be handled on the
1373         gtk api level)
1375         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
1376         switch display renderers again. The libart renderer is very 
1377         useful for win9x with it's limited GDI.
1379         * app/render_gdk.c : use g_warning instead of printf which gets
1380         nowhere on win32 (non console apps)
1382         * app/render_libart.c : make it compile without FREETYPE
1384         * objects/makefile.msc plug-ins/makefile.msc : added clean target
1386 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
1388         * app/render_eps.c (postscript_draw_contour): Debugging statement
1389         that allowed me to figure out font problems.
1391         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
1392         items for font styles.
1394         * objects/FS/flow-poly.c: 
1395         * objects/FS/flow-ortho.c: 
1396         * objects/FS/flow.c: Further conversion away from GTK dialogs.
1397         Can't set a default label right now:(
1399         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
1401 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
1402         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
1404         * Makefile.am: rules relating to AUTHORS and THANKS
1405         altered.
1406         * AUTHORS: file content changed to more accurately
1407         reflect guideline requirements.
1408         * TODO: warning added about Gnome BTS.
1409         * KNOWN_BUGS: warning added about Gnome BTS.
1411         ---
1413         * AUTHORS: added full copyright info.
1414         * mkauthors-placeholder: (removed) 
1415         
1416 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
1418         * app/paginate_psprint.c (print_page): Fixed text printing after
1419         tip from Dov Grobgeld.
1421 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1423         * app/paginate_psprint.c (print_page): Fixed color of clip
1424         region.
1426 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
1428         * sheets/Makefile.am: enabled intltool-merge translation cache for
1429         sheets.
1431         * Makefile.am:
1432         * mkauthors-placeholder:
1433         * AUTHORS: revived that file (in a placeholder form) so that
1434         automake stops yelling.
1435         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
1436         (Closes: #91144)
1438         Heh, by the way, thanks Christophe. I feel better now.
1439         
1440 2002-08-25  Christophe Merlet  <christophe@merlet.net>
1442         * app/command.c: Removed invalid multibyte sequence in Chepelov.
1444 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
1446         * lib/dia_image.c (dia_image_rgb_data): 
1447         Bugfixes in image data retrieval.
1448         
1449         * app/render_eps.c: Refactoring of new_*_renderer.
1451 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
1453         * app/render_eps.c: 
1454         * lib/dia_image.h: 
1455         * lib/dia_image.c: Support for rowstride != width (odd width images)
1457 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
1459         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
1460         * plug-ins/xfig/xfig-import.c: Removed assertion.
1462 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
1464         * lib/paper.c: Removed app/preferences.h reference.
1466 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1468         * plug-ins/svg/svg-import.c: 
1469         * plug-ins/xfig/xfig-import.c: 
1470         * lib/Makefile.am (libdia_a_SOURCES): 
1471         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
1472         * lib/create.h:
1473         * objects/standard/create.h:
1474         * objects/standard/polygon.c (polygon_create): 
1475         * objects/standard/polyline.c (polyline_create): 
1476         * objects/standard/beziergon.c (beziergon_create): 
1477         * objects/standard/bezier.c (bezierline_create): 
1478         Moving create.h into lib.
1480 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
1482         * app/render_libart.[ch]: Work on PNG font export.  Something's
1483         still fishy with the scaling, I don't get it.
1485         * app/display.c: 
1486         * app/interface.c: Replaced broken zoom combo with entry+menu.
1487         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
1489         * app/render_gdk.c (get_text_width): Checks for validity of text.
1490         Temporary help while debugging input -- should only activate on
1491         invalid input.
1493         * objects/SADT/annotation.c: 
1494         * objects/GRAFCET/transition.c: 
1495         * objects/FS/function.c: Removal of gtk.h include.
1497         * objects/UML/state.c (state_load): Warnings about using State
1498         object for initial/final states.
1500         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
1502 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
1504         * app/render_eps.c: Text rendering that scales correctly.  Too bad
1505         the standard fonts don't get selected right.
1507 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
1509         * lib/diagramdata.h: 
1510         * lib/paper.c (get_paper_info): 
1511         * lib/paper.h: 
1512         * plug-ins/xfig/xfig-import.c: 
1513         Committed before testing.  I am so embarrased.  This compiles, now
1514         that the includes are in the right order.
1515         
1516         * app/diagram.c (diagram_init): 
1517         * app/app_procs.c (do_convert): 
1518         * app/preferences.h: 
1519         * lib/diagramdata.h: 
1520         * lib/diagramdata.c (new_diagram_data): 
1521         * lib/paper.h: 
1522         * lib/paper.c (get_paper_info): 
1523         Moved new_diagram part of prefs into lib/diagramdata.h.  More
1524         could be done in new_diagram_data() now.
1526 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
1528         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
1530 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
1532         * configure.in: removed silly user-visible comment
1534         (actually, this is a dummy entry before I manually run nemo; for
1535         some dist-upgrade related reason, this morning's run aborted before
1536         the snapshots were created)
1537         
1538 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
1540         * objects/network/wanlink.c: 
1541         * objects/network/bus.c: 
1542         stdprop compliance!
1544         * objects/custom/custom_object.c: 
1545         * objects/network/wanlink.c: 
1546         * objects/flowchart/parallelogram.c: 
1547         * objects/flowchart/ellipse.c: 
1548         * objects/flowchart/diamond.c: 
1549         * objects/flowchart/box.c: 
1550         Removed GTK defaults stuff.
1551         
1552         * objects/UML/fork.c: 
1553         * objects/UML/object.c: 
1554         * objects/UML/lifeline.c: 
1555         * objects/UML/branch.c: 
1556         * objects/GRAFCET/transition.c: 
1557         * objects/FS/function.c: Removed GTK include.
1559         * objects/FS/flow-ortho.c: 
1560         * objects/FS/flow.c: Made the label behave again.
1561         Also removed GTK defaults stuff.
1563 2002-08-06  Hans Breuer  <hans@breuer.org>
1565         * app/autosave.c : ported to GDir which is the improved
1566         cross platform replacement for <dirent.h>
1568         * app/makefile.msc : build autosave.obj
1570         * app/font.c : some (bad?) code calls 
1571         dia_font_scaled_decent() not only with empty string but 
1572         with NULL. Handle it gracefully.
1574         * lib/paper.c : don't depend on ../app. Although IMO
1575         this shouldn't be allowed on any platform it is only
1576         disabled for win32, where it simply doesn't work
1577         this way
1579         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
1581         * objects/fs/flow.c : conditionalize debug spew, disabled
1582         and 'ported' to use g_print. Simple printf won't work with
1583         standard win32 gui apps, may even crash them.
1585         * plug-ins/makefile.msc : DISABLED svg-import cause it
1586         depends on ../objects/custom. This not only break the
1587         build for all non ELF systems but IMO also isn't acceptable
1588         from a design point of view. See dia-list mail on subject.
1590         * plug-ins/python/makefile.msc :
1591           plug-ins/python/python.c : remove all references to dirent    
1593 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
1595         * configure.in: added ro to ALL_LINGUAS
1597         * po-checktrans:
1598         * po-checktrans.py:
1599         * ../translation-graphs/transgraph.py: added support for fuzzy
1600         translations. Enlarged the graphs.
1602 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
1604         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
1605         key events according to locale.  No clue if this works for
1606         advanced stuff.
1608 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
1610         * lib/text.c: Various UTF8 related fixes, in particular in
1611         deleting.  Text_insert_char is fine, far as I can tell.
1613         * app/interface.c (create_display_shell): 
1614         * app/commands.c: Now uses gtk_clipboard functions, for they are
1615         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
1616         don't seem to get handled correctly by text_insert_char in
1617         lib/text.c.
1618         
1619         * app/commands.c (received_selection_handler): Got utf8 handling
1620         on paste, and individual char handling out of commands.c.  Pasting
1621         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
1623         * lib/message.c (gtk_message_internal): Message dialog re-shown
1624         when new message appears.  Maybe it should even move to top?
1626         * lib/font.c: 
1627         * lib/widgets.c: 
1628         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
1629         (again) and case-insensitive.
1631         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
1632         BASIC_SANS_FONT. 
1634 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1636         * app/commands.c (edit_cut_text_callback): 
1637         * lib/text.c (text_delete_all): Now functioning undo for text cut.
1638         
1639         * app/commands.c (edit_cut_text_callback): Now removes text.
1640         Undo is broken, though.
1642 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1644         * app/diagram.c (diagram_update_menu_sensitivity): 
1645         Making cut_text active.
1646         
1647         * app/commands.h: 
1648         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
1649         clipboard.  Also removed AA callback.   
1651 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1653         * objects/chronogram/chronoref.c: 
1654         * objects/chronogram/chronoline.c: 
1655         * objects/SADT/annotation.c: 
1656         * objects/SADT/arrow.c: 
1657         * objects/SADT/box.c: 
1658         * objects/GRAFCET/vergent.c: 
1659         * objects/GRAFCET/vector.c: 
1660         * objects/GRAFCET/step.c: 
1661         * objects/GRAFCET/condition.c: 
1662         * objects/GRAFCET/action.c: 
1663         * objects/ER/participation.c: 
1664         * objects/ER/relationship.c: 
1665         * objects/ER/entity.c: 
1666         * objects/ER/attribute.c: 
1667         Removing unnecessary GTK references.
1669 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1671         * objects/standard/image.c: 
1672         * objects/standard/textobj.c: 
1673         * objects/standard/ellipse.c: 
1674         * objects/standard/polygon.c: 
1675         * objects/standard/beziergon.c:
1676         * objects/standard/box.c: 
1677         Making default default properties.
1678         
1679         * objects/standard/image.c: 
1680         * objects/standard/arc.c: 
1681         * objects/standard/box.c: 
1682         * objects/standard/zigzagline.c: 
1683         * objects/standard/polyline.c: 
1684         * objects/standard/line.c: 
1685         * objects/standard/ellipse.c: 
1686         * objects/standard/polygon.c: 
1687         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
1689         * lib/object_defaults.c (dia_object_default_create): 
1690         * lib/proplist.c: 
1691         * lib/properties.h: 
1692         * lib/object.c (object_copy_using_properties): 
1693         * lib/propdialogs.c: 
1694         * lib/propinternals.h: 
1695         * lib/propobject.c (object_create_props_dialog)
1696         (object_copy_props): 
1697         Removing the standard (toolbox) properties from defaults dialogs.
1699 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
1701         * lib/font.c (dia_font_scaled_string_width) 
1702         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
1703         zoom factor.
1704         * lib/text.c (text_calc_boundingbox): Take descent into account.
1706         * objects/standard/bezier.c (bezierline_draw): 
1707         * lib/render.c (draw_bezier_with_arrows): 
1708         Better arrow drawing for beziers.  Doesn't change the mouse-click
1709         area either.
1711         * lib/arrows.h: Some const-ness.
1713         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
1715         * lib/render.c (draw_arc_with_arrows): 
1716         * objects/standard/arc.c (arc_draw): Better arrow drawing for
1717         arcs.  Doesn't change the mouse-click area yet.
1719         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
1721         * lib/render.h: 
1722         * lib/render.c: 
1723         Arc arrow prework.
1725 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
1727         * app/group.c (group_draw): Forgotten commit: Groups to draw as
1728         objects (using default routines).
1730         * app/object_ops.h: 
1731         * app/diagram.h: 
1732         * lib/diagramdata.h: 
1733         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
1734         * objects/standard/zigzagline.c (zigzagline_move_handle): 
1735         * app/diagram.c (diagram_find_closest_connectionpoint): 
1736         * plug-ins/python/pydia-diagram.c
1737         (PyDiaDiagram_FindClosestConnectionPoint):
1738         * app/object_ops.c (object_connect_display) 
1739         (object_find_connectpoint_display) 
1740         * app/create_object.c (create_object_button_press) 
1741         (create_object_motion): 
1742         * app/modify_tool.c (modify_motion): 
1743         Adding object param to allow connectionpoint and handle coinciding.
1745         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
1746         Fixing minor problems.
1748         * objects/standard/ellipse.c (ellipse_update_data): 
1749         Added direction hints.
1751         * lib/diagramdata.c: 
1752         * lib/object.c: 
1753         * lib/object.h: 
1754         * lib/diagramdata.h: 
1755         * objects/standard/zigzagline.c: 
1756         First working example of zigzagline hints, currently only between
1757         Box and Zigzagline.
1759 2002-07-27  Steffen Macke <sdteffen@web.de>
1761         * plug-ins/svg/render_svg.c: added support for rounded
1762         rectangles (fixes #69053 if compile with
1763         -DNEW_RENDER_OPS)
1764         * object/custom/shape_info.[c|h]: made parse_style and
1765         parse_path accessible for svg plug-in
1766         * plug-ins/svg/Makefile.am:
1767         * plug-ins/svg/svg.c:
1768         * plug-ins/svg/svg-import.c(new): added SVG import filter
1770 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
1772         * objects/standard/box.c: 
1773         * objects/standard/zigzagline.c (zigzagline_move): 
1774         More work on zigzagline hints.
1776 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1777         * lib/connectionpoint.h: 
1778         Hints for zigzaglines.
1780         * app/properties.c (properties_show): 
1781         * app/defaults.c (defaults_show): 
1782         * lib/properties.h: 
1783         * lib/propobject.c (object_create_props_dialog): 
1784         * lib/object.h: 
1785         * objects/FS/flow-poly.c: 
1786         * objects/network/wanlink.c: 
1787         * objects/network/bus.c: 
1788         * objects/UML/class.h: 
1789         * objects/UML/class_dialog.c: 
1790         * objects/UML/association.c: 
1791         Start of removing toolbox props from props dialogs.
1792         
1793         * lib/widgets.c: 
1794         * lib/arrows.h: 
1795         * app/lineprops_area.c (dia_arrow_chooser_new): 
1796         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
1798         * app/create_object.c: 
1799         * app/modify_tool.c: 
1800         * app/cursor.h: 
1801         * app/cursor.c: 
1802         More cursor change.
1804 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
1806         * app/preferences.c: 
1807         * lib/paper.c: 
1808         * app/diapagelayout.c: 
1809         New prefs selector kind PREF_CHOICE chooses between a list of
1810         strings.  Used for picking default paper.
1811         
1812         * app/preferences.c (prefs_data): 
1813         * lib/paper.c (get_paper_info): Added prefs setting for
1814         is_portrait.
1816         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
1817         line segments at the ends (bug #86603).
1819 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
1821         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
1822         #60324: Now calls update_data after copy.
1824         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
1825         Now doesn't steal selection from non-object tools.
1827 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
1829         * app/commands.c (help_manual_callback): Uses BROWSER environment
1830         variable when available.
1832 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
1834         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
1835         object from the new sheet when changing.
1837         * app/app_procs.c (app_init): Uses more standard size icon, from
1838         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
1840 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
1842         * objects/UML/implements.c (implements_update_data): 
1843         * objects/UML/realizes.c (realizes_update_data): 
1844         * objects/UML/dependency.c (dependency_update_data): 
1845         Test for null strings before calling on ascent.
1847         * objects/UML/realizes.c (realizes_draw): 
1848         * objects/UML/message.c (message_draw): 
1849         * objects/UML/generalization.c (generalization_draw): 
1850         * objects/UML/dependency.c (dependency_draw) 
1851         * objects/UML/constraint.c (constraint_draw): 
1852         * objects/GRAFCET/condition.c (condition_draw): 
1853         * objects/UML/association.c (association_draw): 
1854         * objects/FS/flow-ortho.c (orthflow_draw): 
1855         * objects/FS/flow.c (flow_draw): Change to use
1856         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
1858         * lib/render.h: 
1859         * lib/arrows.c (calculate_arrow_point): 
1860         * lib/arrows.h: 
1861         * lib/render.c: 
1862         * objects/standard/zigzagline.c:
1863         * objects/standard/polyline.c:
1864         * objects/standard/line.c: Work towards better arrow drawing.
1866 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
1868         * objects/UML/state.c: Starting phase-out of State object as
1869         initial/final state (which never worked right).
1871         * app/app_procs.c (app_init): --version command line option for
1872         non-Gnome.
1874         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
1876 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
1878         * app/render_eps.c: Removed debugging info.
1880         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
1881         Kludge to make ascent and descent work for empty strings.  Won't
1882         work when using non-ASCII fonts.  Better would be to get a
1883         PangoFont and ask directly.
1885         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
1886         of the init stuff.
1888         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
1889         Cursor now better.
1891 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
1893         * plug-ins/xfig/xfig-export.c: First use of draw_object render
1894         function: All shapes are now groups in XFig export.
1896         * lib/diagramdata.c (normal_render): 
1897         * lib/render.c: 
1898         * lib/render.h: 
1899         * app/display.c (ddisplay_obj_render): 
1900         New render function for drawing objects, allows renderers to group
1901         or otherwise specially handle objects.  We may want to reconsider
1902         calling it in app/display.c, as we 'know' the object draw function
1903         is the default one there.
1905         * lib/Makefile.am: Removed extra \ that broke stuff.
1907         * plug-ins/xfig/xfig-import.c: 
1908         Spline import for xfig.  Not perfect.
1910         * objects/standard/create.h: 
1911         * objects/standard/bezier.c (bezierline_create): 
1912         * lib/bezier_conn.c: 
1913         * lib/beziershape.c (beziershape_set_points): 
1914         * lib/bezier_conn.h: 
1915         * lib/beziershape.h: 
1916         Support for creating beziers non-interactively.
1918 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
1920         * plug-ins/xfig/xfig-import.c: Support for polygons and
1921         polylines.  Special warning handling system removed.
1923         * lib/message.c (gtk_message_internal): Fixed bug involving
1924         closing message window and then getting repeated message.
1926         * Makefile.am: 
1927         * autogen.sh: 
1928         * configure.in (GETTEXT_PACKAGE): 
1929         Update based on bug #88199.  Hopefully this doesn't break too much
1930         intl stuff.
1932         * dia.desktop.in (_Comment): Changed after suggestion from
1933         calum.benson@ireland.sun.com (bug 88345)
1935         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
1936         <loli@unsa.edu.ar> that makes user/system distinction better.
1938 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1940         * app/render_libart.c: Got the context right, removed crashes.
1942         * app/commands.c: 
1943         * app/commands.h: 
1944         Redraw menu item.
1946         * app/display.c: 
1947         * app/display.h: 
1948         * app/interface.c: 
1949         * app/menus.c: 
1950         Remove libart #defines from most places (still around for png export).
1952         * app/render_libart.h: 
1953         * app/render_libart.c: 
1954         * configure.in (HAVE_LIBART): 
1955         Starting on update of libart stuff for png export (without X).
1957         * app/autosave.h (autosave_check_autosave): 
1958         * app/load_save.h: 
1959         * app/diagram.h: 
1960         * app/Makefile.am (dia_core_files): 
1961         * app/load_save.c: 
1962         * app/diagram.c (diagram_set_modified): 
1963         * app/autosave.c: 
1964         * app/app_procs.c (app_init): 
1965         Autosave support.  No automatic restore yet.
1967 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1969         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
1970         assignment. 
1971         
1972 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
1974         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
1976 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
1978         * Fix for 'make dist' etc. --- problem caused by
1979         previous AUTHORS patch.
1981 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1983         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
1984         pango_context. 
1985         (set_font): NULL check.
1986         
1987 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
1989         * app/disp_callbacks.c: 
1990         * lib/diamenu.h: 
1991         Addition to the object menus allows check menu items.
1993 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
1995         * HACKING: completely changed to bring up-to-date.
1996         * AUTHORS: file needs REMOVING from CVS as now
1997           dynamically generated.
1998         * app/authors.h: split into subcategories for original
1999           authors, maintainers, etc.
2000         * app/app_procs.c: --credits rewritten to support new
2001           app/authors.h
2002         * app/commands.c: no changes to about box code, comment
2003           added though.
2004         * Makefile.am: added rule for AUTHORS. I'm still
2005           inexperienced with automake, it seems to work, but
2006           for AUTHORS-related bugs, look at this change first.
2008 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
2010         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
2011         work.  Back to including xslt dir always.
2013         * objects/UML/uml.c: 
2014         * objects/UML/class.h: 
2015         * objects/UML/class_dialog.c: 
2016         * objects/UML/class.c: Patch from
2017         <mattam@netcourrier.com>:  Adds comment visibility switch, also
2018         fixes various bugs.
2020         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
2021         for state/fork/activity stuff.
2022         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
2023         * objects/UML/Makefile.am:
2024         * objects/UML/uml.c:
2025         * sheets/UML.sheet.in: Added new objects activity, fork,
2026           state_term.
2027         * objects/UML/pixmaps/state_term.xpm:
2028         * objects/UML/state_term.c: New, only initial/final states.
2029         * objects/UML/pixmaps/activity.xpm:
2030         * objects/UML/activity.c: New, activity state.
2031         * objects/UML/pixmaps/fork.xpm:
2032         * objects/UML/fork.c: New, fork/join bar.
2033         * objects/UML/pixmaps/state.xpm: state icon.
2035         
2036         * doc/diagram.dtd: 
2037         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
2038         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
2039         svg:text to shape.
2041 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2043         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
2044         detecting XSLT
2046         * app/Makefile.am: Commented out the diaconv parts while it's not
2047         used anyway.  To come back later.
2049         * configure.in (HAVE_FREETYPE): 
2050         * app/app_procs.c: 
2051         * app/render_eps.h: 
2052         * app/render_eps.c: Support for printing with freetype, better
2053         encapsulated now.  Renders the text nicely, but ignores font
2054         setting.  Requires pangoft2 to get the font outline, but non-text
2055         objects can still be rendered without it.
2057         * app/commands.h: 
2058         * app/commands.c (objects_place_up_callback) 
2059         (objects_place_down_callback): 
2060         * app/diagram.h: 
2061         * app/diagram.c (diagram_place_down_selected) 
2062         (diagram_place_up_selected): Starting support for moving objects
2063         one level up/down.
2065         * app/menus.c: Removed character/numeral shortcuts.
2067 2002-07-06  Hans Breuer  <hans@breuer.org>
2069         * makefile.am app/makefile.am lib/makefile.am
2070           objects/makefile.am plug-ins/makefile.am 
2071           plug-ins/python/makefile.am :
2072         added required files for win32 build to EXTRA_DIST
2074         * app/paginate_psprint.c app/render_eps.c 
2075           app/app_procs.c :
2076         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
2077         on Pango as currently is on win32 => no PostScript 
2078         anymore.
2080         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
2081         use '/* noop */;' for empty case labels; replace
2082         debug spew printf with g_print which is guaranteed 
2083         to work on win32, too.
2085         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
2086         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
2087         in the pango_font_description_set_weight() api documentation
2088         Take care for them in dia_font_get_style() too.
2090         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
2091           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
2092         rename Obliquity to Slant which appears to be the usual name,
2093         also rename dia_font_get_style_string -> dia_font_get_slant_string
2095         * plug-ins/wmf/wmf.cpp : finally ported to new font api
2097         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
2099         * objects/uml/association.c class.c large_package.c message.c
2100         if g_free() is used g_strdup needs to be used.
2101         * objects/custom/shape_info.c
2102           objects/ER/attribute.c entity.c
2103           objects/standard/image.c 
2104           app/sheets_dialog_callbacks.c : more strdup cleaning
2106 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
2108         * app/render_eps.c: Non-crashing printing (made the right
2109         context).  Font output still fscked up.
2111 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
2113         * app/authors.h: Added file --- now master
2114         location for contributors data.
2115         * app/app_procs.c: Added --credits option.
2116         * app/commands.c: Modified about box to use
2117         app/authors.h.
2119 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
2121         * app/render_eps.c: First stab at EPS rendering using the contour
2122         code from PAPS.  Crashes.
2124 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
2126         * app/recent_files.c (recent_file_history_remove): 
2127         Fixed call to g_list_delete_link discarding return value.
2128         
2129         * lib/widgets.c (dia_font_selector_set_styles): 
2130         * lib/font.h (DiaFontWeight): 
2131         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
2133 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
2135         Contribution from Alan Horkan <horkana@tcd.ie>: 
2136         
2137         * shapes/Assorted/*
2138         * sheets/Assorted.sheet:
2139         A set of 40 assorted geometric shapes.
2141         * sheets/Assorted.sheet.in:
2142         * sheets/Makefile.am
2143         * shapes/Assorted/Makefile.am:
2144         * shapes/Makefile.am:
2145         * po/POTFILES.in:
2146         * configure.in:
2147         Done the integration job of Alan's shapes. (Translators: have fun!)
2149         * po/dia.pot: refreshed the main potfile.
2150         
2151 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
2153         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
2154         
2155         * objects/UML/class.[ch]:
2156         * objects/UML/class_dialog.c:
2157         changed the number of connection points from a hardcoded value of
2158         8 to a #defined constant
2160         (I changed the constant back from 20 to 8, until we better know
2161         how we'll handle more connection points on the UML class in the
2162         future -- but Tim's patch is a welcome clean-up).
2164 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
2166         * shapes/MSE/demultiplexer.xpm:
2167         * shapes/MSE/node_center.xpm:
2168         * shapes/MSE/multiplexer.xpm:
2169         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
2170         Horkan <horkana@tcd.ie>
2172 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2174         * lib/widgets.c: Total rehash of font selector, with font dialog
2175         option, expanding list (not LRU yet), and stuff.
2177 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
2179         * lib/font.h:
2180         * lib/font.c: 
2181         Added a set of new setter/getters, some of them more specially for
2182         the SVG-ish I/O.
2183         
2184         * plug-ins/shape/shape-export.c: (new_shape_renderer),
2185         (destroy_shape_renderer), (set_font), (draw_string):
2186         * plug-ins/svg/render_svg.c: (new_svg_renderer),
2187         (destroy_svg_renderer), (set_font), (draw_string):
2189         Actually exported the font face, style, weight and size (sodipodi
2190         agrees with dia on how a small sample should look like (a sample
2191         0.90 would not even display anyways). Yay !)
2193         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
2195         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
2197         (end of ChangeLog-less patch)
2199         * objects/custom/shape_info.c (parse_style): now understands the
2200         font-style and font-weight attributes as well. Does not use
2201         anymore dia_font_new_from_legacy_name().
2202         
2203 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
2205         * objects/standard/textobj.c: Now uses stdprops for defaults.
2207         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
2208         * lib/font.c (dia_font_get_style): Style now linear and conversion
2209         simple. 
2211         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
2212         selector. 
2214 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
2216         * plug-ins/dxf/dxf-import.c:
2217         using dia_font_new_from_style()
2219         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
2221         * objects/UML/class.[ch]: Added a comment field to class
2222         * objects/UML/uml.[ch]: Added a comment field to attributes,
2223         operations and parameters.
2224         * objects/UML/class_dialog.c: Added code for the new comment
2225         fields.
2226         * plug-ins/xslt/*.xsl: Added some code to handle comments.
2227         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
2228         Added a $directory parameter for stylesheets so the output is 
2229         in the good place (not in the $PWD).
2231         (end of Patch)
2233         * AUTHORS: added contributors, updated maintainers. Removed the
2234         specific areas of action.
2236         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
2237         from a patch by Xing Wang <quixon@gnuchina.org>:
2239         * app/commands.c: help_about_callback now supports
2240         new-style GNOME about box as well as old GTK style. 
2241         code also tidied (Closes: #85726)
2243         (end of Patch)
2245         * app/commands.c: fixed the copyright (it's not all FSF), and
2246         maintainers. Synced contributors list with AUTHORS.
2247                 
2248 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
2250         * lib/message.c: More work on repeating messages, now with
2251         togglable view.
2253 2002-06-24  Hans Breuer  <hans@breuer.org>
2255         * lib/widget.c : some more bits in place, at least
2256         it does something useful instead of crashing. Much
2257         better - but not all ok :-)
2259 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2261         * lib/message.c (gtk_message_internal): First stab at repeating
2262         message dialog.
2264 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
2266         * objects/FS/*.c:
2267         * objects/GRAFCET/*.c:
2268         * objects/SADT/*.c:
2269         * objects/UML/association.c: (one instance forgotten)
2270         * objects/UML/large_package.c: 
2271         * objects/standard/textobj.c:
2272         * lib/attributes.c:
2273         * lib/text.c:
2274         using dia_font_new_from_style()
2276 2002-06-23  Hans Breuer  <hans@breuer.org>
2278         * lib/font.c : giving some love to
2279         dia_font_new_from_legacy_name() that is making
2280         import of old files as painless as possible and
2281         provide an almost exact match where possible.
2282         It does not yet fully work because it interfers
2283         with the Style to DiaStyle conversion which comes
2284         next ...
2286         [Changing these files is only allowed with Dia-0.90]
2287         * broken-files/fonts-0.90.dia : including the
2288         common hard-coded fonts from Dia-0.90. It also
2289         has drawn bounding-boxes for win32 as they were calculated
2290         from the former version (they were all too big).
2291         * broken-files/fonts-0.90-full.dia : all hardcoded
2292         fonts including the asian versions. On my machine
2293         this gives _a lot_ complaining about missing fonts
2294         and a finally a broken file display. Anyone having
2295         all these fonts ?
2296         
2297 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
2299         * objects/chronogram/*.c: 
2300         * objects/custom/custom_object.c:
2301         * objects/ER/*.c:
2302         using dia_font_new_from_style()
2304 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2306         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
2307         font selector (stability, insensitivity).
2309         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
2310         stretching scheme for tweaking, and made scaling scheme faster
2311         (but less precise).
2312         (dia_font_dia_style_to_pango): Oops, % != /.
2314 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
2316         
2317         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
2319         * plug-ins/xslt : Added an XSLT plugin to export dia files using
2320         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
2321         It includes a small config file to tell it what stylesheets to use.
2323         (end of patch)
2324         
2325         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
2326         GTK2.0/HIG compliant (the labels could be slightly more verbose,
2327         perhaps). Added back a couple forgotten _(). Removed //-style
2328         comments.
2329         
2330 2002-06-23  Hans Breuer  <hans@breuer.org>
2332         * lib/plug-ins.c
2333         (dia_plugin_get_name) : don't crash plugin_manager
2334         on name being NULL 
2335         (dia_plugin_load) : reuse the description field to
2336         store the error string if loading fails.
2338         * lib/font.[hc] : starting to beautify the new
2339         font api: proper namespacing, adding convenience
2340         functions like dia_font_new_from_style(), ...
2342         * objects/uml/*.c : use the new convenience functions.
2344         [Next thing I plan to do is changing the other font
2345          functions to take DiaStyle and make Style and 
2346          BASIC_*_FONT vanish. As well as giving some love to
2347          dia_font_new_from_legacy_name().
2348          If anyone want's to help on converting the other
2349          objects to the new api during that, I would highly 
2350          appreciate it.]
2352 2002-06-23  Hans Breuer  <hans@breuer.org>
2354         * lib/font.c : made it compile and small indent fixes.
2355         Is there a code-has-no-effect-so-needs-not-be-valid
2356         with GCC?       
2358         * lib/widgets.c : use g_strcasecmp
2360 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2362         * lib/font.c: 
2363         * lib/font.h: 
2364         * lib/widgets.c: Font names sorted, style selector widget
2365         reappeared.  Doesn't select the old style yet.
2367 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
2369         * lib/font.c: one who expects a text's font to be changed shall 
2370         actually request the attributes to apply to the whole range of the
2371         said text... D'oh! 
2373         * lib/font.c: extents computation was wrong.
2375         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
2376         if a last NULL parameter is added...
2378         * lib/font.c: extents computation was completely wrong. This looks
2379         much better this time.
2381         * objects/UML/class.c: fixed the various strings positions.
2383         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
2384         macros to get the hardcoded base fonts.
2386         * objects/ER/relationship.c: wasn't converted to DiaFont*
2387         
2388 2002-06-22  Hans Breuer  <hans@breuer.org>
2390         * lib/widget.c : dont use backend specific functions
2391         to get on the font_families. Including it would mean
2392         including <windows.h> which breaks due to namespace
2393         pollutions ...
2395         * lib/libdia.def : updated externals
2397         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
2399         * lib/font.c : added empty dia_font_init_instance function,
2400         reformatting of dia_fon_unref to allow to set breakpoint,
2401         dia_fon_build_layout() : dont crash on string==NULL
2403         * lib/text.c (text_set_attributes) : don't unref the wrong font
2405         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
2406         stores lowercased font names, but dia_font_get_family()
2407         returns mixed case      
2409 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2411         * lib/widgets.c: 
2412         * app/render_gdk.c: Patch from Hans Breuer.
2414         * app/Makefile.am (dia_core_files): diaconv commented out for now.
2415         
2416 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
2418         * lib/all files touched yesterday: took into account some of Hans
2419         Breuer's remarks in
2420         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
2422         * objects/chronogram/*: 
2423         * objects/custom/*:
2424         * objects/ER/*:
2425         * objects/flowchart/*:
2426         * objects/FS/*:
2427         * objects/GRAFCET/*:
2428         * objects/SADT/*:
2429         * objects/standard/textobj.?:
2430         * objects/UML/*:
2431         converted to the new DiaFonts.
2433         * plug-ins/cgm/*:
2434         * plug-ins/pstricks/*:
2435         * plug-ins/wpg/*:
2436         * plug-ins/dxf/*:
2437         * plug-ins/xfig/*:
2438         Made minimalistic conversions so that they'd at least compile.
2440         * app/render_gdk.c:
2441         * app/render_pixmap.c:
2442         Converted to the new DiaFonts.
2444         * app/app_procs.c
2445         * app/diaconv.c:
2446         * app/render_eps.c:
2447         made the minimal changes so that it would at least build.       
2449         *** At this point, the thing builds on my machine, but segfaults
2450         right away. ***
2451         
2452 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
2454         * configure.in: removed the backend-specific pango pkg_modules
2455         (trivial to add back if needed, when actually needed)
2457         * app/Makefile.am:
2458         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
2459         renderer. The APIs will have completely changed when we get around
2460         to redo a renderer for it, anyways.
2462         * font.[ch]: rewrote everything from scratch, with a Pango
2463         implementation. Normally, only backend-neutral things should go in
2464         there.
2466         **WARNING**: new rules for managing DiaFont* pointers: these are
2467         reference-counted GObjects. One >must< diafont_ref() and
2468         diafont_unref() as appropriate. I wish I could overload operator=()...
2470         lib/plug-ins.h: bumped up the plug-in API.
2471         
2472         lib/attributes.c: 
2473         lib/dia_xml.c: 
2474         lib/dummy_dep.h
2475         lib/object_defaults:
2476         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
2477         again tomorrow with GObject.
2478         
2479         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
2481         **** The rest of the tree should be updated as well ****
2482         
2483 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
2485         * app/render_gdk.h: 
2486         * app/render_gdk.c: 
2487         * app/render_pixmap.c: 
2488         * app/render_pixmap.h: 
2489         * app/render_libart.h: 
2490         * app/render_libart.c: 
2491         * lib/font.h: 
2492         * lib/font.c: Removed freetype stuff (still around in
2493         lib/widgets.c 'cause we might want the font selector widget).
2495 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
2497         * shapes/network/laptop.(xml|shape):
2498         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
2499         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
2501 2002-06-17  Hans Breuer  <hans@breuer.org>
2503         * lib/object_defaults.c : #include <libxml/tree.h> not
2504         <tree.h> pointed out by Xing Wang
2506 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
2508         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
2509         * lib/widgets.c: 
2510         * app/color_area.c: Update to
2511         gtk_color_selection_*_current_color() fixed bad crash issues, plus
2512         updated color conversions.
2514         * sheets/ER/weakentity.xpm: Accepted patch from
2515         quixon@gnuchina.org to make icon match actual appearance.
2517         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
2518         quixon@gnuchina.org.
2520 2002-06-16  Hans Breuer  <hans@breuer.org>
2522         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
2523         good tradition of information hiding. Add new function
2524         dia_plugin_get_symbol()
2525         * app/sheets.c app/sheets_dialog_callbacks.c : use it
2527         * app/sheets.c : stop complaining about object_get_type() 
2528         returning NULL. This is a consequence of e.g. disabling 
2529         plug-ins at runtime _and_ it was and is gracefully handled. 
2530         Spitting out g_warning for it isn't appropriate. 
2532         * lib/object.[ch] : removed dead code
2534         * app/plugin-mangager.c : almost complete rewrite for gtk2
2535         using GtkListStore/GtkTreeView
2537         * lib/libdia.def : updated externals
2539         * todo.gtk2 : updated, that is removed already done steps
2541 2002-06-15  Hans Breuer  <hans@breuer.org>
2543         * objects/uml/class_dialog.c : clean some left-over
2544         utf8-mess, return 0 from "focus_out_event" handlers
2545         to avoid asserting in gtk (#78305). Reconstruct 
2546         stereotype/NULL behaviour to avoid rendering empty
2547         stereotypes on classes and member functions
2549         [#56109 - Provide object defaults for StdProp objects,
2550          some remaining issues are discussed in bugzilla]
2552         * lib/object_defaults.c : (new file) manage default properties 
2553         of dia objects. The serialization is done with standard
2554         object methods in a diagram compatible format.
2556         * lib/object.c : add object_registry_foreach() which allows
2557         to iterate over all registered object types
2559         * lib/object.h : added prototypes object_default*() and
2560         object_registry_foreach()
2562         * lib/makefile.am lib/makefile.msc : add new file to build
2564         * lib/libdia.def : export new functions
2566         * app/defaults.c : provide StdProp based defaults if the
2567         ObjectType doesn't implement it's own default functions
2569         * app/create_object.c : through dia_object_default_create()
2570         * app/disp_callbacks.c : same here
2572 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2574         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
2575         sensitivity for deleting segments.
2577 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
2579         * app/color_area.c: (color_area_events):
2580         * app/diagram.c: (diagram_destroy):
2581         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
2582         (fill_sheet_menu):
2583         * app/load_save.c: (diagram_data_load):
2584         * app/menus.c: (menus_get_item_from_path):
2585         * app/preferences.c: (prefs_load):
2586         * app/render_gdk.c: (get_text_width):
2587         * lib/arrows.h:
2588         * lib/color.c: (color_convert):
2589         * lib/dia_dirs.c: (dia_config_filename):
2590         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
2591         * lib/intl.c: (intl_get_language_list):
2592         * lib/message.c: (message):
2593         * lib/message.h:
2594         * lib/paper.c: (get_default_paper):
2595         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
2596         * lib/widgets.c: (dia_file_selector_get_file):
2597         * lib/widgets.h:
2598         * objects/standard/image.c: (get_directory):
2600         warningectomy.
2601         
2602 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2604         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
2606 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2608         * app/interface.c: sscanf now returns EOF on empty string, so
2609         handle no match for zoom factor better => correct zoom at start.
2611         * app/sheets.c (create_object_pixmap): Tried to display empty error.
2612         (sheets_optionmenu_create): Died when not finding specified
2613         sheet.  Don't think it should.
2615         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
2616         (bug #84367) to place the text better.
2618 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
2620         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
2621                         
2622         * app/commands.c: Removed unnecessary gnome include. Removed
2623         GNOME-Print support.
2625         * app/menus.h: Removed now unnecessary gnome include.
2626         
2627         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
2628         GNOME-specific stock buttons
2629         
2630 2002-06-09  Hans Breuer  <hans@breuer.org>
2632         * app/app_procs.c : convert 'Modified diagrams exits'
2633         dialog to use GtkMessageDialog. That gives us:
2634         - icons without Gnome dependency
2635         - much less code, also cross platform
2636         - improved useability ?
2638         * app/color_area.c : the Color Selection Widget looked
2639         quite wrong (alpha problems). Fix it by merging in required
2640         changes stolen from The Gimp cvs
2641         * app/color_area.h : to get the right appearance the maskes
2642         needed to be taken into account
2643         * app/interface.c : adapt to color_area_create changes.
2644         Also remove some dead code and finally remove cvs autexpansion, 
2645         I was bothered enough by irrelevant differences :-)
2647         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
2648         api, i.e stocks and response to make the GnomeDialog usage
2649         obsolete. Also fixed the issue with closing the 'parent'
2650         before closing the dialog
2652         * app/display.[ch] : removed some dead code and conversion
2653         to new GtkDialog api. Also trying to conform to new HIG
2654         standard http://developer.gnome.org/projects/gup/hig/
2656 2002-06-09  Hans Breuer  <hans@breuer.org>
2658         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
2659         build ps-utf8.c
2661         * lib/dia_image.c : gtk_widget_set_default_visual()
2662         remove. It does nothing with Gtk2.
2664         * lib/libdia.def : added ps_unicoder exports
2666         * lib/message.c : remove #GNOME use GtkMessageDialog.
2667         Yeah, Dia gets dialogs wit icons cross-platform.
2669         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
2670         to gtk_spin_button_get_value()
2672         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
2674         add #undef GTK_DISABLE_DEPRECATED to still use ...
2675         * lib/prop_text.c :  ... GtkText
2676         * lib/prop_widgets.c : ... GtkList
2677         * lib/prop_dialogs.c : ... gtk_signal_connect and more
2678         * lib/widgets.c : ... (too much to list here)
2680         * lib/ps-utf8.c : #include <string.h>
2682 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
2684         * configure.in:
2685         * Makefile.am:  Adapted for gtk2.
2686         Removed dependencies on libunicode, on iconv(), on langinfo().
2688         * acconfig.h: removed (now obsolete)
2690         * lib/charconv.[ch]: removed (superceded by glib)
2691         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
2693         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
2694         libunicode types for their glib counterparts. Fixed the include
2695         paths for libxml2. Removed all traces of libxml1 or non-UTF8
2696         support (there were remains in objects/uml).
2698         
2699 2002-06-08  Hans Breuer  <hans@breuer.org>
2701         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
2702         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
2703         Also use g_strdup()'s handling of NULL by returning NULL
2704         again at all places I found (remove unnecessary if's)
2706         * todo.gtk2 : new file to keep notes about gtk2 porting,
2707         further issues and thoughts and some status information.
2708         Also sent to dia-list ('Dia goes Gtk2 ...').
2709         
2710         [make it compile with GTK+ 2.0]
2712         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
2713         removed definition of S_ISDIR, S_ISREG and getlogin
2715         * */makefile.msc : Use GTK2 and libxml2
2716         BEWARE: makefile.am, configure.in not yet ported !
2718         * app/app_procs.c app/diagram.c : remove 
2719         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
2720         but set use gtk_menu_set_accel_path() on menu creation
2722         * app/color_area.c lib/widgets.c : 
2723         make use of gtk_color_selection_set_has_palette ()
2725         * app/commands.c : gdk_pixbuf_new_from_file wants an 
2726         extra argument. Convert from DIR to GDir usage.
2728         * app/diagram_tree.c(button_press_callback) : need to return 
2729         FALSE in the signal handler to let gtk process it further.
2730         (get_object_name) : don't leak 'prop'
2731         
2732         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
2733         dia_page_layout_destroy() getting called more than once
2735         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
2736         GtkTypeInfo changes
2738         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
2740         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
2741         IIRC this code will not compile unchanged when USE_XIM is defined ...
2743         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
2745         * app/interface.c : there is no widget->klass anymore in Gtk, 
2746         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
2747         parameter. Some tweaking of GtkWrapBox usage to get four tools in
2748         a row again.
2749         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
2750         get triple buffering and flicker.
2751         Replace call to GTK private function _gtk_accel_group_attach()
2752         with public gtk_window_add_accel_group()
2754         * app/layer_dialog.c : adapt to GtkTypeInfo changes
2756         * app/load_save.c lib/plug-ins.c lib/sheet.c 
2757           objects/custom/custom.c : 
2758         simplified by using g_file_test()
2760         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
2761         to gtk_accel_map_<save|load>. Also added common stock-icons
2762         to the menu.
2763         
2764         * app/preferences.c : use gtk_button_set_label() instead
2765         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
2767         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
2768         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
2769         in config.h.win32
2771         * app/recent_files.c : removed GLIB_CHECK_VERSION
2773         * app/render_eps.c 
2774           plug-ins/metapost/render_metapost.c
2775           plug-ins/pstricks/render_pstricks.c
2776           plug-ins/svg/render_svg.c :
2777         replace getlogin() with g_get_user_name() which always
2778         returns non NULL
2780         * app/render_gdk.c : gdk_region_union_with_rect() modifies
2781         inplace now and returns nothing, also less #hell
2783         * app/render_libart.c : some initial #hell cleaning, SuckFont
2784         still needs to vanish
2786         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
2787         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
2789         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
2790         * app/sheets_dialog_callbacks.c : some #hell and adaptions
2791         needed to GtkWrapBox api changes
2794         * lib/charconv.[hc] : removed from build
2795         [changed appropriate]
2796         * lib/prop_inttypes.c lib/prop_text.c : 
2797         all utf-8 cleaning 
2798         * lib/text.c : ported from HEAD but keep original indent
2799         intact. Original was done by Akira TAGOH.
2801         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
2803         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
2805         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
2806         same on all platforms now!
2808         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
2810         * lib/message.c : remove "charconv.h"
2812         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
2814         * lib/plug-in.c :
2815         * lib/sheet.c : convert from DIR to GDir usage
2817         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
2819         * lib/widgets.h : include gtk<label|colorseldialog>.h
2822         * objects/fs/flow.c :
2823         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
2825         * objects/custom/custom.c : convert from DIR to GDir usage
2828         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
2831 2002-05-03  Hans Breuer  <hans@breuer.org>
2833         * lib/dia_xml.c : make the well formed utf8 check
2834         actually work for &#251; (non 7-bit ascii encoding)
2835         and fixed the file re-writing if the check fails.
2836         Thanks to Vitaly Lipatov for noticing the misbehaviour.
2838         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
2839         comment on last ressort font. Thanks to Maxim Sobolev.
2841 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
2843         * sheets/network.sheet.in: corrected a typo in plotter invocation.
2845 2002-06-03  Steffen Macke  <sdteffen@web.de>
2847         * shapes/network/digitizing_board.png:
2848         * shapes/network/digitizing_board.shape:
2849         * shapes/network/plotter.png:
2850         * shapes/network/plotter.shape:
2851         * shapes/network/Makefile.am
2852         * sheets/network.sheet.in: added new plotter and digitizing
2853         board shapes
2854         
2855 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
2857         * lib/font.c: made a symptomatic fix to a segfault reported by 
2858         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
2859         won't prevent dia from terminating, but should give more
2860         user-friendly information about why did it terminate.
2862         Two patches from <robert.young@dsto.defence.gov.au>:
2863         
2864         * app/display.c: fix the size of the canvas area which gets
2865         redrawn. There was an off-by one error (Closes #83659)
2867         * app/display.c: make sure we redraw all screen only when we
2868         really have to (some update_areas were mistakenly ignored) (Closes
2869         #83496). 
2871         * NEWS: added a new entry for the future. Put there a reminder to
2872         update the dependencies.
2874         * configure.in: put in notes about what will change shortly.
2875         upped the version to 0.90+cvs (did also in config.h.win32)
2876         upped the minimum version for intltools (now 0.21)
2877         
2878 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
2880         * dia.spec:
2881         * configure.in:
2882         * NEWS:
2883         * config.h.win32:
2884         bumped up version number to 0.90. Yay!
2886 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
2888         * doc/pl/Makefile.am:
2889         * doc/en/Makefile.am: fixed a "make install" problem when db2html
2890         is not present (Reported by Andrew Ferrier
2891         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
2892         problem which prevented me from ever seeing the problem in doc/en...
2893         
2894         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
2895         
2896         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
2897         way to read the font path from the XFS configuration files in
2898         order to enable FreeType (fixes #83098).
2900         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
2901         shipped nowadays.
2902                 
2903         * dia.spec:
2904         * configure.in:
2905         * NEWS:
2906         * config.h.win32:
2907         bumped up version number to 0.90.RC3
2909 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
2911         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
2912         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
2913         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
2914         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
2915         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
2916         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
2917         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
2918         Added Polish documentation.
2920 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
2922         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
2923         format for the UML State object. Now there's a hack to reload
2924         older files, and get them converted on the fly. 
2925         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
2927         * lib/properties.h:
2928         * lib/propobject.c:
2929         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
2930         and adapter the proplist predicates. A LOAD_ONLY property is for
2931         when you have legacy to support but can't resist moving your
2932         fields around... (was needed to support the above state.c fix).
2934         If the in-core of your object changes and you need a LOAD_ONLY
2935         property for the old format, you must keep some spare room in your
2936         object's struct to accomodate for the potential old-style
2937         attributes. Then in foo_load(), after having called
2938         object_load_using_properties(), you must inspect the old-style
2939         fields and act accordingly. Don't ever change the on-disk formats...
2941         * objects/UML/object.c:
2942         * objects/UML/small_package.c: added a check against empty
2943         stereotypes still consuming space. Reported by Dolores Alia de
2944         Saravia <loli@unsa.edu.ar>. Thanks!     
2945         
2946 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
2948         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
2949         using libtool on an AFS partition.
2951         * po/update_potfiles_in.sh: now simply calls the recent intltools 
2952         features; they work better than hand-crafted half-ignorant
2953         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
2954         for the tip.
2956         * po/POTFILES.in: added back two files update_potfiles_in.sh
2957         didn't take into account. Now this file is not automatically
2958         generated anymore!      
2959         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
2960         (the usual suspects, in fact).
2962         * configure.in: improved the isinf() / isfinite() detection on
2963         Solaris (MÃ¥rten Svantesson)
2964         
2965 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
2967         * configure.in: one expression was replacing $CFLAGS, removing
2968         whatever was previously in.
2969         Added more checks for isinf() and finite() on Solaris.
2971         * lib/geometry.h: added a macro defintion for isinf() if not
2972         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
2973         on Win32)
2975         * app/commands.c: "cut" did not set the 'modified' bit (paste has
2976         been for a little while). Fixes #82994.
2978         * Makefile.am: added more stuff to distclean-local. This should make
2979         "make distcheck" pass! Thanks to the author of
2980         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
2981         ... I wonder who this Henstridge guy is ... ;-)
2982         Darn. Still doesn't pass. I give up for tonight.
2983         
2984         * po/update_potfiles_in.sh: updated to take care of sheet files,
2985         and to filter out the EML plug-in.
2986         * po/POTFILES.in: updated with all .c and all .sheet.in files 
2988         * po/dia.pot, po/*.po: again updated all .po files with all
2989         strings (with the updated POTFILES). Now with the up-to-date
2990         POTFILES, just all languages have some fuzzy or untranslated
2991         strings (not that the 100% team was that large beforehand...)
2993         * po-checktrans: removed the comment about .po files not holding
2994         all translatable stuff, since now they do.
2995         
2996 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
2998         * dia.spec:
2999         * configure.in:
3000         * NEWS:
3001         * config.h.win32:
3002         bumped up version number to 0.90.RC2
3004 2002-05-20  Hans Breuer  <hans@breuer.org>
3006         * app/load_save.c : starting to increase
3007         Dias tolerance on incomplete/broken files. The 
3008         corresponding bug is #56233. But the patch there does
3009         neither apply anymore nor does it really fix the problem
3010         but only delays it, e.g. even if it would be allowed
3011         to read a file without any layers, the later code can't
3012         handle it.
3013         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
3014         handle passing in NULL for the node gracefully.
3016         * shapes/network/printer.shape : added two more connection
3017         points - one at each side - to fix bug #60359
3019         * app/commands.c (edit_copy_callback) : 
3020         add ddisplay_do_update_menu_sensitivity() to make 
3021         sequence select-copy-paste work.
3023 2002-05-20  Hans Breuer  <hans@breuer.org>
3025         * app/create_object.c (create_object_button_press) :
3026         added a call to ddisplay_do_update_menu_sensitivity()
3027         to make Ctrl^D etc work after object creation. 
3028         Fixes #80983.
3030 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3032         * objects/ER/entity.c: 
3033         * objects/ER/attribute.c: 
3034         * objects/ER/relationship.c: Patch to allow text size change from
3035         Celso Tetsuo Nagase Suzuki.
3037 2002-05-18  Steffen Macke <sdteffen@web.de>
3039         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
3040         libxml2)
3041         * doc/en/graphics/greendots.png:
3042         * doc/en/home_network.png:
3043         * doc/en/line_props.png: 
3044         * dia-diagram.png:
3045         * dia_gnome_icon.png:
3046         * dia_gnome_menu_icon.png:
3047         * dia_logo.png:
3048         * shapes/network/telephone.png:
3049         * shapes/Logic/and.png:
3050         * shapes/Logic/buffer.png:
3051         * shapes/Logic/connector.png:
3052         * shapes/Logic/inverter.png:
3053         * shapes/Logic/nand.png:
3054         * shapes/Logic/nor.png:
3055         * shapes/Logic/not.png:
3056         * shapes/Logic/or.png:
3057         * shapes/logic/xor.png:
3058         * samples/ER-demo.dia:
3059         * samples/SADT.dia:
3060         * samples/UML-demo.dia:
3061         * samples/chronograms.dia:
3062         * samples/grafcet.dia: re-added as binary files
3064 2002-05-17  Hans Breuer  <hans@breuer.org>
3066         * lib/libdia.def : reflect removing of render_store.[ch]
3068         * */makefile.mingw : remove VERSION definition it's
3069         done in config.h.win32. Dia still doesn't work if
3070         build with mingw ...
3072         * RELEASE-PROCESS : removed */makefile.mingw
3074         * app/sheets_dialog_callbacks.c : if we use those
3075         ugly charconv_gtk_* functions lib/charconv.h needs to
3076         be #included ...
3077         * lib/charconv.h : ... and needs to contain the 
3078         necesseray prototypes _and_ #defines
3080         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
3081         is deprecated and does nothing but spit a warning. This broke
3082         the shape format writing. Fixed.
3083         Also with libxml2 pretty formatted xml isn't the default
3084         anymore, but needs to be enabled explicit: It is done now 
3085         for shape files, which almost always needed to be edited by
3086         hand ... 
3088         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
3089         from stderr - which is invalid on Dia/win32 - to g_print -
3090         which opens up a console window if necessary. This way
3091         a xml-deprecation-error shouldn't stay unnoticed next time
3093 2002-05-17  Steffen Macke <sdteffen@web.de>
3095         * shapes/Misc/folder.png:
3096         * shapes/Misc/file.png: re-added as binary files
3097         
3098 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3100         * lib/font.c: Fixed segfault for fonts without family_name.
3102 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
3104         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
3106         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
3107         Lars' request, minor cosmetic stuff (mostly _() of human-readable
3108         XML comments in .sheet files; one translator booby-trap disarmed).
3110         * lib/charconv.c: moved #hell inside the body of the new
3111         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
3112         will yell)
3113         
3114 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3116         * plug-ins/wpg/Makefile.am (INCLUDES): 
3117         * plug-ins/shape/Makefile.am (INCLUDES): 
3118         * plug-ins/svg/Makefile.am (INCLUDES): 
3119         * plug-ins/pstricks/Makefile.am (INCLUDES): 
3120         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
3121         and DEBUG_CFLAGS in some missing places.
3123         * MAINTAINERS: New file containing list of known package
3124         maintainers. 
3126         * lib/charconv.h: 
3127         * lib/charconv.c: Charconv versions of some common gtk calls.
3129         * app/sheets_dialog_callbacks.c
3130         (on_sheets_new_dialog_button_ok_clicked),
3131         (on_sheets_dialog_button_edit_clicked),
3132         (on_sheets_dialog_button_remove_clicked),
3133         (on_sheets_edit_dialog_button_ok_clicked):
3134         * app/sheets.c (sheets_optionmenu_create),
3135         (sheets_optionmenu_create): Added utf8 translations.
3137         * app/sheets_dialog.c: 
3138         * app/sheets.c: 
3139         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
3141 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
3143         * po/POTFILES.in: added app/sheets_dialog.c
3145 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
3147         * lib/charconv.c: (charconv_local8_to_utf8),
3148         (charconv_utf8_to_local8): tweaked the warnings to get more 
3149         informations
3150         * lib/font.c: (font_get_suckfont): handled a potential case of
3151         uninitialised data being used (just paranoid)
3152         
3153         * objects/GRAFCET/boolequation.c: (opstring),
3154         (opblock_get_boundingbox), (opblock_draw),
3155         (boolequation_calc_boundingbox): some extra hoops needed now dia
3156         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
3157         symbols can't yet be used with their proper Unicode cells, since
3158         gtk will demand them in the Symbol font, expressed in the local
3159         8-bit encoding.
3160         
3161         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
3162         the fix just above).
3164 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
3166         * app/diagram_tree.c (get_object_name): Check that name property
3167         doesn't have null string.
3169 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3171         * autogen.sh (DIE): Added conditional --force to gettextize.
3173         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
3174         function call.
3176 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
3178         * RELEASE-PROCESS: added James' notes on how to properly make the
3179         tarball.
3181         * configure.in: removed macro nesting related to libpng.h, which
3182         was causing some problems on some systems (like mine, which made
3183         the snapshots bad).
3185         Made --enable-unicode, previously an option, the mandatory case.
3187         * app/Makefile.am: updated EXTRA_DIST
3188         
3189         * NEWS:
3190         * app/makefile.mingw:
3191         * dia.spec:
3192         * doc/en/dia-manual.sgml:
3193         * plug-ins/makefile.mingw:
3194         * configure.in: bumped up the version number to 0.90.RC1
3196         * lib/render_objects.[ch]:
3197         * po/POTFILES.in: removed render_objects from the build.
3199         * plug-ins/Makefile.am:
3200         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
3201         so we keep its source in the tarball.
3203         * objects/network/*.c, Makefile.am:
3204         * objects/sybase/*.c, Makefile.am:
3205         * po/POTFILES.in: cleaned up the non-existent files from the po
3206         build process.
3208         * plug-ins/Makefile.am: re-enabled metapost plug-in.
3209         
3210 2002-05-13  Steffen Macke <sdteffen@web.de>
3212         * AUTHORS:
3213         * app/command.c: added M. C. Nelson to the Authors
3214         * sheets/Circuit/Makefile.am: added firewall shape to build
3215         * sheets/network/Makefile.am: added telephone and microphone
3216           shapes to build
3218 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3220         * RELEASE-PROCESS: Added list of files that contain the release
3221         number or should otherwise be changed at each release.
3223 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3225         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
3226         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
3228 2002-05-12  Hans Breuer  <hans@breuer.org>
3230         * config.h.win32 : changed VERSION to 0.90.RC1
3232         * app/makefile.msc lib/makefile.msc : use renamed
3233         gdk-pixbuf version (same content but renamed because
3234         all the other gtk+ dlls are renamed) to avoid trouble
3235         mixing gtk versions (of which one would not 
3236         be initialized ...
3238         * app/app_procs.c : removed recently unneeded
3239         inclusion of "sheets.h"
3241         * app/render_gdk.c : removed my own debug spew
3242         which should never made it to cvs
3244         * lib/render_object.[hc] : added
3245         #error "File not used anymore."
3247         * lib/libdia.def : updated externals
3249         * app/interface.c : dropped filenames need to be
3250         converted from uri with Gtk+2.0
3252 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
3254         * RELEASE-PROCESS (new): a draft document about how to release. To
3255         be discussed. (already with some input from Hans Breuer)
3257 2002-05-12  Steffen Macke <sdteffen@web.de>
3259         * sheets/Makefile.am: re-added Misc sheet to make process
3260         
3261 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3263         * objects/FS/function.c: Added comments to humungous list of menu
3264         items, to aid translators.
3266 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3268         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
3270         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
3272         * app/interface.c (create_toolbox): Disallow shrinking beyond
3273         requested size.  Fixes bug #59439, and confirms to GTK guidelines
3274         (see gtk_window_set_policy).
3275         (create_sheets): Removed now unnecessary set_usize call.
3277 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3279         * lib/beziershape.c (remove_handles): Fixing removal of last
3280         segment.  Undo of removal still hokey.
3282 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3284         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
3285         handles. 
3286         * lib/beziershape.c (beziershape_init): Removed early call to
3287         beziershape_update_data where points aren't set yet.
3288         (beziershape_add_segment): Use segment 0 instead of overflowing
3289         points array with segment+1.
3290         (beziershape_remove_segment): Proper offset for fixing
3291         connectionpoints. 
3292         (remove_handles): Proper offset.
3294 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
3296         * objects/GRAFCET/action.c (action_update_data): Init x value of
3297         click point for call to connpointlist_adjust_count.
3299         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
3301         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
3302         setting to where values are inited.
3304         * lib/polyshape.c (polyshape_init): Removed call to
3305         polyshape_update_data that tried to use uninitialized data.
3307 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3309         * app/sheets_dialog.c: Mass removal of //-style comments.  The
3310         Irix compiler doesn't like them:(  I do...
3312 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3314         * app/render_libart.c (draw_string): Bail out when no GDK font is
3315         found.
3316         (set_font): Give error when font not found.
3317         (set_fillstyle): Intlized error msg.
3319         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
3320         modified when applied (and ok only does apply if apply is set
3321         sensitive).  Fixes bug #75623.
3323 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
3325         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
3327 2002-05-05  Steffen Macke <sdteffen@web.de>
3329         * app/Makefile.am: added $(UNICODE_CFLAGS)
3330         
3331 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3333         * app/commands.c (help_manual_callback): Check return value of
3334         opendir.
3336         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
3338         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
3339         checks for errors.
3341 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3343         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
3345         * objects/UML/uml.c (uml_operation_read): Fix of UML default
3346         inheritance. 
3348 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3350         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
3351         Added button to toggle diagram compression.
3353 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3355         * lib/font.c: Support for loading extra kerning files, plus got
3356         rid of rounding errors.  Bounding box mostly perfect for freetype
3357         fonts.
3358         (font_string_width): Fudge factor to get around nonlinearity of
3359         font scaling.
3361 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3363         * lib/font.c (font_string_width): YA font calculation scheme, with
3364         comments.
3366         * objects/UML/class.c (umlclass_calculate_data): Uses the same
3367         font for drawing and calculating now.
3369         * configure.in: Added utime.h check.
3371         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
3372         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
3374 2002-04-26  Hans Breuer  <hans@breuer.org>
3376         [ Instead of fixing about 70 occurances in 20 files
3377           where GTK_TALKS_UTF8_WE_DONT needed to be handled
3378           Dia on win32 from now on uses glib-2.0 and not 
3379           only talks utf-8 with gtk-1.3 but also internally.
3380           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
3381           anymore. ]
3383         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
3384         #undef GTK_TALKS_UTF8_WE_DONT
3386         * */makefile.msc : changes to use glib-2.0 (still
3387         using gtk+1.3(win32-production)
3389         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
3390         adapt kevent->string handling, add <string.h>
3391         * app/render_gdk.c (get_text_width) : the length given
3392         is in chars, gdk_text_width() needs bytes
3394         * app/render_libart.c : 
3395         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
3396         (could simplify the same way as done in render_gdk.c)
3398         * app/diagram_tree.c app/paginate_gdiprint.cpp
3399           app/sheets.c :
3400         * lib/prop_basic.c lib/prop_geomtypes.c 
3401           lib/propdialgs.c lib/propobject.c :
3402         added <string.h> which is now removed from charconv.h
3404         * lib/charconv.h : optional use infrastructure from
3405         glib-2.0 -> only five direct function mapping left
3407         * lib/charconv.c : avoid to build this with glib-2.0
3409         * lib/font.c : no string conversion needed anymore      
3410         when Dia and Gtk talk utf-8, also code adaptions
3411         for GLIB_CHECK_VERSION(2,0,0)
3413         * lib/libdia.def : removed charconv functions
3415         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
3416         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
3418         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
3419         removed GTK_TALKS_UTF8_WE_DONT
3421         * lib/text.c : finally(?) fixed cursor <place|move>ment 
3422         for Umlauts. Also fixed char insertion, still wondering
3423         how this could ever work. Does realloc on Linux 
3424         initialize the memory with zeros ?
3426         * objects/chronogram/chronoline_event.c
3427           objects/grafcet/boolequation.c :
3428         there is no uni_get_utf8 when building for glib-2.0.
3429         Replace with g_utf8_get_char() and g_utf8_next_char().
3431         * objects/uml/stereotype.c (bracketted_to_string) : 
3432         simplify while adding code for glib-2.0 build
3434 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
3436         * app/diagram.h: Autosave field
3437         * app/diagram.c (diagram_set_modified): Sets autosave field.
3438         
3439         * objects/UML/usecase.c (usecase_update_data): 
3440         * objects/flowchart/ellipse.c (ellipse_update_data): 
3441         * objects/flowchart/parallelogram.c (pgram_update_data): 
3442         * objects/flowchart/diamond.c (diamond_update_data): 
3443         * objects/custom/custom_object.c (custom_update_data): 
3444         * objects/UML/state.c (state_update_data): 
3445         * objects/UML/small_package.c (smallpackage_update_data): 
3446         * objects/UML/object.c (objet_update_data): 
3447         * objects/UML/note.c (note_update_data): 
3448         * objects/UML/node.c (node_update_data): 
3449         * objects/UML/component.c (component_update_data): 
3450         * objects/UML/classicon.c (classicon_update_data): 
3451         * objects/UML/actor.c (actor_update_data): 
3452         * objects/SADT/box.c (sadtbox_update_data): 
3453         * objects/FS/function.c (function_update_data): 
3454         All now update text boundaries from update_data.
3455         
3456         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
3457         correctly. 
3459 2002-04-26  Hans Breuer  <hans@breuer.org>
3461         * config.h.win32 : added VERSION definition here
3462         (and removed from makefile.msc's)
3464         * app/makefile.msc : added new files
3466         * app/app_procs.c (app_init): remove sheets_dialog_create()
3467         from start-up and ... 
3469         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
3470         sheet_dialog here when it is really needed.
3471         #include "../lib/message.h", make sheets_dialog_create() 
3472         return it's success or failing on (!custom_type_symbol). 
3473         Although editing shapes is nice IMHO it isn't crucial enough 
3474         to abort() Dia if       it isn't possible.
3476         * app/sheet.h : adapt create_sheet_dialog() prototype
3478         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
3480         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
3481         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
3482         name space corrections for utime() and utim_buf #ifdef
3483         G_OS_WIN32
3485         * lib/libdia.def : export new sheet functions
3487         * lib/makefile.msc : added new files
3489         * lib/render.c : don't put draw_bezier_with_arrows() in
3490         the DrawLineWithArrowsFunc slot
3492         * objects/custom/custom_object.c : #include <gmodule.h>
3493         and export 'custom_type' via G_MODULE_EXPORT
3495         * objects/uml/class_dialog.c : removed 'incompatible 
3496         types' warnings. Some refactoring while making it fit
3497         on screen with 800x600 again.
3499         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
3501         * plug-ins/python/pydia-handle.h : extra parameter to
3502         PyDiaHandle_New to store the owner of the handle
3503         * plug-ins/python/pydia-handle.c : store handle owner
3504         on construction and use it in new method .connect()
3505         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
3506         adapt to changed prototype
3508 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3510         * lib/text.c (text_calc_boundingbox): Will now return early if box
3511         passed is NULL.
3513         * objects/flowchart/box.c (box_update_data): Now updates text
3514         width info from update_data.
3516 2002-04-23  Steffen Macke <sdteffen@web.de>
3518         * plug-ins/xfig/xfig-import.c: fixed text import
3519         
3520 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3522         * app/export_png.c: Moved dialog functions to their own file.
3523         * app/dialogs.[ch]: New files with standard functions for creating
3524         small, transient dialogs (e.g. export options).
3525         * app/Makefile.am: Added dialogs.[ch]
3527 2002-04-19  Steffen Macke <sdteffen@web.de>
3529         * shapes/Misc/folder.*:
3530         * shapes/Misc/file.*:
3531         * shapes/Misc/Makefile.am:
3532         * shapes/Makefile.am:
3533         * sheets/Misc.sheet.in:
3534         * sheets/Makefile.am:
3535         * configure.in: added new Misc sheet containing filesystem shapes
3536         
3537 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3539         * app/lineprops_area.c: Arrow selector in toolbox changed to use
3540         standard arrowdraw code.  Line is thinner to make some arrowheads
3541         distinguishable. 
3543 2002-04-18  Steffen Macke <sdteffen@web.de>
3545         * sheets/network.sheet.in:
3546         * shapes/network/telephone.shape:
3547         * shapes/network/Makefile.am: added telephone shape
3548         
3549 2002-04-16  Steffen Macke <sdteffen@web.de>
3551         * sheets/EML.sheet.in: commented out unavailable shapes
3552         
3553 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
3555         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
3556           variable assignment.
3557         
3558 2002-04-15  Steffen Macke <sdteffen@web.de>
3560         * plug-ins/dxf/dxf-import.c: text import works again
3561         * shapes/Pneumatic/Makefile.am: added compush shape
3562         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
3563         and dist53
3564         
3565 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
3567         * All these modifications are for the 'Sheets and Objects' dialog
3568           (new feature):
3570         * app/pixmaps/line_break.xpm: new icon representing a line break.
3571         
3572         * app/pixmaps/n_a.xpm: new empty icon representing not available.
3574         * app/Makefile.am: added sheets_*.[ch] files to compile list.
3575         
3576         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
3577         
3578         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
3580         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
3581         
3582         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
3583         
3584         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
3586         * app/sheets_dialog_callbacks.h: [new file] support for " " "
3588         * app/interface.c: added 'interface_current_sheet_name' global to 
3589           fill_sheet_wbox(); made fill_sheet_menu() non-static
3591         * app/interface.h: added extern declaration for aboves.
3593         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
3595         * app/sheets.h: [new file] declarations for backing store structures
3597         * lib/sheet.c: modification of new_sheet() parameters; introduction
3598           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
3599           changes to load_register_sheet().
3601         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
3602           added 'has_icon_on_sheet' flag to SheetObject structure; added 
3603           'filename', 'scope', 'shadowing' fields to Sheet structure.
3605         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
3606           it belongs.
3608         * lib/plug-isn.h: see above.
3610         * lib/object.c: added 'sheet.h' to include list; added several 
3611           functions
3612           to detect objects which are not found on any sheet (for future use)
3613           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
3614           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
3616         * lib/object.h: added public declarations for above functions where
3617           necessary.
3619         * objects/custom/custom.c: made custom_object_load() non-static so we
3620           can load and interpret .shape files from the Sheets & Objects dialog
3622         * objects/custom/custom_object.c: made 'custom_type' non-static so 
3623           we can differentiate between SVG shapes and other types.a
3625 2002-04-07  Hans Breuer  <hans@breuer.org>
3627         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
3628         from 2002-01-22 to not destroy diagram->data->selected. 
3629         Avoids to crash on Objects/Align/Vertical/Top
3631         * app/render_eps.c (draw_string) : un-const buffer
3632         It isn't at all const (g_malloc(), assignment, g_free()).
3633         Doesn't gcc catch such ?
3635         * lib/arrows.h : prototype calculate_arrow_point()
3637         * lib/font.c (font_get_suckfont) : no need to
3638         special case gdk_draw_string() with GTK_TALKS_UTF8,
3639         cause all the parameter differences are handled above
3641         * lib/libdia.def : updated externals
3643         * lib/makefile.msc : removed string_prerenderer, added render
3645         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
3646         is expected. [Sometimes it's good to read compiler warnings.]
3648         * objects/standard/image.c : simplified by use of g_strconcat()
3650         * plug-ins/python/makefile.msc : updated for Python 2.2
3652 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
3654         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
3655         directionality problem for zero-length line segments.
3657 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
3659         * app/diagram.c (diagram_ungroup_selected) 
3660         (diagram_update_menu_sensitivity): Now allows ungrouping of
3661         several groups at once.
3663 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
3665         * lib/render.c, all renderers: Binary incompatibility, change to
3666         expandable renderops structure.
3668 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
3670         * objects/standard/Makefile.am:
3671         * objects/network/Makefile.am:
3672         * objects/UML/Makefile.am:
3673         * objects/ER/Makefile.am:
3674         * objects/FS/Makefile.am:
3675         * objects/flowchart/Makefile.am:
3676         * objects/custom/Makefile.am:
3677         * objects/GRAFCET/Makefile.am:
3678         * objects/chronogram/Makefile.am:
3679         * objects/SADT/Makefile.am:
3680         * plug-ins/cgm/Makefile.am:
3681         * plug-ins/pstricks/Makefile.am:
3682         * plug-ins/hpgl/Makefile.am:
3683         * plug-ins/wpg/Makefile.am:
3684         * plug-ins/svg/Makefile.am:
3685         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
3686         
3687 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3689         * app/render_eps.c: Support for dumping TrueType fonts (taken from
3690         ttfps).
3692 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3694         * lib/render.c: New abstract super class for renderers.
3696 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
3698         * objects/ER/attribute.c (attribute_save): save a font property.
3699         (attribute_load): load a font property, and if can't load it, it's
3700         initialized.
3702         * objects/ER/entity.c (entity_save): save a font property.
3703         (entity_load): load a font property, and if can't load it, it's
3704         initialized.
3706         * objects/ER/relationship.c (relationship_save): save a font property.
3707         (relationship_load): load a font property, and if can't load it, it's
3708         initialized.
3710         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
3711         has a vaule.
3712         (umlclass_save): save the font and the font size properties.
3713         (umlclass_load): load the font and the font size properties.
3715 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
3717         * lib/string_prerenderer.[ch] (REMOVED):
3718         * lib/render.h:
3719         * lib/diagramdata.c:
3720         * lib/Makefile.am:
3721         * app/render_eps.c: got rid of the string-specific string
3722         prerenderer, transitioned its functionality towards Lars'
3723         two-phase rendering
3725 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
3727         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
3728         may need to rerun aclocal.
3730 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3732         * lib/font.c: First attempt at Unicodeness for Freetype.
3734 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3736         * lib/font.c (font_string_width): Fixed font_string_width for
3737         freetype.  BB is now almost right.
3739 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3741         * app/render_eps.h: 
3742         * app/paginate_psprint.c (paginate_psprint): 
3743         * lib/font.c: 
3744         * app/render_eps.c: Support for dumping postscript fonts into
3745         postscript files with freetype.  Fairly primitive, but works.
3746         Unicode version may have problems.
3748 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
3750         * objects/UML/class_dialog.c (class_read_from_dialog)
3751         (class_fill_in_dialog), (class_create_page): add the font selector and
3752         the font size selector.
3754         * objects/UML/class.c (umlclass_draw): uses each font_height.
3755         (umlclass_calculate_data): ditto.
3756         (fill_in_fontdata): add initial value of new font_height.
3757         (umlclass_copy): add new font_height.
3759 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
3761         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
3762         
3763         * lib/font.c: calculate font metrics properly and stop guessing at
3764         string widths.
3766 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
3768         * configure.in: changed gtk_advancement value to dia_talks_utf8.
3769         right now Dia is working with UTF-8 internally. it means Dia probably
3770         support most languages also including the languages which heretofore
3771         didn't work correctly.
3773 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
3775         * objects/FS/function.c: add related text properties.
3776         (function_get_props), (function_set_props): add handling attribute.
3778         * objects/FS/flow.c: add related text properties.
3779         (flow_get_props), (flow_set_props): add handling attribute.
3781         * objects/FS/flow-ortho.c: add related text properties.
3782         (orthflow_set_props), (orthflow_get_props): add handling attribute.
3784         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
3786         * objects/ER/entity.c: ditto.
3788         * objects/ER/attribute.c: ditto.
3790 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
3792         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
3793         
3794         * autogen.sh: add a check for missing intltoolize.
3796 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
3798         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
3799         charcode, it was registered the duplicate item to HashTable. fix.
3801         * app/render_gnomeprint.c (get_width_string): add new function.
3802         (draw_string): fix non-multibyte specific code.
3804 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
3806         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
3807         
3808         * lib/font.c: do not try to search paths that do not begin with
3809         '/', like X Font Server addresses.
3810         
3811         * objects/UML/message.c (message_draw): free mname when not 
3812         message->text but CREATE or DESTROY.
3813         
3814         * objects/UML/uml.h:
3815         * objects/UML/uml.c:
3816         * objects/UML/class_dialog.c: added code to handle a stereotype 
3817         attribute for operations.
3819 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
3821         * lib/Makefile.am: add LIBART_CFLAGS.
3823 2002-02-15  Hans Breuer  <hans@breuer.org>
3825         * lib/font.c (font_get_suck_font): the black and white pixel values 
3826         need to be taken from a 1 bit colormap rather than the default colormap.
3827         (fixed again, last time was 2000-05-26)
3829         Also handle the case where GTK_TALKS_UTF8 and expects all strings
3830         passed in to be in this encoding.
3832         * lib/libdia.def : export suck_font_free()
3834         * lib/text.c (text_draw) : avoid circular dependency to ../app
3835         at least for the !USE_XIM case, where it is unnecessary.
3837 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
3839         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
3840         
3841         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
3842         * sheets/Circuit.sheet.in: added new shape microphone
3843         * shapes/Circuit/speaker_de.shape: Added a connection point.
3844         
3845 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
3847         * app/render_libart.c (draw_string): fixed build issue for Win32.
3849         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
3850         Win32.
3852         * configure.in: fixed testing gtk_advancement.
3854         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
3856 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
3858         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
3859         diagram window.
3861 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
3863         * app/group.c (group_copy): Made new object properly initialized
3864         before copy.
3866 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
3868         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
3869         
3870 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
3872         * lib/text.c (text_draw): fixed XIM transaction.
3874         * app/interface.c (create_display_shell): add signal for
3875         size_allocate.
3877         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
3878         XIM transaction.
3879         (set_input_dialog): remove.
3880         (ddisplay_canvas_events): remove XIM transaction. it can't transact
3881         correctly on this function.
3883 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3885         * app/app_procs.c:
3886         * app/export_png.c: Added checks for interactivity (maybe this
3887         should be a hook after all?).
3889         * app/filedlg.c (file_export_callback): Made export dialog add
3890         suffix when reopened.
3892         * app/export_png.c: Added dialog asking for export size.
3894 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3896         * lib/widgets.c: Fixed font reselection problem and first font
3897         bogus warning.
3899         * objects/UML/actor.c (actor_update_data): Changed to have
3900         connection points below text.
3902 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
3904         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
3905         and memcpy().
3907 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
3909         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
3910         strings which is given.
3911         (suck_font): remove. it's any longer needed.
3913         * app/render_libart.c (set_font): don't get suckfont.
3914         (draw_string): get suckfont only which is needed for now.
3916 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3918         * lib/text.c: Fixes for misunderstood width functions.
3920 2002-02-05  Hans Breuer  <hans@breuer.org>
3922         * lib/dia_xml.c : use g_strconcat() instead of 
3923         malloc, strcpy, strcat dance
3924         * app/properties.c : same here and plug memory leak
3925         (gtk functions don't eat strings)
3927         * objects/UML/message.c : there is no g_sprintf()
3928         use g_strdup_printf() instead ...
3930 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
3932         * lib/message.c (gtk_message_internal): doesn't need to convert to
3933         UTF-8.
3935         * app/render_libart.c (draw_string): fixed transaction for UTF-8
3936         support.
3937         (get_text_width): ditto.
3939         * app/Makefile.am (EXTRA_DIST):
3940         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
3942         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
3943         This function needs ifdef HAVE_FREETYPE because don't use it for
3944         --disable-freetype
3946 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
3948         * NEWS: updated with the new dependencies.
3949         
3950         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
3952         * objects/UML/class.h:
3953         * objects/UML/class.c:  
3954         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
3955         property using a GtkMenu. Options are Undefined, In, Out, In & Out
3957 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
3959         * app/render_libart.c: Slow but working libart freetype renderer,
3960         with color!
3962 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3964         * app/render_gdk.c (draw_string): Fixed gc_function bug.
3966         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
3968         * lib/font.c (freetype_render_string): 
3969         * lib/font.h:
3970         * app/render_gdk.c:
3971         * app/render_gdk.h: Changed freetype_render_string to use
3972         callback.  Rendering is broken.
3974 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
3976         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
3978         * objects/UML/uml.h:    
3979         * objects/UML/uml.c: added UMLInheritanceType and isQuery
3980         (constant) UML Operation attributes. UMLInheritanceType is either
3981         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
3983         * objects/UML/class.h:
3984         * objects/UML/class.c:  
3985         * objetcs/UML/class_dialog.c: added code to handle new
3986         UMLOperation attributes via a GtkMenu and a checkbox.
3988 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
3990         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
3991         several client doesn't work with previous codes.
3993 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
3995         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
3996         seem to use it.
3998 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
4000         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
4001         when doing the operation like invert the objects after active view is
4002         destroyed. when changes focus, it needs to set active_display.
4004         * app/layer_dialog.c (dia_layer_update_from_layer):
4005         (layer_dialog_edit_layer): need to convert to locale encoding
4006         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
4007         (edit_layer_ok_callback):
4008         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
4010         * lib/diagramdata.c (new_diagram_data): ditto.
4012         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
4014         * lib/diagramdata.c (new_layer): use utfchar instead of char for
4015         argument.
4017         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
4018         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
4019         it's needed for now. also this function needs prototype declaration.
4021 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4023         * lib/widgets.c: Style now functional on font selector.  Some leak
4024         possible, but doesn't show up under stress test.
4026 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
4028         * app/plugin-manager.c (clist_select_row): name and description needs to
4029         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
4030         (get_plugin_manager): ditto.
4032         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
4034         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
4035         support.
4037         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
4038         when prop->string_data is NULL.
4040 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4042         * lib/widgets.c: 
4043         * lib/widgets.h: New font selector separating font and style.
4044         Style not functional yet.
4046 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
4048         * lib/text.c: 
4049         * app/render_gdk.c (draw_string): More freetype support, now
4050         renders text.  Still broken is font selection and exporting.
4052 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
4054         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
4055         for font.
4057         * objects/chronogram/chronoline.c (chronoline_create): ditto.
4059         * objects/UML/usecase.c (usecase_create): ditto.
4061         * objects/UML/state.c (state_create): ditto.
4063         * objects/UML/object.c (objet_create): ditto.
4065         * objects/UML/node.c (node_create): ditto.
4067         * objects/UML/message.c (message_create): ditto.
4069         * objects/UML/component.c (component_create): ditto.
4071         * objects/UML/classicon.c (classicon_create): ditto.
4073         * objects/UML/actor.c (actor_create): ditto.
4075         * objects/SADT/box.c (sadtbox_create): ditto.
4077         * objects/SADT/annotation.c (annotation_create): ditto.
4079         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
4081         * objects/GRAFCET/step.c (STEP_FONT):
4082         * (step_create): ditto.
4084         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
4086         * objects/GRAFCET/action.c (ACTION_FONT):
4087         (action_create): ditto.
4089         * objects/FS/function.c (function_create): ditto.
4091         * objects/FS/flow.c (flow_create):
4092         (flow_load): 
4093         (flow_apply_defaults): ditto.
4095         * objects/FS/flow-poly.c (flow_create):
4096         (flow_load):
4097         (flow_apply_defaults): ditto.
4099         * objects/FS/flow-ortho.c (orthflow_create):
4100         (orthflow_load):
4101         (orthflow_apply_defaults): ditto.
4103         * objects/ER/relationship.c: use utfchar instead of char for structure.
4104         (relationship_create): name needs to convert to UTF-8.
4106         * objects/ER/attribute.c: use utfchar instead of char for structure.
4107         (attribute_create): name needs to convert to UTF-8.
4109         * objects/ER/entity.c: use utfchar instead of char for structure.
4110         (entity_create): name needs to convert to UTF-8.
4112         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
4113         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
4114         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
4115         items. if GTK_TALKS_UTF8 isn't defined.
4117 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
4119         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
4120         it was my careless mistake...
4122         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
4123         a font name, because there are strings which isn't shown by "Courier".
4124         We need to consider a way to feel free to choose a font at runtime.
4126         * lib/render_object.c (render_object_load): ditto.
4128         * lib/text.c (data_text): ditto.
4130         * objects/EML/instantiation.c (instantiation_create): ditto.
4132         * objects/EML/interaction-ortho.c (interaction_ortho_create):
4133         (interaction_ortho_load): ditto.
4135         * objects/EML/interaction.c (interaction_create):
4136         (interaction_load): ditto.
4138         * objects/EML/process.c (fill_in_fontdata): ditto.
4140         * objects/ER/attribute.c (attribute_create): 
4141         (attribute_load): ditto.
4143         * objects/ER/entity.c (entity_create): 
4144         (entity_load): ditto.
4146         * objects/ER/relationship.c (relationship_create): 
4147         (relationship_load): ditto.
4149         * objects/UML/association.c (association_create): 
4150         (association_load): ditto.
4152         * objects/UML/class.c (fill_in_fontdata): ditto.
4154         * objects/UML/constraint.c (constraint_create): ditto.
4156         * objects/UML/dependency.c (dependency_create): ditto.
4158         * objects/UML/generalization.c (generalization_create): ditto.
4160         * objects/UML/implements.c (implements_create): ditto.
4162         * objects/UML/large_package.c (largepackage_create): ditto.
4164         * objects/UML/note.c (note_create): ditto.
4166         * objects/UML/realizes.c (realizes_create): ditto.
4168         * objects/UML/small_package.c (smallpackage_create): ditto.
4170         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
4172         * objects/custom/custom_object.c (custom_create): ditto.
4174         * objects/network/antenna.c (render_to_store): ditto.
4176         * objects/network/computer.c (render_to_store): ditto.
4178         * objects/network/disc.c (render_to_store): ditto.
4180         * objects/network/flash.c (render_to_store): ditto.
4182         * objects/network/hub.c (render_to_store): ditto.
4184         * objects/network/modem.c (render_to_store): ditto.
4186         * objects/network/modularswitch.c (render_to_store): ditto.
4188         * objects/network/monitor.c (render_to_store): ditto.
4190         * objects/network/printer.c (render_to_store): ditto.
4192         * objects/network/rj45plug.c (render_to_store): ditto.
4194         * objects/network/scead-plug.c (render_to_store): ditto.
4196         * objects/standard/textobj.c (textobj_load): ditto.
4198         * objects/sybase/client.c (render_to_store): ditto.
4200         * objects/sybase/dataserver.c (render_to_store): ditto.
4202         * objects/sybase/ltm.c (render_to_store): ditto.
4204         * objects/sybase/repserver.c (render_to_store): ditto.
4206         * objects/sybase/rsm.c (render_to_store): ditto.
4208         * objects/sybase/stableq.c (render_to_store): ditto.
4210         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
4212         * objects/UML/uml.h (UML_STEREOTYPE_START):
4213         (UML_STEREOTYPE_END): changes default strings.
4215 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
4217         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
4218         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
4219         which is given to arguments isn't UTF-8. so don't need to convert it.
4220         if GTK+ handle UTF-8, also don't need to convert it.
4221         (strend): remove.
4222         (bracketted_to_string): fixed transaction for UTF-8 support.
4223         also start/end bracket is not necessarily 1 character. so that when use
4224         strend(), it doesn't work correctly.
4225         (string_to_stereotype): use utfchar instead of char.
4226         (remove_stereotype_from_string): ditto.
4227         (stereotype_to_string): ditto.
4229         * objects/UML/stereotype.h: ditto.
4231         * objects/UML/message.c: use utfchar instead of char for structure.
4232         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
4234         * objects/UML/small_package.c: use utfchar instead of char for structure.
4236         * objects/UML/realizes.c: ditto.
4238         * objects/UML/object.c: ditto.
4240         * objects/UML/large_package.c: ditto.
4242         * objects/UML/implements.c: ditto.
4244         * objects/UML/generalization.c: ditto.
4246         * objects/UML/dependency.c: ditto.
4248         * objects/UML/constraint.c: ditto.
4250         * objects/UML/component.c: ditto.
4252         * objects/UML/class_dialog.c (attributes_get_current_values):
4253         (attributes_list_new_callback, attributes_fill_in_dialog):
4254         (parameters_set_values, parameters_get_values):
4255         (parameters_get_current_values, parameters_list_new_callback):
4256         (operations_set_values, operations_get_values):
4257         (operations_get_current_values, operations_list_new_callback):
4258         (operations_fill_in_dialog, templates_set_values):
4259         (templates_get_values, templates_get_current_values):
4260         (templates_list_new_callback, templates_fill_in_dialog):
4261         fixed transaction for UTF-8 support.
4263 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
4265         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
4267         * objects/UML/class_dialog.c (class_read_from_dialog):
4268         (class_fill_in_dialog):
4269         (attributes_get_values): ditto.
4271         * objects/UML/actor.c (actor_create): ditto.
4273         * objects/UML/class.c (umlclass_calculate_data): ditto.
4275         * objects/UML/association.c (association_apply_properties):
4276         (fill_in_dialog): ditto.
4278         * objects/UML/uml.c (uml_get_attribute_string):
4279         (uml_get_operation_string):
4280         (uml_get_parameter_string):
4281         (uml_get_formalparameter_string): use utfchar instead of char.
4283         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
4284         UML_STEREOTYPE_END.
4286         * objects/UML/class.h: use utfchar instead of char.
4288         * lib/dia_xml.c (data_add_string): ditto.
4290         * lib/text.c (text_insert_char): fixed characters# calculation
4291         when includes multibytes character in strings.
4293 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
4295         Patch from Richard Rowell <rwrowell@bellsouth.net>:
4297         * app/lineprops_area.c:
4298         * lib/arrows.h:
4299         * lib/arrows.c: 
4300         * lib/widgets.c: added crow foot arrow and cross arrow
4301         
4302         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
4303         
4304         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
4306 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
4308         * po/update.pl (REMOVED):
4309         * po/update.sh (REMOVED):
4310         * xml-i18n-merge.in.kg (REMOVED):
4311         * xml-i18n-update.in.kg (REMOVED):
4312         * sheets/Makefile.am:
4313         * Makefile.am:
4314         * autogen.sh:
4315         * configure.in: converted from xml-i18n-tools to intltools
4317         This looks like it fixes the build bugs of the snapshot tarballs, 
4318         and it supersedes #69611.       
4320 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
4322         * lib/text.c (text_insert_char): fixed characters# calculation.
4323         it's not string length.
4325         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
4326         is defined, needs to convert a description to UTF-8.
4328         * app/render_gdk.c (get_text_width): fixed transaction for
4329         UTF-8 support. also should uses gdk_text_width_wc() instead
4330         of gdk_text_width().
4332         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
4333         is defined, needs to convert to locale encoding for display.
4334         Also use utfchar instead of char for argument.
4336 2002-01-24  Hans Breuer  <hans@breuer.org>
4338         * app/commands.c(edit_paste_callback and more) : 
4339         call diagram_modified(ddisp->diagram) to fix #68083
4340         (help_menu_callback) : plug a DIR leak
4342         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
4343         GTK_TALKS_UTF8_WE_DONT
4345         * app/render_gdk.c(get_text_with) : it's a bad idea to use
4346         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
4347         gdk_text_width(). The length value is still questionable ...
4349         * lib/charconv.c : use functions already available in early
4350         GLIB-1.3 days whiches API hasn't changed since, to avoid
4351         version problems with the win32 build
4353         * lib/font.c : finally fix #58045 and #68208
4355         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
4357 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
4359         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
4360         no strings, fixed transaction.
4362         * lib/charconv.h: fixed typo.
4364         * app/menus.c: fixed typo.
4366         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
4368         * objects/UML/object.c: attrib's type uses utfchar instead of char.
4370         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
4372         * lib/text.c (text_create_change): use unichar instead of char.
4374         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
4375         use utfchar instead of char.
4377         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
4378         UTF-8 support.
4380         * lib/charconv.c (charconv_utf8_get_char): add new function.
4382 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
4384         * lib/text.c (text_delete_forward, text_delete_backward,
4385         text_split_line): fixed transaction for UTF-8 support.
4387         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
4388         strlen[] has string length for UTF-8, so has to use alloclen[].
4390         * dia.pot: remove.
4392         * .cvsignore: add dia.pot.
4394 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
4396         * configure.in: Added "sk" to ALL_LINGUAS.
4398 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
4400         * lib/text.c (text_set_string, new_text, text_copy,
4401         text_get_string_copy, text_join_lines): use utfchar instead of gchar
4402         for strings.
4404         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
4405         strchr().
4407         * lib/charconv.c (charconv_utf8_strchr): add new function.
4409         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
4411         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
4413         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
4414         strings to the appropriate encoding.
4416 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
4418         * app/object_ops.c (object_list_align_[hv]): Leak fix.
4420         * lib/Makefile.am (INCLUDES): Added debug flags.
4422         * app/object_ops.c: Fixed ordering problem of align equi-distant &
4423         adjacent. 
4425 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
4427         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
4428         gdk_string_width().
4430         * objects/GRAFCET/boolequation.c: fixed invalid comment.
4432         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
4433         when defined UNICODE_WORK_IN_PROGRESS.
4435         * lib/dia_xml.c (data_add_string): fixed typo.
4437 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
4439         * configure.in: fixed test gtk_advancement.
4441 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
4443         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
4444         exported to SVG
4446         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
4448         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
4449         tool tips, preferences, and arbitrarily long ~/.dia/history
4451         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
4452         removed 'Open Recent'; added new separators for recent documents on
4453         File menu.
4455         * app/interface.[ch] (interface_get_toolbox_shell): new function
4457         * app/diagram.c: added new parameter to recent_file_history_add() call
4459         * app/preferences.[ch]: added new 'Recent documents list size'
4460         preferences item
4461         
4462 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
4464         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
4465         if it failed, should be used gdk_font_load ().
4467         * lib/font.c (font_data): added the font entries for CJK.
4469 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
4471         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
4473         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
4474         
4475 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
4477         Patch from Martin Cracauer <cracauer@cons.org>:
4478         
4479         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
4480         non-GNOME case ?)
4482 2002-01-01  Hans Breuer  <hans@breuer.org>
4484         * app/command.c : optional use GDI printing on windoze
4486         * app/preferences.[hc] : add option 'prefer_psprint' to 
4487         select the print engine to use (could be used for Dia/Gnome
4488         as well)
4490         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
4491         wmf plug-in with the common win32 print api. Now printing
4492         should work almost as expected from a windows program :-)
4494         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
4495         to .edit_delete to avoid clashes with C++
4497         * app/makefile.msc : updated for GDI printing
4499         * plug-ins/wmf/wmf.cpp : some small modifications to support
4500         GDI printing. Also swap R and B channel in draw_image()
4502         * app/makefile.am : added windows only files to EXTRA_DIST
4504         * objects/uml/class.c(umlclass_set_props) : force recalculation
4505         when applying properties
4507         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
4508         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
4509         many incompatible changes (and would force a gtk update)
4511         * objects/makefile.msc : don't build C-Objects which are
4512         already available as 'pure shape'
4514         * plug-ins/makefile.msc : remove diaimport from build. It was
4515         only available via mailing-list and is broken since the
4516         StdProp overhaul.
4519         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
4521         * app/preferences.[hc] : tweaked preferences.c to make 
4522         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
4523         added some more DiagramTree prefererences and their own
4524         notebook page.
4526         * app/diagram_tree.[hc] : allow to sort by object type or name
4527         and hide by type ...
4528         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
4529         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
4531         * app/diagram_tree_window.c : handle hidden types and window
4532         size restoring.
4534 2001-12-20  Hans Breuer  <hans@breuer.org>
4536         * plug-ins/python/Makefile.am : patch from Peter Moulder 
4537         <pmoulder@csse.monash.edu.au> to make the python plug-in
4538         compile on *nix too.
4540 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
4542         Patch from Alan <horkana@tcd.ie>:
4544         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
4546 2001-11-20  Hans Breuer  <hans@breuer.org>
4548         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
4550 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
4552         * app/diagram_tree.[hc] : Added new functions and types for
4553         sorting diagram and objects, and attaching the popup menus.
4555         * app/preferences.h: Added more diagram tree preferences, using a
4556         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
4557         height and width of the diagram tree window and the default sort
4558         orders for diagrams and objects.
4560         * app/preferences.c (prefs_data): Added new entries for the new
4561         diagram tree preferences.
4563         * app/preferences.c (prefs_tabs): New tab for diagram tree
4564         preferences.
4566         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
4567         * app/diagram_tree_window.c (diagram_tree_window_new): 
4568         * app/interface.c (create_tree_window): The diagram tree window is
4569         initialised using the DiagramTreeConfig part of prefs.
4572 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
4574         * app/diagram_tree_menu.[hc]: New files. Functions to create the
4575         diagram tree popup menus.
4577         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
4578         the diagram tree popup menus.
4580         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
4581         added.
4583 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
4585         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
4586         double-clicking a diagram tree node raises the diagram window
4587         to the foreground (and, if a object node was clicked, selects the
4588         object in the diagram).
4590         * app/diagram_tree.c (select_tree_widget): selecting an object
4591         node with single click simply updates it (no raise).
4593 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
4594         These changes make the diagram tree lazy: it is not created unless
4595         the diagram tree window is requested.
4596         
4597         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
4598         function for creating the tree window.
4600         * app/interface.c (create_tree_window): call
4601         create_diagram_tree_window() instead of diagram_window().
4603         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
4604         (diagram_tree_update, diagram_tree_update_name) 
4605         (diagram_tree_add_object, diagram_tree_add_objects) 
4606         (diagram_tree_remove_object, diagram_tree_remove_objects) 
4607         (diagram_tree_update_object): accept a NULL tree as a nominal
4608         argument (and do nothing in this case!), so that the diagram tree
4609         is not initialised if not used.
4611         * app/diagram_tree_window.c (diagram_tree): do not create the
4612         diagram tree until diagram_window() or diagtree_show_callback()
4613         are invoked.
4615 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
4616         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
4618         * app/diagram_tree_window.[hc] : (new files) implementation of 
4619         the diagram tree window, a container for a diagram tree. [Removed
4620         the horizontal scroll bar glitch by disableing it]
4622         * app/diagram_tree.[hc] : (new files) implementation of the 
4623         diagram tree widget. [Don't rely on the layers GPtrArray to be
4624         NULL terminated, but use its ->len field] 
4626         * app/Makefile.am (dia_core_files): added new files
4627         diagram_tree.[hc] and diagram_tree_window.[hc]
4629         * app/interface.[hc] : (create_tree_window): this function 
4630         creates the new diagram tree window widget
4632         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
4633         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
4634         (ungroup_objects_apply) (ungroup_objects_revert): 
4635         every time that an undoable command modifies a diagram 
4636         adding/removing/(un)grouping objects, a diagram_tree_something() is 
4637         invoked to keep the diagram tree window in sync
4639         * app/properties.c (properties_apply): call to
4640         diagram_object_modified(), which updates the diagram tree window
4641         when the properties of an object are modified
4643         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
4644         (whether the diagram tree window should be shown on dia startup)
4646         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
4648         * app/diagram.h (diagram_object_modified): callback notifying of a
4649         diagram object modification
4651         * app/diagram.c (diagram_load_into): added call to
4652         diagram_tree_add() to add newly loaded diagrams to the diagram
4653         tree window
4654         (diagram_destroy): call to diagram_tree_remove() to remove a
4655         destroyed diagram from the diagram tree window
4656         (diagram_add_object): call to diagram_tree_add_object() to add an
4657         object to the diagram tree window
4658         (diagram_add_object_list): as above, but with an object list
4659         (diagram_selected_break_external): deletion of objects from the
4660         diagram is detected here, and diagram_tree_remove_object() is
4661         invoked to remove the object from the diagram tree window (it
4662         would be nice to have a diagram_remove_object() in the Diagram
4663         interface)
4664         (diagram_set_filename): update the diagram tree window when a
4665         diagram's filename changes
4667         * app/commands.c (file_new_callback): added call to
4668         diagram_tree_add() to add newly created diagrams to the diagram
4669         tree window
4671         * app/app_procs.c (app_init): added call to create_tree_window()
4673         * app/makefile.msc : updated
4675 2001-10-28  Hans Breuer  <hans@breuer.org>
4677         * app/preferences.h (DiaPreferences): 
4678         * app/preferences.c (prefs_data): new "show_diagram_tree"
4679         configuration option (whether the diagram tree window should be
4680         shown on dia startup)
4682         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
4683         entry (both for GNOME and gtk)
4685         * app/diagram.h (diagram_object_modified): callback notifying of a
4686         diagram object modification
4688         * app/diagram.c (diagram_load_into): added call to
4689         diagram_tree_add() to add newly loaded diagrams to the diagram
4690         tree window
4691         (diagram_destroy): call to diagram_tree_remove() to remove a
4692         destroyed diagram from the diagram tree window
4693         (diagram_add_object): call to diagram_tree_add_object() to add an
4694         object to the diagram tree window
4695         (diagram_add_object_list): as above, but with an object list
4696         (diagram_selected_break_external): deletion of objects from the
4697         diagram is detected here, and diagram_tree_remove_object() is
4698         invoked to remove the object from the diagram tree window (it
4699         would be nice to have a diagram_remove_object() in the Diagram
4700         interface)
4701         (diagram_set_filename): update the diagram tree window when a
4702         diagram's filename changes
4704         * app/commands.c (file_new_callback): added call to
4705         diagram_tree_add() to add newly created diagrams to the diagram
4706         tree window
4708         * app/app_procs.c (app_init): added call to create_tree_window()
4710 2001-10-28  Hans Breuer  <hans@breuer.org>
4712         * plug-ins/python/pydia-property.c : apparently I missed
4713         to commit this last time. Now it has some more SetAttr
4714         support (apply from property)
4716         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
4718         * plug-ins/python/pydia-text.[ch] : new files
4720 2001-10-14  Hans Breuer  <hans@breuer.org>
4722         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
4723         strings. Use g_strdup() for these.
4725         libxml2 does not produce 'any extra indentation when saving a tree'
4726         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
4727         libxml(1). To get human readable XML some extra tweaking is required.
4728         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
4729         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
4730         * app/preferences.[ch] : initialize 'pretty_formated_xml'
4732         * lib/libdia.def : updated externals
4734         * lib/properties.h : add prototype for prop_list_from_single ()
4736         * plug-ins/makefile.msc : build metapost plug-in
4738         * plug-ins/metapost/render_metapost.c : msvc does not like
4739         switch labels without operation 'default: }'. Added a noop.
4741         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
4742         * plug-ins/python/diamodule.c : added PyDiaText 
4743         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
4744         Although the python plug-in does not use libxml at all, the
4745         headers are required to use the lib/prop*.h headers
4747         * plug-ins/python/pydia-diagramdata.c : added wrappers for
4748         update_extents and get_sorted_selected (should I duplicate
4749         more functions from PyDiaDiagram or should they be moved?)
4751         * plug-ins/python/pydia-properties.c : allow to set (some) properties
4752         through the dictionary api
4753         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
4754         * plug-ins/python/pydia-property.c : implement it (currently only
4755         string properties can be set)
4757         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
4758         Quoting myself: 'Still not convinced that this is better than an 
4759          integral property->type and some casting ...
4760          It is trading a straightforward 40 lines switch statement to
4761          this nice 'type safe' function mapping (about 125 lines)'
4762         (But now it works again, better than changing the News file :)
4763         
4764 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
4766         patch from <robert.young@dsto.defence.gov.au>: 
4767         * objects/UML/component.c: remember to set font in UML component
4768         object (fixes #62132)   
4770 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4772         * plug-ins/metapost/metapost.c: 
4773         * plug-ins/metapost/Makefile.am:
4774         * plug-ins/metapost/render_metapost.c:
4775         * plug-ins/metapost/render_metapost.h:
4776         Metapost renderer from Chris Sperandio
4778 2001-09-14  Hans Breuer  <hans@breuer.org>
4780         * app/render_gdk.c : reflect the fact, that GTK already talks
4781         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
4783         * lib/font.c : 
4784         * app/render_libart.c : trying to fix #58045 but it appears
4785         to be an Gdk/win32, too. 
4787         * lib/charconv.c : handle utf8 conversion with the help of
4788         glib-1.3 even in the !HAVE_UNICODE case.
4790         * lib/dia_xml.c : reduce complaing about missing encoding, by
4791         detecting if the default (utf8) would break the file.
4793 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
4795         * lib/charconv.c: (get_local_charset): at least please try to not 
4796         silently change the logic, while avoiding crashes. 
4798         * lib/font.c: (suck_font): put a #error, we have a nasty something
4799         to fix there before we switch to Gtk 2.0.
4800         
4801 2001-09-09  Hans Breuer  <hans@breuer.org>
4803         * **/makefile.mingw : Approach to compile Dia with mingw.
4804         Compiling mostly works but running does not (yet) ... 
4806         * lib/geometry.h : 
4807         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
4808           Apparently mingw needs it too.
4809         - enable 'normalization' of a null verctor. Otherwise the beziergon
4810           bounding box calculation would be broken at least with msvc. What's
4811           the mathematical correct result of 0.0/0.0 ?
4813         * lib/dia_xml.c : isinf() for mingw too.
4815         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
4816         and msvc)
4818         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
4819         Please don't do it.
4821         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
4823         * lib/libdia.def : updated externals. Apparently mingw needs
4824         them to produce the right mangling.
4826         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
4827         and xmlDiaSaveFile
4829 2001-09-08  Wang Jian  <lark@linux.net.cn>
4831         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
4833 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
4835         * lib/dia_xml_libxml.h:
4836         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
4837         libxml1's code, to rework the output file before it gets committed
4838         to disk. This is rubbish, and will be removed when libxml2
4839         switches from discouraged to mandatory. 
4840         All in all, this fixes #60152. 
4841         
4842         * lib/charconv.h: 
4843         * lib/charconv.c: (charconv_unichar_to_utf8):
4844         made the type of the input parameter explicitly an unsigned long.
4846         * configure.in: Added a check for libz (we must now include it
4847         explicitly, for xmlDiaSaveFile).
4848         
4849         * app/load_save.c: (diagram_data_save):
4850         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
4851         (dia_pluginrc_write):
4852         * plug-ins/shape/shape-export.c: (new_shape_renderer),
4853         (end_render), (draw_string):
4854         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
4855         (draw_string):
4857         Made sure we always write UTF-8 XML files, and through
4858         xmlDiaSaveFile().
4860         * NEWS: documented that fact.
4861         
4862 2001-09-07  James Henstridge  <james@daa.com.au>
4864         * configure.in (found_libxml): refactor the check for libxml a
4865         little so that it handles finding both libxml1 and 2 better.
4867 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
4869         * app/app_procs.c: removed a spurious } which caused a compilation
4870         error in the (!HAVE_GNOME && HAVE_POPT_H) case
4872         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
4873         don't know what ANSI X3.4-1968 is. I didn't know until this day,
4874         but it's just plain old ASCII. Added a check to shield the poor
4875         XML library.
4877         Patches from <robert.young@dsto.defence.gov.au>:
4879         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
4880         width and height of text before calculating bounds. Fixes #59928
4882         * app/preferences.c: Moved grid related items into Grid Tab.
4883         
4884 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
4886         * app/interface.c: (create_zoom_widget): connected one more signal
4887         to the Zoom selector combo's list. Fixes #59879.
4889         * app/app_procs.[ch]: (app_init) (do_convert)
4890         (build_output_file_name): brought back into the main executable
4891         the rare useful bits of the ill-fated diaconv. This means we have
4892         one new feature : --export-to-format (-t), which should make
4893         writing conversion scripts easier, and a crude implementation of
4894         -t and -e for the poptless argument parsing, which means the Win32
4895         port should be able to take advantage of it (that should make
4896         resolving #58197 possible).
4898         * app/diaconv.c: kept the poor duck compiling (but that's about
4899         it).
4901         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
4902         I've got it right).
4904         * NEWS: updated about the new feature above, and documented the 
4905         "missing encoding specification" complaint. 
4906         
4907 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
4909         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
4911 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
4913         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
4914         care of #59837.
4916 2001-09-01  James Henstridge  <james@daa.com.au>
4918         * */Makefile.am: various changes to include missing files, and fix
4919         sheets dir to handle building with builddir != srcdir.
4921         * autogen.sh: unconditionally pass the --enable-maintainer-mode
4922         and --enable-db2html flags so that builds from CVS work correctly.
4924         * configure.in: increment version number.  Also add an
4925         --enable-db2html flag.  Without the flag, db2html won't be run (if
4926         the flag is passed and db2html is not present, do nothing).
4928 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
4930         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
4931         even compiled. It's really too bad there is no lint tool easily
4932         available (or a more cautious, pedandic, paranoid and verbose
4933         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
4935 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
4937         * app/load_save.c:
4938         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
4939         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
4941         * app/menu.c: added ellipsis(...) to diagram properties menu item.
4942         * app/dia-props.c: diagram properties dialog contents did not
4943         represent current diagram settings.
4944         * app/dia-props.[ch]:
4945         * app/display.c: diagram properties contents now follows currently
4946         selected diagram.
4947         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
4949         * AUTHORS: added Robert Young.
4950         
4951 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
4953         * app/modify_tool.c: (modify_button_release): Patch from
4954         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
4955         #59090: if selection dragging was released outside of the window, 
4956         artifacts of the selection box remained.
4958 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
4960         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
4962 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
4964         * configure.in:
4965         * sheets/Makefile.am: prepared the terrain for the Version of
4966         xml-i18n-tools Which Comes After 0.9 (and which will feature at
4967         last a sane behaviour with XML files). Some reasonible delay
4968         before enforcing that version *will* be given.
4970         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
4971         
4972         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
4973         becomes a nonexistent symbol.
4974         
4975 2001-08-18  Hans Breuer  <hans@breuer.org>
4977         * app/app_procs.c : made it compile without ENABLE_NLS
4979         * app/diap_callbacks.c : strcmp isn't guaranteed to work
4980         with NULL pointers
4982         * app/load_save.c :
4983         * lib/plug-ins.c : 
4984         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
4985         It has to be :
4986                 xmlGetProp, ... -> xmlFree
4987                 malloc, strdup -> free
4988                 g_new, g_malloc, g_strdup - > g_free
4990         * app/win32print.c : some more error checking, still not
4991         working on Win9x
4993         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
4995         * lib/dia_xml.c : msvc still has no unistd.h
4997         * lib/dia_xml.c :
4998         * lib/sheets.c : temporary resolved libxml include brokeness
5000         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
5001         changes. Compiles again, but doesn't do anything useful anymore.
5002         (see THE_PROP_TYPE_IS_INTEGRAL)
5004         * **/makefile.msc : updated to use LIBXML2
5006         * lib/libdia.def : reflect api changes
5008 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
5010         * config.h.win32: added defines telling that gtk speaks UTF8.
5011         Hans, I believe this reflects what GTK on Win32 does.
5013         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
5014         strings.        
5015         * lib/prop_inttypes.c: 
5016         * lib/prop_text.c:
5017         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
5018         code path.
5019         
5020         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
5021         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
5022         search for plug-ins is done.
5023         * app/Makefile.am: made app/run_dia.sh use the // capability. No
5024         need to update this anymore if we get a new plug-in library (or
5025         remove one).
5027         * lib/dia_xml.c: #include <unistd.h> was missing.
5028         
5029         * lib/properties.h: 
5030         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
5031         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
5032         support.        
5034 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
5036         * sheets/civil.sheet: removed duplicate "Danish" entries.
5038         * autogen.sh:
5039         * configure.in: 
5040         * .cvsignore:
5041         * sheets/Makefile.am: 
5042         * po/POTFILES.in:
5043         * Makefile.am: applied the xml-i18n-tools README's instructions.
5045         * po/(da de fr hu nl nn no sl).po: merged the translations from
5046         the sheet files into the .po files. I hope I haven't mixed
5047         languages...
5048         * sheets/*.sheet (REMOVED):
5049         * sheets/*.sheet.in (NEW): moved the sheet files sans
5050         translations into .sheet.in files. 
5051         
5052         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
5053         because we don't yet want to force all translators to work using
5054         UTF-8 editors. We'll want to do that sometime (sooner rather than
5055         later). Okay, I sing a slightly different tune in po/ChangeLog...
5057         * dia.desktop (REMOVED):
5058         * dia.desktop.in (NEW): used also the x18t infrastructure for
5059         this too.
5061         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
5062         "official" version of x18t with support for .sheet files is available.
5063         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
5064         "official" version of x18t which doesn't corrupt UTF-8 data in XML
5065         is available.
5066         
5067         ** yes, we are now using xml-i18n-tools to manage the sheet
5068         translations. For the Win32 build, Nemo stores snapshots of
5069         translated strings next to the CVS snapshots. **
5071         * sheets/checktrans.py: suddenly, some sheets have lots of
5072         translations (objects which existed before sheets, mostly).
5073         Adapted the formatting.
5075         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
5077         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
5078         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
5079         <robert.young@dsto.defence.gov.au>, to fix #59090.
5081         * app/display.c: (ddisplay_scroll): While at it, added some
5082         margin, so that autoscrolling can happen within a margin outside
5083         the diagram's extents.
5085         * app/tool.[ch]: 
5086         * app/interface.c:
5087         * app/disp_callbacks.c: Robert "forced" me to go when I usually
5088         don't, namely the app/ directory. So while I was there, I
5089         scratched a long-time itch. If no object has focus, pressing the
5090         space bar will select back the tool which was selected before the 
5091         current one (I find this especially useful with "reset after create" !)
5092         
5093         * lib/proplist.c: (prop_list_from_single): Renamed
5094         prop_list_singleton() to avoid confusion with the Singleton
5095         pattern (which it definitely is not).
5096         
5097         * lib/propobject.c: (object_prop_by_name_type),
5098         (object_prop_by_name): The "flags" parameter was not necessary.
5099         These don't return synthetic properties, but properties built from
5100         a real property description list; therefore, we don't call
5101         make_new_prop() but use the existing property descriptor, which
5102         has perfectly valid (and meaningful) flags.
5104         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
5105         new predicates better reflect the reason why properties exist when
5106         they're created by make_new_prop() or object_prop_by_name().    
5108         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
5109         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
5110         of pdtpp_true().
5112         * lib/properties.h: reflects all the above changes.
5114         * objects/SADT/arrow.c:
5115         * objects/SADT/annotation.c:
5116         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
5117         IDEF0 terminology.
5118         
5119 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
5121         * lib/properties.h:
5122         * lib/proplist.c: (prop_list_singleton):
5123         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
5124         Added these, to simplify interactions of plug-ins with the StdProp
5125         core.
5127         * lib/Makefile.am:
5128         * lib/dia_xml.h:
5129         * lib/dia_xml_libxml.h (NEW): 
5130         * app/load_save.c:
5131         * lib/dia_xml.c:
5132         * lib/plug-ins.c:
5133         * lib/sheet.c:
5134         * objects/custom/shape_info.c: A few prototypes were causing
5135         #include hell, because we generally attempt to not pull the whole
5136         libxml header set when we include dia_xml.h. Moved those
5137         prototypes away for the rare cases they're necessary.
5138         
5139 2001-08-15  Hans Breuer  <hans@breuer.org>
5141         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
5143         * lib/libdia.def : 
5144         * lib/makefile.msc : updated
5146         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
5147         use G_GNUC_FUNCTION instead.
5149         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
5151         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
5152         msvc instead of cleaning missing includes
5154         * plug-ins/wmf/wmf.cpp :
5155         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
5157 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
5159         * app/app_procs.c:
5160         * app/load_save.c:
5161         * lib/dia_xml.c:
5162         * lib/plug-ins.c:
5163         * lib/sheet.c:
5164         * objects/custom/shape_info.c:
5165         * plug-ins/shape/shape-export.c:
5166         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
5167         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
5168         removed xmlKeepBlanksDefault(0) in favour for proper
5169         xmlIsBlankNode() testing. Lots of other fixups to use the
5170         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
5171         make libxml1 output correct files.
5173         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
5174         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
5175         packages). If both devel packages are found, the build will stop 
5176         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
5178         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
5179         allocate the first handle :-)
5180         
5181         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
5182         a cast and a sizeof.</gratuitous>
5184         * objects/custom/custom_object.c: (custom_copy): don't call
5185         text_get_attrbutes if the shape has no text...
5186         (custom_update_data): The info->resize_with_text code was a bit
5187         directive; basically, the shape's bounding box was forced to be 
5188         proportional to the text's bounding box.... This fixes #57187.
5189         
5190         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
5191         default for info->aspect_ratio; unobfuscated a line about
5192         info->resize_with_text;
5193         
5194 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
5196         * lib/properties.h: added comments next to the PROP_TYPEs to tell
5197         which C Property subclass to use.
5198         
5199         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
5200         cast-ridden form of setting properties in a list, in favour for
5201         the "local pointers" form. I'll take any better offer...
5203 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
5204         
5205         * lib/font.c: fprintf(...) --> fprintf(format...)
5207         * configure.in: added a disabled versioned test for glib.
5208         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
5209         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
5210         g_critical() with a simple g_error(). Proper fix is to implement
5211         that stuff. 
5213         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
5214         PROP_TYPE_STRING.
5215         
5216         * lib/properties.h:     
5217         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
5218         * lib/proplist.c: (find_prop_by_name_and_type):
5219         * lib/prop_basic.c: (make_new_prop), (initialize_property):
5220         * lib/propoffsets.c: (do_set_props_from_offsets),
5221         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
5222         Added a type_quark member to PropDescription, Property and
5223         PropOffset. Used it to implement a safety in
5224         do_[sg]et_props_from_offsets().
5225                 
5226         * objects/flowchart/diamond.c: the diamond's text was not saved,
5227         and thus not even copied (c&p).
5228         * objects/standard/textobj.c: ditto.
5230         Most of the above changes thanks to Robert Young's testing. Thanks !
5231         
5232 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
5234         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
5235         and bokmÃ¥l).
5236         
5237 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
5239         * lib/proplist.c (prop_list_from_descs): added a call to
5240         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
5241         too embarrassing to tell.
5242         
5243         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
5244         while loop to a for loop, for symmetry with
5245         prop_offset_list_calculate_quarks().
5247         * lib/geometry.h: new inline function, rectangle_equals.
5249         * lib/diagramdata.[ch]: refactored a bit the diagram extents
5250         computation logic, and changed it to always be the union of the
5251         visible layers' extents. This should close #58882 (Debian
5252         #107167), and fixes #55498.
5254         * app/display.c: made the initial visible box more coherent with
5255         the diagram being loaded's extents.
5257         * app/prop_attr.c: don't set the font (from offset) if font_data
5258         is NULL. Two brainos in colorprop_load() and fontprop_load().
5259         
5260 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
5262         * lib/properties.[ch]: split in a lot of pieces: 
5264         * lib/prop_*.[ch] (NEW): all property types are now first-class
5265         objects, inheriting from the original abstract Property type.
5266         * lib/propdesc.c (NEW): property description handling routines
5267         * lib/propoffsets.c (NEW): property offset handling routines
5268         * lib/proplist.c (NEW): property list handling routines
5269         * lib/propobject.c (NEW): property list <-> object routines
5270         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
5271         relations.
5272         * lib/propinternals.h: prototypes for stuff not usually needed by 
5273         the outside of StdProps.
5274         * lib/Makefile.am: a lot of new files have been added...
5276         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
5277         BOTH INTERFACES AND RUN-TIME STABILITY.
5279         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
5280         
5281         * lib/object.h: removed the incestuous relationship with
5282         properties.h' contents. Now a Property list is a GPtrArray -->
5283         object interface change !
5285         * app/app_procs.c/app_init(): removed a disabled call to a
5286         non-existent routine. Added a call to stdprops_init().
5287         
5288         * objects/Makefile.am: disabled the construction of EML. I'm not
5289         touching these until a certain issue is solved (or this module
5290         removed).
5291         * app/group.c:  
5292         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
5293         objects to the interface changes.
5294         
5295         * app/disp_callbacks.c: killed a warning.
5296         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
5298         * app/commands.c: 
5299         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
5300         interface.
5302         * plug-ins/dxf/dxf-import.c: 
5303         * plug-ins/xfig/xfig-import.c: 
5304         PROP_VALUE_* macros have been removed. Converted to the new API.
5306         * plug-ins/python/**/*: I gave up converting this; I can't
5307         compile --with-python (problems with object.h defined both by us
5308         and by Python). I'll gladly help whomever cares to fix it !
5309         (or, fix it myself if someone tells me how to compile it).
5310         
5311         * configure.in: added the UNICODE-related progress defines.
5312                 
5313         * configure.in:
5314         * lib/geometry.h: On Solaris and perhaps other systems, finite()
5315         is defined in ieeefp.h rather than in math.h. Patch from Andrew
5316         Halper <ashalper@acm.org> with further modifications, isinf() is
5317         provided by -lsunmath (sunmath.h).
5318         
5319         * lib/font.c: conditionally disabled Lars' debugging messages.
5320         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
5321         
5322 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5324         * lib/bezier_conn.h: 
5325         * objects/standard/bezier.c (bezierline_create): 
5326         * lib/bezier_conn.c (bezierconn_init): 
5327         Preparations for use of userdata for bezier lines.
5328         
5329         * objects/standard/polygon.c: 
5330         * objects/standard/create.h:
5331         * lib/polyshape.c:
5332         * lib/polyshape.h:
5333         * plug-ins/xfig/xfig-import.c:
5334         Use of user_data for polygon as well, including adding
5335         polyshape_set_points.  Include file for non-interactive 
5336         creation of standard objects, objects/standard/create.h
5338 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5340         * app/render_gdk.c: 
5341         * app/render_gdk.h: 
5342         * lib/font.c:
5343         * lib/font.h:
5344         * lib/widgets.c:
5345         More preliminary freetype support.  Not at all functional, crashes
5346         when rendering.
5348         * lib/poly_conn.h: 
5349         * lib/poly_conn.c: 
5350         * objects/standard/polyline.c: 
5351         Support for creating polyline objects with more than two points.
5352         This includes an extra function and a prototype change in the
5353         poly_conn lib object.
5355         * lib/object.c (object_copy): Fixed memory leak of handles and
5356         connections.
5358 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
5360         * dia.desktop: added traditional Chinese strings
5362 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
5364         * NEWS: updated to reflect build-time dependencies.
5366         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
5367         around obj->ops->describe_props(obj). Quarks are none of an
5368         object's business in the general case... 
5369         * lib/text.c: Added an apply_textattr_properties() function to
5370         factor out some common code related to applying a dialog's text
5371         attribute properties to a (Text *) which wasn't edited there. 
5372         Ditto for textstr, for the string part of an objet.
5374         * objects/GRAFCET/action.c:
5375         * objects/SADT/annotation.c:
5376         * objects/SADT/box.c: used apply_textattr_properties().
5377         
5378         * objects/UML/actor.c: 
5379         * objects/UML/branch.c:
5380         * objects/UML/component.c:
5381         * objects/UML/constraint.c:
5382         * objects/UML/small_package.c:
5383         * objects/UML/state.c:
5384         * objects/UML/usecase.c:
5385         * objects/UML/large_package.c:
5386         * objects/UML/note.c:
5387         * objects/UML/node.c:
5388         * objects/UML/message.c:
5389         * objects/UML/classicon.c:
5390         * objects/UML/object.c:
5391         * objects/UML/realizes.c:
5392         * objects/UML/dependency.c:
5393         * objects/UML/implements.c:
5394         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
5395         (most objects were already using StdProps to some extent ; this
5396         systematises usage and removes some dead wood). 
5397         
5398         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
5399         * objects/UML/uml.[ch]: audited for UTF-8.
5401         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
5402         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
5403         private (ISO-8859-1) definition.
5404         
5405         * lib/charconv.c: Added a warning if we didn't run
5406         nl_langinfo(CODESET) but rely instead on a hardcoded default.
5407         
5408 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
5410         * lib/diamenu.h:
5411         * app/disp_callbacks.c: added a way for an object to cause an
5412         already realised menu to be destroyed (for instance if it changes
5413         too much).
5415         * objects/custom/custom_object.c: used the above to fix #55073.
5417 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5419         * configure.in: Remove 2.50 prereq.
5421 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
5423         * po-checktrans.py: under some circumstances, there was one column 
5424         more than what was supposed to be, thus breaking the formatting.
5425         
5426 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
5427         
5428         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
5430         * NEWS: updated with new stuff since 0.88
5432         * shapes/network/antenna.shape: the text was misplaced ; fixed.
5434         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
5435         firewall router (upon request from Cyril Lacoux
5436         <clacoux@easter-eggs.com>)
5438         * configure.in (didn't rename to configure.ac): autoconf 2.50
5439         constructs were used ; added an AC_PREREQ call to guard against
5440         older autoconfs.
5441         
5442 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
5444         * lib/properties.c: minor clean-ups with the event delivery code.
5446         * EML/instantiation.c: brought this object back from stone and ice
5447         age.    
5449         * app/diaconv.c(NEW): added a command-line conversion tool. Still
5450         lacks a man page and correctness. In fact, it doesn't work. Please
5451         see #58196 if you want to finish it.
5452         
5453         * lib/message.[ch]: redefined things a little so that a different
5454         message_internal routine could be passed.
5455         applications can use that to fit themselves to the display model.
5457 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
5459         * objects/SADT/box.c: 
5460         * objects/GRAFCET/action.c: spelling in property descriptors (name
5461         field...)
5462         * objects/SADT/annotation.c: ditto, plus a temporary test of the
5463         event delivery code (try to click on the "click me !" button !).
5465         * app/group.c: 
5466         * lib/properties.[ch]: improved (fixed) support for group event 
5467         handlers. Fixed various things from yesterday's code to make it
5468         not too obviously crash.
5470 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
5472         * app/group.c: added delivery of events to the first member of the
5473         group which is able to process it.
5475         * lib/properties.c(prop_desc_lists_intersection): properties
5476         don't match if they don't have identical event handler.
5477         * lib/properties.h: simplified the PropEventHandler signature.
5479         Event delivery code is still untested so far, but should be
5480         lurking harmless.
5481         
5482 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
5484         * lib/properties.[ch]: Added (untested !) property event handler
5485         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
5486         generating such events. This stuff compiles, and should lurk
5487         around silently as long as you don't declare property descriptors
5488         with events (AFAICT).
5489         In object_create_props_dialog() and friends:
5490         attached a single structure with lots of data instead of lots of
5491         little attachments of data to the dialog widget.
5492         
5493         * lib/object.h: fixed mild typedef breakage introduced by the above.
5495 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5497         * lots of files: Changed Font to DiaFont
5498         * */Makefile.am: Added FREETYPE_LIBS
5499         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
5501 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
5503         * configure.in: Added "nn" to ALL_LINGUAS.
5504         
5505 2001-07-09  Alex Larsson  <alexl@redhat.com>
5507         * app/disp_callbacks.c:
5508         Add gdk_im_ready() calls to XIM code.
5510 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
5512         * lib/properties.[ch]: splitted prop_get_widget() into
5513         prop_get_widget() (gives a widget but doesn't fill it) and 
5514         prop_reset_widget() (fills an existing widget with a property's value).
5516         * lib/widgets.[ch]: const enforcement police work.
5518         * shapes/network/antenna.shape: added a connection point at top,
5519         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
5520         
5521 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
5523         * intl/*: tested with gettext-0.10.38
5524         * configure.in: moved a macro call around (AM_PROG_CC) to keep
5525         some of autogen.sh from complaining.
5526         * INSTALL: added a warning against gettext older than at least 0.10.36
5527         
5528 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
5530         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
5531         AM_ICONV (both provided by gettext)
5533 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
5535         * lib/charconv.c: corrected the degraded mode for when
5536         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
5538         * objects/chronoline/chronoline_events.c: UTF8 compliance.
5539         
5540 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
5542         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
5543         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
5544         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
5545         into a frame box.
5547         * objects/chronogram/chronoline.c:
5548         * objects/chronogram/chronoref.c: took advantage of the above to
5549         make nicer looking dialogs.
5551         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
5552         from libunicode's internals).
5553         * lib/message.c: convert strings to local encoding prior to
5554         display (UNICODE_WORK_IN_PROGRESS)
5555         * lib/properties.[ch]: convert strings to local encoding prior to
5556         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
5557         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
5558         * lib/stringprerenderer.[ch]: ditto
5560         (lib/text.c has been audited for UTF8, but the size of the changes
5561         make them inappropriate for commit before 0.89)
5562         
5563 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
5565         * objects/boolequation.h (<save|load>_boolequation): made the 
5566         prototypes for match the .c file.
5567         
5568         * samples/grafcet.dia: minor non-conformance with IEC-848
5569         fixed (in the transition from step 100 to step 101).
5571         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
5572         disallow editing of properties if the object is part of a group.
5574         * objects/chronogram/chronoline.c: 
5575         * objects/SADT/annotation.c:
5576         * objects/SADT/box.c:
5577         * objects/GRAFCET/step.c:
5578         * objects/GRAFCET/transition.c:
5579         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
5580         
5581 2001-06-12  Hans Breuer  <hans@breuer.org>
5583         * lib/libdia.def : removed lazyprop exports
5584         * lib/makefile.msc : removed lazyprop.obj
5586         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
5587         and avoid crashes by always creating a custom->text,
5588         when (custom->info->has_text) 
5590         * objects/makefile.msc : removed sybase from build
5592         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
5593         ObjectNode is a pointer already, which is what we want
5594         instead of a pointer pointer.
5596         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
5597         and implemented working export for images
5599         * shapes/network/zip-disk.shape : added connection points 
5601 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
5603         * objects/SADT/box.c: removed lazyprops for standard props.
5604         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
5605         * objects/chronograms/chronoref.c: ditto 
5607         * lib/Makefile.am:
5608         * lib/dummy_dep.h:
5609         * lib/connpoint_line.c:
5610         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
5611         * lib/properties.[ch]: new property types:
5612             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
5613             - PROP_TYPE_MULTISTRING: same as string, but renders as a
5614             multi-line entry box.
5615             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
5616             in a tabbed-notebook style (this is a bit complicated to use; 
5617             see objects/chronograms/chronoline.c for an example).
5618                
5619 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
5621         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
5622         * objects/GRAFCET/step.c: ditto.
5623         * objects/GRAFCET/vector.c: ditto.
5624         * objects/SADT/annotation.c: ditto.
5625         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
5626         
5627         * lib/properties.[ch]: two more non-visible types
5628         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
5630         * lib/neworthconn.[ch]:
5631         * lib/orthconn.[ch]: added support for manipulation through
5632         standard properties.
5634         * configure.in: removed -fomit-frame-pointer, this seems to
5635         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
5636         bugzilla.
5638         * charconv.[ch]: more functions from unicode.h.
5639         get_local_charset() wasn't working properly, fixed now.
5640         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
5641         ElectricFence !)
5642         
5643         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
5644         * lib/lazyprops.[ch]: put a big fat warning in.
5646         * app/render_eps.c: one line mysteriously went away, causing a
5647         variable to be used uninitialised....
5649 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
5651         * app/app_procs.c: commented out the call to
5652         bind_textdomain_codeset(): it's premature.
5653         
5654         * lib/connpoint_line.c: a NULL point can be given to
5655         connpointline_adjust_count(), in case there's not really a clicked
5656         point.
5658         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
5659         #include order troubles. #included by lib/text.h, so there is no 
5660         impact outside lib/.
5661         * lib/properties.[ch]: added support for CONNPOINT_LINE and
5662         (nonvisible) TEXT properties.
5664         * objects/GRAFCET/action.c:
5665         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
5666         properties.
5667         
5668         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
5669         standard properties code). Grafted a dynamic number of connection
5670         points (heavily inspired from what Vergent does). This is the real
5671         fix for #55863.
5673         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
5675         * lib/fonts.c: some hardening (mostly g_assert())
5676 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
5678         * app/app_procs.c (app_init): added a call to
5679         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
5680         (UNICODE_WORK_IN_PROGRESS).
5681         
5682 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
5684         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
5686         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
5687         (fixes #55863) : some clean-ups in the handling of connection
5688         points. Now the total number of connection points is just a
5689         #define (the proper solution is to retrofit the GRAFCET Vergent's
5690         dynamic behaviour wrt connection points).
5691         
5692 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
5694         * app/app_procs.c (app_init): added a call to unicode_init() (only
5695         if HAVE_UNICODE, of course).
5697         * lib/charconv.c: simplified the code which detects the local
5698         charset. No need to use <langinfo.h>, libunicode already takes the
5699         burden of figuring that out. Also, if local charset is utf8, no
5700         conversion will take place.
5701         Exposed a way to get the current charset (similar to
5702         unicode_get_charset() but actually working, hopefully).
5704         * lib/charconv.h: Added a partial non-UTF8 implementation of
5705         unicode.h if !HAVE_UNICODE (actually, all the time for the
5706         moment). The UTF8 implementation is just macros on libunicode (use
5707         the functions prefixed by uni_, as defined by charconv.h, not
5708         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
5709         From now on, all strings which don't *need* to be ASCII should be
5710         utfchar *, not gchar *. Just include charconv.h, let it sort out
5711         the details (such as: "is libunicode available and enabled?") 
5713         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
5714         "API" instead of directly libunicode. Removed the now unnecessary
5715         speculative clustering of characters in encoding pages.
5717         * app/render_eps.c: made the local8->utf8 conversions dependent of
5718         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
5719         boundary will be when this WIP is done).
5721         * lib/dia_xml.c (data_point): fixed a format string typo.
5723         * po/POTFILES.in: added all C files from lib/ 
5724         
5725 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
5727         * app/disp_callbacks.c: make sure the objects' connected objects
5728         are updated when the objects' size changes after a keypress event
5729         (fixes #51222)
5731         * configure.in: added a big warning about the possible future
5732         non-optionality of --enable-unicode. 
5734         * TODO: removed entries which look like done ; added a few ones
5735         (Bugzilla "enhancement" bugs may be a better way to keep track of
5736         this)
5737         
5738 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
5740         * objects/UML/message.c: got rid of #55564 and of message_copy()
5741         by using more standard properties (are the message_state_*()
5742         functions still necessary ?)
5744 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
5746         * lib/plug-ins.c: 
5747         * objecs/custom/shape_info.c:
5748         * plug-ins/shape/shape-export.c:
5749         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
5750         use xmlChar instead of obsolete CHAR.
5752 2001-06-03  Hans Breuer  <hans@breuer.org>
5754         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
5755         * app/commands.c : give the right number of parameters
5756         to diagram_update_menu_sensitivity ()
5758         * app/preferences.c : do proper initialization for DiaPrefsData:
5759         render_bounding_boxes. It would be a real surprise if 'hidden'
5760         properties would have ever worked before.
5761         Don't try to access the widgets of hidden property, it does not
5762         have one.
5764         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
5765         it is defined in libdia, but initialized from dia app, which 
5766         otherwise gave nice start-up crashes.
5768         * lib/diagramdata.c : initialize the color for rendering bounding 
5769         boxes in the Dia range (0 .. 1.0)
5771         * lib/libdia.def : added *_bbox functions for export
5773         * lib/makefile.msc : added new sources
5775         * objects/custom/custom_object.c : use HAVE_UNISTD_H
5777 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
5779         * app/interface.c:
5780         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
5781         removes a translation of menus (in a place where there shouldn't
5782         have been), which gets rid of a waterfall of warnings if LANG!=C,
5783         and a fix to #55047.
5785 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
5787         * lib/charconv.c : added #include <errno.h>
5789         * app/dia_embedd.c : updated menus_get_item_from_path usage
5790         
5791 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
5793         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
5794         Added a special case for Symbol strings, so that they're not
5795         re-encoded using the LN encoding (we use the bare Adobe encoding
5796         instead).
5798         * objects/custom/custom_object.c: Now that #52912 is fixed,
5799         I could remove the ugly hack I wrote to squash the shape bounding box
5800         problem shown by Ben A. Hetland a few months ago, and fix it
5801         properly this time.
5802         
5803         * lib/text.c: enlarged a little the bounding box to account for
5804         the cursor in rightmost position.
5805         
5806         * lib/diagramdata.c: draw bounding boxes only if the relevant
5807         variable is set (as before), but also only if the rendere is
5808         interactive (ie, don't bother rendering bounding boxes on 
5809         Postscript...)
5810         Made the bounding box's line width a fixed value, 0.01
5811         
5812         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
5813         and assymmetric control beziers. Implemented ellipse_bbox().
5814         
5815         * Makefile.am: incantations to get po/dia.pot build, as suggested
5816         by Hubert in #55075.
5817         
5818         * shapes/network/computer.shape: typo fixed.
5819         * shapes/network/antenna.shape: fixed #55074 (antenna is now
5820         properly translucent, except for its base where it makes sense. It
5821         doesn't look that ugly anymore if transparent mode is on).
5823         * configure.in: --enable-unicode is now the default. This
5824         still currently affects only printing.
5825         
5826 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
5828         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
5829         The overshoot code is buggy, and the bounding boxes for polyshapes
5830         looks a bit cheezy. To be done ASAP.
5832 2001-05-26  James Henstridge  <james@daa.com.au>
5834         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
5835         This should clear up some of the build problems people have been
5836         having.
5838         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
5840 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
5842         * lib/Makefile.am:
5843         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
5844         box code (beginning with lines, polylines and polybeziers), into a
5845         more generic facility. While at it, a better shot at correctly
5846         computing the bounding box of a Bezieroid (should take care of
5847         #53424, #51233 and of course is part 1 of #52912).
5849         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
5850         into a hidden preference (set render_bounding_boxes in diarc).
5851         * app/preferences.[ch]: Added support for hidden preferences.
5853         * lib/geometry.[ch]: sprinkled with "const" modifiers.
5854         
5855         * lib/bezier_conn.[ch]:
5856         * lib/beziershape.[ch]:
5857         * lib/connection.[ch]:
5858         * lib/element.[ch]:
5859         * lib/poly_conn.[ch]:
5860         * lib/orth_conn.[ch]:
5861         * lib/neworth_conn.[ch]:
5862         * lib/polyshape.[ch]: adapted to take advantage of
5863         boundingbox.[ch] instead of relying on private (duplicate) code.
5865         * object/FS/flow.c:
5866         * object/GRAFCET/action.c:
5867         * objects/GRAFCET/condition.c:
5868         * objects/GRAFCET/vergent.c:
5869         * objects/GRAFCET/vector.c:
5870         * objects/SADT/annotation.c:
5871         * objects/SADT/arrow.c:
5872         * objects/ER/participation.c:
5873         * objects/UML/constraint.c:
5874         * objects/UML/implements.c:
5875         * objects/UML/lifeline.c:
5876         * objects/UML/message.c:
5877         * objects/UML/realizes.c:
5878         * objects/UML/generalization.c:
5879         * objects/UML/association.c:
5880         * objects/UML/dependency.c:
5881         * objects/FS/flow-ortho.c:
5882         * objects/network/bus.c:
5883         * objects/standard/arc.c:
5884         * objects/standard/bezier.c:
5885         * objects/standard/beziergon.c:
5886         * objects/standard/line.c:
5887         * objects/standard/polygon.c:
5888         * objects/standard/zigzagline.c:
5889         
5890         * objects/standard/polyline.c: Some *BBExtras structures changed
5891         names while moving to boundingbox.[ch]. A trivial mass-renaming.
5892         
5893 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
5895         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
5896         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
5898         * app/display.c (ddisplay_update_scrollbars): from Patrick's
5899         suggestion, remove the extra scrollable area (it was only visible
5900         to the scrollbars). This is experimental.
5901         
5902         * objects/custom/custom_object.c: If a shape's icon file doesn't 
5903         exist, warn and substitute a default icon, instead of crashing.
5904         (fixes #52913)
5905         
5906         * objects/network/network.c:
5907         * shapes/network/modularswitch.(shape|xpm) (NEW):
5908         * shapes/network/printer.(shape|xpm) (NEW):
5909         * shapes/network/genmonitor.(shape|xpm) (NEW):
5910         * shapes/network/computer.(shape|xpm) (NEW):
5911         * shapes/network/Makefile.am: four less objects, four more shapes.
5912         These were the last known RenderObjects. (phew !)
5914         * lib/Makefile.am:
5915         * lib/dummy_dep.h:
5916         * objects/sybase/Makefile.am: 
5917         * objects/network/Makefile.am: Removed the older Renderobjects
5918         from the build, and their infrastructure (not yet deleted,
5919         though).
5921         * shapes/network/sceadplug.shape:
5922         * shapes/network/antenna.shape:
5923         * shapes/network/modem.shape:
5924         * shapes/network/hub.shape:
5925         * shapes/network/rj45plug.shape:
5926         * shapes/sybase/client.shape:
5927         * shapes/sybase/dataserver.shape:
5928         * shapes/sybase/ltm.shape:
5929         * shapes/sybase/repserver.shape:
5930         * shapes/sybase/rsm.shape:
5931         * shapes/sybase/stableq.shape: Minor corrections (line widths were
5932         ten times too narrow).
5933         
5934 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
5936         * objects/network/network.c:
5937         * shapes/network/sceadplug.(shape|xpm) (NEW):
5938         * shapes/network/antenna.(shape|xpm) (NEW):
5939         * shapes/network/modem.(shape|xpm) (NEW):
5940         * shapes/network/Makefile.am: four less objects, four more shapes.
5941         
5942         * lib/Makefile.am:
5943         * lib/diagramdata.c:
5944         * lib/render.h:
5945         * lib/string_prerenderer.[ch] (NEW):
5946         Add a new renderer primitive, predraw_string() (does nothing, to be
5947         used as a hook to optimise the character encodings if needed). 
5948         Added a string pre-renderer, which can be viewed as a filter
5949         renderer (to route draw_string() to predraw_string() and ignore
5950         the rest, in a first rendering pass)
5951         
5952         * app/render_eps.c: Took advantage of the above to make wholly
5953         optimised Postscript encoding page(s), even (especially) with 
5954         non-latin1 code (HAVE_UNICODE must be true).
5956         (#53512 in fact is wholly resolved).
5957         
5958 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
5960         * lib/charconv.c: steps towards resolution of #53512 (inspired by
5961         Alexey Novodvorsky <aen@logic.ru>'s patch).
5963         * app/menus.c (dia_menu_signal_proxy): checked that the signal
5964         handler is not NULL before transferring control to it... (fixes #52836)
5966         * app/app_procs.c (app_init): removed non-constant initialiser
5967         (fixes #52950)
5969         * objects/custom/custom_object.c:
5970         * objects/custom/shape_info.[ch]:
5971         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
5972         <skh@mathstar.com>. This add support for a <svg:text> shape
5973         element, and some related style properties (font, font height, 
5974         alignment)
5976         * doc/custom_shapes: a precision about the meaning of case in a
5977         SVG path (closes #52364)
5979         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
5980         fixed by <drk@sgi.com>)
5981         
5982 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
5984         * objects/network/network.c:
5985         * shapes/network/Makefile.am:
5986         * shapes/network/hub.(shape|xpm) (NEW):
5987         * shapes/network/flash.(shape|xpm) (NEW):
5988         * shapes/network/rj45plug.(shape|xpm) (NEW):
5989         More shapes, less renderobjects.
5991 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
5992         
5993         * plug-ins/svg/render_svg.c: typo made exported ellipses
5994         corrupted (zero Y pseudo-radius).
5996         * objects/network/network.c:
5997         * objects/network/disc.c:
5998         * shapes/network/disc.(shape|xpm): Converted the first
5999         Renderobject into a shape. Normally, old diagrams should reload
6000         without problems (please check this against your diagrams). More
6001         flexibility should be gained that way. I intend to hunt and
6002         eradicate all renderobjects as I can commit cycles to that. 
6004         * objects/Makefile.am:
6005         * configure.in:
6006         * app/Makefile.am:
6007         * objects/sybase/sybase.c:
6008         * shapes/sybase/Makefile.am(NEW):
6009         * shapes/sybase/client.(xpm|shape) (NEW):
6010         * shapes/sybase/dataserver.(xpm|shape) (NEW):
6011         * shapes/sybase/ltm.(xpm|shape) (NEW):
6012         * shapes/sybase/repserver.(xpm|shape) (NEW):
6013         * shapes/sybase/rsm.(xpm|shape) (NEW):
6014         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
6015         renderobjects into shapes. The Sybase objects are now not compiled
6016         anymore, and ready to be nuked if nobody objects in the next few weeks.
6017         
6018         * app/commands.c:
6019         * app/diagram.[ch]:
6020         * app/disp_callbacks.c:
6021         * app/display.[ch]:
6022         * app/interface.[ch]:
6023         * app/menus.[ch]:
6024         * app/modify_tool.c:
6025         * app/preferences.[ch]:
6026         * app/recent_files.c:
6027         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
6028         a menu bar reflecting the popup menu, to each display window. This
6029         is optional (changing the preference currently doesn't affect
6030         already opened windows; a few other rough edges to cut).
6032         * plug-ins/wpg/wpg.c:
6033         * plug-ins/xfig/xfig-import.c:
6034         * plug-ins/python/pydia-property.c:
6035         * plug-ins/python/pydia-properties.c:
6036         * plug-ins/python/pydia-geometry.c:
6037         * plug-ins/pstricks/render_pstricks.c:
6038         * lib/arrows.c:
6039         * objects/EML/dbox.c:
6040         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
6041         #53054.
6043         * lib/ps-utf8.c: improved the clustering of alphabetic character
6044         definitions in custom encodings pages.
6045         
6046 2001-05-02  Hans Breuer  <hans@breuer.org>
6048         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
6049         of 'obj_bb' to PROP_TYPE_RECT
6051         * objects/custom/custom_object.c : take all quarks into account, 
6052         not only 4 as copy&paste suggests
6054         * objects/uml/objects.c : completed the implementation of the
6055         property api to avoid reading of totally bogus data. Removed
6056         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
6057         there was too much but too less ...
6058   
6059         The above changes removed all known crashes (mentioned below) 
6060         from the Property API. Property access is still incomplete though.
6062         * objects/flowchart/box.c :
6063         * objects/flowchart/diamond.c :
6064         * objects/flowchart/ellipse.c :
6065         * objects/flowchart/parallelogram.c :
6066         * objects/uml/classicon.c :
6067         * objects/uml/state.c : calculate number of quarks from quark array 
6068         size instead of using hardcoded values for consistence and to avoid 
6069         future bugs like the above
6070         
6071         * objects/eml/nlist.c : include <string.h> for strcmp()
6073         * lib/dia_xml.c : relax g_warning for values, which
6074         appear to be too small. There is nothing which prevents
6075         them while saving
6077         * plug-ins/python/pydia-geometry.c : changed stringifying of
6078         geometry objects accept BezPoint back to %f, which does not
6079         crash anymore, because all the data is intialized now and it
6080         simply is more readable than %e ...
6082         * plug-ins/python/python-startup.py : removed dependency
6083         to PyGtk, because it isn't required here and probably won't
6084         in i.e.: export filters.
6086         * plug-ins/python/gtkcons.py : create the gtkoutfile even
6087         if sys.stderr.fileno() isn't supported
6089         * app/makefile.msc : make version 0.88
6090         * plug-ins/makefile.msc : make version 0.88 an added new
6091         xfig files to build
6093 2001-05-11  James Henstridge  <james@daa.com.au>
6095         * NEWS: remember to add news items this time.
6097         * dia.spec: update spec file for 0.88 release.
6099         * configure.in: up version number to 0.88
6101         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
6102         preventing any of the useful python scripts from being
6103         distributed.
6105         * sheets/Makefile.am (sheet-translation-report): fix bustage I
6106         introduced in my fixups for the 0.87 release :(
6108 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6110         * plug-ins/xfig/xfig-import.c: Finally got groups working.
6112 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6114         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
6115         group manipulation.
6117 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
6119         * lib/ps-utf8.[ch]:
6120         * lib/Makefile.am: fix makefile breakage which led to not
6121         including ps-utf8.[ch] in the released tarballs. 
6123 2001-05-09  James Henstridge  <james@daa.com.au>
6125         * Makefile.am (core-translation-report): dist scripts needed for
6126         this target, and change to $(srcdir) before running.
6128         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
6129         files aren't automatically included in the tarball by automake
6130         because they could be generated files.
6132         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
6134         * doc/en/Makefile.am (install-data-hook): fix up where graphics
6135         are installed.
6137         * configure.in: up version number to 0.87
6139         * plug-ins/python/*.py: no longer necessary to explicitly set
6140         sys.argv, as python.c does it for us now (like it should).
6142         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
6143         python plugin.
6145         * plug-ins/python/python-startup.py: startup script that imports
6146         all modules in $(datadir)/dia/python and ~/.dia/python.
6148         * plug-ins/python/python.c (dia_plugin_init): change so that it
6149         only runs the $(datadir)/dia/python-startup.py script.  Make sure
6150         that sys.argv and __main__.__file__ are set when calling the
6151         startup script.
6153         * plug-ins/python/Makefile.am: update makefile.  Make it install
6154         gtkcons.py plugin.  I haven't set any other plugins to install, as
6155         they look like they are mainly for debugging purposes.
6157         * configure.in: add tests to detect if python is available, so we
6158         can build the python plugin.  Only run if --with-python passed to
6159         configure.
6161 2001-05-08  James Henstridge  <james@daa.com.au>
6163         * acinclude.m4: add macros for detecting python.
6165         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
6166         at GNOME_APP_UI_SUBTREE entries.
6167         (menus_add_path): function to add a menu item to the menubars.
6168         Uses a hash table to keep track of extra menu items it adds.  Also
6169         notifies the item factory about the entries so that accels can be
6170         saved for them.
6171         (menus_add_path): implement gtk only version.
6172         (menus_init): use menus_add_path() to add the menu.
6173         (plugin_callback): simplify.
6175 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
6177         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
6178         
6179 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6181         * plug-ins/xfig/xfig-export.c: 
6182         * plug-ins/xfig/xfig-common.c: 
6183         * plug-ins/xfig/xfig-import.c: 
6184         * plug-ins/xfig/xfig.c: 
6185         * plug-ins/xfig/xfig.h: 
6186         * app/Makefile.am: Added support for exporting to Fig format
6187         (except splits, which are less powerful in Fig).  Some refactoring
6188         along the way.
6190 2001-05-02  Hans Breuer  <hans@breuer.org>
6192         * plug-ins/python/debug_objects.py : added another
6193         test to get massive crashes from the Property API due
6194         to unintialized data.
6196         * app/menu.c : the callback_action wasn't incremented
6197         (should have checked my last optimization). Now more
6198         than one plug-in callback is supported again.
6200         * plug-ins/python/pydia-geometry.c : avoid crashes from
6201         glib, when trying to g_strdup_printf unintialized floats.
6203         * plug-ins/python/pydia-property.c : avoid crashes from
6204         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
6206 2001-05-01  Hans Breuer  <hans@breuer.org>
6208         * objects/makefile.msc : added eml
6209         * objects/eml/instantiation.c : initialize 'inst' pointer
6210         before using, zero initialization for objects
6211         * objects/eml/interaction-ortho.c :
6212         * objects/eml/interaction.c : zero initialization for objects
6214         * app/menus.c : removed Gimp mru stuff which slipped in at
6215         2000-08-15, was never activated and will never be needed, 
6216         because of Steffens recent file list patch added at 2001-01-05.
6218         * objects/eml/*.c : some more zero initialization of objects
6219         to avoid infinite (uninitialized) bounding boxes
6221         Implemented a callback api which allows plug-ins to register
6222         menu call backs. Dia for Gnome should compile, but will need 
6223         some extra tweaking to make it work because I can't test it.
6225         * plug-ins/python/pydia-error.h :
6226         * plug-ins/python/pydia-render.c : moved Pxthon function return 
6227         value handling from pydia-render.c to pydia-error.h, to make it
6228         usable for
6229         * plug-ins/python/diamodule.c : implement callback function
6230         registration from and relaying to Python code
6232         * app/menus.c : register and use plug-in menu callbacks
6234         * lib/filter.[hc] : implement filter_register_callback() and
6235         filter_get_callbacks() for the above
6236         * lib/libdia.def : export them
6238         * plug-ins/python/debug_objects.py (new file): 
6239         sample using the above
6241 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6243         * plug-ins/shape/shape-export.c (new_shape_renderer): 
6244         The name of a shape is now taken from the dir, to conform with
6245         standard naming.
6247 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6249         * app/properties.c (properties_show): Added title containing
6250         object type, plus (hopefully) fix of the ghost properties dialog.
6252 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
6254         * app/display.c: remove the display idle handler in case we
6255         destroy the ddisplay (caused crashes in ddd, probably random
6256         crashes elsewhere).
6258         * autogen.sh: 
6259         * configure.in:
6260         * Makefile.am: hack around gettext-0.10.36's new "features".
6261         
6262         * lib/properties.[ch]: added new function object_copy_props().
6263         Added new property type PROP_TYPE_ENDPOINTS
6265         * lib/connection.h: added support for load/saving through the
6266         properties interface.
6268         * lib/object.[ch]: object_load/save/copy_using_properties()
6269         support functions (code factorisations).
6270         
6271         * objects/GRAFCET/boolequation.c: check against null values in
6272         boolequation_set_value() and boolequation_destroy().
6274         * objects/GRAFCET/transition.c: Converted from lazyprops to
6275         standard properties. 31% less (x86) code !
6277         * objects/GRAFCET/condition.c: also converted from lazyprops to
6278         standard properties. Also killed lots of code.
6279         
6280 2001-04-13  Hans Breuer  <hans@breuer.org>
6282         * plug-ins/wmf/wmf.cpp : changed text conversion from
6283         g_utf8_utf16 to g_convert usage. The latter function is already
6284         available in tml's last "official" Gtk+ version (2000-12-26).
6285         This change allows to use recent Dia with either the official
6286         version or the latest cvs "gtk-1-3-win32-production"-branch.
6288 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6290         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
6291         * app/disp_callbacks.c:
6292         - Allow submenus in DiaMenus.
6293         - Don't require DiaMenu.title to be non-null (so that
6294           submenus aren't required to have titles)
6296         * objects/FS/function.c:
6297         - object menu now has submenus, an almost complete list of
6298           standard-basis verbs, and a start on nouns.
6299         - box padding, dash length, and other visual attributes are
6300           scaled by the font size... eventually font height will be
6301           a function property.
6302         - draw functions with smaller font to make initial view hold
6303           a reasonable number of functions.
6304         
6305 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
6307         * sheets/ER.sheet:
6308         * sheets/chronogram.sheet:
6309         * sheets/jigsaw.sheet:
6310         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
6311         Wieers <dag@wieers.com>
6313 2001-04-13  Hans Breuer  <hans@breuer.org>
6315         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
6316         to ensure that all the deinitialization is only done once. Fixes
6317         recent app exit crash on win32
6319         * lib/dia_xml.c : provide isinf() replacement for msc which does only
6320         have _finite()
6322         * lib/libdia.def : updated
6324         * objects/makefile.msc : added wanlink.c 
6326         * objects/network/wanlink.c : added M_PI_2 definition for poor
6327         platforms which don't have one
6329         * objects/standard/arc.c :
6330         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
6331         initialized which led to rather huge bounding boxes (try Ctrl^A on
6332         diagrams with Arcs or ZigZagLines).
6333         * objects/*/*.c : to avoid further bugs like the above changed all
6334         object initializations to g_malloc0 or g_new0
6337 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
6339         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
6340         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
6342         * objects/UML/class.c: 
6343         * objects/UML/usecase.c:
6344         * objects/UML/large_package.c:
6345         * objects/UML/message.c:
6346         * objects/UML/object.c:
6347         * objects/UML/lifeline.c:
6348         * objects/FS/flow.c:
6349         * objects/FS/flow-ortho.c:
6350         * objects/FS/function.c:
6351         * objects/custom/custom_object.c:
6352         * objects/GRAFCET/vergent.c:
6353         * objects/chronogram/chronoref.c:
6354         * objects/SADT/box.c:
6355         * objects/SADT/annotation.c:
6356         * plug-ins/dxf/dxf-import.c:
6357         * plug-ins/xfig/xfig-import.c:
6358         * plug-ins/wpg/wpg.c:
6359         * app/command.c:
6360         * app/app_procs.c:
6361         * app/display.c: /* certainly more WIP than dead code there */
6362         Unused variables, unused static function definitions, forgotten or
6363         incomplete prototypes added or fixed, lack of const or unwanted const,
6364         etc. (mostly clean-ups of leftovers of the pre-properties era).
6365         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
6366         please check these.
6368         * app/lineprops_area.c: More of the same. Missing prototypes
6369         added, and functions unused outside made static.
6371         * app/recent_files.c:
6372         * app/properties.c:
6373         * app/defaults.c: some variables are used only when doing a GNOME
6374         build.
6375         
6376         * app/magnify.c: missing #include <stdlib.h>.
6378         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
6380         These are a lot of clean-ups (by the way, this compiles and runs
6381         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
6382         for DEAD_CODE, and if it's yours, judge it.
6383         
6384 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
6386         * plug-ins/dxf-import.c: some progress with the arcs; still some
6387         clean-ups to do and line width scaling issues to figure out.
6389         * objects/standard/arc.c: start_point and end_point properties
6390         (duplicated from standard/line.c)
6392         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
6393         code there.
6394         
6395 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
6397         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
6398         preliminary support for arcs (doesn't work). Circles and ellipses are
6399         now transparent. Coordinate and width scaling are now a common 
6400         static constant (probably before morphing into a preference).
6401         
6402         * sheet/checktrans.py: improved error reporting. Made checktrans
6403         count lack of <name xml:lang="code"> as a lack of translation for
6404         language "code" (no, it's not a plot to bring down other
6405         language's scores !)
6406         
6407         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
6408         in the header, and have <name xml:lang="fr"> components.
6409         
6410 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
6412         * objects/custom/custom_object.c: temporary hack to fix the shape
6413         bounding box reported by Ben A. Hetland. Proper fix isn't .87
6414         material, see bugzilla #52912.
6416 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6418         * objects/standard/image.c (get_directory): Now uses
6419         G_SEPARATOR_CHAR_S instead of "/"
6421         * sheets/network.sheet: 
6422         * sheets/Logic.sheet:
6423         * sheets/Flowchart.sheet:
6424         * sheets/Electric.sheet:
6425         * sheets/Circuit.sheet:
6426         * sheets/ER.sheet:
6427         * sheets/Pneumatic.sheet:
6428         * sheets/SDL.sheet:
6429         * sheets/UML.sheet:
6430         * sheets/GRAFCET.sheet:
6431         * sheets/MSE.sheet:
6432         * sheets/chronogram.sheet:
6433         * sheets/civil.sheet:
6434         * sheets/network.sheet:
6435         Danish translations.
6436         
6437         * objects/standard/image.c (get_directory): Changed get_directory
6438         to use g_dirname to find the directory part.
6440 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
6442         * sheets/ER.sheet:
6443         * sheets/Electric.sheet:
6444         * sheets/Flowchart.sheet:
6445         * sheets/Logic.sheet:
6446         * sheets/network.sheet: More Dutch translations from Dag Wieers.
6448 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
6450         * sheets/checktrans.py: now emits a warning when two descriptions
6451         for a single language code are found.
6453         * Makefile.am:
6454         * sheets/Makefile.am: -translation-reports now also depend on their
6455         checktrans.py
6456         
6457 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
6459         * sheets/Circuit.sheet:
6460         * sheets/Contact.sheet:
6461         * sheets/Logic.sheet:
6462         * sheets/chronogram.sheet:
6463         * sheets/sybase.sheet: 
6464         Dutch translations from Dag Wieers <dag@wieers.com>
6466 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
6468         * po-checktrans.py: Now shows the detailed counts alongside the
6469         percentage of translations.
6470         
6471 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
6473         * Makefile.am:
6474         * po-checktrans (NEW):
6475         * po-checktrans.py (NEW): builds core-translation-report:
6476         percentages of core (gettext) translations done [Not placed into
6477         po/ where that should belong, because of integration fear^Wissues
6478         with gettextize]. 
6480         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
6481         sheets/sheet-translation-report probably ought to be copied on the 
6482         user's /usr/share/doc/dia (or equivalent) directory.
6484         * sheets/Makefile.am: sheet-translation-report now a simple
6485         EXTRA_DIST; make install won't install it by default. 
6486         
6487 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
6489         * app/preferences.c: changed the default grid colour to something
6490         less intrusive. 
6492         * shapes/SDL/*.shape:
6493         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
6494         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
6495         DIA FILES (well, for files using SDL), see the mailing list
6496         archive "SDL (ab)using the global shape namespace" for a script to
6497         do this conversion.
6499         * sheets/SDL.sheet: translated into French
6500         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
6501         
6502 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
6504         * lib/dia_xml.c: made data_point() more paranoid
6506         * sheets/Makefile.am:
6507         * sheets/checktrans (NEW):
6508         * sheets/checktrans.py: Made checktrans handle more gracefully the
6509         absence of python and python-xml packages, and made the error
6510         message more helpful.
6511         
6512 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6514         * lib/render_object.c (new_render_object): Made initial handles
6515         behave like on most other objects.
6517         * app/load_save.c (read_objects): Fixed premature free'ing ofr
6518         typestr causing garbage.
6520 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
6522         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
6523         accouting for handle ordering through copy and save. (#51479)
6525 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
6527         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
6529 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
6531         * sheets/Circuit.sheet
6532         * sheets/UML.sheet
6533         * sheets/network.sheet: Updated German translations
6534         
6535 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
6536         * lib/arrows.[ch]:
6537         * lib/widgets.c:
6538         * app/lineprops_area.c: The return of the revenge of the arrow
6539         heads. Now all types covered by ISO 10303-201 should be covered.
6540         
6541 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
6543         * sheets/Flowchart.sheet: translations in probably Hungarian were
6544         a victim of cut-n-paste from the German one. Fixed (hopefully).
6545         * sheet/UML.sheet: translation in probably Norwegian was a victim
6546         of cut-n-paste from the French one. Fixed (hopefully).
6547         * sheets/Logic.sheet: French translation not tagged with
6548         xml:lang="fr".
6549         
6550         * sheets/checktrans.py:
6551         * sheets/Makefile.am: new file, sheet-translation-report, to be
6552         installed along the sheets, show how much of them has been
6553         translated into which language (I wish the result was prettier...)
6555         * po/README: most translators don't read this file, but anyway...
6557         * sheets/.cvsignore:
6558         * objects/network/.cvsignore: the usual negotiation with CVS.
6560 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
6562         * sheets/*.sheet: French translations
6564 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
6566         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
6568         ** objects/network/network.c:
6569         ** objects/network/wanlink.c:
6570         ** objects/network/pixmaps/wanlink.c:
6571         ** sheets/network.sheet:
6572         ** objects/network/Makefile.am: a better object to use instead of
6573         the older WAN Connection.
6574         
6575         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
6577         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
6578         name clash 
6580         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
6581         Arc; kept the C file name (because CVS wouldn't like it), and
6582         still registering the older object name (but advertising the newer
6583         one in sheets/GRAFCET.sheet).   
6585 2001-03-24  Hans Breuer  <hans@breuer.org>
6587         * app/dia.def : some plug-ins (currently only python, xfig) are using 
6588         functions from the dia executable. To get them working these functions 
6589         need to be explicit exported on win32. IMO the much cleaner way would
6590         be to move these functions to libdia, but that would require some
6591         long term restructuring ...
6593         * lib/libdia.def : updated
6595         * plug-ins/makefile.msc : build xfig plug-in
6597 2001-03-24  Hans Breuer  <hans@breuer.org>
6599         * app/diagram.c : g_strdup (dia->filename) because it will be
6600         g_free ()d
6602         * app/display.c : set ddisp->renderer to NULL after destruction.
6603         This may solve or help to identify erroneous access to it after
6604         destruction.
6606         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
6607         get 'umlauts' working
6609 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
6611         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
6612         were reversed... (look for the patch, and drink a beer to my
6613         stupidity)      
6614         
6615 2001-03-23  Hans Breuer  <hans@breuer.org>
6617         * app/app_procs.c : don't g_error () if the config directory
6618         can't be created (at least not on windoze) because it's quite
6619         common that the user don't read or understand the FAQ ...
6621         * app/cursor.c : use ddisplay_active () instead of active_display
6622         from app/display.c
6624         * app/display.[hc] : made active_display var static and provide
6625         an accessor funtion ddisplay_active_diagram ()
6627         * app/dia-props.c : don't store the active_diagram, but ask
6628         for it everytime it needed.
6630         * lib/properties.h : #include "intl.h"
6632         * lib/makefile.msc : need to take care of inclusion order to
6633         avoid clashes with gtk+2.0's gdk-pixbuf
6635         * objects/makefile.msc : added uml/stereotype.c to build
6637 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6639         * **/*.c: Added config.h to the remaining .c files, and changed
6640         all to be <config.h>.
6642 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
6644         * lib/arrows.c
6645         * lib/arrows.h
6646         * lib/widgets.c
6647         * app/lineprops_area.c: added new arrow types with double
6648         heads
6649         
6650 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
6652         * shapes/Civil/civil_gas_bottle.xpm
6653         * shapes/Civil/civil_gas_bottle.shape
6654         * sheets/civil.sheet
6655         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
6656         Battermann
6657         
6658 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
6660         * objects/custom/shape_info.c (load_shape_info): 
6661         * objects/custom/shape_info.h: 
6662         * objects/custom/custom_object.c (custom_update_data): 
6663         Better support for text outside the box -- new attributes 'resize'
6664         and 'align' for text entity.  Align not fully supported yet.
6666         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
6668 2001-03-20  James Henstridge  <james@daa.com.au>
6670         * app/interface.c (display_data_received_callback): comment out
6671         status message.
6673 2001-03-19  James Henstridge  <james@daa.com.au>
6675         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
6677         * objects/UML/realizes.c: similar here.
6679         * objects/UML/implements.c: similar here.
6681         * objects/UML/component.c: similar here.
6683         * objects/UML/generalization.c: same here.
6685         * objects/UML/dependency.c: allow NULL for ->name and
6686         ->stereotype.  This fixes a number of problems in loading saved
6687         files.
6689         * lib/properties.c: various changes so that NULL string properties
6690         should work.
6692         * objects/standard/line.c (line_update_data):
6693         line->extra.start_long and line->extra.end_long were not being
6694         initialised.  This fixes potential problems with the bounding box
6695         of "Standard - Line" objects.
6697 2001-03-19  Hans Breuer  <hans@breuer.org>
6699         * app/commands.c : added win32 specific code to display a html
6700         file. #include "text.h" for text_delete_all prototype.
6702         * app/dia.ico :
6703         * app/dia.rc : (new) to give Dia win32 an icon
6705         * app/win32print.[ch] : new files to support direct postscript
6706         file printing on win32. Beware: it *requires* a ps-printer!
6708         * app/paginate_psprint.c : disable the signal code for win32 build
6709         and added small specific changes to support win32print.
6711         * app/makefile.msc : added win32print and linking shell32.lib
6713         * lib/libdia.def : updated
6715 2001-03-18  Kevin Breit <battery841@mediaone.net>
6717         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
6718           Help tabs.
6720 2001-03-17  James Henstridge  <james@daa.com.au>
6722         * app/paginate_psprint.c (diagram_print_ps): add code that traps
6723         SIGPIPEs during printing.  This gets rid of a number of crashes
6724         caused by printing (eg. typing an incorrect print command).
6726         * dia.spec (%install): gzip the manpage.
6728         * lib/beziershape.c (beziershape_save): fix off by one error in
6729         beziershape save code, which was adding an extra segment to the
6730         object on save.
6732         * app/menus.c: add a separator in the gnome version of the help
6733         menu.
6735         * app/app_procs.c (app_init): add a --nosplash argument which
6736         disables the splash screen.
6738         * app/dia_embedd.c (main): don't leave the splash screen open for
6739         embeddable component.
6741         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
6742         didn't seem to be showing the splash screen like expected, so I
6743         have replaced it with some code that calls gtk_main() until the
6744         first exposure of the window.
6746 2001-03-16  James Henstridge  <james@daa.com.au>
6748         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
6750         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
6751         stereotype.h
6753         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
6755         * app/Makefile.am (dia_core_files): remove splash.h from file
6756         list, as it doesn't exist.
6758         * doc/en/Makefile.am (uninstall-local): remove the docdir on
6759         uninstall.
6761         * doc/Makefile.am (uninstall-local): target to remove the C
6762         symlink.
6764         * dia.spec (%files): include the documentation in the package.
6766         * app/menus.c (toolbox_menu_items): add menu item for manual,
6767         which calls help_manual_callback.
6769         * app/commands.c (help_manual_callback): find help file and load
6770         netscape to view it.
6772         * app/commands.h: add prototype for help_manual_callback()
6774         * doc/Makefile.am (helpdir): similar here.
6776         * doc/en/Makefile.am (helpdir): make the helpdir
6777         $(pkgdatadir)/help/en in the non gnome case.
6779         * configure.in (HAVE_GNOME): add conditional.
6781         * doc/en/Makefile.am: handle the graphics in a more general way,
6782         so it is easier for Kevin to add them to the build (just add them
6783         to the GRAPHICS var).
6785         * app/Makefile.am (embed_extra_print_files): make the case of
6786         building without gnome-print support but with bonobo support work.
6787         dia-embedd needs to be include the gnome-print
6789 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
6791         * samples/Makefile.am: included all samples in the distribution....
6792         
6793 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
6795         * configure.in: removed premature test for DPS. Added -*- m4 -*-
6796         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
6797         vanished, removed it from ALL_LINGUAS.
6799         * lib/charconv.[ch] (NEW): a very small wrapper around
6800         unicode_iconv to convert strings between utf8 and local charset
6801         (actually, ISO-8859-1, though one can do
6802         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
6804         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
6805         library to help build Postscript streams which use as many custom
6806         font encodings as necessary to correctly represent all characters
6807         used (testing from users with non-latin1 and/or more than 256
6808         characters in routine use *very* welcome).
6810         * app/Makefile.am, lib/Makefile.am: integrated these into the
6811         build process.
6813         * shapes/Logic/.cvsignore (NEW): .cvsignore
6814         
6815         * app/render_eps.h: forwarded some changes Lars forgot to include.
6816         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
6817         doesn't yet build.
6819 2001-03-08  Kevin Breit <battery841@mediaone.net>
6821         * doc/en/home_network.png: Added file.
6822         * doc/en/line_props.png: Added file.
6823         * doc/en/usage-objects.sgml: Added two graphics to file.
6824         * doc/en/usage-quickstart.sgml: Added one graphic to file.
6826 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
6828         * app/grid.h: Place comment around text after #endif.
6829         * lib/bezier_conn.c: #include <string.h>.
6830         * lib/beziershape.c: #include <string.h>.
6831         * lib/connpoint_line.h: Comment after #endif.
6832         * lib/dia_dirs.c: #include <string.h>.
6833         * lib/element.c: Same.
6834         * lib/lazyprops.c: #include <config.h> and "intl.h".
6835         * lib/lazyprops.h: Comment out text after #endif.
6836         * lib/neworth_conn.c: #include <string.h>
6837         * lib/orth_conn.c: Same here.
6838         * lib/poly_conn.c: Here too.
6839         * lib/polyshape.c: And here.
6840         * lib/properties.c: Remove #include "intl.h" from here and add
6841         an array of static strings to work around bug in gettext that
6842         makes it miss strings in a #define body.
6843         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
6844         * objects/GRAFCET/boolequation.h: Same here.
6845         * objects/chronogram/chronoline_event.h: Add prototype for
6846         destroy_cle().
6847         
6848 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
6850         * objects/FS/function.c: 
6851         * objects/FS/flow.c: 
6852         * objects/FS/flow-ortho.c: 
6853         Updated to use properties.
6855 2001-03-03  James Henstridge  <james@daa.com.au>
6857         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
6858         button labels when creating them.
6860 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
6862         * objects/UML/actor.c
6863         * objects/UML/realizes.c 
6864         * objects/UML/implements.c 
6865         * objects/UML/generalization.c 
6866         * objects/UML/dependency.c 
6867         * objects/UML/constraint.c
6868         Updated to use properties.
6869         
6870         * objects/UML/stereotype.c 
6871         * objects/UML/stereotype.h
6872         Generalized to any kind of bracketting.
6873         
6874 2001-02-28  James Henstridge  <james@daa.com.au>
6876         * app/menus.c: add help entry to the help menu.  Need to get this
6877         working for the non GNOME case as well (maybe put help under
6878         $(datadir)/dia/help for non GNOME?)
6880         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
6882         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
6883         this element so that we get a meaningful filename in the html
6884         translation.
6886         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
6887         documentation.
6889         * configure.in (DB2HTML): add a check for the db2html program, and
6890         set an automake conditional if it is found.
6892         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
6893         and descend into doc/ directory while building.
6895         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
6896         we need more complex rules for building the docs.
6898 2001-02-25  Hans Breuer  <hans@breuer.org>
6900         * config.h.win32 : some cleanup
6902         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
6903         are deprecated since glib-1.3.2. Sorry needing to use them
6904         contionally, but there is no glib-1.2 for win32
6906         * app/recent_files.c : use g_strescape (params) conditionally
6908         * lib/connection.c : include string.h for memcpy
6910         * lib/geometry.h : added some stuff for compatibility with
6911         msvc, which previously came from included config.h
6913         * lib/libdia.def : updated
6915         * objects/makefile.msc : updated
6917         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
6918         'extra' used without having been initialized
6920         * objects/network/bus.c(658) : initialize 'extra'
6922         * plug-ins/makefile.msc : updated
6924         * plug-ins/cgm/cgm.c :
6925         * plug-ins/pstricks/render_pstricks.c : 
6926         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
6927         huge memory leaks.
6929         * plug-ins/python/python.c : use HAVE_DIRENT_H
6931 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
6933         * lib/connection.c (connection_update_boundingbox): 
6934         Made the BB shrink on right and lower sides, too.
6936 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
6938         * */*.c: #incude <config.h> at the top.
6939         * */*.h: Remove include of "config.h" since it should only
6940         be included in .c files and at the very top for things to
6941         work.
6942         * sheets/*.sheet: Updated Norwegian translations.
6943         
6944 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
6946         * objects/UML/small_package.c: 
6947         * objects/UML/class.c: 
6948         * objects/UML/node.c: 
6949         * objects/UML/usecase.c:
6950         * objects/UML/lifeline.c: 
6951         * objects/UML/message.c:
6952         Various cleanup of properties in particular.  Now much more use of
6953         standard properties.
6955         * lib/diagramdata.c (layer_render): Visualization of bounding
6956         boxes, for debugging purpoises.
6958 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
6960         * lib/geometry.h:
6961         * lib/connection.[ch]:
6962         * lib/poly_conn.[ch]:
6963         * lib/polyshape.[ch]:
6964         * lib/bezier_conn.[ch]:
6965         * lib/beziershape.[ch]:
6966         * lib/orth_conn.[ch]:
6967         * lib/neworth_conn.[ch]:
6968         * lib/element.[ch]: Changed a bit the _update_boundingbox()
6969         interface. Now the parent elements have an extra_spacing
6970         structure, which child objects just need to fill, to take care of
6971         most arrow & line width extra space needs.
6973         * objects/**/*.c: updated all objects to the new interface.
6974         While at it, killed all instances of (Object *) downcasts (phew !)
6976         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
6977         doesn't speak about.
6978         
6979 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
6981         * sheets/Logic.sheet: New sheet for Logic symbols.
6983 2001-02-21  James Henstridge  <james@daa.com.au>
6985         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
6986         widget by its path name.  Walks the GnomeUIInfo heirachy rather
6987         than widget tree, compares untranslated label names and ignores
6988         underscores in the labels.
6989         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
6990         lookups are not dependent on the current locale, as with
6991         gnome_app_find_menu_pos.
6993         * acconfig.h: guard against multiple inclusion of config.h.
6995         * app/select.c (select_style_callback): simply set the selection
6996         style to the value of action.
6998         * app/menus.c (menus_init): simplify the item factory based menu
6999         code a bit.  It looks like it was using some code cut and pasted
7000         from the gimp, which looked a bit unnecessary.  Things work fine
7001         without it.
7002         (selectmenu): set the action to the type of selection mode
7003         requested.
7004         (display_menu_items): use the symbolic enumeration values for the
7005         action field.
7007         * app/plugin-manager.c: 
7008         * app/plugin-manager.h: 
7009         * app/filedlg.c:
7010         * app/filedlg.h: 
7011         * app/select.c:
7012         * app/select.h: change prototypes.
7014         * app/commands.c: update all callback prototypes, and get rid of
7015         some #ifdef GNOME's.
7017         * app/commands.h: change function prototypes.
7019         * app/dia_embedd.c (save_fn):
7020         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
7022         * app/menus.c (menus_init): for gnome menus, use
7023         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
7024         structure that proxies the callbacks to have the same signature as
7025         GtkItemFactory type 1 callbacks.
7026         (menus_init): for GTK menus, change from callback type 2 to type
7027         1.
7028         (display_menu_items): add back tearoffs.  I don't know who removed
7029         these for the gtk menu case.
7031 2001-02-20  Kevin Breit <battery841@mediaone.net>
7033         * doc/en/usage-objects-special.sgml: Fixed a few of the special
7034         object descriptions.  More to come in the next few days.
7036 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
7038         * app/render_eps.c: Fixed for internationalized floating point
7039         output. 
7041         * objects/UML/note.c: Fixed properties -- was missing
7042         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
7043         position. 
7045 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7047         * plug-ins/xfig/xfig-import.c: 
7048         File added importing xfig files.  Still very rough, but good
7049         enough to let others hack on it.
7051 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
7053         * app/interface.c:
7054         * app/linewidth_area.c:
7055         * lib/lazyprops.c:
7056         * lib/properties.c:
7057         * lib/widgets.c:
7058         * objects/ER/attribute.c:
7059         * objects/ER/entity.c:
7060         * objects/ER/relationship.c:
7061         * objects/custom/custom_object.c:
7062         * objects/flowchart/box.c:
7063         * objects/flowchart/diamond.c:
7064         * objects/flowchart/ellipse.c:
7065         * objects/flowchart/parallelogram.c:
7066         * objects/standard/box.c:
7067         * objects/standard/textobj.c: per Vlad Harchev's request, made
7068         page sizes of gtk_adjustments different than their step sizes.
7069         When sensible values of page size weren't found (overwhelming
7070         majority of cases), page sizes were set to 10.0 * respective step
7071         size.   
7073 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7075         * objects/network/hub.c: 
7076         Patch from Hubert Figuiere applied, adding connection points.
7078 2001-02-02  James Henstridge  <james@daa.com.au>
7080         * app/display.c (new_display): set update id to 0 here.
7081         (ddisplay_update_handler): rename from ddisplay_flush, and set
7082         update_id to 0 at end of processing.
7083         (ddisplay_flush): new implementation that simply sets an idle
7084         handler to perform the actual drawing.
7086         * app/display.h: add structure member to hold the redraw idle
7087         handler id.
7089 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7091         * objects/standard/ellipse.c (ellipse_copy): 
7092         * objects/standard/zigzagline.c (zigzagline_copy): 
7093         Fix of copying provided by Martin Hawlisch.
7095 2001-01-23  Kevin Breit <battery841@mediaone.net>
7097         * doc/en/graphics/: added directory
7099         * doc/en/graphics/greendots.png: added file
7101         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
7102         release.
7104 2001-01-23  Kevin Breit <battery841@mediaone.net>
7106         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
7107                         thanks to John Fleck!
7109 2001-01-21  Kevin Breit <battery841@mediaone.net>
7111         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
7113 2001-01-12  Michael Meeks  <michael@helixcode.com>
7115         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
7116         so our POA gets setup properly.
7118         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
7119         things we g_malloc.
7121         * configure.in: Use bonobox_print.
7123         * app/dia_embedd.c (embeddable_factory): add print interface.
7124         (object_print): impl.
7126 2001-01-11  Michael Meeks  <michael@helixcode.com>
7128         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
7129         (load_fn, save_fn): impl.
7130         (view_factory): hide modified status bar, & use activate fn.
7131         (refresh_view): force redraws of the views.
7132         (view_show_hide): split from
7133         (dia_view_activate): here.
7135         * app/diagram.c (diagram_load_into): split from diagram_load.
7136         (new_diagram): simplify bu splittin stuff into
7137         (diagram_init): here.
7139 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
7141         * shapes/jigsaw/*.shape: replaced #000000 with foreground
7142         and #ffffff with background
7143         
7144 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
7146         *configure.in: GTK+-build was broken due to missing
7147         have_bonobo=no
7148         
7149 2001-01-06  Michael Meeks  <michael@helixcode.com>
7151         * app/dia_embedd.c (main): add running context support.
7152         (dia_embeddable_destroy): remove old running object counting.
7153         (embeddable_factory): ditto.
7154         (view_factory): comment out menu path hiding.
7156         * lib/sheet.c (load_register_sheet): use free to free
7157         stuff from libxml not g_free.
7159         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
7161         * configure.in: remove USE_OAF checks, check for a precice
7162         Bonobo version >= 0.31, revamp bits.
7164         * app/dia_embedd.c (init_server_factory): upd.
7165         (init_dia_factory): remove OAF conditionals, everything uses
7166         oaf now.
7168         * app/GNOME_Dia.oafinfo: rename OAFIIDs
7170         * app/Makefile.am: remove ancient gnorba code.
7171         rename dia.oafinfo to GNOME_Dia.oafinfo
7173 2001-01-07  Hans Breuer <Hans@Breuer.Org>
7175         * config.h.win32
7176         * install.win32
7177         * readme.win32 : some more files required or useful to build 
7178         Dia on win32
7180         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
7181         fill_bezier implementation, boundary drawing in fill mode, etc.
7182         Next one complaining gets the source, uncommented ...
7184         * shapes/network/router-symbol.xpm 
7185         * shapes/network/switch-atm-symbol.xpm 
7186         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
7187         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
7188         the files as XPMs. Maybe the X versions of these functions are more
7189         tolerant ...
7191 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
7193         * plug-ins/python/Makefile.am: added libart path
7195         * plug-ins/python/python.c: added dirent.h
7197         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
7198         
7199 2001-01-06  Hans Breuer <Hans@Breuer.Org>
7201         * objects/uml/actor.c
7202         * objects/uml/branch.c
7203         * objects/uml/class.c
7204         * objects/uml/classicon.c
7205         * objects/uml/component.c
7206         * objects/uml/large_package.c
7207         * objects/uml/node.c
7208         * objects/uml/note.c
7209         * objects/uml/object.c
7210         * objects/uml/small_package.c
7211         * objects/uml/state.c
7212         * objects/uml/usecase.c : started to implement the generic property
7213         interface for the uml objects. Would appreciate some help on how
7214         to implement properties which are list of properties themselves,
7215         e.g. member functions and their parameters of UMLClass.
7217 2001-01-06  Hans Breuer <Hans@Breuer.Org>
7219         * plug-ins/python/diamodule.c : finally ported to win32.
7220         Added new objects and implemented register_export function.
7222         * plug-ins/python/pydia-object.h
7223         * plug-ins/python/pydia-display.c
7224         * plug-ins/python/pydia-handle.c
7225         PyObject_HEAD_INIT needs some tweakink on win32. Done in
7226         pydia-object.h; others files simply using it.
7228         * plug-ins/python/pydia-layer.c : reflect 
7229         layer_find_closest_connection(_)point renaming
7231         * plug-ins/python/pydia-object.c : add property properties.
7232         Also change bounding_box to DiaRectangle.
7234         * plug-ins/python/python.c : extended error reporting; use
7235         all *.py files from Dia's plug-in dir instead of hardcoded
7236         test.py. This sollution should be fine with Win32, but on
7237         Unix it may need some tweaking (dunno) ...
7239         * plug-ins/python/export-object.py
7240         * plug-ins/python/export-render.py : test and documentation 
7241         implementations for export filter implementations in Python
7243         * plug-ins/python/pydia-color.[hc]
7244         * plug-ins/python/pydia-diagramdata.[hc]
7245         * plug-ins/python/pydia-error.[hc]
7246         * plug-ins/python/pydia-export.[hc]
7247         * plug-ins/python/pydia-font.[hc]
7248         * plug-ins/python/pydia-geometry.[hc]
7249         * plug-ins/python/pydia-image.[hc]
7250         * plug-ins/python/pydia-properties.[hc]
7251         * plug-ins/python/pydia-property.c
7252         * plug-ins/python/pydia-render.c : new objects in new files 
7254         * plug-ins/python/makefile.am : added new files but can't test it
7256         * plug-ins/python/pydia.def
7257         * plug-ins/python/makefile.msc : for win32 build
7259         * plug-ins/cgm/cgm.c
7260         * plug-ins/dxf/dxf-import.c
7261         * plug-ins/dxf/dxf-export.c
7262         * plug-ins/hpgl/hpgl.c : reflect export API change
7264         * plug-ins/shape/shape-export.c : reflect export API change
7265         and check for libart (better the availibility of a png exporter) 
7266         at run-time instead of compile-time. 
7268 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
7270         * app/recent_files.h was missing from Hans's commit
7272         * plug-ins/shape/shape_export.c: shape export was broken
7273         due to interface changes
7274         
7275 2001-01-05  Hans Breuer <Hans@Breuer.Org>
7277         Applied Steffen's recent file list patch :
7278         * app/Makefile.am : added recent_files.[hc]
7279         * app/diagram.c : add files to recent file list
7280         * app/menus.c : add recent file menu
7281         * app/app_procs.c : changed initialization order to
7282         make recent file list work with command line processing.
7284         The Filter export()/import() functions have got an additional 
7285         parameter to allow multiple filters via one C callback (required
7286         for Python bindings)
7288         * app/commands.[hc] : corrected the signature for gtk menu callback
7289         functions, which actually use the second or third parameter. This
7290         is the absolute minimum change to make these functions/menu entries
7291         work again. Using the other possible gtk menu callback signature
7292         would have required one more function to change. (see mailing list
7293         thread "Objects/Align/Equal Distance" for more information.
7295         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
7296         zoom-combo focus patch
7298         * app/display.c
7299         * app/interface.c : wrapped the Zoom Combo code into 
7300         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
7301         improvement but cluttering the user interface. Also it wasn't
7302         compiling on Win32 anyway. The win32 version does define 
7303         WITHOUT_ZOOM_COMBO to keep the old look. 
7304         There are plans to use the statusbar to display size and placement
7305         of selected objects, whereas the Zoom Combo would need to get out
7306         of the way as well.
7308         Added "Save Changes?" to diagram close dialog. Hopefuly the
7309         Yes/No/Cancel option isn't too much windoze like. IHMO this is
7310         an useability improvement.
7312         * app/export_png.c
7313         * app/filedlg.c
7314         * app/load_save.c
7315         * app/layer_dialog.c
7316         * app/paginate_psprint.c
7317         * app/render_eps.c
7318         - reflect signature changing of filter->export function
7319         - replaced '/' with G_DIR_SEPARARTOR where appropriate
7321         * app/diaunitspinner.c
7322         * app/render_libart.c
7323         added misssing headers like <string.h>
7325         * app/object_ops.c : fixed copy&paste bug in dialog string
7327         * app/splash.c : gdk_widget_show_now () does not ensure actual
7328         drawing of the splash screen, at least not on win32. Reuse the
7329         previous implementation with gtk_main_iteration() again.
7331         * */makefile.msc : make use of the build module (available in
7332         gnome-cvs/build. Updated for other source changes
7334         * lib/filter.h : added an user_data pointer to <ex/im>port()
7335         function signature and Dia<Im/Ex>portFilter to allow different
7336         filters to reuse the same callback function
7338         * lib/font.c : #include <string.h>
7340         * lib/orth_conn.c 
7341         * lib/poly_conn.c 
7342         * lib/poly_shape.c 
7343         * lib/neworth_conn.c
7344         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
7346         * */*.def : export function definition files required by win32 build
7348         * objects/custom/custom.c : #include <string.h>
7350         * plug-ins/pstricks/render_pstricks.c
7351         * plug-ins/shape/shape_export.c
7352         * plug-ins/svg/render_svg.c
7353         reflect changes to filter export function signature
7355         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
7356         mostly work as expected
7357         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
7358         to build the wmf plug-in because on the one hand the GDI emulation 
7359         isn't finished and on the other hand it isn't required when building
7360         for win32. Is there anybody out there, who wants to save WMF on non
7361         windoze platforms ?
7363         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
7364         offset into account.
7366 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
7368         * app/Makefile.am: added missing plug-ins to run_dia.sh
7370         * lib/paper.c: added paper sizes A0, A1, A2
7372         * objects/UML/class.c
7373         objects/UML/class.h
7374         objects/UML/class_dialog.c: added support for colored UML
7375         classes
7376         
7377 2000-12-30  Kevin Breit <battery841@mediaone.net>
7379         * doc/en/usage-customization.sgml: added more content
7381 2000-12-24  Kevin Breit <battery841@mediaone.net>
7383         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
7384         <remy.viard@laposte.net>
7386 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
7388         * added limiting lines to Civil Engineering sheet,
7389         fixed vertical pump icon
7390         
7391 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
7393         * updated/additional Civil Engineering shapes: better icons,
7394         shapes use foreground/background colors now and are filled
7395         
7396 2000-12-03  Kevin Breit  <battery841@mediaone.net>
7398         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
7399         the selection <sect1>
7401 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
7403         * app/load_save.c (diagram_data_save): avoid using obsoleted
7404         libxml calls (only matters when compiling with libxml2)
7406 2000-11-25  James Henstridge  <james@daa.com.au>
7408         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
7409         handle the tool drops on the canvas.
7411         * app/interface.c (display_data_received_callback): do the check
7412         to make sure that the drag is from a local toolbox here as well.
7414         * app/interface.c (create_tools): unref the pixmap/mask after
7415         creating the GtkPixmap.
7416         (tool_setup_drag_source): function to set up a drag source for
7417         create object tool buttons.
7418         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
7419         (fill_sheet_wbox): same here.
7420         (create_display_shell): set up the display canvas as a drag
7421         destination.
7422         (display_drop_callback, display_data_received_callback): functions
7423         to handle drops of tool buttons.
7425         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
7426         does weird shit to the user_data pointer for a menu item.  Object
7427         alignment should work again now.
7429         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
7430         NULL, and mark this function static.
7431         (app_splash_init): use gtk_widget_show_now() instead of the
7432         gtk_main_iteration loop.
7433         (app_splash_init): connecting gtk_widget_destroy to the destroy
7434         signal of a widget seems pretty useless.
7436 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
7438         * doc/en/dia-manual.sgml:
7439                 Added sect1 for advanced object types.  Starting development
7440                 on that part.
7442 2000-11-18  Kevin Breit <battery841@mediaone.net>
7444         * doc/en/dia-manual.sgml:
7445                 Stupid spelling fixes.
7447 2000-11-18  Kevin Breit <battery841@mediaone.net>
7449         * doc/en/dia-manual.sgml:
7450                 Just some small changes I made.  Props to Greg LeBlanc on the
7451                 recommendations.
7453 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
7455         * app/display.c:
7456         (ddisplay_add_display_area): Clip input rectangle to
7457         the visible part of the display.
7458         (ddisplay_scroll): Optimization, don't scroll and
7459         redraw if moving to the same position as before.
7461         * app/render_libart.c (renderer_libart_copy_to_window):
7462         Removed sanity check. Now moved to ddisplay_add_display_area().
7464         * lib/diavar.h:
7465         Added return at end of file.
7466         
7467 2000-11-13 Kevin Breit <battery841@mypad.com>
7468         * doc/en/dia-manual.sgml
7469                 Commited manual changes from Henry House <hajhouse@houseag.com>
7471 2000-10-21 Hans Breuer <Hans@Breuer.Org>
7472         * lib/beziershape.c :
7473                 The previous code was accessing unowned memory due to IHMO
7474                 wrong index calculation. Now it appears to be fixed.
7475                 *Please Review!*
7477         * lib/makefile.msc
7478         * plug-ins/makefile.msc
7479         * objects/makefile.msc
7480         * app/makefile.msc: (new files)
7481                 Makefiles for Dia on Win32, Micro$oft VC only.
7483         * plug-ins/pstricks/render_pstricks.c
7484         * plug-ins/dxf/dxf-import.c
7485         * plug-ins/shape/shape-export.c
7486         * plug-ins/svg/render_svg.c
7487         * app/commands.c
7488         * app/filedlg.c
7489         * app/preferences.c
7490         * app/render_eps.c
7491         * lib/sheet.c
7492         * lib/plug-ins.c
7493         * objects/custom/custom.c
7494         * objects/standard/image.c
7495                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
7496                 where   appropriate, add missing prototypes like <string.h>
7498         * plug-ins/wmf/wmf_gdi.cpp
7499         * plug-ins/wmf/wmf_gdi.h:
7500                 start of wmf write functions for non Win32 platform. Not 
7501                 finished yet. The other way to get it working maybe to
7502                 link the plug-in against wine libs.
7503                 
7504         * plug-ins/wpg/wpg.c : add missing brace
7506         * app/load_save.c :
7507                 Handling for unknown objects at load time. Previously Dia
7508                 was crashing, if you try to load a file referencing objects
7509                 whiches plug-ins aren't installed/available. Now it spits out 
7510                 a warning and ignores the unknown objects.
7512         * app/interface.c
7513                 toolbox DND support for files like The Gimp does it.
7515         * app/main.c
7516         * app/app_procs.h
7517                 Simple splash screen support and usage.
7519         * app/app_procs.c
7520                 Splash screen, portability fixes, dont' g_error if there is
7521                 g_get_homedir return NULL. This may remove the one and only
7522                 FAQ for Win32.
7524         * app/menus.c :
7525                 Make it compile without ENABLE_NLS
7527         * app/render_libart.c :
7528                 Sanity check to avoid calling libart with wrong window coordinates.
7529                 They come from the update handler. Direct Gdk is dealing nicely
7530                 with coordinates out of range, libart does access un-owned memory
7531                 in this case, mostly causing crashes.
7533         * app/winmain.c: (new file) Export the Win32 Gui version of the
7534                 main function. This file is only required for Windoze.
7536         * app/splash.c: (new file) splash screen implementation
7538         * lib/color.h
7539         * lib/font.h
7540         * lib/diavar.h: (new file)
7541                 moved special variable export code to diavar.h, because it is
7542                 needed in color.h and font.h
7544         * lib/paper.c :
7545                 M$VC cann't export inlined functions. Quick hack to let it
7546                 link again. Probably the glib mechanics should be used here?
7548         * objects/UML/lifeline.c : initialize var before usage
7550         * objects/GRAFCET/step.c : removed unused var
7552 2000-10-14  James Henstridge  <james@daa.com.au>
7554         * app/render_gnomeprint.c (draw_image): change code so images
7555         don't get flipped when printing.
7557         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
7558         sure that the return value of
7559         gnome_print_context_new_with_paper_size is not NULL.
7561         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
7562         into a series of bezier segments.
7563         (fill_arc): similar code to handle filled arc segments.
7565 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
7567         * app/app_procs.c
7568         * app/commands.c
7569         * app/dia-props.c
7570         * app/diagram.c
7571         * app/diagram.h
7572         * app/disp_callbacks.c
7573         * app/display.c
7574         * app/linewidth_area.c
7575         * app/paginate_psprint.c
7576         * app/preferences.c
7577         * app/undo.c
7578         * app/font.c
7579         * app/message.c
7580         * app/neworth_conn.c
7581         * app/orth_conn.c
7582         * objects/standard/box.c: various small changes to get rid of 
7583         annoying warnings (eg faulty prototypes and unused variables)
7585         * app/disp_callbacks.c
7586         * app/cursor.h
7587         * app/magnify.c
7588         * app/magnify.h: update magnify tool icon when pressing/releasing
7589         shift. I will try to make something more general so that similar
7590         things can be used by other tools.
7592         * shapes/SDL/inout.shape
7593         * shapes/SDL/return.shape: fixed some typos
7595 2000-10-09  James Henstridge  <james@daa.com.au>
7597         * objects/custom/shape_info.c (parse_path): apply patch from
7598         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
7599         #25221
7601 2000-10-08  James Henstridge  <james@daa.com.au>
7603         * objects/standard/image.c (image_set_props): if the file could not
7604         be loaded, show the broken image icon.
7606         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
7608         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
7610         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
7611         object icon when loading from a file.  This allows you to have PNG
7612         icon files for shapes.
7614 2000-10-07  James Henstridge  <james@daa.com.au>
7616         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
7618         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
7619         GDK_IMLIB_CFLAGS reference.
7621         * app/commands.c (help_about_callback): remove imlib code.
7623         * lib/dia_image.c: only include the pixbuf version of the image
7624         routines.
7626         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
7628         * configure.in (CPPFLAGS): remove the check for imlib, as we now
7629         require gdk-pixbuf.
7631         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
7632         conditionally define \setfont as well.
7634 2000-10-05  James Henstridge  <james@daa.com.au>
7636         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
7637         preamble so that we define \setlinejoinmode and \setlinecaps
7638         commands conditionally on them being undefined.  This way, the
7639         pstricks output files should work without modification, and will
7640         support the commands when they are implemented in pstricks.
7642 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
7644         * dia.desktop: added hungarian translations to dia.desktop
7646 2000-10-04  James Henstridge  <james@daa.com.au>
7648         * sheets/UML.sheet: fix typo.
7650         * objects/custom/shape_info.c: use strtod instead of g_strtod.
7651         (parse_path): actually call setlocale around strtod calls.
7653         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
7654         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
7655         the g_strtod wrapper.
7657         * shapes/SDL/: add SDL shapes from Rubens Ramos
7658         <rubens_ramos@yahoo.com>
7660         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
7662         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
7664         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
7665         W. Michael Petullo <mike@flyn.org>.
7667         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
7668         from the 0.86 tarball) and jigsaw.sheet.
7670         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
7672         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
7674         * shapes/network/: add network-additional shapes here.
7676         * sheets/network.sheet: add the network-additional shapes from
7677         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
7678         sheet.
7680 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
7682         * configure.in: Updated ALL_LINGUAS
7684         * po/nl.po: Removed newline from translation
7686 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
7688         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
7689         logo filename generation. 
7691         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
7692         Avoiding "//dia_logo.png".
7694 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
7696         * app/filedlg.c: add include <sys/types.h> to
7697         remove warning. (OS/2)
7699 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
7701         * objects/chronogram/chronoline_event.c (reparse_clevent):
7702         the __checksum routine was simply bogus. Redone it in a slightly
7703         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
7705 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
7707         * app/create_object.c (create_object_button_press): 
7708         * app/modify_tool.c (click_select_object): 
7709         * lib/object.h: select renamed to selectf to prevent
7710         compiler problems with function select().  OS/2 version.
7712 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
7714         * po/de.po: Updated.
7716 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
7718         * dia.desktop: Added German translation
7719         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
7721 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
7723         * configure.in (ALL_LINGUAS): added "es"
7725 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
7727         * app/magnify.c:
7728         * app/cursor.h:
7729         * app/cursor.c:
7730         * app/scroll_tool.c:
7731         Standardized cursor function get_cursor().  Magnify now has
7732         looking-glass cursor with + and -.
7734         * app/create_object.c (create_object_button_press): 
7735         Newly created connections now snap to connection points even when
7736         off the grid. 
7738 2000-08-17  Daniel Egger  <egger@suse.de>
7740         * app/menus.c: #ifdef'ed some code for the none GNOME
7741         case.
7742         * app/dia_embedd.c: Changed obvious hackery. Can anyone
7743         please have a look at the GNOME UI menu creation? The
7744         gnome-app-helper code is ages old and plainly broken!
7746 2000-08-15  Daniel Egger  <egger@suse.de>
7748         * app/commands.c:
7749         * app/commands.h:
7750         * app/diagram.c:
7751         * app/display.c:
7752         * app/menus.c:
7753         * app/select.c: First big patch to get the menus
7754         working again in the international version. Copied
7755         some code written by Sven and me from GIMP and
7756         thus implemented automatic tearoffmenu creation and
7757         proper translation. I also removed that pseudo
7758         radiomenu hack and cleaned up several translation
7759         hacks which have never really worked. All in all
7760         this is part I of the big menu patch. Enjoy and tell
7761         me if you detect any problems.
7763 2000-08-14  Daniel Egger  <egger@suse.de>
7765         * sheets/UML.sheet: Changed one German translation as
7766         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
7768 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
7770         * app/diapagelayout.c:
7771         * lib/diagramdata.c:
7772         * lib/diagramdata.h:
7773         * lib/Makefile.am:
7774         * lib/paper.c:
7775         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
7776         selecting paper size for a new diagram. TODO: Use libpaper if 
7777         available and use gnome_paper-stuff if using GNOME.
7779         * sheets/Electric.sheet: fixed typo.
7780         
7781 2000-08-08  James Henstridge  <james@daa.com.au>
7783         * po/README: added a readme file to tell translators to translate
7784         the .sheet files as well.
7786         * app/commands.c (help_about_callback): fix small bug where we tried
7787         to gdk_bitmap_unref() the mask for the about box image, even though
7788         it was NULL.  Now check for a NULL mask.
7790 2000-08-07  Daniel Egger  <egger@suse.de>
7792         * sheets/*.sheet: Added translations for the name
7793         in the toolbar tab. Brushed up some descriptions 
7794         and some translations a bit.
7796 2000-08-06  James Henstridge  <james@daa.com.au>
7798         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
7799         identifier and dtd url for SVG output.
7800         (new_svg_renderer): fix the output of the viewBox output.  The
7801         second two numbers are the width and height -- not the right
7802         and bottom sides of the box.
7804         * shapes/*/*.shape: update svg namespace URI.
7806         * objects/custom/shape_info.c (load_shape_info): change the
7807         namespace URI for custom shapes yet again to match the Candidate
7808         Recommedation.  It looks like this one will probably be the final
7809         one.
7811         * app/display.c (new_display): remove the code that sets ic and
7812         ic_attr members to NULL, as one of the previous function calls
7813         causes the display to be realised.  This means that the ic gets
7814         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
7815         this one.
7817 2000-08-06  James Henstridge  <james@daa.com.au>
7819         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
7821         * NEWS: fixed date in NEWS file, as I will release today.
7823         * README: updated the README a little.  Added note that Dia is now
7824         a GNU program.
7826         * dia.spec: fix up spec file.
7828         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
7830         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
7831         get heaps of warnings when you turn off debugging.
7832         Also made a few other warning fixes.
7834 2000-08-02  James Henstridge  <james@daa.com.au>
7836         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
7838         * configure.in: update version number.
7840 2000-08-01  James Henstridge  <james@daa.com.au>
7842         * app/commands.c (help_about_callback): add Hans to about dialog.
7844         * doc/shape.dtd: dtd for shape file format.
7846         * doc/custom-shapes: update doc file about creating custom shapes.
7848         * shapes/*/*.shape: change namespace URI for the SVG portion to the
7849         one for the latest draft.
7851         * shapes/*/*.shape: fix up rect definitions.
7853         * objects/custom/shape_info.c (load_shape_info): recognise newer
7854         namespace tag for SVG.
7855         (parse_svg_node): the rect element should take attributes x, y, width
7856         and height -- not x1,y1,x2,y2.
7858         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
7859         output to use the newest draft DTD.
7861         * plug-ins/svg/svg.c: initialisation code for plugin.
7863         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
7865         * plug-ins/svg/Makefile.am: makefile for svg plugin.
7867         * app/app_procs.c (internal_plugin_init): don't register the svg
7868         export filter here.
7870         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
7872 2000-07-31  James Henstridge  <james@daa.com.au>
7874         * objects/standard/textobj.c (textobj_get_defaults): 
7875         * objects/standard/polygon.c (polygon_get_defaults): 
7876         * objects/standard/image.c (image_get_defaults): 
7877         * objects/standard/ellipse.c (ellipse_get_defaults): 
7878         * objects/standard/box.c (box_get_defaults): 
7879         * objects/standard/beziergon.c (beziergon_get_defaults): 
7880         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
7881         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
7882         * objects/flowchart/diamond.c (diamond_get_defaults): 
7883         * objects/flowchart/box.c (box_get_defaults): 
7884         * objects/custom/custom_object.c (custom_get_defaults): 
7885         * objects/FS/flow.c (flow_get_defaults): 
7886         * objects/FS/flow-poly.c (flow_get_defaults): 
7887         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
7888         defaults widget.
7890         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
7891         widgets for various object types.
7892         (create_dialog): ref and sink the no_defaults_dialog.
7894         * app/preferences.c (prefs_create_dialog): change
7895         gtk_container_border_width call to gtk_container_set_border_width.
7897 2000-07-29  James Henstridge  <james@daa.com.au>
7899         * app/commands.c (view_aa_callback): show a warning dialog if
7900         you start AA mode.
7902         * app/interface.c (fill_sheet_menu): don't add a menu item for
7903         empty sheets.
7905 2000-07-26  James Henstridge  <james@daa.com.au>
7907         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
7909         * app/menus.c: remove edit grid menu item.
7911         * app/commands.[ch] (view_edit_grid_callback): removed.
7913         * app/display.c (new_display): don't initialise removed Grid members.
7915         * app/grid.c: remove unused functions.
7917         * app/grid.h: remove dialog related stuff from Grid structure.
7918         Remove prototypes for dialog functions.
7920         * app/menus.c: add to menus
7921         
7922         * app/commands.[ch] (view_diagram_properties_callback): new command
7923         for showing the diagram properties dialog.
7925         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
7926         the edit grid dialog.
7928 2000-07-25  James Henstridge  <james@daa.com.au>
7930         * app/grid.c (grid_x_update): 
7931         (grid_y_update): as the grid setting is stored with the diagram,
7932         update all displays when a change is made.
7934         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
7936         * app/create_object.c (create_object_button_press): 
7937         (create_object_motion): use new snap_to_grid signature.
7939         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
7940         and handle invisible grid lines.
7941         (snap_to_grid): use new grid settings.  Also changed signature to
7942         take a DDisplay rather than Grid pointer.
7943         (grid_show_dialog): get the defaults from the correct place.
7945         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
7947         * app/diagram.c (new_diagram): set the grid size defaults from the
7948         user preferences.
7950         * app/load_save.c (diagram_data_save): save grid and guide info to
7951         diagram file.
7952         (diagram_data_load): add guide and grid load support.
7954         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
7955         members.
7957         * lib/diagramdata.h: add members to DiagramData for grid and guide
7958         settings.
7960         * configure.in (BONOBO_LIBS): update configure scripts
7962         * app/dia.oafinfo: oafinfo file for dia embeddables.
7964         * app/dia_embedd.c: add OAF support.
7966 2000-07-24  James Henstridge  <james@daa.com.au>
7968         * plug-ins/wpg/Makefile.am: 
7969         * plug-ins/pstricks/Makefile.am: 
7970         * plug-ins/hpgl/Makefile.am: 
7971         * plug-ins/dxf/Makefile.am: same here.
7973         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
7974         the required libraries, and the link line was causing libtool not
7975         to build a shared library on some systems :(
7977         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
7978         be checking x, not n.
7980 2000-07-23  James Henstridge  <james@daa.com.au>
7982         * app/preferences.c (prefs_data): set the "reset tools after
7983         create" preference to true by default.  That seems to be what most
7984         people expect.
7986         * app/interface.c (create_sheets): instead of a notebook, use an
7987         option menu that updates the sheet tools.  The notebook tabs were
7988         getting a bit unwieldly, so the option menu should fix that.  This
7989         also reduces the number of widgets in the tools radio button
7990         group, which should make the UI a little more responsive.
7992 2000-07-19  Fatih Demir <kabalak@gmx.net>
7993         
7994         * configure.in: Added tr to ALL_LINGUAS.
7995                 [ Yeah, we're now having a Turkish translation,
7996                    too. ]
7997         
7998         * dia.desktop: Added the Turkish entries.
8000 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
8002         * doc/diagram.dtd: changed string-element so it conforms to the
8003         output from dia.
8005 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
8007         * configure.in: added chinese. 
8008         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
8010         * app/app_procs.c:
8011           app/load_save.c:
8012           app/render_svg.c:
8013           lib/dia_xml.c:
8014           lib/plug-ins.c:
8015           lib/sheet.c:
8016           objects/custom/shape_info.c: 
8017           shapes/Circuit/npn.shape:
8018           shapes/Circuit/pnp.shape:
8019           sheets/*.sheet: dia now works with libxml2.
8020         Libxml2 is a bit more picky when parsing xml and reported errors on all 
8021         sheet files because they use non ascii characters (added 
8022         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
8023         I commented out these.
8025 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
8027         * configure.in (ALL_LINGUAS): added Italian
8029 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
8031         * configure.in (ALL_LINGUAS): added Korean
8033 2000-06-25  James Henstridge  <james@daa.com.au>
8035         * objects/flowchart/parallelogram.c (pgram_create): use default font
8036         and add properties interface support.
8038         * objects/flowchart/ellipse.c (ellipse_create): use default font and
8039         add properties interface support.
8041         * objects/flowchart/diamond.c (diamond_create): use default font and
8042         add properties interface code.
8044         * objects/flowchart/box.c (box_create): use default font.
8046         * objects/custom/custom_object.c (custom_create): use default font
8047         here too.
8049         * objects/standard/textobj.c (textobj_create): update to use default
8050         font.
8052         * lib/attributes.c: add implementations.
8054         * lib/attributes.h (attributes_[gs]et_default_font): add function
8055         prototypes for setting/getting a default font.
8057 2000-06-24  James Henstridge  <james@daa.com.au>
8059         * app/paginate_gnomeprint.h: updated prototype.
8061         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
8062         diagram page settings.
8064         * objects/standard/beziergon.c (beziergon_copy): same here.
8066         * objects/standard/polygon.c (polygon_copy): copy the fill colour
8067         as well.
8069         * app/undo.h: 
8070         * app/tool.h (tool_options_dialog_show): 
8071         * app/scroll_tool.h (free_scroll_tool): 
8072         * app/render_svg.h: 
8073         * app/render_libart.h (renderer_libart_copy_to_window): 
8074         * app/render_gdk.h (renderer_gdk_copy_to_window): 
8075         * app/properties.h (properties_hide_if_shown): 
8076         * app/preferences.h (prefs_load): 
8077         * app/object_ops.h: 
8078         * app/modify_tool.h (free_modify_tool): 
8079         * app/magnify.h (free_magnify_tool): 
8080         * app/linewidth_area.h (linewidth_area_create): 
8081         * app/layer_dialog.h: 
8082         * app/handle_ops.h (handle_is_clicked): 
8083         * app/group.h: 
8084         * app/grid.h (grid_destroy_dialog): 
8085         * app/defaults.h (defaults_show): 
8086         * app/cut_n_paste.h (cnp_exist_stored_objects): 
8087         * app/create_object.h (free_create_object_tool): 
8088         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
8089         * app/commands.h: 
8090         * app/color_area.h (color_area_create): 
8091         * app/app_procs.h (app_is_embedded): remove extern keyword from
8092         function prototypes.
8094         * lib/text.h: 
8095         * lib/sheet.h (load_all_sheets): 
8096         * lib/render_store.h: 
8097         * lib/render_object.h (render_object_load): 
8098         * lib/polyshape.h (polyshape_closest_segment): 
8099         * lib/poly_conn.h (polyconn_closest_segment): 
8100         * lib/orth_conn.h: 
8101         * lib/object.h: 
8102         * lib/objchange.h (new_object_state_change): 
8103         * lib/neworth_conn.h (neworthconn_add_segment): 
8104         * lib/message.h (message_error): 
8105         * lib/lazyprops.h: 
8106         * lib/geometry.h: 
8107         * lib/font.h (font_descent): 
8108         * lib/focus.h (remove_focus): 
8109         * lib/element.h: 
8110         * lib/diagramdata.h: 
8111         * lib/dia_xml.h (data_add_composite): 
8112         * lib/dia_image.h: 
8113         * lib/connpoint_line.h: 
8114         * lib/connection.h (connection_move_handle): 
8115         * lib/color.h: 
8116         * lib/attributes.h (attributes_set_default_line_style): 
8117         * lib/arrows.h (arrow_draw): remove extern keyword from function
8118         definitions.  It is not required for functions.
8120         * plug-ins/dxf/Makefile.am (INCLUDES): 
8121         * plug-ins/pstricks/Makefile.am (INCLUDES): 
8122         * plug-ins/cgm/Makefile.am (INCLUDES): 
8123         * objects/SADT/Makefile.am (INCLUDES): 
8124         * objects/chronogram/Makefile.am (INCLUDES): 
8125         * objects/GRAFCET/Makefile.am (INCLUDES): 
8126         * objects/flowchart/Makefile.am (INCLUDES): 
8127         * objects/sybase/Makefile.am (INCLUDES): 
8128         * objects/FS/Makefile.am (INCLUDES): 
8129         * objects/standard/Makefile.am (INCLUDES): 
8130         * objects/network/Makefile.am (INCLUDES):
8131         * objects/UML/Makefile.am (INCLUDES): same here.
8133         * objects/ER/Makefile.am: changed inclusion of some macros to
8134         variables.
8136         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
8137         handle the plug in extension, rather than have all the #ifdef's in
8138         the code.
8140         * plug-ins/Makefile.am: add renderer.inc to dist.
8142         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
8144 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
8146         * lib/plug-ins.c: Handle OS/2 dll's too.
8148 2000-06-07  James Henstridge  <james@daa.com.au>
8150         * app/plugin-manager.c (get_plugin_manager): set some table
8151         packing options to make it look a little nicer.
8153         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
8154         makefiles for these plug-ins.
8156         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
8158         * configure.in: added hpgl and wpg directories to build.  Added
8159         note about whether gnome-print support was enabled, and noted that
8160         it is not recommended.
8162 2000-06-06  James Henstridge  <james@daa.com.au>
8164         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
8165         a little work, but I am checking them in so I don't lose them.
8167 2000-06-01  James Henstridge  <james@daa.com.au>
8169         * objects/standard/arc.c: added extra properties.
8171         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
8172         was using the wrong index into the handles array.  This gets corner
8173         type changing working correctly.
8175         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
8176         to properties code (no editing or loading yet though).  Also added
8177         support for point array manipulation through the offsets interfaces.
8179         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
8181         * app/interface.c (origin_button_press): changes so the origin
8182         button doesn't grab the pointer when we pop up the menu.
8184         * app/commands.c (help_about_callback): fix small memory leak in
8185         about box code.
8187         * app/menus.c (menus_init): fixed breakage I introduced in the non
8188         gnome menus when I was doing the menu changes.  The tearoffs work
8189         really nicely in plain gtk mode as well.
8191         * objects/standard/beziergon.c (beziergon_create): changed the
8192         returned handles to match the handle numbering changes.  Now
8193         segment addition and removal works correctly with undo!
8195         * lib/beziershape.c: various changes to the code.  Changed the
8196         numbering of handles, and fixed the segment removal code.
8198 2000-05-31  James Henstridge  <james@daa.com.au>
8200         * objects/standard/beziergon.c: remove connection point handling.
8201         There is still a bit of work to be done to get adding and removing
8202         of segments working correctly.
8204         * lib/beziershape.c: add connection point handling to beziershape.
8205         I set it for two connection points per segment.
8207 2000-05-30  James Henstridge  <james@daa.com.au>
8209         * objects/standard/polygon.c: don't do connectionpoint handling.
8211         * lib/polyshape.c: changed to handle connection points internally.
8212         Also, don't worry about connections to handles on polyshape, as
8213         all handles are non connectable.
8215 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
8217         * configure.in: Added finnish
8218         
8219 2000-05-30  James Henstridge  <james@daa.com.au>
8221         * sheets/*.sheet: translation updates to the .sheet files.
8223         * po/fr.po: updated po file from Christophe Merlet.
8225         * menus.h: removed prototypes for functions which have been removed.
8227 2000-05-29  James Henstridge  <james@daa.com.au>
8229         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
8230         item in the option menu when changing selected diagram.
8232         * app/dia_embedd.c (view_factory): fix up function to work with new
8233         menus API.
8235         * app/disp_callbacks.c (ddisplay_realize): remove call to
8236         display_set_active from here.
8237         (ddisplay_canvas_events): move call here.  This gets rid of all the
8238         warnings, as the renderer has been fully set up correctly at this
8239         point.
8241         * app/menus.c (menus_init): add the tearoff item to the start of the
8242         right click menu.
8244         * app/app_procs.c (create_user_dirs): we don't need to create the
8245         menus directory anymore.
8247         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
8248         necessary to update the menu state here, as it was done when the
8249         active display was set.
8251         * app/display.c (display_set_active): update the menu state when
8252         changing active displays.
8254         * app/interface.c (origin_button_press): set the display as active
8255         when a click is made on the menu button.
8257         * app/menus.c (menus_init): set up a quit function to save the accels
8258         at exit.
8259         Add tearoff items for the non GNOME menus, add accelerators for
8260         several GNOME menus.
8262         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
8263         menus_get_image_menu().
8265         * app/menus.c (menus_get_item_from_path): use display_menus here
8266         rather than ddisp->popup.
8268         * app/display.h: remove the popup member in the DDisplay structure.
8270         * app/interface.c: remove option of not using wrap box.
8271         (create_toolbox): change to always use menus_get_toolbox_menubar
8272         even when using gnome menus.
8273         (create_display_shell): use menus_get_image_menu to load accelerators
8274         only -- not the actual popup menu.
8276         * app/menus.c (menus_init): new function to create the menus.
8277         (menus_get_toolbox_menubar): use this function whether gnome is
8278         in use or not.  Changed to use menus_init.
8279         (menus_get_image_menu): same here.  Also, now this function always
8280         returns the same menu, rather than a new one each time.
8281         (menus_init): read a menurc file to load accelerators here.
8283 2000-05-28  James Henstridge  <james@daa.com.au>
8285         * app/display.c (ddisplay_really_destroy): unset active display if
8286         active display is destroyed.
8287         (ddisplay_active): simplify function to return active_display as set
8288         by display_set_active.  This allows using a pinned menu with any
8289         display -- not just the one it was popped up from.
8290         (display_set_active): notify the layer dialog of change of diagrams
8291         when active diagram changes.
8293         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
8294         on button and key presses.
8295         (ddisplay_realize): set active display on realize.
8297         * app/display.c (display_set_active): simple implementation of this
8298         function.
8300         * app/display.h (display_set_active): add prototype for setting
8301         the active display.
8303         * app/interface.c (create_display_shell): don't give focus to the
8304         menu button.
8306         * app/menus.c: fix up menus for Beziergon.
8308         * app/interface.c (create_display_shell): make the widget in the
8309         top left corner a button that can be used to pop up the right click
8310         menu, like in gimp and sketch.
8312         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
8313         the display menu.
8315         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
8316         add code to set corner types for beziergon.
8318         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
8319         setting code.
8320         (beziershape_move_handle): use the previous corner type for right
8321         controls.
8323         * app/interface.c (tool_data): add beziergon to toolbox.
8325         * objects/standard/standard.c (dia_plugin_init): initialise the new
8326         Beziergon object type.
8328         * objects/standard/beziergon.c: an object based on BezierShape.
8330         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
8332         * lib/beziershape.[ch]: new files implementing a bezier shape.
8334 2000-05-26  James Henstridge  <james@daa.com.au>
8336         * lib/text.c (text_key_event): handle multibyte inserts.
8337         (text_key_event): also add home and end keybindings.
8339         * app/interface.c (create_display_shell): connect handlers for
8340         focus_in_event, focus_out_event, realize and unrealize signals.
8342         * app/display.[ch] (new_display): initialise input context members.
8344         * app/disp_callbacks.[ch]: added XIM support here.
8346         * lib/font.c (suck_font): the black and white pixel values should be
8347         taken from a 1 bit colormap rather than the default colormap.
8349         Hans Breuer's Windows patches ...
8351         * lib/font.c: use Courier New for fixed width font on windows
8352         machines.
8354         * lib/dia_image.h: change to "struct _DiaImage".
8356         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
8358         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
8359         mouse button for object menu.  This will make two button mouse owners
8360         happier.
8362 2000-05-25  James Henstridge  <james@daa.com.au>
8364         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
8366         * app/app_procs.c (app_init): add extra NULL argument to call of
8367         diagram_load.
8369         * app/load_save.h: remove prototype.
8371         * app/load_save.c: remove diagram_data function here.
8373         * app/diagram.h: added prototype.
8375         * app/diagram.c (diagram_load): new function here, which uses import
8376         filters.
8378         * plug-ins/dxf/dxf.c: register the import filter as well.
8380         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
8381         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
8383         * objects/standard/line.c: add start_point and end_point properties
8384         to standard line object.
8386 2000-05-21  James Henstridge  <james@daa.com.au>
8388         * app/paginate_psprint.c: added missing include of locale.h.
8390         * objects/custom/custom_object.c (custom_draw): use fabs rather than
8391         abs for scaling factors.
8392         (custom_distance_from): same here.
8394         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
8396 2000-05-18  James Henstridge  <james@daa.com.au>
8398         * po/POTFILES.in: updated POTFILES.in.
8400         * dia.spec: incremented version number in spec file.
8402         * NEWS: added (lots of) news items for the 0.85 release.
8404         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
8405         the config file.
8407         * configure.in: updated version number here.
8409         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
8411 2000-05-17  James Henstridge  <james@daa.com.au>
8413         * app/app_procs.c (internal_plugin_init): register the native import
8414         filter.
8416         * app/load_save.c (diagram_data_load, diagram_load): split this
8417         function into two -- one that does all the work on the DiagramData
8418         structure, and the other that provides compatibility with the old
8419         function.
8420         (dia_import_filter): use diagram_data_load to define an import
8421         filter.
8423         * app/diagram.h (new_diagram): added const to prototype.
8425         * app/filedlg.c (file_open_callback): change to use new import filter
8426         code.
8428         * lib/filter.c: added import filter management functions.
8430         * lib/filter.h: added prototypes for import filter interface.
8432         * app/commands.c (help_about_callback): updated about dialog to
8433         contain a few more names.
8435 2000-05-16  James Henstridge  <james@daa.com.au>
8437         * configure.in (Configuration): added a status message to the end of
8438         the configure script to give the user some idea of what was
8439         configured.
8441         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
8443         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
8444         plugin.
8446         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
8447         filter for dia.
8449         * configure.in (AM_PATH_LIBART): use the check function provided
8450         with libart rather than our own code.  It is more reliable, and
8451         it only requires that people who build out of CVS have libart.m4
8452         installed (not necessarily all of libart).
8453         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
8455 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
8457         * dia.desktop: Added Swedish translation.
8459 2000-05-09  James Henstridge  <james@daa.com.au>
8461         * lib/dia_xml.c: you can't free a const pointer, so remove const
8462         from variable definitions.
8464         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
8465         initialised correctly.
8467         * app/render_svg.c (export_svg): set locale to C.
8469         * app/paginate_psprint.c (paginate_psprint): set locale to C.
8471         * app/render_eps.c (export_eps): set locale to C for EPS export.
8473         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
8474         (data_add_point): same here.
8475         (data_add_rectangle): same here.
8476         (data_real): use g_strtod to convert strings to real numbers, so that
8477         locales are taken into account.
8478         (data_point): same here.
8479         (data_rectangle): same here.
8481         * AUTHORS: added Henk and Jacek to authors file.
8483         Daniel Egger's code cleanups.
8485         * app/select.c (select_invert_callback): remove unused variable.
8487         * app/plugin-manager.c (get_plugin_manager): fix typo.
8489         * app/load_save.c (read_connections, write_objects): 
8490         (write_connections): made some functions static.
8492         * app/interface.c (toolbox_delete, toolbox_destroy): made some
8493         functions static.
8495         * app/filedlg.c (file_export_callback): remove unused variable.
8497         * app/app_procs.c: various warning fixes.
8499         Integrating Jacek Pliszka's pstricks export filter.
8501         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
8503         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
8504         renderer (with a few small modifications by me).
8506         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
8508         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
8510 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
8512         * configure.in:
8513         * sheets/Makefile.am:
8514         * shapes/Makefile.am:
8515         * shapes/Civil/Makefile.am:
8516         * sheets/civil.sheet:
8517         * shapes/Civil/*:
8518         Added civil/hydraulic/structural engineering objects from
8519         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
8520         
8521 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
8523         * objects/FS/flow-poly.c:
8524         * objects/FS/flow.c:
8525         Fix division by zero in point_normalize().
8526         Patch by David Thompson <dcthomp@mail.utexas.edu>
8528 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8530         * lib/arrows.c:
8531         * lib/bezier_conn.c:
8532         * lib/connpoint_line.c:
8533         Added checks for zero-length lines before calls to point_normalize.
8535 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8537         * app/preferences.c (prefs_data): Changed
8538         reversed_dragging_intersects to not make the dialog ridiculously
8539         wide.
8540         
8541 2000-04-22  James Henstridge  <james@daa.com.au>
8543         Hans's win32 patches:
8545         * app/export_png.c: include message.h
8546         * app/interface.c: include dia_dirs.h
8547         * app/linewidth_area.c: check for rint
8548         * app/main.c: include interface.h
8549         * app/paginate_psprint.c: remove unused variable.
8550         * app/preferences.c: include message.h
8551         * app/render_svg.c: include stdlib.h
8552         * app/select.c: include object_ops.h
8553         * lib/dia_dirs.c: miscelaneous fixes for win32.
8554         * lib/dia_image.c: include string.h
8555         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
8556         * lib/properties.c: include stdlib.h
8557         * lib/properties.h: define extra data for standard properties as
8558         static variables on win32 (to get around dynamic linker problems).
8559         * objects/standard/polygon.c: polygon_create_change missing return
8560         statement.
8562 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
8564         * configure.in (ALL_LINGUAS): added Catalan
8566 2000-04-18  James Henstridge  <james@daa.com.au>
8568         * objects/standard/bezier.c (bezierline_get_object_menu): add a
8569         separator to the object menu between the add/remove segment items
8570         and the corner type items.
8571         (bezierline_get_object_menu): add code to disable the menu item for
8572         the current corner type.  Really just a cosmetic change.
8574         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
8575         a NULL for the label or with no associated callback.
8577         * objects/standard/bezier.c (bezierline_menu_items): use the
8578         enumeration values rather than numeric values for the corner types.
8580         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
8581         structure, and add code to handle it.  Also, don't save the corner
8582         types inline in the bez_points node.  The way it is conditionally
8583         including the element just feels like it will break.
8585         * lib/geometry.h (BezPoint): removed the corner_type stuff from
8586         BezPoint.  The corner type stuff is a user interface level idea rather
8587         than something required by the renderer, so should be taken care of
8588         at the object level.
8590 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8592         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
8593         checks.  Weren't able to reproduce original bug, tough.
8595 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
8597         * sheets/Electric.sheet:
8598         * sheets/Contact.sheet:
8599         * sheets/Pneumatic.sheet:
8600         * sheets/Circuit.sheet: sprayed some <br/>'s around.
8601         (added a few French translations in the last file)
8602         
8603 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8605         * lib/geometry.h: 
8606         * lib/bezier_conn.h: 
8607         * objects/standard/bezier.c: 
8608         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
8609         bezier points.  Only one minor problem known:  Menus are active
8610         for endpoints minor handles.
8611         11:28: Save and load now works, too.
8612         (bezierconn_closest_major_handle): 12:03: New function to get the
8613         non-control point handle associated with the nearest control
8614         point.  
8615         Also fixed the menu activation problem, and made remove_segment
8616         not remove the endpoint.
8618 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8620         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
8621         new API is in use.
8623 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
8625         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
8626         <sys/stat.h>.   OS/2 patch.
8628 2000-04-15  James Henstridge  <james@daa.com.au>
8630         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
8631         Thompson's patch that adds undo support to the function structure
8632         diagram objects.
8634 2000-04-14  James Henstridge  <james@daa.com.au>
8636         * objects/custom/custom_object.c (custom_distance_from): new
8637         implementation of distance algorithm that actually takes the
8638         display list into account when calculating the distance.  Much nicer
8639         than a simple bounding box.
8641 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
8643         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
8645 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8647         * objects/standard/polygon.c: Start of polygons own changes (for
8648         connectionpoints).  Need to do seperate changes in polyshape, too,
8649         rather than reuse the bezier changes.
8651 2000-04-13  James Henstridge  <james@daa.com.au>
8653         * lib/dia_image.c (dia_image_draw): use the new enumeration values
8654         from after the gdk-pixbuf cleanup.
8656         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
8657         on for loop.  Last set of coefficients were not beeing calculated,
8658         which caused a bit of breakage.
8660         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
8661         functions in geometry.c for calculating the closest segment.
8662         (bezierconn_distance_from): use distance_bez_line_point to calculate
8663         the distance.
8665         * lib/geometry.c (distance_bez_line_point): new function to calculate
8666         the distance from an open bezier line to a point.
8667         (distance_bez_shape_point): new function to calculate the distance
8668         from a closed bezier shape.
8669         (distance_ellipse_point): new function to calculate the distance from
8670         a filled ellipse to a point.
8672         * lib/geometry.h (BezPoint): moved this structure here from render.h
8674 2000-04-12  James Henstridge  <james@daa.com.au>
8676         * lib/geometry.c (distance_bez_seg_point): new function to calculate
8677         the distance from a bezier segment.
8679         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
8680         to calculate the distance from the object.
8682         * lib/geometry.c (distance_polygon_point): function for calculating
8683         the distance from a polygon to a point.
8685 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
8687         * app/interface.c:
8688         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
8689         breaks can be inserted in the tool box. 
8691         * doc/sheet.dtd: updated the DTD
8692         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
8693         
8694 2000-04-12  James Henstridge  <james@daa.com.au>
8696         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
8697         macro if the dialog is a GtkDialog :(
8699 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8701         * objects/standard/polygon.c: Connectionpoints now properly
8702         managed in a GList.  As far as I can tell, this will not dieturb
8703         the order (but I have the nagging doubt...)
8705         * lib/polyshape.c: No longer knows about connectionpoints.
8707 2000-04-11  James Henstridge  <james@daa.com.au>
8709         * app/Makefile.am: fix makefile for bonobo build.
8711         * configure.in: fix checks for bonobo.
8713         * app/menus.c: added entries for the plugin manager.
8715         * app/Makefile.am (dia_core_files): added plugin manager to files
8716         list.
8718         * app/plugin-manager.[ch]: the plugin manager dialog.
8720         * app/display.c (display_update_menu_state): set the antialiased
8721         menu entry to the correct value.
8723 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
8725         * objects/custom/custom_object.c: not all renderers like ellipses with
8726         negative dimensions. This could cause ellipses to disappear when using
8727         the flip_h and flip_v functions.
8729         * samples/grafcet.dia: fixed speling and correctness.
8730         
8731 2000-04-11  James Henstridge  <james@daa.com.au>
8733         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
8734         exposed the dia_plugin_load and dia_plugin_unload functions.
8736         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
8737         already created PluginInfo structure.
8739         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
8740         the pluginrc file.
8742         * lib/sheet.c: fix up call to dia_config_filename.
8744         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
8745         file.  This would save information such as which plugins not to
8746         load during startup.
8748 2000-04-09  James Henstridge  <james@daa.com.au>
8750         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
8752 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
8754         * lib/plug-ins.c (dia_register_plugins):
8755         Don't free the value returned from g_getenv.
8757 2000-04-09  Anders Carlsson  <andersca@gnu.org>
8759         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
8761         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
8763         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
8764         right to left, select objects that intersect the rubberbanding rectangle
8765         instead of selecting objects that are in the rectangle.
8767         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
8769         * lib/diagramdata.h: Likewise.
8772 2000-04-09  James Henstridge  <james@daa.com.au>
8774         * lib/plug-ins.[ch]: add copyright messages to files.
8776         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
8777         plugin interface.
8779         * objects/sybase/sybase.c (dia_plugin_init): 
8780         * objects/network/network.c (dia_plugin_init): 
8781         * objects/flowchart/flowchart.c (dia_plugin_init): 
8782         * objects/custom/custom.c (dia_plugin_init): 
8783         * objects/chronogram/chronogram.c (dia_plugin_init): 
8784         * objects/UML/uml.c (dia_plugin_init): 
8785         * objects/SADT/sadt.c (dia_plugin_init): 
8786         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
8787         * objects/FS/fs.c (dia_plugin_init): 
8788         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
8789         object libraries.
8791         * objects/standard/standard.c (dia_plugin_init): change over to new
8792         plugin interface.
8794         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
8795         the version checker for plugins.
8797         * app/app_procs.c: remove plugin loading code from here, and use
8798         code from plug-ins.[ch].  Also move registration of internal
8799         objects/filters to a `builtin' plugin.
8801         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
8803         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
8805         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
8806         defined variable in EXTRA_DIST.
8808         * app/preferences.h: removed dia_config_filename from header.
8810         * app/preferences.c: removed dia_config_filename function.
8812         * lib/dia_dirs.c (dia_config_filename): moved function over to this
8813         file.  Also changed implementation slightly so that it should work
8814         on the win32 port correctly (and use NT home directories).
8816         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
8817         it should have been.
8819         * lib/plug-ins.[ch]: new plugin loading code.
8821 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8823         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
8825         * lib/polyshape.c: Fix closest segment finding, exposes deeper
8826         bugs in adding corners to 'wraparound' segment.
8828         * objects/standard/polygon.c: Added connection points (fixed so
8829         far), set menu sensitivity.
8831         * lib/polyshape.c: Changed to box-style handles, fixed for start
8832         and ends not being special, added initial connections,
8834         * lib/dummy_dep.h: Added polyshape (gotcha!)
8836         * objects/standard/pixmaps/ellipse.xpm: 
8837         * objects/standard/pixmaps/box.xpm: 
8838         Filled element pixmaps with white.
8840         * lib/polyshape.c: 
8841         * objects/standard/polygon.c: 
8842         * lib/polyshape.h: 
8843         * objects/standard/standard.c: 
8844         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
8845         * lib/Makefile.am (libdia_a_SOURCES): 
8846         * app/menus.c: 
8847         * app/interface.c (tool_data): 
8848         Added Standard/Polygon object and PolyShape lib object.  Still
8849         needs inside grab and connection points.
8851         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
8852         available. 
8854         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
8855         not wanted.
8857         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
8858         if (argv) outside ifdefs.
8860 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8862         * objects/standard/image.c (image_set_props): 
8863         Aspect ratio is back in town.
8865         * app/Makefile.am (dia_LDADD): 
8866         * acconfig.h: 
8867         * configure.in: 
8868         Check for gdk_pixbuf (by default disabled, for now)
8870         * app/render_eps.c (draw_image): 
8871         * app/render_libart.c (draw_image): 
8872         * app/render_gnomeprint.c (draw_image): 
8873         Support for alpha mask in rendering.  Color postscript, too.
8875         * lib/dia_image.c: 
8876         * lib/dia_image.h: 
8877         Support for gdk_pixbuf and proper masking for exports.
8879 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
8881         * sheets/*.sheets: Updated Norwegian translations.
8882         
8883 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8885         * lib/text.c (text_insert_char): 
8886         * lib/render_store.c (add_data): 
8887         Made realloc double the alloced space rather than add
8888         a fixed amount, to reduce memory stress.
8890         * app/select.c: Added new select method 'Transitive'
8891         that select every reachable (by connections) object.
8893 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
8895         * dia.desktop: Added Norwegian translation.
8896         
8897 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
8899         * app/render_eps.c:
8900         * app/render_svg.c:
8901         Don't dereference NULL pointer if the renderer
8902         couldn't open the file. Fix by Lars Clausen.
8903         Bug reported by Martin Chisholm <b1mt@unb.ca>
8904         
8905 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
8907         * dia.desktop:
8908         * po/pt.po:
8909         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
8911 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
8913         * app/dia.gnorba (location_info):
8914         Changed to correct executable name.
8916 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
8918         * app/app_procs.c:
8919         Don't do any argument parsing or initialization
8920         if argv==NULL.
8922         * app/dia_embedd.c:
8923         Call init_server_factroy before app_init.
8924         Call app_init with argv==NULL
8925         Now we don't get any critical error on startup.
8927         * configure.in:
8928         Add Electric and Pneumatic to makefile list.
8929         
8930 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
8932         * shapes/Electric/*:
8933         * sheets/Electric.sheet:
8934         Add some Electric circuit shapes.
8936         * shapes/Pneumatic/*:
8937         * sheets/Pneumatic.sheet:
8938         Add some Pneumatic & Hydraulic circuit shapes
8939         (both sheets are still incomplete, though feature enough 
8940         things for basic circuits).
8942         * shapes/Contact/l_*.(xpm|shape):
8943         * sheets/Contact.sheet
8944         * shapes/Contact/Makefile.am
8945         made the older electric circuit shapes in Contact obsolete (disabled
8946         them in the sheet, made that sheet Ladder only). Fixed the makefile
8947         for forgotten items.
8948         
8949 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
8951         * app/Makefile.am:
8952         Add support for Dia bonobo component.
8953         Currently a bit raw, so it's commented out.
8954         
8955         * app/dia_embedd.c:
8956         * app/dia.gnorba:
8957         New files for embedding dia.
8958         The menu disabling hack is a bit gross. Esp. for GNOME.
8960         * app/app_procs.h:
8961         Add new function app_is_embedded();
8963         * app/diagram.c:
8964         Don't destroy diagram when last display is destroyed if embedded.
8965         
8966         * app/display.c:
8967         Change initialization of display so it works with embedding.
8969         * app/display.h:
8970         Clarify comment about display destruction.
8972         * app/interface.[ch]:
8973         Added top_level_window argument to create_display_shell.
8974         Don't open a top-level window if embedding.
8975         Don't quit app if trying to close toolbox window when embedding.
8976         Add toolbox_show() and toolbox_hide().
8978         * app/main.c:
8979         Added app_is_embedded() function (just returns false).
8980         Added toolbox_show() call in main().
8982         * app/menus.c:
8983         Added code for getting toolbox menus. This is used to
8984         hide some menu items when running embedded.
8985         
8986         * app/app_procs.c:
8987         Include sheet.h to remove warning.
8989         * objects/UML/association.c:
8990         Clarify association direction text.
8991         
8992 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
8994         * dia.1
8995         Fixed man page so whatis parsing works.
8997 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
8999         * app/render_libart.c (new_libart_renderer):
9000         Fix from segg <segg@infonet.ca> to compile without libart.
9001         I forgot to change the stub for new_libart_renderer when doing
9002         the interactive renderer stuff for libart.
9004 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
9006         * dia.desktop: Added Irish translation.
9007         
9008         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
9010 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
9012         * app/load_save.c (fchmod): OS/2 defines only.
9014 2000-03-07  James Henstridge  <james@daa.com.au>
9016         * lib/properties.c (prop_get_widget): set the position in the option
9017         menu correctly.
9019 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
9021         * app/display.c:
9022         * app/export_png.c:
9023         * app/render_libart.[ch]:
9024         Don't export png:s with an interactive libart renderer.
9026 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
9028         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
9030 2000-03-02  James Henstridge  <james@daa.com.au>
9032         * dia.spec (%build): unset LINGUAS before running configure.  This
9033         ensures that all translations get included in the RPM.
9035         * lib/properties.c (object_create_props_dialog): put in a check for
9036         a NULL return from the describe_props() object method.
9037         (prop_desc_lists_union): make sure that the returned array is not
9038         NULL.
9039         (prop_desc_lists_intersection): same here.
9041 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
9043         * objects/ER/Makefile.am:
9044         * objects/FS/Makefile.am:
9045         * objects/UML/Makefile.am:
9046         Don't link object libs with gtk.
9048 2000-02-29  James Henstridge  <james@daa.com.au>
9050         * app/preferences.c (prefs_save): check to see if the file could
9051         be opened before writing the prefs.
9053         * app/disp_callbacks.c (popup_object_menu): pass the button event
9054         to gtk_menu_popup.  This allows you to click and release to open
9055         the object menu.
9056         (ddisplay_canvas_events): same here.
9057         (create_object_menu): set the object type menu item in the object
9058         menu to be insensitive.
9060         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
9061         as we are now requiring a new version of libxml.
9063         * dia.spec: updated version number.  Added requirement for
9064         libxml >= 1.8.5
9066         * configure.in: incremented version number to 0.84.
9067         Added check for libxml >= 1.8.5.  This will prevent some of the
9068         problems people have had with broken libxml versions.
9070         * NEWS: added news items.
9072         * app/interface.c (create_color_area): removed call to realize parent
9073         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
9074         but I haven't seen it on my copy of dia.
9076 2000-02-28  James Henstridge  <james@daa.com.au>
9078         * app/export_png.c: added copyright notice, and made the band height
9079         a constant.
9081 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
9083         * lib/font.c (suck_font):
9084         Fixed off-by one bug in font pixmap height.
9085         Fixes the problem with garbage at the bottom of some text in aa mode
9086         and in png exported files.
9088 2000-02-27  James Henstridge  <james@daa.com.au>
9090         * app/app_procs.c: add the png export filter if it was compiled in.
9092         * app/export_png.c (export_png): new PNG export filter.  This requires
9093         the libart renderer to work as it needs a renderer that renders to a
9094         pixel buffer.
9096         * configure.in: add check for libpng.
9098         * lib/message.c (message_internal): use a GNOME dialog here as well.
9100         * app/display.c (ddisplay_close): use a GNOME dialog here.
9102         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
9103         when exporting to EPS.  This is because some people said the EPS
9104         output was too large
9106 2000-02-26  James Henstridge  <james@daa.com.au>
9108         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
9109         window.
9111         * app/app_procs.c (app_exit): use a GNOME dialog here.
9113         * app/preferences.c (prefs_create_dialog): if GNOME support is
9114         enabled, show a GNOME dialog.
9116         * app/grid.c (grid_draw): use preferences when drawing page break
9117         lines.
9119         * app/preferences.c: add page break preferences to dialog.
9121         * app/preferences.h: added page break preferences.
9123 2000-02-25  James Henstridge  <james@daa.com.au>
9125         * sheets/UML.sheet: added new objects.
9127         * objects/UML/uml.c: link in the two new objects.
9129         * objects/UML/node.c: 
9130         * objects/UML/branch.c: new UML objects from Stfan Seefeld
9131         <seefelds@magellan.umontreal.ca>.
9133 2000-02-24  James Henstridge  <james@daa.com.au>
9135         * objects/custom/custom_object.c: converted to use the properties
9136         interface.  In the future, it would be nice to add support for
9137         defining custom properties for custom objects, but that can wait.
9139 2000-02-22  James Henstridge  <james@daa.com.au>
9141         * sheets/Circuit.sheet: added new circuit shapes to sheet.
9143         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
9144         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
9145         and adds a few new features.
9147 2000-02-21  Daniel Egger  <egger@suse.de>
9149         * sheets/*.sheets: Added German translations and made some
9150         corrections to the others.
9151         
9152 2000-02-21  James Henstridge  <james@daa.com.au>
9154         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
9156         * shapes/Circuit/...: added new shapes from Erik Janssens.
9158 2000-02-20  James Henstridge  <james@daa.com.au>
9160         * app/interface.c (create_color_area): realize the parent window
9161         first.
9163         * objects/standard/image.c: properties patch for standard image
9164         object, from Lars Clausen.
9166         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
9168         * lib/properties.h (PropType): added file property type.
9170         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
9171         other shapes.
9173         * app/interface.c: use wrap box for toolbox.
9175         * app/Makefile.am: added new files.
9177         * app/gtk*wrapbox.[ch]: added wrap box widget.
9179 2000-02-19  James Henstridge  <james@daa.com.au>
9181         * sheets/network.sheet: added extra shapes to networks sheet.
9183         * configure.in (AC_OUTPUT): added shapes/network/Makefile
9185         * shapes/network/*: added shapes that were posted to the list a while
9186         back.
9187         
9188         * shapes/Makefile.am (SUBDIRS): added network subdirectory
9190         * app/menus.c (toolbox_menu_items): don't right justify help menu for
9191         gtk+ version of menus.
9193         * app/properties.c (create_dialog): use a GnomeDialog if we happen
9194         to be using gnome.
9196 2000-02-18  James Henstridge  <james@daa.com.au>
9198         * objects/flowchart/box.c: set extra data for corner radius and text
9199         padding properties.
9201         * objects/standard/box.c: set extra data for corner radius property.
9203         * lib/properties.h: set extra data in some standard properties.
9205         * lib/properties.c (prop_get_widget): look at the extra data for
9206         int, real and enum property types.  They now use GtkSpinButton and
9207         GtkOptionMenu respectively.
9209         * lib/properties.h: extra data members for creating property setting
9210         widgets.
9212 2000-02-17  James Henstridge  <james@daa.com.au>
9214         * objects/flowchart/box.c: reverted load/save functions back to
9215         previous implementations.  Made box use standard property names.
9217         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
9219         * app/grid.c: add more digits to the grid edit dialog.  This patch
9220         was also from Lars Clausen.
9222         * objects/standard/zigzagline.c: 
9223         * objects/standard/textobj.c:
9224         * objects/standard/polyline.c:
9225         * objects/standard/line.c:
9226         * objects/standard/ellipse.c:
9227         * objects/standard/box.c: 
9228         * objects/standard/bezier.c: 
9229         * objects/standard/arc.c: patches to add properties code to standard
9230         objects.  Based on patches from Lars Clausen.  I have also removed
9231         some dead code from the files.
9233         * lib/properties.h (PROP_STD_*): define a number of standard
9234         properties.  Where appropriate, objects should include these
9235         properties in their PropDescription list.  This way, the intersection
9236         of properties of two different shapes will be greater.
9238 2000-02-14  James Henstridge  <james@daa.com.au>
9240         * objects/flowchart/box.c (box_load, box_save): use property save
9241         routines.  Make sure that any props not handled by object_load_props
9242         are loaded before calling object_load_props, or we get errors because
9243         update_data is called.
9245         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
9246         error that could cause properties to be loaded incorrectly.
9247         (object_set_props_from_offsets): similar here.
9249         * lib/properties.[ch] (prop_{load,save}): functions for loading
9250         or saving a property in Dia's XML file format.
9251         (object_{load,save}_props): load or save some properties of an
9252         object.  These functions should help simplify the load/save methods
9253         of objects that implement the properties interface.
9255 2000-02-13  James Henstridge  <james@daa.com.au>
9257         * objects/flowchart/box.c: use offset code to simplify property
9258         get/set routines.
9260         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
9261         properties.
9262         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
9264         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
9265         properties.
9266         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
9268         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
9269         functions 
9271 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
9273         * app/Makefile.am:
9274         Add the custom object to DIA_LIB_PATH in run_dia.sh
9276 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
9278         * sheets/Circuit.sheet:
9279         * shapes/l_sout* (NEW):
9280         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
9281         variants of simple, inverted, set and reset outputs.
9282         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
9283         probably a split of Contact and Ladder sheets. And then a major 
9284         revamping of the Contact sheet.
9286 2000-02-10  James Henstridge  <james@daa.com.au>
9288         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
9290         * app/app_procs.c (register_all_objects): don't explicitely
9291         register the custom objects library -- let it be loaded by the
9292         normal plugin loading methods.
9294         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
9296         * objects/custom/Makefile.am: build libcustom_objects as a shared
9297         library again.
9299         * objects/custom/shape_info.[ch]: don't read the description field
9300         of custom shapes.  It makes more sense to have these in the sheet
9301         file to localise the parts of dia that translators have to deal
9302         with.
9304         * objects/custom/custom_object.c (custom_object_new): do not
9305         create the sheet object for the new custom shape -- this is
9306         handled by the custom sheet code.
9308         * objects/custom/custom.c: change over to being a normal plug-in
9309         rather than being linked with the main dia executable.
9311 2000-02-09  James Henstridge  <james@daa.com.au>
9313         * sheets/Circuit.sheet: 
9314         * sheets/Flowchart.sheet: 
9315         * sheets/Contact.sheet: fixed up sheets.
9317         * objects/custom/custom_object.c (custom_object_new): set the
9318         extra ObjectType fields.
9320         * lib/sheet.c: use extra ObjectType fields when creating sheet
9321         objects.  Give a warning if <shape> tags are found in a sheet
9322         file.  Now the custom sheet code does not know about custom
9323         shapes -- they look like any other object type.
9325         * lib/object.h (ObjectType): added extra members
9327 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
9329         * app/linewidth_area.c:
9330         Added code to set arbitrary line width.
9331         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
9333 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
9335         * app/linewidth_area.c: 
9336         * lib/font.[ch]:
9337         Add support for font-sucking.
9338         Implementation borrowed from gnome-canvas.
9339         
9340         * app/render_libart.[ch]:
9341         Implement text rendering.
9343 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
9345         * app/properties.c (create_dialog):
9346         ref and sink no_properties_dialog.
9348 2000-02-07  James Henstridge  <james@daa.com.au>
9350         * app/group.c (group_describe_props): new function.  Return the
9351         intersection of the properties of the contained objects that
9352         implement the describe_props interface.
9353         (group_get_props): implement by iterating through contained objects
9354         and calling their get_props method until all properties have been
9355         set.  Maybe this should go through all objects all the time??
9356         (group_set_props): implement by calling set_props method on all
9357         contained objects.
9358         (group_ops): use standard props dialog creation routines.
9360         * lib/properties.c (prop_desc_lists_intersection): fix implementation
9361         of intersection -- I was using i++ instead of i-- in a for loop :(
9363         * objects/custom/custom.c (custom_register_objects): fix usage
9364         of dia_get_data_directory again.
9366         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
9367         actually read the sheets.
9369 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
9371         Win32 port by Hans Breuer <Hans@Breuer.org>
9373         * app/Makefile.am:
9374         Remove DATADIR and LIBDIR defines.
9376         * lib/Makefile.am:
9377         Add dia_dirs.c and dia_dirs.h
9378         Added DATADIR and LIBDIR defines.
9380         * lib/dia_dirs.[ch]:
9381         New files for handling special directories.
9383         * app/app_procs.c:
9384         * app/commands.c:
9385         * lib/sheet.c:
9386         * objects/custom/custom.c:
9387         Fix warnings.  Use directory functions.
9389         * app/diagram.h:
9390         Add prototype for diagram_redraw_all.
9392         * app/diaunitspinner.c:
9393         * app/filedlg.c:
9394         * app/interface.c:
9395         * app/preferences.c:
9396         Fix warning.
9398         * app/load_save.c:
9399         Win32 doesn't have mkstemp and fchmod.
9401         * app/paginate_psprint.c:
9402         Win32 calls popen _popen and pclose _pclose.
9403         
9404         * app/arrow.c:
9405         Win32 calls finite _finite.
9407         * lib/color.h:
9408         Win32 needs to dllexport the color vars.
9410         * objects/GRAFCET/step.c:
9411         * objects/chronogram/chronoref.c:
9412         snprintf -> g_snprintf
9414 2000-02-05  James Henstridge  <james@daa.com.au>
9416         * lib/properties.c: more fixes so that it doesn't crash when using
9417         properties.  The undo/redo stuff also works!!
9419         * objects/flowchart/box.c (box_{describe, get, set}_props): test
9420         object where I have implemented the new properties interface
9421         complete with automatic properties dialog generation.
9423         * lib/properties.c (object_apply_props): fixed stupid error when
9424         creating the old_props array.  Also, it no longer frees the props
9425         array -- you will have to do that yourself.
9427 2000-02-04  James Henstridge  <james@daa.com.au>
9429         * app/properties.c (properties_apply): pass object_part to
9430         apply_properties.
9432         * lib/object.h (ApplyPropertiesFunc): added widget argument.
9434         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
9435         created this way as well.
9437         * objects/*/*.c: ref and sink the properties dialog window for each
9438         widget.  It can't rely on ref count being incremented by
9439         properties_show anymore.
9441         * app/properties.c (properties_show): don't ref the widget before
9442         removing it, or its ref count will increase each time you open the
9443         properties dialog.  Don't unparent the widget, as container_remove
9444         does that for us.
9446         * lib/object.h: fixed up prototypes for new object methods.
9448         * lib/properties.[ch]: added functions for automatically creating
9449         a properties dialog from the output of describe_props, get_props and
9450         set_props.
9451         (object_apply_props): apply properties and return an ObjectChange
9452         structure that can be used for undo.
9454 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
9456         * objects/GRAFCET/transition.c: minor leak plugged.
9458         * sheets/GRAFCET.sheet:
9459         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
9460         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
9461         conditions.
9462         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
9463         new ones (for condition.c).
9464         * objects/GRAFCET/action.c: added connection points for the conditions.
9465         * samples/grafcet.dia: updated the sample to improve conformance to
9466         IEC 848 and take advantage of dia's new features.
9467         
9468         * lib/geometry.h: (point_get_normed) fixed a typo.
9470 2000-02-02  James Henstridge  <james@daa.com.au>
9472         * lib/object.h: added object functions describe_props, get_props and
9473         set_props.  Do type definitions so that object.h doesn't need to
9474         include properties.h, since properties.h includes object.h.
9476         * lib/properties.[ch]: more hacking.
9478         * po/de.po: updated po file.
9480 2000-01-30  James Henstridge  <james@daa.com.au>
9482         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
9483         check to see if the C compiler accepts the flag beforehand.
9485         * lib/properties.[ch]: start of properties code.
9487         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
9489 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
9490         
9491         * sheets/GRAFCET.sheet:
9492         * sheets/GRAFCET/etapemc.xpm: (NEW)
9493         * sheets/GRAFCET/etapesp.xpm: (NEW)
9494         * objects/GRAFCET/step.c: Added the macro and
9495         sub-program call step types.
9497         * objects/GRAFCET/receptivity.[ch]: renamed to 
9498         objects/GRAFCET/boolequation.[ch]. 
9499         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
9500         (BoolEquation *)
9502         * lib/connpoint_line.[ch]: 
9503         * objects/chronogram/chronoline.c:
9504         * objects/chronogram/chronoref.c:
9505         * objects/GRAFCET/vergent.c:
9506         * objects/standard/line.c:
9507         * objects/SADT/box.c: Minor CPL interface changes, factored out the
9508         point count adjustment code into the CPL object.
9509         
9510 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
9512         * app/render_libart.c:
9513         Added support for images and bezier curves.
9514         Only text/fonts missing now.
9516         * app/render_gdk.c:
9517         Removed old erronous comment.
9519 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
9521         * objects/chronogram/chronoline_event.c: removed references to
9522         lround(). Please don't insist, I'm already red of shame.
9523         
9524 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
9526         * app/render_libart.[ch]:
9527         * app/Makefile.am:
9528         Non-finished libart renderer.
9530         * acconfig.h:
9531         Added HAVE_LIBART flag
9533         * configure.in:
9534         Added libart probe
9536         * app/app_procs.c:
9537         Call gdk_rbg_init().
9539         * app/connectionpoint_ops.c:
9540         * app/disp_callbacks.c:
9541         * app/grid.c:
9542         * app/handle_ops.c:
9543         * app/magnify.c:
9544         * app/modify_tool.c:
9545         Change ddisp->renderer type from RendererGdk * to Renderer *
9546         Draw zoom and select rects in ddisp->canvas->window instead
9547         of ddisp->renderer->renderer->pixmap.
9549         * app/display.[ch]:
9550         Add aa_renderer to DDisplay, and  support for it.
9551         New function ddisplay_set_renderer() for changing renderer.
9552         Add ddisplay_transform_coords_double() function, used by aa renderer.
9553         Change ddisp->renderer type from RendererGdk * to Renderer *
9555         * app/menus.c:
9556         Add antialias to menu.
9557         
9558         * app/commands.[ch]:
9559         add view_aa_callback function
9560         Change ddisp->renderer type from RendererGdk * to Renderer *
9562         * lib/geometry.[ch]:
9563         Added IntRectangle and int_rectangle_union.
9565 2000-01-28  James Henstridge  <james@daa.com.au>
9567         * app/commands.h: removed prototypes.
9569         * app/commands.c: removed the functions that have been moved to
9570         filedlg.c.
9572         * app/filedlg.h: added new prototypes.
9574         * app/filedlg.c (file_open_callback): move open dialog to this
9575         file.  This implementation should remember the current directory
9576         between file loads.
9577         (file_save_as_callback): moved this dialog as well.
9578         (file_save_callback): moved this function here.
9580         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
9581         align page boundaries to the origin.
9583         * app/diagram.c (diagram_update_extents): redraw the diagram if the
9584         scaling factor changes while updating the extents.  This is so the
9585         page breaks get redrawn correctly.
9587         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
9588         applying changes.
9590         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
9591         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
9592         the corner of the bounding box.
9594         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
9595         into page setup dialog.
9596         (pagesetup_apply): apply new `fit to' attributes to the diagram.
9598         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
9599         (diagram_data_save): save `fit to' data.
9601         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
9602         (data_update_extents): when in `fit to' mode, update scale factor
9603         when we update the extents.
9605         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
9606         structure.
9608         * .../.cvsignore: added some cvsignore files to quieten cvs.
9609         
9610         * app/pagesetup.c (pagesetup_changed): added code to change the
9611         scaling/fit to values as you change the options in the page setup
9612         dialog.  I haven't added code so that the fit to options are saved
9613         though.
9615         * app/diapagelayout.[ch]: changed the scaling portion of the widget
9616         to make it easier to set a `fit to' style scaling factor.
9618 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
9619         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
9620         but connpoint_line-based, so that there's a connection point at the 
9621         middle of each segment. Currently only the SADT arrow uses this.
9623         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
9624         
9625 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
9626         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
9627         saving and editing of properties (and default properties). 
9628         See the new objects (GRAFCET, SADT, chonograms) for examples.
9629         For already too hairy stuff, see objects/chronogram/chronoline.c.
9631         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
9632         evenly spaced connection points, which the user can add or remove at
9633         will. An object can own several connection point lines. See the SADT
9634         Box, or the GRAFCET vergents for examples.
9636         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
9637         quiet about unused stuff.
9639         * objects/GRAFCET (NEW):
9640         * samples/grafcet.dia (NEW):
9641         Added support for GRAFCET charts. 
9643         * objects/chronogram (NEW):
9644         * samples/chronograms.dia (NEW):
9645         Added support for chronograms (feature requested by Ronald L. Chichest;
9646         I found I'd use it often, too).
9648         * objects/standard/line.c: Replace the middle connectionpoint by 
9649         a whole connection point line, which defaults to one point (hint, 
9650         hint). New Line object menu to take advantage of this. 
9651         "Bothwards" compatibility is preserved (although you may loose 
9652         connections if you load a newer file in a older dia).
9654         * app/lineprops_area.c:
9655         * lib/arrows.[ch]:
9656         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
9657         (feature requested by Benjamin Kahn).
9658         Merged in Steffen Macke's slashed arrow head type.
9660         * app/Makefile.am (app/run_dia.sh actually):
9661         Added $DEBUGGER in front of dia's invocation, so that
9662         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
9663         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
9664         "EFENCE=-lefence" to link with Electric Fence.
9666         * configure.in: Made gcc do more aggressive optimisations on i386, and
9667         enabled warnings.
9668         
9669 2000-01-24  James Henstridge  <james@daa.com.au>
9671         * lib/geometry.[ch]: added inline versions of functions.  Used
9672         glib's G_INLINE_FUNC stuff, so it should still work on systems
9673         without inline funcs.
9675         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
9676         it outputs the correct element id for the ellipse objects.
9678 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
9680         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
9681         object_add_handle_at. Message typo fixed.
9682         
9683         * lib/sheet.c (load_register_sheet):
9684         potential bug fixed (warning hunt).
9686         * objects/custom/custom.c (custom_object_load): disabled an assertion
9687         which made dia abort upon failure to load a shape file. Fixed a
9688         subsequent crash. 
9690         * objects/custom/shape_info.c (load_shape_info): Made the custom 
9691         shape load code ignore XML comments between <?xml ...?> and the 
9692         root object (mostly useful to put the emacs magic comments).
9693         
9694         * app/load_save.c: Made dia do backup copies of files when saving,
9695         and complain in case of failure.
9697 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
9699         * AUTHORS: fixed my address (ISP thought it was a great idea to change
9700         the domain name)
9701         
9702         * configure.in:
9703         * shapes/Contact:
9704         * shapes/Contact/*:
9705         * sheets/Contact.sheet:
9706         * sheets/Makefile.am:
9707         Added support for Contact and LADDER charts.
9709         * dia.desktop: Added a French translation.
9710         
9711 2000-01-23  James Henstridge  <james@daa.com.au>
9713         * app/commands.c (help_about_callback): don't die if can't load
9714         logo image.
9716         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
9717         out NaN's when performing bezier curve subdivision.
9719         * objects/custom/custom_object.c: initialise memory of Custom structs
9720         to zero.
9722         * app/render_svg.c (draw_image): added image support to the XML
9723         output filter.  The image is just referenced, rather than being
9724         included inline, so if you copy the SVG file somewhere else, you
9725         may need to move the images or fix up the links.
9727         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
9728         so the text is not just displayed in black all the time.
9730 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
9732         * configure.in: fixed libpopt test so we wont try to build with
9733         too old libpopt.
9735 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
9737         * configure.in: Added "uk" to ALL_LINGUAS.
9739 1999-12-24  James Henstridge  <james@daa.com.au>
9741         * po/ru.po: updated russian translation from Valek Filippov.
9742         
9743         * app/render_svg.c (new_svg_renderer): make output use 19991203
9744         version of SVG DTD.  Use viewBox to set the extents of the view.
9746         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
9747         ftp.gnome.org as the download.
9749         * TODO (TODO): weeded out completed todo items and added a few extra.
9751         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
9753         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
9754         be good to get rid of the object/shape distinction and separate
9755         the custom shape code out from the main application.
9757         * objects/custom/README, diagram.dtd: moved to new doc directory.
9758         Renamed the custom shapes README to custom-shapes.  Also updated
9759         custom shape docs a bit and removed the section on sheet files, as
9760         that has changed a bit.
9762         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
9763         of the image data is larger than the maximum cell array.  I should
9764         add code to break scan lines down further in this case, but for now
9765         an error message is better than an infinite loop.
9767         * app/filedlg.c (file_export_ok_callback): show a dialog if we
9768         couldn't determine the export filter to use.
9770         * app/commands.c (help_about_callback): fixed up about box logo
9771         expose bug.  Now just use a GtkPixmap widget rather than a
9772         GtkDrawingArea and calling gdk_imlib_paste_image.
9774         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
9775         because automake does not always get things right.
9777         * configure.in: updated version number to 0.83.
9779         * app/preferences.c (prefs_save): 
9780         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
9781         for fopen.  Text is the default file mode anyway.
9783         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
9784         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
9785         * app/load_save.c (write_objects, write_connections): 
9786         * app/filedlg.c (file_export_ok_callback): 
9787         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
9788         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
9789         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
9790         snprintf to calls to g_snprintf.
9792         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
9793         as the picture name.
9795 1999-12-23  James Henstridge  <james@daa.com.au>
9797         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
9798         negative numbers.  This fixes the upside down text problem I was
9799         having previously.
9800         (draw_image): implemented the image code.  It will try to split the
9801         image data up into bands if it is too big to fit into a single
9802         cgm cell array element.  It will have problems if you try to insert
9803         an image wider than about 10,000 pixels though.
9805         * Makefile.am: use gnomedatadir for the files that need to be
9806         installed in gnome's datadir.  This is mainly to help people doing
9807         packages for weird setups.
9809 1999-12-22  James Henstridge  <james@daa.com.au>
9811         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
9812         beziers are left to do.  The text seems to be the wrong way up
9813         still.  This is probably a problem with character orientation
9814         element, but I have used what the settings given in the standard.
9815         Other than this, the CGMs dia produces are readable (and displayable)
9816         by ralcgm and corel draw.
9817         (draw_string): subtract from the X coord rather than the Y coord for
9818         center and right aligned text.
9820         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
9821         the size of a real number, and changed name of write_double to
9822         write_real.  Consider changing to fixed real encoding.  Also, now
9823         all element headers are correct.  Once the real number encoding is
9824         fixed, only text, beziers and images are left to do.
9826 1999-12-21  James Henstridge  <james@daa.com.au>
9828         * Makefile.am (SUBDIRS): recurse into plug-ins.
9830         * configure.in: add plug-ins directory makefiles to list.
9832         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
9833         not done yet.  Also, the output files are not quite correct.
9835         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
9836         font.  It doesn't work if you do.
9838 1999-12-20  James Henstridge  <james@daa.com.au>
9840         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
9841         export the files.  Instead, use filter_guess_export_filter to
9842         guess the correct format to save in and use the appropriate filter.
9843         It defaults to postscript for compatibility.
9845         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
9846         function.
9848         * app/commands.[ch]: removed export to eps functions.
9850         * app/menus.c: removed export to eps menu items.
9852         * app/app_procs.c: register new export filters.
9854         * app/load_save.[ch]: define dia native export filter.
9856         * app/render_eps.[ch]: define eps export filter.
9858         * lib/filter.h: added diafilename argument to the DiaExportFunc
9859         prototype.  This is useful for putting the source of the diagram
9860         into the output file for instance.
9862         * app/app_procs.c (app_init): register the SVG export filter.  Have
9863         to get EPS code converted to this API, and maybe also allow saving in
9864         DIA's native format from the export dialog.  In fact, it is now
9865         possible to load an export filter from a shared library and it will
9866         integrate into the interface correctly.
9868         * app/menus.c: removed references to the SVG renderer.
9870         * app/commands.[ch]: removed svg stuff.
9872         * app/diagram.[ch]: removed diagram_export_to_svg function.
9874         * app/render_svg.[ch]: added a DiaExportFilter structure for this
9875         renderer.
9877         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
9878         probably move the open/save dialogs to this file as well.
9880 1999-12-19  James Henstridge  <james@daa.com.au>
9882         * lib/filter.[ch]: start of interface for generalised handling of
9883         filters.  I have only done code for export filters so far.  I still
9884         need to do the gui for this, and convert the current SVG and EPS
9885         filters to the new API.
9887         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
9888         weren't setting the last handle correctly.  It was actually assigning
9889         to the wrong position in the handles array, so the last handle was
9890         left as NULL, which caused the segfault.
9892         * objects/standard/image.c (image_copy): modified routine so that
9893         it just adds a reference to the DiaImage structure in the new image
9894         object.  This seems to have cleared up the problems with copying
9895         image objects.
9897         * dia.spec: spec file additions from John Gotts.
9899 1999-12-12  James Henstridge  <james@daa.com.au>
9901         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
9902         has not been released yet though.
9904         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
9906         
9907         The following based on a patch from Lars Clausen:
9908         
9909         * objects/standard/bezier.c (bezierline_move_handle): when performing
9910         the initial drag of the bezierline, move the control points to keep
9911         the line straight.
9913         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
9914         make the new control points a bit closer to the major point.
9916         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
9917         as the reason for the move.
9918         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
9919         move reason.
9921         * lib/handle.h: new handle move reasons.
9923 1999-12-09  James Henstridge  <james@daa.com.au>
9925         * dia.spec: include the new files in RPMs.
9927         * Makefile.am: install these new files.
9929         * dia.keys.in: file describing actions and icon for dia diagrams for
9930         use in the gnome file manager.
9931         
9932         * dia.mime: a file defining the application/x-dia-diagram mime type.
9933         
9934         * dia-diagram.png: an icon for dia diagrams.
9936 1999-12-08  James Henstridge  <james@daa.com.au>
9938         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
9940         * plug-ins/python/pydia-display.[ch]: wrapper for display.
9942         * objects/standard/ellipse.c: applied Lars's patch to optionally not
9943         draw the background of the ellipse.
9945         * app/load_save.c (read_connections): do some sanity checking on the
9946         handle and connection point numbers before performing the object
9947         connection.
9949         * lib/bezier_conn.c (bezierconn_load): give the correct number of
9950         handles when loading a BezierConn.
9952 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
9954         * sheets/*.sheet: Finished Norwegian translations.
9955         
9956 1999-12-07  James Henstridge  <james@daa.com.au>
9958         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
9959         (PyDia_GetObjectType): find object type function.
9961         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
9962         method for diagrams.
9964         * plug-ins/python/pydia-object.c: added methods for DiaObject and
9965         DiaObjectType.
9967         * AUTHORS: added Lars and Cyrille to the authors file.
9969         * objects/standard/bezier.c (bezierline_add_segment_callback): place
9970         new point correctly.
9972         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
9974         * lib/bezier_conn.c: applied Lars's patch for placement of the new
9975         point when adding a segment to a BezierConn.
9977 1999-12-06  James Henstridge  <james@daa.com.au>
9979         * plug-ins/python/test.py: test script for the python plug-in.
9981         * plug-ins/python/python.c: this file contains the plug-in startup
9982         code for the python plugin.  Right now, it just initialises the
9983         dia module and executes a script.
9985         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
9987         * objects/standard/bezier.c (bezierline_draw): draw control lines for
9988         bezier curve if we are using an interactive renderer (ie. only if
9989         displaying to the screen).
9991         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
9992         to draw control lines on to a bezier curve.  Based on implementation
9993         from Lars.
9995         * objects/standard/bezier.c (bezierline_delete_segment_callback):
9996         calculate segment number using closest_segment rather than
9997         closest_handle.  Sometimes the closest handle is part of a different
9998         segment.
9999         (bezierline_draw): use correct size for start arrow.
10001         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
10002         * lib/geometry.c (distance_line_point): added notes to documentation
10003         in comment.
10004         * app/object_ops.c (object_list_align_v): 
10005         (object_list_align_h): fix of by one error when calculating free space
10006         for equal distance alignment.
10007         * app/menus.c (objects_align_h, objects_align_v): include align
10008         adjacent menu items in the gnome version of the menus.
10009         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
10010         align adjacent menu items correctly.
10013         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
10014         table.
10016         * objects/standard/bezier.c: converted bezierline to use BezierConn.
10017         Still a few bugs.  It crashes on deleting line segments.
10019         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
10021 1999-12-05  James Henstridge  <james@daa.com.au>
10023         * lib/bezier_conn.[ch]: start of BezierConn object
10025         * app/interface.c: add bezierline to toolbox.
10027         * objects/standard/standard.c: initialise bezierline.
10029         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
10030         made a few modifications to get it working nicely.  It still needs
10031         a bit of work though.  Maybe create a BezierConn object in lib.
10033 1999-12-02  James Henstridge  <james@daa.com.au>
10035         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
10036         
10037         * plug-ins/python/Makefile.am: tried building everything.  It is
10038         building as a library at the moment.  I will have to convert it
10039         to a libtool library and add some initialisation code.
10040         
10041         * plug-ins/python/diamodule.c: start of the dia module, using the
10042         other object wrappers.  Not complete.
10044 1999-12-01  James Henstridge  <james@daa.com.au>
10046         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
10047         the handles and connections attributes.
10049         * plug-ins/python/pydia-layer.c: added functions that use
10050         ConnectionPoint's.
10052         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
10054         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
10056         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
10057         I am currently wrapping the basic elements in the diagram in python
10058         objects -- nothing to see or play with yet.
10060 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
10062         * AUTHORS:
10063         * HACKING:
10064         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
10066 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
10068         * configure.in:
10069         * po/ru.po:
10070         Added russian translation from Valek Filippov <frob@df.ru>
10072 1999-11-24  James Henstridge  <james@daa.com.au>
10074         * sheets/UML/*: 
10075         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
10076         discussed with Alex.  Also added extra makefiles so that make install
10077         works correctly.
10079 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
10081         * app/preferences.[ch]:
10082         * app/display.c:
10083         Added snap to grid preference.
10084         Patch from Michael Leslie <mles@springboardwireless.com>
10086 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
10088         * app/load_save.c:
10089         * lib/dia_xml.c:
10090         * lib/sheet.c:
10091         * lib/text.c:
10092         * objects/custom/shape_info.c:
10093         All strings returned by libxml must be freed with free, not
10094         g_free, or there will be problems if you use memory debugging
10095         in glib.
10096         
10097 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
10099         * app/create_object.[ch]:
10100         * app/menus.c:
10101         * app/tool.[ch]:
10102         * app/commands.[ch]:
10103         * app/pixmaps.h:
10104         * app/interface.[ch]:
10105         Reverted the tool menu patch. It has some 'issues'.
10106         I liked it though, so it'll probably return.
10108 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
10110         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
10111         <bruce@cybersight.com> for some purify runs and analysis.
10112         Also a great thank you to Owen Taylor for creating MemProf, a
10113         free memory leak detector that was used to find and verify a
10114         lot of these fixes.
10115         
10116         * app/diagram.c:
10117         * app/paginate_psprint.c:
10118         * app/render_eps.[ch]:
10119         * app/render_svg.[ch]:
10120         Free renderers.
10122         * app/interface.c:
10123         Don't add a reference to ddisp->shell. Why was this done in
10124         the first place?
10126         * app/load_save.c:
10127         * lib/dia_xml.c:
10128         * lib/sheet.c:
10129         * lib/text.c:
10130         Free all strings returned from xmlGetProp
10132         * app/modify_tool.c:
10133         Plug leak.
10135         * objects/custom/custom.c:
10136         Use closedir() after opendir().
10138         * objects/custom/shape_info.c:
10139         User g_free() instead of "if (tmp) free(tmp)".
10141         * sheets/ER.sheet:
10142         Add newline at end of file.
10143         
10145 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
10147         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
10148         Adds tool menu and keyboard shortcuts.
10150         * app/create_object.[ch]:
10151         Use tool_set() instead of tool_reset().
10152         create_create_object_tool() takes extra type argument
10154         * menus.c:
10155         Add tools menu.
10156         
10157         * tool.[ch]:
10158         Moved tool_data here, export it.
10159         Add separate tool type for all create objects tools.
10160         new functions tool_set().
10162         * commands.[ch]:
10163         New callback tool_set_callback.
10165         * pixmaps.h:
10166         Moved some pixmaps to interface.c.
10167         
10168         * interface.[ch]:
10169         Remove tool_data array (moved to tool.c).
10170         Use the tool_data from tool.c.
10171         Remove modify_tool_button global var.
10172         
10173 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
10175         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
10176         
10177         * app/app_procs.c:
10178         Interprets command-line arguments as files to open even when
10179         HAVE_POPT is not defined.
10181         * app/magnify.c:        
10182         Shift-clicking when zooming zooms out, like the Gimp.
10184         * app/menus.c:
10185         Has hotkeys for zoom-100% and snap-to-grid.
10187 1999-11-17  James Henstridge  <james@daa.com.au>
10189         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
10190         that it is not jumpy.
10192         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
10194         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
10195         scrolling by pressing the shift key when using the scroll tool.
10197         * sheets/Makefile.am: fixed makefile so that install actually works
10198         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
10199         don't exist.
10200         (SHEETS): install Circuit.sheet
10202 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
10203         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
10205         * sheets/Circuit.sheet:
10206         * sheets/ER.sheet:
10207         * sheets/FS.sheet:
10208         * sheets/Flowchart.sheet:
10209         * sheets/UML.sheet:
10210         * sheets/network.sheet:
10211         * sheets/sybase.sheet:
10212         Changed name space
10214         * sheets/Circuit.sheet:
10215         added some missing French translations
10217         * lib/sheet.c:
10218         killed the temporary sheet namespace
10220         * objects/custom/custom.c:
10221         obsolete comment cleaned up
10223 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
10225         * configure.in:
10226         * po/pt.po:
10227         Added portugese translation from Pedro Morais
10228         <pmmm@rnl.ist.utl.pt>
10230 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
10232         Changed all sheets to be specified in xml.
10233         All sheet objects removed from the C code.
10234         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
10235         
10236         * Makefile.am:
10237         * configure.in:
10238         Adding shapes dir.
10239         Updated version to 0.81cvs.
10240         
10241         * app/Makefile.am:
10242         Update run_dia.sh with sheet-dir.
10243         
10244         * app/app_procs.c:
10245         Load all sheets on startup.
10246         Create sheet directory first time.
10247         Don't call custom_register_sheets().
10249         * lib/Makefile.am:
10250         Add sheetdir define
10252         * lib/custom.h:
10253         Remove custom_register_sheets().
10255         * lib/sheet.[ch]:
10256         Add sheet loading code.
10258         * sheet/Circuit.sheet:
10259         * sheet/ER.sheet:
10260         * sheet/FS.sheet:
10261         * sheet/Flowchart.sheet:
10262         * sheet/UML.sheet:
10263         * sheet/network.sheet:
10264         * sheet/sybase.sheet:
10265         Added sheet files.
10267         * sheet/ER/weakentity.xpm:
10268         * sheet/UML/aggregation.xpm
10269         * sheet/UML/umlclass_template.xpm
10270         Added sheet pixmaps.
10271         These are moved from their old places.
10273         * sheet/.cvsignore:
10274         Shut up cvs.
10276         * objects/*/*.c:
10277         Removed sheet objects and sheet registration.
10278         
10279         * objects/ER/Makefile.am:
10280         * objects/ER/pixmaps/weakentity.xpm:
10281         * objects/UML/Makefile.am:
10282         * objects/UML/pixmaps/aggregation.xpm:
10283         * objects/UML/pixmaps/umlclass_template.xpm:
10284         Removed alternative pixmaps. (Moved to sheet).
10286         * objects/custom/Makefile.am:
10287         * objects/custom/load_sheet.[ch]:
10288         Removed old sheet loading code.
10289         
10290         * objects/custom/custom.c:
10291         Load all shapes instead of sheets.
10292         Removed custom_register_sheets().
10294         * objects/custom/custom_object.c:
10295         Added debug code.
10297         * objects/custom/shape_info.[ch]:
10298         Added shape_info_getbyname().
10300         * objects/flowchart/Makefile.am:
10301         * objects/flowchart/collate.shape            
10302         * objects/flowchart/delay.shape              
10303         * objects/flowchart/display.shape            
10304         * objects/flowchart/document.shape           
10305         * objects/flowchart/extract.shape            
10306         * objects/flowchart/flowchart.c              
10307         * objects/flowchart/intstorage.shape         
10308         * objects/flowchart/magdisk.shape            
10309         * objects/flowchart/magdrum.shape            
10310         * objects/flowchart/magtape.shape            
10311         * objects/flowchart/manualinput.shape        
10312         * objects/flowchart/manualop.shape           
10313         * objects/flowchart/merge.shape              
10314         * objects/flowchart/offlinestore.shape       
10315         * objects/flowchart/offpageconn.shape        
10316         * objects/flowchart/or.shape                 
10317         * objects/flowchart/predefdproc.shape        
10318         * objects/flowchart/preparation.shape        
10319         * objects/flowchart/punchedcard.shape        
10320         * objects/flowchart/punchedtape.shape        
10321         * objects/flowchart/sort.shape               
10322         * objects/flowchart/sumjunction.shape        
10323         * objects/flowchart/terminal.shape           
10324         * objects/flowchart/transaction.shape        
10325         * objects/flowchart/transmittape.shape       
10326         * objects/flowchart/pixmaps/collate.xpm      
10327         * objects/flowchart/pixmaps/delay.xpm        
10328         * objects/flowchart/pixmaps/display.xpm      
10329         * objects/flowchart/pixmaps/document.xpm     
10330         * objects/flowchart/pixmaps/extract.xpm      
10331         * objects/flowchart/pixmaps/intstorage.xpm   
10332         * objects/flowchart/pixmaps/magdisk.xpm      
10333         * objects/flowchart/pixmaps/magdrum.xpm      
10334         * objects/flowchart/pixmaps/magtape.xpm      
10335         * objects/flowchart/pixmaps/manualinput.xpm  
10336         * objects/flowchart/pixmaps/manualop.xpm     
10337         * objects/flowchart/pixmaps/merge.xpm        
10338         * objects/flowchart/pixmaps/offlinestore.xpm 
10339         * objects/flowchart/pixmaps/offpageconn.xpm  
10340         * objects/flowchart/pixmaps/or.xpm           
10341         * objects/flowchart/pixmaps/predefdproc.xpm  
10342         * objects/flowchart/pixmaps/preparation.xpm  
10343         * objects/flowchart/pixmaps/punchedcard.xpm  
10344         * objects/flowchart/pixmaps/punchedtape.xpm  
10345         * objects/flowchart/pixmaps/sort.xpm         
10346         * objects/flowchart/pixmaps/sumjunction.xpm  
10347         * objects/flowchart/pixmaps/terminal.xpm     
10348         * objects/flowchart/pixmaps/transaction.xpm  
10349         * objects/flowchart/pixmaps/transmittape.xpm 
10350         Moved shapes and their pixmaps to shapes/flowchart
10352         * shapes/Circuit/Makefile.am:
10353         * shapes/Circuit/index.sheet:
10354         Removed index.sheet.
10355         
10356         * shapes/Makefile.am:
10357         * shapes/flowchart/Makefile.am:
10358         * shapes/flowchart/*.shape:
10359         * shapes/flowchart/*.xpm:
10360         Added flowchart shapes. (Moved from objects/flowchart)
10361         
10363 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
10365         * app/app_procs.c: Fixed popt stuff.
10367 1999-11-01  James Henstridge  <james@daa.com.au>
10369         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
10370         Andreas Scherf.
10372 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
10374         * dia.spec:
10375         * configure.in:
10376         Update version to 0.81.
10377         
10378         * NEWS:
10379         Update with news for 0.81.
10380         
10381         * shapes/Circuit/*:
10382         * shapes/Circuit_eu/*:
10383         Moved european circuit objects to Circuit sheet.
10385 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
10386         
10387         * lib/diagramdata.[ch]:
10388         Added layer_set_object_list() function.
10390         * app/undo.[ch]:
10391         Added support for undo of reordered objects.
10392         Fix the undo of delete to keep the right order on undo.
10393         
10394         * app/diagram.c:
10395         changed loop to object_add_updates_list() calls.
10396         Added undo support to bring to front/back.
10398         * app/disp_callbacks.c:
10399         * app/paginate_psprint.c:
10400         Remove warnings.
10402 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
10404         This plugs some leaks. Thanks to
10405         Bruce Mitchener <bruce@cybersight.com> for running
10406         Dia through purify for me.
10407         
10408         * app/app_procs.c:
10409         Free displays and diagrams on exit.
10411         * app/modify_tool.c:
10412         Free gc when freeing tool.
10414         * lib/diagramdata.c:
10415         Free layer name.
10416         
10417         * app/display.c:
10418         Free update and display lists when destroying display.
10419         
10420         * lib/diagramdata.c:
10421         Don't leak layer name.
10423         * objects/custom/load_sheet.c: 
10424         * objects/custom/shape_info.c:
10425         Free loaded xml documents.
10427 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
10429         * app/commands.c:
10430         * app/object_ops.[ch]:
10431         Add undo handling to alignment ops.
10432         Based partially on patch by Dan Cohn <dan@internap.com>.
10434         * objects/standard/image.c (image_move_handle):
10435         Don't divide by zero for small images.
10436         Patch by Dan Cohn <dan@internap.com>.
10438         * objects/UML/class.c (umlclass_destroy): 
10439         * objects/custom/custom_object.c (custom_destroy):
10440         Don't free connectionpoints before calling element_destroy
10441         which unconnects them.
10443 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
10445         * objects/custom/custom_object.c: 
10446         Load and save padding too. Fixes strange load crashes.
10448         * app/group.c (group_destroy):
10449         Don't unconnect already freed connectionpoints when
10450         destroying group. Probably fixes bug reported by
10451         Elliot Lee <sopwith@redhat.com>.
10453         * app/render_gdk.c:
10454         Don't crash on zero-size (broken) bezier curves.
10455         Different sort of fix. This should work on closed bezier curves
10456         too.
10458         * objects/standard/textobj.c:
10459         Activate default properties dialog for Text objects.
10461         * app/render_eps.c: 
10462         * app/load_save.c:
10463         * app/preferences.c:
10464         * app/render_svg.c:
10465         fopen files in binary or text mode.
10467 1999-10-26  Alexander Larsson  <alex@cendio.se>
10469         * app/render_gdk.c (bezier_add_lines):
10470         Don't crash on zero-size (broken) bezier curves.
10471         Fixes a crashing bug.
10473 1999-10-25  James Henstridge  <james@daa.com.au>
10475         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
10476         before it is installed.
10478         * objects/flowchart/flowchart.c: use relative paths to find shapes.
10480         * objects/custom/custom.c (custom_object_load): take file names
10481         relative to $(pkgdatadir)/shape-internal, and check an environment
10482         variable for an alternative directory.
10484         * app/...: added copyright messages to the top of my new code.
10486         * app/paginate_psprint.c: some general clean ups.  Also, give an error
10487         dialog if we can't open the command or output file for writing.
10489         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
10490         function so it would set orientation to landscape correctly.
10492         * app/paginate_psprint.c: use the paper settings that come with
10493         the diagram.  Also implemented landscape printing.
10495         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
10496         in PS header.
10498         * app/commands.[ch] (file_pagesetup_callback): added callback for
10499         the page setup dialog.
10501         * app/menus.c: added page setup menu item.
10503         * app/pagesetup.[ch]: implementation of the page setup dialog.
10505         * app/diapagelayout.[ch]: added accessors for the scaling factor.
10506         
10507         * app/load_save.c (diagram_load): load paper information from save
10508         file.
10509         (diagram_save): save the paper info.
10511         * lib/diagramdata.c (new_diagram_data): initialise paper info section
10512         of DiagramData structure.
10513         (diagram_data_destroy): free the paper name.
10515         * lib/diagramdata.h: added a paper member to the DiagramData structure
10516         that holds the page layout info for a diagram.
10518 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
10520         * objects/flowchart/box.c:
10521         * objects/flowchart/ellipse.c:
10522         * objects/flowchart/diamond.c:
10523         * objects/flowchart/parallelogram.c:
10524         Load and save padding too. Fixes strange load crashes.
10526 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
10528         * app/app_procs.c (name_is_lib):
10529         .dll, .sl and .so.0.0.0 are also libraries.
10531 1999-10-20  James Henstridge  <james@daa.com.au>
10533         * configure.in: added extra makefile.
10534         
10535         * shapes/Circuit_eu/*: a new set of european circuit shapes from
10536         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
10537         (added fuses to makefile, fill the area of some of the components).
10539 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
10541         * lib/Makefile.am:
10542         * app/Makefile.am: 
10543         Add GDK_IMLIB_CFLAGS to includes.
10544         Changed --export-dynamic to -export-dynamic
10546         * lib/widgets.c:
10547         * objects/UML/message.c:
10548         Removed c++ comment.
10550         * lib/render_store.[ch]:
10551         Don't use empty structure. That is not Ansi C.
10553 1999-10-19  James Henstridge  <james@daa.com.au>
10555         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
10556         the margin entries, as they allow interpretation of units.
10557         (paper_size_change): display the current page dimensions.
10559         * app/diaunitspinner.[ch]: a widget derived from the standard
10560         GtkSpinButton that tries to take units into account.  So if you enter
10561         "1in" into the entry, it will convert it to 2.54cm.
10563 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
10565         * app/app_procs.c:
10566         Removed include of dlfcn.h
10568 1999-10-18  James Henstridge  <james@daa.com.au>
10570         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
10571         bound on margin widths.  It is set to the paper width/height.
10573         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
10574         routine for the diamond.  This bug was found and fixed by Daniel Wang
10575         <danwang@CS.Princeton.EDU>
10577 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
10579         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
10580         remove warning (OS/2 version).
10582 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
10584         * README:
10585         Put a pointer to objects/custom/README.
10586         
10587 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
10589         * dia.spec:
10590         Updated version to 0.80
10592         * configure.in:
10593         Updated version to 0.80cvs
10595 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
10597         * Released Dia 0.80
10598         Tag called DIA_0_80
10599         
10600 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
10602         * app/Makefile.am
10603         * lib/Makefile.am
10604         * objects/UML/Makefile.am
10605         * objects/ER/Makefile.am
10606         * objects/network/Makefile.am
10607         * objects/standard/Makefile.am
10608         * objects/FS/Makefile.am
10609         * objects/sybase/Makefile.am
10610         * objects/flowchart/Makefile.am
10611         * objects/custom/Makefile.am
10612         Added -I$(top_srcdir)/intl which is needed for
10613         --with-included-gettext.
10615         * POTFILES.in
10616         Updated.
10617         
10618         * po/sv.po
10619         Updated swedish translation.
10621 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
10623         * configure.in:
10624         Updated version number to 0.80.
10626         * KNOWN_BUGS:
10627         New file.
10629         * TODO:
10630         Updated. Moved bugs to KNOWN_BUGS.
10632         * NEWS:
10633         Updated with 0.80 release notes.
10634         
10635 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
10636         
10637         * lib/orth_conn.c:
10638         For backwards compatibility, make sure handle 0 and 1 are the
10639         first and last handle. Fixes compatibility with 0.41, breaks
10640         compatibility with cvs version.
10641         Fixed bug in undo/redo of adding deleting endpoint segments
10642         when the endpoint was connected.
10643         Start OrthConn objects with three segments.
10645 1999-10-16  James Henstridge  <james@daa.com.au>
10647         * objects/custom/custom_object.c (custom_update_data): changed
10648         resizing behaviour a bit so that shapes don't grow huge when you try
10649         to resize them to smaller than the size required by the text box.
10650         Also, now shapes will not grow with fixed aspect ratio when you enter
10651         text into them unless the shape has the fixed aspect ratio flag set.
10653 1999-10-15  James Henstridge  <james@daa.com.au>
10655         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
10657         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
10659         * objects/flowchart/magdrum.shape: 
10660         * objects/flowchart/offlinestore.shape: 
10661         * objects/flowchart/punchedtape.shape: 
10662         * objects/flowchart/transmittape.shape: 
10663         * objects/flowchart/punchedcard.shape: new shapes.
10665         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
10667         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
10669         * objects/flowchart/collate.shape:
10670         * objects/flowchart/delay.shape:
10671         * objects/flowchart/extract.shape:
10672         * objects/flowchart/intstorage.shape:
10673         * objects/flowchart/magdisk.shape:
10674         * objects/flowchart/magtape.shape:
10675         * objects/flowchart/merge.shape:
10676         * objects/flowchart/or.shape:
10677         * objects/flowchart/sort.shape:
10678         * objects/flowchart/sumjunction.shape: new shapes.
10680 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
10682         * TODO (BUGS):
10683         Added bug:
10684         Entering an erronous command as print command
10685         crashes dia.
10687         * app/paginate_psprint.c:
10688         Save all print dialog values for next time.
10689         
10690         * app/Makefile.am:
10691         Remove custom lib from DIA_LIB_PATH.
10693 1999-10-14  James Henstridge  <james@daa.com.au>
10695         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
10697         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
10698         
10699         * objects/flowchart/offpageconn.shape: 
10700         * objects/flowchart/manualop.shape: 
10701         * objects/flowchart/preparation.shape: 
10702         * objects/flowchart/manualinput.shape: 
10703         * objects/flowchart/predefdproc.shape: 
10704         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
10706 1999-10-13  James Henstridge  <james@daa.com.au>
10708         * app/diapagelayout.[ch]: added accessors to paper information.  The
10709         widget should be just about complete now.
10711         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
10712         It actually does something now.
10714 1999-10-12  James Henstridge  <james@daa.com.au>
10716         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
10717         for the page layout widget.
10719         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
10720         built yet as it is not complete.
10722         * objects/flowchart/flowchart.c: added new shapes to sheet.
10724         * objects/flowchart/display.shape:
10725         * objects/flowchart/transaction.shape: new shapes.
10727         * AUTHORS: added my name to the spec file.
10729         * dia.spec: include the dia desktop entry to the spec file.
10731         * Makefile.am: install the dia.desktop file.
10733         * dia.desktop: added a gnome desktop entry so you can start dia
10734         from the gnome panel menu.
10736 1999-10-11  James Henstridge  <james@daa.com.au>
10738         * objects/custom/custom_object.c:
10739         * objects/custom/shape_info.c: warning fixes.
10741         * objects/flowchart/document.shape: a shape file for the `document'
10742         flowchart shape.
10744         * lib/custom.h: new header with the custom shape prototypes.
10746         * app/app_procs.c: register custom objects as well.
10747         (register_objects_in): close shared libraries if they don't load
10748         correctly, and call g_module_make_resident on libraries that load
10749         correctly.
10751         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
10753         * objects/custom/custom.c: removed get_version, added custom_ prefix
10754         to register_objects and register_sheets.
10756         * objects/custom/Makefile.am: converted to a normal library.
10758 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
10760         * app/lineprops_area.c:
10761         * app/render_svg.c:
10762         * lib/objchange.c:
10763         * objects/custom/shape_info.c:
10764         * objects/flowchart/box.c:
10765         * objects/flowchart/diamond.c:
10766         * objects/flowchart/ellipse.c:
10767         * objects/flowchart/parallelogram.c:
10768         * objects/network/flash.c:
10769         * objects/network/scead-plug.c:
10770         * objects/sybase/client.c:
10771         Removed -Wall warnings.
10772         
10773         * objects/network/bus.c:
10774         Removed unused functions.
10776         * objects/FS/flow-ortho.c:
10777         * objects/FS/flow-poly.c:
10778         * objects/FS/flow.c:
10779         * objects/FS/function.c:
10780         
10781         Implemented "non-implemented" undo for FS objects.
10782         Now at least it won't crash.
10783         
10784 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
10786         * objects/network/bus.c:
10787         Implemented undo.
10788         Handles are now added and removed using the object menu.
10789         Default to 6 handles instead of 10.
10790         Changed name from "Standard - Bus" to "Network - Bus". Kept old
10791         name for backwards compatibility.
10793         * objects/network/network.c:
10794         Changed name from "Standard - Bus" to "Network - Bus". Kept old
10795         name for backwards compatibility.
10797         * app/properties.[ch]:
10798         * app/undo.c:
10799         Update properties in properties dialog if the shown object
10800         is part of and ObjectChange (undo or redo).
10802         * lib/poly_conn.c:
10803         Remove old known bugs list.
10805         * objects/UML/class_dialog.c:
10806         Removed debug printf's.
10808 1999-10-10  James Henstridge  <james@daa.com.au>
10810         * objects/custom/custom.c (custom_object_load): new function that
10811         provides a nice entry point to the custom shape code for when it
10812         gets used by other libraries.
10814         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
10815         speeds builds up a bit.
10817         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
10818         (SUBDIRS): do not descend into pixmaps subdirs.
10820         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
10821         This speeds up build process.
10823         * objects/custom/custom.c (sheets): made variable static.
10825         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
10826         renamed function.
10828         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
10830         * objects/custom/custom.c: look in ~/.shapes instead of
10831         ~/.dia_shapes as the per-user shapes directory.
10833         * app/preferences.c (prefs_save): save config to ~/.diarc.
10834         (prefs_load): load configuration from ~/.diarc.  If the file
10835         does not exist, fallback on the old ~/.diarc location.
10837         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
10838         on startup.
10839         (register_all_objects): look for user specific objects in
10840         ~/.objects rather than ~/.dia_libs.
10842 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
10844         * configure.in:
10845         * app_procs.c:
10846         * objects/flowchart/box.c
10847         * objects/flowchart/ellipse.c
10848         * objects/flowchart/flowchart.c 
10849         Use gmodule for dynamic linking. As gmodule is using
10850         RTLD_GLOBAL i had to change flowchart box and ellipse
10851         so the typenames doesn't conflict with the standard
10852         box and ellipse.
10854         * message.c
10855         * commands.c
10856         Use button box to make dialogs look better.
10858 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
10860         * objects/UML/class_dialog.c:
10861         * objects/UML/class.h:
10862         Implemented undo for "UML - Class" objects.
10863         Not 100% tested yet.
10865         * objects/UML/classicon.c:
10866         * objects/UML/constraint.c:
10867         * objects/UML/dependency.c:
10868         * objects/UML/generalization.c:
10869         * objects/UML/implements.c:
10870         * objects/UML/large_package.c:
10871         * objects/UML/lifeline.c:
10872         * objects/UML/message.c:
10873         * objects/UML/object.c:
10874         * objects/UML/realizes.c:
10875         * objects/UML/state.c:
10876         * objects/UML/usecase.c:
10877         Removed warnings.
10878         
10879         * lib/connectionpoint.h:
10880         Fixed typo.
10881         
10882 1999-10-09  James Henstridge  <james@daa.com.au>
10884         * objects/custom/*.[ch]: added copyright notices to custom object
10885         files.
10887         * shapes/Circuit/hdiode.shape:
10888         * shapes/Circuit/hzener.shape: 
10889         * shapes/Circuit/opamp.shape:
10890         * shapes/Circuit/vdiode.shape:
10891         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
10892         shapes look nice after the custom shape code changes.
10894         * objects/custom/README: updated docs to cover changes to drawing
10895         code.
10897         * objects/custom/custom_object.c (custom_draw): honour the line
10898         properties when drawing the shape.
10900         * objects/custom/shape_info.[ch]: added support for setting line
10901         properties for individual drawing elements in a custom shape.  You
10902         can set the dash style, dash length, cap style and join style.
10904 1999-10-07  James Henstridge  <james@daa.com.au>
10906         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
10907         for foreground and background.
10909         * objects/custom/custom_object.c (custom_draw): use the new style
10910         information when drawing the object.
10912         * objects/custom/shape_info.[ch]: store all shape style info in the
10913         GraphicStyle structure.  This makes adding support for extra CSS
10914         attributes easier -- we don't have to keep adding extra arguments to
10915         a lot of functions.
10917 1999-10-05  James Henstridge  <james@daa.com.au>
10919         * lib/intl.c (unalias_lang): merged in changes from the i18n code
10920         swiped from gnome-libs.
10922 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
10924         * objects/standard/image.c (get_directory):
10925         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
10927 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
10929         * lib/poly_conn.c (polyconn_destroy):
10930         Fix bug. Access of freed memory.
10931         Rememeber, you can't free the handles of an object
10932         before calling object_destroy(), as it unconnects the handles
10933         therefore referencing them.
10935 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
10937         * app/undo.c:
10938         undo_clear() didn't set stack->depth to zero.
10939         This made other undo functions crash after this had been called
10940         on a "full" stack.
10941         
10942         * dia.xpm:
10943         Slightly modified by Chris Love <clove@exactis.com>
10945 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
10947         * objects/UML/class.h: 
10948         * objects/UML/class_dialog.c:
10949         Retrun NULL ObjectChange on class property change.
10950         This means no crashes, but "UML - Class" doesn't support undo yet.
10951         
10952 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
10953         
10954         * lib/text.c:
10955         Indentation fix.
10957         * objects/UML/classicon.c:
10958         * objects/UML/dependency.c:
10959         * objects/UML/generalization.c:
10960         * objects/UML/implements.c:
10961         * objects/UML/large_package.c:
10962         * objects/UML/lifeline.c:
10963         * objects/UML/message.c:
10964         * objects/UML/object.c:
10965         * objects/UML/realizes.c:
10966         * objects/UML/state.c:
10967         * objects/UML/usecase.c:
10968         Update to new undo (w. get/set_state).
10969         Add object menu to add/delete segments.
10971 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
10973         * app/menus.c:
10974         Add equal distance alignment.
10976         * app/object_ops.c:
10977         Add equal distance alignment.
10978         Fix bug in adjacent alignment.
10980 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
10982         * objects/UML/constraint.c: 
10983         Update to new undo (w. get/set_state).
10985 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
10987         * app/paginate_psprint.c:
10988         Save (parts, more todo) of the info in the print dialog to the
10989         next time it's opened.
10990         Patch from Yo Ric Dude <ricdude@toad.net>
10992 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
10994         * configure.in:
10995         Updated version string to 0.41cvs.
10997         * objects/UML/assocition.c:
10998         Update to new undo (w. get/set_state).
10999         Add object menu to add/delete segments.
11001         * app/app_procs.c:
11002         Added function debug_break() and called it after all
11003         objects and sheets are loaded. Place a breakpoint here if you
11004         want to debug objects. All symbols should be loaded.
11006 1999-09-12  James Henstridge  <james@daa.com.au>
11008         * app/menus.c (display_menu_items): added print menu item.
11009         (filemenu): always add print menu item -- even if gnome-print is
11010         not installed.
11012         * app/commands.h, app/commands.c (file_print_callback): the print
11013         menu item is now available for both gnome-print and non gnome-print
11014         setups.
11016         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
11017         print with the non gnome-print driver.
11019 1999-09-11  James Henstridge  <james@daa.com.au>
11021         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
11022         printer dialog code out of commands.c.
11024         * app/paginate_psprint.c: new file containing the pagination code for
11025         psprint.
11027         * app/render_eps.c: made a few modifications so as well as producing
11028         EPS files, this renderer can be set up to do postscript printing.
11029         This basically entailed adding an extra function to create a RenderEPS
11030         renderer which did not bother setting the viewport for the document.
11031         That was left for the pagination code.
11033 1999-09-10  James Henstridge  <james@daa.com.au>
11035         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
11036         gnome-print does not support elliptic arcs at the moment, approximate
11037         the ellipse with eight bezier curves.  This gives a pretty good
11038         match to a true ellipse.
11040 1999-09-09  James Henstridge  <james@daa.com.au>
11042         * app/commands.c (file_gnome_print_callback): added support for
11043         scaling the diagram.  Also fixed a few other bugs.
11045         * app/paginate_gnomeprint.c (print_page): added ability to scale
11046         document.  Fixed up test to see if the page has no objects on it.
11047         This should prevent some blank pages being printed.  Non square
11048         objects such as lines could still cause problems.
11050 1999-09-08  James Henstridge  <james@daa.com.au>
11052         * app/commands.c (file_gnome_print_callback): changed from using the
11053         standard printer selection dialog to one that also has a paper size
11054         selector as well.
11056         * commands.[ch]: added callbacks for the print menu item.  Currently
11057         it only does A4 output.  I will make it configurable soon.
11058         
11059         * app/menus.c: add a print diagram menu item if gnome-print support
11060         is enabled.
11061         
11062         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
11063         bit higher level than the gnome-print renderer.  It splits the
11064         diagram into page size chunks and then renders them.  For each
11065         page, it only renders the objects whose bounding box intersects
11066         the page, and it sets the clip mask so that the diagram does not
11067         overlap the margins.
11068         
11069         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
11070         that uses gnome-print as its back end.
11071         
11072         * configure.in: added a check for gnome-print.  It is disabled by
11073         default because the code is not really working correctly yet.
11075         * app/menus.c: the delete object menu item was missing from the
11076         GnomeUIInfo style menus.
11078 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
11080         * configure.in
11081         Added japanese to ALL_LINGUAS.
11082         Fix for Linux on Alpha.
11084 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
11086         * app/create_object.c (create_object_button_press):
11087         Always initialize tool->obj. Otherwise we store a null
11088         in the undo Change.
11090         * lib/text.c:
11091         Set linestyle before drawing cursor.
11092         Fix undo of backwards delete.
11094 1999-09-05  James Henstridge  <james@daa.com.au>
11096         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
11098         * app/render_svg.c (draw_image): some fixes so that the appropriate
11099         style attributes are set.  Before it was setting line styles on
11100         fill_* functions.  Now it only does this for the draw_* variants.
11102         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
11103         variable so that custom shapes can be loaded.
11105         * shapes/: new directory for custom shapes.  The Circuit sheet has
11106         been moved here.
11108 1999-09-02  James Henstridge  <james@daa.com.au>
11110         * TODO: removed a few todo items that have been implemented.
11112         * app/interface.c (create_sheets): enabled the popup page menu to the
11113         notebook.  This can make it easier to select different sheets.
11115         * object/custom/Circuit/: added diode, zener diode, ground point and
11116         operational amplifier shapes.
11117         
11118         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
11119         if you want the output.
11121         * objects/custom/shape_info.c (parse_path): same here.
11123         * objects/custom/load_sheet.c (load_with_readdir): don't print so
11124         much debugging output.  To get the previous level of output, define
11125         DEBUG_CUSTOM.
11127         * objects/custom/shape_info.c (parse_svg_node): polygons were being
11128         recorded as polylines in the ShapeInfo structure.
11130         * objects/custom/README: some notes on writing new custom shapes.
11131         
11132 1999-09-01  James Henstridge  <james@daa.com.au>
11134         * objects/custom/Circuit/hinductor.*:
11135         * objects/custom/Circuit/vinductor.*: added inductor shapes that
11136         also test out the bezier curve and SVG path support.
11137         
11138         * objects/custom/custom_object.c (custom_draw): added support for
11139         drawing bezier paths and filled shapes.
11141         * objects/custom/shape_info.c (parse_path): new function to parse
11142         SVG path elements.  It does not do quadratic beziers or elliptic
11143         arcs though.  Only moves, lines and cubic beziers.
11144         (*): added support for paths.
11146 1999-08-31  James Henstridge  <james@daa.com.au>
11148         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
11150         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
11151         interface
11153         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
11154         interface
11156         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
11157         interface.
11159         * lib/render_store.[ch]: use newer bezier functions.
11161         * lib/render.h: changed the bezier drawing functions to use an array
11162         of BezPoint structures instead of normal Point structures to allow
11163         lineto's mixed in with the curveto's.
11164         
11165         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
11166         
11167         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
11168         xpm images for different shapes to Makefile.
11170         * objects/custom/custom_object.c (custom_object_new): set the icon
11171         for the sheet button if there is one.  Otherwise fall back on the
11172         default custom object icon.
11174         * objects/custom/shape_info.c (load_shape_info): read the sheet
11175         icon name from the shape file.
11177         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
11178         check the pixmap_file field for the name of a pixmap file to load
11179         for the tool.
11181         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
11182         at the end of the structure, and it isn't used if the pixmap field
11183         is non NULL, so it should not break binary compatibility.
11185         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
11186         added support for the use of an index.sheet file so you can specify
11187         the ordering of the shapes in the sheet, and also internationalise
11188         the sheet name and actually be able to give a description.  The old
11189         readdir based sheet loading code acts as a fallback if an index.sheet
11190         file can not be found.
11192         * objects/custom/custom_util.[ch]: new file containing useful routines
11193         needed by the custom object code.  Currently only contains a simple
11194         routine for resolving relative paths.
11196         * objects/custom/custom_object.c (custom_draw): fixed problem with
11197         drawing rectangles if the shape has been flipped.
11199 1999-08-30  James Henstridge  <james@daa.com.au>
11201         * objects/custom/custom_object.c (custom_get_object_menu): allow
11202         flipping of custom shapes.  This uses the miggle click object
11203         menu.
11205         * objects/custom/Circuit/npn.shape: fix aspect ratio.
11207         * objects/custom/custom_object.c (custom_update_data): honour the
11208         aspect ratio constraints.
11210         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
11211         tag parsing, so you can specify a free, fixed or a range for aspect
11212         ratios for the shape.
11214 1999-08-29  James Henstridge  <james@daa.com.au>
11216         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
11217         up shape namespace tag.
11219         * objects/custom/shape_info.c (load_shape_info): check xml:lang
11220         attribute on <description> elements to support i18n for custom
11221         shape descriptions.
11222         Also changed the shape namespace for custom shapes to something
11223         a little more sensible.
11225         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
11227         * lib/intl.c: new file containing some functions for i18n stuff.
11229         * app/layer_dialog.c (create_button_box): fixed a warning.
11231         * objects/custom/custom_object.c: use current line style.  Save dash
11232         length.
11234         * objects/flowchart/diamond.c: use current line style.  Save dash
11235         length.
11237         * objects/flowchart/parallelogram.c: use current line style.  Save
11238         dash length.
11240         * objects/flowchart/ellipse.c: use current line style.  Save dash
11241         length.
11243         * objects/flowchart/box.c: use current line style.  Save dash length.
11245         * objects/standard/ellipse.c: make ellipse use current line style.
11247         * objects/standard/box.c: use the line style set in the toolbox for
11248         new boxes, and remember the dash length.
11250         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
11251         rulers.
11253 1999-08-24  James Henstridge  <james@daa.com.au>
11255         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
11256         to try to stop ellipse to get infinite width/height when we resize,
11257         while trying to keep the text inside the ellipse.
11259         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
11260         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
11261         resizing behaviour, so that you can't push objects round the screen
11262         with the resize handles.
11264         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
11265         get the OK buttons in the dialogs to take default clicks.
11267         * objects/custom/custom_object.c: added code so that resizing the
11268         shape does not end up pushing it round the screen.
11270 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
11272         * app/display.[ch]:
11273         Generate rectangle with the union of the damaged regions.
11274         This is used to optimize the grid paint and the object rendering.
11275         display_render_pixmap passes this info to grid_draw() and data_render().
11277         * app/grid.[ch]:
11278         grid_draw doesn't draw grid lines outside of damaged rectangle.
11279         Sets dashlength when drawing non-solid grid.
11280         
11281         * lib/diagramdata.[ch]:
11282         data_render() and layer_render() takes an optional damaged rectangle
11283         argument. No objects not intersecting this are drawn.
11285         * app/diagram.c:
11286         Fix warning.
11287         Call data_render with NULL update rectangle.
11288         
11289 1999-08-23  James Henstridge  <james@daa.com.au>
11291         * objects/custom/custom_object.c (custom_update_data): if the aspect
11292         ratio is fixed, make sure the shape is not distorted.
11294         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
11295         a <fixaspectratio/> tag is given in the shape file.
11297         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
11298         added support for stroke-width, stroke and fill CSS attributes
11299         specified in style attributes of the SVG elements.  The line width
11300         is relative to the user specified line width.  The stroke and fill
11301         attributes can only be used to swap the foreground/background
11302         colours.
11304         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
11305         sensitivity on the dash length selector when this function is called.
11307         * objects/standard/arc.c: same.  Also handle dash length.
11308         * objects/standard/zigzagline.c: same.
11309         * objects/standard/polyline.c: same.  Also handle dash length.
11310         * objects/standard/line.c: use default arrow/line styles.
11312         * app/interface.c: added callbacks to set the default attributes.
11314         * lib/attributes.c: added implementations of these functions.
11316         * lib/attributes.h: added extra prototypes for the new line properties
11317         area in the toolbox.
11319         * app/interface.c (create_lineprops_area): added line properties
11320         area to bottom of toolbox.
11322         * app/lineprops_area.h: a header exporting a few routines of the
11323         line properties area widgets.
11325         * app/lineprops_area.c: new file containing a selector for arrows
11326         and line styles to go in the main toolbox.
11328 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
11330         * HACKING:
11331         Update Gtk+ 1.0.5 comment to 1.2.0.
11333         * INSTALL:
11334         Demand libtool 1.3
11336         * acconfig.h:
11337         Add HAVE_LIBPOPT
11339         * configure.in:
11340         Make sure we don't propagate -ldl and -lpopt to all LIBS
11341         by adding new var APP_LIBS that only app/dia links with.
11342                 
11343         * app/Makefile.am:
11344         Update run_dia.sh to load custom and flowchart objects.
11346         * objects/ER/Makefile.am:
11347         * objects/FS/Makefile.am:
11348         * objects/UML/Makefile.am:
11349         * objects/network/Makefile.am:
11350         * objects/standard/Makefile.am:
11351         * objects/sybase/Makefile.am:
11352         Don't build versioned libs.     
11353         
11354 1999-08-22  James Henstridge  <james@daa.com.au>
11356         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
11357         list.
11359         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
11360         should actually work a bit now.
11362         * objects/custom/Circuit/*: a test sheet for the custom shape code.
11363         It is a small collection of circuit elements.
11365         * objects/custom/shape_info.c: fixed up loading of polylines and
11366         polygons.  Before it was removing negative signs :(
11368         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
11369         placeholder was here before.  I still need to work out how to set
11370         icons for individual custom shapes.
11371         
11372         * objects/custom/custom.c: added code to load the shapes into sheets
11373         properly.  The shape files should be arranged into directories, and
11374         each directory represents a different sheet in the toolbox.  This
11375         will make it very easy to distribute a collection of dia shapes as
11376         a tarball.  I still need to work out internationalisation, and maybe
11377         also shape ordering in the sheet.
11379         * objects/custom/custom_object.c: fixed up dialogs for these objects.
11380         (custom_create): fix for objects without text areas.
11382         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
11383         and saving of custom object works correctly now.
11385 1999-08-21  James Henstridge  <james@daa.com.au>
11387         * objects/flowchart/ellipse.c: 
11388         * objects/flowchart/diamond.c: 
11389         * objects/flowchart/parallelogram.c: 
11390         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
11391         copying or loading these object types.  Not all the connection
11392         points would be initialised correctly.
11394         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
11395         similar here.
11397         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
11398         build a versioned library.  It will only ever be dlopen'd, so this
11399         is not a problem.
11401         * objects/custom/custom_object.c (custom_distance_from): allow
11402         selecting the object by clicking on the text.  This fixes problems
11403         where the text box is outside the graphic.
11405         * objects/custom/shape_info.c (load_shape_info): fixed up reading
11406         of connections points.  It should be possible to add connections
11407         to custom objects now.
11409         * objects/custom/custom_object.c (custom_update_data): fixed resizing
11410         due to changes to text.
11412         * configure.in: added extra makefiles.
11413         
11414         * objects/custom/shape_info.[ch]:
11415         * objects/custom/custom_object.c:
11416         * objects/custom/custom.c: the starts of custom shape support in dia.
11417         This is not built by default at the moment, since it is not quite
11418         complete.  When it is, it will let you create more shapes for dia
11419         without writing a line of C.  Its implementation includes buzzwords
11420         such as XML and SVG, so it must be good :)
11422 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
11424         * app/app_procs.c (app_exit): Use button labels "Quit" and
11425         "Cancel" instead of "Yes" and "No".
11426         Set default action to "Cancel" instead of "Quit".
11428 1999-08-19  James Henstridge  <james@daa.com.au>
11430         * objects/flowchart/flowchart.c: added ellipse object.
11431         
11432         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
11434 1999-08-18  James Henstridge  <james@daa.com.au>d
11436         * app/color_area.c (color_area_edit): small fix to prevent dia from
11437         segfaulting when you try to change the default foreground/background.
11439 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
11441         * app/diagram.[ch] (diagram_redraw_all):
11442         Added function that redraws all diagrams.
11444         * app/preferences.c (prefs_apply):
11445         Call diagram_redraw_all when prefs are changed.
11447         * app/render_svg.c:
11448         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
11449         older libxml's, and the old version works good enought here.
11450         
11451 1999-08-17  James Henstridge  <james@daa.com.au>
11453         * lib/widgets.c: changed handlers that were connected to the GtkButton
11454         "pressed" signal to connect to the "clicked" signal.  This removes the
11455         problem where dialogs are inactive until you click a mouse button
11456         after using a colour selector.
11458         * configure.in: added extra makefiles to AC_OUTPUT list.
11459         
11460         * objects/Makefile.am (SUBDIRS): added flowchart module
11462         * objects/flowchart/*: a collection of shapes for use in flowcharts.
11464         * app/color_area.c (color_area_events): similar here.
11466         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
11467         event is recieved with event->width == 0, which causes a warning if we
11468         try to create a pixmap of that width.
11470         * app/preferences.c, app/preferences.h, app/grid.c: added code to
11471         allow you to configure the colour of the grid, and also lets you
11472         set the grid to use dotted lines instead of solid ones.
11473         
11474         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
11475         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
11476         
11477         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
11478         export filter.  It is not quite complete, but for most shapes it
11479         works as expected.  Fonts still need a bit of work.
11481 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
11483         * configure.in: Added "en_GB" to ALL_LINGUAS.
11485 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
11487         * menus.c
11488         Added Undo and Redo to GNOME menus.
11489         
11490         * objects/ER/attribute.c:
11491         * objects/ER/entity.c:
11492         * objects/ER/participation.c:
11493         * objects/ER/relationship.c:
11494         Added get/set_state functions.
11496         * objects/ER/participation.c:
11497         Added add/delete segment.
11499         * po/sv.po
11500         Updated Swedish translation.
11502 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
11504         * app/preferences.[hc]:
11505         Added undo_depth pref.
11506         
11507         * app/undo.[ch]:
11508         Never grow stack larger than pref.undo_depth.
11509         undo_depth == 0 means unlimited.
11510         Converted printfs to conditionally compiled DEBUG_PRINTFs.
11511         
11512 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
11514         * app/diagram.c:
11515         * app/group.c:
11516         * lib/object.h:
11517         * lib/render_object.c:
11518         * objects/ER/attribute.c:
11519         * objects/ER/entity.c:
11520         * objects/ER/participation.c:
11521         * objects/ER/relationship.c:
11522         * objects/FS/flow-ortho.c:
11523         * objects/FS/flow-poly.c:
11524         * objects/FS/flow.c:
11525         * objects/FS/function.c:
11526         * objects/UML/actor.c:
11527         * objects/UML/association.c:
11528         * objects/UML/class.c:
11529         * objects/UML/classicon.c:
11530         * objects/UML/component.c:
11531         * objects/UML/constraint.c:
11532         * objects/UML/dependency.c:
11533         * objects/UML/generalization.c:
11534         * objects/UML/implements.c:
11535         * objects/UML/large_package.c:
11536         * objects/UML/lifeline.c:
11537         * objects/UML/message.c:
11538         * objects/UML/note.c:
11539         * objects/UML/object.c:
11540         * objects/UML/realizes.c:
11541         * objects/UML/small_package.c:
11542         * objects/UML/state.c:
11543         * objects/UML/usecase.c:
11544         * objects/network/bus.c:
11545         * objects/standard/arc.c:
11546         * objects/standard/box.c:
11547         * objects/standard/ellipse.c:
11548         * objects/standard/image.c:
11549         * objects/standard/line.c:
11550         * objects/standard/polyline.c:
11551         * objects/standard/textobj.c:
11552         * objects/standard/zigzagline.c:
11553         Removed all traces of is_empty(). It doesn't work in an
11554         Undo/Redo world.
11556 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
11558         * app/diagram.c:
11559         * app/group.[ch]:
11560         * app/undo.[ch]:
11561         Undoable grouping and ungrouping.
11563         * app/layer_dialog.c:
11564         * lib/diagramdata.[ch]:
11565         Undoable layer ops.
11567         * app/modify_tool.c:
11568         Undoable unconnect on handle move.
11570         * lib/orth_conn.[ch]:
11571         Working undoable add/remove segment.
11572         Removed endpoint_handles from OrthConn, renamed
11573         midpoint_handles to handles and put the endpoint
11574         handles there.
11576         * objects/standard/zigzagline.c:
11577         * objects/ER/participation.c:
11578         * objects/UML/association.c:
11579         * objects/UML/dependency.c:
11580         * objects/UML/generalization.c:
11581         * objects/UML/realizes.c:
11582         Update for the changes in OrthConn
11583         
11584 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
11586         * configure.in: Added "de" to ALL_LINGUAS.
11588 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
11590         * dia.1:
11591         Fixed typo.
11593         * app/display.c:
11594         * po/da.po:
11595         * po/fr.po:
11596         * po/hu.po:
11597         * po/no.po:
11598         * po/pl.po:
11599         * po/sv.po:
11600         Don't have the <Display> etc part of the menu strings
11601         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
11603         * app/diagram.c:
11604         Don't have the <Display> etc part of the menu strings
11605         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
11606         Don't remove is_empty() objects, that don't work with undo.
11608         * lib/objchange.[ch]:
11609         New files.
11610         Definition of ObjectChange. This is essentially an Change
11611         exported to the object libs. It encapsulates a change made
11612         to an objects internals. It can be applied, reverted and freed.
11613         There are also utility functions for doing ObjectChanges that
11614         only get/set the whole state of an object to store the change.
11615         This cannot be used when the object change deletes or adds a
11616         object which has references from other objects, eg. Handles which
11617         might be connected.
11619         * lib/Makefile.am:
11620         Added objchange.c and objchange.h.
11622         * lib/dia_image.c:
11623         Return NULL when loading fails.
11625         * lib/diamenu.h:
11626         Menu callbacks return an ObjectChange.
11628         * lib/dummy_dep.h:
11629         Reference objchange.o
11631         * lib/focus.h:
11632         Key events return ObjectChange if they modify the object.
11634         
11635         * lib/object.h:
11636         Added object_add_handle_at() function.
11637         Apply properties returns an ObjectChange.
11638         Remove ObjectState and the get/set state functions, these
11639         don't always work. Use the new ObjectChange instead.
11640         
11641         * lib/object.c:
11642         Added object_add_handle_at() function implementation.
11643         
11644         * lib/orth_conn.[ch]:
11645         Use ObjectChange. Not finished yet.
11646         Removed get/set/free state functions
11648         * lib/poly_conn.[ch]:
11649         Use ObjectChange.
11650         Don't remove segments that are small.
11651         Removed get/set/free state functions
11653         * lib/text.[ch]:
11654         Use ObjectChange.
11655         Added functions to get/set all text attributes.
11657         * objects/standard/arc.c:
11658         * objects/standard/box.c:
11659         * objects/standard/ellipse.c:
11660         * objects/standard/image.c:
11661         * objects/standard/line.c:
11662         * objects/standard/polyline.c:
11663         * objects/standard/textobj.c:
11664         * objects/standard/zigzagline.c:
11665         Use ObjectChange.
11666         fixed bug in image_set_state.
11667         zigzagline.c not finished yet.
11669         * app/disp_callbacks.c:
11670         Use ObjectChange that are returned from menu callbacks and
11671         key_events for undo.
11673         * app/properties.c:
11674         Use ObjectChange that are returned from properties apply
11675         for undo.
11677         * app/undo.c:
11678         * app/undo.h:
11679         New undo type: ObjectChangeChange. This wraps a change to the
11680         internals of an object (and ObjectChange) in code that does
11681         app specific stuff (object_add_updates etc.)
11683 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
11685         * lib/orth_conn.[ch]:
11686         Added code for add/delete segment.
11688         * objects/standard/zigzagline.c:
11689         Use the new orth_conn code.
11690         
11692 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
11694         * objects/FS/Makefile.am
11695         Removed fs.h from sources.
11697         * Makefile.am
11698         * dia.1
11699         Added man page.
11701 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
11703         * app/disp_callbacks.c (ddisplay_canvas_events):
11704         Fix for bug. Every other arrow-key press got lost.
11705         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
11707         * INSTALL:
11708         change automake.sh to autogen.sh
11709         
11710 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
11712         * app/diagram.c:
11713         Don't remove 'empty' objects.
11714         This violent destruction of objects won't work
11715         with the new undo framework.
11717         * app/disp_callbacks.c:
11718         Save undo info for object menu calls and key_events.
11720         * app/properties.c:
11721         Save undo info on properties apply.
11723         * lib/dia_image.[ch]:
11724         Add refcounting for images.
11726         * app/render_eps.c:
11727         * app/render_gdk.c:
11728         * lib/render.h:
11729         DiaImage * -> DiaImage
11731         * app/undo.[ch]:
11732         Add undo functions for object state changes.
11734         * lib/focus.h:
11735         * lib/text.c:
11736         change of semntics for focus->key_event.
11737         Now returns TRUE if the object recieving the event
11738         was changed.
11740         * lib/object.h:
11741         Comment changes.
11743         * lib/orth_conn.[ch]:
11744         Don't automatically create and delete segments when
11745         handles are moved. This is incompatible with undo.
11746         Added state get, set and free functions.
11748         * lib/orth_conn.[ch]:
11749         Added state get, set and free functions.
11751         * objects/UML/object.c:
11752         * objects/UML/uml.c:
11753         Fixed typo "UML - Objet" -> "UML - Object".
11754         Saved old for backwards compatibility.
11756         * objects/standard/arc.c:
11757         * objects/standard/box.c:
11758         * objects/standard/ellipse.c:
11759         * objects/standard/image.c:
11760         * objects/standard/line.c:
11761         * objects/standard/polyline.c:
11762         * objects/standard/textobj.c:
11763         * objects/standard/zigzagline.c:
11764         Added get/set state functions.
11765         Textobj has a redo crash-bug.
11766         Zigzagline needs object menus to add segments.
11767         
11769 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
11771         * app/render_eps.c (set_dashlength):
11772         Don't generate eps files with zero dash-length.
11774 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
11776         * app/commands.c:
11777         * app/create_object.c:
11778         * app/undo.[ch]:
11779         Finished undo for create and paste.
11780         
11781         * lib/object.h:
11782         Started properties undo.
11784 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
11786         * TODO:
11787         Added resizeable groups.
11789         * app/app_procs.c:
11790         Removed unused variable.
11792         * app/commands.c:
11793         * app/undo.[ch]:
11794         Undo/redo for cut/delete done.
11796         * app/create_object.c:
11797         * app/modify_tool.c:
11798         * lib/diagramdata.[ch]:
11799         * app/diagram.[ch]:
11800         renamed diagram_add_selected -> diagram_select
11801         renamed diagram_remove_selected -> diagram_unselect
11802         
11803         * app/properties.[ch]:
11804         Added properties_hide_if_shown() function.
11806 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
11808         * app/undo.[ch]:
11809         * app/Makefile.am:
11810         Undo functions.
11811         
11812         * app/commands.[ch]
11813         * app/modify_tool.[ch]
11814         * app/object_ops.[ch]
11815         * app/connectionpoint_ops.c
11816         * app/menus.c
11817         Use undo functions.
11818         WARNING: Not finished. Will break.
11819         Finished: move object, move handle.
11821         * app/diagram.[ch]
11822         Added diagram_selected_break_external() function.
11823         It removes all connections between selected objects
11824         and non-selected.
11825         Add undo stack to Diagram.
11826         
11827         * lib/diagramdata.[ch]
11828         Added layer_remove_objects() function
11829         
11830 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
11832         * objects/FS/Makefile.am
11833         * objects/sybase/Makefile.am
11834         Now uses GNOME_CFLAGS.
11836         * app/app_procs.c
11837         Now compiles with GNOME even if popt.h isn't available.
11839 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
11841         * configure.in
11842         * objects/Makefile.am
11843         * objects/sybase/*
11844         First version of sybase objects from
11845         Brian Bruns <camber@umcc.ais.org>
11847 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
11849         * configure.in
11850         Added fr to ALL_LINGUAS
11852 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
11854         * configure.in
11855         * app/app_procs.c
11856         Popt-code is activated if popt is available.
11858 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
11860         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
11861         
11862         * lib/orth_conn.[ch]:
11863         Added orthconn_get_middle_handle()
11865         * lib/text.[ch]:
11866         Added text_set_cursor_at_end()
11867         
11868         * objects/FS/*
11869         Added first version of functions structure diagrams.
11870         
11871 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
11873         * app/modify_tool.c:
11874         Include math.h to remove warning.
11876         * app/commands.c (dialogs_properties_callback):
11877         Bring up correct properties dialog when selected
11878         from menu.
11879         From Dan Cohn <dan@internap.com>
11881 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
11883         Patch from Lars R. Clausen 
11884         
11885         * app/modify_tool.c:
11886         Changed abs to fabs.
11888 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
11890         * INSTALL: 
11891         * configure.in:
11892         Require Gtk+ 1.2.0
11894 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
11896         Patches from Dan Cohn <dan@internap.com>
11897         
11898         * app/commands.[ch]: 
11899         * app/display.[ch]: 
11900         * app/menus.c:
11901         * app/preferences.[ch]:
11902         Implements ability to turn on/off connection points in
11903         current drawing and in global prefs.
11905 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
11907         * lib/widgets.c (dia_line_style_selector_init): 
11908         Fixed warnings.
11909         
11910         * lib/diagramdata.c (layer_update_extents):
11911         Fixed uninitialized variable error.
11913 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
11915         * lib/dia_image.c:
11916         Made some changes to the gdk_imlib visual+colormap setup.
11918 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
11920         * objects/UML/usecase.c: 
11921        * objects/UML/lifeline.c
11922         Fine tunning.
11924         * objects/UML/object.c: 
11925         * objects/UML/message.c: 
11926         Changed font from Courier to Helvetica.
11928         * lib/widgets.c: 
11929         * lib/widgets.h:
11930         Added dash lenth to the LineStyle widget.
11931         
11932         * objects/standard/ellipse.c :
11933         * objects/standard/zigzagline.c: 
11934         * objects/standard/line.c: 
11935         Added dash lenght property.
11937 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
11939         * app/render_eps.c:
11940         First shot at latin1 encoded eps files.
11941         Works, but the eps files get a bit large.
11942         
11943 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
11945         * objects/UML/class.[ch]: 
11946         * objects/UML/uml.[ch]:
11947         Reverted the line wrap changes.
11948         Some day this might return, but it has to be selectable and
11949         default to off for loaded objects, otherwise it breaks file
11950         format compatibility.
11951         There was also some complains about how it looked, so a making it
11952         selectable is good for this too.
11954 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
11956         * objects/UML/class.[ch]:
11957         Some indentation cleanup.
11958         Added wrap_lines variable to class.
11959         I'll fix the line break stuff tomorrow.
11961 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
11963         * lib/dummy_dep.h:
11964         Added ref to poly_conn.o.
11966         * objects/standard/polyline.c (polyline_draw): 
11967         * objects/standard/zigzagline.c (zigzagline_draw): 
11968         * objects/standard/arc.c (arc_draw): 
11969         * objects/standard/line.c (line_draw):
11970         Draw lines before arrows. This makes hollow arrows not
11971         show the line.
11973 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
11975         Changes from Kim Peasley <kpeasley@ior.com> 
11976                 
11977         * objects/UML/class.c:
11978         Break lines with long operations so classes won't be
11979         so wide.
11981         * objects/UML/uml.[ch]:
11982         Helperfunctions for the above.
11983         
11984         * objects/UML/objects.c:
11985         Fix bug that duplicated the text in the attributes
11986         textwidget each time the object was selected.
11987         
11988 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
11990         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
11991         
11992         * app/modify_tool.c:
11993         * app/modify_tool.h:
11994         Control-drag is restricted to vertical/horizontal movement
11995         
11996         * lib/object.h:
11997         ModifierKeys argument added to object_move_handle
11999         * app/connectionpoint_ops.c:
12000         * app/create_object.c:
12001         * app/object_ops.c:
12002         * objects/ER/attribute.c:
12003         * objects/ER/entity.c:
12004         * objects/ER/participation.c:
12005         * objects/ER/relationship.c:
12006         * objects/UML/actor.c:
12007         * objects/UML/association.c:
12008         * objects/UML/class.c:
12009         * objects/UML/classicon.c:
12010         * objects/UML/component.c:
12011         * objects/UML/constraint.c:
12012         * objects/UML/dependency.c:
12013         * objects/UML/generalization.c:
12014         * objects/UML/implements.c:
12015         * objects/UML/large_package.c:
12016         * objects/UML/lifeline.c:
12017         * objects/UML/message.c:
12018         * objects/UML/note.c:
12019         * objects/UML/object.c:
12020         * objects/UML/realizes.c:
12021         * objects/UML/small_package.c:
12022         * objects/UML/state.c:
12023         * objects/UML/usecase.c:
12024         * objects/network/bus.c:
12025         * objects/standard/arc.c:
12026         * objects/standard/box.c:
12027         * objects/standard/ellipse.c:
12028         * objects/standard/image.c:
12029         * objects/standard/line.c:
12030         * objects/standard/polyline.c:
12031         * objects/standard/textobj.c:
12032         * objects/standard/zigzagline.c:
12033         Changed calls to move_handle to pass the new argument.
12034         
12035         * lib/widgets.c:
12036         * lib/widgets.h:
12037         Default line width, color etc #define'd
12038         
12039         * po/da.po:
12040         Updates of danish menus
12042 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
12044         * dia.xpm
12045         * dia_gnome_icon.png
12046         * dia_gnome_menu_icon.png
12047         * dia_logo.png
12048         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
12050         * app/commands.c
12051         About dialog shows dia_logo.png. Removed the GNOME about dialog.
12053         * Makefile.am
12054         Distribute the icons and install logo in pkgdatadir.
12055         
12056         * app/Makefile.am
12057         Added DATADIR-define.
12058         
12059 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
12060         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
12062         * dia.spec:
12063         Updated version number, made setup quiet, can build from cvs,
12064         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
12066         * lib/Makefile.am
12067         * objects/ER/Makefile.am
12068         * objects/UML/Makefile.am
12069         * objects/network/Makefile.am
12070         * objects/standard/Makefile.am
12071         now builds better with gnome
12073         * objects/UML/class_dialog.c
12074         Fixed typo -> po files must be updated too!!
12075         
12076 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
12078         * lib/dummy_dep.h:
12079         Added reference so that widgets.o gets linked to the app.
12081 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12083         * objects/UML/classicon.c: 
12084         Added object mode.
12086         * objects/UML/actor.c: 
12087         Changed position of 'snap-to-grid' so connection points are
12088         in the grid.
12090 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
12092         * objects/UML/classicon.c:
12093         Changed position of 'snap-to-grid'.
12094         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
12095         
12096 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
12098         * objects/network/antenna.c
12099         * objects/network/flash.c
12100         * objects/network/hub.c
12101         * objects/network/modem.c
12102         * objects/network/modularswitch.c
12103         * objects/network/rj45plug.c
12104         * objects/network/scead-plug.c
12105         * objects/network/network.c
12106         * objects/network/Makefile.am
12107         * objects/network/pixmaps/antenna.xpm
12108         * objects/network/pixmaps/flash.xpm
12109         * objects/network/pixmaps/hub.xpm
12110         * objects/network/pixmaps/modem.xpm
12111         * objects/network/pixmaps/modularswitch.xpm
12112         * objects/network/pixmaps/rj45plug.xpm
12113         * objects/network/pixmaps/sceadplug.xpm
12114         * objects/network/pixmaps/Makefile.am
12115         Lots of new network objects from
12116         Roland Steinbach <roland@support-system.com>.
12118 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12120         * objects/UML/classicon.c: 
12121         Fixed connection positions, saved type as int (it has 3 states),
12122         and other small fixes.
12123         
12124 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
12126         * app/preferences.c:
12127         * app/load_save.c:
12128         Added preference compress_save. It lets dia save uncompressed
12129         xml files.
12131         * objects/UML/class.c:
12132         Fixed bug with size calculation on methods that had class scope.
12133         
12134 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12136         * objects/UML/usecase.c: 
12137         Added collaboration mode
12138         Fixed connection points with text > ellipse bug and other 
12139         small things
12141         * objects/UML/state.c:
12142         Fixed bug of bad position of text after being either end
12143         or begin, moved and returned to text
12145 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12147         * app/preferences.c: Add prototype declaration for prefs_apply.
12149 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
12151         * app/preferences.c:
12152         Added 'ok' button.
12153         Apply don't hide window.
12155         * app/properties.c:
12156         Add 'ok' button.
12158         * objects/UML/object.c:
12159         * objdcts/UML/state.c:
12160         Some data was not copied on copy.
12162         This patch is from
12163         Ben Hochstedler <benh@eeyore.moneng.mei.com>
12165 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
12167         * app/Makefile.am:
12168         Changed link order between X and libxml.
12169         Some people had problems with an old libz in their
12170         x11 directory.  
12172 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
12174         * po/no.po: updated translation.
12175         
12176 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
12178         * lib/message.c (message_error):
12179         Fixed small error.
12181         * app/commands.[ch]:
12182         * app/diagram.[ch]:
12183         Added begining of xfig importing
12185 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12187         * objects/UML/pixmaps/state.xpm: 
12188         * objects/UML/state.c: 
12189         New UML object state machine.
12191         * objects/UML/uml.c:
12192         * objects/UML/Makefile.am:
12193         * objects/UML/pixmaps/Makefile.am:
12194         Added the state object.
12195         
12196 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
12198         * objects/UML/usecase.c: 
12199         Added dialog to allow move text outside the ellipse.
12201 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
12203         * Released Dia 0.41
12204         Tag called DIA_0_41
12206         * NEWS:
12207         Updates for 0.41.
12208         
12209 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
12211         * configure.in:
12212         Updated version number to 0.41
12214         * po/*.po:
12215         Update po-files
12217 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
12219         * app/app_procs.c
12220         Changed errormessage for --export-to-ps. Removed call to 
12221         g_log_set_always_fatal().
12223         * app/diagram.c
12224         * app/disp_callbacks.c
12225         * app/load_save.c
12226         (i18n) Removed gettext from some debugmessages.
12228         * app/menus.c
12229         Small fix in GNOME-menus. Added warning that will help track
12230         problems with translations.
12232         * po/sv.po
12233         (i18n) Updated swedish translation.
12235 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
12237         * po/da.po:
12238         New updates
12240 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
12242         * po/da.po:
12243         * po/no.po:
12244         Some fixes.
12245         
12246 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
12248         * po/da.po:
12249         (i18n) Updated the danish translation.
12250         From Lars R. Clausen.
12252 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
12254         * app/menus.c
12255         (i18n) The popup menu is translated now.
12257         * po/sv.po
12258         (i18n) Updated swedish translation.
12260 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
12262         * Released Dia 0.40
12263         Tag called DIA_0_40
12265         * NEWS:
12266         Updated for new release
12267         
12268 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
12270         * objects/network/bus.c:
12271         Added initialization of properties dialog to NULL.
12273         * app/commands.c (edit_cut_callback):
12274         Update menu sensitivity when cut object.
12276         * app/modify_tool.c (click_select_object):
12277         * app/modify_tool.c (modify_button_release): 
12278         Call diagram_update_menu_sensitivity() when
12279         selecting objects to update stuff that depends
12280         on selected/not selected.
12282 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
12284         * Makefile.am:
12285         Change order of subdir so that libintl.a builds.
12286         Now passed make distcheck.
12288 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12290         * lib/font.c (init_x11_font):
12291         Stupid bug fixed.
12293 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12295         * objects/UML/pixmaps/classicon.xpm: 
12296         * objects/UML/classicon.c:
12297         * objects/UML/uml.c:
12298         Added the class stereotype icon objects.
12300         * app/commands.c:
12301         Changed default ps extension from .ps to .eps.
12302         
12303 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12305         * lib/Makefile.am:
12306         Added diamenu.h and intl.h
12308         * lib/font.c:
12309         Stupid typo fix.
12310         
12311         * objects/UML/pixmaps/Makefile.am:
12312         Added message.xpm
12314         * objects/standard/pixmaps/Makefile.am:
12315         Added image.xpm
12317 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12319         * lib/font.c:
12320         Use a scalable font before fixed when real font not found.
12322         * app/commands.c:
12323         Removed warning.
12325         * objects/standard/image.c:
12326         Better handling of loading/saving of images.
12328         * INSTALL:
12329         Added some text about cvs, fonts and rewrote some parts.
12331         * TODO:
12332         Updated with new stuff.
12333         
12334         * configure.in:
12335         Bump up version number to 0.40.
12336         
12337 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12339         * app/display.c:
12340         Moved diagram_add_ddisplay() call into new_display().
12341         Fixed new_display to not use uninitialized variables
12342         causing loaded files to show up as black (or garbage).
12343         
12344         * app/commands.c:
12345         * app/app_procs.c:
12346         Removed unneeded calls to diagram_add_ddisplay().
12347         
12348 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12350         * objects/UML/lifeline.c:
12351         Fixed bug in copy.
12352         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
12354         * objects/UML/message.c:
12355         Fixed bug loading messages with null-text.
12356         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
12358 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
12360         * po/sv.po
12361         Updated swedish translation.
12363         * app/menus.c
12364         (GNOME) Removed help-browser from help menu. Fixed typo.
12366         * app/interface.c
12367         (GNOME) Accelerators in diagrams should work now. 
12369 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
12371         * app/app_procs.c
12372         * app/commands.c
12373         * app/defaults.c
12374         * app/disp_callbacks.c
12375         * app/display.c
12376         * app/interface.c
12377         * app/menus.c
12378         * app/preferences.c
12379         * app/render_eps.c
12380         * lib/diagramdata.c
12381         * lib/font.c
12382         * lib/message.c
12383         * lib/widgets.c
12384         * objects/ER/*.c
12385         * objects/UML/*.c
12386         * objects/network/*.c
12387         * objects/standard/*.c
12388         * po/update_pofiles_in.sh
12389         * po/POFILES.in
12390         More i18n. All strings (expect rare debug messages) can be
12391         translated now. Moved intl.h from app to lib. Updated
12392         update_pofiles_in.sh to check all .c-files.
12394 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
12396         * app/disp_callbacks.c (ddisplay_canvas_events):
12397         Don't drop keys while num-lock, scroll-lock etc is on.
12399 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
12401         * app/render_eps.c (draw_image):
12402         Fixed exporting of images.
12403         Still not perfect, but not outright buggy.
12404         
12405 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
12407         * configure.in:
12408         * po/hu.po:
12409         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
12411         * app/Makefile.am:
12412         Added $* to the dia call in run_dia.sh
12414 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12415         
12416         * lib/color.[ch]:
12417         Added color_equals() call.
12419         * objects/standard/arc.c:
12420         * objects/standard/line.c:
12421         Don't save unneccesary data.
12422         
12423         * objects/standard/box.c:
12424         * objects/standard/ellipse.c:
12425         * objects/standard/image.c:
12426         * objects/standard/polyline.c:
12427         * objects/standard/zigzagline.c:
12428         Share properties dialog.
12429         Don't save unneccesary data.
12430         
12431 1999-03-22  Seth Alves  <alves@hungry.com>
12433         * app/menus.c:
12434         * app/diagram.c:
12435         * app/display.c:
12436         small changes so that gnome menus aren't broken
12437         
12438 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
12440         * po/da.po:
12441         Added danish translation from lrclause@cs.uiuc.edu.
12443         * po/POFILES.in:
12444         Updated file.
12446         * po/update_pofiles_in.sh:
12447         Added script that updates POFILES.in.
12448         This should probably be run automatically from somewhere.
12450 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
12452         * app/diagram.[ch]:
12453         Added function diagram_update_menu_sensitivity() which
12454         sets the sensitivity of some menu items. This function
12455         is called at each diagram state change (from diagram_modified()).
12456         This is needed  because otherwise the keyboard accelerators
12457         don't work correctly.
12459         * app/display.[ch]:
12460         Changed display_set_menu_sensitivity() to display_update_menu_state().
12461         Moved lots of code to diagram_update_menu_sensitivity() in
12462         diagram.c. Optimized to only look up menu-items from path:s once.
12463         
12464         * app/disp_callbacks.c:
12465         * app/interface.c:
12466         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
12467         Need to set GDK_FOCUS_CHANGE_MASK.
12468         
12469         * app/create_object.c:
12470         Call diagram_modified when an object has been created and
12471         selected so that the menu sensitivity is updated. 
12473         * app/menus.[ch]:
12474         removed menus_set_sensitive() and menus_set_state(). Exported
12475         renamed function menus_get_item_from_path().
12477 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
12479         * app/disp_callbacks.c:
12480         Show (empty) object menus on object that has none.
12481         Show title on object menus.
12483         * app/display.c:
12484         Set zoom factor correctly when opening new displays.
12485         Better setting of scrollbars.
12487         * app/grid.c:
12488         * app/menus.h:
12489         Some reformating cleanup.
12491         * lib/diamenu.h:
12492         Added title to object menus.
12494         * objects/*/*.c:
12495         Added object menu method (NULL-valued) to all objects.
12497         * objects/standard/polyline.c:
12498         Added title to object menu.
12500 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
12502         * app/preferences.[ch]:
12503         New files. Implements the preferences dialog and
12504         loading/saving of ~/.diarc.
12506         * app/Makefile.am:
12507         Added preferences.[ch].
12509         * app/app_procs.c:
12510         Load preferences on startup.
12512         * app/commands.[ch]:
12513         Added file_preferences_callback to show the preferences dialog.
12515         * app/create_object.c:
12516         Update extents when creating object.
12517         Use the reset_tools_after_create preferences setting.
12519         * app/display.c:
12520         Use preferences when creating new display.
12522         * app/menus.c:
12523         Add preferences to menu.
12525         * app/defaults.c:
12526         * app/layer_dialog.c:
12527         * app/properties.c:
12528         Don't allow shrinking of dialog.
12529         Add i18n of some strings.
12531 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
12532         * po/no.po:
12533         Norwegian translation added.
12534         
12535 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
12537         * objects/standard/line.c: 
12538         * objects/standard/arc.c: 
12539         * objects/standard/polyline.c: 
12540         * objects/standard/zigzagline.c:
12541         Loading of arrow data fixed.
12543 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
12545         * app/commands.c:
12546         Update extents when saving and exporting to postscript.
12547         Fixes a bug with postscript bounding-box being wrong.
12549         * app/defaults.c:
12550         Changed border width from 5 to 2.
12552         * app/group.c:
12553         Move grouped objects by the move-point of the first object.
12554         Fixes bug that made all objects in the group be off-grid
12555         when moving the group, even though all objects was on-grid.
12557         * app/layer_dialog.c:
12558         Update extents when changing layer.
12560 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12562        * objects/UML/uml.c: 
12563        * objects/UML/component.c: 
12564        * objects/UML/pixmaps/component.xpm: 
12565        Added the UML component object
12566         
12567 1999-03-04  Seth Alves  <alves@hungry.com>
12569         * objects/UML/generalization.c (generalization_create): avoid
12570         math on uninitialized genlz->text_width (NaN causes sigfpe)
12571         
12572         * objects/UML/realizes.c (realizes_create): same
12574         * objects/UML/dependency.c (dependency_create): same
12576 1999-03-01  Seth Alves  <alves@hungry.com>
12578         * app/display.c (ddisplay_active): don't fly a warning panel
12579         if ddisplay_active is called when no views are open.
12581         * app/commands.c (set_default_file_selection_directory): set
12582         file selector's default directory if there is already
12583         a document open.
12585 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
12587         * INSTALL:
12588         New info about imlib requirements.
12590         * Configure.in:
12591         Added lib/pixmaps/Makefile to created makefiles.
12593         * app/app_procs.c:
12594         * app/commands.c:
12595         Change from obsoleted to newer gtk calls.
12596         
12597         * load_save.c:
12598         Pass filename of the diagram when loading and saving.
12599         This creates better oportunities to handle filename saving.
12601         * lib/object.h:
12602         Pass filenames to load and save methods.
12603         
12604         * lib/dia_image.[ch]:
12605         Added dia_image_get_broken() call that returns a image which
12606         is used for 'broken' images.
12607         
12608         * lib/pixmaps/.cvsignore:
12609         * lib/pixmaps/Makefile.am:
12610         * lib/pixmaps/broken.xpm:
12611         New files for the broken image bitmap.
12613         * lib/widgets.c:
12614         Fixed bug with double destroyed filedialog.
12616         * objects/*/*.c:
12617         Updated load and save prototypes to use the new filename argument.
12619         * objects/image.c:
12620         Render broken image instead of line when got no image.
12621         Use the new filename in load and save to save (if possible)
12622         relative pathnames and to better try to find loaded images.
12624 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
12626         * TODO:
12627         Some updates to the todo file.
12628         
12629         * app/menus.c:
12630         * app/display.c:
12631         Place over/place over => sent to back/bring to front.
12632         Added some keyboard shortcuts to menus.
12633         
12634 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
12636         * lib/dia_xml.c:
12637         Changed string saving/loading to a new method. This should
12638         be much better att handling &,<,> and whitespaces.
12639         Loading strings of the old kind is still supported for backwards
12640         compatibility.
12642         * samples/ER-demo.dia:
12643         * samples/UML-demo.dia:
12644         Updated to use the new strings.
12645         
12646         * app/load_save.c:
12647         statusbar modified update fix.
12649 1999-02-27  Seth Alves  <alves@hungry.com>
12651         * app/app_procs.c (app_init): added a --export-to-ps option
12652         which will cause dia to load a dia file and save it as ps
12653         and then exit.  this is a little bogus, because it still
12654         pops up a window.  this option only shows up if --enable-gnome
12655         is used
12657         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
12658         menu when built with --enable-gnome
12660         * app/interface.c (create_display_shell): build status bar
12661         even if --enable-gnome is used
12663         * app/menus.c: menu fixes for --enable-gnome
12665         * app/commands.c (file_open_dialog_ok_callback): fixed up
12666         menus when --enable-gnome is used
12667         (file_export_to_eps_callback): set a default file name
12668         when dialog is created
12670 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
12672         * objects/UML/association.c (association_create):
12673         Fixed usage of not initialized variable.
12674         Pointed out by Seth Alves <alves@hungry.com>.
12676 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
12678         * configure.in:
12679         Fixed detection of gnome-xml.
12680         From Valtteri Vuorikoski <vuori@k.notcom.org>.
12681         
12682         * app/app_procs.c:
12683         Fixed error detection on dlsym calls. 
12684         From Valtteri Vuorikoski <vuori@k.notcom.org>.
12686 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
12688         * objects/UML/message.c (fill_in_dialog):
12689         Fixed warnings.
12691 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12693         * objects/standard/zigzagline.c:
12694         * objects/standard/polyline.c:
12695         * objects/standard/line.c:
12696         * objects/standard/arc.c:
12697         * lib/widgets.h:
12698         * lib/arrows.h:
12699         * lib/widgets.c:
12700         Support for sizeable arrows. 
12702         * objects/standard/box.c:
12703         * objects/standard/ellipse.c:
12704         * objects/standard/image.c:
12705         Changed creation handle to lower-right.
12706         Transparent box/ellipse.
12707         
12708         * objects/standard/image.c:
12709         Better layout of properties boxes.
12711 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12713         * objects/UML/message.c (fill_in_dialog): 
12714         Fixed dialog fill in. Common dialog for all messages.
12716         * objects/UML/object.c: 
12717         Added multiple instance. Dialog related bugs fixed.
12718         Common dialog for all instances. Completed copy and destroy.
12720         * objects/UML/lifeline.c (lifeline_load): 
12721         Conn initialization bug fixed and few bad loading prevention flags.
12722         Common dialog for all lifeline objects.
12723         
12724 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
12726         * lib/dia_image.[ch]:
12727         More work on the DiaImage abstraction.
12728         
12729         * app/app_procs.c:
12730         * app/render_eps.c:
12731         * app/render_gdk.c:
12732         * objects/standard/image.c:
12733         Use the new DiaImage calls.
12735 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
12737         * app/menus.c:
12738         * app/display.c:
12739         Reversed the meaning of align horizontal/vertical.
12741 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
12743         * app/load_save.c (diagram_load):
12744         Statusbar update fix.
12746 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
12748         * app/interface.c (create_display_shell):
12749         Fixed status bar size.
12750         
12751 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
12753         * lib/dia_image.[ch]:
12754         Added extern declaration for dia_image_release.
12755         Removed dia_image_draw, as it's not neseccary.
12757 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12758         
12759         * app/object_ops.c: 
12760         * app/menus.c: 
12761         Added equal distance alignment both vertical and horizontal.
12762         
12763         * objects/UML/object.c: 
12764         Added a couple of attributes to load/read that were missing.
12766         * objects/UML/lifeline.c: 
12767         Better handling of handles. Fixed another bug I forgot to add
12768         to my last patch.
12769         
12770 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
12772         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12773         
12774         * lib/dia_image.[ch]:
12775         * lib/Makefile.am:
12776         New files. DiaImage wraps the GdkImlibImage.
12778         * lib/render.h:
12779         * app/render_eps.c:
12780         * app/render_gdk.c:
12781         * lib/render_store.[ch]:
12782         * objects/standard/image.c:
12783         Use the new DiaImagetype.
12785         * lib/widgets.c:
12786         Removed unused variable to eliminate  warning.
12788 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
12790         * objects/standard/box.c:
12791         Added rounded corners on the box object.
12793         * lib/widgets.[ch]:
12794         Updated the DiaFileSelector widget.
12795         
12796 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12798         * objects/UML/object.c (objet_draw): 
12799         Completed underlining of all object name lines. 
12801         * objects/UML/message.c (fill_in_dialog): 
12802         Fixed a bug that filled incorrectly the message's dialog.
12804         * objects/UML/lifeline.c (lifeline_load): 
12805         Some cleanning and fixed a couple of bugs that caused
12806         crashes after reading diagrams with lifelines.
12808         * lib/text.c: 
12809         Added flags to prevent crash with void strings
12811 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
12812         * app/display.[ch]:
12813         Added statusbar to the display widget. Currently shows the zoom
12814         factor and modified flag of the viewed diagram. The statusbar is
12815         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
12816         This caused the following additions:
12817         
12818         * app/diagram.[ch]:
12819         Added function diagram_set_modified. Calls
12820         ddisplay_update_statusbar for all displays showing the modified diagram.
12821         Changed diagram_modified to call diagram_set_modified.
12822         
12823         * app/interface.c:
12824         Added the creation of the statusbar.
12825         
12826         * app/load_save.c:
12827         diagram_save now calls diagram_set_modified instead of setting
12828         dia->modified. Needed to force call to display_update_statusbar
12829         
12830         * app/commands.c:
12831         Changed the way view_show_all works. Now calls ddisplay_zoom
12832         instead of directly setting the zoom_factor, so the zoom factor is
12833         correctly shown in the statusbar.
12835         * app/magnify.c:
12836         Fixed rubberband zoom to use ddisplay_zoom().
12837         
12838 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
12840         * app/app_procs.c
12841         Rudimentary GNOME session management.
12842         
12843         * app/disp_callbacks.c
12844         * app/interface.c
12845         * app/menus.c
12846         * app/menus.h
12847         GNOME menus. Problems: 
12848         Callbacks doesn't get user_data.
12849         Weird warnings when creating popup menus.
12850         menus_set_sensitive(), menus_set_state() doesn't work.
12852 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12854         * configure.in:
12855         Add AM_PATH_GDK_IMLIB() call.
12857         * app/Makefile.am:
12858         Add gdk_imlib to linking flags.
12860         * app/app_procs.c:
12861         Init gdk_imlib.
12862         Print library-loading error messages on stdout too.
12864         * app/interface.c:
12865         Add standard image to toolbox.
12866         
12867         * app/render_eps.c: 
12868         Set a more reasonable dot length.  Fixed
12869         missing initialization of dot length.
12870         Added draw_image methods.
12872         * app/render_gdk.c (new_gdk_renderer): 
12873         Dot a bit wider.  Looks good in normal mode now.
12875         * objects/standard/image.c:
12876         * objects/standard/pixmaps/image.xpm:
12877         New files. Standard object for images.
12878         
12879         * app/render_eps.c (set_linestyle):
12880         * app/render_gdk.c (set_linestyle):
12881         * lib/widgets.c (dia_line_style_selector_init): 
12882         * lib/render.h: 
12883         New line style DOTTED.
12885         * lib/render.h:
12886         * lib/render_store.c:
12887         Change DrawImage call to use gdk_imlib.
12889         * lib/widgets.[ch]:
12890         Added widgets for selecting files.
12891         Added dotted to the linestyle selector.
12893 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
12895         * objects/network/printer.c:
12896         * objects/network/network.c:
12897         * objects/network/pixmaps/printer.xpm:
12898         * objects/network/.cvsignore:
12899         * objects/network/Makefile.am:
12900         * objects/network/pixmaps/Makefile.am:
12901         New printer object in network.
12902         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
12904         * TODO:
12905         Added known XML bug.
12906         
12907 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
12909         * app/load_save.c:
12910         * lib/dia_xml.c:
12911         Reverted back from #include <gnome-xml/tree.h> to
12912         #include <tree.h> as this is fixed by the xml-config program.
12913         The former way broke for some people.
12914         Reported by blizzard@redhat.com.
12916         * objects/UML/lifeline.c:
12917         * objects/UML/message.c:
12918         * objects/UML/object.c:
12919         Removed some warnings.
12920         
12921 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12923         * objects/UML/lifeline.c: 
12924         Fixed connection points over the life line when the focus of
12925         control is not drawn.
12927         * objects/UML/message.c: 
12928         Now a recursive message can be freely resized using the handles.
12930 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12932         * objects/UML/lifeline.c:
12933         Added connection points.
12934         Added properties dialog with the option to draw/hide focus of control
12935         box and destruction mark.
12937         * objects/UML/object.c: 
12938         Added properties dialog and stereotype, explicit state and attributes. 
12939         It's also possible to mark the object as active.
12941         * objects/UML/pixmaps/object.xpm: 
12942         Cosmetic change.
12944         * objects/UML/message.c:
12945         Added "recursive" message type (was not necessary to use OrthConn).
12947 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
12949         * objects/standard/arc.c:
12950         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
12952 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
12954         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
12955         
12956         * app/load_save.c:
12957         * lib/dia_xml.c:
12958         Update xml includes to gnome-xml/*.h.
12960         * objects/standard/arc.c:
12961         Only one property dialog per type.
12962         Fix arrows directions.
12964         * objects/standard/box.c:
12965         * objects/standard/ellipse.c:
12966         * objects/standard/textobj.c
12967         Added default properties dialog.
12968         
12970 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12972         * objects/UML/Makefile.am: 
12973         * objects/UML/uml.c:
12974         * objects/UML/lifeline.c: 
12975         * objects/UML/object.c: 
12976         * objects/UML/message.c:
12977         * objects/UML/pixmaps/lifeline.xpm: 
12978         * objects/UML/pixmaps/object.xpm: 
12979         * objects/UML/pixmaps/message.xpm:
12980         Added 3 new UML objects for dynamic modeling. To avoid internal 
12981         conflicts, the name "objet" is used for object "object".        
12983         * lib/arrows.[ch]: 
12984         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
12985         UML messages.
12986         
12987 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
12989         * app/display.[ch]:
12990         * app/modify_tool.c:
12991         Added autoscrolling while doing rubber-band select.
12992         This patch from Matthias Köster
12993         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
12994         
12996 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
12998         * app/defaults.[ch]:
12999         New files, deals with default properties dialog.
13001         * lib/diamenu.h:
13002         New file. Contains definitions for the new object menu.
13004         * lib/poly_conn.[ch]:
13005         New file. Base class for poly-line like objects.
13007         * objects/standard/polyline.c:
13008         * objects/standard/pixmaps/polyline.xpm:
13009         New files. Polyline object.
13011         * app/app_procs.c:
13012         Fixed bug with infinite loop when registering sheets.
13013         
13014         * app/commands.c:
13015         Removed unneccesary stuff.
13017         * app/disp_callbacks.c:
13018         Support for object menus.
13020         * app/interface.c:
13021         Added polyline to toolbox.
13022         Added call to tool_options_dialog_show() when double clicking on
13023         tool.
13025         * app/tool.[ch]:
13026         New function tool_options_dialog_show() for tool properties.
13028         * lib/arrows.[ch]:
13029         Added ARROW_NONE.
13031         * lib/object.h:
13032         Added ObjectType methods for handling object default dialogs.
13033         Added Object method for handling object_menu.
13034         Added unused methods to ObjectTypeOps for future binary
13035         compatibility.
13037         * lib/widgets.[ch]:
13038         Added DiaArrowTypeSelector widget.
13040         * objects/standard/arc.c:
13041         * objects/standard/zigzagline.c:
13042         Added support for default properties.
13044         * objects/standard/line.c:
13045         Added support for default properties.
13046         Just use one properties dialog for all line objects. NOTE: This
13047         seems to have a bug. We're working on it.
13049         * standard/standard.c:
13050         Add the polyline object.
13052 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
13054         * app/modify_tool.c:
13055         Commented out buggy transitive select function. It wasn't really
13056         meant to go into cvs.
13057         
13059 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
13061         * autogen.sh:
13062         * acconfig.h:
13063         * configure.in:
13064         * Makefile.am:
13065         * app/Makefile.am:
13066         * po/POTFILES.in:
13067         * app/intl.h
13068         i18n-support.
13070         * po/sv.po:
13071         Swedish translation. Not completed.
13072         
13073         * configure.in:
13074         * acconfig.h:
13075         Added possibility to enable GNOME specific code with configure.
13077         * configure.in:
13078         Added possibility to set debug level with configure.
13080         * commands.[hc]:
13081         Added about dialog.
13083         * app_procs.c
13084         * commands.c
13085         * interface.c
13086         * menus.c
13087         Added some GNOME specific code. Not ready for use.
13089 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
13091         * INSTALL:
13092         Added text about needing gtk 1.1.13 and gnome-xml.
13093         
13094         * NEWS:
13095         Described changes since last version (0.20).
13097         Released version 0.30, tagged DIA_0_30.
13099 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
13101         * app/magnify.c (magnify_button_release):
13102         Fixed a problem when zooming in on a very small box would
13103         not release the grabbed pointer-focus.
13105 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
13107         * app/load_save.c (diagram_load):
13108         Be somewhat more robust when loading files that
13109         are not diagrams.
13110         
13111 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
13113         * app/app_procs.c:
13114         * objects/ER/er.c:
13115         * objects/UML/uml.c:
13116         * objects/network/network.c:
13117         * objects/standard/standard.c:
13118         Added versioning of object libraries.
13120         * app/create_object.c:
13121         Don't change tool when an object is created.
13122         
13123         * objects/network/network.c:
13125         * TODO:
13126         Update
13128 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
13130         * configure.in:
13131         Updated gtk requirement to Gtk+ 1.1.13.
13133         * app/display.c:
13134         Always add one screenful of scrolling space on
13135         each side of a diagram window.
13137 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
13139         * autogen.sh:
13140         Tell automake to auto-install missing files.
13142         * app/menus.c:
13143         Renamed deprecated Gtk+ function.
13145 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
13147         * Makefile.am:
13148         * configure.in:
13149         * samples/Makefile.am:
13150         * samples/ER-demo.dia:
13151         * samples/UML-demo.dia:
13152         Added samples directory.
13153         Added samples for ER and UML.
13154         
13155         * app/commands.c:
13156         * app/disp_callbacks.c:
13157         * app/menus.c:
13158         Zoom is done by sqrt(2) instead of 2.
13159         Lots of more zoom options in the menu.
13161         * objects/ER/relationship.c:
13162         Relationships have 8 connectionpoints instead of 4.
13164         * objects/UML/class.c:
13165         UML class name font a bit smaller.
13166         Fixed stupid bug in the copy operation.
13167         
13168         * app/display.c:
13169         Displays are opened at 500x400 instead of 256x256.
13171         * app/load_save.c:
13172         Fixup of internal error message.
13174         * app/color_area.c:
13175         * app/diagram.c:
13176         * app/modify_tool.c:
13177         * lib/object.c:
13178         Removed debug printf's.
13179         
13180         * TODO (BUGS):
13181         Added new known bug.
13183 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
13185         * app/interface.c:
13186         * app/menus.c:
13187         Fixed so accelerator groups work in all windows.
13188         Updated to new gtk function names.
13190         * TODO (BUGS):
13191         Removed fixed bug.
13193         * app/display.c:
13194         Updated to new gtk function names.
13195         Set sensitivity of the align menu items.        
13197         * objects/ER/pixmaps/Makefile.am:
13198         * objects/UML/pixmaps/Makefile.am:
13199         * objects/network/pixmaps/Makefile.am:
13200         Fix so that make dist works.
13202         * app/app_procs.c:
13203         * app/color_area.c:
13204         * app/commands.c:
13205         * app/diagram.c:
13206         * app/grid.c:
13207         * app/layer_dialog.c:
13208         * app/load_save.c:
13209         * app/object_ops.c:
13210         * app/properties.c:
13211         * lib/diagramdata.[ch]: 
13212         * lib/message.c:
13213         * lib/objects/ER/attribute.c:
13214         * lib/objects/ER/entity.c:
13215         * lib/objects/ER/participation.c:
13216         * lib/objects/ER/relationship.c:
13217         * lib/objects/ER/.c:
13218         * objects/UML/actor.c:
13219         * objects/UML/association.c:
13220         * objects/UML/class_dialog.c:
13221         * objects/UML/dependency.c:
13222         * objects/UML/generalization.c:
13223         * objects/UML/large_package.c:
13224         * objects/UML/realizes.c:
13225         * objects/UML/.c:
13226         * objects/UML/.c:
13227         Updated to new gtk function names.
13228         Removed warnings.
13230 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
13232         * TODO:
13233         Update TODO.
13235         * app/app_procs.c:
13236         Fixed loading of diagrams specified as arguments.
13238         * objects/ER/attribute.c:
13239         * objects/ER/entity.c:
13240         * objects/ER/er.c:
13241         * objects/ER/participation.c:
13242         * objects/ER/relationship.c:
13243         Updated the ER objects.
13244         
13246 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
13248         * configure.in:
13249         * app/Makefile.am:
13250         * objects/Makefile.am:
13251         * objects/ER/attribute.c:
13252         * objects/ER/entity.c:
13253         * objects/ER/er.c:
13254         * objects/ER/participation.c:
13255         * objects/ER/relationship.c:
13256         * objects/ER/pixmaps/Makefile.am:
13257         * objects/ER/pixmaps/attribute.xpm:
13258         * objects/ER/pixmaps/entity.xpm:
13259         * objects/ER/pixmaps/participation.xpm:
13260         * objects/ER/pixmaps/relationship.xpm:
13261         * objects/ER/pixmaps/weakentity.xpm:
13262         First commit of entity relationship objects.
13263         These were done by hallon@lysator.liu.se.
13264         There are still stuff to do on these.
13265         
13266 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
13268         * TODO:
13269         Updates.
13271         * app/diagram.[ch]:
13272         Change diagram_remove_all_selected to take new argument
13273         delete_empty. Empty objects are deleted only if it is TRUE.
13274         Removed call to close_eps_renderer. This is now done in end_render
13275         in the eps renderer.
13277         * app/create_object.c:
13278         * app/layer_dialog.c:
13279         Update calls to diagram_remove_all_selected.
13281         * app/commands.c:
13282         Update calls to diagram_remove_all_selected.
13283         Some code reformating.
13284         Changed order of adding updates i align_h and align_v.
13286         * app/modify_tool.c:
13287         Update calls to diagram_remove_all_selected.
13288         Added pointer grab when doing rubber-band selection, this fixes
13289         the bug when draging the box over to another window.
13291         * app/connectionpoint_ops.[ch]:
13292         diagram_update_connections_object changed to take an argument
13293         update_nonmoved. This lets connections that has not moved, but
13294         the stuff they're connected to has been moved work.
13295         Update calls to the new diagram_update_connections_object.
13297         * app/properties.c:
13298         Update calls to the new diagram_update_connections_object.
13299         Update extents when properties are applied.
13300         
13301         * app/disp_callbacks.c:
13302         Added support for zooming with the '+' and '-' keys.
13304         * app/menus.c:
13305         Removed old keyboard shortcuts for zoom.
13307         * lib/render.h:
13308         Added calls begin_render and end_render to renderer.
13309         These can be used for setup and cleanup.
13311         * lib/diagramdata.c:
13312         Added calls to begin_render and end_render in data_render.
13314         * app/render_gdk.c:
13315         Added begin_render and end_render.
13317         * app/render_eps.[ch]:
13318         Added begin_render and end_render.
13319         Moved close_eps_renderer code to end_render.
13320         Various fixes to the generated eps code. This fixes importing
13321         generated eps into LYX.
13322         
13323 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
13325         * TODO:
13326         Update of todo.
13327         
13328         * app/menus.c:
13329         Menus for alignment updated.
13331         * app/object_ops.[ch]:
13332         Functions for object alignment updated.
13334         * app/commands.[ch]:
13335         Object alignment callbacks updated.
13336         New diagrams are called Untitled-<nr>.
13338         * app/layer_dialog.c:
13339         Active layer selected when showing layers from new
13340         diagram.
13342         * app/load_save.c:
13343         Compress xml files when saving.
13344         Use xml namespace 'dia'.
13346         * lib/object.h:
13347         Minor comment update.
13349         * objects/UML/class_dialog.c:
13350         Cleanup of the gkt_list_item moving code.
13351         Fixed bug with update of operation when moving parameters.
13353 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
13355         * app/layer_dialog.[ch]:
13356         Fixed the rest of the layers dialog.
13358         * app/dialog.c:
13359         Added call to redo layer dialogs diagram list when changing
13360         diagram name.
13362         * lib/diagramdata.[ch]:
13363         Added data_raise_layer and data_lower_layer functions for
13364         raising/lowering layers. Added data_add_layer_at for adding a
13365         layer at a specified index.
13367 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
13369         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
13370                 
13371         * app/app_procs.c:
13372         Added support for reading diagrams from the command line.
13374 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
13376         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
13377                 
13378         * app/commands.[ch]:
13379         Added objects_align_callback().
13381         * app/menus.c:
13382         Added align objects to menu.
13384         * app/object_ops.[ch]:
13385         Add object_list_align().
13386         
13387 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
13388         * app/layer_dialog.[ch]:
13389         New files. Handles the layers dialog. Needs a bugfix for glib to
13390         work. Sent patch to gtk-list.
13391         
13392         * app/pixmaps/new.xpm:
13393         * app/pixmaps/eye.xbm:
13394         * app/pixmaps/lower.xpm:
13395         * app/pixmaps/raise.xpm:
13396         * app/pixmaps/delete.xpm:
13397         New files. Images for the layer dialog buttons.
13398         
13399         * lib/diagramdata.h
13400         * lib/diagramdata.c
13401         New files for the DiagramData and Layer structures and functions.
13402         
13403         * app/app_procs.c:
13404         Added call to create_layer_dialog() on startup.
13405         
13406         * app/commands.[ch]:
13407         New callbacks for showing the properties and layout dialog.
13408         Changes for the new DiagramData structure.
13410         * app/connectionpoint_ops.c:
13411         * app/cut_n_paste.c:
13412         * app/diagram.[ch]:
13413         * app/display.[ch]:
13414         * app/group.c:
13415         * app/modify_tool.c:
13416         * app/object_ops.[ch]:
13417         * app/render_eps.c:
13418         * lib/object.[ch]:
13419         Changes for the new DiagramData structure.
13421         * app/interface.c:
13422         * app/properties.c:
13423         Set correct wmclasses.
13425         * app/load_save.c:
13426         Fix load and save of layers.
13428         * diagram.dtd:
13429         Update DTD for layers.
13430         
13431         * app/menus.c:
13432         New menus for dialogs.
13434         
13435         * TODO:
13436         Some updates.
13437         
13438 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
13440         * TODO:
13441         Removed the gtk 1.1.5 stuff.
13443         * configure.in:
13444         Updated gtk check to version 1.1.5.
13445         Updated version from 0.20 to 0.30
13447         * app/commands.[ch]:
13448         Updated some callbacks to be of type GtkItemFactoryCallback1.
13449         Not all are done yet, but it works anyway.
13451         * app/display.h:
13452         Removed Gtk 1.0.0 GtkAcceleratorTable references.
13453         
13454         * app/interface.c:
13455         * app/menus.[ch]:
13456         Update to Gtk 1.1.x functions.
13457         Use ItemFactory instead of MenuFactory.
13458         
13459         * app/render_gdk.c:
13460         Removed Gtk 1.0.0 references.
13462         * objects/UML/class_dialog.c:
13463         Scrolled window updates for Gtk 1.1.5.
13464         
13465         * lib/dia_xml.c:
13466         Removed ugly fix for gnome-xml bug. Make sure you get the
13467         newest version of gnome-xml from CVS.
13468         
13469 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
13471         * TODO:
13472         Removed the xml load/save line.
13474         * lib/files.[ch]:
13475         Removed files.
13476         
13477         * lib/Makefile.am:
13478         Removed building of files.c
13480         * app/load_save.c:
13481         * lib/connection.c:
13482         * lib/element.c:
13483         * lib/object.c:
13484         * lib/orth_conn.c:
13485         * lib/render_object.c:
13486         * objects/UML/actor.c:
13487         * objects/UML/association.c:
13488         * objects/UML/class.c:
13489         * objects/UML/constraint.c:
13490         * objects/UML/dependency.c:
13491         * objects/UML/generalization.c:
13492         * objects/UML/implements.c:
13493         * objects/UML/large_package.c:
13494         * objects/UML/note.c:
13495         * objects/UML/realizes.c:
13496         * objects/UML/small_package.c:
13497         * objects/UML/uml.c:
13498         * objects/UML/usecase.c:
13499         * objects/network/bus.c:
13500         * objects/standard/arc.c:
13501         * objects/standard/box.c:
13502         * objects/standard/ellipse.c:
13503         * objects/standard/line.c:
13504         * objects/standard/textobj.c:
13505         * objects/standard/zigzagline.c:
13506         Removed all includes of files.h
13508         
13509 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
13511         * dialog.dtd:
13512         Made the val property of string be implied.
13513         This makes it possible to save strings that
13514         are NULL. Just leave out val.
13516         * objects/lib/dia_xml.c:
13517         Fixed string so that it is possible to save strings
13518         that are NULL. Also made an ugly workaround of a
13519         bug in gnome-xml which removes empty properties.
13520         
13521         * objects/lib/orth_conn.c:
13522         Fixed a bug in saving. Forgot to step through the
13523         directions.
13524         
13525         * objects/UML/association.c: 
13526         * objects/UML/class.c: 
13527         * objects/UML/constraint.c: 
13528         * objects/UML/dependency.c: 
13529         * objects/UML/generalization.c: 
13530         * objects/UML/implements.c: 
13531         * objects/UML/large_package.c: 
13532         * objects/UML/note.c: 
13533         * objects/UML/small_package.c:
13534         * objects/UML/realizes.c:
13535         * objects/UML/usecase.c: 
13536         * objects/UML/actor.c: 
13537         Fixed UML objects to save as xml.
13538         The last two were done by asierra@servidor.unam.mx (asierra-981204)
13539         
13540         * objects/UML/uml.[ch]:
13541         Updated *_write() and *_read() functions to use xml.
13543         * objects/network/bus.c: 
13544         * objects/network/computer.c: 
13545         * objects/network/disc.c: 
13546         * objects/network/monitor.c:
13547         Updated network diagrams to use xml.
13549 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
13551         * dialog.dtd:
13552         New file. DTD that describes the xml file format
13553         dia uses.
13555         * lib/dia_xml.[ch]:
13556         New files. Support for saving object to xml files.
13558         * configure.in:
13559         * app/Makefile.am:
13560         * lib/Makefile.am:
13561         Added check for and usage of gnome-xml library.
13563         * app/load_save.c:
13564         Major chages. Now saves/loads diagrams as xml.
13566         * lib/object.[ch]:
13567         * lib/element.[ch]:
13568         * lib/connection.[ch]:
13569         * lib/orth_conn.[ch]:
13570         * lib/render_object.[ch]:
13571         * lib/text.[ch]:
13572         Updated object support load/save functions for xml:
13574         * object/standard/arc.c:
13575         * object/standard/box.c:
13576         * object/standard/ellipse.c:
13577         * object/standard/line.c:
13578         * object/standard/textobj.c:
13579         * object/standard/zigzagline.c:
13580         Updated all standard objects to use xml.
13581         
13582         NOTE NOTE NOTE
13583         Only the standard objects are converted right now, don't
13584         save or load uml or network diagrams yet. Also, since this
13585         is new code it is deemed a bit unstable.
13586         
13587         * TODO
13588         Added a know bug.
13590 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
13592         * objects/UML/class.c:
13593         Changed classname font to Helvetica.
13594         Added more space above the classname
13596         * objects/UML/usecase.c:
13597         Correct placements of connectionpoints on ellipse.
13598         Better algorithm for deciding aspect ration on
13599         ellipse.
13601         These changes were made by Alejandro Aguilar Sierra
13602         <asierra@servidor.unam.mx>. (asierra-981201)
13604 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
13606         * objects/UML/actor.c:
13607         Changed the extents and alignment of the element
13608         and the text.
13610         * objects/UML/.cvsignore:
13611         Added usecase.lo and actor.lo.
13613 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
13615         * objects/UML/actor.c:
13616         * objects/UML/usecase.c:
13617         * objects/UML/pixmaps/actor.xpm:
13618         * objects/UML/pixmaps/case.xpm:
13619         New files. Implements usecase and actor UML objects.
13620         These objects are done by Alejandro Aguilar Sierra
13621         <asierra@servidor.unam.mx>.
13622         
13623         * objects/UML/Makefile.am:
13624         * objects/UML/pixmaps/Makefile.am:
13625         Added usecase and actor to makefile.
13626         
13627         * AUTHORS:
13628         Added Alejandro and Jerome to autors list.
13629         
13630 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
13632         * objects/UML/class.c (umlclass_load):
13633         Fixed typo. Reported by Jerome.Abela@solsoft.fr
13635 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
13637         * app/properties.c:
13638         Update connections when doing apply in the properties window.
13640         * objects/UML/uml.[ch]:
13641         * objects/UML/class.[ch]:
13642         * objects/UML/class_dialog.c:
13643         Added connection points on both sides of attributes and
13644         operations in UML classes.
13645         Based on idea from Jerome.Abela@solsoft.fr
13646         
13647 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
13649         * README:
13650         Some new documentation about handles and connectionpoints.
13651         
13652         * lib/object.[ch]:
13653         Added functions object_add_connectionpoint and
13654         object_remove_connectionpoint for handling a dynamic
13655         number of connectionpoints.
13657         * objects/UML/class.c:
13658         Only reserve space for stereotype when it is shown.
13660         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
13662 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
13664         * app/connectionpoint_ops.c:
13665         * app/commands.c:
13666         * app/disp_callbacks.c:
13667         * app/display.[ch]:
13668         * app/grid.c:
13669         * app/handle_ops.c:
13670         * app/magnify.c:
13671         * app/modify_tool.c:
13672         * app/render_gdk.[ch]:
13673         * lib/render.h:
13674         Huge cleanup of internal rendering system.
13675         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
13676         This gives a few new methods for Interactive Renderers for setting
13677         clipping regions and drawing pixel based lines and rects.
13678         Updated the rest of the code to use the new stuff.
13679         
13680         * app/render_eps.c:
13681         Fixed warning.
13683         * lib/widgets.c:
13684         * objects/standard/zigzagline.c
13685         Fixed unused variable warnings.
13687         * lib/font.c:
13688         Fixedbug with stringwidth where width==0.
13690         * TODO:
13691         Added known bug.
13693 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
13695         * lib/widgets.[ch]:
13696         Added suppot for setting the font of a
13697         DiaFontSelector widget.
13698         Also fixed some typos in the header.
13700         * lib/object.h: 
13701         Added a comment about the GetPRoperties method call.
13702         You have to make sure to update widget state when
13703         this method is called. (Not all objects do this yet,
13704         to be fixed.)
13706         * TODO:
13707         Some small updates
13709 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
13711         * lib/font.c
13712         Fixed problem with height of ascent and descent for fonts.
13713         It didn't use the whole height (==ascent+descent) when calculatine
13714         ascent_ratio and descent_ratio.
13716         * objects/standard/textobj.c:
13717         * objects/standard/box.c:
13718         * objects/standard/ellipse.c:
13719         * objects/standard/line.c:
13720         * objects/standard/arc.c:
13721         Updated and added property dialogs for these objects.
13722         Also added line width/color/style to those objects
13723         that didn't have it.
13724         This change breaks fileformat compatibility for these objects.
13725         
13726         * objects/standard/zigzagline.c:
13727         Changed zigzagline to be based on OrthConn, much nicer.
13728         Also added line style and color to properties.
13729         This change breaks fileformat compatibility for zigzagline.
13731         * lib/message.c:
13732         Fixed bug in message(). Forgot a pair of '&'.
13734 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
13736         * lib/widgets.[ch]:
13737         Added DiaColorSelector widget.
13738         This is a colored button that pops up a color selection
13739         dialog when pressed.
13741 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
13743         * lib/widgets.[ch]:
13744         * lib/Makefile.am:
13745         New files, added widgets for selecting fonts, alignment
13746         and line-style. Will be used later.
13748 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
13750         * app/Makefile.am:
13751         * lib/Makefile.am:
13752         * objects/UML/Makefile.am:
13753         * objects/network/Makefile.am:
13754         * objects/standard/Makefile.am:
13755         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
13756         in all Makefile.am.
13758 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
13760         * app/handle_ops.c (handle_draw):
13761         connected HANDLE_MINOR_CONTROL also becomes red.
13763 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
13765         * Makefile.am:
13766         removed -ldl from linking. This is added if needed by configure.
13768         * app/app_procs.c:
13769         Open dlls with RTLD_LAZY if it is defined.
13770         Some cleanups: char *error -> const char *error
13771         Added fprintf()'s to where we exited because of errors.
13773         * lib/files.c:
13774         Include <sys/types.h>
13776 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
13778         * acconfig.h:
13779         * configure.in:
13780         * app/app_procs.c:
13781         Detect dlopen better.
13782         Detect wether dlopen needs an underscore in the identifier.
13783         This code was mostly borrowed from guile.
13785         * lib/sheet.[ch]:
13786         * app/app_procs.c:
13787         * objects/standard/standard.c:
13788         * objects/network/network.c:
13789         * objects/UML/uml.c:
13790         * most objects:
13791         Changed the way sheets reference objects to use just the
13792         name. Changed module loading to a two stage model:
13793         First register_objects() is called for all modules.
13794         Then register_sheets() is called. This means that
13795         sheets can safely include objects from other modules.
13796         
13798 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
13800         * objects/network/bus.c:
13801         * objects/network/network.c:
13802         * objects/network/Makefile.am:
13803         New file bus.c. Added new object: Ethernet bus.
13805         * objects/standard/box.c:
13806         Added call to gtk_spin_button_set_numeric for linewidth spinner
13807         in property dialog.
13809 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
13811         * app/connectionpoint_ops.c:
13812         * app/create_object.c:
13813         * app/group.c:
13814         * app/handle_ops.c:
13815         * app/modify_tool.c:
13816         * lib/connection.c:
13817         * lib/element.c:
13818         * lib/handle.h:
13819         * lib/object.c:
13820         * lib/orth_conn.c:
13821         * loads of objects:
13822         Changed handle->connectable to handle->connect_type.
13823         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
13824         that their connections don't break when moving objects.
13826         * app/diagram.c:
13827         Always select the last handle in an object that has
13828         the closest distance.
13829         
13830         * lib/geometry.[ch]:
13831         Added rectangle_add_point function.
13832         
13834 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
13836         * app/properties.[ch]: New files. Handles the new properties
13837         dialog.
13839         * app/modify_tool.c: Changed to use new properties dialog.
13841         * app/object_ops.[ch]: Removed object_changed_callback, as it's
13842         not needed anymore. This is now handled differently in
13843         properties.c
13845         * lib/object.[ch]:
13846         Changed the properties ops for objects. Removed typedefs
13847         ChangedObjectTime and ObjectChangedFunc needed for the old way.
13848         Added object_return_null function.
13849         
13850         * app/group.c:
13851         * lib/render_object.c:
13852         * objects/*/*.c:
13853         Changed objects to use the new properties dialog.
13854         
13856 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
13858         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
13859         builddir.
13861         * autogen.sh: New file. Copied from gtk and added a call to
13862         libtoolize. Anyone knows why this isn't done in gtk?
13864         * Removed autogenerated files.
13866 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
13868         * Added call setlocale(LC_NUMERIC, "C") so that formating of
13869           floating-point numbers in postscript output will be correct.
13870         * Did some cleanup of generated postscript files.