switching to XML DocBook
[dia.git] / ChangeLog
blob29d4ca470dbe4135fc07ba082e4c2dd79362c3fa
1 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
3         * plug-ins/xslt/xslt.c (dia_plugin_init): 
4         * configure.in: Added --with-xslt-prefix to allow other XSLT
5         placements than /usr/lib.
7 2003-04-09  Steffen Macke <sdteffen@web.de>
9         * lib/makefile.mingw: updated to include latest files, including 
10         and linking libintl
11         * lib/geometry.h: don't define isinf and finite for mingw gcc build
13 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
15         * app/persistence.h:
16         * app/persistence.c (persistence_register_window_create): 
17         * app/app_procs.c (app_init): 
18         Register window function that doesn't create the window unless it
19         should be open.  Other windows should move to this, so startup
20         speed can be reduced.
21         
22         * app/persistence.h: Removed call prototype for update_window, now
23         done internally.
24         * app/persistence.c (persistence_register_window): A number of
25         fixes.  Doesn't forget position when window is closed.  Now
26         actually loads prefs.
28         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
29         event connect.
31         * app/preferences.c (prefs_data): 
32         * app/diagram_tree_window.h: 
33         * app/diagram_tree_window.c: Added persistence registering.
34         Removed prefs items storing size and openness. 
36         * app/sheets_dialog.c (create_sheets_main_dialog): Added
37         persistence registering.  
39         * app/Makefile.am (dia_core_files): Added persistence files.
41         * lib/dia_dirs.h: 
42         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
43         that dirs are present.
45         * app/app_procs.c (app_init): Loads persistent values on startup.
46         (app_exit): Saves persistent values on exit.
48         * app/layer_dialog.c (create_layer_dialog): Registers the layer
49         window for persistence.
51         * app/persistence.[ch]: New files handling various kinds of
52         persistence.
54 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
56         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
57         head spacing calculations.  Added half-circle arrow from Matthieu
58         Sozeau <mattam@netcourrier.com> 
60 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
62         * app/app_procs.c (app_init): Moved layer dialog init to allow
63         tooltips to be initialized.
65         * app/interface.c (create_display_shell): More tooltips.
67         * app/linewidth_area.c (linewidth_area_create) 
68         (linewidth_area_events): 
69         * app/color_area.c (color_area_events, color_area_create): 
70         Made tooltips work by embedding drawing_area in event_box.
72         * app/interface.c (create_display_shell,
73         (create_lineprops_area, create_color_area): Added a few tooltips.
75 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
77         * app/pixmaps/off-grid.xpm: 
78         * app/pixmaps/on-grid.xpm: 
79         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
81         * app/display.h: 
82         * app/commands.c (view_snap_to_grid_callback): 
83         * app/display.c (ddisplay_set_snap_to_grid) 
84         (update_snap_grid_status): 
85         * app/interface.c (create_display_shell, grid_toggle_snap): 
86         Added snap-to-grid status button.
88 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
90         * app/app_procs.c (app_init): Create a new diagram if a file on
91         the command line isn't found.
93 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
95         * lib/dialibartrenderer.c (draw_string): Correct color handling
96         for AA.
98 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
100         * NEWS: 
101         * doc/en/dia-manual.sgml: 
102         * doc/pl/dia-manual.sgml: 
103         * configure.in: 
104         * dia.spec (Release): 
105         Version 0.91 is here!
107 2003-02-10  Steffen Macke <sdteffen@web.de>
109         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
110         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
111         non-ANSI characters, closes #107980
113 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
115         * configure.in: 
116         * NEWS: 
117         * dia.spec (Release): 
118         * doc/en/dia-manual.sgml: Upping to pre6.
120         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
122         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
123         #107511:  Make arrow selector for correct arrow type.
125 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
127         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
128         EXTRA_DIST.
130 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
132         * doc/en/dia-manual.sgml: 
133         * configure.in: 
134         * NEWS: 
135         * dia.spec (Release): Upping to pre5.
137         * configure.in: Add freetype-config derived libs to the
138         AC_CHECK_LIB statement for freetype.
140 2003-02-28  Hans Breuer  <hans@breuer.org>
142         [fix for bug #107203]
144         * lib/diarenderer.c : add warning 'implementation'
145         for fill_rect to avoid crashing with a renderer
146         which does not implement this required function.
148         * plug-ins/dxf/dxf-export.c : provide - still empty -
149         'implementations' for fill_rect and fill_polygon 
150         to suppress the above warnings. Now it works like
151         in version 0.90 
153 2003-02-28  Steffen Macke <sdteffen@web.de>
155         * samples/all_objects.dia: New sheet containing all dia shapes
156         and objects; one layer per sheet
157         
158 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
160         * lib/prop_text.c (multistringprop_get_widget,
161         multistringprop_reset_widget, multistringprop_set_from_widget): 
162         Now uses GtkTextView instead of deprecated stuff, and also works:)
164         * configure.in: Slightly more informative error message for isinf.
166         * dia.spec (Requires): Require libxml2 rather than libxml.
168 2003-02-28  Steffen Macke <sdteffen@web.de>
170         * shapes/Circuit/hjumper.png:
171         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
172         jumper shape
173         
174 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
176         * doc/en/dia-manual.sgml: 
177         * configure.in: 
178         * dia.spec (Release):
179         * NEWS: New prerelease 0.91pre4, two important fixes.
181 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
183         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
184         stylesheets.xml.in 
186         * app/commands.c (help_manual_callback): More correct URL for help
187         page (include file://, was broken on Dillo without it).
189 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
191         * app/disp_callbacks.c: Set modifed when text is changed.
193         * app/modify_tool.c (modify_button_release): Allow undo for moving
194         objects.
196 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
198         * dia.spec: 
199         * doc/en/dia-manual.sgml: 
200         * NEWS: 
201         * configure.in: New prerelease with important bugfix.
202         * shapes/network/digitizing_board.png:
203         * shapes/network/plotter.png: Re-adding with -kb.
204         
205 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
207         * app/app_procs.c (app_init): Add comment for translators.
209 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
211         * lib/filter.c (filter_register_import, filter_register_export):
212         Don't accept filters with NULL description.
214         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
215         (as we assume the description is available in other places).
217 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
218         
219         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
220         * app/display.c (ddisplay_resize_canvas): Use
221         ddisplay_add_update_all().
222         (ddisplay_add_update_all): Free display and update lists when
223         doing update_all, as they'll be regenerated immediately to cover
224         all visible area.  Fixes bug #106165, crash when resizing.  This
225         appears to be the original AA crash bug, believed long extinct.
227 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
229         * app/commands.c (help_manual_callback): Use file: protocol for
230         help. 
232         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
234         * plug-ins/xslt/stylesheets: Removed old-style config file.
235         
236         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
238         * plug-ins/xslt/Makefile.am: 
239         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
240         handling (no more DIA_PLUGIN_PATH).
242 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
244         * plug-ins/svg/render_svg.c: 
245         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
247 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
249         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
250         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
251         side of the triangle is longer than the hypotenuse.  Rounding
252         error suspected.
254 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
256         * NEWS: 
257         * configure.in: 
258         * doc/en/dia-manual.sgml: Update for pre2.
260         * app/menus.c (display_menu_items): Fixed wrongly place separators.
262         * objects/flowchart/box.c (box_update_data): Applied patch from
263         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
264         comment). 
266         * app/paginate_psprint.c (print_page): Set paper name, so it
267         convinces ps printers to use to right size.
269 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
271         * app/properties.c (properties_show): Hide the dialog if the
272         object is NULL (get rid of 'no properties' randomly popping up).
274 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
276         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
277         for diagrams not starting at origo.
279 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
281         * dia.spec (BuildRequires): Use libxml2-devel.
283         * plug-ins/pixbuf/Makefile.am: Added to CVS.
285         * RELEASE-PROCESS: Note on RPM version numbers.
287         * app/interface.c (create_display_shell): Don't set as toolbar
288         under Unix, either.  Especially not the diagram shell.  It removes
289         it from the taskbar and makes it unresizable, always-on-top with
290         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
291         appropriate thing, UTILITY, is not good either, you lose resizing
292         and minimizing/maximizing under OpenBox.
294         * app/menus.c (display_menu_items): Set delete item to use Delete.
296 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
298         * dia.spec (BuildRequires, Requires): Updated for Gtk2
299         requirements.
301         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
302         display flush when getting focus in, or we may get an update after
303         the diagram has been destroyed in some cases.  Fixes bug #105221.
305         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
307         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
309         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
310         - gnome-compiled Dia will now read files specified on the command line.
312 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
314         * INSTALL (REQUIREMENTS): Updated requirements section.
316         * configure.in: Better finite() check from MÃ¥rten Svantesson
317         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
318         if's. 
319         
320 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
322         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
324         * app/app_procs.c (debug_break): Added some code to avoid
325         over-eager optimizations removing the call.  Surely there's a
326         nicer way, but I'm not sure how.
328         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
329         that set text to black.
331 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
333         * NEWS: Mention of Twiki as doc source for Python.
335         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
336         libart/libpng is not available.  Later when we have a way of
337         letting the user pick options in the file select dialog we shall
338         allow the choice when applicable.
340 2003-02-02  Steffen Macke <sdteffen@web.de>
342         * doc/en/usage-loadsave.sgml:
343         * doc/en/usage-objects.sgml: patch from
344         James K. Lowden <jklowden@schemamania.org> to fix
345         some docbook errors
346         
347 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
349         * plug-ins/Makefile.am (SUBDIRS): 
350         * plug-ins/pixbuf/pixbuf.c: 
351         * plug-ins/pixbuf/Makefile.am: 
352         * configure.in: 
353         Added pixbuf plugin to Makefile.am, but for import only.  PNG
354         export handled by libart, which is better. JPG export is
355         discouraged.  BMP is not much used on Unix.  Next release will
356         integrate libart to allow all outputs.
358 2003-02-01  Hans Breuer  <hans@breuer.org>
360         * app/preferences.c :
361         * app/pagesetup.c :
362         the last two dialogs with 'old' button order finally
363         are converted to gtk2, no GnomeDialog in all of Dia 
364         anymore :-) 
366 2003-02-01  Hans Breuer  <hans@breuer.org>
368         * app/filedlg.c : don't try to use a button as
369         'overwrite-file-dialog'-parent, use the FileSelDialog
370         instead
372         * plug-ins/pixbuf/pixbuf.c : make it work with 
373         system-visual-depth < 24. Remove 'bmp' from output
374         format extensions, it just was wishful thinking.
376         * plug-ins/python/Makefile.am : added the four new python 
377         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
379 2003-02-01  Hans Breuer  <hans@breuer.org>
381         * NEWS : updated content beside dependencies
383 2003-02-01  Hans Breuer  <hans@breuer.org>
385         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
386         to make it useable across DLL boundaries
387         * app/lineprops_area.c : same code to access arrow_types
388         on all platforms
390         * objects/UML/class.c : the non empty string is e.g.
391         comment != NULL && comment[0] != '\0'
392         * objects/UML/uml.c : same here, don't bother with
393         empty operation stereotypes
395 2003-02-01  Steffen Macke <sdteffen@web.de>
397         * app/lineprops_area.c: latest changes do not work on
398         windows, using old code without tooltips
399         * makefile.msc: fixed copying of wmf.dll
400         * plug-ins/makefile.msc: 
401         * app/makefile.msc:
402         * lib/makefile.msc: now linking libintl
403         * config.h.win32: enabling native language support
405 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
407         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
408         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
410 2003-01-31  Daniel Yacob  <locales@geez.org>
412         * configure.in: Added am (Amharic) to ALL_LINGUAS.
414 2003-01-31  Steffen Macke <sdteffen@web.de>
416         * objects/UML/class.c (umlclass_calculate_data): fixed crash
417         when comments were visible, no class comment available and
418         a attribute comment
419          
420 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
422         * RELEASE-PROCESS: Updated to fit new install-module syntax.
423         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
424         with DIA_0_91_PRE1.
426 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
428         * config.h.win32: 
429         * NEWS: 
430         * configure.in:
431         * dia.spec:
432         Prerelease version changes, version 0.91-pre1.
434         * app/sheets_dialog_callbacks.h: 
435         * app/sheets_dialog_callbacks.c: 
436         * app/sheets_dialog.c (create_sheets_main_dialog): 
437         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
438         to handle destruction of main dialog cleanly, but it's a mess.
440         * configure.in: Downgraded ieeefp test to make it not produce
441         illegal shell code.
443         * lib/widgets.c (dia_arrow_selector_set_arrow): 
444         (dia_line_style_selector_set_linestyle): Select menu dot
445         correctly set.
447         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
448         adjustment for diamondheads.
450         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
452         * app/properties.c (create_dialog): Destroy properties dialog and
453         box correctly.
455         * app/sheets_dialog_callbacks.c
456         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
457         if the old one is destroyed.
459 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
461         * app/export_png.c (export_png_ok): Added info on resolution.
462         Should (next release) improve export dialog to allow setting
463         resolution instead of pixels.
465         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
466         to generate arrowheads as well as tooltips.
468         * lib/arrows.c: Added hollow diamond to menudesc list.
470         * lib/arrows.[ch]: 
471         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
472         unify with rendered menu.
474         * lib/diarenderer.c (draw_line_with_arrows)
475         (draw_polyline_with_arrows, draw_arc_with_arrows)
476         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
477         without changing renderer API.  Thanks to David Scherba for
478         providing inspiration.
480 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
482         * app/interface.c (create_display_shell):
483         * app/display.h: Patching from Hubert Figuiere
484         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
485         correct menu items.
487 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
489         * app/defaults.c (defaults_show): Fixed defaults closing bug.
490         Thanks to Hans for pointing it out.
492 2003-01-25  Hans Breuer  <hans@breuer.org>
494         * app/commands.c : don't warn about crashing libart renderer
495         on win32. It simply doesn't render text anymore :-(
497         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
499         * objects/UML/class.c : don't access umlclass->properties_dialog
500         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
501         which sets the former to NULL by destroy_properties_dialog() callback.
503         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
505         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
507         * plug-ins/python/pydia-image.c : add image.uri member
508         not only useful for SVG rendering
510         * plug-ins/python/diasvg.py : (new file) a more advanced
511         example. A full blown SVG Renderer, currently only
512         registered for .svgz
514         * plug-ins/python/export-object.py : write text props
516         * plug-ins/python/debug_objects.py : write prop.type and
517         prop.visible 
519 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
521         * objects/UML/association.c (association_update_data): Better
522         bounding box for assoc with arrows.
524         * lib/properties.h: New flag for properties with multiple values
525         in groups.
527         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
528         arrow updating in dialog.  Was broken due to changes from destroy
529         fix:(
531         * app/commands.c (view_aa_callback): AA warning only for Windows
532         -- I trust the Unix side well enough.
534         * app/render_libart.c (get_text_width): 
535         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
536         font height can be taken from parent instance.
538         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
539         (get_text_width): Proper cursor positioning for libart renderer.
540         Ought to have a DiaInteractiveRenderer that these two can inherit
541         from, that knows about transform.
543 2003-01-25  Steffen Macke <sdteffen@web.de>
545         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
546         plug-in still not working on win32
547         
548 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
550         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
551         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
552         thought.
554 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
556         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
557         bail out on gtk options.
559         * lib/message.c (gtk_message_internal): Better handling of destroy
560         event.
562 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
564         * app/color_area.c (color_area_edit): 
565         * lib/widgets.c (dia_file_selector_browse_pressed) 
566         (dia_color_selector_pressed): 
567         * app/plugin-manager.c (get_plugin_manager): 
568         * app/filedlg.c (file_open_callback, file_save_as_callback) 
569         (file_export_callback):
570         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
571         handling of destroy event.
573 2003-01-22  Alan Horkan <horkana@tcd.ie>
575         * app/commands.c (file_new_callback): Changed Untitled to Diagram
576         for default name.
578 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
580         * app/preferences.c (prefs_create_dialog): 
581         * app/linewidth_area.c (linewidth_create_dialog): 
582         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
583         * app/layer_dialog.c (create_layer_dialog)
584         (layer_dialog_edit_layer): Correct handling of destroy signal. 
586         * app/diapsft2renderer.c (set_font): Adjust silly random factor
587         for change in font.c
589         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
591         * lib/font.c (dia_font_build_layout): Let's all use the same weird
592         factor here.
594         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
595         * app/layer_dialog.c (create_layer_dialog) 
596         (layer_dialog_edit_layer): 
597         * app/filedlg.c (file_open_callback, file_save_as_callback) 
598         (file_export_callback): 
599         * app/dia-props.c (create_diagram_properties_dialog): 
600         * app/defaults.c (defaults_dialog_destroyed): 
601         * app/color_area.c (color_area_edit): Dialog destroy event handling.
603 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
605         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
606         defaults dialog destroyed.
608 2003-01-19  Steffen Macke <sdteffen@web.de>
610         * objects/makefile.msc: added bondgraph
611         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
612         to compile pixbuf.dll
613         * makefile.msc: copying all objects and dlls now
614         
615 2003-01-19  Hans Breuer  <hans@breuer.org>
617         * app/diagram.[hc] : provide dia_open_diagrams(), make
618         open_diagrams variable static
619         * app/dia.def : export it (to be used by PyDia)
620         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
621           app/display.c app/dynamic_refresh.c app/layer_dialog.c
622           app/load_save.c : make use of dia_open_diagrams()
624         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
625         on win32. It removes the diagram window from the taskbar and
626         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
628         * app/menus.c : add '...' to menu entries where a dialog 
629         gets invoked
630         * app/recent_files.c app/dia_embedd.c : reflect the above in 
631         menus_get_item_from_path() calls
633         * lib/libdia.def : add dia_image_rgba_data
635         * lib/properties.h lib/prop_text.[hc] : add new property
636         type StringList
637         * objects/UML/class.[hc] object/UML/class_dialog.c : use
638         StringList for attributes_strings and operations_strings to
639         make this calculated data accessible via the Property API
641         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
642         provide dia.new() to create a new diagram, dia.registered_types()
643         to get on Dia's type registry, dia.message() for simple dialogs
645         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
646         to create a new display from a diagram. Let diagram.extents and
647         diagram.bg_color return the same types as in diagramdata.*
649         * plug-ins/python/pydia-geometry.c : add a read-only 
650         'sequence interface' to DiaPoint and DiaRectangle
652         * plug-ins/python/pydia-property.c : allow to get on StringList
653         from Python
655         * plug-ins/python/pydia-render.c : fix typo to make it compile
657         * plug-ins/python/python-startup.py : removed 'import pygtk'
658         again. This file does not need any gtk UI, and some python
659         plug-ins don't do either
661         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
662         it should actually work as intended again
664         * plug-ins/python/group_props.py : (new file) a prototype for
665         one the most requested features: Change properties of selected
666         objects in one step. Requires pygtk.
668         * plug-ins/python/select_by.py : (new file) select objects by 
669         common properties. Requires pygtk.
671         [Start of 'PyDia Self Documentation Series']
673         * plug-ins/python/pydiadoc.py : (new file) generates a new 
674         diagram which contains all objects of dir(dia)
675         
676         * plug-ins/python/otypes.py : (new file) generates a new diagram 
677         which contains all the currently registered object types sorted 
678         by their containing package
680 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
682         * configure.in: Added check for Pango >= 1.1.5, which appears to
683         be enough to have text work.
684         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
685         do it.  AC_SUBST should be idempotent, though.
687 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
689         * configure.in (HAVE_FREETYPE): Better test for freetype version
690         using neat macro.
691         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
693         * lib/font.c: Renamed global_size_one to global_zoom_factor to
694         avoid confusion, and added comment.  Set scale factor in
695         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
696         my weird scaling problems.  Fonts are now of the expectable size,
697         i.e. the space between lines at size 1.0 is 1.0.  If we want a
698         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
699         diagrams, though there will always be differences.
701 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
703         * plug-ins/python/python-startup.py: 
704         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
706         * plug-ins/python/python.c (dia_plugin_init): Added warning
707         message for missing startup file.
709         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
710         
711         * lib/dia_image.c (dia_image_rgb_data): 
712         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
713         involving EPS.  Can't do transparency in EPS yet.
715         * lib/dia_image.h: 
716         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
717         data as one chunk.  Documentation for the RGB data getting funcs.
718         (dia_image_rgb_data): Added comment.
720         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
721         (bug #103565)
723 2003-01-13  Steffen Macke <sdteffen@web.de>
725         * lib/dia_image.c: dia_image_rgb_data() is working for
726         non-alpha images now. Fixes #93762
727         * Makefile.am: added makefile.msc to EXTRA_DIST
728         
729 2003-01-10  Steffen Macke <sdteffen@web.de>
731         * app/paginate_psprint.c: Closing print dialog when file
732         could not be written. Fixes #84746
733         
734 2003-01-04  Steffen Macke <sdteffen@web.de>
736         * doc/custom-shapes: incomplete description of <svg:text>
738 2003-01-03  Steffen Macke <sdteffen@web.de>
740         * makefile.msc(new): new makefile to create file
741         structure suitable for running dia win32 under
742         $(TOP)/dia/build/win32
743         
744 2003-01-02  Steffen Macke <sdteffen@web.de>
745         
746         * lib/dia_svg.c: including stdlib.h
747         * lib/makefile.msc: added gdk_pixbuf libs to linker
748         * app/makefile.msc: added gdk_pixbuf libs, made libart
749         libs compatible with gnuwin32 package
750         
751 2003-01-01  Hans Breuer  <hans@breuer.org>
753         * lib/font.c : more comment about global_size_one
755         * app/menus.c : <control>[<shift>]A for plain gtk build too.
757         * plug-ins/wmf/wmf.cpp : some type juggling to make 
758         msvc7 happy
760 2002-12-31  Steffen Macke <sdteffen@web.de>
762         * app/makefile.msc: added hint on how to enable console output
763         
764 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
766         * objects/standard/textobj.c (textobj_load): Get the handle type
767         right, at least to be the same as when created.
769 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
771         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
773 2002-12-08  Hans Breuer  <hans@breuer.org>
775         * app/commands.c : fixed bug #85315 'give diagram properties, 
776         instead of no object selected error' almost a one-liner
778         * app/splash.c : don't make having the logo pixmap
779         mandatory. Fixes bug #96068. 
781         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
782         sequence by connecting to the "delete_event"
783         * app/objects/uml/class_dialog.c : handle "destroy" for 
784         the same reason.
786         * lib/libdia.def : remove diaXmlNewChild again
788         * app/paginate_gdiprint.cpp : reflect Dia's page setting
789         portrait/landscape in the windoze print dialog
791         * objects/makefile.msc : only UML needs to link against
792         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
794 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
796         * objects/standard/ellipse.c (ellipse_distance_from): 
797         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
798         correct distance function.  Could be faster, but it's not really
799         essential. 
801 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
803         * lib/font.c: Changed global_size_one to more correct 28.35.
804         Looks better, too.
806         * app/load_save.c:
807         * lib/dia_xml.h: 
808         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
809         after all.
811 2002-12-07  Hans Breuer  <hans@breuer.org>
813         * lib/widgets.c : g_file_get_contents() silently assumes
814         a binary file. Reflect when creating the font_menu file
815         to get rid of junk in font menus
817 2002-12-06  Hans Breuer  <hans@breuer.org>
819         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
820         removed 0xD 0xD 0xA line ends which get created by
821         cvs if windoze line ends 0xD 0xA are checked in from
822         *nix and checked out on win32.
824         * app/preferences.c : changed toolbox_on_top default to
825         false. It is currently not possible to change the behaviour
826         at runtime, at least not on win32.
828         * lib/dialibartrenderer.c : bug #94791 'rendering to 
829         bitmap without PangoFt2' got delayed to milestone future 
830         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
831         It is not available without my Pango patch in bugzilla.
833         * lib/font.c : added comment to global_size_one and adapt
834         the arbitrary size scaling in dia_font_build_layout() for
835         win32, too. This is needed to get an acceptable font size 
836         approximation for Dia 0.90 and earlier files.
837         Also #include "message.h".
839         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
840         reflect movement of group.[hc]
841         * lib/group.h : export group_type which gets used by app/*
843         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
844         to get the GtkTypeInfo definition
846         * plug-ins/makefile.msc : dxf and xfig don't need to link
847         against app/ anymore now that group is moved to lib/
849         * plug-ins/python/pydia-render.c : remove massive leaking
850         of self, i.e. PyDiaRenderer
852         *  plug-ins/python/makefile.msc : remove linking against
853         GTK libs
855 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
857         * objects/standard/line.c: Removed properties options for gaps,
858         until release is done.
860         * configure.in: Check for freetype version.
862         * lib/text.c (text_insert_char): Fixed small buffer overflow for
863         length = 0.
865         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
867         * app/diapsft2renderer.h: 
868         * app/diapsft2renderer.c: 
869         * app/diapsrenderer.h: 
870         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
872         * app/render_eps.c (export_eps, new_psprint_renderer): Using
873         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
875         * lib/properties.h: Fixed bad frame end def.
877         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
879         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
880         
881         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
883 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
885         * lib/font.c: Now checking for the proper dia-style standard fonts.
887         * lib/Makefile.am: 
888         * app/Makefile.am: Moving group.[ch]
890         * plug-ins/dxf/dxf-import.c: 
891         * plug-ins/xfig/xfig-import.c: 
892         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
894         * app/object_ops.c: 
895         * app/object_ops.h: 
896         * lib/object.c (object_list_move_delta, object_copy_list): 
897         * lib/object.h: Moved some object-related functions from
898         object_ops to object to assist moving group.c.
900         * lib/diatypes.h: Added Group typedef.
902         * lib/group.h: 
903         * lib/group.c: Moved from app to lib to a) resolve plug-ins
904         references, and b) make groups more "real" objects.
906         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
908 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
910         * lib/font.c (dia_font_init): Added check that the three standard
911         fonts exist.
913 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
915         * lib/dia_xml.[ch]:
916         * app/load_save.c: Linebreaks in dia files, no indentation.
917         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
918         this. 
919         
920         * objects/standard/line.c: Small but important fixes to the line
921         gap code.
923         * lib/dia_xml.h: 
924         * lib/dia_xml.c (diaXmlNewChild): 
925         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
926         XML prettyprinting wrapper.
928 2002-12-03  Steffen Macke <sdteffen@web.de>
930         * shapes/Cisco/Makefile.am:
931         * shapes/Cisco/*.shape: finished conversion of Cisco icons
932         to *.png
933         
934 2002-12-02  Steffen Macke <sdteffen@web.de>
936         * doc/en/Makefile.am:
937         * doc/en/usage-objects.sgml:
938         * doc/en/graphics/line_icon.png: (new) added line icon
939         
940 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
942         * objects/standard/line.c: Binary search object edge line gap.
944 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
946         * configure.in: Added Cisco makefile, sorted Makefiles list.
948         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
950         * configure.in: Now checks for availability of PangoFT2 and
951         FreeType, raising an error if not found.
953         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
954         Hans.
956 2002-12-01  Steffen Macke <sdteffen@web.de>
957         
958         * doc/en/usage-loadsave.sgml: updated information on import
959         and export formats
960         
961 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
963         * app/commands.c (edit_copy_callback): Freeing copy_list.
965 2002-11-28  Steffen Macke <sdteffen@web.de>
966         
967         * app/render_libart.c: art_config.h was included twice
969 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
971         * sheets/.cvsignore: More ignorance.
973         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
975         * lib/prop_widgets.h: Two (currently unused) settings for frame
976         foldability.
978         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
979         (by default) foldable. 
981         * lib/propinternals.h: 
982         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
983         widgets in a more controlled manner.
985         * objects/standard/line.c (line_update_data): Line gap things
986         inserted.  Can do xeyes now:)
988 2002-11-26  Christian Neumair  <chris@gnome-de.org>
990         * .cvsignore: Changed.
991         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
992         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
993         Added.
995 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
997         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
999         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
1000         passing to font hash.
1002         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
1003         utf-8 or locale-convertible before adding to dialog text.  This
1004         probably needs done in a number of places where we get text from
1005         the environment and send it to GTK to display.
1007         * lib/widgets.c: Fixed case problems for font menu entries.
1009         * objects/SADT/annotation.c: Don't run the event test (but leave
1010         it here for inspiration).
1012         * lib/widgets.c: 
1013         * lib/widgets.h: Allowing setting preview text for fonts.
1015 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1017         * objects/bondgraph/Makefile.am: 
1018         * objects/bondgraph/bondgraph.c: 
1019         * configure.in: 
1020         * objects/Makefile.am: Added bond graph dir.
1022 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1024         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
1026 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
1028         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
1029         positioning. 
1031         * app/diapsrenderer.c: Freetype rendering is back in force.
1033         * app/disp_callbacks.c: Added missing updates for pre-text-change.
1035 2002-11-25  David Hoover <jazzdaq@yahoo.com>
1037         * app/render_libart.c: Added missing #include line for libart.
1039         * lib/geometry.h:
1040         * lib/geometry.c: Added point_convex function.  This computes
1041         points inside a line segment (0 <= alpha <= 1) or outside the
1042         line segment (alpha < 0 | alpha > 1).
1044         * objects/standard/line.c: Line now has additional code/attributes
1045         which permit the line to extend past the line anchors (gap < 0) or
1046         leave a gap without reaching the anchor (gap > 0).  If no gap is
1047         specified, the default gap of 0 will result in identical line
1048         behavior as before.  If the 'fractional' attributes are TRUE, the
1049         gap length is not fixed, but a percentage of the line length.  I
1050         did not know how create the GTK widgets so the gap code currently
1051         cannot be used without adding XML attributes by hand.
1053 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
1055         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
1057         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
1059 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
1061         * lib/font.c: Debugging functionality in separate functions.
1063         * lib/widgets.c: Using fontsel with context.
1065         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
1067         * objects/custom/custom_object.c: Orientation handling for shapes,
1068         patch thanks to Martin Hans <opfinder@gmx.net>.
1070         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
1071         work on even better orientation handling.
1073         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
1074         casting NULL pointers.  Should be unnecessary in an upcoming GTK
1075         release. 
1077 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
1079         * lib/font.h:
1080         * lib/font.c:
1081         * lib/widgets.c: Now uses correct context to get font families.
1083         * lib/diagdkrenderer.c (get_text_width, draw_string): 
1084         * lib/dialibartrenderer.c (draw_string): 
1085         * lib/font.h: 
1086         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
1087         (dia_font_build_layout): Unified the twiddle factors into a use of
1088         global_size_one.  But I deeply distrust Pango for seeming to
1089         change size of fonts every time I turn my back.
1091         * app/display.c: 
1092         * app/diagram.c: 
1093         * app/menus.c:
1094         * app/menus.h: Updated some more methods to also be more specific
1095         on the types.
1097         * app/menus.h:
1098         * app/recent_files.c: 
1099         Changed to return most specific type, to avoid run-time type errors.
1101         * app/menus.c (menus_get_item_from_path): Non-gnome version now
1102         gets menu_item rather than widget, which works better.
1104 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
1106         * app/display.c: (new_display):
1107         * app/menus.c: (menus_get_item_from_path):
1108         Relying on the tearoff to locate the input methods menu wasn't a
1109         good idea: tearoffs seem to be an endangered species nowadays.
1110         Anyway, the IM menu seems to be working now.
1112         * app/interface.c: hinted the window manager that the toolbox window
1113         is a toolbox window. Not that my (fairly default configuration)
1114         sawfish cares, but other NETWM compliant WMs may.
1116         * app/commands.c: 
1117         * app/defaults.c: 
1118         * app/dia-props.c:
1119         * app/filedlg.c: 
1120         * app/interface.c: 
1121         * app/layer_dialog.c: 
1122         * app/linewidth_area.c: 
1123         * app/properties.c: 
1124         * app/sheets_dialog.c: 
1125         * app/splash.c: 
1127         The GTK doc says to avoir gtk_window_set_wmclass() and 
1128         gtk_window_set_policy(), and use gtk_window_set_role() and
1129         gtk_window_set_resizable(), respectively.
1130         
1131         * app/preferences.c: (prefs_create_dialog):
1132         * app/preferences.h:
1133         * app/display.c: (display_set_active):
1134         Added a preference to have the toolbox hover over diagram windows.
1135                 
1136 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
1138         * lib/diagdkrenderer.c (get_text_width, draw_string):
1139         Freetype-based string drawing now works.  Not very fast, though.
1140         I wish I could use the graphics card for this:(  I'm doing three
1141         bitmap loops where I should be doing one.  The size is not correct
1142         either, despite having get_text_width give the right thing.
1144 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
1146         * app/connectionpoint_ops.c (diagram_update_connections_object):
1147         Allows more than one connectionpoint on an object to be moved at a
1148         time (bug #96306).
1150 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
1152         * configure.in: Added cs to ALL_LINGUAS.
1154 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
1156         * app/paginate_psprint.c: Removed unnecessary decl of autosave
1157         stuff.
1159         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
1161         * app/export_png.c (export_png_ok): Saving more variables from the
1162         evil setjmp.
1164 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1166         * lib/dialibartrenderer.c (begin_render):
1167         (end_render): Correct pushing and popping of font contexts.
1168         (draw_string): Double zooming eliminated, strange twiddle factor
1169         introduced (grumble).  Close to working now, but there are still
1170         strange differences from font to font.  In particular, some fonts
1171         really mess with the cursor and extents.
1173         * app/render_eps.c (export_eps): 
1174         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
1175         Fixed file closing confusion, no longer dependent on PS/EPS.
1177         * app/diagram.c (diagram_place_down_selected) 
1178         (diagram_place_up_selected): Now implemented.
1180         * lib/font.c (dia_font_init): 
1181         * lib/font.h: 
1182         Redesigned the font init/context pushing code.  Start of fix for
1183         font name differences.
1184         
1185 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
1187         * app/sheets_dialog_callbacks.c: Fix a typo.
1188         
1189 2002-10-15  Hans Breuer  <hans@breuer.org>
1191         * app/diapsrenderer.[hc] : (new files, old content :-)
1192         simple base class for post script rendering. Does neither 
1193         use Pango/FT2 nor does it handle non latin1 characters. 
1194         The fancy stuff which nowadays appears to be needed should 
1195         probably be done in derived class(es)
1197         * app/makefile.msc app/Makefile.am : added new files
1199         * app/paginate_psrint.c : re-enabled and used as test
1200         for the simple ps renderer above.
1202         * app/render_eps.[hc] : ripped out common ps code and
1203         moved to DiaPsRenderer. The rest of the file is mostly
1204         disabled. And I don't understand enough of it to 
1205         change port it.
1207         * app/diaepsrenderer.h : short lived, removed.
1209 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
1211         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
1212         as a plugin (thanks to Torben Nielsen).
1214 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1216         * app/diaepsrenderer.h: 
1217         * app/render_eps.h: 
1218         * app/paginate_psprint.c: 
1219         #ifdef'd out enough ps stuff to allow compile.  Now we just need
1220         to convert it.
1221         
1222 2002-10-12  Hans Breuer  <hans@breuer.org>
1224         [last plug-in ported]
1226         * plug-ins/xfig/xfig-export.c : ported to new renderer api
1228         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
1229         scale color values to [0..1.0] to properly reconstruct
1230         user colors
1232         * plug-ins/xfig/xfig-common.c : some cleaning
1234 2002-10-12  Hans Breuer  <hans@breuer.org>
1236         [decrease inter-plug-in-dependencies]
1238         * objects/custom/shape_info.[hc] : move parse_style()
1239         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
1240         the related structs and constants.
1241         * objects/custom/custom_object.c : reflect namespace
1242         changes
1244         * lib/dia_svg.[hc] : new files
1245         * lib/makefile.msc lib/Makefile.am : add new files
1246         * lib/libdia.def : updated externals
1248         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
1250         * plug-ins/svg/svg.c : enable svg import for win32 (and
1251         probably for other non ELF builds)
1253         * plug-ins/makefile.msc : enable svg import
1255 2002-10-11  Hans Breuer  <hans@breuer.org>
1257         * plug-ins/metapost/render_metapost.[hc] : ported
1259         * plug-ins/pstricks/render_pstricks.[hc] : dito
1261 2002-10-11  Hans Breuer  <hans@breuer.org>
1263         * plug-ins/cgm/cgm.c : ported, appears to work as before,
1264         but graphic apps available to me can't import the generated 
1265         files (the could not with Dia-0.90 cgm as well) ...
1267         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
1268         Removed all those function which did emulate 'complex' 
1269         drawing ops with basic ones (e.g. rect by line) cause this
1270         stuff is already provided by the base class
1271         * plug-ins/dxf/dxf-import.c : removed render.h include
1273         * plug-ins/python/pydia-font.[hc]
1274           plug-ins/python/pydia-text.c : finally ported to new font api
1276         * plug-ins/python/pydia-layer.c : add extra parameter
1277         to layer_find_closest_connectionpoint()
1279         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
1281         * plug-ins/python/python.c : added missing copyright notice
1283         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
1284         actually use the renderers set_font implementation
1286         * plug-ins/renderer.inc : unused now, removed
1287         * plug-ins/Makefile.am : reflect it
1289 2002-10-08  Hans Breuer  <hans@breuer.org>
1291         * app/render_gdk.c : don't add the InteractiveRenderer
1292         interface multiple times (it's added to the type, not
1293         the object)
1294         * app/render_libart.c : dito. It's currently added
1295         unconditional cause eport_png uses it, but claims
1296         to be non-interactive. Probably set_size should be moved
1297         to the DiaRenderer interface.
1299         * lib/dialibartrenderer.c : add implementations for
1300         get_<width|height>_pixels. Libart rendering works again.
1301         DiaLibartRenderer::draw_image : use dia_image_rowstride()
1302         instead of width*3
1304         * lib/diatransform.c(dia_transform_coords_double) :
1305         don't ROUND() the returned values
1307         * plug-ins/pixbuf/pixbuf.c : added import function. It
1308         simply creates a wrapping "Standard - Image" object.
1310         * plug-ins/shape/shape-export.c : use the more direct
1311         method to call base class methods
1313 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
1315         * lib/font.c (dia_font_init): Changed dia_font_init to return old
1316         pango context, to allow stacked contexts (for printing while
1317         antialiased).
1318         
1319         * lib/arrows.h
1320         * lib/bezier_conn.h
1321         * lib/beziershape.h
1322         * lib/boundingbox.h
1323         * lib/color.h
1324         * lib/connection.h
1325         * lib/connectionpoint.h
1326         * lib/create.h
1327         * lib/dia_image.h
1328         * lib/diagdkrenderer.h
1329         * lib/diagramdata.h
1330         * lib/dialibartrenderer.h
1331         * lib/diamenu.h
1332         * lib/diarenderer.h
1333         * lib/diasvgrenderer.h
1334         * lib/diatransform.h
1335         * lib/element.h
1336         * lib/filter.h
1337         * lib/focus.h
1338         * lib/font.h
1339         * lib/geometry.h
1340         * lib/handle.h
1341         * lib/neworth_conn.h
1342         * lib/objchange.h
1343         * lib/object.h
1344         * lib/orth_conn.h
1345         * lib/paper.h
1346         * lib/plug-ins.h
1347         * lib/poly_conn.h
1348         * lib/polyshape.h
1349         * lib/properties.h
1350         * lib/ps-utf8.h
1351         * lib/sheet.h
1352         * lib/text.h
1353         * lib/textattr.h
1354         * lib/widgets.h
1355         * lib/diatypes.h
1356         Moved all externally visible struct typedefs into diatypes.h, as
1357         per Hans' suggestions.
1359 2002-10-07  Steffen Macke <sdteffen@web.de>
1361         * lib/Makefile.am: removed a '\' causing problems
1363 2002-10-07  Hans Breuer  <hans@breuer.org>
1365         [Libart Renderer resurrected; almost it's compiling but
1366          almost instantly crashing :-]
1368         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
1369         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
1370         * lib/diatransform.[hc] : added dia_transform_coords_double()
1372         * app/display.c : the right parameters for new_renderer_libart()
1373         * app/export_png.c : ported, removed the blind Display hack
1375         * app/makefile.msc lib/makefile.msc 
1376           lib/Makefile.am : updated
1378         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
1380 2002-10-06  Hans Breuer  <hans@breuer.org>
1382         * plug-ins/pixbuf/pixbuf.c : (new file)
1383         there is a new export plug-in called 'Pixbuf' which uses 
1384         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
1385         formats (currently only PNG and JPEG).
1387 2002-10-06  Hans Breuer  <hans@breuer.org>
1389         See also: 
1390         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
1392         * lib/dia-enums.h lib/diatransform.[hc]
1393           lib/diarenderer.[hc] lib/diainteractiverenderer.c
1394           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
1395         : new files 
1397         * lib/makefile.msc lib/makefile.am : added new files
1399         * lib/plug-ins.c : g_module_error() returns a locale
1400         string, convert to utf8 before further usage 
1402         * lib/render.h : #error out. Everything including this
1403         needs porting
1404         * lib/*.[hc] : ported to new renderer api
1406         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
1407         just to make the rest compile
1408         * app/render_eps.c : temporary disabled all of this
1409         * app/render_eps.h : removed RendererEPS
1411         * app/render_gdk.[hc] : a small wrapper around the new
1412         DiaGdkRenderer form lib/*
1414         * app/render_libart.h : removed RenderLibart definition
1415         * app/render_libart.c : not yet ported to new DiaRenderer
1416         but having an implementation to untie form FT2 dependency
1417         at least on win32. It is using new Pango api form bug #94791
1419         * app/render_pixmap.[hc] : a small wrapper around the new
1420         DiaGdkRenderer form lib/*
1422         * app/display.h : removed render_*.h includes
1423         * app/display.c : the only place where specific 
1424         renderers need to be known
1426         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
1427         use new DiaInteractiveRenderer interface
1429         * app/*.c : ported to new renderer api
1430         * object/*/*.c : ported to new renderer api
1431         s/render.h/diarenderer.h/
1432         s/Renderer/DiaRenderer/
1433         s/renderer->ops/renderer_ops/
1434         add in every draw method:
1435         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
1437         * plug-ins/hpgl/hpgl.c : 
1438           plug-ins/wmf/wmf.cpp 
1439           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
1440         * plug-ins/shape/shape-export.c
1441           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
1442           (nice how small these files became :-)
1444 2002-09-28  Hans Breuer  <hans@breuer.org>
1446         * */makefile.msc : updated
1448         * app/defaults.c : don't gdk_invalidate_rect(NULL)
1449         * app/disp_callbacks.c : 
1450         can't cast GtkWindow to GdkWindow, use shell->window
1451         (ddisplay_unrealize) don't use already unrefed im_context
1452         * app/display.c :
1453         can't cast from GtkMenu to GtkMenuItem
1454         (ddisp_destroy) : mark im_context as unrefed
1456         * lib/dia_xml (data_font) : prefer new font format over old one
1457         (data_add_font) : write the legacy name to allow file exchange
1458         with pre Pango versions of Dia, which would otherwise crash 
1459         on missing font 'name' attribute.
1460         * lib/font.c (dia_font_get_legacy_name) : improved implementation
1461         to get a better match.
1463         * lib/libdia.def : updated
1465         * lib/messages.c : don't gdk_widget_show(NULL)
1467         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
1469         [make Dia compile, link _and_ work with mingw/gcc3.2]
1471         * config.h.win32 : #define LIBXML, this gets defined from libxml
1472         header but only for _MSC_VER. The mingw build did access an 
1473         unitialized function pointer for xmlFree.
1475         * */makefile.mingw : updated (some plug-ins have build issues)
1476         
1477         * lib/handle.h lib/object.h :   there appears to be no 
1478         forward declaration of the form 
1479                 typedef enum _HandleId HandleId 
1480         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
1481         use of enum `_HandleId' without previous declaration
1483         * app/paginate_gdiprint.cpp : added a hack to avoid g++
1484         naming conflict on 'export'
1486         * app/paginate_gdiprint.h : forward declare Diagram
1488         * objects/SADT/annotaion.c : use g_random_double()
1490 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1492         * app/modify_tool.c: Made motion not happen until sufficiently
1493         large or past double-click interval, to avoid accidental moving
1494         when doubleclicking.  Got the double-click time right, and fixed
1495         some issues with release.  There are some corner cases that may
1496         exhibit strange behaviour, will look at those later.  Nah, let's
1497         not care about those, they are rare and not dangerous.
1499 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
1501         * app/layer_dialog.c: 
1502         * app/load_save.c: 
1503         * plug-ins/dxf/dxf-import.c: 
1504         * plug-ins/python/pydia-diagram.c: 
1505         * lib/diagramdata.c:
1506         * lib/diagramdata.h:
1507         Improved the consistency of the obj->parent_layer backlinks (esp.
1508         during reloads)
1510         * lib/Makefile.am:
1511         * lib/dummy_dep.h:
1512         * lib/dynamic_obj.[ch] (NEW):
1513         * app/Makefile.am:
1514         * app/app_procs.c: 
1515         * app/dynamic_refresh.[ch] (NEW):
1516         * objects/Misc/analog_clock.c: 
1517         Added support for dynamic refresh (animated objects).
1518                 
1519 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
1521         Patch from Owen Taylor <otaylor@redhat.com>:    
1522         * doc/en/Makefile.am:
1523         * doc/en/dia-manual.sgml:
1524         * doc/en/usage-objects.sgml:
1525         * doc/en/usage-quickstart.sgml:
1526         * doc/pl/Makefile.am:
1527         * doc/pl/dia-manual.sgml:
1528         * doc/pl/usage-objects.sgml:
1529         * doc/pl/usage-quickstart.sgml:
1531         - Change the DTD declration from an outdated GNOME one to a
1532         standard DTD.
1533         
1534         - Remove close tags for <graphics> which aren't allowed for
1535         docbook SGML
1536         
1537         - A hacky fix for a problem where some versions of db2html don't
1538         create *.css files. (If *.css doesn't match anything, then you get
1539         the global explicitely.)
1541         (Closes: #92061)
1542         
1543 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
1545         * objects/custom/custom_object.c: 
1546         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
1547         were never properly prepared for use when reloading a shape with
1548         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
1549         reporting the problem and coming up with a fix! (Closes: #93974)
1551         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
1552         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
1554         * app/menus.c:
1555         * app/display.c: updated menu item paths Alan's patch had moved.
1556         
1557         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
1558         load the sheet-provided icon (libpng versions mismatch, grrr.).
1559         
1560         * configure.in:
1561         * objects/Makefile.am:
1562         * objects/Misc/Makefile.am (NEW):
1563         * objects/Misc/libmisc.c (NEW):
1564         * objects/Misc/analog_clock.c (NEW):
1565         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
1566         * sheets/Misc.sheet.in: just a little experiment...
1568 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
1570         * plug-ins/xlst/Makefile.am: found a way to silence automake while
1571         not forcing everyone to build using libxslt.
1573         * lib/font.c: 
1574         * lib/message.c:
1575         * lib/object_defaults.c:
1576         * lib/intl.[ch]:
1577         * lib/render.c:
1578         * lib/properties.[ch]:
1579         * lib/propobject.c:
1580         * objects/standard/box.c: 
1581         * objects/UML/state_term.c:
1582         * objects/FS/box.c:
1583         * objects/FS/flow-ortho.c:
1584         * app/app_procs.c:
1585         * app/autosave.c:       
1586         * app/commands.c:
1587         * app/diagram_tree.c:
1588         * app/display.c:
1589         * app/disp_callbacks.c:
1590         * app/export_png.c:
1591         * app/filedlg.c:
1592         * app/lineprops_area.c:
1593         * app/menus.c:  
1594         * app/preferences.c:
1595         * app/render_eps.c:     
1596         * app/sheets.c:
1597         * app/sheets_dialog_callbacks.c:
1598         * plug-ins/xslt/xslt.c:
1599         * plug-ins/metapost/render_metapost.c:
1600         * plug-ins/xfig/xfig-export.c:
1601         * plug-ins/shape/shape-export.c:
1602         
1603         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
1604         unused variables, mostly)
1606         * app/display.c:
1607         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
1609         * app/Makefile.am: modified run_dia.sh so that we recover the
1610         ability to run a debugger despite libtool's hacks.
1612         * plug-ins/dxf/Makefile.am: 
1613         * app/Makefile.am
1614         "make distcheck" fixes.
1615         
1616 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
1618         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
1619         <mfranzoni@madd.it>:  Check for the type being NULL.
1621 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
1623         * app/render_eps.c (set_font): Re-tweaked font size for printing.
1625 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
1627         Patch from Angus Ainslie <angusa@deltatee.com>:
1628         * plug-ins/dxf/dxf-import.c:
1629         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
1631         (plus a couple extra fixes by me, such as the removal of printf's,
1632         adapting for recent changes, and killed a couple warnings) 
1634         * app/authors.h: a 60K patch isn't insignificant, is it?
1635         
1636 2002-09-09  Tor Lillqvist  <tml@iki.fi>
1638         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
1639         as before) and -lfreetype (using AC_CHECK_LIB). At least on
1640         Solaris with Sun's compiler (Forte C), you need to link also the
1641         dia application with -lfreetype, even if it is implicitly linked
1642         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
1643         which is what they actually mean. Use FREETYPE_LIBS for
1644         -lfreetype.
1646         Don't look for libsunmath if isinf() is not found in math.h (as on
1647         Solaris). The sunmath library is part of Forte C and not present
1648         on all machines. Besides, even if isinf was found in libsunmath,
1649         we didn't use it in the Makefile.am.
1650         
1651         Fix a couple of bashisms.
1653         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
1654         too, on Solaris with Forte C.
1656         Don't try to use the gcc flags with other compilers.
1657         DIA_CHECK_CFLAG gives a false indication that Forte C understands
1658         the gcc -f switches, but in fact they get interpreted meaning
1659         something completely different.
1661         Define the automake conditional HAVE_CGC.
1662         
1663         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
1665         Use -export-dynamic only with gcc.
1667         * */Makefile.am
1668         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
1669         PANGOFT2_CFLAGS rename.
1671         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
1672         
1673         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
1674         Solaris.
1676         * lib/paper.c: Workaround for gccism: Can't use inline this way with
1677         Forte C, either.
1679 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
1681         * lib/text.c(set_string): fixed a memory leak (char* ain't no
1682         std::auto_ptr<char> !).
1684         * app/display.[ch]:
1685         * app/interface.[ch]:
1686         * app/ddisp_callbacks.[ch]: Added some basic support for input 
1687         methods (GtkIMContext-based)
1689         * lib/Makefile.am:
1690         * app/Makefile.am: made libdia a shared object (per Tor
1691         Lillqvist's suggestion/request), to cope for platforms with a less
1692         than par dynamic library loader.
1694         * app/display.c: disabled the input method menu (I really don't
1695         see where and how to put them. Blame Frozen Bubble )
1696         
1697 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
1699         * objects/flowchart/box.c (box_update_data): Made resizing
1700         possible again (only set width & height when resized too small).
1702         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
1704         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
1705         GdkScrollEvents.
1706         
1707 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
1709         * app/authors.h: now showing Akira TAGOH's name in the native script.
1711 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
1713         * plug-ins/xslt/xslt.c: Removed glib warning for unset
1714         DIA_PLUGIN_PATH.
1716 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
1718         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
1719         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
1720         sweep flag in arcs.
1722 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
1724         * objects/UML/class.c: Fixed showing of empty stereotypes and got
1725         the string placed correctly.
1727 2002-08-30  Hans Breuer  <hans@breuer.org>
1729         * lib/font.c (dia_font_get_style) : don't shift already
1730         shifted DIA_FONT values.
1732         * lib/libdia.def : updated externals
1734         * app/disp_callbacks.c : on win32 GdkEventKey::string already
1735         is in UTF-8. (Longterm this probably should be handled on the
1736         gtk api level)
1738         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
1739         switch display renderers again. The libart renderer is very 
1740         useful for win9x with it's limited GDI.
1742         * app/render_gdk.c : use g_warning instead of printf which gets
1743         nowhere on win32 (non console apps)
1745         * app/render_libart.c : make it compile without FREETYPE
1747         * objects/makefile.msc plug-ins/makefile.msc : added clean target
1749 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
1751         * app/render_eps.c (postscript_draw_contour): Debugging statement
1752         that allowed me to figure out font problems.
1754         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
1755         items for font styles.
1757         * objects/FS/flow-poly.c: 
1758         * objects/FS/flow-ortho.c: 
1759         * objects/FS/flow.c: Further conversion away from GTK dialogs.
1760         Can't set a default label right now:(
1762         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
1764 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
1765         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
1767         * Makefile.am: rules relating to AUTHORS and THANKS
1768         altered.
1769         * AUTHORS: file content changed to more accurately
1770         reflect guideline requirements.
1771         * TODO: warning added about Gnome BTS.
1772         * KNOWN_BUGS: warning added about Gnome BTS.
1774         ---
1776         * AUTHORS: added full copyright info.
1777         * mkauthors-placeholder: (removed) 
1778         
1779 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
1781         * app/paginate_psprint.c (print_page): Fixed text printing after
1782         tip from Dov Grobgeld.
1784 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
1786         * app/paginate_psprint.c (print_page): Fixed color of clip
1787         region.
1789 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
1791         * sheets/Makefile.am: enabled intltool-merge translation cache for
1792         sheets.
1794         * Makefile.am:
1795         * mkauthors-placeholder:
1796         * AUTHORS: revived that file (in a placeholder form) so that
1797         automake stops yelling.
1798         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
1799         (Closes: #91144)
1801         Heh, by the way, thanks Christophe. I feel better now.
1802         
1803 2002-08-25  Christophe Merlet  <christophe@merlet.net>
1805         * app/command.c: Removed invalid multibyte sequence in Chepelov.
1807 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
1809         * lib/dia_image.c (dia_image_rgb_data): 
1810         Bugfixes in image data retrieval.
1811         
1812         * app/render_eps.c: Refactoring of new_*_renderer.
1814 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
1816         * app/render_eps.c: 
1817         * lib/dia_image.h: 
1818         * lib/dia_image.c: Support for rowstride != width (odd width images)
1820 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
1822         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
1823         * plug-ins/xfig/xfig-import.c: Removed assertion.
1825 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
1827         * lib/paper.c: Removed app/preferences.h reference.
1829 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
1831         * plug-ins/svg/svg-import.c: 
1832         * plug-ins/xfig/xfig-import.c: 
1833         * lib/Makefile.am (libdia_a_SOURCES): 
1834         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
1835         * lib/create.h:
1836         * objects/standard/create.h:
1837         * objects/standard/polygon.c (polygon_create): 
1838         * objects/standard/polyline.c (polyline_create): 
1839         * objects/standard/beziergon.c (beziergon_create): 
1840         * objects/standard/bezier.c (bezierline_create): 
1841         Moving create.h into lib.
1843 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
1845         * app/render_libart.[ch]: Work on PNG font export.  Something's
1846         still fishy with the scaling, I don't get it.
1848         * app/display.c: 
1849         * app/interface.c: Replaced broken zoom combo with entry+menu.
1850         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
1852         * app/render_gdk.c (get_text_width): Checks for validity of text.
1853         Temporary help while debugging input -- should only activate on
1854         invalid input.
1856         * objects/SADT/annotation.c: 
1857         * objects/GRAFCET/transition.c: 
1858         * objects/FS/function.c: Removal of gtk.h include.
1860         * objects/UML/state.c (state_load): Warnings about using State
1861         object for initial/final states.
1863         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
1865 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
1867         * app/render_eps.c: Text rendering that scales correctly.  Too bad
1868         the standard fonts don't get selected right.
1870 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
1872         * lib/diagramdata.h: 
1873         * lib/paper.c (get_paper_info): 
1874         * lib/paper.h: 
1875         * plug-ins/xfig/xfig-import.c: 
1876         Committed before testing.  I am so embarrased.  This compiles, now
1877         that the includes are in the right order.
1878         
1879         * app/diagram.c (diagram_init): 
1880         * app/app_procs.c (do_convert): 
1881         * app/preferences.h: 
1882         * lib/diagramdata.h: 
1883         * lib/diagramdata.c (new_diagram_data): 
1884         * lib/paper.h: 
1885         * lib/paper.c (get_paper_info): 
1886         Moved new_diagram part of prefs into lib/diagramdata.h.  More
1887         could be done in new_diagram_data() now.
1889 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
1891         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
1893 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
1895         * configure.in: removed silly user-visible comment
1897         (actually, this is a dummy entry before I manually run nemo; for
1898         some dist-upgrade related reason, this morning's run aborted before
1899         the snapshots were created)
1900         
1901 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
1903         * objects/network/wanlink.c: 
1904         * objects/network/bus.c: 
1905         stdprop compliance!
1907         * objects/custom/custom_object.c: 
1908         * objects/network/wanlink.c: 
1909         * objects/flowchart/parallelogram.c: 
1910         * objects/flowchart/ellipse.c: 
1911         * objects/flowchart/diamond.c: 
1912         * objects/flowchart/box.c: 
1913         Removed GTK defaults stuff.
1914         
1915         * objects/UML/fork.c: 
1916         * objects/UML/object.c: 
1917         * objects/UML/lifeline.c: 
1918         * objects/UML/branch.c: 
1919         * objects/GRAFCET/transition.c: 
1920         * objects/FS/function.c: Removed GTK include.
1922         * objects/FS/flow-ortho.c: 
1923         * objects/FS/flow.c: Made the label behave again.
1924         Also removed GTK defaults stuff.
1926 2002-08-06  Hans Breuer  <hans@breuer.org>
1928         * app/autosave.c : ported to GDir which is the improved
1929         cross platform replacement for <dirent.h>
1931         * app/makefile.msc : build autosave.obj
1933         * app/font.c : some (bad?) code calls 
1934         dia_font_scaled_decent() not only with empty string but 
1935         with NULL. Handle it gracefully.
1937         * lib/paper.c : don't depend on ../app. Although IMO
1938         this shouldn't be allowed on any platform it is only
1939         disabled for win32, where it simply doesn't work
1940         this way
1942         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
1944         * objects/fs/flow.c : conditionalize debug spew, disabled
1945         and 'ported' to use g_print. Simple printf won't work with
1946         standard win32 gui apps, may even crash them.
1948         * plug-ins/makefile.msc : DISABLED svg-import cause it
1949         depends on ../objects/custom. This not only break the
1950         build for all non ELF systems but IMO also isn't acceptable
1951         from a design point of view. See dia-list mail on subject.
1953         * plug-ins/python/makefile.msc :
1954           plug-ins/python/python.c : remove all references to dirent    
1956 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
1958         * configure.in: added ro to ALL_LINGUAS
1960         * po-checktrans:
1961         * po-checktrans.py:
1962         * ../translation-graphs/transgraph.py: added support for fuzzy
1963         translations. Enlarged the graphs.
1965 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
1967         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
1968         key events according to locale.  No clue if this works for
1969         advanced stuff.
1971 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
1973         * lib/text.c: Various UTF8 related fixes, in particular in
1974         deleting.  Text_insert_char is fine, far as I can tell.
1976         * app/interface.c (create_display_shell): 
1977         * app/commands.c: Now uses gtk_clipboard functions, for they are
1978         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
1979         don't seem to get handled correctly by text_insert_char in
1980         lib/text.c.
1981         
1982         * app/commands.c (received_selection_handler): Got utf8 handling
1983         on paste, and individual char handling out of commands.c.  Pasting
1984         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
1986         * lib/message.c (gtk_message_internal): Message dialog re-shown
1987         when new message appears.  Maybe it should even move to top?
1989         * lib/font.c: 
1990         * lib/widgets.c: 
1991         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
1992         (again) and case-insensitive.
1994         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
1995         BASIC_SANS_FONT. 
1997 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
1999         * app/commands.c (edit_cut_text_callback): 
2000         * lib/text.c (text_delete_all): Now functioning undo for text cut.
2001         
2002         * app/commands.c (edit_cut_text_callback): Now removes text.
2003         Undo is broken, though.
2005 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
2007         * app/diagram.c (diagram_update_menu_sensitivity): 
2008         Making cut_text active.
2009         
2010         * app/commands.h: 
2011         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
2012         clipboard.  Also removed AA callback.   
2014 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
2016         * objects/chronogram/chronoref.c: 
2017         * objects/chronogram/chronoline.c: 
2018         * objects/SADT/annotation.c: 
2019         * objects/SADT/arrow.c: 
2020         * objects/SADT/box.c: 
2021         * objects/GRAFCET/vergent.c: 
2022         * objects/GRAFCET/vector.c: 
2023         * objects/GRAFCET/step.c: 
2024         * objects/GRAFCET/condition.c: 
2025         * objects/GRAFCET/action.c: 
2026         * objects/ER/participation.c: 
2027         * objects/ER/relationship.c: 
2028         * objects/ER/entity.c: 
2029         * objects/ER/attribute.c: 
2030         Removing unnecessary GTK references.
2032 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
2034         * objects/standard/image.c: 
2035         * objects/standard/textobj.c: 
2036         * objects/standard/ellipse.c: 
2037         * objects/standard/polygon.c: 
2038         * objects/standard/beziergon.c:
2039         * objects/standard/box.c: 
2040         Making default default properties.
2041         
2042         * objects/standard/image.c: 
2043         * objects/standard/arc.c: 
2044         * objects/standard/box.c: 
2045         * objects/standard/zigzagline.c: 
2046         * objects/standard/polyline.c: 
2047         * objects/standard/line.c: 
2048         * objects/standard/ellipse.c: 
2049         * objects/standard/polygon.c: 
2050         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
2052         * lib/object_defaults.c (dia_object_default_create): 
2053         * lib/proplist.c: 
2054         * lib/properties.h: 
2055         * lib/object.c (object_copy_using_properties): 
2056         * lib/propdialogs.c: 
2057         * lib/propinternals.h: 
2058         * lib/propobject.c (object_create_props_dialog)
2059         (object_copy_props): 
2060         Removing the standard (toolbox) properties from defaults dialogs.
2062 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
2064         * lib/font.c (dia_font_scaled_string_width) 
2065         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
2066         zoom factor.
2067         * lib/text.c (text_calc_boundingbox): Take descent into account.
2069         * objects/standard/bezier.c (bezierline_draw): 
2070         * lib/render.c (draw_bezier_with_arrows): 
2071         Better arrow drawing for beziers.  Doesn't change the mouse-click
2072         area either.
2074         * lib/arrows.h: Some const-ness.
2076         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
2078         * lib/render.c (draw_arc_with_arrows): 
2079         * objects/standard/arc.c (arc_draw): Better arrow drawing for
2080         arcs.  Doesn't change the mouse-click area yet.
2082         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
2084         * lib/render.h: 
2085         * lib/render.c: 
2086         Arc arrow prework.
2088 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
2090         * app/group.c (group_draw): Forgotten commit: Groups to draw as
2091         objects (using default routines).
2093         * app/object_ops.h: 
2094         * app/diagram.h: 
2095         * lib/diagramdata.h: 
2096         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
2097         * objects/standard/zigzagline.c (zigzagline_move_handle): 
2098         * app/diagram.c (diagram_find_closest_connectionpoint): 
2099         * plug-ins/python/pydia-diagram.c
2100         (PyDiaDiagram_FindClosestConnectionPoint):
2101         * app/object_ops.c (object_connect_display) 
2102         (object_find_connectpoint_display) 
2103         * app/create_object.c (create_object_button_press) 
2104         (create_object_motion): 
2105         * app/modify_tool.c (modify_motion): 
2106         Adding object param to allow connectionpoint and handle coinciding.
2108         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
2109         Fixing minor problems.
2111         * objects/standard/ellipse.c (ellipse_update_data): 
2112         Added direction hints.
2114         * lib/diagramdata.c: 
2115         * lib/object.c: 
2116         * lib/object.h: 
2117         * lib/diagramdata.h: 
2118         * objects/standard/zigzagline.c: 
2119         First working example of zigzagline hints, currently only between
2120         Box and Zigzagline.
2122 2002-07-27  Steffen Macke <sdteffen@web.de>
2124         * plug-ins/svg/render_svg.c: added support for rounded
2125         rectangles (fixes #69053 if compile with
2126         -DNEW_RENDER_OPS)
2127         * object/custom/shape_info.[c|h]: made parse_style and
2128         parse_path accessible for svg plug-in
2129         * plug-ins/svg/Makefile.am:
2130         * plug-ins/svg/svg.c:
2131         * plug-ins/svg/svg-import.c(new): added SVG import filter
2133 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
2135         * objects/standard/box.c: 
2136         * objects/standard/zigzagline.c (zigzagline_move): 
2137         More work on zigzagline hints.
2139 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
2140         * lib/connectionpoint.h: 
2141         Hints for zigzaglines.
2143         * app/properties.c (properties_show): 
2144         * app/defaults.c (defaults_show): 
2145         * lib/properties.h: 
2146         * lib/propobject.c (object_create_props_dialog): 
2147         * lib/object.h: 
2148         * objects/FS/flow-poly.c: 
2149         * objects/network/wanlink.c: 
2150         * objects/network/bus.c: 
2151         * objects/UML/class.h: 
2152         * objects/UML/class_dialog.c: 
2153         * objects/UML/association.c: 
2154         Start of removing toolbox props from props dialogs.
2155         
2156         * lib/widgets.c: 
2157         * lib/arrows.h: 
2158         * app/lineprops_area.c (dia_arrow_chooser_new): 
2159         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
2161         * app/create_object.c: 
2162         * app/modify_tool.c: 
2163         * app/cursor.h: 
2164         * app/cursor.c: 
2165         More cursor change.
2167 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2169         * app/preferences.c: 
2170         * lib/paper.c: 
2171         * app/diapagelayout.c: 
2172         New prefs selector kind PREF_CHOICE chooses between a list of
2173         strings.  Used for picking default paper.
2174         
2175         * app/preferences.c (prefs_data): 
2176         * lib/paper.c (get_paper_info): Added prefs setting for
2177         is_portrait.
2179         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
2180         line segments at the ends (bug #86603).
2182 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2184         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
2185         #60324: Now calls update_data after copy.
2187         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
2188         Now doesn't steal selection from non-object tools.
2190 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
2192         * app/commands.c (help_manual_callback): Uses BROWSER environment
2193         variable when available.
2195 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2197         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
2198         object from the new sheet when changing.
2200         * app/app_procs.c (app_init): Uses more standard size icon, from
2201         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
2203 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2205         * objects/UML/implements.c (implements_update_data): 
2206         * objects/UML/realizes.c (realizes_update_data): 
2207         * objects/UML/dependency.c (dependency_update_data): 
2208         Test for null strings before calling on ascent.
2210         * objects/UML/realizes.c (realizes_draw): 
2211         * objects/UML/message.c (message_draw): 
2212         * objects/UML/generalization.c (generalization_draw): 
2213         * objects/UML/dependency.c (dependency_draw) 
2214         * objects/UML/constraint.c (constraint_draw): 
2215         * objects/GRAFCET/condition.c (condition_draw): 
2216         * objects/UML/association.c (association_draw): 
2217         * objects/FS/flow-ortho.c (orthflow_draw): 
2218         * objects/FS/flow.c (flow_draw): Change to use
2219         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
2221         * lib/render.h: 
2222         * lib/arrows.c (calculate_arrow_point): 
2223         * lib/arrows.h: 
2224         * lib/render.c: 
2225         * objects/standard/zigzagline.c:
2226         * objects/standard/polyline.c:
2227         * objects/standard/line.c: Work towards better arrow drawing.
2229 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
2231         * objects/UML/state.c: Starting phase-out of State object as
2232         initial/final state (which never worked right).
2234         * app/app_procs.c (app_init): --version command line option for
2235         non-Gnome.
2237         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
2239 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
2241         * app/render_eps.c: Removed debugging info.
2243         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
2244         Kludge to make ascent and descent work for empty strings.  Won't
2245         work when using non-ASCII fonts.  Better would be to get a
2246         PangoFont and ask directly.
2248         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
2249         of the init stuff.
2251         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
2252         Cursor now better.
2254 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
2256         * plug-ins/xfig/xfig-export.c: First use of draw_object render
2257         function: All shapes are now groups in XFig export.
2259         * lib/diagramdata.c (normal_render): 
2260         * lib/render.c: 
2261         * lib/render.h: 
2262         * app/display.c (ddisplay_obj_render): 
2263         New render function for drawing objects, allows renderers to group
2264         or otherwise specially handle objects.  We may want to reconsider
2265         calling it in app/display.c, as we 'know' the object draw function
2266         is the default one there.
2268         * lib/Makefile.am: Removed extra \ that broke stuff.
2270         * plug-ins/xfig/xfig-import.c: 
2271         Spline import for xfig.  Not perfect.
2273         * objects/standard/create.h: 
2274         * objects/standard/bezier.c (bezierline_create): 
2275         * lib/bezier_conn.c: 
2276         * lib/beziershape.c (beziershape_set_points): 
2277         * lib/bezier_conn.h: 
2278         * lib/beziershape.h: 
2279         Support for creating beziers non-interactively.
2281 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
2283         * plug-ins/xfig/xfig-import.c: Support for polygons and
2284         polylines.  Special warning handling system removed.
2286         * lib/message.c (gtk_message_internal): Fixed bug involving
2287         closing message window and then getting repeated message.
2289         * Makefile.am: 
2290         * autogen.sh: 
2291         * configure.in (GETTEXT_PACKAGE): 
2292         Update based on bug #88199.  Hopefully this doesn't break too much
2293         intl stuff.
2295         * dia.desktop.in (_Comment): Changed after suggestion from
2296         calum.benson@ireland.sun.com (bug 88345)
2298         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
2299         <loli@unsa.edu.ar> that makes user/system distinction better.
2301 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
2303         * app/render_libart.c: Got the context right, removed crashes.
2305         * app/commands.c: 
2306         * app/commands.h: 
2307         Redraw menu item.
2309         * app/display.c: 
2310         * app/display.h: 
2311         * app/interface.c: 
2312         * app/menus.c: 
2313         Remove libart #defines from most places (still around for png export).
2315         * app/render_libart.h: 
2316         * app/render_libart.c: 
2317         * configure.in (HAVE_LIBART): 
2318         Starting on update of libart stuff for png export (without X).
2320         * app/autosave.h (autosave_check_autosave): 
2321         * app/load_save.h: 
2322         * app/diagram.h: 
2323         * app/Makefile.am (dia_core_files): 
2324         * app/load_save.c: 
2325         * app/diagram.c (diagram_set_modified): 
2326         * app/autosave.c: 
2327         * app/app_procs.c (app_init): 
2328         Autosave support.  No automatic restore yet.
2330 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
2332         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
2333         assignment. 
2334         
2335 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
2337         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
2339 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
2341         * Fix for 'make dist' etc. --- problem caused by
2342         previous AUTHORS patch.
2344 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
2346         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
2347         pango_context. 
2348         (set_font): NULL check.
2349         
2350 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2352         * app/disp_callbacks.c: 
2353         * lib/diamenu.h: 
2354         Addition to the object menus allows check menu items.
2356 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
2358         * HACKING: completely changed to bring up-to-date.
2359         * AUTHORS: file needs REMOVING from CVS as now
2360           dynamically generated.
2361         * app/authors.h: split into subcategories for original
2362           authors, maintainers, etc.
2363         * app/app_procs.c: --credits rewritten to support new
2364           app/authors.h
2365         * app/commands.c: no changes to about box code, comment
2366           added though.
2367         * Makefile.am: added rule for AUTHORS. I'm still
2368           inexperienced with automake, it seems to work, but
2369           for AUTHORS-related bugs, look at this change first.
2371 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
2373         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
2374         work.  Back to including xslt dir always.
2376         * objects/UML/uml.c: 
2377         * objects/UML/class.h: 
2378         * objects/UML/class_dialog.c: 
2379         * objects/UML/class.c: Patch from
2380         <mattam@netcourrier.com>:  Adds comment visibility switch, also
2381         fixes various bugs.
2383         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
2384         for state/fork/activity stuff.
2385         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
2386         * objects/UML/Makefile.am:
2387         * objects/UML/uml.c:
2388         * sheets/UML.sheet.in: Added new objects activity, fork,
2389           state_term.
2390         * objects/UML/pixmaps/state_term.xpm:
2391         * objects/UML/state_term.c: New, only initial/final states.
2392         * objects/UML/pixmaps/activity.xpm:
2393         * objects/UML/activity.c: New, activity state.
2394         * objects/UML/pixmaps/fork.xpm:
2395         * objects/UML/fork.c: New, fork/join bar.
2396         * objects/UML/pixmaps/state.xpm: state icon.
2398         
2399         * doc/diagram.dtd: 
2400         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
2401         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
2402         svg:text to shape.
2404 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
2406         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
2407         detecting XSLT
2409         * app/Makefile.am: Commented out the diaconv parts while it's not
2410         used anyway.  To come back later.
2412         * configure.in (HAVE_FREETYPE): 
2413         * app/app_procs.c: 
2414         * app/render_eps.h: 
2415         * app/render_eps.c: Support for printing with freetype, better
2416         encapsulated now.  Renders the text nicely, but ignores font
2417         setting.  Requires pangoft2 to get the font outline, but non-text
2418         objects can still be rendered without it.
2420         * app/commands.h: 
2421         * app/commands.c (objects_place_up_callback) 
2422         (objects_place_down_callback): 
2423         * app/diagram.h: 
2424         * app/diagram.c (diagram_place_down_selected) 
2425         (diagram_place_up_selected): Starting support for moving objects
2426         one level up/down.
2428         * app/menus.c: Removed character/numeral shortcuts.
2430 2002-07-06  Hans Breuer  <hans@breuer.org>
2432         * makefile.am app/makefile.am lib/makefile.am
2433           objects/makefile.am plug-ins/makefile.am 
2434           plug-ins/python/makefile.am :
2435         added required files for win32 build to EXTRA_DIST
2437         * app/paginate_psprint.c app/render_eps.c 
2438           app/app_procs.c :
2439         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
2440         on Pango as currently is on win32 => no PostScript 
2441         anymore.
2443         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
2444         use '/* noop */;' for empty case labels; replace
2445         debug spew printf with g_print which is guaranteed 
2446         to work on win32, too.
2448         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
2449         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
2450         in the pango_font_description_set_weight() api documentation
2451         Take care for them in dia_font_get_style() too.
2453         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
2454           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
2455         rename Obliquity to Slant which appears to be the usual name,
2456         also rename dia_font_get_style_string -> dia_font_get_slant_string
2458         * plug-ins/wmf/wmf.cpp : finally ported to new font api
2460         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
2462         * objects/uml/association.c class.c large_package.c message.c
2463         if g_free() is used g_strdup needs to be used.
2464         * objects/custom/shape_info.c
2465           objects/ER/attribute.c entity.c
2466           objects/standard/image.c 
2467           app/sheets_dialog_callbacks.c : more strdup cleaning
2469 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
2471         * app/render_eps.c: Non-crashing printing (made the right
2472         context).  Font output still fscked up.
2474 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
2476         * app/authors.h: Added file --- now master
2477         location for contributors data.
2478         * app/app_procs.c: Added --credits option.
2479         * app/commands.c: Modified about box to use
2480         app/authors.h.
2482 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
2484         * app/render_eps.c: First stab at EPS rendering using the contour
2485         code from PAPS.  Crashes.
2487 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
2489         * app/recent_files.c (recent_file_history_remove): 
2490         Fixed call to g_list_delete_link discarding return value.
2491         
2492         * lib/widgets.c (dia_font_selector_set_styles): 
2493         * lib/font.h (DiaFontWeight): 
2494         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
2496 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
2498         Contribution from Alan Horkan <horkana@tcd.ie>: 
2499         
2500         * shapes/Assorted/*
2501         * sheets/Assorted.sheet:
2502         A set of 40 assorted geometric shapes.
2504         * sheets/Assorted.sheet.in:
2505         * sheets/Makefile.am
2506         * shapes/Assorted/Makefile.am:
2507         * shapes/Makefile.am:
2508         * po/POTFILES.in:
2509         * configure.in:
2510         Done the integration job of Alan's shapes. (Translators: have fun!)
2512         * po/dia.pot: refreshed the main potfile.
2513         
2514 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
2516         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
2517         
2518         * objects/UML/class.[ch]:
2519         * objects/UML/class_dialog.c:
2520         changed the number of connection points from a hardcoded value of
2521         8 to a #defined constant
2523         (I changed the constant back from 20 to 8, until we better know
2524         how we'll handle more connection points on the UML class in the
2525         future -- but Tim's patch is a welcome clean-up).
2527 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
2529         * shapes/MSE/demultiplexer.xpm:
2530         * shapes/MSE/node_center.xpm:
2531         * shapes/MSE/multiplexer.xpm:
2532         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
2533         Horkan <horkana@tcd.ie>
2535 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
2537         * lib/widgets.c: Total rehash of font selector, with font dialog
2538         option, expanding list (not LRU yet), and stuff.
2540 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
2542         * lib/font.h:
2543         * lib/font.c: 
2544         Added a set of new setter/getters, some of them more specially for
2545         the SVG-ish I/O.
2546         
2547         * plug-ins/shape/shape-export.c: (new_shape_renderer),
2548         (destroy_shape_renderer), (set_font), (draw_string):
2549         * plug-ins/svg/render_svg.c: (new_svg_renderer),
2550         (destroy_svg_renderer), (set_font), (draw_string):
2552         Actually exported the font face, style, weight and size (sodipodi
2553         agrees with dia on how a small sample should look like (a sample
2554         0.90 would not even display anyways). Yay !)
2556         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
2558         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
2560         (end of ChangeLog-less patch)
2562         * objects/custom/shape_info.c (parse_style): now understands the
2563         font-style and font-weight attributes as well. Does not use
2564         anymore dia_font_new_from_legacy_name().
2565         
2566 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
2568         * objects/standard/textobj.c: Now uses stdprops for defaults.
2570         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
2571         * lib/font.c (dia_font_get_style): Style now linear and conversion
2572         simple. 
2574         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
2575         selector. 
2577 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
2579         * plug-ins/dxf/dxf-import.c:
2580         using dia_font_new_from_style()
2582         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
2584         * objects/UML/class.[ch]: Added a comment field to class
2585         * objects/UML/uml.[ch]: Added a comment field to attributes,
2586         operations and parameters.
2587         * objects/UML/class_dialog.c: Added code for the new comment
2588         fields.
2589         * plug-ins/xslt/*.xsl: Added some code to handle comments.
2590         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
2591         Added a $directory parameter for stylesheets so the output is 
2592         in the good place (not in the $PWD).
2594         (end of Patch)
2596         * AUTHORS: added contributors, updated maintainers. Removed the
2597         specific areas of action.
2599         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
2600         from a patch by Xing Wang <quixon@gnuchina.org>:
2602         * app/commands.c: help_about_callback now supports
2603         new-style GNOME about box as well as old GTK style. 
2604         code also tidied (Closes: #85726)
2606         (end of Patch)
2608         * app/commands.c: fixed the copyright (it's not all FSF), and
2609         maintainers. Synced contributors list with AUTHORS.
2610                 
2611 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
2613         * lib/message.c: More work on repeating messages, now with
2614         togglable view.
2616 2002-06-24  Hans Breuer  <hans@breuer.org>
2618         * lib/widget.c : some more bits in place, at least
2619         it does something useful instead of crashing. Much
2620         better - but not all ok :-)
2622 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2624         * lib/message.c (gtk_message_internal): First stab at repeating
2625         message dialog.
2627 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
2629         * objects/FS/*.c:
2630         * objects/GRAFCET/*.c:
2631         * objects/SADT/*.c:
2632         * objects/UML/association.c: (one instance forgotten)
2633         * objects/UML/large_package.c: 
2634         * objects/standard/textobj.c:
2635         * lib/attributes.c:
2636         * lib/text.c:
2637         using dia_font_new_from_style()
2639 2002-06-23  Hans Breuer  <hans@breuer.org>
2641         * lib/font.c : giving some love to
2642         dia_font_new_from_legacy_name() that is making
2643         import of old files as painless as possible and
2644         provide an almost exact match where possible.
2645         It does not yet fully work because it interfers
2646         with the Style to DiaStyle conversion which comes
2647         next ...
2649         [Changing these files is only allowed with Dia-0.90]
2650         * broken-files/fonts-0.90.dia : including the
2651         common hard-coded fonts from Dia-0.90. It also
2652         has drawn bounding-boxes for win32 as they were calculated
2653         from the former version (they were all too big).
2654         * broken-files/fonts-0.90-full.dia : all hardcoded
2655         fonts including the asian versions. On my machine
2656         this gives _a lot_ complaining about missing fonts
2657         and a finally a broken file display. Anyone having
2658         all these fonts ?
2659         
2660 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
2662         * objects/chronogram/*.c: 
2663         * objects/custom/custom_object.c:
2664         * objects/ER/*.c:
2665         using dia_font_new_from_style()
2667 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
2669         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
2670         font selector (stability, insensitivity).
2672         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
2673         stretching scheme for tweaking, and made scaling scheme faster
2674         (but less precise).
2675         (dia_font_dia_style_to_pango): Oops, % != /.
2677 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
2679         
2680         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
2682         * plug-ins/xslt : Added an XSLT plugin to export dia files using
2683         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
2684         It includes a small config file to tell it what stylesheets to use.
2686         (end of patch)
2687         
2688         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
2689         GTK2.0/HIG compliant (the labels could be slightly more verbose,
2690         perhaps). Added back a couple forgotten _(). Removed //-style
2691         comments.
2692         
2693 2002-06-23  Hans Breuer  <hans@breuer.org>
2695         * lib/plug-ins.c
2696         (dia_plugin_get_name) : don't crash plugin_manager
2697         on name being NULL 
2698         (dia_plugin_load) : reuse the description field to
2699         store the error string if loading fails.
2701         * lib/font.[hc] : starting to beautify the new
2702         font api: proper namespacing, adding convenience
2703         functions like dia_font_new_from_style(), ...
2705         * objects/uml/*.c : use the new convenience functions.
2707         [Next thing I plan to do is changing the other font
2708          functions to take DiaStyle and make Style and 
2709          BASIC_*_FONT vanish. As well as giving some love to
2710          dia_font_new_from_legacy_name().
2711          If anyone want's to help on converting the other
2712          objects to the new api during that, I would highly 
2713          appreciate it.]
2715 2002-06-23  Hans Breuer  <hans@breuer.org>
2717         * lib/font.c : made it compile and small indent fixes.
2718         Is there a code-has-no-effect-so-needs-not-be-valid
2719         with GCC?       
2721         * lib/widgets.c : use g_strcasecmp
2723 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2725         * lib/font.c: 
2726         * lib/font.h: 
2727         * lib/widgets.c: Font names sorted, style selector widget
2728         reappeared.  Doesn't select the old style yet.
2730 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
2732         * lib/font.c: one who expects a text's font to be changed shall 
2733         actually request the attributes to apply to the whole range of the
2734         said text... D'oh! 
2736         * lib/font.c: extents computation was wrong.
2738         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
2739         if a last NULL parameter is added...
2741         * lib/font.c: extents computation was completely wrong. This looks
2742         much better this time.
2744         * objects/UML/class.c: fixed the various strings positions.
2746         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
2747         macros to get the hardcoded base fonts.
2749         * objects/ER/relationship.c: wasn't converted to DiaFont*
2750         
2751 2002-06-22  Hans Breuer  <hans@breuer.org>
2753         * lib/widget.c : dont use backend specific functions
2754         to get on the font_families. Including it would mean
2755         including <windows.h> which breaks due to namespace
2756         pollutions ...
2758         * lib/libdia.def : updated externals
2760         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
2762         * lib/font.c : added empty dia_font_init_instance function,
2763         reformatting of dia_fon_unref to allow to set breakpoint,
2764         dia_fon_build_layout() : dont crash on string==NULL
2766         * lib/text.c (text_set_attributes) : don't unref the wrong font
2768         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
2769         stores lowercased font names, but dia_font_get_family()
2770         returns mixed case      
2772 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
2774         * lib/widgets.c: 
2775         * app/render_gdk.c: Patch from Hans Breuer.
2777         * app/Makefile.am (dia_core_files): diaconv commented out for now.
2778         
2779 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
2781         * lib/all files touched yesterday: took into account some of Hans
2782         Breuer's remarks in
2783         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
2785         * objects/chronogram/*: 
2786         * objects/custom/*:
2787         * objects/ER/*:
2788         * objects/flowchart/*:
2789         * objects/FS/*:
2790         * objects/GRAFCET/*:
2791         * objects/SADT/*:
2792         * objects/standard/textobj.?:
2793         * objects/UML/*:
2794         converted to the new DiaFonts.
2796         * plug-ins/cgm/*:
2797         * plug-ins/pstricks/*:
2798         * plug-ins/wpg/*:
2799         * plug-ins/dxf/*:
2800         * plug-ins/xfig/*:
2801         Made minimalistic conversions so that they'd at least compile.
2803         * app/render_gdk.c:
2804         * app/render_pixmap.c:
2805         Converted to the new DiaFonts.
2807         * app/app_procs.c
2808         * app/diaconv.c:
2809         * app/render_eps.c:
2810         made the minimal changes so that it would at least build.       
2812         *** At this point, the thing builds on my machine, but segfaults
2813         right away. ***
2814         
2815 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
2817         * configure.in: removed the backend-specific pango pkg_modules
2818         (trivial to add back if needed, when actually needed)
2820         * app/Makefile.am:
2821         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
2822         renderer. The APIs will have completely changed when we get around
2823         to redo a renderer for it, anyways.
2825         * font.[ch]: rewrote everything from scratch, with a Pango
2826         implementation. Normally, only backend-neutral things should go in
2827         there.
2829         **WARNING**: new rules for managing DiaFont* pointers: these are
2830         reference-counted GObjects. One >must< diafont_ref() and
2831         diafont_unref() as appropriate. I wish I could overload operator=()...
2833         lib/plug-ins.h: bumped up the plug-in API.
2834         
2835         lib/attributes.c: 
2836         lib/dia_xml.c: 
2837         lib/dummy_dep.h
2838         lib/object_defaults:
2839         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
2840         again tomorrow with GObject.
2841         
2842         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
2844         **** The rest of the tree should be updated as well ****
2845         
2846 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
2848         * app/render_gdk.h: 
2849         * app/render_gdk.c: 
2850         * app/render_pixmap.c: 
2851         * app/render_pixmap.h: 
2852         * app/render_libart.h: 
2853         * app/render_libart.c: 
2854         * lib/font.h: 
2855         * lib/font.c: Removed freetype stuff (still around in
2856         lib/widgets.c 'cause we might want the font selector widget).
2858 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
2860         * shapes/network/laptop.(xml|shape):
2861         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
2862         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
2864 2002-06-17  Hans Breuer  <hans@breuer.org>
2866         * lib/object_defaults.c : #include <libxml/tree.h> not
2867         <tree.h> pointed out by Xing Wang
2869 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
2871         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
2872         * lib/widgets.c: 
2873         * app/color_area.c: Update to
2874         gtk_color_selection_*_current_color() fixed bad crash issues, plus
2875         updated color conversions.
2877         * sheets/ER/weakentity.xpm: Accepted patch from
2878         quixon@gnuchina.org to make icon match actual appearance.
2880         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
2881         quixon@gnuchina.org.
2883 2002-06-16  Hans Breuer  <hans@breuer.org>
2885         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
2886         good tradition of information hiding. Add new function
2887         dia_plugin_get_symbol()
2888         * app/sheets.c app/sheets_dialog_callbacks.c : use it
2890         * app/sheets.c : stop complaining about object_get_type() 
2891         returning NULL. This is a consequence of e.g. disabling 
2892         plug-ins at runtime _and_ it was and is gracefully handled. 
2893         Spitting out g_warning for it isn't appropriate. 
2895         * lib/object.[ch] : removed dead code
2897         * app/plugin-mangager.c : almost complete rewrite for gtk2
2898         using GtkListStore/GtkTreeView
2900         * lib/libdia.def : updated externals
2902         * todo.gtk2 : updated, that is removed already done steps
2904 2002-06-15  Hans Breuer  <hans@breuer.org>
2906         * objects/uml/class_dialog.c : clean some left-over
2907         utf8-mess, return 0 from "focus_out_event" handlers
2908         to avoid asserting in gtk (#78305). Reconstruct 
2909         stereotype/NULL behaviour to avoid rendering empty
2910         stereotypes on classes and member functions
2912         [#56109 - Provide object defaults for StdProp objects,
2913          some remaining issues are discussed in bugzilla]
2915         * lib/object_defaults.c : (new file) manage default properties 
2916         of dia objects. The serialization is done with standard
2917         object methods in a diagram compatible format.
2919         * lib/object.c : add object_registry_foreach() which allows
2920         to iterate over all registered object types
2922         * lib/object.h : added prototypes object_default*() and
2923         object_registry_foreach()
2925         * lib/makefile.am lib/makefile.msc : add new file to build
2927         * lib/libdia.def : export new functions
2929         * app/defaults.c : provide StdProp based defaults if the
2930         ObjectType doesn't implement it's own default functions
2932         * app/create_object.c : through dia_object_default_create()
2933         * app/disp_callbacks.c : same here
2935 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2937         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
2938         sensitivity for deleting segments.
2940 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
2942         * app/color_area.c: (color_area_events):
2943         * app/diagram.c: (diagram_destroy):
2944         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
2945         (fill_sheet_menu):
2946         * app/load_save.c: (diagram_data_load):
2947         * app/menus.c: (menus_get_item_from_path):
2948         * app/preferences.c: (prefs_load):
2949         * app/render_gdk.c: (get_text_width):
2950         * lib/arrows.h:
2951         * lib/color.c: (color_convert):
2952         * lib/dia_dirs.c: (dia_config_filename):
2953         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
2954         * lib/intl.c: (intl_get_language_list):
2955         * lib/message.c: (message):
2956         * lib/message.h:
2957         * lib/paper.c: (get_default_paper):
2958         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
2959         * lib/widgets.c: (dia_file_selector_get_file):
2960         * lib/widgets.h:
2961         * objects/standard/image.c: (get_directory):
2963         warningectomy.
2964         
2965 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
2967         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
2969 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
2971         * app/interface.c: sscanf now returns EOF on empty string, so
2972         handle no match for zoom factor better => correct zoom at start.
2974         * app/sheets.c (create_object_pixmap): Tried to display empty error.
2975         (sheets_optionmenu_create): Died when not finding specified
2976         sheet.  Don't think it should.
2978         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
2979         (bug #84367) to place the text better.
2981 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
2983         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
2984                         
2985         * app/commands.c: Removed unnecessary gnome include. Removed
2986         GNOME-Print support.
2988         * app/menus.h: Removed now unnecessary gnome include.
2989         
2990         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
2991         GNOME-specific stock buttons
2992         
2993 2002-06-09  Hans Breuer  <hans@breuer.org>
2995         * app/app_procs.c : convert 'Modified diagrams exits'
2996         dialog to use GtkMessageDialog. That gives us:
2997         - icons without Gnome dependency
2998         - much less code, also cross platform
2999         - improved useability ?
3001         * app/color_area.c : the Color Selection Widget looked
3002         quite wrong (alpha problems). Fix it by merging in required
3003         changes stolen from The Gimp cvs
3004         * app/color_area.h : to get the right appearance the maskes
3005         needed to be taken into account
3006         * app/interface.c : adapt to color_area_create changes.
3007         Also remove some dead code and finally remove cvs autexpansion, 
3008         I was bothered enough by irrelevant differences :-)
3010         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
3011         api, i.e stocks and response to make the GnomeDialog usage
3012         obsolete. Also fixed the issue with closing the 'parent'
3013         before closing the dialog
3015         * app/display.[ch] : removed some dead code and conversion
3016         to new GtkDialog api. Also trying to conform to new HIG
3017         standard http://developer.gnome.org/projects/gup/hig/
3019 2002-06-09  Hans Breuer  <hans@breuer.org>
3021         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
3022         build ps-utf8.c
3024         * lib/dia_image.c : gtk_widget_set_default_visual()
3025         remove. It does nothing with Gtk2.
3027         * lib/libdia.def : added ps_unicoder exports
3029         * lib/message.c : remove #GNOME use GtkMessageDialog.
3030         Yeah, Dia gets dialogs wit icons cross-platform.
3032         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
3033         to gtk_spin_button_get_value()
3035         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
3037         add #undef GTK_DISABLE_DEPRECATED to still use ...
3038         * lib/prop_text.c :  ... GtkText
3039         * lib/prop_widgets.c : ... GtkList
3040         * lib/prop_dialogs.c : ... gtk_signal_connect and more
3041         * lib/widgets.c : ... (too much to list here)
3043         * lib/ps-utf8.c : #include <string.h>
3045 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
3047         * configure.in:
3048         * Makefile.am:  Adapted for gtk2.
3049         Removed dependencies on libunicode, on iconv(), on langinfo().
3051         * acconfig.h: removed (now obsolete)
3053         * lib/charconv.[ch]: removed (superceded by glib)
3054         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
3056         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
3057         libunicode types for their glib counterparts. Fixed the include
3058         paths for libxml2. Removed all traces of libxml1 or non-UTF8
3059         support (there were remains in objects/uml).
3061         
3062 2002-06-08  Hans Breuer  <hans@breuer.org>
3064         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
3065         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
3066         Also use g_strdup()'s handling of NULL by returning NULL
3067         again at all places I found (remove unnecessary if's)
3069         * todo.gtk2 : new file to keep notes about gtk2 porting,
3070         further issues and thoughts and some status information.
3071         Also sent to dia-list ('Dia goes Gtk2 ...').
3072         
3073         [make it compile with GTK+ 2.0]
3075         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
3076         removed definition of S_ISDIR, S_ISREG and getlogin
3078         * */makefile.msc : Use GTK2 and libxml2
3079         BEWARE: makefile.am, configure.in not yet ported !
3081         * app/app_procs.c app/diagram.c : remove 
3082         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
3083         but set use gtk_menu_set_accel_path() on menu creation
3085         * app/color_area.c lib/widgets.c : 
3086         make use of gtk_color_selection_set_has_palette ()
3088         * app/commands.c : gdk_pixbuf_new_from_file wants an 
3089         extra argument. Convert from DIR to GDir usage.
3091         * app/diagram_tree.c(button_press_callback) : need to return 
3092         FALSE in the signal handler to let gtk process it further.
3093         (get_object_name) : don't leak 'prop'
3094         
3095         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
3096         dia_page_layout_destroy() getting called more than once
3098         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
3099         GtkTypeInfo changes
3101         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
3103         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
3104         IIRC this code will not compile unchanged when USE_XIM is defined ...
3106         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
3108         * app/interface.c : there is no widget->klass anymore in Gtk, 
3109         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
3110         parameter. Some tweaking of GtkWrapBox usage to get four tools in
3111         a row again.
3112         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
3113         get triple buffering and flicker.
3114         Replace call to GTK private function _gtk_accel_group_attach()
3115         with public gtk_window_add_accel_group()
3117         * app/layer_dialog.c : adapt to GtkTypeInfo changes
3119         * app/load_save.c lib/plug-ins.c lib/sheet.c 
3120           objects/custom/custom.c : 
3121         simplified by using g_file_test()
3123         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
3124         to gtk_accel_map_<save|load>. Also added common stock-icons
3125         to the menu.
3126         
3127         * app/preferences.c : use gtk_button_set_label() instead
3128         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
3130         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
3131         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
3132         in config.h.win32
3134         * app/recent_files.c : removed GLIB_CHECK_VERSION
3136         * app/render_eps.c 
3137           plug-ins/metapost/render_metapost.c
3138           plug-ins/pstricks/render_pstricks.c
3139           plug-ins/svg/render_svg.c :
3140         replace getlogin() with g_get_user_name() which always
3141         returns non NULL
3143         * app/render_gdk.c : gdk_region_union_with_rect() modifies
3144         inplace now and returns nothing, also less #hell
3146         * app/render_libart.c : some initial #hell cleaning, SuckFont
3147         still needs to vanish
3149         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
3150         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
3152         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
3153         * app/sheets_dialog_callbacks.c : some #hell and adaptions
3154         needed to GtkWrapBox api changes
3157         * lib/charconv.[hc] : removed from build
3158         [changed appropriate]
3159         * lib/prop_inttypes.c lib/prop_text.c : 
3160         all utf-8 cleaning 
3161         * lib/text.c : ported from HEAD but keep original indent
3162         intact. Original was done by Akira TAGOH.
3164         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
3166         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
3168         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
3169         same on all platforms now!
3171         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
3173         * lib/message.c : remove "charconv.h"
3175         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
3177         * lib/plug-in.c :
3178         * lib/sheet.c : convert from DIR to GDir usage
3180         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
3182         * lib/widgets.h : include gtk<label|colorseldialog>.h
3185         * objects/fs/flow.c :
3186         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
3188         * objects/custom/custom.c : convert from DIR to GDir usage
3191         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
3194 2002-05-03  Hans Breuer  <hans@breuer.org>
3196         * lib/dia_xml.c : make the well formed utf8 check
3197         actually work for &#251; (non 7-bit ascii encoding)
3198         and fixed the file re-writing if the check fails.
3199         Thanks to Vitaly Lipatov for noticing the misbehaviour.
3201         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
3202         comment on last ressort font. Thanks to Maxim Sobolev.
3204 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
3206         * sheets/network.sheet.in: corrected a typo in plotter invocation.
3208 2002-06-03  Steffen Macke  <sdteffen@web.de>
3210         * shapes/network/digitizing_board.png:
3211         * shapes/network/digitizing_board.shape:
3212         * shapes/network/plotter.png:
3213         * shapes/network/plotter.shape:
3214         * shapes/network/Makefile.am
3215         * sheets/network.sheet.in: added new plotter and digitizing
3216         board shapes
3217         
3218 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
3220         * lib/font.c: made a symptomatic fix to a segfault reported by 
3221         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
3222         won't prevent dia from terminating, but should give more
3223         user-friendly information about why did it terminate.
3225         Two patches from <robert.young@dsto.defence.gov.au>:
3226         
3227         * app/display.c: fix the size of the canvas area which gets
3228         redrawn. There was an off-by one error (Closes #83659)
3230         * app/display.c: make sure we redraw all screen only when we
3231         really have to (some update_areas were mistakenly ignored) (Closes
3232         #83496). 
3234         * NEWS: added a new entry for the future. Put there a reminder to
3235         update the dependencies.
3237         * configure.in: put in notes about what will change shortly.
3238         upped the version to 0.90+cvs (did also in config.h.win32)
3239         upped the minimum version for intltools (now 0.21)
3240         
3241 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
3243         * dia.spec:
3244         * configure.in:
3245         * NEWS:
3246         * config.h.win32:
3247         bumped up version number to 0.90. Yay!
3249 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
3251         * doc/pl/Makefile.am:
3252         * doc/en/Makefile.am: fixed a "make install" problem when db2html
3253         is not present (Reported by Andrew Ferrier
3254         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
3255         problem which prevented me from ever seeing the problem in doc/en...
3256         
3257         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
3258         
3259         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
3260         way to read the font path from the XFS configuration files in
3261         order to enable FreeType (fixes #83098).
3263         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
3264         shipped nowadays.
3265                 
3266         * dia.spec:
3267         * configure.in:
3268         * NEWS:
3269         * config.h.win32:
3270         bumped up version number to 0.90.RC3
3272 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
3274         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
3275         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
3276         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
3277         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
3278         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
3279         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
3280         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
3281         Added Polish documentation.
3283 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
3285         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
3286         format for the UML State object. Now there's a hack to reload
3287         older files, and get them converted on the fly. 
3288         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
3290         * lib/properties.h:
3291         * lib/propobject.c:
3292         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
3293         and adapter the proplist predicates. A LOAD_ONLY property is for
3294         when you have legacy to support but can't resist moving your
3295         fields around... (was needed to support the above state.c fix).
3297         If the in-core of your object changes and you need a LOAD_ONLY
3298         property for the old format, you must keep some spare room in your
3299         object's struct to accomodate for the potential old-style
3300         attributes. Then in foo_load(), after having called
3301         object_load_using_properties(), you must inspect the old-style
3302         fields and act accordingly. Don't ever change the on-disk formats...
3304         * objects/UML/object.c:
3305         * objects/UML/small_package.c: added a check against empty
3306         stereotypes still consuming space. Reported by Dolores Alia de
3307         Saravia <loli@unsa.edu.ar>. Thanks!     
3308         
3309 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
3311         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
3312         using libtool on an AFS partition.
3314         * po/update_potfiles_in.sh: now simply calls the recent intltools 
3315         features; they work better than hand-crafted half-ignorant
3316         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
3317         for the tip.
3319         * po/POTFILES.in: added back two files update_potfiles_in.sh
3320         didn't take into account. Now this file is not automatically
3321         generated anymore!      
3322         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
3323         (the usual suspects, in fact).
3325         * configure.in: improved the isinf() / isfinite() detection on
3326         Solaris (MÃ¥rten Svantesson)
3327         
3328 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
3330         * configure.in: one expression was replacing $CFLAGS, removing
3331         whatever was previously in.
3332         Added more checks for isinf() and finite() on Solaris.
3334         * lib/geometry.h: added a macro defintion for isinf() if not
3335         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
3336         on Win32)
3338         * app/commands.c: "cut" did not set the 'modified' bit (paste has
3339         been for a little while). Fixes #82994.
3341         * Makefile.am: added more stuff to distclean-local. This should make
3342         "make distcheck" pass! Thanks to the author of
3343         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
3344         ... I wonder who this Henstridge guy is ... ;-)
3345         Darn. Still doesn't pass. I give up for tonight.
3346         
3347         * po/update_potfiles_in.sh: updated to take care of sheet files,
3348         and to filter out the EML plug-in.
3349         * po/POTFILES.in: updated with all .c and all .sheet.in files 
3351         * po/dia.pot, po/*.po: again updated all .po files with all
3352         strings (with the updated POTFILES). Now with the up-to-date
3353         POTFILES, just all languages have some fuzzy or untranslated
3354         strings (not that the 100% team was that large beforehand...)
3356         * po-checktrans: removed the comment about .po files not holding
3357         all translatable stuff, since now they do.
3358         
3359 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
3361         * dia.spec:
3362         * configure.in:
3363         * NEWS:
3364         * config.h.win32:
3365         bumped up version number to 0.90.RC2
3367 2002-05-20  Hans Breuer  <hans@breuer.org>
3369         * app/load_save.c : starting to increase
3370         Dias tolerance on incomplete/broken files. The 
3371         corresponding bug is #56233. But the patch there does
3372         neither apply anymore nor does it really fix the problem
3373         but only delays it, e.g. even if it would be allowed
3374         to read a file without any layers, the later code can't
3375         handle it.
3376         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
3377         handle passing in NULL for the node gracefully.
3379         * shapes/network/printer.shape : added two more connection
3380         points - one at each side - to fix bug #60359
3382         * app/commands.c (edit_copy_callback) : 
3383         add ddisplay_do_update_menu_sensitivity() to make 
3384         sequence select-copy-paste work.
3386 2002-05-20  Hans Breuer  <hans@breuer.org>
3388         * app/create_object.c (create_object_button_press) :
3389         added a call to ddisplay_do_update_menu_sensitivity()
3390         to make Ctrl^D etc work after object creation. 
3391         Fixes #80983.
3393 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3395         * objects/ER/entity.c: 
3396         * objects/ER/attribute.c: 
3397         * objects/ER/relationship.c: Patch to allow text size change from
3398         Celso Tetsuo Nagase Suzuki.
3400 2002-05-18  Steffen Macke <sdteffen@web.de>
3402         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
3403         libxml2)
3404         * doc/en/graphics/greendots.png:
3405         * doc/en/home_network.png:
3406         * doc/en/line_props.png: 
3407         * dia-diagram.png:
3408         * dia_gnome_icon.png:
3409         * dia_gnome_menu_icon.png:
3410         * dia_logo.png:
3411         * shapes/network/telephone.png:
3412         * shapes/Logic/and.png:
3413         * shapes/Logic/buffer.png:
3414         * shapes/Logic/connector.png:
3415         * shapes/Logic/inverter.png:
3416         * shapes/Logic/nand.png:
3417         * shapes/Logic/nor.png:
3418         * shapes/Logic/not.png:
3419         * shapes/Logic/or.png:
3420         * shapes/logic/xor.png:
3421         * samples/ER-demo.dia:
3422         * samples/SADT.dia:
3423         * samples/UML-demo.dia:
3424         * samples/chronograms.dia:
3425         * samples/grafcet.dia: re-added as binary files
3427 2002-05-17  Hans Breuer  <hans@breuer.org>
3429         * lib/libdia.def : reflect removing of render_store.[ch]
3431         * */makefile.mingw : remove VERSION definition it's
3432         done in config.h.win32. Dia still doesn't work if
3433         build with mingw ...
3435         * RELEASE-PROCESS : removed */makefile.mingw
3437         * app/sheets_dialog_callbacks.c : if we use those
3438         ugly charconv_gtk_* functions lib/charconv.h needs to
3439         be #included ...
3440         * lib/charconv.h : ... and needs to contain the 
3441         necesseray prototypes _and_ #defines
3443         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
3444         is deprecated and does nothing but spit a warning. This broke
3445         the shape format writing. Fixed.
3446         Also with libxml2 pretty formatted xml isn't the default
3447         anymore, but needs to be enabled explicit: It is done now 
3448         for shape files, which almost always needed to be edited by
3449         hand ... 
3451         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
3452         from stderr - which is invalid on Dia/win32 - to g_print -
3453         which opens up a console window if necessary. This way
3454         a xml-deprecation-error shouldn't stay unnoticed next time
3456 2002-05-17  Steffen Macke <sdteffen@web.de>
3458         * shapes/Misc/folder.png:
3459         * shapes/Misc/file.png: re-added as binary files
3460         
3461 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3463         * lib/font.c: Fixed segfault for fonts without family_name.
3465 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
3467         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
3469         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
3470         Lars' request, minor cosmetic stuff (mostly _() of human-readable
3471         XML comments in .sheet files; one translator booby-trap disarmed).
3473         * lib/charconv.c: moved #hell inside the body of the new
3474         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
3475         will yell)
3476         
3477 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3479         * plug-ins/wpg/Makefile.am (INCLUDES): 
3480         * plug-ins/shape/Makefile.am (INCLUDES): 
3481         * plug-ins/svg/Makefile.am (INCLUDES): 
3482         * plug-ins/pstricks/Makefile.am (INCLUDES): 
3483         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
3484         and DEBUG_CFLAGS in some missing places.
3486         * MAINTAINERS: New file containing list of known package
3487         maintainers. 
3489         * lib/charconv.h: 
3490         * lib/charconv.c: Charconv versions of some common gtk calls.
3492         * app/sheets_dialog_callbacks.c
3493         (on_sheets_new_dialog_button_ok_clicked),
3494         (on_sheets_dialog_button_edit_clicked),
3495         (on_sheets_dialog_button_remove_clicked),
3496         (on_sheets_edit_dialog_button_ok_clicked):
3497         * app/sheets.c (sheets_optionmenu_create),
3498         (sheets_optionmenu_create): Added utf8 translations.
3500         * app/sheets_dialog.c: 
3501         * app/sheets.c: 
3502         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
3504 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
3506         * po/POTFILES.in: added app/sheets_dialog.c
3508 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
3510         * lib/charconv.c: (charconv_local8_to_utf8),
3511         (charconv_utf8_to_local8): tweaked the warnings to get more 
3512         informations
3513         * lib/font.c: (font_get_suckfont): handled a potential case of
3514         uninitialised data being used (just paranoid)
3515         
3516         * objects/GRAFCET/boolequation.c: (opstring),
3517         (opblock_get_boundingbox), (opblock_draw),
3518         (boolequation_calc_boundingbox): some extra hoops needed now dia
3519         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
3520         symbols can't yet be used with their proper Unicode cells, since
3521         gtk will demand them in the Symbol font, expressed in the local
3522         8-bit encoding.
3523         
3524         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
3525         the fix just above).
3527 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
3529         * app/diagram_tree.c (get_object_name): Check that name property
3530         doesn't have null string.
3532 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3534         * autogen.sh (DIE): Added conditional --force to gettextize.
3536         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
3537         function call.
3539 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
3541         * RELEASE-PROCESS: added James' notes on how to properly make the
3542         tarball.
3544         * configure.in: removed macro nesting related to libpng.h, which
3545         was causing some problems on some systems (like mine, which made
3546         the snapshots bad).
3548         Made --enable-unicode, previously an option, the mandatory case.
3550         * app/Makefile.am: updated EXTRA_DIST
3551         
3552         * NEWS:
3553         * app/makefile.mingw:
3554         * dia.spec:
3555         * doc/en/dia-manual.sgml:
3556         * plug-ins/makefile.mingw:
3557         * configure.in: bumped up the version number to 0.90.RC1
3559         * lib/render_objects.[ch]:
3560         * po/POTFILES.in: removed render_objects from the build.
3562         * plug-ins/Makefile.am:
3563         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
3564         so we keep its source in the tarball.
3566         * objects/network/*.c, Makefile.am:
3567         * objects/sybase/*.c, Makefile.am:
3568         * po/POTFILES.in: cleaned up the non-existent files from the po
3569         build process.
3571         * plug-ins/Makefile.am: re-enabled metapost plug-in.
3572         
3573 2002-05-13  Steffen Macke <sdteffen@web.de>
3575         * AUTHORS:
3576         * app/command.c: added M. C. Nelson to the Authors
3577         * sheets/Circuit/Makefile.am: added firewall shape to build
3578         * sheets/network/Makefile.am: added telephone and microphone
3579           shapes to build
3581 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
3583         * RELEASE-PROCESS: Added list of files that contain the release
3584         number or should otherwise be changed at each release.
3586 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3588         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
3589         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
3591 2002-05-12  Hans Breuer  <hans@breuer.org>
3593         * config.h.win32 : changed VERSION to 0.90.RC1
3595         * app/makefile.msc lib/makefile.msc : use renamed
3596         gdk-pixbuf version (same content but renamed because
3597         all the other gtk+ dlls are renamed) to avoid trouble
3598         mixing gtk versions (of which one would not 
3599         be initialized ...
3601         * app/app_procs.c : removed recently unneeded
3602         inclusion of "sheets.h"
3604         * app/render_gdk.c : removed my own debug spew
3605         which should never made it to cvs
3607         * lib/render_object.[hc] : added
3608         #error "File not used anymore."
3610         * lib/libdia.def : updated externals
3612         * app/interface.c : dropped filenames need to be
3613         converted from uri with Gtk+2.0
3615 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
3617         * RELEASE-PROCESS (new): a draft document about how to release. To
3618         be discussed. (already with some input from Hans Breuer)
3620 2002-05-12  Steffen Macke <sdteffen@web.de>
3622         * sheets/Makefile.am: re-added Misc sheet to make process
3623         
3624 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
3626         * objects/FS/function.c: Added comments to humungous list of menu
3627         items, to aid translators.
3629 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3631         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
3633         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
3635         * app/interface.c (create_toolbox): Disallow shrinking beyond
3636         requested size.  Fixes bug #59439, and confirms to GTK guidelines
3637         (see gtk_window_set_policy).
3638         (create_sheets): Removed now unnecessary set_usize call.
3640 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3642         * lib/beziershape.c (remove_handles): Fixing removal of last
3643         segment.  Undo of removal still hokey.
3645 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
3647         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
3648         handles. 
3649         * lib/beziershape.c (beziershape_init): Removed early call to
3650         beziershape_update_data where points aren't set yet.
3651         (beziershape_add_segment): Use segment 0 instead of overflowing
3652         points array with segment+1.
3653         (beziershape_remove_segment): Proper offset for fixing
3654         connectionpoints. 
3655         (remove_handles): Proper offset.
3657 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
3659         * objects/GRAFCET/action.c (action_update_data): Init x value of
3660         click point for call to connpointlist_adjust_count.
3662         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
3664         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
3665         setting to where values are inited.
3667         * lib/polyshape.c (polyshape_init): Removed call to
3668         polyshape_update_data that tried to use uninitialized data.
3670 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3672         * app/sheets_dialog.c: Mass removal of //-style comments.  The
3673         Irix compiler doesn't like them:(  I do...
3675 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
3677         * app/render_libart.c (draw_string): Bail out when no GDK font is
3678         found.
3679         (set_font): Give error when font not found.
3680         (set_fillstyle): Intlized error msg.
3682         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
3683         modified when applied (and ok only does apply if apply is set
3684         sensitive).  Fixes bug #75623.
3686 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
3688         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
3690 2002-05-05  Steffen Macke <sdteffen@web.de>
3692         * app/Makefile.am: added $(UNICODE_CFLAGS)
3693         
3694 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
3696         * app/commands.c (help_manual_callback): Check return value of
3697         opendir.
3699         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
3701         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
3702         checks for errors.
3704 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
3706         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
3708         * objects/UML/uml.c (uml_operation_read): Fix of UML default
3709         inheritance. 
3711 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3713         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
3714         Added button to toggle diagram compression.
3716 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
3718         * lib/font.c: Support for loading extra kerning files, plus got
3719         rid of rounding errors.  Bounding box mostly perfect for freetype
3720         fonts.
3721         (font_string_width): Fudge factor to get around nonlinearity of
3722         font scaling.
3724 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
3726         * lib/font.c (font_string_width): YA font calculation scheme, with
3727         comments.
3729         * objects/UML/class.c (umlclass_calculate_data): Uses the same
3730         font for drawing and calculating now.
3732         * configure.in: Added utime.h check.
3734         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
3735         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
3737 2002-04-26  Hans Breuer  <hans@breuer.org>
3739         [ Instead of fixing about 70 occurances in 20 files
3740           where GTK_TALKS_UTF8_WE_DONT needed to be handled
3741           Dia on win32 from now on uses glib-2.0 and not 
3742           only talks utf-8 with gtk-1.3 but also internally.
3743           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
3744           anymore. ]
3746         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
3747         #undef GTK_TALKS_UTF8_WE_DONT
3749         * */makefile.msc : changes to use glib-2.0 (still
3750         using gtk+1.3(win32-production)
3752         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
3753         adapt kevent->string handling, add <string.h>
3754         * app/render_gdk.c (get_text_width) : the length given
3755         is in chars, gdk_text_width() needs bytes
3757         * app/render_libart.c : 
3758         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
3759         (could simplify the same way as done in render_gdk.c)
3761         * app/diagram_tree.c app/paginate_gdiprint.cpp
3762           app/sheets.c :
3763         * lib/prop_basic.c lib/prop_geomtypes.c 
3764           lib/propdialgs.c lib/propobject.c :
3765         added <string.h> which is now removed from charconv.h
3767         * lib/charconv.h : optional use infrastructure from
3768         glib-2.0 -> only five direct function mapping left
3770         * lib/charconv.c : avoid to build this with glib-2.0
3772         * lib/font.c : no string conversion needed anymore      
3773         when Dia and Gtk talk utf-8, also code adaptions
3774         for GLIB_CHECK_VERSION(2,0,0)
3776         * lib/libdia.def : removed charconv functions
3778         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
3779         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
3781         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
3782         removed GTK_TALKS_UTF8_WE_DONT
3784         * lib/text.c : finally(?) fixed cursor <place|move>ment 
3785         for Umlauts. Also fixed char insertion, still wondering
3786         how this could ever work. Does realloc on Linux 
3787         initialize the memory with zeros ?
3789         * objects/chronogram/chronoline_event.c
3790           objects/grafcet/boolequation.c :
3791         there is no uni_get_utf8 when building for glib-2.0.
3792         Replace with g_utf8_get_char() and g_utf8_next_char().
3794         * objects/uml/stereotype.c (bracketted_to_string) : 
3795         simplify while adding code for glib-2.0 build
3797 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
3799         * app/diagram.h: Autosave field
3800         * app/diagram.c (diagram_set_modified): Sets autosave field.
3801         
3802         * objects/UML/usecase.c (usecase_update_data): 
3803         * objects/flowchart/ellipse.c (ellipse_update_data): 
3804         * objects/flowchart/parallelogram.c (pgram_update_data): 
3805         * objects/flowchart/diamond.c (diamond_update_data): 
3806         * objects/custom/custom_object.c (custom_update_data): 
3807         * objects/UML/state.c (state_update_data): 
3808         * objects/UML/small_package.c (smallpackage_update_data): 
3809         * objects/UML/object.c (objet_update_data): 
3810         * objects/UML/note.c (note_update_data): 
3811         * objects/UML/node.c (node_update_data): 
3812         * objects/UML/component.c (component_update_data): 
3813         * objects/UML/classicon.c (classicon_update_data): 
3814         * objects/UML/actor.c (actor_update_data): 
3815         * objects/SADT/box.c (sadtbox_update_data): 
3816         * objects/FS/function.c (function_update_data): 
3817         All now update text boundaries from update_data.
3818         
3819         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
3820         correctly. 
3822 2002-04-26  Hans Breuer  <hans@breuer.org>
3824         * config.h.win32 : added VERSION definition here
3825         (and removed from makefile.msc's)
3827         * app/makefile.msc : added new files
3829         * app/app_procs.c (app_init): remove sheets_dialog_create()
3830         from start-up and ... 
3832         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
3833         sheet_dialog here when it is really needed.
3834         #include "../lib/message.h", make sheets_dialog_create() 
3835         return it's success or failing on (!custom_type_symbol). 
3836         Although editing shapes is nice IMHO it isn't crucial enough 
3837         to abort() Dia if       it isn't possible.
3839         * app/sheet.h : adapt create_sheet_dialog() prototype
3841         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
3843         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
3844         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
3845         name space corrections for utime() and utim_buf #ifdef
3846         G_OS_WIN32
3848         * lib/libdia.def : export new sheet functions
3850         * lib/makefile.msc : added new files
3852         * lib/render.c : don't put draw_bezier_with_arrows() in
3853         the DrawLineWithArrowsFunc slot
3855         * objects/custom/custom_object.c : #include <gmodule.h>
3856         and export 'custom_type' via G_MODULE_EXPORT
3858         * objects/uml/class_dialog.c : removed 'incompatible 
3859         types' warnings. Some refactoring while making it fit
3860         on screen with 800x600 again.
3862         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
3864         * plug-ins/python/pydia-handle.h : extra parameter to
3865         PyDiaHandle_New to store the owner of the handle
3866         * plug-ins/python/pydia-handle.c : store handle owner
3867         on construction and use it in new method .connect()
3868         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
3869         adapt to changed prototype
3871 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
3873         * lib/text.c (text_calc_boundingbox): Will now return early if box
3874         passed is NULL.
3876         * objects/flowchart/box.c (box_update_data): Now updates text
3877         width info from update_data.
3879 2002-04-23  Steffen Macke <sdteffen@web.de>
3881         * plug-ins/xfig/xfig-import.c: fixed text import
3882         
3883 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
3885         * app/export_png.c: Moved dialog functions to their own file.
3886         * app/dialogs.[ch]: New files with standard functions for creating
3887         small, transient dialogs (e.g. export options).
3888         * app/Makefile.am: Added dialogs.[ch]
3890 2002-04-19  Steffen Macke <sdteffen@web.de>
3892         * shapes/Misc/folder.*:
3893         * shapes/Misc/file.*:
3894         * shapes/Misc/Makefile.am:
3895         * shapes/Makefile.am:
3896         * sheets/Misc.sheet.in:
3897         * sheets/Makefile.am:
3898         * configure.in: added new Misc sheet containing filesystem shapes
3899         
3900 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
3902         * app/lineprops_area.c: Arrow selector in toolbox changed to use
3903         standard arrowdraw code.  Line is thinner to make some arrowheads
3904         distinguishable. 
3906 2002-04-18  Steffen Macke <sdteffen@web.de>
3908         * sheets/network.sheet.in:
3909         * shapes/network/telephone.shape:
3910         * shapes/network/Makefile.am: added telephone shape
3911         
3912 2002-04-16  Steffen Macke <sdteffen@web.de>
3914         * sheets/EML.sheet.in: commented out unavailable shapes
3915         
3916 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
3918         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
3919           variable assignment.
3920         
3921 2002-04-15  Steffen Macke <sdteffen@web.de>
3923         * plug-ins/dxf/dxf-import.c: text import works again
3924         * shapes/Pneumatic/Makefile.am: added compush shape
3925         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
3926         and dist53
3927         
3928 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
3930         * All these modifications are for the 'Sheets and Objects' dialog
3931           (new feature):
3933         * app/pixmaps/line_break.xpm: new icon representing a line break.
3934         
3935         * app/pixmaps/n_a.xpm: new empty icon representing not available.
3937         * app/Makefile.am: added sheets_*.[ch] files to compile list.
3938         
3939         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
3940         
3941         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
3943         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
3944         
3945         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
3946         
3947         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
3949         * app/sheets_dialog_callbacks.h: [new file] support for " " "
3951         * app/interface.c: added 'interface_current_sheet_name' global to 
3952           fill_sheet_wbox(); made fill_sheet_menu() non-static
3954         * app/interface.h: added extern declaration for aboves.
3956         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
3958         * app/sheets.h: [new file] declarations for backing store structures
3960         * lib/sheet.c: modification of new_sheet() parameters; introduction
3961           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
3962           changes to load_register_sheet().
3964         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
3965           added 'has_icon_on_sheet' flag to SheetObject structure; added 
3966           'filename', 'scope', 'shadowing' fields to Sheet structure.
3968         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
3969           it belongs.
3971         * lib/plug-isn.h: see above.
3973         * lib/object.c: added 'sheet.h' to include list; added several 
3974           functions
3975           to detect objects which are not found on any sheet (for future use)
3976           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
3977           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
3979         * lib/object.h: added public declarations for above functions where
3980           necessary.
3982         * objects/custom/custom.c: made custom_object_load() non-static so we
3983           can load and interpret .shape files from the Sheets & Objects dialog
3985         * objects/custom/custom_object.c: made 'custom_type' non-static so 
3986           we can differentiate between SVG shapes and other types.a
3988 2002-04-07  Hans Breuer  <hans@breuer.org>
3990         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
3991         from 2002-01-22 to not destroy diagram->data->selected. 
3992         Avoids to crash on Objects/Align/Vertical/Top
3994         * app/render_eps.c (draw_string) : un-const buffer
3995         It isn't at all const (g_malloc(), assignment, g_free()).
3996         Doesn't gcc catch such ?
3998         * lib/arrows.h : prototype calculate_arrow_point()
4000         * lib/font.c (font_get_suckfont) : no need to
4001         special case gdk_draw_string() with GTK_TALKS_UTF8,
4002         cause all the parameter differences are handled above
4004         * lib/libdia.def : updated externals
4006         * lib/makefile.msc : removed string_prerenderer, added render
4008         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
4009         is expected. [Sometimes it's good to read compiler warnings.]
4011         * objects/standard/image.c : simplified by use of g_strconcat()
4013         * plug-ins/python/makefile.msc : updated for Python 2.2
4015 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
4017         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
4018         directionality problem for zero-length line segments.
4020 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4022         * app/diagram.c (diagram_ungroup_selected) 
4023         (diagram_update_menu_sensitivity): Now allows ungrouping of
4024         several groups at once.
4026 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4028         * lib/render.c, all renderers: Binary incompatibility, change to
4029         expandable renderops structure.
4031 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
4033         * objects/standard/Makefile.am:
4034         * objects/network/Makefile.am:
4035         * objects/UML/Makefile.am:
4036         * objects/ER/Makefile.am:
4037         * objects/FS/Makefile.am:
4038         * objects/flowchart/Makefile.am:
4039         * objects/custom/Makefile.am:
4040         * objects/GRAFCET/Makefile.am:
4041         * objects/chronogram/Makefile.am:
4042         * objects/SADT/Makefile.am:
4043         * plug-ins/cgm/Makefile.am:
4044         * plug-ins/pstricks/Makefile.am:
4045         * plug-ins/hpgl/Makefile.am:
4046         * plug-ins/wpg/Makefile.am:
4047         * plug-ins/svg/Makefile.am:
4048         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
4049         
4050 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
4052         * app/render_eps.c: Support for dumping TrueType fonts (taken from
4053         ttfps).
4055 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
4057         * lib/render.c: New abstract super class for renderers.
4059 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
4061         * objects/ER/attribute.c (attribute_save): save a font property.
4062         (attribute_load): load a font property, and if can't load it, it's
4063         initialized.
4065         * objects/ER/entity.c (entity_save): save a font property.
4066         (entity_load): load a font property, and if can't load it, it's
4067         initialized.
4069         * objects/ER/relationship.c (relationship_save): save a font property.
4070         (relationship_load): load a font property, and if can't load it, it's
4071         initialized.
4073         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
4074         has a vaule.
4075         (umlclass_save): save the font and the font size properties.
4076         (umlclass_load): load the font and the font size properties.
4078 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
4080         * lib/string_prerenderer.[ch] (REMOVED):
4081         * lib/render.h:
4082         * lib/diagramdata.c:
4083         * lib/Makefile.am:
4084         * app/render_eps.c: got rid of the string-specific string
4085         prerenderer, transitioned its functionality towards Lars'
4086         two-phase rendering
4088 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
4090         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
4091         may need to rerun aclocal.
4093 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
4095         * lib/font.c: First attempt at Unicodeness for Freetype.
4097 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4099         * lib/font.c (font_string_width): Fixed font_string_width for
4100         freetype.  BB is now almost right.
4102 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4104         * app/render_eps.h: 
4105         * app/paginate_psprint.c (paginate_psprint): 
4106         * lib/font.c: 
4107         * app/render_eps.c: Support for dumping postscript fonts into
4108         postscript files with freetype.  Fairly primitive, but works.
4109         Unicode version may have problems.
4111 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
4113         * objects/UML/class_dialog.c (class_read_from_dialog)
4114         (class_fill_in_dialog), (class_create_page): add the font selector and
4115         the font size selector.
4117         * objects/UML/class.c (umlclass_draw): uses each font_height.
4118         (umlclass_calculate_data): ditto.
4119         (fill_in_fontdata): add initial value of new font_height.
4120         (umlclass_copy): add new font_height.
4122 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
4124         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
4125         
4126         * lib/font.c: calculate font metrics properly and stop guessing at
4127         string widths.
4129 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
4131         * configure.in: changed gtk_advancement value to dia_talks_utf8.
4132         right now Dia is working with UTF-8 internally. it means Dia probably
4133         support most languages also including the languages which heretofore
4134         didn't work correctly.
4136 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
4138         * objects/FS/function.c: add related text properties.
4139         (function_get_props), (function_set_props): add handling attribute.
4141         * objects/FS/flow.c: add related text properties.
4142         (flow_get_props), (flow_set_props): add handling attribute.
4144         * objects/FS/flow-ortho.c: add related text properties.
4145         (orthflow_set_props), (orthflow_get_props): add handling attribute.
4147         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
4149         * objects/ER/entity.c: ditto.
4151         * objects/ER/attribute.c: ditto.
4153 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
4155         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
4156         
4157         * autogen.sh: add a check for missing intltoolize.
4159 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
4161         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
4162         charcode, it was registered the duplicate item to HashTable. fix.
4164         * app/render_gnomeprint.c (get_width_string): add new function.
4165         (draw_string): fix non-multibyte specific code.
4167 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
4169         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
4170         
4171         * lib/font.c: do not try to search paths that do not begin with
4172         '/', like X Font Server addresses.
4173         
4174         * objects/UML/message.c (message_draw): free mname when not 
4175         message->text but CREATE or DESTROY.
4176         
4177         * objects/UML/uml.h:
4178         * objects/UML/uml.c:
4179         * objects/UML/class_dialog.c: added code to handle a stereotype 
4180         attribute for operations.
4182 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
4184         * lib/Makefile.am: add LIBART_CFLAGS.
4186 2002-02-15  Hans Breuer  <hans@breuer.org>
4188         * lib/font.c (font_get_suck_font): the black and white pixel values 
4189         need to be taken from a 1 bit colormap rather than the default colormap.
4190         (fixed again, last time was 2000-05-26)
4192         Also handle the case where GTK_TALKS_UTF8 and expects all strings
4193         passed in to be in this encoding.
4195         * lib/libdia.def : export suck_font_free()
4197         * lib/text.c (text_draw) : avoid circular dependency to ../app
4198         at least for the !USE_XIM case, where it is unnecessary.
4200 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
4202         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
4203         
4204         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
4205         * sheets/Circuit.sheet.in: added new shape microphone
4206         * shapes/Circuit/speaker_de.shape: Added a connection point.
4207         
4208 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
4210         * app/render_libart.c (draw_string): fixed build issue for Win32.
4212         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
4213         Win32.
4215         * configure.in: fixed testing gtk_advancement.
4217         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
4219 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
4221         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
4222         diagram window.
4224 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
4226         * app/group.c (group_copy): Made new object properly initialized
4227         before copy.
4229 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
4231         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
4232         
4233 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
4235         * lib/text.c (text_draw): fixed XIM transaction.
4237         * app/interface.c (create_display_shell): add signal for
4238         size_allocate.
4240         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
4241         XIM transaction.
4242         (set_input_dialog): remove.
4243         (ddisplay_canvas_events): remove XIM transaction. it can't transact
4244         correctly on this function.
4246 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4248         * app/app_procs.c:
4249         * app/export_png.c: Added checks for interactivity (maybe this
4250         should be a hook after all?).
4252         * app/filedlg.c (file_export_callback): Made export dialog add
4253         suffix when reopened.
4255         * app/export_png.c: Added dialog asking for export size.
4257 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4259         * lib/widgets.c: Fixed font reselection problem and first font
4260         bogus warning.
4262         * objects/UML/actor.c (actor_update_data): Changed to have
4263         connection points below text.
4265 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
4267         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
4268         and memcpy().
4270 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
4272         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
4273         strings which is given.
4274         (suck_font): remove. it's any longer needed.
4276         * app/render_libart.c (set_font): don't get suckfont.
4277         (draw_string): get suckfont only which is needed for now.
4279 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4281         * lib/text.c: Fixes for misunderstood width functions.
4283 2002-02-05  Hans Breuer  <hans@breuer.org>
4285         * lib/dia_xml.c : use g_strconcat() instead of 
4286         malloc, strcpy, strcat dance
4287         * app/properties.c : same here and plug memory leak
4288         (gtk functions don't eat strings)
4290         * objects/UML/message.c : there is no g_sprintf()
4291         use g_strdup_printf() instead ...
4293 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
4295         * lib/message.c (gtk_message_internal): doesn't need to convert to
4296         UTF-8.
4298         * app/render_libart.c (draw_string): fixed transaction for UTF-8
4299         support.
4300         (get_text_width): ditto.
4302         * app/Makefile.am (EXTRA_DIST):
4303         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
4305         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
4306         This function needs ifdef HAVE_FREETYPE because don't use it for
4307         --disable-freetype
4309 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
4311         * NEWS: updated with the new dependencies.
4312         
4313         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
4315         * objects/UML/class.h:
4316         * objects/UML/class.c:  
4317         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
4318         property using a GtkMenu. Options are Undefined, In, Out, In & Out
4320 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
4322         * app/render_libart.c: Slow but working libart freetype renderer,
4323         with color!
4325 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4327         * app/render_gdk.c (draw_string): Fixed gc_function bug.
4329         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
4331         * lib/font.c (freetype_render_string): 
4332         * lib/font.h:
4333         * app/render_gdk.c:
4334         * app/render_gdk.h: Changed freetype_render_string to use
4335         callback.  Rendering is broken.
4337 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
4339         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
4341         * objects/UML/uml.h:    
4342         * objects/UML/uml.c: added UMLInheritanceType and isQuery
4343         (constant) UML Operation attributes. UMLInheritanceType is either
4344         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
4346         * objects/UML/class.h:
4347         * objects/UML/class.c:  
4348         * objetcs/UML/class_dialog.c: added code to handle new
4349         UMLOperation attributes via a GtkMenu and a checkbox.
4351 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
4353         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
4354         several client doesn't work with previous codes.
4356 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4358         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
4359         seem to use it.
4361 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
4363         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
4364         when doing the operation like invert the objects after active view is
4365         destroyed. when changes focus, it needs to set active_display.
4367         * app/layer_dialog.c (dia_layer_update_from_layer):
4368         (layer_dialog_edit_layer): need to convert to locale encoding
4369         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
4370         (edit_layer_ok_callback):
4371         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
4373         * lib/diagramdata.c (new_diagram_data): ditto.
4375         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
4377         * lib/diagramdata.c (new_layer): use utfchar instead of char for
4378         argument.
4380         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
4381         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
4382         it's needed for now. also this function needs prototype declaration.
4384 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4386         * lib/widgets.c: Style now functional on font selector.  Some leak
4387         possible, but doesn't show up under stress test.
4389 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
4391         * app/plugin-manager.c (clist_select_row): name and description needs to
4392         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
4393         (get_plugin_manager): ditto.
4395         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
4397         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
4398         support.
4400         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
4401         when prop->string_data is NULL.
4403 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
4405         * lib/widgets.c: 
4406         * lib/widgets.h: New font selector separating font and style.
4407         Style not functional yet.
4409 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
4411         * lib/text.c: 
4412         * app/render_gdk.c (draw_string): More freetype support, now
4413         renders text.  Still broken is font selection and exporting.
4415 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
4417         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
4418         for font.
4420         * objects/chronogram/chronoline.c (chronoline_create): ditto.
4422         * objects/UML/usecase.c (usecase_create): ditto.
4424         * objects/UML/state.c (state_create): ditto.
4426         * objects/UML/object.c (objet_create): ditto.
4428         * objects/UML/node.c (node_create): ditto.
4430         * objects/UML/message.c (message_create): ditto.
4432         * objects/UML/component.c (component_create): ditto.
4434         * objects/UML/classicon.c (classicon_create): ditto.
4436         * objects/UML/actor.c (actor_create): ditto.
4438         * objects/SADT/box.c (sadtbox_create): ditto.
4440         * objects/SADT/annotation.c (annotation_create): ditto.
4442         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
4444         * objects/GRAFCET/step.c (STEP_FONT):
4445         * (step_create): ditto.
4447         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
4449         * objects/GRAFCET/action.c (ACTION_FONT):
4450         (action_create): ditto.
4452         * objects/FS/function.c (function_create): ditto.
4454         * objects/FS/flow.c (flow_create):
4455         (flow_load): 
4456         (flow_apply_defaults): ditto.
4458         * objects/FS/flow-poly.c (flow_create):
4459         (flow_load):
4460         (flow_apply_defaults): ditto.
4462         * objects/FS/flow-ortho.c (orthflow_create):
4463         (orthflow_load):
4464         (orthflow_apply_defaults): ditto.
4466         * objects/ER/relationship.c: use utfchar instead of char for structure.
4467         (relationship_create): name needs to convert to UTF-8.
4469         * objects/ER/attribute.c: use utfchar instead of char for structure.
4470         (attribute_create): name needs to convert to UTF-8.
4472         * objects/ER/entity.c: use utfchar instead of char for structure.
4473         (entity_create): name needs to convert to UTF-8.
4475         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
4476         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
4477         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
4478         items. if GTK_TALKS_UTF8 isn't defined.
4480 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
4482         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
4483         it was my careless mistake...
4485         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
4486         a font name, because there are strings which isn't shown by "Courier".
4487         We need to consider a way to feel free to choose a font at runtime.
4489         * lib/render_object.c (render_object_load): ditto.
4491         * lib/text.c (data_text): ditto.
4493         * objects/EML/instantiation.c (instantiation_create): ditto.
4495         * objects/EML/interaction-ortho.c (interaction_ortho_create):
4496         (interaction_ortho_load): ditto.
4498         * objects/EML/interaction.c (interaction_create):
4499         (interaction_load): ditto.
4501         * objects/EML/process.c (fill_in_fontdata): ditto.
4503         * objects/ER/attribute.c (attribute_create): 
4504         (attribute_load): ditto.
4506         * objects/ER/entity.c (entity_create): 
4507         (entity_load): ditto.
4509         * objects/ER/relationship.c (relationship_create): 
4510         (relationship_load): ditto.
4512         * objects/UML/association.c (association_create): 
4513         (association_load): ditto.
4515         * objects/UML/class.c (fill_in_fontdata): ditto.
4517         * objects/UML/constraint.c (constraint_create): ditto.
4519         * objects/UML/dependency.c (dependency_create): ditto.
4521         * objects/UML/generalization.c (generalization_create): ditto.
4523         * objects/UML/implements.c (implements_create): ditto.
4525         * objects/UML/large_package.c (largepackage_create): ditto.
4527         * objects/UML/note.c (note_create): ditto.
4529         * objects/UML/realizes.c (realizes_create): ditto.
4531         * objects/UML/small_package.c (smallpackage_create): ditto.
4533         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
4535         * objects/custom/custom_object.c (custom_create): ditto.
4537         * objects/network/antenna.c (render_to_store): ditto.
4539         * objects/network/computer.c (render_to_store): ditto.
4541         * objects/network/disc.c (render_to_store): ditto.
4543         * objects/network/flash.c (render_to_store): ditto.
4545         * objects/network/hub.c (render_to_store): ditto.
4547         * objects/network/modem.c (render_to_store): ditto.
4549         * objects/network/modularswitch.c (render_to_store): ditto.
4551         * objects/network/monitor.c (render_to_store): ditto.
4553         * objects/network/printer.c (render_to_store): ditto.
4555         * objects/network/rj45plug.c (render_to_store): ditto.
4557         * objects/network/scead-plug.c (render_to_store): ditto.
4559         * objects/standard/textobj.c (textobj_load): ditto.
4561         * objects/sybase/client.c (render_to_store): ditto.
4563         * objects/sybase/dataserver.c (render_to_store): ditto.
4565         * objects/sybase/ltm.c (render_to_store): ditto.
4567         * objects/sybase/repserver.c (render_to_store): ditto.
4569         * objects/sybase/rsm.c (render_to_store): ditto.
4571         * objects/sybase/stableq.c (render_to_store): ditto.
4573         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
4575         * objects/UML/uml.h (UML_STEREOTYPE_START):
4576         (UML_STEREOTYPE_END): changes default strings.
4578 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
4580         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
4581         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
4582         which is given to arguments isn't UTF-8. so don't need to convert it.
4583         if GTK+ handle UTF-8, also don't need to convert it.
4584         (strend): remove.
4585         (bracketted_to_string): fixed transaction for UTF-8 support.
4586         also start/end bracket is not necessarily 1 character. so that when use
4587         strend(), it doesn't work correctly.
4588         (string_to_stereotype): use utfchar instead of char.
4589         (remove_stereotype_from_string): ditto.
4590         (stereotype_to_string): ditto.
4592         * objects/UML/stereotype.h: ditto.
4594         * objects/UML/message.c: use utfchar instead of char for structure.
4595         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
4597         * objects/UML/small_package.c: use utfchar instead of char for structure.
4599         * objects/UML/realizes.c: ditto.
4601         * objects/UML/object.c: ditto.
4603         * objects/UML/large_package.c: ditto.
4605         * objects/UML/implements.c: ditto.
4607         * objects/UML/generalization.c: ditto.
4609         * objects/UML/dependency.c: ditto.
4611         * objects/UML/constraint.c: ditto.
4613         * objects/UML/component.c: ditto.
4615         * objects/UML/class_dialog.c (attributes_get_current_values):
4616         (attributes_list_new_callback, attributes_fill_in_dialog):
4617         (parameters_set_values, parameters_get_values):
4618         (parameters_get_current_values, parameters_list_new_callback):
4619         (operations_set_values, operations_get_values):
4620         (operations_get_current_values, operations_list_new_callback):
4621         (operations_fill_in_dialog, templates_set_values):
4622         (templates_get_values, templates_get_current_values):
4623         (templates_list_new_callback, templates_fill_in_dialog):
4624         fixed transaction for UTF-8 support.
4626 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
4628         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
4630         * objects/UML/class_dialog.c (class_read_from_dialog):
4631         (class_fill_in_dialog):
4632         (attributes_get_values): ditto.
4634         * objects/UML/actor.c (actor_create): ditto.
4636         * objects/UML/class.c (umlclass_calculate_data): ditto.
4638         * objects/UML/association.c (association_apply_properties):
4639         (fill_in_dialog): ditto.
4641         * objects/UML/uml.c (uml_get_attribute_string):
4642         (uml_get_operation_string):
4643         (uml_get_parameter_string):
4644         (uml_get_formalparameter_string): use utfchar instead of char.
4646         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
4647         UML_STEREOTYPE_END.
4649         * objects/UML/class.h: use utfchar instead of char.
4651         * lib/dia_xml.c (data_add_string): ditto.
4653         * lib/text.c (text_insert_char): fixed characters# calculation
4654         when includes multibytes character in strings.
4656 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
4658         Patch from Richard Rowell <rwrowell@bellsouth.net>:
4660         * app/lineprops_area.c:
4661         * lib/arrows.h:
4662         * lib/arrows.c: 
4663         * lib/widgets.c: added crow foot arrow and cross arrow
4664         
4665         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
4666         
4667         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
4669 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
4671         * po/update.pl (REMOVED):
4672         * po/update.sh (REMOVED):
4673         * xml-i18n-merge.in.kg (REMOVED):
4674         * xml-i18n-update.in.kg (REMOVED):
4675         * sheets/Makefile.am:
4676         * Makefile.am:
4677         * autogen.sh:
4678         * configure.in: converted from xml-i18n-tools to intltools
4680         This looks like it fixes the build bugs of the snapshot tarballs, 
4681         and it supersedes #69611.       
4683 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
4685         * lib/text.c (text_insert_char): fixed characters# calculation.
4686         it's not string length.
4688         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
4689         is defined, needs to convert a description to UTF-8.
4691         * app/render_gdk.c (get_text_width): fixed transaction for
4692         UTF-8 support. also should uses gdk_text_width_wc() instead
4693         of gdk_text_width().
4695         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
4696         is defined, needs to convert to locale encoding for display.
4697         Also use utfchar instead of char for argument.
4699 2002-01-24  Hans Breuer  <hans@breuer.org>
4701         * app/commands.c(edit_paste_callback and more) : 
4702         call diagram_modified(ddisp->diagram) to fix #68083
4703         (help_menu_callback) : plug a DIR leak
4705         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
4706         GTK_TALKS_UTF8_WE_DONT
4708         * app/render_gdk.c(get_text_with) : it's a bad idea to use
4709         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
4710         gdk_text_width(). The length value is still questionable ...
4712         * lib/charconv.c : use functions already available in early
4713         GLIB-1.3 days whiches API hasn't changed since, to avoid
4714         version problems with the win32 build
4716         * lib/font.c : finally fix #58045 and #68208
4718         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
4720 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
4722         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
4723         no strings, fixed transaction.
4725         * lib/charconv.h: fixed typo.
4727         * app/menus.c: fixed typo.
4729         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
4731         * objects/UML/object.c: attrib's type uses utfchar instead of char.
4733         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
4735         * lib/text.c (text_create_change): use unichar instead of char.
4737         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
4738         use utfchar instead of char.
4740         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
4741         UTF-8 support.
4743         * lib/charconv.c (charconv_utf8_get_char): add new function.
4745 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
4747         * lib/text.c (text_delete_forward, text_delete_backward,
4748         text_split_line): fixed transaction for UTF-8 support.
4750         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
4751         strlen[] has string length for UTF-8, so has to use alloclen[].
4753         * dia.pot: remove.
4755         * .cvsignore: add dia.pot.
4757 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
4759         * configure.in: Added "sk" to ALL_LINGUAS.
4761 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
4763         * lib/text.c (text_set_string, new_text, text_copy,
4764         text_get_string_copy, text_join_lines): use utfchar instead of gchar
4765         for strings.
4767         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
4768         strchr().
4770         * lib/charconv.c (charconv_utf8_strchr): add new function.
4772         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
4774         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
4776         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
4777         strings to the appropriate encoding.
4779 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
4781         * app/object_ops.c (object_list_align_[hv]): Leak fix.
4783         * lib/Makefile.am (INCLUDES): Added debug flags.
4785         * app/object_ops.c: Fixed ordering problem of align equi-distant &
4786         adjacent. 
4788 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
4790         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
4791         gdk_string_width().
4793         * objects/GRAFCET/boolequation.c: fixed invalid comment.
4795         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
4796         when defined UNICODE_WORK_IN_PROGRESS.
4798         * lib/dia_xml.c (data_add_string): fixed typo.
4800 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
4802         * configure.in: fixed test gtk_advancement.
4804 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
4806         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
4807         exported to SVG
4809         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
4811         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
4812         tool tips, preferences, and arbitrarily long ~/.dia/history
4814         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
4815         removed 'Open Recent'; added new separators for recent documents on
4816         File menu.
4818         * app/interface.[ch] (interface_get_toolbox_shell): new function
4820         * app/diagram.c: added new parameter to recent_file_history_add() call
4822         * app/preferences.[ch]: added new 'Recent documents list size'
4823         preferences item
4824         
4825 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
4827         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
4828         if it failed, should be used gdk_font_load ().
4830         * lib/font.c (font_data): added the font entries for CJK.
4832 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
4834         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
4836         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
4837         
4838 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
4840         Patch from Martin Cracauer <cracauer@cons.org>:
4841         
4842         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
4843         non-GNOME case ?)
4845 2002-01-01  Hans Breuer  <hans@breuer.org>
4847         * app/command.c : optional use GDI printing on windoze
4849         * app/preferences.[hc] : add option 'prefer_psprint' to 
4850         select the print engine to use (could be used for Dia/Gnome
4851         as well)
4853         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
4854         wmf plug-in with the common win32 print api. Now printing
4855         should work almost as expected from a windows program :-)
4857         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
4858         to .edit_delete to avoid clashes with C++
4860         * app/makefile.msc : updated for GDI printing
4862         * plug-ins/wmf/wmf.cpp : some small modifications to support
4863         GDI printing. Also swap R and B channel in draw_image()
4865         * app/makefile.am : added windows only files to EXTRA_DIST
4867         * objects/uml/class.c(umlclass_set_props) : force recalculation
4868         when applying properties
4870         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
4871         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
4872         many incompatible changes (and would force a gtk update)
4874         * objects/makefile.msc : don't build C-Objects which are
4875         already available as 'pure shape'
4877         * plug-ins/makefile.msc : remove diaimport from build. It was
4878         only available via mailing-list and is broken since the
4879         StdProp overhaul.
4882         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
4884         * app/preferences.[hc] : tweaked preferences.c to make 
4885         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
4886         added some more DiagramTree prefererences and their own
4887         notebook page.
4889         * app/diagram_tree.[hc] : allow to sort by object type or name
4890         and hide by type ...
4891         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
4892         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
4894         * app/diagram_tree_window.c : handle hidden types and window
4895         size restoring.
4897 2001-12-20  Hans Breuer  <hans@breuer.org>
4899         * plug-ins/python/Makefile.am : patch from Peter Moulder 
4900         <pmoulder@csse.monash.edu.au> to make the python plug-in
4901         compile on *nix too.
4903 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
4905         Patch from Alan <horkana@tcd.ie>:
4907         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
4909 2001-11-20  Hans Breuer  <hans@breuer.org>
4911         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
4913 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
4915         * app/diagram_tree.[hc] : Added new functions and types for
4916         sorting diagram and objects, and attaching the popup menus.
4918         * app/preferences.h: Added more diagram tree preferences, using a
4919         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
4920         height and width of the diagram tree window and the default sort
4921         orders for diagrams and objects.
4923         * app/preferences.c (prefs_data): Added new entries for the new
4924         diagram tree preferences.
4926         * app/preferences.c (prefs_tabs): New tab for diagram tree
4927         preferences.
4929         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
4930         * app/diagram_tree_window.c (diagram_tree_window_new): 
4931         * app/interface.c (create_tree_window): The diagram tree window is
4932         initialised using the DiagramTreeConfig part of prefs.
4935 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
4937         * app/diagram_tree_menu.[hc]: New files. Functions to create the
4938         diagram tree popup menus.
4940         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
4941         the diagram tree popup menus.
4943         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
4944         added.
4946 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
4948         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
4949         double-clicking a diagram tree node raises the diagram window
4950         to the foreground (and, if a object node was clicked, selects the
4951         object in the diagram).
4953         * app/diagram_tree.c (select_tree_widget): selecting an object
4954         node with single click simply updates it (no raise).
4956 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
4957         These changes make the diagram tree lazy: it is not created unless
4958         the diagram tree window is requested.
4959         
4960         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
4961         function for creating the tree window.
4963         * app/interface.c (create_tree_window): call
4964         create_diagram_tree_window() instead of diagram_window().
4966         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
4967         (diagram_tree_update, diagram_tree_update_name) 
4968         (diagram_tree_add_object, diagram_tree_add_objects) 
4969         (diagram_tree_remove_object, diagram_tree_remove_objects) 
4970         (diagram_tree_update_object): accept a NULL tree as a nominal
4971         argument (and do nothing in this case!), so that the diagram tree
4972         is not initialised if not used.
4974         * app/diagram_tree_window.c (diagram_tree): do not create the
4975         diagram tree until diagram_window() or diagtree_show_callback()
4976         are invoked.
4978 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
4979         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
4981         * app/diagram_tree_window.[hc] : (new files) implementation of 
4982         the diagram tree window, a container for a diagram tree. [Removed
4983         the horizontal scroll bar glitch by disableing it]
4985         * app/diagram_tree.[hc] : (new files) implementation of the 
4986         diagram tree widget. [Don't rely on the layers GPtrArray to be
4987         NULL terminated, but use its ->len field] 
4989         * app/Makefile.am (dia_core_files): added new files
4990         diagram_tree.[hc] and diagram_tree_window.[hc]
4992         * app/interface.[hc] : (create_tree_window): this function 
4993         creates the new diagram tree window widget
4995         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
4996         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
4997         (ungroup_objects_apply) (ungroup_objects_revert): 
4998         every time that an undoable command modifies a diagram 
4999         adding/removing/(un)grouping objects, a diagram_tree_something() is 
5000         invoked to keep the diagram tree window in sync
5002         * app/properties.c (properties_apply): call to
5003         diagram_object_modified(), which updates the diagram tree window
5004         when the properties of an object are modified
5006         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
5007         (whether the diagram tree window should be shown on dia startup)
5009         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
5011         * app/diagram.h (diagram_object_modified): callback notifying of a
5012         diagram object modification
5014         * app/diagram.c (diagram_load_into): added call to
5015         diagram_tree_add() to add newly loaded diagrams to the diagram
5016         tree window
5017         (diagram_destroy): call to diagram_tree_remove() to remove a
5018         destroyed diagram from the diagram tree window
5019         (diagram_add_object): call to diagram_tree_add_object() to add an
5020         object to the diagram tree window
5021         (diagram_add_object_list): as above, but with an object list
5022         (diagram_selected_break_external): deletion of objects from the
5023         diagram is detected here, and diagram_tree_remove_object() is
5024         invoked to remove the object from the diagram tree window (it
5025         would be nice to have a diagram_remove_object() in the Diagram
5026         interface)
5027         (diagram_set_filename): update the diagram tree window when a
5028         diagram's filename changes
5030         * app/commands.c (file_new_callback): added call to
5031         diagram_tree_add() to add newly created diagrams to the diagram
5032         tree window
5034         * app/app_procs.c (app_init): added call to create_tree_window()
5036         * app/makefile.msc : updated
5038 2001-10-28  Hans Breuer  <hans@breuer.org>
5040         * app/preferences.h (DiaPreferences): 
5041         * app/preferences.c (prefs_data): new "show_diagram_tree"
5042         configuration option (whether the diagram tree window should be
5043         shown on dia startup)
5045         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
5046         entry (both for GNOME and gtk)
5048         * app/diagram.h (diagram_object_modified): callback notifying of a
5049         diagram object modification
5051         * app/diagram.c (diagram_load_into): added call to
5052         diagram_tree_add() to add newly loaded diagrams to the diagram
5053         tree window
5054         (diagram_destroy): call to diagram_tree_remove() to remove a
5055         destroyed diagram from the diagram tree window
5056         (diagram_add_object): call to diagram_tree_add_object() to add an
5057         object to the diagram tree window
5058         (diagram_add_object_list): as above, but with an object list
5059         (diagram_selected_break_external): deletion of objects from the
5060         diagram is detected here, and diagram_tree_remove_object() is
5061         invoked to remove the object from the diagram tree window (it
5062         would be nice to have a diagram_remove_object() in the Diagram
5063         interface)
5064         (diagram_set_filename): update the diagram tree window when a
5065         diagram's filename changes
5067         * app/commands.c (file_new_callback): added call to
5068         diagram_tree_add() to add newly created diagrams to the diagram
5069         tree window
5071         * app/app_procs.c (app_init): added call to create_tree_window()
5073 2001-10-28  Hans Breuer  <hans@breuer.org>
5075         * plug-ins/python/pydia-property.c : apparently I missed
5076         to commit this last time. Now it has some more SetAttr
5077         support (apply from property)
5079         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
5081         * plug-ins/python/pydia-text.[ch] : new files
5083 2001-10-14  Hans Breuer  <hans@breuer.org>
5085         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
5086         strings. Use g_strdup() for these.
5088         libxml2 does not produce 'any extra indentation when saving a tree'
5089         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
5090         libxml(1). To get human readable XML some extra tweaking is required.
5091         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
5092         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
5093         * app/preferences.[ch] : initialize 'pretty_formated_xml'
5095         * lib/libdia.def : updated externals
5097         * lib/properties.h : add prototype for prop_list_from_single ()
5099         * plug-ins/makefile.msc : build metapost plug-in
5101         * plug-ins/metapost/render_metapost.c : msvc does not like
5102         switch labels without operation 'default: }'. Added a noop.
5104         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
5105         * plug-ins/python/diamodule.c : added PyDiaText 
5106         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
5107         Although the python plug-in does not use libxml at all, the
5108         headers are required to use the lib/prop*.h headers
5110         * plug-ins/python/pydia-diagramdata.c : added wrappers for
5111         update_extents and get_sorted_selected (should I duplicate
5112         more functions from PyDiaDiagram or should they be moved?)
5114         * plug-ins/python/pydia-properties.c : allow to set (some) properties
5115         through the dictionary api
5116         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
5117         * plug-ins/python/pydia-property.c : implement it (currently only
5118         string properties can be set)
5120         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
5121         Quoting myself: 'Still not convinced that this is better than an 
5122          integral property->type and some casting ...
5123          It is trading a straightforward 40 lines switch statement to
5124          this nice 'type safe' function mapping (about 125 lines)'
5125         (But now it works again, better than changing the News file :)
5126         
5127 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
5129         patch from <robert.young@dsto.defence.gov.au>: 
5130         * objects/UML/component.c: remember to set font in UML component
5131         object (fixes #62132)   
5133 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5135         * plug-ins/metapost/metapost.c: 
5136         * plug-ins/metapost/Makefile.am:
5137         * plug-ins/metapost/render_metapost.c:
5138         * plug-ins/metapost/render_metapost.h:
5139         Metapost renderer from Chris Sperandio
5141 2001-09-14  Hans Breuer  <hans@breuer.org>
5143         * app/render_gdk.c : reflect the fact, that GTK already talks
5144         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
5146         * lib/font.c : 
5147         * app/render_libart.c : trying to fix #58045 but it appears
5148         to be an Gdk/win32, too. 
5150         * lib/charconv.c : handle utf8 conversion with the help of
5151         glib-1.3 even in the !HAVE_UNICODE case.
5153         * lib/dia_xml.c : reduce complaing about missing encoding, by
5154         detecting if the default (utf8) would break the file.
5156 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
5158         * lib/charconv.c: (get_local_charset): at least please try to not 
5159         silently change the logic, while avoiding crashes. 
5161         * lib/font.c: (suck_font): put a #error, we have a nasty something
5162         to fix there before we switch to Gtk 2.0.
5163         
5164 2001-09-09  Hans Breuer  <hans@breuer.org>
5166         * **/makefile.mingw : Approach to compile Dia with mingw.
5167         Compiling mostly works but running does not (yet) ... 
5169         * lib/geometry.h : 
5170         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
5171           Apparently mingw needs it too.
5172         - enable 'normalization' of a null verctor. Otherwise the beziergon
5173           bounding box calculation would be broken at least with msvc. What's
5174           the mathematical correct result of 0.0/0.0 ?
5176         * lib/dia_xml.c : isinf() for mingw too.
5178         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
5179         and msvc)
5181         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
5182         Please don't do it.
5184         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
5186         * lib/libdia.def : updated externals. Apparently mingw needs
5187         them to produce the right mangling.
5189         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
5190         and xmlDiaSaveFile
5192 2001-09-08  Wang Jian  <lark@linux.net.cn>
5194         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
5196 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
5198         * lib/dia_xml_libxml.h:
5199         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
5200         libxml1's code, to rework the output file before it gets committed
5201         to disk. This is rubbish, and will be removed when libxml2
5202         switches from discouraged to mandatory. 
5203         All in all, this fixes #60152. 
5204         
5205         * lib/charconv.h: 
5206         * lib/charconv.c: (charconv_unichar_to_utf8):
5207         made the type of the input parameter explicitly an unsigned long.
5209         * configure.in: Added a check for libz (we must now include it
5210         explicitly, for xmlDiaSaveFile).
5211         
5212         * app/load_save.c: (diagram_data_save):
5213         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
5214         (dia_pluginrc_write):
5215         * plug-ins/shape/shape-export.c: (new_shape_renderer),
5216         (end_render), (draw_string):
5217         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
5218         (draw_string):
5220         Made sure we always write UTF-8 XML files, and through
5221         xmlDiaSaveFile().
5223         * NEWS: documented that fact.
5224         
5225 2001-09-07  James Henstridge  <james@daa.com.au>
5227         * configure.in (found_libxml): refactor the check for libxml a
5228         little so that it handles finding both libxml1 and 2 better.
5230 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
5232         * app/app_procs.c: removed a spurious } which caused a compilation
5233         error in the (!HAVE_GNOME && HAVE_POPT_H) case
5235         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
5236         don't know what ANSI X3.4-1968 is. I didn't know until this day,
5237         but it's just plain old ASCII. Added a check to shield the poor
5238         XML library.
5240         Patches from <robert.young@dsto.defence.gov.au>:
5242         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
5243         width and height of text before calculating bounds. Fixes #59928
5245         * app/preferences.c: Moved grid related items into Grid Tab.
5246         
5247 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
5249         * app/interface.c: (create_zoom_widget): connected one more signal
5250         to the Zoom selector combo's list. Fixes #59879.
5252         * app/app_procs.[ch]: (app_init) (do_convert)
5253         (build_output_file_name): brought back into the main executable
5254         the rare useful bits of the ill-fated diaconv. This means we have
5255         one new feature : --export-to-format (-t), which should make
5256         writing conversion scripts easier, and a crude implementation of
5257         -t and -e for the poptless argument parsing, which means the Win32
5258         port should be able to take advantage of it (that should make
5259         resolving #58197 possible).
5261         * app/diaconv.c: kept the poor duck compiling (but that's about
5262         it).
5264         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
5265         I've got it right).
5267         * NEWS: updated about the new feature above, and documented the 
5268         "missing encoding specification" complaint. 
5269         
5270 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
5272         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
5274 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
5276         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
5277         care of #59837.
5279 2001-09-01  James Henstridge  <james@daa.com.au>
5281         * */Makefile.am: various changes to include missing files, and fix
5282         sheets dir to handle building with builddir != srcdir.
5284         * autogen.sh: unconditionally pass the --enable-maintainer-mode
5285         and --enable-db2html flags so that builds from CVS work correctly.
5287         * configure.in: increment version number.  Also add an
5288         --enable-db2html flag.  Without the flag, db2html won't be run (if
5289         the flag is passed and db2html is not present, do nothing).
5291 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
5293         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
5294         even compiled. It's really too bad there is no lint tool easily
5295         available (or a more cautious, pedandic, paranoid and verbose
5296         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
5298 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
5300         * app/load_save.c:
5301         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
5302         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
5304         * app/menu.c: added ellipsis(...) to diagram properties menu item.
5305         * app/dia-props.c: diagram properties dialog contents did not
5306         represent current diagram settings.
5307         * app/dia-props.[ch]:
5308         * app/display.c: diagram properties contents now follows currently
5309         selected diagram.
5310         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
5312         * AUTHORS: added Robert Young.
5313         
5314 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
5316         * app/modify_tool.c: (modify_button_release): Patch from
5317         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
5318         #59090: if selection dragging was released outside of the window, 
5319         artifacts of the selection box remained.
5321 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
5323         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
5325 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
5327         * configure.in:
5328         * sheets/Makefile.am: prepared the terrain for the Version of
5329         xml-i18n-tools Which Comes After 0.9 (and which will feature at
5330         last a sane behaviour with XML files). Some reasonible delay
5331         before enforcing that version *will* be given.
5333         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
5334         
5335         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
5336         becomes a nonexistent symbol.
5337         
5338 2001-08-18  Hans Breuer  <hans@breuer.org>
5340         * app/app_procs.c : made it compile without ENABLE_NLS
5342         * app/diap_callbacks.c : strcmp isn't guaranteed to work
5343         with NULL pointers
5345         * app/load_save.c :
5346         * lib/plug-ins.c : 
5347         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
5348         It has to be :
5349                 xmlGetProp, ... -> xmlFree
5350                 malloc, strdup -> free
5351                 g_new, g_malloc, g_strdup - > g_free
5353         * app/win32print.c : some more error checking, still not
5354         working on Win9x
5356         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
5358         * lib/dia_xml.c : msvc still has no unistd.h
5360         * lib/dia_xml.c :
5361         * lib/sheets.c : temporary resolved libxml include brokeness
5363         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
5364         changes. Compiles again, but doesn't do anything useful anymore.
5365         (see THE_PROP_TYPE_IS_INTEGRAL)
5367         * **/makefile.msc : updated to use LIBXML2
5369         * lib/libdia.def : reflect api changes
5371 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
5373         * config.h.win32: added defines telling that gtk speaks UTF8.
5374         Hans, I believe this reflects what GTK on Win32 does.
5376         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
5377         strings.        
5378         * lib/prop_inttypes.c: 
5379         * lib/prop_text.c:
5380         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
5381         code path.
5382         
5383         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
5384         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
5385         search for plug-ins is done.
5386         * app/Makefile.am: made app/run_dia.sh use the // capability. No
5387         need to update this anymore if we get a new plug-in library (or
5388         remove one).
5390         * lib/dia_xml.c: #include <unistd.h> was missing.
5391         
5392         * lib/properties.h: 
5393         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
5394         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
5395         support.        
5397 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
5399         * sheets/civil.sheet: removed duplicate "Danish" entries.
5401         * autogen.sh:
5402         * configure.in: 
5403         * .cvsignore:
5404         * sheets/Makefile.am: 
5405         * po/POTFILES.in:
5406         * Makefile.am: applied the xml-i18n-tools README's instructions.
5408         * po/(da de fr hu nl nn no sl).po: merged the translations from
5409         the sheet files into the .po files. I hope I haven't mixed
5410         languages...
5411         * sheets/*.sheet (REMOVED):
5412         * sheets/*.sheet.in (NEW): moved the sheet files sans
5413         translations into .sheet.in files. 
5414         
5415         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
5416         because we don't yet want to force all translators to work using
5417         UTF-8 editors. We'll want to do that sometime (sooner rather than
5418         later). Okay, I sing a slightly different tune in po/ChangeLog...
5420         * dia.desktop (REMOVED):
5421         * dia.desktop.in (NEW): used also the x18t infrastructure for
5422         this too.
5424         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
5425         "official" version of x18t with support for .sheet files is available.
5426         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
5427         "official" version of x18t which doesn't corrupt UTF-8 data in XML
5428         is available.
5429         
5430         ** yes, we are now using xml-i18n-tools to manage the sheet
5431         translations. For the Win32 build, Nemo stores snapshots of
5432         translated strings next to the CVS snapshots. **
5434         * sheets/checktrans.py: suddenly, some sheets have lots of
5435         translations (objects which existed before sheets, mostly).
5436         Adapted the formatting.
5438         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
5440         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
5441         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
5442         <robert.young@dsto.defence.gov.au>, to fix #59090.
5444         * app/display.c: (ddisplay_scroll): While at it, added some
5445         margin, so that autoscrolling can happen within a margin outside
5446         the diagram's extents.
5448         * app/tool.[ch]: 
5449         * app/interface.c:
5450         * app/disp_callbacks.c: Robert "forced" me to go when I usually
5451         don't, namely the app/ directory. So while I was there, I
5452         scratched a long-time itch. If no object has focus, pressing the
5453         space bar will select back the tool which was selected before the 
5454         current one (I find this especially useful with "reset after create" !)
5455         
5456         * lib/proplist.c: (prop_list_from_single): Renamed
5457         prop_list_singleton() to avoid confusion with the Singleton
5458         pattern (which it definitely is not).
5459         
5460         * lib/propobject.c: (object_prop_by_name_type),
5461         (object_prop_by_name): The "flags" parameter was not necessary.
5462         These don't return synthetic properties, but properties built from
5463         a real property description list; therefore, we don't call
5464         make_new_prop() but use the existing property descriptor, which
5465         has perfectly valid (and meaningful) flags.
5467         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
5468         new predicates better reflect the reason why properties exist when
5469         they're created by make_new_prop() or object_prop_by_name().    
5471         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
5472         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
5473         of pdtpp_true().
5475         * lib/properties.h: reflects all the above changes.
5477         * objects/SADT/arrow.c:
5478         * objects/SADT/annotation.c:
5479         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
5480         IDEF0 terminology.
5481         
5482 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
5484         * lib/properties.h:
5485         * lib/proplist.c: (prop_list_singleton):
5486         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
5487         Added these, to simplify interactions of plug-ins with the StdProp
5488         core.
5490         * lib/Makefile.am:
5491         * lib/dia_xml.h:
5492         * lib/dia_xml_libxml.h (NEW): 
5493         * app/load_save.c:
5494         * lib/dia_xml.c:
5495         * lib/plug-ins.c:
5496         * lib/sheet.c:
5497         * objects/custom/shape_info.c: A few prototypes were causing
5498         #include hell, because we generally attempt to not pull the whole
5499         libxml header set when we include dia_xml.h. Moved those
5500         prototypes away for the rare cases they're necessary.
5501         
5502 2001-08-15  Hans Breuer  <hans@breuer.org>
5504         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
5506         * lib/libdia.def : 
5507         * lib/makefile.msc : updated
5509         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
5510         use G_GNUC_FUNCTION instead.
5512         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
5514         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
5515         msvc instead of cleaning missing includes
5517         * plug-ins/wmf/wmf.cpp :
5518         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
5520 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
5522         * app/app_procs.c:
5523         * app/load_save.c:
5524         * lib/dia_xml.c:
5525         * lib/plug-ins.c:
5526         * lib/sheet.c:
5527         * objects/custom/shape_info.c:
5528         * plug-ins/shape/shape-export.c:
5529         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
5530         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
5531         removed xmlKeepBlanksDefault(0) in favour for proper
5532         xmlIsBlankNode() testing. Lots of other fixups to use the
5533         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
5534         make libxml1 output correct files.
5536         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
5537         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
5538         packages). If both devel packages are found, the build will stop 
5539         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
5541         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
5542         allocate the first handle :-)
5543         
5544         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
5545         a cast and a sizeof.</gratuitous>
5547         * objects/custom/custom_object.c: (custom_copy): don't call
5548         text_get_attrbutes if the shape has no text...
5549         (custom_update_data): The info->resize_with_text code was a bit
5550         directive; basically, the shape's bounding box was forced to be 
5551         proportional to the text's bounding box.... This fixes #57187.
5552         
5553         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
5554         default for info->aspect_ratio; unobfuscated a line about
5555         info->resize_with_text;
5556         
5557 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
5559         * lib/properties.h: added comments next to the PROP_TYPEs to tell
5560         which C Property subclass to use.
5561         
5562         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
5563         cast-ridden form of setting properties in a list, in favour for
5564         the "local pointers" form. I'll take any better offer...
5566 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
5567         
5568         * lib/font.c: fprintf(...) --> fprintf(format...)
5570         * configure.in: added a disabled versioned test for glib.
5571         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
5572         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
5573         g_critical() with a simple g_error(). Proper fix is to implement
5574         that stuff. 
5576         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
5577         PROP_TYPE_STRING.
5578         
5579         * lib/properties.h:     
5580         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
5581         * lib/proplist.c: (find_prop_by_name_and_type):
5582         * lib/prop_basic.c: (make_new_prop), (initialize_property):
5583         * lib/propoffsets.c: (do_set_props_from_offsets),
5584         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
5585         Added a type_quark member to PropDescription, Property and
5586         PropOffset. Used it to implement a safety in
5587         do_[sg]et_props_from_offsets().
5588                 
5589         * objects/flowchart/diamond.c: the diamond's text was not saved,
5590         and thus not even copied (c&p).
5591         * objects/standard/textobj.c: ditto.
5593         Most of the above changes thanks to Robert Young's testing. Thanks !
5594         
5595 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
5597         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
5598         and bokmÃ¥l).
5599         
5600 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
5602         * lib/proplist.c (prop_list_from_descs): added a call to
5603         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
5604         too embarrassing to tell.
5605         
5606         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
5607         while loop to a for loop, for symmetry with
5608         prop_offset_list_calculate_quarks().
5610         * lib/geometry.h: new inline function, rectangle_equals.
5612         * lib/diagramdata.[ch]: refactored a bit the diagram extents
5613         computation logic, and changed it to always be the union of the
5614         visible layers' extents. This should close #58882 (Debian
5615         #107167), and fixes #55498.
5617         * app/display.c: made the initial visible box more coherent with
5618         the diagram being loaded's extents.
5620         * app/prop_attr.c: don't set the font (from offset) if font_data
5621         is NULL. Two brainos in colorprop_load() and fontprop_load().
5622         
5623 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
5625         * lib/properties.[ch]: split in a lot of pieces: 
5627         * lib/prop_*.[ch] (NEW): all property types are now first-class
5628         objects, inheriting from the original abstract Property type.
5629         * lib/propdesc.c (NEW): property description handling routines
5630         * lib/propoffsets.c (NEW): property offset handling routines
5631         * lib/proplist.c (NEW): property list handling routines
5632         * lib/propobject.c (NEW): property list <-> object routines
5633         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
5634         relations.
5635         * lib/propinternals.h: prototypes for stuff not usually needed by 
5636         the outside of StdProps.
5637         * lib/Makefile.am: a lot of new files have been added...
5639         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
5640         BOTH INTERFACES AND RUN-TIME STABILITY.
5642         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
5643         
5644         * lib/object.h: removed the incestuous relationship with
5645         properties.h' contents. Now a Property list is a GPtrArray -->
5646         object interface change !
5648         * app/app_procs.c/app_init(): removed a disabled call to a
5649         non-existent routine. Added a call to stdprops_init().
5650         
5651         * objects/Makefile.am: disabled the construction of EML. I'm not
5652         touching these until a certain issue is solved (or this module
5653         removed).
5654         * app/group.c:  
5655         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
5656         objects to the interface changes.
5657         
5658         * app/disp_callbacks.c: killed a warning.
5659         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
5661         * app/commands.c: 
5662         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
5663         interface.
5665         * plug-ins/dxf/dxf-import.c: 
5666         * plug-ins/xfig/xfig-import.c: 
5667         PROP_VALUE_* macros have been removed. Converted to the new API.
5669         * plug-ins/python/**/*: I gave up converting this; I can't
5670         compile --with-python (problems with object.h defined both by us
5671         and by Python). I'll gladly help whomever cares to fix it !
5672         (or, fix it myself if someone tells me how to compile it).
5673         
5674         * configure.in: added the UNICODE-related progress defines.
5675                 
5676         * configure.in:
5677         * lib/geometry.h: On Solaris and perhaps other systems, finite()
5678         is defined in ieeefp.h rather than in math.h. Patch from Andrew
5679         Halper <ashalper@acm.org> with further modifications, isinf() is
5680         provided by -lsunmath (sunmath.h).
5681         
5682         * lib/font.c: conditionally disabled Lars' debugging messages.
5683         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
5684         
5685 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5687         * lib/bezier_conn.h: 
5688         * objects/standard/bezier.c (bezierline_create): 
5689         * lib/bezier_conn.c (bezierconn_init): 
5690         Preparations for use of userdata for bezier lines.
5691         
5692         * objects/standard/polygon.c: 
5693         * objects/standard/create.h:
5694         * lib/polyshape.c:
5695         * lib/polyshape.h:
5696         * plug-ins/xfig/xfig-import.c:
5697         Use of user_data for polygon as well, including adding
5698         polyshape_set_points.  Include file for non-interactive 
5699         creation of standard objects, objects/standard/create.h
5701 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5703         * app/render_gdk.c: 
5704         * app/render_gdk.h: 
5705         * lib/font.c:
5706         * lib/font.h:
5707         * lib/widgets.c:
5708         More preliminary freetype support.  Not at all functional, crashes
5709         when rendering.
5711         * lib/poly_conn.h: 
5712         * lib/poly_conn.c: 
5713         * objects/standard/polyline.c: 
5714         Support for creating polyline objects with more than two points.
5715         This includes an extra function and a prototype change in the
5716         poly_conn lib object.
5718         * lib/object.c (object_copy): Fixed memory leak of handles and
5719         connections.
5721 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
5723         * dia.desktop: added traditional Chinese strings
5725 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
5727         * NEWS: updated to reflect build-time dependencies.
5729         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
5730         around obj->ops->describe_props(obj). Quarks are none of an
5731         object's business in the general case... 
5732         * lib/text.c: Added an apply_textattr_properties() function to
5733         factor out some common code related to applying a dialog's text
5734         attribute properties to a (Text *) which wasn't edited there. 
5735         Ditto for textstr, for the string part of an objet.
5737         * objects/GRAFCET/action.c:
5738         * objects/SADT/annotation.c:
5739         * objects/SADT/box.c: used apply_textattr_properties().
5740         
5741         * objects/UML/actor.c: 
5742         * objects/UML/branch.c:
5743         * objects/UML/component.c:
5744         * objects/UML/constraint.c:
5745         * objects/UML/small_package.c:
5746         * objects/UML/state.c:
5747         * objects/UML/usecase.c:
5748         * objects/UML/large_package.c:
5749         * objects/UML/note.c:
5750         * objects/UML/node.c:
5751         * objects/UML/message.c:
5752         * objects/UML/classicon.c:
5753         * objects/UML/object.c:
5754         * objects/UML/realizes.c:
5755         * objects/UML/dependency.c:
5756         * objects/UML/implements.c:
5757         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
5758         (most objects were already using StdProps to some extent ; this
5759         systematises usage and removes some dead wood). 
5760         
5761         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
5762         * objects/UML/uml.[ch]: audited for UTF-8.
5764         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
5765         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
5766         private (ISO-8859-1) definition.
5767         
5768         * lib/charconv.c: Added a warning if we didn't run
5769         nl_langinfo(CODESET) but rely instead on a hardcoded default.
5770         
5771 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
5773         * lib/diamenu.h:
5774         * app/disp_callbacks.c: added a way for an object to cause an
5775         already realised menu to be destroyed (for instance if it changes
5776         too much).
5778         * objects/custom/custom_object.c: used the above to fix #55073.
5780 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5782         * configure.in: Remove 2.50 prereq.
5784 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
5786         * po-checktrans.py: under some circumstances, there was one column 
5787         more than what was supposed to be, thus breaking the formatting.
5788         
5789 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
5790         
5791         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
5793         * NEWS: updated with new stuff since 0.88
5795         * shapes/network/antenna.shape: the text was misplaced ; fixed.
5797         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
5798         firewall router (upon request from Cyril Lacoux
5799         <clacoux@easter-eggs.com>)
5801         * configure.in (didn't rename to configure.ac): autoconf 2.50
5802         constructs were used ; added an AC_PREREQ call to guard against
5803         older autoconfs.
5804         
5805 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
5807         * lib/properties.c: minor clean-ups with the event delivery code.
5809         * EML/instantiation.c: brought this object back from stone and ice
5810         age.    
5812         * app/diaconv.c(NEW): added a command-line conversion tool. Still
5813         lacks a man page and correctness. In fact, it doesn't work. Please
5814         see #58196 if you want to finish it.
5815         
5816         * lib/message.[ch]: redefined things a little so that a different
5817         message_internal routine could be passed.
5818         applications can use that to fit themselves to the display model.
5820 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
5822         * objects/SADT/box.c: 
5823         * objects/GRAFCET/action.c: spelling in property descriptors (name
5824         field...)
5825         * objects/SADT/annotation.c: ditto, plus a temporary test of the
5826         event delivery code (try to click on the "click me !" button !).
5828         * app/group.c: 
5829         * lib/properties.[ch]: improved (fixed) support for group event 
5830         handlers. Fixed various things from yesterday's code to make it
5831         not too obviously crash.
5833 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
5835         * app/group.c: added delivery of events to the first member of the
5836         group which is able to process it.
5838         * lib/properties.c(prop_desc_lists_intersection): properties
5839         don't match if they don't have identical event handler.
5840         * lib/properties.h: simplified the PropEventHandler signature.
5842         Event delivery code is still untested so far, but should be
5843         lurking harmless.
5844         
5845 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
5847         * lib/properties.[ch]: Added (untested !) property event handler
5848         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
5849         generating such events. This stuff compiles, and should lurk
5850         around silently as long as you don't declare property descriptors
5851         with events (AFAICT).
5852         In object_create_props_dialog() and friends:
5853         attached a single structure with lots of data instead of lots of
5854         little attachments of data to the dialog widget.
5855         
5856         * lib/object.h: fixed mild typedef breakage introduced by the above.
5858 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5860         * lots of files: Changed Font to DiaFont
5861         * */Makefile.am: Added FREETYPE_LIBS
5862         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
5864 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
5866         * configure.in: Added "nn" to ALL_LINGUAS.
5867         
5868 2001-07-09  Alex Larsson  <alexl@redhat.com>
5870         * app/disp_callbacks.c:
5871         Add gdk_im_ready() calls to XIM code.
5873 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
5875         * lib/properties.[ch]: splitted prop_get_widget() into
5876         prop_get_widget() (gives a widget but doesn't fill it) and 
5877         prop_reset_widget() (fills an existing widget with a property's value).
5879         * lib/widgets.[ch]: const enforcement police work.
5881         * shapes/network/antenna.shape: added a connection point at top,
5882         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
5883         
5884 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
5886         * intl/*: tested with gettext-0.10.38
5887         * configure.in: moved a macro call around (AM_PROG_CC) to keep
5888         some of autogen.sh from complaining.
5889         * INSTALL: added a warning against gettext older than at least 0.10.36
5890         
5891 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
5893         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
5894         AM_ICONV (both provided by gettext)
5896 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
5898         * lib/charconv.c: corrected the degraded mode for when
5899         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
5901         * objects/chronoline/chronoline_events.c: UTF8 compliance.
5902         
5903 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
5905         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
5906         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
5907         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
5908         into a frame box.
5910         * objects/chronogram/chronoline.c:
5911         * objects/chronogram/chronoref.c: took advantage of the above to
5912         make nicer looking dialogs.
5914         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
5915         from libunicode's internals).
5916         * lib/message.c: convert strings to local encoding prior to
5917         display (UNICODE_WORK_IN_PROGRESS)
5918         * lib/properties.[ch]: convert strings to local encoding prior to
5919         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
5920         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
5921         * lib/stringprerenderer.[ch]: ditto
5923         (lib/text.c has been audited for UTF8, but the size of the changes
5924         make them inappropriate for commit before 0.89)
5925         
5926 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
5928         * objects/boolequation.h (<save|load>_boolequation): made the 
5929         prototypes for match the .c file.
5930         
5931         * samples/grafcet.dia: minor non-conformance with IEC-848
5932         fixed (in the transition from step 100 to step 101).
5934         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
5935         disallow editing of properties if the object is part of a group.
5937         * objects/chronogram/chronoline.c: 
5938         * objects/SADT/annotation.c:
5939         * objects/SADT/box.c:
5940         * objects/GRAFCET/step.c:
5941         * objects/GRAFCET/transition.c:
5942         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
5943         
5944 2001-06-12  Hans Breuer  <hans@breuer.org>
5946         * lib/libdia.def : removed lazyprop exports
5947         * lib/makefile.msc : removed lazyprop.obj
5949         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
5950         and avoid crashes by always creating a custom->text,
5951         when (custom->info->has_text) 
5953         * objects/makefile.msc : removed sybase from build
5955         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
5956         ObjectNode is a pointer already, which is what we want
5957         instead of a pointer pointer.
5959         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
5960         and implemented working export for images
5962         * shapes/network/zip-disk.shape : added connection points 
5964 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
5966         * objects/SADT/box.c: removed lazyprops for standard props.
5967         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
5968         * objects/chronograms/chronoref.c: ditto 
5970         * lib/Makefile.am:
5971         * lib/dummy_dep.h:
5972         * lib/connpoint_line.c:
5973         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
5974         * lib/properties.[ch]: new property types:
5975             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
5976             - PROP_TYPE_MULTISTRING: same as string, but renders as a
5977             multi-line entry box.
5978             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
5979             in a tabbed-notebook style (this is a bit complicated to use; 
5980             see objects/chronograms/chronoline.c for an example).
5981                
5982 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
5984         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
5985         * objects/GRAFCET/step.c: ditto.
5986         * objects/GRAFCET/vector.c: ditto.
5987         * objects/SADT/annotation.c: ditto.
5988         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
5989         
5990         * lib/properties.[ch]: two more non-visible types
5991         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
5993         * lib/neworthconn.[ch]:
5994         * lib/orthconn.[ch]: added support for manipulation through
5995         standard properties.
5997         * configure.in: removed -fomit-frame-pointer, this seems to
5998         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
5999         bugzilla.
6001         * charconv.[ch]: more functions from unicode.h.
6002         get_local_charset() wasn't working properly, fixed now.
6003         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
6004         ElectricFence !)
6005         
6006         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
6007         * lib/lazyprops.[ch]: put a big fat warning in.
6009         * app/render_eps.c: one line mysteriously went away, causing a
6010         variable to be used uninitialised....
6012 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
6014         * app/app_procs.c: commented out the call to
6015         bind_textdomain_codeset(): it's premature.
6016         
6017         * lib/connpoint_line.c: a NULL point can be given to
6018         connpointline_adjust_count(), in case there's not really a clicked
6019         point.
6021         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
6022         #include order troubles. #included by lib/text.h, so there is no 
6023         impact outside lib/.
6024         * lib/properties.[ch]: added support for CONNPOINT_LINE and
6025         (nonvisible) TEXT properties.
6027         * objects/GRAFCET/action.c:
6028         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
6029         properties.
6030         
6031         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
6032         standard properties code). Grafted a dynamic number of connection
6033         points (heavily inspired from what Vergent does). This is the real
6034         fix for #55863.
6036         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
6038         * lib/fonts.c: some hardening (mostly g_assert())
6039 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
6041         * app/app_procs.c (app_init): added a call to
6042         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
6043         (UNICODE_WORK_IN_PROGRESS).
6044         
6045 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
6047         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
6049         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
6050         (fixes #55863) : some clean-ups in the handling of connection
6051         points. Now the total number of connection points is just a
6052         #define (the proper solution is to retrofit the GRAFCET Vergent's
6053         dynamic behaviour wrt connection points).
6054         
6055 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
6057         * app/app_procs.c (app_init): added a call to unicode_init() (only
6058         if HAVE_UNICODE, of course).
6060         * lib/charconv.c: simplified the code which detects the local
6061         charset. No need to use <langinfo.h>, libunicode already takes the
6062         burden of figuring that out. Also, if local charset is utf8, no
6063         conversion will take place.
6064         Exposed a way to get the current charset (similar to
6065         unicode_get_charset() but actually working, hopefully).
6067         * lib/charconv.h: Added a partial non-UTF8 implementation of
6068         unicode.h if !HAVE_UNICODE (actually, all the time for the
6069         moment). The UTF8 implementation is just macros on libunicode (use
6070         the functions prefixed by uni_, as defined by charconv.h, not
6071         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
6072         From now on, all strings which don't *need* to be ASCII should be
6073         utfchar *, not gchar *. Just include charconv.h, let it sort out
6074         the details (such as: "is libunicode available and enabled?") 
6076         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
6077         "API" instead of directly libunicode. Removed the now unnecessary
6078         speculative clustering of characters in encoding pages.
6080         * app/render_eps.c: made the local8->utf8 conversions dependent of
6081         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
6082         boundary will be when this WIP is done).
6084         * lib/dia_xml.c (data_point): fixed a format string typo.
6086         * po/POTFILES.in: added all C files from lib/ 
6087         
6088 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
6090         * app/disp_callbacks.c: make sure the objects' connected objects
6091         are updated when the objects' size changes after a keypress event
6092         (fixes #51222)
6094         * configure.in: added a big warning about the possible future
6095         non-optionality of --enable-unicode. 
6097         * TODO: removed entries which look like done ; added a few ones
6098         (Bugzilla "enhancement" bugs may be a better way to keep track of
6099         this)
6100         
6101 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
6103         * objects/UML/message.c: got rid of #55564 and of message_copy()
6104         by using more standard properties (are the message_state_*()
6105         functions still necessary ?)
6107 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
6109         * lib/plug-ins.c: 
6110         * objecs/custom/shape_info.c:
6111         * plug-ins/shape/shape-export.c:
6112         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
6113         use xmlChar instead of obsolete CHAR.
6115 2001-06-03  Hans Breuer  <hans@breuer.org>
6117         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
6118         * app/commands.c : give the right number of parameters
6119         to diagram_update_menu_sensitivity ()
6121         * app/preferences.c : do proper initialization for DiaPrefsData:
6122         render_bounding_boxes. It would be a real surprise if 'hidden'
6123         properties would have ever worked before.
6124         Don't try to access the widgets of hidden property, it does not
6125         have one.
6127         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
6128         it is defined in libdia, but initialized from dia app, which 
6129         otherwise gave nice start-up crashes.
6131         * lib/diagramdata.c : initialize the color for rendering bounding 
6132         boxes in the Dia range (0 .. 1.0)
6134         * lib/libdia.def : added *_bbox functions for export
6136         * lib/makefile.msc : added new sources
6138         * objects/custom/custom_object.c : use HAVE_UNISTD_H
6140 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
6142         * app/interface.c:
6143         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
6144         removes a translation of menus (in a place where there shouldn't
6145         have been), which gets rid of a waterfall of warnings if LANG!=C,
6146         and a fix to #55047.
6148 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
6150         * lib/charconv.c : added #include <errno.h>
6152         * app/dia_embedd.c : updated menus_get_item_from_path usage
6153         
6154 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
6156         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
6157         Added a special case for Symbol strings, so that they're not
6158         re-encoded using the LN encoding (we use the bare Adobe encoding
6159         instead).
6161         * objects/custom/custom_object.c: Now that #52912 is fixed,
6162         I could remove the ugly hack I wrote to squash the shape bounding box
6163         problem shown by Ben A. Hetland a few months ago, and fix it
6164         properly this time.
6165         
6166         * lib/text.c: enlarged a little the bounding box to account for
6167         the cursor in rightmost position.
6168         
6169         * lib/diagramdata.c: draw bounding boxes only if the relevant
6170         variable is set (as before), but also only if the rendere is
6171         interactive (ie, don't bother rendering bounding boxes on 
6172         Postscript...)
6173         Made the bounding box's line width a fixed value, 0.01
6174         
6175         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
6176         and assymmetric control beziers. Implemented ellipse_bbox().
6177         
6178         * Makefile.am: incantations to get po/dia.pot build, as suggested
6179         by Hubert in #55075.
6180         
6181         * shapes/network/computer.shape: typo fixed.
6182         * shapes/network/antenna.shape: fixed #55074 (antenna is now
6183         properly translucent, except for its base where it makes sense. It
6184         doesn't look that ugly anymore if transparent mode is on).
6186         * configure.in: --enable-unicode is now the default. This
6187         still currently affects only printing.
6188         
6189 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
6191         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
6192         The overshoot code is buggy, and the bounding boxes for polyshapes
6193         looks a bit cheezy. To be done ASAP.
6195 2001-05-26  James Henstridge  <james@daa.com.au>
6197         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
6198         This should clear up some of the build problems people have been
6199         having.
6201         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
6203 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
6205         * lib/Makefile.am:
6206         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
6207         box code (beginning with lines, polylines and polybeziers), into a
6208         more generic facility. While at it, a better shot at correctly
6209         computing the bounding box of a Bezieroid (should take care of
6210         #53424, #51233 and of course is part 1 of #52912).
6212         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
6213         into a hidden preference (set render_bounding_boxes in diarc).
6214         * app/preferences.[ch]: Added support for hidden preferences.
6216         * lib/geometry.[ch]: sprinkled with "const" modifiers.
6217         
6218         * lib/bezier_conn.[ch]:
6219         * lib/beziershape.[ch]:
6220         * lib/connection.[ch]:
6221         * lib/element.[ch]:
6222         * lib/poly_conn.[ch]:
6223         * lib/orth_conn.[ch]:
6224         * lib/neworth_conn.[ch]:
6225         * lib/polyshape.[ch]: adapted to take advantage of
6226         boundingbox.[ch] instead of relying on private (duplicate) code.
6228         * object/FS/flow.c:
6229         * object/GRAFCET/action.c:
6230         * objects/GRAFCET/condition.c:
6231         * objects/GRAFCET/vergent.c:
6232         * objects/GRAFCET/vector.c:
6233         * objects/SADT/annotation.c:
6234         * objects/SADT/arrow.c:
6235         * objects/ER/participation.c:
6236         * objects/UML/constraint.c:
6237         * objects/UML/implements.c:
6238         * objects/UML/lifeline.c:
6239         * objects/UML/message.c:
6240         * objects/UML/realizes.c:
6241         * objects/UML/generalization.c:
6242         * objects/UML/association.c:
6243         * objects/UML/dependency.c:
6244         * objects/FS/flow-ortho.c:
6245         * objects/network/bus.c:
6246         * objects/standard/arc.c:
6247         * objects/standard/bezier.c:
6248         * objects/standard/beziergon.c:
6249         * objects/standard/line.c:
6250         * objects/standard/polygon.c:
6251         * objects/standard/zigzagline.c:
6252         
6253         * objects/standard/polyline.c: Some *BBExtras structures changed
6254         names while moving to boundingbox.[ch]. A trivial mass-renaming.
6255         
6256 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
6258         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
6259         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
6261         * app/display.c (ddisplay_update_scrollbars): from Patrick's
6262         suggestion, remove the extra scrollable area (it was only visible
6263         to the scrollbars). This is experimental.
6264         
6265         * objects/custom/custom_object.c: If a shape's icon file doesn't 
6266         exist, warn and substitute a default icon, instead of crashing.
6267         (fixes #52913)
6268         
6269         * objects/network/network.c:
6270         * shapes/network/modularswitch.(shape|xpm) (NEW):
6271         * shapes/network/printer.(shape|xpm) (NEW):
6272         * shapes/network/genmonitor.(shape|xpm) (NEW):
6273         * shapes/network/computer.(shape|xpm) (NEW):
6274         * shapes/network/Makefile.am: four less objects, four more shapes.
6275         These were the last known RenderObjects. (phew !)
6277         * lib/Makefile.am:
6278         * lib/dummy_dep.h:
6279         * objects/sybase/Makefile.am: 
6280         * objects/network/Makefile.am: Removed the older Renderobjects
6281         from the build, and their infrastructure (not yet deleted,
6282         though).
6284         * shapes/network/sceadplug.shape:
6285         * shapes/network/antenna.shape:
6286         * shapes/network/modem.shape:
6287         * shapes/network/hub.shape:
6288         * shapes/network/rj45plug.shape:
6289         * shapes/sybase/client.shape:
6290         * shapes/sybase/dataserver.shape:
6291         * shapes/sybase/ltm.shape:
6292         * shapes/sybase/repserver.shape:
6293         * shapes/sybase/rsm.shape:
6294         * shapes/sybase/stableq.shape: Minor corrections (line widths were
6295         ten times too narrow).
6296         
6297 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
6299         * objects/network/network.c:
6300         * shapes/network/sceadplug.(shape|xpm) (NEW):
6301         * shapes/network/antenna.(shape|xpm) (NEW):
6302         * shapes/network/modem.(shape|xpm) (NEW):
6303         * shapes/network/Makefile.am: four less objects, four more shapes.
6304         
6305         * lib/Makefile.am:
6306         * lib/diagramdata.c:
6307         * lib/render.h:
6308         * lib/string_prerenderer.[ch] (NEW):
6309         Add a new renderer primitive, predraw_string() (does nothing, to be
6310         used as a hook to optimise the character encodings if needed). 
6311         Added a string pre-renderer, which can be viewed as a filter
6312         renderer (to route draw_string() to predraw_string() and ignore
6313         the rest, in a first rendering pass)
6314         
6315         * app/render_eps.c: Took advantage of the above to make wholly
6316         optimised Postscript encoding page(s), even (especially) with 
6317         non-latin1 code (HAVE_UNICODE must be true).
6319         (#53512 in fact is wholly resolved).
6320         
6321 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
6323         * lib/charconv.c: steps towards resolution of #53512 (inspired by
6324         Alexey Novodvorsky <aen@logic.ru>'s patch).
6326         * app/menus.c (dia_menu_signal_proxy): checked that the signal
6327         handler is not NULL before transferring control to it... (fixes #52836)
6329         * app/app_procs.c (app_init): removed non-constant initialiser
6330         (fixes #52950)
6332         * objects/custom/custom_object.c:
6333         * objects/custom/shape_info.[ch]:
6334         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
6335         <skh@mathstar.com>. This add support for a <svg:text> shape
6336         element, and some related style properties (font, font height, 
6337         alignment)
6339         * doc/custom_shapes: a precision about the meaning of case in a
6340         SVG path (closes #52364)
6342         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
6343         fixed by <drk@sgi.com>)
6344         
6345 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
6347         * objects/network/network.c:
6348         * shapes/network/Makefile.am:
6349         * shapes/network/hub.(shape|xpm) (NEW):
6350         * shapes/network/flash.(shape|xpm) (NEW):
6351         * shapes/network/rj45plug.(shape|xpm) (NEW):
6352         More shapes, less renderobjects.
6354 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
6355         
6356         * plug-ins/svg/render_svg.c: typo made exported ellipses
6357         corrupted (zero Y pseudo-radius).
6359         * objects/network/network.c:
6360         * objects/network/disc.c:
6361         * shapes/network/disc.(shape|xpm): Converted the first
6362         Renderobject into a shape. Normally, old diagrams should reload
6363         without problems (please check this against your diagrams). More
6364         flexibility should be gained that way. I intend to hunt and
6365         eradicate all renderobjects as I can commit cycles to that. 
6367         * objects/Makefile.am:
6368         * configure.in:
6369         * app/Makefile.am:
6370         * objects/sybase/sybase.c:
6371         * shapes/sybase/Makefile.am(NEW):
6372         * shapes/sybase/client.(xpm|shape) (NEW):
6373         * shapes/sybase/dataserver.(xpm|shape) (NEW):
6374         * shapes/sybase/ltm.(xpm|shape) (NEW):
6375         * shapes/sybase/repserver.(xpm|shape) (NEW):
6376         * shapes/sybase/rsm.(xpm|shape) (NEW):
6377         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
6378         renderobjects into shapes. The Sybase objects are now not compiled
6379         anymore, and ready to be nuked if nobody objects in the next few weeks.
6380         
6381         * app/commands.c:
6382         * app/diagram.[ch]:
6383         * app/disp_callbacks.c:
6384         * app/display.[ch]:
6385         * app/interface.[ch]:
6386         * app/menus.[ch]:
6387         * app/modify_tool.c:
6388         * app/preferences.[ch]:
6389         * app/recent_files.c:
6390         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
6391         a menu bar reflecting the popup menu, to each display window. This
6392         is optional (changing the preference currently doesn't affect
6393         already opened windows; a few other rough edges to cut).
6395         * plug-ins/wpg/wpg.c:
6396         * plug-ins/xfig/xfig-import.c:
6397         * plug-ins/python/pydia-property.c:
6398         * plug-ins/python/pydia-properties.c:
6399         * plug-ins/python/pydia-geometry.c:
6400         * plug-ins/pstricks/render_pstricks.c:
6401         * lib/arrows.c:
6402         * objects/EML/dbox.c:
6403         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
6404         #53054.
6406         * lib/ps-utf8.c: improved the clustering of alphabetic character
6407         definitions in custom encodings pages.
6408         
6409 2001-05-02  Hans Breuer  <hans@breuer.org>
6411         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
6412         of 'obj_bb' to PROP_TYPE_RECT
6414         * objects/custom/custom_object.c : take all quarks into account, 
6415         not only 4 as copy&paste suggests
6417         * objects/uml/objects.c : completed the implementation of the
6418         property api to avoid reading of totally bogus data. Removed
6419         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
6420         there was too much but too less ...
6421   
6422         The above changes removed all known crashes (mentioned below) 
6423         from the Property API. Property access is still incomplete though.
6425         * objects/flowchart/box.c :
6426         * objects/flowchart/diamond.c :
6427         * objects/flowchart/ellipse.c :
6428         * objects/flowchart/parallelogram.c :
6429         * objects/uml/classicon.c :
6430         * objects/uml/state.c : calculate number of quarks from quark array 
6431         size instead of using hardcoded values for consistence and to avoid 
6432         future bugs like the above
6433         
6434         * objects/eml/nlist.c : include <string.h> for strcmp()
6436         * lib/dia_xml.c : relax g_warning for values, which
6437         appear to be too small. There is nothing which prevents
6438         them while saving
6440         * plug-ins/python/pydia-geometry.c : changed stringifying of
6441         geometry objects accept BezPoint back to %f, which does not
6442         crash anymore, because all the data is intialized now and it
6443         simply is more readable than %e ...
6445         * plug-ins/python/python-startup.py : removed dependency
6446         to PyGtk, because it isn't required here and probably won't
6447         in i.e.: export filters.
6449         * plug-ins/python/gtkcons.py : create the gtkoutfile even
6450         if sys.stderr.fileno() isn't supported
6452         * app/makefile.msc : make version 0.88
6453         * plug-ins/makefile.msc : make version 0.88 an added new
6454         xfig files to build
6456 2001-05-11  James Henstridge  <james@daa.com.au>
6458         * NEWS: remember to add news items this time.
6460         * dia.spec: update spec file for 0.88 release.
6462         * configure.in: up version number to 0.88
6464         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
6465         preventing any of the useful python scripts from being
6466         distributed.
6468         * sheets/Makefile.am (sheet-translation-report): fix bustage I
6469         introduced in my fixups for the 0.87 release :(
6471 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6473         * plug-ins/xfig/xfig-import.c: Finally got groups working.
6475 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6477         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
6478         group manipulation.
6480 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
6482         * lib/ps-utf8.[ch]:
6483         * lib/Makefile.am: fix makefile breakage which led to not
6484         including ps-utf8.[ch] in the released tarballs. 
6486 2001-05-09  James Henstridge  <james@daa.com.au>
6488         * Makefile.am (core-translation-report): dist scripts needed for
6489         this target, and change to $(srcdir) before running.
6491         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
6492         files aren't automatically included in the tarball by automake
6493         because they could be generated files.
6495         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
6497         * doc/en/Makefile.am (install-data-hook): fix up where graphics
6498         are installed.
6500         * configure.in: up version number to 0.87
6502         * plug-ins/python/*.py: no longer necessary to explicitly set
6503         sys.argv, as python.c does it for us now (like it should).
6505         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
6506         python plugin.
6508         * plug-ins/python/python-startup.py: startup script that imports
6509         all modules in $(datadir)/dia/python and ~/.dia/python.
6511         * plug-ins/python/python.c (dia_plugin_init): change so that it
6512         only runs the $(datadir)/dia/python-startup.py script.  Make sure
6513         that sys.argv and __main__.__file__ are set when calling the
6514         startup script.
6516         * plug-ins/python/Makefile.am: update makefile.  Make it install
6517         gtkcons.py plugin.  I haven't set any other plugins to install, as
6518         they look like they are mainly for debugging purposes.
6520         * configure.in: add tests to detect if python is available, so we
6521         can build the python plugin.  Only run if --with-python passed to
6522         configure.
6524 2001-05-08  James Henstridge  <james@daa.com.au>
6526         * acinclude.m4: add macros for detecting python.
6528         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
6529         at GNOME_APP_UI_SUBTREE entries.
6530         (menus_add_path): function to add a menu item to the menubars.
6531         Uses a hash table to keep track of extra menu items it adds.  Also
6532         notifies the item factory about the entries so that accels can be
6533         saved for them.
6534         (menus_add_path): implement gtk only version.
6535         (menus_init): use menus_add_path() to add the menu.
6536         (plugin_callback): simplify.
6538 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
6540         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
6541         
6542 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6544         * plug-ins/xfig/xfig-export.c: 
6545         * plug-ins/xfig/xfig-common.c: 
6546         * plug-ins/xfig/xfig-import.c: 
6547         * plug-ins/xfig/xfig.c: 
6548         * plug-ins/xfig/xfig.h: 
6549         * app/Makefile.am: Added support for exporting to Fig format
6550         (except splits, which are less powerful in Fig).  Some refactoring
6551         along the way.
6553 2001-05-02  Hans Breuer  <hans@breuer.org>
6555         * plug-ins/python/debug_objects.py : added another
6556         test to get massive crashes from the Property API due
6557         to unintialized data.
6559         * app/menu.c : the callback_action wasn't incremented
6560         (should have checked my last optimization). Now more
6561         than one plug-in callback is supported again.
6563         * plug-ins/python/pydia-geometry.c : avoid crashes from
6564         glib, when trying to g_strdup_printf unintialized floats.
6566         * plug-ins/python/pydia-property.c : avoid crashes from
6567         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
6569 2001-05-01  Hans Breuer  <hans@breuer.org>
6571         * objects/makefile.msc : added eml
6572         * objects/eml/instantiation.c : initialize 'inst' pointer
6573         before using, zero initialization for objects
6574         * objects/eml/interaction-ortho.c :
6575         * objects/eml/interaction.c : zero initialization for objects
6577         * app/menus.c : removed Gimp mru stuff which slipped in at
6578         2000-08-15, was never activated and will never be needed, 
6579         because of Steffens recent file list patch added at 2001-01-05.
6581         * objects/eml/*.c : some more zero initialization of objects
6582         to avoid infinite (uninitialized) bounding boxes
6584         Implemented a callback api which allows plug-ins to register
6585         menu call backs. Dia for Gnome should compile, but will need 
6586         some extra tweaking to make it work because I can't test it.
6588         * plug-ins/python/pydia-error.h :
6589         * plug-ins/python/pydia-render.c : moved Pxthon function return 
6590         value handling from pydia-render.c to pydia-error.h, to make it
6591         usable for
6592         * plug-ins/python/diamodule.c : implement callback function
6593         registration from and relaying to Python code
6595         * app/menus.c : register and use plug-in menu callbacks
6597         * lib/filter.[hc] : implement filter_register_callback() and
6598         filter_get_callbacks() for the above
6599         * lib/libdia.def : export them
6601         * plug-ins/python/debug_objects.py (new file): 
6602         sample using the above
6604 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6606         * plug-ins/shape/shape-export.c (new_shape_renderer): 
6607         The name of a shape is now taken from the dir, to conform with
6608         standard naming.
6610 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6612         * app/properties.c (properties_show): Added title containing
6613         object type, plus (hopefully) fix of the ghost properties dialog.
6615 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
6617         * app/display.c: remove the display idle handler in case we
6618         destroy the ddisplay (caused crashes in ddd, probably random
6619         crashes elsewhere).
6621         * autogen.sh: 
6622         * configure.in:
6623         * Makefile.am: hack around gettext-0.10.36's new "features".
6624         
6625         * lib/properties.[ch]: added new function object_copy_props().
6626         Added new property type PROP_TYPE_ENDPOINTS
6628         * lib/connection.h: added support for load/saving through the
6629         properties interface.
6631         * lib/object.[ch]: object_load/save/copy_using_properties()
6632         support functions (code factorisations).
6633         
6634         * objects/GRAFCET/boolequation.c: check against null values in
6635         boolequation_set_value() and boolequation_destroy().
6637         * objects/GRAFCET/transition.c: Converted from lazyprops to
6638         standard properties. 31% less (x86) code !
6640         * objects/GRAFCET/condition.c: also converted from lazyprops to
6641         standard properties. Also killed lots of code.
6642         
6643 2001-04-13  Hans Breuer  <hans@breuer.org>
6645         * plug-ins/wmf/wmf.cpp : changed text conversion from
6646         g_utf8_utf16 to g_convert usage. The latter function is already
6647         available in tml's last "official" Gtk+ version (2000-12-26).
6648         This change allows to use recent Dia with either the official
6649         version or the latest cvs "gtk-1-3-win32-production"-branch.
6651 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6653         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
6654         * app/disp_callbacks.c:
6655         - Allow submenus in DiaMenus.
6656         - Don't require DiaMenu.title to be non-null (so that
6657           submenus aren't required to have titles)
6659         * objects/FS/function.c:
6660         - object menu now has submenus, an almost complete list of
6661           standard-basis verbs, and a start on nouns.
6662         - box padding, dash length, and other visual attributes are
6663           scaled by the font size... eventually font height will be
6664           a function property.
6665         - draw functions with smaller font to make initial view hold
6666           a reasonable number of functions.
6667         
6668 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
6670         * sheets/ER.sheet:
6671         * sheets/chronogram.sheet:
6672         * sheets/jigsaw.sheet:
6673         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
6674         Wieers <dag@wieers.com>
6676 2001-04-13  Hans Breuer  <hans@breuer.org>
6678         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
6679         to ensure that all the deinitialization is only done once. Fixes
6680         recent app exit crash on win32
6682         * lib/dia_xml.c : provide isinf() replacement for msc which does only
6683         have _finite()
6685         * lib/libdia.def : updated
6687         * objects/makefile.msc : added wanlink.c 
6689         * objects/network/wanlink.c : added M_PI_2 definition for poor
6690         platforms which don't have one
6692         * objects/standard/arc.c :
6693         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
6694         initialized which led to rather huge bounding boxes (try Ctrl^A on
6695         diagrams with Arcs or ZigZagLines).
6696         * objects/*/*.c : to avoid further bugs like the above changed all
6697         object initializations to g_malloc0 or g_new0
6700 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
6702         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
6703         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
6705         * objects/UML/class.c: 
6706         * objects/UML/usecase.c:
6707         * objects/UML/large_package.c:
6708         * objects/UML/message.c:
6709         * objects/UML/object.c:
6710         * objects/UML/lifeline.c:
6711         * objects/FS/flow.c:
6712         * objects/FS/flow-ortho.c:
6713         * objects/FS/function.c:
6714         * objects/custom/custom_object.c:
6715         * objects/GRAFCET/vergent.c:
6716         * objects/chronogram/chronoref.c:
6717         * objects/SADT/box.c:
6718         * objects/SADT/annotation.c:
6719         * plug-ins/dxf/dxf-import.c:
6720         * plug-ins/xfig/xfig-import.c:
6721         * plug-ins/wpg/wpg.c:
6722         * app/command.c:
6723         * app/app_procs.c:
6724         * app/display.c: /* certainly more WIP than dead code there */
6725         Unused variables, unused static function definitions, forgotten or
6726         incomplete prototypes added or fixed, lack of const or unwanted const,
6727         etc. (mostly clean-ups of leftovers of the pre-properties era).
6728         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
6729         please check these.
6731         * app/lineprops_area.c: More of the same. Missing prototypes
6732         added, and functions unused outside made static.
6734         * app/recent_files.c:
6735         * app/properties.c:
6736         * app/defaults.c: some variables are used only when doing a GNOME
6737         build.
6738         
6739         * app/magnify.c: missing #include <stdlib.h>.
6741         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
6743         These are a lot of clean-ups (by the way, this compiles and runs
6744         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
6745         for DEAD_CODE, and if it's yours, judge it.
6746         
6747 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
6749         * plug-ins/dxf-import.c: some progress with the arcs; still some
6750         clean-ups to do and line width scaling issues to figure out.
6752         * objects/standard/arc.c: start_point and end_point properties
6753         (duplicated from standard/line.c)
6755         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
6756         code there.
6757         
6758 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
6760         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
6761         preliminary support for arcs (doesn't work). Circles and ellipses are
6762         now transparent. Coordinate and width scaling are now a common 
6763         static constant (probably before morphing into a preference).
6764         
6765         * sheet/checktrans.py: improved error reporting. Made checktrans
6766         count lack of <name xml:lang="code"> as a lack of translation for
6767         language "code" (no, it's not a plot to bring down other
6768         language's scores !)
6769         
6770         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
6771         in the header, and have <name xml:lang="fr"> components.
6772         
6773 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
6775         * objects/custom/custom_object.c: temporary hack to fix the shape
6776         bounding box reported by Ben A. Hetland. Proper fix isn't .87
6777         material, see bugzilla #52912.
6779 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6781         * objects/standard/image.c (get_directory): Now uses
6782         G_SEPARATOR_CHAR_S instead of "/"
6784         * sheets/network.sheet: 
6785         * sheets/Logic.sheet:
6786         * sheets/Flowchart.sheet:
6787         * sheets/Electric.sheet:
6788         * sheets/Circuit.sheet:
6789         * sheets/ER.sheet:
6790         * sheets/Pneumatic.sheet:
6791         * sheets/SDL.sheet:
6792         * sheets/UML.sheet:
6793         * sheets/GRAFCET.sheet:
6794         * sheets/MSE.sheet:
6795         * sheets/chronogram.sheet:
6796         * sheets/civil.sheet:
6797         * sheets/network.sheet:
6798         Danish translations.
6799         
6800         * objects/standard/image.c (get_directory): Changed get_directory
6801         to use g_dirname to find the directory part.
6803 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
6805         * sheets/ER.sheet:
6806         * sheets/Electric.sheet:
6807         * sheets/Flowchart.sheet:
6808         * sheets/Logic.sheet:
6809         * sheets/network.sheet: More Dutch translations from Dag Wieers.
6811 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
6813         * sheets/checktrans.py: now emits a warning when two descriptions
6814         for a single language code are found.
6816         * Makefile.am:
6817         * sheets/Makefile.am: -translation-reports now also depend on their
6818         checktrans.py
6819         
6820 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
6822         * sheets/Circuit.sheet:
6823         * sheets/Contact.sheet:
6824         * sheets/Logic.sheet:
6825         * sheets/chronogram.sheet:
6826         * sheets/sybase.sheet: 
6827         Dutch translations from Dag Wieers <dag@wieers.com>
6829 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
6831         * po-checktrans.py: Now shows the detailed counts alongside the
6832         percentage of translations.
6833         
6834 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
6836         * Makefile.am:
6837         * po-checktrans (NEW):
6838         * po-checktrans.py (NEW): builds core-translation-report:
6839         percentages of core (gettext) translations done [Not placed into
6840         po/ where that should belong, because of integration fear^Wissues
6841         with gettextize]. 
6843         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
6844         sheets/sheet-translation-report probably ought to be copied on the 
6845         user's /usr/share/doc/dia (or equivalent) directory.
6847         * sheets/Makefile.am: sheet-translation-report now a simple
6848         EXTRA_DIST; make install won't install it by default. 
6849         
6850 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
6852         * app/preferences.c: changed the default grid colour to something
6853         less intrusive. 
6855         * shapes/SDL/*.shape:
6856         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
6857         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
6858         DIA FILES (well, for files using SDL), see the mailing list
6859         archive "SDL (ab)using the global shape namespace" for a script to
6860         do this conversion.
6862         * sheets/SDL.sheet: translated into French
6863         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
6864         
6865 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
6867         * lib/dia_xml.c: made data_point() more paranoid
6869         * sheets/Makefile.am:
6870         * sheets/checktrans (NEW):
6871         * sheets/checktrans.py: Made checktrans handle more gracefully the
6872         absence of python and python-xml packages, and made the error
6873         message more helpful.
6874         
6875 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6877         * lib/render_object.c (new_render_object): Made initial handles
6878         behave like on most other objects.
6880         * app/load_save.c (read_objects): Fixed premature free'ing ofr
6881         typestr causing garbage.
6883 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
6885         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
6886         accouting for handle ordering through copy and save. (#51479)
6888 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
6890         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
6892 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
6894         * sheets/Circuit.sheet
6895         * sheets/UML.sheet
6896         * sheets/network.sheet: Updated German translations
6897         
6898 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
6899         * lib/arrows.[ch]:
6900         * lib/widgets.c:
6901         * app/lineprops_area.c: The return of the revenge of the arrow
6902         heads. Now all types covered by ISO 10303-201 should be covered.
6903         
6904 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
6906         * sheets/Flowchart.sheet: translations in probably Hungarian were
6907         a victim of cut-n-paste from the German one. Fixed (hopefully).
6908         * sheet/UML.sheet: translation in probably Norwegian was a victim
6909         of cut-n-paste from the French one. Fixed (hopefully).
6910         * sheets/Logic.sheet: French translation not tagged with
6911         xml:lang="fr".
6912         
6913         * sheets/checktrans.py:
6914         * sheets/Makefile.am: new file, sheet-translation-report, to be
6915         installed along the sheets, show how much of them has been
6916         translated into which language (I wish the result was prettier...)
6918         * po/README: most translators don't read this file, but anyway...
6920         * sheets/.cvsignore:
6921         * objects/network/.cvsignore: the usual negotiation with CVS.
6923 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
6925         * sheets/*.sheet: French translations
6927 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
6929         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
6931         ** objects/network/network.c:
6932         ** objects/network/wanlink.c:
6933         ** objects/network/pixmaps/wanlink.c:
6934         ** sheets/network.sheet:
6935         ** objects/network/Makefile.am: a better object to use instead of
6936         the older WAN Connection.
6937         
6938         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
6940         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
6941         name clash 
6943         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
6944         Arc; kept the C file name (because CVS wouldn't like it), and
6945         still registering the older object name (but advertising the newer
6946         one in sheets/GRAFCET.sheet).   
6948 2001-03-24  Hans Breuer  <hans@breuer.org>
6950         * app/dia.def : some plug-ins (currently only python, xfig) are using 
6951         functions from the dia executable. To get them working these functions 
6952         need to be explicit exported on win32. IMO the much cleaner way would
6953         be to move these functions to libdia, but that would require some
6954         long term restructuring ...
6956         * lib/libdia.def : updated
6958         * plug-ins/makefile.msc : build xfig plug-in
6960 2001-03-24  Hans Breuer  <hans@breuer.org>
6962         * app/diagram.c : g_strdup (dia->filename) because it will be
6963         g_free ()d
6965         * app/display.c : set ddisp->renderer to NULL after destruction.
6966         This may solve or help to identify erroneous access to it after
6967         destruction.
6969         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
6970         get 'umlauts' working
6972 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
6974         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
6975         were reversed... (look for the patch, and drink a beer to my
6976         stupidity)      
6977         
6978 2001-03-23  Hans Breuer  <hans@breuer.org>
6980         * app/app_procs.c : don't g_error () if the config directory
6981         can't be created (at least not on windoze) because it's quite
6982         common that the user don't read or understand the FAQ ...
6984         * app/cursor.c : use ddisplay_active () instead of active_display
6985         from app/display.c
6987         * app/display.[hc] : made active_display var static and provide
6988         an accessor funtion ddisplay_active_diagram ()
6990         * app/dia-props.c : don't store the active_diagram, but ask
6991         for it everytime it needed.
6993         * lib/properties.h : #include "intl.h"
6995         * lib/makefile.msc : need to take care of inclusion order to
6996         avoid clashes with gtk+2.0's gdk-pixbuf
6998         * objects/makefile.msc : added uml/stereotype.c to build
7000 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
7002         * **/*.c: Added config.h to the remaining .c files, and changed
7003         all to be <config.h>.
7005 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
7007         * lib/arrows.c
7008         * lib/arrows.h
7009         * lib/widgets.c
7010         * app/lineprops_area.c: added new arrow types with double
7011         heads
7012         
7013 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
7015         * shapes/Civil/civil_gas_bottle.xpm
7016         * shapes/Civil/civil_gas_bottle.shape
7017         * sheets/civil.sheet
7018         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
7019         Battermann
7020         
7021 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
7023         * objects/custom/shape_info.c (load_shape_info): 
7024         * objects/custom/shape_info.h: 
7025         * objects/custom/custom_object.c (custom_update_data): 
7026         Better support for text outside the box -- new attributes 'resize'
7027         and 'align' for text entity.  Align not fully supported yet.
7029         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
7031 2001-03-20  James Henstridge  <james@daa.com.au>
7033         * app/interface.c (display_data_received_callback): comment out
7034         status message.
7036 2001-03-19  James Henstridge  <james@daa.com.au>
7038         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
7040         * objects/UML/realizes.c: similar here.
7042         * objects/UML/implements.c: similar here.
7044         * objects/UML/component.c: similar here.
7046         * objects/UML/generalization.c: same here.
7048         * objects/UML/dependency.c: allow NULL for ->name and
7049         ->stereotype.  This fixes a number of problems in loading saved
7050         files.
7052         * lib/properties.c: various changes so that NULL string properties
7053         should work.
7055         * objects/standard/line.c (line_update_data):
7056         line->extra.start_long and line->extra.end_long were not being
7057         initialised.  This fixes potential problems with the bounding box
7058         of "Standard - Line" objects.
7060 2001-03-19  Hans Breuer  <hans@breuer.org>
7062         * app/commands.c : added win32 specific code to display a html
7063         file. #include "text.h" for text_delete_all prototype.
7065         * app/dia.ico :
7066         * app/dia.rc : (new) to give Dia win32 an icon
7068         * app/win32print.[ch] : new files to support direct postscript
7069         file printing on win32. Beware: it *requires* a ps-printer!
7071         * app/paginate_psprint.c : disable the signal code for win32 build
7072         and added small specific changes to support win32print.
7074         * app/makefile.msc : added win32print and linking shell32.lib
7076         * lib/libdia.def : updated
7078 2001-03-18  Kevin Breit <battery841@mediaone.net>
7080         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
7081           Help tabs.
7083 2001-03-17  James Henstridge  <james@daa.com.au>
7085         * app/paginate_psprint.c (diagram_print_ps): add code that traps
7086         SIGPIPEs during printing.  This gets rid of a number of crashes
7087         caused by printing (eg. typing an incorrect print command).
7089         * dia.spec (%install): gzip the manpage.
7091         * lib/beziershape.c (beziershape_save): fix off by one error in
7092         beziershape save code, which was adding an extra segment to the
7093         object on save.
7095         * app/menus.c: add a separator in the gnome version of the help
7096         menu.
7098         * app/app_procs.c (app_init): add a --nosplash argument which
7099         disables the splash screen.
7101         * app/dia_embedd.c (main): don't leave the splash screen open for
7102         embeddable component.
7104         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
7105         didn't seem to be showing the splash screen like expected, so I
7106         have replaced it with some code that calls gtk_main() until the
7107         first exposure of the window.
7109 2001-03-16  James Henstridge  <james@daa.com.au>
7111         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
7113         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
7114         stereotype.h
7116         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
7118         * app/Makefile.am (dia_core_files): remove splash.h from file
7119         list, as it doesn't exist.
7121         * doc/en/Makefile.am (uninstall-local): remove the docdir on
7122         uninstall.
7124         * doc/Makefile.am (uninstall-local): target to remove the C
7125         symlink.
7127         * dia.spec (%files): include the documentation in the package.
7129         * app/menus.c (toolbox_menu_items): add menu item for manual,
7130         which calls help_manual_callback.
7132         * app/commands.c (help_manual_callback): find help file and load
7133         netscape to view it.
7135         * app/commands.h: add prototype for help_manual_callback()
7137         * doc/Makefile.am (helpdir): similar here.
7139         * doc/en/Makefile.am (helpdir): make the helpdir
7140         $(pkgdatadir)/help/en in the non gnome case.
7142         * configure.in (HAVE_GNOME): add conditional.
7144         * doc/en/Makefile.am: handle the graphics in a more general way,
7145         so it is easier for Kevin to add them to the build (just add them
7146         to the GRAPHICS var).
7148         * app/Makefile.am (embed_extra_print_files): make the case of
7149         building without gnome-print support but with bonobo support work.
7150         dia-embedd needs to be include the gnome-print
7152 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
7154         * samples/Makefile.am: included all samples in the distribution....
7155         
7156 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
7158         * configure.in: removed premature test for DPS. Added -*- m4 -*-
7159         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
7160         vanished, removed it from ALL_LINGUAS.
7162         * lib/charconv.[ch] (NEW): a very small wrapper around
7163         unicode_iconv to convert strings between utf8 and local charset
7164         (actually, ISO-8859-1, though one can do
7165         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
7167         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
7168         library to help build Postscript streams which use as many custom
7169         font encodings as necessary to correctly represent all characters
7170         used (testing from users with non-latin1 and/or more than 256
7171         characters in routine use *very* welcome).
7173         * app/Makefile.am, lib/Makefile.am: integrated these into the
7174         build process.
7176         * shapes/Logic/.cvsignore (NEW): .cvsignore
7177         
7178         * app/render_eps.h: forwarded some changes Lars forgot to include.
7179         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
7180         doesn't yet build.
7182 2001-03-08  Kevin Breit <battery841@mediaone.net>
7184         * doc/en/home_network.png: Added file.
7185         * doc/en/line_props.png: Added file.
7186         * doc/en/usage-objects.sgml: Added two graphics to file.
7187         * doc/en/usage-quickstart.sgml: Added one graphic to file.
7189 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
7191         * app/grid.h: Place comment around text after #endif.
7192         * lib/bezier_conn.c: #include <string.h>.
7193         * lib/beziershape.c: #include <string.h>.
7194         * lib/connpoint_line.h: Comment after #endif.
7195         * lib/dia_dirs.c: #include <string.h>.
7196         * lib/element.c: Same.
7197         * lib/lazyprops.c: #include <config.h> and "intl.h".
7198         * lib/lazyprops.h: Comment out text after #endif.
7199         * lib/neworth_conn.c: #include <string.h>
7200         * lib/orth_conn.c: Same here.
7201         * lib/poly_conn.c: Here too.
7202         * lib/polyshape.c: And here.
7203         * lib/properties.c: Remove #include "intl.h" from here and add
7204         an array of static strings to work around bug in gettext that
7205         makes it miss strings in a #define body.
7206         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
7207         * objects/GRAFCET/boolequation.h: Same here.
7208         * objects/chronogram/chronoline_event.h: Add prototype for
7209         destroy_cle().
7210         
7211 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
7213         * objects/FS/function.c: 
7214         * objects/FS/flow.c: 
7215         * objects/FS/flow-ortho.c: 
7216         Updated to use properties.
7218 2001-03-03  James Henstridge  <james@daa.com.au>
7220         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
7221         button labels when creating them.
7223 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
7225         * objects/UML/actor.c
7226         * objects/UML/realizes.c 
7227         * objects/UML/implements.c 
7228         * objects/UML/generalization.c 
7229         * objects/UML/dependency.c 
7230         * objects/UML/constraint.c
7231         Updated to use properties.
7232         
7233         * objects/UML/stereotype.c 
7234         * objects/UML/stereotype.h
7235         Generalized to any kind of bracketting.
7236         
7237 2001-02-28  James Henstridge  <james@daa.com.au>
7239         * app/menus.c: add help entry to the help menu.  Need to get this
7240         working for the non GNOME case as well (maybe put help under
7241         $(datadir)/dia/help for non GNOME?)
7243         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
7245         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
7246         this element so that we get a meaningful filename in the html
7247         translation.
7249         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
7250         documentation.
7252         * configure.in (DB2HTML): add a check for the db2html program, and
7253         set an automake conditional if it is found.
7255         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
7256         and descend into doc/ directory while building.
7258         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
7259         we need more complex rules for building the docs.
7261 2001-02-25  Hans Breuer  <hans@breuer.org>
7263         * config.h.win32 : some cleanup
7265         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
7266         are deprecated since glib-1.3.2. Sorry needing to use them
7267         contionally, but there is no glib-1.2 for win32
7269         * app/recent_files.c : use g_strescape (params) conditionally
7271         * lib/connection.c : include string.h for memcpy
7273         * lib/geometry.h : added some stuff for compatibility with
7274         msvc, which previously came from included config.h
7276         * lib/libdia.def : updated
7278         * objects/makefile.msc : updated
7280         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
7281         'extra' used without having been initialized
7283         * objects/network/bus.c(658) : initialize 'extra'
7285         * plug-ins/makefile.msc : updated
7287         * plug-ins/cgm/cgm.c :
7288         * plug-ins/pstricks/render_pstricks.c : 
7289         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
7290         huge memory leaks.
7292         * plug-ins/python/python.c : use HAVE_DIRENT_H
7294 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
7296         * lib/connection.c (connection_update_boundingbox): 
7297         Made the BB shrink on right and lower sides, too.
7299 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
7301         * */*.c: #incude <config.h> at the top.
7302         * */*.h: Remove include of "config.h" since it should only
7303         be included in .c files and at the very top for things to
7304         work.
7305         * sheets/*.sheet: Updated Norwegian translations.
7306         
7307 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
7309         * objects/UML/small_package.c: 
7310         * objects/UML/class.c: 
7311         * objects/UML/node.c: 
7312         * objects/UML/usecase.c:
7313         * objects/UML/lifeline.c: 
7314         * objects/UML/message.c:
7315         Various cleanup of properties in particular.  Now much more use of
7316         standard properties.
7318         * lib/diagramdata.c (layer_render): Visualization of bounding
7319         boxes, for debugging purpoises.
7321 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
7323         * lib/geometry.h:
7324         * lib/connection.[ch]:
7325         * lib/poly_conn.[ch]:
7326         * lib/polyshape.[ch]:
7327         * lib/bezier_conn.[ch]:
7328         * lib/beziershape.[ch]:
7329         * lib/orth_conn.[ch]:
7330         * lib/neworth_conn.[ch]:
7331         * lib/element.[ch]: Changed a bit the _update_boundingbox()
7332         interface. Now the parent elements have an extra_spacing
7333         structure, which child objects just need to fill, to take care of
7334         most arrow & line width extra space needs.
7336         * objects/**/*.c: updated all objects to the new interface.
7337         While at it, killed all instances of (Object *) downcasts (phew !)
7339         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
7340         doesn't speak about.
7341         
7342 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
7344         * sheets/Logic.sheet: New sheet for Logic symbols.
7346 2001-02-21  James Henstridge  <james@daa.com.au>
7348         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
7349         widget by its path name.  Walks the GnomeUIInfo heirachy rather
7350         than widget tree, compares untranslated label names and ignores
7351         underscores in the labels.
7352         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
7353         lookups are not dependent on the current locale, as with
7354         gnome_app_find_menu_pos.
7356         * acconfig.h: guard against multiple inclusion of config.h.
7358         * app/select.c (select_style_callback): simply set the selection
7359         style to the value of action.
7361         * app/menus.c (menus_init): simplify the item factory based menu
7362         code a bit.  It looks like it was using some code cut and pasted
7363         from the gimp, which looked a bit unnecessary.  Things work fine
7364         without it.
7365         (selectmenu): set the action to the type of selection mode
7366         requested.
7367         (display_menu_items): use the symbolic enumeration values for the
7368         action field.
7370         * app/plugin-manager.c: 
7371         * app/plugin-manager.h: 
7372         * app/filedlg.c:
7373         * app/filedlg.h: 
7374         * app/select.c:
7375         * app/select.h: change prototypes.
7377         * app/commands.c: update all callback prototypes, and get rid of
7378         some #ifdef GNOME's.
7380         * app/commands.h: change function prototypes.
7382         * app/dia_embedd.c (save_fn):
7383         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
7385         * app/menus.c (menus_init): for gnome menus, use
7386         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
7387         structure that proxies the callbacks to have the same signature as
7388         GtkItemFactory type 1 callbacks.
7389         (menus_init): for GTK menus, change from callback type 2 to type
7390         1.
7391         (display_menu_items): add back tearoffs.  I don't know who removed
7392         these for the gtk menu case.
7394 2001-02-20  Kevin Breit <battery841@mediaone.net>
7396         * doc/en/usage-objects-special.sgml: Fixed a few of the special
7397         object descriptions.  More to come in the next few days.
7399 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
7401         * app/render_eps.c: Fixed for internationalized floating point
7402         output. 
7404         * objects/UML/note.c: Fixed properties -- was missing
7405         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
7406         position. 
7408 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7410         * plug-ins/xfig/xfig-import.c: 
7411         File added importing xfig files.  Still very rough, but good
7412         enough to let others hack on it.
7414 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
7416         * app/interface.c:
7417         * app/linewidth_area.c:
7418         * lib/lazyprops.c:
7419         * lib/properties.c:
7420         * lib/widgets.c:
7421         * objects/ER/attribute.c:
7422         * objects/ER/entity.c:
7423         * objects/ER/relationship.c:
7424         * objects/custom/custom_object.c:
7425         * objects/flowchart/box.c:
7426         * objects/flowchart/diamond.c:
7427         * objects/flowchart/ellipse.c:
7428         * objects/flowchart/parallelogram.c:
7429         * objects/standard/box.c:
7430         * objects/standard/textobj.c: per Vlad Harchev's request, made
7431         page sizes of gtk_adjustments different than their step sizes.
7432         When sensible values of page size weren't found (overwhelming
7433         majority of cases), page sizes were set to 10.0 * respective step
7434         size.   
7436 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7438         * objects/network/hub.c: 
7439         Patch from Hubert Figuiere applied, adding connection points.
7441 2001-02-02  James Henstridge  <james@daa.com.au>
7443         * app/display.c (new_display): set update id to 0 here.
7444         (ddisplay_update_handler): rename from ddisplay_flush, and set
7445         update_id to 0 at end of processing.
7446         (ddisplay_flush): new implementation that simply sets an idle
7447         handler to perform the actual drawing.
7449         * app/display.h: add structure member to hold the redraw idle
7450         handler id.
7452 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7454         * objects/standard/ellipse.c (ellipse_copy): 
7455         * objects/standard/zigzagline.c (zigzagline_copy): 
7456         Fix of copying provided by Martin Hawlisch.
7458 2001-01-23  Kevin Breit <battery841@mediaone.net>
7460         * doc/en/graphics/: added directory
7462         * doc/en/graphics/greendots.png: added file
7464         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
7465         release.
7467 2001-01-23  Kevin Breit <battery841@mediaone.net>
7469         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
7470                         thanks to John Fleck!
7472 2001-01-21  Kevin Breit <battery841@mediaone.net>
7474         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
7476 2001-01-12  Michael Meeks  <michael@helixcode.com>
7478         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
7479         so our POA gets setup properly.
7481         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
7482         things we g_malloc.
7484         * configure.in: Use bonobox_print.
7486         * app/dia_embedd.c (embeddable_factory): add print interface.
7487         (object_print): impl.
7489 2001-01-11  Michael Meeks  <michael@helixcode.com>
7491         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
7492         (load_fn, save_fn): impl.
7493         (view_factory): hide modified status bar, & use activate fn.
7494         (refresh_view): force redraws of the views.
7495         (view_show_hide): split from
7496         (dia_view_activate): here.
7498         * app/diagram.c (diagram_load_into): split from diagram_load.
7499         (new_diagram): simplify bu splittin stuff into
7500         (diagram_init): here.
7502 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
7504         * shapes/jigsaw/*.shape: replaced #000000 with foreground
7505         and #ffffff with background
7506         
7507 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
7509         *configure.in: GTK+-build was broken due to missing
7510         have_bonobo=no
7511         
7512 2001-01-06  Michael Meeks  <michael@helixcode.com>
7514         * app/dia_embedd.c (main): add running context support.
7515         (dia_embeddable_destroy): remove old running object counting.
7516         (embeddable_factory): ditto.
7517         (view_factory): comment out menu path hiding.
7519         * lib/sheet.c (load_register_sheet): use free to free
7520         stuff from libxml not g_free.
7522         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
7524         * configure.in: remove USE_OAF checks, check for a precice
7525         Bonobo version >= 0.31, revamp bits.
7527         * app/dia_embedd.c (init_server_factory): upd.
7528         (init_dia_factory): remove OAF conditionals, everything uses
7529         oaf now.
7531         * app/GNOME_Dia.oafinfo: rename OAFIIDs
7533         * app/Makefile.am: remove ancient gnorba code.
7534         rename dia.oafinfo to GNOME_Dia.oafinfo
7536 2001-01-07  Hans Breuer <Hans@Breuer.Org>
7538         * config.h.win32
7539         * install.win32
7540         * readme.win32 : some more files required or useful to build 
7541         Dia on win32
7543         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
7544         fill_bezier implementation, boundary drawing in fill mode, etc.
7545         Next one complaining gets the source, uncommented ...
7547         * shapes/network/router-symbol.xpm 
7548         * shapes/network/switch-atm-symbol.xpm 
7549         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
7550         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
7551         the files as XPMs. Maybe the X versions of these functions are more
7552         tolerant ...
7554 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
7556         * plug-ins/python/Makefile.am: added libart path
7558         * plug-ins/python/python.c: added dirent.h
7560         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
7561         
7562 2001-01-06  Hans Breuer <Hans@Breuer.Org>
7564         * objects/uml/actor.c
7565         * objects/uml/branch.c
7566         * objects/uml/class.c
7567         * objects/uml/classicon.c
7568         * objects/uml/component.c
7569         * objects/uml/large_package.c
7570         * objects/uml/node.c
7571         * objects/uml/note.c
7572         * objects/uml/object.c
7573         * objects/uml/small_package.c
7574         * objects/uml/state.c
7575         * objects/uml/usecase.c : started to implement the generic property
7576         interface for the uml objects. Would appreciate some help on how
7577         to implement properties which are list of properties themselves,
7578         e.g. member functions and their parameters of UMLClass.
7580 2001-01-06  Hans Breuer <Hans@Breuer.Org>
7582         * plug-ins/python/diamodule.c : finally ported to win32.
7583         Added new objects and implemented register_export function.
7585         * plug-ins/python/pydia-object.h
7586         * plug-ins/python/pydia-display.c
7587         * plug-ins/python/pydia-handle.c
7588         PyObject_HEAD_INIT needs some tweakink on win32. Done in
7589         pydia-object.h; others files simply using it.
7591         * plug-ins/python/pydia-layer.c : reflect 
7592         layer_find_closest_connection(_)point renaming
7594         * plug-ins/python/pydia-object.c : add property properties.
7595         Also change bounding_box to DiaRectangle.
7597         * plug-ins/python/python.c : extended error reporting; use
7598         all *.py files from Dia's plug-in dir instead of hardcoded
7599         test.py. This sollution should be fine with Win32, but on
7600         Unix it may need some tweaking (dunno) ...
7602         * plug-ins/python/export-object.py
7603         * plug-ins/python/export-render.py : test and documentation 
7604         implementations for export filter implementations in Python
7606         * plug-ins/python/pydia-color.[hc]
7607         * plug-ins/python/pydia-diagramdata.[hc]
7608         * plug-ins/python/pydia-error.[hc]
7609         * plug-ins/python/pydia-export.[hc]
7610         * plug-ins/python/pydia-font.[hc]
7611         * plug-ins/python/pydia-geometry.[hc]
7612         * plug-ins/python/pydia-image.[hc]
7613         * plug-ins/python/pydia-properties.[hc]
7614         * plug-ins/python/pydia-property.c
7615         * plug-ins/python/pydia-render.c : new objects in new files 
7617         * plug-ins/python/makefile.am : added new files but can't test it
7619         * plug-ins/python/pydia.def
7620         * plug-ins/python/makefile.msc : for win32 build
7622         * plug-ins/cgm/cgm.c
7623         * plug-ins/dxf/dxf-import.c
7624         * plug-ins/dxf/dxf-export.c
7625         * plug-ins/hpgl/hpgl.c : reflect export API change
7627         * plug-ins/shape/shape-export.c : reflect export API change
7628         and check for libart (better the availibility of a png exporter) 
7629         at run-time instead of compile-time. 
7631 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
7633         * app/recent_files.h was missing from Hans's commit
7635         * plug-ins/shape/shape_export.c: shape export was broken
7636         due to interface changes
7637         
7638 2001-01-05  Hans Breuer <Hans@Breuer.Org>
7640         Applied Steffen's recent file list patch :
7641         * app/Makefile.am : added recent_files.[hc]
7642         * app/diagram.c : add files to recent file list
7643         * app/menus.c : add recent file menu
7644         * app/app_procs.c : changed initialization order to
7645         make recent file list work with command line processing.
7647         The Filter export()/import() functions have got an additional 
7648         parameter to allow multiple filters via one C callback (required
7649         for Python bindings)
7651         * app/commands.[hc] : corrected the signature for gtk menu callback
7652         functions, which actually use the second or third parameter. This
7653         is the absolute minimum change to make these functions/menu entries
7654         work again. Using the other possible gtk menu callback signature
7655         would have required one more function to change. (see mailing list
7656         thread "Objects/Align/Equal Distance" for more information.
7658         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
7659         zoom-combo focus patch
7661         * app/display.c
7662         * app/interface.c : wrapped the Zoom Combo code into 
7663         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
7664         improvement but cluttering the user interface. Also it wasn't
7665         compiling on Win32 anyway. The win32 version does define 
7666         WITHOUT_ZOOM_COMBO to keep the old look. 
7667         There are plans to use the statusbar to display size and placement
7668         of selected objects, whereas the Zoom Combo would need to get out
7669         of the way as well.
7671         Added "Save Changes?" to diagram close dialog. Hopefuly the
7672         Yes/No/Cancel option isn't too much windoze like. IHMO this is
7673         an useability improvement.
7675         * app/export_png.c
7676         * app/filedlg.c
7677         * app/load_save.c
7678         * app/layer_dialog.c
7679         * app/paginate_psprint.c
7680         * app/render_eps.c
7681         - reflect signature changing of filter->export function
7682         - replaced '/' with G_DIR_SEPARARTOR where appropriate
7684         * app/diaunitspinner.c
7685         * app/render_libart.c
7686         added misssing headers like <string.h>
7688         * app/object_ops.c : fixed copy&paste bug in dialog string
7690         * app/splash.c : gdk_widget_show_now () does not ensure actual
7691         drawing of the splash screen, at least not on win32. Reuse the
7692         previous implementation with gtk_main_iteration() again.
7694         * */makefile.msc : make use of the build module (available in
7695         gnome-cvs/build. Updated for other source changes
7697         * lib/filter.h : added an user_data pointer to <ex/im>port()
7698         function signature and Dia<Im/Ex>portFilter to allow different
7699         filters to reuse the same callback function
7701         * lib/font.c : #include <string.h>
7703         * lib/orth_conn.c 
7704         * lib/poly_conn.c 
7705         * lib/poly_shape.c 
7706         * lib/neworth_conn.c
7707         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
7709         * */*.def : export function definition files required by win32 build
7711         * objects/custom/custom.c : #include <string.h>
7713         * plug-ins/pstricks/render_pstricks.c
7714         * plug-ins/shape/shape_export.c
7715         * plug-ins/svg/render_svg.c
7716         reflect changes to filter export function signature
7718         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
7719         mostly work as expected
7720         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
7721         to build the wmf plug-in because on the one hand the GDI emulation 
7722         isn't finished and on the other hand it isn't required when building
7723         for win32. Is there anybody out there, who wants to save WMF on non
7724         windoze platforms ?
7726         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
7727         offset into account.
7729 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
7731         * app/Makefile.am: added missing plug-ins to run_dia.sh
7733         * lib/paper.c: added paper sizes A0, A1, A2
7735         * objects/UML/class.c
7736         objects/UML/class.h
7737         objects/UML/class_dialog.c: added support for colored UML
7738         classes
7739         
7740 2000-12-30  Kevin Breit <battery841@mediaone.net>
7742         * doc/en/usage-customization.sgml: added more content
7744 2000-12-24  Kevin Breit <battery841@mediaone.net>
7746         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
7747         <remy.viard@laposte.net>
7749 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
7751         * added limiting lines to Civil Engineering sheet,
7752         fixed vertical pump icon
7753         
7754 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
7756         * updated/additional Civil Engineering shapes: better icons,
7757         shapes use foreground/background colors now and are filled
7758         
7759 2000-12-03  Kevin Breit  <battery841@mediaone.net>
7761         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
7762         the selection <sect1>
7764 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
7766         * app/load_save.c (diagram_data_save): avoid using obsoleted
7767         libxml calls (only matters when compiling with libxml2)
7769 2000-11-25  James Henstridge  <james@daa.com.au>
7771         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
7772         handle the tool drops on the canvas.
7774         * app/interface.c (display_data_received_callback): do the check
7775         to make sure that the drag is from a local toolbox here as well.
7777         * app/interface.c (create_tools): unref the pixmap/mask after
7778         creating the GtkPixmap.
7779         (tool_setup_drag_source): function to set up a drag source for
7780         create object tool buttons.
7781         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
7782         (fill_sheet_wbox): same here.
7783         (create_display_shell): set up the display canvas as a drag
7784         destination.
7785         (display_drop_callback, display_data_received_callback): functions
7786         to handle drops of tool buttons.
7788         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
7789         does weird shit to the user_data pointer for a menu item.  Object
7790         alignment should work again now.
7792         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
7793         NULL, and mark this function static.
7794         (app_splash_init): use gtk_widget_show_now() instead of the
7795         gtk_main_iteration loop.
7796         (app_splash_init): connecting gtk_widget_destroy to the destroy
7797         signal of a widget seems pretty useless.
7799 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
7801         * doc/en/dia-manual.sgml:
7802                 Added sect1 for advanced object types.  Starting development
7803                 on that part.
7805 2000-11-18  Kevin Breit <battery841@mediaone.net>
7807         * doc/en/dia-manual.sgml:
7808                 Stupid spelling fixes.
7810 2000-11-18  Kevin Breit <battery841@mediaone.net>
7812         * doc/en/dia-manual.sgml:
7813                 Just some small changes I made.  Props to Greg LeBlanc on the
7814                 recommendations.
7816 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
7818         * app/display.c:
7819         (ddisplay_add_display_area): Clip input rectangle to
7820         the visible part of the display.
7821         (ddisplay_scroll): Optimization, don't scroll and
7822         redraw if moving to the same position as before.
7824         * app/render_libart.c (renderer_libart_copy_to_window):
7825         Removed sanity check. Now moved to ddisplay_add_display_area().
7827         * lib/diavar.h:
7828         Added return at end of file.
7829         
7830 2000-11-13 Kevin Breit <battery841@mypad.com>
7831         * doc/en/dia-manual.sgml
7832                 Commited manual changes from Henry House <hajhouse@houseag.com>
7834 2000-10-21 Hans Breuer <Hans@Breuer.Org>
7835         * lib/beziershape.c :
7836                 The previous code was accessing unowned memory due to IHMO
7837                 wrong index calculation. Now it appears to be fixed.
7838                 *Please Review!*
7840         * lib/makefile.msc
7841         * plug-ins/makefile.msc
7842         * objects/makefile.msc
7843         * app/makefile.msc: (new files)
7844                 Makefiles for Dia on Win32, Micro$oft VC only.
7846         * plug-ins/pstricks/render_pstricks.c
7847         * plug-ins/dxf/dxf-import.c
7848         * plug-ins/shape/shape-export.c
7849         * plug-ins/svg/render_svg.c
7850         * app/commands.c
7851         * app/filedlg.c
7852         * app/preferences.c
7853         * app/render_eps.c
7854         * lib/sheet.c
7855         * lib/plug-ins.c
7856         * objects/custom/custom.c
7857         * objects/standard/image.c
7858                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
7859                 where   appropriate, add missing prototypes like <string.h>
7861         * plug-ins/wmf/wmf_gdi.cpp
7862         * plug-ins/wmf/wmf_gdi.h:
7863                 start of wmf write functions for non Win32 platform. Not 
7864                 finished yet. The other way to get it working maybe to
7865                 link the plug-in against wine libs.
7866                 
7867         * plug-ins/wpg/wpg.c : add missing brace
7869         * app/load_save.c :
7870                 Handling for unknown objects at load time. Previously Dia
7871                 was crashing, if you try to load a file referencing objects
7872                 whiches plug-ins aren't installed/available. Now it spits out 
7873                 a warning and ignores the unknown objects.
7875         * app/interface.c
7876                 toolbox DND support for files like The Gimp does it.
7878         * app/main.c
7879         * app/app_procs.h
7880                 Simple splash screen support and usage.
7882         * app/app_procs.c
7883                 Splash screen, portability fixes, dont' g_error if there is
7884                 g_get_homedir return NULL. This may remove the one and only
7885                 FAQ for Win32.
7887         * app/menus.c :
7888                 Make it compile without ENABLE_NLS
7890         * app/render_libart.c :
7891                 Sanity check to avoid calling libart with wrong window coordinates.
7892                 They come from the update handler. Direct Gdk is dealing nicely
7893                 with coordinates out of range, libart does access un-owned memory
7894                 in this case, mostly causing crashes.
7896         * app/winmain.c: (new file) Export the Win32 Gui version of the
7897                 main function. This file is only required for Windoze.
7899         * app/splash.c: (new file) splash screen implementation
7901         * lib/color.h
7902         * lib/font.h
7903         * lib/diavar.h: (new file)
7904                 moved special variable export code to diavar.h, because it is
7905                 needed in color.h and font.h
7907         * lib/paper.c :
7908                 M$VC cann't export inlined functions. Quick hack to let it
7909                 link again. Probably the glib mechanics should be used here?
7911         * objects/UML/lifeline.c : initialize var before usage
7913         * objects/GRAFCET/step.c : removed unused var
7915 2000-10-14  James Henstridge  <james@daa.com.au>
7917         * app/render_gnomeprint.c (draw_image): change code so images
7918         don't get flipped when printing.
7920         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
7921         sure that the return value of
7922         gnome_print_context_new_with_paper_size is not NULL.
7924         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
7925         into a series of bezier segments.
7926         (fill_arc): similar code to handle filled arc segments.
7928 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
7930         * app/app_procs.c
7931         * app/commands.c
7932         * app/dia-props.c
7933         * app/diagram.c
7934         * app/diagram.h
7935         * app/disp_callbacks.c
7936         * app/display.c
7937         * app/linewidth_area.c
7938         * app/paginate_psprint.c
7939         * app/preferences.c
7940         * app/undo.c
7941         * app/font.c
7942         * app/message.c
7943         * app/neworth_conn.c
7944         * app/orth_conn.c
7945         * objects/standard/box.c: various small changes to get rid of 
7946         annoying warnings (eg faulty prototypes and unused variables)
7948         * app/disp_callbacks.c
7949         * app/cursor.h
7950         * app/magnify.c
7951         * app/magnify.h: update magnify tool icon when pressing/releasing
7952         shift. I will try to make something more general so that similar
7953         things can be used by other tools.
7955         * shapes/SDL/inout.shape
7956         * shapes/SDL/return.shape: fixed some typos
7958 2000-10-09  James Henstridge  <james@daa.com.au>
7960         * objects/custom/shape_info.c (parse_path): apply patch from
7961         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
7962         #25221
7964 2000-10-08  James Henstridge  <james@daa.com.au>
7966         * objects/standard/image.c (image_set_props): if the file could not
7967         be loaded, show the broken image icon.
7969         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
7971         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
7973         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
7974         object icon when loading from a file.  This allows you to have PNG
7975         icon files for shapes.
7977 2000-10-07  James Henstridge  <james@daa.com.au>
7979         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
7981         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
7982         GDK_IMLIB_CFLAGS reference.
7984         * app/commands.c (help_about_callback): remove imlib code.
7986         * lib/dia_image.c: only include the pixbuf version of the image
7987         routines.
7989         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
7991         * configure.in (CPPFLAGS): remove the check for imlib, as we now
7992         require gdk-pixbuf.
7994         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
7995         conditionally define \setfont as well.
7997 2000-10-05  James Henstridge  <james@daa.com.au>
7999         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
8000         preamble so that we define \setlinejoinmode and \setlinecaps
8001         commands conditionally on them being undefined.  This way, the
8002         pstricks output files should work without modification, and will
8003         support the commands when they are implemented in pstricks.
8005 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
8007         * dia.desktop: added hungarian translations to dia.desktop
8009 2000-10-04  James Henstridge  <james@daa.com.au>
8011         * sheets/UML.sheet: fix typo.
8013         * objects/custom/shape_info.c: use strtod instead of g_strtod.
8014         (parse_path): actually call setlocale around strtod calls.
8016         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
8017         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
8018         the g_strtod wrapper.
8020         * shapes/SDL/: add SDL shapes from Rubens Ramos
8021         <rubens_ramos@yahoo.com>
8023         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
8025         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
8027         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
8028         W. Michael Petullo <mike@flyn.org>.
8030         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
8031         from the 0.86 tarball) and jigsaw.sheet.
8033         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
8035         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
8037         * shapes/network/: add network-additional shapes here.
8039         * sheets/network.sheet: add the network-additional shapes from
8040         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
8041         sheet.
8043 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
8045         * configure.in: Updated ALL_LINGUAS
8047         * po/nl.po: Removed newline from translation
8049 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
8051         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
8052         logo filename generation. 
8054         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
8055         Avoiding "//dia_logo.png".
8057 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
8059         * app/filedlg.c: add include <sys/types.h> to
8060         remove warning. (OS/2)
8062 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
8064         * objects/chronogram/chronoline_event.c (reparse_clevent):
8065         the __checksum routine was simply bogus. Redone it in a slightly
8066         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
8068 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
8070         * app/create_object.c (create_object_button_press): 
8071         * app/modify_tool.c (click_select_object): 
8072         * lib/object.h: select renamed to selectf to prevent
8073         compiler problems with function select().  OS/2 version.
8075 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
8077         * po/de.po: Updated.
8079 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
8081         * dia.desktop: Added German translation
8082         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
8084 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
8086         * configure.in (ALL_LINGUAS): added "es"
8088 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8090         * app/magnify.c:
8091         * app/cursor.h:
8092         * app/cursor.c:
8093         * app/scroll_tool.c:
8094         Standardized cursor function get_cursor().  Magnify now has
8095         looking-glass cursor with + and -.
8097         * app/create_object.c (create_object_button_press): 
8098         Newly created connections now snap to connection points even when
8099         off the grid. 
8101 2000-08-17  Daniel Egger  <egger@suse.de>
8103         * app/menus.c: #ifdef'ed some code for the none GNOME
8104         case.
8105         * app/dia_embedd.c: Changed obvious hackery. Can anyone
8106         please have a look at the GNOME UI menu creation? The
8107         gnome-app-helper code is ages old and plainly broken!
8109 2000-08-15  Daniel Egger  <egger@suse.de>
8111         * app/commands.c:
8112         * app/commands.h:
8113         * app/diagram.c:
8114         * app/display.c:
8115         * app/menus.c:
8116         * app/select.c: First big patch to get the menus
8117         working again in the international version. Copied
8118         some code written by Sven and me from GIMP and
8119         thus implemented automatic tearoffmenu creation and
8120         proper translation. I also removed that pseudo
8121         radiomenu hack and cleaned up several translation
8122         hacks which have never really worked. All in all
8123         this is part I of the big menu patch. Enjoy and tell
8124         me if you detect any problems.
8126 2000-08-14  Daniel Egger  <egger@suse.de>
8128         * sheets/UML.sheet: Changed one German translation as
8129         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
8131 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
8133         * app/diapagelayout.c:
8134         * lib/diagramdata.c:
8135         * lib/diagramdata.h:
8136         * lib/Makefile.am:
8137         * lib/paper.c:
8138         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
8139         selecting paper size for a new diagram. TODO: Use libpaper if 
8140         available and use gnome_paper-stuff if using GNOME.
8142         * sheets/Electric.sheet: fixed typo.
8143         
8144 2000-08-08  James Henstridge  <james@daa.com.au>
8146         * po/README: added a readme file to tell translators to translate
8147         the .sheet files as well.
8149         * app/commands.c (help_about_callback): fix small bug where we tried
8150         to gdk_bitmap_unref() the mask for the about box image, even though
8151         it was NULL.  Now check for a NULL mask.
8153 2000-08-07  Daniel Egger  <egger@suse.de>
8155         * sheets/*.sheet: Added translations for the name
8156         in the toolbar tab. Brushed up some descriptions 
8157         and some translations a bit.
8159 2000-08-06  James Henstridge  <james@daa.com.au>
8161         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
8162         identifier and dtd url for SVG output.
8163         (new_svg_renderer): fix the output of the viewBox output.  The
8164         second two numbers are the width and height -- not the right
8165         and bottom sides of the box.
8167         * shapes/*/*.shape: update svg namespace URI.
8169         * objects/custom/shape_info.c (load_shape_info): change the
8170         namespace URI for custom shapes yet again to match the Candidate
8171         Recommedation.  It looks like this one will probably be the final
8172         one.
8174         * app/display.c (new_display): remove the code that sets ic and
8175         ic_attr members to NULL, as one of the previous function calls
8176         causes the display to be realised.  This means that the ic gets
8177         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
8178         this one.
8180 2000-08-06  James Henstridge  <james@daa.com.au>
8182         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
8184         * NEWS: fixed date in NEWS file, as I will release today.
8186         * README: updated the README a little.  Added note that Dia is now
8187         a GNU program.
8189         * dia.spec: fix up spec file.
8191         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
8193         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
8194         get heaps of warnings when you turn off debugging.
8195         Also made a few other warning fixes.
8197 2000-08-02  James Henstridge  <james@daa.com.au>
8199         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
8201         * configure.in: update version number.
8203 2000-08-01  James Henstridge  <james@daa.com.au>
8205         * app/commands.c (help_about_callback): add Hans to about dialog.
8207         * doc/shape.dtd: dtd for shape file format.
8209         * doc/custom-shapes: update doc file about creating custom shapes.
8211         * shapes/*/*.shape: change namespace URI for the SVG portion to the
8212         one for the latest draft.
8214         * shapes/*/*.shape: fix up rect definitions.
8216         * objects/custom/shape_info.c (load_shape_info): recognise newer
8217         namespace tag for SVG.
8218         (parse_svg_node): the rect element should take attributes x, y, width
8219         and height -- not x1,y1,x2,y2.
8221         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
8222         output to use the newest draft DTD.
8224         * plug-ins/svg/svg.c: initialisation code for plugin.
8226         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
8228         * plug-ins/svg/Makefile.am: makefile for svg plugin.
8230         * app/app_procs.c (internal_plugin_init): don't register the svg
8231         export filter here.
8233         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
8235 2000-07-31  James Henstridge  <james@daa.com.au>
8237         * objects/standard/textobj.c (textobj_get_defaults): 
8238         * objects/standard/polygon.c (polygon_get_defaults): 
8239         * objects/standard/image.c (image_get_defaults): 
8240         * objects/standard/ellipse.c (ellipse_get_defaults): 
8241         * objects/standard/box.c (box_get_defaults): 
8242         * objects/standard/beziergon.c (beziergon_get_defaults): 
8243         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
8244         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
8245         * objects/flowchart/diamond.c (diamond_get_defaults): 
8246         * objects/flowchart/box.c (box_get_defaults): 
8247         * objects/custom/custom_object.c (custom_get_defaults): 
8248         * objects/FS/flow.c (flow_get_defaults): 
8249         * objects/FS/flow-poly.c (flow_get_defaults): 
8250         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
8251         defaults widget.
8253         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
8254         widgets for various object types.
8255         (create_dialog): ref and sink the no_defaults_dialog.
8257         * app/preferences.c (prefs_create_dialog): change
8258         gtk_container_border_width call to gtk_container_set_border_width.
8260 2000-07-29  James Henstridge  <james@daa.com.au>
8262         * app/commands.c (view_aa_callback): show a warning dialog if
8263         you start AA mode.
8265         * app/interface.c (fill_sheet_menu): don't add a menu item for
8266         empty sheets.
8268 2000-07-26  James Henstridge  <james@daa.com.au>
8270         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
8272         * app/menus.c: remove edit grid menu item.
8274         * app/commands.[ch] (view_edit_grid_callback): removed.
8276         * app/display.c (new_display): don't initialise removed Grid members.
8278         * app/grid.c: remove unused functions.
8280         * app/grid.h: remove dialog related stuff from Grid structure.
8281         Remove prototypes for dialog functions.
8283         * app/menus.c: add to menus
8284         
8285         * app/commands.[ch] (view_diagram_properties_callback): new command
8286         for showing the diagram properties dialog.
8288         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
8289         the edit grid dialog.
8291 2000-07-25  James Henstridge  <james@daa.com.au>
8293         * app/grid.c (grid_x_update): 
8294         (grid_y_update): as the grid setting is stored with the diagram,
8295         update all displays when a change is made.
8297         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
8299         * app/create_object.c (create_object_button_press): 
8300         (create_object_motion): use new snap_to_grid signature.
8302         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
8303         and handle invisible grid lines.
8304         (snap_to_grid): use new grid settings.  Also changed signature to
8305         take a DDisplay rather than Grid pointer.
8306         (grid_show_dialog): get the defaults from the correct place.
8308         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
8310         * app/diagram.c (new_diagram): set the grid size defaults from the
8311         user preferences.
8313         * app/load_save.c (diagram_data_save): save grid and guide info to
8314         diagram file.
8315         (diagram_data_load): add guide and grid load support.
8317         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
8318         members.
8320         * lib/diagramdata.h: add members to DiagramData for grid and guide
8321         settings.
8323         * configure.in (BONOBO_LIBS): update configure scripts
8325         * app/dia.oafinfo: oafinfo file for dia embeddables.
8327         * app/dia_embedd.c: add OAF support.
8329 2000-07-24  James Henstridge  <james@daa.com.au>
8331         * plug-ins/wpg/Makefile.am: 
8332         * plug-ins/pstricks/Makefile.am: 
8333         * plug-ins/hpgl/Makefile.am: 
8334         * plug-ins/dxf/Makefile.am: same here.
8336         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
8337         the required libraries, and the link line was causing libtool not
8338         to build a shared library on some systems :(
8340         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
8341         be checking x, not n.
8343 2000-07-23  James Henstridge  <james@daa.com.au>
8345         * app/preferences.c (prefs_data): set the "reset tools after
8346         create" preference to true by default.  That seems to be what most
8347         people expect.
8349         * app/interface.c (create_sheets): instead of a notebook, use an
8350         option menu that updates the sheet tools.  The notebook tabs were
8351         getting a bit unwieldly, so the option menu should fix that.  This
8352         also reduces the number of widgets in the tools radio button
8353         group, which should make the UI a little more responsive.
8355 2000-07-19  Fatih Demir <kabalak@gmx.net>
8356         
8357         * configure.in: Added tr to ALL_LINGUAS.
8358                 [ Yeah, we're now having a Turkish translation,
8359                    too. ]
8360         
8361         * dia.desktop: Added the Turkish entries.
8363 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
8365         * doc/diagram.dtd: changed string-element so it conforms to the
8366         output from dia.
8368 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
8370         * configure.in: added chinese. 
8371         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
8373         * app/app_procs.c:
8374           app/load_save.c:
8375           app/render_svg.c:
8376           lib/dia_xml.c:
8377           lib/plug-ins.c:
8378           lib/sheet.c:
8379           objects/custom/shape_info.c: 
8380           shapes/Circuit/npn.shape:
8381           shapes/Circuit/pnp.shape:
8382           sheets/*.sheet: dia now works with libxml2.
8383         Libxml2 is a bit more picky when parsing xml and reported errors on all 
8384         sheet files because they use non ascii characters (added 
8385         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
8386         I commented out these.
8388 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
8390         * configure.in (ALL_LINGUAS): added Italian
8392 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
8394         * configure.in (ALL_LINGUAS): added Korean
8396 2000-06-25  James Henstridge  <james@daa.com.au>
8398         * objects/flowchart/parallelogram.c (pgram_create): use default font
8399         and add properties interface support.
8401         * objects/flowchart/ellipse.c (ellipse_create): use default font and
8402         add properties interface support.
8404         * objects/flowchart/diamond.c (diamond_create): use default font and
8405         add properties interface code.
8407         * objects/flowchart/box.c (box_create): use default font.
8409         * objects/custom/custom_object.c (custom_create): use default font
8410         here too.
8412         * objects/standard/textobj.c (textobj_create): update to use default
8413         font.
8415         * lib/attributes.c: add implementations.
8417         * lib/attributes.h (attributes_[gs]et_default_font): add function
8418         prototypes for setting/getting a default font.
8420 2000-06-24  James Henstridge  <james@daa.com.au>
8422         * app/paginate_gnomeprint.h: updated prototype.
8424         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
8425         diagram page settings.
8427         * objects/standard/beziergon.c (beziergon_copy): same here.
8429         * objects/standard/polygon.c (polygon_copy): copy the fill colour
8430         as well.
8432         * app/undo.h: 
8433         * app/tool.h (tool_options_dialog_show): 
8434         * app/scroll_tool.h (free_scroll_tool): 
8435         * app/render_svg.h: 
8436         * app/render_libart.h (renderer_libart_copy_to_window): 
8437         * app/render_gdk.h (renderer_gdk_copy_to_window): 
8438         * app/properties.h (properties_hide_if_shown): 
8439         * app/preferences.h (prefs_load): 
8440         * app/object_ops.h: 
8441         * app/modify_tool.h (free_modify_tool): 
8442         * app/magnify.h (free_magnify_tool): 
8443         * app/linewidth_area.h (linewidth_area_create): 
8444         * app/layer_dialog.h: 
8445         * app/handle_ops.h (handle_is_clicked): 
8446         * app/group.h: 
8447         * app/grid.h (grid_destroy_dialog): 
8448         * app/defaults.h (defaults_show): 
8449         * app/cut_n_paste.h (cnp_exist_stored_objects): 
8450         * app/create_object.h (free_create_object_tool): 
8451         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
8452         * app/commands.h: 
8453         * app/color_area.h (color_area_create): 
8454         * app/app_procs.h (app_is_embedded): remove extern keyword from
8455         function prototypes.
8457         * lib/text.h: 
8458         * lib/sheet.h (load_all_sheets): 
8459         * lib/render_store.h: 
8460         * lib/render_object.h (render_object_load): 
8461         * lib/polyshape.h (polyshape_closest_segment): 
8462         * lib/poly_conn.h (polyconn_closest_segment): 
8463         * lib/orth_conn.h: 
8464         * lib/object.h: 
8465         * lib/objchange.h (new_object_state_change): 
8466         * lib/neworth_conn.h (neworthconn_add_segment): 
8467         * lib/message.h (message_error): 
8468         * lib/lazyprops.h: 
8469         * lib/geometry.h: 
8470         * lib/font.h (font_descent): 
8471         * lib/focus.h (remove_focus): 
8472         * lib/element.h: 
8473         * lib/diagramdata.h: 
8474         * lib/dia_xml.h (data_add_composite): 
8475         * lib/dia_image.h: 
8476         * lib/connpoint_line.h: 
8477         * lib/connection.h (connection_move_handle): 
8478         * lib/color.h: 
8479         * lib/attributes.h (attributes_set_default_line_style): 
8480         * lib/arrows.h (arrow_draw): remove extern keyword from function
8481         definitions.  It is not required for functions.
8483         * plug-ins/dxf/Makefile.am (INCLUDES): 
8484         * plug-ins/pstricks/Makefile.am (INCLUDES): 
8485         * plug-ins/cgm/Makefile.am (INCLUDES): 
8486         * objects/SADT/Makefile.am (INCLUDES): 
8487         * objects/chronogram/Makefile.am (INCLUDES): 
8488         * objects/GRAFCET/Makefile.am (INCLUDES): 
8489         * objects/flowchart/Makefile.am (INCLUDES): 
8490         * objects/sybase/Makefile.am (INCLUDES): 
8491         * objects/FS/Makefile.am (INCLUDES): 
8492         * objects/standard/Makefile.am (INCLUDES): 
8493         * objects/network/Makefile.am (INCLUDES):
8494         * objects/UML/Makefile.am (INCLUDES): same here.
8496         * objects/ER/Makefile.am: changed inclusion of some macros to
8497         variables.
8499         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
8500         handle the plug in extension, rather than have all the #ifdef's in
8501         the code.
8503         * plug-ins/Makefile.am: add renderer.inc to dist.
8505         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
8507 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
8509         * lib/plug-ins.c: Handle OS/2 dll's too.
8511 2000-06-07  James Henstridge  <james@daa.com.au>
8513         * app/plugin-manager.c (get_plugin_manager): set some table
8514         packing options to make it look a little nicer.
8516         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
8517         makefiles for these plug-ins.
8519         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
8521         * configure.in: added hpgl and wpg directories to build.  Added
8522         note about whether gnome-print support was enabled, and noted that
8523         it is not recommended.
8525 2000-06-06  James Henstridge  <james@daa.com.au>
8527         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
8528         a little work, but I am checking them in so I don't lose them.
8530 2000-06-01  James Henstridge  <james@daa.com.au>
8532         * objects/standard/arc.c: added extra properties.
8534         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
8535         was using the wrong index into the handles array.  This gets corner
8536         type changing working correctly.
8538         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
8539         to properties code (no editing or loading yet though).  Also added
8540         support for point array manipulation through the offsets interfaces.
8542         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
8544         * app/interface.c (origin_button_press): changes so the origin
8545         button doesn't grab the pointer when we pop up the menu.
8547         * app/commands.c (help_about_callback): fix small memory leak in
8548         about box code.
8550         * app/menus.c (menus_init): fixed breakage I introduced in the non
8551         gnome menus when I was doing the menu changes.  The tearoffs work
8552         really nicely in plain gtk mode as well.
8554         * objects/standard/beziergon.c (beziergon_create): changed the
8555         returned handles to match the handle numbering changes.  Now
8556         segment addition and removal works correctly with undo!
8558         * lib/beziershape.c: various changes to the code.  Changed the
8559         numbering of handles, and fixed the segment removal code.
8561 2000-05-31  James Henstridge  <james@daa.com.au>
8563         * objects/standard/beziergon.c: remove connection point handling.
8564         There is still a bit of work to be done to get adding and removing
8565         of segments working correctly.
8567         * lib/beziershape.c: add connection point handling to beziershape.
8568         I set it for two connection points per segment.
8570 2000-05-30  James Henstridge  <james@daa.com.au>
8572         * objects/standard/polygon.c: don't do connectionpoint handling.
8574         * lib/polyshape.c: changed to handle connection points internally.
8575         Also, don't worry about connections to handles on polyshape, as
8576         all handles are non connectable.
8578 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
8580         * configure.in: Added finnish
8581         
8582 2000-05-30  James Henstridge  <james@daa.com.au>
8584         * sheets/*.sheet: translation updates to the .sheet files.
8586         * po/fr.po: updated po file from Christophe Merlet.
8588         * menus.h: removed prototypes for functions which have been removed.
8590 2000-05-29  James Henstridge  <james@daa.com.au>
8592         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
8593         item in the option menu when changing selected diagram.
8595         * app/dia_embedd.c (view_factory): fix up function to work with new
8596         menus API.
8598         * app/disp_callbacks.c (ddisplay_realize): remove call to
8599         display_set_active from here.
8600         (ddisplay_canvas_events): move call here.  This gets rid of all the
8601         warnings, as the renderer has been fully set up correctly at this
8602         point.
8604         * app/menus.c (menus_init): add the tearoff item to the start of the
8605         right click menu.
8607         * app/app_procs.c (create_user_dirs): we don't need to create the
8608         menus directory anymore.
8610         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
8611         necessary to update the menu state here, as it was done when the
8612         active display was set.
8614         * app/display.c (display_set_active): update the menu state when
8615         changing active displays.
8617         * app/interface.c (origin_button_press): set the display as active
8618         when a click is made on the menu button.
8620         * app/menus.c (menus_init): set up a quit function to save the accels
8621         at exit.
8622         Add tearoff items for the non GNOME menus, add accelerators for
8623         several GNOME menus.
8625         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
8626         menus_get_image_menu().
8628         * app/menus.c (menus_get_item_from_path): use display_menus here
8629         rather than ddisp->popup.
8631         * app/display.h: remove the popup member in the DDisplay structure.
8633         * app/interface.c: remove option of not using wrap box.
8634         (create_toolbox): change to always use menus_get_toolbox_menubar
8635         even when using gnome menus.
8636         (create_display_shell): use menus_get_image_menu to load accelerators
8637         only -- not the actual popup menu.
8639         * app/menus.c (menus_init): new function to create the menus.
8640         (menus_get_toolbox_menubar): use this function whether gnome is
8641         in use or not.  Changed to use menus_init.
8642         (menus_get_image_menu): same here.  Also, now this function always
8643         returns the same menu, rather than a new one each time.
8644         (menus_init): read a menurc file to load accelerators here.
8646 2000-05-28  James Henstridge  <james@daa.com.au>
8648         * app/display.c (ddisplay_really_destroy): unset active display if
8649         active display is destroyed.
8650         (ddisplay_active): simplify function to return active_display as set
8651         by display_set_active.  This allows using a pinned menu with any
8652         display -- not just the one it was popped up from.
8653         (display_set_active): notify the layer dialog of change of diagrams
8654         when active diagram changes.
8656         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
8657         on button and key presses.
8658         (ddisplay_realize): set active display on realize.
8660         * app/display.c (display_set_active): simple implementation of this
8661         function.
8663         * app/display.h (display_set_active): add prototype for setting
8664         the active display.
8666         * app/interface.c (create_display_shell): don't give focus to the
8667         menu button.
8669         * app/menus.c: fix up menus for Beziergon.
8671         * app/interface.c (create_display_shell): make the widget in the
8672         top left corner a button that can be used to pop up the right click
8673         menu, like in gimp and sketch.
8675         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
8676         the display menu.
8678         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
8679         add code to set corner types for beziergon.
8681         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
8682         setting code.
8683         (beziershape_move_handle): use the previous corner type for right
8684         controls.
8686         * app/interface.c (tool_data): add beziergon to toolbox.
8688         * objects/standard/standard.c (dia_plugin_init): initialise the new
8689         Beziergon object type.
8691         * objects/standard/beziergon.c: an object based on BezierShape.
8693         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
8695         * lib/beziershape.[ch]: new files implementing a bezier shape.
8697 2000-05-26  James Henstridge  <james@daa.com.au>
8699         * lib/text.c (text_key_event): handle multibyte inserts.
8700         (text_key_event): also add home and end keybindings.
8702         * app/interface.c (create_display_shell): connect handlers for
8703         focus_in_event, focus_out_event, realize and unrealize signals.
8705         * app/display.[ch] (new_display): initialise input context members.
8707         * app/disp_callbacks.[ch]: added XIM support here.
8709         * lib/font.c (suck_font): the black and white pixel values should be
8710         taken from a 1 bit colormap rather than the default colormap.
8712         Hans Breuer's Windows patches ...
8714         * lib/font.c: use Courier New for fixed width font on windows
8715         machines.
8717         * lib/dia_image.h: change to "struct _DiaImage".
8719         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
8721         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
8722         mouse button for object menu.  This will make two button mouse owners
8723         happier.
8725 2000-05-25  James Henstridge  <james@daa.com.au>
8727         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
8729         * app/app_procs.c (app_init): add extra NULL argument to call of
8730         diagram_load.
8732         * app/load_save.h: remove prototype.
8734         * app/load_save.c: remove diagram_data function here.
8736         * app/diagram.h: added prototype.
8738         * app/diagram.c (diagram_load): new function here, which uses import
8739         filters.
8741         * plug-ins/dxf/dxf.c: register the import filter as well.
8743         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
8744         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
8746         * objects/standard/line.c: add start_point and end_point properties
8747         to standard line object.
8749 2000-05-21  James Henstridge  <james@daa.com.au>
8751         * app/paginate_psprint.c: added missing include of locale.h.
8753         * objects/custom/custom_object.c (custom_draw): use fabs rather than
8754         abs for scaling factors.
8755         (custom_distance_from): same here.
8757         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
8759 2000-05-18  James Henstridge  <james@daa.com.au>
8761         * po/POTFILES.in: updated POTFILES.in.
8763         * dia.spec: incremented version number in spec file.
8765         * NEWS: added (lots of) news items for the 0.85 release.
8767         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
8768         the config file.
8770         * configure.in: updated version number here.
8772         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
8774 2000-05-17  James Henstridge  <james@daa.com.au>
8776         * app/app_procs.c (internal_plugin_init): register the native import
8777         filter.
8779         * app/load_save.c (diagram_data_load, diagram_load): split this
8780         function into two -- one that does all the work on the DiagramData
8781         structure, and the other that provides compatibility with the old
8782         function.
8783         (dia_import_filter): use diagram_data_load to define an import
8784         filter.
8786         * app/diagram.h (new_diagram): added const to prototype.
8788         * app/filedlg.c (file_open_callback): change to use new import filter
8789         code.
8791         * lib/filter.c: added import filter management functions.
8793         * lib/filter.h: added prototypes for import filter interface.
8795         * app/commands.c (help_about_callback): updated about dialog to
8796         contain a few more names.
8798 2000-05-16  James Henstridge  <james@daa.com.au>
8800         * configure.in (Configuration): added a status message to the end of
8801         the configure script to give the user some idea of what was
8802         configured.
8804         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
8806         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
8807         plugin.
8809         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
8810         filter for dia.
8812         * configure.in (AM_PATH_LIBART): use the check function provided
8813         with libart rather than our own code.  It is more reliable, and
8814         it only requires that people who build out of CVS have libart.m4
8815         installed (not necessarily all of libart).
8816         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
8818 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
8820         * dia.desktop: Added Swedish translation.
8822 2000-05-09  James Henstridge  <james@daa.com.au>
8824         * lib/dia_xml.c: you can't free a const pointer, so remove const
8825         from variable definitions.
8827         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
8828         initialised correctly.
8830         * app/render_svg.c (export_svg): set locale to C.
8832         * app/paginate_psprint.c (paginate_psprint): set locale to C.
8834         * app/render_eps.c (export_eps): set locale to C for EPS export.
8836         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
8837         (data_add_point): same here.
8838         (data_add_rectangle): same here.
8839         (data_real): use g_strtod to convert strings to real numbers, so that
8840         locales are taken into account.
8841         (data_point): same here.
8842         (data_rectangle): same here.
8844         * AUTHORS: added Henk and Jacek to authors file.
8846         Daniel Egger's code cleanups.
8848         * app/select.c (select_invert_callback): remove unused variable.
8850         * app/plugin-manager.c (get_plugin_manager): fix typo.
8852         * app/load_save.c (read_connections, write_objects): 
8853         (write_connections): made some functions static.
8855         * app/interface.c (toolbox_delete, toolbox_destroy): made some
8856         functions static.
8858         * app/filedlg.c (file_export_callback): remove unused variable.
8860         * app/app_procs.c: various warning fixes.
8862         Integrating Jacek Pliszka's pstricks export filter.
8864         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
8866         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
8867         renderer (with a few small modifications by me).
8869         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
8871         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
8873 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
8875         * configure.in:
8876         * sheets/Makefile.am:
8877         * shapes/Makefile.am:
8878         * shapes/Civil/Makefile.am:
8879         * sheets/civil.sheet:
8880         * shapes/Civil/*:
8881         Added civil/hydraulic/structural engineering objects from
8882         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
8883         
8884 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
8886         * objects/FS/flow-poly.c:
8887         * objects/FS/flow.c:
8888         Fix division by zero in point_normalize().
8889         Patch by David Thompson <dcthomp@mail.utexas.edu>
8891 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8893         * lib/arrows.c:
8894         * lib/bezier_conn.c:
8895         * lib/connpoint_line.c:
8896         Added checks for zero-length lines before calls to point_normalize.
8898 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8900         * app/preferences.c (prefs_data): Changed
8901         reversed_dragging_intersects to not make the dialog ridiculously
8902         wide.
8903         
8904 2000-04-22  James Henstridge  <james@daa.com.au>
8906         Hans's win32 patches:
8908         * app/export_png.c: include message.h
8909         * app/interface.c: include dia_dirs.h
8910         * app/linewidth_area.c: check for rint
8911         * app/main.c: include interface.h
8912         * app/paginate_psprint.c: remove unused variable.
8913         * app/preferences.c: include message.h
8914         * app/render_svg.c: include stdlib.h
8915         * app/select.c: include object_ops.h
8916         * lib/dia_dirs.c: miscelaneous fixes for win32.
8917         * lib/dia_image.c: include string.h
8918         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
8919         * lib/properties.c: include stdlib.h
8920         * lib/properties.h: define extra data for standard properties as
8921         static variables on win32 (to get around dynamic linker problems).
8922         * objects/standard/polygon.c: polygon_create_change missing return
8923         statement.
8925 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
8927         * configure.in (ALL_LINGUAS): added Catalan
8929 2000-04-18  James Henstridge  <james@daa.com.au>
8931         * objects/standard/bezier.c (bezierline_get_object_menu): add a
8932         separator to the object menu between the add/remove segment items
8933         and the corner type items.
8934         (bezierline_get_object_menu): add code to disable the menu item for
8935         the current corner type.  Really just a cosmetic change.
8937         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
8938         a NULL for the label or with no associated callback.
8940         * objects/standard/bezier.c (bezierline_menu_items): use the
8941         enumeration values rather than numeric values for the corner types.
8943         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
8944         structure, and add code to handle it.  Also, don't save the corner
8945         types inline in the bez_points node.  The way it is conditionally
8946         including the element just feels like it will break.
8948         * lib/geometry.h (BezPoint): removed the corner_type stuff from
8949         BezPoint.  The corner type stuff is a user interface level idea rather
8950         than something required by the renderer, so should be taken care of
8951         at the object level.
8953 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8955         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
8956         checks.  Weren't able to reproduce original bug, tough.
8958 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
8960         * sheets/Electric.sheet:
8961         * sheets/Contact.sheet:
8962         * sheets/Pneumatic.sheet:
8963         * sheets/Circuit.sheet: sprayed some <br/>'s around.
8964         (added a few French translations in the last file)
8965         
8966 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8968         * lib/geometry.h: 
8969         * lib/bezier_conn.h: 
8970         * objects/standard/bezier.c: 
8971         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
8972         bezier points.  Only one minor problem known:  Menus are active
8973         for endpoints minor handles.
8974         11:28: Save and load now works, too.
8975         (bezierconn_closest_major_handle): 12:03: New function to get the
8976         non-control point handle associated with the nearest control
8977         point.  
8978         Also fixed the menu activation problem, and made remove_segment
8979         not remove the endpoint.
8981 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
8983         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
8984         new API is in use.
8986 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
8988         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
8989         <sys/stat.h>.   OS/2 patch.
8991 2000-04-15  James Henstridge  <james@daa.com.au>
8993         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
8994         Thompson's patch that adds undo support to the function structure
8995         diagram objects.
8997 2000-04-14  James Henstridge  <james@daa.com.au>
8999         * objects/custom/custom_object.c (custom_distance_from): new
9000         implementation of distance algorithm that actually takes the
9001         display list into account when calculating the distance.  Much nicer
9002         than a simple bounding box.
9004 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
9006         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
9008 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
9010         * objects/standard/polygon.c: Start of polygons own changes (for
9011         connectionpoints).  Need to do seperate changes in polyshape, too,
9012         rather than reuse the bezier changes.
9014 2000-04-13  James Henstridge  <james@daa.com.au>
9016         * lib/dia_image.c (dia_image_draw): use the new enumeration values
9017         from after the gdk-pixbuf cleanup.
9019         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
9020         on for loop.  Last set of coefficients were not beeing calculated,
9021         which caused a bit of breakage.
9023         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
9024         functions in geometry.c for calculating the closest segment.
9025         (bezierconn_distance_from): use distance_bez_line_point to calculate
9026         the distance.
9028         * lib/geometry.c (distance_bez_line_point): new function to calculate
9029         the distance from an open bezier line to a point.
9030         (distance_bez_shape_point): new function to calculate the distance
9031         from a closed bezier shape.
9032         (distance_ellipse_point): new function to calculate the distance from
9033         a filled ellipse to a point.
9035         * lib/geometry.h (BezPoint): moved this structure here from render.h
9037 2000-04-12  James Henstridge  <james@daa.com.au>
9039         * lib/geometry.c (distance_bez_seg_point): new function to calculate
9040         the distance from a bezier segment.
9042         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
9043         to calculate the distance from the object.
9045         * lib/geometry.c (distance_polygon_point): function for calculating
9046         the distance from a polygon to a point.
9048 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
9050         * app/interface.c:
9051         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
9052         breaks can be inserted in the tool box. 
9054         * doc/sheet.dtd: updated the DTD
9055         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
9056         
9057 2000-04-12  James Henstridge  <james@daa.com.au>
9059         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
9060         macro if the dialog is a GtkDialog :(
9062 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
9064         * objects/standard/polygon.c: Connectionpoints now properly
9065         managed in a GList.  As far as I can tell, this will not dieturb
9066         the order (but I have the nagging doubt...)
9068         * lib/polyshape.c: No longer knows about connectionpoints.
9070 2000-04-11  James Henstridge  <james@daa.com.au>
9072         * app/Makefile.am: fix makefile for bonobo build.
9074         * configure.in: fix checks for bonobo.
9076         * app/menus.c: added entries for the plugin manager.
9078         * app/Makefile.am (dia_core_files): added plugin manager to files
9079         list.
9081         * app/plugin-manager.[ch]: the plugin manager dialog.
9083         * app/display.c (display_update_menu_state): set the antialiased
9084         menu entry to the correct value.
9086 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
9088         * objects/custom/custom_object.c: not all renderers like ellipses with
9089         negative dimensions. This could cause ellipses to disappear when using
9090         the flip_h and flip_v functions.
9092         * samples/grafcet.dia: fixed speling and correctness.
9093         
9094 2000-04-11  James Henstridge  <james@daa.com.au>
9096         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
9097         exposed the dia_plugin_load and dia_plugin_unload functions.
9099         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
9100         already created PluginInfo structure.
9102         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
9103         the pluginrc file.
9105         * lib/sheet.c: fix up call to dia_config_filename.
9107         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
9108         file.  This would save information such as which plugins not to
9109         load during startup.
9111 2000-04-09  James Henstridge  <james@daa.com.au>
9113         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
9115 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
9117         * lib/plug-ins.c (dia_register_plugins):
9118         Don't free the value returned from g_getenv.
9120 2000-04-09  Anders Carlsson  <andersca@gnu.org>
9122         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
9124         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
9126         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
9127         right to left, select objects that intersect the rubberbanding rectangle
9128         instead of selecting objects that are in the rectangle.
9130         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
9132         * lib/diagramdata.h: Likewise.
9135 2000-04-09  James Henstridge  <james@daa.com.au>
9137         * lib/plug-ins.[ch]: add copyright messages to files.
9139         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
9140         plugin interface.
9142         * objects/sybase/sybase.c (dia_plugin_init): 
9143         * objects/network/network.c (dia_plugin_init): 
9144         * objects/flowchart/flowchart.c (dia_plugin_init): 
9145         * objects/custom/custom.c (dia_plugin_init): 
9146         * objects/chronogram/chronogram.c (dia_plugin_init): 
9147         * objects/UML/uml.c (dia_plugin_init): 
9148         * objects/SADT/sadt.c (dia_plugin_init): 
9149         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
9150         * objects/FS/fs.c (dia_plugin_init): 
9151         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
9152         object libraries.
9154         * objects/standard/standard.c (dia_plugin_init): change over to new
9155         plugin interface.
9157         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
9158         the version checker for plugins.
9160         * app/app_procs.c: remove plugin loading code from here, and use
9161         code from plug-ins.[ch].  Also move registration of internal
9162         objects/filters to a `builtin' plugin.
9164         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
9166         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
9168         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
9169         defined variable in EXTRA_DIST.
9171         * app/preferences.h: removed dia_config_filename from header.
9173         * app/preferences.c: removed dia_config_filename function.
9175         * lib/dia_dirs.c (dia_config_filename): moved function over to this
9176         file.  Also changed implementation slightly so that it should work
9177         on the win32 port correctly (and use NT home directories).
9179         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
9180         it should have been.
9182         * lib/plug-ins.[ch]: new plugin loading code.
9184 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
9186         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
9188         * lib/polyshape.c: Fix closest segment finding, exposes deeper
9189         bugs in adding corners to 'wraparound' segment.
9191         * objects/standard/polygon.c: Added connection points (fixed so
9192         far), set menu sensitivity.
9194         * lib/polyshape.c: Changed to box-style handles, fixed for start
9195         and ends not being special, added initial connections,
9197         * lib/dummy_dep.h: Added polyshape (gotcha!)
9199         * objects/standard/pixmaps/ellipse.xpm: 
9200         * objects/standard/pixmaps/box.xpm: 
9201         Filled element pixmaps with white.
9203         * lib/polyshape.c: 
9204         * objects/standard/polygon.c: 
9205         * lib/polyshape.h: 
9206         * objects/standard/standard.c: 
9207         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
9208         * lib/Makefile.am (libdia_a_SOURCES): 
9209         * app/menus.c: 
9210         * app/interface.c (tool_data): 
9211         Added Standard/Polygon object and PolyShape lib object.  Still
9212         needs inside grab and connection points.
9214         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
9215         available. 
9217         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
9218         not wanted.
9220         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
9221         if (argv) outside ifdefs.
9223 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
9225         * objects/standard/image.c (image_set_props): 
9226         Aspect ratio is back in town.
9228         * app/Makefile.am (dia_LDADD): 
9229         * acconfig.h: 
9230         * configure.in: 
9231         Check for gdk_pixbuf (by default disabled, for now)
9233         * app/render_eps.c (draw_image): 
9234         * app/render_libart.c (draw_image): 
9235         * app/render_gnomeprint.c (draw_image): 
9236         Support for alpha mask in rendering.  Color postscript, too.
9238         * lib/dia_image.c: 
9239         * lib/dia_image.h: 
9240         Support for gdk_pixbuf and proper masking for exports.
9242 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
9244         * sheets/*.sheets: Updated Norwegian translations.
9245         
9246 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
9248         * lib/text.c (text_insert_char): 
9249         * lib/render_store.c (add_data): 
9250         Made realloc double the alloced space rather than add
9251         a fixed amount, to reduce memory stress.
9253         * app/select.c: Added new select method 'Transitive'
9254         that select every reachable (by connections) object.
9256 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
9258         * dia.desktop: Added Norwegian translation.
9259         
9260 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
9262         * app/render_eps.c:
9263         * app/render_svg.c:
9264         Don't dereference NULL pointer if the renderer
9265         couldn't open the file. Fix by Lars Clausen.
9266         Bug reported by Martin Chisholm <b1mt@unb.ca>
9267         
9268 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
9270         * dia.desktop:
9271         * po/pt.po:
9272         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
9274 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
9276         * app/dia.gnorba (location_info):
9277         Changed to correct executable name.
9279 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
9281         * app/app_procs.c:
9282         Don't do any argument parsing or initialization
9283         if argv==NULL.
9285         * app/dia_embedd.c:
9286         Call init_server_factroy before app_init.
9287         Call app_init with argv==NULL
9288         Now we don't get any critical error on startup.
9290         * configure.in:
9291         Add Electric and Pneumatic to makefile list.
9292         
9293 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
9295         * shapes/Electric/*:
9296         * sheets/Electric.sheet:
9297         Add some Electric circuit shapes.
9299         * shapes/Pneumatic/*:
9300         * sheets/Pneumatic.sheet:
9301         Add some Pneumatic & Hydraulic circuit shapes
9302         (both sheets are still incomplete, though feature enough 
9303         things for basic circuits).
9305         * shapes/Contact/l_*.(xpm|shape):
9306         * sheets/Contact.sheet
9307         * shapes/Contact/Makefile.am
9308         made the older electric circuit shapes in Contact obsolete (disabled
9309         them in the sheet, made that sheet Ladder only). Fixed the makefile
9310         for forgotten items.
9311         
9312 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
9314         * app/Makefile.am:
9315         Add support for Dia bonobo component.
9316         Currently a bit raw, so it's commented out.
9317         
9318         * app/dia_embedd.c:
9319         * app/dia.gnorba:
9320         New files for embedding dia.
9321         The menu disabling hack is a bit gross. Esp. for GNOME.
9323         * app/app_procs.h:
9324         Add new function app_is_embedded();
9326         * app/diagram.c:
9327         Don't destroy diagram when last display is destroyed if embedded.
9328         
9329         * app/display.c:
9330         Change initialization of display so it works with embedding.
9332         * app/display.h:
9333         Clarify comment about display destruction.
9335         * app/interface.[ch]:
9336         Added top_level_window argument to create_display_shell.
9337         Don't open a top-level window if embedding.
9338         Don't quit app if trying to close toolbox window when embedding.
9339         Add toolbox_show() and toolbox_hide().
9341         * app/main.c:
9342         Added app_is_embedded() function (just returns false).
9343         Added toolbox_show() call in main().
9345         * app/menus.c:
9346         Added code for getting toolbox menus. This is used to
9347         hide some menu items when running embedded.
9348         
9349         * app/app_procs.c:
9350         Include sheet.h to remove warning.
9352         * objects/UML/association.c:
9353         Clarify association direction text.
9354         
9355 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
9357         * dia.1
9358         Fixed man page so whatis parsing works.
9360 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
9362         * app/render_libart.c (new_libart_renderer):
9363         Fix from segg <segg@infonet.ca> to compile without libart.
9364         I forgot to change the stub for new_libart_renderer when doing
9365         the interactive renderer stuff for libart.
9367 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
9369         * dia.desktop: Added Irish translation.
9370         
9371         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
9373 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
9375         * app/load_save.c (fchmod): OS/2 defines only.
9377 2000-03-07  James Henstridge  <james@daa.com.au>
9379         * lib/properties.c (prop_get_widget): set the position in the option
9380         menu correctly.
9382 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
9384         * app/display.c:
9385         * app/export_png.c:
9386         * app/render_libart.[ch]:
9387         Don't export png:s with an interactive libart renderer.
9389 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
9391         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
9393 2000-03-02  James Henstridge  <james@daa.com.au>
9395         * dia.spec (%build): unset LINGUAS before running configure.  This
9396         ensures that all translations get included in the RPM.
9398         * lib/properties.c (object_create_props_dialog): put in a check for
9399         a NULL return from the describe_props() object method.
9400         (prop_desc_lists_union): make sure that the returned array is not
9401         NULL.
9402         (prop_desc_lists_intersection): same here.
9404 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
9406         * objects/ER/Makefile.am:
9407         * objects/FS/Makefile.am:
9408         * objects/UML/Makefile.am:
9409         Don't link object libs with gtk.
9411 2000-02-29  James Henstridge  <james@daa.com.au>
9413         * app/preferences.c (prefs_save): check to see if the file could
9414         be opened before writing the prefs.
9416         * app/disp_callbacks.c (popup_object_menu): pass the button event
9417         to gtk_menu_popup.  This allows you to click and release to open
9418         the object menu.
9419         (ddisplay_canvas_events): same here.
9420         (create_object_menu): set the object type menu item in the object
9421         menu to be insensitive.
9423         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
9424         as we are now requiring a new version of libxml.
9426         * dia.spec: updated version number.  Added requirement for
9427         libxml >= 1.8.5
9429         * configure.in: incremented version number to 0.84.
9430         Added check for libxml >= 1.8.5.  This will prevent some of the
9431         problems people have had with broken libxml versions.
9433         * NEWS: added news items.
9435         * app/interface.c (create_color_area): removed call to realize parent
9436         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
9437         but I haven't seen it on my copy of dia.
9439 2000-02-28  James Henstridge  <james@daa.com.au>
9441         * app/export_png.c: added copyright notice, and made the band height
9442         a constant.
9444 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
9446         * lib/font.c (suck_font):
9447         Fixed off-by one bug in font pixmap height.
9448         Fixes the problem with garbage at the bottom of some text in aa mode
9449         and in png exported files.
9451 2000-02-27  James Henstridge  <james@daa.com.au>
9453         * app/app_procs.c: add the png export filter if it was compiled in.
9455         * app/export_png.c (export_png): new PNG export filter.  This requires
9456         the libart renderer to work as it needs a renderer that renders to a
9457         pixel buffer.
9459         * configure.in: add check for libpng.
9461         * lib/message.c (message_internal): use a GNOME dialog here as well.
9463         * app/display.c (ddisplay_close): use a GNOME dialog here.
9465         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
9466         when exporting to EPS.  This is because some people said the EPS
9467         output was too large
9469 2000-02-26  James Henstridge  <james@daa.com.au>
9471         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
9472         window.
9474         * app/app_procs.c (app_exit): use a GNOME dialog here.
9476         * app/preferences.c (prefs_create_dialog): if GNOME support is
9477         enabled, show a GNOME dialog.
9479         * app/grid.c (grid_draw): use preferences when drawing page break
9480         lines.
9482         * app/preferences.c: add page break preferences to dialog.
9484         * app/preferences.h: added page break preferences.
9486 2000-02-25  James Henstridge  <james@daa.com.au>
9488         * sheets/UML.sheet: added new objects.
9490         * objects/UML/uml.c: link in the two new objects.
9492         * objects/UML/node.c: 
9493         * objects/UML/branch.c: new UML objects from Stfan Seefeld
9494         <seefelds@magellan.umontreal.ca>.
9496 2000-02-24  James Henstridge  <james@daa.com.au>
9498         * objects/custom/custom_object.c: converted to use the properties
9499         interface.  In the future, it would be nice to add support for
9500         defining custom properties for custom objects, but that can wait.
9502 2000-02-22  James Henstridge  <james@daa.com.au>
9504         * sheets/Circuit.sheet: added new circuit shapes to sheet.
9506         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
9507         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
9508         and adds a few new features.
9510 2000-02-21  Daniel Egger  <egger@suse.de>
9512         * sheets/*.sheets: Added German translations and made some
9513         corrections to the others.
9514         
9515 2000-02-21  James Henstridge  <james@daa.com.au>
9517         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
9519         * shapes/Circuit/...: added new shapes from Erik Janssens.
9521 2000-02-20  James Henstridge  <james@daa.com.au>
9523         * app/interface.c (create_color_area): realize the parent window
9524         first.
9526         * objects/standard/image.c: properties patch for standard image
9527         object, from Lars Clausen.
9529         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
9531         * lib/properties.h (PropType): added file property type.
9533         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
9534         other shapes.
9536         * app/interface.c: use wrap box for toolbox.
9538         * app/Makefile.am: added new files.
9540         * app/gtk*wrapbox.[ch]: added wrap box widget.
9542 2000-02-19  James Henstridge  <james@daa.com.au>
9544         * sheets/network.sheet: added extra shapes to networks sheet.
9546         * configure.in (AC_OUTPUT): added shapes/network/Makefile
9548         * shapes/network/*: added shapes that were posted to the list a while
9549         back.
9550         
9551         * shapes/Makefile.am (SUBDIRS): added network subdirectory
9553         * app/menus.c (toolbox_menu_items): don't right justify help menu for
9554         gtk+ version of menus.
9556         * app/properties.c (create_dialog): use a GnomeDialog if we happen
9557         to be using gnome.
9559 2000-02-18  James Henstridge  <james@daa.com.au>
9561         * objects/flowchart/box.c: set extra data for corner radius and text
9562         padding properties.
9564         * objects/standard/box.c: set extra data for corner radius property.
9566         * lib/properties.h: set extra data in some standard properties.
9568         * lib/properties.c (prop_get_widget): look at the extra data for
9569         int, real and enum property types.  They now use GtkSpinButton and
9570         GtkOptionMenu respectively.
9572         * lib/properties.h: extra data members for creating property setting
9573         widgets.
9575 2000-02-17  James Henstridge  <james@daa.com.au>
9577         * objects/flowchart/box.c: reverted load/save functions back to
9578         previous implementations.  Made box use standard property names.
9580         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
9582         * app/grid.c: add more digits to the grid edit dialog.  This patch
9583         was also from Lars Clausen.
9585         * objects/standard/zigzagline.c: 
9586         * objects/standard/textobj.c:
9587         * objects/standard/polyline.c:
9588         * objects/standard/line.c:
9589         * objects/standard/ellipse.c:
9590         * objects/standard/box.c: 
9591         * objects/standard/bezier.c: 
9592         * objects/standard/arc.c: patches to add properties code to standard
9593         objects.  Based on patches from Lars Clausen.  I have also removed
9594         some dead code from the files.
9596         * lib/properties.h (PROP_STD_*): define a number of standard
9597         properties.  Where appropriate, objects should include these
9598         properties in their PropDescription list.  This way, the intersection
9599         of properties of two different shapes will be greater.
9601 2000-02-14  James Henstridge  <james@daa.com.au>
9603         * objects/flowchart/box.c (box_load, box_save): use property save
9604         routines.  Make sure that any props not handled by object_load_props
9605         are loaded before calling object_load_props, or we get errors because
9606         update_data is called.
9608         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
9609         error that could cause properties to be loaded incorrectly.
9610         (object_set_props_from_offsets): similar here.
9612         * lib/properties.[ch] (prop_{load,save}): functions for loading
9613         or saving a property in Dia's XML file format.
9614         (object_{load,save}_props): load or save some properties of an
9615         object.  These functions should help simplify the load/save methods
9616         of objects that implement the properties interface.
9618 2000-02-13  James Henstridge  <james@daa.com.au>
9620         * objects/flowchart/box.c: use offset code to simplify property
9621         get/set routines.
9623         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
9624         properties.
9625         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
9627         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
9628         properties.
9629         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
9631         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
9632         functions 
9634 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
9636         * app/Makefile.am:
9637         Add the custom object to DIA_LIB_PATH in run_dia.sh
9639 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
9641         * sheets/Circuit.sheet:
9642         * shapes/l_sout* (NEW):
9643         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
9644         variants of simple, inverted, set and reset outputs.
9645         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
9646         probably a split of Contact and Ladder sheets. And then a major 
9647         revamping of the Contact sheet.
9649 2000-02-10  James Henstridge  <james@daa.com.au>
9651         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
9653         * app/app_procs.c (register_all_objects): don't explicitely
9654         register the custom objects library -- let it be loaded by the
9655         normal plugin loading methods.
9657         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
9659         * objects/custom/Makefile.am: build libcustom_objects as a shared
9660         library again.
9662         * objects/custom/shape_info.[ch]: don't read the description field
9663         of custom shapes.  It makes more sense to have these in the sheet
9664         file to localise the parts of dia that translators have to deal
9665         with.
9667         * objects/custom/custom_object.c (custom_object_new): do not
9668         create the sheet object for the new custom shape -- this is
9669         handled by the custom sheet code.
9671         * objects/custom/custom.c: change over to being a normal plug-in
9672         rather than being linked with the main dia executable.
9674 2000-02-09  James Henstridge  <james@daa.com.au>
9676         * sheets/Circuit.sheet: 
9677         * sheets/Flowchart.sheet: 
9678         * sheets/Contact.sheet: fixed up sheets.
9680         * objects/custom/custom_object.c (custom_object_new): set the
9681         extra ObjectType fields.
9683         * lib/sheet.c: use extra ObjectType fields when creating sheet
9684         objects.  Give a warning if <shape> tags are found in a sheet
9685         file.  Now the custom sheet code does not know about custom
9686         shapes -- they look like any other object type.
9688         * lib/object.h (ObjectType): added extra members
9690 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
9692         * app/linewidth_area.c:
9693         Added code to set arbitrary line width.
9694         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
9696 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
9698         * app/linewidth_area.c: 
9699         * lib/font.[ch]:
9700         Add support for font-sucking.
9701         Implementation borrowed from gnome-canvas.
9702         
9703         * app/render_libart.[ch]:
9704         Implement text rendering.
9706 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
9708         * app/properties.c (create_dialog):
9709         ref and sink no_properties_dialog.
9711 2000-02-07  James Henstridge  <james@daa.com.au>
9713         * app/group.c (group_describe_props): new function.  Return the
9714         intersection of the properties of the contained objects that
9715         implement the describe_props interface.
9716         (group_get_props): implement by iterating through contained objects
9717         and calling their get_props method until all properties have been
9718         set.  Maybe this should go through all objects all the time??
9719         (group_set_props): implement by calling set_props method on all
9720         contained objects.
9721         (group_ops): use standard props dialog creation routines.
9723         * lib/properties.c (prop_desc_lists_intersection): fix implementation
9724         of intersection -- I was using i++ instead of i-- in a for loop :(
9726         * objects/custom/custom.c (custom_register_objects): fix usage
9727         of dia_get_data_directory again.
9729         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
9730         actually read the sheets.
9732 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
9734         Win32 port by Hans Breuer <Hans@Breuer.org>
9736         * app/Makefile.am:
9737         Remove DATADIR and LIBDIR defines.
9739         * lib/Makefile.am:
9740         Add dia_dirs.c and dia_dirs.h
9741         Added DATADIR and LIBDIR defines.
9743         * lib/dia_dirs.[ch]:
9744         New files for handling special directories.
9746         * app/app_procs.c:
9747         * app/commands.c:
9748         * lib/sheet.c:
9749         * objects/custom/custom.c:
9750         Fix warnings.  Use directory functions.
9752         * app/diagram.h:
9753         Add prototype for diagram_redraw_all.
9755         * app/diaunitspinner.c:
9756         * app/filedlg.c:
9757         * app/interface.c:
9758         * app/preferences.c:
9759         Fix warning.
9761         * app/load_save.c:
9762         Win32 doesn't have mkstemp and fchmod.
9764         * app/paginate_psprint.c:
9765         Win32 calls popen _popen and pclose _pclose.
9766         
9767         * app/arrow.c:
9768         Win32 calls finite _finite.
9770         * lib/color.h:
9771         Win32 needs to dllexport the color vars.
9773         * objects/GRAFCET/step.c:
9774         * objects/chronogram/chronoref.c:
9775         snprintf -> g_snprintf
9777 2000-02-05  James Henstridge  <james@daa.com.au>
9779         * lib/properties.c: more fixes so that it doesn't crash when using
9780         properties.  The undo/redo stuff also works!!
9782         * objects/flowchart/box.c (box_{describe, get, set}_props): test
9783         object where I have implemented the new properties interface
9784         complete with automatic properties dialog generation.
9786         * lib/properties.c (object_apply_props): fixed stupid error when
9787         creating the old_props array.  Also, it no longer frees the props
9788         array -- you will have to do that yourself.
9790 2000-02-04  James Henstridge  <james@daa.com.au>
9792         * app/properties.c (properties_apply): pass object_part to
9793         apply_properties.
9795         * lib/object.h (ApplyPropertiesFunc): added widget argument.
9797         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
9798         created this way as well.
9800         * objects/*/*.c: ref and sink the properties dialog window for each
9801         widget.  It can't rely on ref count being incremented by
9802         properties_show anymore.
9804         * app/properties.c (properties_show): don't ref the widget before
9805         removing it, or its ref count will increase each time you open the
9806         properties dialog.  Don't unparent the widget, as container_remove
9807         does that for us.
9809         * lib/object.h: fixed up prototypes for new object methods.
9811         * lib/properties.[ch]: added functions for automatically creating
9812         a properties dialog from the output of describe_props, get_props and
9813         set_props.
9814         (object_apply_props): apply properties and return an ObjectChange
9815         structure that can be used for undo.
9817 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
9819         * objects/GRAFCET/transition.c: minor leak plugged.
9821         * sheets/GRAFCET.sheet:
9822         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
9823         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
9824         conditions.
9825         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
9826         new ones (for condition.c).
9827         * objects/GRAFCET/action.c: added connection points for the conditions.
9828         * samples/grafcet.dia: updated the sample to improve conformance to
9829         IEC 848 and take advantage of dia's new features.
9830         
9831         * lib/geometry.h: (point_get_normed) fixed a typo.
9833 2000-02-02  James Henstridge  <james@daa.com.au>
9835         * lib/object.h: added object functions describe_props, get_props and
9836         set_props.  Do type definitions so that object.h doesn't need to
9837         include properties.h, since properties.h includes object.h.
9839         * lib/properties.[ch]: more hacking.
9841         * po/de.po: updated po file.
9843 2000-01-30  James Henstridge  <james@daa.com.au>
9845         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
9846         check to see if the C compiler accepts the flag beforehand.
9848         * lib/properties.[ch]: start of properties code.
9850         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
9852 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
9853         
9854         * sheets/GRAFCET.sheet:
9855         * sheets/GRAFCET/etapemc.xpm: (NEW)
9856         * sheets/GRAFCET/etapesp.xpm: (NEW)
9857         * objects/GRAFCET/step.c: Added the macro and
9858         sub-program call step types.
9860         * objects/GRAFCET/receptivity.[ch]: renamed to 
9861         objects/GRAFCET/boolequation.[ch]. 
9862         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
9863         (BoolEquation *)
9865         * lib/connpoint_line.[ch]: 
9866         * objects/chronogram/chronoline.c:
9867         * objects/chronogram/chronoref.c:
9868         * objects/GRAFCET/vergent.c:
9869         * objects/standard/line.c:
9870         * objects/SADT/box.c: Minor CPL interface changes, factored out the
9871         point count adjustment code into the CPL object.
9872         
9873 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
9875         * app/render_libart.c:
9876         Added support for images and bezier curves.
9877         Only text/fonts missing now.
9879         * app/render_gdk.c:
9880         Removed old erronous comment.
9882 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
9884         * objects/chronogram/chronoline_event.c: removed references to
9885         lround(). Please don't insist, I'm already red of shame.
9886         
9887 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
9889         * app/render_libart.[ch]:
9890         * app/Makefile.am:
9891         Non-finished libart renderer.
9893         * acconfig.h:
9894         Added HAVE_LIBART flag
9896         * configure.in:
9897         Added libart probe
9899         * app/app_procs.c:
9900         Call gdk_rbg_init().
9902         * app/connectionpoint_ops.c:
9903         * app/disp_callbacks.c:
9904         * app/grid.c:
9905         * app/handle_ops.c:
9906         * app/magnify.c:
9907         * app/modify_tool.c:
9908         Change ddisp->renderer type from RendererGdk * to Renderer *
9909         Draw zoom and select rects in ddisp->canvas->window instead
9910         of ddisp->renderer->renderer->pixmap.
9912         * app/display.[ch]:
9913         Add aa_renderer to DDisplay, and  support for it.
9914         New function ddisplay_set_renderer() for changing renderer.
9915         Add ddisplay_transform_coords_double() function, used by aa renderer.
9916         Change ddisp->renderer type from RendererGdk * to Renderer *
9918         * app/menus.c:
9919         Add antialias to menu.
9920         
9921         * app/commands.[ch]:
9922         add view_aa_callback function
9923         Change ddisp->renderer type from RendererGdk * to Renderer *
9925         * lib/geometry.[ch]:
9926         Added IntRectangle and int_rectangle_union.
9928 2000-01-28  James Henstridge  <james@daa.com.au>
9930         * app/commands.h: removed prototypes.
9932         * app/commands.c: removed the functions that have been moved to
9933         filedlg.c.
9935         * app/filedlg.h: added new prototypes.
9937         * app/filedlg.c (file_open_callback): move open dialog to this
9938         file.  This implementation should remember the current directory
9939         between file loads.
9940         (file_save_as_callback): moved this dialog as well.
9941         (file_save_callback): moved this function here.
9943         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
9944         align page boundaries to the origin.
9946         * app/diagram.c (diagram_update_extents): redraw the diagram if the
9947         scaling factor changes while updating the extents.  This is so the
9948         page breaks get redrawn correctly.
9950         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
9951         applying changes.
9953         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
9954         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
9955         the corner of the bounding box.
9957         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
9958         into page setup dialog.
9959         (pagesetup_apply): apply new `fit to' attributes to the diagram.
9961         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
9962         (diagram_data_save): save `fit to' data.
9964         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
9965         (data_update_extents): when in `fit to' mode, update scale factor
9966         when we update the extents.
9968         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
9969         structure.
9971         * .../.cvsignore: added some cvsignore files to quieten cvs.
9972         
9973         * app/pagesetup.c (pagesetup_changed): added code to change the
9974         scaling/fit to values as you change the options in the page setup
9975         dialog.  I haven't added code so that the fit to options are saved
9976         though.
9978         * app/diapagelayout.[ch]: changed the scaling portion of the widget
9979         to make it easier to set a `fit to' style scaling factor.
9981 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
9982         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
9983         but connpoint_line-based, so that there's a connection point at the 
9984         middle of each segment. Currently only the SADT arrow uses this.
9986         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
9987         
9988 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
9989         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
9990         saving and editing of properties (and default properties). 
9991         See the new objects (GRAFCET, SADT, chonograms) for examples.
9992         For already too hairy stuff, see objects/chronogram/chronoline.c.
9994         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
9995         evenly spaced connection points, which the user can add or remove at
9996         will. An object can own several connection point lines. See the SADT
9997         Box, or the GRAFCET vergents for examples.
9999         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
10000         quiet about unused stuff.
10002         * objects/GRAFCET (NEW):
10003         * samples/grafcet.dia (NEW):
10004         Added support for GRAFCET charts. 
10006         * objects/chronogram (NEW):
10007         * samples/chronograms.dia (NEW):
10008         Added support for chronograms (feature requested by Ronald L. Chichest;
10009         I found I'd use it often, too).
10011         * objects/standard/line.c: Replace the middle connectionpoint by 
10012         a whole connection point line, which defaults to one point (hint, 
10013         hint). New Line object menu to take advantage of this. 
10014         "Bothwards" compatibility is preserved (although you may loose 
10015         connections if you load a newer file in a older dia).
10017         * app/lineprops_area.c:
10018         * lib/arrows.[ch]:
10019         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
10020         (feature requested by Benjamin Kahn).
10021         Merged in Steffen Macke's slashed arrow head type.
10023         * app/Makefile.am (app/run_dia.sh actually):
10024         Added $DEBUGGER in front of dia's invocation, so that
10025         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
10026         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
10027         "EFENCE=-lefence" to link with Electric Fence.
10029         * configure.in: Made gcc do more aggressive optimisations on i386, and
10030         enabled warnings.
10031         
10032 2000-01-24  James Henstridge  <james@daa.com.au>
10034         * lib/geometry.[ch]: added inline versions of functions.  Used
10035         glib's G_INLINE_FUNC stuff, so it should still work on systems
10036         without inline funcs.
10038         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
10039         it outputs the correct element id for the ellipse objects.
10041 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
10043         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
10044         object_add_handle_at. Message typo fixed.
10045         
10046         * lib/sheet.c (load_register_sheet):
10047         potential bug fixed (warning hunt).
10049         * objects/custom/custom.c (custom_object_load): disabled an assertion
10050         which made dia abort upon failure to load a shape file. Fixed a
10051         subsequent crash. 
10053         * objects/custom/shape_info.c (load_shape_info): Made the custom 
10054         shape load code ignore XML comments between <?xml ...?> and the 
10055         root object (mostly useful to put the emacs magic comments).
10056         
10057         * app/load_save.c: Made dia do backup copies of files when saving,
10058         and complain in case of failure.
10060 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
10062         * AUTHORS: fixed my address (ISP thought it was a great idea to change
10063         the domain name)
10064         
10065         * configure.in:
10066         * shapes/Contact:
10067         * shapes/Contact/*:
10068         * sheets/Contact.sheet:
10069         * sheets/Makefile.am:
10070         Added support for Contact and LADDER charts.
10072         * dia.desktop: Added a French translation.
10073         
10074 2000-01-23  James Henstridge  <james@daa.com.au>
10076         * app/commands.c (help_about_callback): don't die if can't load
10077         logo image.
10079         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
10080         out NaN's when performing bezier curve subdivision.
10082         * objects/custom/custom_object.c: initialise memory of Custom structs
10083         to zero.
10085         * app/render_svg.c (draw_image): added image support to the XML
10086         output filter.  The image is just referenced, rather than being
10087         included inline, so if you copy the SVG file somewhere else, you
10088         may need to move the images or fix up the links.
10090         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
10091         so the text is not just displayed in black all the time.
10093 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
10095         * configure.in: fixed libpopt test so we wont try to build with
10096         too old libpopt.
10098 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
10100         * configure.in: Added "uk" to ALL_LINGUAS.
10102 1999-12-24  James Henstridge  <james@daa.com.au>
10104         * po/ru.po: updated russian translation from Valek Filippov.
10105         
10106         * app/render_svg.c (new_svg_renderer): make output use 19991203
10107         version of SVG DTD.  Use viewBox to set the extents of the view.
10109         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
10110         ftp.gnome.org as the download.
10112         * TODO (TODO): weeded out completed todo items and added a few extra.
10114         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
10116         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
10117         be good to get rid of the object/shape distinction and separate
10118         the custom shape code out from the main application.
10120         * objects/custom/README, diagram.dtd: moved to new doc directory.
10121         Renamed the custom shapes README to custom-shapes.  Also updated
10122         custom shape docs a bit and removed the section on sheet files, as
10123         that has changed a bit.
10125         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
10126         of the image data is larger than the maximum cell array.  I should
10127         add code to break scan lines down further in this case, but for now
10128         an error message is better than an infinite loop.
10130         * app/filedlg.c (file_export_ok_callback): show a dialog if we
10131         couldn't determine the export filter to use.
10133         * app/commands.c (help_about_callback): fixed up about box logo
10134         expose bug.  Now just use a GtkPixmap widget rather than a
10135         GtkDrawingArea and calling gdk_imlib_paste_image.
10137         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
10138         because automake does not always get things right.
10140         * configure.in: updated version number to 0.83.
10142         * app/preferences.c (prefs_save): 
10143         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
10144         for fopen.  Text is the default file mode anyway.
10146         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
10147         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
10148         * app/load_save.c (write_objects, write_connections): 
10149         * app/filedlg.c (file_export_ok_callback): 
10150         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
10151         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
10152         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
10153         snprintf to calls to g_snprintf.
10155         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
10156         as the picture name.
10158 1999-12-23  James Henstridge  <james@daa.com.au>
10160         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
10161         negative numbers.  This fixes the upside down text problem I was
10162         having previously.
10163         (draw_image): implemented the image code.  It will try to split the
10164         image data up into bands if it is too big to fit into a single
10165         cgm cell array element.  It will have problems if you try to insert
10166         an image wider than about 10,000 pixels though.
10168         * Makefile.am: use gnomedatadir for the files that need to be
10169         installed in gnome's datadir.  This is mainly to help people doing
10170         packages for weird setups.
10172 1999-12-22  James Henstridge  <james@daa.com.au>
10174         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
10175         beziers are left to do.  The text seems to be the wrong way up
10176         still.  This is probably a problem with character orientation
10177         element, but I have used what the settings given in the standard.
10178         Other than this, the CGMs dia produces are readable (and displayable)
10179         by ralcgm and corel draw.
10180         (draw_string): subtract from the X coord rather than the Y coord for
10181         center and right aligned text.
10183         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
10184         the size of a real number, and changed name of write_double to
10185         write_real.  Consider changing to fixed real encoding.  Also, now
10186         all element headers are correct.  Once the real number encoding is
10187         fixed, only text, beziers and images are left to do.
10189 1999-12-21  James Henstridge  <james@daa.com.au>
10191         * Makefile.am (SUBDIRS): recurse into plug-ins.
10193         * configure.in: add plug-ins directory makefiles to list.
10195         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
10196         not done yet.  Also, the output files are not quite correct.
10198         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
10199         font.  It doesn't work if you do.
10201 1999-12-20  James Henstridge  <james@daa.com.au>
10203         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
10204         export the files.  Instead, use filter_guess_export_filter to
10205         guess the correct format to save in and use the appropriate filter.
10206         It defaults to postscript for compatibility.
10208         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
10209         function.
10211         * app/commands.[ch]: removed export to eps functions.
10213         * app/menus.c: removed export to eps menu items.
10215         * app/app_procs.c: register new export filters.
10217         * app/load_save.[ch]: define dia native export filter.
10219         * app/render_eps.[ch]: define eps export filter.
10221         * lib/filter.h: added diafilename argument to the DiaExportFunc
10222         prototype.  This is useful for putting the source of the diagram
10223         into the output file for instance.
10225         * app/app_procs.c (app_init): register the SVG export filter.  Have
10226         to get EPS code converted to this API, and maybe also allow saving in
10227         DIA's native format from the export dialog.  In fact, it is now
10228         possible to load an export filter from a shared library and it will
10229         integrate into the interface correctly.
10231         * app/menus.c: removed references to the SVG renderer.
10233         * app/commands.[ch]: removed svg stuff.
10235         * app/diagram.[ch]: removed diagram_export_to_svg function.
10237         * app/render_svg.[ch]: added a DiaExportFilter structure for this
10238         renderer.
10240         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
10241         probably move the open/save dialogs to this file as well.
10243 1999-12-19  James Henstridge  <james@daa.com.au>
10245         * lib/filter.[ch]: start of interface for generalised handling of
10246         filters.  I have only done code for export filters so far.  I still
10247         need to do the gui for this, and convert the current SVG and EPS
10248         filters to the new API.
10250         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
10251         weren't setting the last handle correctly.  It was actually assigning
10252         to the wrong position in the handles array, so the last handle was
10253         left as NULL, which caused the segfault.
10255         * objects/standard/image.c (image_copy): modified routine so that
10256         it just adds a reference to the DiaImage structure in the new image
10257         object.  This seems to have cleared up the problems with copying
10258         image objects.
10260         * dia.spec: spec file additions from John Gotts.
10262 1999-12-12  James Henstridge  <james@daa.com.au>
10264         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
10265         has not been released yet though.
10267         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
10269         
10270         The following based on a patch from Lars Clausen:
10271         
10272         * objects/standard/bezier.c (bezierline_move_handle): when performing
10273         the initial drag of the bezierline, move the control points to keep
10274         the line straight.
10276         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
10277         make the new control points a bit closer to the major point.
10279         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
10280         as the reason for the move.
10281         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
10282         move reason.
10284         * lib/handle.h: new handle move reasons.
10286 1999-12-09  James Henstridge  <james@daa.com.au>
10288         * dia.spec: include the new files in RPMs.
10290         * Makefile.am: install these new files.
10292         * dia.keys.in: file describing actions and icon for dia diagrams for
10293         use in the gnome file manager.
10294         
10295         * dia.mime: a file defining the application/x-dia-diagram mime type.
10296         
10297         * dia-diagram.png: an icon for dia diagrams.
10299 1999-12-08  James Henstridge  <james@daa.com.au>
10301         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
10303         * plug-ins/python/pydia-display.[ch]: wrapper for display.
10305         * objects/standard/ellipse.c: applied Lars's patch to optionally not
10306         draw the background of the ellipse.
10308         * app/load_save.c (read_connections): do some sanity checking on the
10309         handle and connection point numbers before performing the object
10310         connection.
10312         * lib/bezier_conn.c (bezierconn_load): give the correct number of
10313         handles when loading a BezierConn.
10315 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
10317         * sheets/*.sheet: Finished Norwegian translations.
10318         
10319 1999-12-07  James Henstridge  <james@daa.com.au>
10321         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
10322         (PyDia_GetObjectType): find object type function.
10324         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
10325         method for diagrams.
10327         * plug-ins/python/pydia-object.c: added methods for DiaObject and
10328         DiaObjectType.
10330         * AUTHORS: added Lars and Cyrille to the authors file.
10332         * objects/standard/bezier.c (bezierline_add_segment_callback): place
10333         new point correctly.
10335         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
10337         * lib/bezier_conn.c: applied Lars's patch for placement of the new
10338         point when adding a segment to a BezierConn.
10340 1999-12-06  James Henstridge  <james@daa.com.au>
10342         * plug-ins/python/test.py: test script for the python plug-in.
10344         * plug-ins/python/python.c: this file contains the plug-in startup
10345         code for the python plugin.  Right now, it just initialises the
10346         dia module and executes a script.
10348         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
10350         * objects/standard/bezier.c (bezierline_draw): draw control lines for
10351         bezier curve if we are using an interactive renderer (ie. only if
10352         displaying to the screen).
10354         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
10355         to draw control lines on to a bezier curve.  Based on implementation
10356         from Lars.
10358         * objects/standard/bezier.c (bezierline_delete_segment_callback):
10359         calculate segment number using closest_segment rather than
10360         closest_handle.  Sometimes the closest handle is part of a different
10361         segment.
10362         (bezierline_draw): use correct size for start arrow.
10364         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
10365         * lib/geometry.c (distance_line_point): added notes to documentation
10366         in comment.
10367         * app/object_ops.c (object_list_align_v): 
10368         (object_list_align_h): fix of by one error when calculating free space
10369         for equal distance alignment.
10370         * app/menus.c (objects_align_h, objects_align_v): include align
10371         adjacent menu items in the gnome version of the menus.
10372         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
10373         align adjacent menu items correctly.
10376         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
10377         table.
10379         * objects/standard/bezier.c: converted bezierline to use BezierConn.
10380         Still a few bugs.  It crashes on deleting line segments.
10382         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
10384 1999-12-05  James Henstridge  <james@daa.com.au>
10386         * lib/bezier_conn.[ch]: start of BezierConn object
10388         * app/interface.c: add bezierline to toolbox.
10390         * objects/standard/standard.c: initialise bezierline.
10392         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
10393         made a few modifications to get it working nicely.  It still needs
10394         a bit of work though.  Maybe create a BezierConn object in lib.
10396 1999-12-02  James Henstridge  <james@daa.com.au>
10398         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
10399         
10400         * plug-ins/python/Makefile.am: tried building everything.  It is
10401         building as a library at the moment.  I will have to convert it
10402         to a libtool library and add some initialisation code.
10403         
10404         * plug-ins/python/diamodule.c: start of the dia module, using the
10405         other object wrappers.  Not complete.
10407 1999-12-01  James Henstridge  <james@daa.com.au>
10409         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
10410         the handles and connections attributes.
10412         * plug-ins/python/pydia-layer.c: added functions that use
10413         ConnectionPoint's.
10415         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
10417         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
10419         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
10420         I am currently wrapping the basic elements in the diagram in python
10421         objects -- nothing to see or play with yet.
10423 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
10425         * AUTHORS:
10426         * HACKING:
10427         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
10429 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
10431         * configure.in:
10432         * po/ru.po:
10433         Added russian translation from Valek Filippov <frob@df.ru>
10435 1999-11-24  James Henstridge  <james@daa.com.au>
10437         * sheets/UML/*: 
10438         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
10439         discussed with Alex.  Also added extra makefiles so that make install
10440         works correctly.
10442 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
10444         * app/preferences.[ch]:
10445         * app/display.c:
10446         Added snap to grid preference.
10447         Patch from Michael Leslie <mles@springboardwireless.com>
10449 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
10451         * app/load_save.c:
10452         * lib/dia_xml.c:
10453         * lib/sheet.c:
10454         * lib/text.c:
10455         * objects/custom/shape_info.c:
10456         All strings returned by libxml must be freed with free, not
10457         g_free, or there will be problems if you use memory debugging
10458         in glib.
10459         
10460 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
10462         * app/create_object.[ch]:
10463         * app/menus.c:
10464         * app/tool.[ch]:
10465         * app/commands.[ch]:
10466         * app/pixmaps.h:
10467         * app/interface.[ch]:
10468         Reverted the tool menu patch. It has some 'issues'.
10469         I liked it though, so it'll probably return.
10471 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
10473         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
10474         <bruce@cybersight.com> for some purify runs and analysis.
10475         Also a great thank you to Owen Taylor for creating MemProf, a
10476         free memory leak detector that was used to find and verify a
10477         lot of these fixes.
10478         
10479         * app/diagram.c:
10480         * app/paginate_psprint.c:
10481         * app/render_eps.[ch]:
10482         * app/render_svg.[ch]:
10483         Free renderers.
10485         * app/interface.c:
10486         Don't add a reference to ddisp->shell. Why was this done in
10487         the first place?
10489         * app/load_save.c:
10490         * lib/dia_xml.c:
10491         * lib/sheet.c:
10492         * lib/text.c:
10493         Free all strings returned from xmlGetProp
10495         * app/modify_tool.c:
10496         Plug leak.
10498         * objects/custom/custom.c:
10499         Use closedir() after opendir().
10501         * objects/custom/shape_info.c:
10502         User g_free() instead of "if (tmp) free(tmp)".
10504         * sheets/ER.sheet:
10505         Add newline at end of file.
10506         
10508 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
10510         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
10511         Adds tool menu and keyboard shortcuts.
10513         * app/create_object.[ch]:
10514         Use tool_set() instead of tool_reset().
10515         create_create_object_tool() takes extra type argument
10517         * menus.c:
10518         Add tools menu.
10519         
10520         * tool.[ch]:
10521         Moved tool_data here, export it.
10522         Add separate tool type for all create objects tools.
10523         new functions tool_set().
10525         * commands.[ch]:
10526         New callback tool_set_callback.
10528         * pixmaps.h:
10529         Moved some pixmaps to interface.c.
10530         
10531         * interface.[ch]:
10532         Remove tool_data array (moved to tool.c).
10533         Use the tool_data from tool.c.
10534         Remove modify_tool_button global var.
10535         
10536 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
10538         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
10539         
10540         * app/app_procs.c:
10541         Interprets command-line arguments as files to open even when
10542         HAVE_POPT is not defined.
10544         * app/magnify.c:        
10545         Shift-clicking when zooming zooms out, like the Gimp.
10547         * app/menus.c:
10548         Has hotkeys for zoom-100% and snap-to-grid.
10550 1999-11-17  James Henstridge  <james@daa.com.au>
10552         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
10553         that it is not jumpy.
10555         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
10557         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
10558         scrolling by pressing the shift key when using the scroll tool.
10560         * sheets/Makefile.am: fixed makefile so that install actually works
10561         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
10562         don't exist.
10563         (SHEETS): install Circuit.sheet
10565 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
10566         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
10568         * sheets/Circuit.sheet:
10569         * sheets/ER.sheet:
10570         * sheets/FS.sheet:
10571         * sheets/Flowchart.sheet:
10572         * sheets/UML.sheet:
10573         * sheets/network.sheet:
10574         * sheets/sybase.sheet:
10575         Changed name space
10577         * sheets/Circuit.sheet:
10578         added some missing French translations
10580         * lib/sheet.c:
10581         killed the temporary sheet namespace
10583         * objects/custom/custom.c:
10584         obsolete comment cleaned up
10586 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
10588         * configure.in:
10589         * po/pt.po:
10590         Added portugese translation from Pedro Morais
10591         <pmmm@rnl.ist.utl.pt>
10593 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
10595         Changed all sheets to be specified in xml.
10596         All sheet objects removed from the C code.
10597         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
10598         
10599         * Makefile.am:
10600         * configure.in:
10601         Adding shapes dir.
10602         Updated version to 0.81cvs.
10603         
10604         * app/Makefile.am:
10605         Update run_dia.sh with sheet-dir.
10606         
10607         * app/app_procs.c:
10608         Load all sheets on startup.
10609         Create sheet directory first time.
10610         Don't call custom_register_sheets().
10612         * lib/Makefile.am:
10613         Add sheetdir define
10615         * lib/custom.h:
10616         Remove custom_register_sheets().
10618         * lib/sheet.[ch]:
10619         Add sheet loading code.
10621         * sheet/Circuit.sheet:
10622         * sheet/ER.sheet:
10623         * sheet/FS.sheet:
10624         * sheet/Flowchart.sheet:
10625         * sheet/UML.sheet:
10626         * sheet/network.sheet:
10627         * sheet/sybase.sheet:
10628         Added sheet files.
10630         * sheet/ER/weakentity.xpm:
10631         * sheet/UML/aggregation.xpm
10632         * sheet/UML/umlclass_template.xpm
10633         Added sheet pixmaps.
10634         These are moved from their old places.
10636         * sheet/.cvsignore:
10637         Shut up cvs.
10639         * objects/*/*.c:
10640         Removed sheet objects and sheet registration.
10641         
10642         * objects/ER/Makefile.am:
10643         * objects/ER/pixmaps/weakentity.xpm:
10644         * objects/UML/Makefile.am:
10645         * objects/UML/pixmaps/aggregation.xpm:
10646         * objects/UML/pixmaps/umlclass_template.xpm:
10647         Removed alternative pixmaps. (Moved to sheet).
10649         * objects/custom/Makefile.am:
10650         * objects/custom/load_sheet.[ch]:
10651         Removed old sheet loading code.
10652         
10653         * objects/custom/custom.c:
10654         Load all shapes instead of sheets.
10655         Removed custom_register_sheets().
10657         * objects/custom/custom_object.c:
10658         Added debug code.
10660         * objects/custom/shape_info.[ch]:
10661         Added shape_info_getbyname().
10663         * objects/flowchart/Makefile.am:
10664         * objects/flowchart/collate.shape            
10665         * objects/flowchart/delay.shape              
10666         * objects/flowchart/display.shape            
10667         * objects/flowchart/document.shape           
10668         * objects/flowchart/extract.shape            
10669         * objects/flowchart/flowchart.c              
10670         * objects/flowchart/intstorage.shape         
10671         * objects/flowchart/magdisk.shape            
10672         * objects/flowchart/magdrum.shape            
10673         * objects/flowchart/magtape.shape            
10674         * objects/flowchart/manualinput.shape        
10675         * objects/flowchart/manualop.shape           
10676         * objects/flowchart/merge.shape              
10677         * objects/flowchart/offlinestore.shape       
10678         * objects/flowchart/offpageconn.shape        
10679         * objects/flowchart/or.shape                 
10680         * objects/flowchart/predefdproc.shape        
10681         * objects/flowchart/preparation.shape        
10682         * objects/flowchart/punchedcard.shape        
10683         * objects/flowchart/punchedtape.shape        
10684         * objects/flowchart/sort.shape               
10685         * objects/flowchart/sumjunction.shape        
10686         * objects/flowchart/terminal.shape           
10687         * objects/flowchart/transaction.shape        
10688         * objects/flowchart/transmittape.shape       
10689         * objects/flowchart/pixmaps/collate.xpm      
10690         * objects/flowchart/pixmaps/delay.xpm        
10691         * objects/flowchart/pixmaps/display.xpm      
10692         * objects/flowchart/pixmaps/document.xpm     
10693         * objects/flowchart/pixmaps/extract.xpm      
10694         * objects/flowchart/pixmaps/intstorage.xpm   
10695         * objects/flowchart/pixmaps/magdisk.xpm      
10696         * objects/flowchart/pixmaps/magdrum.xpm      
10697         * objects/flowchart/pixmaps/magtape.xpm      
10698         * objects/flowchart/pixmaps/manualinput.xpm  
10699         * objects/flowchart/pixmaps/manualop.xpm     
10700         * objects/flowchart/pixmaps/merge.xpm        
10701         * objects/flowchart/pixmaps/offlinestore.xpm 
10702         * objects/flowchart/pixmaps/offpageconn.xpm  
10703         * objects/flowchart/pixmaps/or.xpm           
10704         * objects/flowchart/pixmaps/predefdproc.xpm  
10705         * objects/flowchart/pixmaps/preparation.xpm  
10706         * objects/flowchart/pixmaps/punchedcard.xpm  
10707         * objects/flowchart/pixmaps/punchedtape.xpm  
10708         * objects/flowchart/pixmaps/sort.xpm         
10709         * objects/flowchart/pixmaps/sumjunction.xpm  
10710         * objects/flowchart/pixmaps/terminal.xpm     
10711         * objects/flowchart/pixmaps/transaction.xpm  
10712         * objects/flowchart/pixmaps/transmittape.xpm 
10713         Moved shapes and their pixmaps to shapes/flowchart
10715         * shapes/Circuit/Makefile.am:
10716         * shapes/Circuit/index.sheet:
10717         Removed index.sheet.
10718         
10719         * shapes/Makefile.am:
10720         * shapes/flowchart/Makefile.am:
10721         * shapes/flowchart/*.shape:
10722         * shapes/flowchart/*.xpm:
10723         Added flowchart shapes. (Moved from objects/flowchart)
10724         
10726 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
10728         * app/app_procs.c: Fixed popt stuff.
10730 1999-11-01  James Henstridge  <james@daa.com.au>
10732         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
10733         Andreas Scherf.
10735 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
10737         * dia.spec:
10738         * configure.in:
10739         Update version to 0.81.
10740         
10741         * NEWS:
10742         Update with news for 0.81.
10743         
10744         * shapes/Circuit/*:
10745         * shapes/Circuit_eu/*:
10746         Moved european circuit objects to Circuit sheet.
10748 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
10749         
10750         * lib/diagramdata.[ch]:
10751         Added layer_set_object_list() function.
10753         * app/undo.[ch]:
10754         Added support for undo of reordered objects.
10755         Fix the undo of delete to keep the right order on undo.
10756         
10757         * app/diagram.c:
10758         changed loop to object_add_updates_list() calls.
10759         Added undo support to bring to front/back.
10761         * app/disp_callbacks.c:
10762         * app/paginate_psprint.c:
10763         Remove warnings.
10765 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
10767         This plugs some leaks. Thanks to
10768         Bruce Mitchener <bruce@cybersight.com> for running
10769         Dia through purify for me.
10770         
10771         * app/app_procs.c:
10772         Free displays and diagrams on exit.
10774         * app/modify_tool.c:
10775         Free gc when freeing tool.
10777         * lib/diagramdata.c:
10778         Free layer name.
10779         
10780         * app/display.c:
10781         Free update and display lists when destroying display.
10782         
10783         * lib/diagramdata.c:
10784         Don't leak layer name.
10786         * objects/custom/load_sheet.c: 
10787         * objects/custom/shape_info.c:
10788         Free loaded xml documents.
10790 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
10792         * app/commands.c:
10793         * app/object_ops.[ch]:
10794         Add undo handling to alignment ops.
10795         Based partially on patch by Dan Cohn <dan@internap.com>.
10797         * objects/standard/image.c (image_move_handle):
10798         Don't divide by zero for small images.
10799         Patch by Dan Cohn <dan@internap.com>.
10801         * objects/UML/class.c (umlclass_destroy): 
10802         * objects/custom/custom_object.c (custom_destroy):
10803         Don't free connectionpoints before calling element_destroy
10804         which unconnects them.
10806 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
10808         * objects/custom/custom_object.c: 
10809         Load and save padding too. Fixes strange load crashes.
10811         * app/group.c (group_destroy):
10812         Don't unconnect already freed connectionpoints when
10813         destroying group. Probably fixes bug reported by
10814         Elliot Lee <sopwith@redhat.com>.
10816         * app/render_gdk.c:
10817         Don't crash on zero-size (broken) bezier curves.
10818         Different sort of fix. This should work on closed bezier curves
10819         too.
10821         * objects/standard/textobj.c:
10822         Activate default properties dialog for Text objects.
10824         * app/render_eps.c: 
10825         * app/load_save.c:
10826         * app/preferences.c:
10827         * app/render_svg.c:
10828         fopen files in binary or text mode.
10830 1999-10-26  Alexander Larsson  <alex@cendio.se>
10832         * app/render_gdk.c (bezier_add_lines):
10833         Don't crash on zero-size (broken) bezier curves.
10834         Fixes a crashing bug.
10836 1999-10-25  James Henstridge  <james@daa.com.au>
10838         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
10839         before it is installed.
10841         * objects/flowchart/flowchart.c: use relative paths to find shapes.
10843         * objects/custom/custom.c (custom_object_load): take file names
10844         relative to $(pkgdatadir)/shape-internal, and check an environment
10845         variable for an alternative directory.
10847         * app/...: added copyright messages to the top of my new code.
10849         * app/paginate_psprint.c: some general clean ups.  Also, give an error
10850         dialog if we can't open the command or output file for writing.
10852         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
10853         function so it would set orientation to landscape correctly.
10855         * app/paginate_psprint.c: use the paper settings that come with
10856         the diagram.  Also implemented landscape printing.
10858         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
10859         in PS header.
10861         * app/commands.[ch] (file_pagesetup_callback): added callback for
10862         the page setup dialog.
10864         * app/menus.c: added page setup menu item.
10866         * app/pagesetup.[ch]: implementation of the page setup dialog.
10868         * app/diapagelayout.[ch]: added accessors for the scaling factor.
10869         
10870         * app/load_save.c (diagram_load): load paper information from save
10871         file.
10872         (diagram_save): save the paper info.
10874         * lib/diagramdata.c (new_diagram_data): initialise paper info section
10875         of DiagramData structure.
10876         (diagram_data_destroy): free the paper name.
10878         * lib/diagramdata.h: added a paper member to the DiagramData structure
10879         that holds the page layout info for a diagram.
10881 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
10883         * objects/flowchart/box.c:
10884         * objects/flowchart/ellipse.c:
10885         * objects/flowchart/diamond.c:
10886         * objects/flowchart/parallelogram.c:
10887         Load and save padding too. Fixes strange load crashes.
10889 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
10891         * app/app_procs.c (name_is_lib):
10892         .dll, .sl and .so.0.0.0 are also libraries.
10894 1999-10-20  James Henstridge  <james@daa.com.au>
10896         * configure.in: added extra makefile.
10897         
10898         * shapes/Circuit_eu/*: a new set of european circuit shapes from
10899         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
10900         (added fuses to makefile, fill the area of some of the components).
10902 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
10904         * lib/Makefile.am:
10905         * app/Makefile.am: 
10906         Add GDK_IMLIB_CFLAGS to includes.
10907         Changed --export-dynamic to -export-dynamic
10909         * lib/widgets.c:
10910         * objects/UML/message.c:
10911         Removed c++ comment.
10913         * lib/render_store.[ch]:
10914         Don't use empty structure. That is not Ansi C.
10916 1999-10-19  James Henstridge  <james@daa.com.au>
10918         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
10919         the margin entries, as they allow interpretation of units.
10920         (paper_size_change): display the current page dimensions.
10922         * app/diaunitspinner.[ch]: a widget derived from the standard
10923         GtkSpinButton that tries to take units into account.  So if you enter
10924         "1in" into the entry, it will convert it to 2.54cm.
10926 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
10928         * app/app_procs.c:
10929         Removed include of dlfcn.h
10931 1999-10-18  James Henstridge  <james@daa.com.au>
10933         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
10934         bound on margin widths.  It is set to the paper width/height.
10936         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
10937         routine for the diamond.  This bug was found and fixed by Daniel Wang
10938         <danwang@CS.Princeton.EDU>
10940 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
10942         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
10943         remove warning (OS/2 version).
10945 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
10947         * README:
10948         Put a pointer to objects/custom/README.
10949         
10950 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
10952         * dia.spec:
10953         Updated version to 0.80
10955         * configure.in:
10956         Updated version to 0.80cvs
10958 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
10960         * Released Dia 0.80
10961         Tag called DIA_0_80
10962         
10963 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
10965         * app/Makefile.am
10966         * lib/Makefile.am
10967         * objects/UML/Makefile.am
10968         * objects/ER/Makefile.am
10969         * objects/network/Makefile.am
10970         * objects/standard/Makefile.am
10971         * objects/FS/Makefile.am
10972         * objects/sybase/Makefile.am
10973         * objects/flowchart/Makefile.am
10974         * objects/custom/Makefile.am
10975         Added -I$(top_srcdir)/intl which is needed for
10976         --with-included-gettext.
10978         * POTFILES.in
10979         Updated.
10980         
10981         * po/sv.po
10982         Updated swedish translation.
10984 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
10986         * configure.in:
10987         Updated version number to 0.80.
10989         * KNOWN_BUGS:
10990         New file.
10992         * TODO:
10993         Updated. Moved bugs to KNOWN_BUGS.
10995         * NEWS:
10996         Updated with 0.80 release notes.
10997         
10998 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
10999         
11000         * lib/orth_conn.c:
11001         For backwards compatibility, make sure handle 0 and 1 are the
11002         first and last handle. Fixes compatibility with 0.41, breaks
11003         compatibility with cvs version.
11004         Fixed bug in undo/redo of adding deleting endpoint segments
11005         when the endpoint was connected.
11006         Start OrthConn objects with three segments.
11008 1999-10-16  James Henstridge  <james@daa.com.au>
11010         * objects/custom/custom_object.c (custom_update_data): changed
11011         resizing behaviour a bit so that shapes don't grow huge when you try
11012         to resize them to smaller than the size required by the text box.
11013         Also, now shapes will not grow with fixed aspect ratio when you enter
11014         text into them unless the shape has the fixed aspect ratio flag set.
11016 1999-10-15  James Henstridge  <james@daa.com.au>
11018         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
11020         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
11022         * objects/flowchart/magdrum.shape: 
11023         * objects/flowchart/offlinestore.shape: 
11024         * objects/flowchart/punchedtape.shape: 
11025         * objects/flowchart/transmittape.shape: 
11026         * objects/flowchart/punchedcard.shape: new shapes.
11028         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
11030         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
11032         * objects/flowchart/collate.shape:
11033         * objects/flowchart/delay.shape:
11034         * objects/flowchart/extract.shape:
11035         * objects/flowchart/intstorage.shape:
11036         * objects/flowchart/magdisk.shape:
11037         * objects/flowchart/magtape.shape:
11038         * objects/flowchart/merge.shape:
11039         * objects/flowchart/or.shape:
11040         * objects/flowchart/sort.shape:
11041         * objects/flowchart/sumjunction.shape: new shapes.
11043 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
11045         * TODO (BUGS):
11046         Added bug:
11047         Entering an erronous command as print command
11048         crashes dia.
11050         * app/paginate_psprint.c:
11051         Save all print dialog values for next time.
11052         
11053         * app/Makefile.am:
11054         Remove custom lib from DIA_LIB_PATH.
11056 1999-10-14  James Henstridge  <james@daa.com.au>
11058         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
11060         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
11061         
11062         * objects/flowchart/offpageconn.shape: 
11063         * objects/flowchart/manualop.shape: 
11064         * objects/flowchart/preparation.shape: 
11065         * objects/flowchart/manualinput.shape: 
11066         * objects/flowchart/predefdproc.shape: 
11067         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
11069 1999-10-13  James Henstridge  <james@daa.com.au>
11071         * app/diapagelayout.[ch]: added accessors to paper information.  The
11072         widget should be just about complete now.
11074         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
11075         It actually does something now.
11077 1999-10-12  James Henstridge  <james@daa.com.au>
11079         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
11080         for the page layout widget.
11082         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
11083         built yet as it is not complete.
11085         * objects/flowchart/flowchart.c: added new shapes to sheet.
11087         * objects/flowchart/display.shape:
11088         * objects/flowchart/transaction.shape: new shapes.
11090         * AUTHORS: added my name to the spec file.
11092         * dia.spec: include the dia desktop entry to the spec file.
11094         * Makefile.am: install the dia.desktop file.
11096         * dia.desktop: added a gnome desktop entry so you can start dia
11097         from the gnome panel menu.
11099 1999-10-11  James Henstridge  <james@daa.com.au>
11101         * objects/custom/custom_object.c:
11102         * objects/custom/shape_info.c: warning fixes.
11104         * objects/flowchart/document.shape: a shape file for the `document'
11105         flowchart shape.
11107         * lib/custom.h: new header with the custom shape prototypes.
11109         * app/app_procs.c: register custom objects as well.
11110         (register_objects_in): close shared libraries if they don't load
11111         correctly, and call g_module_make_resident on libraries that load
11112         correctly.
11114         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
11116         * objects/custom/custom.c: removed get_version, added custom_ prefix
11117         to register_objects and register_sheets.
11119         * objects/custom/Makefile.am: converted to a normal library.
11121 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
11123         * app/lineprops_area.c:
11124         * app/render_svg.c:
11125         * lib/objchange.c:
11126         * objects/custom/shape_info.c:
11127         * objects/flowchart/box.c:
11128         * objects/flowchart/diamond.c:
11129         * objects/flowchart/ellipse.c:
11130         * objects/flowchart/parallelogram.c:
11131         * objects/network/flash.c:
11132         * objects/network/scead-plug.c:
11133         * objects/sybase/client.c:
11134         Removed -Wall warnings.
11135         
11136         * objects/network/bus.c:
11137         Removed unused functions.
11139         * objects/FS/flow-ortho.c:
11140         * objects/FS/flow-poly.c:
11141         * objects/FS/flow.c:
11142         * objects/FS/function.c:
11143         
11144         Implemented "non-implemented" undo for FS objects.
11145         Now at least it won't crash.
11146         
11147 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
11149         * objects/network/bus.c:
11150         Implemented undo.
11151         Handles are now added and removed using the object menu.
11152         Default to 6 handles instead of 10.
11153         Changed name from "Standard - Bus" to "Network - Bus". Kept old
11154         name for backwards compatibility.
11156         * objects/network/network.c:
11157         Changed name from "Standard - Bus" to "Network - Bus". Kept old
11158         name for backwards compatibility.
11160         * app/properties.[ch]:
11161         * app/undo.c:
11162         Update properties in properties dialog if the shown object
11163         is part of and ObjectChange (undo or redo).
11165         * lib/poly_conn.c:
11166         Remove old known bugs list.
11168         * objects/UML/class_dialog.c:
11169         Removed debug printf's.
11171 1999-10-10  James Henstridge  <james@daa.com.au>
11173         * objects/custom/custom.c (custom_object_load): new function that
11174         provides a nice entry point to the custom shape code for when it
11175         gets used by other libraries.
11177         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
11178         speeds builds up a bit.
11180         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
11181         (SUBDIRS): do not descend into pixmaps subdirs.
11183         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
11184         This speeds up build process.
11186         * objects/custom/custom.c (sheets): made variable static.
11188         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
11189         renamed function.
11191         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
11193         * objects/custom/custom.c: look in ~/.shapes instead of
11194         ~/.dia_shapes as the per-user shapes directory.
11196         * app/preferences.c (prefs_save): save config to ~/.diarc.
11197         (prefs_load): load configuration from ~/.diarc.  If the file
11198         does not exist, fallback on the old ~/.diarc location.
11200         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
11201         on startup.
11202         (register_all_objects): look for user specific objects in
11203         ~/.objects rather than ~/.dia_libs.
11205 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
11207         * configure.in:
11208         * app_procs.c:
11209         * objects/flowchart/box.c
11210         * objects/flowchart/ellipse.c
11211         * objects/flowchart/flowchart.c 
11212         Use gmodule for dynamic linking. As gmodule is using
11213         RTLD_GLOBAL i had to change flowchart box and ellipse
11214         so the typenames doesn't conflict with the standard
11215         box and ellipse.
11217         * message.c
11218         * commands.c
11219         Use button box to make dialogs look better.
11221 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
11223         * objects/UML/class_dialog.c:
11224         * objects/UML/class.h:
11225         Implemented undo for "UML - Class" objects.
11226         Not 100% tested yet.
11228         * objects/UML/classicon.c:
11229         * objects/UML/constraint.c:
11230         * objects/UML/dependency.c:
11231         * objects/UML/generalization.c:
11232         * objects/UML/implements.c:
11233         * objects/UML/large_package.c:
11234         * objects/UML/lifeline.c:
11235         * objects/UML/message.c:
11236         * objects/UML/object.c:
11237         * objects/UML/realizes.c:
11238         * objects/UML/state.c:
11239         * objects/UML/usecase.c:
11240         Removed warnings.
11241         
11242         * lib/connectionpoint.h:
11243         Fixed typo.
11244         
11245 1999-10-09  James Henstridge  <james@daa.com.au>
11247         * objects/custom/*.[ch]: added copyright notices to custom object
11248         files.
11250         * shapes/Circuit/hdiode.shape:
11251         * shapes/Circuit/hzener.shape: 
11252         * shapes/Circuit/opamp.shape:
11253         * shapes/Circuit/vdiode.shape:
11254         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
11255         shapes look nice after the custom shape code changes.
11257         * objects/custom/README: updated docs to cover changes to drawing
11258         code.
11260         * objects/custom/custom_object.c (custom_draw): honour the line
11261         properties when drawing the shape.
11263         * objects/custom/shape_info.[ch]: added support for setting line
11264         properties for individual drawing elements in a custom shape.  You
11265         can set the dash style, dash length, cap style and join style.
11267 1999-10-07  James Henstridge  <james@daa.com.au>
11269         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
11270         for foreground and background.
11272         * objects/custom/custom_object.c (custom_draw): use the new style
11273         information when drawing the object.
11275         * objects/custom/shape_info.[ch]: store all shape style info in the
11276         GraphicStyle structure.  This makes adding support for extra CSS
11277         attributes easier -- we don't have to keep adding extra arguments to
11278         a lot of functions.
11280 1999-10-05  James Henstridge  <james@daa.com.au>
11282         * lib/intl.c (unalias_lang): merged in changes from the i18n code
11283         swiped from gnome-libs.
11285 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
11287         * objects/standard/image.c (get_directory):
11288         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
11290 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
11292         * lib/poly_conn.c (polyconn_destroy):
11293         Fix bug. Access of freed memory.
11294         Rememeber, you can't free the handles of an object
11295         before calling object_destroy(), as it unconnects the handles
11296         therefore referencing them.
11298 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
11300         * app/undo.c:
11301         undo_clear() didn't set stack->depth to zero.
11302         This made other undo functions crash after this had been called
11303         on a "full" stack.
11304         
11305         * dia.xpm:
11306         Slightly modified by Chris Love <clove@exactis.com>
11308 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
11310         * objects/UML/class.h: 
11311         * objects/UML/class_dialog.c:
11312         Retrun NULL ObjectChange on class property change.
11313         This means no crashes, but "UML - Class" doesn't support undo yet.
11314         
11315 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
11316         
11317         * lib/text.c:
11318         Indentation fix.
11320         * objects/UML/classicon.c:
11321         * objects/UML/dependency.c:
11322         * objects/UML/generalization.c:
11323         * objects/UML/implements.c:
11324         * objects/UML/large_package.c:
11325         * objects/UML/lifeline.c:
11326         * objects/UML/message.c:
11327         * objects/UML/object.c:
11328         * objects/UML/realizes.c:
11329         * objects/UML/state.c:
11330         * objects/UML/usecase.c:
11331         Update to new undo (w. get/set_state).
11332         Add object menu to add/delete segments.
11334 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
11336         * app/menus.c:
11337         Add equal distance alignment.
11339         * app/object_ops.c:
11340         Add equal distance alignment.
11341         Fix bug in adjacent alignment.
11343 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
11345         * objects/UML/constraint.c: 
11346         Update to new undo (w. get/set_state).
11348 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
11350         * app/paginate_psprint.c:
11351         Save (parts, more todo) of the info in the print dialog to the
11352         next time it's opened.
11353         Patch from Yo Ric Dude <ricdude@toad.net>
11355 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
11357         * configure.in:
11358         Updated version string to 0.41cvs.
11360         * objects/UML/assocition.c:
11361         Update to new undo (w. get/set_state).
11362         Add object menu to add/delete segments.
11364         * app/app_procs.c:
11365         Added function debug_break() and called it after all
11366         objects and sheets are loaded. Place a breakpoint here if you
11367         want to debug objects. All symbols should be loaded.
11369 1999-09-12  James Henstridge  <james@daa.com.au>
11371         * app/menus.c (display_menu_items): added print menu item.
11372         (filemenu): always add print menu item -- even if gnome-print is
11373         not installed.
11375         * app/commands.h, app/commands.c (file_print_callback): the print
11376         menu item is now available for both gnome-print and non gnome-print
11377         setups.
11379         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
11380         print with the non gnome-print driver.
11382 1999-09-11  James Henstridge  <james@daa.com.au>
11384         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
11385         printer dialog code out of commands.c.
11387         * app/paginate_psprint.c: new file containing the pagination code for
11388         psprint.
11390         * app/render_eps.c: made a few modifications so as well as producing
11391         EPS files, this renderer can be set up to do postscript printing.
11392         This basically entailed adding an extra function to create a RenderEPS
11393         renderer which did not bother setting the viewport for the document.
11394         That was left for the pagination code.
11396 1999-09-10  James Henstridge  <james@daa.com.au>
11398         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
11399         gnome-print does not support elliptic arcs at the moment, approximate
11400         the ellipse with eight bezier curves.  This gives a pretty good
11401         match to a true ellipse.
11403 1999-09-09  James Henstridge  <james@daa.com.au>
11405         * app/commands.c (file_gnome_print_callback): added support for
11406         scaling the diagram.  Also fixed a few other bugs.
11408         * app/paginate_gnomeprint.c (print_page): added ability to scale
11409         document.  Fixed up test to see if the page has no objects on it.
11410         This should prevent some blank pages being printed.  Non square
11411         objects such as lines could still cause problems.
11413 1999-09-08  James Henstridge  <james@daa.com.au>
11415         * app/commands.c (file_gnome_print_callback): changed from using the
11416         standard printer selection dialog to one that also has a paper size
11417         selector as well.
11419         * commands.[ch]: added callbacks for the print menu item.  Currently
11420         it only does A4 output.  I will make it configurable soon.
11421         
11422         * app/menus.c: add a print diagram menu item if gnome-print support
11423         is enabled.
11424         
11425         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
11426         bit higher level than the gnome-print renderer.  It splits the
11427         diagram into page size chunks and then renders them.  For each
11428         page, it only renders the objects whose bounding box intersects
11429         the page, and it sets the clip mask so that the diagram does not
11430         overlap the margins.
11431         
11432         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
11433         that uses gnome-print as its back end.
11434         
11435         * configure.in: added a check for gnome-print.  It is disabled by
11436         default because the code is not really working correctly yet.
11438         * app/menus.c: the delete object menu item was missing from the
11439         GnomeUIInfo style menus.
11441 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
11443         * configure.in
11444         Added japanese to ALL_LINGUAS.
11445         Fix for Linux on Alpha.
11447 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
11449         * app/create_object.c (create_object_button_press):
11450         Always initialize tool->obj. Otherwise we store a null
11451         in the undo Change.
11453         * lib/text.c:
11454         Set linestyle before drawing cursor.
11455         Fix undo of backwards delete.
11457 1999-09-05  James Henstridge  <james@daa.com.au>
11459         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
11461         * app/render_svg.c (draw_image): some fixes so that the appropriate
11462         style attributes are set.  Before it was setting line styles on
11463         fill_* functions.  Now it only does this for the draw_* variants.
11465         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
11466         variable so that custom shapes can be loaded.
11468         * shapes/: new directory for custom shapes.  The Circuit sheet has
11469         been moved here.
11471 1999-09-02  James Henstridge  <james@daa.com.au>
11473         * TODO: removed a few todo items that have been implemented.
11475         * app/interface.c (create_sheets): enabled the popup page menu to the
11476         notebook.  This can make it easier to select different sheets.
11478         * object/custom/Circuit/: added diode, zener diode, ground point and
11479         operational amplifier shapes.
11480         
11481         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
11482         if you want the output.
11484         * objects/custom/shape_info.c (parse_path): same here.
11486         * objects/custom/load_sheet.c (load_with_readdir): don't print so
11487         much debugging output.  To get the previous level of output, define
11488         DEBUG_CUSTOM.
11490         * objects/custom/shape_info.c (parse_svg_node): polygons were being
11491         recorded as polylines in the ShapeInfo structure.
11493         * objects/custom/README: some notes on writing new custom shapes.
11494         
11495 1999-09-01  James Henstridge  <james@daa.com.au>
11497         * objects/custom/Circuit/hinductor.*:
11498         * objects/custom/Circuit/vinductor.*: added inductor shapes that
11499         also test out the bezier curve and SVG path support.
11500         
11501         * objects/custom/custom_object.c (custom_draw): added support for
11502         drawing bezier paths and filled shapes.
11504         * objects/custom/shape_info.c (parse_path): new function to parse
11505         SVG path elements.  It does not do quadratic beziers or elliptic
11506         arcs though.  Only moves, lines and cubic beziers.
11507         (*): added support for paths.
11509 1999-08-31  James Henstridge  <james@daa.com.au>
11511         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
11513         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
11514         interface
11516         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
11517         interface
11519         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
11520         interface.
11522         * lib/render_store.[ch]: use newer bezier functions.
11524         * lib/render.h: changed the bezier drawing functions to use an array
11525         of BezPoint structures instead of normal Point structures to allow
11526         lineto's mixed in with the curveto's.
11527         
11528         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
11529         
11530         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
11531         xpm images for different shapes to Makefile.
11533         * objects/custom/custom_object.c (custom_object_new): set the icon
11534         for the sheet button if there is one.  Otherwise fall back on the
11535         default custom object icon.
11537         * objects/custom/shape_info.c (load_shape_info): read the sheet
11538         icon name from the shape file.
11540         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
11541         check the pixmap_file field for the name of a pixmap file to load
11542         for the tool.
11544         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
11545         at the end of the structure, and it isn't used if the pixmap field
11546         is non NULL, so it should not break binary compatibility.
11548         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
11549         added support for the use of an index.sheet file so you can specify
11550         the ordering of the shapes in the sheet, and also internationalise
11551         the sheet name and actually be able to give a description.  The old
11552         readdir based sheet loading code acts as a fallback if an index.sheet
11553         file can not be found.
11555         * objects/custom/custom_util.[ch]: new file containing useful routines
11556         needed by the custom object code.  Currently only contains a simple
11557         routine for resolving relative paths.
11559         * objects/custom/custom_object.c (custom_draw): fixed problem with
11560         drawing rectangles if the shape has been flipped.
11562 1999-08-30  James Henstridge  <james@daa.com.au>
11564         * objects/custom/custom_object.c (custom_get_object_menu): allow
11565         flipping of custom shapes.  This uses the miggle click object
11566         menu.
11568         * objects/custom/Circuit/npn.shape: fix aspect ratio.
11570         * objects/custom/custom_object.c (custom_update_data): honour the
11571         aspect ratio constraints.
11573         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
11574         tag parsing, so you can specify a free, fixed or a range for aspect
11575         ratios for the shape.
11577 1999-08-29  James Henstridge  <james@daa.com.au>
11579         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
11580         up shape namespace tag.
11582         * objects/custom/shape_info.c (load_shape_info): check xml:lang
11583         attribute on <description> elements to support i18n for custom
11584         shape descriptions.
11585         Also changed the shape namespace for custom shapes to something
11586         a little more sensible.
11588         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
11590         * lib/intl.c: new file containing some functions for i18n stuff.
11592         * app/layer_dialog.c (create_button_box): fixed a warning.
11594         * objects/custom/custom_object.c: use current line style.  Save dash
11595         length.
11597         * objects/flowchart/diamond.c: use current line style.  Save dash
11598         length.
11600         * objects/flowchart/parallelogram.c: use current line style.  Save
11601         dash length.
11603         * objects/flowchart/ellipse.c: use current line style.  Save dash
11604         length.
11606         * objects/flowchart/box.c: use current line style.  Save dash length.
11608         * objects/standard/ellipse.c: make ellipse use current line style.
11610         * objects/standard/box.c: use the line style set in the toolbox for
11611         new boxes, and remember the dash length.
11613         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
11614         rulers.
11616 1999-08-24  James Henstridge  <james@daa.com.au>
11618         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
11619         to try to stop ellipse to get infinite width/height when we resize,
11620         while trying to keep the text inside the ellipse.
11622         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
11623         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
11624         resizing behaviour, so that you can't push objects round the screen
11625         with the resize handles.
11627         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
11628         get the OK buttons in the dialogs to take default clicks.
11630         * objects/custom/custom_object.c: added code so that resizing the
11631         shape does not end up pushing it round the screen.
11633 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
11635         * app/display.[ch]:
11636         Generate rectangle with the union of the damaged regions.
11637         This is used to optimize the grid paint and the object rendering.
11638         display_render_pixmap passes this info to grid_draw() and data_render().
11640         * app/grid.[ch]:
11641         grid_draw doesn't draw grid lines outside of damaged rectangle.
11642         Sets dashlength when drawing non-solid grid.
11643         
11644         * lib/diagramdata.[ch]:
11645         data_render() and layer_render() takes an optional damaged rectangle
11646         argument. No objects not intersecting this are drawn.
11648         * app/diagram.c:
11649         Fix warning.
11650         Call data_render with NULL update rectangle.
11651         
11652 1999-08-23  James Henstridge  <james@daa.com.au>
11654         * objects/custom/custom_object.c (custom_update_data): if the aspect
11655         ratio is fixed, make sure the shape is not distorted.
11657         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
11658         a <fixaspectratio/> tag is given in the shape file.
11660         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
11661         added support for stroke-width, stroke and fill CSS attributes
11662         specified in style attributes of the SVG elements.  The line width
11663         is relative to the user specified line width.  The stroke and fill
11664         attributes can only be used to swap the foreground/background
11665         colours.
11667         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
11668         sensitivity on the dash length selector when this function is called.
11670         * objects/standard/arc.c: same.  Also handle dash length.
11671         * objects/standard/zigzagline.c: same.
11672         * objects/standard/polyline.c: same.  Also handle dash length.
11673         * objects/standard/line.c: use default arrow/line styles.
11675         * app/interface.c: added callbacks to set the default attributes.
11677         * lib/attributes.c: added implementations of these functions.
11679         * lib/attributes.h: added extra prototypes for the new line properties
11680         area in the toolbox.
11682         * app/interface.c (create_lineprops_area): added line properties
11683         area to bottom of toolbox.
11685         * app/lineprops_area.h: a header exporting a few routines of the
11686         line properties area widgets.
11688         * app/lineprops_area.c: new file containing a selector for arrows
11689         and line styles to go in the main toolbox.
11691 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
11693         * HACKING:
11694         Update Gtk+ 1.0.5 comment to 1.2.0.
11696         * INSTALL:
11697         Demand libtool 1.3
11699         * acconfig.h:
11700         Add HAVE_LIBPOPT
11702         * configure.in:
11703         Make sure we don't propagate -ldl and -lpopt to all LIBS
11704         by adding new var APP_LIBS that only app/dia links with.
11705                 
11706         * app/Makefile.am:
11707         Update run_dia.sh to load custom and flowchart objects.
11709         * objects/ER/Makefile.am:
11710         * objects/FS/Makefile.am:
11711         * objects/UML/Makefile.am:
11712         * objects/network/Makefile.am:
11713         * objects/standard/Makefile.am:
11714         * objects/sybase/Makefile.am:
11715         Don't build versioned libs.     
11716         
11717 1999-08-22  James Henstridge  <james@daa.com.au>
11719         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
11720         list.
11722         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
11723         should actually work a bit now.
11725         * objects/custom/Circuit/*: a test sheet for the custom shape code.
11726         It is a small collection of circuit elements.
11728         * objects/custom/shape_info.c: fixed up loading of polylines and
11729         polygons.  Before it was removing negative signs :(
11731         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
11732         placeholder was here before.  I still need to work out how to set
11733         icons for individual custom shapes.
11734         
11735         * objects/custom/custom.c: added code to load the shapes into sheets
11736         properly.  The shape files should be arranged into directories, and
11737         each directory represents a different sheet in the toolbox.  This
11738         will make it very easy to distribute a collection of dia shapes as
11739         a tarball.  I still need to work out internationalisation, and maybe
11740         also shape ordering in the sheet.
11742         * objects/custom/custom_object.c: fixed up dialogs for these objects.
11743         (custom_create): fix for objects without text areas.
11745         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
11746         and saving of custom object works correctly now.
11748 1999-08-21  James Henstridge  <james@daa.com.au>
11750         * objects/flowchart/ellipse.c: 
11751         * objects/flowchart/diamond.c: 
11752         * objects/flowchart/parallelogram.c: 
11753         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
11754         copying or loading these object types.  Not all the connection
11755         points would be initialised correctly.
11757         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
11758         similar here.
11760         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
11761         build a versioned library.  It will only ever be dlopen'd, so this
11762         is not a problem.
11764         * objects/custom/custom_object.c (custom_distance_from): allow
11765         selecting the object by clicking on the text.  This fixes problems
11766         where the text box is outside the graphic.
11768         * objects/custom/shape_info.c (load_shape_info): fixed up reading
11769         of connections points.  It should be possible to add connections
11770         to custom objects now.
11772         * objects/custom/custom_object.c (custom_update_data): fixed resizing
11773         due to changes to text.
11775         * configure.in: added extra makefiles.
11776         
11777         * objects/custom/shape_info.[ch]:
11778         * objects/custom/custom_object.c:
11779         * objects/custom/custom.c: the starts of custom shape support in dia.
11780         This is not built by default at the moment, since it is not quite
11781         complete.  When it is, it will let you create more shapes for dia
11782         without writing a line of C.  Its implementation includes buzzwords
11783         such as XML and SVG, so it must be good :)
11785 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
11787         * app/app_procs.c (app_exit): Use button labels "Quit" and
11788         "Cancel" instead of "Yes" and "No".
11789         Set default action to "Cancel" instead of "Quit".
11791 1999-08-19  James Henstridge  <james@daa.com.au>
11793         * objects/flowchart/flowchart.c: added ellipse object.
11794         
11795         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
11797 1999-08-18  James Henstridge  <james@daa.com.au>d
11799         * app/color_area.c (color_area_edit): small fix to prevent dia from
11800         segfaulting when you try to change the default foreground/background.
11802 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
11804         * app/diagram.[ch] (diagram_redraw_all):
11805         Added function that redraws all diagrams.
11807         * app/preferences.c (prefs_apply):
11808         Call diagram_redraw_all when prefs are changed.
11810         * app/render_svg.c:
11811         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
11812         older libxml's, and the old version works good enought here.
11813         
11814 1999-08-17  James Henstridge  <james@daa.com.au>
11816         * lib/widgets.c: changed handlers that were connected to the GtkButton
11817         "pressed" signal to connect to the "clicked" signal.  This removes the
11818         problem where dialogs are inactive until you click a mouse button
11819         after using a colour selector.
11821         * configure.in: added extra makefiles to AC_OUTPUT list.
11822         
11823         * objects/Makefile.am (SUBDIRS): added flowchart module
11825         * objects/flowchart/*: a collection of shapes for use in flowcharts.
11827         * app/color_area.c (color_area_events): similar here.
11829         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
11830         event is recieved with event->width == 0, which causes a warning if we
11831         try to create a pixmap of that width.
11833         * app/preferences.c, app/preferences.h, app/grid.c: added code to
11834         allow you to configure the colour of the grid, and also lets you
11835         set the grid to use dotted lines instead of solid ones.
11836         
11837         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
11838         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
11839         
11840         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
11841         export filter.  It is not quite complete, but for most shapes it
11842         works as expected.  Fonts still need a bit of work.
11844 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
11846         * configure.in: Added "en_GB" to ALL_LINGUAS.
11848 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
11850         * menus.c
11851         Added Undo and Redo to GNOME menus.
11852         
11853         * objects/ER/attribute.c:
11854         * objects/ER/entity.c:
11855         * objects/ER/participation.c:
11856         * objects/ER/relationship.c:
11857         Added get/set_state functions.
11859         * objects/ER/participation.c:
11860         Added add/delete segment.
11862         * po/sv.po
11863         Updated Swedish translation.
11865 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
11867         * app/preferences.[hc]:
11868         Added undo_depth pref.
11869         
11870         * app/undo.[ch]:
11871         Never grow stack larger than pref.undo_depth.
11872         undo_depth == 0 means unlimited.
11873         Converted printfs to conditionally compiled DEBUG_PRINTFs.
11874         
11875 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
11877         * app/diagram.c:
11878         * app/group.c:
11879         * lib/object.h:
11880         * lib/render_object.c:
11881         * objects/ER/attribute.c:
11882         * objects/ER/entity.c:
11883         * objects/ER/participation.c:
11884         * objects/ER/relationship.c:
11885         * objects/FS/flow-ortho.c:
11886         * objects/FS/flow-poly.c:
11887         * objects/FS/flow.c:
11888         * objects/FS/function.c:
11889         * objects/UML/actor.c:
11890         * objects/UML/association.c:
11891         * objects/UML/class.c:
11892         * objects/UML/classicon.c:
11893         * objects/UML/component.c:
11894         * objects/UML/constraint.c:
11895         * objects/UML/dependency.c:
11896         * objects/UML/generalization.c:
11897         * objects/UML/implements.c:
11898         * objects/UML/large_package.c:
11899         * objects/UML/lifeline.c:
11900         * objects/UML/message.c:
11901         * objects/UML/note.c:
11902         * objects/UML/object.c:
11903         * objects/UML/realizes.c:
11904         * objects/UML/small_package.c:
11905         * objects/UML/state.c:
11906         * objects/UML/usecase.c:
11907         * objects/network/bus.c:
11908         * objects/standard/arc.c:
11909         * objects/standard/box.c:
11910         * objects/standard/ellipse.c:
11911         * objects/standard/image.c:
11912         * objects/standard/line.c:
11913         * objects/standard/polyline.c:
11914         * objects/standard/textobj.c:
11915         * objects/standard/zigzagline.c:
11916         Removed all traces of is_empty(). It doesn't work in an
11917         Undo/Redo world.
11919 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
11921         * app/diagram.c:
11922         * app/group.[ch]:
11923         * app/undo.[ch]:
11924         Undoable grouping and ungrouping.
11926         * app/layer_dialog.c:
11927         * lib/diagramdata.[ch]:
11928         Undoable layer ops.
11930         * app/modify_tool.c:
11931         Undoable unconnect on handle move.
11933         * lib/orth_conn.[ch]:
11934         Working undoable add/remove segment.
11935         Removed endpoint_handles from OrthConn, renamed
11936         midpoint_handles to handles and put the endpoint
11937         handles there.
11939         * objects/standard/zigzagline.c:
11940         * objects/ER/participation.c:
11941         * objects/UML/association.c:
11942         * objects/UML/dependency.c:
11943         * objects/UML/generalization.c:
11944         * objects/UML/realizes.c:
11945         Update for the changes in OrthConn
11946         
11947 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
11949         * configure.in: Added "de" to ALL_LINGUAS.
11951 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
11953         * dia.1:
11954         Fixed typo.
11956         * app/display.c:
11957         * po/da.po:
11958         * po/fr.po:
11959         * po/hu.po:
11960         * po/no.po:
11961         * po/pl.po:
11962         * po/sv.po:
11963         Don't have the <Display> etc part of the menu strings
11964         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
11966         * app/diagram.c:
11967         Don't have the <Display> etc part of the menu strings
11968         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
11969         Don't remove is_empty() objects, that don't work with undo.
11971         * lib/objchange.[ch]:
11972         New files.
11973         Definition of ObjectChange. This is essentially an Change
11974         exported to the object libs. It encapsulates a change made
11975         to an objects internals. It can be applied, reverted and freed.
11976         There are also utility functions for doing ObjectChanges that
11977         only get/set the whole state of an object to store the change.
11978         This cannot be used when the object change deletes or adds a
11979         object which has references from other objects, eg. Handles which
11980         might be connected.
11982         * lib/Makefile.am:
11983         Added objchange.c and objchange.h.
11985         * lib/dia_image.c:
11986         Return NULL when loading fails.
11988         * lib/diamenu.h:
11989         Menu callbacks return an ObjectChange.
11991         * lib/dummy_dep.h:
11992         Reference objchange.o
11994         * lib/focus.h:
11995         Key events return ObjectChange if they modify the object.
11997         
11998         * lib/object.h:
11999         Added object_add_handle_at() function.
12000         Apply properties returns an ObjectChange.
12001         Remove ObjectState and the get/set state functions, these
12002         don't always work. Use the new ObjectChange instead.
12003         
12004         * lib/object.c:
12005         Added object_add_handle_at() function implementation.
12006         
12007         * lib/orth_conn.[ch]:
12008         Use ObjectChange. Not finished yet.
12009         Removed get/set/free state functions
12011         * lib/poly_conn.[ch]:
12012         Use ObjectChange.
12013         Don't remove segments that are small.
12014         Removed get/set/free state functions
12016         * lib/text.[ch]:
12017         Use ObjectChange.
12018         Added functions to get/set all text attributes.
12020         * objects/standard/arc.c:
12021         * objects/standard/box.c:
12022         * objects/standard/ellipse.c:
12023         * objects/standard/image.c:
12024         * objects/standard/line.c:
12025         * objects/standard/polyline.c:
12026         * objects/standard/textobj.c:
12027         * objects/standard/zigzagline.c:
12028         Use ObjectChange.
12029         fixed bug in image_set_state.
12030         zigzagline.c not finished yet.
12032         * app/disp_callbacks.c:
12033         Use ObjectChange that are returned from menu callbacks and
12034         key_events for undo.
12036         * app/properties.c:
12037         Use ObjectChange that are returned from properties apply
12038         for undo.
12040         * app/undo.c:
12041         * app/undo.h:
12042         New undo type: ObjectChangeChange. This wraps a change to the
12043         internals of an object (and ObjectChange) in code that does
12044         app specific stuff (object_add_updates etc.)
12046 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
12048         * lib/orth_conn.[ch]:
12049         Added code for add/delete segment.
12051         * objects/standard/zigzagline.c:
12052         Use the new orth_conn code.
12053         
12055 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
12057         * objects/FS/Makefile.am
12058         Removed fs.h from sources.
12060         * Makefile.am
12061         * dia.1
12062         Added man page.
12064 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
12066         * app/disp_callbacks.c (ddisplay_canvas_events):
12067         Fix for bug. Every other arrow-key press got lost.
12068         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
12070         * INSTALL:
12071         change automake.sh to autogen.sh
12072         
12073 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
12075         * app/diagram.c:
12076         Don't remove 'empty' objects.
12077         This violent destruction of objects won't work
12078         with the new undo framework.
12080         * app/disp_callbacks.c:
12081         Save undo info for object menu calls and key_events.
12083         * app/properties.c:
12084         Save undo info on properties apply.
12086         * lib/dia_image.[ch]:
12087         Add refcounting for images.
12089         * app/render_eps.c:
12090         * app/render_gdk.c:
12091         * lib/render.h:
12092         DiaImage * -> DiaImage
12094         * app/undo.[ch]:
12095         Add undo functions for object state changes.
12097         * lib/focus.h:
12098         * lib/text.c:
12099         change of semntics for focus->key_event.
12100         Now returns TRUE if the object recieving the event
12101         was changed.
12103         * lib/object.h:
12104         Comment changes.
12106         * lib/orth_conn.[ch]:
12107         Don't automatically create and delete segments when
12108         handles are moved. This is incompatible with undo.
12109         Added state get, set and free functions.
12111         * lib/orth_conn.[ch]:
12112         Added state get, set and free functions.
12114         * objects/UML/object.c:
12115         * objects/UML/uml.c:
12116         Fixed typo "UML - Objet" -> "UML - Object".
12117         Saved old for backwards compatibility.
12119         * objects/standard/arc.c:
12120         * objects/standard/box.c:
12121         * objects/standard/ellipse.c:
12122         * objects/standard/image.c:
12123         * objects/standard/line.c:
12124         * objects/standard/polyline.c:
12125         * objects/standard/textobj.c:
12126         * objects/standard/zigzagline.c:
12127         Added get/set state functions.
12128         Textobj has a redo crash-bug.
12129         Zigzagline needs object menus to add segments.
12130         
12132 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
12134         * app/render_eps.c (set_dashlength):
12135         Don't generate eps files with zero dash-length.
12137 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
12139         * app/commands.c:
12140         * app/create_object.c:
12141         * app/undo.[ch]:
12142         Finished undo for create and paste.
12143         
12144         * lib/object.h:
12145         Started properties undo.
12147 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
12149         * TODO:
12150         Added resizeable groups.
12152         * app/app_procs.c:
12153         Removed unused variable.
12155         * app/commands.c:
12156         * app/undo.[ch]:
12157         Undo/redo for cut/delete done.
12159         * app/create_object.c:
12160         * app/modify_tool.c:
12161         * lib/diagramdata.[ch]:
12162         * app/diagram.[ch]:
12163         renamed diagram_add_selected -> diagram_select
12164         renamed diagram_remove_selected -> diagram_unselect
12165         
12166         * app/properties.[ch]:
12167         Added properties_hide_if_shown() function.
12169 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
12171         * app/undo.[ch]:
12172         * app/Makefile.am:
12173         Undo functions.
12174         
12175         * app/commands.[ch]
12176         * app/modify_tool.[ch]
12177         * app/object_ops.[ch]
12178         * app/connectionpoint_ops.c
12179         * app/menus.c
12180         Use undo functions.
12181         WARNING: Not finished. Will break.
12182         Finished: move object, move handle.
12184         * app/diagram.[ch]
12185         Added diagram_selected_break_external() function.
12186         It removes all connections between selected objects
12187         and non-selected.
12188         Add undo stack to Diagram.
12189         
12190         * lib/diagramdata.[ch]
12191         Added layer_remove_objects() function
12192         
12193 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
12195         * objects/FS/Makefile.am
12196         * objects/sybase/Makefile.am
12197         Now uses GNOME_CFLAGS.
12199         * app/app_procs.c
12200         Now compiles with GNOME even if popt.h isn't available.
12202 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
12204         * configure.in
12205         * objects/Makefile.am
12206         * objects/sybase/*
12207         First version of sybase objects from
12208         Brian Bruns <camber@umcc.ais.org>
12210 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
12212         * configure.in
12213         Added fr to ALL_LINGUAS
12215 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
12217         * configure.in
12218         * app/app_procs.c
12219         Popt-code is activated if popt is available.
12221 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
12223         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
12224         
12225         * lib/orth_conn.[ch]:
12226         Added orthconn_get_middle_handle()
12228         * lib/text.[ch]:
12229         Added text_set_cursor_at_end()
12230         
12231         * objects/FS/*
12232         Added first version of functions structure diagrams.
12233         
12234 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
12236         * app/modify_tool.c:
12237         Include math.h to remove warning.
12239         * app/commands.c (dialogs_properties_callback):
12240         Bring up correct properties dialog when selected
12241         from menu.
12242         From Dan Cohn <dan@internap.com>
12244 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
12246         Patch from Lars R. Clausen 
12247         
12248         * app/modify_tool.c:
12249         Changed abs to fabs.
12251 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
12253         * INSTALL: 
12254         * configure.in:
12255         Require Gtk+ 1.2.0
12257 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
12259         Patches from Dan Cohn <dan@internap.com>
12260         
12261         * app/commands.[ch]: 
12262         * app/display.[ch]: 
12263         * app/menus.c:
12264         * app/preferences.[ch]:
12265         Implements ability to turn on/off connection points in
12266         current drawing and in global prefs.
12268 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
12270         * lib/widgets.c (dia_line_style_selector_init): 
12271         Fixed warnings.
12272         
12273         * lib/diagramdata.c (layer_update_extents):
12274         Fixed uninitialized variable error.
12276 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
12278         * lib/dia_image.c:
12279         Made some changes to the gdk_imlib visual+colormap setup.
12281 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12283         * objects/UML/usecase.c: 
12284        * objects/UML/lifeline.c
12285         Fine tunning.
12287         * objects/UML/object.c: 
12288         * objects/UML/message.c: 
12289         Changed font from Courier to Helvetica.
12291         * lib/widgets.c: 
12292         * lib/widgets.h:
12293         Added dash lenth to the LineStyle widget.
12294         
12295         * objects/standard/ellipse.c :
12296         * objects/standard/zigzagline.c: 
12297         * objects/standard/line.c: 
12298         Added dash lenght property.
12300 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
12302         * app/render_eps.c:
12303         First shot at latin1 encoded eps files.
12304         Works, but the eps files get a bit large.
12305         
12306 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
12308         * objects/UML/class.[ch]: 
12309         * objects/UML/uml.[ch]:
12310         Reverted the line wrap changes.
12311         Some day this might return, but it has to be selectable and
12312         default to off for loaded objects, otherwise it breaks file
12313         format compatibility.
12314         There was also some complains about how it looked, so a making it
12315         selectable is good for this too.
12317 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
12319         * objects/UML/class.[ch]:
12320         Some indentation cleanup.
12321         Added wrap_lines variable to class.
12322         I'll fix the line break stuff tomorrow.
12324 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
12326         * lib/dummy_dep.h:
12327         Added ref to poly_conn.o.
12329         * objects/standard/polyline.c (polyline_draw): 
12330         * objects/standard/zigzagline.c (zigzagline_draw): 
12331         * objects/standard/arc.c (arc_draw): 
12332         * objects/standard/line.c (line_draw):
12333         Draw lines before arrows. This makes hollow arrows not
12334         show the line.
12336 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
12338         Changes from Kim Peasley <kpeasley@ior.com> 
12339                 
12340         * objects/UML/class.c:
12341         Break lines with long operations so classes won't be
12342         so wide.
12344         * objects/UML/uml.[ch]:
12345         Helperfunctions for the above.
12346         
12347         * objects/UML/objects.c:
12348         Fix bug that duplicated the text in the attributes
12349         textwidget each time the object was selected.
12350         
12351 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
12353         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
12354         
12355         * app/modify_tool.c:
12356         * app/modify_tool.h:
12357         Control-drag is restricted to vertical/horizontal movement
12358         
12359         * lib/object.h:
12360         ModifierKeys argument added to object_move_handle
12362         * app/connectionpoint_ops.c:
12363         * app/create_object.c:
12364         * app/object_ops.c:
12365         * objects/ER/attribute.c:
12366         * objects/ER/entity.c:
12367         * objects/ER/participation.c:
12368         * objects/ER/relationship.c:
12369         * objects/UML/actor.c:
12370         * objects/UML/association.c:
12371         * objects/UML/class.c:
12372         * objects/UML/classicon.c:
12373         * objects/UML/component.c:
12374         * objects/UML/constraint.c:
12375         * objects/UML/dependency.c:
12376         * objects/UML/generalization.c:
12377         * objects/UML/implements.c:
12378         * objects/UML/large_package.c:
12379         * objects/UML/lifeline.c:
12380         * objects/UML/message.c:
12381         * objects/UML/note.c:
12382         * objects/UML/object.c:
12383         * objects/UML/realizes.c:
12384         * objects/UML/small_package.c:
12385         * objects/UML/state.c:
12386         * objects/UML/usecase.c:
12387         * objects/network/bus.c:
12388         * objects/standard/arc.c:
12389         * objects/standard/box.c:
12390         * objects/standard/ellipse.c:
12391         * objects/standard/image.c:
12392         * objects/standard/line.c:
12393         * objects/standard/polyline.c:
12394         * objects/standard/textobj.c:
12395         * objects/standard/zigzagline.c:
12396         Changed calls to move_handle to pass the new argument.
12397         
12398         * lib/widgets.c:
12399         * lib/widgets.h:
12400         Default line width, color etc #define'd
12401         
12402         * po/da.po:
12403         Updates of danish menus
12405 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
12407         * dia.xpm
12408         * dia_gnome_icon.png
12409         * dia_gnome_menu_icon.png
12410         * dia_logo.png
12411         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
12413         * app/commands.c
12414         About dialog shows dia_logo.png. Removed the GNOME about dialog.
12416         * Makefile.am
12417         Distribute the icons and install logo in pkgdatadir.
12418         
12419         * app/Makefile.am
12420         Added DATADIR-define.
12421         
12422 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
12423         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
12425         * dia.spec:
12426         Updated version number, made setup quiet, can build from cvs,
12427         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
12429         * lib/Makefile.am
12430         * objects/ER/Makefile.am
12431         * objects/UML/Makefile.am
12432         * objects/network/Makefile.am
12433         * objects/standard/Makefile.am
12434         now builds better with gnome
12436         * objects/UML/class_dialog.c
12437         Fixed typo -> po files must be updated too!!
12438         
12439 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
12441         * lib/dummy_dep.h:
12442         Added reference so that widgets.o gets linked to the app.
12444 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12446         * objects/UML/classicon.c: 
12447         Added object mode.
12449         * objects/UML/actor.c: 
12450         Changed position of 'snap-to-grid' so connection points are
12451         in the grid.
12453 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
12455         * objects/UML/classicon.c:
12456         Changed position of 'snap-to-grid'.
12457         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
12458         
12459 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
12461         * objects/network/antenna.c
12462         * objects/network/flash.c
12463         * objects/network/hub.c
12464         * objects/network/modem.c
12465         * objects/network/modularswitch.c
12466         * objects/network/rj45plug.c
12467         * objects/network/scead-plug.c
12468         * objects/network/network.c
12469         * objects/network/Makefile.am
12470         * objects/network/pixmaps/antenna.xpm
12471         * objects/network/pixmaps/flash.xpm
12472         * objects/network/pixmaps/hub.xpm
12473         * objects/network/pixmaps/modem.xpm
12474         * objects/network/pixmaps/modularswitch.xpm
12475         * objects/network/pixmaps/rj45plug.xpm
12476         * objects/network/pixmaps/sceadplug.xpm
12477         * objects/network/pixmaps/Makefile.am
12478         Lots of new network objects from
12479         Roland Steinbach <roland@support-system.com>.
12481 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12483         * objects/UML/classicon.c: 
12484         Fixed connection positions, saved type as int (it has 3 states),
12485         and other small fixes.
12486         
12487 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
12489         * app/preferences.c:
12490         * app/load_save.c:
12491         Added preference compress_save. It lets dia save uncompressed
12492         xml files.
12494         * objects/UML/class.c:
12495         Fixed bug with size calculation on methods that had class scope.
12496         
12497 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12499         * objects/UML/usecase.c: 
12500         Added collaboration mode
12501         Fixed connection points with text > ellipse bug and other 
12502         small things
12504         * objects/UML/state.c:
12505         Fixed bug of bad position of text after being either end
12506         or begin, moved and returned to text
12508 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12510         * app/preferences.c: Add prototype declaration for prefs_apply.
12512 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
12514         * app/preferences.c:
12515         Added 'ok' button.
12516         Apply don't hide window.
12518         * app/properties.c:
12519         Add 'ok' button.
12521         * objects/UML/object.c:
12522         * objdcts/UML/state.c:
12523         Some data was not copied on copy.
12525         This patch is from
12526         Ben Hochstedler <benh@eeyore.moneng.mei.com>
12528 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
12530         * app/Makefile.am:
12531         Changed link order between X and libxml.
12532         Some people had problems with an old libz in their
12533         x11 directory.  
12535 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
12537         * po/no.po: updated translation.
12538         
12539 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
12541         * lib/message.c (message_error):
12542         Fixed small error.
12544         * app/commands.[ch]:
12545         * app/diagram.[ch]:
12546         Added begining of xfig importing
12548 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12550         * objects/UML/pixmaps/state.xpm: 
12551         * objects/UML/state.c: 
12552         New UML object state machine.
12554         * objects/UML/uml.c:
12555         * objects/UML/Makefile.am:
12556         * objects/UML/pixmaps/Makefile.am:
12557         Added the state object.
12558         
12559 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
12561         * objects/UML/usecase.c: 
12562         Added dialog to allow move text outside the ellipse.
12564 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
12566         * Released Dia 0.41
12567         Tag called DIA_0_41
12569         * NEWS:
12570         Updates for 0.41.
12571         
12572 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
12574         * configure.in:
12575         Updated version number to 0.41
12577         * po/*.po:
12578         Update po-files
12580 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
12582         * app/app_procs.c
12583         Changed errormessage for --export-to-ps. Removed call to 
12584         g_log_set_always_fatal().
12586         * app/diagram.c
12587         * app/disp_callbacks.c
12588         * app/load_save.c
12589         (i18n) Removed gettext from some debugmessages.
12591         * app/menus.c
12592         Small fix in GNOME-menus. Added warning that will help track
12593         problems with translations.
12595         * po/sv.po
12596         (i18n) Updated swedish translation.
12598 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
12600         * po/da.po:
12601         New updates
12603 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
12605         * po/da.po:
12606         * po/no.po:
12607         Some fixes.
12608         
12609 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
12611         * po/da.po:
12612         (i18n) Updated the danish translation.
12613         From Lars R. Clausen.
12615 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
12617         * app/menus.c
12618         (i18n) The popup menu is translated now.
12620         * po/sv.po
12621         (i18n) Updated swedish translation.
12623 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
12625         * Released Dia 0.40
12626         Tag called DIA_0_40
12628         * NEWS:
12629         Updated for new release
12630         
12631 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
12633         * objects/network/bus.c:
12634         Added initialization of properties dialog to NULL.
12636         * app/commands.c (edit_cut_callback):
12637         Update menu sensitivity when cut object.
12639         * app/modify_tool.c (click_select_object):
12640         * app/modify_tool.c (modify_button_release): 
12641         Call diagram_update_menu_sensitivity() when
12642         selecting objects to update stuff that depends
12643         on selected/not selected.
12645 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
12647         * Makefile.am:
12648         Change order of subdir so that libintl.a builds.
12649         Now passed make distcheck.
12651 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12653         * lib/font.c (init_x11_font):
12654         Stupid bug fixed.
12656 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12658         * objects/UML/pixmaps/classicon.xpm: 
12659         * objects/UML/classicon.c:
12660         * objects/UML/uml.c:
12661         Added the class stereotype icon objects.
12663         * app/commands.c:
12664         Changed default ps extension from .ps to .eps.
12665         
12666 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12668         * lib/Makefile.am:
12669         Added diamenu.h and intl.h
12671         * lib/font.c:
12672         Stupid typo fix.
12673         
12674         * objects/UML/pixmaps/Makefile.am:
12675         Added message.xpm
12677         * objects/standard/pixmaps/Makefile.am:
12678         Added image.xpm
12680 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12682         * lib/font.c:
12683         Use a scalable font before fixed when real font not found.
12685         * app/commands.c:
12686         Removed warning.
12688         * objects/standard/image.c:
12689         Better handling of loading/saving of images.
12691         * INSTALL:
12692         Added some text about cvs, fonts and rewrote some parts.
12694         * TODO:
12695         Updated with new stuff.
12696         
12697         * configure.in:
12698         Bump up version number to 0.40.
12699         
12700 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12702         * app/display.c:
12703         Moved diagram_add_ddisplay() call into new_display().
12704         Fixed new_display to not use uninitialized variables
12705         causing loaded files to show up as black (or garbage).
12706         
12707         * app/commands.c:
12708         * app/app_procs.c:
12709         Removed unneeded calls to diagram_add_ddisplay().
12710         
12711 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
12713         * objects/UML/lifeline.c:
12714         Fixed bug in copy.
12715         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
12717         * objects/UML/message.c:
12718         Fixed bug loading messages with null-text.
12719         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
12721 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
12723         * po/sv.po
12724         Updated swedish translation.
12726         * app/menus.c
12727         (GNOME) Removed help-browser from help menu. Fixed typo.
12729         * app/interface.c
12730         (GNOME) Accelerators in diagrams should work now. 
12732 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
12734         * app/app_procs.c
12735         * app/commands.c
12736         * app/defaults.c
12737         * app/disp_callbacks.c
12738         * app/display.c
12739         * app/interface.c
12740         * app/menus.c
12741         * app/preferences.c
12742         * app/render_eps.c
12743         * lib/diagramdata.c
12744         * lib/font.c
12745         * lib/message.c
12746         * lib/widgets.c
12747         * objects/ER/*.c
12748         * objects/UML/*.c
12749         * objects/network/*.c
12750         * objects/standard/*.c
12751         * po/update_pofiles_in.sh
12752         * po/POFILES.in
12753         More i18n. All strings (expect rare debug messages) can be
12754         translated now. Moved intl.h from app to lib. Updated
12755         update_pofiles_in.sh to check all .c-files.
12757 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
12759         * app/disp_callbacks.c (ddisplay_canvas_events):
12760         Don't drop keys while num-lock, scroll-lock etc is on.
12762 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
12764         * app/render_eps.c (draw_image):
12765         Fixed exporting of images.
12766         Still not perfect, but not outright buggy.
12767         
12768 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
12770         * configure.in:
12771         * po/hu.po:
12772         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
12774         * app/Makefile.am:
12775         Added $* to the dia call in run_dia.sh
12777 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
12778         
12779         * lib/color.[ch]:
12780         Added color_equals() call.
12782         * objects/standard/arc.c:
12783         * objects/standard/line.c:
12784         Don't save unneccesary data.
12785         
12786         * objects/standard/box.c:
12787         * objects/standard/ellipse.c:
12788         * objects/standard/image.c:
12789         * objects/standard/polyline.c:
12790         * objects/standard/zigzagline.c:
12791         Share properties dialog.
12792         Don't save unneccesary data.
12793         
12794 1999-03-22  Seth Alves  <alves@hungry.com>
12796         * app/menus.c:
12797         * app/diagram.c:
12798         * app/display.c:
12799         small changes so that gnome menus aren't broken
12800         
12801 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
12803         * po/da.po:
12804         Added danish translation from lrclause@cs.uiuc.edu.
12806         * po/POFILES.in:
12807         Updated file.
12809         * po/update_pofiles_in.sh:
12810         Added script that updates POFILES.in.
12811         This should probably be run automatically from somewhere.
12813 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
12815         * app/diagram.[ch]:
12816         Added function diagram_update_menu_sensitivity() which
12817         sets the sensitivity of some menu items. This function
12818         is called at each diagram state change (from diagram_modified()).
12819         This is needed  because otherwise the keyboard accelerators
12820         don't work correctly.
12822         * app/display.[ch]:
12823         Changed display_set_menu_sensitivity() to display_update_menu_state().
12824         Moved lots of code to diagram_update_menu_sensitivity() in
12825         diagram.c. Optimized to only look up menu-items from path:s once.
12826         
12827         * app/disp_callbacks.c:
12828         * app/interface.c:
12829         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
12830         Need to set GDK_FOCUS_CHANGE_MASK.
12831         
12832         * app/create_object.c:
12833         Call diagram_modified when an object has been created and
12834         selected so that the menu sensitivity is updated. 
12836         * app/menus.[ch]:
12837         removed menus_set_sensitive() and menus_set_state(). Exported
12838         renamed function menus_get_item_from_path().
12840 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
12842         * app/disp_callbacks.c:
12843         Show (empty) object menus on object that has none.
12844         Show title on object menus.
12846         * app/display.c:
12847         Set zoom factor correctly when opening new displays.
12848         Better setting of scrollbars.
12850         * app/grid.c:
12851         * app/menus.h:
12852         Some reformating cleanup.
12854         * lib/diamenu.h:
12855         Added title to object menus.
12857         * objects/*/*.c:
12858         Added object menu method (NULL-valued) to all objects.
12860         * objects/standard/polyline.c:
12861         Added title to object menu.
12863 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
12865         * app/preferences.[ch]:
12866         New files. Implements the preferences dialog and
12867         loading/saving of ~/.diarc.
12869         * app/Makefile.am:
12870         Added preferences.[ch].
12872         * app/app_procs.c:
12873         Load preferences on startup.
12875         * app/commands.[ch]:
12876         Added file_preferences_callback to show the preferences dialog.
12878         * app/create_object.c:
12879         Update extents when creating object.
12880         Use the reset_tools_after_create preferences setting.
12882         * app/display.c:
12883         Use preferences when creating new display.
12885         * app/menus.c:
12886         Add preferences to menu.
12888         * app/defaults.c:
12889         * app/layer_dialog.c:
12890         * app/properties.c:
12891         Don't allow shrinking of dialog.
12892         Add i18n of some strings.
12894 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
12895         * po/no.po:
12896         Norwegian translation added.
12897         
12898 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
12900         * objects/standard/line.c: 
12901         * objects/standard/arc.c: 
12902         * objects/standard/polyline.c: 
12903         * objects/standard/zigzagline.c:
12904         Loading of arrow data fixed.
12906 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
12908         * app/commands.c:
12909         Update extents when saving and exporting to postscript.
12910         Fixes a bug with postscript bounding-box being wrong.
12912         * app/defaults.c:
12913         Changed border width from 5 to 2.
12915         * app/group.c:
12916         Move grouped objects by the move-point of the first object.
12917         Fixes bug that made all objects in the group be off-grid
12918         when moving the group, even though all objects was on-grid.
12920         * app/layer_dialog.c:
12921         Update extents when changing layer.
12923 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
12925        * objects/UML/uml.c: 
12926        * objects/UML/component.c: 
12927        * objects/UML/pixmaps/component.xpm: 
12928        Added the UML component object
12929         
12930 1999-03-04  Seth Alves  <alves@hungry.com>
12932         * objects/UML/generalization.c (generalization_create): avoid
12933         math on uninitialized genlz->text_width (NaN causes sigfpe)
12934         
12935         * objects/UML/realizes.c (realizes_create): same
12937         * objects/UML/dependency.c (dependency_create): same
12939 1999-03-01  Seth Alves  <alves@hungry.com>
12941         * app/display.c (ddisplay_active): don't fly a warning panel
12942         if ddisplay_active is called when no views are open.
12944         * app/commands.c (set_default_file_selection_directory): set
12945         file selector's default directory if there is already
12946         a document open.
12948 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
12950         * INSTALL:
12951         New info about imlib requirements.
12953         * Configure.in:
12954         Added lib/pixmaps/Makefile to created makefiles.
12956         * app/app_procs.c:
12957         * app/commands.c:
12958         Change from obsoleted to newer gtk calls.
12959         
12960         * load_save.c:
12961         Pass filename of the diagram when loading and saving.
12962         This creates better oportunities to handle filename saving.
12964         * lib/object.h:
12965         Pass filenames to load and save methods.
12966         
12967         * lib/dia_image.[ch]:
12968         Added dia_image_get_broken() call that returns a image which
12969         is used for 'broken' images.
12970         
12971         * lib/pixmaps/.cvsignore:
12972         * lib/pixmaps/Makefile.am:
12973         * lib/pixmaps/broken.xpm:
12974         New files for the broken image bitmap.
12976         * lib/widgets.c:
12977         Fixed bug with double destroyed filedialog.
12979         * objects/*/*.c:
12980         Updated load and save prototypes to use the new filename argument.
12982         * objects/image.c:
12983         Render broken image instead of line when got no image.
12984         Use the new filename in load and save to save (if possible)
12985         relative pathnames and to better try to find loaded images.
12987 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
12989         * TODO:
12990         Some updates to the todo file.
12991         
12992         * app/menus.c:
12993         * app/display.c:
12994         Place over/place over => sent to back/bring to front.
12995         Added some keyboard shortcuts to menus.
12996         
12997 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
12999         * lib/dia_xml.c:
13000         Changed string saving/loading to a new method. This should
13001         be much better att handling &,<,> and whitespaces.
13002         Loading strings of the old kind is still supported for backwards
13003         compatibility.
13005         * samples/ER-demo.dia:
13006         * samples/UML-demo.dia:
13007         Updated to use the new strings.
13008         
13009         * app/load_save.c:
13010         statusbar modified update fix.
13012 1999-02-27  Seth Alves  <alves@hungry.com>
13014         * app/app_procs.c (app_init): added a --export-to-ps option
13015         which will cause dia to load a dia file and save it as ps
13016         and then exit.  this is a little bogus, because it still
13017         pops up a window.  this option only shows up if --enable-gnome
13018         is used
13020         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
13021         menu when built with --enable-gnome
13023         * app/interface.c (create_display_shell): build status bar
13024         even if --enable-gnome is used
13026         * app/menus.c: menu fixes for --enable-gnome
13028         * app/commands.c (file_open_dialog_ok_callback): fixed up
13029         menus when --enable-gnome is used
13030         (file_export_to_eps_callback): set a default file name
13031         when dialog is created
13033 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
13035         * objects/UML/association.c (association_create):
13036         Fixed usage of not initialized variable.
13037         Pointed out by Seth Alves <alves@hungry.com>.
13039 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
13041         * configure.in:
13042         Fixed detection of gnome-xml.
13043         From Valtteri Vuorikoski <vuori@k.notcom.org>.
13044         
13045         * app/app_procs.c:
13046         Fixed error detection on dlsym calls. 
13047         From Valtteri Vuorikoski <vuori@k.notcom.org>.
13049 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
13051         * objects/UML/message.c (fill_in_dialog):
13052         Fixed warnings.
13054 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
13056         * objects/standard/zigzagline.c:
13057         * objects/standard/polyline.c:
13058         * objects/standard/line.c:
13059         * objects/standard/arc.c:
13060         * lib/widgets.h:
13061         * lib/arrows.h:
13062         * lib/widgets.c:
13063         Support for sizeable arrows. 
13065         * objects/standard/box.c:
13066         * objects/standard/ellipse.c:
13067         * objects/standard/image.c:
13068         Changed creation handle to lower-right.
13069         Transparent box/ellipse.
13070         
13071         * objects/standard/image.c:
13072         Better layout of properties boxes.
13074 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
13076         * objects/UML/message.c (fill_in_dialog): 
13077         Fixed dialog fill in. Common dialog for all messages.
13079         * objects/UML/object.c: 
13080         Added multiple instance. Dialog related bugs fixed.
13081         Common dialog for all instances. Completed copy and destroy.
13083         * objects/UML/lifeline.c (lifeline_load): 
13084         Conn initialization bug fixed and few bad loading prevention flags.
13085         Common dialog for all lifeline objects.
13086         
13087 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
13089         * lib/dia_image.[ch]:
13090         More work on the DiaImage abstraction.
13091         
13092         * app/app_procs.c:
13093         * app/render_eps.c:
13094         * app/render_gdk.c:
13095         * objects/standard/image.c:
13096         Use the new DiaImage calls.
13098 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
13100         * app/menus.c:
13101         * app/display.c:
13102         Reversed the meaning of align horizontal/vertical.
13104 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
13106         * app/load_save.c (diagram_load):
13107         Statusbar update fix.
13109 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
13111         * app/interface.c (create_display_shell):
13112         Fixed status bar size.
13113         
13114 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
13116         * lib/dia_image.[ch]:
13117         Added extern declaration for dia_image_release.
13118         Removed dia_image_draw, as it's not neseccary.
13120 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
13121         
13122         * app/object_ops.c: 
13123         * app/menus.c: 
13124         Added equal distance alignment both vertical and horizontal.
13125         
13126         * objects/UML/object.c: 
13127         Added a couple of attributes to load/read that were missing.
13129         * objects/UML/lifeline.c: 
13130         Better handling of handles. Fixed another bug I forgot to add
13131         to my last patch.
13132         
13133 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
13135         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
13136         
13137         * lib/dia_image.[ch]:
13138         * lib/Makefile.am:
13139         New files. DiaImage wraps the GdkImlibImage.
13141         * lib/render.h:
13142         * app/render_eps.c:
13143         * app/render_gdk.c:
13144         * lib/render_store.[ch]:
13145         * objects/standard/image.c:
13146         Use the new DiaImagetype.
13148         * lib/widgets.c:
13149         Removed unused variable to eliminate  warning.
13151 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
13153         * objects/standard/box.c:
13154         Added rounded corners on the box object.
13156         * lib/widgets.[ch]:
13157         Updated the DiaFileSelector widget.
13158         
13159 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
13161         * objects/UML/object.c (objet_draw): 
13162         Completed underlining of all object name lines. 
13164         * objects/UML/message.c (fill_in_dialog): 
13165         Fixed a bug that filled incorrectly the message's dialog.
13167         * objects/UML/lifeline.c (lifeline_load): 
13168         Some cleanning and fixed a couple of bugs that caused
13169         crashes after reading diagrams with lifelines.
13171         * lib/text.c: 
13172         Added flags to prevent crash with void strings
13174 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
13175         * app/display.[ch]:
13176         Added statusbar to the display widget. Currently shows the zoom
13177         factor and modified flag of the viewed diagram. The statusbar is
13178         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
13179         This caused the following additions:
13180         
13181         * app/diagram.[ch]:
13182         Added function diagram_set_modified. Calls
13183         ddisplay_update_statusbar for all displays showing the modified diagram.
13184         Changed diagram_modified to call diagram_set_modified.
13185         
13186         * app/interface.c:
13187         Added the creation of the statusbar.
13188         
13189         * app/load_save.c:
13190         diagram_save now calls diagram_set_modified instead of setting
13191         dia->modified. Needed to force call to display_update_statusbar
13192         
13193         * app/commands.c:
13194         Changed the way view_show_all works. Now calls ddisplay_zoom
13195         instead of directly setting the zoom_factor, so the zoom factor is
13196         correctly shown in the statusbar.
13198         * app/magnify.c:
13199         Fixed rubberband zoom to use ddisplay_zoom().
13200         
13201 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
13203         * app/app_procs.c
13204         Rudimentary GNOME session management.
13205         
13206         * app/disp_callbacks.c
13207         * app/interface.c
13208         * app/menus.c
13209         * app/menus.h
13210         GNOME menus. Problems: 
13211         Callbacks doesn't get user_data.
13212         Weird warnings when creating popup menus.
13213         menus_set_sensitive(), menus_set_state() doesn't work.
13215 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
13217         * configure.in:
13218         Add AM_PATH_GDK_IMLIB() call.
13220         * app/Makefile.am:
13221         Add gdk_imlib to linking flags.
13223         * app/app_procs.c:
13224         Init gdk_imlib.
13225         Print library-loading error messages on stdout too.
13227         * app/interface.c:
13228         Add standard image to toolbox.
13229         
13230         * app/render_eps.c: 
13231         Set a more reasonable dot length.  Fixed
13232         missing initialization of dot length.
13233         Added draw_image methods.
13235         * app/render_gdk.c (new_gdk_renderer): 
13236         Dot a bit wider.  Looks good in normal mode now.
13238         * objects/standard/image.c:
13239         * objects/standard/pixmaps/image.xpm:
13240         New files. Standard object for images.
13241         
13242         * app/render_eps.c (set_linestyle):
13243         * app/render_gdk.c (set_linestyle):
13244         * lib/widgets.c (dia_line_style_selector_init): 
13245         * lib/render.h: 
13246         New line style DOTTED.
13248         * lib/render.h:
13249         * lib/render_store.c:
13250         Change DrawImage call to use gdk_imlib.
13252         * lib/widgets.[ch]:
13253         Added widgets for selecting files.
13254         Added dotted to the linestyle selector.
13256 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
13258         * objects/network/printer.c:
13259         * objects/network/network.c:
13260         * objects/network/pixmaps/printer.xpm:
13261         * objects/network/.cvsignore:
13262         * objects/network/Makefile.am:
13263         * objects/network/pixmaps/Makefile.am:
13264         New printer object in network.
13265         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
13267         * TODO:
13268         Added known XML bug.
13269         
13270 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
13272         * app/load_save.c:
13273         * lib/dia_xml.c:
13274         Reverted back from #include <gnome-xml/tree.h> to
13275         #include <tree.h> as this is fixed by the xml-config program.
13276         The former way broke for some people.
13277         Reported by blizzard@redhat.com.
13279         * objects/UML/lifeline.c:
13280         * objects/UML/message.c:
13281         * objects/UML/object.c:
13282         Removed some warnings.
13283         
13284 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
13286         * objects/UML/lifeline.c: 
13287         Fixed connection points over the life line when the focus of
13288         control is not drawn.
13290         * objects/UML/message.c: 
13291         Now a recursive message can be freely resized using the handles.
13293 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
13295         * objects/UML/lifeline.c:
13296         Added connection points.
13297         Added properties dialog with the option to draw/hide focus of control
13298         box and destruction mark.
13300         * objects/UML/object.c: 
13301         Added properties dialog and stereotype, explicit state and attributes. 
13302         It's also possible to mark the object as active.
13304         * objects/UML/pixmaps/object.xpm: 
13305         Cosmetic change.
13307         * objects/UML/message.c:
13308         Added "recursive" message type (was not necessary to use OrthConn).
13310 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
13312         * objects/standard/arc.c:
13313         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
13315 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
13317         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
13318         
13319         * app/load_save.c:
13320         * lib/dia_xml.c:
13321         Update xml includes to gnome-xml/*.h.
13323         * objects/standard/arc.c:
13324         Only one property dialog per type.
13325         Fix arrows directions.
13327         * objects/standard/box.c:
13328         * objects/standard/ellipse.c:
13329         * objects/standard/textobj.c
13330         Added default properties dialog.
13331         
13333 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
13335         * objects/UML/Makefile.am: 
13336         * objects/UML/uml.c:
13337         * objects/UML/lifeline.c: 
13338         * objects/UML/object.c: 
13339         * objects/UML/message.c:
13340         * objects/UML/pixmaps/lifeline.xpm: 
13341         * objects/UML/pixmaps/object.xpm: 
13342         * objects/UML/pixmaps/message.xpm:
13343         Added 3 new UML objects for dynamic modeling. To avoid internal 
13344         conflicts, the name "objet" is used for object "object".        
13346         * lib/arrows.[ch]: 
13347         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
13348         UML messages.
13349         
13350 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
13352         * app/display.[ch]:
13353         * app/modify_tool.c:
13354         Added autoscrolling while doing rubber-band select.
13355         This patch from Matthias Köster
13356         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
13357         
13359 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
13361         * app/defaults.[ch]:
13362         New files, deals with default properties dialog.
13364         * lib/diamenu.h:
13365         New file. Contains definitions for the new object menu.
13367         * lib/poly_conn.[ch]:
13368         New file. Base class for poly-line like objects.
13370         * objects/standard/polyline.c:
13371         * objects/standard/pixmaps/polyline.xpm:
13372         New files. Polyline object.
13374         * app/app_procs.c:
13375         Fixed bug with infinite loop when registering sheets.
13376         
13377         * app/commands.c:
13378         Removed unneccesary stuff.
13380         * app/disp_callbacks.c:
13381         Support for object menus.
13383         * app/interface.c:
13384         Added polyline to toolbox.
13385         Added call to tool_options_dialog_show() when double clicking on
13386         tool.
13388         * app/tool.[ch]:
13389         New function tool_options_dialog_show() for tool properties.
13391         * lib/arrows.[ch]:
13392         Added ARROW_NONE.
13394         * lib/object.h:
13395         Added ObjectType methods for handling object default dialogs.
13396         Added Object method for handling object_menu.
13397         Added unused methods to ObjectTypeOps for future binary
13398         compatibility.
13400         * lib/widgets.[ch]:
13401         Added DiaArrowTypeSelector widget.
13403         * objects/standard/arc.c:
13404         * objects/standard/zigzagline.c:
13405         Added support for default properties.
13407         * objects/standard/line.c:
13408         Added support for default properties.
13409         Just use one properties dialog for all line objects. NOTE: This
13410         seems to have a bug. We're working on it.
13412         * standard/standard.c:
13413         Add the polyline object.
13415 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
13417         * app/modify_tool.c:
13418         Commented out buggy transitive select function. It wasn't really
13419         meant to go into cvs.
13420         
13422 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
13424         * autogen.sh:
13425         * acconfig.h:
13426         * configure.in:
13427         * Makefile.am:
13428         * app/Makefile.am:
13429         * po/POTFILES.in:
13430         * app/intl.h
13431         i18n-support.
13433         * po/sv.po:
13434         Swedish translation. Not completed.
13435         
13436         * configure.in:
13437         * acconfig.h:
13438         Added possibility to enable GNOME specific code with configure.
13440         * configure.in:
13441         Added possibility to set debug level with configure.
13443         * commands.[hc]:
13444         Added about dialog.
13446         * app_procs.c
13447         * commands.c
13448         * interface.c
13449         * menus.c
13450         Added some GNOME specific code. Not ready for use.
13452 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
13454         * INSTALL:
13455         Added text about needing gtk 1.1.13 and gnome-xml.
13456         
13457         * NEWS:
13458         Described changes since last version (0.20).
13460         Released version 0.30, tagged DIA_0_30.
13462 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
13464         * app/magnify.c (magnify_button_release):
13465         Fixed a problem when zooming in on a very small box would
13466         not release the grabbed pointer-focus.
13468 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
13470         * app/load_save.c (diagram_load):
13471         Be somewhat more robust when loading files that
13472         are not diagrams.
13473         
13474 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
13476         * app/app_procs.c:
13477         * objects/ER/er.c:
13478         * objects/UML/uml.c:
13479         * objects/network/network.c:
13480         * objects/standard/standard.c:
13481         Added versioning of object libraries.
13483         * app/create_object.c:
13484         Don't change tool when an object is created.
13485         
13486         * objects/network/network.c:
13488         * TODO:
13489         Update
13491 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
13493         * configure.in:
13494         Updated gtk requirement to Gtk+ 1.1.13.
13496         * app/display.c:
13497         Always add one screenful of scrolling space on
13498         each side of a diagram window.
13500 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
13502         * autogen.sh:
13503         Tell automake to auto-install missing files.
13505         * app/menus.c:
13506         Renamed deprecated Gtk+ function.
13508 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
13510         * Makefile.am:
13511         * configure.in:
13512         * samples/Makefile.am:
13513         * samples/ER-demo.dia:
13514         * samples/UML-demo.dia:
13515         Added samples directory.
13516         Added samples for ER and UML.
13517         
13518         * app/commands.c:
13519         * app/disp_callbacks.c:
13520         * app/menus.c:
13521         Zoom is done by sqrt(2) instead of 2.
13522         Lots of more zoom options in the menu.
13524         * objects/ER/relationship.c:
13525         Relationships have 8 connectionpoints instead of 4.
13527         * objects/UML/class.c:
13528         UML class name font a bit smaller.
13529         Fixed stupid bug in the copy operation.
13530         
13531         * app/display.c:
13532         Displays are opened at 500x400 instead of 256x256.
13534         * app/load_save.c:
13535         Fixup of internal error message.
13537         * app/color_area.c:
13538         * app/diagram.c:
13539         * app/modify_tool.c:
13540         * lib/object.c:
13541         Removed debug printf's.
13542         
13543         * TODO (BUGS):
13544         Added new known bug.
13546 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
13548         * app/interface.c:
13549         * app/menus.c:
13550         Fixed so accelerator groups work in all windows.
13551         Updated to new gtk function names.
13553         * TODO (BUGS):
13554         Removed fixed bug.
13556         * app/display.c:
13557         Updated to new gtk function names.
13558         Set sensitivity of the align menu items.        
13560         * objects/ER/pixmaps/Makefile.am:
13561         * objects/UML/pixmaps/Makefile.am:
13562         * objects/network/pixmaps/Makefile.am:
13563         Fix so that make dist works.
13565         * app/app_procs.c:
13566         * app/color_area.c:
13567         * app/commands.c:
13568         * app/diagram.c:
13569         * app/grid.c:
13570         * app/layer_dialog.c:
13571         * app/load_save.c:
13572         * app/object_ops.c:
13573         * app/properties.c:
13574         * lib/diagramdata.[ch]: 
13575         * lib/message.c:
13576         * lib/objects/ER/attribute.c:
13577         * lib/objects/ER/entity.c:
13578         * lib/objects/ER/participation.c:
13579         * lib/objects/ER/relationship.c:
13580         * lib/objects/ER/.c:
13581         * objects/UML/actor.c:
13582         * objects/UML/association.c:
13583         * objects/UML/class_dialog.c:
13584         * objects/UML/dependency.c:
13585         * objects/UML/generalization.c:
13586         * objects/UML/large_package.c:
13587         * objects/UML/realizes.c:
13588         * objects/UML/.c:
13589         * objects/UML/.c:
13590         Updated to new gtk function names.
13591         Removed warnings.
13593 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
13595         * TODO:
13596         Update TODO.
13598         * app/app_procs.c:
13599         Fixed loading of diagrams specified as arguments.
13601         * objects/ER/attribute.c:
13602         * objects/ER/entity.c:
13603         * objects/ER/er.c:
13604         * objects/ER/participation.c:
13605         * objects/ER/relationship.c:
13606         Updated the ER objects.
13607         
13609 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
13611         * configure.in:
13612         * app/Makefile.am:
13613         * objects/Makefile.am:
13614         * objects/ER/attribute.c:
13615         * objects/ER/entity.c:
13616         * objects/ER/er.c:
13617         * objects/ER/participation.c:
13618         * objects/ER/relationship.c:
13619         * objects/ER/pixmaps/Makefile.am:
13620         * objects/ER/pixmaps/attribute.xpm:
13621         * objects/ER/pixmaps/entity.xpm:
13622         * objects/ER/pixmaps/participation.xpm:
13623         * objects/ER/pixmaps/relationship.xpm:
13624         * objects/ER/pixmaps/weakentity.xpm:
13625         First commit of entity relationship objects.
13626         These were done by hallon@lysator.liu.se.
13627         There are still stuff to do on these.
13628         
13629 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
13631         * TODO:
13632         Updates.
13634         * app/diagram.[ch]:
13635         Change diagram_remove_all_selected to take new argument
13636         delete_empty. Empty objects are deleted only if it is TRUE.
13637         Removed call to close_eps_renderer. This is now done in end_render
13638         in the eps renderer.
13640         * app/create_object.c:
13641         * app/layer_dialog.c:
13642         Update calls to diagram_remove_all_selected.
13644         * app/commands.c:
13645         Update calls to diagram_remove_all_selected.
13646         Some code reformating.
13647         Changed order of adding updates i align_h and align_v.
13649         * app/modify_tool.c:
13650         Update calls to diagram_remove_all_selected.
13651         Added pointer grab when doing rubber-band selection, this fixes
13652         the bug when draging the box over to another window.
13654         * app/connectionpoint_ops.[ch]:
13655         diagram_update_connections_object changed to take an argument
13656         update_nonmoved. This lets connections that has not moved, but
13657         the stuff they're connected to has been moved work.
13658         Update calls to the new diagram_update_connections_object.
13660         * app/properties.c:
13661         Update calls to the new diagram_update_connections_object.
13662         Update extents when properties are applied.
13663         
13664         * app/disp_callbacks.c:
13665         Added support for zooming with the '+' and '-' keys.
13667         * app/menus.c:
13668         Removed old keyboard shortcuts for zoom.
13670         * lib/render.h:
13671         Added calls begin_render and end_render to renderer.
13672         These can be used for setup and cleanup.
13674         * lib/diagramdata.c:
13675         Added calls to begin_render and end_render in data_render.
13677         * app/render_gdk.c:
13678         Added begin_render and end_render.
13680         * app/render_eps.[ch]:
13681         Added begin_render and end_render.
13682         Moved close_eps_renderer code to end_render.
13683         Various fixes to the generated eps code. This fixes importing
13684         generated eps into LYX.
13685         
13686 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
13688         * TODO:
13689         Update of todo.
13690         
13691         * app/menus.c:
13692         Menus for alignment updated.
13694         * app/object_ops.[ch]:
13695         Functions for object alignment updated.
13697         * app/commands.[ch]:
13698         Object alignment callbacks updated.
13699         New diagrams are called Untitled-<nr>.
13701         * app/layer_dialog.c:
13702         Active layer selected when showing layers from new
13703         diagram.
13705         * app/load_save.c:
13706         Compress xml files when saving.
13707         Use xml namespace 'dia'.
13709         * lib/object.h:
13710         Minor comment update.
13712         * objects/UML/class_dialog.c:
13713         Cleanup of the gkt_list_item moving code.
13714         Fixed bug with update of operation when moving parameters.
13716 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
13718         * app/layer_dialog.[ch]:
13719         Fixed the rest of the layers dialog.
13721         * app/dialog.c:
13722         Added call to redo layer dialogs diagram list when changing
13723         diagram name.
13725         * lib/diagramdata.[ch]:
13726         Added data_raise_layer and data_lower_layer functions for
13727         raising/lowering layers. Added data_add_layer_at for adding a
13728         layer at a specified index.
13730 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
13732         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
13733                 
13734         * app/app_procs.c:
13735         Added support for reading diagrams from the command line.
13737 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
13739         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
13740                 
13741         * app/commands.[ch]:
13742         Added objects_align_callback().
13744         * app/menus.c:
13745         Added align objects to menu.
13747         * app/object_ops.[ch]:
13748         Add object_list_align().
13749         
13750 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
13751         * app/layer_dialog.[ch]:
13752         New files. Handles the layers dialog. Needs a bugfix for glib to
13753         work. Sent patch to gtk-list.
13754         
13755         * app/pixmaps/new.xpm:
13756         * app/pixmaps/eye.xbm:
13757         * app/pixmaps/lower.xpm:
13758         * app/pixmaps/raise.xpm:
13759         * app/pixmaps/delete.xpm:
13760         New files. Images for the layer dialog buttons.
13761         
13762         * lib/diagramdata.h
13763         * lib/diagramdata.c
13764         New files for the DiagramData and Layer structures and functions.
13765         
13766         * app/app_procs.c:
13767         Added call to create_layer_dialog() on startup.
13768         
13769         * app/commands.[ch]:
13770         New callbacks for showing the properties and layout dialog.
13771         Changes for the new DiagramData structure.
13773         * app/connectionpoint_ops.c:
13774         * app/cut_n_paste.c:
13775         * app/diagram.[ch]:
13776         * app/display.[ch]:
13777         * app/group.c:
13778         * app/modify_tool.c:
13779         * app/object_ops.[ch]:
13780         * app/render_eps.c:
13781         * lib/object.[ch]:
13782         Changes for the new DiagramData structure.
13784         * app/interface.c:
13785         * app/properties.c:
13786         Set correct wmclasses.
13788         * app/load_save.c:
13789         Fix load and save of layers.
13791         * diagram.dtd:
13792         Update DTD for layers.
13793         
13794         * app/menus.c:
13795         New menus for dialogs.
13797         
13798         * TODO:
13799         Some updates.
13800         
13801 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
13803         * TODO:
13804         Removed the gtk 1.1.5 stuff.
13806         * configure.in:
13807         Updated gtk check to version 1.1.5.
13808         Updated version from 0.20 to 0.30
13810         * app/commands.[ch]:
13811         Updated some callbacks to be of type GtkItemFactoryCallback1.
13812         Not all are done yet, but it works anyway.
13814         * app/display.h:
13815         Removed Gtk 1.0.0 GtkAcceleratorTable references.
13816         
13817         * app/interface.c:
13818         * app/menus.[ch]:
13819         Update to Gtk 1.1.x functions.
13820         Use ItemFactory instead of MenuFactory.
13821         
13822         * app/render_gdk.c:
13823         Removed Gtk 1.0.0 references.
13825         * objects/UML/class_dialog.c:
13826         Scrolled window updates for Gtk 1.1.5.
13827         
13828         * lib/dia_xml.c:
13829         Removed ugly fix for gnome-xml bug. Make sure you get the
13830         newest version of gnome-xml from CVS.
13831         
13832 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
13834         * TODO:
13835         Removed the xml load/save line.
13837         * lib/files.[ch]:
13838         Removed files.
13839         
13840         * lib/Makefile.am:
13841         Removed building of files.c
13843         * app/load_save.c:
13844         * lib/connection.c:
13845         * lib/element.c:
13846         * lib/object.c:
13847         * lib/orth_conn.c:
13848         * lib/render_object.c:
13849         * objects/UML/actor.c:
13850         * objects/UML/association.c:
13851         * objects/UML/class.c:
13852         * objects/UML/constraint.c:
13853         * objects/UML/dependency.c:
13854         * objects/UML/generalization.c:
13855         * objects/UML/implements.c:
13856         * objects/UML/large_package.c:
13857         * objects/UML/note.c:
13858         * objects/UML/realizes.c:
13859         * objects/UML/small_package.c:
13860         * objects/UML/uml.c:
13861         * objects/UML/usecase.c:
13862         * objects/network/bus.c:
13863         * objects/standard/arc.c:
13864         * objects/standard/box.c:
13865         * objects/standard/ellipse.c:
13866         * objects/standard/line.c:
13867         * objects/standard/textobj.c:
13868         * objects/standard/zigzagline.c:
13869         Removed all includes of files.h
13871         
13872 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
13874         * dialog.dtd:
13875         Made the val property of string be implied.
13876         This makes it possible to save strings that
13877         are NULL. Just leave out val.
13879         * objects/lib/dia_xml.c:
13880         Fixed string so that it is possible to save strings
13881         that are NULL. Also made an ugly workaround of a
13882         bug in gnome-xml which removes empty properties.
13883         
13884         * objects/lib/orth_conn.c:
13885         Fixed a bug in saving. Forgot to step through the
13886         directions.
13887         
13888         * objects/UML/association.c: 
13889         * objects/UML/class.c: 
13890         * objects/UML/constraint.c: 
13891         * objects/UML/dependency.c: 
13892         * objects/UML/generalization.c: 
13893         * objects/UML/implements.c: 
13894         * objects/UML/large_package.c: 
13895         * objects/UML/note.c: 
13896         * objects/UML/small_package.c:
13897         * objects/UML/realizes.c:
13898         * objects/UML/usecase.c: 
13899         * objects/UML/actor.c: 
13900         Fixed UML objects to save as xml.
13901         The last two were done by asierra@servidor.unam.mx (asierra-981204)
13902         
13903         * objects/UML/uml.[ch]:
13904         Updated *_write() and *_read() functions to use xml.
13906         * objects/network/bus.c: 
13907         * objects/network/computer.c: 
13908         * objects/network/disc.c: 
13909         * objects/network/monitor.c:
13910         Updated network diagrams to use xml.
13912 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
13914         * dialog.dtd:
13915         New file. DTD that describes the xml file format
13916         dia uses.
13918         * lib/dia_xml.[ch]:
13919         New files. Support for saving object to xml files.
13921         * configure.in:
13922         * app/Makefile.am:
13923         * lib/Makefile.am:
13924         Added check for and usage of gnome-xml library.
13926         * app/load_save.c:
13927         Major chages. Now saves/loads diagrams as xml.
13929         * lib/object.[ch]:
13930         * lib/element.[ch]:
13931         * lib/connection.[ch]:
13932         * lib/orth_conn.[ch]:
13933         * lib/render_object.[ch]:
13934         * lib/text.[ch]:
13935         Updated object support load/save functions for xml:
13937         * object/standard/arc.c:
13938         * object/standard/box.c:
13939         * object/standard/ellipse.c:
13940         * object/standard/line.c:
13941         * object/standard/textobj.c:
13942         * object/standard/zigzagline.c:
13943         Updated all standard objects to use xml.
13944         
13945         NOTE NOTE NOTE
13946         Only the standard objects are converted right now, don't
13947         save or load uml or network diagrams yet. Also, since this
13948         is new code it is deemed a bit unstable.
13949         
13950         * TODO
13951         Added a know bug.
13953 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
13955         * objects/UML/class.c:
13956         Changed classname font to Helvetica.
13957         Added more space above the classname
13959         * objects/UML/usecase.c:
13960         Correct placements of connectionpoints on ellipse.
13961         Better algorithm for deciding aspect ration on
13962         ellipse.
13964         These changes were made by Alejandro Aguilar Sierra
13965         <asierra@servidor.unam.mx>. (asierra-981201)
13967 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
13969         * objects/UML/actor.c:
13970         Changed the extents and alignment of the element
13971         and the text.
13973         * objects/UML/.cvsignore:
13974         Added usecase.lo and actor.lo.
13976 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
13978         * objects/UML/actor.c:
13979         * objects/UML/usecase.c:
13980         * objects/UML/pixmaps/actor.xpm:
13981         * objects/UML/pixmaps/case.xpm:
13982         New files. Implements usecase and actor UML objects.
13983         These objects are done by Alejandro Aguilar Sierra
13984         <asierra@servidor.unam.mx>.
13985         
13986         * objects/UML/Makefile.am:
13987         * objects/UML/pixmaps/Makefile.am:
13988         Added usecase and actor to makefile.
13989         
13990         * AUTHORS:
13991         Added Alejandro and Jerome to autors list.
13992         
13993 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
13995         * objects/UML/class.c (umlclass_load):
13996         Fixed typo. Reported by Jerome.Abela@solsoft.fr
13998 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
14000         * app/properties.c:
14001         Update connections when doing apply in the properties window.
14003         * objects/UML/uml.[ch]:
14004         * objects/UML/class.[ch]:
14005         * objects/UML/class_dialog.c:
14006         Added connection points on both sides of attributes and
14007         operations in UML classes.
14008         Based on idea from Jerome.Abela@solsoft.fr
14009         
14010 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
14012         * README:
14013         Some new documentation about handles and connectionpoints.
14014         
14015         * lib/object.[ch]:
14016         Added functions object_add_connectionpoint and
14017         object_remove_connectionpoint for handling a dynamic
14018         number of connectionpoints.
14020         * objects/UML/class.c:
14021         Only reserve space for stereotype when it is shown.
14023         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
14025 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
14027         * app/connectionpoint_ops.c:
14028         * app/commands.c:
14029         * app/disp_callbacks.c:
14030         * app/display.[ch]:
14031         * app/grid.c:
14032         * app/handle_ops.c:
14033         * app/magnify.c:
14034         * app/modify_tool.c:
14035         * app/render_gdk.[ch]:
14036         * lib/render.h:
14037         Huge cleanup of internal rendering system.
14038         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
14039         This gives a few new methods for Interactive Renderers for setting
14040         clipping regions and drawing pixel based lines and rects.
14041         Updated the rest of the code to use the new stuff.
14042         
14043         * app/render_eps.c:
14044         Fixed warning.
14046         * lib/widgets.c:
14047         * objects/standard/zigzagline.c
14048         Fixed unused variable warnings.
14050         * lib/font.c:
14051         Fixedbug with stringwidth where width==0.
14053         * TODO:
14054         Added known bug.
14056 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
14058         * lib/widgets.[ch]:
14059         Added suppot for setting the font of a
14060         DiaFontSelector widget.
14061         Also fixed some typos in the header.
14063         * lib/object.h: 
14064         Added a comment about the GetPRoperties method call.
14065         You have to make sure to update widget state when
14066         this method is called. (Not all objects do this yet,
14067         to be fixed.)
14069         * TODO:
14070         Some small updates
14072 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
14074         * lib/font.c
14075         Fixed problem with height of ascent and descent for fonts.
14076         It didn't use the whole height (==ascent+descent) when calculatine
14077         ascent_ratio and descent_ratio.
14079         * objects/standard/textobj.c:
14080         * objects/standard/box.c:
14081         * objects/standard/ellipse.c:
14082         * objects/standard/line.c:
14083         * objects/standard/arc.c:
14084         Updated and added property dialogs for these objects.
14085         Also added line width/color/style to those objects
14086         that didn't have it.
14087         This change breaks fileformat compatibility for these objects.
14088         
14089         * objects/standard/zigzagline.c:
14090         Changed zigzagline to be based on OrthConn, much nicer.
14091         Also added line style and color to properties.
14092         This change breaks fileformat compatibility for zigzagline.
14094         * lib/message.c:
14095         Fixed bug in message(). Forgot a pair of '&'.
14097 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
14099         * lib/widgets.[ch]:
14100         Added DiaColorSelector widget.
14101         This is a colored button that pops up a color selection
14102         dialog when pressed.
14104 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
14106         * lib/widgets.[ch]:
14107         * lib/Makefile.am:
14108         New files, added widgets for selecting fonts, alignment
14109         and line-style. Will be used later.
14111 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
14113         * app/Makefile.am:
14114         * lib/Makefile.am:
14115         * objects/UML/Makefile.am:
14116         * objects/network/Makefile.am:
14117         * objects/standard/Makefile.am:
14118         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
14119         in all Makefile.am.
14121 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
14123         * app/handle_ops.c (handle_draw):
14124         connected HANDLE_MINOR_CONTROL also becomes red.
14126 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
14128         * Makefile.am:
14129         removed -ldl from linking. This is added if needed by configure.
14131         * app/app_procs.c:
14132         Open dlls with RTLD_LAZY if it is defined.
14133         Some cleanups: char *error -> const char *error
14134         Added fprintf()'s to where we exited because of errors.
14136         * lib/files.c:
14137         Include <sys/types.h>
14139 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
14141         * acconfig.h:
14142         * configure.in:
14143         * app/app_procs.c:
14144         Detect dlopen better.
14145         Detect wether dlopen needs an underscore in the identifier.
14146         This code was mostly borrowed from guile.
14148         * lib/sheet.[ch]:
14149         * app/app_procs.c:
14150         * objects/standard/standard.c:
14151         * objects/network/network.c:
14152         * objects/UML/uml.c:
14153         * most objects:
14154         Changed the way sheets reference objects to use just the
14155         name. Changed module loading to a two stage model:
14156         First register_objects() is called for all modules.
14157         Then register_sheets() is called. This means that
14158         sheets can safely include objects from other modules.
14159         
14161 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
14163         * objects/network/bus.c:
14164         * objects/network/network.c:
14165         * objects/network/Makefile.am:
14166         New file bus.c. Added new object: Ethernet bus.
14168         * objects/standard/box.c:
14169         Added call to gtk_spin_button_set_numeric for linewidth spinner
14170         in property dialog.
14172 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
14174         * app/connectionpoint_ops.c:
14175         * app/create_object.c:
14176         * app/group.c:
14177         * app/handle_ops.c:
14178         * app/modify_tool.c:
14179         * lib/connection.c:
14180         * lib/element.c:
14181         * lib/handle.h:
14182         * lib/object.c:
14183         * lib/orth_conn.c:
14184         * loads of objects:
14185         Changed handle->connectable to handle->connect_type.
14186         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
14187         that their connections don't break when moving objects.
14189         * app/diagram.c:
14190         Always select the last handle in an object that has
14191         the closest distance.
14192         
14193         * lib/geometry.[ch]:
14194         Added rectangle_add_point function.
14195         
14197 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
14199         * app/properties.[ch]: New files. Handles the new properties
14200         dialog.
14202         * app/modify_tool.c: Changed to use new properties dialog.
14204         * app/object_ops.[ch]: Removed object_changed_callback, as it's
14205         not needed anymore. This is now handled differently in
14206         properties.c
14208         * lib/object.[ch]:
14209         Changed the properties ops for objects. Removed typedefs
14210         ChangedObjectTime and ObjectChangedFunc needed for the old way.
14211         Added object_return_null function.
14212         
14213         * app/group.c:
14214         * lib/render_object.c:
14215         * objects/*/*.c:
14216         Changed objects to use the new properties dialog.
14217         
14219 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
14221         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
14222         builddir.
14224         * autogen.sh: New file. Copied from gtk and added a call to
14225         libtoolize. Anyone knows why this isn't done in gtk?
14227         * Removed autogenerated files.
14229 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
14231         * Added call setlocale(LC_NUMERIC, "C") so that formating of
14232           floating-point numbers in postscript output will be correct.
14233         * Did some cleanup of generated postscript files.