1 2004-08-26 Steffen Macke <sdteffen@web.de>
3 * app/makefile.msc: using /subsystem:windows again
4 * makefile.msc: updated ALL_LINGUAS
6 2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
8 * configure.in: Add «nb» to ALL_LINGUAS.
10 2004-08-21 Steffen Macke <sdteffen@web.de>
12 * plug-ins/dxf/dxf-export.c: Patch from
13 Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
15 2004-08-17 Lars Clausen <lars@raeder.dk>
24 2004-08-13 Ankit Patel <ankit@redhat.com>
26 * configure.in: Added "gu" in ALL_LINGUAS.
28 2004-08-07 Lars Clausen <lars@raeder.dk>
35 * NEWS: New release 0.94-pre6
37 2004-08-07 Lars Clausen <lars@raeder.dk>
39 * app/highlight.c (highlight_reset_objects): Unhighlight inside
43 * plug-ins/shape/shape-export.c: String capitalization fix from
44 Alan Horkan <horkana@tcd.ie>
46 * objects/UML/class.c (umlclass_show_comments_callback): Make UML
47 Class object menu kinda work, rather than blow up. Doesn't do a
48 proper undoable change yet.
50 2004-08-06 Lars Clausen <lars@raeder.dk>
52 * app/filedlg.c (file_save_as_callback): Don't remove related
53 dialogs from the NULL diagram.
55 2004-08-02 Lars Clausen <lars@raeder.dk>
61 * NEWS: Pre5 with leak fix.
63 * lib/font.c (dia_font_build_layout): Don't try to save an
64 allocation of LayoutCacheItem if it breaks layout cache hash.
65 Also make hash function correct, remove explicit height entry
66 (it's in pfd), and make sure things are correctly unreffed.
67 Finally fixes #148141.
69 * lib/text.c (text_set_attributes, text_set_font): Safely unref
70 when changing font, and actually set the new font in
72 (text_get_attributes): Ref copied font.
74 2004-08-01 Lars Clausen <lars@raeder.dk>
81 * doc/en/dia.xml: Prerelease 4.
83 * lib/font.c (dia_font_build_layout): Better comparision and
84 freeing of font cache.
86 2004-07-31 Lars Clausen <lars@raeder.dk>
88 * lib/font.c (dia_font_build_layout): Faster update to avoid
91 * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
92 Correctly initialize export filter variable.
94 2004-07-25 Lars Clausen <lars@raeder.dk>
101 * doc/pl/dia.xml: Pre3 coming out.
103 * lib/diarenderer.c (draw_polygon):
104 * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
105 Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
106 rather than O (letter), and assert num_points > 1 rather than the
109 * app/recent_files.c:
112 * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
113 Make filenames conform to filesystem encoding.
115 * RDP/.cvsignore: Added standard ignore.
117 * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
118 last entry patch-panel, too.
121 * shapes/Circuit/*.png:
122 * shapes/Civil/*.png:
123 * shapes/Contact/*.png:
124 * shapes/Electric/*.png:
126 * shapes/Pneumatic/*.png:
128 * shapes/flowchart/*.png:
129 * shapes/jigsaw/*.png:
130 * shapes/network/*.png:
131 * shapes/sybase/*.png:
133 * dia_gnome_icon_large.png:
134 * doc/pl/graphics/*.png: Set -kb for PNGs.
136 * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
138 2004-07-22 Lars Clausen <lars@raeder.dk>
144 * dia.spec (Release):
145 * configure.in: Update to version 0.94-pre2.
147 * app/load_save.c (diagram_data_write_doc): Use new namespace
150 * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
151 hidden objects properties.
153 * objects/standard/line.c: Remove halffinished line gap box from
156 * app/paginate_psprint.c:
157 * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
158 Immidi): Close export and print dialog with diagram as well.
161 * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
162 borelli): Remove deprecated stuff (#137693)
164 * app/dia-props.c (create_diagram_properties_dialog): Patch from
165 kimmidi@novell.com (Kiran Kumar Immidi): Close properties dialog
168 2004-07-21 Ray Strode <rstrode@redhat.com>
170 * dia/dia.desktop.in: Add MimeType line to desktop file
173 2004-07-18 Hans Breuer <hans@breuer.org>
175 * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am
176 sheets/UML/*.png : icons in png format
177 Partial fixup of stuff broken with the following comment:
178 "7 days : xpm->png, namespace fix, first rotation bits."
180 * app/load_save.c(read_objects) : don't add objects to the layer.
181 This function is called recursively and only the topmost objects
182 belong in the layers object list. Fixes bug #145417 and is the
183 the real fix for bug #142480
185 * app/app_procs.c : make the --size hack even uglier, but work again
187 * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
188 but g_free() what is returned by g_build_filename()
190 * objects/custom/custom_object.c(custom_destroy) : handle all enum
191 values in switch to get rid of the warning
193 * objects/custom/shape_info.c : use g_ascii_strtod(), get rid
194 of setlocale()/strtod()
195 * lib/dia_svg.c : dito
196 * lib/dia_xml.c : almost
198 * plug-ins/python/group_props.py : use the string representation of
199 value to ensure "unique values". If the strings would not be different
200 the user cann't see the difference either
202 2004-07-17 Lars Clausen <lars@raeder.dk>
204 * lib/persistence.h: Have "void" in prototypes (#142663)
206 * lib/widgets.c (dia_font_selector_init): Better string handling
209 * lib/persistence.c (persistence_save_type): Small fixes (#142663)
211 * objects/standard/image.c (image_load): Use path of diagram
212 rather than running directory as base for image file place.
214 * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
217 * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
218 Ambrose Li <a.c.li@ieee.org>: Better IM context handling.
220 * Re-added new sample diagrams binarily.
222 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
224 * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
225 Disabled keyboard accels when dragging an object.
227 2004-07-14 Lars Clausen <lars@raeder.dk>
229 * app/grid.c (snap_to_grid): Use diagrams grid setting to
230 determine hex grid snap.
232 * doc/pl/Makefile.am: Avoid error based on backslash in comment.
234 * app/interface.h: Avoid multiply defined symbols (#147396)
236 2004-07-10 Lars Clausen <lars@raeder.dk>
238 * app/sheets_dialog_callbacks.c (write_user_sheet):
239 * lib/sheet.c (load_register_sheet): Don't introduce double
240 slashes in namespace.
242 * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
243 old diagrams, or XSLT will barf all over.
245 * shapes/RDP/place.shape:
246 * shapes/RDP/transition.shape:
247 * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
250 2004-07-07 Lars Clausen <lars@raeder.dk>
253 * doc/{en,pl}/dia.xml:
256 * NEWS: First prerelease of version 0.94. Now with release
257 versions in a branch and main devel in the trunk.
259 2004-07-05 Hans Breuer <hans@breuer.org>
261 * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
262 -std=c89. Mostly //-comments and M_PI -> G_PI
263 [Istar, Jackson, KAOS were removed from build cause they
264 simply have *too* much C++ comments ;]
265 * object/UML/association.c : use g_strdup() not plain strdup()
266 * app/paginate_psprint.c : avoid storage size of `pipe_action'
267 isn't known with more portable signal code
269 * app/app_procs.c : don't call gtk_init() if just --version
270 is requested (bug #144321, Vladimir Kondratiev)
272 * lib/prop_attr.c(fontprop_set_from_offset) : only unref
274 * objects/UML/class.c : moved fill_in_fontdata() to
275 umlclass_load() to avoid such trouble, though unsure if
276 this really is an improvement...
278 * shapes/network/makefile.am : patch-panel added here too
280 2004-07-04 Hans Breuer <hans@breuer.org>
282 * sheets/network.sheet.in shapes/network/patch-panel.xpm
283 shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
284 fixes bug #136629, James McDonald
286 2004-07-04 Hans Breuer <hans@breuer.org>
288 * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
289 lib/object_defaults.c : revert changing of Dia's XML namespace
290 * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
291 about its purpose and relation to real world urls.
293 * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and
294 added comment about when to do so
295 [Should have been long time ago and probably multiple times
296 to avoid crashing on older plug-ins]
297 * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
298 * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
300 * lib/object.c objects/UML/class.c : there are still compilers not
301 supporting C99 and other GCCISMs like allocating dynamic sized arrays
303 * objects/UML/class.h : there is a differnce between a list pointer
304 and a list pointer pointer. We and GLib want the former.
306 * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
307 if Gtk is initialized. Using gdk_display_get_default () avoids the
308 app/* dependency and is also closer to the requirements of the
311 * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
312 some #ifdefed support for Cairo backends not public available yet.
314 * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
315 windoze platform supports them. This should fix bug #109818, at
316 least for the majority running NT or above ...
317 * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
319 * objects/makefile.msc : build Istar, Jackson and Kaos
321 * objects/UML/class.c(umlclass_load) : don't wrap by default to
322 keep old diagrams as they were - instead of this nice new effect ;-)
323 Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
325 * objects/UML/class.c : mark for translation _("Wrap ...
327 * objects/UML/class.c : more correct types, also some default properties
328 dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
330 * objects/UML/activity.c : removed a leftover from the
331 use-localization-for-font-substitution-hack
333 * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
334 'cvs admin -kb *.png' PNG files should already be *added* as binary,
335 otherwise they are not readable on line-end-converting-platforms
337 * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing
340 * plug-ins/python/pydia-property.c : some more g_warnings for
341 not implemented conversions
343 * plug-ins/python/group_props.py : ensure unique property values
344 at the right place. Now something like :
345 - load an old UML class diagram
346 - change one of the classes to wrap operations
347 - select all classes (/Select/Same Type)
348 - /Dialogs/Group Properties : check wrap_operations, select '1'
349 - Ok, works like a charm :-)
351 2004-07-04 Lars Clausen <lars@raeder.dk>
353 * lib/diagdkrenderer.c (draw_string): Don't unref NULL
356 2004-07-03 Lars Clausen <lars@raeder.dk>
358 * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
359 <LAV@VL3143.spb.edu>: Fixes console output problems and some
360 interactiveness problems.
362 2004-07-02 Lars Clausen <lars@reader.dk>
364 * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
365 app isn't interactive.
367 2004-07-01 Lars Clausen <lars@raeder.dk>
369 * plug-ins/cairo/diacairo.c: Add init of last field of filter
370 struct to remove crash.
372 * sheets/Makefile.am (sheet_in_files):
373 * shapes/Makefile.am:
374 * sheets/ChemEng.sheet.in:
375 * shapes/ChemEng/Makefile.am:
377 New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
378 Chemical engineering shapes.
380 * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
381 multiple arguments when using devel script.
383 * app/display.c (new_display):
385 * lib/diagramdata.c (new_diagram_data):
391 * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
392 <peter_poulsen@stofanet.dk>: Add hexagonal grid!
395 * doc/pl/authors.xml:
396 * doc/en/authors.xml:
397 * lib/object_defaults.c (dia_object_defaults_save):
398 * readme.win32 (BTW):
399 * lib/persistence.c (persistence_save):
400 * app/load_save.c (diagram_data_write_doc):
401 * app/commands.c (help_about_callback):
402 * README: Fix links to home page.
405 * app/load_save.c (diagram_data_load):
406 * lib/prop_text.c (stringprop_load): Avoid NULL strings when
407 loading, and guard against them when fonting.
409 * lib/diarenderer.c (draw_rounded_polyline): Patch from
410 anthonym@overture.com: Make limited rounding a corner-specific
411 rendering-only thing.
413 2004-06-30 Lars Clausen <lars@raeder.dk>
415 * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
416 adjustment: If you can't fix it, at least don't change it.
418 * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
419 code instead of individual code in here.
421 2004-06-29 Lars Clausen <lars@raeder.dk>
423 * objects/UML/association.c: Patch from Kiran
424 Kumar Immidi <kimmidi@novell.com>: Fix bounding box for line end
429 * lib/diarenderer.c (draw_rounded_polyline):
430 * objects/standard/polyline.c (polyline_draw):
431 * objects/standard/zigzagline.c (zigzagline_draw):
432 Patch from anthonym@overture.com: Add rounded polylines.
434 2004-06-27 Lars Clausen <lars@raeder.dk>
436 * lib/font.c (dia_font_new_from_style): Initialize legacy name.
438 * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
439 free family list before taking out the pointer we need. Also set
440 the entry_nr correctly so we get the menu set up right.
442 2004-06-23 Lars Clausen <lars@raeder.dk>
444 * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
445 images at the right place.
447 * objects/Istar/actor.c
448 * objects/Istar/goal.c
449 * objects/Istar/istar.c
450 * objects/Istar/istar.h
451 * objects/Istar/link.c
452 * objects/Istar/other.c
453 * objects/Jackson/domain.c
454 * objects/Jackson/jackson.c
455 * objects/Jackson/jackson.h
456 * objects/Jackson/phenomenon.c
457 * objects/Jackson/requirement.c
458 * objects/KAOS/goal.c
459 * objects/KAOS/kaos.c
460 * objects/KAOS/kaos.h
461 * objects/KAOS/metaandorrel.c
462 * objects/KAOS/metabinrel.c
463 * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
464 <cp@cetic.be>: Fix instability issues caused by not returning NULL
465 in *_move_handle and *_move. Also improved the headers with
466 correct (c) information.
468 2004-06-22 Lars Clausen <lars@raeder.dk>
470 * objects/KAOS/goal.c:
471 * objects/KAOS/other.c:
472 * objects/Istar/actor.c:
473 * objects/Istar/goal.c:
474 * objects/Istar/other.c:
475 * objects/Jackson/domain.c:
476 * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
477 <cp@cetic.be>: Fix resize issues.
479 * app/filedlg.c (file_dialog_hide): Patch from Kiran
480 Kumar Immidi <kimmidi@novell.com>: Check for null when removing
481 related dialog. #129520.
483 * app/dia-props.c (diagram_properties_show): Patch from Kiran
484 Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
485 a child of its diagram. #129520.
487 * objects/UML/association.c (association_load): Patch from Kiran
488 Kumar Immidi <kimmidi@novell.com>: Update positions properly for
489 text placement. #118313.
491 2004-06-17 Lars Clausen <lars@raeder.dk>
493 * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
495 * Makefile.am: Make THANKS only be generated by maintainers.
497 * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
500 * configure.in: Added three missing Makefiles.
504 Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
505 diagram-related (save) dialog when closing diagram. To be
506 extended to other dialogs.
508 * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
511 * samples/Jackson.dia:
513 * sheets/Istar.sheet.in:
514 * sheets/Jackson.sheet.in:
515 * sheets/KAOS.sheet.in:
523 * objects/Makefile.am (SUBDIRS):
524 * sheets/Makefile.am (SUBDIRS):
525 * samples/Makefile.am: Additions from Christophe Ponsard
526 <cp@cetic.be>: Jackson, I* and KAOS diagram support. Needs a bit
529 2004-06-12 Lars Clausen <lars@raeder.dk>
532 * lib/prop_geomtypes.[ch]: Preparation for selectable units.
534 * lib/font.h: Toning down comments a bit:)
536 * lib/font.c (dia_font_build_layout): Playing around with DPI
538 * objects/UML/association.c (association_load): Avoid crashes on
541 * objects/UML/association.c: Patch from kimmidi@novell.com:
542 Improve placement of labels when vertical. Part fix of #118313
544 * lib/object.c (dia_object_is_selected): Grouped objects are not
545 selected, only the group itself. Thus, don't crash when grouping
548 * objects/UML/association.c: Patch from kimmidi@novell.com: Agree
549 on how to represent empty strings. Fixes #143639.
551 * lib/object.c (dia_object_is_selected): Added comment answer.
553 2004-06-12 Hans Breuer <hans@breuer.org>
555 * lib/diagramdata.c lib/object.c : deal with grouped objects
556 not knowing their parent_layer, i.e. avoid crashing in
557 dia_object_is_selected() via group_draw() [ Triggered by
558 playing with the Visio generated svg from bug #143455 ]
560 * plug-ins/python/diasvg_import.py : started to implement
561 transformation="translate(...)" and <style/> handling. Also
562 use some other completely bogus values for em/ex scaling
564 2004-06-08 Lars Clausen <lars@raeder.dk>
566 * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
568 2004-06-07 Lars Clausen <lars@raeder.dk>
570 * app/layer_dialog.c (layer_dialog_set_diagram):
571 * app/display.c: Layer widget crash more properly dealt with in
574 * app/display.c (ddisplay_flush): Fixed crash when closing: Layer
575 widget deselect was called during destroy, but called
576 ddisplay_flush, leading to a new display timeout after renderer
579 * lib/widgets.c (dia_toggle_button_destroy):
580 * app/recent_files.c (recent_file_menuitem_create):
581 * lib/persistence.c (persistence_save_list):
582 * app/commands.c (edit_delete_callback):
583 * lib/object_defaults.c (dia_object_defaults_save):
584 * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
587 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
590 * lib/diagramdata.c (new_layer): Initialize connectibility.
592 * app/display.c (ddisplay_obj_render):
593 * app/diagram.c (diagram_find_closest_connectionpoint): Take
594 connectibility into account.
596 * app/layer_dialog.h (struct _DiaLayerWidget):
597 * app/layer_dialog.c:
598 Connectible toggle updates, now works fairly well.
600 * app/select.c (select_transitive_callback): Make sure we're only
601 selecting in the same layer.
603 2004-06-04 Lars Clausen <lars@raeder.dk>
605 * app/pixmaps/Makefile.am: Also install connectable images.
607 * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
608 layer toggles from layer itself. Also update diagram correctly
609 for visibility. Still need updates for connectivity behaviour.
611 2004-06-03 Hans Breuer <hans@breuer.org>
613 * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
615 * lib/diagdkrenderer.c(set_linejoin) : actually set
616 join_style not cap_style
617 (set_dashes): with the correct number of dashes
619 2004-06-03 Lars Clausen <lars@raeder.dk>
621 * app/modify_tool.c (click_select_object):
622 * lib/text.c (text_set_cursor):
623 * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
625 2004-05-31 Hans Breuer <hans@breuer.org>
627 * lib/object_defaults.c : don't 'failed to load external
628 entity "NULL"' when the defaults file does not exist,
629 bug #108764 [again: somehow this got lost]
631 * app/paginate_gdiprint.cpp : don guess the WMF export
632 filter used for printing but find it by unique name.
633 Also update for export_func renaming
634 * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
635 provide some unique names
637 * app/commands.c app/disp_callbacks.c app/paginate_psprint.c
638 app/select.c : fix bug #140789 by always checking if there
639 still is an active diagram before accessing it
641 * app/defaults.c app/properties.c : user visible string should
642 not read DiaObject but stay as "Object defaults/properties"
644 * app/app_procs.c : reduce the hack to pass --size to the
645 export via user_data to the only filter supporting it. Other
646 filters would crash on it or do worse ;(
648 * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
650 2004-05-31 Lars Clausen <lars@raeder.dk>
653 * lib/widgets.c: Use GtkType rather than guint for
654 dia_size_selector_get_type.
656 2004-05-29 Lars Clausen <lars@raeder.dk>
658 * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
659 that it matches the screen output for selfoverlapping polygons and
662 2004-05-28 Hans Breuer <hans@breuer.org>
664 * app/load_save.c : ignore empty groups on load and don't
665 write empty groups while saving
666 * lib/group.h (group_update_data): there is no first object
667 in empty groups and they probably don't need an update at
668 all. Maybe the shold just not exist ?
670 * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
671 text positioning as well as drawing of images with alpha
673 * plug-ins/wmf/wmf.cpp : include windows.h if eiher
674 HAVE_WINDOWS_H or G_OS_WIN32 is defined
676 2004-05-28 Lars Clausen <lars@raeder.dk>
678 * app/pixmaps/Makefile.am (imagedir):
679 * app/pixmaps/visible.png:
680 * app/pixmaps/visible-empty.png: New images for the visibility
681 button in the layer dialog.
683 * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
684 more border around the button. Still some left when hovering the
685 mouse or selecting, and the grey background is annoying.
687 * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
688 visibility connector.
690 2004-05-26 Lars Clausen <lars@raeder.dk>
692 * configure.in (DB2MAN): Better check for db2man docbook place.
693 Need something even better.
695 * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
697 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
701 * dia_gnome_icon.png:
702 * samples/render-test.dia: Rendering test from Hans.
704 2004-05-24 Hans Breuer <hans@breuer.org>
706 * lib/filter.h : renamed DiaExportFilter::export to
707 _DiaExportFilter::export_func (should not use c++
708 keywords (g++ specifc ?) in headers. Same for import
709 out of pure symmetry reasons
710 * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
711 app/diagram.c app/filedlg.c : reflect functions renaming
713 * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
714 under *NIX, too. [If you want something done, do it yourself ;-]
715 * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
716 with wmf.cpp's GDI usage
717 * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
718 [For the moment it does not much more than compiling, i.e.
719 the produced WMF files are invalid, if not created on windoze.]
721 * configure.in : check for C++ to compile plug-in/wmf
723 * objects/GRAFCET/boolequation.c : looks like fixing
724 another leak (untested)
726 2004-05-23 Hans Breuer <hans@breuer.org>
728 * acinclude.m4 : another attempt to fix
729 bug #142032 (still not sure it's the right one,
730 but works for me(tm), which the other does not ;)
732 * plug-ins/cairo/Makefile.am
734 configure.in : support building the new cairo
735 plug-in, if given --with-cairo and the cairo
736 packages are found, see http://cairographics.org
737 and also http://hans.breuer.org/dia/dia-cairo.htm
739 * plug-ins/cairo/diacairo.c : make it compile
740 with DEBUG_CAIRO defined, too.
742 2004-05-23 Hans Breuer <hans@breuer.org>
744 * plug-ins/cairo/Makefile.am : initial attempt
746 * plug-ins/cairo/diacairo.c : a new exporter based on
747 Cairo http://cairographics.org rendering api. Currently
748 it just can export PNG and PS but one day it might get
749 PDF and more almost for free. [It is not yet included
750 in the *NIX build system due to lack of auto* magic.]
752 * plug-ins/pixbuf/pixbuf.c : always register the export
753 filter part. If the user does not want it it can be
754 disabled by File/Plugins or explicit selected the other
755 one in the Export Formats List
757 2004-05-23 Hans Breuer <hans@breuer.org>
759 * lib/dia_dirs.c : #include "message.h"
760 lib/widgets.c : #include "persistence.h"
761 lib/widgets.c(dia_font_selector_init) : still not C99
762 lib/persitence.h : removed unimplemented prototype
763 lib/persitence.c(persistence_load_list) : still not C99
764 app/create_object.c : #include "highlight.h"
765 app/layer_dialog.c : #include "widgets.h"
766 app/modify_tool.c : prototype functions before usage
767 lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
768 [otherwise one will have a hard time to make C++ compile ;]
769 lib/dia_dirs.c : #include "message.h"
770 lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
773 * plug-ins/xfig/xfig-import.c : dont initialize an int with
776 * lib/dia_image.[hc](dia_image_rgba_data) : make it work
777 as documented, i.e. _not_ copying. Plugs a memory leak in
778 lib/dialibartrenderer.c
780 * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
781 to radius to more of a clue what it is representing
783 * */makefile.msc lib/libdia.def : updated
785 ChangeLog : fixed some date copy&paste bug
787 2004-05-21 Lars Clausen <lars@raeder.dk>
791 * config.h.win32: Now 0.93+cvs
793 * RELEASE-PROCESS: Update with new info about release branches.
795 * Many files: Moved devel branch back into main trunk. Should
796 have been done in the opposite way, with release in a branch.
798 2004-05-20 Hans Breuer <hans@breuer.org>
800 * acinclude.m4 : disable setting of PYTHON_PREFIX
801 and PYTHON_EXEC_PREFIX from prefix and exec_prefix
802 as workaround for bug #142032 (the real fix would
803 involve some auto* knowledge which I don't have
806 * plug-ins/python/Makefile.am : more python
807 plug-ins to be installed (especially svg import,
808 but also 'simple scale' should be useable
811 * plug-ins/python/scascale.py : update display
812 after modifying selected objects
814 * plug-ins/python/diasvg_import.py : initialize
817 2004-05-18 Lars Clausen <lars@raeder.dk>
819 * app/diagram_tree.c (select_node): Use
820 diagram_remove_all_selected to kill selected list.
822 * lib/font.c: Set language when using a different context.
824 * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
825 and removed ctype include (#142661).
827 * lib/paper.c (get_default_paper): Changed isalnum to
828 g_ascii_isalnum and removed ctype include. (#142661)
830 * objects/custom/shape_info.c:
832 * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
834 2004-05-17 Hans Breuer <hans@breuer.org>
836 * lib/object_defaults.c : don't 'failed to load external
837 entity "NULL"' when the defaults file does not exist,
840 * lib/widgets.c : fixed possible menu leak
841 * lib/dialinechooser.c lib/diaarrowchooser.c : finally
842 avoid finalization of floating references, bug #142307
844 2004-05-15 Lars Clausen <lars@raeder.dk>
846 * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
847 fonts better (#138655)
849 * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
851 * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
852 dist, xml, dbk and man. Also the sub-xml files. (#142098)
854 * Makefile.am (CLEANFILES):
855 * sheets/Makefile.am (EXTRA_DIST): Not distributing the
856 translation-reports, they are generated automagically. THANKS
857 file not considered locally generated, so is not locally
860 * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
862 * lib/diaarrowchooser.c:
863 * lib/prop_attr.c: Fixing naming for arrowselector.
865 * objects/UML/object.c (objet_type): Oops, little too aggressive
866 with the DiaObject thing here:)
868 * objects/custom/shape_info.c (parse_svg_node): Use
869 g_ascii_isdigit instead of isdigit.
871 * app/diaunitspinner.c (dia_unit_spinner_update):
872 * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
873 instead of isspace avoids char subscript issues (#142467).
875 * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
876 return value conflict.
878 * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
879 value conflict. Also improved signature. (#142466)
881 * app/load_save.c (diagram_data_load): Don't overwrite the list in
882 the layer, but instead free the returned list (#142480)
884 * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
887 * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
889 * configure.in (DB2MAN): Currently just check for two known
890 positions for the docbook xsl. Don't know a generic way to find
891 this info. Ought to add an option for it, but then it's really
892 only required for maintainers, I think. Maybe.
894 * app/display.c (update_snap_grid_status): Remove nasty image
895 toggling code not require for grid toggle button anymore. (#142475)
897 * app/interface.c (create_display_shell): Use
898 dia_toggle_button_new_with_images to create grid toggle button.
899 Much nicer. (#142475)
901 * app/menus.c (menus_initialize_updatable_items): Free the string
902 along with the GString. (#142475)
904 * lib/intl.c (free_alias_table): Free hash table entries in a
905 proper way, avoiding duplicate frees. (#142475)
907 * lib/object_defaults.c (_obj_store): Only free layer_name if it's
908 not put in the hash (avoid reading freed memory). (#142476)
910 * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
912 (dia_font_selector_get_family_from_name): Stop leaking
915 2004-05-14 Lars Clausen <lars@raeder.dk>
917 * Transfer of fixes from release branch. Not the prettiest way to
918 do it, this should be done during release, not afterwards.
920 Tomasz Kłoczko <kloczek@pld.org.pl>:
922 * acinclude.m4: minor fixes (added missing [] quotation).
924 Lars Clausen <lars@raeder.dk>:
926 * app/interface.c (toolbox_delete):
927 * app/app_procs.[ch] (app_exit): Stop the delete event if the user
928 cancels quit due to modified diagrams.
930 Samúel Jón Gunnarsson <sammi@techattack.nu>:
932 * is.po: Added "is" to ALL_LINGUAS.
934 Lars Clausen <lars@raeder.dk>:
936 * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
938 Hans Breuer <hans@breuer.org>:
940 * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
941 burden should be shared and not be win32 only ;) [this time
942 build was broken by adding GtkType to widget.h]
944 * objects/standard/box.c objects/standard/ellipse.c :
945 for code clarification compare (obj->aspect != FREE_ASPECT)
946 and not (obj->aspect); no binary effect.
948 * app/paginate_psprint.c : don't leak printcmd
950 * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
951 standard C requires variables to be declared at the beginning of
952 a block, also there is no fabsf() with msvc
954 * app/win32print.[ch] : make win32_printer_close() return an
955 error code, it's used as pclose replacement
957 Lars Clausen <lars@raeder.dk>:
959 * RELEASE-PROCESS: Mention PATCH keyword in release process.
961 2004-05-06 Lars Clausen <lars@raeder.dk>
963 * lib/widgets.[ch]: Utility function to make a widget with two
964 images (selected and non-selected).
966 * lib/diagramdata.h: Renamed selectable to connectable.
967 Selectable will come later.
970 * app/pixmaps/Makefile.am (imagedir):
971 * app/pixmaps/connectable.png:
972 * app/pixmaps/connectable-empty.png: New images for the
973 selectability widget. Proper installation, too.
975 * app/layer_dialog.[ch]: Adding new button showing connectability
976 status. Much cleaner way of doing the button, but some problems
977 with the item getting selected
979 * lib/widgets.h: Reminder of how to install images for use by
980 dia_get_image_from_file.
982 2004-05-05 Lars Clausen <lars@raeder.dk>
984 * objects/network/Makefile.am:
985 * objects/network/pixmaps/radiocell.xpm:
986 * objects/network/pixmaps/basestation.xpm:
987 * objects/network/network.c:
988 * objects/network/basestation.c:
989 * objects/network/radiocell.c:
990 Patch from W. Borgert <debacle@debian.org>: Radio cell and base
993 * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
994 Backslash arrow head.
996 * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
997 Notify takes care. Should maybe use that more.
999 * lib/diagramdata.[ch]:
1000 * app/filedlg.c (file_export_ok_callback):
1001 * app/diagram.c (diagram_finalize): DiagramData now a GObject.
1003 * app/dia-props.c (diagram_properties_respond):
1004 * app/diagram.c (diagram_set_modified):
1006 * app/disp_callbacks.c:
1008 * app/load_save.c (diagram_save):
1009 Better handling of undo and modified status -- only diagram
1010 properties and page setup explicitly set modified status, all
1011 other important changes should be done through the undo stack
1014 2004-05-04 Lars Clausen <lars@raeder.dk>
1016 * app/app_procs.c (app_init): Consistently open a new diagram if
1017 none specified, with standard name Diagram1.dia.
1019 * app/layer_dialog.c:
1020 * app/diagram.c (diagram_finalize):
1021 * app/commands.c (dialogs_layers_callback):
1022 * app/filedlg.c (file_export_ok_callback):
1023 * app/app_procs.c (app_exit):
1024 * app/display.c (display_set_active):
1025 * app/interface.c (dia_dnd_file_drag_data_received):
1026 * app/recent_files.c:
1027 Undone attempt at unifying the multi-diagram windows (like
1028 layers). It broke the layers and didn't make much sense for the
1029 diagram properties dialog anyway.
1033 * lib/diagramdata.c:
1035 * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
1036 many subclasses have to be fixed. Fixed remaining
1037 Object/ObjectType renaming issues.
1039 2004-05-02 Lars Clausen <lars@raeder.dk>
1041 * lib/object.[ch]: Making DiaObject a GObject. Now can I avoid
1042 having to make all the children objects conform to
1043 GObject style at once? Warning! Does not compile right now.
1045 * many, many files: Rename Object to DiaObject in preparation for
1046 making it a GObject.
1048 * app/diagram.[ch]: Turn diagram into a real GObject.
1051 * app/filedlg.c: Correctly ref and unref diagram.
1053 * lib/diagramdata.h: Starting to turn it into a GObject as well.
1055 2004-05-02 Lars Clausen <lars@raeder.dk>
1057 * lib/object.[ch]: Starting to convert Object to DiaObject, son of
1060 * app/dia-props.c: Undo the attempt at making it really
1061 multi-diagram, now going for a one-diagram dialog.
1063 2004-04-30 Lars Clausen <lars@raeder.dk>
1065 * app/undo.c: Undoing broken undo stuff for diagram properties and
1066 page setup. Shouldn't be mixed into undo at all.
1068 * app/render_gdk.c (draw_pixel_line): Use the dash-setting
1069 function to avoid in particular the grid crawling.
1071 * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
1072 to allow aligning dashes, so they don't crawl.
1074 2004-04-28 Lars Clausen <lars@raeder.dk>
1076 * app/Makefile.am: New files diacanvas.[ch]
1078 * app/interface.c (create_display_shell): Use new diacanvas that
1079 allows placing widgets on canvas, for text edit.
1082 Early work towards rotation. No implementation yet.
1084 * app/layer_dialog.c (undo_layer):
1085 * objects/network/bus.c (bus_create_change):
1086 * objects/standard/box.c (aspect_create_change):
1087 * objects/standard/ellipse.c (aspect_create_change):
1088 Use g_new0 for change struct.
1090 * app/undo.c (diagram_change_apply_or_revert):
1091 Support for undo of diagram properties and page setup.
1093 * app/disp_callbacks.c (ddisplay_canvas_events):
1095 * lib/diagramdata.h:
1096 * app/modify_tool.c (click_select_object):
1097 * lib/text.c (text_register_editable):
1098 Starting work on new text editing model. Guarded by #ifdef so
1101 2004-04-07 Lars Clausen <lars@raeder.dk>
1103 * app/recent_files.c (open_recent_file_callback):
1104 * app/interface.c (origin_button_press):
1105 * app/filedlg.c (file_open_ok_callback):
1108 * app/commands.c (dialogs_layers_callback): Using new
1109 diagram_set_current() function to ensure auxilliary windows are
1112 * app/layer_dialog.c: Trying to unify with dia-props. Diagram
1113 menu now borken. *sniff*
1115 * app/dia-props.c: Diagram properties window attempted
1116 persistentified. Trying to make more like layer dialog (since it
1117 already changes when the diagram changes), but some things still
1120 2004-04-06 Lars Clausen <lars@raeder.dk>
1122 * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style):
1123 * lib/attributes.c (attributes_set_default_line_style):
1124 * app/interface.c (create_lineprops_area):
1125 Make line style persistent as well. Added function to directly
1126 set the style and dashlength of a dialinechooser.
1128 2004-04-03 Lars Clausen <lars@raeder.dk>
1130 * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
1131 Copy the ellipse extra handle correctly.
1133 * objects/standard/box.c (box_move_handle): Move definitions
1134 according to bug #138925.
1136 2004-04-02 Lars Clausen <lars@raeder.dk>
1138 * app/recent_files.c: Use absolute name for recent files list.
1140 * lib/attributes.c: Set start and end arrow types, correctly.
1142 * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
1145 * lib/diaarrowchooser.[ch]: Support for setting arrow info.
1147 * app/interface.c (create_lineprops_area): Set persistently stored
1150 * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
1153 * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
1154 path (i.e. without '.' or '..'). Not tuned for Win32 yet.
1156 * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
1157 with what xfig does. Text now converted from latin-1 to utf-8
1158 (latin-1, since that's what xfig seems to use. Would like to see
1159 examples of non-latin-1 figs). String case problems fixed.
1161 2004-04-01 Lars Clausen <lars@raeder.dk>
1164 * app/interface.c: Default arrows now stored persistently, too.
1166 * lib/arrows.[ch]: New function to get arrow type from name.
1168 * app/color_area.c (color_area_create):
1170 * app/linewidth_area.c: Also persistent colors and line width.
1171 That was easy. Arrows and line style will take a bit more work,
1174 2004-04-01 Lars Clausen <lars@raeder.dk>
1176 * app/preferences.c: All preferences are now
1177 handled by persistence, old prefs load and store code is gone.
1179 * lib/persistence.[ch]: Added string and color persistents. This is
1180 a different string from the one used in the printer dialog, that
1181 one has a GtkEntry attached -- may want to make that one an
1182 encapsulation of this one or something.
1184 2004-03-31 Lars Clausen <lars@raeder.dk>
1186 * app/app_procs.c: Do persistence before prefs. Prefs are to be
1189 * lib/persistence.[ch]:
1190 * app/preferences.c: Adding persistence for integers, reals,
1191 booleans. Fixed stupid list bug. Test persistence for prefs.
1193 2004-03-30 Lars Clausen <lars@raeder.dk>
1195 * app/recent_files.c:
1196 Debugging of deallocation.
1199 Font menu now uses persistence. Ordering needs fixing, or it must
1203 * lib/Makefile.am (libdia_la_SOURCES):
1204 * app/Makefile.am (dia_core_files):
1205 * app/persistence.[ch]:
1206 * lib/persistence.[ch]: Moved to lib as widgets need it. Also a
1207 number of fixes, including multiple entries now being read
1208 properly. Still some oddity about the persistent list having the
1209 role as first entry (which makes the font menu crash after a few
1212 2004-03-26 Lars Clausen <lars@raeder.dk>
1214 * app/persistence.c:
1215 * app/recent_files.[ch]: Redoing the recent-files list using
1216 persistence, reducing code by about 50%. Still a problem when
1217 selecting an item from the menu -- possibly it doesn't like the
1218 menu being destroyed while in the callback?
1220 2004-03-25 Lars Clausen <lars@raeder.dk>
1222 * app/persistence.c (persistence_load_string): Missing semicolon?!?
1224 2004-03-24 Lars Clausen <lars@raeder.dk>
1228 * app/persistence.[ch]:
1229 * app/paginate_psprint.c (diagram_print_ps): New type of data can
1230 be stored persistently: Strings. Only the printer command/file
1231 go in here now, but things like creator, organization, diagram
1232 comments etc could also be handled this way.
1234 * objects/standard/beziergon.c (beziergon_draw): Avoid control
1235 lines when the object is not selected.
1237 2004-03-23 Lars Clausen <lars@raeder.dk>
1239 * lib/connectionpoint.h:
1240 * app/load_save.c: Allow connection points to have names, and
1241 handle that in load/store.
1243 * lib/dialibartrenderer.c: Better highlighting for text.
1245 * lib/diagdkrenderer.h (struct _DiaGdkRenderer):
1246 * lib/diagdkrenderer.c: Better highlighting for all, using same
1247 principles as libart highlighter.
1249 2004-03-22 Lars Clausen <lars@raeder.dk>
1251 * lib/dialibartrenderer.[ch]:
1252 * lib/diagdkrenderer.c:
1258 * app/modify_tool.c:
1259 * app/create_object.c:
1260 * app/highlight.[ch]:
1261 Added simple object highlighting. In GDK rendering, highlights
1262 the bbox, in libart highlights the outline of the object (except
1265 2004-03-22 Lars Clausen <lars@raeder.dk>
1267 * RELEASE-PROCESS: Added info on how to do a branch for
1268 development during release process.
1270 2004-03-20 Lars Clausen <lars@raeder.dk>
1272 * RELEASE-PROCESS: Mention PATCH keyword in release process.
1274 2004-03-19 Lars Clausen <lars@raeder.dk>
1276 * xmldocs.make: Fixed apparent uninstall error.
1279 * doc/en/dia-manual.xml:
1280 * doc/pl/dia-manual.xml:
1283 * NEWS: Version 0.93-pre1.
1285 * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
1286 borelli): Remove some deprecated stuff.
1288 2004-03-18 Lars Clausen <lars@raeder.dk>
1290 * Makefile.am: Try better uninstall thing for scrollkeeper.
1292 * objects/ER/entity.c:
1293 * lib/arrows.[ch]: Patch from Georg Lothar Thimm
1294 <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
1295 1, 1 exactly, as well as associative ER entities.
1297 2004-03-17 Lars Clausen <lars@raeder.dk>
1299 * Makefile.am: Make distcheck not complain about scrollkeeper
1300 problems (as per advice from James Henstridge).
1302 * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
1303 standard installation.
1305 * objects/standard/ellipse.c: Better strings for object menu.
1307 * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
1308 of dialogs (shame on you, glade!)
1310 * objects/custom/custom_object.c (custom_setup_properties):
1311 Removed debugging output
1313 * app/paginate_psprint.c (diagram_print_ps): Slightly more
1314 readable printer error messages.
1318 * doc/en/Makefile.am:
1319 * doc/pl/Makefile.am:
1320 New more standard way to install the XML-based manuals.
1322 2004-03-15 Lars Clausen <lars@raeder.dk>
1324 * objects/standard/box.c (box_move_handle): More intuitive fixed
1327 * objects/standard/ellipse.c:
1328 * objects/standard/box.c:
1331 * app/layer_dialog.[ch]:
1332 Patch from Steve Langasek <vorlon@debian.org>:
1333 Fixes startup crash on Alpha (bug #137169)
1335 * objects/standard/box.c: Aspect fixing like ellipses.
1337 * app/Makefile.am (dia_core_files): Include dia-app-icons.h
1339 * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
1340 pixmaps, now can uninstall properly.
1342 * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
1343 Fixed and circle aspect ratios for ellipses. Bug #137156, #87966,
1345 Added object menu access.
1347 2004-03-07 Hans Breuer <hans@breuer.org>
1349 * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
1350 GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
1351 would not use deprecated apis, but it's much simpler this way)
1353 * lib/makefile.msc : build the above new widgets and render_pixmap
1354 * lib/libdia.def app/dia.def app/makefile.msc : updated
1356 * app/disp_callbacks.c : fix gccisms (without being able to make much sense of
1357 what I saw, i.e. how big is an empty array supposed to be ? ;-).
1358 Previously it gave :
1359 disp_callbacks.c(188) : error C2059: syntax error : '}'
1360 disp_callbacks.c(191) : warning C4034: sizeof returns 0
1362 * app/interface.c : #include "dialinechooser.h"
1364 * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
1365 [one more reason not to use it here : it's quite slow compared to
1366 the native win32 font renderer ;]
1368 * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
1369 a GtkDialog*, removed unneeded cast
1371 * app/render_eps.c : avoid assignment warning for void* user_data
1374 2004-03-06 Steffen Macke sdteffen@web.de>
1376 * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
1379 2004-03-06 Lars Clausen <lars@raeder.dk>
1381 * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
1384 * lib/font.c: Simple cleanup system for layout cache removes any
1385 layout that hasn't been used for 10 minutes, but only during idle
1388 2004-03-05 Lars Clausen <lars@raeder.dk>
1390 * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
1391 (lluis padro) (#130887): Extended Electric shapes with vertical
1394 * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
1395 start with "Create a" or "A", always capitalize first word).
1397 * objects/standard/ellipse.c: Patch from Grégoire Dooms
1398 <dooms@info.ucl.ac.be>: Add extra connection point in center of
1399 ellipse. Additionally added a handle in the center, and resize is
1400 now around the center.
1403 * sheets/Makefile.am (SUBDIRS):
1404 * sheets/IsometricMap.sheet.in:
1405 * shapes/Map/Isometric/*
1406 * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
1408 2004-03-04 Lars Clausen <lars@raeder.dk>
1411 * lib/pixmaps/Makefile.am:
1413 Better installation handling of pixmaps.
1415 * lib/diagdkrenderer.c:
1416 * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass):
1417 * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts):
1420 2004-03-03 Lars Clausen <lars@raeder.dk>
1422 * lib/diagtkfontsel.h (struct _DiaGtkFontSelection):
1423 * lib/diagdkrenderer.c:
1424 * lib/diasvgrenderer.c:
1425 * lib/dialibartrenderer.c:
1426 * lib/diainteractiverenderer.c:
1427 * lib/prop_text.c (multistringprop_handle_key):
1429 * lib/dia_image.c (dia_image_rgba_data):
1431 * lib/diagramdata.c (layer_set_object_list):
1434 Getting rid of compile warnings.
1436 * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
1437 images. Also remove unused decls.
1439 2004-03-02 Lars Clausen <lars@raeder.dk>
1442 * lib/widgets.c (dia_size_selector_init): Add images to the size
1443 selector chain widget. Also new function to load installed images
1444 from files (better than from included XPM, IMHO).
1446 2004-03-02 Lars Clausen <lars@raeder.dk>
1449 * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
1453 * lib/widgets.c (dia_size_selector_init): Work
1454 on getting proper icon onto the size selector. Need simple image
1455 load mechanism in utils.
1459 * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
1460 strings, handle utf8 strlen properly. Bug #135930.
1462 2004-03-01 Lars Clausen <lars@raeder.dk>
1464 * shapes/Cybernetics/*:
1465 * sheets/Cybernetics.sheet.in:
1466 * sheets/Makefile.am:
1467 * shapes/Makefile.am:
1468 * configure.in: Patch from charly.meyer@t-online.de (Thorsten
1469 Roggendorf): Cybernetic shapes (#95553).
1471 2004-03-01 Lars Clausen <lars@raeder.dk>
1473 * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
1475 * lib/diatypes.h: New type DiaSizeSelector.
1477 * lib/widgets.[ch]: New size selector widgets that selects two
1478 values (width and height, nominally) optionally linked to keep
1481 2004-03-01 Hubert Figuiere <hfiguiere@teaser.fr>
1483 * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
1484 in front of file. Bug #128600.
1488 * app/lineprops_area.[ch]:
1490 * lib/dialinechooser.[ch]:
1491 * lib/widgets.c (dia_line_style_selector_init): use line preview
1492 instead of text labels. This involve moving away line_chooser to lib
1495 * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
1498 * app/Makefile.am (dia_core_files):
1499 * app/interface.c (create_lineprops_area):
1500 * app/render_pixmap.[ch]:
1502 * lib/diaarrowchooser.[ch]:
1505 * lib/propdialogs.c:
1506 * lib/render_pixmap.[ch]:
1507 * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
1508 of text labels. This involve moving away arrow_chooser to lib from
1511 2004-02-29 Lars Clausen <lars@raeder.dk>
1513 * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
1514 being updated half-way through destruction. To be removed when
1515 the lists are replaced by something better.
1517 * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
1518 Accelerators for class dialog. Bug #130995.
1519 Patch from luc@handhelds.org: Better aligning of widgets. Bug #130994.
1522 * app/preferences.c:
1524 * objects/GRAFCET/step.c:
1525 * objects/Misc/analog_clock.c:
1526 * objects/chronogram/chronoline.c:
1527 * objects/chronogram/chronoref.c:
1528 Change to american spelling (color, not colour) to ease
1529 translators job. Note that a number of translations may need an
1530 update now. Bug #120466.
1532 2004-02-29 Lars Clausen <lars@raeder.dk>
1534 * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
1535 Better arrow handling for missing arrows.
1537 * plug-ins/metapost/render_metapost.[ch]: Patch from
1538 phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
1539 size. See bug #135363.
1541 * app/app_procs.c (app_init): If non-interactive, or if
1542 --log-to-stderr used, send all messages to stderr. This should
1543 mean that old diaconv == dia --export-to-format=FOO BAR
1545 2004-02-29 Hubert Figuiere <hfiguiere@teaser.fr>
1547 * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
1549 2004-02-28 Lars Clausen <lars@raeder.dk>
1551 * lib/text.c (text_key_event): Patch from Kouhei Sutou
1552 <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
1554 2004-02-27 Lars Clausen <lars@raeder.dk>
1556 * KNOWN_BUGS: Added info on most commonly reported bugs, with
1559 * app/disp_callbacks.c (popup_object_menu): Unified properties
1560 entry, fixes bug #105080.
1562 * app/diagram.c (diagram_update_menu_sensitivity):
1563 * app/menus.h (struct _UpdatableMenuItems):
1564 * app/menus.c (menus_initialize_updatable_items): Menu items
1565 changed around, align menus flattened, properties entry ghosted,
1566 dialogs menu removed, more shortcuts added. Closing bugs #94018,
1568 Also taking out Gnome menus for now. They don't allow shortcuts,
1569 so what are they good for?
1571 2004-02-27 Lars Clausen <lars@raeder.dk>
1573 * app/menus.c (display_menu_items):
1574 * app/commands.[ch]: Added duplicate menu item from Alan Horkan
1577 2004-02-24 Adam Weinberger <adamw@FreeBSD.org>
1579 * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
1581 2004-02-23 Lars Clausen <lars@raeder.dk>
1583 * app/app_procs.c (app_init): Comments for translators.
1585 2004-02-22 Hubert Figuiere <hfiguiere@teaser.fr>
1587 * app/preferences.c (prefs_create_dialog): Change packing policy
1588 for widget to expand.
1590 * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
1591 running with a debugger.
1593 2004-02-19 Lars Clausen <lars@raeder.dk>
1595 * app/undo.[ch]: Adding last-saved information to undo to allow a
1596 diagram with all changes since last save undo to be marked as
1597 nonmodified. Still needs integration with actual undo
1601 * app/diagram_tree.c (diagram_tree_update):
1603 * app/display.c (update_modified_status):
1604 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr):
1605 * app/autosave.c (autosave_check_autosave): Encapsulate modifed
1608 * app/render_eps.[c]: Restructure to better handle PS vs. EPS
1609 vs. EPSI, comment out EPSI until preview is in there.
1612 * lib/diarenderer.c: Removing debugging printfs.
1614 * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
1617 * objects/standard/arc.c (arc_update_handles): Check to avoid
1618 crash when start and end points are the same.
1620 2004-02-19 Lars Clausen <lars@raeder.dk>
1622 * objects/standard/bezier.c:
1623 * objects/standard/line.c (line_load):
1624 * objects/standard/polyline.c (polyline_load):
1625 * objects/standard/zigzagline.c (zigzagline_load):
1626 * objects/standard/arc.c (arc_load):
1627 * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
1628 instead of hardcoding.
1630 2004-02-18 Hubert Figuiere <hfiguiere@teaser.fr>
1632 * app/disp_callbacks.c (popup_object_menu): append a menu item to
1635 2004-02-17 Hubert Figuiere <hfiguiere@teaser.fr>
1637 * app/app_procs.c: declare rc properly with the proper #ifdef
1639 2004-02-17 Lars Clausen <lars@raeder.dk>
1641 * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
1642 objects (which seemingly FIG itself breaks, or else there is no
1645 2004-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
1647 * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
1648 width renderable in xfig. Helps on bug #133637, but does not
1649 quite fix it -- something about depth is wrong.
1651 * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
1652 Extern definitions for Mac compilation.
1654 * app/app_procs.c: Patch #131159 from J. H. M. Dassen
1655 (jdassen@debian.org): Include fix.
1657 * app/interface.c: Patch #130100 from luc@handhelds.org: Make
1658 sure the initial diagram size is correct.
1660 2004-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
1662 * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
1663 CPPFLAGS, as per automake warning.
1664 * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
1665 LDFLAGS, as per automake warning.
1666 (run_dia.sh): More robust creation, and more easily moved.
1668 * app/undo.c (group_objects_revert): Don't double-free the objects
1669 list. (#129221) Call object_add_updates on grouped objects.
1670 (ungroup_objects_revert): Call object_add_updates on grouped objects.
1672 * lib/diagramdata.c: Internal
1675 * lib/polyshape.c (polyshape_update_data): Correctly calculate
1676 directions for polyshape corners (thanks, Valgrind!)
1679 * lib/prop_attr.c (arrowprop_load): Use default arrow size.
1681 * lib/arrows.h: Default arrow size defined. After all are using
1682 this, may lower to 0.4 or so.
1684 * app/lineprops_area.[ch]: New function to set the arrow type for an
1687 * app/interface.c (create_lineprops_area): Set default line to
1688 have an arrow (fairly likely to be what's wanted, plus it shows
1689 the user where arrows are set).
1691 * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
1693 2004-02-14 Lars Clausen <lrclause@cs.uiuc.edu>
1695 * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
1696 Dotted lines should use dot_length, not dash_length.
1698 2004-02-06 Hans Breuer <hans@breuer.org>
1700 * app/interface.c : don't use gtk_drawing_area_size() to avoid
1701 the defaut size being also the minimum size. Instead use
1702 gtk_window_set_default_size() on the display shell. Fixes #130982.
1704 [fixing #131210, but umlauts in the 'main' filename still not really
1705 supported on systems where filesystem encoding != utf8
1706 (Problems with recent file menu and window title)]
1707 * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
1708 to deal with possible differnces in filename encodings, see
1709 g_filename_<to|from>_utf8()
1710 * objects/standard/image.c : use them.
1712 * lib/widgets.c : handle possible encoding difference here, too.
1713 Also get rid of most warnings by using const and GTK casts where
1714 appropriate; one wrong cast (probably causing a crash) was found/fixed
1715 by this - the remaining give a hint on finally leaking FontSelectorEntry.
1717 * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
1718 dia_file_selector_<get|set>_file to behave like the respective Gtk
1719 functions do : encoding- and const-wise ;-)
1721 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1723 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1725 2004-01-19 Hans Breuer <hans@breuer.org>
1727 * app/app_procs.c app/diaconv :
1728 only call bind_textdomain_codeset when available, what's good
1729 for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
1730 * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
1732 2004-01-19 Steffen Macke <sdteffen@web.de>
1734 * makefile.msc: updated for new GAIM-like installer build; sync'ed
1735 ALL_LINGUAS with configure.in
1737 2004-01-18 Hans Breuer <hans@breuer.org>
1739 * app/app_procs.c (myXmlErrorReporting) : avoid possible crash
1740 by not passing NULL to g_print()
1742 * app/interface.c (create_toolbox) : actually use
1743 persitence_register_window() to restore toolbox window size
1745 * app/makefile.msc lib/makefile.msc : allow to deselect
1746 building with Freetype by command line to nmake like :
1747 nmake -f makefile.msc "NOFT2=1"
1749 * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
1750 far as possible with Dia's limited line style
1751 * plug-ins/python/pydia-property.c : allow to get and set
1752 Linestyle, style and dash(length)
1754 * lib/object.h : removed typedef for ObjectId not use anywhere
1756 2004-01-17 Hans Breuer <hans@breuer.org>
1758 * objects/custom/shape_info.[hc] objects/custom/custom_object.c
1759 doc/shape.dtd doc/custom-shapes :
1760 support for images in custom shapes, also removed some long-time
1763 * doc/en/*.xml : fixed crippled line ends which get created
1764 when windoze line ends are checkin from the unix side
1766 2004-01-13 Laurent Dhima <laurenti@alblinux.net>
1768 * configure.in: Added "sq" to ALL_LINGUAS.
1770 2004-01-11 Hans Breuer <hans@breuer.org>
1772 [more less leaks ;-]
1774 * objects/SADT/annotation.c : use text_destroy() not g_free()
1776 * objects/chronogram/chronoline.c : neither leak chronoline::events
1777 nor chronoline::name
1779 * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
1781 2004-01-11 Hans Breuer <hans@breuer.org>
1783 * lib/properties.h :
1784 * objects/custom/custom_object.c : more properties optional
1785 to be backward compatible for older diagrams not having them
1786 set. (Try to load samples/all_objects.dia)
1788 [less memory leaks thanks valgrind ;-]
1790 * app/recent_files.c (recent_file_history_write) :
1791 g_free(history_filename);
1792 (recent_file_menu_item) : use g_path_get_basename()
1793 which already strdups, free result of g_strescape()
1795 * app/filedlg.c (create_export_menu) : return of
1796 filter_get_export_filter_label() must be g_free()'d
1797 (create_open_menu) : same for import
1799 * app/export_png.c (export_png_ok) : destroy info ptr
1800 with png_destroy_write_struct()
1802 * app/app_procs.c (app_init) : g_free(export_format_string);
1804 * lib/font.c (dia_font_finalize) : finalize parent_class, too
1805 (dia_font_new_from_style) : stop leaking almost all DiaFont by not
1806 refing it a second time, g_type_create_from_instance() is enough
1808 * lib/object_defaults.c (_obj_store) : don't mess with names
1809 len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
1811 2004-01-11 Steffen Macke <sdteffen@web.de>
1813 * app/diapsftrenderer.c: including ftoutln.h
1814 * app/makefile.msc: updated for freetype build
1815 * lib/libdia.def: added dia_font_get_context()
1816 * lib/dialibartrenderer.c (draw_string): added cast
1818 2004-01-10 Hans Breuer <hans@breuer.org>
1820 * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
1821 transformed coordinates, fixes bug 130804
1823 2004-01-10 Hans Breuer <hans@breuer.org>
1825 * app/filedlg.c app/app_procs.c : don't try to destroy
1826 'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
1827 signal but simply by gtk_widget_destroy() after gtk_dialog_run()
1828 returns. Fixes 'has no handler' bugs like #121019
1830 2004-01-10 Hans Breuer <hans@breuer.org>
1832 * objects/UML/class.c objects/UML/class_dialog.c :
1833 handle umlclass->name being empty to avoid, i.e. fix #127968
1835 [plugging memleaks, thanks valgrind :-]
1837 * lib/dia_xml.c (data_string) : don't leak return value
1838 of xmlNodeListGetString()
1840 * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
1841 before returning, maybe alloca() would be the better
1842 choice but anyway ;)
1844 * objects/custom/custom_object.c:306 : adde xmlFree(str) below
1846 * lib/font.c (dia_font_build_layout) : don't leak result
1849 * lib/diagdkrenderer.c (draw_string) : don't leak rgba
1850 (this is the one which got me started using valgrind, see #130816)
1852 2004-01-07 Sanlig Badral <badral@openmn.org>
1854 * configure.in: Added "mn" to ALL_LINGUAS.
1856 2004-01-04 Hans Breuer <hans@breuer.org>
1858 * lib/diagdkrenderer.c : replace rendering of really small (height
1859 less than 2 pixels) with a simple dashed line, you wont notice the
1860 differnce beside it being much faster. This allows ...
1861 * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
1862 * app/navigation.c : ... and lets you see an read rendered text even
1863 in the nice navigation popup.
1865 * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too.
1866 (draw_string) : don't leak temporary image
1868 2004-01-04 Hans Breuer <hans@breuer.org>
1870 * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
1871 * app/interface.c : use dia-app-icons.h to give Dia window icons
1873 * lib/dia_image.c lib/color.c : _never_ call functions implemented
1874 in app/ from lib/. It is not portable and broken from design
1875 * app/app_procs.c : call color_init() and dia_image_init() conditional,
1876 i.e. only if running interactive.
1878 * lib/font.h : #include <time.h>
1880 * lib/libdia.def : updated externals
1882 * objects/UML/actor.c
1883 objects/UML/association.c (todo)
1884 objects/UML/branch.c
1885 objects/UML/class.[hc] objects/UML/class_dialog.c
1886 objects/UML/classicon.c
1887 objects/UML/component.c
1888 objects/UML/constraint.c
1889 objects/UML/dependency.c
1890 objects/UML/generalization.c
1891 objects/UML/implements.c
1892 objects/UML/large_package.c
1893 objects/UML/lifeline.c
1894 objects/UML/message.c
1896 objects/UML/object.c
1897 objects/UML/realizes.c
1898 objects/UML/small_package.c
1900 objects/UML/usecase.c
1902 : ported coloring of most UML objects (bug #97517, orginal
1903 work Mathias Hasselmann)
1905 * lib/properties.h : add _OPTIONAL variants for
1906 PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
1907 i.e. default colored - UML diagrams without complaining
1908 * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
1909 not set properties with the help of PXP_NOTSET. Otherwise
1910 optional attributes would lead to wrong initialization.
1912 * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
1913 to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
1914 Same for most other selectors which probably should be rewritten
1915 to the combo box with tree model from Gtk+ 2.4
1917 2004-01-04 Lars Clausen <lrclause@cs.uiuc.edu>
1919 * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
1920 being the Right Thing(tm) to use on Solaris.
1922 * objects/standard/bezier.c (bezierline_draw): Don't draw
1923 guidelines if not selected.
1925 * lib/object.[ch] (dia_object_is_selected): Function to check whether
1926 a given object is selected. O(n), where n is # selected objects.
1929 2004-01-03 Lars Clausen <lrclause@cs.uiuc.edu>
1931 * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
1932 Fonts dialog is closed without pressing Ok (bug #128646).
1934 2004-01-02 Lars Clausen <lrclause@cs.uiuc.edu>
1936 * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
1939 2004-01-01 Lars Clausen <lrclause@cs.uiuc.edu>
1941 * INSTALL: Updated list of requirements (bug #129653)
1943 * doc/en/dia.dia: Beginning class diagram for Dia from Luc
1944 Pionchon <luc@handhelds.org>.
1946 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
1948 * lib/diagdkrenderer.c (draw_string): Don't attempt to render
1949 empty or NULL strings (bug #130097).
1951 2003-12-31 Chris Sperandio <sperandi@eng.usf.edu>
1953 * plug-ins/metapost/render_metapost.c: Fixed string colorization.
1954 Added checks against color_black.
1956 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
1958 * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
1959 ARROW_TYPE_NONE. Thanks to Jon A. Solworth for showing that this
1962 * objects/UML/component_feature.c: Patch from W. Borgert
1963 <debacle@debian.org>: Add handle to component feature text.
1965 * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
1967 * lib/font.c: Caching PangoLayout for better rendering speed.
1969 2003-12-30 Lars Clausen <lars@raeder.dk>
1971 * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
1972 get absolute file name from relative.
1973 * app/recent_files.c (recent_file_history_add): Use absolute
1974 filenames for recent files menu so that files can be found when
1975 Dia is invoked from other places.
1977 * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
1978 Actually load different diagrams if such are requested on command
1981 * objects/UML/class_dialog.c (class_create_page): Fix from Luc
1982 Pionchon <luc@handhelds.org>: Correctly align labels for colors.
1984 * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
1985 remove text rendering. May be turned into greeking at some later
1989 * app/Makefile.am (dia_core_files):
1990 * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
1991 Adds navigation window a la Gimp, though without text being
1994 2003-12-27 Luc Pionchon <luc@handhelds.org>
1996 * app/navigation.h: (new file)
1997 * app/navigation.c: (new file) creates a navigation window with a
1998 thumbnail view of the whole diagram.
1999 * app/Makefile.am (dia_core_files): added new files.
2001 * app/interface.c (create_display_shell): added a button between
2002 the scrollbars to popup a navigation window.
2004 * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
2006 * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
2007 * lib/diagdkrenderer.c (draw_string): returns if the renderer do
2008 not want text rendering.
2010 2003-12-14 Lars Clausen <lrclause@cs.uiuc.edu>
2012 * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
2014 * objects/custom/shape_info.[ch]: Cleanup.
2016 * objects/custom/custom_object.[ch]: Changed to use new props
2021 * lib/prop_inttypes.c:
2022 * lib/prop_geomtypes.c: Added *prop_get_data_size.
2024 * lib/libdia.def: Added object_load_props.
2026 * configure.in: Better FT2 version test, from bug #129225.
2028 * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
2030 * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
2031 Lehmann <holger.lehmann@catworkx.de>.
2033 * plug-ins/xslt/Makefile.am:
2034 * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
2035 and OWL XSLT sheets.
2037 2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu>
2039 * lib/diagdkrenderer.c: Add implementation so text is still
2040 rendered. May be improved later.
2046 * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
2047 Allow running without a $DISPLAY!
2049 * lib/color.c: Remove warnings for non-interactive run.
2054 * app/app_procs.[ch]:
2055 Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
2056 to specify size for PNG output.
2058 * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
2059 render a little smaller, so as to fit the big ones.
2061 * lib/arrows.[ch]: New arrow type from W. Borgert
2062 <debacle@debian.org>: Filled Dot and Triangle.
2064 2003-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
2066 * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
2069 * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
2071 * acinclude.m4: Better Python configure code patch (can't find
2072 author, author please speak up!)
2074 2003-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
2076 * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
2079 2003-11-30 Hans Breuer <hans@breuer.org>
2081 * plug-ins/python/diasvg.py : initialize self.dash_length
2082 in constructor to avoid crashing if the renderer user
2083 does not set it before first usage.
2085 2003-11-30 Lars Clausen <lrclause@cs.uiuc.edu>
2087 * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
2091 * config.h.win32: Set version number to 0.92.2+cvs to distinguish
2092 development and stable versions.
2094 * lib/text.c (text_draw): Use new renderer function to draw the
2097 * lib/diarenderer.h:
2098 * lib/diarenderer.c: New renderer function "draw_text" with
2099 default implementation. This function should eventually be the
2100 main interface, as it will be able to handle width and caching of
2101 rendering internally. All users of draw_string should convert to
2102 use Text objects and call either renderer->draw_text or text_draw,
2103 the latter if the text can be edited in-place (as should be the
2106 2003-11-29 Lars Clausen <lrclause@cs.uiuc.edu>
2108 * shapes/Circuit/hresistor.shape: First example of extra
2111 2003-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
2113 * plug-ins/shape/shape-export.c:
2114 * lib/diasvgrenderer.h:
2115 * lib/diasvgrenderer.c:
2116 * plug-ins/svg/render_svg.c (new_svg_renderer):
2117 Actually store the font size, using DiaRenderer's font fields.
2119 2003-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
2121 * objects/custom/shape_info.[ch]:
2122 * objects/custom/custom_object.[ch]:
2123 Support for extra attributes in custom objects.
2125 2003-11-23 Lars Clausen <lrclause@cs.uiuc.edu>
2127 * app/diagram.c (diagram_update_menu_sensitivity): More
2128 intelligent checks for menu sensitivity. Might be slow on huge
2129 diagrams, but I think other things outweigh it by a lot.
2131 * app/menus.[ch]: Make "Bring Forwards"
2132 and "Send Backwards" updateable.
2134 2003-11-22 Steffen Macke <sdteffen@web.de>
2136 * shapes/Assorted/arrow-turn-up.shape:
2137 * shapes/Assorted/arrow-turn-up.png:
2138 * sheets/Assorted/Makefile.am:
2139 * sheets/Assorted.sheet.in: Added new arrow
2141 2003-11-17 Lars Clausen <lrclause@cs.uiuc.edu>
2149 * app/diagram_tree.c
2150 * app/diagram_tree_menu.c
2151 * app/diagram_tree_window.c
2152 * app/diapagelayout.c
2153 * app/diaunitspinner.c
2157 * app/layer_dialog.c
2158 * app/lineprops_area.c
2159 * app/linewidth_area.c
2162 * app/paginate_psprint.c
2164 * app/plugin-manager.c
2167 * app/recent_files.c
2169 * app/sheets_dialog.c
2170 * app/sheets_dialog_callbacks.c
2171 * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
2172 GTK-2 compatibility update, mostly gtk_foo -> g_foo.
2174 * TODO: Updated, note on EPS transparency.
2176 2003-11-07 Lars Clausen <lrclause@cs.uiuc.edu>
2178 * objects/UML/class.c (umlclass_draw): Allow classes with no name
2181 2003-11-01 Lars Clausen <lrclause@cs.uiuc.edu>
2184 * doc/en/dia-manual.xml:
2187 * NEWS: Another Brown Bag release for parenting problems,
2188 including a crash bug fix.
2190 * app/connectionpoint_ops.c (diagram_update_connections_object):
2191 Also update connections when moving children. This can cause
2192 move_handle to be called twice, so it must be idempotent.
2194 * app/load_save.c: Loading and saving of children totally redone.
2195 Now doesn't violate assumption that all objects in a layer are
2196 placed in order in XML file.
2198 * objects/UML/branch.c (branch_create): Don't lie about being
2201 * objects/UML/node.c (node_create):
2202 * objects/UML/large_package.c (largepackage_create): Drag with
2203 lower right-hand handle at creation like all other objects.
2205 2003-10-28 Lars Clausen <lrclause@cs.uiuc.edu>
2207 * app/disp_callbacks.c (ddisplay_drop_object): Change initial
2208 parenting drop to behave like a move inside, i.e. constrain place
2209 instead of trying to resize. 'Cause, resizing cannot be done for
2210 all objects (e.g. UML Class). Also simplified the algorithm a lot
2213 * app/load_save.c: Saving and loading of connection points for
2214 children added. Prototypes for static functions added.
2216 * lib/dynamic_obj.c: Removed debugging output.
2218 2003-10-26 Lars Clausen <lrclause@cs.uiuc.edu>
2220 * doc/en/dia-manual.xml:
2221 * doc/pl/dia-manual.sgml:
2225 * NEWS: Brown Bag release 0.92.1
2227 * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
2229 2003-10-25 Lars Clausen <lrclause@cs.uiuc.edu>
2231 * app/app_procs.c (app_init): Rearrangement for translators.
2233 2003-10-24 Steffen Macke <sdteffen@web.de>
2235 * lib/text.c(text_key_event): enforcing the inserted text length now,
2238 2003-10-22 Lars Clausen <lrclause@cs.uiuc.edu>
2240 * MAINTAINERS: Change Debian maintainer to be the default address.
2242 * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
2243 args to match prototype, thus removing crashbug #125159.
2245 * RELEASE-PROCESS: Note to self.
2247 2003-10-22 Steffen Macke <sdteffen@web.de>
2249 * doc/en/dia-manual.xml: removed superfluous external references
2251 2003-10-21 Steffen Macke <sdteffen@web.de>
2253 * lib/libdia.def: added filter_get_by_name
2254 * app/render_eps.c: moved extensions definition outside #ifdef
2256 2003-10-19 Lars Clausen <lrclause@cs.uiuc.edu>
2260 Removed old Dia manual, put new one in doc/en/. Translations
2261 should go in doc/??/.
2263 * doc/en/dia-manual.xml:
2264 * doc/pl/dia-manual.sgml:
2265 * dia.spec (Release):
2268 * NEWS: 0.92 is here!
2272 * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
2273 HallenBerg, W. Borgert. Not currently autogenerated from dia.dbk,
2276 * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
2278 * doc/en/usage-objects-selecting.xml: Commented out empty note.
2280 2003-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
2282 * doc/pl/dia-manual.sgml:
2283 * doc/en/dia-manual.xml:
2287 * dia.spec (Release): Pre7.
2289 * app/diapsrenderer.c (draw_string): Convert string to print based
2290 on current locale. If conversion fails, fall back to UTF-8 (which
2291 is almost certain to be messy).
2293 2003-10-13 Lars Clausen <lrclause@cs.uiuc.edu>
2295 * doc/pl/dia-manual.sgml:
2296 * dia.spec (Release):
2300 * doc/en/dia-manual.xml: Pre6.
2302 * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
2303 TeX chars in strings -- must be possible to use TeX text in there.
2304 Also avoids infinite loop bug (#124464) Will get option for this
2307 2003-10-11 Lars Clausen <lrclause@cs.uiuc.edu>
2309 * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
2311 * doc/en/dia-manual.xml:
2312 * doc/pl/dia-manual.sgml:
2313 * dia.spec (Release):
2318 * app/authors.h: Removed duplicate of M. C. Nelson.
2320 * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
2322 * app/export_png.c: Unique name for libart PNG export: png-libart.
2324 * app/render_eps.c: Unique names for the two eps export methods:
2325 eps-builtin, eps-pango.
2327 * lib/filter.h: Binary compatibility change:
2328 Added unique name to export filters. Can be NULL.
2329 * lib/filter.c (filter_get_by_name): Finding a filter by
2332 * app/app_procs.h: Changed prototype for do_convert.
2333 * app/app_procs.c (app_init): Support for non-extension file
2334 format selection for export. Also allow extension to differ from
2335 that specified by the filters. A bit of refactoring, too.
2337 2003-09-28 Steffen Macke <sdteffen@web.de>
2339 * makefile.msc: added target po to update the translations
2341 2003-09-27 Lars Clausen <lrclause@cs.uiuc.edu>
2344 * dia.spec (Release):
2346 * doc/pl/dia-manual.sgml:
2347 * doc/en/dia-manual.xml:
2348 Pre4 is given a short try.
2350 * configure.in: Give all necessary libs to PNG test.
2352 * lib/font.c: Added legacy entries for sans, serif and monospace.
2354 * app/app_procs.c (internal_plugin_init):
2357 Added PS fonts output for Unix.
2359 * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
2360 factor to make PS fonts stay in boxes.
2362 2003-08-03 Hans Breuer <hans@breuer.org>
2364 * config.h.win32 : close the version string
2366 * lib/libdia.def : with color_white, color_black being static
2367 on win32 they can not be exported anymore either
2369 * lib/dialibartrenderer.c : text rendering is back on win32,
2370 only by Gdk though; almost a year seems to be enough to
2371 wait for my patch at bug #94791 to be accepted ...
2373 2003-09-23 Lars Clausen <lrclause@cs.uiuc.edu>
2375 * shapes/network/{digitizing_board.png,plotter.png,
2376 laptop.png,telephone.png}: 22x22 icons.
2378 2003-09-22 Lars Clausen <lrclause@cs.uiuc.edu>
2380 * doc/pl/dia-manual.sgml:
2381 * doc/en/dia-manual.xml:
2382 * dia.spec (Release):
2386 pre3 improves font rendering speed.
2388 * app/app_procs.c (app_init): Don't do pango init here, it's done
2389 on demand in font.c now.
2391 * lib/font.c: Load pango context on demand rather than during
2392 init/all the time strikes a better balance between working font
2393 size and speed. Still need to cache width calculations.
2395 2003-09-18 Lars Clausen <lrclause@cs.uiuc.edu>
2397 * lib/dia_xml.c: Enable pretty printing. Should have been added
2400 2003-09-11 Lars Clausen <lrclause@cs.uiuc.edu>
2402 * lib/arrows.c (calculate_arrow_point): Adjust arrow line
2403 adjustment a bit for half diamond and open round.
2405 * RELEASE-PROCESS: Added note about notifying translators and
2408 * doc/pl/dia-manual.sgml:
2409 * doc/en/dia-manual.xml:
2410 * dia.spec (Release):
2414 Update to 0.92-pre2.
2416 2003-09-10 Lars Clausen <lrclause@cs.uiuc.edu>
2418 * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
2419 calculation for half diamond and open round.
2422 * objects/UML/component_feature.c:
2423 * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
2424 arrows instead of specific little hacks. Much nicer, but damn
2425 there's a lot of arrows.
2427 * lib/dialibartrenderer.c (begin_render):
2428 * app/render_libart.c (begin_render): Use correct DPI for screen
2429 (well, actually the default DPI of 75 for now).
2431 * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
2433 * lib/diagdkrenderer.c (draw_string): Some reformatting.
2435 * app/app_procs.c (app_init): Note on what should be done for the
2436 pango context now, only it doesn't work:(
2438 * lib/font.c (dia_font_new): Make sure to load fonts that are
2439 used, using a reasonable pango_context. Also a comment on the
2442 2003-09-09 Lars Clausen <lrclause@cs.uiuc.edu>
2444 * doc/pl/graphics/*.png:
2445 * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
2446 loop (bug #121817). PL translator may want to change the
2447 home_network png to be in Polish. If the docs get translated into
2448 more languages, we'll want to find out how to share these things.
2450 2003-09-08 Lars Clausen <lrclause@cs.uiuc.edu>
2452 * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
2453 <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
2456 * app/filedlg.c (file_save_as_callback): Put filename setting
2457 together. (Preparation for allowing default save dir.)
2459 * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
2460 correctly this time:)
2462 * app/dia-props.c (diagram_properties_show):
2463 * app/properties.c (properties_show): Make sure the
2464 dialogs are transient for the correct diagram.
2466 2003-09-07 Lars Clausen <lrclause@cs.uiuc.edu>
2468 * configure.in: Make sure -lz -lm is passed into second png test
2469 as well (stupid AC_LINK_IFELSE can't take it as an argument).
2471 * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
2472 comment-filled files readable. Once we have a 'generic data'
2473 system, we can put comments in there.
2475 2003-09-06 Steffen Macke <sdteffen@web.de>
2477 * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
2478 g_string_sized_new() instead of g_string_new() to make it compile
2479 * app/Makefile.am: including dia.ico and dia.rc in the tarball
2480 * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1
2481 for non-solid linestyles - otherwise custom linestyles have to be used.
2483 2003-09-02 Steffen Macke <sdteffen@web.de>
2485 * app/commands.c(help_manual_callback): using dia-manual.chm instead of
2488 2003-09-02 Christian Neumair <chris@gnome-de.org>
2490 * sheets/Pneumatic.sheet.in: Slight unification fix.
2492 2003-09-02 Lars Clausen <lrclause@cs.uiuc.edu>
2496 * dia.spec (Release):
2497 * doc/en/dia-manual.xml:
2498 * doc/pl/dia-manual.sgml:
2499 * NEWS: Update to 0.92-pre1.
2501 * app/properties.c (properties_key_event): Removing Esc/Enter
2502 handling for now, interferes to much with regular dialog usage.
2504 * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
2505 Function to escape special TeX characters. Not in use yet, as
2506 PSTricks output by default is TeX strings. Should get a save-time
2509 2008-09-01 Steffen Macke <sdteffen@web.de>
2511 * lib/paper.h: explanatory comment on width and height
2513 2003-08-30 Steffen Macke <sdteffen@web.de>
2516 * lib/color.h: made color_white, color_black static on win32
2518 2003-08-28 Lars Clausen <lrclause@cs.uiuc.edu>
2520 * configure.in (PNG_LIBS): Something in the png tests added an
2521 extra -lpng to $LIBS. Saving old $LIBS to avoid that.
2523 2003-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
2525 * configure.in: Quote correctly for temporarily adding freetype
2528 * app/preferences.c (prefs_save): Remove debugging g_print.
2530 2003-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
2532 * objects/flowchart/parallelogram.c (pgram_update_data):
2533 Directions for connections, better system for placing
2536 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
2538 * lib/diagramdata.c (layer_find_closest_object_except): Look all
2539 the way through the object list, so the foremost object is selected.
2541 * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
2542 included for diagramdata.c.
2544 * lib/prop_text.c (multistringprop_handle_key): Attempt at making
2545 newline in multistringprop not close the dialog. Failed so far.
2547 2003-08-25 Steffen Macke <sdteffen@web.de>
2549 * app/commands.c: using CHM instead of HTML on win32 if available
2550 * lib/diagramdata.h: including dynamic_obj.h
2552 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
2554 * app/properties.c (properties_key_event): Make Enter = Ok for
2555 properties dialogs. Still some problems with this and Esc for
2556 Cancel, for instances escaping out of a menu closes the dialog.
2558 * objects/UML/association.c (association_get_properties):
2559 * objects/UML/class_dialog.c (class_create_page): Grab appropriate
2562 * app/diapsft2renderer.c (draw_string): Use
2563 dia_font_scaled_build_layout to ensure similarity of text.
2565 * lib/diagramdata.c: Remove obj from dynobj list when removing
2566 from layer to avoid nasty race conditions.
2568 * app/undo.c (group_objects_revert): Make sure to unparent and
2569 remove from dynobj list when changing layers objects.
2571 2003-08-23 Steffen Macke <sdteffen@web.de>
2573 * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with
2574 StretchBlt(); fixes #92249
2576 2003-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
2578 * app/filedlg.c (file_save_as_callback):
2579 * app/preferences.h:
2580 * app/preferences.c (prefs_data):
2581 * lib/diagramdata.h:
2582 * lib/diagramdata.c (new_diagram_data):
2583 * app/load_save.c (diagram_data_load):
2584 Let the document remember whether it was compressed. The user can
2585 still override this in the Save As... dialog, and that will still
2586 be remembered as the default for new diagrams.
2588 2003-08-23 Steffen Macke <sdteffen@web.de>
2590 * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
2592 2003-08-22 Steffen Macke <sdteffen@web.de>
2594 * plug-ins/xslt/dia-uml.xsl:
2595 * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
2596 table containing a list of components grouped by stereotype
2598 2003-08-21 Steffen Macke <sdteffen@web.de>
2600 * lib/makefile.msc: added connectionpoint.obj
2601 * lib/libdia.def: added connpoint_update, find_slope_directions
2602 * app/disp_callbacks.c: including scroll_tool.h
2603 * obj/makefile.msc: added component_feature.obj
2604 * app/paginate_gdiprint.c: fixed loop initialization in
2605 paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
2608 2003-08-21 Lars Clausen <lrclause@cs.uiuc.edu>
2610 * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
2613 * lib/diagramdata.h: Colors added to prefs.
2614 * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
2615 New field for pagebreak color, which should
2616 behave the same as grid color and be settable for a diagram.
2618 * app/diagram.c (diagram_init): Update diagram pagebreak color
2621 * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
2624 * app/preferences.[ch]: Default diagram colors now #defines, so
2625 loading can use it. Also, colors are now in NewDiagramData, so
2626 are passed nicely into new diagrams directly from prefs. Yum.
2628 * app/load_save.c (diagram_data_write_doc, diagram_data_load):
2629 Support for loading and saving grid and pagebreak colors with the
2630 diagram. I'm inclined to make all the three Colors in diagram
2631 Color*s instead, so we can tell if they're specified for the
2632 diagram or merely the default setting. There'd be no way for the
2633 user to tell if the color of a diagram is default, though, unless
2634 we add a 'reset to default' button to prefs.
2636 * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
2637 pagebreak color. Unsensitizing grid size when dynamic.
2639 * objects/UML/component.c: Patch from Krzysztof Foltman
2640 <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
2641 third. Makes the left side connections actually be on the line
2644 2003-08-20 Steffen Macke <sdteffen@web.de>
2646 * lib/libdia.def: added layer_find_closest_object_except
2647 * lib/diagramdata.c: added ; after GOTO to make MSVC compile
2649 2003-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
2653 * app/scroll_tool.c:
2655 * app/disp_callbacks.c:
2656 * app/create_object.h:
2657 * app/create_object.c: Patch from Krzysztof Foltman
2658 <kfoltman@onet.pl>: Middle button can scroll transiently when
2659 menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
2663 * sheets/UML.sheet.in:
2664 * sheets/UML/receptacle.xpm:
2665 * sheets/UML/Makefile.am:
2666 * sheets/UML/eventsource.xpm:
2667 * sheets/UML/eventsink.xpm:
2668 * objects/UML/pixmaps/facet.xpm:
2669 * objects/UML/uml.c (dia_plugin_init):
2670 * objects/UML/Makefile.am (libuml_objects_la_SOURCES):
2671 * objects/UML/component_feature.c:
2672 Patch from W. Borgert <debacle@debian.org>: Add event sources and
2675 2003-08-19 Lars Clausen <lrclause@cs.uiuc.edu>
2677 * lib/object.h: Turning some comments into doxygen style.
2679 * lib/object_defaults.c (dia_object_defaults_load)
2680 (dia_object_default_get, dia_object_default_create):
2681 Fixing up existing documentation.
2683 * lib/object.h: Doxygen style documentation begun.
2685 * app/create_object.c:
2687 * app/connectionpoint_ops.c:
2688 * app/disp_callbacks.c:
2689 * app/modify_tool.c:
2691 * objects/network/wanlink.c (wanlink_move_handle):
2692 * objects/network/bus.c (bus_move_handle):
2694 * objects/flowchart/parallelogram.c (pgram_move_handle):
2695 * objects/flowchart/ellipse.c (ellipse_move_handle):
2696 * objects/flowchart/diamond.c (diamond_move_handle):
2697 * objects/flowchart/box.c (box_move_handle):
2699 * objects/custom/custom_object.c (custom_move_handle):
2701 * objects/chronogram/chronoref.c (chronoref_move_handle):
2702 * objects/chronogram/chronoline.c (chronoline_move_handle):
2704 * objects/SADT/box.c (sadtbox_move_handle):
2705 * objects/SADT/arrow.c (sadtarrow_move_handle):
2706 * objects/SADT/annotation.c (annotation_move_handle):
2708 * objects/Misc/analog_clock.c (analog_clock_move_handle):
2710 * objects/GRAFCET/vergent.c (vergent_move_handle):
2711 * objects/GRAFCET/vector.c (arc_move_handle):
2712 * objects/GRAFCET/transition.c (transition_move_handle):
2713 * objects/GRAFCET/step.c (step_move_handle):
2714 * objects/GRAFCET/condition.c (condition_move_handle):
2715 * objects/GRAFCET/action.c (action_move_handle):
2717 * objects/FS/function.c:
2718 * objects/FS/flow.c:
2719 * objects/FS/flow-ortho.c (orthflow_move_handle):
2720 * objects/FS/flow-poly.c (flow_move_handle):
2722 * objects/UML/usecase.c (usecase_move_handle):
2723 * objects/UML/state_term.c (state_move_handle):
2724 * objects/UML/state.c (state_move_handle):
2725 * objects/UML/small_package.c (smallpackage_move_handle):
2726 * objects/UML/realizes.c (realizes_move_handle):
2727 * objects/UML/object.c (objet_move_handle):
2728 * objects/UML/note.c (note_move_handle):
2729 * objects/UML/node.c (node_move_handle):
2730 * objects/UML/message.c (message_move_handle):
2731 * objects/UML/lifeline.c (lifeline_move_handle):
2732 * objects/UML/large_package.c (largepackage_move_handle):
2733 * objects/UML/implements.c (implements_move_handle):
2734 * objects/UML/generalization.c (generalization_move_handle):
2735 * objects/UML/fork.c (fork_move_handle):
2736 * objects/UML/dependency.c (dependency_move_handle):
2737 * objects/UML/constraint.c (constraint_move_handle):
2738 * objects/UML/compprop.c (compprop_move_handle):
2739 * objects/UML/component.c (component_move_handle):
2740 * objects/UML/branch.c (branch_move_handle):
2741 * objects/UML/association.c (association_move_handle):
2742 * objects/UML/actor.c (actor_move_handle):
2743 * objects/UML/activity.c (state_move_handle):
2744 * objects/UML/class.c (umlclass_move_handle):
2746 * objects/standard/ellipse.c (ellipse_move_handle):
2747 * objects/standard/zigzagline.c (zigzagline_move_handle):
2748 * objects/standard/textobj.c (textobj_move_handle):
2749 * objects/standard/polyline.c (polyline_move_handle):
2750 * objects/standard/polygon.c (polygon_move_handle):
2751 * objects/standard/line.c (line_move_handle):
2752 * objects/standard/image.c (image_move_handle):
2753 * objects/standard/bezier.c (bezierline_move_handle):
2754 * objects/standard/arc.c (arc_move_handle):
2755 * objects/standard/beziergon.c (beziergon_move_handle):
2756 * objects/standard/box.c (box_move_handle):
2758 * objects/ER/relationship.c (relationship_move_handle):
2759 * objects/ER/participation.c (participation_move_handle):
2760 * objects/ER/entity.c (entity_move_handle):
2761 * objects/ER/attribute.c (attribute_move_handle):
2763 * lib/polyshape.c (polyshape_move_handle):
2765 * lib/orth_conn.c (orthconn_move_handle):
2767 * lib/neworth_conn.c (neworthconn_move_handle):
2768 * lib/neworth_conn.h:
2769 * lib/element.c (element_move_handle):
2771 * lib/connection.c (connection_move_handle):
2773 * lib/beziershape.c (beziershape_move_handle):
2774 * lib/beziershape.h:
2775 * lib/bezier_conn.c (bezierconn_move_handle):
2776 * lib/bezier_conn.h:
2777 *BINARY COMPATIBILITY CHANGE*
2778 Update prototype for *_move_handle() to include connectionpoint,
2779 and also pass on modifiers. Pass in connectionpoint where
2782 * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
2783 file connectionpoint.c.
2785 2003-08-17 Danilo Šegan <dsegan@gmx.net>
2787 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2789 2003-08-15 Lars Clausen <lrclause@cs.uiuc.edu>
2791 * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
2793 * lib/beziershape.c (beziershape_update_data): Autoroute
2794 directions for beziershapes!
2796 * lib/connectionpoint.c (find_slope_directions):
2797 * lib/connectionpoint.h: Function for finding the available
2798 directions on a slope.
2800 * lib/polyshape.c: Reasonable directions for
2803 2003-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
2805 * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips):
2806 * objects/GRAFCET/vergent.c (vergent_update_data):
2807 * objects/GRAFCET/transition.c (transition_update_data):
2808 * objects/GRAFCET/action.c (action_update_data):
2809 * objects/GRAFCET/step.c (step_update_data):
2810 * objects/FS/function.c (function_update_data):
2811 * lib/connpoint_line.c (connpointline_putonaline):
2812 * objects/ER/attribute.c (attribute_update_data):
2813 * objects/ER/entity.c (entity_update_data):
2814 * objects/ER/relationship.c (relationship_update_data):
2815 * objects/chronogram/chronoline.c (chronoline_update_data): Set
2816 directions for connection points.
2818 * objects/UML/component.c (component_create): Set to allow
2821 * app/create_object.c (create_object_button_press):
2822 * app/diagram.[ch] (diagram_find_clicked_object_except):
2823 * lib/diagramdata.[ch] (layer_find_closest_object_except):
2824 Avoid parenting to objects you're connecting to (otherwise you
2825 couldn't make a connection out of a parenting object). To do
2826 this, added functions to find the nearest object except a given
2829 * app/render_libart.c: Rearrange libart include to avoid multiple
2830 include program (and put libart includes inside #ifdef!)
2832 2003-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
2834 * lib/dialibartrenderer.c: Don't include art_config.h if others
2835 also do, as it isn't #ifdef'd.
2837 * objects/flowchart/ellipse.c (ellipse_update_data): Add
2838 directions for connection points.
2840 2003-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
2842 * objects/flowchart/box.c (box_update_data): Add directions, use
2844 (box_load): Use g_malloc0.
2846 * lib/Makefile.am (libdia_la_SOURCES):
2847 * lib/connectionpoint.c (connpoint_update):
2848 Function to call to update a connection point info in _update_data().
2850 * lib/connectionpoint.h: Convenience DIR_ macros.
2852 * app/preferences.c (prefs_data): Make pretty formatted XML the
2855 * lib/dialibartrenderer.c:
2856 * app/render_libart.c: Make sure art_config.h is included, cause
2857 some libart headers are broken.
2859 * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
2860 after test. Add freetype-config cflags to cflags variable.
2862 2003-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
2864 * app/authors.h: Credits for Krzysztof.
2866 * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
2867 Foltman <kfoltman@onet.pl>. It occurs to me that the name (rather
2868 than the description) is visible in the title of the properties
2869 dialog. That ought to be a short description (translatable),
2870 though we still want long descriptions for the tooltips. Hmmm...
2872 * configure.in: Updated to use AC_LINK_IFELSE instead of
2873 AC_TRY_COMPILE, also force to link to check libs on Solaris.
2875 * objects/ER/entity.c (entity_load):
2876 * objects/ER/attribute.c (attribute_load):
2877 * lib/attributes.c (attributes_set_default_font):
2878 Check if font is non-null before unreffing.
2880 2003-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
2882 * app/diagram.c (diagram_ungroup_selected)
2883 (diagram_group_selected): Use the undo apply to make sure grouping
2884 and ungrouping is done in consistent manners. This removes a fair
2885 amount of duplicated code from diagram.c.
2887 * app/undo.c (ungroup_objects_revert, ungroup_objects_apply)
2888 (group_objects_revert, group_objects_apply): Working undo/redo for
2889 diagram tree updates. The initial actions still don't quite work.
2891 2003-08-07 Lars Clausen <lrclause@cs.uiuc.edu>
2893 * app/create_object.c (create_object_button_press):
2895 * app/diagram.c: Undo support for parenting. Uses apply/revert in
2896 undo only for manipulating the parent/child relationships. Things
2897 like removing an object doesn't use the undo functions for
2898 parenting, so any updates to come (like to diagramtree) should be
2901 2003-08-03 Hans Breuer <hans@breuer.org>
2903 * app/create_object.c : minor formating and g_new0 for
2906 * lib/bezier_conn.[hc] lib/beziershape.[hc]
2907 lib/prop_geomtypes.c (prop_geomtypes_register)
2908 objects/standard/bezier.c objects/standard/beziergon.c :
2909 ability to set bezpoints via StdProp api
2911 * plug-ins/python/pydia-property.c : convert list of tuples
2914 * plug-ins/python/diasvg_import.py : use it to
2915 implement part of path parsing. Also minor improvements
2916 like inheritance of group attributes to members,
2917 whitespace, title and style:text/css ignoring ;-)
2919 2003-08-02 Hans Breuer <hans@breuer.org>
2921 * lib/connections.c (connection_move_handle): return
2922 something to make it compile
2923 * lib/object.c(190) : error C4033: 'object_list_move_delta_r'
2924 must return a value -> dito
2925 [Is there a warnings-as-errors switch we could use with gcc
2926 to avoid such in future ?]
2928 * plug-ins/python/pydia-object.h : define *_Check macros
2929 * plug-ins/python/diamodule.c : provide dia.group_create()
2930 * plug-ins/python/pydia-diagramdata.c : add
2931 DiaDiagramData.add_layer()
2932 * plug-ins/python/pydia-property.c : allow to set color by
2935 * plug-ins/python/diasvg_import.py : based on the above
2936 implement a) group support, b) rgb(1,2,3) color handling,
2937 and somewhat fishy data:image/png;base64 support (create
2938 temporary files from inline image data)
2939 d) dump the import errors as text into an 'Error' layer
2941 * plug-ins/python/diasvg.py : add xmlns:xlink, removed a
2942 stray " in draw_rect and corrected error message formating
2944 * plug-ins/pydia/pydia-geometry.c : removed ## to make it
2945 compile with gcc 3.3, fixes bug #117204. Thanks to Daniel
2948 2003-08-01 Hubert Figuiere <hfiguiere@teaser.fr>
2950 * app/magnify.c (create_magnify_tool): allocate with g_new0()
2952 * app/preferences.c (prefs_create_dialog): use checkboxes for boolean
2953 preferences values (see bug 118570). Also group items into a GtkFrame.
2955 2003-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
2960 * app/commands.c (objects_unparent_children_callback):
2962 * app/diagram.c (diagram_unparent_selected,
2963 (diagram_update_menu_sensitivity):
2964 Added unparenting of single children.
2966 * lib/bezier_conn.c:
2967 * lib/bezier_conn.h:
2968 * lib/beziershape.c:
2969 * lib/beziershape.h:
2975 * lib/neworth_conn.c:
2976 * lib/neworth_conn.h:
2983 * objects/EML/instantiation.c:
2984 * objects/EML/interaction-ortho.c:
2985 * objects/EML/interaction.c:
2986 * objects/EML/process.c:
2987 * objects/ER/attribute.c:
2988 * objects/ER/entity.c:
2989 * objects/ER/participation.c:
2990 * objects/ER/relationship.c:
2991 * objects/FS/flow-ortho.c:
2992 * objects/FS/flow-poly.c:
2993 * objects/FS/flow.c:
2994 * objects/FS/function.c:
2995 * objects/GRAFCET/action.c:
2996 * objects/GRAFCET/condition.c:
2997 * objects/GRAFCET/step.c:
2998 * objects/GRAFCET/transition.c:
2999 * objects/GRAFCET/vector.c:
3000 * objects/GRAFCET/vergent.c:
3001 * objects/Misc/analog_clock.c:
3002 * objects/SADT/annotation.c:
3003 * objects/SADT/arrow.c:
3004 * objects/SADT/box.c:
3005 * objects/UML/activity.c:
3006 * objects/UML/actor.c:
3007 * objects/UML/association.c:
3008 * objects/UML/branch.c:
3009 * objects/UML/class.c:
3010 * objects/UML/classicon.c:
3011 * objects/UML/component.c:
3012 * objects/UML/constraint.c:
3013 * objects/UML/dependency.c:
3014 * objects/UML/fork.c:
3015 * objects/UML/generalization.c:
3016 * objects/UML/implements.c:
3017 * objects/UML/large_package.c:
3018 * objects/UML/lifeline.c:
3019 * objects/UML/message.c:
3020 * objects/UML/node.c:
3021 * objects/UML/note.c:
3022 * objects/UML/object.c:
3023 * objects/UML/realizes.c:
3024 * objects/UML/small_package.c:
3025 * objects/UML/state.c:
3026 * objects/UML/state_term.c:
3027 * objects/UML/usecase.c:
3028 * objects/chronogram/chronoline.c:
3029 * objects/chronogram/chronoref.c:
3030 * objects/custom/custom_object.c:
3031 * objects/flowchart/box.c:
3032 * objects/flowchart/diamond.c:
3033 * objects/flowchart/ellipse.c:
3034 * objects/flowchart/parallelogram.c:
3035 * objects/network/bus.c:
3036 * objects/network/wanlink.c:
3037 * objects/standard/arc.c:
3038 * objects/standard/bezier.c:
3039 * objects/standard/beziergon.c:
3040 * objects/standard/box.c:
3041 * objects/standard/ellipse.c:
3042 * objects/standard/image.c:
3043 * objects/standard/line.c:
3044 * objects/standard/polygon.c:
3045 * objects/standard/polyline.c:
3046 * objects/standard/textobj.c:
3047 * objects/standard/zigzagline.c:
3048 Binary compatibility update: Added return value for foo_move() and
3049 foo_move_handle(). Orthconn derivatives also returns change from
3050 orthconn_move_handle().
3052 * lib/orth_conn.c: Undo support for autorouting. Neworthconn
3053 doesn't support it yet.
3055 * lib/object.c (object_list_move_delta_r, object_list_move_delta):
3056 Add returning ObjectChange from object moves. Needs to handle
3057 multiple object moves.
3059 * app/modify_tool.c (modify_motion, modify_release): Add
3060 ObjectChange from move & move_handle to undo stack.
3062 * objects/EML/instantiation.c (instantiation_move): Removing
3063 duplicate move & update.
3065 2003-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
3067 * plug-ins/xfig/xfig-export.c: Added support for arrow head
3068 export. Many arrow types not supported by XFig, replacing those
3069 with standard arrows. Not sure whether it'd be better to render
3070 them as a group of lines instead. You'd lose the arrow-ness for
3071 further editing, but preserve the actual shape of it. Also added
3072 support for dash length.
3074 * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
3076 * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
3077 description for version 3.2, for reference.
3079 * plug-ins/xfig/xfig-import.c: Added import of arrows.
3081 * app/menus.c: Removed prefs item from Gnome diagram menu. Made
3082 Align Vertical Adjacent call _v rather than _h.
3084 2003-07-29 Hubert Figuiere <hfiguiere@teaser.fr>
3086 * app/scroll_tool.c (create_scroll_tool):
3087 * app/modify_tool.c (create_modify_tool): use g_new0() to
3090 2003-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
3092 * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
3094 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
3096 * configure.in: Added Macedonian (mk) to ALL_LINGUAS
3098 2003-07-23 Dmitry G. Mastrukov <dmitry@taurussoft.org>
3100 * configure.in: Added Belarusian to ALL_LINGUAS.
3102 2003-07-19 Hans Breuer <hans@breuer.org>
3105 Make the xslt plug-in work on win32, too. It appears
3106 to require a quite recent version of libxml and libxslt,
3107 otherwise windoze pathes aren't translated correctly
3108 during file processing
3111 * plug-ins/xslt/xslt.h : #include <glib.h> before
3114 * plug-ins/xslt/xslt.c : plugged some memory leaks and do
3115 the 'script' file finding similar to how it is done
3116 with the python scripts (no need for hardcoded pathes,
3117 removed the 'plugin' part from the path)
3119 * plug-ins/xslt/stylesheets.xml : added again. It does
3120 not have any path but only the pure filename again
3122 * plug-ins/xslt/stylesheets.xml.in : removed
3124 * plug-ins/xslt/Makefile.am : removed 'plugin' and the
3125 rule to process stylesheets.xml.in
3127 * plug-ins/makefile.msc : added xslt
3129 2003-07-19 Hans Breuer <hans@breuer.org>
3131 Finally Dia learned to remember the recent selected sheet
3133 * app/preferences.[hc] : added prefs.recent_sheet
3134 * app/interface.c : restore and remember the sheet-option-menu
3135 history, but only if the respective number is stiil available.
3136 This additional adds robustness against running Dia without
3137 any sheet (e.g. installation problems)
3138 * app/app_procs.c : call prefs_safe() in app_exit() to remember
3139 changes which are not done by the prefernces dialog
3141 * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
3142 removed every call (especially the conditional ones) to prefs_safe().
3143 Before prefs_safe() was called _many_ times during Dia startup
3145 2003-07-18 Hans Breuer <hans@breuer.org>
3147 * app/makefile.msc lib/makefile.msc lib/libdia.def :
3150 * lib/color.c : use gtk_widget_get_default_visual();
3151 as suggested in #114536
3153 * app/interface.c app/disp_callbacks.c :
3154 moved round_up () to the latter file where it is used
3156 * app/linewidth_area.c : #include "interface.h" for
3157 interface_get_toolbox_shell()
3159 2003-07-18 Hubert Figuiere <hfiguiere@teaser.fr>
3161 * plug-ins/pixbuf/.cvsignore
3162 * shapes/Cisco/.cvsignore:
3165 2003-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
3167 * app/dia-props.c (diagram_properties_retrieve): Use
3168 diagram_get_name() to add the diagram name to the diagram
3172 * app/diagram.c (diagram_get_name): New function to get a
3173 reasonable diagram name.
3175 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3176 info. Still need to be able to set dynamic grid. Also ought to
3177 follow Gnome style and have instant apply.
3179 * app/preferences.h:
3180 * app/preferences.c (prefs_data): Remove option to use stippled
3181 grid, add option for major line offset. Default to 5 minor lines
3183 Add option for dynamically sized grid.
3185 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3187 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
3188 stippled/solid to display minor/major grid lines. Line drawing in
3189 separate functions away from calculating line distance.
3191 * app/grid.h: Split page break drawing out of grid_draw.
3193 * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
3194 Figuiere <hfiguiere@teaser.fr>: Layer dialog show go to front
3195 when menu item is selected.
3197 2003-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
3199 * configure.in: Removed -Winline flag to make way for important
3202 * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
3203 non-compressed. Should fix bug #117381, also look prettier.
3206 * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
3207 Set up desktop info more properly.
3209 2003-07-13 Lars Clausen <lrclause@cs.uiuc.edu>
3226 Autorouting directions patch from Krzysztof Foltman
3229 * app/menus.c: Wrong GNOME paren fixed. Correct callbacks for
3230 GNOME parent menu items.
3232 * app/authors.h: Added Vadim to contributors list.
3234 2003-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
3236 * app/commands.[ch]:
3237 * app/create_object.c:
3238 * app/disp_callbacks.[ch]:
3249 * objects/UML/large_package.c: Patch from Vadim Berezniker
3250 <vadim@berezniker.com>:
3251 Objects may "parent" other objects, i.e. contain them within
3252 themselves, restrain them and move them along. Some more stuff is
3253 needed, such as selection and individual unparenting. This adds
3254 parenting to UML - Large Package rather than Box.
3256 2003-07-11 Lars Clausen <lrclause@cs.uiuc.edu>
3258 * app/linewidth_area.c: Patch from Krzysztof Foltman
3259 <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
3260 conform more, at least:).
3262 * plug-ins/metapost/render_metapost.[ch] : Applied patch from
3263 Chris Sperandio <sperandi@eng.usf.edu>: Fixed linewidths and
3264 arcs. Implemented images (though there is some pixelization and
3265 banding in the output). Changed output file format to be a little
3268 * app/app_procs.c (app_exit): Added message for double exit, which
3269 shouldn't happen any more. Also preventing strange g_object_unref
3270 messages by having a printf after gtk_main_quit. This is really
3273 * app/interface.c (toolbox_delete): Avoid double app_exit call by
3274 removing handler for destroy when delete is called.
3276 2003-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
3279 * app/display.c (ddisplay_scroll_to_object,
3280 ddisplay_scroll_center_point): New function for easy scrolling to
3283 2003-07-06 Lars Clausen <lrclause@cs.uiuc.edu>
3285 * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere: Add
3286 $(srcdir) on stylesheets.xml.
3288 * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
3289 diagram menus (since they're at the top by default now). Also
3290 move the Properties... menu item from Dialogs to Objects. Dialogs
3291 menu should disappear at some point.
3293 * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
3294 ./configure from ./autogen.sh, as configure may need to be run
3295 from a different directory. (Also more standard this way.)
3297 * app/app_procs.c (app_init):
3298 * app/Makefile.am (INCLUDES): Gnome standardization patch from
3301 2003-07-03 Lars Clausen <lrclause@cs.uiuc.edu>
3303 * objects/flowchart/parallelogram.c (pgram_update_data):
3304 Left/right alignment for parallelograms. Doesn't use all
3305 available space, but then pgrams also ignore their shear value.
3306 This thing needs a loving hand.
3308 2003-07-01 Hans Breuer <hans@breuer.org>
3310 * lib/properties.h : introduce PROP_FLAG_OPTIONAL
3311 * lib/proplist.c : don't complain if optional attr is missing
3312 * lib/orth_conn.h : make "orth_autoroute" optional to
3313 stop complaining with older files.
3315 2003-06-13 Guntupalli Karunakar <karunakar@freedomink.org>
3317 * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
3319 2003-06-05 Andrew Halper <ashalper@cox.net>
3321 * app/diagram_tree.c : add scrolling of drawing area
3322 to desired object on "Locate". Patch modified to use new ddisplay
3323 function ddisplay_scroll_to_object().
3325 2003-06-11 Lars Clausen <lars@raeder.dk>
3327 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3328 info. Before next version, the grid dialog (view dialog, really)
3329 must be redone to allow a) instant apply, b) apply to all
3330 diagrams, and c) setting colour, dynamic, major lines.
3332 * app/preferences.h:
3333 * app/preferences.c (prefs_data): Remove option to use stippled
3334 grid, add option for major line offset. Default to 5 minor lines
3336 Add option for dynamically sized grid.
3338 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3340 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
3341 stippled/solid to display minor/major grid lines. Line drawing in
3342 separate function away from calculating line distance.
3344 * app/grid.h: Split page break drawing out of grid_draw.
3346 2003-05-15 Hans Breuer <hans@breuer.org>
3348 * plug-ins/python/diasvg.py : add xlink definition,
3349 also avoid to put spaces into attribute values. At least
3350 Sodipodi doesn't like them in width/height attributes
3352 * plug-ins/python/diasvg_import.py : add simple scaling.
3353 Some (more) handling for <svg>, <desc>, <circle>
3355 * plug-ins/python/scascale.py : (new file) which does
3356 some experimental scaling via StdProp api
3358 * plug-ins/python/pydia-cpoint.c
3359 plug-ins/python/pydia-handle.c : return PyDiaPoint for
3360 obj.pos not simple tuples. PyDiaPoint has a tuple interface
3361 so this may even be api compatible ...
3363 2003-05-11 Hans Breuer <hans@breuer.org>
3365 * app/line_area.c : add window position persitence
3367 * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set
3368 'poly_points' via StdProp api
3369 * lib/neworth_conn.h : don't rely on OrthConn and
3370 NewOrtConn having the same struct offsets
3372 * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
3373 to help separating 'useful' properies - in terms of
3376 * objects/custom/custom_object.c
3378 add the missing prop_desc_list_calculate_quarks to
3379 all the *_describe_props()
3381 * objects/standard/beziergon.c objects/standard/bezier.c :
3382 explicit initializtion of default_user_data
3383 * objects/standard/polygon.c objects/standard/polyline.c :
3384 Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
3386 * plug-ins/python/diamodule.c : implement dia.register_import
3388 * plug-ins/python/makefile.msc : need to link with Pango
3389 for pango_color_parse()
3391 * plug-ins/python/pydia-property.c : add a bunch of type
3392 conversions to PyDiaProperty_ApllyToObject()
3394 * plug-ins/python/diasvg_import.py : (new file) which currently
3395 is mainly a stress test for PyDia but for some files already
3396 produces better results than svg-import.c
3398 2003-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
3400 * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
3401 type-less operations.
3403 003-05-03 Hasbullah Bin Pit <sebol@ikhlas.com>
3405 * configure.in(ALL_LINGUAS): Added "ms".
3407 2003-05-01 Lars Clausen <lrclause@cs.uiuc.edu>
3409 * plug-ins/xslt/xslt.c (xslt_ok):
3410 * plug-ins/shape/shape-export.c (new_shape_renderer):
3411 * plug-ins/svg/render_svg.c (new_svg_renderer):
3412 * plug-ins/hpgl/hpgl.c (export_data):
3413 * plug-ins/dxf/dxf-export.c (export_dxf):
3414 * plug-ins/metapost/render_metapost.c (export_metapost):
3415 * plug-ins/pstricks/render_pstricks.c (export_pstricks):
3416 * plug-ins/xfig/xfig-export.c (export_fig):
3417 * plug-ins/wpg/wpg.c (export_data):
3418 * plug-ins/cgm/cgm.c (export_cgm):
3419 * app/render_eps.c (export_eps):
3420 * app/export_png.c (export_png_ok):
3421 * app/load_save.c (diagram_data_save): Adding and standardizing
3422 output file error messages to include fopen error message.
3424 2003-05-01 Steffen Macke <sdteffen@web.de>
3426 * app/persistence.c: do not use unistd.h for MSVC build
3428 2003-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
3430 * sheets/Assorted.sheet.in
3431 * sheets/Circuit.sheet.in
3432 * sheets/Contact.sheet.in
3433 * sheets/EML.sheet.in
3434 * sheets/ER.sheet.in
3435 * sheets/Electric.sheet.in
3436 * sheets/FS.sheet.in
3437 * sheets/Flowchart.sheet.in
3438 * sheets/GRAFCET.sheet.in
3439 * sheets/Logic.sheet.in
3440 * sheets/MSE.sheet.in
3441 * sheets/Misc.sheet.in
3442 * sheets/Pneumatic.sheet.in
3443 * sheets/SADT.sheet.in
3444 * sheets/SDL.sheet.in
3445 * sheets/UML.sheet.in
3446 * sheets/chronogram.sheet.in
3447 * sheets/ciscohub.sheet.in
3448 * sheets/ciscomisc.sheet.in
3449 * sheets/cisconetwork.sheet.in
3450 * sheets/ciscorouter.sheet.in
3451 * sheets/civil.sheet.in
3452 * sheets/network.sheet.in
3453 * sheets/sybase.sheet.in:
3454 Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
3455 standardizes shape descriptions to use no articles, no 'create
3458 * app/interface.c (tool_data): Standard objects follow same
3461 2003-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
3463 * app/color_area.c (color_area_edit): More informative title on
3464 color selection dialog.
3466 * app/disp_callbacks.c (ddisplay_drop_object): Update menu
3467 sensitivity when dropping object in. Also reset tool to pointer.
3469 * objects/flowchart/diamond.c (diamond_update_data):
3470 * objects/flowchart/parallelogram.c (pgram_update_data): Added
3471 left and right alignment options.
3473 2003-04-28 Lars Clausen <lrclause@cs.uiuc.edu>
3475 * objects/flowchart/box.c: Added left and right alignment options.
3477 2003-04-26 Lars Clausen <lrclause@cs.uiuc.edu>
3479 * app/persistence.c (persistence_load): Test existence of
3480 persistence file before trying to open it.
3482 2003-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
3484 * app/properties.c: Escape now closes properties dialogs.
3486 2003-04-25 Hans Breuer <hans@breuer.org>
3488 * app/config.h.win32 : bump version to 0.91+cvs
3490 * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
3492 * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
3494 * app/commands.c : don't leak "netscape" if getenv("BROWSER")
3497 * app/presistence.c : need to #include "dia_xml_libxml.h"
3500 * app/layer_dialog.c : make delayed creation work by protecting
3501 all non static layer_dialog_*() with :
3502 if (layer_dialog == NULL || layer_dialog->dialog == NULL)
3503 create_layer_dialog();
3504 * app/app_procs.c : removed /* create_layer_dialog(); */
3506 * objects/uml/association.c : give it a minimal StdProp
3507 implementation to fix bug #108896
3508 * lib/object_defaults.c : don't try to copy props if there
3509 is no obj->ops->describe_props
3511 2003-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
3513 * objects/standard/image.c (image_create):
3514 * objects/standard/ellipse.c (ellipse_create):
3515 * objects/standard/box.c (box_create):
3516 * objects/flowchart/ellipse.c (ellipse_create):
3517 * objects/flowchart/diamond.c (diamond_create):
3518 * objects/flowchart/box.c (box_create):
3519 * objects/custom/custom_object.c (custom_create):
3520 * objects/ER/relationship.c (relationship_create):
3521 * objects/ER/entity.c (entity_create):
3522 * objects/ER/attribute.c (attribute_create): Initialize
3523 elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
3525 * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
3529 * plug-ins/Makefile.am:
3530 * plug-ins/xslt/Makefile.am:
3531 * plug-ins/xslt/xslt.c (dia_plugin_init):
3532 Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
3533 automake-style if to only include xslt dir when needed. Works
3534 with automake 1.4 and up, at least.
3536 2003-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
3538 * lib/diasvgrenderer.c (draw_string):
3539 * lib/dia_svg.c (dia_svg_parse_style): Use
3540 text-anchor:(start|middle|end).
3542 * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
3543 polygon rather than polyline & avoid missing line pieces.
3544 (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
3545 black-filled things.
3547 2003-04-21 Lars Clausen <lrclause@cs.uiuc.edu>
3549 * app/persistence.c (persistence_load): Check that persistence
3550 file exists before trying to read it.
3551 (persistence_update_window): Removed printf.
3553 * objects/GRAFCET/step.c: Don't copy defaults for name and id.
3555 * lib/autoroute.c: Take badness into the layouters again, as some
3556 of them know they can do things that are pretty but would be
3557 counted as ugly by the default calculation.
3559 * objects/UML/large_package.c: Shrink package name box when no
3560 stereotype is present.
3562 * lib/orth_conn.h (ORTHCONN_COMMON_MENUS):
3563 * lib/orth_conn.c: Added object menu item for autorouting.
3565 * objects/FS/flow-ortho.c (orthflow_get_object_menu):
3566 Autorouting, plus set initial dragging handle to be the end, not
3568 (orthflow_draw): Flipped arrow place to be at the end, as
3569 originally intended (got lost in arrow update).
3571 * objects/standard/zigzagline.c (zigzagline_get_object_menu):
3572 * objects/UML/dependency.c (dependency_get_object_menu):
3573 * objects/UML/association.c (association_get_object_menu):
3574 * objects/UML/realizes.c (realizes_get_object_menu):
3575 * objects/SADT/arrow.c (sadtarrow_get_object_menu):
3576 * objects/GRAFCET/vector.c (arc_get_object_menu):
3577 * objects/ER/participation.c (participation_get_object_menu):
3578 * objects/EML/instantiation.c (instantiation_get_object_menu):
3579 * objects/UML/generalization.c (generalization_get_object_menu):
3580 * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu):
3581 Autorouting setup (currently disabled for SADT/arrow).
3583 2003-04-19 Lars Clausen <lrclause@cs.uiuc.edu>
3585 * lib/autoroute.c: Removed printfs.
3588 * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
3589 non-connected orthconns too.
3591 2003-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
3594 * lib/orth_conn.c: Function to set autorouting on/off, use
3595 autorouting in move_handle (turns off when a middle handle is
3596 moved), added to standard orthconn props.
3598 * app/disp_callbacks.c (create_object_menu, popup_object_menu):
3599 Stopped signal emission for check menu items being set to on/off.
3601 * objects/standard/zigzagline.c: Added autorouting object menu item.
3603 * lib/autoroute.c: Added last cases of autoroute layout, fixed
3604 floating point comparison bug, cleaned up layouters, tweaked
3605 badness to allow kinks.
3607 2003-04-17 Lars Clausen <lrclause@cs.uiuc.edu>
3609 * lib/connectionpoint.h: Changed DIR_* macros to go around the
3612 * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
3614 * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
3615 old cruft, added call to autoroute (currently cannot be turned
3616 off). Need to check what undo thinks about this.
3617 * lib/autoroute.[ch]: Fairly working simple layout.
3619 * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
3620 * lib/autoroute.[ch]: Start of proper autorouting functionality.
3622 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
3624 * lib/prop_widgets.c: Show labels on ListProp.
3626 2003-04-11 Steffen Macke <sdteffen@web.de>
3628 * doc/en/dia-manual.xml: removed reference of non-existing authors
3630 * doc/en/usage-objects-selecting: commented out misleading section
3633 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
3635 * app/app_procs.c (app_init): Layer window now opened at startup
3638 * lib/prop_widgets.c: Show labels on ListProp.
3640 2003-04-09 Steffen Macke <sdteffen@web.de>
3642 * doc/en/*.sgml: removed files
3643 * doc/en/*.xml: added files
3644 * doc/en/Makefile.am: switched to XML DocBook
3646 2003-04-09 Lars Clausen <lrclause@cs.uiuc.edu>
3648 * plug-ins/xslt/xslt.c (dia_plugin_init):
3649 * configure.in: Added --with-xslt-prefix to allow other XSLT
3650 placements than /usr/lib.
3652 2003-04-09 Steffen Macke <sdteffen@web.de>
3654 * lib/makefile.mingw: updated to include latest files, including
3656 * lib/geometry.h: don't define isinf and finite for mingw gcc build
3658 2003-04-08 Lars Clausen <lrclause@cs.uiuc.edu>
3660 * app/persistence.h:
3661 * app/persistence.c (persistence_register_window_create):
3662 * app/app_procs.c (app_init):
3663 Register window function that doesn't create the window unless it
3664 should be open. Other windows should move to this, so startup
3665 speed can be reduced.
3667 * app/persistence.h: Removed call prototype for update_window, now
3669 * app/persistence.c (persistence_register_window): A number of
3670 fixes. Doesn't forget position when window is closed. Now
3671 actually loads prefs.
3673 * app/layer_dialog.c (create_layer_dialog): Removed extraneous
3676 * app/preferences.c (prefs_data):
3677 * app/diagram_tree_window.h:
3678 * app/diagram_tree_window.c: Added persistence registering.
3679 Removed prefs items storing size and openness.
3681 * app/sheets_dialog.c (create_sheets_main_dialog): Added
3682 persistence registering.
3684 * app/Makefile.am (dia_core_files): Added persistence files.
3687 * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
3688 that dirs are present.
3690 * app/app_procs.c (app_init): Loads persistent values on startup.
3691 (app_exit): Saves persistent values on exit.
3693 * app/layer_dialog.c (create_layer_dialog): Registers the layer
3694 window for persistence.
3696 * app/persistence.[ch]: New files handling various kinds of
3699 2003-04-04 Lars Clausen <lrclause@cs.uiuc.edu>
3701 * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
3702 head spacing calculations. Added half-circle arrow from Matthieu
3703 Sozeau <mattam@netcourrier.com>
3705 2003-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
3707 * app/app_procs.c (app_init): Moved layer dialog init to allow
3708 tooltips to be initialized.
3710 * app/interface.c (create_display_shell): More tooltips.
3712 * app/linewidth_area.c (linewidth_area_create)
3713 (linewidth_area_events):
3714 * app/color_area.c (color_area_events, color_area_create):
3715 Made tooltips work by embedding drawing_area in event_box.
3717 * app/interface.c (create_display_shell,
3718 (create_lineprops_area, create_color_area): Added a few tooltips.
3720 2003-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
3722 * app/pixmaps/off-grid.xpm:
3723 * app/pixmaps/on-grid.xpm:
3724 * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
3727 * app/commands.c (view_snap_to_grid_callback):
3728 * app/display.c (ddisplay_set_snap_to_grid)
3729 (update_snap_grid_status):
3730 * app/interface.c (create_display_shell, grid_toggle_snap):
3731 Added snap-to-grid status button.
3733 2003-03-31 Lars Clausen <lrclause@cs.uiuc.edu>
3735 * app/app_procs.c (app_init): Create a new diagram if a file on
3736 the command line isn't found.
3738 2003-03-17 Lars Clausen <lrclause@cs.uiuc.edu>
3740 * lib/dialibartrenderer.c (draw_string): Correct color handling
3743 2003-03-14 Lars Clausen <lrclause@cs.uiuc.edu>
3746 * doc/en/dia-manual.sgml:
3747 * doc/pl/dia-manual.sgml:
3749 * dia.spec (Release):
3750 Version 0.91 is here!
3752 2003-02-10 Steffen Macke <sdteffen@web.de>
3754 * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara
3755 <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
3756 non-ANSI characters, closes #107980
3758 2003-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
3762 * dia.spec (Release):
3763 * doc/en/dia-manual.sgml: Upping to pre6.
3765 * configure.in: Missing comma broke HAVE_IEEEFP_H test.
3767 * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
3768 #107511: Make arrow selector for correct arrow type.
3770 2003-03-03 Lars Clausen <lrclause@cs.uiuc.edu>
3772 * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
3775 2003-03-02 Lars Clausen <lrclause@cs.uiuc.edu>
3777 * doc/en/dia-manual.sgml:
3780 * dia.spec (Release): Upping to pre5.
3782 * configure.in: Add freetype-config derived libs to the
3783 AC_CHECK_LIB statement for freetype.
3785 2003-02-28 Hans Breuer <hans@breuer.org>
3787 [fix for bug #107203]
3789 * lib/diarenderer.c : add warning 'implementation'
3790 for fill_rect to avoid crashing with a renderer
3791 which does not implement this required function.
3793 * plug-ins/dxf/dxf-export.c : provide - still empty -
3794 'implementations' for fill_rect and fill_polygon
3795 to suppress the above warnings. Now it works like
3798 2003-02-28 Steffen Macke <sdteffen@web.de>
3800 * samples/all_objects.dia: New sheet containing all dia shapes
3801 and objects; one layer per sheet
3803 2003-02-28 Lars Clausen <lrclause@cs.uiuc.edu>
3805 * lib/prop_text.c (multistringprop_get_widget,
3806 multistringprop_reset_widget, multistringprop_set_from_widget):
3807 Now uses GtkTextView instead of deprecated stuff, and also works:)
3809 * configure.in: Slightly more informative error message for isinf.
3811 * dia.spec (Requires): Require libxml2 rather than libxml.
3813 2003-02-28 Steffen Macke <sdteffen@web.de>
3815 * shapes/Circuit/hjumper.png:
3816 * shapes/Circuit/hjumper.shape: added missing icon for horizontal
3819 2003-02-26 Lars Clausen <lrclause@cs.uiuc.edu>
3821 * doc/en/dia-manual.sgml:
3823 * dia.spec (Release):
3824 * NEWS: New prerelease 0.91pre4, two important fixes.
3826 2003-02-25 Lars Clausen <lrclause@cs.uiuc.edu>
3828 * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
3831 * app/commands.c (help_manual_callback): More correct URL for help
3832 page (include file://, was broken on Dillo without it).
3834 2003-02-24 Lars Clausen <lrclause@cs.uiuc.edu>
3836 * app/disp_callbacks.c: Set modifed when text is changed.
3838 * app/modify_tool.c (modify_button_release): Allow undo for moving
3841 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
3844 * doc/en/dia-manual.sgml:
3846 * configure.in: New prerelease with important bugfix.
3847 * shapes/network/digitizing_board.png:
3848 * shapes/network/plotter.png: Re-adding with -kb.
3850 2003-02-17 Abel Cheung <maddog@linux.org.hk>
3852 * app/app_procs.c (app_init): Add comment for translators.
3854 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
3856 * lib/filter.c (filter_register_import, filter_register_export):
3857 Don't accept filters with NULL description.
3859 * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
3860 (as we assume the description is available in other places).
3862 2003-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
3864 * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update):
3865 * app/display.c (ddisplay_resize_canvas): Use
3866 ddisplay_add_update_all().
3867 (ddisplay_add_update_all): Free display and update lists when
3868 doing update_all, as they'll be regenerated immediately to cover
3869 all visible area. Fixes bug #106165, crash when resizing. This
3870 appears to be the original AA crash bug, believed long extinct.
3872 2003-02-13 Lars Clausen <lrclause@cs.uiuc.edu>
3874 * app/commands.c (help_manual_callback): Use file: protocol for
3877 * plug-ins/xslt/.cvsignore: Ignore .o files, please.
3879 * plug-ins/xslt/stylesheets: Removed old-style config file.
3881 * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
3883 * plug-ins/xslt/Makefile.am:
3884 * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
3885 handling (no more DIA_PLUGIN_PATH).
3887 2003-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
3889 * plug-ins/svg/render_svg.c:
3890 * lib/diasvgrenderer.c: Fixed numeric localized output issues.
3892 2003-02-10 Lars Clausen <lrclause@cs.uiuc.edu>
3894 * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to
3895 [-1.0, 1.0]. Shouldn't be necessary, but in some cases the
3896 side of the triangle is longer than the hypotenuse. Rounding
3899 2003-02-09 Lars Clausen <lrclause@cs.uiuc.edu>
3903 * doc/en/dia-manual.sgml: Update for pre2.
3905 * app/menus.c (display_menu_items): Fixed wrongly place separators.
3907 * objects/flowchart/box.c (box_update_data): Applied patch from
3908 Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
3911 * app/paginate_psprint.c (print_page): Set paper name, so it
3912 convinces ps printers to use to right size.
3914 2003-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
3916 * app/properties.c (properties_show): Hide the dialog if the
3917 object is NULL (get rid of 'no properties' randomly popping up).
3919 2003-02-06 Lars Clausen <lrclause@cs.uiuc.edu>
3921 * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
3922 for diagrams not starting at origo.
3924 2003-02-05 Lars Clausen <lrclause@cs.uiuc.edu>
3926 * dia.spec (BuildRequires): Use libxml2-devel.
3928 * plug-ins/pixbuf/Makefile.am: Added to CVS.
3930 * RELEASE-PROCESS: Note on RPM version numbers.
3932 * app/interface.c (create_display_shell): Don't set as toolbar
3933 under Unix, either. Especially not the diagram shell. It removes
3934 it from the taskbar and makes it unresizable, always-on-top with
3935 OpenBox. TOOLBAR != TOOLBOX. Setting toolbox to the only
3936 appropriate thing, UTILITY, is not good either, you lose resizing
3937 and minimizing/maximizing under OpenBox.
3939 * app/menus.c (display_menu_items): Set delete item to use Delete.
3941 2003-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
3943 * dia.spec (BuildRequires, Requires): Updated for Gtk2
3946 * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
3947 display flush when getting focus in, or we may get an update after
3948 the diagram has been destroyed in some cases. Fixes bug #105221.
3950 * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
3952 * lib/diarenderer.c: Notes on the basis matrix for our beziers.
3954 * app/app_procs.c (app_init): Fixed missing popt context for Gnome
3955 - gnome-compiled Dia will now read files specified on the command line.
3957 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
3959 * INSTALL (REQUIREMENTS): Updated requirements section.
3961 * configure.in: Better finite() check from Mårten Svantesson
3962 <f95-msv@nada.kth.se>. Doesn't seem to generate strange dangly
3965 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
3967 * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
3969 * app/app_procs.c (debug_break): Added some code to avoid
3970 over-eager optimizations removing the call. Surely there's a
3971 nicer way, but I'm not sure how.
3973 * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
3974 that set text to black.
3976 2003-02-02 Lars Clausen <lrclause@cs.uiuc.edu>
3978 * NEWS: Mention of Twiki as doc source for Python.
3980 * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
3981 libart/libpng is not available. Later when we have a way of
3982 letting the user pick options in the file select dialog we shall
3983 allow the choice when applicable.
3985 2003-02-02 Steffen Macke <sdteffen@web.de>
3987 * doc/en/usage-loadsave.sgml:
3988 * doc/en/usage-objects.sgml: patch from
3989 James K. Lowden <jklowden@schemamania.org> to fix
3992 2003-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
3994 * plug-ins/Makefile.am (SUBDIRS):
3995 * plug-ins/pixbuf/pixbuf.c:
3996 * plug-ins/pixbuf/Makefile.am:
3998 Added pixbuf plugin to Makefile.am, but for import only. PNG
3999 export handled by libart, which is better. JPG export is
4000 discouraged. BMP is not much used on Unix. Next release will
4001 integrate libart to allow all outputs.
4003 2003-02-01 Hans Breuer <hans@breuer.org>
4005 * app/preferences.c :
4007 the last two dialogs with 'old' button order finally
4008 are converted to gtk2, no GnomeDialog in all of Dia
4011 2003-02-01 Hans Breuer <hans@breuer.org>
4013 * app/filedlg.c : don't try to use a button as
4014 'overwrite-file-dialog'-parent, use the FileSelDialog
4017 * plug-ins/pixbuf/pixbuf.c : make it work with
4018 system-visual-depth < 24. Remove 'bmp' from output
4019 format extensions, it just was wishful thinking.
4021 * plug-ins/python/Makefile.am : added the four new python
4022 plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
4024 2003-02-01 Hans Breuer <hans@breuer.org>
4026 * NEWS : updated content beside dependencies
4028 2003-02-01 Hans Breuer <hans@breuer.org>
4030 * lib/arrow.h : arrow_types needs to be declared as DIAVAR
4031 to make it useable across DLL boundaries
4032 * app/lineprops_area.c : same code to access arrow_types
4035 * objects/UML/class.c : the non empty string is e.g.
4036 comment != NULL && comment[0] != '\0'
4037 * objects/UML/uml.c : same here, don't bother with
4038 empty operation stereotypes
4040 2003-02-01 Steffen Macke <sdteffen@web.de>
4042 * app/lineprops_area.c: latest changes do not work on
4043 windows, using old code without tooltips
4044 * makefile.msc: fixed copying of wmf.dll
4045 * plug-ins/makefile.msc:
4047 * lib/makefile.msc: now linking libintl
4048 * config.h.win32: enabling native language support
4050 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
4052 * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
4053 -ldl and -lglib. May or may not work on windows...awaiting verdict.
4055 2003-01-31 Daniel Yacob <locales@geez.org>
4057 * configure.in: Added am (Amharic) to ALL_LINGUAS.
4059 2003-01-31 Steffen Macke <sdteffen@web.de>
4061 * objects/UML/class.c (umlclass_calculate_data): fixed crash
4062 when comments were visible, no class comment available and
4065 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
4067 * RELEASE-PROCESS: Updated to fit new install-module syntax.
4068 * Prerelease 0.91-pre1 released on a suspecting public. Tagging
4071 2003-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
4077 Prerelease version changes, version 0.91-pre1.
4079 * app/sheets_dialog_callbacks.h:
4080 * app/sheets_dialog_callbacks.c:
4081 * app/sheets_dialog.c (create_sheets_main_dialog):
4082 * app/sheets.c (sheets_dialog_create): More destroy stuff. Trying
4083 to handle destruction of main dialog cleanly, but it's a mess.
4085 * configure.in: Downgraded ieeefp test to make it not produce
4088 * lib/widgets.c (dia_arrow_selector_set_arrow):
4089 (dia_line_style_selector_set_linestyle): Select menu dot
4092 * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
4093 adjustment for diamondheads.
4095 * lib/plug-ins.c (dia_plugin_load): Fixed typo.
4097 * app/properties.c (create_dialog): Destroy properties dialog and
4100 * app/sheets_dialog_callbacks.c
4101 (on_sheets_dialog_button_edit_clicked): Only create a new dialog
4102 if the old one is destroyed.
4104 2003-01-29 Lars Clausen <lrclause@cs.uiuc.edu>
4106 * app/export_png.c (export_png_ok): Added info on resolution.
4107 Should (next release) improve export dialog to allow setting
4108 resolution instead of pixels.
4110 * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
4111 to generate arrowheads as well as tooltips.
4113 * lib/arrows.c: Added hollow diamond to menudesc list.
4116 * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
4117 unify with rendered menu.
4119 * lib/diarenderer.c (draw_line_with_arrows)
4120 (draw_polyline_with_arrows, draw_arc_with_arrows)
4121 (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
4122 without changing renderer API. Thanks to David Scherba for
4123 providing inspiration.
4125 2003-01-28 Lars Clausen <lrclause@cs.uiuc.edu>
4127 * app/interface.c (create_display_shell):
4128 * app/display.h: Patching from Hubert Figuiere
4129 <hfiguiere@teaser.fr>: Better types for menu bar widgets, and
4132 2003-01-26 Lars Clausen <lrclause@cs.uiuc.edu>
4134 * app/defaults.c (defaults_show): Fixed defaults closing bug.
4135 Thanks to Hans for pointing it out.
4137 2003-01-25 Hans Breuer <hans@breuer.org>
4139 * app/commands.c : don't warn about crashing libart renderer
4140 on win32. It simply doesn't render text anymore :-(
4142 * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
4144 * objects/UML/class.c : don't access umlclass->properties_dialog
4145 after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
4146 which sets the former to NULL by destroy_properties_dialog() callback.
4148 * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
4150 * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
4152 * plug-ins/python/pydia-image.c : add image.uri member
4153 not only useful for SVG rendering
4155 * plug-ins/python/diasvg.py : (new file) a more advanced
4156 example. A full blown SVG Renderer, currently only
4157 registered for .svgz
4159 * plug-ins/python/export-object.py : write text props
4161 * plug-ins/python/debug_objects.py : write prop.type and
4164 2003-01-25 Lars Clausen <lrclause@cs.uiuc.edu>
4166 * objects/UML/association.c (association_update_data): Better
4167 bounding box for assoc with arrows.
4169 * lib/properties.h: New flag for properties with multiple values
4172 * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
4173 arrow updating in dialog. Was broken due to changes from destroy
4176 * app/commands.c (view_aa_callback): AA warning only for Windows
4177 -- I trust the Unix side well enough.
4179 * app/render_libart.c (get_text_width):
4180 * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
4181 font height can be taken from parent instance.
4183 * lib/dialibartrenderer.c (dia_libart_renderer_class_init)
4184 (get_text_width): Proper cursor positioning for libart renderer.
4185 Ought to have a DiaInteractiveRenderer that these two can inherit
4186 from, that knows about transform.
4188 2003-01-25 Steffen Macke <sdteffen@web.de>
4190 * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
4191 plug-in still not working on win32
4193 2003-01-24 Lars Clausen <lrclause@cs.uiuc.edu>
4195 * app/disp_callbacks.c (ddisplay_canvas_events): Moved
4196 gdk_window_get_pointer to avoid destroy crash. Simpler than I
4199 2003-01-23 Lars Clausen <lrclause@cs.uiuc.edu>
4201 * app/app_procs.c (app_init): Run gtk_init before popt so we don't
4202 bail out on gtk options.
4204 * lib/message.c (gtk_message_internal): Better handling of destroy
4207 2003-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
4209 * app/color_area.c (color_area_edit):
4210 * lib/widgets.c (dia_file_selector_browse_pressed)
4211 (dia_color_selector_pressed):
4212 * app/plugin-manager.c (get_plugin_manager):
4213 * app/filedlg.c (file_open_callback, file_save_as_callback)
4214 (file_export_callback):
4215 * app/diagram_tree_window.c (diagram_tree_window_new): Correct
4216 handling of destroy event.
4218 2003-01-22 Alan Horkan <horkana@tcd.ie>
4220 * app/commands.c (file_new_callback): Changed Untitled to Diagram
4223 2003-01-21 Lars Clausen <lrclause@cs.uiuc.edu>
4225 * app/preferences.c (prefs_create_dialog):
4226 * app/linewidth_area.c (linewidth_create_dialog):
4227 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
4228 * app/layer_dialog.c (create_layer_dialog)
4229 (layer_dialog_edit_layer): Correct handling of destroy signal.
4231 * app/diapsft2renderer.c (set_font): Adjust silly random factor
4232 for change in font.c
4234 * lib/widgets.c: Avoid warning when font menu file doesn't exist.
4236 * lib/font.c (dia_font_build_layout): Let's all use the same weird
4239 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
4240 * app/layer_dialog.c (create_layer_dialog)
4241 (layer_dialog_edit_layer):
4242 * app/filedlg.c (file_open_callback, file_save_as_callback)
4243 (file_export_callback):
4244 * app/dia-props.c (create_diagram_properties_dialog):
4245 * app/defaults.c (defaults_dialog_destroyed):
4246 * app/color_area.c (color_area_edit): Dialog destroy event handling.
4248 2003-01-19 Lars Clausen <lrclause@cs.uiuc.edu>
4250 * app/defaults.c (defaults_dialog_destroyed): Reset cache when
4251 defaults dialog destroyed.
4253 2003-01-19 Steffen Macke <sdteffen@web.de>
4255 * objects/makefile.msc: added bondgraph
4256 * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
4257 to compile pixbuf.dll
4258 * makefile.msc: copying all objects and dlls now
4260 2003-01-19 Hans Breuer <hans@breuer.org>
4262 * app/diagram.[hc] : provide dia_open_diagrams(), make
4263 open_diagrams variable static
4264 * app/dia.def : export it (to be used by PyDia)
4265 * app/app_procs.c app/autosave.c app/diagram_tree_window.c
4266 app/display.c app/dynamic_refresh.c app/layer_dialog.c
4267 app/load_save.c : make use of dia_open_diagrams()
4269 * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
4270 on win32. It removes the diagram window from the taskbar and
4271 shrinks it's window title to toolbar style (newest gtk2.2 cvs)
4273 * app/menus.c : add '...' to menu entries where a dialog
4275 * app/recent_files.c app/dia_embedd.c : reflect the above in
4276 menus_get_item_from_path() calls
4278 * lib/libdia.def : add dia_image_rgba_data
4280 * lib/properties.h lib/prop_text.[hc] : add new property
4282 * objects/UML/class.[hc] object/UML/class_dialog.c : use
4283 StringList for attributes_strings and operations_strings to
4284 make this calculated data accessible via the Property API
4286 * plug-ins/python/diamodule.c : use dia_open_diagrams() and
4287 provide dia.new() to create a new diagram, dia.registered_types()
4288 to get on Dia's type registry, dia.message() for simple dialogs
4290 * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
4291 to create a new display from a diagram. Let diagram.extents and
4292 diagram.bg_color return the same types as in diagramdata.*
4294 * plug-ins/python/pydia-geometry.c : add a read-only
4295 'sequence interface' to DiaPoint and DiaRectangle
4297 * plug-ins/python/pydia-property.c : allow to get on StringList
4300 * plug-ins/python/pydia-render.c : fix typo to make it compile
4302 * plug-ins/python/python-startup.py : removed 'import pygtk'
4303 again. This file does not need any gtk UI, and some python
4304 plug-ins don't do either
4306 * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
4307 it should actually work as intended again
4309 * plug-ins/python/group_props.py : (new file) a prototype for
4310 one the most requested features: Change properties of selected
4311 objects in one step. Requires pygtk.
4313 * plug-ins/python/select_by.py : (new file) select objects by
4314 common properties. Requires pygtk.
4316 [Start of 'PyDia Self Documentation Series']
4318 * plug-ins/python/pydiadoc.py : (new file) generates a new
4319 diagram which contains all objects of dir(dia)
4321 * plug-ins/python/otypes.py : (new file) generates a new diagram
4322 which contains all the currently registered object types sorted
4323 by their containing package
4325 2003-01-18 Lars Clausen <lrclause@cs.uiuc.edu>
4327 * configure.in: Added check for Pango >= 1.1.5, which appears to
4328 be enough to have text work.
4329 (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
4330 do it. AC_SUBST should be idempotent, though.
4332 2003-01-17 Lars Clausen <lrclause@cs.uiuc.edu>
4334 * configure.in (HAVE_FREETYPE): Better test for freetype version
4336 Now actually sets HAVE_IEEEFP_H, needed for Solaris.
4338 * lib/font.c: Renamed global_size_one to global_zoom_factor to
4339 avoid confusion, and added comment. Set scale factor in
4340 dia_font_build_layout to 1.0 for Unix side. This fixes at least
4341 my weird scaling problems. Fonts are now of the expectable size,
4342 i.e. the space between lines at size 1.0 is 1.0. If we want a
4343 compatibility fix, we should scale fonts by about 1/0.75 from 0.90
4344 diagrams, though there will always be differences.
4346 2003-01-15 Lars Clausen <lrclause@cs.uiuc.edu>
4348 * plug-ins/python/python-startup.py:
4349 * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
4351 * plug-ins/python/python.c (dia_plugin_init): Added warning
4352 message for missing startup file.
4354 * lib/dialibartrenderer.c (draw_image): Alpha rendering! Yay!
4356 * lib/dia_image.c (dia_image_rgb_data):
4357 * app/diapsrenderer.c (draw_image): Fixed rowstride problems
4358 involving EPS. Can't do transparency in EPS yet.
4361 * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
4362 data as one chunk. Documentation for the RGB data getting funcs.
4363 (dia_image_rgb_data): Added comment.
4365 * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
4368 2003-01-13 Steffen Macke <sdteffen@web.de>
4370 * lib/dia_image.c: dia_image_rgb_data() is working for
4371 non-alpha images now. Fixes #93762
4372 * Makefile.am: added makefile.msc to EXTRA_DIST
4374 2003-01-10 Steffen Macke <sdteffen@web.de>
4376 * app/paginate_psprint.c: Closing print dialog when file
4377 could not be written. Fixes #84746
4379 2003-01-04 Steffen Macke <sdteffen@web.de>
4381 * doc/custom-shapes: incomplete description of <svg:text>
4383 2003-01-03 Steffen Macke <sdteffen@web.de>
4385 * makefile.msc(new): new makefile to create file
4386 structure suitable for running dia win32 under
4387 $(TOP)/dia/build/win32
4389 2003-01-02 Steffen Macke <sdteffen@web.de>
4391 * lib/dia_svg.c: including stdlib.h
4392 * lib/makefile.msc: added gdk_pixbuf libs to linker
4393 * app/makefile.msc: added gdk_pixbuf libs, made libart
4394 libs compatible with gnuwin32 package
4396 2003-01-01 Hans Breuer <hans@breuer.org>
4398 * lib/font.c : more comment about global_size_one
4400 * app/menus.c : <control>[<shift>]A for plain gtk build too.
4402 * plug-ins/wmf/wmf.cpp : some type juggling to make
4405 2002-12-31 Steffen Macke <sdteffen@web.de>
4407 * app/makefile.msc: added hint on how to enable console output
4409 2002-12-17 Lars Clausen <lrclause@cs.uiuc.edu>
4411 * objects/standard/textobj.c (textobj_load): Get the handle type
4412 right, at least to be the same as when created.
4414 2002-12-12 Lars Clausen <lrclause@cs.uiuc.edu>
4416 * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
4418 2002-12-08 Hans Breuer <hans@breuer.org>
4420 * app/commands.c : fixed bug #85315 'give diagram properties,
4421 instead of no object selected error' almost a one-liner
4423 * app/splash.c : don't make having the logo pixmap
4424 mandatory. Fixes bug #96068.
4426 * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
4427 sequence by connecting to the "delete_event"
4428 * app/objects/uml/class_dialog.c : handle "destroy" for
4431 * lib/libdia.def : remove diaXmlNewChild again
4433 * app/paginate_gdiprint.cpp : reflect Dia's page setting
4434 portrait/landscape in the windoze print dialog
4436 * objects/makefile.msc : only UML needs to link against
4437 $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
4439 2002-12-08 Lars Clausen <lrclause@cs.uiuc.edu>
4441 * objects/standard/ellipse.c (ellipse_distance_from):
4442 * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
4443 correct distance function. Could be faster, but it's not really
4446 2002-12-07 Lars Clausen <lrclause@cs.uiuc.edu>
4448 * lib/font.c: Changed global_size_one to more correct 28.35.
4453 * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
4456 2002-12-07 Hans Breuer <hans@breuer.org>
4458 * lib/widgets.c : g_file_get_contents() silently assumes
4459 a binary file. Reflect when creating the font_menu file
4460 to get rid of junk in font menus
4462 2002-12-06 Hans Breuer <hans@breuer.org>
4464 * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
4465 removed 0xD 0xD 0xA line ends which get created by
4466 cvs if windoze line ends 0xD 0xA are checked in from
4467 *nix and checked out on win32.
4469 * app/preferences.c : changed toolbox_on_top default to
4470 false. It is currently not possible to change the behaviour
4471 at runtime, at least not on win32.
4473 * lib/dialibartrenderer.c : bug #94791 'rendering to
4474 bitmap without PangoFt2' got delayed to milestone future
4475 so wrap libart text rendering into PANGO_WIN32_FUTURE.
4476 It is not available without my Pango patch in bugzilla.
4478 * lib/font.c : added comment to global_size_one and adapt
4479 the arbitrary size scaling in dia_font_build_layout() for
4480 win32, too. This is needed to get an acceptable font size
4481 approximation for Dia 0.90 and earlier files.
4482 Also #include "message.h".
4484 * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
4485 reflect movement of group.[hc]
4486 * lib/group.h : export group_type which gets used by app/*
4488 * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
4489 to get the GtkTypeInfo definition
4491 * plug-ins/makefile.msc : dxf and xfig don't need to link
4492 against app/ anymore now that group is moved to lib/
4494 * plug-ins/python/pydia-render.c : remove massive leaking
4495 of self, i.e. PyDiaRenderer
4497 * plug-ins/python/makefile.msc : remove linking against
4500 2002-12-06 Lars Clausen <lrclause@cs.uiuc.edu>
4502 * objects/standard/line.c: Removed properties options for gaps,
4503 until release is done.
4505 * configure.in: Check for freetype version.
4507 * lib/text.c (text_insert_char): Fixed small buffer overflow for
4510 * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
4512 * app/diapsft2renderer.h:
4513 * app/diapsft2renderer.c:
4514 * app/diapsrenderer.h:
4515 * app/diapsrenderer.c: Split ps rendering into standard and freetype.
4517 * app/render_eps.c (export_eps, new_psprint_renderer): Using
4518 PS_FT2 renderer when available. Old render stuff killed. Yay!
4520 * lib/properties.h: Fixed bad frame end def.
4522 * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
4524 * lib/dia_xml.c (data_add_string): Avoid #-less strings.
4526 * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
4528 2002-12-05 Lars Clausen <lrclause@cs.uiuc.edu>
4530 * lib/font.c: Now checking for the proper dia-style standard fonts.
4533 * app/Makefile.am: Moving group.[ch]
4535 * plug-ins/dxf/dxf-import.c:
4536 * plug-ins/xfig/xfig-import.c:
4537 * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
4541 * lib/object.c (object_list_move_delta, object_copy_list):
4542 * lib/object.h: Moved some object-related functions from
4543 object_ops to object to assist moving group.c.
4545 * lib/diatypes.h: Added Group typedef.
4548 * lib/group.c: Moved from app to lib to a) resolve plug-ins
4549 references, and b) make groups more "real" objects.
4551 * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
4553 2002-12-03 Lars Clausen <lrclause@cs.uiuc.edu>
4555 * lib/font.c (dia_font_init): Added check that the three standard
4558 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
4561 * app/load_save.c: Linebreaks in dia files, no indentation.
4562 Should help text tools. xmlNewChild wrapped in diaXmlNewChild for
4565 * objects/standard/line.c: Small but important fixes to the line
4569 * lib/dia_xml.c (diaXmlNewChild):
4570 * app/load_save.c (diagram_data_write_doc, write_objects): Simple
4571 XML prettyprinting wrapper.
4573 2002-12-03 Steffen Macke <sdteffen@web.de>
4575 * shapes/Cisco/Makefile.am:
4576 * shapes/Cisco/*.shape: finished conversion of Cisco icons
4579 2002-12-02 Steffen Macke <sdteffen@web.de>
4581 * doc/en/Makefile.am:
4582 * doc/en/usage-objects.sgml:
4583 * doc/en/graphics/line_icon.png: (new) added line icon
4585 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
4587 * objects/standard/line.c: Binary search object edge line gap.
4589 2002-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
4591 * configure.in: Added Cisco makefile, sorted Makefiles list.
4593 * shapes/Makefile.am (SUBDIRS): Added Cisco dir
4595 * configure.in: Now checks for availability of PangoFT2 and
4596 FreeType, raising an error if not found.
4598 * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
4601 2002-12-01 Steffen Macke <sdteffen@web.de>
4603 * doc/en/usage-loadsave.sgml: updated information on import
4606 2002-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
4608 * app/commands.c (edit_copy_callback): Freeing copy_list.
4610 2002-11-28 Steffen Macke <sdteffen@web.de>
4612 * app/render_libart.c: art_config.h was included twice
4614 2002-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
4616 * sheets/.cvsignore: More ignorance.
4618 * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
4620 * lib/prop_widgets.h: Two (currently unused) settings for frame
4623 * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
4624 (by default) foldable.
4626 * lib/propinternals.h:
4627 * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
4628 widgets in a more controlled manner.
4630 * objects/standard/line.c (line_update_data): Line gap things
4631 inserted. Can do xeyes now:)
4633 2002-11-26 Christian Neumair <chris@gnome-de.org>
4635 * .cvsignore: Changed.
4636 * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
4637 plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
4640 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
4642 * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
4644 * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
4645 passing to font hash.
4647 * app/filedlg.c (file_save_as_ok_callback): Check that filename is
4648 utf-8 or locale-convertible before adding to dialog text. This
4649 probably needs done in a number of places where we get text from
4650 the environment and send it to GTK to display.
4652 * lib/widgets.c: Fixed case problems for font menu entries.
4654 * objects/SADT/annotation.c: Don't run the event test (but leave
4655 it here for inspiration).
4658 * lib/widgets.h: Allowing setting preview text for fonts.
4660 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
4662 * objects/bondgraph/Makefile.am:
4663 * objects/bondgraph/bondgraph.c:
4665 * objects/Makefile.am: Added bond graph dir.
4667 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
4669 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
4671 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
4673 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
4676 * app/diapsrenderer.c: Freetype rendering is back in force.
4678 * app/disp_callbacks.c: Added missing updates for pre-text-change.
4680 2002-11-25 David Hoover <jazzdaq@yahoo.com>
4682 * app/render_libart.c: Added missing #include line for libart.
4685 * lib/geometry.c: Added point_convex function. This computes
4686 points inside a line segment (0 <= alpha <= 1) or outside the
4687 line segment (alpha < 0 | alpha > 1).
4689 * objects/standard/line.c: Line now has additional code/attributes
4690 which permit the line to extend past the line anchors (gap < 0) or
4691 leave a gap without reaching the anchor (gap > 0). If no gap is
4692 specified, the default gap of 0 will result in identical line
4693 behavior as before. If the 'fractional' attributes are TRUE, the
4694 gap length is not fixed, but a percentage of the line length. I
4695 did not know how create the GTK widgets so the gap code currently
4696 cannot be used without adding XML attributes by hand.
4698 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
4700 * lib/diagdkrenderer.c (draw_string): Removed timing bits.
4702 * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
4704 2002-11-24 Lars Clausen <lrclause@cs.uiuc.edu>
4706 * lib/font.c: Debugging functionality in separate functions.
4708 * lib/widgets.c: Using fontsel with context.
4710 * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
4712 * objects/custom/custom_object.c: Orientation handling for shapes,
4713 patch thanks to Martin Hans <opfinder@gmx.net>.
4715 * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
4716 work on even better orientation handling.
4718 * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
4719 casting NULL pointers. Should be unnecessary in an upcoming GTK
4722 2002-11-18 Lars Clausen <lrclause@cs.uiuc.edu>
4726 * lib/widgets.c: Now uses correct context to get font families.
4728 * lib/diagdkrenderer.c (get_text_width, draw_string):
4729 * lib/dialibartrenderer.c (draw_string):
4731 * lib/font.c (dia_font_init): Removed old kludgy font name compare.
4732 (dia_font_build_layout): Unified the twiddle factors into a use of
4733 global_size_one. But I deeply distrust Pango for seeming to
4734 change size of fonts every time I turn my back.
4739 * app/menus.h: Updated some more methods to also be more specific
4743 * app/recent_files.c:
4744 Changed to return most specific type, to avoid run-time type errors.
4746 * app/menus.c (menus_get_item_from_path): Non-gnome version now
4747 gets menu_item rather than widget, which works better.
4749 2002-11-17 Cyrille Chépélov <cyrille@chepelov.org>
4751 * app/display.c: (new_display):
4752 * app/menus.c: (menus_get_item_from_path):
4753 Relying on the tearoff to locate the input methods menu wasn't a
4754 good idea: tearoffs seem to be an endangered species nowadays.
4755 Anyway, the IM menu seems to be working now.
4757 * app/interface.c: hinted the window manager that the toolbox window
4758 is a toolbox window. Not that my (fairly default configuration)
4759 sawfish cares, but other NETWM compliant WMs may.
4766 * app/layer_dialog.c:
4767 * app/linewidth_area.c:
4769 * app/sheets_dialog.c:
4772 The GTK doc says to avoir gtk_window_set_wmclass() and
4773 gtk_window_set_policy(), and use gtk_window_set_role() and
4774 gtk_window_set_resizable(), respectively.
4776 * app/preferences.c: (prefs_create_dialog):
4777 * app/preferences.h:
4778 * app/display.c: (display_set_active):
4779 Added a preference to have the toolbox hover over diagram windows.
4781 2002-11-12 Lars Clausen <lrclause@cs.uiuc.edu>
4783 * lib/diagdkrenderer.c (get_text_width, draw_string):
4784 Freetype-based string drawing now works. Not very fast, though.
4785 I wish I could use the graphics card for this:( I'm doing three
4786 bitmap loops where I should be doing one. The size is not correct
4787 either, despite having get_text_width give the right thing.
4789 2002-10-21 Lars Clausen <lrclause@cs.uiuc.edu>
4791 * app/connectionpoint_ops.c (diagram_update_connections_object):
4792 Allows more than one connectionpoint on an object to be moved at a
4795 2002-10-18 Stanislav Brabec <sbrabec@suse.cz>
4797 * configure.in: Added cs to ALL_LINGUAS.
4799 2002-10-17 Lars Clausen <lrclause@cs.uiuc.edu>
4801 * app/paginate_psprint.c: Removed unnecessary decl of autosave
4804 * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
4806 * app/export_png.c (export_png_ok): Saving more variables from the
4809 2002-10-16 Lars Clausen <lrclause@cs.uiuc.edu>
4811 * lib/dialibartrenderer.c (begin_render):
4812 (end_render): Correct pushing and popping of font contexts.
4813 (draw_string): Double zooming eliminated, strange twiddle factor
4814 introduced (grumble). Close to working now, but there are still
4815 strange differences from font to font. In particular, some fonts
4816 really mess with the cursor and extents.
4818 * app/render_eps.c (export_eps):
4819 * app/diapsrenderer.c (dia_ps_renderer_finalize):
4820 Fixed file closing confusion, no longer dependent on PS/EPS.
4822 * app/diagram.c (diagram_place_down_selected)
4823 (diagram_place_up_selected): Now implemented.
4825 * lib/font.c (dia_font_init):
4827 Redesigned the font init/context pushing code. Start of fix for
4828 font name differences.
4830 2002-10-15 Kjartan Maraas <kmaraas@gnome.org>
4832 * app/sheets_dialog_callbacks.c: Fix a typo.
4834 2002-10-15 Hans Breuer <hans@breuer.org>
4836 * app/diapsrenderer.[hc] : (new files, old content :-)
4837 simple base class for post script rendering. Does neither
4838 use Pango/FT2 nor does it handle non latin1 characters.
4839 The fancy stuff which nowadays appears to be needed should
4840 probably be done in derived class(es)
4842 * app/makefile.msc app/Makefile.am : added new files
4844 * app/paginate_psrint.c : re-enabled and used as test
4845 for the simple ps renderer above.
4847 * app/render_eps.[hc] : ripped out common ps code and
4848 moved to DiaPsRenderer. The rest of the file is mostly
4849 disabled. And I don't understand enough of it to
4852 * app/diaepsrenderer.h : short lived, removed.
4854 2002-10-15 Lars Clausen <lrclause@cs.uiuc.edu>
4856 * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
4857 as a plugin (thanks to Torben Nielsen).
4859 2002-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
4861 * app/diaepsrenderer.h:
4863 * app/paginate_psprint.c:
4864 #ifdef'd out enough ps stuff to allow compile. Now we just need
4867 2002-10-12 Hans Breuer <hans@breuer.org>
4869 [last plug-in ported]
4871 * plug-ins/xfig/xfig-export.c : ported to new renderer api
4873 * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
4874 scale color values to [0..1.0] to properly reconstruct
4877 * plug-ins/xfig/xfig-common.c : some cleaning
4879 2002-10-12 Hans Breuer <hans@breuer.org>
4881 [decrease inter-plug-in-dependencies]
4883 * objects/custom/shape_info.[hc] : move parse_style()
4884 to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
4885 the related structs and constants.
4886 * objects/custom/custom_object.c : reflect namespace
4889 * lib/dia_svg.[hc] : new files
4890 * lib/makefile.msc lib/Makefile.am : add new files
4891 * lib/libdia.def : updated externals
4893 * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
4895 * plug-ins/svg/svg.c : enable svg import for win32 (and
4896 probably for other non ELF builds)
4898 * plug-ins/makefile.msc : enable svg import
4900 2002-10-11 Hans Breuer <hans@breuer.org>
4902 * plug-ins/metapost/render_metapost.[hc] : ported
4904 * plug-ins/pstricks/render_pstricks.[hc] : dito
4906 2002-10-11 Hans Breuer <hans@breuer.org>
4908 * plug-ins/cgm/cgm.c : ported, appears to work as before,
4909 but graphic apps available to me can't import the generated
4910 files (the could not with Dia-0.90 cgm as well) ...
4912 * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
4913 Removed all those function which did emulate 'complex'
4914 drawing ops with basic ones (e.g. rect by line) cause this
4915 stuff is already provided by the base class
4916 * plug-ins/dxf/dxf-import.c : removed render.h include
4918 * plug-ins/python/pydia-font.[hc]
4919 plug-ins/python/pydia-text.c : finally ported to new font api
4921 * plug-ins/python/pydia-layer.c : add extra parameter
4922 to layer_find_closest_connectionpoint()
4924 * plug-ins/python/pydia-render.c : ported to DiaRenderer api
4926 * plug-ins/python/python.c : added missing copyright notice
4928 * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp :
4929 actually use the renderers set_font implementation
4931 * plug-ins/renderer.inc : unused now, removed
4932 * plug-ins/Makefile.am : reflect it
4934 2002-10-08 Hans Breuer <hans@breuer.org>
4936 * app/render_gdk.c : don't add the InteractiveRenderer
4937 interface multiple times (it's added to the type, not
4939 * app/render_libart.c : dito. It's currently added
4940 unconditional cause eport_png uses it, but claims
4941 to be non-interactive. Probably set_size should be moved
4942 to the DiaRenderer interface.
4944 * lib/dialibartrenderer.c : add implementations for
4945 get_<width|height>_pixels. Libart rendering works again.
4946 DiaLibartRenderer::draw_image : use dia_image_rowstride()
4949 * lib/diatransform.c(dia_transform_coords_double) :
4950 don't ROUND() the returned values
4952 * plug-ins/pixbuf/pixbuf.c : added import function. It
4953 simply creates a wrapping "Standard - Image" object.
4955 * plug-ins/shape/shape-export.c : use the more direct
4956 method to call base class methods
4958 2002-10-07 Lars Clausen <lrclause@cs.uiuc.edu>
4960 * lib/font.c (dia_font_init): Changed dia_font_init to return old
4961 pango context, to allow stacked contexts (for printing while
4970 * lib/connectionpoint.h
4973 * lib/diagdkrenderer.h
4975 * lib/dialibartrenderer.h
4978 * lib/diasvgrenderer.h
4979 * lib/diatransform.h
4986 * lib/neworth_conn.h
5001 Moved all externally visible struct typedefs into diatypes.h, as
5002 per Hans' suggestions.
5004 2002-10-07 Steffen Macke <sdteffen@web.de>
5006 * lib/Makefile.am: removed a '\' causing problems
5008 2002-10-07 Hans Breuer <hans@breuer.org>
5010 [Libart Renderer resurrected; almost it's compiling but
5011 almost instantly crashing :-]
5013 * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
5014 * app/render_libart.[hc] : ported to DiaInteractiveRenderer
5015 * lib/diatransform.[hc] : added dia_transform_coords_double()
5017 * app/display.c : the right parameters for new_renderer_libart()
5018 * app/export_png.c : ported, removed the blind Display hack
5020 * app/makefile.msc lib/makefile.msc
5021 lib/Makefile.am : updated
5023 * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
5025 2002-10-06 Hans Breuer <hans@breuer.org>
5027 * plug-ins/pixbuf/pixbuf.c : (new file)
5028 there is a new export plug-in called 'Pixbuf' which uses
5029 DiaGdkRenderer to export to gdk-pixbuf supported bitmap
5030 formats (currently only PNG and JPEG).
5032 2002-10-06 Hans Breuer <hans@breuer.org>
5035 http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
5037 * lib/dia-enums.h lib/diatransform.[hc]
5038 lib/diarenderer.[hc] lib/diainteractiverenderer.c
5039 lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
5042 * lib/makefile.msc lib/makefile.am : added new files
5044 * lib/plug-ins.c : g_module_error() returns a locale
5045 string, convert to utf8 before further usage
5047 * lib/render.h : #error out. Everything including this
5049 * lib/*.[hc] : ported to new renderer api
5051 * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
5052 just to make the rest compile
5053 * app/render_eps.c : temporary disabled all of this
5054 * app/render_eps.h : removed RendererEPS
5056 * app/render_gdk.[hc] : a small wrapper around the new
5057 DiaGdkRenderer form lib/*
5059 * app/render_libart.h : removed RenderLibart definition
5060 * app/render_libart.c : not yet ported to new DiaRenderer
5061 but having an implementation to untie form FT2 dependency
5062 at least on win32. It is using new Pango api form bug #94791
5064 * app/render_pixmap.[hc] : a small wrapper around the new
5065 DiaGdkRenderer form lib/*
5067 * app/display.h : removed render_*.h includes
5068 * app/display.c : the only place where specific
5069 renderers need to be known
5071 * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
5072 use new DiaInteractiveRenderer interface
5074 * app/*.c : ported to new renderer api
5075 * object/*/*.c : ported to new renderer api
5076 s/render.h/diarenderer.h/
5077 s/Renderer/DiaRenderer/
5078 s/renderer->ops/renderer_ops/
5079 add in every draw method:
5080 DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
5082 * plug-ins/hpgl/hpgl.c :
5083 plug-ins/wmf/wmf.cpp
5084 plug-ins/wpg/wpg.c : ported to be DiaRenderer based
5085 * plug-ins/shape/shape-export.c
5086 plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
5087 (nice how small these files became :-)
5089 2002-09-28 Hans Breuer <hans@breuer.org>
5091 * */makefile.msc : updated
5093 * app/defaults.c : don't gdk_invalidate_rect(NULL)
5094 * app/disp_callbacks.c :
5095 can't cast GtkWindow to GdkWindow, use shell->window
5096 (ddisplay_unrealize) don't use already unrefed im_context
5098 can't cast from GtkMenu to GtkMenuItem
5099 (ddisp_destroy) : mark im_context as unrefed
5101 * lib/dia_xml (data_font) : prefer new font format over old one
5102 (data_add_font) : write the legacy name to allow file exchange
5103 with pre Pango versions of Dia, which would otherwise crash
5104 on missing font 'name' attribute.
5105 * lib/font.c (dia_font_get_legacy_name) : improved implementation
5106 to get a better match.
5108 * lib/libdia.def : updated
5110 * lib/messages.c : don't gdk_widget_show(NULL)
5112 * lib/prop_text.c : don't gtk_entry_set_text() with NULL string
5114 [make Dia compile, link _and_ work with mingw/gcc3.2]
5116 * config.h.win32 : #define LIBXML, this gets defined from libxml
5117 header but only for _MSC_VER. The mingw build did access an
5118 unitialized function pointer for xmlFree.
5120 * */makefile.mingw : updated (some plug-ins have build issues)
5122 * lib/handle.h lib/object.h : there appears to be no
5123 forward declaration of the form
5124 typedef enum _HandleId HandleId
5125 (at least not with GCC 3.2 for C++) ../lib/handle.h:22:
5126 use of enum `_HandleId' without previous declaration
5128 * app/paginate_gdiprint.cpp : added a hack to avoid g++
5129 naming conflict on 'export'
5131 * app/paginate_gdiprint.h : forward declare Diagram
5133 * objects/SADT/annotaion.c : use g_random_double()
5135 2002-09-26 Lars Clausen <lrclause@cs.uiuc.edu>
5137 * app/modify_tool.c: Made motion not happen until sufficiently
5138 large or past double-click interval, to avoid accidental moving
5139 when doubleclicking. Got the double-click time right, and fixed
5140 some issues with release. There are some corner cases that may
5141 exhibit strange behaviour, will look at those later. Nah, let's
5142 not care about those, they are rare and not dangerous.
5144 2002-09-26 Cyrille Chépélov <cyrille@chepelov.org>
5146 * app/layer_dialog.c:
5148 * plug-ins/dxf/dxf-import.c:
5149 * plug-ins/python/pydia-diagram.c:
5150 * lib/diagramdata.c:
5151 * lib/diagramdata.h:
5152 Improved the consistency of the obj->parent_layer backlinks (esp.
5157 * lib/dynamic_obj.[ch] (NEW):
5160 * app/dynamic_refresh.[ch] (NEW):
5161 * objects/Misc/analog_clock.c:
5162 Added support for dynamic refresh (animated objects).
5164 2002-09-25 Cyrille Chépélov <cyrille@chepelov.org>
5166 Patch from Owen Taylor <otaylor@redhat.com>:
5167 * doc/en/Makefile.am:
5168 * doc/en/dia-manual.sgml:
5169 * doc/en/usage-objects.sgml:
5170 * doc/en/usage-quickstart.sgml:
5171 * doc/pl/Makefile.am:
5172 * doc/pl/dia-manual.sgml:
5173 * doc/pl/usage-objects.sgml:
5174 * doc/pl/usage-quickstart.sgml:
5176 - Change the DTD declration from an outdated GNOME one to a
5179 - Remove close tags for <graphics> which aren't allowed for
5182 - A hacky fix for a problem where some versions of db2html don't
5183 create *.css files. (If *.css doesn't match anything, then you get
5184 the global explicitely.)
5188 2002-09-24 Cyrille Chépélov <cyrille@chepelov.org>
5190 * objects/custom/custom_object.c:
5191 * objects/custom/shape_info.[ch]: GE_TEXT display lists elements
5192 were never properly prepared for use when reloading a shape with
5193 <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
5194 reporting the problem and coming up with a fix! (Closes: #93974)
5196 * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
5197 the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
5200 * app/display.c: updated menu item paths Alan's patch had moved.
5202 * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
5203 load the sheet-provided icon (libpng versions mismatch, grrr.).
5206 * objects/Makefile.am:
5207 * objects/Misc/Makefile.am (NEW):
5208 * objects/Misc/libmisc.c (NEW):
5209 * objects/Misc/analog_clock.c (NEW):
5210 * objects/Misc/pixmaps/analog_clock.xpm (NEW):
5211 * sheets/Misc.sheet.in: just a little experiment...
5213 2002-09-23 Cyrille Chepelov <cyrille@chepelov.org>
5215 * plug-ins/xlst/Makefile.am: found a way to silence automake while
5216 not forcing everyone to build using libxslt.
5220 * lib/object_defaults.c:
5223 * lib/properties.[ch]:
5225 * objects/standard/box.c:
5226 * objects/UML/state_term.c:
5228 * objects/FS/flow-ortho.c:
5232 * app/diagram_tree.c:
5234 * app/disp_callbacks.c:
5237 * app/lineprops_area.c:
5239 * app/preferences.c:
5242 * app/sheets_dialog_callbacks.c:
5243 * plug-ins/xslt/xslt.c:
5244 * plug-ins/metapost/render_metapost.c:
5245 * plug-ins/xfig/xfig-export.c:
5246 * plug-ins/shape/shape-export.c:
5248 Killed most gcc-3.2 warnings (const-correctness and derived warnings,
5249 unused variables, mostly)
5252 * app/menus.c: enabled GTK Input Methods (thanks Lars!)
5254 * app/Makefile.am: modified run_dia.sh so that we recover the
5255 ability to run a debugger despite libtool's hacks.
5257 * plug-ins/dxf/Makefile.am:
5259 "make distcheck" fixes.
5261 2002-09-19 Lars Clausen <lrclause@cs.uiuc.edu>
5263 * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
5264 <mfranzoni@madd.it>: Check for the type being NULL.
5266 2002-09-16 Lars Clausen <lrclause@cs.uiuc.edu>
5268 * app/render_eps.c (set_font): Re-tweaked font size for printing.
5270 2002-09-12 Cyrille Chepelov <cyrille@chepelov.org>
5272 Patch from Angus Ainslie <angusa@deltatee.com>:
5273 * plug-ins/dxf/dxf-import.c:
5274 * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
5276 (plus a couple extra fixes by me, such as the removal of printf's,
5277 adapting for recent changes, and killed a couple warnings)
5279 * app/authors.h: a 60K patch isn't insignificant, is it?
5281 2002-09-09 Tor Lillqvist <tml@iki.fi>
5283 * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
5284 as before) and -lfreetype (using AC_CHECK_LIB). At least on
5285 Solaris with Sun's compiler (Forte C), you need to link also the
5286 dia application with -lfreetype, even if it is implicitly linked
5287 to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
5288 which is what they actually mean. Use FREETYPE_LIBS for
5291 Don't look for libsunmath if isinf() is not found in math.h (as on
5292 Solaris). The sunmath library is part of Forte C and not present
5293 on all machines. Besides, even if isinf was found in libsunmath,
5294 we didn't use it in the Makefile.am.
5296 Fix a couple of bashisms.
5298 AC_SUBST also Z_LIBS, need to link the dia application to -lz,
5299 too, on Solaris with Forte C.
5301 Don't try to use the gcc flags with other compilers.
5302 DIA_CHECK_CFLAG gives a false indication that Forte C understands
5303 the gcc -f switches, but in fact they get interpreted meaning
5304 something completely different.
5306 Define the automake conditional HAVE_CGC.
5308 * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
5310 Use -export-dynamic only with gcc.
5313 * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS ->
5314 PANGOFT2_CFLAGS rename.
5316 * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
5318 * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
5321 * lib/paper.c: Workaround for gccism: Can't use inline this way with
5324 2002-09-08 Cyrille Chepelov <cyrille@chepelov.org>
5326 * lib/text.c(set_string): fixed a memory leak (char* ain't no
5327 std::auto_ptr<char> !).
5330 * app/interface.[ch]:
5331 * app/ddisp_callbacks.[ch]: Added some basic support for input
5332 methods (GtkIMContext-based)
5335 * app/Makefile.am: made libdia a shared object (per Tor
5336 Lillqvist's suggestion/request), to cope for platforms with a less
5337 than par dynamic library loader.
5339 * app/display.c: disabled the input method menu (I really don't
5340 see where and how to put them. Blame Frozen Bubble )
5342 2002-09-06 Lars Clausen <lrclause@cs.uiuc.edu>
5344 * objects/flowchart/box.c (box_update_data): Made resizing
5345 possible again (only set width & height when resized too small).
5347 Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
5349 * app/disp_callbacks.c (ddisplay_canvas_events): Handle
5352 2002-09-05 Cyrille Chepelov <cyrille@chepelov.org>
5354 * app/authors.h: now showing Akira TAGOH's name in the native script.
5356 2002-09-01 Lars Clausen <lrclause@cs.uiuc.edu>
5358 * plug-ins/xslt/xslt.c: Removed glib warning for unset
5361 2002-09-01 Cyrille Chepelov <cyrille@chepelov.org>
5363 * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
5364 Mike Sowka <msowka@rogers.com>. This fixes a problem with the
5367 2002-08-31 Lars Clausen <lrclause@cs.uiuc.edu>
5369 * objects/UML/class.c: Fixed showing of empty stereotypes and got
5370 the string placed correctly.
5372 2002-08-30 Hans Breuer <hans@breuer.org>
5374 * lib/font.c (dia_font_get_style) : don't shift already
5375 shifted DIA_FONT values.
5377 * lib/libdia.def : updated externals
5379 * app/disp_callbacks.c : on win32 GdkEventKey::string already
5380 is in UTF-8. (Longterm this probably should be handled on the
5383 * app/command.[hc] app/display.[hc] app/menus.c : add code to
5384 switch display renderers again. The libart renderer is very
5385 useful for win9x with it's limited GDI.
5387 * app/render_gdk.c : use g_warning instead of printf which gets
5388 nowhere on win32 (non console apps)
5390 * app/render_libart.c : make it compile without FREETYPE
5392 * objects/makefile.msc plug-ins/makefile.msc : added clean target
5394 2002-08-29 Lars Clausen <lrclause@cs.uiuc.edu>
5396 * app/render_eps.c (postscript_draw_contour): Debugging statement
5397 that allowed me to figure out font problems.
5399 * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
5400 items for font styles.
5402 * objects/FS/flow-poly.c:
5403 * objects/FS/flow-ortho.c:
5404 * objects/FS/flow.c: Further conversion away from GTK dialogs.
5405 Can't set a default label right now:(
5407 * app/interface.c (fill_sheet_wbox): Added initialization for mask.
5409 2002-08-27 Cyrille Chepelov <cyrille@chepelov.org>
5410 Patch from Andrew Ferrier <andrew@new-destiny.co.uk>:
5412 * Makefile.am: rules relating to AUTHORS and THANKS
5414 * AUTHORS: file content changed to more accurately
5415 reflect guideline requirements.
5416 * TODO: warning added about Gnome BTS.
5417 * KNOWN_BUGS: warning added about Gnome BTS.
5421 * AUTHORS: added full copyright info.
5422 * mkauthors-placeholder: (removed)
5424 2002-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
5426 * app/paginate_psprint.c (print_page): Fixed text printing after
5427 tip from Dov Grobgeld.
5429 2002-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
5431 * app/paginate_psprint.c (print_page): Fixed color of clip
5434 2002-08-26 Cyrille Chepelov <cyrille@chepelov.org>
5436 * sheets/Makefile.am: enabled intltool-merge translation cache for
5440 * mkauthors-placeholder:
5441 * AUTHORS: revived that file (in a placeholder form) so that
5442 automake stops yelling.
5443 (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>)
5446 Heh, by the way, thanks Christophe. I feel better now.
5448 2002-08-25 Christophe Merlet <christophe@merlet.net>
5450 * app/command.c: Removed invalid multibyte sequence in Chepelov.
5452 2002-08-24 Lars Clausen <lrclause@cs.uiuc.edu>
5454 * lib/dia_image.c (dia_image_rgb_data):
5455 Bugfixes in image data retrieval.
5457 * app/render_eps.c: Refactoring of new_*_renderer.
5459 2002-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
5463 * lib/dia_image.c: Support for rowstride != width (odd width images)
5465 2002-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
5467 * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
5468 * plug-ins/xfig/xfig-import.c: Removed assertion.
5470 2002-08-18 Lars Clausen <lrclause@cs.uiuc.edu>
5472 * lib/paper.c: Removed app/preferences.h reference.
5474 2002-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
5476 * plug-ins/svg/svg-import.c:
5477 * plug-ins/xfig/xfig-import.c:
5478 * lib/Makefile.am (libdia_a_SOURCES):
5479 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
5481 * objects/standard/create.h:
5482 * objects/standard/polygon.c (polygon_create):
5483 * objects/standard/polyline.c (polyline_create):
5484 * objects/standard/beziergon.c (beziergon_create):
5485 * objects/standard/bezier.c (bezierline_create):
5486 Moving create.h into lib.
5488 2002-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
5490 * app/render_libart.[ch]: Work on PNG font export. Something's
5491 still fishy with the scaling, I don't get it.
5494 * app/interface.c: Replaced broken zoom combo with entry+menu.
5495 Now works beautifully. Removed WITHOUT_ZOOM_COMBO stuff.
5497 * app/render_gdk.c (get_text_width): Checks for validity of text.
5498 Temporary help while debugging input -- should only activate on
5501 * objects/SADT/annotation.c:
5502 * objects/GRAFCET/transition.c:
5503 * objects/FS/function.c: Removal of gtk.h include.
5505 * objects/UML/state.c (state_load): Warnings about using State
5506 object for initial/final states.
5508 * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
5510 2002-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
5512 * app/render_eps.c: Text rendering that scales correctly. Too bad
5513 the standard fonts don't get selected right.
5515 2002-08-09 Lars Clausen <lrclause@cs.uiuc.edu>
5517 * lib/diagramdata.h:
5518 * lib/paper.c (get_paper_info):
5520 * plug-ins/xfig/xfig-import.c:
5521 Committed before testing. I am so embarrased. This compiles, now
5522 that the includes are in the right order.
5524 * app/diagram.c (diagram_init):
5525 * app/app_procs.c (do_convert):
5526 * app/preferences.h:
5527 * lib/diagramdata.h:
5528 * lib/diagramdata.c (new_diagram_data):
5530 * lib/paper.c (get_paper_info):
5531 Moved new_diagram part of prefs into lib/diagramdata.h. More
5532 could be done in new_diagram_data() now.
5534 2002-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
5536 * app/render_eps.c: Better scaling of fonts at non-normal zoom.
5538 2002-08-07 Cyrille Chepelov <cyrille@chepelov.org>
5540 * configure.in: removed silly user-visible comment
5542 (actually, this is a dummy entry before I manually run nemo; for
5543 some dist-upgrade related reason, this morning's run aborted before
5544 the snapshots were created)
5546 2002-08-06 Lars Clausen <lrclause@cs.uiuc.edu>
5548 * objects/network/wanlink.c:
5549 * objects/network/bus.c:
5552 * objects/custom/custom_object.c:
5553 * objects/network/wanlink.c:
5554 * objects/flowchart/parallelogram.c:
5555 * objects/flowchart/ellipse.c:
5556 * objects/flowchart/diamond.c:
5557 * objects/flowchart/box.c:
5558 Removed GTK defaults stuff.
5560 * objects/UML/fork.c:
5561 * objects/UML/object.c:
5562 * objects/UML/lifeline.c:
5563 * objects/UML/branch.c:
5564 * objects/GRAFCET/transition.c:
5565 * objects/FS/function.c: Removed GTK include.
5567 * objects/FS/flow-ortho.c:
5568 * objects/FS/flow.c: Made the label behave again.
5569 Also removed GTK defaults stuff.
5571 2002-08-06 Hans Breuer <hans@breuer.org>
5573 * app/autosave.c : ported to GDir which is the improved
5574 cross platform replacement for <dirent.h>
5576 * app/makefile.msc : build autosave.obj
5578 * app/font.c : some (bad?) code calls
5579 dia_font_scaled_decent() not only with empty string but
5580 with NULL. Handle it gracefully.
5582 * lib/paper.c : don't depend on ../app. Although IMO
5583 this shouldn't be allowed on any platform it is only
5584 disabled for win32, where it simply doesn't work
5587 * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
5589 * objects/fs/flow.c : conditionalize debug spew, disabled
5590 and 'ported' to use g_print. Simple printf won't work with
5591 standard win32 gui apps, may even crash them.
5593 * plug-ins/makefile.msc : DISABLED svg-import cause it
5594 depends on ../objects/custom. This not only break the
5595 build for all non ELF systems but IMO also isn't acceptable
5596 from a design point of view. See dia-list mail on subject.
5598 * plug-ins/python/makefile.msc :
5599 plug-ins/python/python.c : remove all references to dirent
5601 2002-08-05 Cyrille Chepelov <cyrille@chepelov.org>
5603 * configure.in: added ro to ALL_LINGUAS
5607 * ../translation-graphs/transgraph.py: added support for fuzzy
5608 translations. Enlarged the graphs.
5610 2002-08-05 Lars Clausen <lrclause@cs.uiuc.edu>
5612 * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
5613 key events according to locale. No clue if this works for
5616 2002-08-04 Lars Clausen <lrclause@cs.uiuc.edu>
5618 * lib/text.c: Various UTF8 related fixes, in particular in
5619 deleting. Text_insert_char is fine, far as I can tell.
5621 * app/interface.c (create_display_shell):
5622 * app/commands.c: Now uses gtk_clipboard functions, for they are
5623 much simpler. Also handles Win32 clipboard. Non-ascii chars
5624 don't seem to get handled correctly by text_insert_char in
5627 * app/commands.c (received_selection_handler): Got utf8 handling
5628 on paste, and individual char handling out of commands.c. Pasting
5629 non-ASCII is still broken, somehow. It's all lib/text.c's fault.
5631 * lib/message.c (gtk_message_internal): Message dialog re-shown
5632 when new message appears. Maybe it should even move to top?
5636 * app/render_eps.c (create_eps_renderer): Fonts now lowercase
5637 (again) and case-insensitive.
5639 * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
5642 2002-08-02 Lars Clausen <lrclause@cs.uiuc.edu>
5644 * app/commands.c (edit_cut_text_callback):
5645 * lib/text.c (text_delete_all): Now functioning undo for text cut.
5647 * app/commands.c (edit_cut_text_callback): Now removes text.
5648 Undo is broken, though.
5650 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
5652 * app/diagram.c (diagram_update_menu_sensitivity):
5653 Making cut_text active.
5656 * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
5657 clipboard. Also removed AA callback.
5659 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
5661 * objects/chronogram/chronoref.c:
5662 * objects/chronogram/chronoline.c:
5663 * objects/SADT/annotation.c:
5664 * objects/SADT/arrow.c:
5665 * objects/SADT/box.c:
5666 * objects/GRAFCET/vergent.c:
5667 * objects/GRAFCET/vector.c:
5668 * objects/GRAFCET/step.c:
5669 * objects/GRAFCET/condition.c:
5670 * objects/GRAFCET/action.c:
5671 * objects/ER/participation.c:
5672 * objects/ER/relationship.c:
5673 * objects/ER/entity.c:
5674 * objects/ER/attribute.c:
5675 Removing unnecessary GTK references.
5677 2002-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
5679 * objects/standard/image.c:
5680 * objects/standard/textobj.c:
5681 * objects/standard/ellipse.c:
5682 * objects/standard/polygon.c:
5683 * objects/standard/beziergon.c:
5684 * objects/standard/box.c:
5685 Making default default properties.
5687 * objects/standard/image.c:
5688 * objects/standard/arc.c:
5689 * objects/standard/box.c:
5690 * objects/standard/zigzagline.c:
5691 * objects/standard/polyline.c:
5692 * objects/standard/line.c:
5693 * objects/standard/ellipse.c:
5694 * objects/standard/polygon.c:
5695 * objects/standard/beziergon.c: Removing vestigal GTK stuff.
5697 * lib/object_defaults.c (dia_object_default_create):
5700 * lib/object.c (object_copy_using_properties):
5701 * lib/propdialogs.c:
5702 * lib/propinternals.h:
5703 * lib/propobject.c (object_create_props_dialog)
5704 (object_copy_props):
5705 Removing the standard (toolbox) properties from defaults dialogs.
5707 2002-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
5709 * lib/font.c (dia_font_scaled_string_width)
5710 (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
5712 * lib/text.c (text_calc_boundingbox): Take descent into account.
5714 * objects/standard/bezier.c (bezierline_draw):
5715 * lib/render.c (draw_bezier_with_arrows):
5716 Better arrow drawing for beziers. Doesn't change the mouse-click
5719 * lib/arrows.h: Some const-ness.
5721 * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
5723 * lib/render.c (draw_arc_with_arrows):
5724 * objects/standard/arc.c (arc_draw): Better arrow drawing for
5725 arcs. Doesn't change the mouse-click area yet.
5727 * app/menus.c: Forgotten fix: Redraw menu item for non-Gnome.
5733 2002-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
5735 * app/group.c (group_draw): Forgotten commit: Groups to draw as
5736 objects (using default routines).
5740 * lib/diagramdata.h:
5741 * lib/diagramdata.c (layer_find_closest_connectionpoint):
5742 * objects/standard/zigzagline.c (zigzagline_move_handle):
5743 * app/diagram.c (diagram_find_closest_connectionpoint):
5744 * plug-ins/python/pydia-diagram.c
5745 (PyDiaDiagram_FindClosestConnectionPoint):
5746 * app/object_ops.c (object_connect_display)
5747 (object_find_connectpoint_display)
5748 * app/create_object.c (create_object_button_press)
5749 (create_object_motion):
5750 * app/modify_tool.c (modify_motion):
5751 Adding object param to allow connectionpoint and handle coinciding.
5753 * objects/standard/zigzagline.c (zigzagline_check_orientation):
5754 Fixing minor problems.
5756 * objects/standard/ellipse.c (ellipse_update_data):
5757 Added direction hints.
5759 * lib/diagramdata.c:
5762 * lib/diagramdata.h:
5763 * objects/standard/zigzagline.c:
5764 First working example of zigzagline hints, currently only between
5767 2002-07-27 Steffen Macke <sdteffen@web.de>
5769 * plug-ins/svg/render_svg.c: added support for rounded
5770 rectangles (fixes #69053 if compile with
5772 * object/custom/shape_info.[c|h]: made parse_style and
5773 parse_path accessible for svg plug-in
5774 * plug-ins/svg/Makefile.am:
5775 * plug-ins/svg/svg.c:
5776 * plug-ins/svg/svg-import.c(new): added SVG import filter
5778 2002-07-27 Lars Clausen <lrclause@cs.uiuc.edu>
5780 * objects/standard/box.c:
5781 * objects/standard/zigzagline.c (zigzagline_move):
5782 More work on zigzagline hints.
5784 2002-07-26 Lars Clausen <lrclause@cs.uiuc.edu>
5785 * lib/connectionpoint.h:
5786 Hints for zigzaglines.
5788 * app/properties.c (properties_show):
5789 * app/defaults.c (defaults_show):
5791 * lib/propobject.c (object_create_props_dialog):
5793 * objects/FS/flow-poly.c:
5794 * objects/network/wanlink.c:
5795 * objects/network/bus.c:
5796 * objects/UML/class.h:
5797 * objects/UML/class_dialog.c:
5798 * objects/UML/association.c:
5799 Start of removing toolbox props from props dialogs.
5803 * app/lineprops_area.c (dia_arrow_chooser_new):
5804 * lib/arrows.c: Two new arrows: Concave, filled and blanked.
5806 * app/create_object.c:
5807 * app/modify_tool.c:
5812 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
5814 * app/preferences.c:
5816 * app/diapagelayout.c:
5817 New prefs selector kind PREF_CHOICE chooses between a list of
5818 strings. Used for picking default paper.
5820 * app/preferences.c (prefs_data):
5821 * lib/paper.c (get_paper_info): Added prefs setting for
5824 * lib/render.c (draw_polyline_with_arrows): Handles degenerate
5825 line segments at the ends (bug #86603).
5827 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
5829 * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
5830 #60324: Now calls update_data after copy.
5832 * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
5833 Now doesn't steal selection from non-object tools.
5835 2002-07-24 Lars Clausen <lrclause@cs.uiuc.edu>
5837 * app/commands.c (help_manual_callback): Uses BROWSER environment
5838 variable when available.
5840 2002-07-23 Lars Clausen <lrclause@cs.uiuc.edu>
5842 * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
5843 object from the new sheet when changing.
5845 * app/app_procs.c (app_init): Uses more standard size icon, from
5846 patch #56433. Keeping old icon as dia_gnome_icon_large.png.
5848 2002-07-22 Lars Clausen <lrclause@cs.uiuc.edu>
5850 * objects/UML/implements.c (implements_update_data):
5851 * objects/UML/realizes.c (realizes_update_data):
5852 * objects/UML/dependency.c (dependency_update_data):
5853 Test for null strings before calling on ascent.
5855 * objects/UML/realizes.c (realizes_draw):
5856 * objects/UML/message.c (message_draw):
5857 * objects/UML/generalization.c (generalization_draw):
5858 * objects/UML/dependency.c (dependency_draw)
5859 * objects/UML/constraint.c (constraint_draw):
5860 * objects/GRAFCET/condition.c (condition_draw):
5861 * objects/UML/association.c (association_draw):
5862 * objects/FS/flow-ortho.c (orthflow_draw):
5863 * objects/FS/flow.c (flow_draw): Change to use
5864 draw_foo_with_arrows. Pretty pretty arrows. Yay me!
5867 * lib/arrows.c (calculate_arrow_point):
5870 * objects/standard/zigzagline.c:
5871 * objects/standard/polyline.c:
5872 * objects/standard/line.c: Work towards better arrow drawing.
5874 2002-07-21 Lars Clausen <lrclause@cs.uiuc.edu>
5876 * objects/UML/state.c: Starting phase-out of State object as
5877 initial/final state (which never worked right).
5879 * app/app_procs.c (app_init): --version command line option for
5882 * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
5884 2002-07-19 Lars Clausen <lrclause@cs.uiuc.edu>
5886 * app/render_eps.c: Removed debugging info.
5888 * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
5889 Kludge to make ascent and descent work for empty strings. Won't
5890 work when using non-ASCII fonts. Better would be to get a
5891 PangoFont and ask directly.
5893 * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
5896 * app/render_gdk.c (get_text_width): Fixed use of wrong string.
5899 2002-07-18 Lars Clausen <lrclause@cs.uiuc.edu>
5901 * plug-ins/xfig/xfig-export.c: First use of draw_object render
5902 function: All shapes are now groups in XFig export.
5904 * lib/diagramdata.c (normal_render):
5907 * app/display.c (ddisplay_obj_render):
5908 New render function for drawing objects, allows renderers to group
5909 or otherwise specially handle objects. We may want to reconsider
5910 calling it in app/display.c, as we 'know' the object draw function
5911 is the default one there.
5913 * lib/Makefile.am: Removed extra \ that broke stuff.
5915 * plug-ins/xfig/xfig-import.c:
5916 Spline import for xfig. Not perfect.
5918 * objects/standard/create.h:
5919 * objects/standard/bezier.c (bezierline_create):
5920 * lib/bezier_conn.c:
5921 * lib/beziershape.c (beziershape_set_points):
5922 * lib/bezier_conn.h:
5923 * lib/beziershape.h:
5924 Support for creating beziers non-interactively.
5926 2002-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
5928 * plug-ins/xfig/xfig-import.c: Support for polygons and
5929 polylines. Special warning handling system removed.
5931 * lib/message.c (gtk_message_internal): Fixed bug involving
5932 closing message window and then getting repeated message.
5936 * configure.in (GETTEXT_PACKAGE):
5937 Update based on bug #88199. Hopefully this doesn't break too much
5940 * dia.desktop.in (_Comment): Changed after suggestion from
5941 calum.benson@ireland.sun.com (bug 88345)
5943 * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
5944 <loli@unsa.edu.ar> that makes user/system distinction better.
5946 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
5948 * app/render_libart.c: Got the context right, removed crashes.
5958 Remove libart #defines from most places (still around for png export).
5960 * app/render_libart.h:
5961 * app/render_libart.c:
5962 * configure.in (HAVE_LIBART):
5963 Starting on update of libart stuff for png export (without X).
5965 * app/autosave.h (autosave_check_autosave):
5968 * app/Makefile.am (dia_core_files):
5970 * app/diagram.c (diagram_set_modified):
5972 * app/app_procs.c (app_init):
5973 Autosave support. No automatic restore yet.
5975 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
5977 * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
5980 2002-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
5982 * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
5984 2002-07-15 Andrew Ferrier <andrew@new-destiny.co.uk>
5986 * Fix for 'make dist' etc. --- problem caused by
5987 previous AUTHORS patch.
5989 2002-07-14 Lars Clausen <lrclause@cs.uiuc.edu>
5991 * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
5993 (set_font): NULL check.
5995 2002-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
5997 * app/disp_callbacks.c:
5999 Addition to the object menus allows check menu items.
6001 2002-07-11 Andrew Ferrier <andrew@new-destiny.co.uk>
6003 * HACKING: completely changed to bring up-to-date.
6004 * AUTHORS: file needs REMOVING from CVS as now
6005 dynamically generated.
6006 * app/authors.h: split into subcategories for original
6007 authors, maintainers, etc.
6008 * app/app_procs.c: --credits rewritten to support new
6010 * app/commands.c: no changes to about box code, comment
6012 * Makefile.am: added rule for AUTHORS. I'm still
6013 inexperienced with automake, it seems to work, but
6014 for AUTHORS-related bugs, look at this change first.
6016 2002-07-10 Lars Clausen <lrclause@cs.uiuc.edu>
6018 * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
6019 work. Back to including xslt dir always.
6021 * objects/UML/uml.c:
6022 * objects/UML/class.h:
6023 * objects/UML/class_dialog.c:
6024 * objects/UML/class.c: Patch from
6025 <mattam@netcourrier.com>: Adds comment visibility switch, also
6028 Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
6029 for state/fork/activity stuff.
6030 * objects/UML/state.c: Removed old draw_rounded_rectangle code.
6031 * objects/UML/Makefile.am:
6032 * objects/UML/uml.c:
6033 * sheets/UML.sheet.in: Added new objects activity, fork,
6035 * objects/UML/pixmaps/state_term.xpm:
6036 * objects/UML/state_term.c: New, only initial/final states.
6037 * objects/UML/pixmaps/activity.xpm:
6038 * objects/UML/activity.c: New, activity state.
6039 * objects/UML/pixmaps/fork.xpm:
6040 * objects/UML/fork.c: New, fork/join bar.
6041 * objects/UML/pixmaps/state.xpm: state icon.
6045 * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
6046 <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
6049 2002-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
6051 * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
6054 * app/Makefile.am: Commented out the diaconv parts while it's not
6055 used anyway. To come back later.
6057 * configure.in (HAVE_FREETYPE):
6060 * app/render_eps.c: Support for printing with freetype, better
6061 encapsulated now. Renders the text nicely, but ignores font
6062 setting. Requires pangoft2 to get the font outline, but non-text
6063 objects can still be rendered without it.
6066 * app/commands.c (objects_place_up_callback)
6067 (objects_place_down_callback):
6069 * app/diagram.c (diagram_place_down_selected)
6070 (diagram_place_up_selected): Starting support for moving objects
6073 * app/menus.c: Removed character/numeral shortcuts.
6075 2002-07-06 Hans Breuer <hans@breuer.org>
6077 * makefile.am app/makefile.am lib/makefile.am
6078 objects/makefile.am plug-ins/makefile.am
6079 plug-ins/python/makefile.am :
6080 added required files for win32 build to EXTRA_DIST
6082 * app/paginate_psprint.c app/render_eps.c
6084 wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
6085 on Pango as currently is on win32 => no PostScript
6088 * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
6089 use '/* noop */;' for empty case labels; replace
6090 debug spew printf with g_print which is guaranteed
6091 to work on win32, too.
6093 * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values
6094 for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed
6095 in the pango_font_description_set_weight() api documentation
6096 Take care for them in dia_font_get_style() too.
6098 * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
6099 plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
6100 rename Obliquity to Slant which appears to be the usual name,
6101 also rename dia_font_get_style_string -> dia_font_get_slant_string
6103 * plug-ins/wmf/wmf.cpp : finally ported to new font api
6105 * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
6107 * objects/uml/association.c class.c large_package.c message.c
6108 if g_free() is used g_strdup needs to be used.
6109 * objects/custom/shape_info.c
6110 objects/ER/attribute.c entity.c
6111 objects/standard/image.c
6112 app/sheets_dialog_callbacks.c : more strdup cleaning
6114 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
6116 * app/render_eps.c: Non-crashing printing (made the right
6117 context). Font output still fscked up.
6119 2002-07-05 Andrew Ferrier <andrew@new-destiny.co.uk>
6121 * app/authors.h: Added file --- now master
6122 location for contributors data.
6123 * app/app_procs.c: Added --credits option.
6124 * app/commands.c: Modified about box to use
6127 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
6129 * app/render_eps.c: First stab at EPS rendering using the contour
6130 code from PAPS. Crashes.
6132 2002-06-30 Lars Clausen <lrclause@cs.uiuc.edu>
6134 * app/recent_files.c (recent_file_history_remove):
6135 Fixed call to g_list_delete_link discarding return value.
6137 * lib/widgets.c (dia_font_selector_set_styles):
6138 * lib/font.h (DiaFontWeight):
6139 * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
6141 2002-06-30 Cyrille Chepelov <cyrille@chepelov.org>
6143 Contribution from Alan Horkan <horkana@tcd.ie>:
6146 * sheets/Assorted.sheet:
6147 A set of 40 assorted geometric shapes.
6149 * sheets/Assorted.sheet.in:
6150 * sheets/Makefile.am
6151 * shapes/Assorted/Makefile.am:
6152 * shapes/Makefile.am:
6155 Done the integration job of Alan's shapes. (Translators: have fun!)
6157 * po/dia.pot: refreshed the main potfile.
6159 2002-06-28 Cyrille Chepelov <cyrille@chepelov.org>
6161 Patch from Tim Ellis <Tim.Ellis@gamet.com>:
6163 * objects/UML/class.[ch]:
6164 * objects/UML/class_dialog.c:
6165 changed the number of connection points from a hardcoded value of
6166 8 to a #defined constant
6168 (I changed the constant back from 20 to 8, until we better know
6169 how we'll handle more connection points on the UML class in the
6170 future -- but Tim's patch is a welcome clean-up).
6172 2002-06-26 Cyrille Chepelov <cyrille@chepelov.org>
6174 * shapes/MSE/demultiplexer.xpm:
6175 * shapes/MSE/node_center.xpm:
6176 * shapes/MSE/multiplexer.xpm:
6177 * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
6178 Horkan <horkana@tcd.ie>
6180 2002-06-25 Lars Clausen <lrclause@cs.uiuc.edu>
6182 * lib/widgets.c: Total rehash of font selector, with font dialog
6183 option, expanding list (not LRU yet), and stuff.
6185 2002-06-25 Cyrille Chépélov <cyrille@chepelov.org>
6189 Added a set of new setter/getters, some of them more specially for
6192 * plug-ins/shape/shape-export.c: (new_shape_renderer),
6193 (destroy_shape_renderer), (set_font), (draw_string):
6194 * plug-ins/svg/render_svg.c: (new_svg_renderer),
6195 (destroy_svg_renderer), (set_font), (draw_string):
6197 Actually exported the font face, style, weight and size (sodipodi
6198 agrees with dia on how a small sample should look like (a sample
6199 0.90 would not even display anyways). Yay !)
6201 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
6203 * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
6205 (end of ChangeLog-less patch)
6207 * objects/custom/shape_info.c (parse_style): now understands the
6208 font-style and font-weight attributes as well. Does not use
6209 anymore dia_font_new_from_legacy_name().
6211 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
6213 * objects/standard/textobj.c: Now uses stdprops for defaults.
6215 * lib/font.h: Changed order of DiaFontWeight entries. Sorry.
6216 * lib/font.c (dia_font_get_style): Style now linear and conversion
6219 * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
6222 2002-06-24 Cyrille Chepelov <cyrille@chepelov.org>
6224 * plug-ins/dxf/dxf-import.c:
6225 using dia_font_new_from_style()
6227 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
6229 * objects/UML/class.[ch]: Added a comment field to class
6230 * objects/UML/uml.[ch]: Added a comment field to attributes,
6231 operations and parameters.
6232 * objects/UML/class_dialog.c: Added code for the new comment
6234 * plug-ins/xslt/*.xsl: Added some code to handle comments.
6235 * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
6236 Added a $directory parameter for stylesheets so the output is
6237 in the good place (not in the $PWD).
6241 * AUTHORS: added contributors, updated maintainers. Removed the
6242 specific areas of action.
6244 * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
6245 from a patch by Xing Wang <quixon@gnuchina.org>:
6247 * app/commands.c: help_about_callback now supports
6248 new-style GNOME about box as well as old GTK style.
6249 code also tidied (Closes: #85726)
6253 * app/commands.c: fixed the copyright (it's not all FSF), and
6254 maintainers. Synced contributors list with AUTHORS.
6256 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
6258 * lib/message.c: More work on repeating messages, now with
6261 2002-06-24 Hans Breuer <hans@breuer.org>
6263 * lib/widget.c : some more bits in place, at least
6264 it does something useful instead of crashing. Much
6265 better - but not all ok :-)
6267 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
6269 * lib/message.c (gtk_message_internal): First stab at repeating
6272 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
6275 * objects/GRAFCET/*.c:
6277 * objects/UML/association.c: (one instance forgotten)
6278 * objects/UML/large_package.c:
6279 * objects/standard/textobj.c:
6282 using dia_font_new_from_style()
6284 2002-06-23 Hans Breuer <hans@breuer.org>
6286 * lib/font.c : giving some love to
6287 dia_font_new_from_legacy_name() that is making
6288 import of old files as painless as possible and
6289 provide an almost exact match where possible.
6290 It does not yet fully work because it interfers
6291 with the Style to DiaStyle conversion which comes
6294 [Changing these files is only allowed with Dia-0.90]
6295 * broken-files/fonts-0.90.dia : including the
6296 common hard-coded fonts from Dia-0.90. It also
6297 has drawn bounding-boxes for win32 as they were calculated
6298 from the former version (they were all too big).
6299 * broken-files/fonts-0.90-full.dia : all hardcoded
6300 fonts including the asian versions. On my machine
6301 this gives _a lot_ complaining about missing fonts
6302 and a finally a broken file display. Anyone having
6305 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
6307 * objects/chronogram/*.c:
6308 * objects/custom/custom_object.c:
6310 using dia_font_new_from_style()
6312 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
6314 * lib/widgets.c (dia_font_selector_set_styles): Improvements to
6315 font selector (stability, insensitivity).
6317 * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
6318 stretching scheme for tweaking, and made scaling scheme faster
6320 (dia_font_dia_style_to_pango): Oops, % != /.
6322 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
6325 * patch from Matthieu Sozeau <mattam@netcourrier.com>:
6327 * plug-ins/xslt : Added an XSLT plugin to export dia files using
6328 XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
6329 It includes a small config file to tell it what stylesheets to use.
6333 * plug-ins/xslt/xsltdialog.c: modified the dialog to be more
6334 GTK2.0/HIG compliant (the labels could be slightly more verbose,
6335 perhaps). Added back a couple forgotten _(). Removed //-style
6338 2002-06-23 Hans Breuer <hans@breuer.org>
6341 (dia_plugin_get_name) : don't crash plugin_manager
6343 (dia_plugin_load) : reuse the description field to
6344 store the error string if loading fails.
6346 * lib/font.[hc] : starting to beautify the new
6347 font api: proper namespacing, adding convenience
6348 functions like dia_font_new_from_style(), ...
6350 * objects/uml/*.c : use the new convenience functions.
6352 [Next thing I plan to do is changing the other font
6353 functions to take DiaStyle and make Style and
6354 BASIC_*_FONT vanish. As well as giving some love to
6355 dia_font_new_from_legacy_name().
6356 If anyone want's to help on converting the other
6357 objects to the new api during that, I would highly
6360 2002-06-23 Hans Breuer <hans@breuer.org>
6362 * lib/font.c : made it compile and small indent fixes.
6363 Is there a code-has-no-effect-so-needs-not-be-valid
6366 * lib/widgets.c : use g_strcasecmp
6368 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
6372 * lib/widgets.c: Font names sorted, style selector widget
6373 reappeared. Doesn't select the old style yet.
6375 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
6377 * lib/font.c: one who expects a text's font to be changed shall
6378 actually request the attributes to apply to the whole range of the
6381 * lib/font.c: extents computation was wrong.
6383 * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
6384 if a last NULL parameter is added...
6386 * lib/font.c: extents computation was completely wrong. This looks
6387 much better this time.
6389 * objects/UML/class.c: fixed the various strings positions.
6391 * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
6392 macros to get the hardcoded base fonts.
6394 * objects/ER/relationship.c: wasn't converted to DiaFont*
6396 2002-06-22 Hans Breuer <hans@breuer.org>
6398 * lib/widget.c : dont use backend specific functions
6399 to get on the font_families. Including it would mean
6400 including <windows.h> which breaks due to namespace
6403 * lib/libdia.def : updated externals
6405 * app/makefile.msc : temporary disabled: -DHAVE_LIBART
6407 * lib/font.c : added empty dia_font_init_instance function,
6408 reformatting of dia_fon_unref to allow to set breakpoint,
6409 dia_fon_build_layout() : dont crash on string==NULL
6411 * lib/text.c (text_set_attributes) : don't unref the wrong font
6413 * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
6414 stores lowercased font names, but dia_font_get_family()
6417 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
6420 * app/render_gdk.c: Patch from Hans Breuer.
6422 * app/Makefile.am (dia_core_files): diaconv commented out for now.
6424 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
6426 * lib/all files touched yesterday: took into account some of Hans
6428 http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
6430 * objects/chronogram/*:
6433 * objects/flowchart/*:
6435 * objects/GRAFCET/*:
6437 * objects/standard/textobj.?:
6439 converted to the new DiaFonts.
6442 * plug-ins/pstricks/*:
6446 Made minimalistic conversions so that they'd at least compile.
6449 * app/render_pixmap.c:
6450 Converted to the new DiaFonts.
6455 made the minimal changes so that it would at least build.
6457 *** At this point, the thing builds on my machine, but segfaults
6460 2002-06-21 Cyrille Chepelov <cyrille@chepelov.org>
6462 * configure.in: removed the backend-specific pango pkg_modules
6463 (trivial to add back if needed, when actually needed)
6466 * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
6467 renderer. The APIs will have completely changed when we get around
6468 to redo a renderer for it, anyways.
6470 * font.[ch]: rewrote everything from scratch, with a Pango
6471 implementation. Normally, only backend-neutral things should go in
6474 **WARNING**: new rules for managing DiaFont* pointers: these are
6475 reference-counted GObjects. One >must< diafont_ref() and
6476 diafont_unref() as appropriate. I wish I could overload operator=()...
6478 lib/plug-ins.h: bumped up the plug-in API.
6483 lib/object_defaults:
6484 lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
6485 again tomorrow with GObject.
6487 lib/widgets.c: Adapted to the new DiaFont API and to Pango.
6489 **** The rest of the tree should be updated as well ****
6491 2002-06-21 Lars Clausen <lrclause@cs.uiuc.edu>
6495 * app/render_pixmap.c:
6496 * app/render_pixmap.h:
6497 * app/render_libart.h:
6498 * app/render_libart.c:
6500 * lib/font.c: Removed freetype stuff (still around in
6501 lib/widgets.c 'cause we might want the font selector widget).
6503 2002-06-20 Cyrille Chepelov <cyrille@chepelov.org>
6505 * shapes/network/laptop.(xml|shape):
6506 * sheets/network.sheet.in: added Laptop (notebook) PC shape,
6507 contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
6509 2002-06-17 Hans Breuer <hans@breuer.org>
6511 * lib/object_defaults.c : #include <libxml/tree.h> not
6512 <tree.h> pointed out by Xing Wang
6514 2002-06-17 Lars Clausen <lrclause@cs.uiuc.edu>
6516 * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK):
6518 * app/color_area.c: Update to
6519 gtk_color_selection_*_current_color() fixed bad crash issues, plus
6520 updated color conversions.
6522 * sheets/ER/weakentity.xpm: Accepted patch from
6523 quixon@gnuchina.org to make icon match actual appearance.
6525 * app/recent_files.c: Fixed GNOME recent file problem, thanks to
6526 quixon@gnuchina.org.
6528 2002-06-16 Hans Breuer <hans@breuer.org>
6530 * lib/plug-in.[hc] : make PlugInInfo opaque again in the
6531 good tradition of information hiding. Add new function
6532 dia_plugin_get_symbol()
6533 * app/sheets.c app/sheets_dialog_callbacks.c : use it
6535 * app/sheets.c : stop complaining about object_get_type()
6536 returning NULL. This is a consequence of e.g. disabling
6537 plug-ins at runtime _and_ it was and is gracefully handled.
6538 Spitting out g_warning for it isn't appropriate.
6540 * lib/object.[ch] : removed dead code
6542 * app/plugin-mangager.c : almost complete rewrite for gtk2
6543 using GtkListStore/GtkTreeView
6545 * lib/libdia.def : updated externals
6547 * todo.gtk2 : updated, that is removed already done steps
6549 2002-06-15 Hans Breuer <hans@breuer.org>
6551 * objects/uml/class_dialog.c : clean some left-over
6552 utf8-mess, return 0 from "focus_out_event" handlers
6553 to avoid asserting in gtk (#78305). Reconstruct
6554 stereotype/NULL behaviour to avoid rendering empty
6555 stereotypes on classes and member functions
6557 [#56109 - Provide object defaults for StdProp objects,
6558 some remaining issues are discussed in bugzilla]
6560 * lib/object_defaults.c : (new file) manage default properties
6561 of dia objects. The serialization is done with standard
6562 object methods in a diagram compatible format.
6564 * lib/object.c : add object_registry_foreach() which allows
6565 to iterate over all registered object types
6567 * lib/object.h : added prototypes object_default*() and
6568 object_registry_foreach()
6570 * lib/makefile.am lib/makefile.msc : add new file to build
6572 * lib/libdia.def : export new functions
6574 * app/defaults.c : provide StdProp based defaults if the
6575 ObjectType doesn't implement it's own default functions
6577 * app/create_object.c : through dia_object_default_create()
6578 * app/disp_callbacks.c : same here
6580 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
6582 * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
6583 sensitivity for deleting segments.
6585 2002-06-12 Cyrille Chépélov <cyrille@chepelov.org>
6587 * app/color_area.c: (color_area_events):
6588 * app/diagram.c: (diagram_destroy):
6589 * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
6591 * app/load_save.c: (diagram_data_load):
6592 * app/menus.c: (menus_get_item_from_path):
6593 * app/preferences.c: (prefs_load):
6594 * app/render_gdk.c: (get_text_width):
6596 * lib/color.c: (color_convert):
6597 * lib/dia_dirs.c: (dia_config_filename):
6598 * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
6599 * lib/intl.c: (intl_get_language_list):
6600 * lib/message.c: (message):
6602 * lib/paper.c: (get_default_paper):
6603 * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
6604 * lib/widgets.c: (dia_file_selector_get_file):
6606 * objects/standard/image.c: (get_directory):
6610 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
6612 * ChangeLog: Fixed bad UTF-8 mess. Apologies.
6614 2002-06-11 Lars Clausen <lrclause@cs.uiuc.edu>
6616 * app/interface.c: sscanf now returns EOF on empty string, so
6617 handle no match for zoom factor better => correct zoom at start.
6619 * app/sheets.c (create_object_pixmap): Tried to display empty error.
6620 (sheets_optionmenu_create): Died when not finding specified
6621 sheet. Don't think it should.
6623 * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
6624 (bug #84367) to place the text better.
6626 2002-06-11 Cyrille Chepelov <cyrille@chepelov.org>
6628 * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
6630 * app/commands.c: Removed unnecessary gnome include. Removed
6631 GNOME-Print support.
6633 * app/menus.h: Removed now unnecessary gnome include.
6635 * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
6636 GNOME-specific stock buttons
6638 2002-06-09 Hans Breuer <hans@breuer.org>
6640 * app/app_procs.c : convert 'Modified diagrams exits'
6641 dialog to use GtkMessageDialog. That gives us:
6642 - icons without Gnome dependency
6643 - much less code, also cross platform
6644 - improved useability ?
6646 * app/color_area.c : the Color Selection Widget looked
6647 quite wrong (alpha problems). Fix it by merging in required
6648 changes stolen from The Gimp cvs
6649 * app/color_area.h : to get the right appearance the maskes
6650 needed to be taken into account
6651 * app/interface.c : adapt to color_area_create changes.
6652 Also remove some dead code and finally remove cvs autexpansion,
6653 I was bothered enough by irrelevant differences :-)
6655 * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
6656 api, i.e stocks and response to make the GnomeDialog usage
6657 obsolete. Also fixed the issue with closing the 'parent'
6658 before closing the dialog
6660 * app/display.[ch] : removed some dead code and conversion
6661 to new GtkDialog api. Also trying to conform to new HIG
6662 standard http://developer.gnome.org/projects/gup/hig/
6664 2002-06-09 Hans Breuer <hans@breuer.org>
6666 * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
6669 * lib/dia_image.c : gtk_widget_set_default_visual()
6670 remove. It does nothing with Gtk2.
6672 * lib/libdia.def : added ps_unicoder exports
6674 * lib/message.c : remove #GNOME use GtkMessageDialog.
6675 Yeah, Dia gets dialogs wit icons cross-platform.
6677 * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
6678 to gtk_spin_button_get_value()
6680 * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
6682 add #undef GTK_DISABLE_DEPRECATED to still use ...
6683 * lib/prop_text.c : ... GtkText
6684 * lib/prop_widgets.c : ... GtkList
6685 * lib/prop_dialogs.c : ... gtk_signal_connect and more
6686 * lib/widgets.c : ... (too much to list here)
6688 * lib/ps-utf8.c : #include <string.h>
6690 2002-06-08 Cyrille Chepelov <cyrille@chepelov.org>
6693 * Makefile.am: Adapted for gtk2.
6694 Removed dependencies on libunicode, on iconv(), on langinfo().
6696 * acconfig.h: removed (now obsolete)
6698 * lib/charconv.[ch]: removed (superceded by glib)
6699 * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
6701 * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
6702 libunicode types for their glib counterparts. Fixed the include
6703 paths for libxml2. Removed all traces of libxml1 or non-UTF8
6704 support (there were remains in objects/uml).
6707 2002-06-08 Hans Breuer <hans@breuer.org>
6709 */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
6710 only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
6711 Also use g_strdup()'s handling of NULL by returning NULL
6712 again at all places I found (remove unnecessary if's)
6714 * todo.gtk2 : new file to keep notes about gtk2 porting,
6715 further issues and thoughts and some status information.
6716 Also sent to dia-list ('Dia goes Gtk2 ...').
6718 [make it compile with GTK+ 2.0]
6720 * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
6721 removed definition of S_ISDIR, S_ISREG and getlogin
6723 * */makefile.msc : Use GTK2 and libxml2
6724 BEWARE: makefile.am, configure.in not yet ported !
6726 * app/app_procs.c app/diagram.c : remove
6727 gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
6728 but set use gtk_menu_set_accel_path() on menu creation
6730 * app/color_area.c lib/widgets.c :
6731 make use of gtk_color_selection_set_has_palette ()
6733 * app/commands.c : gdk_pixbuf_new_from_file wants an
6734 extra argument. Convert from DIR to GDir usage.
6736 * app/diagram_tree.c(button_press_callback) : need to return
6737 FALSE in the signal handler to let gtk process it further.
6738 (get_object_name) : don't leak 'prop'
6740 * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
6741 dia_page_layout_destroy() getting called more than once
6743 * app/diaunitspinner.c : GtkEditable -> GtkEntry,
6746 * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
6748 * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
6749 IIRC this code will not compile unchanged when USE_XIM is defined ...
6751 * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
6753 * app/interface.c : there is no widget->klass anymore in Gtk,
6754 use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
6755 parameter. Some tweaking of GtkWrapBox usage to get four tools in
6757 switch off GTK's double buffering on Dia's canvas. Otherwise we would
6758 get triple buffering and flicker.
6759 Replace call to GTK private function _gtk_accel_group_attach()
6760 with public gtk_window_add_accel_group()
6762 * app/layer_dialog.c : adapt to GtkTypeInfo changes
6764 * app/load_save.c lib/plug-ins.c lib/sheet.c
6765 objects/custom/custom.c :
6766 simplified by using g_file_test()
6768 * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
6769 to gtk_accel_map_<save|load>. Also added common stock-icons
6772 * app/preferences.c : use gtk_button_set_label() instead
6773 of button->child which is gone. Also removed GLIB_CHECK_VERSION.
6775 * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
6776 #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
6779 * app/recent_files.c : removed GLIB_CHECK_VERSION
6782 plug-ins/metapost/render_metapost.c
6783 plug-ins/pstricks/render_pstricks.c
6784 plug-ins/svg/render_svg.c :
6785 replace getlogin() with g_get_user_name() which always
6788 * app/render_gdk.c : gdk_region_union_with_rect() modifies
6789 inplace now and returns nothing, also less #hell
6791 * app/render_libart.c : some initial #hell cleaning, SuckFont
6792 still needs to vanish
6794 * app/splash.c : gdk_pixbuf_new_from_file() second arg and
6795 GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
6797 * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
6798 * app/sheets_dialog_callbacks.c : some #hell and adaptions
6799 needed to GtkWrapBox api changes
6802 * lib/charconv.[hc] : removed from build
6803 [changed appropriate]
6804 * lib/prop_inttypes.c lib/prop_text.c :
6806 * lib/text.c : ported from HEAD but keep original indent
6807 intact. Original was done by Akira TAGOH.
6809 * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
6811 * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
6813 * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
6814 same on all platforms now!
6816 * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
6818 * lib/message.c : remove "charconv.h"
6820 * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
6823 * lib/sheet.c : convert from DIR to GDir usage
6825 * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
6827 * lib/widgets.h : include gtk<label|colorseldialog>.h
6830 * objects/fs/flow.c :
6831 * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
6833 * objects/custom/custom.c : convert from DIR to GDir usage
6836 * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
6839 2002-05-03 Hans Breuer <hans@breuer.org>
6841 * lib/dia_xml.c : make the well formed utf8 check
6842 actually work for û (non 7-bit ascii encoding)
6843 and fixed the file re-writing if the check fails.
6844 Thanks to Vitaly Lipatov for noticing the misbehaviour.
6846 * lib/font.c : synchronize #ifdef G_OS_WIN32 with
6847 comment on last ressort font. Thanks to Maxim Sobolev.
6849 2002-06-03 Cyrille Chepelov <cyrille@chepelov.org>
6851 * sheets/network.sheet.in: corrected a typo in plotter invocation.
6853 2002-06-03 Steffen Macke <sdteffen@web.de>
6855 * shapes/network/digitizing_board.png:
6856 * shapes/network/digitizing_board.shape:
6857 * shapes/network/plotter.png:
6858 * shapes/network/plotter.shape:
6859 * shapes/network/Makefile.am
6860 * sheets/network.sheet.in: added new plotter and digitizing
6863 2002-06-02 Cyrille Chepelov <cyrille@chepelov.org>
6865 * lib/font.c: made a symptomatic fix to a segfault reported by
6866 Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
6867 won't prevent dia from terminating, but should give more
6868 user-friendly information about why did it terminate.
6870 Two patches from <robert.young@dsto.defence.gov.au>:
6872 * app/display.c: fix the size of the canvas area which gets
6873 redrawn. There was an off-by one error (Closes #83659)
6875 * app/display.c: make sure we redraw all screen only when we
6876 really have to (some update_areas were mistakenly ignored) (Closes
6879 * NEWS: added a new entry for the future. Put there a reminder to
6880 update the dependencies.
6882 * configure.in: put in notes about what will change shortly.
6883 upped the version to 0.90+cvs (did also in config.h.win32)
6884 upped the minimum version for intltools (now 0.21)
6886 2002-06-01 Cyrille Chepelov <cyrille@chepelov.org>
6892 bumped up version number to 0.90. Yay!
6894 2002-05-30 Cyrille Chepelov <cyrille@chepelov.org>
6896 * doc/pl/Makefile.am:
6897 * doc/en/Makefile.am: fixed a "make install" problem when db2html
6898 is not present (Reported by Andrew Ferrier
6899 <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
6900 problem which prevented me from ever seeing the problem in doc/en...
6902 * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
6904 * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
6905 way to read the font path from the XFS configuration files in
6906 order to enable FreeType (fixes #83098).
6908 * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
6915 bumped up version number to 0.90.RC3
6917 2002-05-29 Zbigniew Chyla <cyba@gnome.pl>
6919 * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
6920 doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
6921 doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
6922 doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
6923 doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
6924 doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
6925 doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
6926 Added Polish documentation.
6928 2002-05-27 Cyrille Cheeplov <cyrille@chepelov.org>
6930 * objects/UML/state.c: there was a (gratuitous?) change of on-XML
6931 format for the UML State object. Now there's a hack to reload
6932 older files, and get them converted on the fly.
6933 Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
6937 * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
6938 and adapter the proplist predicates. A LOAD_ONLY property is for
6939 when you have legacy to support but can't resist moving your
6940 fields around... (was needed to support the above state.c fix).
6942 If the in-core of your object changes and you need a LOAD_ONLY
6943 property for the old format, you must keep some spare room in your
6944 object's struct to accomodate for the potential old-style
6945 attributes. Then in foo_load(), after having called
6946 object_load_using_properties(), you must inspect the old-style
6947 fields and act accordingly. Don't ever change the on-disk formats...
6949 * objects/UML/object.c:
6950 * objects/UML/small_package.c: added a check against empty
6951 stereotypes still consuming space. Reported by Dolores Alia de
6952 Saravia <loli@unsa.edu.ar>. Thanks!
6954 2002-05-26 Cyrille Chepelov <cyrille@chepelov.org>
6956 * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
6957 using libtool on an AFS partition.
6959 * po/update_potfiles_in.sh: now simply calls the recent intltools
6960 features; they work better than hand-crafted half-ignorant
6961 scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
6964 * po/POTFILES.in: added back two files update_potfiles_in.sh
6965 didn't take into account. Now this file is not automatically
6967 * po/POTFILES.skip: told `intltool-update -m` what files to ignore
6968 (the usual suspects, in fact).
6970 * configure.in: improved the isinf() / isfinite() detection on
6971 Solaris (MÃ¥rten Svantesson)
6973 2002-05-25 Cyrille Chepelov <cyrille@chepelov.org>
6975 * configure.in: one expression was replacing $CFLAGS, removing
6976 whatever was previously in.
6977 Added more checks for isinf() and finite() on Solaris.
6979 * lib/geometry.h: added a macro defintion for isinf() if not
6980 HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
6983 * app/commands.c: "cut" did not set the 'modified' bit (paste has
6984 been for a little while). Fixes #82994.
6986 * Makefile.am: added more stuff to distclean-local. This should make
6987 "make distcheck" pass! Thanks to the author of
6988 http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
6989 ... I wonder who this Henstridge guy is ... ;-)
6990 Darn. Still doesn't pass. I give up for tonight.
6992 * po/update_potfiles_in.sh: updated to take care of sheet files,
6993 and to filter out the EML plug-in.
6994 * po/POTFILES.in: updated with all .c and all .sheet.in files
6996 * po/dia.pot, po/*.po: again updated all .po files with all
6997 strings (with the updated POTFILES). Now with the up-to-date
6998 POTFILES, just all languages have some fuzzy or untranslated
6999 strings (not that the 100% team was that large beforehand...)
7001 * po-checktrans: removed the comment about .po files not holding
7002 all translatable stuff, since now they do.
7004 2002-05-24 Cyrille Chepelov <cyrille@chepelov.org>
7010 bumped up version number to 0.90.RC2
7012 2002-05-20 Hans Breuer <hans@breuer.org>
7014 * app/load_save.c : starting to increase
7015 Dias tolerance on incomplete/broken files. The
7016 corresponding bug is #56233. But the patch there does
7017 neither apply anymore nor does it really fix the problem
7018 but only delays it, e.g. even if it would be allowed
7019 to read a file without any layers, the later code can't
7021 * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
7022 handle passing in NULL for the node gracefully.
7024 * shapes/network/printer.shape : added two more connection
7025 points - one at each side - to fix bug #60359
7027 * app/commands.c (edit_copy_callback) :
7028 add ddisplay_do_update_menu_sensitivity() to make
7029 sequence select-copy-paste work.
7031 2002-05-20 Hans Breuer <hans@breuer.org>
7033 * app/create_object.c (create_object_button_press) :
7034 added a call to ddisplay_do_update_menu_sensitivity()
7035 to make Ctrl^D etc work after object creation.
7038 2002-05-18 Lars Clausen <lrclause@cs.uiuc.edu>
7040 * objects/ER/entity.c:
7041 * objects/ER/attribute.c:
7042 * objects/ER/relationship.c: Patch to allow text size change from
7043 Celso Tetsuo Nagase Suzuki.
7045 2002-05-18 Steffen Macke <sdteffen@web.de>
7047 * app/app_procs.c: #ifdef'd xmlerror.h (comes with
7049 * doc/en/graphics/greendots.png:
7050 * doc/en/home_network.png:
7051 * doc/en/line_props.png:
7053 * dia_gnome_icon.png:
7054 * dia_gnome_menu_icon.png:
7056 * shapes/network/telephone.png:
7057 * shapes/Logic/and.png:
7058 * shapes/Logic/buffer.png:
7059 * shapes/Logic/connector.png:
7060 * shapes/Logic/inverter.png:
7061 * shapes/Logic/nand.png:
7062 * shapes/Logic/nor.png:
7063 * shapes/Logic/not.png:
7064 * shapes/Logic/or.png:
7065 * shapes/logic/xor.png:
7066 * samples/ER-demo.dia:
7068 * samples/UML-demo.dia:
7069 * samples/chronograms.dia:
7070 * samples/grafcet.dia: re-added as binary files
7072 2002-05-17 Hans Breuer <hans@breuer.org>
7074 * lib/libdia.def : reflect removing of render_store.[ch]
7076 * */makefile.mingw : remove VERSION definition it's
7077 done in config.h.win32. Dia still doesn't work if
7078 build with mingw ...
7080 * RELEASE-PROCESS : removed */makefile.mingw
7082 * app/sheets_dialog_callbacks.c : if we use those
7083 ugly charconv_gtk_* functions lib/charconv.h needs to
7085 * lib/charconv.h : ... and needs to contain the
7086 necesseray prototypes _and_ #defines
7088 * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
7089 is deprecated and does nothing but spit a warning. This broke
7090 the shape format writing. Fixed.
7091 Also with libxml2 pretty formatted xml isn't the default
7092 anymore, but needs to be enabled explicit: It is done now
7093 for shape files, which almost always needed to be edited by
7096 * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
7097 from stderr - which is invalid on Dia/win32 - to g_print -
7098 which opens up a console window if necessary. This way
7099 a xml-deprecation-error shouldn't stay unnoticed next time
7101 2002-05-17 Steffen Macke <sdteffen@web.de>
7103 * shapes/Misc/folder.png:
7104 * shapes/Misc/file.png: re-added as binary files
7106 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
7108 * lib/font.c: Fixed segfault for fonts without family_name.
7110 2002-05-17 Cyrille Chepelov <cyrille@chepelov.org>
7112 * po/POTFILES.in: added app/sheets_dialog_callbacks.c
7114 * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
7115 Lars' request, minor cosmetic stuff (mostly _() of human-readable
7116 XML comments in .sheet files; one translator booby-trap disarmed).
7118 * lib/charconv.c: moved #hell inside the body of the new
7119 charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
7122 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
7124 * plug-ins/wpg/Makefile.am (INCLUDES):
7125 * plug-ins/shape/Makefile.am (INCLUDES):
7126 * plug-ins/svg/Makefile.am (INCLUDES):
7127 * plug-ins/pstricks/Makefile.am (INCLUDES):
7128 * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
7129 and DEBUG_CFLAGS in some missing places.
7131 * MAINTAINERS: New file containing list of known package
7135 * lib/charconv.c: Charconv versions of some common gtk calls.
7137 * app/sheets_dialog_callbacks.c
7138 (on_sheets_new_dialog_button_ok_clicked),
7139 (on_sheets_dialog_button_edit_clicked),
7140 (on_sheets_dialog_button_remove_clicked),
7141 (on_sheets_edit_dialog_button_ok_clicked):
7142 * app/sheets.c (sheets_optionmenu_create),
7143 (sheets_optionmenu_create): Added utf8 translations.
7145 * app/sheets_dialog.c:
7147 * app/sheets_dialog_callbacks.c: Added some missing _()'s.
7149 2002-05-16 Cyrille Chepelov <cyrille@chepelov.org>
7151 * po/POTFILES.in: added app/sheets_dialog.c
7153 2002-05-15 Cyrille Chépélov <cyrille@chepelov.org>
7155 * lib/charconv.c: (charconv_local8_to_utf8),
7156 (charconv_utf8_to_local8): tweaked the warnings to get more
7158 * lib/font.c: (font_get_suckfont): handled a potential case of
7159 uninitialised data being used (just paranoid)
7161 * objects/GRAFCET/boolequation.c: (opstring),
7162 (opblock_get_boundingbox), (opblock_draw),
7163 (boolequation_calc_boundingbox): some extra hoops needed now dia
7164 talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
7165 symbols can't yet be used with their proper Unicode cells, since
7166 gtk will demand them in the Symbol font, expressed in the local
7169 * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
7170 the fix just above).
7172 2002-05-14 Lars Clausen <lrclause@cs.uiuc.edu>
7174 * app/diagram_tree.c (get_object_name): Check that name property
7175 doesn't have null string.
7177 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
7179 * autogen.sh (DIE): Added conditional --force to gettextize.
7181 * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
7184 2002-05-13 Cyrille Chepelov <cyrille@chepelov.org>
7186 * RELEASE-PROCESS: added James' notes on how to properly make the
7189 * configure.in: removed macro nesting related to libpng.h, which
7190 was causing some problems on some systems (like mine, which made
7193 Made --enable-unicode, previously an option, the mandatory case.
7195 * app/Makefile.am: updated EXTRA_DIST
7198 * app/makefile.mingw:
7200 * doc/en/dia-manual.sgml:
7201 * plug-ins/makefile.mingw:
7202 * configure.in: bumped up the version number to 0.90.RC1
7204 * lib/render_objects.[ch]:
7205 * po/POTFILES.in: removed render_objects from the build.
7207 * plug-ins/Makefile.am:
7208 * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
7209 so we keep its source in the tarball.
7211 * objects/network/*.c, Makefile.am:
7212 * objects/sybase/*.c, Makefile.am:
7213 * po/POTFILES.in: cleaned up the non-existent files from the po
7216 * plug-ins/Makefile.am: re-enabled metapost plug-in.
7218 2002-05-13 Steffen Macke <sdteffen@web.de>
7221 * app/command.c: added M. C. Nelson to the Authors
7222 * sheets/Circuit/Makefile.am: added firewall shape to build
7223 * sheets/network/Makefile.am: added telephone and microphone
7226 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
7228 * RELEASE-PROCESS: Added list of files that contain the release
7229 number or should otherwise be changed at each release.
7231 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
7233 * objects/UML/uml.c (uml_operation_read): Forgot to commit this
7234 (reported fixed) bug: POLYMORPHIC -> LEAF for default.
7236 2002-05-12 Hans Breuer <hans@breuer.org>
7238 * config.h.win32 : changed VERSION to 0.90.RC1
7240 * app/makefile.msc lib/makefile.msc : use renamed
7241 gdk-pixbuf version (same content but renamed because
7242 all the other gtk+ dlls are renamed) to avoid trouble
7243 mixing gtk versions (of which one would not
7246 * app/app_procs.c : removed recently unneeded
7247 inclusion of "sheets.h"
7249 * app/render_gdk.c : removed my own debug spew
7250 which should never made it to cvs
7252 * lib/render_object.[hc] : added
7253 #error "File not used anymore."
7255 * lib/libdia.def : updated externals
7257 * app/interface.c : dropped filenames need to be
7258 converted from uri with Gtk+2.0
7260 2002-05-12 Cyrille Chepelov <cyrille@chepelov.org>
7262 * RELEASE-PROCESS (new): a draft document about how to release. To
7263 be discussed. (already with some input from Hans Breuer)
7265 2002-05-12 Steffen Macke <sdteffen@web.de>
7267 * sheets/Makefile.am: re-added Misc sheet to make process
7269 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
7271 * objects/FS/function.c: Added comments to humungous list of menu
7272 items, to aid translators.
7274 2002-05-11 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7276 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7278 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7280 * app/interface.c (create_toolbox): Disallow shrinking beyond
7281 requested size. Fixes bug #59439, and confirms to GTK guidelines
7282 (see gtk_window_set_policy).
7283 (create_sheets): Removed now unnecessary set_usize call.
7285 2002-05-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7287 * lib/beziershape.c (remove_handles): Fixing removal of last
7288 segment. Undo of removal still hokey.
7290 2002-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
7292 * lib/bezier_conn.c (remove_handles): Proper offset for fixing
7294 * lib/beziershape.c (beziershape_init): Removed early call to
7295 beziershape_update_data where points aren't set yet.
7296 (beziershape_add_segment): Use segment 0 instead of overflowing
7297 points array with segment+1.
7298 (beziershape_remove_segment): Proper offset for fixing
7300 (remove_handles): Proper offset.
7302 2002-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
7304 * objects/GRAFCET/action.c (action_update_data): Init x value of
7305 click point for call to connpointlist_adjust_count.
7307 * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
7309 * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
7310 setting to where values are inited.
7312 * lib/polyshape.c (polyshape_init): Removed call to
7313 polyshape_update_data that tried to use uninitialized data.
7315 2002-05-06 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7317 * app/sheets_dialog.c: Mass removal of //-style comments. The
7318 Irix compiler doesn't like them:( I do...
7320 2002-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
7322 * app/render_libart.c (draw_string): Bail out when no GDK font is
7324 (set_font): Give error when font not found.
7325 (set_fillstyle): Intlized error msg.
7327 * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
7328 modified when applied (and ok only does apply if apply is set
7329 sensitive). Fixes bug #75623.
7331 2002-05-06 Pablo Saratxaga <pablo@mandrakesoft.com>
7333 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
7335 2002-05-05 Steffen Macke <sdteffen@web.de>
7337 * app/Makefile.am: added $(UNICODE_CFLAGS)
7339 2002-05-02 Lars Clausen <lrclause@cs.uiuc.edu>
7341 * app/commands.c (help_manual_callback): Check return value of
7344 * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
7346 * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
7349 2002-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
7351 * app/render_gdk.c (draw_string): Extra free killed. Thanks valgrind!
7353 * objects/UML/uml.c (uml_operation_read): Fix of UML default
7356 2002-04-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7358 * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
7359 Added button to toggle diagram compression.
7361 2002-04-29 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7363 * lib/font.c: Support for loading extra kerning files, plus got
7364 rid of rounding errors. Bounding box mostly perfect for freetype
7366 (font_string_width): Fudge factor to get around nonlinearity of
7369 2002-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
7371 * lib/font.c (font_string_width): YA font calculation scheme, with
7374 * objects/UML/class.c (umlclass_calculate_data): Uses the same
7375 font for drawing and calculating now.
7377 * configure.in: Added utime.h check.
7379 * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
7380 GTK_DOESNT_TALK_UTF8_WE_DO. Thus it matches the string width calc.
7382 2002-04-26 Hans Breuer <hans@breuer.org>
7384 [ Instead of fixing about 70 occurances in 20 files
7385 where GTK_TALKS_UTF8_WE_DONT needed to be handled
7386 Dia on win32 from now on uses glib-2.0 and not
7387 only talks utf-8 with gtk-1.3 but also internally.
7388 GTK_TALKS_UTF8_WE_DONT isn't supported/needed
7391 * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
7392 #undef GTK_TALKS_UTF8_WE_DONT
7394 * */makefile.msc : changes to use glib-2.0 (still
7395 using gtk+1.3(win32-production)
7397 * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
7398 adapt kevent->string handling, add <string.h>
7399 * app/render_gdk.c (get_text_width) : the length given
7400 is in chars, gdk_text_width() needs bytes
7402 * app/render_libart.c :
7403 * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
7404 (could simplify the same way as done in render_gdk.c)
7406 * app/diagram_tree.c app/paginate_gdiprint.cpp
7408 * lib/prop_basic.c lib/prop_geomtypes.c
7409 lib/propdialgs.c lib/propobject.c :
7410 added <string.h> which is now removed from charconv.h
7412 * lib/charconv.h : optional use infrastructure from
7413 glib-2.0 -> only five direct function mapping left
7415 * lib/charconv.c : avoid to build this with glib-2.0
7417 * lib/font.c : no string conversion needed anymore
7418 when Dia and Gtk talk utf-8, also code adaptions
7419 for GLIB_CHECK_VERSION(2,0,0)
7421 * lib/libdia.def : removed charconv functions
7423 * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
7424 replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
7426 * lib/prop_text.c lib/prop_widgets.c lib/font.c :
7427 removed GTK_TALKS_UTF8_WE_DONT
7429 * lib/text.c : finally(?) fixed cursor <place|move>ment
7430 for Umlauts. Also fixed char insertion, still wondering
7431 how this could ever work. Does realloc on Linux
7432 initialize the memory with zeros ?
7434 * objects/chronogram/chronoline_event.c
7435 objects/grafcet/boolequation.c :
7436 there is no uni_get_utf8 when building for glib-2.0.
7437 Replace with g_utf8_get_char() and g_utf8_next_char().
7439 * objects/uml/stereotype.c (bracketted_to_string) :
7440 simplify while adding code for glib-2.0 build
7442 2002-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
7444 * app/diagram.h: Autosave field
7445 * app/diagram.c (diagram_set_modified): Sets autosave field.
7447 * objects/UML/usecase.c (usecase_update_data):
7448 * objects/flowchart/ellipse.c (ellipse_update_data):
7449 * objects/flowchart/parallelogram.c (pgram_update_data):
7450 * objects/flowchart/diamond.c (diamond_update_data):
7451 * objects/custom/custom_object.c (custom_update_data):
7452 * objects/UML/state.c (state_update_data):
7453 * objects/UML/small_package.c (smallpackage_update_data):
7454 * objects/UML/object.c (objet_update_data):
7455 * objects/UML/note.c (note_update_data):
7456 * objects/UML/node.c (node_update_data):
7457 * objects/UML/component.c (component_update_data):
7458 * objects/UML/classicon.c (classicon_update_data):
7459 * objects/UML/actor.c (actor_update_data):
7460 * objects/SADT/box.c (sadtbox_update_data):
7461 * objects/FS/function.c (function_update_data):
7462 All now update text boundaries from update_data.
7464 * lib/widgets.c (dia_font_selector_set_styles): Made the style set
7467 2002-04-26 Hans Breuer <hans@breuer.org>
7469 * config.h.win32 : added VERSION definition here
7470 (and removed from makefile.msc's)
7472 * app/makefile.msc : added new files
7474 * app/app_procs.c (app_init): remove sheets_dialog_create()
7475 from start-up and ...
7477 * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
7478 sheet_dialog here when it is really needed.
7479 #include "../lib/message.h", make sheets_dialog_create()
7480 return it's success or failing on (!custom_type_symbol).
7481 Although editing shapes is nice IMHO it isn't crucial enough
7482 to abort() Dia if it isn't possible.
7484 * app/sheet.h : adapt create_sheet_dialog() prototype
7486 * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
7488 * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
7489 #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
7490 name space corrections for utime() and utim_buf #ifdef
7493 * lib/libdia.def : export new sheet functions
7495 * lib/makefile.msc : added new files
7497 * lib/render.c : don't put draw_bezier_with_arrows() in
7498 the DrawLineWithArrowsFunc slot
7500 * objects/custom/custom_object.c : #include <gmodule.h>
7501 and export 'custom_type' via G_MODULE_EXPORT
7503 * objects/uml/class_dialog.c : removed 'incompatible
7504 types' warnings. Some refactoring while making it fit
7505 on screen with 800x600 again.
7507 * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
7509 * plug-ins/python/pydia-handle.h : extra parameter to
7510 PyDiaHandle_New to store the owner of the handle
7511 * plug-ins/python/pydia-handle.c : store handle owner
7512 on construction and use it in new method .connect()
7513 * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c :
7514 adapt to changed prototype
7516 2002-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
7518 * lib/text.c (text_calc_boundingbox): Will now return early if box
7521 * objects/flowchart/box.c (box_update_data): Now updates text
7522 width info from update_data.
7524 2002-04-23 Steffen Macke <sdteffen@web.de>
7526 * plug-ins/xfig/xfig-import.c: fixed text import
7528 2002-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
7530 * app/export_png.c: Moved dialog functions to their own file.
7531 * app/dialogs.[ch]: New files with standard functions for creating
7532 small, transient dialogs (e.g. export options).
7533 * app/Makefile.am: Added dialogs.[ch]
7535 2002-04-19 Steffen Macke <sdteffen@web.de>
7537 * shapes/Misc/folder.*:
7538 * shapes/Misc/file.*:
7539 * shapes/Misc/Makefile.am:
7540 * shapes/Makefile.am:
7541 * sheets/Misc.sheet.in:
7542 * sheets/Makefile.am:
7543 * configure.in: added new Misc sheet containing filesystem shapes
7545 2002-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
7547 * app/lineprops_area.c: Arrow selector in toolbox changed to use
7548 standard arrowdraw code. Line is thinner to make some arrowheads
7551 2002-04-18 Steffen Macke <sdteffen@web.de>
7553 * sheets/network.sheet.in:
7554 * shapes/network/telephone.shape:
7555 * shapes/network/Makefile.am: added telephone shape
7557 2002-04-16 Steffen Macke <sdteffen@web.de>
7559 * sheets/EML.sheet.in: commented out unavailable shapes
7561 2002-04-15 M.C. Nelson <mcn@kobayashimaru.org>
7563 * app/sheets_dialog_callbacks.c: Fixed segfault caused by mis-ordered
7564 variable assignment.
7566 2002-04-15 Steffen Macke <sdteffen@web.de>
7568 * plug-ins/dxf/dxf-import.c: text import works again
7569 * shapes/Pneumatic/Makefile.am: added compush shape
7570 * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
7573 2002-04-11 M.C. Nelson <mcn@kobayashimaru.org>
7575 * All these modifications are for the 'Sheets and Objects' dialog
7578 * app/pixmaps/line_break.xpm: new icon representing a line break.
7580 * app/pixmaps/n_a.xpm: new empty icon representing not available.
7582 * app/Makefile.am: added sheets_*.[ch] files to compile list.
7584 * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
7586 * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
7588 * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs
7590 * app/app_procs.c: added call to sheets_dialog_create() in app_init()
7592 * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
7594 * app/sheets_dialog_callbacks.h: [new file] support for " " "
7596 * app/interface.c: added 'interface_current_sheet_name' global to
7597 fill_sheet_wbox(); made fill_sheet_menu() non-static
7599 * app/interface.h: added extern declaration for aboves.
7601 * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
7603 * app/sheets.h: [new file] declarations for backing store structures
7605 * lib/sheet.c: modification of new_sheet() parameters; introduction
7606 of USER and SYSTEM scope for sheets; procedure for sorting sheets;
7607 changes to load_register_sheet().
7609 * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
7610 added 'has_icon_on_sheet' flag to SheetObject structure; added
7611 'filename', 'scope', 'shadowing' fields to Sheet structure.
7613 * lib/plug-ins.c: moved _PluginInfo declaration to header file where
7616 * lib/plug-isn.h: see above.
7618 * lib/object.c: added 'sheet.h' to include list; added several
7620 to detect objects which are not found on any sheet (for future use)
7621 object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
7622 object_type_get_sheet_name(), object_type_strip_sheet_from_name().
7624 * lib/object.h: added public declarations for above functions where
7627 * objects/custom/custom.c: made custom_object_load() non-static so we
7628 can load and interpret .shape files from the Sheets & Objects dialog
7630 * objects/custom/custom_object.c: made 'custom_type' non-static so
7631 we can differentiate between SVG shapes and other types.a
7633 2002-04-07 Hans Breuer <hans@breuer.org>
7635 * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
7636 from 2002-01-22 to not destroy diagram->data->selected.
7637 Avoids to crash on Objects/Align/Vertical/Top
7639 * app/render_eps.c (draw_string) : un-const buffer
7640 It isn't at all const (g_malloc(), assignment, g_free()).
7641 Doesn't gcc catch such ?
7643 * lib/arrows.h : prototype calculate_arrow_point()
7645 * lib/font.c (font_get_suckfont) : no need to
7646 special case gdk_draw_string() with GTK_TALKS_UTF8,
7647 cause all the parameter differences are handled above
7649 * lib/libdia.def : updated externals
7651 * lib/makefile.msc : removed string_prerenderer, added render
7653 * lib/render.c (draw_rect) : don't pass a Point** if a Point*
7654 is expected. [Sometimes it's good to read compiler warnings.]
7656 * objects/standard/image.c : simplified by use of g_strconcat()
7658 * plug-ins/python/makefile.msc : updated for Python 2.2
7660 2002-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
7662 * objects/standard/zigzagline.c (zigzagline_draw): Fixed
7663 directionality problem for zero-length line segments.
7665 2002-03-28 Lars Clausen <lrclause@cs.uiuc.edu>
7667 * app/diagram.c (diagram_ungroup_selected)
7668 (diagram_update_menu_sensitivity): Now allows ungrouping of
7669 several groups at once.
7671 2002-03-15 Lars Clausen <lrclause@cs.uiuc.edu>
7673 * lib/render.c, all renderers: Binary incompatibility, change to
7674 expandable renderops structure.
7676 2002-03-15 Steffen Macke <sdteffen@yahoo.com>
7678 * objects/standard/Makefile.am:
7679 * objects/network/Makefile.am:
7680 * objects/UML/Makefile.am:
7681 * objects/ER/Makefile.am:
7682 * objects/FS/Makefile.am:
7683 * objects/flowchart/Makefile.am:
7684 * objects/custom/Makefile.am:
7685 * objects/GRAFCET/Makefile.am:
7686 * objects/chronogram/Makefile.am:
7687 * objects/SADT/Makefile.am:
7688 * plug-ins/cgm/Makefile.am:
7689 * plug-ins/pstricks/Makefile.am:
7690 * plug-ins/hpgl/Makefile.am:
7691 * plug-ins/wpg/Makefile.am:
7692 * plug-ins/svg/Makefile.am:
7693 * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
7695 2002-03-13 Lars Clausen <lrclause@cs.uiuc.edu>
7697 * app/render_eps.c: Support for dumping TrueType fonts (taken from
7700 2002-03-12 Lars Clausen <lrclause@cs.uiuc.edu>
7702 * lib/render.c: New abstract super class for renderers.
7704 2002-03-07 Akira TAGOH <tagoh@redhat.com>
7706 * objects/ER/attribute.c (attribute_save): save a font property.
7707 (attribute_load): load a font property, and if can't load it, it's
7710 * objects/ER/entity.c (entity_save): save a font property.
7711 (entity_load): load a font property, and if can't load it, it's
7714 * objects/ER/relationship.c (relationship_save): save a font property.
7715 (relationship_load): load a font property, and if can't load it, it's
7718 * objects/UML/class.c (fill_in_fontdata): don't replace if it already
7720 (umlclass_save): save the font and the font size properties.
7721 (umlclass_load): load the font and the font size properties.
7723 2002-03-05 Cyrille Chepelov <cyrille@chepelov.org>
7725 * lib/string_prerenderer.[ch] (REMOVED):
7727 * lib/diagramdata.c:
7729 * app/render_eps.c: got rid of the string-specific string
7730 prerenderer, transitioned its functionality towards Lars'
7733 2002-03-05 Lars Clausen <lrclause@cs.uiuc.edu>
7735 * configure.in: Using Freetypes own check for ver >= 1.0.5. You
7736 may need to rerun aclocal.
7738 2002-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
7740 * lib/font.c: First attempt at Unicodeness for Freetype.
7742 2002-03-02 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7744 * lib/font.c (font_string_width): Fixed font_string_width for
7745 freetype. BB is now almost right.
7747 2002-03-01 Lars Clausen <lrclause@cs.uiuc.edu>
7750 * app/paginate_psprint.c (paginate_psprint):
7752 * app/render_eps.c: Support for dumping postscript fonts into
7753 postscript files with freetype. Fairly primitive, but works.
7754 Unicode version may have problems.
7756 2002-02-28 Akira TAGOH <tagoh@redhat.com>
7758 * objects/UML/class_dialog.c (class_read_from_dialog)
7759 (class_fill_in_dialog), (class_create_page): add the font selector and
7760 the font size selector.
7762 * objects/UML/class.c (umlclass_draw): uses each font_height.
7763 (umlclass_calculate_data): ditto.
7764 (fill_in_fontdata): add initial value of new font_height.
7765 (umlclass_copy): add new font_height.
7767 2002-02-27 Cyrille Chepelov <chepelov@calixo.net>
7769 Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
7771 * lib/font.c: calculate font metrics properly and stop guessing at
7774 2002-02-28 Akira TAGOH <tagoh@redhat.com>
7776 * configure.in: changed gtk_advancement value to dia_talks_utf8.
7777 right now Dia is working with UTF-8 internally. it means Dia probably
7778 support most languages also including the languages which heretofore
7779 didn't work correctly.
7781 2002-02-26 Akira TAGOH <tagoh@redhat.com>
7783 * objects/FS/function.c: add related text properties.
7784 (function_get_props), (function_set_props): add handling attribute.
7786 * objects/FS/flow.c: add related text properties.
7787 (flow_get_props), (flow_set_props): add handling attribute.
7789 * objects/FS/flow-ortho.c: add related text properties.
7790 (orthflow_set_props), (orthflow_get_props): add handling attribute.
7792 * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
7794 * objects/ER/entity.c: ditto.
7796 * objects/ER/attribute.c: ditto.
7798 2002-02-26 Cyrille Chepelov <cyrille@chepelov.org>
7800 Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
7802 * autogen.sh: add a check for missing intltoolize.
7804 2002-02-20 Akira TAGOH <tagoh@redhat.com>
7806 * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
7807 charcode, it was registered the duplicate item to HashTable. fix.
7809 * app/render_gnomeprint.c (get_width_string): add new function.
7810 (draw_string): fix non-multibyte specific code.
7812 2002-02-19 Cyrille Chepelov <cyrille@chepelov.org>
7814 Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
7816 * lib/font.c: do not try to search paths that do not begin with
7817 '/', like X Font Server addresses.
7819 * objects/UML/message.c (message_draw): free mname when not
7820 message->text but CREATE or DESTROY.
7822 * objects/UML/uml.h:
7823 * objects/UML/uml.c:
7824 * objects/UML/class_dialog.c: added code to handle a stereotype
7825 attribute for operations.
7827 2002-02-19 Akira TAGOH <tagoh@redhat.com>
7829 * lib/Makefile.am: add LIBART_CFLAGS.
7831 2002-02-15 Hans Breuer <hans@breuer.org>
7833 * lib/font.c (font_get_suck_font): the black and white pixel values
7834 need to be taken from a 1 bit colormap rather than the default colormap.
7835 (fixed again, last time was 2000-05-26)
7837 Also handle the case where GTK_TALKS_UTF8 and expects all strings
7838 passed in to be in this encoding.
7840 * lib/libdia.def : export suck_font_free()
7842 * lib/text.c (text_draw) : avoid circular dependency to ../app
7843 at least for the !USE_XIM case, where it is unnecessary.
7845 2002-02-15 Cyrille Chepelov <cyrille@chepelov.org>
7847 Changes contributed by Matts Kivik <kivik@firstlinux.net>:
7849 * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
7850 * sheets/Circuit.sheet.in: added new shape microphone
7851 * shapes/Circuit/speaker_de.shape: Added a connection point.
7853 2002-02-13 Akira TAGOH <tagoh@redhat.com>
7855 * app/render_libart.c (draw_string): fixed build issue for Win32.
7857 * lib/font.c (font_get_suckfont): fixed typo. it could't build under
7860 * configure.in: fixed testing gtk_advancement.
7862 * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
7864 2002-02-12 Akira TAGOH <tagoh@redhat.com>
7866 * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
7869 2002-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
7871 * app/group.c (group_copy): Made new object properly initialized
7874 2002-02-11 Steffen Macke <sdteffen@yahoo.com>
7876 * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
7878 2002-02-10 Akira TAGOH <tagoh@redhat.com>
7880 * lib/text.c (text_draw): fixed XIM transaction.
7882 * app/interface.c (create_display_shell): add signal for
7885 * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
7887 (set_input_dialog): remove.
7888 (ddisplay_canvas_events): remove XIM transaction. it can't transact
7889 correctly on this function.
7891 2002-02-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7894 * app/export_png.c: Added checks for interactivity (maybe this
7895 should be a hook after all?).
7897 * app/filedlg.c (file_export_callback): Made export dialog add
7898 suffix when reopened.
7900 * app/export_png.c: Added dialog asking for export size.
7902 2002-02-09 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7904 * lib/widgets.c: Fixed font reselection problem and first font
7907 * objects/UML/actor.c (actor_update_data): Changed to have
7908 connection points below text.
7910 2002-02-08 Akira TAGOH <tagoh@redhat.com>
7912 * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
7915 2002-02-07 Akira TAGOH <tagoh@redhat.com>
7917 * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
7918 strings which is given.
7919 (suck_font): remove. it's any longer needed.
7921 * app/render_libart.c (set_font): don't get suckfont.
7922 (draw_string): get suckfont only which is needed for now.
7924 2002-02-05 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7926 * lib/text.c: Fixes for misunderstood width functions.
7928 2002-02-05 Hans Breuer <hans@breuer.org>
7930 * lib/dia_xml.c : use g_strconcat() instead of
7931 malloc, strcpy, strcat dance
7932 * app/properties.c : same here and plug memory leak
7933 (gtk functions don't eat strings)
7935 * objects/UML/message.c : there is no g_sprintf()
7936 use g_strdup_printf() instead ...
7938 2002-02-05 Akira TAGOH <tagoh@redhat.com>
7940 * lib/message.c (gtk_message_internal): doesn't need to convert to
7943 * app/render_libart.c (draw_string): fixed transaction for UTF-8
7945 (get_text_width): ditto.
7947 * app/Makefile.am (EXTRA_DIST):
7948 s/paginate_gdiprint.c/paginate_gdiprint.cpp/
7950 * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
7951 This function needs ifdef HAVE_FREETYPE because don't use it for
7954 2002-02-04 Cyrille Chepelov <cyrille@chepelov.org>
7956 * NEWS: updated with the new dependencies.
7958 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7960 * objects/UML/class.h:
7961 * objects/UML/class.c:
7962 * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
7963 property using a GtkMenu. Options are Undefined, In, Out, In & Out
7965 2002-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
7967 * app/render_libart.c: Slow but working libart freetype renderer,
7970 2002-02-03 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7972 * app/render_gdk.c (draw_string): Fixed gc_function bug.
7974 * lib/widgets.c (dia_font_selector_init): Sorts the font list.
7976 * lib/font.c (freetype_render_string):
7979 * app/render_gdk.h: Changed freetype_render_string to use
7980 callback. Rendering is broken.
7982 2002-02-03 Cyrille Chepelov <cyrille@chepelov.org>
7984 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7986 * objects/UML/uml.h:
7987 * objects/UML/uml.c: added UMLInheritanceType and isQuery
7988 (constant) UML Operation attributes. UMLInheritanceType is either
7989 UML_ABSTRACT or UML_POLYMORPHIC or UML_LEAF.
7991 * objects/UML/class.h:
7992 * objects/UML/class.c:
7993 * objetcs/UML/class_dialog.c: added code to handle new
7994 UMLOperation attributes via a GtkMenu and a checkbox.
7996 2002-02-03 Akira TAGOH <tagoh@redhat.com>
7998 * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
7999 several client doesn't work with previous codes.
8001 2002-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
8003 * lib/font.c (freetype_render_string): Kerning. Very few fonts
8006 2002-02-02 Akira TAGOH <tagoh@redhat.com>
8008 * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
8009 when doing the operation like invert the objects after active view is
8010 destroyed. when changes focus, it needs to set active_display.
8012 * app/layer_dialog.c (dia_layer_update_from_layer):
8013 (layer_dialog_edit_layer): need to convert to locale encoding
8014 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
8015 (edit_layer_ok_callback):
8016 need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
8018 * lib/diagramdata.c (new_diagram_data): ditto.
8020 * app/layer_dialog.c (layer_dialog_new_callback): ditto.
8022 * lib/diagramdata.c (new_layer): use utfchar instead of char for
8025 * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
8026 (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
8027 it's needed for now. also this function needs prototype declaration.
8029 2002-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
8031 * lib/widgets.c: Style now functional on font selector. Some leak
8032 possible, but doesn't show up under stress test.
8034 2002-01-31 Akira TAGOH <tagoh@redhat.com>
8036 * app/plugin-manager.c (clist_select_row): name and description needs to
8037 convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
8038 (get_plugin_manager): ditto.
8040 * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
8042 * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
8045 * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
8046 when prop->string_data is NULL.
8048 2002-01-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
8051 * lib/widgets.h: New font selector separating font and style.
8052 Style not functional yet.
8054 2002-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
8057 * app/render_gdk.c (draw_string): More freetype support, now
8058 renders text. Still broken is font selection and exporting.
8060 2002-01-30 Akira TAGOH <tagoh@redhat.com>
8062 * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
8065 * objects/chronogram/chronoline.c (chronoline_create): ditto.
8067 * objects/UML/usecase.c (usecase_create): ditto.
8069 * objects/UML/state.c (state_create): ditto.
8071 * objects/UML/object.c (objet_create): ditto.
8073 * objects/UML/node.c (node_create): ditto.
8075 * objects/UML/message.c (message_create): ditto.
8077 * objects/UML/component.c (component_create): ditto.
8079 * objects/UML/classicon.c (classicon_create): ditto.
8081 * objects/UML/actor.c (actor_create): ditto.
8083 * objects/SADT/box.c (sadtbox_create): ditto.
8085 * objects/SADT/annotation.c (annotation_create): ditto.
8087 * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
8089 * objects/GRAFCET/step.c (STEP_FONT):
8090 * (step_create): ditto.
8092 * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
8094 * objects/GRAFCET/action.c (ACTION_FONT):
8095 (action_create): ditto.
8097 * objects/FS/function.c (function_create): ditto.
8099 * objects/FS/flow.c (flow_create):
8101 (flow_apply_defaults): ditto.
8103 * objects/FS/flow-poly.c (flow_create):
8105 (flow_apply_defaults): ditto.
8107 * objects/FS/flow-ortho.c (orthflow_create):
8109 (orthflow_apply_defaults): ditto.
8111 * objects/ER/relationship.c: use utfchar instead of char for structure.
8112 (relationship_create): name needs to convert to UTF-8.
8114 * objects/ER/attribute.c: use utfchar instead of char for structure.
8115 (attribute_create): name needs to convert to UTF-8.
8117 * objects/ER/entity.c: use utfchar instead of char for structure.
8118 (entity_create): name needs to convert to UTF-8.
8120 * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
8121 encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
8122 (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
8123 items. if GTK_TALKS_UTF8 isn't defined.
8125 2002-01-29 Akira TAGOH <tagoh@redhat.com>
8127 * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
8128 it was my careless mistake...
8130 * lib/attributes.c (attributes_set_default_font): temporarily gettextize
8131 a font name, because there are strings which isn't shown by "Courier".
8132 We need to consider a way to feel free to choose a font at runtime.
8134 * lib/render_object.c (render_object_load): ditto.
8136 * lib/text.c (data_text): ditto.
8138 * objects/EML/instantiation.c (instantiation_create): ditto.
8140 * objects/EML/interaction-ortho.c (interaction_ortho_create):
8141 (interaction_ortho_load): ditto.
8143 * objects/EML/interaction.c (interaction_create):
8144 (interaction_load): ditto.
8146 * objects/EML/process.c (fill_in_fontdata): ditto.
8148 * objects/ER/attribute.c (attribute_create):
8149 (attribute_load): ditto.
8151 * objects/ER/entity.c (entity_create):
8152 (entity_load): ditto.
8154 * objects/ER/relationship.c (relationship_create):
8155 (relationship_load): ditto.
8157 * objects/UML/association.c (association_create):
8158 (association_load): ditto.
8160 * objects/UML/class.c (fill_in_fontdata): ditto.
8162 * objects/UML/constraint.c (constraint_create): ditto.
8164 * objects/UML/dependency.c (dependency_create): ditto.
8166 * objects/UML/generalization.c (generalization_create): ditto.
8168 * objects/UML/implements.c (implements_create): ditto.
8170 * objects/UML/large_package.c (largepackage_create): ditto.
8172 * objects/UML/note.c (note_create): ditto.
8174 * objects/UML/realizes.c (realizes_create): ditto.
8176 * objects/UML/small_package.c (smallpackage_create): ditto.
8178 * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
8180 * objects/custom/custom_object.c (custom_create): ditto.
8182 * objects/network/antenna.c (render_to_store): ditto.
8184 * objects/network/computer.c (render_to_store): ditto.
8186 * objects/network/disc.c (render_to_store): ditto.
8188 * objects/network/flash.c (render_to_store): ditto.
8190 * objects/network/hub.c (render_to_store): ditto.
8192 * objects/network/modem.c (render_to_store): ditto.
8194 * objects/network/modularswitch.c (render_to_store): ditto.
8196 * objects/network/monitor.c (render_to_store): ditto.
8198 * objects/network/printer.c (render_to_store): ditto.
8200 * objects/network/rj45plug.c (render_to_store): ditto.
8202 * objects/network/scead-plug.c (render_to_store): ditto.
8204 * objects/standard/textobj.c (textobj_load): ditto.
8206 * objects/sybase/client.c (render_to_store): ditto.
8208 * objects/sybase/dataserver.c (render_to_store): ditto.
8210 * objects/sybase/ltm.c (render_to_store): ditto.
8212 * objects/sybase/repserver.c (render_to_store): ditto.
8214 * objects/sybase/rsm.c (render_to_store): ditto.
8216 * objects/sybase/stableq.c (render_to_store): ditto.
8218 * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
8220 * objects/UML/uml.h (UML_STEREOTYPE_START):
8221 (UML_STEREOTYPE_END): changes default strings.
8223 2002-01-28 Akira TAGOH <tagoh@redhat.com>
8225 * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
8226 for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
8227 which is given to arguments isn't UTF-8. so don't need to convert it.
8228 if GTK+ handle UTF-8, also don't need to convert it.
8230 (bracketted_to_string): fixed transaction for UTF-8 support.
8231 also start/end bracket is not necessarily 1 character. so that when use
8232 strend(), it doesn't work correctly.
8233 (string_to_stereotype): use utfchar instead of char.
8234 (remove_stereotype_from_string): ditto.
8235 (stereotype_to_string): ditto.
8237 * objects/UML/stereotype.h: ditto.
8239 * objects/UML/message.c: use utfchar instead of char for structure.
8240 (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
8242 * objects/UML/small_package.c: use utfchar instead of char for structure.
8244 * objects/UML/realizes.c: ditto.
8246 * objects/UML/object.c: ditto.
8248 * objects/UML/large_package.c: ditto.
8250 * objects/UML/implements.c: ditto.
8252 * objects/UML/generalization.c: ditto.
8254 * objects/UML/dependency.c: ditto.
8256 * objects/UML/constraint.c: ditto.
8258 * objects/UML/component.c: ditto.
8260 * objects/UML/class_dialog.c (attributes_get_current_values):
8261 (attributes_list_new_callback, attributes_fill_in_dialog):
8262 (parameters_set_values, parameters_get_values):
8263 (parameters_get_current_values, parameters_list_new_callback):
8264 (operations_set_values, operations_get_values):
8265 (operations_get_current_values, operations_list_new_callback):
8266 (operations_fill_in_dialog, templates_set_values):
8267 (templates_get_values, templates_get_current_values):
8268 (templates_list_new_callback, templates_fill_in_dialog):
8269 fixed transaction for UTF-8 support.
8271 2002-01-27 Akira TAGOH <tagoh@redhat.com>
8273 * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
8275 * objects/UML/class_dialog.c (class_read_from_dialog):
8276 (class_fill_in_dialog):
8277 (attributes_get_values): ditto.
8279 * objects/UML/actor.c (actor_create): ditto.
8281 * objects/UML/class.c (umlclass_calculate_data): ditto.
8283 * objects/UML/association.c (association_apply_properties):
8284 (fill_in_dialog): ditto.
8286 * objects/UML/uml.c (uml_get_attribute_string):
8287 (uml_get_operation_string):
8288 (uml_get_parameter_string):
8289 (uml_get_formalparameter_string): use utfchar instead of char.
8291 * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
8294 * objects/UML/class.h: use utfchar instead of char.
8296 * lib/dia_xml.c (data_add_string): ditto.
8298 * lib/text.c (text_insert_char): fixed characters# calculation
8299 when includes multibytes character in strings.
8301 2002-01-26 Steffen Macke <sdteffen@yahoo.com>
8303 Patch from Richard Rowell <rwrowell@bellsouth.net>:
8305 * app/lineprops_area.c:
8308 * lib/widgets.c: added crow foot arrow and cross arrow
8310 Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
8312 * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
8314 2002-01-26 Cyrille Chepelov <cyrille@chepelov.org>
8316 * po/update.pl (REMOVED):
8317 * po/update.sh (REMOVED):
8318 * xml-i18n-merge.in.kg (REMOVED):
8319 * xml-i18n-update.in.kg (REMOVED):
8320 * sheets/Makefile.am:
8323 * configure.in: converted from xml-i18n-tools to intltools
8325 This looks like it fixes the build bugs of the snapshot tarballs,
8326 and it supersedes #69611.
8328 2002-01-25 Akira TAGOH <tagoh@redhat.com>
8330 * lib/text.c (text_insert_char): fixed characters# calculation.
8331 it's not string length.
8333 * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
8334 is defined, needs to convert a description to UTF-8.
8336 * app/render_gdk.c (get_text_width): fixed transaction for
8337 UTF-8 support. also should uses gdk_text_width_wc() instead
8338 of gdk_text_width().
8340 * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
8341 is defined, needs to convert to locale encoding for display.
8342 Also use utfchar instead of char for argument.
8344 2002-01-24 Hans Breuer <hans@breuer.org>
8346 * app/commands.c(edit_paste_callback and more) :
8347 call diagram_modified(ddisp->diagram) to fix #68083
8348 (help_menu_callback) : plug a DIR leak
8350 * app/disp_callbacks.c(ddisplay_canvas_events) : handle
8351 GTK_TALKS_UTF8_WE_DONT
8353 * app/render_gdk.c(get_text_with) : it's a bad idea to use
8354 gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
8355 gdk_text_width(). The length value is still questionable ...
8357 * lib/charconv.c : use functions already available in early
8358 GLIB-1.3 days whiches API hasn't changed since, to avoid
8359 version problems with the win32 build
8361 * lib/font.c : finally fix #58045 and #68208
8363 * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
8365 2002-01-24 Akira TAGOH <tagoh@redhat.com>
8367 * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
8368 no strings, fixed transaction.
8370 * lib/charconv.h: fixed typo.
8372 * app/menus.c: fixed typo.
8374 * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
8376 * objects/UML/object.c: attrib's type uses utfchar instead of char.
8378 * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
8380 * lib/text.c (text_create_change): use unichar instead of char.
8382 * lib/text.c (data_add_text, data_text, apply_textstr_properties):
8383 use utfchar instead of char.
8385 * lib/text.c (text_insert_char, text_key_event): fixed transaction for
8388 * lib/charconv.c (charconv_utf8_get_char): add new function.
8390 2002-01-23 Akira TAGOH <tagoh@redhat.com>
8392 * lib/text.c (text_delete_forward, text_delete_backward,
8393 text_split_line): fixed transaction for UTF-8 support.
8395 * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
8396 strlen[] has string length for UTF-8, so has to use alloclen[].
8400 * .cvsignore: add dia.pot.
8402 2002-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
8404 * configure.in: Added "sk" to ALL_LINGUAS.
8406 2002-01-22 Akira TAGOH <tagoh@redhat.com>
8408 * lib/text.c (text_set_string, new_text, text_copy,
8409 text_get_string_copy, text_join_lines): use utfchar instead of gchar
8412 * lib/text.c (set_string): use charconv_utf8_strchr() instead of
8415 * lib/charconv.c (charconv_utf8_strchr): add new function.
8417 * lib/charconv.c (charconv_keyval_to_unicode): ditto.
8419 * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
8421 * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
8422 strings to the appropriate encoding.
8424 2002-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
8426 * app/object_ops.c (object_list_align_[hv]): Leak fix.
8428 * lib/Makefile.am (INCLUDES): Added debug flags.
8430 * app/object_ops.c: Fixed ordering problem of align equi-distant &
8433 2002-01-21 Akira TAGOH <tagoh@redhat.com>
8435 * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
8438 * objects/GRAFCET/boolequation.c: fixed invalid comment.
8440 * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
8441 when defined UNICODE_WORK_IN_PROGRESS.
8443 * lib/dia_xml.c (data_add_string): fixed typo.
8445 2002-01-20 Akira TAGOH <tagoh@redhat.com>
8447 * configure.in: fixed test gtk_advancement.
8449 2002-01-019 Steffen Macke <sdteffen@yahoo.com>
8451 * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
8454 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8456 * app/recent_files.[ch]: reworked to support GNOME, accelerators,
8457 tool tips, preferences, and arbitrarily long ~/.dia/history
8459 * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
8460 removed 'Open Recent'; added new separators for recent documents on
8463 * app/interface.[ch] (interface_get_toolbox_shell): new function
8465 * app/diagram.c: added new parameter to recent_file_history_add() call
8467 * app/preferences.[ch]: added new 'Recent documents list size'
8470 2002-01-18 Akira TAGOH <tagoh@redhat.com>
8472 * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
8473 if it failed, should be used gdk_font_load ().
8475 * lib/font.c (font_data): added the font entries for CJK.
8477 2002-01-17 Steffen Macke <sdteffen@yahoo.com>
8479 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8481 * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
8483 2002-01-04 Cyrille Chepelov <cyrille@chepelov.org>
8485 Patch from Martin Cracauer <cracauer@cons.org>:
8487 * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
8490 2002-01-01 Hans Breuer <hans@breuer.org>
8492 * app/command.c : optional use GDI printing on windoze
8494 * app/preferences.[hc] : add option 'prefer_psprint' to
8495 select the print engine to use (could be used for Dia/Gnome
8498 * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
8499 wmf plug-in with the common win32 print api. Now printing
8500 should work almost as expected from a windows program :-)
8502 * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
8503 to .edit_delete to avoid clashes with C++
8505 * app/makefile.msc : updated for GDI printing
8507 * plug-ins/wmf/wmf.cpp : some small modifications to support
8508 GDI printing. Also swap R and B channel in draw_image()
8510 * app/makefile.am : added windows only files to EXTRA_DIST
8512 * objects/uml/class.c(umlclass_set_props) : force recalculation
8513 when applying properties
8515 * lib/charconv.c lib/dia_xml.c : temporary back-ported to
8516 glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
8517 many incompatible changes (and would force a gtk update)
8519 * objects/makefile.msc : don't build C-Objects which are
8520 already available as 'pure shape'
8522 * plug-ins/makefile.msc : remove diaimport from build. It was
8523 only available via mailing-list and is broken since the
8527 Patch from Jose A Ortega Ruiz <jaortega@acm.org>
8529 * app/preferences.[hc] : tweaked preferences.c to make
8530 PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
8531 added some more DiagramTree prefererences and their own
8534 * app/diagram_tree.[hc] : allow to sort by object type or name
8535 and hide by type ...
8536 * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
8537 * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
8539 * app/diagram_tree_window.c : handle hidden types and window
8542 2001-12-20 Hans Breuer <hans@breuer.org>
8544 * plug-ins/python/Makefile.am : patch from Peter Moulder
8545 <pmoulder@csse.monash.edu.au> to make the python plug-in
8546 compile on *nix too.
8548 2001-12-03 Cyrille Chepelov <chepelov@calixo.net>
8550 Patch from Alan <horkana@tcd.ie>:
8552 * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
8554 2001-11-20 Hans Breuer <hans@breuer.org>
8556 * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
8558 2001-11-18 Jose A Ortega Ruiz <jaortega@acm.org>
8560 * app/diagram_tree.[hc] : Added new functions and types for
8561 sorting diagram and objects, and attaching the popup menus.
8563 * app/preferences.h: Added more diagram tree preferences, using a
8564 DiagramTreeConfig struct in DiaPreferences. The new prefs are the
8565 height and width of the diagram tree window and the default sort
8566 orders for diagrams and objects.
8568 * app/preferences.c (prefs_data): Added new entries for the new
8569 diagram tree preferences.
8571 * app/preferences.c (prefs_tabs): New tab for diagram tree
8574 * app/diagram_tree_window.[hc] (create_diagram_tree_window):
8575 * app/diagram_tree_window.c (diagram_tree_window_new):
8576 * app/interface.c (create_tree_window): The diagram tree window is
8577 initialised using the DiagramTreeConfig part of prefs.
8580 2001-11-14 Jose A Ortega Ruiz <jaortega@acm.org>
8582 * app/diagram_tree_menu.[hc]: New files. Functions to create the
8583 diagram tree popup menus.
8585 * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
8586 the diagram tree popup menus.
8588 * app/Makefile.am (dia_core_files): diagram_tree_menu* files
8591 2001-11-13 Jose A Ortega Ruiz <jaortega@acm.org>
8593 * app/diagram_tree.c (double_click_callback, diagram_tree_new):
8594 double-clicking a diagram tree node raises the diagram window
8595 to the foreground (and, if a object node was clicked, selects the
8596 object in the diagram).
8598 * app/diagram_tree.c (select_tree_widget): selecting an object
8599 node with single click simply updates it (no raise).
8601 2001-11-08 Jose A Ortega Ruiz <jaortega@acm.org>
8602 These changes make the diagram tree lazy: it is not created unless
8603 the diagram tree window is requested.
8605 * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
8606 function for creating the tree window.
8608 * app/interface.c (create_tree_window): call
8609 create_diagram_tree_window() instead of diagram_window().
8611 * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove)
8612 (diagram_tree_update, diagram_tree_update_name)
8613 (diagram_tree_add_object, diagram_tree_add_objects)
8614 (diagram_tree_remove_object, diagram_tree_remove_objects)
8615 (diagram_tree_update_object): accept a NULL tree as a nominal
8616 argument (and do nothing in this case!), so that the diagram tree
8617 is not initialised if not used.
8619 * app/diagram_tree_window.c (diagram_tree): do not create the
8620 diagram tree until diagram_window() or diagtree_show_callback()
8623 2001-10-31 Jose A Ortega Ruiz <jaortega@acm.org>
8624 [slightly modified and applied from Hans Breuer <hans@breuer.org>]
8626 * app/diagram_tree_window.[hc] : (new files) implementation of
8627 the diagram tree window, a container for a diagram tree. [Removed
8628 the horizontal scroll bar glitch by disableing it]
8630 * app/diagram_tree.[hc] : (new files) implementation of the
8631 diagram tree widget. [Don't rely on the layers GPtrArray to be
8632 NULL terminated, but use its ->len field]
8634 * app/Makefile.am (dia_core_files): added new files
8635 diagram_tree.[hc] and diagram_tree_window.[hc]
8637 * app/interface.[hc] : (create_tree_window): this function
8638 creates the new diagram tree window widget
8640 * app/undo.c (delete_objects_apply) (delete_objects_revert)
8641 (insert_objects_apply) (insert_objects_revert) (group_objects_apply)
8642 (ungroup_objects_apply) (ungroup_objects_revert):
8643 every time that an undoable command modifies a diagram
8644 adding/removing/(un)grouping objects, a diagram_tree_something() is
8645 invoked to keep the diagram tree window in sync
8647 * app/properties.c (properties_apply): call to
8648 diagram_object_modified(), which updates the diagram tree window
8649 when the properties of an object are modified
8651 * app/preferences.[hc] : new "show_diagram_tree" configuration option
8652 (whether the diagram tree window should be shown on dia startup)
8654 * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
8656 * app/diagram.h (diagram_object_modified): callback notifying of a
8657 diagram object modification
8659 * app/diagram.c (diagram_load_into): added call to
8660 diagram_tree_add() to add newly loaded diagrams to the diagram
8662 (diagram_destroy): call to diagram_tree_remove() to remove a
8663 destroyed diagram from the diagram tree window
8664 (diagram_add_object): call to diagram_tree_add_object() to add an
8665 object to the diagram tree window
8666 (diagram_add_object_list): as above, but with an object list
8667 (diagram_selected_break_external): deletion of objects from the
8668 diagram is detected here, and diagram_tree_remove_object() is
8669 invoked to remove the object from the diagram tree window (it
8670 would be nice to have a diagram_remove_object() in the Diagram
8672 (diagram_set_filename): update the diagram tree window when a
8673 diagram's filename changes
8675 * app/commands.c (file_new_callback): added call to
8676 diagram_tree_add() to add newly created diagrams to the diagram
8679 * app/app_procs.c (app_init): added call to create_tree_window()
8681 * app/makefile.msc : updated
8683 2001-10-28 Hans Breuer <hans@breuer.org>
8685 * app/preferences.h (DiaPreferences):
8686 * app/preferences.c (prefs_data): new "show_diagram_tree"
8687 configuration option (whether the diagram tree window should be
8688 shown on dia startup)
8690 * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
8691 entry (both for GNOME and gtk)
8693 * app/diagram.h (diagram_object_modified): callback notifying of a
8694 diagram object modification
8696 * app/diagram.c (diagram_load_into): added call to
8697 diagram_tree_add() to add newly loaded diagrams to the diagram
8699 (diagram_destroy): call to diagram_tree_remove() to remove a
8700 destroyed diagram from the diagram tree window
8701 (diagram_add_object): call to diagram_tree_add_object() to add an
8702 object to the diagram tree window
8703 (diagram_add_object_list): as above, but with an object list
8704 (diagram_selected_break_external): deletion of objects from the
8705 diagram is detected here, and diagram_tree_remove_object() is
8706 invoked to remove the object from the diagram tree window (it
8707 would be nice to have a diagram_remove_object() in the Diagram
8709 (diagram_set_filename): update the diagram tree window when a
8710 diagram's filename changes
8712 * app/commands.c (file_new_callback): added call to
8713 diagram_tree_add() to add newly created diagrams to the diagram
8716 * app/app_procs.c (app_init): added call to create_tree_window()
8718 2001-10-28 Hans Breuer <hans@breuer.org>
8720 * plug-ins/python/pydia-property.c : apparently I missed
8721 to commit this last time. Now it has some more SetAttr
8722 support (apply from property)
8724 * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
8726 * plug-ins/python/pydia-text.[ch] : new files
8728 2001-10-14 Hans Breuer <hans@breuer.org>
8730 * lib/charconv.c : g_locale_to_utf8() does not handle NULL
8731 strings. Use g_strdup() for these.
8733 libxml2 does not produce 'any extra indentation when saving a tree'
8734 [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
8735 libxml(1). To get human readable XML some extra tweaking is required.
8736 It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
8737 * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
8738 * app/preferences.[ch] : initialize 'pretty_formated_xml'
8740 * lib/libdia.def : updated externals
8742 * lib/properties.h : add prototype for prop_list_from_single ()
8744 * plug-ins/makefile.msc : build metapost plug-in
8746 * plug-ins/metapost/render_metapost.c : msvc does not like
8747 switch labels without operation 'default: }'. Added a noop.
8749 * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
8750 * plug-ins/python/diamodule.c : added PyDiaText
8751 * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
8752 Although the python plug-in does not use libxml at all, the
8753 headers are required to use the lib/prop*.h headers
8755 * plug-ins/python/pydia-diagramdata.c : added wrappers for
8756 update_extents and get_sorted_selected (should I duplicate
8757 more functions from PyDiaDiagram or should they be moved?)
8759 * plug-ins/python/pydia-properties.c : allow to set (some) properties
8760 through the dictionary api
8761 * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
8762 * plug-ins/python/pydia-property.c : implement it (currently only
8763 string properties can be set)
8765 Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
8766 Quoting myself: 'Still not convinced that this is better than an
8767 integral property->type and some casting ...
8768 It is trading a straightforward 40 lines switch statement to
8769 this nice 'type safe' function mapping (about 125 lines)'
8770 (But now it works again, better than changing the News file :)
8772 2001-10-14 Cyrille Chepelov <chepelov@calixo.net>
8774 patch from <robert.young@dsto.defence.gov.au>:
8775 * objects/UML/component.c: remember to set font in UML component
8776 object (fixes #62132)
8778 2001-10-02 Lars Clausen <lrclause@cs.uiuc.edu>
8780 * plug-ins/metapost/metapost.c:
8781 * plug-ins/metapost/Makefile.am:
8782 * plug-ins/metapost/render_metapost.c:
8783 * plug-ins/metapost/render_metapost.h:
8784 Metapost renderer from Chris Sperandio
8786 2001-09-14 Hans Breuer <hans@breuer.org>
8788 * app/render_gdk.c : reflect the fact, that GTK already talks
8789 UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
8792 * app/render_libart.c : trying to fix #58045 but it appears
8793 to be an Gdk/win32, too.
8795 * lib/charconv.c : handle utf8 conversion with the help of
8796 glib-1.3 even in the !HAVE_UNICODE case.
8798 * lib/dia_xml.c : reduce complaing about missing encoding, by
8799 detecting if the default (utf8) would break the file.
8801 2001-09-13 Cyrille Chepelov <chepelov@calixo.net>
8803 * lib/charconv.c: (get_local_charset): at least please try to not
8804 silently change the logic, while avoiding crashes.
8806 * lib/font.c: (suck_font): put a #error, we have a nasty something
8807 to fix there before we switch to Gtk 2.0.
8809 2001-09-09 Hans Breuer <hans@breuer.org>
8811 * **/makefile.mingw : Approach to compile Dia with mingw.
8812 Compiling mostly works but running does not (yet) ...
8815 - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions.
8816 Apparently mingw needs it too.
8817 - enable 'normalization' of a null verctor. Otherwise the beziergon
8818 bounding box calculation would be broken at least with msvc. What's
8819 the mathematical correct result of 0.0/0.0 ?
8821 * lib/dia_xml.c : isinf() for mingw too.
8823 * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw
8826 * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8").
8829 * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
8831 * lib/libdia.def : updated externals. Apparently mingw needs
8832 them to produce the right mangling.
8834 * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
8837 2001-09-08 Wang Jian <lark@linux.net.cn>
8839 * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
8841 2001-09-07 Cyrille Chepelov <chepelov@calixo.net>
8843 * lib/dia_xml_libxml.h:
8844 * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
8845 libxml1's code, to rework the output file before it gets committed
8846 to disk. This is rubbish, and will be removed when libxml2
8847 switches from discouraged to mandatory.
8848 All in all, this fixes #60152.
8851 * lib/charconv.c: (charconv_unichar_to_utf8):
8852 made the type of the input parameter explicitly an unsigned long.
8854 * configure.in: Added a check for libz (we must now include it
8855 explicitly, for xmlDiaSaveFile).
8857 * app/load_save.c: (diagram_data_save):
8858 * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
8859 (dia_pluginrc_write):
8860 * plug-ins/shape/shape-export.c: (new_shape_renderer),
8861 (end_render), (draw_string):
8862 * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
8865 Made sure we always write UTF-8 XML files, and through
8868 * NEWS: documented that fact.
8870 2001-09-07 James Henstridge <james@daa.com.au>
8872 * configure.in (found_libxml): refactor the check for libxml a
8873 little so that it handles finding both libxml1 and 2 better.
8875 2001-09-03 Cyrille Chepelov <chepelov@calixo.net>
8877 * app/app_procs.c: removed a spurious } which caused a compilation
8878 error in the (!HAVE_GNOME && HAVE_POPT_H) case
8880 * lib/charconv.c: (get_local_charset): some versions of iconv(1)
8881 don't know what ANSI X3.4-1968 is. I didn't know until this day,
8882 but it's just plain old ASCII. Added a check to shield the poor
8885 Patches from <robert.young@dsto.defence.gov.au>:
8887 * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
8888 width and height of text before calculating bounds. Fixes #59928
8890 * app/preferences.c: Moved grid related items into Grid Tab.
8892 2001-09-02 Cyrille Chepelov <chepelov@calixo.net>
8894 * app/interface.c: (create_zoom_widget): connected one more signal
8895 to the Zoom selector combo's list. Fixes #59879.
8897 * app/app_procs.[ch]: (app_init) (do_convert)
8898 (build_output_file_name): brought back into the main executable
8899 the rare useful bits of the ill-fated diaconv. This means we have
8900 one new feature : --export-to-format (-t), which should make
8901 writing conversion scripts easier, and a crude implementation of
8902 -t and -e for the poptless argument parsing, which means the Win32
8903 port should be able to take advantage of it (that should make
8904 resolving #58197 possible).
8906 * app/diaconv.c: kept the poor duck compiling (but that's about
8909 * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
8912 * NEWS: updated about the new feature above, and documented the
8913 "missing encoding specification" complaint.
8915 2001-09-01 Abel Cheung <maddog@linux.org.hk>
8917 * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
8919 2001-09-01 Cyrille Chepelov <chepelov@calixo.net>
8921 * objects/standard/bezier.c: used g_new0 instead of g_new, to take
8924 2001-09-01 James Henstridge <james@daa.com.au>
8926 * */Makefile.am: various changes to include missing files, and fix
8927 sheets dir to handle building with builddir != srcdir.
8929 * autogen.sh: unconditionally pass the --enable-maintainer-mode
8930 and --enable-db2html flags so that builds from CVS work correctly.
8932 * configure.in: increment version number. Also add an
8933 --enable-db2html flag. Without the flag, db2html won't be run (if
8934 the flag is passed and db2html is not present, do nothing).
8936 2001-08-30 Cyrille Chepelov <chepelov@calixo.net>
8938 * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
8939 even compiled. It's really too bad there is no lint tool easily
8940 available (or a more cautious, pedandic, paranoid and verbose
8941 compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
8943 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
8946 * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
8947 from <robert.young@dsto.defence.gov.au>. Fixes #59591.
8949 * app/menu.c: added ellipsis(...) to diagram properties menu item.
8950 * app/dia-props.c: diagram properties dialog contents did not
8951 represent current diagram settings.
8952 * app/dia-props.[ch]:
8953 * app/display.c: diagram properties contents now follows currently
8955 Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
8957 * AUTHORS: added Robert Young.
8959 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
8961 * app/modify_tool.c: (modify_button_release): Patch from
8962 <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
8963 #59090: if selection dragging was released outside of the window,
8964 artifacts of the selection box remained.
8966 2001-08-25 Cyrille Chepelov <chepelov@calixo.net>
8968 * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
8970 2001-08-19 Cyrille Chepelov <chepelov@calixo.net>
8973 * sheets/Makefile.am: prepared the terrain for the Version of
8974 xml-i18n-tools Which Comes After 0.9 (and which will feature at
8975 last a sane behaviour with XML files). Some reasonible delay
8976 before enforcing that version *will* be given.
8978 * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
8980 * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
8981 becomes a nonexistent symbol.
8983 2001-08-18 Hans Breuer <hans@breuer.org>
8985 * app/app_procs.c : made it compile without ENABLE_NLS
8987 * app/diap_callbacks.c : strcmp isn't guaranteed to work
8992 * objects/custom/shape_info.c : avoid mixing allocators and dealocators.
8994 xmlGetProp, ... -> xmlFree
8995 malloc, strdup -> free
8996 g_new, g_malloc, g_strdup - > g_free
8998 * app/win32print.c : some more error checking, still not
9001 * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
9003 * lib/dia_xml.c : msvc still has no unistd.h
9006 * lib/sheets.c : temporary resolved libxml include brokeness
9008 * plug-ins/python/pydia-*.c : reflect Font and StdProp api
9009 changes. Compiles again, but doesn't do anything useful anymore.
9010 (see THE_PROP_TYPE_IS_INTEGRAL)
9012 * **/makefile.msc : updated to use LIBXML2
9014 * lib/libdia.def : reflect api changes
9016 2001-08-17 Cyrille Chepelov <chepelov@calixo.net>
9018 * config.h.win32: added defines telling that gtk speaks UTF8.
9019 Hans, I believe this reflects what GTK on Win32 does.
9021 * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
9023 * lib/prop_inttypes.c:
9025 * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
9028 * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
9029 trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
9030 search for plug-ins is done.
9031 * app/Makefile.am: made app/run_dia.sh use the // capability. No
9032 need to update this anymore if we get a new plug-in library (or
9035 * lib/dia_xml.c: #include <unistd.h> was missing.
9038 * lib/proplist.c: (pdtpp_defaults): Added a new flag,
9039 PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
9042 2001-08-16 Cyrille Chepelov <chepelov@calixo.net>
9044 * sheets/civil.sheet: removed duplicate "Danish" entries.
9049 * sheets/Makefile.am:
9051 * Makefile.am: applied the xml-i18n-tools README's instructions.
9053 * po/(da de fr hu nl nn no sl).po: merged the translations from
9054 the sheet files into the .po files. I hope I haven't mixed
9056 * sheets/*.sheet (REMOVED):
9057 * sheets/*.sheet.in (NEW): moved the sheet files sans
9058 translations into .sheet.in files.
9060 * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
9061 because we don't yet want to force all translators to work using
9062 UTF-8 editors. We'll want to do that sometime (sooner rather than
9063 later). Okay, I sing a slightly different tune in po/ChangeLog...
9065 * dia.desktop (REMOVED):
9066 * dia.desktop.in (NEW): used also the x18t infrastructure for
9069 * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
9070 "official" version of x18t with support for .sheet files is available.
9071 * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
9072 "official" version of x18t which doesn't corrupt UTF-8 data in XML
9075 ** yes, we are now using xml-i18n-tools to manage the sheet
9076 translations. For the Win32 build, Nemo stores snapshots of
9077 translated strings next to the CVS snapshots. **
9079 * sheets/checktrans.py: suddenly, some sheets have lots of
9080 translations (objects which existed before sheets, mostly).
9081 Adapted the formatting.
9083 * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
9085 * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
9086 * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
9087 <robert.young@dsto.defence.gov.au>, to fix #59090.
9089 * app/display.c: (ddisplay_scroll): While at it, added some
9090 margin, so that autoscrolling can happen within a margin outside
9091 the diagram's extents.
9095 * app/disp_callbacks.c: Robert "forced" me to go when I usually
9096 don't, namely the app/ directory. So while I was there, I
9097 scratched a long-time itch. If no object has focus, pressing the
9098 space bar will select back the tool which was selected before the
9099 current one (I find this especially useful with "reset after create" !)
9101 * lib/proplist.c: (prop_list_from_single): Renamed
9102 prop_list_singleton() to avoid confusion with the Singleton
9103 pattern (which it definitely is not).
9105 * lib/propobject.c: (object_prop_by_name_type),
9106 (object_prop_by_name): The "flags" parameter was not necessary.
9107 These don't return synthetic properties, but properties built from
9108 a real property description list; therefore, we don't call
9109 make_new_prop() but use the existing property descriptor, which
9110 has perfectly valid (and meaningful) flags.
9112 * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
9113 new predicates better reflect the reason why properties exist when
9114 they're created by make_new_prop() or object_prop_by_name().
9116 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
9117 * lib/prop_basic.c: (make_new_prop): used the new reasons instead
9120 * lib/properties.h: reflects all the above changes.
9122 * objects/SADT/arrow.c:
9123 * objects/SADT/annotation.c:
9124 * sheets/SADT.sheet: minor renamings to better match FIPS 183's
9127 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
9130 * lib/proplist.c: (prop_list_singleton):
9131 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
9132 Added these, to simplify interactions of plug-ins with the StdProp
9137 * lib/dia_xml_libxml.h (NEW):
9142 * objects/custom/shape_info.c: A few prototypes were causing
9143 #include hell, because we generally attempt to not pull the whole
9144 libxml header set when we include dia_xml.h. Moved those
9145 prototypes away for the rare cases they're necessary.
9147 2001-08-15 Hans Breuer <hans@breuer.org>
9149 * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
9152 * lib/makefile.msc : updated
9154 * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
9155 use G_GNUC_FUNCTION instead.
9157 * lib/prop_inttypes.c : include <stdlib.h> for strtol()
9159 * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
9160 msvc instead of cleaning missing includes
9162 * plug-ins/wmf/wmf.cpp :
9163 * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
9165 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
9172 * objects/custom/shape_info.c:
9173 * plug-ins/shape/shape-export.c:
9174 * plug-ins/svg/render_svg.c: used the libxml1/libxml2
9175 compatibility macros as taught by http://xmlsoft.org/upgrade.html;
9176 removed xmlKeepBlanksDefault(0) in favour for proper
9177 xmlIsBlankNode() testing. Lots of other fixups to use the
9178 "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
9179 make libxml1 output correct files.
9181 * configure.in: use libxml2 (>= 2.3.9) if it's found, or
9182 libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
9183 packages). If both devel packages are found, the build will stop
9184 (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment)
9186 * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
9187 allocate the first handle :-)
9189 * lib/object.c: (object_init): <gratuitous>g_new() used instead of
9190 a cast and a sizeof.</gratuitous>
9192 * objects/custom/custom_object.c: (custom_copy): don't call
9193 text_get_attrbutes if the shape has no text...
9194 (custom_update_data): The info->resize_with_text code was a bit
9195 directive; basically, the shape's bounding box was forced to be
9196 proportional to the text's bounding box.... This fixes #57187.
9198 * objects/custom/shape_info.c: (load_shape_info): Set an obvious
9199 default for info->aspect_ratio; unobfuscated a line about
9200 info->resize_with_text;
9202 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
9204 * lib/properties.h: added comments next to the PROP_TYPEs to tell
9205 which C Property subclass to use.
9207 * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
9208 cast-ridden form of setting properties in a list, in favour for
9209 the "local pointers" form. I'll take any better offer...
9211 2001-08-14 Cyrille Chepelov <chepelov@calixo.net>
9213 * lib/font.c: fprintf(...) --> fprintf(format...)
9215 * configure.in: added a disabled versioned test for glib.
9216 * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
9217 (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
9218 g_critical() with a simple g_error(). Proper fix is to implement
9221 * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
9225 * lib/propdesc.c: (prop_desc_list_calculate_quarks):
9226 * lib/proplist.c: (find_prop_by_name_and_type):
9227 * lib/prop_basic.c: (make_new_prop), (initialize_property):
9228 * lib/propoffsets.c: (do_set_props_from_offsets),
9229 (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
9230 Added a type_quark member to PropDescription, Property and
9231 PropOffset. Used it to implement a safety in
9232 do_[sg]et_props_from_offsets().
9234 * objects/flowchart/diamond.c: the diamond's text was not saved,
9235 and thus not even copied (c&p).
9236 * objects/standard/textobj.c: ditto.
9238 Most of the above changes thanks to Robert Young's testing. Thanks !
9240 2001-08-14 Kjartan Maraas <kmaraas@gnome.org>
9242 * sheets/*.sheet: Added some Norwegian translations (both nynorsk
9245 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
9247 * lib/proplist.c (prop_list_from_descs): added a call to
9248 prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
9249 too embarrassing to tell.
9251 * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
9252 while loop to a for loop, for symmetry with
9253 prop_offset_list_calculate_quarks().
9255 * lib/geometry.h: new inline function, rectangle_equals.
9257 * lib/diagramdata.[ch]: refactored a bit the diagram extents
9258 computation logic, and changed it to always be the union of the
9259 visible layers' extents. This should close #58882 (Debian
9260 #107167), and fixes #55498.
9262 * app/display.c: made the initial visible box more coherent with
9263 the diagram being loaded's extents.
9265 * app/prop_attr.c: don't set the font (from offset) if font_data
9266 is NULL. Two brainos in colorprop_load() and fontprop_load().
9268 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
9270 * lib/properties.[ch]: split in a lot of pieces:
9272 * lib/prop_*.[ch] (NEW): all property types are now first-class
9273 objects, inheriting from the original abstract Property type.
9274 * lib/propdesc.c (NEW): property description handling routines
9275 * lib/propoffsets.c (NEW): property offset handling routines
9276 * lib/proplist.c (NEW): property list handling routines
9277 * lib/propobject.c (NEW): property list <-> object routines
9278 * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
9280 * lib/propinternals.h: prototypes for stuff not usually needed by
9281 the outside of StdProps.
9282 * lib/Makefile.am: a lot of new files have been added...
9284 THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
9285 BOTH INTERFACES AND RUN-TIME STABILITY.
9287 * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
9289 * lib/object.h: removed the incestuous relationship with
9290 properties.h' contents. Now a Property list is a GPtrArray -->
9291 object interface change !
9293 * app/app_procs.c/app_init(): removed a disabled call to a
9294 non-existent routine. Added a call to stdprops_init().
9296 * objects/Makefile.am: disabled the construction of EML. I'm not
9297 touching these until a certain issue is solved (or this module
9300 * objects/**/*.c except objects/EML/*: adapted all stdprop-using
9301 objects to the interface changes.
9303 * app/disp_callbacks.c: killed a warning.
9304 * lib/dia_xml.[ch]: sprinkled "const" modifiers.
9307 The macros PROP_VALUE_* have disappeared. Adapted to using the new
9310 * plug-ins/dxf/dxf-import.c:
9311 * plug-ins/xfig/xfig-import.c:
9312 PROP_VALUE_* macros have been removed. Converted to the new API.
9314 * plug-ins/python/**/*: I gave up converting this; I can't
9315 compile --with-python (problems with object.h defined both by us
9316 and by Python). I'll gladly help whomever cares to fix it !
9317 (or, fix it myself if someone tells me how to compile it).
9319 * configure.in: added the UNICODE-related progress defines.
9322 * lib/geometry.h: On Solaris and perhaps other systems, finite()
9323 is defined in ieeefp.h rather than in math.h. Patch from Andrew
9324 Halper <ashalper@acm.org> with further modifications, isinf() is
9325 provided by -lsunmath (sunmath.h).
9327 * lib/font.c: conditionally disabled Lars' debugging messages.
9328 Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
9330 2001-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
9332 * lib/bezier_conn.h:
9333 * objects/standard/bezier.c (bezierline_create):
9334 * lib/bezier_conn.c (bezierconn_init):
9335 Preparations for use of userdata for bezier lines.
9337 * objects/standard/polygon.c:
9338 * objects/standard/create.h:
9341 * plug-ins/xfig/xfig-import.c:
9342 Use of user_data for polygon as well, including adding
9343 polyshape_set_points. Include file for non-interactive
9344 creation of standard objects, objects/standard/create.h
9346 2001-08-10 Lars Clausen <lrclause@cs.uiuc.edu>
9353 More preliminary freetype support. Not at all functional, crashes
9358 * objects/standard/polyline.c:
9359 Support for creating polyline objects with more than two points.
9360 This includes an extra function and a prototype change in the
9361 poly_conn lib object.
9363 * lib/object.c (object_copy): Fixed memory leak of handles and
9366 2001-08-08 Abel Cheung <maddog@linux.org.hk>
9368 * dia.desktop: added traditional Chinese strings
9370 2001-08-04 Cyrille Chepelov <chepelov@calixo.net>
9372 * NEWS: updated to reflect build-time dependencies.
9374 * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
9375 around obj->ops->describe_props(obj). Quarks are none of an
9376 object's business in the general case...
9377 * lib/text.c: Added an apply_textattr_properties() function to
9378 factor out some common code related to applying a dialog's text
9379 attribute properties to a (Text *) which wasn't edited there.
9380 Ditto for textstr, for the string part of an objet.
9382 * objects/GRAFCET/action.c:
9383 * objects/SADT/annotation.c:
9384 * objects/SADT/box.c: used apply_textattr_properties().
9386 * objects/UML/actor.c:
9387 * objects/UML/branch.c:
9388 * objects/UML/component.c:
9389 * objects/UML/constraint.c:
9390 * objects/UML/small_package.c:
9391 * objects/UML/state.c:
9392 * objects/UML/usecase.c:
9393 * objects/UML/large_package.c:
9394 * objects/UML/note.c:
9395 * objects/UML/node.c:
9396 * objects/UML/message.c:
9397 * objects/UML/classicon.c:
9398 * objects/UML/object.c:
9399 * objects/UML/realizes.c:
9400 * objects/UML/dependency.c:
9401 * objects/UML/implements.c:
9402 slim-fast(tm) cure using more StdProps, and UTF-8 audit.
9403 (most objects were already using StdProps to some extent ; this
9404 systematises usage and removes some dead wood).
9406 * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
9407 * objects/UML/uml.[ch]: audited for UTF-8.
9409 * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
9410 uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
9411 private (ISO-8859-1) definition.
9413 * lib/charconv.c: Added a warning if we didn't run
9414 nl_langinfo(CODESET) but rely instead on a hardcoded default.
9416 2001-08-02 Cyrille Chepelov <chepelov@calixo.net>
9419 * app/disp_callbacks.c: added a way for an object to cause an
9420 already realised menu to be destroyed (for instance if it changes
9423 * objects/custom/custom_object.c: used the above to fix #55073.
9425 2001-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
9427 * configure.in: Remove 2.50 prereq.
9429 2001-07-30 Cyrille Chepelov <chepelov@calixo.net>
9431 * po-checktrans.py: under some circumstances, there was one column
9432 more than what was supposed to be, thus breaking the formatting.
9434 2001-07-29 Cyrille Chepelov <chepelov@calixo.net>
9436 * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
9438 * NEWS: updated with new stuff since 0.88
9440 * shapes/network/antenna.shape: the text was misplaced ; fixed.
9442 * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
9443 firewall router (upon request from Cyril Lacoux
9444 <clacoux@easter-eggs.com>)
9446 * configure.in (didn't rename to configure.ac): autoconf 2.50
9447 constructs were used ; added an AC_PREREQ call to guard against
9450 2001-07-27 Cyrille Chepelov <chepelov@calixo.net>
9452 * lib/properties.c: minor clean-ups with the event delivery code.
9454 * EML/instantiation.c: brought this object back from stone and ice
9457 * app/diaconv.c(NEW): added a command-line conversion tool. Still
9458 lacks a man page and correctness. In fact, it doesn't work. Please
9459 see #58196 if you want to finish it.
9461 * lib/message.[ch]: redefined things a little so that a different
9462 message_internal routine could be passed.
9463 applications can use that to fit themselves to the display model.
9465 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
9467 * objects/SADT/box.c:
9468 * objects/GRAFCET/action.c: spelling in property descriptors (name
9470 * objects/SADT/annotation.c: ditto, plus a temporary test of the
9471 event delivery code (try to click on the "click me !" button !).
9474 * lib/properties.[ch]: improved (fixed) support for group event
9475 handlers. Fixed various things from yesterday's code to make it
9476 not too obviously crash.
9478 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
9480 * app/group.c: added delivery of events to the first member of the
9481 group which is able to process it.
9483 * lib/properties.c(prop_desc_lists_intersection): properties
9484 don't match if they don't have identical event handler.
9485 * lib/properties.h: simplified the PropEventHandler signature.
9487 Event delivery code is still untested so far, but should be
9490 2001-07-25 Cyrille Chepelov <chepelov@calixo.net>
9492 * lib/properties.[ch]: Added (untested !) property event handler
9493 capability. Added a new PROP_TYPE_BUTTON, for the purpose of
9494 generating such events. This stuff compiles, and should lurk
9495 around silently as long as you don't declare property descriptors
9496 with events (AFAICT).
9497 In object_create_props_dialog() and friends:
9498 attached a single structure with lots of data instead of lots of
9499 little attachments of data to the dialog widget.
9501 * lib/object.h: fixed mild typedef breakage introduced by the above.
9503 2001-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
9505 * lots of files: Changed Font to DiaFont
9506 * */Makefile.am: Added FREETYPE_LIBS
9507 * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
9509 2001-07-13 Kjartan Maraas <kmaraas@gnome.org>
9511 * configure.in: Added "nn" to ALL_LINGUAS.
9513 2001-07-09 Alex Larsson <alexl@redhat.com>
9515 * app/disp_callbacks.c:
9516 Add gdk_im_ready() calls to XIM code.
9518 2001-07-04 Cyrille Chepelov <chepelov@calixo.net>
9520 * lib/properties.[ch]: splitted prop_get_widget() into
9521 prop_get_widget() (gives a widget but doesn't fill it) and
9522 prop_reset_widget() (fills an existing widget with a property's value).
9524 * lib/widgets.[ch]: const enforcement police work.
9526 * shapes/network/antenna.shape: added a connection point at top,
9527 upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
9529 2001-06-25 Cyrille Chepelov <chepelov@calixo.net>
9531 * intl/*: tested with gettext-0.10.38
9532 * configure.in: moved a macro call around (AM_PROG_CC) to keep
9533 some of autogen.sh from complaining.
9534 * INSTALL: added a warning against gettext older than at least 0.10.36
9536 2001-06-19 Cyrille Chepelov <chepelov@calixo.net>
9538 * configure.in: added explicit calls to AM_LANGINFO_CODESET and
9539 AM_ICONV (both provided by gettext)
9541 2001-06-14 Cyrille Chepelov <chepelov@calixo.net>
9543 * lib/charconv.c: corrected the degraded mode for when
9544 !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.
9546 * objects/chronoline/chronoline_events.c: UTF8 compliance.
9548 2001-06-13 Cyrille Chepelov <chepelov@calixo.net>
9550 * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
9551 new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay
9552 widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
9555 * objects/chronogram/chronoline.c:
9556 * objects/chronogram/chronoref.c: took advantage of the above to
9557 make nicer looking dialogs.
9559 * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
9560 from libunicode's internals).
9561 * lib/message.c: convert strings to local encoding prior to
9562 display (UNICODE_WORK_IN_PROGRESS)
9563 * lib/properties.[ch]: convert strings to local encoding prior to
9564 display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
9565 * lib/render.h: tagged strings as (utfchar *) instead of (char *)
9566 * lib/stringprerenderer.[ch]: ditto
9568 (lib/text.c has been audited for UTF8, but the size of the changes
9569 make them inappropriate for commit before 0.89)
9571 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
9573 * objects/boolequation.h (<save|load>_boolequation): made the
9574 prototypes for match the .c file.
9576 * samples/grafcet.dia: minor non-conformance with IEC-848
9577 fixed (in the transition from step 100 to step 101).
9579 * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
9580 disallow editing of properties if the object is part of a group.
9582 * objects/chronogram/chronoline.c:
9583 * objects/SADT/annotation.c:
9584 * objects/SADT/box.c:
9585 * objects/GRAFCET/step.c:
9586 * objects/GRAFCET/transition.c:
9587 * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
9589 2001-06-12 Hans Breuer <hans@breuer.org>
9591 * lib/libdia.def : removed lazyprop exports
9592 * lib/makefile.msc : removed lazyprop.obj
9594 * objects/custom/custom_objects.c : use HAVE_UNISTD_H
9595 and avoid crashes by always creating a custom->text,
9596 when (custom->info->has_text)
9598 * objects/makefile.msc : removed sybase from build
9600 * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
9601 ObjectNode is a pointer already, which is what we want
9602 instead of a pointer pointer.
9604 * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
9605 and implemented working export for images
9607 * shapes/network/zip-disk.shape : added connection points
9609 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
9611 * objects/SADT/box.c: removed lazyprops for standard props.
9612 * objects/chronograms/chronoline.c: removed lazyprops (phew !)
9613 * objects/chronograms/chronoref.c: ditto
9617 * lib/connpoint_line.c:
9618 * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
9619 * lib/properties.[ch]: new property types:
9620 - PROP_TYPE_STATIC: static text to be displayed in the dialog.
9621 - PROP_TYPE_MULTISTRING: same as string, but renders as a
9622 multi-line entry box.
9623 - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
9624 in a tabbed-notebook style (this is a bit complicated to use;
9625 see objects/chronograms/chronoline.c for an example).
9627 2001-06-11 Cyrille Chepelov <chepelov@calixo.net>
9629 * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
9630 * objects/GRAFCET/step.c: ditto.
9631 * objects/GRAFCET/vector.c: ditto.
9632 * objects/SADT/annotation.c: ditto.
9633 * objects/SADT/arrow.c: ditto (plus bounding box fixes).
9635 * lib/properties.[ch]: two more non-visible types
9636 (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
9638 * lib/neworthconn.[ch]:
9639 * lib/orthconn.[ch]: added support for manipulation through
9640 standard properties.
9642 * configure.in: removed -fomit-frame-pointer, this seems to
9643 confuse recent gcc/gdb's, maybe we'll get better stack dumps in
9646 * charconv.[ch]: more functions from unicode.h.
9647 get_local_charset() wasn't working properly, fixed now.
9648 A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to
9651 * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
9652 * lib/lazyprops.[ch]: put a big fat warning in.
9654 * app/render_eps.c: one line mysteriously went away, causing a
9655 variable to be used uninitialised....
9657 2001-06-10 Cyrille Chepelov <chepelov@calixo.net>
9659 * app/app_procs.c: commented out the call to
9660 bind_textdomain_codeset(): it's premature.
9662 * lib/connpoint_line.c: a NULL point can be given to
9663 connpointline_adjust_count(), in case there's not really a clicked
9666 * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
9667 #include order troubles. #included by lib/text.h, so there is no
9668 impact outside lib/.
9669 * lib/properties.[ch]: added support for CONNPOINT_LINE and
9670 (nonvisible) TEXT properties.
9672 * objects/GRAFCET/action.c:
9673 * objects/GRAFCET/vergent.c: dropped lazyprops for standard
9676 * objects/UML/lifeline.c: pruned some legacy stuff (now pure
9677 standard properties code). Grafted a dynamic number of connection
9678 points (heavily inspired from what Vergent does). This is the real
9681 * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
9683 * lib/fonts.c: some hardening (mostly g_assert())
9684 2001-06-09 Cyrille Chepelov <chepelov@calixo.net>
9686 * app/app_procs.c (app_init): added a call to
9687 bind_textdomain_codeset() so that gettext gives us UTF-8 strings
9688 (UNICODE_WORK_IN_PROGRESS).
9690 2001-06-08 Cyrille Chepelov <chepelov@calixo.net>
9692 * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
9694 * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch>
9695 (fixes #55863) : some clean-ups in the handling of connection
9696 points. Now the total number of connection points is just a
9697 #define (the proper solution is to retrofit the GRAFCET Vergent's
9698 dynamic behaviour wrt connection points).
9700 2001-06-07 Cyrille Chepelov <chepelov@calixo.net>
9702 * app/app_procs.c (app_init): added a call to unicode_init() (only
9703 if HAVE_UNICODE, of course).
9705 * lib/charconv.c: simplified the code which detects the local
9706 charset. No need to use <langinfo.h>, libunicode already takes the
9707 burden of figuring that out. Also, if local charset is utf8, no
9708 conversion will take place.
9709 Exposed a way to get the current charset (similar to
9710 unicode_get_charset() but actually working, hopefully).
9712 * lib/charconv.h: Added a partial non-UTF8 implementation of
9713 unicode.h if !HAVE_UNICODE (actually, all the time for the
9714 moment). The UTF8 implementation is just macros on libunicode (use
9715 the functions prefixed by uni_, as defined by charconv.h, not
9716 unicode_, unless that code is to be compiled only if HAVE_UNICODE).
9717 From now on, all strings which don't *need* to be ASCII should be
9718 utfchar *, not gchar *. Just include charconv.h, let it sort out
9719 the details (such as: "is libunicode available and enabled?")
9721 * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
9722 "API" instead of directly libunicode. Removed the now unnecessary
9723 speculative clustering of characters in encoding pages.
9725 * app/render_eps.c: made the local8->utf8 conversions dependent of
9726 !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
9727 boundary will be when this WIP is done).
9729 * lib/dia_xml.c (data_point): fixed a format string typo.
9731 * po/POTFILES.in: added all C files from lib/
9733 2001-06-06 Cyrille Chepelov <chepelov@calixo.net>
9735 * app/disp_callbacks.c: make sure the objects' connected objects
9736 are updated when the objects' size changes after a keypress event
9739 * configure.in: added a big warning about the possible future
9740 non-optionality of --enable-unicode.
9742 * TODO: removed entries which look like done ; added a few ones
9743 (Bugzilla "enhancement" bugs may be a better way to keep track of
9746 2001-06-05 Cyrille Chepelov <chepelov@calixo.net>
9748 * objects/UML/message.c: got rid of #55564 and of message_copy()
9749 by using more standard properties (are the message_state_*()
9750 functions still necessary ?)
9752 2001-06-04 Fredrik Hallenberg <hallon@lysator.liu.se>
9755 * objecs/custom/shape_info.c:
9756 * plug-ins/shape/shape-export.c:
9757 * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
9758 use xmlChar instead of obsolete CHAR.
9760 2001-06-03 Hans Breuer <hans@breuer.org>
9762 * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
9763 * app/commands.c : give the right number of parameters
9764 to diagram_update_menu_sensitivity ()
9766 * app/preferences.c : do proper initialization for DiaPrefsData:
9767 render_bounding_boxes. It would be a real surprise if 'hidden'
9768 properties would have ever worked before.
9769 Don't try to access the widgets of hidden property, it does not
9772 * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
9773 it is defined in libdia, but initialized from dia app, which
9774 otherwise gave nice start-up crashes.
9776 * lib/diagramdata.c : initialize the color for rendering bounding
9777 boxes in the Dia range (0 .. 1.0)
9779 * lib/libdia.def : added *_bbox functions for export
9781 * lib/makefile.msc : added new sources
9783 * objects/custom/custom_object.c : use HAVE_UNISTD_H
9785 2001-05-30 Cyrille Chepelov <chepelov@calixo.net>
9788 * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
9789 removes a translation of menus (in a place where there shouldn't
9790 have been), which gets rid of a waterfall of warnings if LANG!=C,
9791 and a fix to #55047.
9793 2001-05-29 Steffen Macke <sdteffen@yahoo.com>
9795 * lib/charconv.c : added #include <errno.h>
9797 * app/dia_embedd.c : updated menus_get_item_from_path usage
9799 2001-05-27 Cyrille Chepelov <chepelov@calixo.net>
9801 * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
9802 Added a special case for Symbol strings, so that they're not
9803 re-encoded using the LN encoding (we use the bare Adobe encoding
9806 * objects/custom/custom_object.c: Now that #52912 is fixed,
9807 I could remove the ugly hack I wrote to squash the shape bounding box
9808 problem shown by Ben A. Hetland a few months ago, and fix it
9811 * lib/text.c: enlarged a little the bounding box to account for
9812 the cursor in rightmost position.
9814 * lib/diagramdata.c: draw bounding boxes only if the relevant
9815 variable is set (as before), but also only if the rendere is
9816 interactive (ie, don't bother rendering bounding boxes on
9818 Made the bounding box's line width a fixed value, 0.01
9820 * lib/boundingbox.c: fixed the "pointy corners" code for polylines
9821 and assymmetric control beziers. Implemented ellipse_bbox().
9823 * Makefile.am: incantations to get po/dia.pot build, as suggested
9824 by Hubert in #55075.
9826 * shapes/network/computer.shape: typo fixed.
9827 * shapes/network/antenna.shape: fixed #55074 (antenna is now
9828 properly translucent, except for its base where it makes sense. It
9829 doesn't look that ugly anymore if transparent mode is on).
9831 * configure.in: --enable-unicode is now the default. This
9832 still currently affects only printing.
9834 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
9836 * lib/boundingbox.c: fixed a minor logic error wrt closed shapes.
9837 The overshoot code is buggy, and the bounding boxes for polyshapes
9838 looks a bit cheezy. To be done ASAP.
9840 2001-05-26 James Henstridge <james@daa.com.au>
9842 * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
9843 This should clear up some of the build problems people have been
9846 * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
9848 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
9851 * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
9852 box code (beginning with lines, polylines and polybeziers), into a
9853 more generic facility. While at it, a better shot at correctly
9854 computing the bounding box of a Bezieroid (should take care of
9855 #53424, #51233 and of course is part 1 of #52912).
9857 * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
9858 into a hidden preference (set render_bounding_boxes in diarc).
9859 * app/preferences.[ch]: Added support for hidden preferences.
9861 * lib/geometry.[ch]: sprinkled with "const" modifiers.
9863 * lib/bezier_conn.[ch]:
9864 * lib/beziershape.[ch]:
9865 * lib/connection.[ch]:
9867 * lib/poly_conn.[ch]:
9868 * lib/orth_conn.[ch]:
9869 * lib/neworth_conn.[ch]:
9870 * lib/polyshape.[ch]: adapted to take advantage of
9871 boundingbox.[ch] instead of relying on private (duplicate) code.
9874 * object/GRAFCET/action.c:
9875 * objects/GRAFCET/condition.c:
9876 * objects/GRAFCET/vergent.c:
9877 * objects/GRAFCET/vector.c:
9878 * objects/SADT/annotation.c:
9879 * objects/SADT/arrow.c:
9880 * objects/ER/participation.c:
9881 * objects/UML/constraint.c:
9882 * objects/UML/implements.c:
9883 * objects/UML/lifeline.c:
9884 * objects/UML/message.c:
9885 * objects/UML/realizes.c:
9886 * objects/UML/generalization.c:
9887 * objects/UML/association.c:
9888 * objects/UML/dependency.c:
9889 * objects/FS/flow-ortho.c:
9890 * objects/network/bus.c:
9891 * objects/standard/arc.c:
9892 * objects/standard/bezier.c:
9893 * objects/standard/beziergon.c:
9894 * objects/standard/line.c:
9895 * objects/standard/polygon.c:
9896 * objects/standard/zigzagline.c:
9898 * objects/standard/polyline.c: Some *BBExtras structures changed
9899 names while moving to boundingbox.[ch]. A trivial mass-renaming.
9901 2001-05-20 Cyrille Chepelov <chepelov@calixo.net>
9903 * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
9904 wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
9906 * app/display.c (ddisplay_update_scrollbars): from Patrick's
9907 suggestion, remove the extra scrollable area (it was only visible
9908 to the scrollbars). This is experimental.
9910 * objects/custom/custom_object.c: If a shape's icon file doesn't
9911 exist, warn and substitute a default icon, instead of crashing.
9914 * objects/network/network.c:
9915 * shapes/network/modularswitch.(shape|xpm) (NEW):
9916 * shapes/network/printer.(shape|xpm) (NEW):
9917 * shapes/network/genmonitor.(shape|xpm) (NEW):
9918 * shapes/network/computer.(shape|xpm) (NEW):
9919 * shapes/network/Makefile.am: four less objects, four more shapes.
9920 These were the last known RenderObjects. (phew !)
9924 * objects/sybase/Makefile.am:
9925 * objects/network/Makefile.am: Removed the older Renderobjects
9926 from the build, and their infrastructure (not yet deleted,
9929 * shapes/network/sceadplug.shape:
9930 * shapes/network/antenna.shape:
9931 * shapes/network/modem.shape:
9932 * shapes/network/hub.shape:
9933 * shapes/network/rj45plug.shape:
9934 * shapes/sybase/client.shape:
9935 * shapes/sybase/dataserver.shape:
9936 * shapes/sybase/ltm.shape:
9937 * shapes/sybase/repserver.shape:
9938 * shapes/sybase/rsm.shape:
9939 * shapes/sybase/stableq.shape: Minor corrections (line widths were
9940 ten times too narrow).
9942 2001-05-19 Cyrille Chepelov <chepelov@calixo.net>
9944 * objects/network/network.c:
9945 * shapes/network/sceadplug.(shape|xpm) (NEW):
9946 * shapes/network/antenna.(shape|xpm) (NEW):
9947 * shapes/network/modem.(shape|xpm) (NEW):
9948 * shapes/network/Makefile.am: four less objects, four more shapes.
9951 * lib/diagramdata.c:
9953 * lib/string_prerenderer.[ch] (NEW):
9954 Add a new renderer primitive, predraw_string() (does nothing, to be
9955 used as a hook to optimise the character encodings if needed).
9956 Added a string pre-renderer, which can be viewed as a filter
9957 renderer (to route draw_string() to predraw_string() and ignore
9958 the rest, in a first rendering pass)
9960 * app/render_eps.c: Took advantage of the above to make wholly
9961 optimised Postscript encoding page(s), even (especially) with
9962 non-latin1 code (HAVE_UNICODE must be true).
9964 (#53512 in fact is wholly resolved).
9966 2001-05-18 Cyrille Chepelov <chepelov@calixo.net>
9968 * lib/charconv.c: steps towards resolution of #53512 (inspired by
9969 Alexey Novodvorsky <aen@logic.ru>'s patch).
9971 * app/menus.c (dia_menu_signal_proxy): checked that the signal
9972 handler is not NULL before transferring control to it... (fixes #52836)
9974 * app/app_procs.c (app_init): removed non-constant initialiser
9977 * objects/custom/custom_object.c:
9978 * objects/custom/shape_info.[ch]:
9979 * objects/custom/test.xml: merged patch #53476 from Steven Hawkins
9980 <skh@mathstar.com>. This add support for a <svg:text> shape
9981 element, and some related style properties (font, font height,
9984 * doc/custom_shapes: a precision about the meaning of case in a
9985 SVG path (closes #52364)
9987 * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
9988 fixed by <drk@sgi.com>)
9990 2001-05-17 Cyrille Chepelov <chepelov@calixo.net>
9992 * objects/network/network.c:
9993 * shapes/network/Makefile.am:
9994 * shapes/network/hub.(shape|xpm) (NEW):
9995 * shapes/network/flash.(shape|xpm) (NEW):
9996 * shapes/network/rj45plug.(shape|xpm) (NEW):
9997 More shapes, less renderobjects.
9999 2001-05-16 Cyrille Chepelov <chepelov@calixo.net>
10001 * plug-ins/svg/render_svg.c: typo made exported ellipses
10002 corrupted (zero Y pseudo-radius).
10004 * objects/network/network.c:
10005 * objects/network/disc.c:
10006 * shapes/network/disc.(shape|xpm): Converted the first
10007 Renderobject into a shape. Normally, old diagrams should reload
10008 without problems (please check this against your diagrams). More
10009 flexibility should be gained that way. I intend to hunt and
10010 eradicate all renderobjects as I can commit cycles to that.
10012 * objects/Makefile.am:
10015 * objects/sybase/sybase.c:
10016 * shapes/sybase/Makefile.am(NEW):
10017 * shapes/sybase/client.(xpm|shape) (NEW):
10018 * shapes/sybase/dataserver.(xpm|shape) (NEW):
10019 * shapes/sybase/ltm.(xpm|shape) (NEW):
10020 * shapes/sybase/repserver.(xpm|shape) (NEW):
10021 * shapes/sybase/rsm.(xpm|shape) (NEW):
10022 * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
10023 renderobjects into shapes. The Sybase objects are now not compiled
10024 anymore, and ready to be nuked if nobody objects in the next few weeks.
10027 * app/diagram.[ch]:
10028 * app/disp_callbacks.c:
10029 * app/display.[ch]:
10030 * app/interface.[ch]:
10032 * app/modify_tool.c:
10033 * app/preferences.[ch]:
10034 * app/recent_files.c:
10035 * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
10036 a menu bar reflecting the popup menu, to each display window. This
10037 is optional (changing the preference currently doesn't affect
10038 already opened windows; a few other rough edges to cut).
10040 * plug-ins/wpg/wpg.c:
10041 * plug-ins/xfig/xfig-import.c:
10042 * plug-ins/python/pydia-property.c:
10043 * plug-ins/python/pydia-properties.c:
10044 * plug-ins/python/pydia-geometry.c:
10045 * plug-ins/pstricks/render_pstricks.c:
10047 * objects/EML/dbox.c:
10048 * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix
10051 * lib/ps-utf8.c: improved the clustering of alphabetic character
10052 definitions in custom encodings pages.
10054 2001-05-02 Hans Breuer <hans@breuer.org>
10056 * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type
10057 of 'obj_bb' to PROP_TYPE_RECT
10059 * objects/custom/custom_object.c : take all quarks into account,
10060 not only 4 as copy&paste suggests
10062 * objects/uml/objects.c : completed the implementation of the
10063 property api to avoid reading of totally bogus data. Removed
10064 the PROBABLY_DEAD_CODE. It actually was dead code, but not because
10065 there was too much but too less ...
10067 The above changes removed all known crashes (mentioned below)
10068 from the Property API. Property access is still incomplete though.
10070 * objects/flowchart/box.c :
10071 * objects/flowchart/diamond.c :
10072 * objects/flowchart/ellipse.c :
10073 * objects/flowchart/parallelogram.c :
10074 * objects/uml/classicon.c :
10075 * objects/uml/state.c : calculate number of quarks from quark array
10076 size instead of using hardcoded values for consistence and to avoid
10077 future bugs like the above
10079 * objects/eml/nlist.c : include <string.h> for strcmp()
10081 * lib/dia_xml.c : relax g_warning for values, which
10082 appear to be too small. There is nothing which prevents
10085 * plug-ins/python/pydia-geometry.c : changed stringifying of
10086 geometry objects accept BezPoint back to %f, which does not
10087 crash anymore, because all the data is intialized now and it
10088 simply is more readable than %e ...
10090 * plug-ins/python/python-startup.py : removed dependency
10091 to PyGtk, because it isn't required here and probably won't
10092 in i.e.: export filters.
10094 * plug-ins/python/gtkcons.py : create the gtkoutfile even
10095 if sys.stderr.fileno() isn't supported
10097 * app/makefile.msc : make version 0.88
10098 * plug-ins/makefile.msc : make version 0.88 an added new
10099 xfig files to build
10101 2001-05-11 James Henstridge <james@daa.com.au>
10103 * NEWS: remember to add news items this time.
10105 * dia.spec: update spec file for 0.88 release.
10107 * configure.in: up version number to 0.88
10109 * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
10110 preventing any of the useful python scripts from being
10113 * sheets/Makefile.am (sheet-translation-report): fix bustage I
10114 introduced in my fixups for the 0.87 release :(
10116 2001-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
10118 * plug-ins/xfig/xfig-import.c: Finally got groups working.
10120 2001-05-09 Lars Clausen <lrclause@cs.uiuc.edu>
10122 * plug-ins/xfig/xfig-import.c: Improvements to error handling and
10123 group manipulation.
10125 2001-05-09 Cyrille Chepelov <chepelov@calixo.net>
10127 * lib/ps-utf8.[ch]:
10128 * lib/Makefile.am: fix makefile breakage which led to not
10129 including ps-utf8.[ch] in the released tarballs.
10131 2001-05-09 James Henstridge <james@daa.com.au>
10133 * Makefile.am (core-translation-report): dist scripts needed for
10134 this target, and change to $(srcdir) before running.
10136 * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets. DATA
10137 files aren't automatically included in the tarball by automake
10138 because they could be generated files.
10140 * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
10142 * doc/en/Makefile.am (install-data-hook): fix up where graphics
10145 * configure.in: up version number to 0.87
10147 * plug-ins/python/*.py: no longer necessary to explicitly set
10148 sys.argv, as python.c does it for us now (like it should).
10150 * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
10153 * plug-ins/python/python-startup.py: startup script that imports
10154 all modules in $(datadir)/dia/python and ~/.dia/python.
10156 * plug-ins/python/python.c (dia_plugin_init): change so that it
10157 only runs the $(datadir)/dia/python-startup.py script. Make sure
10158 that sys.argv and __main__.__file__ are set when calling the
10161 * plug-ins/python/Makefile.am: update makefile. Make it install
10162 gtkcons.py plugin. I haven't set any other plugins to install, as
10163 they look like they are mainly for debugging purposes.
10165 * configure.in: add tests to detect if python is available, so we
10166 can build the python plugin. Only run if --with-python passed to
10169 2001-05-08 James Henstridge <james@daa.com.au>
10171 * acinclude.m4: add macros for detecting python.
10173 * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
10174 at GNOME_APP_UI_SUBTREE entries.
10175 (menus_add_path): function to add a menu item to the menubars.
10176 Uses a hash table to keep track of extra menu items it adds. Also
10177 notifies the item factory about the entries so that accels can be
10179 (menus_add_path): implement gtk only version.
10180 (menus_init): use menus_add_path() to add the menu.
10181 (plugin_callback): simplify.
10183 2001-05-08 Steffen Macke <sdteffen@yahoo.com>
10185 * app/menu.c: removed #ifndef GNOME; GNOME build was broken
10187 2001-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
10189 * plug-ins/xfig/xfig-export.c:
10190 * plug-ins/xfig/xfig-common.c:
10191 * plug-ins/xfig/xfig-import.c:
10192 * plug-ins/xfig/xfig.c:
10193 * plug-ins/xfig/xfig.h:
10194 * app/Makefile.am: Added support for exporting to Fig format
10195 (except splits, which are less powerful in Fig). Some refactoring
10198 2001-05-02 Hans Breuer <hans@breuer.org>
10200 * plug-ins/python/debug_objects.py : added another
10201 test to get massive crashes from the Property API due
10202 to unintialized data.
10204 * app/menu.c : the callback_action wasn't incremented
10205 (should have checked my last optimization). Now more
10206 than one plug-in callback is supported again.
10208 * plug-ins/python/pydia-geometry.c : avoid crashes from
10209 glib, when trying to g_strdup_printf unintialized floats.
10211 * plug-ins/python/pydia-property.c : avoid crashes from
10212 because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
10214 2001-05-01 Hans Breuer <hans@breuer.org>
10216 * objects/makefile.msc : added eml
10217 * objects/eml/instantiation.c : initialize 'inst' pointer
10218 before using, zero initialization for objects
10219 * objects/eml/interaction-ortho.c :
10220 * objects/eml/interaction.c : zero initialization for objects
10222 * app/menus.c : removed Gimp mru stuff which slipped in at
10223 2000-08-15, was never activated and will never be needed,
10224 because of Steffens recent file list patch added at 2001-01-05.
10226 * objects/eml/*.c : some more zero initialization of objects
10227 to avoid infinite (uninitialized) bounding boxes
10229 Implemented a callback api which allows plug-ins to register
10230 menu call backs. Dia for Gnome should compile, but will need
10231 some extra tweaking to make it work because I can't test it.
10233 * plug-ins/python/pydia-error.h :
10234 * plug-ins/python/pydia-render.c : moved Pxthon function return
10235 value handling from pydia-render.c to pydia-error.h, to make it
10237 * plug-ins/python/diamodule.c : implement callback function
10238 registration from and relaying to Python code
10240 * app/menus.c : register and use plug-in menu callbacks
10242 * lib/filter.[hc] : implement filter_register_callback() and
10243 filter_get_callbacks() for the above
10244 * lib/libdia.def : export them
10246 * plug-ins/python/debug_objects.py (new file):
10247 sample using the above
10249 2001-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
10251 * plug-ins/shape/shape-export.c (new_shape_renderer):
10252 The name of a shape is now taken from the dir, to conform with
10255 2001-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
10257 * app/properties.c (properties_show): Added title containing
10258 object type, plus (hopefully) fix of the ghost properties dialog.
10260 2001-04-16 Cyrille Chepelov <chepelov@calixo.net>
10262 * app/display.c: remove the display idle handler in case we
10263 destroy the ddisplay (caused crashes in ddd, probably random
10264 crashes elsewhere).
10268 * Makefile.am: hack around gettext-0.10.36's new "features".
10270 * lib/properties.[ch]: added new function object_copy_props().
10271 Added new property type PROP_TYPE_ENDPOINTS
10273 * lib/connection.h: added support for load/saving through the
10274 properties interface.
10276 * lib/object.[ch]: object_load/save/copy_using_properties()
10277 support functions (code factorisations).
10279 * objects/GRAFCET/boolequation.c: check against null values in
10280 boolequation_set_value() and boolequation_destroy().
10282 * objects/GRAFCET/transition.c: Converted from lazyprops to
10283 standard properties. 31% less (x86) code !
10285 * objects/GRAFCET/condition.c: also converted from lazyprops to
10286 standard properties. Also killed lots of code.
10288 2001-04-13 Hans Breuer <hans@breuer.org>
10290 * plug-ins/wmf/wmf.cpp : changed text conversion from
10291 g_utf8_utf16 to g_convert usage. The latter function is already
10292 available in tml's last "official" Gtk+ version (2000-12-26).
10293 This change allows to use recent Dia with either the official
10294 version or the latest cvs "gtk-1-3-win32-production"-branch.
10296 2001-04-14 Lars Clausen <lrclause@cs.uiuc.edu>
10298 * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
10299 * app/disp_callbacks.c:
10300 - Allow submenus in DiaMenus.
10301 - Don't require DiaMenu.title to be non-null (so that
10302 submenus aren't required to have titles)
10304 * objects/FS/function.c:
10305 - object menu now has submenus, an almost complete list of
10306 standard-basis verbs, and a start on nouns.
10307 - box padding, dash length, and other visual attributes are
10308 scaled by the font size... eventually font height will be
10309 a function property.
10310 - draw functions with smaller font to make initial view hold
10311 a reasonable number of functions.
10313 2001-04-13 Cyrille Chepelov <chepelov@calixo.net>
10316 * sheets/chronogram.sheet:
10317 * sheets/jigsaw.sheet:
10318 * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
10319 Wieers <dag@wieers.com>
10321 2001-04-13 Hans Breuer <hans@breuer.org>
10323 * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
10324 to ensure that all the deinitialization is only done once. Fixes
10325 recent app exit crash on win32
10327 * lib/dia_xml.c : provide isinf() replacement for msc which does only
10330 * lib/libdia.def : updated
10332 * objects/makefile.msc : added wanlink.c
10334 * objects/network/wanlink.c : added M_PI_2 definition for poor
10335 platforms which don't have one
10337 * objects/standard/arc.c :
10338 * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
10339 initialized which led to rather huge bounding boxes (try Ctrl^A on
10340 diagrams with Arcs or ZigZagLines).
10341 * objects/*/*.c : to avoid further bugs like the above changed all
10342 object initializations to g_malloc0 or g_new0
10345 2001-04-09 Cyrille Chepelov <chepelov@calixo.net>
10347 * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
10348 doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
10350 * objects/UML/class.c:
10351 * objects/UML/usecase.c:
10352 * objects/UML/large_package.c:
10353 * objects/UML/message.c:
10354 * objects/UML/object.c:
10355 * objects/UML/lifeline.c:
10356 * objects/FS/flow.c:
10357 * objects/FS/flow-ortho.c:
10358 * objects/FS/function.c:
10359 * objects/custom/custom_object.c:
10360 * objects/GRAFCET/vergent.c:
10361 * objects/chronogram/chronoref.c:
10362 * objects/SADT/box.c:
10363 * objects/SADT/annotation.c:
10364 * plug-ins/dxf/dxf-import.c:
10365 * plug-ins/xfig/xfig-import.c:
10366 * plug-ins/wpg/wpg.c:
10369 * app/display.c: /* certainly more WIP than dead code there */
10370 Unused variables, unused static function definitions, forgotten or
10371 incomplete prototypes added or fixed, lack of const or unwanted const,
10372 etc. (mostly clean-ups of leftovers of the pre-properties era).
10373 Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
10374 please check these.
10376 * app/lineprops_area.c: More of the same. Missing prototypes
10377 added, and functions unused outside made static.
10379 * app/recent_files.c:
10380 * app/properties.c:
10381 * app/defaults.c: some variables are used only when doing a GNOME
10384 * app/magnify.c: missing #include <stdlib.h>.
10386 * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
10388 These are a lot of clean-ups (by the way, this compiles and runs
10389 cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
10390 for DEAD_CODE, and if it's yours, judge it.
10392 2001-04-07 Cyrille Chepelov <chepelov@calixo.net>
10394 * plug-ins/dxf-import.c: some progress with the arcs; still some
10395 clean-ups to do and line width scaling issues to figure out.
10397 * objects/standard/arc.c: start_point and end_point properties
10398 (duplicated from standard/line.c)
10400 * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
10403 2001-04-06 Cyrille Chepelov <chepelov@calixo.net>
10405 * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
10406 preliminary support for arcs (doesn't work). Circles and ellipses are
10407 now transparent. Coordinate and width scaling are now a common
10408 static constant (probably before morphing into a preference).
10410 * sheet/checktrans.py: improved error reporting. Made checktrans
10411 count lack of <name xml:lang="code"> as a lack of translation for
10412 language "code" (no, it's not a plot to bring down other
10413 language's scores !)
10415 * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
10416 in the header, and have <name xml:lang="fr"> components.
10418 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
10420 * objects/custom/custom_object.c: temporary hack to fix the shape
10421 bounding box reported by Ben A. Hetland. Proper fix isn't .87
10422 material, see bugzilla #52912.
10424 2001-04-05 Lars Clausen <lrclause@cs.uiuc.edu>
10426 * objects/standard/image.c (get_directory): Now uses
10427 G_SEPARATOR_CHAR_S instead of "/"
10429 * sheets/network.sheet:
10430 * sheets/Logic.sheet:
10431 * sheets/Flowchart.sheet:
10432 * sheets/Electric.sheet:
10433 * sheets/Circuit.sheet:
10435 * sheets/Pneumatic.sheet:
10436 * sheets/SDL.sheet:
10437 * sheets/UML.sheet:
10438 * sheets/GRAFCET.sheet:
10439 * sheets/MSE.sheet:
10440 * sheets/chronogram.sheet:
10441 * sheets/civil.sheet:
10442 * sheets/network.sheet:
10443 Danish translations.
10445 * objects/standard/image.c (get_directory): Changed get_directory
10446 to use g_dirname to find the directory part.
10448 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
10451 * sheets/Electric.sheet:
10452 * sheets/Flowchart.sheet:
10453 * sheets/Logic.sheet:
10454 * sheets/network.sheet: More Dutch translations from Dag Wieers.
10456 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
10458 * sheets/checktrans.py: now emits a warning when two descriptions
10459 for a single language code are found.
10462 * sheets/Makefile.am: -translation-reports now also depend on their
10465 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
10467 * sheets/Circuit.sheet:
10468 * sheets/Contact.sheet:
10469 * sheets/Logic.sheet:
10470 * sheets/chronogram.sheet:
10471 * sheets/sybase.sheet:
10472 Dutch translations from Dag Wieers <dag@wieers.com>
10474 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
10476 * po-checktrans.py: Now shows the detailed counts alongside the
10477 percentage of translations.
10479 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
10482 * po-checktrans (NEW):
10483 * po-checktrans.py (NEW): builds core-translation-report:
10484 percentages of core (gettext) translations done [Not placed into
10485 po/ where that should belong, because of integration fear^Wissues
10488 TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and
10489 sheets/sheet-translation-report probably ought to be copied on the
10490 user's /usr/share/doc/dia (or equivalent) directory.
10492 * sheets/Makefile.am: sheet-translation-report now a simple
10493 EXTRA_DIST; make install won't install it by default.
10495 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
10497 * app/preferences.c: changed the default grid colour to something
10500 * shapes/SDL/*.shape:
10501 * sheets/SDL.sheet: renamed all SDL shapes to conform to the
10502 "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
10503 DIA FILES (well, for files using SDL), see the mailing list
10504 archive "SDL (ab)using the global shape namespace" for a script to
10505 do this conversion.
10507 * sheets/SDL.sheet: translated into French
10508 * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
10510 2001-04-02 Cyrille Chepelov <chepelov@calixo.net>
10512 * lib/dia_xml.c: made data_point() more paranoid
10514 * sheets/Makefile.am:
10515 * sheets/checktrans (NEW):
10516 * sheets/checktrans.py: Made checktrans handle more gracefully the
10517 absence of python and python-xml packages, and made the error
10518 message more helpful.
10520 2001-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
10522 * lib/render_object.c (new_render_object): Made initial handles
10523 behave like on most other objects.
10525 * app/load_save.c (read_objects): Fixed premature free'ing ofr
10526 typestr causing garbage.
10528 2001-04-01 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10530 * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
10531 accouting for handle ordering through copy and save. (#51479)
10533 2001-03-31 Cyrille Chepelov <chepelov@calixo.net>
10535 * sheets/Circuit.sheet: Norwegian translation mistagged to German.
10537 2001-03-31 Steffen Macke <sdteffen@yahoo.com>
10539 * sheets/Circuit.sheet
10541 * sheets/network.sheet: Updated German translations
10543 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
10546 * app/lineprops_area.c: The return of the revenge of the arrow
10547 heads. Now all types covered by ISO 10303-201 should be covered.
10549 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
10551 * sheets/Flowchart.sheet: translations in probably Hungarian were
10552 a victim of cut-n-paste from the German one. Fixed (hopefully).
10553 * sheet/UML.sheet: translation in probably Norwegian was a victim
10554 of cut-n-paste from the French one. Fixed (hopefully).
10555 * sheets/Logic.sheet: French translation not tagged with
10558 * sheets/checktrans.py:
10559 * sheets/Makefile.am: new file, sheet-translation-report, to be
10560 installed along the sheets, show how much of them has been
10561 translated into which language (I wish the result was prettier...)
10563 * po/README: most translators don't read this file, but anyway...
10565 * sheets/.cvsignore:
10566 * objects/network/.cvsignore: the usual negotiation with CVS.
10568 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
10570 * sheets/*.sheet: French translations
10572 2001-03-28 Cyrille Chepelov <chepelov@calixo.net>
10574 Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
10576 ** objects/network/network.c:
10577 ** objects/network/wanlink.c:
10578 ** objects/network/pixmaps/wanlink.c:
10579 ** sheets/network.sheet:
10580 ** objects/network/Makefile.am: a better object to use instead of
10581 the older WAN Connection.
10583 ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
10585 ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
10588 * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
10589 Arc; kept the C file name (because CVS wouldn't like it), and
10590 still registering the older object name (but advertising the newer
10591 one in sheets/GRAFCET.sheet).
10593 2001-03-24 Hans Breuer <hans@breuer.org>
10595 * app/dia.def : some plug-ins (currently only python, xfig) are using
10596 functions from the dia executable. To get them working these functions
10597 need to be explicit exported on win32. IMO the much cleaner way would
10598 be to move these functions to libdia, but that would require some
10599 long term restructuring ...
10601 * lib/libdia.def : updated
10603 * plug-ins/makefile.msc : build xfig plug-in
10605 2001-03-24 Hans Breuer <hans@breuer.org>
10607 * app/diagram.c : g_strdup (dia->filename) because it will be
10610 * app/display.c : set ddisp->renderer to NULL after destruction.
10611 This may solve or help to identify erroneous access to it after
10614 * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
10615 get 'umlauts' working
10617 2001-03-22 Cyrille Chepelov <chepelov@calixo.net>
10619 * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
10620 were reversed... (look for the patch, and drink a beer to my
10623 2001-03-23 Hans Breuer <hans@breuer.org>
10625 * app/app_procs.c : don't g_error () if the config directory
10626 can't be created (at least not on windoze) because it's quite
10627 common that the user don't read or understand the FAQ ...
10629 * app/cursor.c : use ddisplay_active () instead of active_display
10632 * app/display.[hc] : made active_display var static and provide
10633 an accessor funtion ddisplay_active_diagram ()
10635 * app/dia-props.c : don't store the active_diagram, but ask
10636 for it everytime it needed.
10638 * lib/properties.h : #include "intl.h"
10640 * lib/makefile.msc : need to take care of inclusion order to
10641 avoid clashes with gtk+2.0's gdk-pixbuf
10643 * objects/makefile.msc : added uml/stereotype.c to build
10645 2001-03-23 Lars Clausen <lrclause@cs.uiuc.edu>
10647 * **/*.c: Added config.h to the remaining .c files, and changed
10648 all to be <config.h>.
10650 2001-03-22 Steffen Macke <sdteffen@yahoo.com>
10655 * app/lineprops_area.c: added new arrow types with double
10658 2001-03-20 Steffen Macke <sdteffen@yahoo.com>
10660 * shapes/Civil/civil_gas_bottle.xpm
10661 * shapes/Civil/civil_gas_bottle.shape
10662 * sheets/civil.sheet
10663 * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
10666 2001-03-20 Lars Clausen <lrclause@cs.uiuc.edu>
10668 * objects/custom/shape_info.c (load_shape_info):
10669 * objects/custom/shape_info.h:
10670 * objects/custom/custom_object.c (custom_update_data):
10671 Better support for text outside the box -- new attributes 'resize'
10672 and 'align' for text entity. Align not fully supported yet.
10674 * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
10676 2001-03-20 James Henstridge <james@daa.com.au>
10678 * app/interface.c (display_data_received_callback): comment out
10681 2001-03-19 James Henstridge <james@daa.com.au>
10683 * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
10685 * objects/UML/realizes.c: similar here.
10687 * objects/UML/implements.c: similar here.
10689 * objects/UML/component.c: similar here.
10691 * objects/UML/generalization.c: same here.
10693 * objects/UML/dependency.c: allow NULL for ->name and
10694 ->stereotype. This fixes a number of problems in loading saved
10697 * lib/properties.c: various changes so that NULL string properties
10700 * objects/standard/line.c (line_update_data):
10701 line->extra.start_long and line->extra.end_long were not being
10702 initialised. This fixes potential problems with the bounding box
10703 of "Standard - Line" objects.
10705 2001-03-19 Hans Breuer <hans@breuer.org>
10707 * app/commands.c : added win32 specific code to display a html
10708 file. #include "text.h" for text_delete_all prototype.
10711 * app/dia.rc : (new) to give Dia win32 an icon
10713 * app/win32print.[ch] : new files to support direct postscript
10714 file printing on win32. Beware: it *requires* a ps-printer!
10716 * app/paginate_psprint.c : disable the signal code for win32 build
10717 and added small specific changes to support win32print.
10719 * app/makefile.msc : added win32print and linking shell32.lib
10721 * lib/libdia.def : updated
10723 2001-03-18 Kevin Breit <battery841@mediaone.net>
10725 * doc/en/dia-C.omf: Added file. Dia should now list in the Nautilus
10728 2001-03-17 James Henstridge <james@daa.com.au>
10730 * app/paginate_psprint.c (diagram_print_ps): add code that traps
10731 SIGPIPEs during printing. This gets rid of a number of crashes
10732 caused by printing (eg. typing an incorrect print command).
10734 * dia.spec (%install): gzip the manpage.
10736 * lib/beziershape.c (beziershape_save): fix off by one error in
10737 beziershape save code, which was adding an extra segment to the
10740 * app/menus.c: add a separator in the gnome version of the help
10743 * app/app_procs.c (app_init): add a --nosplash argument which
10744 disables the splash screen.
10746 * app/dia_embedd.c (main): don't leave the splash screen open for
10747 embeddable component.
10749 * app/splash.c (app_splash_init): the gtk_widget_show_now() call
10750 didn't seem to be showing the splash screen like expected, so I
10751 have replaced it with some code that calls gtk_main() until the
10752 first exposure of the window.
10754 2001-03-16 James Henstridge <james@daa.com.au>
10756 * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
10758 * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
10761 * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
10763 * app/Makefile.am (dia_core_files): remove splash.h from file
10764 list, as it doesn't exist.
10766 * doc/en/Makefile.am (uninstall-local): remove the docdir on
10769 * doc/Makefile.am (uninstall-local): target to remove the C
10772 * dia.spec (%files): include the documentation in the package.
10774 * app/menus.c (toolbox_menu_items): add menu item for manual,
10775 which calls help_manual_callback.
10777 * app/commands.c (help_manual_callback): find help file and load
10778 netscape to view it.
10780 * app/commands.h: add prototype for help_manual_callback()
10782 * doc/Makefile.am (helpdir): similar here.
10784 * doc/en/Makefile.am (helpdir): make the helpdir
10785 $(pkgdatadir)/help/en in the non gnome case.
10787 * configure.in (HAVE_GNOME): add conditional.
10789 * doc/en/Makefile.am: handle the graphics in a more general way,
10790 so it is easier for Kevin to add them to the build (just add them
10791 to the GRAPHICS var).
10793 * app/Makefile.am (embed_extra_print_files): make the case of
10794 building without gnome-print support but with bonobo support work.
10795 dia-embedd needs to be include the gnome-print
10797 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
10799 * samples/Makefile.am: included all samples in the distribution....
10801 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
10803 * configure.in: removed premature test for DPS. Added -*- m4 -*-
10804 at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
10805 vanished, removed it from ALL_LINGUAS.
10807 * lib/charconv.[ch] (NEW): a very small wrapper around
10808 unicode_iconv to convert strings between utf8 and local charset
10809 (actually, ISO-8859-1, though one can do
10810 CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
10812 * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
10813 library to help build Postscript streams which use as many custom
10814 font encodings as necessary to correctly represent all characters
10815 used (testing from users with non-latin1 and/or more than 256
10816 characters in routine use *very* welcome).
10818 * app/Makefile.am, lib/Makefile.am: integrated these into the
10821 * shapes/Logic/.cvsignore (NEW): .cvsignore
10823 * app/render_eps.h: forwarded some changes Lars forgot to include.
10824 * app/render_eps.c: turned off ASCII85 and FILTERS, as this
10827 2001-03-08 Kevin Breit <battery841@mediaone.net>
10829 * doc/en/home_network.png: Added file.
10830 * doc/en/line_props.png: Added file.
10831 * doc/en/usage-objects.sgml: Added two graphics to file.
10832 * doc/en/usage-quickstart.sgml: Added one graphic to file.
10834 2001-03-06 Kjartan Maraas <kmaraas@gnome.org>
10836 * app/grid.h: Place comment around text after #endif.
10837 * lib/bezier_conn.c: #include <string.h>.
10838 * lib/beziershape.c: #include <string.h>.
10839 * lib/connpoint_line.h: Comment after #endif.
10840 * lib/dia_dirs.c: #include <string.h>.
10841 * lib/element.c: Same.
10842 * lib/lazyprops.c: #include <config.h> and "intl.h".
10843 * lib/lazyprops.h: Comment out text after #endif.
10844 * lib/neworth_conn.c: #include <string.h>
10845 * lib/orth_conn.c: Same here.
10846 * lib/poly_conn.c: Here too.
10847 * lib/polyshape.c: And here.
10848 * lib/properties.c: Remove #include "intl.h" from here and add
10849 an array of static strings to work around bug in gettext that
10850 makes it miss strings in a #define body.
10851 * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
10852 * objects/GRAFCET/boolequation.h: Same here.
10853 * objects/chronogram/chronoline_event.h: Add prototype for
10856 2001-03-05 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10858 * objects/FS/function.c:
10859 * objects/FS/flow.c:
10860 * objects/FS/flow-ortho.c:
10861 Updated to use properties.
10863 2001-03-03 James Henstridge <james@daa.com.au>
10865 * lib/lazyprops.c (__propdlg_build_enum): translate the radio
10866 button labels when creating them.
10868 2001-02-28 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10870 * objects/UML/actor.c
10871 * objects/UML/realizes.c
10872 * objects/UML/implements.c
10873 * objects/UML/generalization.c
10874 * objects/UML/dependency.c
10875 * objects/UML/constraint.c
10876 Updated to use properties.
10878 * objects/UML/stereotype.c
10879 * objects/UML/stereotype.h
10880 Generalized to any kind of bracketting.
10882 2001-02-28 James Henstridge <james@daa.com.au>
10884 * app/menus.c: add help entry to the help menu. Need to get this
10885 working for the non GNOME case as well (maybe put help under
10886 $(datadir)/dia/help for non GNOME?)
10888 * doc/en/topic.dat: add a topic.dat file for GNOME menus.
10890 * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
10891 this element so that we get a meaningful filename in the html
10894 * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
10897 * configure.in (DB2HTML): add a check for the db2html program, and
10898 set an automake conditional if it is found.
10900 * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
10901 and descend into doc/ directory while building.
10903 * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
10904 we need more complex rules for building the docs.
10906 2001-02-25 Hans Breuer <hans@breuer.org>
10908 * config.h.win32 : some cleanup
10910 * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
10911 are deprecated since glib-1.3.2. Sorry needing to use them
10912 contionally, but there is no glib-1.2 for win32
10914 * app/recent_files.c : use g_strescape (params) conditionally
10916 * lib/connection.c : include string.h for memcpy
10918 * lib/geometry.h : added some stuff for compatibility with
10919 msvc, which previously came from included config.h
10921 * lib/libdia.def : updated
10923 * objects/makefile.msc : updated
10925 * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable
10926 'extra' used without having been initialized
10928 * objects/network/bus.c(658) : initialize 'extra'
10930 * plug-ins/makefile.msc : updated
10932 * plug-ins/cgm/cgm.c :
10933 * plug-ins/pstricks/render_pstricks.c :
10934 g_free() memory allocated by dia_image_rgb_data(). Plugs possibly
10937 * plug-ins/python/python.c : use HAVE_DIRENT_H
10939 2001-02-23 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10941 * lib/connection.c (connection_update_boundingbox):
10942 Made the BB shrink on right and lower sides, too.
10944 2001-02-23 Kjartan Maraas <kmaraas@gnome.org>
10946 * */*.c: #incude <config.h> at the top.
10947 * */*.h: Remove include of "config.h" since it should only
10948 be included in .c files and at the very top for things to
10950 * sheets/*.sheet: Updated Norwegian translations.
10952 2001-02-22 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10954 * objects/UML/small_package.c:
10955 * objects/UML/class.c:
10956 * objects/UML/node.c:
10957 * objects/UML/usecase.c:
10958 * objects/UML/lifeline.c:
10959 * objects/UML/message.c:
10960 Various cleanup of properties in particular. Now much more use of
10961 standard properties.
10963 * lib/diagramdata.c (layer_render): Visualization of bounding
10964 boxes, for debugging purpoises.
10966 2001-02-22 Cyrille Chepelov <chepelov@calixo.net>
10969 * lib/connection.[ch]:
10970 * lib/poly_conn.[ch]:
10971 * lib/polyshape.[ch]:
10972 * lib/bezier_conn.[ch]:
10973 * lib/beziershape.[ch]:
10974 * lib/orth_conn.[ch]:
10975 * lib/neworth_conn.[ch]:
10976 * lib/element.[ch]: Changed a bit the _update_boundingbox()
10977 interface. Now the parent elements have an extra_spacing
10978 structure, which child objects just need to fill, to take care of
10979 most arrow & line width extra space needs.
10981 * objects/**/*.c: updated all objects to the new interface.
10982 While at it, killed all instances of (Object *) downcasts (phew !)
10984 * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
10985 doesn't speak about.
10987 2001-02-21 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10989 * sheets/Logic.sheet: New sheet for Logic symbols.
10991 2001-02-21 James Henstridge <james@daa.com.au>
10993 * app/menus.c (dia_gnome_menu_get_widget): new function to find a
10994 widget by its path name. Walks the GnomeUIInfo heirachy rather
10995 than widget tree, compares untranslated label names and ignores
10996 underscores in the labels.
10997 (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
10998 lookups are not dependent on the current locale, as with
10999 gnome_app_find_menu_pos.
11001 * acconfig.h: guard against multiple inclusion of config.h.
11003 * app/select.c (select_style_callback): simply set the selection
11004 style to the value of action.
11006 * app/menus.c (menus_init): simplify the item factory based menu
11007 code a bit. It looks like it was using some code cut and pasted
11008 from the gimp, which looked a bit unnecessary. Things work fine
11010 (selectmenu): set the action to the type of selection mode
11012 (display_menu_items): use the symbolic enumeration values for the
11015 * app/plugin-manager.c:
11016 * app/plugin-manager.h:
11020 * app/select.h: change prototypes.
11022 * app/commands.c: update all callback prototypes, and get rid of
11023 some #ifdef GNOME's.
11025 * app/commands.h: change function prototypes.
11027 * app/dia_embedd.c (save_fn):
11028 s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
11030 * app/menus.c (menus_init): for gnome menus, use
11031 gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
11032 structure that proxies the callbacks to have the same signature as
11033 GtkItemFactory type 1 callbacks.
11034 (menus_init): for GTK menus, change from callback type 2 to type
11036 (display_menu_items): add back tearoffs. I don't know who removed
11037 these for the gtk menu case.
11039 2001-02-20 Kevin Breit <battery841@mediaone.net>
11041 * doc/en/usage-objects-special.sgml: Fixed a few of the special
11042 object descriptions. More to come in the next few days.
11044 2001-02-20 Lars Clausen <lrclause@cs.uiuc.edu>
11046 * app/render_eps.c: Fixed for internationalized floating point
11049 * objects/UML/note.c: Fixed properties -- was missing
11050 Get/ApplyPropertiesFunc. Also improved update to recalculate text
11053 2001-02-19 Lars Clausen <lrclause@cs.uiuc.edu>
11055 * plug-ins/xfig/xfig-import.c:
11056 File added importing xfig files. Still very rough, but good
11057 enough to let others hack on it.
11059 2001-02-07 Cyrille Chepelov <chepelov@calixo.net>
11062 * app/linewidth_area.c:
11064 * lib/properties.c:
11066 * objects/ER/attribute.c:
11067 * objects/ER/entity.c:
11068 * objects/ER/relationship.c:
11069 * objects/custom/custom_object.c:
11070 * objects/flowchart/box.c:
11071 * objects/flowchart/diamond.c:
11072 * objects/flowchart/ellipse.c:
11073 * objects/flowchart/parallelogram.c:
11074 * objects/standard/box.c:
11075 * objects/standard/textobj.c: per Vlad Harchev's request, made
11076 page sizes of gtk_adjustments different than their step sizes.
11077 When sensible values of page size weren't found (overwhelming
11078 majority of cases), page sizes were set to 10.0 * respective step
11081 2001-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
11083 * objects/network/hub.c:
11084 Patch from Hubert Figuiere applied, adding connection points.
11086 2001-02-02 James Henstridge <james@daa.com.au>
11088 * app/display.c (new_display): set update id to 0 here.
11089 (ddisplay_update_handler): rename from ddisplay_flush, and set
11090 update_id to 0 at end of processing.
11091 (ddisplay_flush): new implementation that simply sets an idle
11092 handler to perform the actual drawing.
11094 * app/display.h: add structure member to hold the redraw idle
11097 2001-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
11099 * objects/standard/ellipse.c (ellipse_copy):
11100 * objects/standard/zigzagline.c (zigzagline_copy):
11101 Fix of copying provided by Martin Hawlisch.
11103 2001-01-23 Kevin Breit <battery841@mediaone.net>
11105 * doc/en/graphics/: added directory
11107 * doc/en/graphics/greendots.png: added file
11109 * doc/en/*sgml: made minor and some major changes to prepare for 1.4
11112 2001-01-23 Kevin Breit <battery841@mediaone.net>
11114 * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
11115 thanks to John Fleck!
11117 2001-01-21 Kevin Breit <battery841@mediaone.net>
11119 * doc/en/*sgml: made just minor changes to a few lines; nothing major.
11121 2001-01-12 Michael Meeks <michael@helixcode.com>
11123 * app/dia_embedd.c (init_server_factory): do a bonobo_activate
11124 so our POA gets setup properly.
11126 * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
11127 things we g_malloc.
11129 * configure.in: Use bonobox_print.
11131 * app/dia_embedd.c (embeddable_factory): add print interface.
11132 (object_print): impl.
11134 2001-01-11 Michael Meeks <michael@helixcode.com>
11136 * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
11137 (load_fn, save_fn): impl.
11138 (view_factory): hide modified status bar, & use activate fn.
11139 (refresh_view): force redraws of the views.
11140 (view_show_hide): split from
11141 (dia_view_activate): here.
11143 * app/diagram.c (diagram_load_into): split from diagram_load.
11144 (new_diagram): simplify bu splittin stuff into
11145 (diagram_init): here.
11147 2001-01-10 Steffen Macke <sdteffen@yahoo.com>
11149 * shapes/jigsaw/*.shape: replaced #000000 with foreground
11150 and #ffffff with background
11152 2001-01-08 Steffen Macke <sdteffen@yahoo.com>
11154 *configure.in: GTK+-build was broken due to missing
11157 2001-01-06 Michael Meeks <michael@helixcode.com>
11159 * app/dia_embedd.c (main): add running context support.
11160 (dia_embeddable_destroy): remove old running object counting.
11161 (embeddable_factory): ditto.
11162 (view_factory): comment out menu path hiding.
11164 * lib/sheet.c (load_register_sheet): use free to free
11165 stuff from libxml not g_free.
11167 * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
11169 * configure.in: remove USE_OAF checks, check for a precice
11170 Bonobo version >= 0.31, revamp bits.
11172 * app/dia_embedd.c (init_server_factory): upd.
11173 (init_dia_factory): remove OAF conditionals, everything uses
11176 * app/GNOME_Dia.oafinfo: rename OAFIIDs
11178 * app/Makefile.am: remove ancient gnorba code.
11179 rename dia.oafinfo to GNOME_Dia.oafinfo
11181 2001-01-07 Hans Breuer <Hans@Breuer.Org>
11185 * readme.win32 : some more files required or useful to build
11188 * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
11189 fill_bezier implementation, boundary drawing in fill mode, etc.
11190 Next one complaining gets the source, uncommented ...
11192 * shapes/network/router-symbol.xpm
11193 * shapes/network/switch-atm-symbol.xpm
11194 * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
11195 from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect
11196 the files as XPMs. Maybe the X versions of these functions are more
11199 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
11201 * plug-ins/python/Makefile.am: added libart path
11203 * plug-ins/python/python.c: added dirent.h
11205 * configure.in: added es_ES and pt_BR to ALL_LINGUAS
11207 2001-01-06 Hans Breuer <Hans@Breuer.Org>
11209 * objects/uml/actor.c
11210 * objects/uml/branch.c
11211 * objects/uml/class.c
11212 * objects/uml/classicon.c
11213 * objects/uml/component.c
11214 * objects/uml/large_package.c
11215 * objects/uml/node.c
11216 * objects/uml/note.c
11217 * objects/uml/object.c
11218 * objects/uml/small_package.c
11219 * objects/uml/state.c
11220 * objects/uml/usecase.c : started to implement the generic property
11221 interface for the uml objects. Would appreciate some help on how
11222 to implement properties which are list of properties themselves,
11223 e.g. member functions and their parameters of UMLClass.
11225 2001-01-06 Hans Breuer <Hans@Breuer.Org>
11227 * plug-ins/python/diamodule.c : finally ported to win32.
11228 Added new objects and implemented register_export function.
11230 * plug-ins/python/pydia-object.h
11231 * plug-ins/python/pydia-display.c
11232 * plug-ins/python/pydia-handle.c
11233 PyObject_HEAD_INIT needs some tweakink on win32. Done in
11234 pydia-object.h; others files simply using it.
11236 * plug-ins/python/pydia-layer.c : reflect
11237 layer_find_closest_connection(_)point renaming
11239 * plug-ins/python/pydia-object.c : add property properties.
11240 Also change bounding_box to DiaRectangle.
11242 * plug-ins/python/python.c : extended error reporting; use
11243 all *.py files from Dia's plug-in dir instead of hardcoded
11244 test.py. This sollution should be fine with Win32, but on
11245 Unix it may need some tweaking (dunno) ...
11247 * plug-ins/python/export-object.py
11248 * plug-ins/python/export-render.py : test and documentation
11249 implementations for export filter implementations in Python
11251 * plug-ins/python/pydia-color.[hc]
11252 * plug-ins/python/pydia-diagramdata.[hc]
11253 * plug-ins/python/pydia-error.[hc]
11254 * plug-ins/python/pydia-export.[hc]
11255 * plug-ins/python/pydia-font.[hc]
11256 * plug-ins/python/pydia-geometry.[hc]
11257 * plug-ins/python/pydia-image.[hc]
11258 * plug-ins/python/pydia-properties.[hc]
11259 * plug-ins/python/pydia-property.c
11260 * plug-ins/python/pydia-render.c : new objects in new files
11262 * plug-ins/python/makefile.am : added new files but can't test it
11264 * plug-ins/python/pydia.def
11265 * plug-ins/python/makefile.msc : for win32 build
11267 * plug-ins/cgm/cgm.c
11268 * plug-ins/dxf/dxf-import.c
11269 * plug-ins/dxf/dxf-export.c
11270 * plug-ins/hpgl/hpgl.c : reflect export API change
11272 * plug-ins/shape/shape-export.c : reflect export API change
11273 and check for libart (better the availibility of a png exporter)
11274 at run-time instead of compile-time.
11276 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
11278 * app/recent_files.h was missing from Hans's commit
11280 * plug-ins/shape/shape_export.c: shape export was broken
11281 due to interface changes
11283 2001-01-05 Hans Breuer <Hans@Breuer.Org>
11285 Applied Steffen's recent file list patch :
11286 * app/Makefile.am : added recent_files.[hc]
11287 * app/diagram.c : add files to recent file list
11288 * app/menus.c : add recent file menu
11289 * app/app_procs.c : changed initialization order to
11290 make recent file list work with command line processing.
11292 The Filter export()/import() functions have got an additional
11293 parameter to allow multiple filters via one C callback (required
11294 for Python bindings)
11296 * app/commands.[hc] : corrected the signature for gtk menu callback
11297 functions, which actually use the second or third parameter. This
11298 is the absolute minimum change to make these functions/menu entries
11299 work again. Using the other possible gtk menu callback signature
11300 would have required one more function to change. (see mailing list
11301 thread "Objects/Align/Equal Distance" for more information.
11303 * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
11304 zoom-combo focus patch
11307 * app/interface.c : wrapped the Zoom Combo code into
11308 #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
11309 improvement but cluttering the user interface. Also it wasn't
11310 compiling on Win32 anyway. The win32 version does define
11311 WITHOUT_ZOOM_COMBO to keep the old look.
11312 There are plans to use the statusbar to display size and placement
11313 of selected objects, whereas the Zoom Combo would need to get out
11314 of the way as well.
11316 Added "Save Changes?" to diagram close dialog. Hopefuly the
11317 Yes/No/Cancel option isn't too much windoze like. IHMO this is
11318 an useability improvement.
11323 * app/layer_dialog.c
11324 * app/paginate_psprint.c
11326 - reflect signature changing of filter->export function
11327 - replaced '/' with G_DIR_SEPARARTOR where appropriate
11329 * app/diaunitspinner.c
11330 * app/render_libart.c
11331 added misssing headers like <string.h>
11333 * app/object_ops.c : fixed copy&paste bug in dialog string
11335 * app/splash.c : gdk_widget_show_now () does not ensure actual
11336 drawing of the splash screen, at least not on win32. Reuse the
11337 previous implementation with gtk_main_iteration() again.
11339 * */makefile.msc : make use of the build module (available in
11340 gnome-cvs/build. Updated for other source changes
11342 * lib/filter.h : added an user_data pointer to <ex/im>port()
11343 function signature and Dia<Im/Ex>portFilter to allow different
11344 filters to reuse the same callback function
11346 * lib/font.c : #include <string.h>
11351 * lib/neworth_conn.c
11352 * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
11354 * */*.def : export function definition files required by win32 build
11356 * objects/custom/custom.c : #include <string.h>
11358 * plug-ins/pstricks/render_pstricks.c
11359 * plug-ins/shape/shape_export.c
11360 * plug-ins/svg/render_svg.c
11361 reflect changes to filter export function signature
11363 * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
11364 mostly work as expected
11365 * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
11366 to build the wmf plug-in because on the one hand the GDI emulation
11367 isn't finished and on the other hand it isn't required when building
11368 for win32. Is there anybody out there, who wants to save WMF on non
11369 windoze platforms ?
11371 * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
11372 offset into account.
11374 2001-01-02 Steffen Macke <sdteffen@yahoo.com>
11376 * app/Makefile.am: added missing plug-ins to run_dia.sh
11378 * lib/paper.c: added paper sizes A0, A1, A2
11380 * objects/UML/class.c
11381 objects/UML/class.h
11382 objects/UML/class_dialog.c: added support for colored UML
11385 2000-12-30 Kevin Breit <battery841@mediaone.net>
11387 * doc/en/usage-customization.sgml: added more content
11389 2000-12-24 Kevin Breit <battery841@mediaone.net>
11391 * doc/en/usage-layers.sgml: added file, contributed by Remypsb
11392 <remy.viard@laposte.net>
11394 2000-12-24 Steffen Macke <sdteffen@yahoo.com>
11396 * added limiting lines to Civil Engineering sheet,
11397 fixed vertical pump icon
11399 2000-12-20 Steffen Macke <sdteffen@yahoo.com>
11401 * updated/additional Civil Engineering shapes: better icons,
11402 shapes use foreground/background colors now and are filled
11404 2000-12-03 Kevin Breit <battery841@mediaone.net>
11406 * doc/en/dia-manual.sgml Integrated a few diffs. New section should be
11407 the selection <sect1>
11409 2000-11-29 Fredrik Hallenberg <hallon@lysator.liu.se>
11411 * app/load_save.c (diagram_data_save): avoid using obsoleted
11412 libxml calls (only matters when compiling with libxml2)
11414 2000-11-25 James Henstridge <james@daa.com.au>
11416 * app/disp_callbacks.c (ddisplay_drop_object): add a function to
11417 handle the tool drops on the canvas.
11419 * app/interface.c (display_data_received_callback): do the check
11420 to make sure that the drag is from a local toolbox here as well.
11422 * app/interface.c (create_tools): unref the pixmap/mask after
11423 creating the GtkPixmap.
11424 (tool_setup_drag_source): function to set up a drag source for
11425 create object tool buttons.
11426 (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
11427 (fill_sheet_wbox): same here.
11428 (create_display_shell): set up the display canvas as a drag
11430 (display_drop_callback, display_data_received_callback): functions
11431 to handle drops of tool buttons.
11433 * app/menus.c (menus_init): don't use gnome_popup_menu_new(). It
11434 does weird shit to the user_data pointer for a menu item. Object
11435 alignment should work again now.
11437 * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
11438 NULL, and mark this function static.
11439 (app_splash_init): use gtk_widget_show_now() instead of the
11440 gtk_main_iteration loop.
11441 (app_splash_init): connecting gtk_widget_destroy to the destroy
11442 signal of a widget seems pretty useless.
11444 2000-11-23 Kevin Breit <battery841@users.sourceforge.net>
11446 * doc/en/dia-manual.sgml:
11447 Added sect1 for advanced object types. Starting development
11450 2000-11-18 Kevin Breit <battery841@mediaone.net>
11452 * doc/en/dia-manual.sgml:
11453 Stupid spelling fixes.
11455 2000-11-18 Kevin Breit <battery841@mediaone.net>
11457 * doc/en/dia-manual.sgml:
11458 Just some small changes I made. Props to Greg LeBlanc on the
11461 2000-11-17 Alexander Larsson <alla@lysator.liu.se>
11464 (ddisplay_add_display_area): Clip input rectangle to
11465 the visible part of the display.
11466 (ddisplay_scroll): Optimization, don't scroll and
11467 redraw if moving to the same position as before.
11469 * app/render_libart.c (renderer_libart_copy_to_window):
11470 Removed sanity check. Now moved to ddisplay_add_display_area().
11473 Added return at end of file.
11475 2000-11-13 Kevin Breit <battery841@mypad.com>
11476 * doc/en/dia-manual.sgml
11477 Commited manual changes from Henry House <hajhouse@houseag.com>
11479 2000-10-21 Hans Breuer <Hans@Breuer.Org>
11480 * lib/beziershape.c :
11481 The previous code was accessing unowned memory due to IHMO
11482 wrong index calculation. Now it appears to be fixed.
11486 * plug-ins/makefile.msc
11487 * objects/makefile.msc
11488 * app/makefile.msc: (new files)
11489 Makefiles for Dia on Win32, Micro$oft VC only.
11491 * plug-ins/pstricks/render_pstricks.c
11492 * plug-ins/dxf/dxf-import.c
11493 * plug-ins/shape/shape-export.c
11494 * plug-ins/svg/render_svg.c
11497 * app/preferences.c
11501 * objects/custom/custom.c
11502 * objects/standard/image.c
11503 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H
11504 where appropriate, add missing prototypes like <string.h>
11506 * plug-ins/wmf/wmf_gdi.cpp
11507 * plug-ins/wmf/wmf_gdi.h:
11508 start of wmf write functions for non Win32 platform. Not
11509 finished yet. The other way to get it working maybe to
11510 link the plug-in against wine libs.
11512 * plug-ins/wpg/wpg.c : add missing brace
11514 * app/load_save.c :
11515 Handling for unknown objects at load time. Previously Dia
11516 was crashing, if you try to load a file referencing objects
11517 whiches plug-ins aren't installed/available. Now it spits out
11518 a warning and ignores the unknown objects.
11521 toolbox DND support for files like The Gimp does it.
11525 Simple splash screen support and usage.
11528 Splash screen, portability fixes, dont' g_error if there is
11529 g_get_homedir return NULL. This may remove the one and only
11533 Make it compile without ENABLE_NLS
11535 * app/render_libart.c :
11536 Sanity check to avoid calling libart with wrong window coordinates.
11537 They come from the update handler. Direct Gdk is dealing nicely
11538 with coordinates out of range, libart does access un-owned memory
11539 in this case, mostly causing crashes.
11541 * app/winmain.c: (new file) Export the Win32 Gui version of the
11542 main function. This file is only required for Windoze.
11544 * app/splash.c: (new file) splash screen implementation
11548 * lib/diavar.h: (new file)
11549 moved special variable export code to diavar.h, because it is
11550 needed in color.h and font.h
11553 M$VC cann't export inlined functions. Quick hack to let it
11554 link again. Probably the glib mechanics should be used here?
11556 * objects/UML/lifeline.c : initialize var before usage
11558 * objects/GRAFCET/step.c : removed unused var
11560 2000-10-14 James Henstridge <james@daa.com.au>
11562 * app/render_gnomeprint.c (draw_image): change code so images
11563 don't get flipped when printing.
11565 * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
11566 sure that the return value of
11567 gnome_print_context_new_with_paper_size is not NULL.
11569 * app/render_gnomeprint.c (draw_arc): add code to convert arcs
11570 into a series of bezier segments.
11571 (fill_arc): similar code to handle filled arc segments.
11573 2000-10-12 Fredrik Hallenberg <hallon@lysator.liu.se>
11580 * app/disp_callbacks.c
11582 * app/linewidth_area.c
11583 * app/paginate_psprint.c
11584 * app/preferences.c
11588 * app/neworth_conn.c
11590 * objects/standard/box.c: various small changes to get rid of
11591 annoying warnings (eg faulty prototypes and unused variables)
11593 * app/disp_callbacks.c
11596 * app/magnify.h: update magnify tool icon when pressing/releasing
11597 shift. I will try to make something more general so that similar
11598 things can be used by other tools.
11600 * shapes/SDL/inout.shape
11601 * shapes/SDL/return.shape: fixed some typos
11603 2000-10-09 James Henstridge <james@daa.com.au>
11605 * objects/custom/shape_info.c (parse_path): apply patch from
11606 Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
11609 2000-10-08 James Henstridge <james@daa.com.au>
11611 * objects/standard/image.c (image_set_props): if the file could not
11612 be loaded, show the broken image icon.
11614 * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
11616 * plug-ins/shape/*: the shape export plugin by Steffen Macke.
11618 * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
11619 object icon when loading from a file. This allows you to have PNG
11620 icon files for shapes.
11622 2000-10-07 James Henstridge <james@daa.com.au>
11624 * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
11626 * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
11627 GDK_IMLIB_CFLAGS reference.
11629 * app/commands.c (help_about_callback): remove imlib code.
11631 * lib/dia_image.c: only include the pixbuf version of the image
11634 * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
11636 * configure.in (CPPFLAGS): remove the check for imlib, as we now
11637 require gdk-pixbuf.
11639 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
11640 conditionally define \setfont as well.
11642 2000-10-05 James Henstridge <james@daa.com.au>
11644 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
11645 preamble so that we define \setlinejoinmode and \setlinecaps
11646 commands conditionally on them being undefined. This way, the
11647 pstricks output files should work without modification, and will
11648 support the commands when they are implemented in pstricks.
11650 2000-10-05 Szabolcs Ban <shooby@gnome.hu>
11652 * dia.desktop: added hungarian translations to dia.desktop
11654 2000-10-04 James Henstridge <james@daa.com.au>
11656 * sheets/UML.sheet: fix typo.
11658 * objects/custom/shape_info.c: use strtod instead of g_strtod.
11659 (parse_path): actually call setlocale around strtod calls.
11661 * lib/dia_xml.c: use strtod rather than g_strtod. We wrap each
11662 call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
11663 the g_strtod wrapper.
11665 * shapes/SDL/: add SDL shapes from Rubens Ramos
11666 <rubens_ramos@yahoo.com>
11668 * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
11670 * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
11672 * shapes/MSE/: add Mobile Subscriber Equipment shapes from
11673 W. Michael Petullo <mike@flyn.org>.
11675 * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
11676 from the 0.86 tarball) and jigsaw.sheet.
11678 * configure.in: add shapes/jigsaw/Makefile to list of generated files.
11680 * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
11682 * shapes/network/: add network-additional shapes here.
11684 * sheets/network.sheet: add the network-additional shapes from
11685 Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
11688 2000-09-30 Fredrik Hallenberg <hallon@lysator.liu.se>
11690 * configure.in: Updated ALL_LINGUAS
11692 * po/nl.po: Removed newline from translation
11694 2000-09-17 Asbjorn Pettersen <asbjornP@dualog.no>
11696 * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in
11697 logo filename generation.
11699 * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
11700 Avoiding "//dia_logo.png".
11702 2000-09-16 Asbjorn Pettersen <asbjornP@dualog.no>
11704 * app/filedlg.c: add include <sys/types.h> to
11705 remove warning. (OS/2)
11707 2000-09-13 Cyrille Chepelov <chepelov@calixo.net>
11709 * objects/chronogram/chronoline_event.c (reparse_clevent):
11710 the __checksum routine was simply bogus. Redone it in a slightly
11711 saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
11713 2000-09-10 Asbjorn Pettersen <asbjornP@dualog.no>
11715 * app/create_object.c (create_object_button_press):
11716 * app/modify_tool.c (click_select_object):
11717 * lib/object.h: select renamed to selectf to prevent
11718 compiler problems with function select(). OS/2 version.
11720 2000-09-08 Karsten Weiss <knweiss@gmx.de>
11722 * po/de.po: Updated.
11724 2000-09-07 Karsten Weiss <knweiss@gmx.de>
11726 * dia.desktop: Added German translation
11727 * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
11729 2000-08-29 Manuel de Vega Barreiro <barreiro@arrakis.es>
11731 * configure.in (ALL_LINGUAS): added "es"
11733 2000-08-28 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
11738 * app/scroll_tool.c:
11739 Standardized cursor function get_cursor(). Magnify now has
11740 looking-glass cursor with + and -.
11742 * app/create_object.c (create_object_button_press):
11743 Newly created connections now snap to connection points even when
11746 2000-08-17 Daniel Egger <egger@suse.de>
11748 * app/menus.c: #ifdef'ed some code for the none GNOME
11750 * app/dia_embedd.c: Changed obvious hackery. Can anyone
11751 please have a look at the GNOME UI menu creation? The
11752 gnome-app-helper code is ages old and plainly broken!
11754 2000-08-15 Daniel Egger <egger@suse.de>
11761 * app/select.c: First big patch to get the menus
11762 working again in the international version. Copied
11763 some code written by Sven and me from GIMP and
11764 thus implemented automatic tearoffmenu creation and
11765 proper translation. I also removed that pseudo
11766 radiomenu hack and cleaned up several translation
11767 hacks which have never really worked. All in all
11768 this is part I of the big menu patch. Enjoy and tell
11769 me if you detect any problems.
11771 2000-08-14 Daniel Egger <egger@suse.de>
11773 * sheets/UML.sheet: Changed one German translation as
11774 suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
11776 2000-08-10 Fredrik Hallenberg <hallon@lysator.liu.se>
11778 * app/diapagelayout.c:
11779 * lib/diagramdata.c:
11780 * lib/diagramdata.h:
11783 * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
11784 selecting paper size for a new diagram. TODO: Use libpaper if
11785 available and use gnome_paper-stuff if using GNOME.
11787 * sheets/Electric.sheet: fixed typo.
11789 2000-08-08 James Henstridge <james@daa.com.au>
11791 * po/README: added a readme file to tell translators to translate
11792 the .sheet files as well.
11794 * app/commands.c (help_about_callback): fix small bug where we tried
11795 to gdk_bitmap_unref() the mask for the about box image, even though
11796 it was NULL. Now check for a NULL mask.
11798 2000-08-07 Daniel Egger <egger@suse.de>
11800 * sheets/*.sheet: Added translations for the name
11801 in the toolbar tab. Brushed up some descriptions
11802 and some translations a bit.
11804 2000-08-06 James Henstridge <james@daa.com.au>
11806 * plug-ins/svg/render_svg.c (new_svg_renderer): update public
11807 identifier and dtd url for SVG output.
11808 (new_svg_renderer): fix the output of the viewBox output. The
11809 second two numbers are the width and height -- not the right
11810 and bottom sides of the box.
11812 * shapes/*/*.shape: update svg namespace URI.
11814 * objects/custom/shape_info.c (load_shape_info): change the
11815 namespace URI for custom shapes yet again to match the Candidate
11816 Recommedation. It looks like this one will probably be the final
11819 * app/display.c (new_display): remove the code that sets ic and
11820 ic_attr members to NULL, as one of the previous function calls
11821 causes the display to be realised. This means that the ic gets
11822 lost. Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
11825 2000-08-06 James Henstridge <james@daa.com.au>
11827 * shapes/Makefile.am (SUBDIRS): add Civil back to list.
11829 * NEWS: fixed date in NEWS file, as I will release today.
11831 * README: updated the README a little. Added note that Dia is now
11834 * dia.spec: fix up spec file.
11836 * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
11838 * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
11839 get heaps of warnings when you turn off debugging.
11840 Also made a few other warning fixes.
11842 2000-08-02 James Henstridge <james@daa.com.au>
11844 * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
11846 * configure.in: update version number.
11848 2000-08-01 James Henstridge <james@daa.com.au>
11850 * app/commands.c (help_about_callback): add Hans to about dialog.
11852 * doc/shape.dtd: dtd for shape file format.
11854 * doc/custom-shapes: update doc file about creating custom shapes.
11856 * shapes/*/*.shape: change namespace URI for the SVG portion to the
11857 one for the latest draft.
11859 * shapes/*/*.shape: fix up rect definitions.
11861 * objects/custom/shape_info.c (load_shape_info): recognise newer
11862 namespace tag for SVG.
11863 (parse_svg_node): the rect element should take attributes x, y, width
11864 and height -- not x1,y1,x2,y2.
11866 * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
11867 output to use the newest draft DTD.
11869 * plug-ins/svg/svg.c: initialisation code for plugin.
11871 * plug-ins/svg/render_svg.c: move svg export code to a plugin.
11873 * plug-ins/svg/Makefile.am: makefile for svg plugin.
11875 * app/app_procs.c (internal_plugin_init): don't register the svg
11876 export filter here.
11878 * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
11880 2000-07-31 James Henstridge <james@daa.com.au>
11882 * objects/standard/textobj.c (textobj_get_defaults):
11883 * objects/standard/polygon.c (polygon_get_defaults):
11884 * objects/standard/image.c (image_get_defaults):
11885 * objects/standard/ellipse.c (ellipse_get_defaults):
11886 * objects/standard/box.c (box_get_defaults):
11887 * objects/standard/beziergon.c (beziergon_get_defaults):
11888 * objects/flowchart/parallelogram.c (pgram_get_defaults):
11889 * objects/flowchart/ellipse.c (ellipse_get_defaults):
11890 * objects/flowchart/diamond.c (diamond_get_defaults):
11891 * objects/flowchart/box.c (box_get_defaults):
11892 * objects/custom/custom_object.c (custom_get_defaults):
11893 * objects/FS/flow.c (flow_get_defaults):
11894 * objects/FS/flow-poly.c (flow_get_defaults):
11895 * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
11898 * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
11899 widgets for various object types.
11900 (create_dialog): ref and sink the no_defaults_dialog.
11902 * app/preferences.c (prefs_create_dialog): change
11903 gtk_container_border_width call to gtk_container_set_border_width.
11905 2000-07-29 James Henstridge <james@daa.com.au>
11907 * app/commands.c (view_aa_callback): show a warning dialog if
11910 * app/interface.c (fill_sheet_menu): don't add a menu item for
11913 2000-07-26 James Henstridge <james@daa.com.au>
11915 * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
11917 * app/menus.c: remove edit grid menu item.
11919 * app/commands.[ch] (view_edit_grid_callback): removed.
11921 * app/display.c (new_display): don't initialise removed Grid members.
11923 * app/grid.c: remove unused functions.
11925 * app/grid.h: remove dialog related stuff from Grid structure.
11926 Remove prototypes for dialog functions.
11928 * app/menus.c: add to menus
11930 * app/commands.[ch] (view_diagram_properties_callback): new command
11931 for showing the diagram properties dialog.
11933 * app/dia-props.[ch]: a new diagram properties dialog. To replace
11934 the edit grid dialog.
11936 2000-07-25 James Henstridge <james@daa.com.au>
11938 * app/grid.c (grid_x_update):
11939 (grid_y_update): as the grid setting is stored with the diagram,
11940 update all displays when a change is made.
11942 * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
11944 * app/create_object.c (create_object_button_press):
11945 (create_object_motion): use new snap_to_grid signature.
11947 * app/grid.c (grid_draw): use the grid settings in the DiagramData,
11948 and handle invisible grid lines.
11949 (snap_to_grid): use new grid settings. Also changed signature to
11950 take a DDisplay rather than Grid pointer.
11951 (grid_show_dialog): get the defaults from the correct place.
11953 * app/display.c (new_display): do not set ddisp->grid.width_[xy].
11955 * app/diagram.c (new_diagram): set the grid size defaults from the
11958 * app/load_save.c (diagram_data_save): save grid and guide info to
11960 (diagram_data_load): add guide and grid load support.
11962 * lib/diagramdata.c (new_diagram_data): set the new DiagramData
11965 * lib/diagramdata.h: add members to DiagramData for grid and guide
11968 * configure.in (BONOBO_LIBS): update configure scripts
11970 * app/dia.oafinfo: oafinfo file for dia embeddables.
11972 * app/dia_embedd.c: add OAF support.
11974 2000-07-24 James Henstridge <james@daa.com.au>
11976 * plug-ins/wpg/Makefile.am:
11977 * plug-ins/pstricks/Makefile.am:
11978 * plug-ins/hpgl/Makefile.am:
11979 * plug-ins/dxf/Makefile.am: same here.
11981 * plug-ins/cgm/Makefile.am: remove LIBADD. Dia already links with
11982 the required libraries, and the link line was causing libtool not
11983 to build a shared library on some systems :(
11985 * plug-ins/cgm/cgm.c (write_real): the initial if statement should
11986 be checking x, not n.
11988 2000-07-23 James Henstridge <james@daa.com.au>
11990 * app/preferences.c (prefs_data): set the "reset tools after
11991 create" preference to true by default. That seems to be what most
11994 * app/interface.c (create_sheets): instead of a notebook, use an
11995 option menu that updates the sheet tools. The notebook tabs were
11996 getting a bit unwieldly, so the option menu should fix that. This
11997 also reduces the number of widgets in the tools radio button
11998 group, which should make the UI a little more responsive.
12000 2000-07-19 Fatih Demir <kabalak@gmx.net>
12002 * configure.in: Added tr to ALL_LINGUAS.
12003 [ Yeah, we're now having a Turkish translation,
12006 * dia.desktop: Added the Turkish entries.
12008 2000-07-02 Fredrik Hallenberg <hallon@lysator.liu.se>
12010 * doc/diagram.dtd: changed string-element so it conforms to the
12013 2000-06-30 Fredrik Hallenberg <hallon@lysator.liu.se>
12015 * configure.in: added chinese.
12016 Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
12024 objects/custom/shape_info.c:
12025 shapes/Circuit/npn.shape:
12026 shapes/Circuit/pnp.shape:
12027 sheets/*.sheet: dia now works with libxml2.
12028 Libxml2 is a bit more picky when parsing xml and reported errors on all
12029 sheet files because they use non ascii characters (added
12030 encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so
12031 I commented out these.
12033 2000-06-30 Christopher R. Gabriel <cgabriel@linux.it>
12035 * configure.in (ALL_LINGUAS): added Italian
12037 2000-06-27 Sung-Hyun Nam <namsh@lgic.co.kr>
12039 * configure.in (ALL_LINGUAS): added Korean
12041 2000-06-25 James Henstridge <james@daa.com.au>
12043 * objects/flowchart/parallelogram.c (pgram_create): use default font
12044 and add properties interface support.
12046 * objects/flowchart/ellipse.c (ellipse_create): use default font and
12047 add properties interface support.
12049 * objects/flowchart/diamond.c (diamond_create): use default font and
12050 add properties interface code.
12052 * objects/flowchart/box.c (box_create): use default font.
12054 * objects/custom/custom_object.c (custom_create): use default font
12057 * objects/standard/textobj.c (textobj_create): update to use default
12060 * lib/attributes.c: add implementations.
12062 * lib/attributes.h (attributes_[gs]et_default_font): add function
12063 prototypes for setting/getting a default font.
12065 2000-06-24 James Henstridge <james@daa.com.au>
12067 * app/paginate_gnomeprint.h: updated prototype.
12069 * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
12070 diagram page settings.
12072 * objects/standard/beziergon.c (beziergon_copy): same here.
12074 * objects/standard/polygon.c (polygon_copy): copy the fill colour
12078 * app/tool.h (tool_options_dialog_show):
12079 * app/scroll_tool.h (free_scroll_tool):
12080 * app/render_svg.h:
12081 * app/render_libart.h (renderer_libart_copy_to_window):
12082 * app/render_gdk.h (renderer_gdk_copy_to_window):
12083 * app/properties.h (properties_hide_if_shown):
12084 * app/preferences.h (prefs_load):
12085 * app/object_ops.h:
12086 * app/modify_tool.h (free_modify_tool):
12087 * app/magnify.h (free_magnify_tool):
12088 * app/linewidth_area.h (linewidth_area_create):
12089 * app/layer_dialog.h:
12090 * app/handle_ops.h (handle_is_clicked):
12092 * app/grid.h (grid_destroy_dialog):
12093 * app/defaults.h (defaults_show):
12094 * app/cut_n_paste.h (cnp_exist_stored_objects):
12095 * app/create_object.h (free_create_object_tool):
12096 * app/connectionpoint_ops.h (diagram_unconnect_selected):
12098 * app/color_area.h (color_area_create):
12099 * app/app_procs.h (app_is_embedded): remove extern keyword from
12100 function prototypes.
12103 * lib/sheet.h (load_all_sheets):
12104 * lib/render_store.h:
12105 * lib/render_object.h (render_object_load):
12106 * lib/polyshape.h (polyshape_closest_segment):
12107 * lib/poly_conn.h (polyconn_closest_segment):
12110 * lib/objchange.h (new_object_state_change):
12111 * lib/neworth_conn.h (neworthconn_add_segment):
12112 * lib/message.h (message_error):
12115 * lib/font.h (font_descent):
12116 * lib/focus.h (remove_focus):
12118 * lib/diagramdata.h:
12119 * lib/dia_xml.h (data_add_composite):
12121 * lib/connpoint_line.h:
12122 * lib/connection.h (connection_move_handle):
12124 * lib/attributes.h (attributes_set_default_line_style):
12125 * lib/arrows.h (arrow_draw): remove extern keyword from function
12126 definitions. It is not required for functions.
12128 * plug-ins/dxf/Makefile.am (INCLUDES):
12129 * plug-ins/pstricks/Makefile.am (INCLUDES):
12130 * plug-ins/cgm/Makefile.am (INCLUDES):
12131 * objects/SADT/Makefile.am (INCLUDES):
12132 * objects/chronogram/Makefile.am (INCLUDES):
12133 * objects/GRAFCET/Makefile.am (INCLUDES):
12134 * objects/flowchart/Makefile.am (INCLUDES):
12135 * objects/sybase/Makefile.am (INCLUDES):
12136 * objects/FS/Makefile.am (INCLUDES):
12137 * objects/standard/Makefile.am (INCLUDES):
12138 * objects/network/Makefile.am (INCLUDES):
12139 * objects/UML/Makefile.am (INCLUDES): same here.
12141 * objects/ER/Makefile.am: changed inclusion of some macros to
12144 * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
12145 handle the plug in extension, rather than have all the #ifdef's in
12148 * plug-ins/Makefile.am: add renderer.inc to dist.
12150 * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
12152 2000-06-11 Asbjorn Pettersen <asbjornP@dualog.no>
12154 * lib/plug-ins.c: Handle OS/2 dll's too.
12156 2000-06-07 James Henstridge <james@daa.com.au>
12158 * app/plugin-manager.c (get_plugin_manager): set some table
12159 packing options to make it look a little nicer.
12161 * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
12162 makefiles for these plug-ins.
12164 * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
12166 * configure.in: added hpgl and wpg directories to build. Added
12167 note about whether gnome-print support was enabled, and noted that
12168 it is not recommended.
12170 2000-06-06 James Henstridge <james@daa.com.au>
12172 * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins. They still need
12173 a little work, but I am checking them in so I don't lose them.
12175 2000-06-01 James Henstridge <james@daa.com.au>
12177 * objects/standard/arc.c: added extra properties.
12179 * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
12180 was using the wrong index into the handles array. This gets corner
12181 type changing working correctly.
12183 * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
12184 to properties code (no editing or loading yet though). Also added
12185 support for point array manipulation through the offsets interfaces.
12187 * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf
12189 * app/interface.c (origin_button_press): changes so the origin
12190 button doesn't grab the pointer when we pop up the menu.
12192 * app/commands.c (help_about_callback): fix small memory leak in
12195 * app/menus.c (menus_init): fixed breakage I introduced in the non
12196 gnome menus when I was doing the menu changes. The tearoffs work
12197 really nicely in plain gtk mode as well.
12199 * objects/standard/beziergon.c (beziergon_create): changed the
12200 returned handles to match the handle numbering changes. Now
12201 segment addition and removal works correctly with undo!
12203 * lib/beziershape.c: various changes to the code. Changed the
12204 numbering of handles, and fixed the segment removal code.
12206 2000-05-31 James Henstridge <james@daa.com.au>
12208 * objects/standard/beziergon.c: remove connection point handling.
12209 There is still a bit of work to be done to get adding and removing
12210 of segments working correctly.
12212 * lib/beziershape.c: add connection point handling to beziershape.
12213 I set it for two connection points per segment.
12215 2000-05-30 James Henstridge <james@daa.com.au>
12217 * objects/standard/polygon.c: don't do connectionpoint handling.
12219 * lib/polyshape.c: changed to handle connection points internally.
12220 Also, don't worry about connections to handles on polyshape, as
12221 all handles are non connectable.
12223 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
12225 * configure.in: Added finnish
12227 2000-05-30 James Henstridge <james@daa.com.au>
12229 * sheets/*.sheet: translation updates to the .sheet files.
12231 * po/fr.po: updated po file from Christophe Merlet.
12233 * menus.h: removed prototypes for functions which have been removed.
12235 2000-05-29 James Henstridge <james@daa.com.au>
12237 * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
12238 item in the option menu when changing selected diagram.
12240 * app/dia_embedd.c (view_factory): fix up function to work with new
12243 * app/disp_callbacks.c (ddisplay_realize): remove call to
12244 display_set_active from here.
12245 (ddisplay_canvas_events): move call here. This gets rid of all the
12246 warnings, as the renderer has been fully set up correctly at this
12249 * app/menus.c (menus_init): add the tearoff item to the start of the
12252 * app/app_procs.c (create_user_dirs): we don't need to create the
12253 menus directory anymore.
12255 * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
12256 necessary to update the menu state here, as it was done when the
12257 active display was set.
12259 * app/display.c (display_set_active): update the menu state when
12260 changing active displays.
12262 * app/interface.c (origin_button_press): set the display as active
12263 when a click is made on the menu button.
12265 * app/menus.c (menus_init): set up a quit function to save the accels
12267 Add tearoff items for the non GNOME menus, add accelerators for
12268 several GNOME menus.
12270 * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
12271 menus_get_image_menu().
12273 * app/menus.c (menus_get_item_from_path): use display_menus here
12274 rather than ddisp->popup.
12276 * app/display.h: remove the popup member in the DDisplay structure.
12278 * app/interface.c: remove option of not using wrap box.
12279 (create_toolbox): change to always use menus_get_toolbox_menubar
12280 even when using gnome menus.
12281 (create_display_shell): use menus_get_image_menu to load accelerators
12282 only -- not the actual popup menu.
12284 * app/menus.c (menus_init): new function to create the menus.
12285 (menus_get_toolbox_menubar): use this function whether gnome is
12286 in use or not. Changed to use menus_init.
12287 (menus_get_image_menu): same here. Also, now this function always
12288 returns the same menu, rather than a new one each time.
12289 (menus_init): read a menurc file to load accelerators here.
12291 2000-05-28 James Henstridge <james@daa.com.au>
12293 * app/display.c (ddisplay_really_destroy): unset active display if
12294 active display is destroyed.
12295 (ddisplay_active): simplify function to return active_display as set
12296 by display_set_active. This allows using a pinned menu with any
12297 display -- not just the one it was popped up from.
12298 (display_set_active): notify the layer dialog of change of diagrams
12299 when active diagram changes.
12301 * app/disp_callbacks.c (ddisplay_canvas_events): set active display
12302 on button and key presses.
12303 (ddisplay_realize): set active display on realize.
12305 * app/display.c (display_set_active): simple implementation of this
12308 * app/display.h (display_set_active): add prototype for setting
12309 the active display.
12311 * app/interface.c (create_display_shell): don't give focus to the
12314 * app/menus.c: fix up menus for Beziergon.
12316 * app/interface.c (create_display_shell): make the widget in the
12317 top left corner a button that can be used to pop up the right click
12318 menu, like in gimp and sketch.
12320 * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
12323 * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
12324 add code to set corner types for beziergon.
12326 * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
12328 (beziershape_move_handle): use the previous corner type for right
12331 * app/interface.c (tool_data): add beziergon to toolbox.
12333 * objects/standard/standard.c (dia_plugin_init): initialise the new
12334 Beziergon object type.
12336 * objects/standard/beziergon.c: an object based on BezierShape.
12338 * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
12340 * lib/beziershape.[ch]: new files implementing a bezier shape.
12342 2000-05-26 James Henstridge <james@daa.com.au>
12344 * lib/text.c (text_key_event): handle multibyte inserts.
12345 (text_key_event): also add home and end keybindings.
12347 * app/interface.c (create_display_shell): connect handlers for
12348 focus_in_event, focus_out_event, realize and unrealize signals.
12350 * app/display.[ch] (new_display): initialise input context members.
12352 * app/disp_callbacks.[ch]: added XIM support here.
12354 * lib/font.c (suck_font): the black and white pixel values should be
12355 taken from a 1 bit colormap rather than the default colormap.
12357 Hans Breuer's Windows patches ...
12359 * lib/font.c: use Courier New for fixed width font on windows
12362 * lib/dia_image.h: change to "struct _DiaImage".
12364 * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
12366 * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
12367 mouse button for object menu. This will make two button mouse owners
12370 2000-05-25 James Henstridge <james@daa.com.au>
12372 * app/filedlg.c (file_open_ok_callback): use diagram_load here.
12374 * app/app_procs.c (app_init): add extra NULL argument to call of
12377 * app/load_save.h: remove prototype.
12379 * app/load_save.c: remove diagram_data function here.
12381 * app/diagram.h: added prototype.
12383 * app/diagram.c (diagram_load): new function here, which uses import
12386 * plug-ins/dxf/dxf.c: register the import filter as well.
12388 * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
12389 Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
12391 * objects/standard/line.c: add start_point and end_point properties
12392 to standard line object.
12394 2000-05-21 James Henstridge <james@daa.com.au>
12396 * app/paginate_psprint.c: added missing include of locale.h.
12398 * objects/custom/custom_object.c (custom_draw): use fabs rather than
12399 abs for scaling factors.
12400 (custom_distance_from): same here.
12402 * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
12404 2000-05-18 James Henstridge <james@daa.com.au>
12406 * po/POTFILES.in: updated POTFILES.in.
12408 * dia.spec: incremented version number in spec file.
12410 * NEWS: added (lots of) news items for the 0.85 release.
12412 * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
12415 * configure.in: updated version number here.
12417 * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
12419 2000-05-17 James Henstridge <james@daa.com.au>
12421 * app/app_procs.c (internal_plugin_init): register the native import
12424 * app/load_save.c (diagram_data_load, diagram_load): split this
12425 function into two -- one that does all the work on the DiagramData
12426 structure, and the other that provides compatibility with the old
12428 (dia_import_filter): use diagram_data_load to define an import
12431 * app/diagram.h (new_diagram): added const to prototype.
12433 * app/filedlg.c (file_open_callback): change to use new import filter
12436 * lib/filter.c: added import filter management functions.
12438 * lib/filter.h: added prototypes for import filter interface.
12440 * app/commands.c (help_about_callback): updated about dialog to
12441 contain a few more names.
12443 2000-05-16 James Henstridge <james@daa.com.au>
12445 * configure.in (Configuration): added a status message to the end of
12446 the configure script to give the user some idea of what was
12449 * plug-ins/dxf/Makefile.am: Makefile for new plugin.
12451 * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
12454 * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
12457 * configure.in (AM_PATH_LIBART): use the check function provided
12458 with libart rather than our own code. It is more reliable, and
12459 it only requires that people who build out of CVS have libart.m4
12460 installed (not necessarily all of libart).
12461 (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
12463 2000-05-12 Andreas Hyden <a.hyden@cyberpoint.se>
12465 * dia.desktop: Added Swedish translation.
12467 2000-05-09 James Henstridge <james@daa.com.au>
12469 * lib/dia_xml.c: you can't free a const pointer, so remove const
12470 from variable definitions.
12472 Explicitely set LC_NUMERIC where needed, as sometimes it isn't
12473 initialised correctly.
12475 * app/render_svg.c (export_svg): set locale to C.
12477 * app/paginate_psprint.c (paginate_psprint): set locale to C.
12479 * app/render_eps.c (export_eps): set locale to C for EPS export.
12481 * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
12482 (data_add_point): same here.
12483 (data_add_rectangle): same here.
12484 (data_real): use g_strtod to convert strings to real numbers, so that
12485 locales are taken into account.
12486 (data_point): same here.
12487 (data_rectangle): same here.
12489 * AUTHORS: added Henk and Jacek to authors file.
12491 Daniel Egger's code cleanups.
12493 * app/select.c (select_invert_callback): remove unused variable.
12495 * app/plugin-manager.c (get_plugin_manager): fix typo.
12497 * app/load_save.c (read_connections, write_objects):
12498 (write_connections): made some functions static.
12500 * app/interface.c (toolbox_delete, toolbox_destroy): made some
12503 * app/filedlg.c (file_export_callback): remove unused variable.
12505 * app/app_procs.c: various warning fixes.
12507 Integrating Jacek Pliszka's pstricks export filter.
12509 * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
12511 * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
12512 renderer (with a few small modifications by me).
12514 * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
12516 * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
12518 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
12521 * sheets/Makefile.am:
12522 * shapes/Makefile.am:
12523 * shapes/Civil/Makefile.am:
12524 * sheets/civil.sheet:
12526 Added civil/hydraulic/structural engineering objects from
12527 sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
12529 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
12531 * objects/FS/flow-poly.c:
12532 * objects/FS/flow.c:
12533 Fix division by zero in point_normalize().
12534 Patch by David Thompson <dcthomp@mail.utexas.edu>
12536 2000-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
12539 * lib/bezier_conn.c:
12540 * lib/connpoint_line.c:
12541 Added checks for zero-length lines before calls to point_normalize.
12543 2000-04-24 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12545 * app/preferences.c (prefs_data): Changed
12546 reversed_dragging_intersects to not make the dialog ridiculously
12549 2000-04-22 James Henstridge <james@daa.com.au>
12551 Hans's win32 patches:
12553 * app/export_png.c: include message.h
12554 * app/interface.c: include dia_dirs.h
12555 * app/linewidth_area.c: check for rint
12556 * app/main.c: include interface.h
12557 * app/paginate_psprint.c: remove unused variable.
12558 * app/preferences.c: include message.h
12559 * app/render_svg.c: include stdlib.h
12560 * app/select.c: include object_ops.h
12561 * lib/dia_dirs.c: miscelaneous fixes for win32.
12562 * lib/dia_image.c: include string.h
12563 * lib/plug-ins.c: look for .dll files rather than .la files on win32.
12564 * lib/properties.c: include stdlib.h
12565 * lib/properties.h: define extra data for standard properties as
12566 static variables on win32 (to get around dynamic linker problems).
12567 * objects/standard/polygon.c: polygon_create_change missing return
12570 2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
12572 * configure.in (ALL_LINGUAS): added Catalan
12574 2000-04-18 James Henstridge <james@daa.com.au>
12576 * objects/standard/bezier.c (bezierline_get_object_menu): add a
12577 separator to the object menu between the add/remove segment items
12578 and the corner type items.
12579 (bezierline_get_object_menu): add code to disable the menu item for
12580 the current corner type. Really just a cosmetic change.
12582 * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
12583 a NULL for the label or with no associated callback.
12585 * objects/standard/bezier.c (bezierline_menu_items): use the
12586 enumeration values rather than numeric values for the corner types.
12588 * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
12589 structure, and add code to handle it. Also, don't save the corner
12590 types inline in the bez_points node. The way it is conditionally
12591 including the element just feels like it will break.
12593 * lib/geometry.h (BezPoint): removed the corner_type stuff from
12594 BezPoint. The corner type stuff is a user interface level idea rather
12595 than something required by the renderer, so should be taken care of
12596 at the object level.
12598 2000-04-17 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12600 * configure.in: Fixed some problems with the gdk-pixbuf/imlib
12601 checks. Weren't able to reproduce original bug, tough.
12603 2000-04-16 Cyrille Chepelov <chepelov@calixo.net>
12605 * sheets/Electric.sheet:
12606 * sheets/Contact.sheet:
12607 * sheets/Pneumatic.sheet:
12608 * sheets/Circuit.sheet: sprayed some <br/>'s around.
12609 (added a few French translations in the last file)
12611 2000-04-16 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12614 * lib/bezier_conn.h:
12615 * objects/standard/bezier.c:
12616 * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
12617 bezier points. Only one minor problem known: Menus are active
12618 for endpoints minor handles.
12619 11:28: Save and load now works, too.
12620 (bezierconn_closest_major_handle): 12:03: New function to get the
12621 non-control point handle associated with the nearest control
12623 Also fixed the menu activation problem, and made remove_segment
12624 not remove the endpoint.
12626 2000-04-15 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12628 * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
12631 2000-04-15 Asbjorn Pettersen <asbjornP@dualog.no>
12633 * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
12634 <sys/stat.h>. OS/2 patch.
12636 2000-04-15 James Henstridge <james@daa.com.au>
12638 * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
12639 Thompson's patch that adds undo support to the function structure
12642 2000-04-14 James Henstridge <james@daa.com.au>
12644 * objects/custom/custom_object.c (custom_distance_from): new
12645 implementation of distance algorithm that actually takes the
12646 display list into account when calculating the distance. Much nicer
12647 than a simple bounding box.
12649 2000-04-13 Lars Clausen <lrclause@cs.uiuc.edu>>
12651 * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
12653 2000-04-12 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12655 * objects/standard/polygon.c: Start of polygons own changes (for
12656 connectionpoints). Need to do seperate changes in polyshape, too,
12657 rather than reuse the bezier changes.
12659 2000-04-13 James Henstridge <james@daa.com.au>
12661 * lib/dia_image.c (dia_image_draw): use the new enumeration values
12662 from after the gdk-pixbuf cleanup.
12664 * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
12665 on for loop. Last set of coefficients were not beeing calculated,
12666 which caused a bit of breakage.
12668 * lib/bezier_conn.c (bezierconn_closest_segment): use the new
12669 functions in geometry.c for calculating the closest segment.
12670 (bezierconn_distance_from): use distance_bez_line_point to calculate
12673 * lib/geometry.c (distance_bez_line_point): new function to calculate
12674 the distance from an open bezier line to a point.
12675 (distance_bez_shape_point): new function to calculate the distance
12676 from a closed bezier shape.
12677 (distance_ellipse_point): new function to calculate the distance from
12678 a filled ellipse to a point.
12680 * lib/geometry.h (BezPoint): moved this structure here from render.h
12682 2000-04-12 James Henstridge <james@daa.com.au>
12684 * lib/geometry.c (distance_bez_seg_point): new function to calculate
12685 the distance from a bezier segment.
12687 * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
12688 to calculate the distance from the object.
12690 * lib/geometry.c (distance_polygon_point): function for calculating
12691 the distance from a polygon to a point.
12693 2000-04-12 Cyrille Chepelov <chepelov@calixo.net>
12696 * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line
12697 breaks can be inserted in the tool box.
12699 * doc/sheet.dtd: updated the DTD
12700 * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
12702 2000-04-12 James Henstridge <james@daa.com.au>
12704 * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
12705 macro if the dialog is a GtkDialog :(
12707 2000-04-11 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12709 * objects/standard/polygon.c: Connectionpoints now properly
12710 managed in a GList. As far as I can tell, this will not dieturb
12711 the order (but I have the nagging doubt...)
12713 * lib/polyshape.c: No longer knows about connectionpoints.
12715 2000-04-11 James Henstridge <james@daa.com.au>
12717 * app/Makefile.am: fix makefile for bonobo build.
12719 * configure.in: fix checks for bonobo.
12721 * app/menus.c: added entries for the plugin manager.
12723 * app/Makefile.am (dia_core_files): added plugin manager to files
12726 * app/plugin-manager.[ch]: the plugin manager dialog.
12728 * app/display.c (display_update_menu_state): set the antialiased
12729 menu entry to the correct value.
12731 2000-04-11 Cyrille Chepelov <chepelov@calixo.net>
12733 * objects/custom/custom_object.c: not all renderers like ellipses with
12734 negative dimensions. This could cause ellipses to disappear when using
12735 the flip_h and flip_v functions.
12737 * samples/grafcet.dia: fixed speling and correctness.
12739 2000-04-11 James Henstridge <james@daa.com.au>
12741 * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
12742 exposed the dia_plugin_load and dia_plugin_unload functions.
12744 * lib/plug-ins.c (plugin_load): change plugin_load to work on an
12745 already created PluginInfo structure.
12747 * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
12750 * lib/sheet.c: fix up call to dia_config_filename.
12752 * lib/plug-ins.[ch]: started writing code for handling a pluginrc
12753 file. This would save information such as which plugins not to
12754 load during startup.
12756 2000-04-09 James Henstridge <james@daa.com.au>
12758 * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
12760 2000-04-10 Alexander Larsson <alla@lysator.liu.se>
12762 * lib/plug-ins.c (dia_register_plugins):
12763 Don't free the value returned from g_getenv.
12765 2000-04-09 Anders Carlsson <andersca@gnu.org>
12767 * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
12769 * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
12771 * app/modify_tool.c (modify_button_release): If rubberbanding is done from
12772 right to left, select objects that intersect the rubberbanding rectangle
12773 instead of selecting objects that are in the rectangle.
12775 * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
12777 * lib/diagramdata.h: Likewise.
12780 2000-04-09 James Henstridge <james@daa.com.au>
12782 * lib/plug-ins.[ch]: add copyright messages to files.
12784 * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
12787 * objects/sybase/sybase.c (dia_plugin_init):
12788 * objects/network/network.c (dia_plugin_init):
12789 * objects/flowchart/flowchart.c (dia_plugin_init):
12790 * objects/custom/custom.c (dia_plugin_init):
12791 * objects/chronogram/chronogram.c (dia_plugin_init):
12792 * objects/UML/uml.c (dia_plugin_init):
12793 * objects/SADT/sadt.c (dia_plugin_init):
12794 * objects/GRAFCET/grafcet.c (dia_plugin_init):
12795 * objects/FS/fs.c (dia_plugin_init):
12796 * objects/ER/er.c (dia_plugin_init): updated plugin load code for
12799 * objects/standard/standard.c (dia_plugin_init): change over to new
12802 * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
12803 the version checker for plugins.
12805 * app/app_procs.c: remove plugin loading code from here, and use
12806 code from plug-ins.[ch]. Also move registration of internal
12807 objects/filters to a `builtin' plugin.
12809 * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
12811 * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
12813 * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
12814 defined variable in EXTRA_DIST.
12816 * app/preferences.h: removed dia_config_filename from header.
12818 * app/preferences.c: removed dia_config_filename function.
12820 * lib/dia_dirs.c (dia_config_filename): moved function over to this
12821 file. Also changed implementation slightly so that it should work
12822 on the win32 port correctly (and use NT home directories).
12824 * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
12825 it should have been.
12827 * lib/plug-ins.[ch]: new plugin loading code.
12829 2000-04-08 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12831 * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
12833 * lib/polyshape.c: Fix closest segment finding, exposes deeper
12834 bugs in adding corners to 'wraparound' segment.
12836 * objects/standard/polygon.c: Added connection points (fixed so
12837 far), set menu sensitivity.
12839 * lib/polyshape.c: Changed to box-style handles, fixed for start
12840 and ends not being special, added initial connections,
12842 * lib/dummy_dep.h: Added polyshape (gotcha!)
12844 * objects/standard/pixmaps/ellipse.xpm:
12845 * objects/standard/pixmaps/box.xpm:
12846 Filled element pixmaps with white.
12849 * objects/standard/polygon.c:
12851 * objects/standard/standard.c:
12852 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
12853 * lib/Makefile.am (libdia_a_SOURCES):
12855 * app/interface.c (tool_data):
12856 Added Standard/Polygon object and PolyShape lib object. Still
12857 needs inside grab and connection points.
12859 * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
12862 * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
12865 * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
12866 if (argv) outside ifdefs.
12868 2000-04-04 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12870 * objects/standard/image.c (image_set_props):
12871 Aspect ratio is back in town.
12873 * app/Makefile.am (dia_LDADD):
12876 Check for gdk_pixbuf (by default disabled, for now)
12878 * app/render_eps.c (draw_image):
12879 * app/render_libart.c (draw_image):
12880 * app/render_gnomeprint.c (draw_image):
12881 Support for alpha mask in rendering. Color postscript, too.
12885 Support for gdk_pixbuf and proper masking for exports.
12887 2000-04-01 Kjartan Maraas <kmaraas@online.no>
12889 * sheets/*.sheets: Updated Norwegian translations.
12891 2000-03-30 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12893 * lib/text.c (text_insert_char):
12894 * lib/render_store.c (add_data):
12895 Made realloc double the alloced space rather than add
12896 a fixed amount, to reduce memory stress.
12898 * app/select.c: Added new select method 'Transitive'
12899 that select every reachable (by connections) object.
12901 2000-03-27 Kjartan Maraas <kmaraas@online.no>
12903 * dia.desktop: Added Norwegian translation.
12905 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
12907 * app/render_eps.c:
12908 * app/render_svg.c:
12909 Don't dereference NULL pointer if the renderer
12910 couldn't open the file. Fix by Lars Clausen.
12911 Bug reported by Martin Chisholm <b1mt@unb.ca>
12913 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
12917 Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
12919 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
12921 * app/dia.gnorba (location_info):
12922 Changed to correct executable name.
12924 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
12927 Don't do any argument parsing or initialization
12930 * app/dia_embedd.c:
12931 Call init_server_factroy before app_init.
12932 Call app_init with argv==NULL
12933 Now we don't get any critical error on startup.
12936 Add Electric and Pneumatic to makefile list.
12938 2000-03-24 Cyrille Chepelov <chepelov@calixo.net>
12940 * shapes/Electric/*:
12941 * sheets/Electric.sheet:
12942 Add some Electric circuit shapes.
12944 * shapes/Pneumatic/*:
12945 * sheets/Pneumatic.sheet:
12946 Add some Pneumatic & Hydraulic circuit shapes
12947 (both sheets are still incomplete, though feature enough
12948 things for basic circuits).
12950 * shapes/Contact/l_*.(xpm|shape):
12951 * sheets/Contact.sheet
12952 * shapes/Contact/Makefile.am
12953 made the older electric circuit shapes in Contact obsolete (disabled
12954 them in the sheet, made that sheet Ladder only). Fixed the makefile
12955 for forgotten items.
12957 2000-03-24 Alexander Larsson <alla@lysator.liu.se>
12960 Add support for Dia bonobo component.
12961 Currently a bit raw, so it's commented out.
12963 * app/dia_embedd.c:
12965 New files for embedding dia.
12966 The menu disabling hack is a bit gross. Esp. for GNOME.
12969 Add new function app_is_embedded();
12972 Don't destroy diagram when last display is destroyed if embedded.
12975 Change initialization of display so it works with embedding.
12978 Clarify comment about display destruction.
12980 * app/interface.[ch]:
12981 Added top_level_window argument to create_display_shell.
12982 Don't open a top-level window if embedding.
12983 Don't quit app if trying to close toolbox window when embedding.
12984 Add toolbox_show() and toolbox_hide().
12987 Added app_is_embedded() function (just returns false).
12988 Added toolbox_show() call in main().
12991 Added code for getting toolbox menus. This is used to
12992 hide some menu items when running embedded.
12995 Include sheet.h to remove warning.
12997 * objects/UML/association.c:
12998 Clarify association direction text.
13000 2000-03-16 Fredrik Hallenberg <hallon@lysator.liu.se>
13003 Fixed man page so whatis parsing works.
13005 2000-03-12 Alexander Larsson <alla@lysator.liu.se>
13007 * app/render_libart.c (new_libart_renderer):
13008 Fix from segg <segg@infonet.ca> to compile without libart.
13009 I forgot to change the stub for new_libart_renderer when doing
13010 the interactive renderer stuff for libart.
13012 2000-03-11 Alastair McKinstry <mckinstry@computer.org>
13014 * dia.desktop: Added Irish translation.
13016 * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
13018 2000-03-07 Asbjorn Pettersen <asbjornP@dualog.no>
13020 * app/load_save.c (fchmod): OS/2 defines only.
13022 2000-03-07 James Henstridge <james@daa.com.au>
13024 * lib/properties.c (prop_get_widget): set the position in the option
13027 2000-03-06 Alexander Larsson <alla@lysator.liu.se>
13030 * app/export_png.c:
13031 * app/render_libart.[ch]:
13032 Don't export png:s with an interactive libart renderer.
13034 2000-03-03 Asbjorn Pettersen <asbjornP@dualog.no>
13036 * lib/arrows.c (finite): define finite(d) isfinite(d) for OS/2
13038 2000-03-02 James Henstridge <james@daa.com.au>
13040 * dia.spec (%build): unset LINGUAS before running configure. This
13041 ensures that all translations get included in the RPM.
13043 * lib/properties.c (object_create_props_dialog): put in a check for
13044 a NULL return from the describe_props() object method.
13045 (prop_desc_lists_union): make sure that the returned array is not
13047 (prop_desc_lists_intersection): same here.
13049 2000-02-29 Alexander Larsson <alla@lysator.liu.se>
13051 * objects/ER/Makefile.am:
13052 * objects/FS/Makefile.am:
13053 * objects/UML/Makefile.am:
13054 Don't link object libs with gtk.
13056 2000-02-29 James Henstridge <james@daa.com.au>
13058 * app/preferences.c (prefs_save): check to see if the file could
13059 be opened before writing the prefs.
13061 * app/disp_callbacks.c (popup_object_menu): pass the button event
13062 to gtk_menu_popup. This allows you to click and release to open
13064 (ddisplay_canvas_events): same here.
13065 (create_object_menu): set the object type menu item in the object
13066 menu to be insensitive.
13068 * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
13069 as we are now requiring a new version of libxml.
13071 * dia.spec: updated version number. Added requirement for
13074 * configure.in: incremented version number to 0.84.
13075 Added check for libxml >= 1.8.5. This will prevent some of the
13076 problems people have had with broken libxml versions.
13078 * NEWS: added news items.
13080 * app/interface.c (create_color_area): removed call to realize parent
13081 widget. Segg <segg@infonet.ca> reported that it caused a warning,
13082 but I haven't seen it on my copy of dia.
13084 2000-02-28 James Henstridge <james@daa.com.au>
13086 * app/export_png.c: added copyright notice, and made the band height
13089 2000-02-27 Alexander Larsson <alla@lysator.liu.se>
13091 * lib/font.c (suck_font):
13092 Fixed off-by one bug in font pixmap height.
13093 Fixes the problem with garbage at the bottom of some text in aa mode
13094 and in png exported files.
13096 2000-02-27 James Henstridge <james@daa.com.au>
13098 * app/app_procs.c: add the png export filter if it was compiled in.
13100 * app/export_png.c (export_png): new PNG export filter. This requires
13101 the libart renderer to work as it needs a renderer that renders to a
13104 * configure.in: add check for libpng.
13106 * lib/message.c (message_internal): use a GNOME dialog here as well.
13108 * app/display.c (ddisplay_close): use a GNOME dialog here.
13110 * app/render_eps.c (create_eps_renderer): use diagram scaling factor
13111 when exporting to EPS. This is because some people said the EPS
13112 output was too large
13114 2000-02-26 James Henstridge <james@daa.com.au>
13116 * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
13119 * app/app_procs.c (app_exit): use a GNOME dialog here.
13121 * app/preferences.c (prefs_create_dialog): if GNOME support is
13122 enabled, show a GNOME dialog.
13124 * app/grid.c (grid_draw): use preferences when drawing page break
13127 * app/preferences.c: add page break preferences to dialog.
13129 * app/preferences.h: added page break preferences.
13131 2000-02-25 James Henstridge <james@daa.com.au>
13133 * sheets/UML.sheet: added new objects.
13135 * objects/UML/uml.c: link in the two new objects.
13137 * objects/UML/node.c:
13138 * objects/UML/branch.c: new UML objects from Stfan Seefeld
13139 <seefelds@magellan.umontreal.ca>.
13141 2000-02-24 James Henstridge <james@daa.com.au>
13143 * objects/custom/custom_object.c: converted to use the properties
13144 interface. In the future, it would be nice to add support for
13145 defining custom properties for custom objects, but that can wait.
13147 2000-02-22 James Henstridge <james@daa.com.au>
13149 * sheets/Circuit.sheet: added new circuit shapes to sheet.
13151 * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
13152 <hj@justcroft.com>. Fixes number encoding, colour encoding, fonts
13153 and adds a few new features.
13155 2000-02-21 Daniel Egger <egger@suse.de>
13157 * sheets/*.sheets: Added German translations and made some
13158 corrections to the others.
13160 2000-02-21 James Henstridge <james@daa.com.au>
13162 * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
13164 * shapes/Circuit/...: added new shapes from Erik Janssens.
13166 2000-02-20 James Henstridge <james@daa.com.au>
13168 * app/interface.c (create_color_area): realize the parent window
13171 * objects/standard/image.c: properties patch for standard image
13172 object, from Lars Clausen.
13174 * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
13176 * lib/properties.h (PropType): added file property type.
13178 * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
13181 * app/interface.c: use wrap box for toolbox.
13183 * app/Makefile.am: added new files.
13185 * app/gtk*wrapbox.[ch]: added wrap box widget.
13187 2000-02-19 James Henstridge <james@daa.com.au>
13189 * sheets/network.sheet: added extra shapes to networks sheet.
13191 * configure.in (AC_OUTPUT): added shapes/network/Makefile
13193 * shapes/network/*: added shapes that were posted to the list a while
13196 * shapes/Makefile.am (SUBDIRS): added network subdirectory
13198 * app/menus.c (toolbox_menu_items): don't right justify help menu for
13199 gtk+ version of menus.
13201 * app/properties.c (create_dialog): use a GnomeDialog if we happen
13204 2000-02-18 James Henstridge <james@daa.com.au>
13206 * objects/flowchart/box.c: set extra data for corner radius and text
13207 padding properties.
13209 * objects/standard/box.c: set extra data for corner radius property.
13211 * lib/properties.h: set extra data in some standard properties.
13213 * lib/properties.c (prop_get_widget): look at the extra data for
13214 int, real and enum property types. They now use GtkSpinButton and
13215 GtkOptionMenu respectively.
13217 * lib/properties.h: extra data members for creating property setting
13220 2000-02-17 James Henstridge <james@daa.com.au>
13222 * objects/flowchart/box.c: reverted load/save functions back to
13223 previous implementations. Made box use standard property names.
13225 * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
13227 * app/grid.c: add more digits to the grid edit dialog. This patch
13228 was also from Lars Clausen.
13230 * objects/standard/zigzagline.c:
13231 * objects/standard/textobj.c:
13232 * objects/standard/polyline.c:
13233 * objects/standard/line.c:
13234 * objects/standard/ellipse.c:
13235 * objects/standard/box.c:
13236 * objects/standard/bezier.c:
13237 * objects/standard/arc.c: patches to add properties code to standard
13238 objects. Based on patches from Lars Clausen. I have also removed
13239 some dead code from the files.
13241 * lib/properties.h (PROP_STD_*): define a number of standard
13242 properties. Where appropriate, objects should include these
13243 properties in their PropDescription list. This way, the intersection
13244 of properties of two different shapes will be greater.
13246 2000-02-14 James Henstridge <james@daa.com.au>
13248 * objects/flowchart/box.c (box_load, box_save): use property save
13249 routines. Make sure that any props not handled by object_load_props
13250 are loaded before calling object_load_props, or we get errors because
13251 update_data is called.
13253 * lib/properties.c (object_get_props_from_offsets): fixed an indexing
13254 error that could cause properties to be loaded incorrectly.
13255 (object_set_props_from_offsets): similar here.
13257 * lib/properties.[ch] (prop_{load,save}): functions for loading
13258 or saving a property in Dia's XML file format.
13259 (object_{load,save}_props): load or save some properties of an
13260 object. These functions should help simplify the load/save methods
13261 of objects that implement the properties interface.
13263 2000-02-13 James Henstridge <james@daa.com.au>
13265 * objects/flowchart/box.c: use offset code to simplify property
13268 * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
13270 (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
13272 * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
13274 (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
13276 * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
13279 2000-02-12 Alexander Larsson <alla@lysator.liu.se>
13282 Add the custom object to DIA_LIB_PATH in run_dia.sh
13284 2000-02-10 Cyrille Chepelov <chepelov@calixo.net>
13286 * sheets/Circuit.sheet:
13287 * shapes/l_sout* (NEW):
13288 * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
13289 variants of simple, inverted, set and reset outputs.
13290 Still to do: all Schneider/Telemecanique TSX *7 function blocks ;
13291 probably a split of Contact and Ladder sheets. And then a major
13292 revamping of the Contact sheet.
13294 2000-02-10 James Henstridge <james@daa.com.au>
13296 * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
13298 * app/app_procs.c (register_all_objects): don't explicitely
13299 register the custom objects library -- let it be loaded by the
13300 normal plugin loading methods.
13302 * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
13304 * objects/custom/Makefile.am: build libcustom_objects as a shared
13307 * objects/custom/shape_info.[ch]: don't read the description field
13308 of custom shapes. It makes more sense to have these in the sheet
13309 file to localise the parts of dia that translators have to deal
13312 * objects/custom/custom_object.c (custom_object_new): do not
13313 create the sheet object for the new custom shape -- this is
13314 handled by the custom sheet code.
13316 * objects/custom/custom.c: change over to being a normal plug-in
13317 rather than being linked with the main dia executable.
13319 2000-02-09 James Henstridge <james@daa.com.au>
13321 * sheets/Circuit.sheet:
13322 * sheets/Flowchart.sheet:
13323 * sheets/Contact.sheet: fixed up sheets.
13325 * objects/custom/custom_object.c (custom_object_new): set the
13326 extra ObjectType fields.
13328 * lib/sheet.c: use extra ObjectType fields when creating sheet
13329 objects. Give a warning if <shape> tags are found in a sheet
13330 file. Now the custom sheet code does not know about custom
13331 shapes -- they look like any other object type.
13333 * lib/object.h (ObjectType): added extra members
13335 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
13337 * app/linewidth_area.c:
13338 Added code to set arbitrary line width.
13339 Patch by Lars Clausen <lrclause@cs.uiuc.edu>
13341 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
13343 * app/linewidth_area.c:
13345 Add support for font-sucking.
13346 Implementation borrowed from gnome-canvas.
13348 * app/render_libart.[ch]:
13349 Implement text rendering.
13351 2000-02-07 Alexander Larsson <alla@lysator.liu.se>
13353 * app/properties.c (create_dialog):
13354 ref and sink no_properties_dialog.
13356 2000-02-07 James Henstridge <james@daa.com.au>
13358 * app/group.c (group_describe_props): new function. Return the
13359 intersection of the properties of the contained objects that
13360 implement the describe_props interface.
13361 (group_get_props): implement by iterating through contained objects
13362 and calling their get_props method until all properties have been
13363 set. Maybe this should go through all objects all the time??
13364 (group_set_props): implement by calling set_props method on all
13366 (group_ops): use standard props dialog creation routines.
13368 * lib/properties.c (prop_desc_lists_intersection): fix implementation
13369 of intersection -- I was using i++ instead of i-- in a for loop :(
13371 * objects/custom/custom.c (custom_register_objects): fix usage
13372 of dia_get_data_directory again.
13374 * lib/sheet.c: fix up use of dia_get_data_directory, so that we
13375 actually read the sheets.
13377 2000-02-06 Alexander Larsson <alla@lysator.liu.se>
13379 Win32 port by Hans Breuer <Hans@Breuer.org>
13382 Remove DATADIR and LIBDIR defines.
13385 Add dia_dirs.c and dia_dirs.h
13386 Added DATADIR and LIBDIR defines.
13388 * lib/dia_dirs.[ch]:
13389 New files for handling special directories.
13394 * objects/custom/custom.c:
13395 Fix warnings. Use directory functions.
13398 Add prototype for diagram_redraw_all.
13400 * app/diaunitspinner.c:
13403 * app/preferences.c:
13407 Win32 doesn't have mkstemp and fchmod.
13409 * app/paginate_psprint.c:
13410 Win32 calls popen _popen and pclose _pclose.
13413 Win32 calls finite _finite.
13416 Win32 needs to dllexport the color vars.
13418 * objects/GRAFCET/step.c:
13419 * objects/chronogram/chronoref.c:
13420 snprintf -> g_snprintf
13422 2000-02-05 James Henstridge <james@daa.com.au>
13424 * lib/properties.c: more fixes so that it doesn't crash when using
13425 properties. The undo/redo stuff also works!!
13427 * objects/flowchart/box.c (box_{describe, get, set}_props): test
13428 object where I have implemented the new properties interface
13429 complete with automatic properties dialog generation.
13431 * lib/properties.c (object_apply_props): fixed stupid error when
13432 creating the old_props array. Also, it no longer frees the props
13433 array -- you will have to do that yourself.
13435 2000-02-04 James Henstridge <james@daa.com.au>
13437 * app/properties.c (properties_apply): pass object_part to
13440 * lib/object.h (ApplyPropertiesFunc): added widget argument.
13442 * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
13443 created this way as well.
13445 * objects/*/*.c: ref and sink the properties dialog window for each
13446 widget. It can't rely on ref count being incremented by
13447 properties_show anymore.
13449 * app/properties.c (properties_show): don't ref the widget before
13450 removing it, or its ref count will increase each time you open the
13451 properties dialog. Don't unparent the widget, as container_remove
13454 * lib/object.h: fixed up prototypes for new object methods.
13456 * lib/properties.[ch]: added functions for automatically creating
13457 a properties dialog from the output of describe_props, get_props and
13459 (object_apply_props): apply properties and return an ObjectChange
13460 structure that can be used for undo.
13462 2000-02-03 Cyrille Chepelov <chepelov@calixo.net>
13464 * objects/GRAFCET/transition.c: minor leak plugged.
13466 * sheets/GRAFCET.sheet:
13467 * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
13468 * objects/GRAFCET/condition.c: (NEW) added a new object type, action
13470 * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
13471 new ones (for condition.c).
13472 * objects/GRAFCET/action.c: added connection points for the conditions.
13473 * samples/grafcet.dia: updated the sample to improve conformance to
13474 IEC 848 and take advantage of dia's new features.
13476 * lib/geometry.h: (point_get_normed) fixed a typo.
13478 2000-02-02 James Henstridge <james@daa.com.au>
13480 * lib/object.h: added object functions describe_props, get_props and
13481 set_props. Do type definitions so that object.h doesn't need to
13482 include properties.h, since properties.h includes object.h.
13484 * lib/properties.[ch]: more hacking.
13486 * po/de.po: updated po file.
13488 2000-01-30 James Henstridge <james@daa.com.au>
13490 * configure.in: don't add flags to CFLAGS unconditionally. Instead,
13491 check to see if the C compiler accepts the flag beforehand.
13493 * lib/properties.[ch]: start of properties code.
13495 * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
13497 2000-01-30 Cyrille Chepelov <chepelov@calixo.net>
13499 * sheets/GRAFCET.sheet:
13500 * sheets/GRAFCET/etapemc.xpm: (NEW)
13501 * sheets/GRAFCET/etapesp.xpm: (NEW)
13502 * objects/GRAFCET/step.c: Added the macro and
13503 sub-program call step types.
13505 * objects/GRAFCET/receptivity.[ch]: renamed to
13506 objects/GRAFCET/boolequation.[ch].
13507 * objects/GRAFCET/transition.c: changed (Receptivity *) to
13510 * lib/connpoint_line.[ch]:
13511 * objects/chronogram/chronoline.c:
13512 * objects/chronogram/chronoref.c:
13513 * objects/GRAFCET/vergent.c:
13514 * objects/standard/line.c:
13515 * objects/SADT/box.c: Minor CPL interface changes, factored out the
13516 point count adjustment code into the CPL object.
13518 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
13520 * app/render_libart.c:
13521 Added support for images and bezier curves.
13522 Only text/fonts missing now.
13524 * app/render_gdk.c:
13525 Removed old erronous comment.
13527 2000-01-29 Cyrille Chepelov <chepelov@calixo.net>
13529 * objects/chronogram/chronoline_event.c: removed references to
13530 lround(). Please don't insist, I'm already red of shame.
13532 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
13534 * app/render_libart.[ch]:
13536 Non-finished libart renderer.
13539 Added HAVE_LIBART flag
13545 Call gdk_rbg_init().
13547 * app/connectionpoint_ops.c:
13548 * app/disp_callbacks.c:
13550 * app/handle_ops.c:
13552 * app/modify_tool.c:
13553 Change ddisp->renderer type from RendererGdk * to Renderer *
13554 Draw zoom and select rects in ddisp->canvas->window instead
13555 of ddisp->renderer->renderer->pixmap.
13557 * app/display.[ch]:
13558 Add aa_renderer to DDisplay, and support for it.
13559 New function ddisplay_set_renderer() for changing renderer.
13560 Add ddisplay_transform_coords_double() function, used by aa renderer.
13561 Change ddisp->renderer type from RendererGdk * to Renderer *
13564 Add antialias to menu.
13566 * app/commands.[ch]:
13567 add view_aa_callback function
13568 Change ddisp->renderer type from RendererGdk * to Renderer *
13570 * lib/geometry.[ch]:
13571 Added IntRectangle and int_rectangle_union.
13573 2000-01-28 James Henstridge <james@daa.com.au>
13575 * app/commands.h: removed prototypes.
13577 * app/commands.c: removed the functions that have been moved to
13580 * app/filedlg.h: added new prototypes.
13582 * app/filedlg.c (file_open_callback): move open dialog to this
13583 file. This implementation should remember the current directory
13584 between file loads.
13585 (file_save_as_callback): moved this dialog as well.
13586 (file_save_callback): moved this function here.
13588 * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
13589 align page boundaries to the origin.
13591 * app/diagram.c (diagram_update_extents): redraw the diagram if the
13592 scaling factor changes while updating the extents. This is so the
13593 page breaks get redrawn correctly.
13595 * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
13598 * app/grid.c (grid_draw): draw page breaks as well as grid lines.
13599 For normal mode, use (0,0) as the origin. For `fit to' mode, use
13600 the corner of the bounding box.
13602 * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
13603 into page setup dialog.
13604 (pagesetup_apply): apply new `fit to' attributes to the diagram.
13606 * app/load_save.c (diagram_load): load new paper `fit to' attributes.
13607 (diagram_data_save): save `fit to' data.
13609 * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
13610 (data_update_extents): when in `fit to' mode, update scale factor
13611 when we update the extents.
13613 * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
13616 * .../.cvsignore: added some cvsignore files to quieten cvs.
13618 * app/pagesetup.c (pagesetup_changed): added code to change the
13619 scaling/fit to values as you change the options in the page setup
13620 dialog. I haven't added code so that the fit to options are saved
13623 * app/diapagelayout.[ch]: changed the scaling portion of the widget
13624 to make it easier to set a `fit to' style scaling factor.
13626 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
13627 * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
13628 but connpoint_line-based, so that there's a connection point at the
13629 middle of each segment. Currently only the SADT arrow uses this.
13631 * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
13633 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
13634 * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading,
13635 saving and editing of properties (and default properties).
13636 See the new objects (GRAFCET, SADT, chonograms) for examples.
13637 For already too hairy stuff, see objects/chronogram/chronoline.c.
13639 * lib/connpoint_line.[ch] (NEW): This subobject manages a line of
13640 evenly spaced connection points, which the user can add or remove at
13641 will. An object can own several connection point lines. See the SADT
13642 Box, or the GRAFCET vergents for examples.
13644 * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep
13645 quiet about unused stuff.
13647 * objects/GRAFCET (NEW):
13648 * samples/grafcet.dia (NEW):
13649 Added support for GRAFCET charts.
13651 * objects/chronogram (NEW):
13652 * samples/chronograms.dia (NEW):
13653 Added support for chronograms (feature requested by Ronald L. Chichest;
13654 I found I'd use it often, too).
13656 * objects/standard/line.c: Replace the middle connectionpoint by
13657 a whole connection point line, which defaults to one point (hint,
13658 hint). New Line object menu to take advantage of this.
13659 "Bothwards" compatibility is preserved (although you may loose
13660 connections if you load a newer file in a older dia).
13662 * app/lineprops_area.c:
13664 * lib/widgets.c: Added hollow and filled ellipse arrow head type.
13665 (feature requested by Benjamin Kahn).
13666 Merged in Steffen Macke's slashed arrow head type.
13668 * app/Makefile.am (app/run_dia.sh actually):
13669 Added $DEBUGGER in front of dia's invocation, so that
13670 you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
13671 Added $(EFENCE) to app/dia's LDFLAGS, so that you can do
13672 "EFENCE=-lefence" to link with Electric Fence.
13674 * configure.in: Made gcc do more aggressive optimisations on i386, and
13677 2000-01-24 James Henstridge <james@daa.com.au>
13679 * lib/geometry.[ch]: added inline versions of functions. Used
13680 glib's G_INLINE_FUNC stuff, so it should still work on systems
13681 without inline funcs.
13683 * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
13684 it outputs the correct element id for the ellipse objects.
13686 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13688 * lib/object.[ch]: added object_add_connectionpoint_at, similar to
13689 object_add_handle_at. Message typo fixed.
13691 * lib/sheet.c (load_register_sheet):
13692 potential bug fixed (warning hunt).
13694 * objects/custom/custom.c (custom_object_load): disabled an assertion
13695 which made dia abort upon failure to load a shape file. Fixed a
13698 * objects/custom/shape_info.c (load_shape_info): Made the custom
13699 shape load code ignore XML comments between <?xml ...?> and the
13700 root object (mostly useful to put the emacs magic comments).
13702 * app/load_save.c: Made dia do backup copies of files when saving,
13703 and complain in case of failure.
13705 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13707 * AUTHORS: fixed my address (ISP thought it was a great idea to change
13712 * shapes/Contact/*:
13713 * sheets/Contact.sheet:
13714 * sheets/Makefile.am:
13715 Added support for Contact and LADDER charts.
13717 * dia.desktop: Added a French translation.
13719 2000-01-23 James Henstridge <james@daa.com.au>
13721 * app/commands.c (help_about_callback): don't die if can't load
13724 * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
13725 out NaN's when performing bezier curve subdivision.
13727 * objects/custom/custom_object.c: initialise memory of Custom structs
13730 * app/render_svg.c (draw_image): added image support to the XML
13731 output filter. The image is just referenced, rather than being
13732 included inline, so if you copy the SVG file somewhere else, you
13733 may need to move the images or fix up the links.
13735 * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
13736 so the text is not just displayed in black all the time.
13738 2000-01-15 Fredrik Hallenberg <hallon@lysator.liu.se>
13740 * configure.in: fixed libpopt test so we wont try to build with
13743 1999-12-18 Yuri Syrota <rasta@renome.rovno.ua>
13745 * configure.in: Added "uk" to ALL_LINGUAS.
13747 1999-12-24 James Henstridge <james@daa.com.au>
13749 * po/ru.po: updated russian translation from Valek Filippov.
13751 * app/render_svg.c (new_svg_renderer): make output use 19991203
13752 version of SVG DTD. Use viewBox to set the extents of the view.
13754 * INSTALL (FONTS): updated locations of gnome-xml and imlib. List
13755 ftp.gnome.org as the download.
13757 * TODO (TODO): weeded out completed todo items and added a few extra.
13759 * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
13761 * doc/sheet.dtd: first stab at a DTD for the sheet files. It would
13762 be good to get rid of the object/shape distinction and separate
13763 the custom shape code out from the main application.
13765 * objects/custom/README, diagram.dtd: moved to new doc directory.
13766 Renamed the custom shapes README to custom-shapes. Also updated
13767 custom shape docs a bit and removed the section on sheet files, as
13768 that has changed a bit.
13770 * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
13771 of the image data is larger than the maximum cell array. I should
13772 add code to break scan lines down further in this case, but for now
13773 an error message is better than an infinite loop.
13775 * app/filedlg.c (file_export_ok_callback): show a dialog if we
13776 couldn't determine the export filter to use.
13778 * app/commands.c (help_about_callback): fixed up about box logo
13779 expose bug. Now just use a GtkPixmap widget rather than a
13780 GtkDrawingArea and calling gdk_imlib_paste_image.
13782 * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
13783 because automake does not always get things right.
13785 * configure.in: updated version number to 0.83.
13787 * app/preferences.c (prefs_save):
13788 * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
13789 for fopen. Text is the default file mode anyway.
13791 * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback):
13792 * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog):
13793 * app/load_save.c (write_objects, write_connections):
13794 * app/filedlg.c (file_export_ok_callback):
13795 * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real):
13796 * lib/dia_xml.c (data_add_point, data_add_rectangle):
13797 * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
13798 snprintf to calls to g_snprintf.
13800 * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
13801 as the picture name.
13803 1999-12-23 James Henstridge <james@daa.com.au>
13805 * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
13806 negative numbers. This fixes the upside down text problem I was
13808 (draw_image): implemented the image code. It will try to split the
13809 image data up into bands if it is too big to fit into a single
13810 cgm cell array element. It will have problems if you try to insert
13811 an image wider than about 10,000 pixels though.
13813 * Makefile.am: use gnomedatadir for the files that need to be
13814 installed in gnome's datadir. This is mainly to help people doing
13815 packages for weird setups.
13817 1999-12-22 James Henstridge <james@daa.com.au>
13819 * plug-ins/cgm/cgm.c: added support for text. Now only images and
13820 beziers are left to do. The text seems to be the wrong way up
13821 still. This is probably a problem with character orientation
13822 element, but I have used what the settings given in the standard.
13823 Other than this, the CGMs dia produces are readable (and displayable)
13824 by ralcgm and corel draw.
13825 (draw_string): subtract from the X coord rather than the Y coord for
13826 center and right aligned text.
13828 * plug-ins/cgm/cgm.c: a few fixups for the output. Use REALSIZE as
13829 the size of a real number, and changed name of write_double to
13830 write_real. Consider changing to fixed real encoding. Also, now
13831 all element headers are correct. Once the real number encoding is
13832 fixed, only text, beziers and images are left to do.
13834 1999-12-21 James Henstridge <james@daa.com.au>
13836 * Makefile.am (SUBDIRS): recurse into plug-ins.
13838 * configure.in: add plug-ins directory makefiles to list.
13840 * plug-ins/cgm/cgm.c: start of cgm export filter. Beziers and text
13841 not done yet. Also, the output files are not quite correct.
13843 * app/render_eps.c (print_reencode_font): don't reencode the Symbol
13844 font. It doesn't work if you do.
13846 1999-12-20 James Henstridge <james@daa.com.au>
13848 * app/app_procs.c (app_init): don't use diagram_export_to_eps to
13849 export the files. Instead, use filter_guess_export_filter to
13850 guess the correct format to save in and use the appropriate filter.
13851 It defaults to postscript for compatibility.
13853 * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
13856 * app/commands.[ch]: removed export to eps functions.
13858 * app/menus.c: removed export to eps menu items.
13860 * app/app_procs.c: register new export filters.
13862 * app/load_save.[ch]: define dia native export filter.
13864 * app/render_eps.[ch]: define eps export filter.
13866 * lib/filter.h: added diafilename argument to the DiaExportFunc
13867 prototype. This is useful for putting the source of the diagram
13868 into the output file for instance.
13870 * app/app_procs.c (app_init): register the SVG export filter. Have
13871 to get EPS code converted to this API, and maybe also allow saving in
13872 DIA's native format from the export dialog. In fact, it is now
13873 possible to load an export filter from a shared library and it will
13874 integrate into the interface correctly.
13876 * app/menus.c: removed references to the SVG renderer.
13878 * app/commands.[ch]: removed svg stuff.
13880 * app/diagram.[ch]: removed diagram_export_to_svg function.
13882 * app/render_svg.[ch]: added a DiaExportFilter structure for this
13885 * app/filedlg.[ch]: code for the new export diagram dialog. Will
13886 probably move the open/save dialogs to this file as well.
13888 1999-12-19 James Henstridge <james@daa.com.au>
13890 * lib/filter.[ch]: start of interface for generalised handling of
13891 filters. I have only done code for export filters so far. I still
13892 need to do the gui for this, and convert the current SVG and EPS
13893 filters to the new API.
13895 * lib/bezier_conn.c (bezierconn_copy): fix up copy operation. We
13896 weren't setting the last handle correctly. It was actually assigning
13897 to the wrong position in the handles array, so the last handle was
13898 left as NULL, which caused the segfault.
13900 * objects/standard/image.c (image_copy): modified routine so that
13901 it just adds a reference to the DiaImage structure in the new image
13902 object. This seems to have cleared up the problems with copying
13905 * dia.spec: spec file additions from John Gotts.
13907 1999-12-12 James Henstridge <james@daa.com.au>
13909 * configure.in (GNOME_LIBS): updated version number to 0.82. 0.82
13910 has not been released yet though.
13912 * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
13915 The following based on a patch from Lars Clausen:
13917 * objects/standard/bezier.c (bezierline_move_handle): when performing
13918 the initial drag of the bezierline, move the control points to keep
13921 * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
13922 make the new control points a bit closer to the major point.
13924 * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
13925 as the reason for the move.
13926 (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
13929 * lib/handle.h: new handle move reasons.
13931 1999-12-09 James Henstridge <james@daa.com.au>
13933 * dia.spec: include the new files in RPMs.
13935 * Makefile.am: install these new files.
13937 * dia.keys.in: file describing actions and icon for dia diagrams for
13938 use in the gnome file manager.
13940 * dia.mime: a file defining the application/x-dia-diagram mime type.
13942 * dia-diagram.png: an icon for dia diagrams.
13944 1999-12-08 James Henstridge <james@daa.com.au>
13946 * plug-ins/python/pydia-diagram.c: added heaps of new methods.
13948 * plug-ins/python/pydia-display.[ch]: wrapper for display.
13950 * objects/standard/ellipse.c: applied Lars's patch to optionally not
13951 draw the background of the ellipse.
13953 * app/load_save.c (read_connections): do some sanity checking on the
13954 handle and connection point numbers before performing the object
13957 * lib/bezier_conn.c (bezierconn_load): give the correct number of
13958 handles when loading a BezierConn.
13960 1999-12-07 Kjartan Maraas <kmaraas@online.no>
13962 * sheets/*.sheet: Finished Norwegian translations.
13964 1999-12-07 James Henstridge <james@daa.com.au>
13966 * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
13967 (PyDia_GetObjectType): find object type function.
13969 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
13970 method for diagrams.
13972 * plug-ins/python/pydia-object.c: added methods for DiaObject and
13975 * AUTHORS: added Lars and Cyrille to the authors file.
13977 * objects/standard/bezier.c (bezierline_add_segment_callback): place
13978 new point correctly.
13980 * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
13982 * lib/bezier_conn.c: applied Lars's patch for placement of the new
13983 point when adding a segment to a BezierConn.
13985 1999-12-06 James Henstridge <james@daa.com.au>
13987 * plug-ins/python/test.py: test script for the python plug-in.
13989 * plug-ins/python/python.c: this file contains the plug-in startup
13990 code for the python plugin. Right now, it just initialises the
13991 dia module and executes a script.
13993 * objects/standard/polyline.c (polyline_draw): fix start arrow size.
13995 * objects/standard/bezier.c (bezierline_draw): draw control lines for
13996 bezier curve if we are using an interactive renderer (ie. only if
13997 displaying to the screen).
13999 * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
14000 to draw control lines on to a bezier curve. Based on implementation
14003 * objects/standard/bezier.c (bezierline_delete_segment_callback):
14004 calculate segment number using closest_segment rather than
14005 closest_handle. Sometimes the closest handle is part of a different
14007 (bezierline_draw): use correct size for start arrow.
14009 The next few entries are from Peter Moulder <reiter@netspace.net.au>:
14010 * lib/geometry.c (distance_line_point): added notes to documentation
14012 * app/object_ops.c (object_list_align_v):
14013 (object_list_align_h): fix of by one error when calculating free space
14014 for equal distance alignment.
14015 * app/menus.c (objects_align_h, objects_align_v): include align
14016 adjacent menu items in the gnome version of the menus.
14017 * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
14018 align adjacent menu items correctly.
14021 * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
14024 * objects/standard/bezier.c: converted bezierline to use BezierConn.
14025 Still a few bugs. It crashes on deleting line segments.
14027 * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
14029 1999-12-05 James Henstridge <james@daa.com.au>
14031 * lib/bezier_conn.[ch]: start of BezierConn object
14033 * app/interface.c: add bezierline to toolbox.
14035 * objects/standard/standard.c: initialise bezierline.
14037 * objects/standard/bezier.c: new object from Lars R. Clausen. I have
14038 made a few modifications to get it working nicely. It still needs
14039 a bit of work though. Maybe create a BezierConn object in lib.
14041 1999-12-02 James Henstridge <james@daa.com.au>
14043 * plug-ins/python/pydia-*.c: fixed compile errors in these files.
14045 * plug-ins/python/Makefile.am: tried building everything. It is
14046 building as a library at the moment. I will have to convert it
14047 to a libtool library and add some initialisation code.
14049 * plug-ins/python/diamodule.c: start of the dia module, using the
14050 other object wrappers. Not complete.
14052 1999-12-01 James Henstridge <james@daa.com.au>
14054 * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
14055 the handles and connections attributes.
14057 * plug-ins/python/pydia-layer.c: added functions that use
14060 * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
14062 * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
14064 * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
14065 I am currently wrapping the basic elements in the diagram in python
14066 objects -- nothing to see or play with yet.
14068 1999-11-30 Alexander Larsson <alla@lysator.liu.se>
14072 James Henstridge <james@daa.com.au> is now the maintainer of Dia.
14074 1999-11-29 Alexander Larsson <alla@lysator.liu.se>
14078 Added russian translation from Valek Filippov <frob@df.ru>
14080 1999-11-24 James Henstridge <james@daa.com.au>
14083 * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
14084 discussed with Alex. Also added extra makefiles so that make install
14087 1999-11-23 Alexander Larsson <alla@lysator.liu.se>
14089 * app/preferences.[ch]:
14091 Added snap to grid preference.
14092 Patch from Michael Leslie <mles@springboardwireless.com>
14094 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
14100 * objects/custom/shape_info.c:
14101 All strings returned by libxml must be freed with free, not
14102 g_free, or there will be problems if you use memory debugging
14105 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
14107 * app/create_object.[ch]:
14110 * app/commands.[ch]:
14112 * app/interface.[ch]:
14113 Reverted the tool menu patch. It has some 'issues'.
14114 I liked it though, so it'll probably return.
14116 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
14118 Fixed a lot of memory leaks. Thanks to Bruce Mitchener
14119 <bruce@cybersight.com> for some purify runs and analysis.
14120 Also a great thank you to Owen Taylor for creating MemProf, a
14121 free memory leak detector that was used to find and verify a
14122 lot of these fixes.
14125 * app/paginate_psprint.c:
14126 * app/render_eps.[ch]:
14127 * app/render_svg.[ch]:
14131 Don't add a reference to ddisp->shell. Why was this done in
14138 Free all strings returned from xmlGetProp
14140 * app/modify_tool.c:
14143 * objects/custom/custom.c:
14144 Use closedir() after opendir().
14146 * objects/custom/shape_info.c:
14147 User g_free() instead of "if (tmp) free(tmp)".
14150 Add newline at end of file.
14153 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
14155 Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
14156 Adds tool menu and keyboard shortcuts.
14158 * app/create_object.[ch]:
14159 Use tool_set() instead of tool_reset().
14160 create_create_object_tool() takes extra type argument
14166 Moved tool_data here, export it.
14167 Add separate tool type for all create objects tools.
14168 new functions tool_set().
14171 New callback tool_set_callback.
14174 Moved some pixmaps to interface.c.
14177 Remove tool_data array (moved to tool.c).
14178 Use the tool_data from tool.c.
14179 Remove modify_tool_button global var.
14181 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
14183 Patch from Patrick Reynolds <reynolds@cs.duke.edu>
14186 Interprets command-line arguments as files to open even when
14187 HAVE_POPT is not defined.
14190 Shift-clicking when zooming zooms out, like the Gimp.
14193 Has hotkeys for zoom-100% and snap-to-grid.
14195 1999-11-17 James Henstridge <james@daa.com.au>
14197 * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
14198 that it is not jumpy.
14200 * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
14202 * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
14203 scrolling by pressing the shift key when using the scroll tool.
14205 * sheets/Makefile.am: fixed makefile so that install actually works
14206 if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
14208 (SHEETS): install Circuit.sheet
14210 1999-11-15 Alexander Larsson <alla@lysator.liu.se>
14211 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
14213 * sheets/Circuit.sheet:
14216 * sheets/Flowchart.sheet:
14217 * sheets/UML.sheet:
14218 * sheets/network.sheet:
14219 * sheets/sybase.sheet:
14222 * sheets/Circuit.sheet:
14223 added some missing French translations
14226 killed the temporary sheet namespace
14228 * objects/custom/custom.c:
14229 obsolete comment cleaned up
14231 1999-11-12 Alexander Larsson <alla@lysator.liu.se>
14235 Added portugese translation from Pedro Morais
14236 <pmmm@rnl.ist.utl.pt>
14238 1999-11-11 Alexander Larsson <alla@lysator.liu.se>
14240 Changed all sheets to be specified in xml.
14241 All sheet objects removed from the C code.
14242 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
14247 Updated version to 0.81cvs.
14250 Update run_dia.sh with sheet-dir.
14253 Load all sheets on startup.
14254 Create sheet directory first time.
14255 Don't call custom_register_sheets().
14258 Add sheetdir define
14261 Remove custom_register_sheets().
14264 Add sheet loading code.
14266 * sheet/Circuit.sheet:
14269 * sheet/Flowchart.sheet:
14271 * sheet/network.sheet:
14272 * sheet/sybase.sheet:
14275 * sheet/ER/weakentity.xpm:
14276 * sheet/UML/aggregation.xpm
14277 * sheet/UML/umlclass_template.xpm
14278 Added sheet pixmaps.
14279 These are moved from their old places.
14281 * sheet/.cvsignore:
14285 Removed sheet objects and sheet registration.
14287 * objects/ER/Makefile.am:
14288 * objects/ER/pixmaps/weakentity.xpm:
14289 * objects/UML/Makefile.am:
14290 * objects/UML/pixmaps/aggregation.xpm:
14291 * objects/UML/pixmaps/umlclass_template.xpm:
14292 Removed alternative pixmaps. (Moved to sheet).
14294 * objects/custom/Makefile.am:
14295 * objects/custom/load_sheet.[ch]:
14296 Removed old sheet loading code.
14298 * objects/custom/custom.c:
14299 Load all shapes instead of sheets.
14300 Removed custom_register_sheets().
14302 * objects/custom/custom_object.c:
14305 * objects/custom/shape_info.[ch]:
14306 Added shape_info_getbyname().
14308 * objects/flowchart/Makefile.am:
14309 * objects/flowchart/collate.shape
14310 * objects/flowchart/delay.shape
14311 * objects/flowchart/display.shape
14312 * objects/flowchart/document.shape
14313 * objects/flowchart/extract.shape
14314 * objects/flowchart/flowchart.c
14315 * objects/flowchart/intstorage.shape
14316 * objects/flowchart/magdisk.shape
14317 * objects/flowchart/magdrum.shape
14318 * objects/flowchart/magtape.shape
14319 * objects/flowchart/manualinput.shape
14320 * objects/flowchart/manualop.shape
14321 * objects/flowchart/merge.shape
14322 * objects/flowchart/offlinestore.shape
14323 * objects/flowchart/offpageconn.shape
14324 * objects/flowchart/or.shape
14325 * objects/flowchart/predefdproc.shape
14326 * objects/flowchart/preparation.shape
14327 * objects/flowchart/punchedcard.shape
14328 * objects/flowchart/punchedtape.shape
14329 * objects/flowchart/sort.shape
14330 * objects/flowchart/sumjunction.shape
14331 * objects/flowchart/terminal.shape
14332 * objects/flowchart/transaction.shape
14333 * objects/flowchart/transmittape.shape
14334 * objects/flowchart/pixmaps/collate.xpm
14335 * objects/flowchart/pixmaps/delay.xpm
14336 * objects/flowchart/pixmaps/display.xpm
14337 * objects/flowchart/pixmaps/document.xpm
14338 * objects/flowchart/pixmaps/extract.xpm
14339 * objects/flowchart/pixmaps/intstorage.xpm
14340 * objects/flowchart/pixmaps/magdisk.xpm
14341 * objects/flowchart/pixmaps/magdrum.xpm
14342 * objects/flowchart/pixmaps/magtape.xpm
14343 * objects/flowchart/pixmaps/manualinput.xpm
14344 * objects/flowchart/pixmaps/manualop.xpm
14345 * objects/flowchart/pixmaps/merge.xpm
14346 * objects/flowchart/pixmaps/offlinestore.xpm
14347 * objects/flowchart/pixmaps/offpageconn.xpm
14348 * objects/flowchart/pixmaps/or.xpm
14349 * objects/flowchart/pixmaps/predefdproc.xpm
14350 * objects/flowchart/pixmaps/preparation.xpm
14351 * objects/flowchart/pixmaps/punchedcard.xpm
14352 * objects/flowchart/pixmaps/punchedtape.xpm
14353 * objects/flowchart/pixmaps/sort.xpm
14354 * objects/flowchart/pixmaps/sumjunction.xpm
14355 * objects/flowchart/pixmaps/terminal.xpm
14356 * objects/flowchart/pixmaps/transaction.xpm
14357 * objects/flowchart/pixmaps/transmittape.xpm
14358 Moved shapes and their pixmaps to shapes/flowchart
14360 * shapes/Circuit/Makefile.am:
14361 * shapes/Circuit/index.sheet:
14362 Removed index.sheet.
14364 * shapes/Makefile.am:
14365 * shapes/flowchart/Makefile.am:
14366 * shapes/flowchart/*.shape:
14367 * shapes/flowchart/*.xpm:
14368 Added flowchart shapes. (Moved from objects/flowchart)
14371 1999-11-07 Fredrik Hallenberg <hallon@lysator.liu.se>
14373 * app/app_procs.c: Fixed popt stuff.
14375 1999-11-01 James Henstridge <james@daa.com.au>
14377 * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
14380 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
14384 Update version to 0.81.
14387 Update with news for 0.81.
14389 * shapes/Circuit/*:
14390 * shapes/Circuit_eu/*:
14391 Moved european circuit objects to Circuit sheet.
14393 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
14395 * lib/diagramdata.[ch]:
14396 Added layer_set_object_list() function.
14399 Added support for undo of reordered objects.
14400 Fix the undo of delete to keep the right order on undo.
14403 changed loop to object_add_updates_list() calls.
14404 Added undo support to bring to front/back.
14406 * app/disp_callbacks.c:
14407 * app/paginate_psprint.c:
14410 1999-10-30 Alexander Larsson <alla@lysator.liu.se>
14412 This plugs some leaks. Thanks to
14413 Bruce Mitchener <bruce@cybersight.com> for running
14414 Dia through purify for me.
14417 Free displays and diagrams on exit.
14419 * app/modify_tool.c:
14420 Free gc when freeing tool.
14422 * lib/diagramdata.c:
14426 Free update and display lists when destroying display.
14428 * lib/diagramdata.c:
14429 Don't leak layer name.
14431 * objects/custom/load_sheet.c:
14432 * objects/custom/shape_info.c:
14433 Free loaded xml documents.
14435 1999-10-28 Alexander Larsson <alla@lysator.liu.se>
14438 * app/object_ops.[ch]:
14439 Add undo handling to alignment ops.
14440 Based partially on patch by Dan Cohn <dan@internap.com>.
14442 * objects/standard/image.c (image_move_handle):
14443 Don't divide by zero for small images.
14444 Patch by Dan Cohn <dan@internap.com>.
14446 * objects/UML/class.c (umlclass_destroy):
14447 * objects/custom/custom_object.c (custom_destroy):
14448 Don't free connectionpoints before calling element_destroy
14449 which unconnects them.
14451 1999-10-26 Alexander Larsson <alla@lysator.liu.se>
14453 * objects/custom/custom_object.c:
14454 Load and save padding too. Fixes strange load crashes.
14456 * app/group.c (group_destroy):
14457 Don't unconnect already freed connectionpoints when
14458 destroying group. Probably fixes bug reported by
14459 Elliot Lee <sopwith@redhat.com>.
14461 * app/render_gdk.c:
14462 Don't crash on zero-size (broken) bezier curves.
14463 Different sort of fix. This should work on closed bezier curves
14466 * objects/standard/textobj.c:
14467 Activate default properties dialog for Text objects.
14469 * app/render_eps.c:
14471 * app/preferences.c:
14472 * app/render_svg.c:
14473 fopen files in binary or text mode.
14475 1999-10-26 Alexander Larsson <alex@cendio.se>
14477 * app/render_gdk.c (bezier_add_lines):
14478 Don't crash on zero-size (broken) bezier curves.
14479 Fixes a crashing bug.
14481 1999-10-25 James Henstridge <james@daa.com.au>
14483 * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
14484 before it is installed.
14486 * objects/flowchart/flowchart.c: use relative paths to find shapes.
14488 * objects/custom/custom.c (custom_object_load): take file names
14489 relative to $(pkgdatadir)/shape-internal, and check an environment
14490 variable for an alternative directory.
14492 * app/...: added copyright messages to the top of my new code.
14494 * app/paginate_psprint.c: some general clean ups. Also, give an error
14495 dialog if we can't open the command or output file for writing.
14497 * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
14498 function so it would set orientation to landscape correctly.
14500 * app/paginate_psprint.c: use the paper settings that come with
14501 the diagram. Also implemented landscape printing.
14503 * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
14506 * app/commands.[ch] (file_pagesetup_callback): added callback for
14507 the page setup dialog.
14509 * app/menus.c: added page setup menu item.
14511 * app/pagesetup.[ch]: implementation of the page setup dialog.
14513 * app/diapagelayout.[ch]: added accessors for the scaling factor.
14515 * app/load_save.c (diagram_load): load paper information from save
14517 (diagram_save): save the paper info.
14519 * lib/diagramdata.c (new_diagram_data): initialise paper info section
14520 of DiagramData structure.
14521 (diagram_data_destroy): free the paper name.
14523 * lib/diagramdata.h: added a paper member to the DiagramData structure
14524 that holds the page layout info for a diagram.
14526 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
14528 * objects/flowchart/box.c:
14529 * objects/flowchart/ellipse.c:
14530 * objects/flowchart/diamond.c:
14531 * objects/flowchart/parallelogram.c:
14532 Load and save padding too. Fixes strange load crashes.
14534 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
14536 * app/app_procs.c (name_is_lib):
14537 .dll, .sl and .so.0.0.0 are also libraries.
14539 1999-10-20 James Henstridge <james@daa.com.au>
14541 * configure.in: added extra makefile.
14543 * shapes/Circuit_eu/*: a new set of european circuit shapes from
14544 Andreas Scherf <scherfa@fh-trier.de>. Made a few small modifications
14545 (added fuses to makefile, fill the area of some of the components).
14547 1999-10-19 Alexander Larsson <alla@lysator.liu.se>
14551 Add GDK_IMLIB_CFLAGS to includes.
14552 Changed --export-dynamic to -export-dynamic
14555 * objects/UML/message.c:
14556 Removed c++ comment.
14558 * lib/render_store.[ch]:
14559 Don't use empty structure. That is not Ansi C.
14561 1999-10-19 James Henstridge <james@daa.com.au>
14563 * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
14564 the margin entries, as they allow interpretation of units.
14565 (paper_size_change): display the current page dimensions.
14567 * app/diaunitspinner.[ch]: a widget derived from the standard
14568 GtkSpinButton that tries to take units into account. So if you enter
14569 "1in" into the entry, it will convert it to 2.54cm.
14571 1999-10-18 Alexander Larsson <alla@lysator.liu.se>
14574 Removed include of dlfcn.h
14576 1999-10-18 James Henstridge <james@daa.com.au>
14578 * app/diapagelayout.c (paper_size_change, orient_changed): set upper
14579 bound on margin widths. It is set to the paper width/height.
14581 * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
14582 routine for the diamond. This bug was found and fixed by Daniel Wang
14583 <danwang@CS.Princeton.EDU>
14585 Sun Oct 17 19:46:36 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen)
14587 * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
14588 remove warning (OS/2 version).
14590 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
14593 Put a pointer to objects/custom/README.
14595 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
14598 Updated version to 0.80
14601 Updated version to 0.80cvs
14603 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
14605 * Released Dia 0.80
14606 Tag called DIA_0_80
14608 1999-10-17 Fredrik Hallenberg <hallon@lysator.liu.se>
14612 * objects/UML/Makefile.am
14613 * objects/ER/Makefile.am
14614 * objects/network/Makefile.am
14615 * objects/standard/Makefile.am
14616 * objects/FS/Makefile.am
14617 * objects/sybase/Makefile.am
14618 * objects/flowchart/Makefile.am
14619 * objects/custom/Makefile.am
14620 Added -I$(top_srcdir)/intl which is needed for
14621 --with-included-gettext.
14627 Updated swedish translation.
14629 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
14632 Updated version number to 0.80.
14638 Updated. Moved bugs to KNOWN_BUGS.
14641 Updated with 0.80 release notes.
14643 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
14646 For backwards compatibility, make sure handle 0 and 1 are the
14647 first and last handle. Fixes compatibility with 0.41, breaks
14648 compatibility with cvs version.
14649 Fixed bug in undo/redo of adding deleting endpoint segments
14650 when the endpoint was connected.
14651 Start OrthConn objects with three segments.
14653 1999-10-16 James Henstridge <james@daa.com.au>
14655 * objects/custom/custom_object.c (custom_update_data): changed
14656 resizing behaviour a bit so that shapes don't grow huge when you try
14657 to resize them to smaller than the size required by the text box.
14658 Also, now shapes will not grow with fixed aspect ratio when you enter
14659 text into them unless the shape has the fixed aspect ratio flag set.
14661 1999-10-15 James Henstridge <james@daa.com.au>
14663 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14665 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14667 * objects/flowchart/magdrum.shape:
14668 * objects/flowchart/offlinestore.shape:
14669 * objects/flowchart/punchedtape.shape:
14670 * objects/flowchart/transmittape.shape:
14671 * objects/flowchart/punchedcard.shape: new shapes.
14673 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14675 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14677 * objects/flowchart/collate.shape:
14678 * objects/flowchart/delay.shape:
14679 * objects/flowchart/extract.shape:
14680 * objects/flowchart/intstorage.shape:
14681 * objects/flowchart/magdisk.shape:
14682 * objects/flowchart/magtape.shape:
14683 * objects/flowchart/merge.shape:
14684 * objects/flowchart/or.shape:
14685 * objects/flowchart/sort.shape:
14686 * objects/flowchart/sumjunction.shape: new shapes.
14688 1999-10-15 Alexander Larsson <alla@lysator.liu.se>
14692 Entering an erronous command as print command
14695 * app/paginate_psprint.c:
14696 Save all print dialog values for next time.
14699 Remove custom lib from DIA_LIB_PATH.
14701 1999-10-14 James Henstridge <james@daa.com.au>
14703 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14705 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14707 * objects/flowchart/offpageconn.shape:
14708 * objects/flowchart/manualop.shape:
14709 * objects/flowchart/preparation.shape:
14710 * objects/flowchart/manualinput.shape:
14711 * objects/flowchart/predefdproc.shape:
14712 * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
14714 1999-10-13 James Henstridge <james@daa.com.au>
14716 * app/diapagelayout.[ch]: added accessors to paper information. The
14717 widget should be just about complete now.
14719 * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
14720 It actually does something now.
14722 1999-10-12 James Henstridge <james@daa.com.au>
14724 * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
14725 for the page layout widget.
14727 * app/diapagelayout.[ch]: start of page layout widget. Not actually
14728 built yet as it is not complete.
14730 * objects/flowchart/flowchart.c: added new shapes to sheet.
14732 * objects/flowchart/display.shape:
14733 * objects/flowchart/transaction.shape: new shapes.
14735 * AUTHORS: added my name to the spec file.
14737 * dia.spec: include the dia desktop entry to the spec file.
14739 * Makefile.am: install the dia.desktop file.
14741 * dia.desktop: added a gnome desktop entry so you can start dia
14742 from the gnome panel menu.
14744 1999-10-11 James Henstridge <james@daa.com.au>
14746 * objects/custom/custom_object.c:
14747 * objects/custom/shape_info.c: warning fixes.
14749 * objects/flowchart/document.shape: a shape file for the `document'
14752 * lib/custom.h: new header with the custom shape prototypes.
14754 * app/app_procs.c: register custom objects as well.
14755 (register_objects_in): close shared libraries if they don't load
14756 correctly, and call g_module_make_resident on libraries that load
14759 * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
14761 * objects/custom/custom.c: removed get_version, added custom_ prefix
14762 to register_objects and register_sheets.
14764 * objects/custom/Makefile.am: converted to a normal library.
14766 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
14768 * app/lineprops_area.c:
14769 * app/render_svg.c:
14771 * objects/custom/shape_info.c:
14772 * objects/flowchart/box.c:
14773 * objects/flowchart/diamond.c:
14774 * objects/flowchart/ellipse.c:
14775 * objects/flowchart/parallelogram.c:
14776 * objects/network/flash.c:
14777 * objects/network/scead-plug.c:
14778 * objects/sybase/client.c:
14779 Removed -Wall warnings.
14781 * objects/network/bus.c:
14782 Removed unused functions.
14784 * objects/FS/flow-ortho.c:
14785 * objects/FS/flow-poly.c:
14786 * objects/FS/flow.c:
14787 * objects/FS/function.c:
14789 Implemented "non-implemented" undo for FS objects.
14790 Now at least it won't crash.
14792 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
14794 * objects/network/bus.c:
14796 Handles are now added and removed using the object menu.
14797 Default to 6 handles instead of 10.
14798 Changed name from "Standard - Bus" to "Network - Bus". Kept old
14799 name for backwards compatibility.
14801 * objects/network/network.c:
14802 Changed name from "Standard - Bus" to "Network - Bus". Kept old
14803 name for backwards compatibility.
14805 * app/properties.[ch]:
14807 Update properties in properties dialog if the shown object
14808 is part of and ObjectChange (undo or redo).
14811 Remove old known bugs list.
14813 * objects/UML/class_dialog.c:
14814 Removed debug printf's.
14816 1999-10-10 James Henstridge <james@daa.com.au>
14818 * objects/custom/custom.c (custom_object_load): new function that
14819 provides a nice entry point to the custom shape code for when it
14820 gets used by other libraries.
14822 * configure.in: removed 11 makefiles from AC_OUTPUT list. This
14823 speeds builds up a bit.
14825 * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
14826 (SUBDIRS): do not descend into pixmaps subdirs.
14828 * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
14829 This speeds up build process.
14831 * objects/custom/custom.c (sheets): made variable static.
14833 * objects/custom/custom_util.[ch] (custom_get_relative_filename):
14836 * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
14838 * objects/custom/custom.c: look in ~/.shapes instead of
14839 ~/.dia_shapes as the per-user shapes directory.
14841 * app/preferences.c (prefs_save): save config to ~/.diarc.
14842 (prefs_load): load configuration from ~/.diarc. If the file
14843 does not exist, fallback on the old ~/.diarc location.
14845 * app/app_procs.c (create_user_dirs): create the ~/.dia directory
14847 (register_all_objects): look for user specific objects in
14848 ~/.objects rather than ~/.dia_libs.
14850 1999-10-10 Fredrik Hallenberg <hallon@lysator.liu.se>
14854 * objects/flowchart/box.c
14855 * objects/flowchart/ellipse.c
14856 * objects/flowchart/flowchart.c
14857 Use gmodule for dynamic linking. As gmodule is using
14858 RTLD_GLOBAL i had to change flowchart box and ellipse
14859 so the typenames doesn't conflict with the standard
14864 Use button box to make dialogs look better.
14866 1999-10-09 Alexander Larsson <alla@lysator.liu.se>
14868 * objects/UML/class_dialog.c:
14869 * objects/UML/class.h:
14870 Implemented undo for "UML - Class" objects.
14871 Not 100% tested yet.
14873 * objects/UML/classicon.c:
14874 * objects/UML/constraint.c:
14875 * objects/UML/dependency.c:
14876 * objects/UML/generalization.c:
14877 * objects/UML/implements.c:
14878 * objects/UML/large_package.c:
14879 * objects/UML/lifeline.c:
14880 * objects/UML/message.c:
14881 * objects/UML/object.c:
14882 * objects/UML/realizes.c:
14883 * objects/UML/state.c:
14884 * objects/UML/usecase.c:
14887 * lib/connectionpoint.h:
14890 1999-10-09 James Henstridge <james@daa.com.au>
14892 * objects/custom/*.[ch]: added copyright notices to custom object
14895 * shapes/Circuit/hdiode.shape:
14896 * shapes/Circuit/hzener.shape:
14897 * shapes/Circuit/opamp.shape:
14898 * shapes/Circuit/vdiode.shape:
14899 * shapes/Circuit/vzener.shape: made adjustments to make the circuit
14900 shapes look nice after the custom shape code changes.
14902 * objects/custom/README: updated docs to cover changes to drawing
14905 * objects/custom/custom_object.c (custom_draw): honour the line
14906 properties when drawing the shape.
14908 * objects/custom/shape_info.[ch]: added support for setting line
14909 properties for individual drawing elements in a custom shape. You
14910 can set the dash style, dash length, cap style and join style.
14912 1999-10-07 James Henstridge <james@daa.com.au>
14914 * objects/custom/shape_info.c (parse_style): added a few extra synonyms
14915 for foreground and background.
14917 * objects/custom/custom_object.c (custom_draw): use the new style
14918 information when drawing the object.
14920 * objects/custom/shape_info.[ch]: store all shape style info in the
14921 GraphicStyle structure. This makes adding support for extra CSS
14922 attributes easier -- we don't have to keep adding extra arguments to
14923 a lot of functions.
14925 1999-10-05 James Henstridge <james@daa.com.au>
14927 * lib/intl.c (unalias_lang): merged in changes from the i18n code
14928 swiped from gnome-libs.
14930 1999-10-03 Alexander Larsson <alla@lysator.liu.se>
14932 * objects/standard/image.c (get_directory):
14933 Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
14935 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
14937 * lib/poly_conn.c (polyconn_destroy):
14938 Fix bug. Access of freed memory.
14939 Rememeber, you can't free the handles of an object
14940 before calling object_destroy(), as it unconnects the handles
14941 therefore referencing them.
14943 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
14946 undo_clear() didn't set stack->depth to zero.
14947 This made other undo functions crash after this had been called
14951 Slightly modified by Chris Love <clove@exactis.com>
14953 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
14955 * objects/UML/class.h:
14956 * objects/UML/class_dialog.c:
14957 Retrun NULL ObjectChange on class property change.
14958 This means no crashes, but "UML - Class" doesn't support undo yet.
14960 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
14965 * objects/UML/classicon.c:
14966 * objects/UML/dependency.c:
14967 * objects/UML/generalization.c:
14968 * objects/UML/implements.c:
14969 * objects/UML/large_package.c:
14970 * objects/UML/lifeline.c:
14971 * objects/UML/message.c:
14972 * objects/UML/object.c:
14973 * objects/UML/realizes.c:
14974 * objects/UML/state.c:
14975 * objects/UML/usecase.c:
14976 Update to new undo (w. get/set_state).
14977 Add object menu to add/delete segments.
14979 1999-09-17 Alexander Larsson <alla@lysator.liu.se>
14982 Add equal distance alignment.
14984 * app/object_ops.c:
14985 Add equal distance alignment.
14986 Fix bug in adjacent alignment.
14988 1999-09-16 Alexander Larsson <alla@lysator.liu.se>
14990 * objects/UML/constraint.c:
14991 Update to new undo (w. get/set_state).
14993 1999-09-15 Alexander Larsson <alla@lysator.liu.se>
14995 * app/paginate_psprint.c:
14996 Save (parts, more todo) of the info in the print dialog to the
14997 next time it's opened.
14998 Patch from Yo Ric Dude <ricdude@toad.net>
15000 1999-09-14 Alexander Larsson <alla@lysator.liu.se>
15003 Updated version string to 0.41cvs.
15005 * objects/UML/assocition.c:
15006 Update to new undo (w. get/set_state).
15007 Add object menu to add/delete segments.
15010 Added function debug_break() and called it after all
15011 objects and sheets are loaded. Place a breakpoint here if you
15012 want to debug objects. All symbols should be loaded.
15014 1999-09-12 James Henstridge <james@daa.com.au>
15016 * app/menus.c (display_menu_items): added print menu item.
15017 (filemenu): always add print menu item -- even if gnome-print is
15020 * app/commands.h, app/commands.c (file_print_callback): the print
15021 menu item is now available for both gnome-print and non gnome-print
15024 * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
15025 print with the non gnome-print driver.
15027 1999-09-11 James Henstridge <james@daa.com.au>
15029 * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
15030 printer dialog code out of commands.c.
15032 * app/paginate_psprint.c: new file containing the pagination code for
15035 * app/render_eps.c: made a few modifications so as well as producing
15036 EPS files, this renderer can be set up to do postscript printing.
15037 This basically entailed adding an extra function to create a RenderEPS
15038 renderer which did not bother setting the viewport for the document.
15039 That was left for the pagination code.
15041 1999-09-10 James Henstridge <james@daa.com.au>
15043 * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
15044 gnome-print does not support elliptic arcs at the moment, approximate
15045 the ellipse with eight bezier curves. This gives a pretty good
15046 match to a true ellipse.
15048 1999-09-09 James Henstridge <james@daa.com.au>
15050 * app/commands.c (file_gnome_print_callback): added support for
15051 scaling the diagram. Also fixed a few other bugs.
15053 * app/paginate_gnomeprint.c (print_page): added ability to scale
15054 document. Fixed up test to see if the page has no objects on it.
15055 This should prevent some blank pages being printed. Non square
15056 objects such as lines could still cause problems.
15058 1999-09-08 James Henstridge <james@daa.com.au>
15060 * app/commands.c (file_gnome_print_callback): changed from using the
15061 standard printer selection dialog to one that also has a paper size
15064 * commands.[ch]: added callbacks for the print menu item. Currently
15065 it only does A4 output. I will make it configurable soon.
15067 * app/menus.c: add a print diagram menu item if gnome-print support
15070 * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
15071 bit higher level than the gnome-print renderer. It splits the
15072 diagram into page size chunks and then renders them. For each
15073 page, it only renders the objects whose bounding box intersects
15074 the page, and it sets the clip mask so that the diagram does not
15075 overlap the margins.
15077 * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
15078 that uses gnome-print as its back end.
15080 * configure.in: added a check for gnome-print. It is disabled by
15081 default because the code is not really working correctly yet.
15083 * app/menus.c: the delete object menu item was missing from the
15084 GnomeUIInfo style menus.
15086 1999-09-07 Fredrik Hallenberg <hallon@lysator.liu.se>
15089 Added japanese to ALL_LINGUAS.
15090 Fix for Linux on Alpha.
15092 1999-09-07 Alexander Larsson <alla@lysator.liu.se>
15094 * app/create_object.c (create_object_button_press):
15095 Always initialize tool->obj. Otherwise we store a null
15096 in the undo Change.
15099 Set linestyle before drawing cursor.
15100 Fix undo of backwards delete.
15102 1999-09-05 James Henstridge <james@daa.com.au>
15104 * dia.spec: updated spec file to distribute $(prefix)/share/dia.
15106 * app/render_svg.c (draw_image): some fixes so that the appropriate
15107 style attributes are set. Before it was setting line styles on
15108 fill_* functions. Now it only does this for the draw_* variants.
15110 * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
15111 variable so that custom shapes can be loaded.
15113 * shapes/: new directory for custom shapes. The Circuit sheet has
15116 1999-09-02 James Henstridge <james@daa.com.au>
15118 * TODO: removed a few todo items that have been implemented.
15120 * app/interface.c (create_sheets): enabled the popup page menu to the
15121 notebook. This can make it easier to select different sheets.
15123 * object/custom/Circuit/: added diode, zener diode, ground point and
15124 operational amplifier shapes.
15126 * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
15127 if you want the output.
15129 * objects/custom/shape_info.c (parse_path): same here.
15131 * objects/custom/load_sheet.c (load_with_readdir): don't print so
15132 much debugging output. To get the previous level of output, define
15135 * objects/custom/shape_info.c (parse_svg_node): polygons were being
15136 recorded as polylines in the ShapeInfo structure.
15138 * objects/custom/README: some notes on writing new custom shapes.
15140 1999-09-01 James Henstridge <james@daa.com.au>
15142 * objects/custom/Circuit/hinductor.*:
15143 * objects/custom/Circuit/vinductor.*: added inductor shapes that
15144 also test out the bezier curve and SVG path support.
15146 * objects/custom/custom_object.c (custom_draw): added support for
15147 drawing bezier paths and filled shapes.
15149 * objects/custom/shape_info.c (parse_path): new function to parse
15150 SVG path elements. It does not do quadratic beziers or elliptic
15151 arcs though. Only moves, lines and cubic beziers.
15152 (*): added support for paths.
15154 1999-08-31 James Henstridge <james@daa.com.au>
15156 * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
15158 * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
15161 * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
15164 * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
15167 * lib/render_store.[ch]: use newer bezier functions.
15169 * lib/render.h: changed the bezier drawing functions to use an array
15170 of BezPoint structures instead of normal Point structures to allow
15171 lineto's mixed in with the curveto's.
15173 * objects/custom/Circuit/pnp.*: added pnp transistor shape.
15175 * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
15176 xpm images for different shapes to Makefile.
15178 * objects/custom/custom_object.c (custom_object_new): set the icon
15179 for the sheet button if there is one. Otherwise fall back on the
15180 default custom object icon.
15182 * objects/custom/shape_info.c (load_shape_info): read the sheet
15183 icon name from the shape file.
15185 * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
15186 check the pixmap_file field for the name of a pixmap file to load
15189 * lib/sheet.h (SheetObj): added pixmap_file field to structure. It is
15190 at the end of the structure, and it isn't used if the pixmap field
15191 is non NULL, so it should not break binary compatibility.
15193 * objects/custom/load_sheet.[ch]: moved sheet loading code here. Also
15194 added support for the use of an index.sheet file so you can specify
15195 the ordering of the shapes in the sheet, and also internationalise
15196 the sheet name and actually be able to give a description. The old
15197 readdir based sheet loading code acts as a fallback if an index.sheet
15198 file can not be found.
15200 * objects/custom/custom_util.[ch]: new file containing useful routines
15201 needed by the custom object code. Currently only contains a simple
15202 routine for resolving relative paths.
15204 * objects/custom/custom_object.c (custom_draw): fixed problem with
15205 drawing rectangles if the shape has been flipped.
15207 1999-08-30 James Henstridge <james@daa.com.au>
15209 * objects/custom/custom_object.c (custom_get_object_menu): allow
15210 flipping of custom shapes. This uses the miggle click object
15213 * objects/custom/Circuit/npn.shape: fix aspect ratio.
15215 * objects/custom/custom_object.c (custom_update_data): honour the
15216 aspect ratio constraints.
15218 * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
15219 tag parsing, so you can specify a free, fixed or a range for aspect
15220 ratios for the shape.
15222 1999-08-29 James Henstridge <james@daa.com.au>
15224 * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
15225 up shape namespace tag.
15227 * objects/custom/shape_info.c (load_shape_info): check xml:lang
15228 attribute on <description> elements to support i18n for custom
15229 shape descriptions.
15230 Also changed the shape namespace for custom shapes to something
15231 a little more sensible.
15233 * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
15235 * lib/intl.c: new file containing some functions for i18n stuff.
15237 * app/layer_dialog.c (create_button_box): fixed a warning.
15239 * objects/custom/custom_object.c: use current line style. Save dash
15242 * objects/flowchart/diamond.c: use current line style. Save dash
15245 * objects/flowchart/parallelogram.c: use current line style. Save
15248 * objects/flowchart/ellipse.c: use current line style. Save dash
15251 * objects/flowchart/box.c: use current line style. Save dash length.
15253 * objects/standard/ellipse.c: make ellipse use current line style.
15255 * objects/standard/box.c: use the line style set in the toolbox for
15256 new boxes, and remember the dash length.
15258 * app/commands.c (view_toggle_rulers_callback): fix reshowing of
15261 1999-08-24 James Henstridge <james@daa.com.au>
15263 * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
15264 to try to stop ellipse to get infinite width/height when we resize,
15265 while trying to keep the text inside the ellipse.
15267 * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
15268 * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
15269 resizing behaviour, so that you can't push objects round the screen
15270 with the resize handles.
15272 * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
15273 get the OK buttons in the dialogs to take default clicks.
15275 * objects/custom/custom_object.c: added code so that resizing the
15276 shape does not end up pushing it round the screen.
15278 1999-08-23 Alexander Larsson <alla@lysator.liu.se>
15280 * app/display.[ch]:
15281 Generate rectangle with the union of the damaged regions.
15282 This is used to optimize the grid paint and the object rendering.
15283 display_render_pixmap passes this info to grid_draw() and data_render().
15286 grid_draw doesn't draw grid lines outside of damaged rectangle.
15287 Sets dashlength when drawing non-solid grid.
15289 * lib/diagramdata.[ch]:
15290 data_render() and layer_render() takes an optional damaged rectangle
15291 argument. No objects not intersecting this are drawn.
15295 Call data_render with NULL update rectangle.
15297 1999-08-23 James Henstridge <james@daa.com.au>
15299 * objects/custom/custom_object.c (custom_update_data): if the aspect
15300 ratio is fixed, make sure the shape is not distorted.
15302 * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
15303 a <fixaspectratio/> tag is given in the shape file.
15305 * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
15306 added support for stroke-width, stroke and fill CSS attributes
15307 specified in style attributes of the SVG elements. The line width
15308 is relative to the user specified line width. The stroke and fill
15309 attributes can only be used to swap the foreground/background
15312 * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
15313 sensitivity on the dash length selector when this function is called.
15315 * objects/standard/arc.c: same. Also handle dash length.
15316 * objects/standard/zigzagline.c: same.
15317 * objects/standard/polyline.c: same. Also handle dash length.
15318 * objects/standard/line.c: use default arrow/line styles.
15320 * app/interface.c: added callbacks to set the default attributes.
15322 * lib/attributes.c: added implementations of these functions.
15324 * lib/attributes.h: added extra prototypes for the new line properties
15325 area in the toolbox.
15327 * app/interface.c (create_lineprops_area): added line properties
15328 area to bottom of toolbox.
15330 * app/lineprops_area.h: a header exporting a few routines of the
15331 line properties area widgets.
15333 * app/lineprops_area.c: new file containing a selector for arrows
15334 and line styles to go in the main toolbox.
15336 1999-08-22 Alexander Larsson <alla@lysator.liu.se>
15339 Update Gtk+ 1.0.5 comment to 1.2.0.
15348 Make sure we don't propagate -ldl and -lpopt to all LIBS
15349 by adding new var APP_LIBS that only app/dia links with.
15352 Update run_dia.sh to load custom and flowchart objects.
15354 * objects/ER/Makefile.am:
15355 * objects/FS/Makefile.am:
15356 * objects/UML/Makefile.am:
15357 * objects/network/Makefile.am:
15358 * objects/standard/Makefile.am:
15359 * objects/sybase/Makefile.am:
15360 Don't build versioned libs.
15362 1999-08-22 James Henstridge <james@daa.com.au>
15364 * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
15367 * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
15368 should actually work a bit now.
15370 * objects/custom/Circuit/*: a test sheet for the custom shape code.
15371 It is a small collection of circuit elements.
15373 * objects/custom/shape_info.c: fixed up loading of polylines and
15374 polygons. Before it was removing negative signs :(
15376 * objects/custom/pixmaps/custom.xpm: drew the custom shape icon. A
15377 placeholder was here before. I still need to work out how to set
15378 icons for individual custom shapes.
15380 * objects/custom/custom.c: added code to load the shapes into sheets
15381 properly. The shape files should be arranged into directories, and
15382 each directory represents a different sheet in the toolbox. This
15383 will make it very easy to distribute a collection of dia shapes as
15384 a tarball. I still need to work out internationalisation, and maybe
15385 also shape ordering in the sheet.
15387 * objects/custom/custom_object.c: fixed up dialogs for these objects.
15388 (custom_create): fix for objects without text areas.
15390 * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
15391 and saving of custom object works correctly now.
15393 1999-08-21 James Henstridge <james@daa.com.au>
15395 * objects/flowchart/ellipse.c:
15396 * objects/flowchart/diamond.c:
15397 * objects/flowchart/parallelogram.c:
15398 * objects/flowchart/box.c: Fixed up a few bugs in these objects when
15399 copying or loading these object types. Not all the connection
15400 points would be initialised correctly.
15402 * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
15405 * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
15406 build a versioned library. It will only ever be dlopen'd, so this
15409 * objects/custom/custom_object.c (custom_distance_from): allow
15410 selecting the object by clicking on the text. This fixes problems
15411 where the text box is outside the graphic.
15413 * objects/custom/shape_info.c (load_shape_info): fixed up reading
15414 of connections points. It should be possible to add connections
15415 to custom objects now.
15417 * objects/custom/custom_object.c (custom_update_data): fixed resizing
15418 due to changes to text.
15420 * configure.in: added extra makefiles.
15422 * objects/custom/shape_info.[ch]:
15423 * objects/custom/custom_object.c:
15424 * objects/custom/custom.c: the starts of custom shape support in dia.
15425 This is not built by default at the moment, since it is not quite
15426 complete. When it is, it will let you create more shapes for dia
15427 without writing a line of C. Its implementation includes buzzwords
15428 such as XML and SVG, so it must be good :)
15430 1999-08-19 Karsten Weiss <karsten@addx.au.s.shuttle.de>
15432 * app/app_procs.c (app_exit): Use button labels "Quit" and
15433 "Cancel" instead of "Yes" and "No".
15434 Set default action to "Cancel" instead of "Quit".
15436 1999-08-19 James Henstridge <james@daa.com.au>
15438 * objects/flowchart/flowchart.c: added ellipse object.
15440 * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
15442 1999-08-18 James Henstridge <james@daa.com.au>d
15444 * app/color_area.c (color_area_edit): small fix to prevent dia from
15445 segfaulting when you try to change the default foreground/background.
15447 1999-08-17 Alexander Larsson <alla@lysator.liu.se>
15449 * app/diagram.[ch] (diagram_redraw_all):
15450 Added function that redraws all diagrams.
15452 * app/preferences.c (prefs_apply):
15453 Call diagram_redraw_all when prefs are changed.
15455 * app/render_svg.c:
15456 Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
15457 older libxml's, and the old version works good enought here.
15459 1999-08-17 James Henstridge <james@daa.com.au>
15461 * lib/widgets.c: changed handlers that were connected to the GtkButton
15462 "pressed" signal to connect to the "clicked" signal. This removes the
15463 problem where dialogs are inactive until you click a mouse button
15464 after using a colour selector.
15466 * configure.in: added extra makefiles to AC_OUTPUT list.
15468 * objects/Makefile.am (SUBDIRS): added flowchart module
15470 * objects/flowchart/*: a collection of shapes for use in flowcharts.
15472 * app/color_area.c (color_area_events): similar here.
15474 * app/linewidth_area.c (linewidth_area_events): sometimes a configure
15475 event is recieved with event->width == 0, which causes a warning if we
15476 try to create a pixmap of that width.
15478 * app/preferences.c, app/preferences.h, app/grid.c: added code to
15479 allow you to configure the colour of the grid, and also lets you
15480 set the grid to use dotted lines instead of solid ones.
15482 * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
15483 app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
15485 * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
15486 export filter. It is not quite complete, but for most shapes it
15487 works as expected. Fonts still need a bit of work.
15489 1999-08-11 Robert Brady <rwb197@ecs.soton.ac.uk>
15491 * configure.in: Added "en_GB" to ALL_LINGUAS.
15493 1999-08-04 Fredrik Hallenberg <hallon@lysator.liu.se>
15496 Added Undo and Redo to GNOME menus.
15498 * objects/ER/attribute.c:
15499 * objects/ER/entity.c:
15500 * objects/ER/participation.c:
15501 * objects/ER/relationship.c:
15502 Added get/set_state functions.
15504 * objects/ER/participation.c:
15505 Added add/delete segment.
15508 Updated Swedish translation.
15510 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
15512 * app/preferences.[hc]:
15513 Added undo_depth pref.
15516 Never grow stack larger than pref.undo_depth.
15517 undo_depth == 0 means unlimited.
15518 Converted printfs to conditionally compiled DEBUG_PRINTFs.
15520 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
15525 * lib/render_object.c:
15526 * objects/ER/attribute.c:
15527 * objects/ER/entity.c:
15528 * objects/ER/participation.c:
15529 * objects/ER/relationship.c:
15530 * objects/FS/flow-ortho.c:
15531 * objects/FS/flow-poly.c:
15532 * objects/FS/flow.c:
15533 * objects/FS/function.c:
15534 * objects/UML/actor.c:
15535 * objects/UML/association.c:
15536 * objects/UML/class.c:
15537 * objects/UML/classicon.c:
15538 * objects/UML/component.c:
15539 * objects/UML/constraint.c:
15540 * objects/UML/dependency.c:
15541 * objects/UML/generalization.c:
15542 * objects/UML/implements.c:
15543 * objects/UML/large_package.c:
15544 * objects/UML/lifeline.c:
15545 * objects/UML/message.c:
15546 * objects/UML/note.c:
15547 * objects/UML/object.c:
15548 * objects/UML/realizes.c:
15549 * objects/UML/small_package.c:
15550 * objects/UML/state.c:
15551 * objects/UML/usecase.c:
15552 * objects/network/bus.c:
15553 * objects/standard/arc.c:
15554 * objects/standard/box.c:
15555 * objects/standard/ellipse.c:
15556 * objects/standard/image.c:
15557 * objects/standard/line.c:
15558 * objects/standard/polyline.c:
15559 * objects/standard/textobj.c:
15560 * objects/standard/zigzagline.c:
15561 Removed all traces of is_empty(). It doesn't work in an
15564 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
15569 Undoable grouping and ungrouping.
15571 * app/layer_dialog.c:
15572 * lib/diagramdata.[ch]:
15573 Undoable layer ops.
15575 * app/modify_tool.c:
15576 Undoable unconnect on handle move.
15578 * lib/orth_conn.[ch]:
15579 Working undoable add/remove segment.
15580 Removed endpoint_handles from OrthConn, renamed
15581 midpoint_handles to handles and put the endpoint
15584 * objects/standard/zigzagline.c:
15585 * objects/ER/participation.c:
15586 * objects/UML/association.c:
15587 * objects/UML/dependency.c:
15588 * objects/UML/generalization.c:
15589 * objects/UML/realizes.c:
15590 Update for the changes in OrthConn
15592 1999-07-23 Karsten Weiss <karsten@addx.au.s.shuttle.de>
15594 * configure.in: Added "de" to ALL_LINGUAS.
15596 1999-07-17 Alexander Larsson <alla@lysator.liu.se>
15608 Don't have the <Display> etc part of the menu strings
15609 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15612 Don't have the <Display> etc part of the menu strings
15613 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15614 Don't remove is_empty() objects, that don't work with undo.
15616 * lib/objchange.[ch]:
15618 Definition of ObjectChange. This is essentially an Change
15619 exported to the object libs. It encapsulates a change made
15620 to an objects internals. It can be applied, reverted and freed.
15621 There are also utility functions for doing ObjectChanges that
15622 only get/set the whole state of an object to store the change.
15623 This cannot be used when the object change deletes or adds a
15624 object which has references from other objects, eg. Handles which
15625 might be connected.
15628 Added objchange.c and objchange.h.
15631 Return NULL when loading fails.
15634 Menu callbacks return an ObjectChange.
15637 Reference objchange.o
15640 Key events return ObjectChange if they modify the object.
15644 Added object_add_handle_at() function.
15645 Apply properties returns an ObjectChange.
15646 Remove ObjectState and the get/set state functions, these
15647 don't always work. Use the new ObjectChange instead.
15650 Added object_add_handle_at() function implementation.
15652 * lib/orth_conn.[ch]:
15653 Use ObjectChange. Not finished yet.
15654 Removed get/set/free state functions
15656 * lib/poly_conn.[ch]:
15658 Don't remove segments that are small.
15659 Removed get/set/free state functions
15663 Added functions to get/set all text attributes.
15665 * objects/standard/arc.c:
15666 * objects/standard/box.c:
15667 * objects/standard/ellipse.c:
15668 * objects/standard/image.c:
15669 * objects/standard/line.c:
15670 * objects/standard/polyline.c:
15671 * objects/standard/textobj.c:
15672 * objects/standard/zigzagline.c:
15674 fixed bug in image_set_state.
15675 zigzagline.c not finished yet.
15677 * app/disp_callbacks.c:
15678 Use ObjectChange that are returned from menu callbacks and
15679 key_events for undo.
15681 * app/properties.c:
15682 Use ObjectChange that are returned from properties apply
15687 New undo type: ObjectChangeChange. This wraps a change to the
15688 internals of an object (and ObjectChange) in code that does
15689 app specific stuff (object_add_updates etc.)
15691 1999-07-11 Alexander Larsson <alla@lysator.liu.se>
15693 * lib/orth_conn.[ch]:
15694 Added code for add/delete segment.
15696 * objects/standard/zigzagline.c:
15697 Use the new orth_conn code.
15700 1999-07-08 Fredrik Hallenberg <hallon@lysator.liu.se>
15702 * objects/FS/Makefile.am
15703 Removed fs.h from sources.
15709 1999-07-07 Alexander Larsson <alla@lysator.liu.se>
15711 * app/disp_callbacks.c (ddisplay_canvas_events):
15712 Fix for bug. Every other arrow-key press got lost.
15713 patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
15716 change automake.sh to autogen.sh
15718 1999-06-24 Alexander Larsson <alla@lysator.liu.se>
15721 Don't remove 'empty' objects.
15722 This violent destruction of objects won't work
15723 with the new undo framework.
15725 * app/disp_callbacks.c:
15726 Save undo info for object menu calls and key_events.
15728 * app/properties.c:
15729 Save undo info on properties apply.
15731 * lib/dia_image.[ch]:
15732 Add refcounting for images.
15734 * app/render_eps.c:
15735 * app/render_gdk.c:
15737 DiaImage * -> DiaImage
15740 Add undo functions for object state changes.
15744 change of semntics for focus->key_event.
15745 Now returns TRUE if the object recieving the event
15751 * lib/orth_conn.[ch]:
15752 Don't automatically create and delete segments when
15753 handles are moved. This is incompatible with undo.
15754 Added state get, set and free functions.
15756 * lib/orth_conn.[ch]:
15757 Added state get, set and free functions.
15759 * objects/UML/object.c:
15760 * objects/UML/uml.c:
15761 Fixed typo "UML - Objet" -> "UML - Object".
15762 Saved old for backwards compatibility.
15764 * objects/standard/arc.c:
15765 * objects/standard/box.c:
15766 * objects/standard/ellipse.c:
15767 * objects/standard/image.c:
15768 * objects/standard/line.c:
15769 * objects/standard/polyline.c:
15770 * objects/standard/textobj.c:
15771 * objects/standard/zigzagline.c:
15772 Added get/set state functions.
15773 Textobj has a redo crash-bug.
15774 Zigzagline needs object menus to add segments.
15777 1999-06-20 Alexander Larsson <alla@lysator.liu.se>
15779 * app/render_eps.c (set_dashlength):
15780 Don't generate eps files with zero dash-length.
15782 1999-06-16 Alexander Larsson <alla@lysator.liu.se>
15785 * app/create_object.c:
15787 Finished undo for create and paste.
15790 Started properties undo.
15792 1999-06-14 Alexander Larsson <alla@lysator.liu.se>
15795 Added resizeable groups.
15798 Removed unused variable.
15802 Undo/redo for cut/delete done.
15804 * app/create_object.c:
15805 * app/modify_tool.c:
15806 * lib/diagramdata.[ch]:
15807 * app/diagram.[ch]:
15808 renamed diagram_add_selected -> diagram_select
15809 renamed diagram_remove_selected -> diagram_unselect
15811 * app/properties.[ch]:
15812 Added properties_hide_if_shown() function.
15814 1999-06-13 Alexander Larsson <alla@lysator.liu.se>
15820 * app/commands.[ch]
15821 * app/modify_tool.[ch]
15822 * app/object_ops.[ch]
15823 * app/connectionpoint_ops.c
15825 Use undo functions.
15826 WARNING: Not finished. Will break.
15827 Finished: move object, move handle.
15830 Added diagram_selected_break_external() function.
15831 It removes all connections between selected objects
15833 Add undo stack to Diagram.
15835 * lib/diagramdata.[ch]
15836 Added layer_remove_objects() function
15838 1999-06-11 Fredrik Hallenberg <hallon@lysator.liu.se>
15840 * objects/FS/Makefile.am
15841 * objects/sybase/Makefile.am
15842 Now uses GNOME_CFLAGS.
15845 Now compiles with GNOME even if popt.h isn't available.
15847 1999-06-10 Alexander Larsson <alla@lysator.liu.se>
15850 * objects/Makefile.am
15852 First version of sybase objects from
15853 Brian Bruns <camber@umcc.ais.org>
15855 1999-06-10 Fredrik Hallenberg <hallon@lysator.liu.se>
15858 Added fr to ALL_LINGUAS
15860 1999-06-09 Fredrik Hallenberg <hallon@lysator.liu.se>
15864 Popt-code is activated if popt is available.
15866 1999-06-08 Alexander Larsson <alla@lysator.liu.se>
15868 This is a patch from David Thompson <dcthomp@mail.utexas.edu>
15870 * lib/orth_conn.[ch]:
15871 Added orthconn_get_middle_handle()
15874 Added text_set_cursor_at_end()
15877 Added first version of functions structure diagrams.
15879 1999-05-24 Alexander Larsson <alla@lysator.liu.se>
15881 * app/modify_tool.c:
15882 Include math.h to remove warning.
15884 * app/commands.c (dialogs_properties_callback):
15885 Bring up correct properties dialog when selected
15887 From Dan Cohn <dan@internap.com>
15889 1999-05-20 Alexander Larsson <alla@lysator.liu.se>
15891 Patch from Lars R. Clausen
15893 * app/modify_tool.c:
15894 Changed abs to fabs.
15896 1999-05-19 Alexander Larsson <alla@lysator.liu.se>
15902 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
15904 Patches from Dan Cohn <dan@internap.com>
15906 * app/commands.[ch]:
15907 * app/display.[ch]:
15909 * app/preferences.[ch]:
15910 Implements ability to turn on/off connection points in
15911 current drawing and in global prefs.
15913 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
15915 * lib/widgets.c (dia_line_style_selector_init):
15918 * lib/diagramdata.c (layer_update_extents):
15919 Fixed uninitialized variable error.
15921 1999-05-17 Alexander Larsson <alla@lysator.liu.se>
15924 Made some changes to the gdk_imlib visual+colormap setup.
15926 1999-05-17 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15928 * objects/UML/usecase.c:
15929 * objects/UML/lifeline.c
15932 * objects/UML/object.c:
15933 * objects/UML/message.c:
15934 Changed font from Courier to Helvetica.
15938 Added dash lenth to the LineStyle widget.
15940 * objects/standard/ellipse.c :
15941 * objects/standard/zigzagline.c:
15942 * objects/standard/line.c:
15943 Added dash lenght property.
15945 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
15947 * app/render_eps.c:
15948 First shot at latin1 encoded eps files.
15949 Works, but the eps files get a bit large.
15951 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
15953 * objects/UML/class.[ch]:
15954 * objects/UML/uml.[ch]:
15955 Reverted the line wrap changes.
15956 Some day this might return, but it has to be selectable and
15957 default to off for loaded objects, otherwise it breaks file
15958 format compatibility.
15959 There was also some complains about how it looked, so a making it
15960 selectable is good for this too.
15962 1999-05-15 Alexander Larsson <alla@lysator.liu.se>
15964 * objects/UML/class.[ch]:
15965 Some indentation cleanup.
15966 Added wrap_lines variable to class.
15967 I'll fix the line break stuff tomorrow.
15969 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
15972 Added ref to poly_conn.o.
15974 * objects/standard/polyline.c (polyline_draw):
15975 * objects/standard/zigzagline.c (zigzagline_draw):
15976 * objects/standard/arc.c (arc_draw):
15977 * objects/standard/line.c (line_draw):
15978 Draw lines before arrows. This makes hollow arrows not
15981 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
15983 Changes from Kim Peasley <kpeasley@ior.com>
15985 * objects/UML/class.c:
15986 Break lines with long operations so classes won't be
15989 * objects/UML/uml.[ch]:
15990 Helperfunctions for the above.
15992 * objects/UML/objects.c:
15993 Fix bug that duplicated the text in the attributes
15994 textwidget each time the object was selected.
15996 1999-05-12 Alexander Larsson <alla@lysator.liu.se>
15998 Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
16000 * app/modify_tool.c:
16001 * app/modify_tool.h:
16002 Control-drag is restricted to vertical/horizontal movement
16005 ModifierKeys argument added to object_move_handle
16007 * app/connectionpoint_ops.c:
16008 * app/create_object.c:
16009 * app/object_ops.c:
16010 * objects/ER/attribute.c:
16011 * objects/ER/entity.c:
16012 * objects/ER/participation.c:
16013 * objects/ER/relationship.c:
16014 * objects/UML/actor.c:
16015 * objects/UML/association.c:
16016 * objects/UML/class.c:
16017 * objects/UML/classicon.c:
16018 * objects/UML/component.c:
16019 * objects/UML/constraint.c:
16020 * objects/UML/dependency.c:
16021 * objects/UML/generalization.c:
16022 * objects/UML/implements.c:
16023 * objects/UML/large_package.c:
16024 * objects/UML/lifeline.c:
16025 * objects/UML/message.c:
16026 * objects/UML/note.c:
16027 * objects/UML/object.c:
16028 * objects/UML/realizes.c:
16029 * objects/UML/small_package.c:
16030 * objects/UML/state.c:
16031 * objects/UML/usecase.c:
16032 * objects/network/bus.c:
16033 * objects/standard/arc.c:
16034 * objects/standard/box.c:
16035 * objects/standard/ellipse.c:
16036 * objects/standard/image.c:
16037 * objects/standard/line.c:
16038 * objects/standard/polyline.c:
16039 * objects/standard/textobj.c:
16040 * objects/standard/zigzagline.c:
16041 Changed calls to move_handle to pass the new argument.
16045 Default line width, color etc #define'd
16048 Updates of danish menus
16050 1999-05-08 Fredrik Hallenberg <hallon@lysator.liu.se>
16053 * dia_gnome_icon.png
16054 * dia_gnome_menu_icon.png
16056 Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
16059 About dialog shows dia_logo.png. Removed the GNOME about dialog.
16062 Distribute the icons and install logo in pkgdatadir.
16065 Added DATADIR-define.
16067 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
16068 Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
16071 Updated version number, made setup quiet, can build from cvs,
16072 --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
16075 * objects/ER/Makefile.am
16076 * objects/UML/Makefile.am
16077 * objects/network/Makefile.am
16078 * objects/standard/Makefile.am
16079 now builds better with gnome
16081 * objects/UML/class_dialog.c
16082 Fixed typo -> po files must be updated too!!
16084 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
16087 Added reference so that widgets.o gets linked to the app.
16089 1999-04-23 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16091 * objects/UML/classicon.c:
16094 * objects/UML/actor.c:
16095 Changed position of 'snap-to-grid' so connection points are
16098 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
16100 * objects/UML/classicon.c:
16101 Changed position of 'snap-to-grid'.
16102 By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16104 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
16106 * objects/network/antenna.c
16107 * objects/network/flash.c
16108 * objects/network/hub.c
16109 * objects/network/modem.c
16110 * objects/network/modularswitch.c
16111 * objects/network/rj45plug.c
16112 * objects/network/scead-plug.c
16113 * objects/network/network.c
16114 * objects/network/Makefile.am
16115 * objects/network/pixmaps/antenna.xpm
16116 * objects/network/pixmaps/flash.xpm
16117 * objects/network/pixmaps/hub.xpm
16118 * objects/network/pixmaps/modem.xpm
16119 * objects/network/pixmaps/modularswitch.xpm
16120 * objects/network/pixmaps/rj45plug.xpm
16121 * objects/network/pixmaps/sceadplug.xpm
16122 * objects/network/pixmaps/Makefile.am
16123 Lots of new network objects from
16124 Roland Steinbach <roland@support-system.com>.
16126 1999-04-15 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16128 * objects/UML/classicon.c:
16129 Fixed connection positions, saved type as int (it has 3 states),
16130 and other small fixes.
16132 1999-04-14 Alexander Larsson <alla@lysator.liu.se>
16134 * app/preferences.c:
16136 Added preference compress_save. It lets dia save uncompressed
16139 * objects/UML/class.c:
16140 Fixed bug with size calculation on methods that had class scope.
16142 1999-04-13 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16144 * objects/UML/usecase.c:
16145 Added collaboration mode
16146 Fixed connection points with text > ellipse bug and other
16149 * objects/UML/state.c:
16150 Fixed bug of bad position of text after being either end
16151 or begin, moved and returned to text
16153 1999-04-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16155 * app/preferences.c: Add prototype declaration for prefs_apply.
16157 1999-04-11 Alexander Larsson <alla@lysator.liu.se>
16159 * app/preferences.c:
16161 Apply don't hide window.
16163 * app/properties.c:
16166 * objects/UML/object.c:
16167 * objdcts/UML/state.c:
16168 Some data was not copied on copy.
16171 Ben Hochstedler <benh@eeyore.moneng.mei.com>
16173 1999-04-09 Alexander Larsson <alla@lysator.liu.se>
16176 Changed link order between X and libxml.
16177 Some people had problems with an old libz in their
16180 1999-04-09 Kjartan Maraas <kmaraas@online.no>
16182 * po/no.po: updated translation.
16184 1999-04-08 Lars R. Clausen <lrclause@cs.uiuc.edu>
16186 * lib/message.c (message_error):
16189 * app/commands.[ch]:
16190 * app/diagram.[ch]:
16191 Added begining of xfig importing
16193 1999-04-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16195 * objects/UML/pixmaps/state.xpm:
16196 * objects/UML/state.c:
16197 New UML object state machine.
16199 * objects/UML/uml.c:
16200 * objects/UML/Makefile.am:
16201 * objects/UML/pixmaps/Makefile.am:
16202 Added the state object.
16204 1999-04-08 Alejandro Aguilar Sierra <ale@bucefalo>
16206 * objects/UML/usecase.c:
16207 Added dialog to allow move text outside the ellipse.
16209 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
16211 * Released Dia 0.41
16212 Tag called DIA_0_41
16217 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
16220 Updated version number to 0.41
16225 1999-04-04 Fredrik Hallenberg <hallon@lysator.liu.se>
16228 Changed errormessage for --export-to-ps. Removed call to
16229 g_log_set_always_fatal().
16232 * app/disp_callbacks.c
16234 (i18n) Removed gettext from some debugmessages.
16237 Small fix in GNOME-menus. Added warning that will help track
16238 problems with translations.
16241 (i18n) Updated swedish translation.
16243 1999-04-02 Alexander Larsson <alla@lysator.liu.se>
16248 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
16254 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
16257 (i18n) Updated the danish translation.
16258 From Lars R. Clausen.
16260 1999-04-01 Fredrik Hallenberg <hallon@lysator.liu.se>
16263 (i18n) The popup menu is translated now.
16266 (i18n) Updated swedish translation.
16268 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
16270 * Released Dia 0.40
16271 Tag called DIA_0_40
16274 Updated for new release
16276 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
16278 * objects/network/bus.c:
16279 Added initialization of properties dialog to NULL.
16281 * app/commands.c (edit_cut_callback):
16282 Update menu sensitivity when cut object.
16284 * app/modify_tool.c (click_select_object):
16285 * app/modify_tool.c (modify_button_release):
16286 Call diagram_update_menu_sensitivity() when
16287 selecting objects to update stuff that depends
16288 on selected/not selected.
16290 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
16293 Change order of subdir so that libintl.a builds.
16294 Now passed make distcheck.
16296 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16298 * lib/font.c (init_x11_font):
16301 1999-03-28 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16303 * objects/UML/pixmaps/classicon.xpm:
16304 * objects/UML/classicon.c:
16305 * objects/UML/uml.c:
16306 Added the class stereotype icon objects.
16309 Changed default ps extension from .ps to .eps.
16311 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16314 Added diamenu.h and intl.h
16319 * objects/UML/pixmaps/Makefile.am:
16322 * objects/standard/pixmaps/Makefile.am:
16325 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16328 Use a scalable font before fixed when real font not found.
16333 * objects/standard/image.c:
16334 Better handling of loading/saving of images.
16337 Added some text about cvs, fonts and rewrote some parts.
16340 Updated with new stuff.
16343 Bump up version number to 0.40.
16345 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16348 Moved diagram_add_ddisplay() call into new_display().
16349 Fixed new_display to not use uninitialized variables
16350 causing loaded files to show up as black (or garbage).
16354 Removed unneeded calls to diagram_add_ddisplay().
16356 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16358 * objects/UML/lifeline.c:
16360 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16362 * objects/UML/message.c:
16363 Fixed bug loading messages with null-text.
16364 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16366 1999-03-27 Fredrik Hallenberg <hallon@lysator.liu.se>
16369 Updated swedish translation.
16372 (GNOME) Removed help-browser from help menu. Fixed typo.
16375 (GNOME) Accelerators in diagrams should work now.
16377 1999-03-25 Fredrik Hallenberg <hallon@lysator.liu.se>
16382 * app/disp_callbacks.c
16386 * app/preferences.c
16388 * lib/diagramdata.c
16394 * objects/network/*.c
16395 * objects/standard/*.c
16396 * po/update_pofiles_in.sh
16398 More i18n. All strings (expect rare debug messages) can be
16399 translated now. Moved intl.h from app to lib. Updated
16400 update_pofiles_in.sh to check all .c-files.
16402 1999-03-23 Alexander Larsson <alla@lysator.liu.se>
16404 * app/disp_callbacks.c (ddisplay_canvas_events):
16405 Don't drop keys while num-lock, scroll-lock etc is on.
16407 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
16409 * app/render_eps.c (draw_image):
16410 Fixed exporting of images.
16411 Still not perfect, but not outright buggy.
16413 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
16417 Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
16420 Added $* to the dia call in run_dia.sh
16422 1999-03-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16425 Added color_equals() call.
16427 * objects/standard/arc.c:
16428 * objects/standard/line.c:
16429 Don't save unneccesary data.
16431 * objects/standard/box.c:
16432 * objects/standard/ellipse.c:
16433 * objects/standard/image.c:
16434 * objects/standard/polyline.c:
16435 * objects/standard/zigzagline.c:
16436 Share properties dialog.
16437 Don't save unneccesary data.
16439 1999-03-22 Seth Alves <alves@hungry.com>
16444 small changes so that gnome menus aren't broken
16446 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
16449 Added danish translation from lrclause@cs.uiuc.edu.
16454 * po/update_pofiles_in.sh:
16455 Added script that updates POFILES.in.
16456 This should probably be run automatically from somewhere.
16458 1999-03-19 Alexander Larsson <alla@lysator.liu.se>
16460 * app/diagram.[ch]:
16461 Added function diagram_update_menu_sensitivity() which
16462 sets the sensitivity of some menu items. This function
16463 is called at each diagram state change (from diagram_modified()).
16464 This is needed because otherwise the keyboard accelerators
16465 don't work correctly.
16467 * app/display.[ch]:
16468 Changed display_set_menu_sensitivity() to display_update_menu_state().
16469 Moved lots of code to diagram_update_menu_sensitivity() in
16470 diagram.c. Optimized to only look up menu-items from path:s once.
16472 * app/disp_callbacks.c:
16474 When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
16475 Need to set GDK_FOCUS_CHANGE_MASK.
16477 * app/create_object.c:
16478 Call diagram_modified when an object has been created and
16479 selected so that the menu sensitivity is updated.
16482 removed menus_set_sensitive() and menus_set_state(). Exported
16483 renamed function menus_get_item_from_path().
16485 1999-03-15 Alexander Larsson <alla@lysator.liu.se>
16487 * app/disp_callbacks.c:
16488 Show (empty) object menus on object that has none.
16489 Show title on object menus.
16492 Set zoom factor correctly when opening new displays.
16493 Better setting of scrollbars.
16497 Some reformating cleanup.
16500 Added title to object menus.
16503 Added object menu method (NULL-valued) to all objects.
16505 * objects/standard/polyline.c:
16506 Added title to object menu.
16508 1999-03-14 Alexander Larsson <alla@lysator.liu.se>
16510 * app/preferences.[ch]:
16511 New files. Implements the preferences dialog and
16512 loading/saving of ~/.diarc.
16515 Added preferences.[ch].
16518 Load preferences on startup.
16520 * app/commands.[ch]:
16521 Added file_preferences_callback to show the preferences dialog.
16523 * app/create_object.c:
16524 Update extents when creating object.
16525 Use the reset_tools_after_create preferences setting.
16528 Use preferences when creating new display.
16531 Add preferences to menu.
16534 * app/layer_dialog.c:
16535 * app/properties.c:
16536 Don't allow shrinking of dialog.
16537 Add i18n of some strings.
16539 1999-03-11 Kjartan Maraas <kmaraas@fib.hl.no>
16541 Norwegian translation added.
16543 1999-03-11 Alexander Larsson <alla@lysator.liu.se>
16545 * objects/standard/line.c:
16546 * objects/standard/arc.c:
16547 * objects/standard/polyline.c:
16548 * objects/standard/zigzagline.c:
16549 Loading of arrow data fixed.
16551 1999-03-09 Alexander Larsson <alla@lysator.liu.se>
16554 Update extents when saving and exporting to postscript.
16555 Fixes a bug with postscript bounding-box being wrong.
16558 Changed border width from 5 to 2.
16561 Move grouped objects by the move-point of the first object.
16562 Fixes bug that made all objects in the group be off-grid
16563 when moving the group, even though all objects was on-grid.
16565 * app/layer_dialog.c:
16566 Update extents when changing layer.
16568 1999-03-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16570 * objects/UML/uml.c:
16571 * objects/UML/component.c:
16572 * objects/UML/pixmaps/component.xpm:
16573 Added the UML component object
16575 1999-03-04 Seth Alves <alves@hungry.com>
16577 * objects/UML/generalization.c (generalization_create): avoid
16578 math on uninitialized genlz->text_width (NaN causes sigfpe)
16580 * objects/UML/realizes.c (realizes_create): same
16582 * objects/UML/dependency.c (dependency_create): same
16584 1999-03-01 Seth Alves <alves@hungry.com>
16586 * app/display.c (ddisplay_active): don't fly a warning panel
16587 if ddisplay_active is called when no views are open.
16589 * app/commands.c (set_default_file_selection_directory): set
16590 file selector's default directory if there is already
16593 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
16596 New info about imlib requirements.
16599 Added lib/pixmaps/Makefile to created makefiles.
16603 Change from obsoleted to newer gtk calls.
16606 Pass filename of the diagram when loading and saving.
16607 This creates better oportunities to handle filename saving.
16610 Pass filenames to load and save methods.
16612 * lib/dia_image.[ch]:
16613 Added dia_image_get_broken() call that returns a image which
16614 is used for 'broken' images.
16616 * lib/pixmaps/.cvsignore:
16617 * lib/pixmaps/Makefile.am:
16618 * lib/pixmaps/broken.xpm:
16619 New files for the broken image bitmap.
16622 Fixed bug with double destroyed filedialog.
16625 Updated load and save prototypes to use the new filename argument.
16628 Render broken image instead of line when got no image.
16629 Use the new filename in load and save to save (if possible)
16630 relative pathnames and to better try to find loaded images.
16632 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
16635 Some updates to the todo file.
16639 Place over/place over => sent to back/bring to front.
16640 Added some keyboard shortcuts to menus.
16642 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
16645 Changed string saving/loading to a new method. This should
16646 be much better att handling &,<,> and whitespaces.
16647 Loading strings of the old kind is still supported for backwards
16650 * samples/ER-demo.dia:
16651 * samples/UML-demo.dia:
16652 Updated to use the new strings.
16655 statusbar modified update fix.
16657 1999-02-27 Seth Alves <alves@hungry.com>
16659 * app/app_procs.c (app_init): added a --export-to-ps option
16660 which will cause dia to load a dia file and save it as ps
16661 and then exit. this is a little bogus, because it still
16662 pops up a window. this option only shows up if --enable-gnome
16665 * app/display.c (display_set_menu_sensitivity): no Edit/Delete
16666 menu when built with --enable-gnome
16668 * app/interface.c (create_display_shell): build status bar
16669 even if --enable-gnome is used
16671 * app/menus.c: menu fixes for --enable-gnome
16673 * app/commands.c (file_open_dialog_ok_callback): fixed up
16674 menus when --enable-gnome is used
16675 (file_export_to_eps_callback): set a default file name
16676 when dialog is created
16678 1999-02-27 Alexander Larsson <alex@c125.ryd.student.liu.se>
16680 * objects/UML/association.c (association_create):
16681 Fixed usage of not initialized variable.
16682 Pointed out by Seth Alves <alves@hungry.com>.
16684 1999-02-24 Alexander Larsson <alex@c125.ryd.student.liu.se>
16687 Fixed detection of gnome-xml.
16688 From Valtteri Vuorikoski <vuori@k.notcom.org>.
16691 Fixed error detection on dlsym calls.
16692 From Valtteri Vuorikoski <vuori@k.notcom.org>.
16694 1999-02-23 Alexander Larsson <alla@lysator.liu.se>
16696 * objects/UML/message.c (fill_in_dialog):
16699 1999-02-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16701 * objects/standard/zigzagline.c:
16702 * objects/standard/polyline.c:
16703 * objects/standard/line.c:
16704 * objects/standard/arc.c:
16708 Support for sizeable arrows.
16710 * objects/standard/box.c:
16711 * objects/standard/ellipse.c:
16712 * objects/standard/image.c:
16713 Changed creation handle to lower-right.
16714 Transparent box/ellipse.
16716 * objects/standard/image.c:
16717 Better layout of properties boxes.
16719 1999-02-20 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16721 * objects/UML/message.c (fill_in_dialog):
16722 Fixed dialog fill in. Common dialog for all messages.
16724 * objects/UML/object.c:
16725 Added multiple instance. Dialog related bugs fixed.
16726 Common dialog for all instances. Completed copy and destroy.
16728 * objects/UML/lifeline.c (lifeline_load):
16729 Conn initialization bug fixed and few bad loading prevention flags.
16730 Common dialog for all lifeline objects.
16732 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16734 * lib/dia_image.[ch]:
16735 More work on the DiaImage abstraction.
16738 * app/render_eps.c:
16739 * app/render_gdk.c:
16740 * objects/standard/image.c:
16741 Use the new DiaImage calls.
16743 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16747 Reversed the meaning of align horizontal/vertical.
16749 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16751 * app/load_save.c (diagram_load):
16752 Statusbar update fix.
16754 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16756 * app/interface.c (create_display_shell):
16757 Fixed status bar size.
16759 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16761 * lib/dia_image.[ch]:
16762 Added extern declaration for dia_image_release.
16763 Removed dia_image_draw, as it's not neseccary.
16765 1999-02-14 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16767 * app/object_ops.c:
16769 Added equal distance alignment both vertical and horizontal.
16771 * objects/UML/object.c:
16772 Added a couple of attributes to load/read that were missing.
16774 * objects/UML/lifeline.c:
16775 Better handling of handles. Fixed another bug I forgot to add
16778 1999-02-13 Alexander Larsson <alla@lysator.liu.se>
16780 Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16782 * lib/dia_image.[ch]:
16784 New files. DiaImage wraps the GdkImlibImage.
16787 * app/render_eps.c:
16788 * app/render_gdk.c:
16789 * lib/render_store.[ch]:
16790 * objects/standard/image.c:
16791 Use the new DiaImagetype.
16794 Removed unused variable to eliminate warning.
16796 1999-02-11 Alexander Larsson <alla@lysator.liu.se>
16798 * objects/standard/box.c:
16799 Added rounded corners on the box object.
16801 * lib/widgets.[ch]:
16802 Updated the DiaFileSelector widget.
16804 1999-02-09 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16806 * objects/UML/object.c (objet_draw):
16807 Completed underlining of all object name lines.
16809 * objects/UML/message.c (fill_in_dialog):
16810 Fixed a bug that filled incorrectly the message's dialog.
16812 * objects/UML/lifeline.c (lifeline_load):
16813 Some cleanning and fixed a couple of bugs that caused
16814 crashes after reading diagrams with lifelines.
16817 Added flags to prevent crash with void strings
16819 1999-02-07 Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
16820 * app/display.[ch]:
16821 Added statusbar to the display widget. Currently shows the zoom
16822 factor and modified flag of the viewed diagram. The statusbar is
16823 updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
16824 This caused the following additions:
16826 * app/diagram.[ch]:
16827 Added function diagram_set_modified. Calls
16828 ddisplay_update_statusbar for all displays showing the modified diagram.
16829 Changed diagram_modified to call diagram_set_modified.
16832 Added the creation of the statusbar.
16835 diagram_save now calls diagram_set_modified instead of setting
16836 dia->modified. Needed to force call to display_update_statusbar
16839 Changed the way view_show_all works. Now calls ddisplay_zoom
16840 instead of directly setting the zoom_factor, so the zoom factor is
16841 correctly shown in the statusbar.
16844 Fixed rubberband zoom to use ddisplay_zoom().
16846 1999-02-07 Fredrik Hallenberg <hallon@lysator.liu.se>
16849 Rudimentary GNOME session management.
16851 * app/disp_callbacks.c
16855 GNOME menus. Problems:
16856 Callbacks doesn't get user_data.
16857 Weird warnings when creating popup menus.
16858 menus_set_sensitive(), menus_set_state() doesn't work.
16860 1999-02-05 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16863 Add AM_PATH_GDK_IMLIB() call.
16866 Add gdk_imlib to linking flags.
16870 Print library-loading error messages on stdout too.
16873 Add standard image to toolbox.
16875 * app/render_eps.c:
16876 Set a more reasonable dot length. Fixed
16877 missing initialization of dot length.
16878 Added draw_image methods.
16880 * app/render_gdk.c (new_gdk_renderer):
16881 Dot a bit wider. Looks good in normal mode now.
16883 * objects/standard/image.c:
16884 * objects/standard/pixmaps/image.xpm:
16885 New files. Standard object for images.
16887 * app/render_eps.c (set_linestyle):
16888 * app/render_gdk.c (set_linestyle):
16889 * lib/widgets.c (dia_line_style_selector_init):
16891 New line style DOTTED.
16894 * lib/render_store.c:
16895 Change DrawImage call to use gdk_imlib.
16897 * lib/widgets.[ch]:
16898 Added widgets for selecting files.
16899 Added dotted to the linestyle selector.
16901 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
16903 * objects/network/printer.c:
16904 * objects/network/network.c:
16905 * objects/network/pixmaps/printer.xpm:
16906 * objects/network/.cvsignore:
16907 * objects/network/Makefile.am:
16908 * objects/network/pixmaps/Makefile.am:
16909 New printer object in network.
16910 From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
16913 Added known XML bug.
16915 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
16919 Reverted back from #include <gnome-xml/tree.h> to
16920 #include <tree.h> as this is fixed by the xml-config program.
16921 The former way broke for some people.
16922 Reported by blizzard@redhat.com.
16924 * objects/UML/lifeline.c:
16925 * objects/UML/message.c:
16926 * objects/UML/object.c:
16927 Removed some warnings.
16929 1999-02-04 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16931 * objects/UML/lifeline.c:
16932 Fixed connection points over the life line when the focus of
16933 control is not drawn.
16935 * objects/UML/message.c:
16936 Now a recursive message can be freely resized using the handles.
16938 1999-02-02 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16940 * objects/UML/lifeline.c:
16941 Added connection points.
16942 Added properties dialog with the option to draw/hide focus of control
16943 box and destruction mark.
16945 * objects/UML/object.c:
16946 Added properties dialog and stereotype, explicit state and attributes.
16947 It's also possible to mark the object as active.
16949 * objects/UML/pixmaps/object.xpm:
16952 * objects/UML/message.c:
16953 Added "recursive" message type (was not necessary to use OrthConn).
16955 1999-02-02 Alexander Larsson <alla@lysator.liu.se>
16957 * objects/standard/arc.c:
16958 Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
16960 1999-02-01 Alexander Larsson <alla@lysator.liu.se>
16962 Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
16966 Update xml includes to gnome-xml/*.h.
16968 * objects/standard/arc.c:
16969 Only one property dialog per type.
16970 Fix arrows directions.
16972 * objects/standard/box.c:
16973 * objects/standard/ellipse.c:
16974 * objects/standard/textobj.c
16975 Added default properties dialog.
16978 1999-01-31 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16980 * objects/UML/Makefile.am:
16981 * objects/UML/uml.c:
16982 * objects/UML/lifeline.c:
16983 * objects/UML/object.c:
16984 * objects/UML/message.c:
16985 * objects/UML/pixmaps/lifeline.xpm:
16986 * objects/UML/pixmaps/object.xpm:
16987 * objects/UML/pixmaps/message.xpm:
16988 Added 3 new UML objects for dynamic modeling. To avoid internal
16989 conflicts, the name "objet" is used for object "object".
16992 Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
16995 1999-01-30 Alexander Larsson <alla@lysator.liu.se>
16997 * app/display.[ch]:
16998 * app/modify_tool.c:
16999 Added autoscrolling while doing rubber-band select.
17000 This patch from Matthias Köster
17001 (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
17004 1999-01-28 Alexander Larsson <alla@lysator.liu.se>
17006 * app/defaults.[ch]:
17007 New files, deals with default properties dialog.
17010 New file. Contains definitions for the new object menu.
17012 * lib/poly_conn.[ch]:
17013 New file. Base class for poly-line like objects.
17015 * objects/standard/polyline.c:
17016 * objects/standard/pixmaps/polyline.xpm:
17017 New files. Polyline object.
17020 Fixed bug with infinite loop when registering sheets.
17023 Removed unneccesary stuff.
17025 * app/disp_callbacks.c:
17026 Support for object menus.
17029 Added polyline to toolbox.
17030 Added call to tool_options_dialog_show() when double clicking on
17034 New function tool_options_dialog_show() for tool properties.
17040 Added ObjectType methods for handling object default dialogs.
17041 Added Object method for handling object_menu.
17042 Added unused methods to ObjectTypeOps for future binary
17045 * lib/widgets.[ch]:
17046 Added DiaArrowTypeSelector widget.
17048 * objects/standard/arc.c:
17049 * objects/standard/zigzagline.c:
17050 Added support for default properties.
17052 * objects/standard/line.c:
17053 Added support for default properties.
17054 Just use one properties dialog for all line objects. NOTE: This
17055 seems to have a bug. We're working on it.
17057 * standard/standard.c:
17058 Add the polyline object.
17060 1999-01-27 Alexander Larsson <alla@lysator.liu.se>
17062 * app/modify_tool.c:
17063 Commented out buggy transitive select function. It wasn't really
17064 meant to go into cvs.
17067 1999-01-25 Fredrik Hallenberg <hallon@lysator.liu.se>
17079 Swedish translation. Not completed.
17083 Added possibility to enable GNOME specific code with configure.
17086 Added possibility to set debug level with configure.
17089 Added about dialog.
17095 Added some GNOME specific code. Not ready for use.
17097 1999-01-24 Alexander Larsson <alla@lysator.liu.se>
17100 Added text about needing gtk 1.1.13 and gnome-xml.
17103 Described changes since last version (0.20).
17105 Released version 0.30, tagged DIA_0_30.
17107 1999-01-22 Alexander Larsson <alla@lysator.liu.se>
17109 * app/magnify.c (magnify_button_release):
17110 Fixed a problem when zooming in on a very small box would
17111 not release the grabbed pointer-focus.
17113 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
17115 * app/load_save.c (diagram_load):
17116 Be somewhat more robust when loading files that
17119 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
17123 * objects/UML/uml.c:
17124 * objects/network/network.c:
17125 * objects/standard/standard.c:
17126 Added versioning of object libraries.
17128 * app/create_object.c:
17129 Don't change tool when an object is created.
17131 * objects/network/network.c:
17136 1999-01-19 Alexander Larsson <alla@lysator.liu.se>
17139 Updated gtk requirement to Gtk+ 1.1.13.
17142 Always add one screenful of scrolling space on
17143 each side of a diagram window.
17145 1999-01-19 Jeff Garzik <jgarzik@pobox.com>
17148 Tell automake to auto-install missing files.
17151 Renamed deprecated Gtk+ function.
17153 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
17157 * samples/Makefile.am:
17158 * samples/ER-demo.dia:
17159 * samples/UML-demo.dia:
17160 Added samples directory.
17161 Added samples for ER and UML.
17164 * app/disp_callbacks.c:
17166 Zoom is done by sqrt(2) instead of 2.
17167 Lots of more zoom options in the menu.
17169 * objects/ER/relationship.c:
17170 Relationships have 8 connectionpoints instead of 4.
17172 * objects/UML/class.c:
17173 UML class name font a bit smaller.
17174 Fixed stupid bug in the copy operation.
17177 Displays are opened at 500x400 instead of 256x256.
17180 Fixup of internal error message.
17182 * app/color_area.c:
17184 * app/modify_tool.c:
17186 Removed debug printf's.
17189 Added new known bug.
17191 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
17195 Fixed so accelerator groups work in all windows.
17196 Updated to new gtk function names.
17202 Updated to new gtk function names.
17203 Set sensitivity of the align menu items.
17205 * objects/ER/pixmaps/Makefile.am:
17206 * objects/UML/pixmaps/Makefile.am:
17207 * objects/network/pixmaps/Makefile.am:
17208 Fix so that make dist works.
17211 * app/color_area.c:
17215 * app/layer_dialog.c:
17217 * app/object_ops.c:
17218 * app/properties.c:
17219 * lib/diagramdata.[ch]:
17221 * lib/objects/ER/attribute.c:
17222 * lib/objects/ER/entity.c:
17223 * lib/objects/ER/participation.c:
17224 * lib/objects/ER/relationship.c:
17225 * lib/objects/ER/.c:
17226 * objects/UML/actor.c:
17227 * objects/UML/association.c:
17228 * objects/UML/class_dialog.c:
17229 * objects/UML/dependency.c:
17230 * objects/UML/generalization.c:
17231 * objects/UML/large_package.c:
17232 * objects/UML/realizes.c:
17235 Updated to new gtk function names.
17238 1999-01-15 Alexander Larsson <alla@lysator.liu.se>
17244 Fixed loading of diagrams specified as arguments.
17246 * objects/ER/attribute.c:
17247 * objects/ER/entity.c:
17249 * objects/ER/participation.c:
17250 * objects/ER/relationship.c:
17251 Updated the ER objects.
17254 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
17258 * objects/Makefile.am:
17259 * objects/ER/attribute.c:
17260 * objects/ER/entity.c:
17262 * objects/ER/participation.c:
17263 * objects/ER/relationship.c:
17264 * objects/ER/pixmaps/Makefile.am:
17265 * objects/ER/pixmaps/attribute.xpm:
17266 * objects/ER/pixmaps/entity.xpm:
17267 * objects/ER/pixmaps/participation.xpm:
17268 * objects/ER/pixmaps/relationship.xpm:
17269 * objects/ER/pixmaps/weakentity.xpm:
17270 First commit of entity relationship objects.
17271 These were done by hallon@lysator.liu.se.
17272 There are still stuff to do on these.
17274 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
17279 * app/diagram.[ch]:
17280 Change diagram_remove_all_selected to take new argument
17281 delete_empty. Empty objects are deleted only if it is TRUE.
17282 Removed call to close_eps_renderer. This is now done in end_render
17283 in the eps renderer.
17285 * app/create_object.c:
17286 * app/layer_dialog.c:
17287 Update calls to diagram_remove_all_selected.
17290 Update calls to diagram_remove_all_selected.
17291 Some code reformating.
17292 Changed order of adding updates i align_h and align_v.
17294 * app/modify_tool.c:
17295 Update calls to diagram_remove_all_selected.
17296 Added pointer grab when doing rubber-band selection, this fixes
17297 the bug when draging the box over to another window.
17299 * app/connectionpoint_ops.[ch]:
17300 diagram_update_connections_object changed to take an argument
17301 update_nonmoved. This lets connections that has not moved, but
17302 the stuff they're connected to has been moved work.
17303 Update calls to the new diagram_update_connections_object.
17305 * app/properties.c:
17306 Update calls to the new diagram_update_connections_object.
17307 Update extents when properties are applied.
17309 * app/disp_callbacks.c:
17310 Added support for zooming with the '+' and '-' keys.
17313 Removed old keyboard shortcuts for zoom.
17316 Added calls begin_render and end_render to renderer.
17317 These can be used for setup and cleanup.
17319 * lib/diagramdata.c:
17320 Added calls to begin_render and end_render in data_render.
17322 * app/render_gdk.c:
17323 Added begin_render and end_render.
17325 * app/render_eps.[ch]:
17326 Added begin_render and end_render.
17327 Moved close_eps_renderer code to end_render.
17328 Various fixes to the generated eps code. This fixes importing
17329 generated eps into LYX.
17331 1999-01-12 Alexander Larsson <alla@lysator.liu.se>
17337 Menus for alignment updated.
17339 * app/object_ops.[ch]:
17340 Functions for object alignment updated.
17342 * app/commands.[ch]:
17343 Object alignment callbacks updated.
17344 New diagrams are called Untitled-<nr>.
17346 * app/layer_dialog.c:
17347 Active layer selected when showing layers from new
17351 Compress xml files when saving.
17352 Use xml namespace 'dia'.
17355 Minor comment update.
17357 * objects/UML/class_dialog.c:
17358 Cleanup of the gkt_list_item moving code.
17359 Fixed bug with update of operation when moving parameters.
17361 1999-01-10 Alexander Larsson <alla@lysator.liu.se>
17363 * app/layer_dialog.[ch]:
17364 Fixed the rest of the layers dialog.
17367 Added call to redo layer dialogs diagram list when changing
17370 * lib/diagramdata.[ch]:
17371 Added data_raise_layer and data_lower_layer functions for
17372 raising/lowering layers. Added data_add_layer_at for adding a
17373 layer at a specified index.
17375 1999-01-05 Alexander Larsson <alla@lysator.liu.se>
17377 This is the asierra-990105 patch done by asierra@servidor.unam.mx.
17380 Added support for reading diagrams from the command line.
17382 1998-12-21 Alexander Larsson <alla@lysator.liu.se>
17384 This is the asierra-981220 patch done by asierra@servidor.unam.mx.
17386 * app/commands.[ch]:
17387 Added objects_align_callback().
17390 Added align objects to menu.
17392 * app/object_ops.[ch]:
17393 Add object_list_align().
17395 1998-12-17 Alexander Larsson <alla@lysator.liu.se>
17396 * app/layer_dialog.[ch]:
17397 New files. Handles the layers dialog. Needs a bugfix for glib to
17398 work. Sent patch to gtk-list.
17400 * app/pixmaps/new.xpm:
17401 * app/pixmaps/eye.xbm:
17402 * app/pixmaps/lower.xpm:
17403 * app/pixmaps/raise.xpm:
17404 * app/pixmaps/delete.xpm:
17405 New files. Images for the layer dialog buttons.
17407 * lib/diagramdata.h
17408 * lib/diagramdata.c
17409 New files for the DiagramData and Layer structures and functions.
17412 Added call to create_layer_dialog() on startup.
17414 * app/commands.[ch]:
17415 New callbacks for showing the properties and layout dialog.
17416 Changes for the new DiagramData structure.
17418 * app/connectionpoint_ops.c:
17419 * app/cut_n_paste.c:
17420 * app/diagram.[ch]:
17421 * app/display.[ch]:
17423 * app/modify_tool.c:
17424 * app/object_ops.[ch]:
17425 * app/render_eps.c:
17427 Changes for the new DiagramData structure.
17430 * app/properties.c:
17431 Set correct wmclasses.
17434 Fix load and save of layers.
17437 Update DTD for layers.
17440 New menus for dialogs.
17446 1998-12-06 Alexander Larsson <alla@lysator.liu.se>
17449 Removed the gtk 1.1.5 stuff.
17452 Updated gtk check to version 1.1.5.
17453 Updated version from 0.20 to 0.30
17455 * app/commands.[ch]:
17456 Updated some callbacks to be of type GtkItemFactoryCallback1.
17457 Not all are done yet, but it works anyway.
17460 Removed Gtk 1.0.0 GtkAcceleratorTable references.
17464 Update to Gtk 1.1.x functions.
17465 Use ItemFactory instead of MenuFactory.
17467 * app/render_gdk.c:
17468 Removed Gtk 1.0.0 references.
17470 * objects/UML/class_dialog.c:
17471 Scrolled window updates for Gtk 1.1.5.
17474 Removed ugly fix for gnome-xml bug. Make sure you get the
17475 newest version of gnome-xml from CVS.
17477 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
17480 Removed the xml load/save line.
17486 Removed building of files.c
17489 * lib/connection.c:
17493 * lib/render_object.c:
17494 * objects/UML/actor.c:
17495 * objects/UML/association.c:
17496 * objects/UML/class.c:
17497 * objects/UML/constraint.c:
17498 * objects/UML/dependency.c:
17499 * objects/UML/generalization.c:
17500 * objects/UML/implements.c:
17501 * objects/UML/large_package.c:
17502 * objects/UML/note.c:
17503 * objects/UML/realizes.c:
17504 * objects/UML/small_package.c:
17505 * objects/UML/uml.c:
17506 * objects/UML/usecase.c:
17507 * objects/network/bus.c:
17508 * objects/standard/arc.c:
17509 * objects/standard/box.c:
17510 * objects/standard/ellipse.c:
17511 * objects/standard/line.c:
17512 * objects/standard/textobj.c:
17513 * objects/standard/zigzagline.c:
17514 Removed all includes of files.h
17517 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
17520 Made the val property of string be implied.
17521 This makes it possible to save strings that
17522 are NULL. Just leave out val.
17524 * objects/lib/dia_xml.c:
17525 Fixed string so that it is possible to save strings
17526 that are NULL. Also made an ugly workaround of a
17527 bug in gnome-xml which removes empty properties.
17529 * objects/lib/orth_conn.c:
17530 Fixed a bug in saving. Forgot to step through the
17533 * objects/UML/association.c:
17534 * objects/UML/class.c:
17535 * objects/UML/constraint.c:
17536 * objects/UML/dependency.c:
17537 * objects/UML/generalization.c:
17538 * objects/UML/implements.c:
17539 * objects/UML/large_package.c:
17540 * objects/UML/note.c:
17541 * objects/UML/small_package.c:
17542 * objects/UML/realizes.c:
17543 * objects/UML/usecase.c:
17544 * objects/UML/actor.c:
17545 Fixed UML objects to save as xml.
17546 The last two were done by asierra@servidor.unam.mx (asierra-981204)
17548 * objects/UML/uml.[ch]:
17549 Updated *_write() and *_read() functions to use xml.
17551 * objects/network/bus.c:
17552 * objects/network/computer.c:
17553 * objects/network/disc.c:
17554 * objects/network/monitor.c:
17555 Updated network diagrams to use xml.
17557 1998-12-02 Alexander Larsson <alla@lysator.liu.se>
17560 New file. DTD that describes the xml file format
17563 * lib/dia_xml.[ch]:
17564 New files. Support for saving object to xml files.
17569 Added check for and usage of gnome-xml library.
17572 Major chages. Now saves/loads diagrams as xml.
17575 * lib/element.[ch]:
17576 * lib/connection.[ch]:
17577 * lib/orth_conn.[ch]:
17578 * lib/render_object.[ch]:
17580 Updated object support load/save functions for xml:
17582 * object/standard/arc.c:
17583 * object/standard/box.c:
17584 * object/standard/ellipse.c:
17585 * object/standard/line.c:
17586 * object/standard/textobj.c:
17587 * object/standard/zigzagline.c:
17588 Updated all standard objects to use xml.
17591 Only the standard objects are converted right now, don't
17592 save or load uml or network diagrams yet. Also, since this
17593 is new code it is deemed a bit unstable.
17598 1998-12-01 Alexander Larsson <alla@lysator.liu.se>
17600 * objects/UML/class.c:
17601 Changed classname font to Helvetica.
17602 Added more space above the classname
17604 * objects/UML/usecase.c:
17605 Correct placements of connectionpoints on ellipse.
17606 Better algorithm for deciding aspect ration on
17609 These changes were made by Alejandro Aguilar Sierra
17610 <asierra@servidor.unam.mx>. (asierra-981201)
17612 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
17614 * objects/UML/actor.c:
17615 Changed the extents and alignment of the element
17618 * objects/UML/.cvsignore:
17619 Added usecase.lo and actor.lo.
17621 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
17623 * objects/UML/actor.c:
17624 * objects/UML/usecase.c:
17625 * objects/UML/pixmaps/actor.xpm:
17626 * objects/UML/pixmaps/case.xpm:
17627 New files. Implements usecase and actor UML objects.
17628 These objects are done by Alejandro Aguilar Sierra
17629 <asierra@servidor.unam.mx>.
17631 * objects/UML/Makefile.am:
17632 * objects/UML/pixmaps/Makefile.am:
17633 Added usecase and actor to makefile.
17636 Added Alejandro and Jerome to autors list.
17638 1998-11-25 Alexander Larsson <alla@lysator.liu.se>
17640 * objects/UML/class.c (umlclass_load):
17641 Fixed typo. Reported by Jerome.Abela@solsoft.fr
17643 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
17645 * app/properties.c:
17646 Update connections when doing apply in the properties window.
17648 * objects/UML/uml.[ch]:
17649 * objects/UML/class.[ch]:
17650 * objects/UML/class_dialog.c:
17651 Added connection points on both sides of attributes and
17652 operations in UML classes.
17653 Based on idea from Jerome.Abela@solsoft.fr
17655 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
17658 Some new documentation about handles and connectionpoints.
17661 Added functions object_add_connectionpoint and
17662 object_remove_connectionpoint for handling a dynamic
17663 number of connectionpoints.
17665 * objects/UML/class.c:
17666 Only reserve space for stereotype when it is shown.
17668 These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
17670 1998-11-08 Alexander Larsson <alla@lysator.liu.se>
17672 * app/connectionpoint_ops.c:
17674 * app/disp_callbacks.c:
17675 * app/display.[ch]:
17677 * app/handle_ops.c:
17679 * app/modify_tool.c:
17680 * app/render_gdk.[ch]:
17682 Huge cleanup of internal rendering system.
17683 Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
17684 This gives a few new methods for Interactive Renderers for setting
17685 clipping regions and drawing pixel based lines and rects.
17686 Updated the rest of the code to use the new stuff.
17688 * app/render_eps.c:
17692 * objects/standard/zigzagline.c
17693 Fixed unused variable warnings.
17696 Fixedbug with stringwidth where width==0.
17701 1998-11-02 Alexander Larsson <alla@lysator.liu.se>
17703 * lib/widgets.[ch]:
17704 Added suppot for setting the font of a
17705 DiaFontSelector widget.
17706 Also fixed some typos in the header.
17709 Added a comment about the GetPRoperties method call.
17710 You have to make sure to update widget state when
17711 this method is called. (Not all objects do this yet,
17717 1998-11-01 Alexander Larsson <alla@lysator.liu.se>
17720 Fixed problem with height of ascent and descent for fonts.
17721 It didn't use the whole height (==ascent+descent) when calculatine
17722 ascent_ratio and descent_ratio.
17724 * objects/standard/textobj.c:
17725 * objects/standard/box.c:
17726 * objects/standard/ellipse.c:
17727 * objects/standard/line.c:
17728 * objects/standard/arc.c:
17729 Updated and added property dialogs for these objects.
17730 Also added line width/color/style to those objects
17731 that didn't have it.
17732 This change breaks fileformat compatibility for these objects.
17734 * objects/standard/zigzagline.c:
17735 Changed zigzagline to be based on OrthConn, much nicer.
17736 Also added line style and color to properties.
17737 This change breaks fileformat compatibility for zigzagline.
17740 Fixed bug in message(). Forgot a pair of '&'.
17742 1998-10-29 Alexander Larsson <alla@lysator.liu.se>
17744 * lib/widgets.[ch]:
17745 Added DiaColorSelector widget.
17746 This is a colored button that pops up a color selection
17747 dialog when pressed.
17749 1998-10-28 Alexander Larsson <alla@lysator.liu.se>
17751 * lib/widgets.[ch]:
17753 New files, added widgets for selecting fonts, alignment
17754 and line-style. Will be used later.
17756 1998-10-12 Alexander Larsson <alla@lysator.liu.se>
17760 * objects/UML/Makefile.am:
17761 * objects/network/Makefile.am:
17762 * objects/standard/Makefile.am:
17763 Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
17764 in all Makefile.am.
17766 1998-10-03 Alexander Larsson <alla@lysator.liu.se>
17768 * app/handle_ops.c (handle_draw):
17769 connected HANDLE_MINOR_CONTROL also becomes red.
17771 1998-10-02 Alexander Larsson <alla@lysator.liu.se>
17774 removed -ldl from linking. This is added if needed by configure.
17777 Open dlls with RTLD_LAZY if it is defined.
17778 Some cleanups: char *error -> const char *error
17779 Added fprintf()'s to where we exited because of errors.
17782 Include <sys/types.h>
17784 1998-10-01 Alexander Larsson <alla@lysator.liu.se>
17789 Detect dlopen better.
17790 Detect wether dlopen needs an underscore in the identifier.
17791 This code was mostly borrowed from guile.
17795 * objects/standard/standard.c:
17796 * objects/network/network.c:
17797 * objects/UML/uml.c:
17799 Changed the way sheets reference objects to use just the
17800 name. Changed module loading to a two stage model:
17801 First register_objects() is called for all modules.
17802 Then register_sheets() is called. This means that
17803 sheets can safely include objects from other modules.
17806 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
17808 * objects/network/bus.c:
17809 * objects/network/network.c:
17810 * objects/network/Makefile.am:
17811 New file bus.c. Added new object: Ethernet bus.
17813 * objects/standard/box.c:
17814 Added call to gtk_spin_button_set_numeric for linewidth spinner
17815 in property dialog.
17817 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
17819 * app/connectionpoint_ops.c:
17820 * app/create_object.c:
17822 * app/handle_ops.c:
17823 * app/modify_tool.c:
17824 * lib/connection.c:
17829 * loads of objects:
17830 Changed handle->connectable to handle->connect_type.
17831 Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
17832 that their connections don't break when moving objects.
17835 Always select the last handle in an object that has
17836 the closest distance.
17838 * lib/geometry.[ch]:
17839 Added rectangle_add_point function.
17842 1998-09-27 Alexander Larsson <alla@lysator.liu.se>
17844 * app/properties.[ch]: New files. Handles the new properties
17847 * app/modify_tool.c: Changed to use new properties dialog.
17849 * app/object_ops.[ch]: Removed object_changed_callback, as it's
17850 not needed anymore. This is now handled differently in
17854 Changed the properties ops for objects. Removed typedefs
17855 ChangedObjectTime and ObjectChangedFunc needed for the old way.
17856 Added object_return_null function.
17859 * lib/render_object.c:
17861 Changed objects to use the new properties dialog.
17864 1998-09-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
17866 * */Makefile.am (INCLUDES): Changes to work with srcdir !=
17869 * autogen.sh: New file. Copied from gtk and added a call to
17870 libtoolize. Anyone knows why this isn't done in gtk?
17872 * Removed autogenerated files.
17874 1998-09-12 Alexander Larsson <alla@lysator.liu.se>
17876 * Added call setlocale(LC_NUMERIC, "C") so that formating of
17877 floating-point numbers in postscript output will be correct.
17878 * Did some cleanup of generated postscript files.