1 2004-07-18 Hans Breuer <hans@breuer.org>
3 * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am
4 sheets/UML/*.png : icons in png format
5 Partial fixup of stuff broken with the following comment:
6 "7 days : xpm->png, namespace fix, first rotation bits."
8 * app/load_save.c(read_objects) : don't add objects to the layer.
9 This function is called recursively and only the topmost objects
10 belong in the layers object list. Fixes bug #145417 and is the
11 the real fix for bug #142480
13 * app/app_procs.c : make the --size hack even uglier, but work again
15 * lib/libartrenderer.c (draw_line, draw_rect) : disable broken code
16 using art_vpath_affine_transform()
18 * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
19 but g_free() what is returned by g_build_filename()
21 * objects/custom_object.c(custom_destroy) : handle all enum values
22 in switch to get rid of the warning
24 * objects/custom/shape_info.c : use g_ascii_strtod(), get rid
25 of setlocale()/strtod()
26 * lib/dia_svg.c : dito
27 * lib/dia_xml.c : almost
29 * lib/object.h : set PROP_FLAG_OPTIONAL for "obj_rotate" to stop
30 complaining on missing attribute
32 * plug-ins/python/group_props.py : use the string representation of
33 value to ensure "unique values". If the strings would not be different
34 the user cann't see the difference either
36 2004-07-17 Lars Clausen <lars@raeder.dk>
38 * lib/persistence.h: Have "void" in prototypes (#142663)
40 * lib/widgets.c (dia_font_selector_init): Better string handling
43 * lib/persistence.c (persistence_save_type): Small fixes (#142663)
45 * doc/diagram.dtd: Add closing > to dia:diagram to make it parsable!
47 * objects/standard/image.c (image_load): Use path of diagram
48 rather than running directory as base for image file place.
50 * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
51 Ambrose Li <a.c.li@ieee.org>: Better IM context handling.
53 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
55 * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
56 Disabled keyboard accels when dragging an object.
58 2004-07-16 Steffen Macke <sdteffen@web.de>
60 * shapes/RDP/Makefile.am: Synchronized with 0_94_RELEASE branch
62 2004-07-14 Lars Clausen <lars@raeder.dk>
65 * doc/sheet.dtd: Move DTD namespace to new site, and syntactic fix.
67 * app/grid.c (snap_to_grid): Use diagrams grid setting to
68 determine hex grid snap.
70 * doc/pl/Makefile.am: Avoid error based on backslash in comment.
72 * app/interface.h: Avoid multiply defined symbols (#147396)
74 2004-07-13 Lars Clausen <lars@raeder.dk>
76 * app/paginate_psprint.c (diagram_print_ps): Give usable type for
77 signal handler function -- Solaris uses a direct function type
78 that's different from what Linux has, but a void * will always
81 2004-07-13 Steffen Macke <sdteffen@web.de>
85 * samples/Jackson.dia: re-added to the CVS as binary files
87 2004-07-11 Lars Clausen <lars@raeder.dk>
89 * lib/dialibartrenderer.c:
90 * lib/dialibartrenderer.h (struct _DiaLibartRenderer):
92 * lib/object.h (OBJECT_COMMON_PROPERTIES): First attempt at actual
93 rotation. Very primitive interface, only rect can rotate, only in
94 libart, and there the box collapses:( But it's progress.
96 2004-07-10 Lars Clausen <lars@raeder.dk>
98 * app/sheets_dialog_callbacks.c (write_user_sheet):
99 * lib/sheet.c (load_register_sheet): Don't introduce double
100 slashes in namespace.
102 * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
103 old diagrams, or XSLT will barf all over.
105 2004-07-10 Steffen Macke <sdteffen@web.de>
107 * makefile.msc: added doc target; updated for 0.94-pre1 release
108 * shapes/RDP/place.shape:
109 * shapes/RDP/transition.shape: use *.png instead of *.xpm
111 2004-07-08 Steffen Macke <sdteffen@web.de>
113 * plug-ins/wmf/wmf.cpp (UsePen): linewidth is now working for PS_SOLID
115 2004-07-05 Hans Breuer <hans@breuer.org>
117 * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
118 -std=c89. Mostly //-comments and M_PI -> G_PI
119 [Istar, Jackson, KAOS were removed from build cause they
120 simply have *too* much C++ comments ;]
121 * object/UML/association.c : use g_strdup() not plain strdup()
122 * app/paginate_psprint.c : avoid storage size of `pipe_action'
123 isn't known with more portable signal code
125 * app/app_procs.c : don't call gtk_init() if just --version
126 is requested (bug #144321, Vladimir Kondratiev)
128 * lib/prop_attr.c(fontprop_set_from_offset) : only unref
130 * objects/UML/class.c : moved fill_in_fontdata() to
131 umlclass_load() to avoid such trouble, though unsure if
132 this really is an improvement...
134 * shapes/network/makefile.am : patch-panel added here too
136 2004-07-04 Hans Breuer <hans@breuer.org>
138 * sheets/network.sheet.in shapes/network/patch-panel.xpm
139 shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
140 fixes bug #136629, James McDonald
142 2004-07-04 Hans Breuer <hans@breuer.org>
144 * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
145 lib/object_defaults.c : revert changing of Dia's XML namespace
146 * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
147 about its purpose and relation to real world urls.
149 * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and
150 added comment about when to do so
151 [Should have been long time ago and probably multiple times
152 to avoid crashing on older plug-ins]
153 * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
154 * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
156 * lib/object.c objects/UML/class.c : there are still compilers not
157 supporting C99 and other GCCISMs like allocating dynamic sized arrays
159 * objects/UML/class.h : there is a differnce between a list pointer
160 and a list pointer pointer. We and GLib want the former.
162 * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
163 if Gtk is initialized. Using gdk_display_get_default () avoids the
164 app/* dependency and is also closer to the requirements of the
167 * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
168 some #ifdefed support for Cairo backends not public available yet.
170 * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
171 windoze platform supports them. This should fix bug #109818, at
172 least for the majority running NT or above ...
173 * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
175 * objects/makefile.msc : build Istar, Jackson and Kaos
177 * objects/UML/class.c(umlclass_load) : don't wrap by default to
178 keep old diagrams as they were - instead of this nice new effect ;-)
179 Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
181 * objects/UML/class.c : mark for translation _("Wrap ...
183 * objects/UML/class.c : more correct types, also some default properties
184 dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
186 * objects/UML/activity.c : removed a leftover from the
187 use-localization-for-font-substitution-hack
189 * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
190 'cvs admin -kb *.png' PNG files should already be *added* as binary,
191 otherwise they are not readable on line-end-converting-platforms
193 * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing
196 * plug-ins/python/pydia-property.c : some more g_warnings for
197 not implemented conversions
199 * plug-ins/python/group_props.py : ensure unique property values
200 at the right place. Now something like :
201 - load an old UML class diagram
202 - change one of the classes to wrap operations
203 - select all classes (/Select/Same Type)
204 - /Dialogs/Group Properties : check wrap_operations, select '1'
205 - Ok, works like a charm :-)
207 2004-07-04 Lars Clausen <lars@raeder.dk>
209 * lib/diagdkrenderer.c (draw_string): Don't unref NULL
212 2004-07-03 Lars Clausen <lars@raeder.dk>
214 * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
215 <LAV@VL3143.spb.edu>: Fixes console output problems and some
216 interactiveness problems.
218 2004-07-02 Lars Clausen <lars@reader.dk>
220 * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
221 app isn't interactive.
223 2004-07-01 Lars Clausen <lars@raeder.dk>
225 * plug-ins/cairo/diacairo.c: Add init of last field of filter
226 struct to remove crash.
228 * sheets/Makefile.am (sheet_in_files):
229 * shapes/Makefile.am:
230 * sheets/ChemEng.sheet.in:
231 * shapes/ChemEng/Makefile.am:
233 New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
234 Chemical engineering shapes.
236 * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
237 multiple arguments when using devel script.
239 * app/display.c (new_display):
241 * lib/diagramdata.c (new_diagram_data):
247 * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
248 <peter_poulsen@stofanet.dk>: Add hexagonal grid!
251 * doc/pl/authors.xml:
252 * doc/en/authors.xml:
253 * lib/object_defaults.c (dia_object_defaults_save):
254 * readme.win32 (BTW):
255 * lib/persistence.c (persistence_save):
256 * app/load_save.c (diagram_data_write_doc):
257 * app/commands.c (help_about_callback):
258 * README: Fix links to home page.
261 * app/load_save.c (diagram_data_load):
262 * lib/prop_text.c (stringprop_load): Avoid NULL strings when
263 loading, and guard against them when fonting.
265 * lib/diarenderer.c (draw_rounded_polyline): Patch from
266 anthonym@overture.com: Make limited rounding a corner-specific
267 rendering-only thing.
269 2004-06-30 Lars Clausen <lars@raeder.dk>
271 * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
272 adjustment: If you can't fix it, at least don't change it.
274 * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
275 code instead of individual code in here.
277 2004-06-29 Lars Clausen <lars@raeder.dk>
279 * objects/UML/association.c: Patch from Kiran
280 Kumar Immidi <kimmidi@novell.com>: Fix bounding box for line end
285 * lib/diarenderer.c (draw_rounded_polyline):
286 * objects/standard/polyline.c (polyline_draw):
287 * objects/standard/zigzagline.c (zigzagline_draw):
288 Patch from anthonym@overture.com: Add rounded polylines.
290 2004-06-27 Lars Clausen <lars@raeder.dk>
292 * lib/font.c (dia_font_new_from_style): Initialize legacy name.
294 * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
295 free family list before taking out the pointer we need. Also set
296 the entry_nr correctly so we get the menu set up right.
298 2004-06-23 Lars Clausen <lars@raeder.dk>
300 * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
301 images at the right place.
303 * objects/Istar/actor.c
304 * objects/Istar/goal.c
305 * objects/Istar/istar.c
306 * objects/Istar/istar.h
307 * objects/Istar/link.c
308 * objects/Istar/other.c
309 * objects/Jackson/domain.c
310 * objects/Jackson/jackson.c
311 * objects/Jackson/jackson.h
312 * objects/Jackson/phenomenon.c
313 * objects/Jackson/requirement.c
314 * objects/KAOS/goal.c
315 * objects/KAOS/kaos.c
316 * objects/KAOS/kaos.h
317 * objects/KAOS/metaandorrel.c
318 * objects/KAOS/metabinrel.c
319 * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
320 <cp@cetic.be>: Fix instability issues caused by not returning NULL
321 in *_move_handle and *_move. Also improved the headers with
322 correct (c) information.
324 2004-06-22 Lars Clausen <lars@raeder.dk>
326 * objects/KAOS/goal.c:
327 * objects/KAOS/other.c:
328 * objects/Istar/actor.c:
329 * objects/Istar/goal.c:
330 * objects/Istar/other.c:
331 * objects/Jackson/domain.c:
332 * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
333 <cp@cetic.be>: Fix resize issues.
335 * app/filedlg.c (file_dialog_hide): Patch from Kiran
336 Kumar Immidi <kimmidi@novell.com>: Check for null when removing
337 related dialog. #129520.
339 * app/dia-props.c (diagram_properties_show): Patch from Kiran
340 Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
341 a child of its diagram. #129520.
343 * objects/UML/association.c (association_load): Patch from Kiran
344 Kumar Immidi <kimmidi@novell.com>: Update positions properly for
345 text placement. #118313.
347 2004-06-17 Lars Clausen <lars@raeder.dk>
349 * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
351 * Makefile.am: Make THANKS only be generated by maintainers.
353 * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
356 * configure.in: Added three missing Makefiles.
360 Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
361 diagram-related (save) dialog when closing diagram. To be
362 extended to other dialogs.
364 * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
367 * samples/Jackson.dia:
369 * sheets/Istar.sheet.in:
370 * sheets/Jackson.sheet.in:
371 * sheets/KAOS.sheet.in:
379 * objects/Makefile.am (SUBDIRS):
380 * sheets/Makefile.am (SUBDIRS):
381 * samples/Makefile.am: Additions from Christophe Ponsard
382 <cp@cetic.be>: Jackson, I* and KAOS diagram support. Needs a bit
385 2004-06-12 Lars Clausen <lars@raeder.dk>
388 * lib/prop_geomtypes.[ch]: Preparation for selectable units.
390 * lib/font.h: Toning down comments a bit:)
392 * lib/font.c (dia_font_build_layout): Playing around with DPI
394 * objects/UML/association.c (association_load): Avoid crashes on
397 * objects/UML/association.c: Patch from kimmidi@novell.com:
398 Improve placement of labels when vertical. Part fix of #118313
400 * lib/object.c (dia_object_is_selected): Grouped objects are not
401 selected, only the group itself. Thus, don't crash when grouping
404 * objects/UML/association.c: Patch from kimmidi@novell.com: Agree
405 on how to represent empty strings. Fixes #143639.
407 * lib/object.c (dia_object_is_selected): Added comment answer.
409 2004-06-12 Hans Breuer <hans@breuer.org>
411 * lib/diagramdata.c lib/object.c : deal with grouped objects
412 not knowing their parent_layer, i.e. avoid crashing in
413 dia_object_is_selected() via group_draw() [ Triggered by
414 playing with the Visio generated svg from bug #143455 ]
416 * plug-ins/python/diasvg_import.py : started to implement
417 transformation="translate(...)" and <style/> handling. Also
418 use some other completely bogus values for em/ex scaling
420 2004-06-08 Lars Clausen <lars@raeder.dk>
422 * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
424 2004-06-07 Lars Clausen <lars@raeder.dk>
426 * app/layer_dialog.c (layer_dialog_set_diagram):
427 * app/display.c: Layer widget crash more properly dealt with in
430 * app/display.c (ddisplay_flush): Fixed crash when closing: Layer
431 widget deselect was called during destroy, but called
432 ddisplay_flush, leading to a new display timeout after renderer
435 * lib/widgets.c (dia_toggle_button_destroy):
436 * app/recent_files.c (recent_file_menuitem_create):
437 * lib/persistence.c (persistence_save_list):
438 * app/commands.c (edit_delete_callback):
439 * lib/object_defaults.c (dia_object_defaults_save):
440 * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
443 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
446 * lib/diagramdata.c (new_layer): Initialize connectibility.
448 * app/display.c (ddisplay_obj_render):
449 * app/diagram.c (diagram_find_closest_connectionpoint): Take
450 connectibility into account.
452 * app/layer_dialog.h (struct _DiaLayerWidget):
453 * app/layer_dialog.c:
454 Connectible toggle updates, now works fairly well.
456 * app/select.c (select_transitive_callback): Make sure we're only
457 selecting in the same layer.
459 2004-06-04 Lars Clausen <lars@raeder.dk>
461 * app/pixmaps/Makefile.am: Also install connectable images.
463 * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
464 layer toggles from layer itself. Also update diagram correctly
465 for visibility. Still need updates for connectivity behaviour.
467 2004-06-03 Hans Breuer <hans@breuer.org>
469 * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
471 * lib/diagdkrenderer.c(set_linejoin) : actually set
472 join_style not cap_style
473 (set_dashes): with the correct number of dashes
475 2004-06-03 Lars Clausen <lars@raeder.dk>
477 * app/modify_tool.c (click_select_object):
478 * lib/text.c (text_set_cursor):
479 * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
481 2004-05-31 Hans Breuer <hans@breuer.org>
483 * lib/object_defaults.c : don't 'failed to load external
484 entity "NULL"' when the defaults file does not exist,
485 bug #108764 [again: somehow this got lost]
487 * app/paginate_gdiprint.cpp : don guess the WMF export
488 filter used for printing but find it by unique name.
489 Also update for export_func renaming
490 * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
491 provide some unique names
493 * app/commands.c app/disp_callbacks.c app/paginate_psprint.c
494 app/select.c : fix bug #140789 by always checking if there
495 still is an active diagram before accessing it
497 * app/defaults.c app/properties.c : user visible string should
498 not read DiaObject but stay as "Object defaults/properties"
500 * app/app_procs.c : reduce the hack to pass --size to the
501 export via user_data to the only filter supporting it. Other
502 filters would crash on it or do worse ;(
504 * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
506 2004-05-31 Lars Clausen <lars@raeder.dk>
509 * lib/widgets.c: Use GtkType rather than guint for
510 dia_size_selector_get_type.
512 2004-05-29 Lars Clausen <lars@raeder.dk>
514 * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
515 that it matches the screen output for selfoverlapping polygons and
518 2004-05-28 Hans Breuer <hans@breuer.org>
520 * app/load_save.c : ignore empty groups on load and don't
521 write empty groups while saving
522 * lib/group.h (group_update_data): there is no first object
523 in empty groups and they probably don't need an update at
524 all. Maybe the shold just not exist ?
526 * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
527 text positioning as well as drawing of images with alpha
529 * plug-ins/wmf/wmf.cpp : include windows.h if eiher
530 HAVE_WINDOWS_H or G_OS_WIN32 is defined
532 2004-05-28 Lars Clausen <lars@raeder.dk>
534 * app/pixmaps/Makefile.am (imagedir):
535 * app/pixmaps/visible.png:
536 * app/pixmaps/visible-empty.png: New images for the visibility
537 button in the layer dialog.
539 * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
540 more border around the button. Still some left when hovering the
541 mouse or selecting, and the grey background is annoying.
543 * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
544 visibility connector.
546 2004-05-26 Lars Clausen <lars@raeder.dk>
548 * configure.in (DB2MAN): Better check for db2man docbook place.
549 Need something even better.
551 * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
553 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
557 * dia_gnome_icon.png:
558 * samples/render-test.dia: Rendering test from Hans.
560 2004-05-24 Hans Breuer <hans@breuer.org>
562 * lib/filter.h : renamed DiaExportFilter::export to
563 _DiaExportFilter::export_func (should not use c++
564 keywords (g++ specifc ?) in headers. Same for import
565 out of pure symmetry reasons
566 * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
567 app/diagram.c app/filedlg.c : reflect functions renaming
569 * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
570 under *NIX, too. [If you want something done, do it yourself ;-]
571 * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
572 with wmf.cpp's GDI usage
573 * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
574 [For the moment it does not much more than compiling, i.e.
575 the produced WMF files are invalid, if not created on windoze.]
577 * configure.in : check for C++ to compile plug-in/wmf
579 * objects/GRAFCET/boolequation.c : looks like fixing
580 another leak (untested)
582 2004-05-23 Hans Breuer <hans@breuer.org>
584 * acinclude.m4 : another attempt to fix
585 bug #142032 (still not sure it's the right one,
586 but works for me(tm), which the other does not ;)
588 * plug-ins/cairo/Makefile.am
590 configure.in : support building the new cairo
591 plug-in, if given --with-cairo and the cairo
592 packages are found, see http://cairographics.org
593 and also http://hans.breuer.org/dia/dia-cairo.htm
595 * plug-ins/cairo/diacairo.c : make it compile
596 with DEBUG_CAIRO defined, too.
598 2004-05-23 Hans Breuer <hans@breuer.org>
600 * plug-ins/cairo/Makefile.am : initial attempt
602 * plug-ins/cairo/diacairo.c : a new exporter based on
603 Cairo http://cairographics.org rendering api. Currently
604 it just can export PNG and PS but one day it might get
605 PDF and more almost for free. [It is not yet included
606 in the *NIX build system due to lack of auto* magic.]
608 * plug-ins/pixbuf/pixbuf.c : always register the export
609 filter part. If the user does not want it it can be
610 disabled by File/Plugins or explicit selected the other
611 one in the Export Formats List
613 2004-05-23 Hans Breuer <hans@breuer.org>
615 * lib/dia_dirs.c : #include "message.h"
616 lib/widgets.c : #include "persistence.h"
617 lib/widgets.c(dia_font_selector_init) : still not C99
618 lib/persitence.h : removed unimplemented prototype
619 lib/persitence.c(persistence_load_list) : still not C99
620 app/create_object.c : #include "highlight.h"
621 app/layer_dialog.c : #include "widgets.h"
622 app/modify_tool.c : prototype functions before usage
623 lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
624 [otherwise one will have a hard time to make C++ compile ;]
625 lib/dia_dirs.c : #include "message.h"
626 lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
629 * plug-ins/xfig/xfig-import.c : dont initialize an int with
632 * lib/dia_image.[hc](dia_image_rgba_data) : make it work
633 as documented, i.e. _not_ copying. Plugs a memory leak in
634 lib/dialibartrenderer.c
636 * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
637 to radius to more of a clue what it is representing
639 * */makefile.msc lib/libdia.def : updated
641 ChangeLog : fixed some date copy&paste bug
643 2004-05-21 Lars Clausen <lars@raeder.dk>
647 * config.h.win32: Now 0.93+cvs
649 * RELEASE-PROCESS: Update with new info about release branches.
651 * Many files: Moved devel branch back into main trunk. Should
652 have been done in the opposite way, with release in a branch.
654 2004-05-20 Hans Breuer <hans@breuer.org>
656 * acinclude.m4 : disable setting of PYTHON_PREFIX
657 and PYTHON_EXEC_PREFIX from prefix and exec_prefix
658 as workaround for bug #142032 (the real fix would
659 involve some auto* knowledge which I don't have
662 * plug-ins/python/Makefile.am : more python
663 plug-ins to be installed (especially svg import,
664 but also 'simple scale' should be useable
667 * plug-ins/python/scascale.py : update display
668 after modifying selected objects
670 * plug-ins/python/diasvg_import.py : initialize
673 2004-05-18 Lars Clausen <lars@raeder.dk>
675 * app/diagram_tree.c (select_node): Use
676 diagram_remove_all_selected to kill selected list.
678 * lib/font.c: Set language when using a different context.
680 * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
681 and removed ctype include (#142661).
683 * lib/paper.c (get_default_paper): Changed isalnum to
684 g_ascii_isalnum and removed ctype include. (#142661)
686 * objects/custom/shape_info.c:
688 * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
690 2004-05-17 Hans Breuer <hans@breuer.org>
692 * lib/object_defaults.c : don't 'failed to load external
693 entity "NULL"' when the defaults file does not exist,
696 * lib/widgets.c : fixed possible menu leak
697 * lib/dialinechooser.c lib/diaarrowchooser.c : finally
698 avoid finalization of floating references, bug #142307
700 2004-05-15 Lars Clausen <lars@raeder.dk>
702 * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
703 fonts better (#138655)
705 * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
707 * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
708 dist, xml, dbk and man. Also the sub-xml files. (#142098)
710 * Makefile.am (CLEANFILES):
711 * sheets/Makefile.am (EXTRA_DIST): Not distributing the
712 translation-reports, they are generated automagically. THANKS
713 file not considered locally generated, so is not locally
716 * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
718 * lib/diaarrowchooser.c:
719 * lib/prop_attr.c: Fixing naming for arrowselector.
721 * objects/UML/object.c (objet_type): Oops, little too aggressive
722 with the DiaObject thing here:)
724 * objects/custom/shape_info.c (parse_svg_node): Use
725 g_ascii_isdigit instead of isdigit.
727 * app/diaunitspinner.c (dia_unit_spinner_update):
728 * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
729 instead of isspace avoids char subscript issues (#142467).
731 * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
732 return value conflict.
734 * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
735 value conflict. Also improved signature. (#142466)
737 * app/load_save.c (diagram_data_load): Don't overwrite the list in
738 the layer, but instead free the returned list (#142480)
740 * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
743 * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
745 * configure.in (DB2MAN): Currently just check for two known
746 positions for the docbook xsl. Don't know a generic way to find
747 this info. Ought to add an option for it, but then it's really
748 only required for maintainers, I think. Maybe.
750 * app/display.c (update_snap_grid_status): Remove nasty image
751 toggling code not require for grid toggle button anymore. (#142475)
753 * app/interface.c (create_display_shell): Use
754 dia_toggle_button_new_with_images to create grid toggle button.
755 Much nicer. (#142475)
757 * app/menus.c (menus_initialize_updatable_items): Free the string
758 along with the GString. (#142475)
760 * lib/intl.c (free_alias_table): Free hash table entries in a
761 proper way, avoiding duplicate frees. (#142475)
763 * lib/object_defaults.c (_obj_store): Only free layer_name if it's
764 not put in the hash (avoid reading freed memory). (#142476)
766 * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
768 (dia_font_selector_get_family_from_name): Stop leaking
771 2004-05-14 Lars Clausen <lars@raeder.dk>
773 * Transfer of fixes from release branch. Not the prettiest way to
774 do it, this should be done during release, not afterwards.
776 Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
778 * acinclude.m4: minor fixes (added missing [] quotation).
780 Lars Clausen <lars@raeder.dk>:
782 * app/interface.c (toolbox_delete):
783 * app/app_procs.[ch] (app_exit): Stop the delete event if the user
784 cancels quit due to modified diagrams.
786 Samúel Jón Gunnarsson <sammi@techattack.nu>:
788 * is.po: Added "is" to ALL_LINGUAS.
790 Lars Clausen <lars@raeder.dk>:
792 * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
794 Hans Breuer <hans@breuer.org>:
796 * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
797 burden should be shared and not be win32 only ;) [this time
798 build was broken by adding GtkType to widget.h]
800 * objects/standard/box.c objects/standard/ellipse.c :
801 for code clarification compare (obj->aspect != FREE_ASPECT)
802 and not (obj->aspect); no binary effect.
804 * app/paginate_psprint.c : don't leak printcmd
806 * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
807 standard C requires variables to be declared at the beginning of
808 a block, also there is no fabsf() with msvc
810 * app/win32print.[ch] : make win32_printer_close() return an
811 error code, it's used as pclose replacement
813 Lars Clausen <lars@raeder.dk>:
815 * RELEASE-PROCESS: Mention PATCH keyword in release process.
817 2004-05-06 Lars Clausen <lars@raeder.dk>
819 * lib/widgets.[ch]: Utility function to make a widget with two
820 images (selected and non-selected).
822 * lib/diagramdata.h: Renamed selectable to connectable.
823 Selectable will come later.
826 * app/pixmaps/Makefile.am (imagedir):
827 * app/pixmaps/connectable.png:
828 * app/pixmaps/connectable-empty.png: New images for the
829 selectability widget. Proper installation, too.
831 * app/layer_dialog.[ch]: Adding new button showing connectability
832 status. Much cleaner way of doing the button, but some problems
833 with the item getting selected
835 * lib/widgets.h: Reminder of how to install images for use by
836 dia_get_image_from_file.
838 2004-05-05 Lars Clausen <lars@raeder.dk>
840 * objects/network/Makefile.am:
841 * objects/network/pixmaps/radiocell.xpm:
842 * objects/network/pixmaps/basestation.xpm:
843 * objects/network/network.c:
844 * objects/network/basestation.c:
845 * objects/network/radiocell.c:
846 Patch from W. Borgert <debacle@debian.org>: Radio cell and base
849 * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
850 Backslash arrow head.
852 * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
853 Notify takes care. Should maybe use that more.
855 * lib/diagramdata.[ch]:
856 * app/filedlg.c (file_export_ok_callback):
857 * app/diagram.c (diagram_finalize): DiagramData now a GObject.
859 * app/dia-props.c (diagram_properties_respond):
860 * app/diagram.c (diagram_set_modified):
862 * app/disp_callbacks.c:
864 * app/load_save.c (diagram_save):
865 Better handling of undo and modified status -- only diagram
866 properties and page setup explicitly set modified status, all
867 other important changes should be done through the undo stack
870 2004-05-04 Lars Clausen <lars@raeder.dk>
872 * app/app_procs.c (app_init): Consistently open a new diagram if
873 none specified, with standard name Diagram1.dia.
875 * app/layer_dialog.c:
876 * app/diagram.c (diagram_finalize):
877 * app/commands.c (dialogs_layers_callback):
878 * app/filedlg.c (file_export_ok_callback):
879 * app/app_procs.c (app_exit):
880 * app/display.c (display_set_active):
881 * app/interface.c (dia_dnd_file_drag_data_received):
882 * app/recent_files.c:
883 Undone attempt at unifying the multi-diagram windows (like
884 layers). It broke the layers and didn't make much sense for the
885 diagram properties dialog anyway.
891 * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
892 many subclasses have to be fixed. Fixed remaining
893 Object/ObjectType renaming issues.
895 2004-05-02 Lars Clausen <lars@raeder.dk>
897 * lib/object.[ch]: Making DiaObject a GObject. Now can I avoid
898 having to make all the children objects conform to
899 GObject style at once? Warning! Does not compile right now.
901 * many, many files: Rename Object to DiaObject in preparation for
904 * app/diagram.[ch]: Turn diagram into a real GObject.
907 * app/filedlg.c: Correctly ref and unref diagram.
909 * lib/diagramdata.h: Starting to turn it into a GObject as well.
911 2004-05-02 Lars Clausen <lars@raeder.dk>
913 * lib/object.[ch]: Starting to convert Object to DiaObject, son of
916 * app/dia-props.c: Undo the attempt at making it really
917 multi-diagram, now going for a one-diagram dialog.
919 2004-04-30 Lars Clausen <lars@raeder.dk>
921 * app/undo.c: Undoing broken undo stuff for diagram properties and
922 page setup. Shouldn't be mixed into undo at all.
924 * app/render_gdk.c (draw_pixel_line): Use the dash-setting
925 function to avoid in particular the grid crawling.
927 * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
928 to allow aligning dashes, so they don't crawl.
930 2004-04-28 Lars Clausen <lars@raeder.dk>
932 * app/Makefile.am: New files diacanvas.[ch]
934 * app/interface.c (create_display_shell): Use new diacanvas that
935 allows placing widgets on canvas, for text edit.
938 Early work towards rotation. No implementation yet.
940 * app/layer_dialog.c (undo_layer):
941 * objects/network/bus.c (bus_create_change):
942 * objects/standard/box.c (aspect_create_change):
943 * objects/standard/ellipse.c (aspect_create_change):
944 Use g_new0 for change struct.
946 * app/undo.c (diagram_change_apply_or_revert):
947 Support for undo of diagram properties and page setup.
949 * app/disp_callbacks.c (ddisplay_canvas_events):
952 * app/modify_tool.c (click_select_object):
953 * lib/text.c (text_register_editable):
954 Starting work on new text editing model. Guarded by #ifdef so
957 2004-04-07 Lars Clausen <lars@raeder.dk>
959 * app/recent_files.c (open_recent_file_callback):
960 * app/interface.c (origin_button_press):
961 * app/filedlg.c (file_open_ok_callback):
964 * app/commands.c (dialogs_layers_callback): Using new
965 diagram_set_current() function to ensure auxilliary windows are
968 * app/layer_dialog.c: Trying to unify with dia-props. Diagram
969 menu now borken. *sniff*
971 * app/dia-props.c: Diagram properties window attempted
972 persistentified. Trying to make more like layer dialog (since it
973 already changes when the diagram changes), but some things still
976 2004-04-06 Lars Clausen <lars@raeder.dk>
978 * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style):
979 * lib/attributes.c (attributes_set_default_line_style):
980 * app/interface.c (create_lineprops_area):
981 Make line style persistent as well. Added function to directly
982 set the style and dashlength of a dialinechooser.
984 2004-04-03 Lars Clausen <lars@raeder.dk>
986 * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
987 Copy the ellipse extra handle correctly.
989 * objects/standard/box.c (box_move_handle): Move definitions
990 according to bug #138925.
992 2004-04-02 Lars Clausen <lars@raeder.dk>
994 * app/recent_files.c: Use absolute name for recent files list.
996 * lib/attributes.c: Set start and end arrow types, correctly.
998 * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
1001 * lib/diaarrowchooser.[ch]: Support for setting arrow info.
1003 * app/interface.c (create_lineprops_area): Set persistently stored
1006 * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
1009 * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
1010 path (i.e. without '.' or '..'). Not tuned for Win32 yet.
1012 * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
1013 with what xfig does. Text now converted from latin-1 to utf-8
1014 (latin-1, since that's what xfig seems to use. Would like to see
1015 examples of non-latin-1 figs). String case problems fixed.
1017 2004-04-01 Lars Clausen <lars@raeder.dk>
1020 * app/interface.c: Default arrows now stored persistently, too.
1022 * lib/arrows.[ch]: New function to get arrow type from name.
1024 * app/color_area.c (color_area_create):
1026 * app/linewidth_area.c: Also persistent colors and line width.
1027 That was easy. Arrows and line style will take a bit more work,
1030 2004-04-01 Lars Clausen <lars@raeder.dk>
1032 * app/preferences.c: All preferences are now
1033 handled by persistence, old prefs load and store code is gone.
1035 * lib/persistence.[ch]: Added string and color persistents. This is
1036 a different string from the one used in the printer dialog, that
1037 one has a GtkEntry attached -- may want to make that one an
1038 encapsulation of this one or something.
1040 2004-03-31 Lars Clausen <lars@raeder.dk>
1042 * app/app_procs.c: Do persistence before prefs. Prefs are to be
1045 * lib/persistence.[ch]:
1046 * app/preferences.c: Adding persistence for integers, reals,
1047 booleans. Fixed stupid list bug. Test persistence for prefs.
1049 2004-03-30 Lars Clausen <lars@raeder.dk>
1051 * app/recent_files.c:
1052 Debugging of deallocation.
1055 Font menu now uses persistence. Ordering needs fixing, or it must
1059 * lib/Makefile.am (libdia_la_SOURCES):
1060 * app/Makefile.am (dia_core_files):
1061 * app/persistence.[ch]:
1062 * lib/persistence.[ch]: Moved to lib as widgets need it. Also a
1063 number of fixes, including multiple entries now being read
1064 properly. Still some oddity about the persistent list having the
1065 role as first entry (which makes the font menu crash after a few
1068 2004-03-26 Lars Clausen <lars@raeder.dk>
1070 * app/persistence.c:
1071 * app/recent_files.[ch]: Redoing the recent-files list using
1072 persistence, reducing code by about 50%. Still a problem when
1073 selecting an item from the menu -- possibly it doesn't like the
1074 menu being destroyed while in the callback?
1076 2004-03-25 Lars Clausen <lars@raeder.dk>
1078 * app/persistence.c (persistence_load_string): Missing semicolon?!?
1080 2004-03-24 Lars Clausen <lars@raeder.dk>
1084 * app/persistence.[ch]:
1085 * app/paginate_psprint.c (diagram_print_ps): New type of data can
1086 be stored persistently: Strings. Only the printer command/file
1087 go in here now, but things like creator, organization, diagram
1088 comments etc could also be handled this way.
1090 * objects/standard/beziergon.c (beziergon_draw): Avoid control
1091 lines when the object is not selected.
1093 2004-03-23 Lars Clausen <lars@raeder.dk>
1095 * lib/connectionpoint.h:
1096 * app/load_save.c: Allow connection points to have names, and
1097 handle that in load/store.
1099 * lib/dialibartrenderer.c: Better highlighting for text.
1101 * lib/diagdkrenderer.h (struct _DiaGdkRenderer):
1102 * lib/diagdkrenderer.c: Better highlighting for all, using same
1103 principles as libart highlighter.
1105 2004-03-22 Lars Clausen <lars@raeder.dk>
1107 * lib/dialibartrenderer.[ch]:
1108 * lib/diagdkrenderer.c:
1114 * app/modify_tool.c:
1115 * app/create_object.c:
1116 * app/highlight.[ch]:
1117 Added simple object highlighting. In GDK rendering, highlights
1118 the bbox, in libart highlights the outline of the object (except
1121 2004-03-22 Lars Clausen <lars@raeder.dk>
1123 * RELEASE-PROCESS: Added info on how to do a branch for
1124 development during release process.
1126 2004-03-20 Lars Clausen <lars@raeder.dk>
1128 * RELEASE-PROCESS: Mention PATCH keyword in release process.
1130 2004-03-19 Lars Clausen <lars@raeder.dk>
1132 * xmldocs.make: Fixed apparent uninstall error.
1135 * doc/en/dia-manual.xml:
1136 * doc/pl/dia-manual.xml:
1139 * NEWS: Version 0.93-pre1.
1141 * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
1142 borelli): Remove some deprecated stuff.
1144 2004-03-18 Lars Clausen <lars@raeder.dk>
1146 * Makefile.am: Try better uninstall thing for scrollkeeper.
1148 * objects/ER/entity.c:
1149 * lib/arrows.[ch]: Patch from Georg Lothar Thimm
1150 <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
1151 1, 1 exactly, as well as associative ER entities.
1153 2004-03-17 Lars Clausen <lars@raeder.dk>
1155 * Makefile.am: Make distcheck not complain about scrollkeeper
1156 problems (as per advice from James Henstridge).
1158 * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
1159 standard installation.
1161 * objects/standard/ellipse.c: Better strings for object menu.
1163 * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
1164 of dialogs (shame on you, glade!)
1166 * objects/custom/custom_object.c (custom_setup_properties):
1167 Removed debugging output
1169 * app/paginate_psprint.c (diagram_print_ps): Slightly more
1170 readable printer error messages.
1174 * doc/en/Makefile.am:
1175 * doc/pl/Makefile.am:
1176 New more standard way to install the XML-based manuals.
1178 2004-03-15 Lars Clausen <lars@raeder.dk>
1180 * objects/standard/box.c (box_move_handle): More intuitive fixed
1183 * objects/standard/ellipse.c:
1184 * objects/standard/box.c:
1187 * app/layer_dialog.[ch]:
1188 Patch from Steve Langasek <vorlon@debian.org>:
1189 Fixes startup crash on Alpha (bug #137169)
1191 * objects/standard/box.c: Aspect fixing like ellipses.
1193 * app/Makefile.am (dia_core_files): Include dia-app-icons.h
1195 * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
1196 pixmaps, now can uninstall properly.
1198 * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
1199 Fixed and circle aspect ratios for ellipses. Bug #137156, #87966,
1201 Added object menu access.
1203 2004-03-07 Hans Breuer <hans@breuer.org>
1205 * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
1206 GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
1207 would not use deprecated apis, but it's much simpler this way)
1209 * lib/makefile.msc : build the above new widgets and render_pixmap
1210 * lib/libdia.def app/dia.def app/makefile.msc : updated
1212 * app/disp_callbacks.c : fix gccisms (without being able to make much sense of
1213 what I saw, i.e. how big is an empty array supposed to be ? ;-).
1214 Previously it gave :
1215 disp_callbacks.c(188) : error C2059: syntax error : '}'
1216 disp_callbacks.c(191) : warning C4034: sizeof returns 0
1218 * app/interface.c : #include "dialinechooser.h"
1220 * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
1221 [one more reason not to use it here : it's quite slow compared to
1222 the native win32 font renderer ;]
1224 * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
1225 a GtkDialog*, removed unneeded cast
1227 * app/render_eps.c : avoid assignment warning for void* user_data
1230 2004-03-06 Steffen Macke sdteffen@web.de>
1232 * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
1235 2004-03-06 Lars Clausen <lars@raeder.dk>
1237 * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
1240 * lib/font.c: Simple cleanup system for layout cache removes any
1241 layout that hasn't been used for 10 minutes, but only during idle
1244 2004-03-05 Lars Clausen <lars@raeder.dk>
1246 * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
1247 (lluis padro) (#130887): Extended Electric shapes with vertical
1250 * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
1251 start with "Create a" or "A", always capitalize first word).
1253 * objects/standard/ellipse.c: Patch from Grégoire Dooms
1254 <dooms@info.ucl.ac.be>: Add extra connection point in center of
1255 ellipse. Additionally added a handle in the center, and resize is
1256 now around the center.
1259 * sheets/Makefile.am (SUBDIRS):
1260 * sheets/IsometricMap.sheet.in:
1261 * shapes/Map/Isometric/*
1262 * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
1264 2004-03-04 Lars Clausen <lars@raeder.dk>
1267 * lib/pixmaps/Makefile.am:
1269 Better installation handling of pixmaps.
1271 * lib/diagdkrenderer.c:
1272 * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass):
1273 * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts):
1276 2004-03-03 Lars Clausen <lars@raeder.dk>
1278 * lib/diagtkfontsel.h (struct _DiaGtkFontSelection):
1279 * lib/diagdkrenderer.c:
1280 * lib/diasvgrenderer.c:
1281 * lib/dialibartrenderer.c:
1282 * lib/diainteractiverenderer.c:
1283 * lib/prop_text.c (multistringprop_handle_key):
1285 * lib/dia_image.c (dia_image_rgba_data):
1287 * lib/diagramdata.c (layer_set_object_list):
1290 Getting rid of compile warnings.
1292 * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
1293 images. Also remove unused decls.
1295 2004-03-02 Lars Clausen <lars@raeder.dk>
1298 * lib/widgets.c (dia_size_selector_init): Add images to the size
1299 selector chain widget. Also new function to load installed images
1300 from files (better than from included XPM, IMHO).
1302 2004-03-02 Lars Clausen <lars@raeder.dk>
1305 * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
1309 * lib/widgets.c (dia_size_selector_init): Work
1310 on getting proper icon onto the size selector. Need simple image
1311 load mechanism in utils.
1315 * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
1316 strings, handle utf8 strlen properly. Bug #135930.
1318 2004-03-01 Lars Clausen <lars@raeder.dk>
1320 * shapes/Cybernetics/*:
1321 * sheets/Cybernetics.sheet.in:
1322 * sheets/Makefile.am:
1323 * shapes/Makefile.am:
1324 * configure.in: Patch from charly.meyer@t-online.de (Thorsten
1325 Roggendorf): Cybernetic shapes (#95553).
1327 2004-03-01 Lars Clausen <lars@raeder.dk>
1329 * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
1331 * lib/diatypes.h: New type DiaSizeSelector.
1333 * lib/widgets.[ch]: New size selector widgets that selects two
1334 values (width and height, nominally) optionally linked to keep
1337 2004-03-01 Hubert Figuiere <hfiguiere@teaser.fr>
1339 * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
1340 in front of file. Bug #128600.
1344 * app/lineprops_area.[ch]:
1346 * lib/dialinechooser.[ch]:
1347 * lib/widgets.c (dia_line_style_selector_init): use line preview
1348 instead of text labels. This involve moving away line_chooser to lib
1351 * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
1354 * app/Makefile.am (dia_core_files):
1355 * app/interface.c (create_lineprops_area):
1356 * app/render_pixmap.[ch]:
1358 * lib/diaarrowchooser.[ch]:
1361 * lib/propdialogs.c:
1362 * lib/render_pixmap.[ch]:
1363 * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
1364 of text labels. This involve moving away arrow_chooser to lib from
1367 2004-02-29 Lars Clausen <lars@raeder.dk>
1369 * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
1370 being updated half-way through destruction. To be removed when
1371 the lists are replaced by something better.
1373 * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
1374 Accelerators for class dialog. Bug #130995.
1375 Patch from luc@handhelds.org: Better aligning of widgets. Bug #130994.
1378 * app/preferences.c:
1380 * objects/GRAFCET/step.c:
1381 * objects/Misc/analog_clock.c:
1382 * objects/chronogram/chronoline.c:
1383 * objects/chronogram/chronoref.c:
1384 Change to american spelling (color, not colour) to ease
1385 translators job. Note that a number of translations may need an
1386 update now. Bug #120466.
1388 2004-02-29 Lars Clausen <lars@raeder.dk>
1390 * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
1391 Better arrow handling for missing arrows.
1393 * plug-ins/metapost/render_metapost.[ch]: Patch from
1394 phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
1395 size. See bug #135363.
1397 * app/app_procs.c (app_init): If non-interactive, or if
1398 --log-to-stderr used, send all messages to stderr. This should
1399 mean that old diaconv == dia --export-to-format=FOO BAR
1401 2004-02-29 Hubert Figuiere <hfiguiere@teaser.fr>
1403 * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
1405 2004-02-28 Lars Clausen <lars@raeder.dk>
1407 * lib/text.c (text_key_event): Patch from Kouhei Sutou
1408 <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
1410 2004-02-27 Lars Clausen <lars@raeder.dk>
1412 * KNOWN_BUGS: Added info on most commonly reported bugs, with
1415 * app/disp_callbacks.c (popup_object_menu): Unified properties
1416 entry, fixes bug #105080.
1418 * app/diagram.c (diagram_update_menu_sensitivity):
1419 * app/menus.h (struct _UpdatableMenuItems):
1420 * app/menus.c (menus_initialize_updatable_items): Menu items
1421 changed around, align menus flattened, properties entry ghosted,
1422 dialogs menu removed, more shortcuts added. Closing bugs #94018,
1424 Also taking out Gnome menus for now. They don't allow shortcuts,
1425 so what are they good for?
1427 2004-02-27 Lars Clausen <lars@raeder.dk>
1429 * app/menus.c (display_menu_items):
1430 * app/commands.[ch]: Added duplicate menu item from Alan Horkan
1433 2004-02-24 Adam Weinberger <adamw@FreeBSD.org>
1435 * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
1437 2004-02-23 Lars Clausen <lars@raeder.dk>
1439 * app/app_procs.c (app_init): Comments for translators.
1441 2004-02-22 Hubert Figuiere <hfiguiere@teaser.fr>
1443 * app/preferences.c (prefs_create_dialog): Change packing policy
1444 for widget to expand.
1446 * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
1447 running with a debugger.
1449 2004-02-19 Lars Clausen <lars@raeder.dk>
1451 * app/undo.[ch]: Adding last-saved information to undo to allow a
1452 diagram with all changes since last save undo to be marked as
1453 nonmodified. Still needs integration with actual undo
1457 * app/diagram_tree.c (diagram_tree_update):
1459 * app/display.c (update_modified_status):
1460 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr):
1461 * app/autosave.c (autosave_check_autosave): Encapsulate modifed
1464 * app/render_eps.[c]: Restructure to better handle PS vs. EPS
1465 vs. EPSI, comment out EPSI until preview is in there.
1468 * lib/diarenderer.c: Removing debugging printfs.
1470 * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
1473 * objects/standard/arc.c (arc_update_handles): Check to avoid
1474 crash when start and end points are the same.
1476 2004-02-19 Lars Clausen <lars@raeder.dk>
1478 * objects/standard/bezier.c:
1479 * objects/standard/line.c (line_load):
1480 * objects/standard/polyline.c (polyline_load):
1481 * objects/standard/zigzagline.c (zigzagline_load):
1482 * objects/standard/arc.c (arc_load):
1483 * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
1484 instead of hardcoding.
1486 2004-02-18 Hubert Figuiere <hfiguiere@teaser.fr>
1488 * app/disp_callbacks.c (popup_object_menu): append a menu item to
1491 2004-02-17 Hubert Figuiere <hfiguiere@teaser.fr>
1493 * app/app_procs.c: declare rc properly with the proper #ifdef
1495 2004-02-17 Lars Clausen <lars@raeder.dk>
1497 * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
1498 objects (which seemingly FIG itself breaks, or else there is no
1501 2004-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
1503 * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
1504 width renderable in xfig. Helps on bug #133637, but does not
1505 quite fix it -- something about depth is wrong.
1507 * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
1508 Extern definitions for Mac compilation.
1510 * app/app_procs.c: Patch #131159 from J. H. M. Dassen
1511 (jdassen@debian.org): Include fix.
1513 * app/interface.c: Patch #130100 from luc@handhelds.org: Make
1514 sure the initial diagram size is correct.
1516 2004-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
1518 * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
1519 CPPFLAGS, as per automake warning.
1520 * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
1521 LDFLAGS, as per automake warning.
1522 (run_dia.sh): More robust creation, and more easily moved.
1524 * app/undo.c (group_objects_revert): Don't double-free the objects
1525 list. (#129221) Call object_add_updates on grouped objects.
1526 (ungroup_objects_revert): Call object_add_updates on grouped objects.
1528 * lib/diagramdata.c: Internal
1531 * lib/polyshape.c (polyshape_update_data): Correctly calculate
1532 directions for polyshape corners (thanks, Valgrind!)
1535 * lib/prop_attr.c (arrowprop_load): Use default arrow size.
1537 * lib/arrows.h: Default arrow size defined. After all are using
1538 this, may lower to 0.4 or so.
1540 * app/lineprops_area.[ch]: New function to set the arrow type for an
1543 * app/interface.c (create_lineprops_area): Set default line to
1544 have an arrow (fairly likely to be what's wanted, plus it shows
1545 the user where arrows are set).
1547 * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
1549 2004-02-14 Lars Clausen <lrclause@cs.uiuc.edu>
1551 * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
1552 Dotted lines should use dot_length, not dash_length.
1554 2004-02-06 Hans Breuer <hans@breuer.org>
1556 * app/interface.c : don't use gtk_drawing_area_size() to avoid
1557 the defaut size being also the minimum size. Instead use
1558 gtk_window_set_default_size() on the display shell. Fixes #130982.
1560 [fixing #131210, but umlauts in the 'main' filename still not really
1561 supported on systems where filesystem encoding != utf8
1562 (Problems with recent file menu and window title)]
1563 * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
1564 to deal with possible differnces in filename encodings, see
1565 g_filename_<to|from>_utf8()
1566 * objects/standard/image.c : use them.
1568 * lib/widgets.c : handle possible encoding difference here, too.
1569 Also get rid of most warnings by using const and GTK casts where
1570 appropriate; one wrong cast (probably causing a crash) was found/fixed
1571 by this - the remaining give a hint on finally leaking FontSelectorEntry.
1573 * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
1574 dia_file_selector_<get|set>_file to behave like the respective Gtk
1575 functions do : encoding- and const-wise ;-)
1577 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1579 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1581 2004-01-19 Hans Breuer <hans@breuer.org>
1583 * app/app_procs.c app/diaconv :
1584 only call bind_textdomain_codeset when available, what's good
1585 for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
1586 * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
1588 2004-01-19 Steffen Macke <sdteffen@web.de>
1590 * makefile.msc: updated for new GAIM-like installer build; sync'ed
1591 ALL_LINGUAS with configure.in
1593 2004-01-18 Hans Breuer <hans@breuer.org>
1595 * app/app_procs.c (myXmlErrorReporting) : avoid possible crash
1596 by not passing NULL to g_print()
1598 * app/interface.c (create_toolbox) : actually use
1599 persitence_register_window() to restore toolbox window size
1601 * app/makefile.msc lib/makefile.msc : allow to deselect
1602 building with Freetype by command line to nmake like :
1603 nmake -f makefile.msc "NOFT2=1"
1605 * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
1606 far as possible with Dia's limited line style
1607 * plug-ins/python/pydia-property.c : allow to get and set
1608 Linestyle, style and dash(length)
1610 * lib/object.h : removed typedef for ObjectId not use anywhere
1612 2004-01-17 Hans Breuer <hans@breuer.org>
1614 * objects/custom/shape_info.[hc] objects/custom/custom_object.c
1615 doc/shape.dtd doc/custom-shapes :
1616 support for images in custom shapes, also removed some long-time
1619 * doc/en/*.xml : fixed crippled line ends which get created
1620 when windoze line ends are checkin from the unix side
1622 2004-01-13 Laurent Dhima <laurenti@alblinux.net>
1624 * configure.in: Added "sq" to ALL_LINGUAS.
1626 2004-01-11 Hans Breuer <hans@breuer.org>
1628 [more less leaks ;-]
1630 * objects/SADT/annotation.c : use text_destroy() not g_free()
1632 * objects/chronogram/chronoline.c : neither leak chronoline::events
1633 nor chronoline::name
1635 * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
1637 2004-01-11 Hans Breuer <hans@breuer.org>
1639 * lib/properties.h :
1640 * objects/custom/custom_object.c : more properties optional
1641 to be backward compatible for older diagrams not having them
1642 set. (Try to load samples/all_objects.dia)
1644 [less memory leaks thanks valgrind ;-]
1646 * app/recent_files.c (recent_file_history_write) :
1647 g_free(history_filename);
1648 (recent_file_menu_item) : use g_path_get_basename()
1649 which already strdups, free result of g_strescape()
1651 * app/filedlg.c (create_export_menu) : return of
1652 filter_get_export_filter_label() must be g_free()'d
1653 (create_open_menu) : same for import
1655 * app/export_png.c (export_png_ok) : destroy info ptr
1656 with png_destroy_write_struct()
1658 * app/app_procs.c (app_init) : g_free(export_format_string);
1660 * lib/font.c (dia_font_finalize) : finalize parent_class, too
1661 (dia_font_new_from_style) : stop leaking almost all DiaFont by not
1662 refing it a second time, g_type_create_from_instance() is enough
1664 * lib/object_defaults.c (_obj_store) : don't mess with names
1665 len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
1667 2004-01-11 Steffen Macke <sdteffen@web.de>
1669 * app/diapsftrenderer.c: including ftoutln.h
1670 * app/makefile.msc: updated for freetype build
1671 * lib/libdia.def: added dia_font_get_context()
1672 * lib/dialibartrenderer.c (draw_string): added cast
1674 2004-01-10 Hans Breuer <hans@breuer.org>
1676 * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
1677 transformed coordinates, fixes bug 130804
1679 2004-01-10 Hans Breuer <hans@breuer.org>
1681 * app/filedlg.c app/app_procs.c : don't try to destroy
1682 'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
1683 signal but simply by gtk_widget_destroy() after gtk_dialog_run()
1684 returns. Fixes 'has no handler' bugs like #121019
1686 2004-01-10 Hans Breuer <hans@breuer.org>
1688 * objects/UML/class.c objects/UML/class_dialog.c :
1689 handle umlclass->name being empty to avoid, i.e. fix #127968
1691 [plugging memleaks, thanks valgrind :-]
1693 * lib/dia_xml.c (data_string) : don't leak return value
1694 of xmlNodeListGetString()
1696 * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
1697 before returning, maybe alloca() would be the better
1698 choice but anyway ;)
1700 * objects/custom/custom_object.c:306 : adde xmlFree(str) below
1702 * lib/font.c (dia_font_build_layout) : don't leak result
1705 * lib/diagdkrenderer.c (draw_string) : don't leak rgba
1706 (this is the one which got me started using valgrind, see #130816)
1708 2004-01-07 Sanlig Badral <badral@openmn.org>
1710 * configure.in: Added "mn" to ALL_LINGUAS.
1712 2004-01-04 Hans Breuer <hans@breuer.org>
1714 * lib/diagdkrenderer.c : replace rendering of really small (height
1715 less than 2 pixels) with a simple dashed line, you wont notice the
1716 differnce beside it being much faster. This allows ...
1717 * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
1718 * app/navigation.c : ... and lets you see an read rendered text even
1719 in the nice navigation popup.
1721 * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too.
1722 (draw_string) : don't leak temporary image
1724 2004-01-04 Hans Breuer <hans@breuer.org>
1726 * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
1727 * app/interface.c : use dia-app-icons.h to give Dia window icons
1729 * lib/dia_image.c lib/color.c : _never_ call functions implemented
1730 in app/ from lib/. It is not portable and broken from design
1731 * app/app_procs.c : call color_init() and dia_image_init() conditional,
1732 i.e. only if running interactive.
1734 * lib/font.h : #include <time.h>
1736 * lib/libdia.def : updated externals
1738 * objects/UML/actor.c
1739 objects/UML/association.c (todo)
1740 objects/UML/branch.c
1741 objects/UML/class.[hc] objects/UML/class_dialog.c
1742 objects/UML/classicon.c
1743 objects/UML/component.c
1744 objects/UML/constraint.c
1745 objects/UML/dependency.c
1746 objects/UML/generalization.c
1747 objects/UML/implements.c
1748 objects/UML/large_package.c
1749 objects/UML/lifeline.c
1750 objects/UML/message.c
1752 objects/UML/object.c
1753 objects/UML/realizes.c
1754 objects/UML/small_package.c
1756 objects/UML/usecase.c
1758 : ported coloring of most UML objects (bug #97517, orginal
1759 work Mathias Hasselmann)
1761 * lib/properties.h : add _OPTIONAL variants for
1762 PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
1763 i.e. default colored - UML diagrams without complaining
1764 * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
1765 not set properties with the help of PXP_NOTSET. Otherwise
1766 optional attributes would lead to wrong initialization.
1768 * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
1769 to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
1770 Same for most other selectors which probably should be rewritten
1771 to the combo box with tree model from Gtk+ 2.4
1773 2004-01-04 Lars Clausen <lrclause@cs.uiuc.edu>
1775 * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
1776 being the Right Thing(tm) to use on Solaris.
1778 * objects/standard/bezier.c (bezierline_draw): Don't draw
1779 guidelines if not selected.
1781 * lib/object.[ch] (dia_object_is_selected): Function to check whether
1782 a given object is selected. O(n), where n is # selected objects.
1785 2004-01-03 Lars Clausen <lrclause@cs.uiuc.edu>
1787 * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
1788 Fonts dialog is closed without pressing Ok (bug #128646).
1790 2004-01-02 Lars Clausen <lrclause@cs.uiuc.edu>
1792 * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
1795 2004-01-01 Lars Clausen <lrclause@cs.uiuc.edu>
1797 * INSTALL: Updated list of requirements (bug #129653)
1799 * doc/en/dia.dia: Beginning class diagram for Dia from Luc
1800 Pionchon <luc@handhelds.org>.
1802 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
1804 * lib/diagdkrenderer.c (draw_string): Don't attempt to render
1805 empty or NULL strings (bug #130097).
1807 2003-12-31 Chris Sperandio <sperandi@eng.usf.edu>
1809 * plug-ins/metapost/render_metapost.c: Fixed string colorization.
1810 Added checks against color_black.
1812 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
1814 * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
1815 ARROW_TYPE_NONE. Thanks to Jon A. Solworth for showing that this
1818 * objects/UML/component_feature.c: Patch from W. Borgert
1819 <debacle@debian.org>: Add handle to component feature text.
1821 * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
1823 * lib/font.c: Caching PangoLayout for better rendering speed.
1825 2003-12-30 Lars Clausen <lars@raeder.dk>
1827 * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
1828 get absolute file name from relative.
1829 * app/recent_files.c (recent_file_history_add): Use absolute
1830 filenames for recent files menu so that files can be found when
1831 Dia is invoked from other places.
1833 * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
1834 Actually load different diagrams if such are requested on command
1837 * objects/UML/class_dialog.c (class_create_page): Fix from Luc
1838 Pionchon <luc@handhelds.org>: Correctly align labels for colors.
1840 * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
1841 remove text rendering. May be turned into greeking at some later
1845 * app/Makefile.am (dia_core_files):
1846 * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
1847 Adds navigation window a la Gimp, though without text being
1850 2003-12-27 Luc Pionchon <luc@handhelds.org>
1852 * app/navigation.h: (new file)
1853 * app/navigation.c: (new file) creates a navigation window with a
1854 thumbnail view of the whole diagram.
1855 * app/Makefile.am (dia_core_files): added new files.
1857 * app/interface.c (create_display_shell): added a button between
1858 the scrollbars to popup a navigation window.
1860 * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
1862 * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
1863 * lib/diagdkrenderer.c (draw_string): returns if the renderer do
1864 not want text rendering.
1866 2003-12-14 Lars Clausen <lrclause@cs.uiuc.edu>
1868 * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
1870 * objects/custom/shape_info.[ch]: Cleanup.
1872 * objects/custom/custom_object.[ch]: Changed to use new props
1877 * lib/prop_inttypes.c:
1878 * lib/prop_geomtypes.c: Added *prop_get_data_size.
1880 * lib/libdia.def: Added object_load_props.
1882 * configure.in: Better FT2 version test, from bug #129225.
1884 * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
1886 * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
1887 Lehmann <holger.lehmann@catworkx.de>.
1889 * plug-ins/xslt/Makefile.am:
1890 * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
1891 and OWL XSLT sheets.
1893 2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu>
1895 * lib/diagdkrenderer.c: Add implementation so text is still
1896 rendered. May be improved later.
1902 * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
1903 Allow running without a $DISPLAY!
1905 * lib/color.c: Remove warnings for non-interactive run.
1910 * app/app_procs.[ch]:
1911 Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
1912 to specify size for PNG output.
1914 * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
1915 render a little smaller, so as to fit the big ones.
1917 * lib/arrows.[ch]: New arrow type from W. Borgert
1918 <debacle@debian.org>: Filled Dot and Triangle.
1920 2003-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
1922 * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
1925 * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
1927 * acinclude.m4: Better Python configure code patch (can't find
1928 author, author please speak up!)
1930 2003-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
1932 * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
1935 2003-11-30 Hans Breuer <hans@breuer.org>
1937 * plug-ins/python/diasvg.py : initialize self.dash_length
1938 in constructor to avoid crashing if the renderer user
1939 does not set it before first usage.
1941 2003-11-30 Lars Clausen <lrclause@cs.uiuc.edu>
1943 * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
1947 * config.h.win32: Set version number to 0.92.2+cvs to distinguish
1948 development and stable versions.
1950 * lib/text.c (text_draw): Use new renderer function to draw the
1953 * lib/diarenderer.h:
1954 * lib/diarenderer.c: New renderer function "draw_text" with
1955 default implementation. This function should eventually be the
1956 main interface, as it will be able to handle width and caching of
1957 rendering internally. All users of draw_string should convert to
1958 use Text objects and call either renderer->draw_text or text_draw,
1959 the latter if the text can be edited in-place (as should be the
1962 2003-11-29 Lars Clausen <lrclause@cs.uiuc.edu>
1964 * shapes/Circuit/hresistor.shape: First example of extra
1967 2003-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
1969 * plug-ins/shape/shape-export.c:
1970 * lib/diasvgrenderer.h:
1971 * lib/diasvgrenderer.c:
1972 * plug-ins/svg/render_svg.c (new_svg_renderer):
1973 Actually store the font size, using DiaRenderer's font fields.
1975 2003-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
1977 * objects/custom/shape_info.[ch]:
1978 * objects/custom/custom_object.[ch]:
1979 Support for extra attributes in custom objects.
1981 2003-11-23 Lars Clausen <lrclause@cs.uiuc.edu>
1983 * app/diagram.c (diagram_update_menu_sensitivity): More
1984 intelligent checks for menu sensitivity. Might be slow on huge
1985 diagrams, but I think other things outweigh it by a lot.
1987 * app/menus.[ch]: Make "Bring Forwards"
1988 and "Send Backwards" updateable.
1990 2003-11-22 Steffen Macke <sdteffen@web.de>
1992 * shapes/Assorted/arrow-turn-up.shape:
1993 * shapes/Assorted/arrow-turn-up.png:
1994 * sheets/Assorted/Makefile.am:
1995 * sheets/Assorted.sheet.in: Added new arrow
1997 2003-11-17 Lars Clausen <lrclause@cs.uiuc.edu>
2005 * app/diagram_tree.c
2006 * app/diagram_tree_menu.c
2007 * app/diagram_tree_window.c
2008 * app/diapagelayout.c
2009 * app/diaunitspinner.c
2013 * app/layer_dialog.c
2014 * app/lineprops_area.c
2015 * app/linewidth_area.c
2018 * app/paginate_psprint.c
2020 * app/plugin-manager.c
2023 * app/recent_files.c
2025 * app/sheets_dialog.c
2026 * app/sheets_dialog_callbacks.c
2027 * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
2028 GTK-2 compatibility update, mostly gtk_foo -> g_foo.
2030 * TODO: Updated, note on EPS transparency.
2032 2003-11-07 Lars Clausen <lrclause@cs.uiuc.edu>
2034 * objects/UML/class.c (umlclass_draw): Allow classes with no name
2037 2003-11-01 Lars Clausen <lrclause@cs.uiuc.edu>
2040 * doc/en/dia-manual.xml:
2043 * NEWS: Another Brown Bag release for parenting problems,
2044 including a crash bug fix.
2046 * app/connectionpoint_ops.c (diagram_update_connections_object):
2047 Also update connections when moving children. This can cause
2048 move_handle to be called twice, so it must be idempotent.
2050 * app/load_save.c: Loading and saving of children totally redone.
2051 Now doesn't violate assumption that all objects in a layer are
2052 placed in order in XML file.
2054 * objects/UML/branch.c (branch_create): Don't lie about being
2057 * objects/UML/node.c (node_create):
2058 * objects/UML/large_package.c (largepackage_create): Drag with
2059 lower right-hand handle at creation like all other objects.
2061 2003-10-28 Lars Clausen <lrclause@cs.uiuc.edu>
2063 * app/disp_callbacks.c (ddisplay_drop_object): Change initial
2064 parenting drop to behave like a move inside, i.e. constrain place
2065 instead of trying to resize. 'Cause, resizing cannot be done for
2066 all objects (e.g. UML Class). Also simplified the algorithm a lot
2069 * app/load_save.c: Saving and loading of connection points for
2070 children added. Prototypes for static functions added.
2072 * lib/dynamic_obj.c: Removed debugging output.
2074 2003-10-26 Lars Clausen <lrclause@cs.uiuc.edu>
2076 * doc/en/dia-manual.xml:
2077 * doc/pl/dia-manual.sgml:
2081 * NEWS: Brown Bag release 0.92.1
2083 * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
2085 2003-10-25 Lars Clausen <lrclause@cs.uiuc.edu>
2087 * app/app_procs.c (app_init): Rearrangement for translators.
2089 2003-10-24 Steffen Macke <sdteffen@web.de>
2091 * lib/text.c(text_key_event): enforcing the inserted text length now,
2094 2003-10-22 Lars Clausen <lrclause@cs.uiuc.edu>
2096 * MAINTAINERS: Change Debian maintainer to be the default address.
2098 * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
2099 args to match prototype, thus removing crashbug #125159.
2101 * RELEASE-PROCESS: Note to self.
2103 2003-10-22 Steffen Macke <sdteffen@web.de>
2105 * doc/en/dia-manual.xml: removed superfluous external references
2107 2003-10-21 Steffen Macke <sdteffen@web.de>
2109 * lib/libdia.def: added filter_get_by_name
2110 * app/render_eps.c: moved extensions definition outside #ifdef
2112 2003-10-19 Lars Clausen <lrclause@cs.uiuc.edu>
2116 Removed old Dia manual, put new one in doc/en/. Translations
2117 should go in doc/??/.
2119 * doc/en/dia-manual.xml:
2120 * doc/pl/dia-manual.sgml:
2121 * dia.spec (Release):
2124 * NEWS: 0.92 is here!
2128 * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
2129 HallenBerg, W. Borgert. Not currently autogenerated from dia.dbk,
2132 * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
2134 * doc/en/usage-objects-selecting.xml: Commented out empty note.
2136 2003-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
2138 * doc/pl/dia-manual.sgml:
2139 * doc/en/dia-manual.xml:
2143 * dia.spec (Release): Pre7.
2145 * app/diapsrenderer.c (draw_string): Convert string to print based
2146 on current locale. If conversion fails, fall back to UTF-8 (which
2147 is almost certain to be messy).
2149 2003-10-13 Lars Clausen <lrclause@cs.uiuc.edu>
2151 * doc/pl/dia-manual.sgml:
2152 * dia.spec (Release):
2156 * doc/en/dia-manual.xml: Pre6.
2158 * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
2159 TeX chars in strings -- must be possible to use TeX text in there.
2160 Also avoids infinite loop bug (#124464) Will get option for this
2163 2003-10-11 Lars Clausen <lrclause@cs.uiuc.edu>
2165 * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
2167 * doc/en/dia-manual.xml:
2168 * doc/pl/dia-manual.sgml:
2169 * dia.spec (Release):
2174 * app/authors.h: Removed duplicate of M. C. Nelson.
2176 * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
2178 * app/export_png.c: Unique name for libart PNG export: png-libart.
2180 * app/render_eps.c: Unique names for the two eps export methods:
2181 eps-builtin, eps-pango.
2183 * lib/filter.h: Binary compatibility change:
2184 Added unique name to export filters. Can be NULL.
2185 * lib/filter.c (filter_get_by_name): Finding a filter by
2188 * app/app_procs.h: Changed prototype for do_convert.
2189 * app/app_procs.c (app_init): Support for non-extension file
2190 format selection for export. Also allow extension to differ from
2191 that specified by the filters. A bit of refactoring, too.
2193 2003-09-28 Steffen Macke <sdteffen@web.de>
2195 * makefile.msc: added target po to update the translations
2197 2003-09-27 Lars Clausen <lrclause@cs.uiuc.edu>
2200 * dia.spec (Release):
2202 * doc/pl/dia-manual.sgml:
2203 * doc/en/dia-manual.xml:
2204 Pre4 is given a short try.
2206 * configure.in: Give all necessary libs to PNG test.
2208 * lib/font.c: Added legacy entries for sans, serif and monospace.
2210 * app/app_procs.c (internal_plugin_init):
2213 Added PS fonts output for Unix.
2215 * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
2216 factor to make PS fonts stay in boxes.
2218 2003-08-03 Hans Breuer <hans@breuer.org>
2220 * config.h.win32 : close the version string
2222 * lib/libdia.def : with color_white, color_black being static
2223 on win32 they can not be exported anymore either
2225 * lib/dialibartrenderer.c : text rendering is back on win32,
2226 only by Gdk though; almost a year seems to be enough to
2227 wait for my patch at bug #94791 to be accepted ...
2229 2003-09-23 Lars Clausen <lrclause@cs.uiuc.edu>
2231 * shapes/network/{digitizing_board.png,plotter.png,
2232 laptop.png,telephone.png}: 22x22 icons.
2234 2003-09-22 Lars Clausen <lrclause@cs.uiuc.edu>
2236 * doc/pl/dia-manual.sgml:
2237 * doc/en/dia-manual.xml:
2238 * dia.spec (Release):
2242 pre3 improves font rendering speed.
2244 * app/app_procs.c (app_init): Don't do pango init here, it's done
2245 on demand in font.c now.
2247 * lib/font.c: Load pango context on demand rather than during
2248 init/all the time strikes a better balance between working font
2249 size and speed. Still need to cache width calculations.
2251 2003-09-18 Lars Clausen <lrclause@cs.uiuc.edu>
2253 * lib/dia_xml.c: Enable pretty printing. Should have been added
2256 2003-09-11 Lars Clausen <lrclause@cs.uiuc.edu>
2258 * lib/arrows.c (calculate_arrow_point): Adjust arrow line
2259 adjustment a bit for half diamond and open round.
2261 * RELEASE-PROCESS: Added note about notifying translators and
2264 * doc/pl/dia-manual.sgml:
2265 * doc/en/dia-manual.xml:
2266 * dia.spec (Release):
2270 Update to 0.92-pre2.
2272 2003-09-10 Lars Clausen <lrclause@cs.uiuc.edu>
2274 * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
2275 calculation for half diamond and open round.
2278 * objects/UML/component_feature.c:
2279 * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
2280 arrows instead of specific little hacks. Much nicer, but damn
2281 there's a lot of arrows.
2283 * lib/dialibartrenderer.c (begin_render):
2284 * app/render_libart.c (begin_render): Use correct DPI for screen
2285 (well, actually the default DPI of 75 for now).
2287 * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
2289 * lib/diagdkrenderer.c (draw_string): Some reformatting.
2291 * app/app_procs.c (app_init): Note on what should be done for the
2292 pango context now, only it doesn't work:(
2294 * lib/font.c (dia_font_new): Make sure to load fonts that are
2295 used, using a reasonable pango_context. Also a comment on the
2298 2003-09-09 Lars Clausen <lrclause@cs.uiuc.edu>
2300 * doc/pl/graphics/*.png:
2301 * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
2302 loop (bug #121817). PL translator may want to change the
2303 home_network png to be in Polish. If the docs get translated into
2304 more languages, we'll want to find out how to share these things.
2306 2003-09-08 Lars Clausen <lrclause@cs.uiuc.edu>
2308 * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
2309 <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
2312 * app/filedlg.c (file_save_as_callback): Put filename setting
2313 together. (Preparation for allowing default save dir.)
2315 * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
2316 correctly this time:)
2318 * app/dia-props.c (diagram_properties_show):
2319 * app/properties.c (properties_show): Make sure the
2320 dialogs are transient for the correct diagram.
2322 2003-09-07 Lars Clausen <lrclause@cs.uiuc.edu>
2324 * configure.in: Make sure -lz -lm is passed into second png test
2325 as well (stupid AC_LINK_IFELSE can't take it as an argument).
2327 * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
2328 comment-filled files readable. Once we have a 'generic data'
2329 system, we can put comments in there.
2331 2003-09-06 Steffen Macke <sdteffen@web.de>
2333 * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
2334 g_string_sized_new() instead of g_string_new() to make it compile
2335 * app/Makefile.am: including dia.ico and dia.rc in the tarball
2336 * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1
2337 for non-solid linestyles - otherwise custom linestyles have to be used.
2339 2003-09-02 Steffen Macke <sdteffen@web.de>
2341 * app/commands.c(help_manual_callback): using dia-manual.chm instead of
2344 2003-09-02 Christian Neumair <chris@gnome-de.org>
2346 * sheets/Pneumatic.sheet.in: Slight unification fix.
2348 2003-09-02 Lars Clausen <lrclause@cs.uiuc.edu>
2352 * dia.spec (Release):
2353 * doc/en/dia-manual.xml:
2354 * doc/pl/dia-manual.sgml:
2355 * NEWS: Update to 0.92-pre1.
2357 * app/properties.c (properties_key_event): Removing Esc/Enter
2358 handling for now, interferes to much with regular dialog usage.
2360 * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
2361 Function to escape special TeX characters. Not in use yet, as
2362 PSTricks output by default is TeX strings. Should get a save-time
2365 2008-09-01 Steffen Macke <sdteffen@web.de>
2367 * lib/paper.h: explanatory comment on width and height
2369 2003-08-30 Steffen Macke <sdteffen@web.de>
2372 * lib/color.h: made color_white, color_black static on win32
2374 2003-08-28 Lars Clausen <lrclause@cs.uiuc.edu>
2376 * configure.in (PNG_LIBS): Something in the png tests added an
2377 extra -lpng to $LIBS. Saving old $LIBS to avoid that.
2379 2003-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
2381 * configure.in: Quote correctly for temporarily adding freetype
2384 * app/preferences.c (prefs_save): Remove debugging g_print.
2386 2003-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
2388 * objects/flowchart/parallelogram.c (pgram_update_data):
2389 Directions for connections, better system for placing
2392 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
2394 * lib/diagramdata.c (layer_find_closest_object_except): Look all
2395 the way through the object list, so the foremost object is selected.
2397 * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
2398 included for diagramdata.c.
2400 * lib/prop_text.c (multistringprop_handle_key): Attempt at making
2401 newline in multistringprop not close the dialog. Failed so far.
2403 2003-08-25 Steffen Macke <sdteffen@web.de>
2405 * app/commands.c: using CHM instead of HTML on win32 if available
2406 * lib/diagramdata.h: including dynamic_obj.h
2408 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
2410 * app/properties.c (properties_key_event): Make Enter = Ok for
2411 properties dialogs. Still some problems with this and Esc for
2412 Cancel, for instances escaping out of a menu closes the dialog.
2414 * objects/UML/association.c (association_get_properties):
2415 * objects/UML/class_dialog.c (class_create_page): Grab appropriate
2418 * app/diapsft2renderer.c (draw_string): Use
2419 dia_font_scaled_build_layout to ensure similarity of text.
2421 * lib/diagramdata.c: Remove obj from dynobj list when removing
2422 from layer to avoid nasty race conditions.
2424 * app/undo.c (group_objects_revert): Make sure to unparent and
2425 remove from dynobj list when changing layers objects.
2427 2003-08-23 Steffen Macke <sdteffen@web.de>
2429 * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with
2430 StretchBlt(); fixes #92249
2432 2003-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
2434 * app/filedlg.c (file_save_as_callback):
2435 * app/preferences.h:
2436 * app/preferences.c (prefs_data):
2437 * lib/diagramdata.h:
2438 * lib/diagramdata.c (new_diagram_data):
2439 * app/load_save.c (diagram_data_load):
2440 Let the document remember whether it was compressed. The user can
2441 still override this in the Save As... dialog, and that will still
2442 be remembered as the default for new diagrams.
2444 2003-08-23 Steffen Macke <sdteffen@web.de>
2446 * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
2448 2003-08-22 Steffen Macke <sdteffen@web.de>
2450 * plug-ins/xslt/dia-uml.xsl:
2451 * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
2452 table containing a list of components grouped by stereotype
2454 2003-08-21 Steffen Macke <sdteffen@web.de>
2456 * lib/makefile.msc: added connectionpoint.obj
2457 * lib/libdia.def: added connpoint_update, find_slope_directions
2458 * app/disp_callbacks.c: including scroll_tool.h
2459 * obj/makefile.msc: added component_feature.obj
2460 * app/paginate_gdiprint.c: fixed loop initialization in
2461 paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
2464 2003-08-21 Lars Clausen <lrclause@cs.uiuc.edu>
2466 * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
2469 * lib/diagramdata.h: Colors added to prefs.
2470 * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
2471 New field for pagebreak color, which should
2472 behave the same as grid color and be settable for a diagram.
2474 * app/diagram.c (diagram_init): Update diagram pagebreak color
2477 * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
2480 * app/preferences.[ch]: Default diagram colors now #defines, so
2481 loading can use it. Also, colors are now in NewDiagramData, so
2482 are passed nicely into new diagrams directly from prefs. Yum.
2484 * app/load_save.c (diagram_data_write_doc, diagram_data_load):
2485 Support for loading and saving grid and pagebreak colors with the
2486 diagram. I'm inclined to make all the three Colors in diagram
2487 Color*s instead, so we can tell if they're specified for the
2488 diagram or merely the default setting. There'd be no way for the
2489 user to tell if the color of a diagram is default, though, unless
2490 we add a 'reset to default' button to prefs.
2492 * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
2493 pagebreak color. Unsensitizing grid size when dynamic.
2495 * objects/UML/component.c: Patch from Krzysztof Foltman
2496 <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
2497 third. Makes the left side connections actually be on the line
2500 2003-08-20 Steffen Macke <sdteffen@web.de>
2502 * lib/libdia.def: added layer_find_closest_object_except
2503 * lib/diagramdata.c: added ; after GOTO to make MSVC compile
2505 2003-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
2509 * app/scroll_tool.c:
2511 * app/disp_callbacks.c:
2512 * app/create_object.h:
2513 * app/create_object.c: Patch from Krzysztof Foltman
2514 <kfoltman@onet.pl>: Middle button can scroll transiently when
2515 menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
2519 * sheets/UML.sheet.in:
2520 * sheets/UML/receptacle.xpm:
2521 * sheets/UML/Makefile.am:
2522 * sheets/UML/eventsource.xpm:
2523 * sheets/UML/eventsink.xpm:
2524 * objects/UML/pixmaps/facet.xpm:
2525 * objects/UML/uml.c (dia_plugin_init):
2526 * objects/UML/Makefile.am (libuml_objects_la_SOURCES):
2527 * objects/UML/component_feature.c:
2528 Patch from W. Borgert <debacle@debian.org>: Add event sources and
2531 2003-08-19 Lars Clausen <lrclause@cs.uiuc.edu>
2533 * lib/object.h: Turning some comments into doxygen style.
2535 * lib/object_defaults.c (dia_object_defaults_load)
2536 (dia_object_default_get, dia_object_default_create):
2537 Fixing up existing documentation.
2539 * lib/object.h: Doxygen style documentation begun.
2541 * app/create_object.c:
2543 * app/connectionpoint_ops.c:
2544 * app/disp_callbacks.c:
2545 * app/modify_tool.c:
2547 * objects/network/wanlink.c (wanlink_move_handle):
2548 * objects/network/bus.c (bus_move_handle):
2550 * objects/flowchart/parallelogram.c (pgram_move_handle):
2551 * objects/flowchart/ellipse.c (ellipse_move_handle):
2552 * objects/flowchart/diamond.c (diamond_move_handle):
2553 * objects/flowchart/box.c (box_move_handle):
2555 * objects/custom/custom_object.c (custom_move_handle):
2557 * objects/chronogram/chronoref.c (chronoref_move_handle):
2558 * objects/chronogram/chronoline.c (chronoline_move_handle):
2560 * objects/SADT/box.c (sadtbox_move_handle):
2561 * objects/SADT/arrow.c (sadtarrow_move_handle):
2562 * objects/SADT/annotation.c (annotation_move_handle):
2564 * objects/Misc/analog_clock.c (analog_clock_move_handle):
2566 * objects/GRAFCET/vergent.c (vergent_move_handle):
2567 * objects/GRAFCET/vector.c (arc_move_handle):
2568 * objects/GRAFCET/transition.c (transition_move_handle):
2569 * objects/GRAFCET/step.c (step_move_handle):
2570 * objects/GRAFCET/condition.c (condition_move_handle):
2571 * objects/GRAFCET/action.c (action_move_handle):
2573 * objects/FS/function.c:
2574 * objects/FS/flow.c:
2575 * objects/FS/flow-ortho.c (orthflow_move_handle):
2576 * objects/FS/flow-poly.c (flow_move_handle):
2578 * objects/UML/usecase.c (usecase_move_handle):
2579 * objects/UML/state_term.c (state_move_handle):
2580 * objects/UML/state.c (state_move_handle):
2581 * objects/UML/small_package.c (smallpackage_move_handle):
2582 * objects/UML/realizes.c (realizes_move_handle):
2583 * objects/UML/object.c (objet_move_handle):
2584 * objects/UML/note.c (note_move_handle):
2585 * objects/UML/node.c (node_move_handle):
2586 * objects/UML/message.c (message_move_handle):
2587 * objects/UML/lifeline.c (lifeline_move_handle):
2588 * objects/UML/large_package.c (largepackage_move_handle):
2589 * objects/UML/implements.c (implements_move_handle):
2590 * objects/UML/generalization.c (generalization_move_handle):
2591 * objects/UML/fork.c (fork_move_handle):
2592 * objects/UML/dependency.c (dependency_move_handle):
2593 * objects/UML/constraint.c (constraint_move_handle):
2594 * objects/UML/compprop.c (compprop_move_handle):
2595 * objects/UML/component.c (component_move_handle):
2596 * objects/UML/branch.c (branch_move_handle):
2597 * objects/UML/association.c (association_move_handle):
2598 * objects/UML/actor.c (actor_move_handle):
2599 * objects/UML/activity.c (state_move_handle):
2600 * objects/UML/class.c (umlclass_move_handle):
2602 * objects/standard/ellipse.c (ellipse_move_handle):
2603 * objects/standard/zigzagline.c (zigzagline_move_handle):
2604 * objects/standard/textobj.c (textobj_move_handle):
2605 * objects/standard/polyline.c (polyline_move_handle):
2606 * objects/standard/polygon.c (polygon_move_handle):
2607 * objects/standard/line.c (line_move_handle):
2608 * objects/standard/image.c (image_move_handle):
2609 * objects/standard/bezier.c (bezierline_move_handle):
2610 * objects/standard/arc.c (arc_move_handle):
2611 * objects/standard/beziergon.c (beziergon_move_handle):
2612 * objects/standard/box.c (box_move_handle):
2614 * objects/ER/relationship.c (relationship_move_handle):
2615 * objects/ER/participation.c (participation_move_handle):
2616 * objects/ER/entity.c (entity_move_handle):
2617 * objects/ER/attribute.c (attribute_move_handle):
2619 * lib/polyshape.c (polyshape_move_handle):
2621 * lib/orth_conn.c (orthconn_move_handle):
2623 * lib/neworth_conn.c (neworthconn_move_handle):
2624 * lib/neworth_conn.h:
2625 * lib/element.c (element_move_handle):
2627 * lib/connection.c (connection_move_handle):
2629 * lib/beziershape.c (beziershape_move_handle):
2630 * lib/beziershape.h:
2631 * lib/bezier_conn.c (bezierconn_move_handle):
2632 * lib/bezier_conn.h:
2633 *BINARY COMPATIBILITY CHANGE*
2634 Update prototype for *_move_handle() to include connectionpoint,
2635 and also pass on modifiers. Pass in connectionpoint where
2638 * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
2639 file connectionpoint.c.
2641 2003-08-17 Danilo Å egan <dsegan@gmx.net>
2643 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2645 2003-08-15 Lars Clausen <lrclause@cs.uiuc.edu>
2647 * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
2649 * lib/beziershape.c (beziershape_update_data): Autoroute
2650 directions for beziershapes!
2652 * lib/connectionpoint.c (find_slope_directions):
2653 * lib/connectionpoint.h: Function for finding the available
2654 directions on a slope.
2656 * lib/polyshape.c: Reasonable directions for
2659 2003-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
2661 * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips):
2662 * objects/GRAFCET/vergent.c (vergent_update_data):
2663 * objects/GRAFCET/transition.c (transition_update_data):
2664 * objects/GRAFCET/action.c (action_update_data):
2665 * objects/GRAFCET/step.c (step_update_data):
2666 * objects/FS/function.c (function_update_data):
2667 * lib/connpoint_line.c (connpointline_putonaline):
2668 * objects/ER/attribute.c (attribute_update_data):
2669 * objects/ER/entity.c (entity_update_data):
2670 * objects/ER/relationship.c (relationship_update_data):
2671 * objects/chronogram/chronoline.c (chronoline_update_data): Set
2672 directions for connection points.
2674 * objects/UML/component.c (component_create): Set to allow
2677 * app/create_object.c (create_object_button_press):
2678 * app/diagram.[ch] (diagram_find_clicked_object_except):
2679 * lib/diagramdata.[ch] (layer_find_closest_object_except):
2680 Avoid parenting to objects you're connecting to (otherwise you
2681 couldn't make a connection out of a parenting object). To do
2682 this, added functions to find the nearest object except a given
2685 * app/render_libart.c: Rearrange libart include to avoid multiple
2686 include program (and put libart includes inside #ifdef!)
2688 2003-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
2690 * lib/dialibartrenderer.c: Don't include art_config.h if others
2691 also do, as it isn't #ifdef'd.
2693 * objects/flowchart/ellipse.c (ellipse_update_data): Add
2694 directions for connection points.
2696 2003-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
2698 * objects/flowchart/box.c (box_update_data): Add directions, use
2700 (box_load): Use g_malloc0.
2702 * lib/Makefile.am (libdia_la_SOURCES):
2703 * lib/connectionpoint.c (connpoint_update):
2704 Function to call to update a connection point info in _update_data().
2706 * lib/connectionpoint.h: Convenience DIR_ macros.
2708 * app/preferences.c (prefs_data): Make pretty formatted XML the
2711 * lib/dialibartrenderer.c:
2712 * app/render_libart.c: Make sure art_config.h is included, cause
2713 some libart headers are broken.
2715 * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
2716 after test. Add freetype-config cflags to cflags variable.
2718 2003-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
2720 * app/authors.h: Credits for Krzysztof.
2722 * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
2723 Foltman <kfoltman@onet.pl>. It occurs to me that the name (rather
2724 than the description) is visible in the title of the properties
2725 dialog. That ought to be a short description (translatable),
2726 though we still want long descriptions for the tooltips. Hmmm...
2728 * configure.in: Updated to use AC_LINK_IFELSE instead of
2729 AC_TRY_COMPILE, also force to link to check libs on Solaris.
2731 * objects/ER/entity.c (entity_load):
2732 * objects/ER/attribute.c (attribute_load):
2733 * lib/attributes.c (attributes_set_default_font):
2734 Check if font is non-null before unreffing.
2736 2003-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
2738 * app/diagram.c (diagram_ungroup_selected)
2739 (diagram_group_selected): Use the undo apply to make sure grouping
2740 and ungrouping is done in consistent manners. This removes a fair
2741 amount of duplicated code from diagram.c.
2743 * app/undo.c (ungroup_objects_revert, ungroup_objects_apply)
2744 (group_objects_revert, group_objects_apply): Working undo/redo for
2745 diagram tree updates. The initial actions still don't quite work.
2747 2003-08-07 Lars Clausen <lrclause@cs.uiuc.edu>
2749 * app/create_object.c (create_object_button_press):
2751 * app/diagram.c: Undo support for parenting. Uses apply/revert in
2752 undo only for manipulating the parent/child relationships. Things
2753 like removing an object doesn't use the undo functions for
2754 parenting, so any updates to come (like to diagramtree) should be
2757 2003-08-03 Hans Breuer <hans@breuer.org>
2759 * app/create_object.c : minor formating and g_new0 for
2762 * lib/bezier_conn.[hc] lib/beziershape.[hc]
2763 lib/prop_geomtypes.c (prop_geomtypes_register)
2764 objects/standard/bezier.c objects/standard/beziergon.c :
2765 ability to set bezpoints via StdProp api
2767 * plug-ins/python/pydia-property.c : convert list of tuples
2770 * plug-ins/python/diasvg_import.py : use it to
2771 implement part of path parsing. Also minor improvements
2772 like inheritance of group attributes to members,
2773 whitespace, title and style:text/css ignoring ;-)
2775 2003-08-02 Hans Breuer <hans@breuer.org>
2777 * lib/connections.c (connection_move_handle): return
2778 something to make it compile
2779 * lib/object.c(190) : error C4033: 'object_list_move_delta_r'
2780 must return a value -> dito
2781 [Is there a warnings-as-errors switch we could use with gcc
2782 to avoid such in future ?]
2784 * plug-ins/python/pydia-object.h : define *_Check macros
2785 * plug-ins/python/diamodule.c : provide dia.group_create()
2786 * plug-ins/python/pydia-diagramdata.c : add
2787 DiaDiagramData.add_layer()
2788 * plug-ins/python/pydia-property.c : allow to set color by
2791 * plug-ins/python/diasvg_import.py : based on the above
2792 implement a) group support, b) rgb(1,2,3) color handling,
2793 and somewhat fishy data:image/png;base64 support (create
2794 temporary files from inline image data)
2795 d) dump the import errors as text into an 'Error' layer
2797 * plug-ins/python/diasvg.py : add xmlns:xlink, removed a
2798 stray " in draw_rect and corrected error message formating
2800 * plug-ins/pydia/pydia-geometry.c : removed ## to make it
2801 compile with gcc 3.3, fixes bug #117204. Thanks to Daniel
2804 2003-08-01 Hubert Figuiere <hfiguiere@teaser.fr>
2806 * app/magnify.c (create_magnify_tool): allocate with g_new0()
2808 * app/preferences.c (prefs_create_dialog): use checkboxes for boolean
2809 preferences values (see bug 118570). Also group items into a GtkFrame.
2811 2003-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
2816 * app/commands.c (objects_unparent_children_callback):
2818 * app/diagram.c (diagram_unparent_selected,
2819 (diagram_update_menu_sensitivity):
2820 Added unparenting of single children.
2822 * lib/bezier_conn.c:
2823 * lib/bezier_conn.h:
2824 * lib/beziershape.c:
2825 * lib/beziershape.h:
2831 * lib/neworth_conn.c:
2832 * lib/neworth_conn.h:
2839 * objects/EML/instantiation.c:
2840 * objects/EML/interaction-ortho.c:
2841 * objects/EML/interaction.c:
2842 * objects/EML/process.c:
2843 * objects/ER/attribute.c:
2844 * objects/ER/entity.c:
2845 * objects/ER/participation.c:
2846 * objects/ER/relationship.c:
2847 * objects/FS/flow-ortho.c:
2848 * objects/FS/flow-poly.c:
2849 * objects/FS/flow.c:
2850 * objects/FS/function.c:
2851 * objects/GRAFCET/action.c:
2852 * objects/GRAFCET/condition.c:
2853 * objects/GRAFCET/step.c:
2854 * objects/GRAFCET/transition.c:
2855 * objects/GRAFCET/vector.c:
2856 * objects/GRAFCET/vergent.c:
2857 * objects/Misc/analog_clock.c:
2858 * objects/SADT/annotation.c:
2859 * objects/SADT/arrow.c:
2860 * objects/SADT/box.c:
2861 * objects/UML/activity.c:
2862 * objects/UML/actor.c:
2863 * objects/UML/association.c:
2864 * objects/UML/branch.c:
2865 * objects/UML/class.c:
2866 * objects/UML/classicon.c:
2867 * objects/UML/component.c:
2868 * objects/UML/constraint.c:
2869 * objects/UML/dependency.c:
2870 * objects/UML/fork.c:
2871 * objects/UML/generalization.c:
2872 * objects/UML/implements.c:
2873 * objects/UML/large_package.c:
2874 * objects/UML/lifeline.c:
2875 * objects/UML/message.c:
2876 * objects/UML/node.c:
2877 * objects/UML/note.c:
2878 * objects/UML/object.c:
2879 * objects/UML/realizes.c:
2880 * objects/UML/small_package.c:
2881 * objects/UML/state.c:
2882 * objects/UML/state_term.c:
2883 * objects/UML/usecase.c:
2884 * objects/chronogram/chronoline.c:
2885 * objects/chronogram/chronoref.c:
2886 * objects/custom/custom_object.c:
2887 * objects/flowchart/box.c:
2888 * objects/flowchart/diamond.c:
2889 * objects/flowchart/ellipse.c:
2890 * objects/flowchart/parallelogram.c:
2891 * objects/network/bus.c:
2892 * objects/network/wanlink.c:
2893 * objects/standard/arc.c:
2894 * objects/standard/bezier.c:
2895 * objects/standard/beziergon.c:
2896 * objects/standard/box.c:
2897 * objects/standard/ellipse.c:
2898 * objects/standard/image.c:
2899 * objects/standard/line.c:
2900 * objects/standard/polygon.c:
2901 * objects/standard/polyline.c:
2902 * objects/standard/textobj.c:
2903 * objects/standard/zigzagline.c:
2904 Binary compatibility update: Added return value for foo_move() and
2905 foo_move_handle(). Orthconn derivatives also returns change from
2906 orthconn_move_handle().
2908 * lib/orth_conn.c: Undo support for autorouting. Neworthconn
2909 doesn't support it yet.
2911 * lib/object.c (object_list_move_delta_r, object_list_move_delta):
2912 Add returning ObjectChange from object moves. Needs to handle
2913 multiple object moves.
2915 * app/modify_tool.c (modify_motion, modify_release): Add
2916 ObjectChange from move & move_handle to undo stack.
2918 * objects/EML/instantiation.c (instantiation_move): Removing
2919 duplicate move & update.
2921 2003-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
2923 * plug-ins/xfig/xfig-export.c: Added support for arrow head
2924 export. Many arrow types not supported by XFig, replacing those
2925 with standard arrows. Not sure whether it'd be better to render
2926 them as a group of lines instead. You'd lose the arrow-ness for
2927 further editing, but preserve the actual shape of it. Also added
2928 support for dash length.
2930 * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
2932 * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
2933 description for version 3.2, for reference.
2935 * plug-ins/xfig/xfig-import.c: Added import of arrows.
2937 * app/menus.c: Removed prefs item from Gnome diagram menu. Made
2938 Align Vertical Adjacent call _v rather than _h.
2940 2003-07-29 Hubert Figuiere <hfiguiere@teaser.fr>
2942 * app/scroll_tool.c (create_scroll_tool):
2943 * app/modify_tool.c (create_modify_tool): use g_new0() to
2946 2003-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
2948 * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
2950 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
2952 * configure.in: Added Macedonian (mk) to ALL_LINGUAS
2954 2003-07-23 Dmitry G. Mastrukov <dmitry@taurussoft.org>
2956 * configure.in: Added Belarusian to ALL_LINGUAS.
2958 2003-07-19 Hans Breuer <hans@breuer.org>
2961 Make the xslt plug-in work on win32, too. It appears
2962 to require a quite recent version of libxml and libxslt,
2963 otherwise windoze pathes aren't translated correctly
2964 during file processing
2967 * plug-ins/xslt/xslt.h : #include <glib.h> before
2970 * plug-ins/xslt/xslt.c : plugged some memory leaks and do
2971 the 'script' file finding similar to how it is done
2972 with the python scripts (no need for hardcoded pathes,
2973 removed the 'plugin' part from the path)
2975 * plug-ins/xslt/stylesheets.xml : added again. It does
2976 not have any path but only the pure filename again
2978 * plug-ins/xslt/stylesheets.xml.in : removed
2980 * plug-ins/xslt/Makefile.am : removed 'plugin' and the
2981 rule to process stylesheets.xml.in
2983 * plug-ins/makefile.msc : added xslt
2985 2003-07-19 Hans Breuer <hans@breuer.org>
2987 Finally Dia learned to remember the recent selected sheet
2989 * app/preferences.[hc] : added prefs.recent_sheet
2990 * app/interface.c : restore and remember the sheet-option-menu
2991 history, but only if the respective number is stiil available.
2992 This additional adds robustness against running Dia without
2993 any sheet (e.g. installation problems)
2994 * app/app_procs.c : call prefs_safe() in app_exit() to remember
2995 changes which are not done by the prefernces dialog
2997 * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
2998 removed every call (especially the conditional ones) to prefs_safe().
2999 Before prefs_safe() was called _many_ times during Dia startup
3001 2003-07-18 Hans Breuer <hans@breuer.org>
3003 * app/makefile.msc lib/makefile.msc lib/libdia.def :
3006 * lib/color.c : use gtk_widget_get_default_visual();
3007 as suggested in #114536
3009 * app/interface.c app/disp_callbacks.c :
3010 moved round_up () to the latter file where it is used
3012 * app/linewidth_area.c : #include "interface.h" for
3013 interface_get_toolbox_shell()
3015 2003-07-18 Hubert Figuiere <hfiguiere@teaser.fr>
3017 * plug-ins/pixbuf/.cvsignore
3018 * shapes/Cisco/.cvsignore:
3021 2003-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
3023 * app/dia-props.c (diagram_properties_retrieve): Use
3024 diagram_get_name() to add the diagram name to the diagram
3028 * app/diagram.c (diagram_get_name): New function to get a
3029 reasonable diagram name.
3031 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3032 info. Still need to be able to set dynamic grid. Also ought to
3033 follow Gnome style and have instant apply.
3035 * app/preferences.h:
3036 * app/preferences.c (prefs_data): Remove option to use stippled
3037 grid, add option for major line offset. Default to 5 minor lines
3039 Add option for dynamically sized grid.
3041 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3043 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
3044 stippled/solid to display minor/major grid lines. Line drawing in
3045 separate functions away from calculating line distance.
3047 * app/grid.h: Split page break drawing out of grid_draw.
3049 * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
3050 Figuiere <hfiguiere@teaser.fr>: Layer dialog show go to front
3051 when menu item is selected.
3053 2003-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
3055 * configure.in: Removed -Winline flag to make way for important
3058 * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
3059 non-compressed. Should fix bug #117381, also look prettier.
3062 * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
3063 Set up desktop info more properly.
3065 2003-07-13 Lars Clausen <lrclause@cs.uiuc.edu>
3082 Autorouting directions patch from Krzysztof Foltman
3085 * app/menus.c: Wrong GNOME paren fixed. Correct callbacks for
3086 GNOME parent menu items.
3088 * app/authors.h: Added Vadim to contributors list.
3090 2003-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
3092 * app/commands.[ch]:
3093 * app/create_object.c:
3094 * app/disp_callbacks.[ch]:
3105 * objects/UML/large_package.c: Patch from Vadim Berezniker
3106 <vadim@berezniker.com>:
3107 Objects may "parent" other objects, i.e. contain them within
3108 themselves, restrain them and move them along. Some more stuff is
3109 needed, such as selection and individual unparenting. This adds
3110 parenting to UML - Large Package rather than Box.
3112 2003-07-11 Lars Clausen <lrclause@cs.uiuc.edu>
3114 * app/linewidth_area.c: Patch from Krzysztof Foltman
3115 <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
3116 conform more, at least:).
3118 * plug-ins/metapost/render_metapost.[ch] : Applied patch from
3119 Chris Sperandio <sperandi@eng.usf.edu>: Fixed linewidths and
3120 arcs. Implemented images (though there is some pixelization and
3121 banding in the output). Changed output file format to be a little
3124 * app/app_procs.c (app_exit): Added message for double exit, which
3125 shouldn't happen any more. Also preventing strange g_object_unref
3126 messages by having a printf after gtk_main_quit. This is really
3129 * app/interface.c (toolbox_delete): Avoid double app_exit call by
3130 removing handler for destroy when delete is called.
3132 2003-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
3135 * app/display.c (ddisplay_scroll_to_object,
3136 ddisplay_scroll_center_point): New function for easy scrolling to
3139 2003-07-06 Lars Clausen <lrclause@cs.uiuc.edu>
3141 * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere: Add
3142 $(srcdir) on stylesheets.xml.
3144 * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
3145 diagram menus (since they're at the top by default now). Also
3146 move the Properties... menu item from Dialogs to Objects. Dialogs
3147 menu should disappear at some point.
3149 * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
3150 ./configure from ./autogen.sh, as configure may need to be run
3151 from a different directory. (Also more standard this way.)
3153 * app/app_procs.c (app_init):
3154 * app/Makefile.am (INCLUDES): Gnome standardization patch from
3157 2003-07-03 Lars Clausen <lrclause@cs.uiuc.edu>
3159 * objects/flowchart/parallelogram.c (pgram_update_data):
3160 Left/right alignment for parallelograms. Doesn't use all
3161 available space, but then pgrams also ignore their shear value.
3162 This thing needs a loving hand.
3164 2003-07-01 Hans Breuer <hans@breuer.org>
3166 * lib/properties.h : introduce PROP_FLAG_OPTIONAL
3167 * lib/proplist.c : don't complain if optional attr is missing
3168 * lib/orth_conn.h : make "orth_autoroute" optional to
3169 stop complaining with older files.
3171 2003-06-13 Guntupalli Karunakar <karunakar@freedomink.org>
3173 * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
3175 2003-06-05 Andrew Halper <ashalper@cox.net>
3177 * app/diagram_tree.c : add scrolling of drawing area
3178 to desired object on "Locate". Patch modified to use new ddisplay
3179 function ddisplay_scroll_to_object().
3181 2003-06-11 Lars Clausen <lars@raeder.dk>
3183 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
3184 info. Before next version, the grid dialog (view dialog, really)
3185 must be redone to allow a) instant apply, b) apply to all
3186 diagrams, and c) setting colour, dynamic, major lines.
3188 * app/preferences.h:
3189 * app/preferences.c (prefs_data): Remove option to use stippled
3190 grid, add option for major line offset. Default to 5 minor lines
3192 Add option for dynamically sized grid.
3194 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
3196 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
3197 stippled/solid to display minor/major grid lines. Line drawing in
3198 separate function away from calculating line distance.
3200 * app/grid.h: Split page break drawing out of grid_draw.
3202 2003-05-15 Hans Breuer <hans@breuer.org>
3204 * plug-ins/python/diasvg.py : add xlink definition,
3205 also avoid to put spaces into attribute values. At least
3206 Sodipodi doesn't like them in width/height attributes
3208 * plug-ins/python/diasvg_import.py : add simple scaling.
3209 Some (more) handling for <svg>, <desc>, <circle>
3211 * plug-ins/python/scascale.py : (new file) which does
3212 some experimental scaling via StdProp api
3214 * plug-ins/python/pydia-cpoint.c
3215 plug-ins/python/pydia-handle.c : return PyDiaPoint for
3216 obj.pos not simple tuples. PyDiaPoint has a tuple interface
3217 so this may even be api compatible ...
3219 2003-05-11 Hans Breuer <hans@breuer.org>
3221 * app/line_area.c : add window position persitence
3223 * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set
3224 'poly_points' via StdProp api
3225 * lib/neworth_conn.h : don't rely on OrthConn and
3226 NewOrtConn having the same struct offsets
3228 * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
3229 to help separating 'useful' properies - in terms of
3232 * objects/custom/custom_object.c
3234 add the missing prop_desc_list_calculate_quarks to
3235 all the *_describe_props()
3237 * objects/standard/beziergon.c objects/standard/bezier.c :
3238 explicit initializtion of default_user_data
3239 * objects/standard/polygon.c objects/standard/polyline.c :
3240 Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
3242 * plug-ins/python/diamodule.c : implement dia.register_import
3244 * plug-ins/python/makefile.msc : need to link with Pango
3245 for pango_color_parse()
3247 * plug-ins/python/pydia-property.c : add a bunch of type
3248 conversions to PyDiaProperty_ApllyToObject()
3250 * plug-ins/python/diasvg_import.py : (new file) which currently
3251 is mainly a stress test for PyDia but for some files already
3252 produces better results than svg-import.c
3254 2003-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
3256 * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
3257 type-less operations.
3259 003-05-03 Hasbullah Bin Pit <sebol@ikhlas.com>
3261 * configure.in(ALL_LINGUAS): Added "ms".
3263 2003-05-01 Lars Clausen <lrclause@cs.uiuc.edu>
3265 * plug-ins/xslt/xslt.c (xslt_ok):
3266 * plug-ins/shape/shape-export.c (new_shape_renderer):
3267 * plug-ins/svg/render_svg.c (new_svg_renderer):
3268 * plug-ins/hpgl/hpgl.c (export_data):
3269 * plug-ins/dxf/dxf-export.c (export_dxf):
3270 * plug-ins/metapost/render_metapost.c (export_metapost):
3271 * plug-ins/pstricks/render_pstricks.c (export_pstricks):
3272 * plug-ins/xfig/xfig-export.c (export_fig):
3273 * plug-ins/wpg/wpg.c (export_data):
3274 * plug-ins/cgm/cgm.c (export_cgm):
3275 * app/render_eps.c (export_eps):
3276 * app/export_png.c (export_png_ok):
3277 * app/load_save.c (diagram_data_save): Adding and standardizing
3278 output file error messages to include fopen error message.
3280 2003-05-01 Steffen Macke <sdteffen@web.de>
3282 * app/persistence.c: do not use unistd.h for MSVC build
3284 2003-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
3286 * sheets/Assorted.sheet.in
3287 * sheets/Circuit.sheet.in
3288 * sheets/Contact.sheet.in
3289 * sheets/EML.sheet.in
3290 * sheets/ER.sheet.in
3291 * sheets/Electric.sheet.in
3292 * sheets/FS.sheet.in
3293 * sheets/Flowchart.sheet.in
3294 * sheets/GRAFCET.sheet.in
3295 * sheets/Logic.sheet.in
3296 * sheets/MSE.sheet.in
3297 * sheets/Misc.sheet.in
3298 * sheets/Pneumatic.sheet.in
3299 * sheets/SADT.sheet.in
3300 * sheets/SDL.sheet.in
3301 * sheets/UML.sheet.in
3302 * sheets/chronogram.sheet.in
3303 * sheets/ciscohub.sheet.in
3304 * sheets/ciscomisc.sheet.in
3305 * sheets/cisconetwork.sheet.in
3306 * sheets/ciscorouter.sheet.in
3307 * sheets/civil.sheet.in
3308 * sheets/network.sheet.in
3309 * sheets/sybase.sheet.in:
3310 Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
3311 standardizes shape descriptions to use no articles, no 'create
3314 * app/interface.c (tool_data): Standard objects follow same
3317 2003-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
3319 * app/color_area.c (color_area_edit): More informative title on
3320 color selection dialog.
3322 * app/disp_callbacks.c (ddisplay_drop_object): Update menu
3323 sensitivity when dropping object in. Also reset tool to pointer.
3325 * objects/flowchart/diamond.c (diamond_update_data):
3326 * objects/flowchart/parallelogram.c (pgram_update_data): Added
3327 left and right alignment options.
3329 2003-04-28 Lars Clausen <lrclause@cs.uiuc.edu>
3331 * objects/flowchart/box.c: Added left and right alignment options.
3333 2003-04-26 Lars Clausen <lrclause@cs.uiuc.edu>
3335 * app/persistence.c (persistence_load): Test existence of
3336 persistence file before trying to open it.
3338 2003-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
3340 * app/properties.c: Escape now closes properties dialogs.
3342 2003-04-25 Hans Breuer <hans@breuer.org>
3344 * app/config.h.win32 : bump version to 0.91+cvs
3346 * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
3348 * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
3350 * app/commands.c : don't leak "netscape" if getenv("BROWSER")
3353 * app/presistence.c : need to #include "dia_xml_libxml.h"
3356 * app/layer_dialog.c : make delayed creation work by protecting
3357 all non static layer_dialog_*() with :
3358 if (layer_dialog == NULL || layer_dialog->dialog == NULL)
3359 create_layer_dialog();
3360 * app/app_procs.c : removed /* create_layer_dialog(); */
3362 * objects/uml/association.c : give it a minimal StdProp
3363 implementation to fix bug #108896
3364 * lib/object_defaults.c : don't try to copy props if there
3365 is no obj->ops->describe_props
3367 2003-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
3369 * objects/standard/image.c (image_create):
3370 * objects/standard/ellipse.c (ellipse_create):
3371 * objects/standard/box.c (box_create):
3372 * objects/flowchart/ellipse.c (ellipse_create):
3373 * objects/flowchart/diamond.c (diamond_create):
3374 * objects/flowchart/box.c (box_create):
3375 * objects/custom/custom_object.c (custom_create):
3376 * objects/ER/relationship.c (relationship_create):
3377 * objects/ER/entity.c (entity_create):
3378 * objects/ER/attribute.c (attribute_create): Initialize
3379 elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
3381 * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
3385 * plug-ins/Makefile.am:
3386 * plug-ins/xslt/Makefile.am:
3387 * plug-ins/xslt/xslt.c (dia_plugin_init):
3388 Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
3389 automake-style if to only include xslt dir when needed. Works
3390 with automake 1.4 and up, at least.
3392 2003-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
3394 * lib/diasvgrenderer.c (draw_string):
3395 * lib/dia_svg.c (dia_svg_parse_style): Use
3396 text-anchor:(start|middle|end).
3398 * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
3399 polygon rather than polyline & avoid missing line pieces.
3400 (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
3401 black-filled things.
3403 2003-04-21 Lars Clausen <lrclause@cs.uiuc.edu>
3405 * app/persistence.c (persistence_load): Check that persistence
3406 file exists before trying to read it.
3407 (persistence_update_window): Removed printf.
3409 * objects/GRAFCET/step.c: Don't copy defaults for name and id.
3411 * lib/autoroute.c: Take badness into the layouters again, as some
3412 of them know they can do things that are pretty but would be
3413 counted as ugly by the default calculation.
3415 * objects/UML/large_package.c: Shrink package name box when no
3416 stereotype is present.
3418 * lib/orth_conn.h (ORTHCONN_COMMON_MENUS):
3419 * lib/orth_conn.c: Added object menu item for autorouting.
3421 * objects/FS/flow-ortho.c (orthflow_get_object_menu):
3422 Autorouting, plus set initial dragging handle to be the end, not
3424 (orthflow_draw): Flipped arrow place to be at the end, as
3425 originally intended (got lost in arrow update).
3427 * objects/standard/zigzagline.c (zigzagline_get_object_menu):
3428 * objects/UML/dependency.c (dependency_get_object_menu):
3429 * objects/UML/association.c (association_get_object_menu):
3430 * objects/UML/realizes.c (realizes_get_object_menu):
3431 * objects/SADT/arrow.c (sadtarrow_get_object_menu):
3432 * objects/GRAFCET/vector.c (arc_get_object_menu):
3433 * objects/ER/participation.c (participation_get_object_menu):
3434 * objects/EML/instantiation.c (instantiation_get_object_menu):
3435 * objects/UML/generalization.c (generalization_get_object_menu):
3436 * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu):
3437 Autorouting setup (currently disabled for SADT/arrow).
3439 2003-04-19 Lars Clausen <lrclause@cs.uiuc.edu>
3441 * lib/autoroute.c: Removed printfs.
3444 * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
3445 non-connected orthconns too.
3447 2003-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
3450 * lib/orth_conn.c: Function to set autorouting on/off, use
3451 autorouting in move_handle (turns off when a middle handle is
3452 moved), added to standard orthconn props.
3454 * app/disp_callbacks.c (create_object_menu, popup_object_menu):
3455 Stopped signal emission for check menu items being set to on/off.
3457 * objects/standard/zigzagline.c: Added autorouting object menu item.
3459 * lib/autoroute.c: Added last cases of autoroute layout, fixed
3460 floating point comparison bug, cleaned up layouters, tweaked
3461 badness to allow kinks.
3463 2003-04-17 Lars Clausen <lrclause@cs.uiuc.edu>
3465 * lib/connectionpoint.h: Changed DIR_* macros to go around the
3468 * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
3470 * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
3471 old cruft, added call to autoroute (currently cannot be turned
3472 off). Need to check what undo thinks about this.
3473 * lib/autoroute.[ch]: Fairly working simple layout.
3475 * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
3476 * lib/autoroute.[ch]: Start of proper autorouting functionality.
3478 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
3480 * lib/prop_widgets.c: Show labels on ListProp.
3482 2003-04-11 Steffen Macke <sdteffen@web.de>
3484 * doc/en/dia-manual.xml: removed reference of non-existing authors
3486 * doc/en/usage-objects-selecting: commented out misleading section
3489 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
3491 * app/app_procs.c (app_init): Layer window now opened at startup
3494 * lib/prop_widgets.c: Show labels on ListProp.
3496 2003-04-09 Steffen Macke <sdteffen@web.de>
3498 * doc/en/*.sgml: removed files
3499 * doc/en/*.xml: added files
3500 * doc/en/Makefile.am: switched to XML DocBook
3502 2003-04-09 Lars Clausen <lrclause@cs.uiuc.edu>
3504 * plug-ins/xslt/xslt.c (dia_plugin_init):
3505 * configure.in: Added --with-xslt-prefix to allow other XSLT
3506 placements than /usr/lib.
3508 2003-04-09 Steffen Macke <sdteffen@web.de>
3510 * lib/makefile.mingw: updated to include latest files, including
3512 * lib/geometry.h: don't define isinf and finite for mingw gcc build
3514 2003-04-08 Lars Clausen <lrclause@cs.uiuc.edu>
3516 * app/persistence.h:
3517 * app/persistence.c (persistence_register_window_create):
3518 * app/app_procs.c (app_init):
3519 Register window function that doesn't create the window unless it
3520 should be open. Other windows should move to this, so startup
3521 speed can be reduced.
3523 * app/persistence.h: Removed call prototype for update_window, now
3525 * app/persistence.c (persistence_register_window): A number of
3526 fixes. Doesn't forget position when window is closed. Now
3527 actually loads prefs.
3529 * app/layer_dialog.c (create_layer_dialog): Removed extraneous
3532 * app/preferences.c (prefs_data):
3533 * app/diagram_tree_window.h:
3534 * app/diagram_tree_window.c: Added persistence registering.
3535 Removed prefs items storing size and openness.
3537 * app/sheets_dialog.c (create_sheets_main_dialog): Added
3538 persistence registering.
3540 * app/Makefile.am (dia_core_files): Added persistence files.
3543 * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
3544 that dirs are present.
3546 * app/app_procs.c (app_init): Loads persistent values on startup.
3547 (app_exit): Saves persistent values on exit.
3549 * app/layer_dialog.c (create_layer_dialog): Registers the layer
3550 window for persistence.
3552 * app/persistence.[ch]: New files handling various kinds of
3555 2003-04-04 Lars Clausen <lrclause@cs.uiuc.edu>
3557 * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
3558 head spacing calculations. Added half-circle arrow from Matthieu
3559 Sozeau <mattam@netcourrier.com>
3561 2003-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
3563 * app/app_procs.c (app_init): Moved layer dialog init to allow
3564 tooltips to be initialized.
3566 * app/interface.c (create_display_shell): More tooltips.
3568 * app/linewidth_area.c (linewidth_area_create)
3569 (linewidth_area_events):
3570 * app/color_area.c (color_area_events, color_area_create):
3571 Made tooltips work by embedding drawing_area in event_box.
3573 * app/interface.c (create_display_shell,
3574 (create_lineprops_area, create_color_area): Added a few tooltips.
3576 2003-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
3578 * app/pixmaps/off-grid.xpm:
3579 * app/pixmaps/on-grid.xpm:
3580 * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
3583 * app/commands.c (view_snap_to_grid_callback):
3584 * app/display.c (ddisplay_set_snap_to_grid)
3585 (update_snap_grid_status):
3586 * app/interface.c (create_display_shell, grid_toggle_snap):
3587 Added snap-to-grid status button.
3589 2003-03-31 Lars Clausen <lrclause@cs.uiuc.edu>
3591 * app/app_procs.c (app_init): Create a new diagram if a file on
3592 the command line isn't found.
3594 2003-03-17 Lars Clausen <lrclause@cs.uiuc.edu>
3596 * lib/dialibartrenderer.c (draw_string): Correct color handling
3599 2003-03-14 Lars Clausen <lrclause@cs.uiuc.edu>
3602 * doc/en/dia-manual.sgml:
3603 * doc/pl/dia-manual.sgml:
3605 * dia.spec (Release):
3606 Version 0.91 is here!
3608 2003-02-10 Steffen Macke <sdteffen@web.de>
3610 * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara
3611 <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
3612 non-ANSI characters, closes #107980
3614 2003-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
3618 * dia.spec (Release):
3619 * doc/en/dia-manual.sgml: Upping to pre6.
3621 * configure.in: Missing comma broke HAVE_IEEEFP_H test.
3623 * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
3624 #107511: Make arrow selector for correct arrow type.
3626 2003-03-03 Lars Clausen <lrclause@cs.uiuc.edu>
3628 * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
3631 2003-03-02 Lars Clausen <lrclause@cs.uiuc.edu>
3633 * doc/en/dia-manual.sgml:
3636 * dia.spec (Release): Upping to pre5.
3638 * configure.in: Add freetype-config derived libs to the
3639 AC_CHECK_LIB statement for freetype.
3641 2003-02-28 Hans Breuer <hans@breuer.org>
3643 [fix for bug #107203]
3645 * lib/diarenderer.c : add warning 'implementation'
3646 for fill_rect to avoid crashing with a renderer
3647 which does not implement this required function.
3649 * plug-ins/dxf/dxf-export.c : provide - still empty -
3650 'implementations' for fill_rect and fill_polygon
3651 to suppress the above warnings. Now it works like
3654 2003-02-28 Steffen Macke <sdteffen@web.de>
3656 * samples/all_objects.dia: New sheet containing all dia shapes
3657 and objects; one layer per sheet
3659 2003-02-28 Lars Clausen <lrclause@cs.uiuc.edu>
3661 * lib/prop_text.c (multistringprop_get_widget,
3662 multistringprop_reset_widget, multistringprop_set_from_widget):
3663 Now uses GtkTextView instead of deprecated stuff, and also works:)
3665 * configure.in: Slightly more informative error message for isinf.
3667 * dia.spec (Requires): Require libxml2 rather than libxml.
3669 2003-02-28 Steffen Macke <sdteffen@web.de>
3671 * shapes/Circuit/hjumper.png:
3672 * shapes/Circuit/hjumper.shape: added missing icon for horizontal
3675 2003-02-26 Lars Clausen <lrclause@cs.uiuc.edu>
3677 * doc/en/dia-manual.sgml:
3679 * dia.spec (Release):
3680 * NEWS: New prerelease 0.91pre4, two important fixes.
3682 2003-02-25 Lars Clausen <lrclause@cs.uiuc.edu>
3684 * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
3687 * app/commands.c (help_manual_callback): More correct URL for help
3688 page (include file://, was broken on Dillo without it).
3690 2003-02-24 Lars Clausen <lrclause@cs.uiuc.edu>
3692 * app/disp_callbacks.c: Set modifed when text is changed.
3694 * app/modify_tool.c (modify_button_release): Allow undo for moving
3697 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
3700 * doc/en/dia-manual.sgml:
3702 * configure.in: New prerelease with important bugfix.
3703 * shapes/network/digitizing_board.png:
3704 * shapes/network/plotter.png: Re-adding with -kb.
3706 2003-02-17 Abel Cheung <maddog@linux.org.hk>
3708 * app/app_procs.c (app_init): Add comment for translators.
3710 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
3712 * lib/filter.c (filter_register_import, filter_register_export):
3713 Don't accept filters with NULL description.
3715 * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
3716 (as we assume the description is available in other places).
3718 2003-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
3720 * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update):
3721 * app/display.c (ddisplay_resize_canvas): Use
3722 ddisplay_add_update_all().
3723 (ddisplay_add_update_all): Free display and update lists when
3724 doing update_all, as they'll be regenerated immediately to cover
3725 all visible area. Fixes bug #106165, crash when resizing. This
3726 appears to be the original AA crash bug, believed long extinct.
3728 2003-02-13 Lars Clausen <lrclause@cs.uiuc.edu>
3730 * app/commands.c (help_manual_callback): Use file: protocol for
3733 * plug-ins/xslt/.cvsignore: Ignore .o files, please.
3735 * plug-ins/xslt/stylesheets: Removed old-style config file.
3737 * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
3739 * plug-ins/xslt/Makefile.am:
3740 * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
3741 handling (no more DIA_PLUGIN_PATH).
3743 2003-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
3745 * plug-ins/svg/render_svg.c:
3746 * lib/diasvgrenderer.c: Fixed numeric localized output issues.
3748 2003-02-10 Lars Clausen <lrclause@cs.uiuc.edu>
3750 * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to
3751 [-1.0, 1.0]. Shouldn't be necessary, but in some cases the
3752 side of the triangle is longer than the hypotenuse. Rounding
3755 2003-02-09 Lars Clausen <lrclause@cs.uiuc.edu>
3759 * doc/en/dia-manual.sgml: Update for pre2.
3761 * app/menus.c (display_menu_items): Fixed wrongly place separators.
3763 * objects/flowchart/box.c (box_update_data): Applied patch from
3764 Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
3767 * app/paginate_psprint.c (print_page): Set paper name, so it
3768 convinces ps printers to use to right size.
3770 2003-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
3772 * app/properties.c (properties_show): Hide the dialog if the
3773 object is NULL (get rid of 'no properties' randomly popping up).
3775 2003-02-06 Lars Clausen <lrclause@cs.uiuc.edu>
3777 * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
3778 for diagrams not starting at origo.
3780 2003-02-05 Lars Clausen <lrclause@cs.uiuc.edu>
3782 * dia.spec (BuildRequires): Use libxml2-devel.
3784 * plug-ins/pixbuf/Makefile.am: Added to CVS.
3786 * RELEASE-PROCESS: Note on RPM version numbers.
3788 * app/interface.c (create_display_shell): Don't set as toolbar
3789 under Unix, either. Especially not the diagram shell. It removes
3790 it from the taskbar and makes it unresizable, always-on-top with
3791 OpenBox. TOOLBAR != TOOLBOX. Setting toolbox to the only
3792 appropriate thing, UTILITY, is not good either, you lose resizing
3793 and minimizing/maximizing under OpenBox.
3795 * app/menus.c (display_menu_items): Set delete item to use Delete.
3797 2003-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
3799 * dia.spec (BuildRequires, Requires): Updated for Gtk2
3802 * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
3803 display flush when getting focus in, or we may get an update after
3804 the diagram has been destroyed in some cases. Fixes bug #105221.
3806 * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
3808 * lib/diarenderer.c: Notes on the basis matrix for our beziers.
3810 * app/app_procs.c (app_init): Fixed missing popt context for Gnome
3811 - gnome-compiled Dia will now read files specified on the command line.
3813 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
3815 * INSTALL (REQUIREMENTS): Updated requirements section.
3817 * configure.in: Better finite() check from MÃ¥rten Svantesson
3818 <f95-msv@nada.kth.se>. Doesn't seem to generate strange dangly
3821 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
3823 * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
3825 * app/app_procs.c (debug_break): Added some code to avoid
3826 over-eager optimizations removing the call. Surely there's a
3827 nicer way, but I'm not sure how.
3829 * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
3830 that set text to black.
3832 2003-02-02 Lars Clausen <lrclause@cs.uiuc.edu>
3834 * NEWS: Mention of Twiki as doc source for Python.
3836 * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
3837 libart/libpng is not available. Later when we have a way of
3838 letting the user pick options in the file select dialog we shall
3839 allow the choice when applicable.
3841 2003-02-02 Steffen Macke <sdteffen@web.de>
3843 * doc/en/usage-loadsave.sgml:
3844 * doc/en/usage-objects.sgml: patch from
3845 James K. Lowden <jklowden@schemamania.org> to fix
3848 2003-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
3850 * plug-ins/Makefile.am (SUBDIRS):
3851 * plug-ins/pixbuf/pixbuf.c:
3852 * plug-ins/pixbuf/Makefile.am:
3854 Added pixbuf plugin to Makefile.am, but for import only. PNG
3855 export handled by libart, which is better. JPG export is
3856 discouraged. BMP is not much used on Unix. Next release will
3857 integrate libart to allow all outputs.
3859 2003-02-01 Hans Breuer <hans@breuer.org>
3861 * app/preferences.c :
3863 the last two dialogs with 'old' button order finally
3864 are converted to gtk2, no GnomeDialog in all of Dia
3867 2003-02-01 Hans Breuer <hans@breuer.org>
3869 * app/filedlg.c : don't try to use a button as
3870 'overwrite-file-dialog'-parent, use the FileSelDialog
3873 * plug-ins/pixbuf/pixbuf.c : make it work with
3874 system-visual-depth < 24. Remove 'bmp' from output
3875 format extensions, it just was wishful thinking.
3877 * plug-ins/python/Makefile.am : added the four new python
3878 plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
3880 2003-02-01 Hans Breuer <hans@breuer.org>
3882 * NEWS : updated content beside dependencies
3884 2003-02-01 Hans Breuer <hans@breuer.org>
3886 * lib/arrow.h : arrow_types needs to be declared as DIAVAR
3887 to make it useable across DLL boundaries
3888 * app/lineprops_area.c : same code to access arrow_types
3891 * objects/UML/class.c : the non empty string is e.g.
3892 comment != NULL && comment[0] != '\0'
3893 * objects/UML/uml.c : same here, don't bother with
3894 empty operation stereotypes
3896 2003-02-01 Steffen Macke <sdteffen@web.de>
3898 * app/lineprops_area.c: latest changes do not work on
3899 windows, using old code without tooltips
3900 * makefile.msc: fixed copying of wmf.dll
3901 * plug-ins/makefile.msc:
3903 * lib/makefile.msc: now linking libintl
3904 * config.h.win32: enabling native language support
3906 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
3908 * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
3909 -ldl and -lglib. May or may not work on windows...awaiting verdict.
3911 2003-01-31 Daniel Yacob <locales@geez.org>
3913 * configure.in: Added am (Amharic) to ALL_LINGUAS.
3915 2003-01-31 Steffen Macke <sdteffen@web.de>
3917 * objects/UML/class.c (umlclass_calculate_data): fixed crash
3918 when comments were visible, no class comment available and
3921 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
3923 * RELEASE-PROCESS: Updated to fit new install-module syntax.
3924 * Prerelease 0.91-pre1 released on a suspecting public. Tagging
3927 2003-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
3933 Prerelease version changes, version 0.91-pre1.
3935 * app/sheets_dialog_callbacks.h:
3936 * app/sheets_dialog_callbacks.c:
3937 * app/sheets_dialog.c (create_sheets_main_dialog):
3938 * app/sheets.c (sheets_dialog_create): More destroy stuff. Trying
3939 to handle destruction of main dialog cleanly, but it's a mess.
3941 * configure.in: Downgraded ieeefp test to make it not produce
3944 * lib/widgets.c (dia_arrow_selector_set_arrow):
3945 (dia_line_style_selector_set_linestyle): Select menu dot
3948 * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
3949 adjustment for diamondheads.
3951 * lib/plug-ins.c (dia_plugin_load): Fixed typo.
3953 * app/properties.c (create_dialog): Destroy properties dialog and
3956 * app/sheets_dialog_callbacks.c
3957 (on_sheets_dialog_button_edit_clicked): Only create a new dialog
3958 if the old one is destroyed.
3960 2003-01-29 Lars Clausen <lrclause@cs.uiuc.edu>
3962 * app/export_png.c (export_png_ok): Added info on resolution.
3963 Should (next release) improve export dialog to allow setting
3964 resolution instead of pixels.
3966 * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
3967 to generate arrowheads as well as tooltips.
3969 * lib/arrows.c: Added hollow diamond to menudesc list.
3972 * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
3973 unify with rendered menu.
3975 * lib/diarenderer.c (draw_line_with_arrows)
3976 (draw_polyline_with_arrows, draw_arc_with_arrows)
3977 (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
3978 without changing renderer API. Thanks to David Scherba for
3979 providing inspiration.
3981 2003-01-28 Lars Clausen <lrclause@cs.uiuc.edu>
3983 * app/interface.c (create_display_shell):
3984 * app/display.h: Patching from Hubert Figuiere
3985 <hfiguiere@teaser.fr>: Better types for menu bar widgets, and
3988 2003-01-26 Lars Clausen <lrclause@cs.uiuc.edu>
3990 * app/defaults.c (defaults_show): Fixed defaults closing bug.
3991 Thanks to Hans for pointing it out.
3993 2003-01-25 Hans Breuer <hans@breuer.org>
3995 * app/commands.c : don't warn about crashing libart renderer
3996 on win32. It simply doesn't render text anymore :-(
3998 * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
4000 * objects/UML/class.c : don't access umlclass->properties_dialog
4001 after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
4002 which sets the former to NULL by destroy_properties_dialog() callback.
4004 * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
4006 * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
4008 * plug-ins/python/pydia-image.c : add image.uri member
4009 not only useful for SVG rendering
4011 * plug-ins/python/diasvg.py : (new file) a more advanced
4012 example. A full blown SVG Renderer, currently only
4013 registered for .svgz
4015 * plug-ins/python/export-object.py : write text props
4017 * plug-ins/python/debug_objects.py : write prop.type and
4020 2003-01-25 Lars Clausen <lrclause@cs.uiuc.edu>
4022 * objects/UML/association.c (association_update_data): Better
4023 bounding box for assoc with arrows.
4025 * lib/properties.h: New flag for properties with multiple values
4028 * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
4029 arrow updating in dialog. Was broken due to changes from destroy
4032 * app/commands.c (view_aa_callback): AA warning only for Windows
4033 -- I trust the Unix side well enough.
4035 * app/render_libart.c (get_text_width):
4036 * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
4037 font height can be taken from parent instance.
4039 * lib/dialibartrenderer.c (dia_libart_renderer_class_init)
4040 (get_text_width): Proper cursor positioning for libart renderer.
4041 Ought to have a DiaInteractiveRenderer that these two can inherit
4042 from, that knows about transform.
4044 2003-01-25 Steffen Macke <sdteffen@web.de>
4046 * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
4047 plug-in still not working on win32
4049 2003-01-24 Lars Clausen <lrclause@cs.uiuc.edu>
4051 * app/disp_callbacks.c (ddisplay_canvas_events): Moved
4052 gdk_window_get_pointer to avoid destroy crash. Simpler than I
4055 2003-01-23 Lars Clausen <lrclause@cs.uiuc.edu>
4057 * app/app_procs.c (app_init): Run gtk_init before popt so we don't
4058 bail out on gtk options.
4060 * lib/message.c (gtk_message_internal): Better handling of destroy
4063 2003-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
4065 * app/color_area.c (color_area_edit):
4066 * lib/widgets.c (dia_file_selector_browse_pressed)
4067 (dia_color_selector_pressed):
4068 * app/plugin-manager.c (get_plugin_manager):
4069 * app/filedlg.c (file_open_callback, file_save_as_callback)
4070 (file_export_callback):
4071 * app/diagram_tree_window.c (diagram_tree_window_new): Correct
4072 handling of destroy event.
4074 2003-01-22 Alan Horkan <horkana@tcd.ie>
4076 * app/commands.c (file_new_callback): Changed Untitled to Diagram
4079 2003-01-21 Lars Clausen <lrclause@cs.uiuc.edu>
4081 * app/preferences.c (prefs_create_dialog):
4082 * app/linewidth_area.c (linewidth_create_dialog):
4083 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
4084 * app/layer_dialog.c (create_layer_dialog)
4085 (layer_dialog_edit_layer): Correct handling of destroy signal.
4087 * app/diapsft2renderer.c (set_font): Adjust silly random factor
4088 for change in font.c
4090 * lib/widgets.c: Avoid warning when font menu file doesn't exist.
4092 * lib/font.c (dia_font_build_layout): Let's all use the same weird
4095 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
4096 * app/layer_dialog.c (create_layer_dialog)
4097 (layer_dialog_edit_layer):
4098 * app/filedlg.c (file_open_callback, file_save_as_callback)
4099 (file_export_callback):
4100 * app/dia-props.c (create_diagram_properties_dialog):
4101 * app/defaults.c (defaults_dialog_destroyed):
4102 * app/color_area.c (color_area_edit): Dialog destroy event handling.
4104 2003-01-19 Lars Clausen <lrclause@cs.uiuc.edu>
4106 * app/defaults.c (defaults_dialog_destroyed): Reset cache when
4107 defaults dialog destroyed.
4109 2003-01-19 Steffen Macke <sdteffen@web.de>
4111 * objects/makefile.msc: added bondgraph
4112 * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
4113 to compile pixbuf.dll
4114 * makefile.msc: copying all objects and dlls now
4116 2003-01-19 Hans Breuer <hans@breuer.org>
4118 * app/diagram.[hc] : provide dia_open_diagrams(), make
4119 open_diagrams variable static
4120 * app/dia.def : export it (to be used by PyDia)
4121 * app/app_procs.c app/autosave.c app/diagram_tree_window.c
4122 app/display.c app/dynamic_refresh.c app/layer_dialog.c
4123 app/load_save.c : make use of dia_open_diagrams()
4125 * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
4126 on win32. It removes the diagram window from the taskbar and
4127 shrinks it's window title to toolbar style (newest gtk2.2 cvs)
4129 * app/menus.c : add '...' to menu entries where a dialog
4131 * app/recent_files.c app/dia_embedd.c : reflect the above in
4132 menus_get_item_from_path() calls
4134 * lib/libdia.def : add dia_image_rgba_data
4136 * lib/properties.h lib/prop_text.[hc] : add new property
4138 * objects/UML/class.[hc] object/UML/class_dialog.c : use
4139 StringList for attributes_strings and operations_strings to
4140 make this calculated data accessible via the Property API
4142 * plug-ins/python/diamodule.c : use dia_open_diagrams() and
4143 provide dia.new() to create a new diagram, dia.registered_types()
4144 to get on Dia's type registry, dia.message() for simple dialogs
4146 * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
4147 to create a new display from a diagram. Let diagram.extents and
4148 diagram.bg_color return the same types as in diagramdata.*
4150 * plug-ins/python/pydia-geometry.c : add a read-only
4151 'sequence interface' to DiaPoint and DiaRectangle
4153 * plug-ins/python/pydia-property.c : allow to get on StringList
4156 * plug-ins/python/pydia-render.c : fix typo to make it compile
4158 * plug-ins/python/python-startup.py : removed 'import pygtk'
4159 again. This file does not need any gtk UI, and some python
4160 plug-ins don't do either
4162 * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
4163 it should actually work as intended again
4165 * plug-ins/python/group_props.py : (new file) a prototype for
4166 one the most requested features: Change properties of selected
4167 objects in one step. Requires pygtk.
4169 * plug-ins/python/select_by.py : (new file) select objects by
4170 common properties. Requires pygtk.
4172 [Start of 'PyDia Self Documentation Series']
4174 * plug-ins/python/pydiadoc.py : (new file) generates a new
4175 diagram which contains all objects of dir(dia)
4177 * plug-ins/python/otypes.py : (new file) generates a new diagram
4178 which contains all the currently registered object types sorted
4179 by their containing package
4181 2003-01-18 Lars Clausen <lrclause@cs.uiuc.edu>
4183 * configure.in: Added check for Pango >= 1.1.5, which appears to
4184 be enough to have text work.
4185 (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
4186 do it. AC_SUBST should be idempotent, though.
4188 2003-01-17 Lars Clausen <lrclause@cs.uiuc.edu>
4190 * configure.in (HAVE_FREETYPE): Better test for freetype version
4192 Now actually sets HAVE_IEEEFP_H, needed for Solaris.
4194 * lib/font.c: Renamed global_size_one to global_zoom_factor to
4195 avoid confusion, and added comment. Set scale factor in
4196 dia_font_build_layout to 1.0 for Unix side. This fixes at least
4197 my weird scaling problems. Fonts are now of the expectable size,
4198 i.e. the space between lines at size 1.0 is 1.0. If we want a
4199 compatibility fix, we should scale fonts by about 1/0.75 from 0.90
4200 diagrams, though there will always be differences.
4202 2003-01-15 Lars Clausen <lrclause@cs.uiuc.edu>
4204 * plug-ins/python/python-startup.py:
4205 * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
4207 * plug-ins/python/python.c (dia_plugin_init): Added warning
4208 message for missing startup file.
4210 * lib/dialibartrenderer.c (draw_image): Alpha rendering! Yay!
4212 * lib/dia_image.c (dia_image_rgb_data):
4213 * app/diapsrenderer.c (draw_image): Fixed rowstride problems
4214 involving EPS. Can't do transparency in EPS yet.
4217 * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
4218 data as one chunk. Documentation for the RGB data getting funcs.
4219 (dia_image_rgb_data): Added comment.
4221 * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
4224 2003-01-13 Steffen Macke <sdteffen@web.de>
4226 * lib/dia_image.c: dia_image_rgb_data() is working for
4227 non-alpha images now. Fixes #93762
4228 * Makefile.am: added makefile.msc to EXTRA_DIST
4230 2003-01-10 Steffen Macke <sdteffen@web.de>
4232 * app/paginate_psprint.c: Closing print dialog when file
4233 could not be written. Fixes #84746
4235 2003-01-04 Steffen Macke <sdteffen@web.de>
4237 * doc/custom-shapes: incomplete description of <svg:text>
4239 2003-01-03 Steffen Macke <sdteffen@web.de>
4241 * makefile.msc(new): new makefile to create file
4242 structure suitable for running dia win32 under
4243 $(TOP)/dia/build/win32
4245 2003-01-02 Steffen Macke <sdteffen@web.de>
4247 * lib/dia_svg.c: including stdlib.h
4248 * lib/makefile.msc: added gdk_pixbuf libs to linker
4249 * app/makefile.msc: added gdk_pixbuf libs, made libart
4250 libs compatible with gnuwin32 package
4252 2003-01-01 Hans Breuer <hans@breuer.org>
4254 * lib/font.c : more comment about global_size_one
4256 * app/menus.c : <control>[<shift>]A for plain gtk build too.
4258 * plug-ins/wmf/wmf.cpp : some type juggling to make
4261 2002-12-31 Steffen Macke <sdteffen@web.de>
4263 * app/makefile.msc: added hint on how to enable console output
4265 2002-12-17 Lars Clausen <lrclause@cs.uiuc.edu>
4267 * objects/standard/textobj.c (textobj_load): Get the handle type
4268 right, at least to be the same as when created.
4270 2002-12-12 Lars Clausen <lrclause@cs.uiuc.edu>
4272 * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
4274 2002-12-08 Hans Breuer <hans@breuer.org>
4276 * app/commands.c : fixed bug #85315 'give diagram properties,
4277 instead of no object selected error' almost a one-liner
4279 * app/splash.c : don't make having the logo pixmap
4280 mandatory. Fixes bug #96068.
4282 * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
4283 sequence by connecting to the "delete_event"
4284 * app/objects/uml/class_dialog.c : handle "destroy" for
4287 * lib/libdia.def : remove diaXmlNewChild again
4289 * app/paginate_gdiprint.cpp : reflect Dia's page setting
4290 portrait/landscape in the windoze print dialog
4292 * objects/makefile.msc : only UML needs to link against
4293 $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
4295 2002-12-08 Lars Clausen <lrclause@cs.uiuc.edu>
4297 * objects/standard/ellipse.c (ellipse_distance_from):
4298 * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
4299 correct distance function. Could be faster, but it's not really
4302 2002-12-07 Lars Clausen <lrclause@cs.uiuc.edu>
4304 * lib/font.c: Changed global_size_one to more correct 28.35.
4309 * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
4312 2002-12-07 Hans Breuer <hans@breuer.org>
4314 * lib/widgets.c : g_file_get_contents() silently assumes
4315 a binary file. Reflect when creating the font_menu file
4316 to get rid of junk in font menus
4318 2002-12-06 Hans Breuer <hans@breuer.org>
4320 * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
4321 removed 0xD 0xD 0xA line ends which get created by
4322 cvs if windoze line ends 0xD 0xA are checked in from
4323 *nix and checked out on win32.
4325 * app/preferences.c : changed toolbox_on_top default to
4326 false. It is currently not possible to change the behaviour
4327 at runtime, at least not on win32.
4329 * lib/dialibartrenderer.c : bug #94791 'rendering to
4330 bitmap without PangoFt2' got delayed to milestone future
4331 so wrap libart text rendering into PANGO_WIN32_FUTURE.
4332 It is not available without my Pango patch in bugzilla.
4334 * lib/font.c : added comment to global_size_one and adapt
4335 the arbitrary size scaling in dia_font_build_layout() for
4336 win32, too. This is needed to get an acceptable font size
4337 approximation for Dia 0.90 and earlier files.
4338 Also #include "message.h".
4340 * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
4341 reflect movement of group.[hc]
4342 * lib/group.h : export group_type which gets used by app/*
4344 * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
4345 to get the GtkTypeInfo definition
4347 * plug-ins/makefile.msc : dxf and xfig don't need to link
4348 against app/ anymore now that group is moved to lib/
4350 * plug-ins/python/pydia-render.c : remove massive leaking
4351 of self, i.e. PyDiaRenderer
4353 * plug-ins/python/makefile.msc : remove linking against
4356 2002-12-06 Lars Clausen <lrclause@cs.uiuc.edu>
4358 * objects/standard/line.c: Removed properties options for gaps,
4359 until release is done.
4361 * configure.in: Check for freetype version.
4363 * lib/text.c (text_insert_char): Fixed small buffer overflow for
4366 * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
4368 * app/diapsft2renderer.h:
4369 * app/diapsft2renderer.c:
4370 * app/diapsrenderer.h:
4371 * app/diapsrenderer.c: Split ps rendering into standard and freetype.
4373 * app/render_eps.c (export_eps, new_psprint_renderer): Using
4374 PS_FT2 renderer when available. Old render stuff killed. Yay!
4376 * lib/properties.h: Fixed bad frame end def.
4378 * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
4380 * lib/dia_xml.c (data_add_string): Avoid #-less strings.
4382 * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
4384 2002-12-05 Lars Clausen <lrclause@cs.uiuc.edu>
4386 * lib/font.c: Now checking for the proper dia-style standard fonts.
4389 * app/Makefile.am: Moving group.[ch]
4391 * plug-ins/dxf/dxf-import.c:
4392 * plug-ins/xfig/xfig-import.c:
4393 * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
4397 * lib/object.c (object_list_move_delta, object_copy_list):
4398 * lib/object.h: Moved some object-related functions from
4399 object_ops to object to assist moving group.c.
4401 * lib/diatypes.h: Added Group typedef.
4404 * lib/group.c: Moved from app to lib to a) resolve plug-ins
4405 references, and b) make groups more "real" objects.
4407 * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
4409 2002-12-03 Lars Clausen <lrclause@cs.uiuc.edu>
4411 * lib/font.c (dia_font_init): Added check that the three standard
4414 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
4417 * app/load_save.c: Linebreaks in dia files, no indentation.
4418 Should help text tools. xmlNewChild wrapped in diaXmlNewChild for
4421 * objects/standard/line.c: Small but important fixes to the line
4425 * lib/dia_xml.c (diaXmlNewChild):
4426 * app/load_save.c (diagram_data_write_doc, write_objects): Simple
4427 XML prettyprinting wrapper.
4429 2002-12-03 Steffen Macke <sdteffen@web.de>
4431 * shapes/Cisco/Makefile.am:
4432 * shapes/Cisco/*.shape: finished conversion of Cisco icons
4435 2002-12-02 Steffen Macke <sdteffen@web.de>
4437 * doc/en/Makefile.am:
4438 * doc/en/usage-objects.sgml:
4439 * doc/en/graphics/line_icon.png: (new) added line icon
4441 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
4443 * objects/standard/line.c: Binary search object edge line gap.
4445 2002-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
4447 * configure.in: Added Cisco makefile, sorted Makefiles list.
4449 * shapes/Makefile.am (SUBDIRS): Added Cisco dir
4451 * configure.in: Now checks for availability of PangoFT2 and
4452 FreeType, raising an error if not found.
4454 * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
4457 2002-12-01 Steffen Macke <sdteffen@web.de>
4459 * doc/en/usage-loadsave.sgml: updated information on import
4462 2002-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
4464 * app/commands.c (edit_copy_callback): Freeing copy_list.
4466 2002-11-28 Steffen Macke <sdteffen@web.de>
4468 * app/render_libart.c: art_config.h was included twice
4470 2002-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
4472 * sheets/.cvsignore: More ignorance.
4474 * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
4476 * lib/prop_widgets.h: Two (currently unused) settings for frame
4479 * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
4480 (by default) foldable.
4482 * lib/propinternals.h:
4483 * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
4484 widgets in a more controlled manner.
4486 * objects/standard/line.c (line_update_data): Line gap things
4487 inserted. Can do xeyes now:)
4489 2002-11-26 Christian Neumair <chris@gnome-de.org>
4491 * .cvsignore: Changed.
4492 * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
4493 plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
4496 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
4498 * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
4500 * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
4501 passing to font hash.
4503 * app/filedlg.c (file_save_as_ok_callback): Check that filename is
4504 utf-8 or locale-convertible before adding to dialog text. This
4505 probably needs done in a number of places where we get text from
4506 the environment and send it to GTK to display.
4508 * lib/widgets.c: Fixed case problems for font menu entries.
4510 * objects/SADT/annotation.c: Don't run the event test (but leave
4511 it here for inspiration).
4514 * lib/widgets.h: Allowing setting preview text for fonts.
4516 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
4518 * objects/bondgraph/Makefile.am:
4519 * objects/bondgraph/bondgraph.c:
4521 * objects/Makefile.am: Added bond graph dir.
4523 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
4525 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
4527 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
4529 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
4532 * app/diapsrenderer.c: Freetype rendering is back in force.
4534 * app/disp_callbacks.c: Added missing updates for pre-text-change.
4536 2002-11-25 David Hoover <jazzdaq@yahoo.com>
4538 * app/render_libart.c: Added missing #include line for libart.
4541 * lib/geometry.c: Added point_convex function. This computes
4542 points inside a line segment (0 <= alpha <= 1) or outside the
4543 line segment (alpha < 0 | alpha > 1).
4545 * objects/standard/line.c: Line now has additional code/attributes
4546 which permit the line to extend past the line anchors (gap < 0) or
4547 leave a gap without reaching the anchor (gap > 0). If no gap is
4548 specified, the default gap of 0 will result in identical line
4549 behavior as before. If the 'fractional' attributes are TRUE, the
4550 gap length is not fixed, but a percentage of the line length. I
4551 did not know how create the GTK widgets so the gap code currently
4552 cannot be used without adding XML attributes by hand.
4554 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
4556 * lib/diagdkrenderer.c (draw_string): Removed timing bits.
4558 * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
4560 2002-11-24 Lars Clausen <lrclause@cs.uiuc.edu>
4562 * lib/font.c: Debugging functionality in separate functions.
4564 * lib/widgets.c: Using fontsel with context.
4566 * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
4568 * objects/custom/custom_object.c: Orientation handling for shapes,
4569 patch thanks to Martin Hans <opfinder@gmx.net>.
4571 * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
4572 work on even better orientation handling.
4574 * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
4575 casting NULL pointers. Should be unnecessary in an upcoming GTK
4578 2002-11-18 Lars Clausen <lrclause@cs.uiuc.edu>
4582 * lib/widgets.c: Now uses correct context to get font families.
4584 * lib/diagdkrenderer.c (get_text_width, draw_string):
4585 * lib/dialibartrenderer.c (draw_string):
4587 * lib/font.c (dia_font_init): Removed old kludgy font name compare.
4588 (dia_font_build_layout): Unified the twiddle factors into a use of
4589 global_size_one. But I deeply distrust Pango for seeming to
4590 change size of fonts every time I turn my back.
4595 * app/menus.h: Updated some more methods to also be more specific
4599 * app/recent_files.c:
4600 Changed to return most specific type, to avoid run-time type errors.
4602 * app/menus.c (menus_get_item_from_path): Non-gnome version now
4603 gets menu_item rather than widget, which works better.
4605 2002-11-17 Cyrille Chépélov <cyrille@chepelov.org>
4607 * app/display.c: (new_display):
4608 * app/menus.c: (menus_get_item_from_path):
4609 Relying on the tearoff to locate the input methods menu wasn't a
4610 good idea: tearoffs seem to be an endangered species nowadays.
4611 Anyway, the IM menu seems to be working now.
4613 * app/interface.c: hinted the window manager that the toolbox window
4614 is a toolbox window. Not that my (fairly default configuration)
4615 sawfish cares, but other NETWM compliant WMs may.
4622 * app/layer_dialog.c:
4623 * app/linewidth_area.c:
4625 * app/sheets_dialog.c:
4628 The GTK doc says to avoir gtk_window_set_wmclass() and
4629 gtk_window_set_policy(), and use gtk_window_set_role() and
4630 gtk_window_set_resizable(), respectively.
4632 * app/preferences.c: (prefs_create_dialog):
4633 * app/preferences.h:
4634 * app/display.c: (display_set_active):
4635 Added a preference to have the toolbox hover over diagram windows.
4637 2002-11-12 Lars Clausen <lrclause@cs.uiuc.edu>
4639 * lib/diagdkrenderer.c (get_text_width, draw_string):
4640 Freetype-based string drawing now works. Not very fast, though.
4641 I wish I could use the graphics card for this:( I'm doing three
4642 bitmap loops where I should be doing one. The size is not correct
4643 either, despite having get_text_width give the right thing.
4645 2002-10-21 Lars Clausen <lrclause@cs.uiuc.edu>
4647 * app/connectionpoint_ops.c (diagram_update_connections_object):
4648 Allows more than one connectionpoint on an object to be moved at a
4651 2002-10-18 Stanislav Brabec <sbrabec@suse.cz>
4653 * configure.in: Added cs to ALL_LINGUAS.
4655 2002-10-17 Lars Clausen <lrclause@cs.uiuc.edu>
4657 * app/paginate_psprint.c: Removed unnecessary decl of autosave
4660 * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
4662 * app/export_png.c (export_png_ok): Saving more variables from the
4665 2002-10-16 Lars Clausen <lrclause@cs.uiuc.edu>
4667 * lib/dialibartrenderer.c (begin_render):
4668 (end_render): Correct pushing and popping of font contexts.
4669 (draw_string): Double zooming eliminated, strange twiddle factor
4670 introduced (grumble). Close to working now, but there are still
4671 strange differences from font to font. In particular, some fonts
4672 really mess with the cursor and extents.
4674 * app/render_eps.c (export_eps):
4675 * app/diapsrenderer.c (dia_ps_renderer_finalize):
4676 Fixed file closing confusion, no longer dependent on PS/EPS.
4678 * app/diagram.c (diagram_place_down_selected)
4679 (diagram_place_up_selected): Now implemented.
4681 * lib/font.c (dia_font_init):
4683 Redesigned the font init/context pushing code. Start of fix for
4684 font name differences.
4686 2002-10-15 Kjartan Maraas <kmaraas@gnome.org>
4688 * app/sheets_dialog_callbacks.c: Fix a typo.
4690 2002-10-15 Hans Breuer <hans@breuer.org>
4692 * app/diapsrenderer.[hc] : (new files, old content :-)
4693 simple base class for post script rendering. Does neither
4694 use Pango/FT2 nor does it handle non latin1 characters.
4695 The fancy stuff which nowadays appears to be needed should
4696 probably be done in derived class(es)
4698 * app/makefile.msc app/Makefile.am : added new files
4700 * app/paginate_psrint.c : re-enabled and used as test
4701 for the simple ps renderer above.
4703 * app/render_eps.[hc] : ripped out common ps code and
4704 moved to DiaPsRenderer. The rest of the file is mostly
4705 disabled. And I don't understand enough of it to
4708 * app/diaepsrenderer.h : short lived, removed.
4710 2002-10-15 Lars Clausen <lrclause@cs.uiuc.edu>
4712 * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
4713 as a plugin (thanks to Torben Nielsen).
4715 2002-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
4717 * app/diaepsrenderer.h:
4719 * app/paginate_psprint.c:
4720 #ifdef'd out enough ps stuff to allow compile. Now we just need
4723 2002-10-12 Hans Breuer <hans@breuer.org>
4725 [last plug-in ported]
4727 * plug-ins/xfig/xfig-export.c : ported to new renderer api
4729 * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
4730 scale color values to [0..1.0] to properly reconstruct
4733 * plug-ins/xfig/xfig-common.c : some cleaning
4735 2002-10-12 Hans Breuer <hans@breuer.org>
4737 [decrease inter-plug-in-dependencies]
4739 * objects/custom/shape_info.[hc] : move parse_style()
4740 to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
4741 the related structs and constants.
4742 * objects/custom/custom_object.c : reflect namespace
4745 * lib/dia_svg.[hc] : new files
4746 * lib/makefile.msc lib/Makefile.am : add new files
4747 * lib/libdia.def : updated externals
4749 * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
4751 * plug-ins/svg/svg.c : enable svg import for win32 (and
4752 probably for other non ELF builds)
4754 * plug-ins/makefile.msc : enable svg import
4756 2002-10-11 Hans Breuer <hans@breuer.org>
4758 * plug-ins/metapost/render_metapost.[hc] : ported
4760 * plug-ins/pstricks/render_pstricks.[hc] : dito
4762 2002-10-11 Hans Breuer <hans@breuer.org>
4764 * plug-ins/cgm/cgm.c : ported, appears to work as before,
4765 but graphic apps available to me can't import the generated
4766 files (the could not with Dia-0.90 cgm as well) ...
4768 * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
4769 Removed all those function which did emulate 'complex'
4770 drawing ops with basic ones (e.g. rect by line) cause this
4771 stuff is already provided by the base class
4772 * plug-ins/dxf/dxf-import.c : removed render.h include
4774 * plug-ins/python/pydia-font.[hc]
4775 plug-ins/python/pydia-text.c : finally ported to new font api
4777 * plug-ins/python/pydia-layer.c : add extra parameter
4778 to layer_find_closest_connectionpoint()
4780 * plug-ins/python/pydia-render.c : ported to DiaRenderer api
4782 * plug-ins/python/python.c : added missing copyright notice
4784 * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp :
4785 actually use the renderers set_font implementation
4787 * plug-ins/renderer.inc : unused now, removed
4788 * plug-ins/Makefile.am : reflect it
4790 2002-10-08 Hans Breuer <hans@breuer.org>
4792 * app/render_gdk.c : don't add the InteractiveRenderer
4793 interface multiple times (it's added to the type, not
4795 * app/render_libart.c : dito. It's currently added
4796 unconditional cause eport_png uses it, but claims
4797 to be non-interactive. Probably set_size should be moved
4798 to the DiaRenderer interface.
4800 * lib/dialibartrenderer.c : add implementations for
4801 get_<width|height>_pixels. Libart rendering works again.
4802 DiaLibartRenderer::draw_image : use dia_image_rowstride()
4805 * lib/diatransform.c(dia_transform_coords_double) :
4806 don't ROUND() the returned values
4808 * plug-ins/pixbuf/pixbuf.c : added import function. It
4809 simply creates a wrapping "Standard - Image" object.
4811 * plug-ins/shape/shape-export.c : use the more direct
4812 method to call base class methods
4814 2002-10-07 Lars Clausen <lrclause@cs.uiuc.edu>
4816 * lib/font.c (dia_font_init): Changed dia_font_init to return old
4817 pango context, to allow stacked contexts (for printing while
4826 * lib/connectionpoint.h
4829 * lib/diagdkrenderer.h
4831 * lib/dialibartrenderer.h
4834 * lib/diasvgrenderer.h
4835 * lib/diatransform.h
4842 * lib/neworth_conn.h
4857 Moved all externally visible struct typedefs into diatypes.h, as
4858 per Hans' suggestions.
4860 2002-10-07 Steffen Macke <sdteffen@web.de>
4862 * lib/Makefile.am: removed a '\' causing problems
4864 2002-10-07 Hans Breuer <hans@breuer.org>
4866 [Libart Renderer resurrected; almost it's compiling but
4867 almost instantly crashing :-]
4869 * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
4870 * app/render_libart.[hc] : ported to DiaInteractiveRenderer
4871 * lib/diatransform.[hc] : added dia_transform_coords_double()
4873 * app/display.c : the right parameters for new_renderer_libart()
4874 * app/export_png.c : ported, removed the blind Display hack
4876 * app/makefile.msc lib/makefile.msc
4877 lib/Makefile.am : updated
4879 * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
4881 2002-10-06 Hans Breuer <hans@breuer.org>
4883 * plug-ins/pixbuf/pixbuf.c : (new file)
4884 there is a new export plug-in called 'Pixbuf' which uses
4885 DiaGdkRenderer to export to gdk-pixbuf supported bitmap
4886 formats (currently only PNG and JPEG).
4888 2002-10-06 Hans Breuer <hans@breuer.org>
4891 http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
4893 * lib/dia-enums.h lib/diatransform.[hc]
4894 lib/diarenderer.[hc] lib/diainteractiverenderer.c
4895 lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
4898 * lib/makefile.msc lib/makefile.am : added new files
4900 * lib/plug-ins.c : g_module_error() returns a locale
4901 string, convert to utf8 before further usage
4903 * lib/render.h : #error out. Everything including this
4905 * lib/*.[hc] : ported to new renderer api
4907 * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
4908 just to make the rest compile
4909 * app/render_eps.c : temporary disabled all of this
4910 * app/render_eps.h : removed RendererEPS
4912 * app/render_gdk.[hc] : a small wrapper around the new
4913 DiaGdkRenderer form lib/*
4915 * app/render_libart.h : removed RenderLibart definition
4916 * app/render_libart.c : not yet ported to new DiaRenderer
4917 but having an implementation to untie form FT2 dependency
4918 at least on win32. It is using new Pango api form bug #94791
4920 * app/render_pixmap.[hc] : a small wrapper around the new
4921 DiaGdkRenderer form lib/*
4923 * app/display.h : removed render_*.h includes
4924 * app/display.c : the only place where specific
4925 renderers need to be known
4927 * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
4928 use new DiaInteractiveRenderer interface
4930 * app/*.c : ported to new renderer api
4931 * object/*/*.c : ported to new renderer api
4932 s/render.h/diarenderer.h/
4933 s/Renderer/DiaRenderer/
4934 s/renderer->ops/renderer_ops/
4935 add in every draw method:
4936 DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
4938 * plug-ins/hpgl/hpgl.c :
4939 plug-ins/wmf/wmf.cpp
4940 plug-ins/wpg/wpg.c : ported to be DiaRenderer based
4941 * plug-ins/shape/shape-export.c
4942 plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
4943 (nice how small these files became :-)
4945 2002-09-28 Hans Breuer <hans@breuer.org>
4947 * */makefile.msc : updated
4949 * app/defaults.c : don't gdk_invalidate_rect(NULL)
4950 * app/disp_callbacks.c :
4951 can't cast GtkWindow to GdkWindow, use shell->window
4952 (ddisplay_unrealize) don't use already unrefed im_context
4954 can't cast from GtkMenu to GtkMenuItem
4955 (ddisp_destroy) : mark im_context as unrefed
4957 * lib/dia_xml (data_font) : prefer new font format over old one
4958 (data_add_font) : write the legacy name to allow file exchange
4959 with pre Pango versions of Dia, which would otherwise crash
4960 on missing font 'name' attribute.
4961 * lib/font.c (dia_font_get_legacy_name) : improved implementation
4962 to get a better match.
4964 * lib/libdia.def : updated
4966 * lib/messages.c : don't gdk_widget_show(NULL)
4968 * lib/prop_text.c : don't gtk_entry_set_text() with NULL string
4970 [make Dia compile, link _and_ work with mingw/gcc3.2]
4972 * config.h.win32 : #define LIBXML, this gets defined from libxml
4973 header but only for _MSC_VER. The mingw build did access an
4974 unitialized function pointer for xmlFree.
4976 * */makefile.mingw : updated (some plug-ins have build issues)
4978 * lib/handle.h lib/object.h : there appears to be no
4979 forward declaration of the form
4980 typedef enum _HandleId HandleId
4981 (at least not with GCC 3.2 for C++) ../lib/handle.h:22:
4982 use of enum `_HandleId' without previous declaration
4984 * app/paginate_gdiprint.cpp : added a hack to avoid g++
4985 naming conflict on 'export'
4987 * app/paginate_gdiprint.h : forward declare Diagram
4989 * objects/SADT/annotaion.c : use g_random_double()
4991 2002-09-26 Lars Clausen <lrclause@cs.uiuc.edu>
4993 * app/modify_tool.c: Made motion not happen until sufficiently
4994 large or past double-click interval, to avoid accidental moving
4995 when doubleclicking. Got the double-click time right, and fixed
4996 some issues with release. There are some corner cases that may
4997 exhibit strange behaviour, will look at those later. Nah, let's
4998 not care about those, they are rare and not dangerous.
5000 2002-09-26 Cyrille Chépélov <cyrille@chepelov.org>
5002 * app/layer_dialog.c:
5004 * plug-ins/dxf/dxf-import.c:
5005 * plug-ins/python/pydia-diagram.c:
5006 * lib/diagramdata.c:
5007 * lib/diagramdata.h:
5008 Improved the consistency of the obj->parent_layer backlinks (esp.
5013 * lib/dynamic_obj.[ch] (NEW):
5016 * app/dynamic_refresh.[ch] (NEW):
5017 * objects/Misc/analog_clock.c:
5018 Added support for dynamic refresh (animated objects).
5020 2002-09-25 Cyrille Chépélov <cyrille@chepelov.org>
5022 Patch from Owen Taylor <otaylor@redhat.com>:
5023 * doc/en/Makefile.am:
5024 * doc/en/dia-manual.sgml:
5025 * doc/en/usage-objects.sgml:
5026 * doc/en/usage-quickstart.sgml:
5027 * doc/pl/Makefile.am:
5028 * doc/pl/dia-manual.sgml:
5029 * doc/pl/usage-objects.sgml:
5030 * doc/pl/usage-quickstart.sgml:
5032 - Change the DTD declration from an outdated GNOME one to a
5035 - Remove close tags for <graphics> which aren't allowed for
5038 - A hacky fix for a problem where some versions of db2html don't
5039 create *.css files. (If *.css doesn't match anything, then you get
5040 the global explicitely.)
5044 2002-09-24 Cyrille Chépélov <cyrille@chepelov.org>
5046 * objects/custom/custom_object.c:
5047 * objects/custom/shape_info.[ch]: GE_TEXT display lists elements
5048 were never properly prepared for use when reloading a shape with
5049 <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
5050 reporting the problem and coming up with a fix! (Closes: #93974)
5052 * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
5053 the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
5056 * app/display.c: updated menu item paths Alan's patch had moved.
5058 * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
5059 load the sheet-provided icon (libpng versions mismatch, grrr.).
5062 * objects/Makefile.am:
5063 * objects/Misc/Makefile.am (NEW):
5064 * objects/Misc/libmisc.c (NEW):
5065 * objects/Misc/analog_clock.c (NEW):
5066 * objects/Misc/pixmaps/analog_clock.xpm (NEW):
5067 * sheets/Misc.sheet.in: just a little experiment...
5069 2002-09-23 Cyrille Chepelov <cyrille@chepelov.org>
5071 * plug-ins/xlst/Makefile.am: found a way to silence automake while
5072 not forcing everyone to build using libxslt.
5076 * lib/object_defaults.c:
5079 * lib/properties.[ch]:
5081 * objects/standard/box.c:
5082 * objects/UML/state_term.c:
5084 * objects/FS/flow-ortho.c:
5088 * app/diagram_tree.c:
5090 * app/disp_callbacks.c:
5093 * app/lineprops_area.c:
5095 * app/preferences.c:
5098 * app/sheets_dialog_callbacks.c:
5099 * plug-ins/xslt/xslt.c:
5100 * plug-ins/metapost/render_metapost.c:
5101 * plug-ins/xfig/xfig-export.c:
5102 * plug-ins/shape/shape-export.c:
5104 Killed most gcc-3.2 warnings (const-correctness and derived warnings,
5105 unused variables, mostly)
5108 * app/menus.c: enabled GTK Input Methods (thanks Lars!)
5110 * app/Makefile.am: modified run_dia.sh so that we recover the
5111 ability to run a debugger despite libtool's hacks.
5113 * plug-ins/dxf/Makefile.am:
5115 "make distcheck" fixes.
5117 2002-09-19 Lars Clausen <lrclause@cs.uiuc.edu>
5119 * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
5120 <mfranzoni@madd.it>: Check for the type being NULL.
5122 2002-09-16 Lars Clausen <lrclause@cs.uiuc.edu>
5124 * app/render_eps.c (set_font): Re-tweaked font size for printing.
5126 2002-09-12 Cyrille Chepelov <cyrille@chepelov.org>
5128 Patch from Angus Ainslie <angusa@deltatee.com>:
5129 * plug-ins/dxf/dxf-import.c:
5130 * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
5132 (plus a couple extra fixes by me, such as the removal of printf's,
5133 adapting for recent changes, and killed a couple warnings)
5135 * app/authors.h: a 60K patch isn't insignificant, is it?
5137 2002-09-09 Tor Lillqvist <tml@iki.fi>
5139 * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
5140 as before) and -lfreetype (using AC_CHECK_LIB). At least on
5141 Solaris with Sun's compiler (Forte C), you need to link also the
5142 dia application with -lfreetype, even if it is implicitly linked
5143 to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
5144 which is what they actually mean. Use FREETYPE_LIBS for
5147 Don't look for libsunmath if isinf() is not found in math.h (as on
5148 Solaris). The sunmath library is part of Forte C and not present
5149 on all machines. Besides, even if isinf was found in libsunmath,
5150 we didn't use it in the Makefile.am.
5152 Fix a couple of bashisms.
5154 AC_SUBST also Z_LIBS, need to link the dia application to -lz,
5155 too, on Solaris with Forte C.
5157 Don't try to use the gcc flags with other compilers.
5158 DIA_CHECK_CFLAG gives a false indication that Forte C understands
5159 the gcc -f switches, but in fact they get interpreted meaning
5160 something completely different.
5162 Define the automake conditional HAVE_CGC.
5164 * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
5166 Use -export-dynamic only with gcc.
5169 * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS ->
5170 PANGOFT2_CFLAGS rename.
5172 * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
5174 * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
5177 * lib/paper.c: Workaround for gccism: Can't use inline this way with
5180 2002-09-08 Cyrille Chepelov <cyrille@chepelov.org>
5182 * lib/text.c(set_string): fixed a memory leak (char* ain't no
5183 std::auto_ptr<char> !).
5186 * app/interface.[ch]:
5187 * app/ddisp_callbacks.[ch]: Added some basic support for input
5188 methods (GtkIMContext-based)
5191 * app/Makefile.am: made libdia a shared object (per Tor
5192 Lillqvist's suggestion/request), to cope for platforms with a less
5193 than par dynamic library loader.
5195 * app/display.c: disabled the input method menu (I really don't
5196 see where and how to put them. Blame Frozen Bubble )
5198 2002-09-06 Lars Clausen <lrclause@cs.uiuc.edu>
5200 * objects/flowchart/box.c (box_update_data): Made resizing
5201 possible again (only set width & height when resized too small).
5203 Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
5205 * app/disp_callbacks.c (ddisplay_canvas_events): Handle
5208 2002-09-05 Cyrille Chepelov <cyrille@chepelov.org>
5210 * app/authors.h: now showing Akira TAGOH's name in the native script.
5212 2002-09-01 Lars Clausen <lrclause@cs.uiuc.edu>
5214 * plug-ins/xslt/xslt.c: Removed glib warning for unset
5217 2002-09-01 Cyrille Chepelov <cyrille@chepelov.org>
5219 * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
5220 Mike Sowka <msowka@rogers.com>. This fixes a problem with the
5223 2002-08-31 Lars Clausen <lrclause@cs.uiuc.edu>
5225 * objects/UML/class.c: Fixed showing of empty stereotypes and got
5226 the string placed correctly.
5228 2002-08-30 Hans Breuer <hans@breuer.org>
5230 * lib/font.c (dia_font_get_style) : don't shift already
5231 shifted DIA_FONT values.
5233 * lib/libdia.def : updated externals
5235 * app/disp_callbacks.c : on win32 GdkEventKey::string already
5236 is in UTF-8. (Longterm this probably should be handled on the
5239 * app/command.[hc] app/display.[hc] app/menus.c : add code to
5240 switch display renderers again. The libart renderer is very
5241 useful for win9x with it's limited GDI.
5243 * app/render_gdk.c : use g_warning instead of printf which gets
5244 nowhere on win32 (non console apps)
5246 * app/render_libart.c : make it compile without FREETYPE
5248 * objects/makefile.msc plug-ins/makefile.msc : added clean target
5250 2002-08-29 Lars Clausen <lrclause@cs.uiuc.edu>
5252 * app/render_eps.c (postscript_draw_contour): Debugging statement
5253 that allowed me to figure out font problems.
5255 * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
5256 items for font styles.
5258 * objects/FS/flow-poly.c:
5259 * objects/FS/flow-ortho.c:
5260 * objects/FS/flow.c: Further conversion away from GTK dialogs.
5261 Can't set a default label right now:(
5263 * app/interface.c (fill_sheet_wbox): Added initialization for mask.
5265 2002-08-27 Cyrille Chepelov <cyrille@chepelov.org>
5266 Patch from Andrew Ferrier <andrew@new-destiny.co.uk>:
5268 * Makefile.am: rules relating to AUTHORS and THANKS
5270 * AUTHORS: file content changed to more accurately
5271 reflect guideline requirements.
5272 * TODO: warning added about Gnome BTS.
5273 * KNOWN_BUGS: warning added about Gnome BTS.
5277 * AUTHORS: added full copyright info.
5278 * mkauthors-placeholder: (removed)
5280 2002-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
5282 * app/paginate_psprint.c (print_page): Fixed text printing after
5283 tip from Dov Grobgeld.
5285 2002-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
5287 * app/paginate_psprint.c (print_page): Fixed color of clip
5290 2002-08-26 Cyrille Chepelov <cyrille@chepelov.org>
5292 * sheets/Makefile.am: enabled intltool-merge translation cache for
5296 * mkauthors-placeholder:
5297 * AUTHORS: revived that file (in a placeholder form) so that
5298 automake stops yelling.
5299 (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>)
5302 Heh, by the way, thanks Christophe. I feel better now.
5304 2002-08-25 Christophe Merlet <christophe@merlet.net>
5306 * app/command.c: Removed invalid multibyte sequence in Chepelov.
5308 2002-08-24 Lars Clausen <lrclause@cs.uiuc.edu>
5310 * lib/dia_image.c (dia_image_rgb_data):
5311 Bugfixes in image data retrieval.
5313 * app/render_eps.c: Refactoring of new_*_renderer.
5315 2002-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
5319 * lib/dia_image.c: Support for rowstride != width (odd width images)
5321 2002-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
5323 * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
5324 * plug-ins/xfig/xfig-import.c: Removed assertion.
5326 2002-08-18 Lars Clausen <lrclause@cs.uiuc.edu>
5328 * lib/paper.c: Removed app/preferences.h reference.
5330 2002-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
5332 * plug-ins/svg/svg-import.c:
5333 * plug-ins/xfig/xfig-import.c:
5334 * lib/Makefile.am (libdia_a_SOURCES):
5335 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
5337 * objects/standard/create.h:
5338 * objects/standard/polygon.c (polygon_create):
5339 * objects/standard/polyline.c (polyline_create):
5340 * objects/standard/beziergon.c (beziergon_create):
5341 * objects/standard/bezier.c (bezierline_create):
5342 Moving create.h into lib.
5344 2002-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
5346 * app/render_libart.[ch]: Work on PNG font export. Something's
5347 still fishy with the scaling, I don't get it.
5350 * app/interface.c: Replaced broken zoom combo with entry+menu.
5351 Now works beautifully. Removed WITHOUT_ZOOM_COMBO stuff.
5353 * app/render_gdk.c (get_text_width): Checks for validity of text.
5354 Temporary help while debugging input -- should only activate on
5357 * objects/SADT/annotation.c:
5358 * objects/GRAFCET/transition.c:
5359 * objects/FS/function.c: Removal of gtk.h include.
5361 * objects/UML/state.c (state_load): Warnings about using State
5362 object for initial/final states.
5364 * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
5366 2002-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
5368 * app/render_eps.c: Text rendering that scales correctly. Too bad
5369 the standard fonts don't get selected right.
5371 2002-08-09 Lars Clausen <lrclause@cs.uiuc.edu>
5373 * lib/diagramdata.h:
5374 * lib/paper.c (get_paper_info):
5376 * plug-ins/xfig/xfig-import.c:
5377 Committed before testing. I am so embarrased. This compiles, now
5378 that the includes are in the right order.
5380 * app/diagram.c (diagram_init):
5381 * app/app_procs.c (do_convert):
5382 * app/preferences.h:
5383 * lib/diagramdata.h:
5384 * lib/diagramdata.c (new_diagram_data):
5386 * lib/paper.c (get_paper_info):
5387 Moved new_diagram part of prefs into lib/diagramdata.h. More
5388 could be done in new_diagram_data() now.
5390 2002-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
5392 * app/render_eps.c: Better scaling of fonts at non-normal zoom.
5394 2002-08-07 Cyrille Chepelov <cyrille@chepelov.org>
5396 * configure.in: removed silly user-visible comment
5398 (actually, this is a dummy entry before I manually run nemo; for
5399 some dist-upgrade related reason, this morning's run aborted before
5400 the snapshots were created)
5402 2002-08-06 Lars Clausen <lrclause@cs.uiuc.edu>
5404 * objects/network/wanlink.c:
5405 * objects/network/bus.c:
5408 * objects/custom/custom_object.c:
5409 * objects/network/wanlink.c:
5410 * objects/flowchart/parallelogram.c:
5411 * objects/flowchart/ellipse.c:
5412 * objects/flowchart/diamond.c:
5413 * objects/flowchart/box.c:
5414 Removed GTK defaults stuff.
5416 * objects/UML/fork.c:
5417 * objects/UML/object.c:
5418 * objects/UML/lifeline.c:
5419 * objects/UML/branch.c:
5420 * objects/GRAFCET/transition.c:
5421 * objects/FS/function.c: Removed GTK include.
5423 * objects/FS/flow-ortho.c:
5424 * objects/FS/flow.c: Made the label behave again.
5425 Also removed GTK defaults stuff.
5427 2002-08-06 Hans Breuer <hans@breuer.org>
5429 * app/autosave.c : ported to GDir which is the improved
5430 cross platform replacement for <dirent.h>
5432 * app/makefile.msc : build autosave.obj
5434 * app/font.c : some (bad?) code calls
5435 dia_font_scaled_decent() not only with empty string but
5436 with NULL. Handle it gracefully.
5438 * lib/paper.c : don't depend on ../app. Although IMO
5439 this shouldn't be allowed on any platform it is only
5440 disabled for win32, where it simply doesn't work
5443 * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
5445 * objects/fs/flow.c : conditionalize debug spew, disabled
5446 and 'ported' to use g_print. Simple printf won't work with
5447 standard win32 gui apps, may even crash them.
5449 * plug-ins/makefile.msc : DISABLED svg-import cause it
5450 depends on ../objects/custom. This not only break the
5451 build for all non ELF systems but IMO also isn't acceptable
5452 from a design point of view. See dia-list mail on subject.
5454 * plug-ins/python/makefile.msc :
5455 plug-ins/python/python.c : remove all references to dirent
5457 2002-08-05 Cyrille Chepelov <cyrille@chepelov.org>
5459 * configure.in: added ro to ALL_LINGUAS
5463 * ../translation-graphs/transgraph.py: added support for fuzzy
5464 translations. Enlarged the graphs.
5466 2002-08-05 Lars Clausen <lrclause@cs.uiuc.edu>
5468 * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
5469 key events according to locale. No clue if this works for
5472 2002-08-04 Lars Clausen <lrclause@cs.uiuc.edu>
5474 * lib/text.c: Various UTF8 related fixes, in particular in
5475 deleting. Text_insert_char is fine, far as I can tell.
5477 * app/interface.c (create_display_shell):
5478 * app/commands.c: Now uses gtk_clipboard functions, for they are
5479 much simpler. Also handles Win32 clipboard. Non-ascii chars
5480 don't seem to get handled correctly by text_insert_char in
5483 * app/commands.c (received_selection_handler): Got utf8 handling
5484 on paste, and individual char handling out of commands.c. Pasting
5485 non-ASCII is still broken, somehow. It's all lib/text.c's fault.
5487 * lib/message.c (gtk_message_internal): Message dialog re-shown
5488 when new message appears. Maybe it should even move to top?
5492 * app/render_eps.c (create_eps_renderer): Fonts now lowercase
5493 (again) and case-insensitive.
5495 * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
5498 2002-08-02 Lars Clausen <lrclause@cs.uiuc.edu>
5500 * app/commands.c (edit_cut_text_callback):
5501 * lib/text.c (text_delete_all): Now functioning undo for text cut.
5503 * app/commands.c (edit_cut_text_callback): Now removes text.
5504 Undo is broken, though.
5506 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
5508 * app/diagram.c (diagram_update_menu_sensitivity):
5509 Making cut_text active.
5512 * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
5513 clipboard. Also removed AA callback.
5515 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
5517 * objects/chronogram/chronoref.c:
5518 * objects/chronogram/chronoline.c:
5519 * objects/SADT/annotation.c:
5520 * objects/SADT/arrow.c:
5521 * objects/SADT/box.c:
5522 * objects/GRAFCET/vergent.c:
5523 * objects/GRAFCET/vector.c:
5524 * objects/GRAFCET/step.c:
5525 * objects/GRAFCET/condition.c:
5526 * objects/GRAFCET/action.c:
5527 * objects/ER/participation.c:
5528 * objects/ER/relationship.c:
5529 * objects/ER/entity.c:
5530 * objects/ER/attribute.c:
5531 Removing unnecessary GTK references.
5533 2002-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
5535 * objects/standard/image.c:
5536 * objects/standard/textobj.c:
5537 * objects/standard/ellipse.c:
5538 * objects/standard/polygon.c:
5539 * objects/standard/beziergon.c:
5540 * objects/standard/box.c:
5541 Making default default properties.
5543 * objects/standard/image.c:
5544 * objects/standard/arc.c:
5545 * objects/standard/box.c:
5546 * objects/standard/zigzagline.c:
5547 * objects/standard/polyline.c:
5548 * objects/standard/line.c:
5549 * objects/standard/ellipse.c:
5550 * objects/standard/polygon.c:
5551 * objects/standard/beziergon.c: Removing vestigal GTK stuff.
5553 * lib/object_defaults.c (dia_object_default_create):
5556 * lib/object.c (object_copy_using_properties):
5557 * lib/propdialogs.c:
5558 * lib/propinternals.h:
5559 * lib/propobject.c (object_create_props_dialog)
5560 (object_copy_props):
5561 Removing the standard (toolbox) properties from defaults dialogs.
5563 2002-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
5565 * lib/font.c (dia_font_scaled_string_width)
5566 (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
5568 * lib/text.c (text_calc_boundingbox): Take descent into account.
5570 * objects/standard/bezier.c (bezierline_draw):
5571 * lib/render.c (draw_bezier_with_arrows):
5572 Better arrow drawing for beziers. Doesn't change the mouse-click
5575 * lib/arrows.h: Some const-ness.
5577 * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
5579 * lib/render.c (draw_arc_with_arrows):
5580 * objects/standard/arc.c (arc_draw): Better arrow drawing for
5581 arcs. Doesn't change the mouse-click area yet.
5583 * app/menus.c: Forgotten fix: Redraw menu item for non-Gnome.
5589 2002-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
5591 * app/group.c (group_draw): Forgotten commit: Groups to draw as
5592 objects (using default routines).
5596 * lib/diagramdata.h:
5597 * lib/diagramdata.c (layer_find_closest_connectionpoint):
5598 * objects/standard/zigzagline.c (zigzagline_move_handle):
5599 * app/diagram.c (diagram_find_closest_connectionpoint):
5600 * plug-ins/python/pydia-diagram.c
5601 (PyDiaDiagram_FindClosestConnectionPoint):
5602 * app/object_ops.c (object_connect_display)
5603 (object_find_connectpoint_display)
5604 * app/create_object.c (create_object_button_press)
5605 (create_object_motion):
5606 * app/modify_tool.c (modify_motion):
5607 Adding object param to allow connectionpoint and handle coinciding.
5609 * objects/standard/zigzagline.c (zigzagline_check_orientation):
5610 Fixing minor problems.
5612 * objects/standard/ellipse.c (ellipse_update_data):
5613 Added direction hints.
5615 * lib/diagramdata.c:
5618 * lib/diagramdata.h:
5619 * objects/standard/zigzagline.c:
5620 First working example of zigzagline hints, currently only between
5623 2002-07-27 Steffen Macke <sdteffen@web.de>
5625 * plug-ins/svg/render_svg.c: added support for rounded
5626 rectangles (fixes #69053 if compile with
5628 * object/custom/shape_info.[c|h]: made parse_style and
5629 parse_path accessible for svg plug-in
5630 * plug-ins/svg/Makefile.am:
5631 * plug-ins/svg/svg.c:
5632 * plug-ins/svg/svg-import.c(new): added SVG import filter
5634 2002-07-27 Lars Clausen <lrclause@cs.uiuc.edu>
5636 * objects/standard/box.c:
5637 * objects/standard/zigzagline.c (zigzagline_move):
5638 More work on zigzagline hints.
5640 2002-07-26 Lars Clausen <lrclause@cs.uiuc.edu>
5641 * lib/connectionpoint.h:
5642 Hints for zigzaglines.
5644 * app/properties.c (properties_show):
5645 * app/defaults.c (defaults_show):
5647 * lib/propobject.c (object_create_props_dialog):
5649 * objects/FS/flow-poly.c:
5650 * objects/network/wanlink.c:
5651 * objects/network/bus.c:
5652 * objects/UML/class.h:
5653 * objects/UML/class_dialog.c:
5654 * objects/UML/association.c:
5655 Start of removing toolbox props from props dialogs.
5659 * app/lineprops_area.c (dia_arrow_chooser_new):
5660 * lib/arrows.c: Two new arrows: Concave, filled and blanked.
5662 * app/create_object.c:
5663 * app/modify_tool.c:
5668 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
5670 * app/preferences.c:
5672 * app/diapagelayout.c:
5673 New prefs selector kind PREF_CHOICE chooses between a list of
5674 strings. Used for picking default paper.
5676 * app/preferences.c (prefs_data):
5677 * lib/paper.c (get_paper_info): Added prefs setting for
5680 * lib/render.c (draw_polyline_with_arrows): Handles degenerate
5681 line segments at the ends (bug #86603).
5683 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
5685 * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
5686 #60324: Now calls update_data after copy.
5688 * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
5689 Now doesn't steal selection from non-object tools.
5691 2002-07-24 Lars Clausen <lrclause@cs.uiuc.edu>
5693 * app/commands.c (help_manual_callback): Uses BROWSER environment
5694 variable when available.
5696 2002-07-23 Lars Clausen <lrclause@cs.uiuc.edu>
5698 * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
5699 object from the new sheet when changing.
5701 * app/app_procs.c (app_init): Uses more standard size icon, from
5702 patch #56433. Keeping old icon as dia_gnome_icon_large.png.
5704 2002-07-22 Lars Clausen <lrclause@cs.uiuc.edu>
5706 * objects/UML/implements.c (implements_update_data):
5707 * objects/UML/realizes.c (realizes_update_data):
5708 * objects/UML/dependency.c (dependency_update_data):
5709 Test for null strings before calling on ascent.
5711 * objects/UML/realizes.c (realizes_draw):
5712 * objects/UML/message.c (message_draw):
5713 * objects/UML/generalization.c (generalization_draw):
5714 * objects/UML/dependency.c (dependency_draw)
5715 * objects/UML/constraint.c (constraint_draw):
5716 * objects/GRAFCET/condition.c (condition_draw):
5717 * objects/UML/association.c (association_draw):
5718 * objects/FS/flow-ortho.c (orthflow_draw):
5719 * objects/FS/flow.c (flow_draw): Change to use
5720 draw_foo_with_arrows. Pretty pretty arrows. Yay me!
5723 * lib/arrows.c (calculate_arrow_point):
5726 * objects/standard/zigzagline.c:
5727 * objects/standard/polyline.c:
5728 * objects/standard/line.c: Work towards better arrow drawing.
5730 2002-07-21 Lars Clausen <lrclause@cs.uiuc.edu>
5732 * objects/UML/state.c: Starting phase-out of State object as
5733 initial/final state (which never worked right).
5735 * app/app_procs.c (app_init): --version command line option for
5738 * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
5740 2002-07-19 Lars Clausen <lrclause@cs.uiuc.edu>
5742 * app/render_eps.c: Removed debugging info.
5744 * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
5745 Kludge to make ascent and descent work for empty strings. Won't
5746 work when using non-ASCII fonts. Better would be to get a
5747 PangoFont and ask directly.
5749 * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
5752 * app/render_gdk.c (get_text_width): Fixed use of wrong string.
5755 2002-07-18 Lars Clausen <lrclause@cs.uiuc.edu>
5757 * plug-ins/xfig/xfig-export.c: First use of draw_object render
5758 function: All shapes are now groups in XFig export.
5760 * lib/diagramdata.c (normal_render):
5763 * app/display.c (ddisplay_obj_render):
5764 New render function for drawing objects, allows renderers to group
5765 or otherwise specially handle objects. We may want to reconsider
5766 calling it in app/display.c, as we 'know' the object draw function
5767 is the default one there.
5769 * lib/Makefile.am: Removed extra \ that broke stuff.
5771 * plug-ins/xfig/xfig-import.c:
5772 Spline import for xfig. Not perfect.
5774 * objects/standard/create.h:
5775 * objects/standard/bezier.c (bezierline_create):
5776 * lib/bezier_conn.c:
5777 * lib/beziershape.c (beziershape_set_points):
5778 * lib/bezier_conn.h:
5779 * lib/beziershape.h:
5780 Support for creating beziers non-interactively.
5782 2002-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
5784 * plug-ins/xfig/xfig-import.c: Support for polygons and
5785 polylines. Special warning handling system removed.
5787 * lib/message.c (gtk_message_internal): Fixed bug involving
5788 closing message window and then getting repeated message.
5792 * configure.in (GETTEXT_PACKAGE):
5793 Update based on bug #88199. Hopefully this doesn't break too much
5796 * dia.desktop.in (_Comment): Changed after suggestion from
5797 calum.benson@ireland.sun.com (bug 88345)
5799 * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
5800 <loli@unsa.edu.ar> that makes user/system distinction better.
5802 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
5804 * app/render_libart.c: Got the context right, removed crashes.
5814 Remove libart #defines from most places (still around for png export).
5816 * app/render_libart.h:
5817 * app/render_libart.c:
5818 * configure.in (HAVE_LIBART):
5819 Starting on update of libart stuff for png export (without X).
5821 * app/autosave.h (autosave_check_autosave):
5824 * app/Makefile.am (dia_core_files):
5826 * app/diagram.c (diagram_set_modified):
5828 * app/app_procs.c (app_init):
5829 Autosave support. No automatic restore yet.
5831 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
5833 * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
5836 2002-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
5838 * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
5840 2002-07-15 Andrew Ferrier <andrew@new-destiny.co.uk>
5842 * Fix for 'make dist' etc. --- problem caused by
5843 previous AUTHORS patch.
5845 2002-07-14 Lars Clausen <lrclause@cs.uiuc.edu>
5847 * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
5849 (set_font): NULL check.
5851 2002-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
5853 * app/disp_callbacks.c:
5855 Addition to the object menus allows check menu items.
5857 2002-07-11 Andrew Ferrier <andrew@new-destiny.co.uk>
5859 * HACKING: completely changed to bring up-to-date.
5860 * AUTHORS: file needs REMOVING from CVS as now
5861 dynamically generated.
5862 * app/authors.h: split into subcategories for original
5863 authors, maintainers, etc.
5864 * app/app_procs.c: --credits rewritten to support new
5866 * app/commands.c: no changes to about box code, comment
5868 * Makefile.am: added rule for AUTHORS. I'm still
5869 inexperienced with automake, it seems to work, but
5870 for AUTHORS-related bugs, look at this change first.
5872 2002-07-10 Lars Clausen <lrclause@cs.uiuc.edu>
5874 * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
5875 work. Back to including xslt dir always.
5877 * objects/UML/uml.c:
5878 * objects/UML/class.h:
5879 * objects/UML/class_dialog.c:
5880 * objects/UML/class.c: Patch from
5881 <mattam@netcourrier.com>: Adds comment visibility switch, also
5884 Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
5885 for state/fork/activity stuff.
5886 * objects/UML/state.c: Removed old draw_rounded_rectangle code.
5887 * objects/UML/Makefile.am:
5888 * objects/UML/uml.c:
5889 * sheets/UML.sheet.in: Added new objects activity, fork,
5891 * objects/UML/pixmaps/state_term.xpm:
5892 * objects/UML/state_term.c: New, only initial/final states.
5893 * objects/UML/pixmaps/activity.xpm:
5894 * objects/UML/activity.c: New, activity state.
5895 * objects/UML/pixmaps/fork.xpm:
5896 * objects/UML/fork.c: New, fork/join bar.
5897 * objects/UML/pixmaps/state.xpm: state icon.
5901 * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
5902 <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
5905 2002-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
5907 * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
5910 * app/Makefile.am: Commented out the diaconv parts while it's not
5911 used anyway. To come back later.
5913 * configure.in (HAVE_FREETYPE):
5916 * app/render_eps.c: Support for printing with freetype, better
5917 encapsulated now. Renders the text nicely, but ignores font
5918 setting. Requires pangoft2 to get the font outline, but non-text
5919 objects can still be rendered without it.
5922 * app/commands.c (objects_place_up_callback)
5923 (objects_place_down_callback):
5925 * app/diagram.c (diagram_place_down_selected)
5926 (diagram_place_up_selected): Starting support for moving objects
5929 * app/menus.c: Removed character/numeral shortcuts.
5931 2002-07-06 Hans Breuer <hans@breuer.org>
5933 * makefile.am app/makefile.am lib/makefile.am
5934 objects/makefile.am plug-ins/makefile.am
5935 plug-ins/python/makefile.am :
5936 added required files for win32 build to EXTRA_DIST
5938 * app/paginate_psprint.c app/render_eps.c
5940 wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
5941 on Pango as currently is on win32 => no PostScript
5944 * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
5945 use '/* noop */;' for empty case labels; replace
5946 debug spew printf with g_print which is guaranteed
5947 to work on win32, too.
5949 * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values
5950 for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed
5951 in the pango_font_description_set_weight() api documentation
5952 Take care for them in dia_font_get_style() too.
5954 * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
5955 plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
5956 rename Obliquity to Slant which appears to be the usual name,
5957 also rename dia_font_get_style_string -> dia_font_get_slant_string
5959 * plug-ins/wmf/wmf.cpp : finally ported to new font api
5961 * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
5963 * objects/uml/association.c class.c large_package.c message.c
5964 if g_free() is used g_strdup needs to be used.
5965 * objects/custom/shape_info.c
5966 objects/ER/attribute.c entity.c
5967 objects/standard/image.c
5968 app/sheets_dialog_callbacks.c : more strdup cleaning
5970 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
5972 * app/render_eps.c: Non-crashing printing (made the right
5973 context). Font output still fscked up.
5975 2002-07-05 Andrew Ferrier <andrew@new-destiny.co.uk>
5977 * app/authors.h: Added file --- now master
5978 location for contributors data.
5979 * app/app_procs.c: Added --credits option.
5980 * app/commands.c: Modified about box to use
5983 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
5985 * app/render_eps.c: First stab at EPS rendering using the contour
5986 code from PAPS. Crashes.
5988 2002-06-30 Lars Clausen <lrclause@cs.uiuc.edu>
5990 * app/recent_files.c (recent_file_history_remove):
5991 Fixed call to g_list_delete_link discarding return value.
5993 * lib/widgets.c (dia_font_selector_set_styles):
5994 * lib/font.h (DiaFontWeight):
5995 * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
5997 2002-06-30 Cyrille Chepelov <cyrille@chepelov.org>
5999 Contribution from Alan Horkan <horkana@tcd.ie>:
6002 * sheets/Assorted.sheet:
6003 A set of 40 assorted geometric shapes.
6005 * sheets/Assorted.sheet.in:
6006 * sheets/Makefile.am
6007 * shapes/Assorted/Makefile.am:
6008 * shapes/Makefile.am:
6011 Done the integration job of Alan's shapes. (Translators: have fun!)
6013 * po/dia.pot: refreshed the main potfile.
6015 2002-06-28 Cyrille Chepelov <cyrille@chepelov.org>
6017 Patch from Tim Ellis <Tim.Ellis@gamet.com>:
6019 * objects/UML/class.[ch]:
6020 * objects/UML/class_dialog.c:
6021 changed the number of connection points from a hardcoded value of
6022 8 to a #defined constant
6024 (I changed the constant back from 20 to 8, until we better know
6025 how we'll handle more connection points on the UML class in the
6026 future -- but Tim's patch is a welcome clean-up).
6028 2002-06-26 Cyrille Chepelov <cyrille@chepelov.org>
6030 * shapes/MSE/demultiplexer.xpm:
6031 * shapes/MSE/node_center.xpm:
6032 * shapes/MSE/multiplexer.xpm:
6033 * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
6034 Horkan <horkana@tcd.ie>
6036 2002-06-25 Lars Clausen <lrclause@cs.uiuc.edu>
6038 * lib/widgets.c: Total rehash of font selector, with font dialog
6039 option, expanding list (not LRU yet), and stuff.
6041 2002-06-25 Cyrille Chépélov <cyrille@chepelov.org>
6045 Added a set of new setter/getters, some of them more specially for
6048 * plug-ins/shape/shape-export.c: (new_shape_renderer),
6049 (destroy_shape_renderer), (set_font), (draw_string):
6050 * plug-ins/svg/render_svg.c: (new_svg_renderer),
6051 (destroy_svg_renderer), (set_font), (draw_string):
6053 Actually exported the font face, style, weight and size (sodipodi
6054 agrees with dia on how a small sample should look like (a sample
6055 0.90 would not even display anyways). Yay !)
6057 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
6059 * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
6061 (end of ChangeLog-less patch)
6063 * objects/custom/shape_info.c (parse_style): now understands the
6064 font-style and font-weight attributes as well. Does not use
6065 anymore dia_font_new_from_legacy_name().
6067 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
6069 * objects/standard/textobj.c: Now uses stdprops for defaults.
6071 * lib/font.h: Changed order of DiaFontWeight entries. Sorry.
6072 * lib/font.c (dia_font_get_style): Style now linear and conversion
6075 * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
6078 2002-06-24 Cyrille Chepelov <cyrille@chepelov.org>
6080 * plug-ins/dxf/dxf-import.c:
6081 using dia_font_new_from_style()
6083 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
6085 * objects/UML/class.[ch]: Added a comment field to class
6086 * objects/UML/uml.[ch]: Added a comment field to attributes,
6087 operations and parameters.
6088 * objects/UML/class_dialog.c: Added code for the new comment
6090 * plug-ins/xslt/*.xsl: Added some code to handle comments.
6091 * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
6092 Added a $directory parameter for stylesheets so the output is
6093 in the good place (not in the $PWD).
6097 * AUTHORS: added contributors, updated maintainers. Removed the
6098 specific areas of action.
6100 * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
6101 from a patch by Xing Wang <quixon@gnuchina.org>:
6103 * app/commands.c: help_about_callback now supports
6104 new-style GNOME about box as well as old GTK style.
6105 code also tidied (Closes: #85726)
6109 * app/commands.c: fixed the copyright (it's not all FSF), and
6110 maintainers. Synced contributors list with AUTHORS.
6112 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
6114 * lib/message.c: More work on repeating messages, now with
6117 2002-06-24 Hans Breuer <hans@breuer.org>
6119 * lib/widget.c : some more bits in place, at least
6120 it does something useful instead of crashing. Much
6121 better - but not all ok :-)
6123 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
6125 * lib/message.c (gtk_message_internal): First stab at repeating
6128 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
6131 * objects/GRAFCET/*.c:
6133 * objects/UML/association.c: (one instance forgotten)
6134 * objects/UML/large_package.c:
6135 * objects/standard/textobj.c:
6138 using dia_font_new_from_style()
6140 2002-06-23 Hans Breuer <hans@breuer.org>
6142 * lib/font.c : giving some love to
6143 dia_font_new_from_legacy_name() that is making
6144 import of old files as painless as possible and
6145 provide an almost exact match where possible.
6146 It does not yet fully work because it interfers
6147 with the Style to DiaStyle conversion which comes
6150 [Changing these files is only allowed with Dia-0.90]
6151 * broken-files/fonts-0.90.dia : including the
6152 common hard-coded fonts from Dia-0.90. It also
6153 has drawn bounding-boxes for win32 as they were calculated
6154 from the former version (they were all too big).
6155 * broken-files/fonts-0.90-full.dia : all hardcoded
6156 fonts including the asian versions. On my machine
6157 this gives _a lot_ complaining about missing fonts
6158 and a finally a broken file display. Anyone having
6161 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
6163 * objects/chronogram/*.c:
6164 * objects/custom/custom_object.c:
6166 using dia_font_new_from_style()
6168 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
6170 * lib/widgets.c (dia_font_selector_set_styles): Improvements to
6171 font selector (stability, insensitivity).
6173 * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
6174 stretching scheme for tweaking, and made scaling scheme faster
6176 (dia_font_dia_style_to_pango): Oops, % != /.
6178 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
6181 * patch from Matthieu Sozeau <mattam@netcourrier.com>:
6183 * plug-ins/xslt : Added an XSLT plugin to export dia files using
6184 XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
6185 It includes a small config file to tell it what stylesheets to use.
6189 * plug-ins/xslt/xsltdialog.c: modified the dialog to be more
6190 GTK2.0/HIG compliant (the labels could be slightly more verbose,
6191 perhaps). Added back a couple forgotten _(). Removed //-style
6194 2002-06-23 Hans Breuer <hans@breuer.org>
6197 (dia_plugin_get_name) : don't crash plugin_manager
6199 (dia_plugin_load) : reuse the description field to
6200 store the error string if loading fails.
6202 * lib/font.[hc] : starting to beautify the new
6203 font api: proper namespacing, adding convenience
6204 functions like dia_font_new_from_style(), ...
6206 * objects/uml/*.c : use the new convenience functions.
6208 [Next thing I plan to do is changing the other font
6209 functions to take DiaStyle and make Style and
6210 BASIC_*_FONT vanish. As well as giving some love to
6211 dia_font_new_from_legacy_name().
6212 If anyone want's to help on converting the other
6213 objects to the new api during that, I would highly
6216 2002-06-23 Hans Breuer <hans@breuer.org>
6218 * lib/font.c : made it compile and small indent fixes.
6219 Is there a code-has-no-effect-so-needs-not-be-valid
6222 * lib/widgets.c : use g_strcasecmp
6224 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
6228 * lib/widgets.c: Font names sorted, style selector widget
6229 reappeared. Doesn't select the old style yet.
6231 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
6233 * lib/font.c: one who expects a text's font to be changed shall
6234 actually request the attributes to apply to the whole range of the
6237 * lib/font.c: extents computation was wrong.
6239 * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
6240 if a last NULL parameter is added...
6242 * lib/font.c: extents computation was completely wrong. This looks
6243 much better this time.
6245 * objects/UML/class.c: fixed the various strings positions.
6247 * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
6248 macros to get the hardcoded base fonts.
6250 * objects/ER/relationship.c: wasn't converted to DiaFont*
6252 2002-06-22 Hans Breuer <hans@breuer.org>
6254 * lib/widget.c : dont use backend specific functions
6255 to get on the font_families. Including it would mean
6256 including <windows.h> which breaks due to namespace
6259 * lib/libdia.def : updated externals
6261 * app/makefile.msc : temporary disabled: -DHAVE_LIBART
6263 * lib/font.c : added empty dia_font_init_instance function,
6264 reformatting of dia_fon_unref to allow to set breakpoint,
6265 dia_fon_build_layout() : dont crash on string==NULL
6267 * lib/text.c (text_set_attributes) : don't unref the wrong font
6269 * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
6270 stores lowercased font names, but dia_font_get_family()
6273 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
6276 * app/render_gdk.c: Patch from Hans Breuer.
6278 * app/Makefile.am (dia_core_files): diaconv commented out for now.
6280 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
6282 * lib/all files touched yesterday: took into account some of Hans
6284 http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
6286 * objects/chronogram/*:
6289 * objects/flowchart/*:
6291 * objects/GRAFCET/*:
6293 * objects/standard/textobj.?:
6295 converted to the new DiaFonts.
6298 * plug-ins/pstricks/*:
6302 Made minimalistic conversions so that they'd at least compile.
6305 * app/render_pixmap.c:
6306 Converted to the new DiaFonts.
6311 made the minimal changes so that it would at least build.
6313 *** At this point, the thing builds on my machine, but segfaults
6316 2002-06-21 Cyrille Chepelov <cyrille@chepelov.org>
6318 * configure.in: removed the backend-specific pango pkg_modules
6319 (trivial to add back if needed, when actually needed)
6322 * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
6323 renderer. The APIs will have completely changed when we get around
6324 to redo a renderer for it, anyways.
6326 * font.[ch]: rewrote everything from scratch, with a Pango
6327 implementation. Normally, only backend-neutral things should go in
6330 **WARNING**: new rules for managing DiaFont* pointers: these are
6331 reference-counted GObjects. One >must< diafont_ref() and
6332 diafont_unref() as appropriate. I wish I could overload operator=()...
6334 lib/plug-ins.h: bumped up the plug-in API.
6339 lib/object_defaults:
6340 lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
6341 again tomorrow with GObject.
6343 lib/widgets.c: Adapted to the new DiaFont API and to Pango.
6345 **** The rest of the tree should be updated as well ****
6347 2002-06-21 Lars Clausen <lrclause@cs.uiuc.edu>
6351 * app/render_pixmap.c:
6352 * app/render_pixmap.h:
6353 * app/render_libart.h:
6354 * app/render_libart.c:
6356 * lib/font.c: Removed freetype stuff (still around in
6357 lib/widgets.c 'cause we might want the font selector widget).
6359 2002-06-20 Cyrille Chepelov <cyrille@chepelov.org>
6361 * shapes/network/laptop.(xml|shape):
6362 * sheets/network.sheet.in: added Laptop (notebook) PC shape,
6363 contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
6365 2002-06-17 Hans Breuer <hans@breuer.org>
6367 * lib/object_defaults.c : #include <libxml/tree.h> not
6368 <tree.h> pointed out by Xing Wang
6370 2002-06-17 Lars Clausen <lrclause@cs.uiuc.edu>
6372 * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK):
6374 * app/color_area.c: Update to
6375 gtk_color_selection_*_current_color() fixed bad crash issues, plus
6376 updated color conversions.
6378 * sheets/ER/weakentity.xpm: Accepted patch from
6379 quixon@gnuchina.org to make icon match actual appearance.
6381 * app/recent_files.c: Fixed GNOME recent file problem, thanks to
6382 quixon@gnuchina.org.
6384 2002-06-16 Hans Breuer <hans@breuer.org>
6386 * lib/plug-in.[hc] : make PlugInInfo opaque again in the
6387 good tradition of information hiding. Add new function
6388 dia_plugin_get_symbol()
6389 * app/sheets.c app/sheets_dialog_callbacks.c : use it
6391 * app/sheets.c : stop complaining about object_get_type()
6392 returning NULL. This is a consequence of e.g. disabling
6393 plug-ins at runtime _and_ it was and is gracefully handled.
6394 Spitting out g_warning for it isn't appropriate.
6396 * lib/object.[ch] : removed dead code
6398 * app/plugin-mangager.c : almost complete rewrite for gtk2
6399 using GtkListStore/GtkTreeView
6401 * lib/libdia.def : updated externals
6403 * todo.gtk2 : updated, that is removed already done steps
6405 2002-06-15 Hans Breuer <hans@breuer.org>
6407 * objects/uml/class_dialog.c : clean some left-over
6408 utf8-mess, return 0 from "focus_out_event" handlers
6409 to avoid asserting in gtk (#78305). Reconstruct
6410 stereotype/NULL behaviour to avoid rendering empty
6411 stereotypes on classes and member functions
6413 [#56109 - Provide object defaults for StdProp objects,
6414 some remaining issues are discussed in bugzilla]
6416 * lib/object_defaults.c : (new file) manage default properties
6417 of dia objects. The serialization is done with standard
6418 object methods in a diagram compatible format.
6420 * lib/object.c : add object_registry_foreach() which allows
6421 to iterate over all registered object types
6423 * lib/object.h : added prototypes object_default*() and
6424 object_registry_foreach()
6426 * lib/makefile.am lib/makefile.msc : add new file to build
6428 * lib/libdia.def : export new functions
6430 * app/defaults.c : provide StdProp based defaults if the
6431 ObjectType doesn't implement it's own default functions
6433 * app/create_object.c : through dia_object_default_create()
6434 * app/disp_callbacks.c : same here
6436 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
6438 * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
6439 sensitivity for deleting segments.
6441 2002-06-12 Cyrille Chépélov <cyrille@chepelov.org>
6443 * app/color_area.c: (color_area_events):
6444 * app/diagram.c: (diagram_destroy):
6445 * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
6447 * app/load_save.c: (diagram_data_load):
6448 * app/menus.c: (menus_get_item_from_path):
6449 * app/preferences.c: (prefs_load):
6450 * app/render_gdk.c: (get_text_width):
6452 * lib/color.c: (color_convert):
6453 * lib/dia_dirs.c: (dia_config_filename):
6454 * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
6455 * lib/intl.c: (intl_get_language_list):
6456 * lib/message.c: (message):
6458 * lib/paper.c: (get_default_paper):
6459 * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
6460 * lib/widgets.c: (dia_file_selector_get_file):
6462 * objects/standard/image.c: (get_directory):
6466 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
6468 * ChangeLog: Fixed bad UTF-8 mess. Apologies.
6470 2002-06-11 Lars Clausen <lrclause@cs.uiuc.edu>
6472 * app/interface.c: sscanf now returns EOF on empty string, so
6473 handle no match for zoom factor better => correct zoom at start.
6475 * app/sheets.c (create_object_pixmap): Tried to display empty error.
6476 (sheets_optionmenu_create): Died when not finding specified
6477 sheet. Don't think it should.
6479 * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
6480 (bug #84367) to place the text better.
6482 2002-06-11 Cyrille Chepelov <cyrille@chepelov.org>
6484 * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
6486 * app/commands.c: Removed unnecessary gnome include. Removed
6487 GNOME-Print support.
6489 * app/menus.h: Removed now unnecessary gnome include.
6491 * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
6492 GNOME-specific stock buttons
6494 2002-06-09 Hans Breuer <hans@breuer.org>
6496 * app/app_procs.c : convert 'Modified diagrams exits'
6497 dialog to use GtkMessageDialog. That gives us:
6498 - icons without Gnome dependency
6499 - much less code, also cross platform
6500 - improved useability ?
6502 * app/color_area.c : the Color Selection Widget looked
6503 quite wrong (alpha problems). Fix it by merging in required
6504 changes stolen from The Gimp cvs
6505 * app/color_area.h : to get the right appearance the maskes
6506 needed to be taken into account
6507 * app/interface.c : adapt to color_area_create changes.
6508 Also remove some dead code and finally remove cvs autexpansion,
6509 I was bothered enough by irrelevant differences :-)
6511 * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
6512 api, i.e stocks and response to make the GnomeDialog usage
6513 obsolete. Also fixed the issue with closing the 'parent'
6514 before closing the dialog
6516 * app/display.[ch] : removed some dead code and conversion
6517 to new GtkDialog api. Also trying to conform to new HIG
6518 standard http://developer.gnome.org/projects/gup/hig/
6520 2002-06-09 Hans Breuer <hans@breuer.org>
6522 * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
6525 * lib/dia_image.c : gtk_widget_set_default_visual()
6526 remove. It does nothing with Gtk2.
6528 * lib/libdia.def : added ps_unicoder exports
6530 * lib/message.c : remove #GNOME use GtkMessageDialog.
6531 Yeah, Dia gets dialogs wit icons cross-platform.
6533 * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
6534 to gtk_spin_button_get_value()
6536 * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
6538 add #undef GTK_DISABLE_DEPRECATED to still use ...
6539 * lib/prop_text.c : ... GtkText
6540 * lib/prop_widgets.c : ... GtkList
6541 * lib/prop_dialogs.c : ... gtk_signal_connect and more
6542 * lib/widgets.c : ... (too much to list here)
6544 * lib/ps-utf8.c : #include <string.h>
6546 2002-06-08 Cyrille Chepelov <cyrille@chepelov.org>
6549 * Makefile.am: Adapted for gtk2.
6550 Removed dependencies on libunicode, on iconv(), on langinfo().
6552 * acconfig.h: removed (now obsolete)
6554 * lib/charconv.[ch]: removed (superceded by glib)
6555 * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
6557 * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
6558 libunicode types for their glib counterparts. Fixed the include
6559 paths for libxml2. Removed all traces of libxml1 or non-UTF8
6560 support (there were remains in objects/uml).
6563 2002-06-08 Hans Breuer <hans@breuer.org>
6565 */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
6566 only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
6567 Also use g_strdup()'s handling of NULL by returning NULL
6568 again at all places I found (remove unnecessary if's)
6570 * todo.gtk2 : new file to keep notes about gtk2 porting,
6571 further issues and thoughts and some status information.
6572 Also sent to dia-list ('Dia goes Gtk2 ...').
6574 [make it compile with GTK+ 2.0]
6576 * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
6577 removed definition of S_ISDIR, S_ISREG and getlogin
6579 * */makefile.msc : Use GTK2 and libxml2
6580 BEWARE: makefile.am, configure.in not yet ported !
6582 * app/app_procs.c app/diagram.c : remove
6583 gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
6584 but set use gtk_menu_set_accel_path() on menu creation
6586 * app/color_area.c lib/widgets.c :
6587 make use of gtk_color_selection_set_has_palette ()
6589 * app/commands.c : gdk_pixbuf_new_from_file wants an
6590 extra argument. Convert from DIR to GDir usage.
6592 * app/diagram_tree.c(button_press_callback) : need to return
6593 FALSE in the signal handler to let gtk process it further.
6594 (get_object_name) : don't leak 'prop'
6596 * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
6597 dia_page_layout_destroy() getting called more than once
6599 * app/diaunitspinner.c : GtkEditable -> GtkEntry,
6602 * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
6604 * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
6605 IIRC this code will not compile unchanged when USE_XIM is defined ...
6607 * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
6609 * app/interface.c : there is no widget->klass anymore in Gtk,
6610 use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
6611 parameter. Some tweaking of GtkWrapBox usage to get four tools in
6613 switch off GTK's double buffering on Dia's canvas. Otherwise we would
6614 get triple buffering and flicker.
6615 Replace call to GTK private function _gtk_accel_group_attach()
6616 with public gtk_window_add_accel_group()
6618 * app/layer_dialog.c : adapt to GtkTypeInfo changes
6620 * app/load_save.c lib/plug-ins.c lib/sheet.c
6621 objects/custom/custom.c :
6622 simplified by using g_file_test()
6624 * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
6625 to gtk_accel_map_<save|load>. Also added common stock-icons
6628 * app/preferences.c : use gtk_button_set_label() instead
6629 of button->child which is gone. Also removed GLIB_CHECK_VERSION.
6631 * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
6632 #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
6635 * app/recent_files.c : removed GLIB_CHECK_VERSION
6638 plug-ins/metapost/render_metapost.c
6639 plug-ins/pstricks/render_pstricks.c
6640 plug-ins/svg/render_svg.c :
6641 replace getlogin() with g_get_user_name() which always
6644 * app/render_gdk.c : gdk_region_union_with_rect() modifies
6645 inplace now and returns nothing, also less #hell
6647 * app/render_libart.c : some initial #hell cleaning, SuckFont
6648 still needs to vanish
6650 * app/splash.c : gdk_pixbuf_new_from_file() second arg and
6651 GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
6653 * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
6654 * app/sheets_dialog_callbacks.c : some #hell and adaptions
6655 needed to GtkWrapBox api changes
6658 * lib/charconv.[hc] : removed from build
6659 [changed appropriate]
6660 * lib/prop_inttypes.c lib/prop_text.c :
6662 * lib/text.c : ported from HEAD but keep original indent
6663 intact. Original was done by Akira TAGOH.
6665 * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
6667 * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
6669 * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
6670 same on all platforms now!
6672 * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
6674 * lib/message.c : remove "charconv.h"
6676 * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
6679 * lib/sheet.c : convert from DIR to GDir usage
6681 * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
6683 * lib/widgets.h : include gtk<label|colorseldialog>.h
6686 * objects/fs/flow.c :
6687 * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
6689 * objects/custom/custom.c : convert from DIR to GDir usage
6692 * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
6695 2002-05-03 Hans Breuer <hans@breuer.org>
6697 * lib/dia_xml.c : make the well formed utf8 check
6698 actually work for û (non 7-bit ascii encoding)
6699 and fixed the file re-writing if the check fails.
6700 Thanks to Vitaly Lipatov for noticing the misbehaviour.
6702 * lib/font.c : synchronize #ifdef G_OS_WIN32 with
6703 comment on last ressort font. Thanks to Maxim Sobolev.
6705 2002-06-03 Cyrille Chepelov <cyrille@chepelov.org>
6707 * sheets/network.sheet.in: corrected a typo in plotter invocation.
6709 2002-06-03 Steffen Macke <sdteffen@web.de>
6711 * shapes/network/digitizing_board.png:
6712 * shapes/network/digitizing_board.shape:
6713 * shapes/network/plotter.png:
6714 * shapes/network/plotter.shape:
6715 * shapes/network/Makefile.am
6716 * sheets/network.sheet.in: added new plotter and digitizing
6719 2002-06-02 Cyrille Chepelov <cyrille@chepelov.org>
6721 * lib/font.c: made a symptomatic fix to a segfault reported by
6722 Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
6723 won't prevent dia from terminating, but should give more
6724 user-friendly information about why did it terminate.
6726 Two patches from <robert.young@dsto.defence.gov.au>:
6728 * app/display.c: fix the size of the canvas area which gets
6729 redrawn. There was an off-by one error (Closes #83659)
6731 * app/display.c: make sure we redraw all screen only when we
6732 really have to (some update_areas were mistakenly ignored) (Closes
6735 * NEWS: added a new entry for the future. Put there a reminder to
6736 update the dependencies.
6738 * configure.in: put in notes about what will change shortly.
6739 upped the version to 0.90+cvs (did also in config.h.win32)
6740 upped the minimum version for intltools (now 0.21)
6742 2002-06-01 Cyrille Chepelov <cyrille@chepelov.org>
6748 bumped up version number to 0.90. Yay!
6750 2002-05-30 Cyrille Chepelov <cyrille@chepelov.org>
6752 * doc/pl/Makefile.am:
6753 * doc/en/Makefile.am: fixed a "make install" problem when db2html
6754 is not present (Reported by Andrew Ferrier
6755 <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
6756 problem which prevented me from ever seeing the problem in doc/en...
6758 * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
6760 * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
6761 way to read the font path from the XFS configuration files in
6762 order to enable FreeType (fixes #83098).
6764 * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
6771 bumped up version number to 0.90.RC3
6773 2002-05-29 Zbigniew Chyla <cyba@gnome.pl>
6775 * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
6776 doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
6777 doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
6778 doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
6779 doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
6780 doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
6781 doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
6782 Added Polish documentation.
6784 2002-05-27 Cyrille Cheeplov <cyrille@chepelov.org>
6786 * objects/UML/state.c: there was a (gratuitous?) change of on-XML
6787 format for the UML State object. Now there's a hack to reload
6788 older files, and get them converted on the fly.
6789 Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
6793 * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
6794 and adapter the proplist predicates. A LOAD_ONLY property is for
6795 when you have legacy to support but can't resist moving your
6796 fields around... (was needed to support the above state.c fix).
6798 If the in-core of your object changes and you need a LOAD_ONLY
6799 property for the old format, you must keep some spare room in your
6800 object's struct to accomodate for the potential old-style
6801 attributes. Then in foo_load(), after having called
6802 object_load_using_properties(), you must inspect the old-style
6803 fields and act accordingly. Don't ever change the on-disk formats...
6805 * objects/UML/object.c:
6806 * objects/UML/small_package.c: added a check against empty
6807 stereotypes still consuming space. Reported by Dolores Alia de
6808 Saravia <loli@unsa.edu.ar>. Thanks!
6810 2002-05-26 Cyrille Chepelov <cyrille@chepelov.org>
6812 * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
6813 using libtool on an AFS partition.
6815 * po/update_potfiles_in.sh: now simply calls the recent intltools
6816 features; they work better than hand-crafted half-ignorant
6817 scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
6820 * po/POTFILES.in: added back two files update_potfiles_in.sh
6821 didn't take into account. Now this file is not automatically
6823 * po/POTFILES.skip: told `intltool-update -m` what files to ignore
6824 (the usual suspects, in fact).
6826 * configure.in: improved the isinf() / isfinite() detection on
6827 Solaris (MÃ¥rten Svantesson)
6829 2002-05-25 Cyrille Chepelov <cyrille@chepelov.org>
6831 * configure.in: one expression was replacing $CFLAGS, removing
6832 whatever was previously in.
6833 Added more checks for isinf() and finite() on Solaris.
6835 * lib/geometry.h: added a macro defintion for isinf() if not
6836 HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
6839 * app/commands.c: "cut" did not set the 'modified' bit (paste has
6840 been for a little while). Fixes #82994.
6842 * Makefile.am: added more stuff to distclean-local. This should make
6843 "make distcheck" pass! Thanks to the author of
6844 http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
6845 ... I wonder who this Henstridge guy is ... ;-)
6846 Darn. Still doesn't pass. I give up for tonight.
6848 * po/update_potfiles_in.sh: updated to take care of sheet files,
6849 and to filter out the EML plug-in.
6850 * po/POTFILES.in: updated with all .c and all .sheet.in files
6852 * po/dia.pot, po/*.po: again updated all .po files with all
6853 strings (with the updated POTFILES). Now with the up-to-date
6854 POTFILES, just all languages have some fuzzy or untranslated
6855 strings (not that the 100% team was that large beforehand...)
6857 * po-checktrans: removed the comment about .po files not holding
6858 all translatable stuff, since now they do.
6860 2002-05-24 Cyrille Chepelov <cyrille@chepelov.org>
6866 bumped up version number to 0.90.RC2
6868 2002-05-20 Hans Breuer <hans@breuer.org>
6870 * app/load_save.c : starting to increase
6871 Dias tolerance on incomplete/broken files. The
6872 corresponding bug is #56233. But the patch there does
6873 neither apply anymore nor does it really fix the problem
6874 but only delays it, e.g. even if it would be allowed
6875 to read a file without any layers, the later code can't
6877 * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
6878 handle passing in NULL for the node gracefully.
6880 * shapes/network/printer.shape : added two more connection
6881 points - one at each side - to fix bug #60359
6883 * app/commands.c (edit_copy_callback) :
6884 add ddisplay_do_update_menu_sensitivity() to make
6885 sequence select-copy-paste work.
6887 2002-05-20 Hans Breuer <hans@breuer.org>
6889 * app/create_object.c (create_object_button_press) :
6890 added a call to ddisplay_do_update_menu_sensitivity()
6891 to make Ctrl^D etc work after object creation.
6894 2002-05-18 Lars Clausen <lrclause@cs.uiuc.edu>
6896 * objects/ER/entity.c:
6897 * objects/ER/attribute.c:
6898 * objects/ER/relationship.c: Patch to allow text size change from
6899 Celso Tetsuo Nagase Suzuki.
6901 2002-05-18 Steffen Macke <sdteffen@web.de>
6903 * app/app_procs.c: #ifdef'd xmlerror.h (comes with
6905 * doc/en/graphics/greendots.png:
6906 * doc/en/home_network.png:
6907 * doc/en/line_props.png:
6909 * dia_gnome_icon.png:
6910 * dia_gnome_menu_icon.png:
6912 * shapes/network/telephone.png:
6913 * shapes/Logic/and.png:
6914 * shapes/Logic/buffer.png:
6915 * shapes/Logic/connector.png:
6916 * shapes/Logic/inverter.png:
6917 * shapes/Logic/nand.png:
6918 * shapes/Logic/nor.png:
6919 * shapes/Logic/not.png:
6920 * shapes/Logic/or.png:
6921 * shapes/logic/xor.png:
6922 * samples/ER-demo.dia:
6924 * samples/UML-demo.dia:
6925 * samples/chronograms.dia:
6926 * samples/grafcet.dia: re-added as binary files
6928 2002-05-17 Hans Breuer <hans@breuer.org>
6930 * lib/libdia.def : reflect removing of render_store.[ch]
6932 * */makefile.mingw : remove VERSION definition it's
6933 done in config.h.win32. Dia still doesn't work if
6934 build with mingw ...
6936 * RELEASE-PROCESS : removed */makefile.mingw
6938 * app/sheets_dialog_callbacks.c : if we use those
6939 ugly charconv_gtk_* functions lib/charconv.h needs to
6941 * lib/charconv.h : ... and needs to contain the
6942 necesseray prototypes _and_ #defines
6944 * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
6945 is deprecated and does nothing but spit a warning. This broke
6946 the shape format writing. Fixed.
6947 Also with libxml2 pretty formatted xml isn't the default
6948 anymore, but needs to be enabled explicit: It is done now
6949 for shape files, which almost always needed to be edited by
6952 * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
6953 from stderr - which is invalid on Dia/win32 - to g_print -
6954 which opens up a console window if necessary. This way
6955 a xml-deprecation-error shouldn't stay unnoticed next time
6957 2002-05-17 Steffen Macke <sdteffen@web.de>
6959 * shapes/Misc/folder.png:
6960 * shapes/Misc/file.png: re-added as binary files
6962 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
6964 * lib/font.c: Fixed segfault for fonts without family_name.
6966 2002-05-17 Cyrille Chepelov <cyrille@chepelov.org>
6968 * po/POTFILES.in: added app/sheets_dialog_callbacks.c
6970 * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
6971 Lars' request, minor cosmetic stuff (mostly _() of human-readable
6972 XML comments in .sheet files; one translator booby-trap disarmed).
6974 * lib/charconv.c: moved #hell inside the body of the new
6975 charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
6978 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
6980 * plug-ins/wpg/Makefile.am (INCLUDES):
6981 * plug-ins/shape/Makefile.am (INCLUDES):
6982 * plug-ins/svg/Makefile.am (INCLUDES):
6983 * plug-ins/pstricks/Makefile.am (INCLUDES):
6984 * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
6985 and DEBUG_CFLAGS in some missing places.
6987 * MAINTAINERS: New file containing list of known package
6991 * lib/charconv.c: Charconv versions of some common gtk calls.
6993 * app/sheets_dialog_callbacks.c
6994 (on_sheets_new_dialog_button_ok_clicked),
6995 (on_sheets_dialog_button_edit_clicked),
6996 (on_sheets_dialog_button_remove_clicked),
6997 (on_sheets_edit_dialog_button_ok_clicked):
6998 * app/sheets.c (sheets_optionmenu_create),
6999 (sheets_optionmenu_create): Added utf8 translations.
7001 * app/sheets_dialog.c:
7003 * app/sheets_dialog_callbacks.c: Added some missing _()'s.
7005 2002-05-16 Cyrille Chepelov <cyrille@chepelov.org>
7007 * po/POTFILES.in: added app/sheets_dialog.c
7009 2002-05-15 Cyrille Chépélov <cyrille@chepelov.org>
7011 * lib/charconv.c: (charconv_local8_to_utf8),
7012 (charconv_utf8_to_local8): tweaked the warnings to get more
7014 * lib/font.c: (font_get_suckfont): handled a potential case of
7015 uninitialised data being used (just paranoid)
7017 * objects/GRAFCET/boolequation.c: (opstring),
7018 (opblock_get_boundingbox), (opblock_draw),
7019 (boolequation_calc_boundingbox): some extra hoops needed now dia
7020 talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
7021 symbols can't yet be used with their proper Unicode cells, since
7022 gtk will demand them in the Symbol font, expressed in the local
7025 * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
7026 the fix just above).
7028 2002-05-14 Lars Clausen <lrclause@cs.uiuc.edu>
7030 * app/diagram_tree.c (get_object_name): Check that name property
7031 doesn't have null string.
7033 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
7035 * autogen.sh (DIE): Added conditional --force to gettextize.
7037 * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
7040 2002-05-13 Cyrille Chepelov <cyrille@chepelov.org>
7042 * RELEASE-PROCESS: added James' notes on how to properly make the
7045 * configure.in: removed macro nesting related to libpng.h, which
7046 was causing some problems on some systems (like mine, which made
7049 Made --enable-unicode, previously an option, the mandatory case.
7051 * app/Makefile.am: updated EXTRA_DIST
7054 * app/makefile.mingw:
7056 * doc/en/dia-manual.sgml:
7057 * plug-ins/makefile.mingw:
7058 * configure.in: bumped up the version number to 0.90.RC1
7060 * lib/render_objects.[ch]:
7061 * po/POTFILES.in: removed render_objects from the build.
7063 * plug-ins/Makefile.am:
7064 * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
7065 so we keep its source in the tarball.
7067 * objects/network/*.c, Makefile.am:
7068 * objects/sybase/*.c, Makefile.am:
7069 * po/POTFILES.in: cleaned up the non-existent files from the po
7072 * plug-ins/Makefile.am: re-enabled metapost plug-in.
7074 2002-05-13 Steffen Macke <sdteffen@web.de>
7077 * app/command.c: added M. C. Nelson to the Authors
7078 * sheets/Circuit/Makefile.am: added firewall shape to build
7079 * sheets/network/Makefile.am: added telephone and microphone
7082 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
7084 * RELEASE-PROCESS: Added list of files that contain the release
7085 number or should otherwise be changed at each release.
7087 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
7089 * objects/UML/uml.c (uml_operation_read): Forgot to commit this
7090 (reported fixed) bug: POLYMORPHIC -> LEAF for default.
7092 2002-05-12 Hans Breuer <hans@breuer.org>
7094 * config.h.win32 : changed VERSION to 0.90.RC1
7096 * app/makefile.msc lib/makefile.msc : use renamed
7097 gdk-pixbuf version (same content but renamed because
7098 all the other gtk+ dlls are renamed) to avoid trouble
7099 mixing gtk versions (of which one would not
7102 * app/app_procs.c : removed recently unneeded
7103 inclusion of "sheets.h"
7105 * app/render_gdk.c : removed my own debug spew
7106 which should never made it to cvs
7108 * lib/render_object.[hc] : added
7109 #error "File not used anymore."
7111 * lib/libdia.def : updated externals
7113 * app/interface.c : dropped filenames need to be
7114 converted from uri with Gtk+2.0
7116 2002-05-12 Cyrille Chepelov <cyrille@chepelov.org>
7118 * RELEASE-PROCESS (new): a draft document about how to release. To
7119 be discussed. (already with some input from Hans Breuer)
7121 2002-05-12 Steffen Macke <sdteffen@web.de>
7123 * sheets/Makefile.am: re-added Misc sheet to make process
7125 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
7127 * objects/FS/function.c: Added comments to humungous list of menu
7128 items, to aid translators.
7130 2002-05-11 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7132 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7134 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
7136 * app/interface.c (create_toolbox): Disallow shrinking beyond
7137 requested size. Fixes bug #59439, and confirms to GTK guidelines
7138 (see gtk_window_set_policy).
7139 (create_sheets): Removed now unnecessary set_usize call.
7141 2002-05-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7143 * lib/beziershape.c (remove_handles): Fixing removal of last
7144 segment. Undo of removal still hokey.
7146 2002-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
7148 * lib/bezier_conn.c (remove_handles): Proper offset for fixing
7150 * lib/beziershape.c (beziershape_init): Removed early call to
7151 beziershape_update_data where points aren't set yet.
7152 (beziershape_add_segment): Use segment 0 instead of overflowing
7153 points array with segment+1.
7154 (beziershape_remove_segment): Proper offset for fixing
7156 (remove_handles): Proper offset.
7158 2002-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
7160 * objects/GRAFCET/action.c (action_update_data): Init x value of
7161 click point for call to connpointlist_adjust_count.
7163 * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
7165 * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
7166 setting to where values are inited.
7168 * lib/polyshape.c (polyshape_init): Removed call to
7169 polyshape_update_data that tried to use uninitialized data.
7171 2002-05-06 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7173 * app/sheets_dialog.c: Mass removal of //-style comments. The
7174 Irix compiler doesn't like them:( I do...
7176 2002-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
7178 * app/render_libart.c (draw_string): Bail out when no GDK font is
7180 (set_font): Give error when font not found.
7181 (set_fillstyle): Intlized error msg.
7183 * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
7184 modified when applied (and ok only does apply if apply is set
7185 sensitive). Fixes bug #75623.
7187 2002-05-06 Pablo Saratxaga <pablo@mandrakesoft.com>
7189 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
7191 2002-05-05 Steffen Macke <sdteffen@web.de>
7193 * app/Makefile.am: added $(UNICODE_CFLAGS)
7195 2002-05-02 Lars Clausen <lrclause@cs.uiuc.edu>
7197 * app/commands.c (help_manual_callback): Check return value of
7200 * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
7202 * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
7205 2002-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
7207 * app/render_gdk.c (draw_string): Extra free killed. Thanks valgrind!
7209 * objects/UML/uml.c (uml_operation_read): Fix of UML default
7212 2002-04-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7214 * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
7215 Added button to toggle diagram compression.
7217 2002-04-29 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7219 * lib/font.c: Support for loading extra kerning files, plus got
7220 rid of rounding errors. Bounding box mostly perfect for freetype
7222 (font_string_width): Fudge factor to get around nonlinearity of
7225 2002-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
7227 * lib/font.c (font_string_width): YA font calculation scheme, with
7230 * objects/UML/class.c (umlclass_calculate_data): Uses the same
7231 font for drawing and calculating now.
7233 * configure.in: Added utime.h check.
7235 * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
7236 GTK_DOESNT_TALK_UTF8_WE_DO. Thus it matches the string width calc.
7238 2002-04-26 Hans Breuer <hans@breuer.org>
7240 [ Instead of fixing about 70 occurances in 20 files
7241 where GTK_TALKS_UTF8_WE_DONT needed to be handled
7242 Dia on win32 from now on uses glib-2.0 and not
7243 only talks utf-8 with gtk-1.3 but also internally.
7244 GTK_TALKS_UTF8_WE_DONT isn't supported/needed
7247 * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
7248 #undef GTK_TALKS_UTF8_WE_DONT
7250 * */makefile.msc : changes to use glib-2.0 (still
7251 using gtk+1.3(win32-production)
7253 * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
7254 adapt kevent->string handling, add <string.h>
7255 * app/render_gdk.c (get_text_width) : the length given
7256 is in chars, gdk_text_width() needs bytes
7258 * app/render_libart.c :
7259 * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
7260 (could simplify the same way as done in render_gdk.c)
7262 * app/diagram_tree.c app/paginate_gdiprint.cpp
7264 * lib/prop_basic.c lib/prop_geomtypes.c
7265 lib/propdialgs.c lib/propobject.c :
7266 added <string.h> which is now removed from charconv.h
7268 * lib/charconv.h : optional use infrastructure from
7269 glib-2.0 -> only five direct function mapping left
7271 * lib/charconv.c : avoid to build this with glib-2.0
7273 * lib/font.c : no string conversion needed anymore
7274 when Dia and Gtk talk utf-8, also code adaptions
7275 for GLIB_CHECK_VERSION(2,0,0)
7277 * lib/libdia.def : removed charconv functions
7279 * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
7280 replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
7282 * lib/prop_text.c lib/prop_widgets.c lib/font.c :
7283 removed GTK_TALKS_UTF8_WE_DONT
7285 * lib/text.c : finally(?) fixed cursor <place|move>ment
7286 for Umlauts. Also fixed char insertion, still wondering
7287 how this could ever work. Does realloc on Linux
7288 initialize the memory with zeros ?
7290 * objects/chronogram/chronoline_event.c
7291 objects/grafcet/boolequation.c :
7292 there is no uni_get_utf8 when building for glib-2.0.
7293 Replace with g_utf8_get_char() and g_utf8_next_char().
7295 * objects/uml/stereotype.c (bracketted_to_string) :
7296 simplify while adding code for glib-2.0 build
7298 2002-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
7300 * app/diagram.h: Autosave field
7301 * app/diagram.c (diagram_set_modified): Sets autosave field.
7303 * objects/UML/usecase.c (usecase_update_data):
7304 * objects/flowchart/ellipse.c (ellipse_update_data):
7305 * objects/flowchart/parallelogram.c (pgram_update_data):
7306 * objects/flowchart/diamond.c (diamond_update_data):
7307 * objects/custom/custom_object.c (custom_update_data):
7308 * objects/UML/state.c (state_update_data):
7309 * objects/UML/small_package.c (smallpackage_update_data):
7310 * objects/UML/object.c (objet_update_data):
7311 * objects/UML/note.c (note_update_data):
7312 * objects/UML/node.c (node_update_data):
7313 * objects/UML/component.c (component_update_data):
7314 * objects/UML/classicon.c (classicon_update_data):
7315 * objects/UML/actor.c (actor_update_data):
7316 * objects/SADT/box.c (sadtbox_update_data):
7317 * objects/FS/function.c (function_update_data):
7318 All now update text boundaries from update_data.
7320 * lib/widgets.c (dia_font_selector_set_styles): Made the style set
7323 2002-04-26 Hans Breuer <hans@breuer.org>
7325 * config.h.win32 : added VERSION definition here
7326 (and removed from makefile.msc's)
7328 * app/makefile.msc : added new files
7330 * app/app_procs.c (app_init): remove sheets_dialog_create()
7331 from start-up and ...
7333 * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
7334 sheet_dialog here when it is really needed.
7335 #include "../lib/message.h", make sheets_dialog_create()
7336 return it's success or failing on (!custom_type_symbol).
7337 Although editing shapes is nice IMHO it isn't crucial enough
7338 to abort() Dia if it isn't possible.
7340 * app/sheet.h : adapt create_sheet_dialog() prototype
7342 * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
7344 * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
7345 #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
7346 name space corrections for utime() and utim_buf #ifdef
7349 * lib/libdia.def : export new sheet functions
7351 * lib/makefile.msc : added new files
7353 * lib/render.c : don't put draw_bezier_with_arrows() in
7354 the DrawLineWithArrowsFunc slot
7356 * objects/custom/custom_object.c : #include <gmodule.h>
7357 and export 'custom_type' via G_MODULE_EXPORT
7359 * objects/uml/class_dialog.c : removed 'incompatible
7360 types' warnings. Some refactoring while making it fit
7361 on screen with 800x600 again.
7363 * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
7365 * plug-ins/python/pydia-handle.h : extra parameter to
7366 PyDiaHandle_New to store the owner of the handle
7367 * plug-ins/python/pydia-handle.c : store handle owner
7368 on construction and use it in new method .connect()
7369 * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c :
7370 adapt to changed prototype
7372 2002-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
7374 * lib/text.c (text_calc_boundingbox): Will now return early if box
7377 * objects/flowchart/box.c (box_update_data): Now updates text
7378 width info from update_data.
7380 2002-04-23 Steffen Macke <sdteffen@web.de>
7382 * plug-ins/xfig/xfig-import.c: fixed text import
7384 2002-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
7386 * app/export_png.c: Moved dialog functions to their own file.
7387 * app/dialogs.[ch]: New files with standard functions for creating
7388 small, transient dialogs (e.g. export options).
7389 * app/Makefile.am: Added dialogs.[ch]
7391 2002-04-19 Steffen Macke <sdteffen@web.de>
7393 * shapes/Misc/folder.*:
7394 * shapes/Misc/file.*:
7395 * shapes/Misc/Makefile.am:
7396 * shapes/Makefile.am:
7397 * sheets/Misc.sheet.in:
7398 * sheets/Makefile.am:
7399 * configure.in: added new Misc sheet containing filesystem shapes
7401 2002-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
7403 * app/lineprops_area.c: Arrow selector in toolbox changed to use
7404 standard arrowdraw code. Line is thinner to make some arrowheads
7407 2002-04-18 Steffen Macke <sdteffen@web.de>
7409 * sheets/network.sheet.in:
7410 * shapes/network/telephone.shape:
7411 * shapes/network/Makefile.am: added telephone shape
7413 2002-04-16 Steffen Macke <sdteffen@web.de>
7415 * sheets/EML.sheet.in: commented out unavailable shapes
7417 2002-04-15 M.C. Nelson <mcn@kobayashimaru.org>
7419 * app/sheets_dialog_callbacks.c: Fixed segfault caused by mis-ordered
7420 variable assignment.
7422 2002-04-15 Steffen Macke <sdteffen@web.de>
7424 * plug-ins/dxf/dxf-import.c: text import works again
7425 * shapes/Pneumatic/Makefile.am: added compush shape
7426 * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
7429 2002-04-11 M.C. Nelson <mcn@kobayashimaru.org>
7431 * All these modifications are for the 'Sheets and Objects' dialog
7434 * app/pixmaps/line_break.xpm: new icon representing a line break.
7436 * app/pixmaps/n_a.xpm: new empty icon representing not available.
7438 * app/Makefile.am: added sheets_*.[ch] files to compile list.
7440 * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
7442 * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
7444 * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs
7446 * app/app_procs.c: added call to sheets_dialog_create() in app_init()
7448 * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
7450 * app/sheets_dialog_callbacks.h: [new file] support for " " "
7452 * app/interface.c: added 'interface_current_sheet_name' global to
7453 fill_sheet_wbox(); made fill_sheet_menu() non-static
7455 * app/interface.h: added extern declaration for aboves.
7457 * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
7459 * app/sheets.h: [new file] declarations for backing store structures
7461 * lib/sheet.c: modification of new_sheet() parameters; introduction
7462 of USER and SYSTEM scope for sheets; procedure for sorting sheets;
7463 changes to load_register_sheet().
7465 * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
7466 added 'has_icon_on_sheet' flag to SheetObject structure; added
7467 'filename', 'scope', 'shadowing' fields to Sheet structure.
7469 * lib/plug-ins.c: moved _PluginInfo declaration to header file where
7472 * lib/plug-isn.h: see above.
7474 * lib/object.c: added 'sheet.h' to include list; added several
7476 to detect objects which are not found on any sheet (for future use)
7477 object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
7478 object_type_get_sheet_name(), object_type_strip_sheet_from_name().
7480 * lib/object.h: added public declarations for above functions where
7483 * objects/custom/custom.c: made custom_object_load() non-static so we
7484 can load and interpret .shape files from the Sheets & Objects dialog
7486 * objects/custom/custom_object.c: made 'custom_type' non-static so
7487 we can differentiate between SVG shapes and other types.a
7489 2002-04-07 Hans Breuer <hans@breuer.org>
7491 * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
7492 from 2002-01-22 to not destroy diagram->data->selected.
7493 Avoids to crash on Objects/Align/Vertical/Top
7495 * app/render_eps.c (draw_string) : un-const buffer
7496 It isn't at all const (g_malloc(), assignment, g_free()).
7497 Doesn't gcc catch such ?
7499 * lib/arrows.h : prototype calculate_arrow_point()
7501 * lib/font.c (font_get_suckfont) : no need to
7502 special case gdk_draw_string() with GTK_TALKS_UTF8,
7503 cause all the parameter differences are handled above
7505 * lib/libdia.def : updated externals
7507 * lib/makefile.msc : removed string_prerenderer, added render
7509 * lib/render.c (draw_rect) : don't pass a Point** if a Point*
7510 is expected. [Sometimes it's good to read compiler warnings.]
7512 * objects/standard/image.c : simplified by use of g_strconcat()
7514 * plug-ins/python/makefile.msc : updated for Python 2.2
7516 2002-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
7518 * objects/standard/zigzagline.c (zigzagline_draw): Fixed
7519 directionality problem for zero-length line segments.
7521 2002-03-28 Lars Clausen <lrclause@cs.uiuc.edu>
7523 * app/diagram.c (diagram_ungroup_selected)
7524 (diagram_update_menu_sensitivity): Now allows ungrouping of
7525 several groups at once.
7527 2002-03-15 Lars Clausen <lrclause@cs.uiuc.edu>
7529 * lib/render.c, all renderers: Binary incompatibility, change to
7530 expandable renderops structure.
7532 2002-03-15 Steffen Macke <sdteffen@yahoo.com>
7534 * objects/standard/Makefile.am:
7535 * objects/network/Makefile.am:
7536 * objects/UML/Makefile.am:
7537 * objects/ER/Makefile.am:
7538 * objects/FS/Makefile.am:
7539 * objects/flowchart/Makefile.am:
7540 * objects/custom/Makefile.am:
7541 * objects/GRAFCET/Makefile.am:
7542 * objects/chronogram/Makefile.am:
7543 * objects/SADT/Makefile.am:
7544 * plug-ins/cgm/Makefile.am:
7545 * plug-ins/pstricks/Makefile.am:
7546 * plug-ins/hpgl/Makefile.am:
7547 * plug-ins/wpg/Makefile.am:
7548 * plug-ins/svg/Makefile.am:
7549 * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
7551 2002-03-13 Lars Clausen <lrclause@cs.uiuc.edu>
7553 * app/render_eps.c: Support for dumping TrueType fonts (taken from
7556 2002-03-12 Lars Clausen <lrclause@cs.uiuc.edu>
7558 * lib/render.c: New abstract super class for renderers.
7560 2002-03-07 Akira TAGOH <tagoh@redhat.com>
7562 * objects/ER/attribute.c (attribute_save): save a font property.
7563 (attribute_load): load a font property, and if can't load it, it's
7566 * objects/ER/entity.c (entity_save): save a font property.
7567 (entity_load): load a font property, and if can't load it, it's
7570 * objects/ER/relationship.c (relationship_save): save a font property.
7571 (relationship_load): load a font property, and if can't load it, it's
7574 * objects/UML/class.c (fill_in_fontdata): don't replace if it already
7576 (umlclass_save): save the font and the font size properties.
7577 (umlclass_load): load the font and the font size properties.
7579 2002-03-05 Cyrille Chepelov <cyrille@chepelov.org>
7581 * lib/string_prerenderer.[ch] (REMOVED):
7583 * lib/diagramdata.c:
7585 * app/render_eps.c: got rid of the string-specific string
7586 prerenderer, transitioned its functionality towards Lars'
7589 2002-03-05 Lars Clausen <lrclause@cs.uiuc.edu>
7591 * configure.in: Using Freetypes own check for ver >= 1.0.5. You
7592 may need to rerun aclocal.
7594 2002-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
7596 * lib/font.c: First attempt at Unicodeness for Freetype.
7598 2002-03-02 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7600 * lib/font.c (font_string_width): Fixed font_string_width for
7601 freetype. BB is now almost right.
7603 2002-03-01 Lars Clausen <lrclause@cs.uiuc.edu>
7606 * app/paginate_psprint.c (paginate_psprint):
7608 * app/render_eps.c: Support for dumping postscript fonts into
7609 postscript files with freetype. Fairly primitive, but works.
7610 Unicode version may have problems.
7612 2002-02-28 Akira TAGOH <tagoh@redhat.com>
7614 * objects/UML/class_dialog.c (class_read_from_dialog)
7615 (class_fill_in_dialog), (class_create_page): add the font selector and
7616 the font size selector.
7618 * objects/UML/class.c (umlclass_draw): uses each font_height.
7619 (umlclass_calculate_data): ditto.
7620 (fill_in_fontdata): add initial value of new font_height.
7621 (umlclass_copy): add new font_height.
7623 2002-02-27 Cyrille Chepelov <chepelov@calixo.net>
7625 Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
7627 * lib/font.c: calculate font metrics properly and stop guessing at
7630 2002-02-28 Akira TAGOH <tagoh@redhat.com>
7632 * configure.in: changed gtk_advancement value to dia_talks_utf8.
7633 right now Dia is working with UTF-8 internally. it means Dia probably
7634 support most languages also including the languages which heretofore
7635 didn't work correctly.
7637 2002-02-26 Akira TAGOH <tagoh@redhat.com>
7639 * objects/FS/function.c: add related text properties.
7640 (function_get_props), (function_set_props): add handling attribute.
7642 * objects/FS/flow.c: add related text properties.
7643 (flow_get_props), (flow_set_props): add handling attribute.
7645 * objects/FS/flow-ortho.c: add related text properties.
7646 (orthflow_set_props), (orthflow_get_props): add handling attribute.
7648 * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
7650 * objects/ER/entity.c: ditto.
7652 * objects/ER/attribute.c: ditto.
7654 2002-02-26 Cyrille Chepelov <cyrille@chepelov.org>
7656 Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
7658 * autogen.sh: add a check for missing intltoolize.
7660 2002-02-20 Akira TAGOH <tagoh@redhat.com>
7662 * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
7663 charcode, it was registered the duplicate item to HashTable. fix.
7665 * app/render_gnomeprint.c (get_width_string): add new function.
7666 (draw_string): fix non-multibyte specific code.
7668 2002-02-19 Cyrille Chepelov <cyrille@chepelov.org>
7670 Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
7672 * lib/font.c: do not try to search paths that do not begin with
7673 '/', like X Font Server addresses.
7675 * objects/UML/message.c (message_draw): free mname when not
7676 message->text but CREATE or DESTROY.
7678 * objects/UML/uml.h:
7679 * objects/UML/uml.c:
7680 * objects/UML/class_dialog.c: added code to handle a stereotype
7681 attribute for operations.
7683 2002-02-19 Akira TAGOH <tagoh@redhat.com>
7685 * lib/Makefile.am: add LIBART_CFLAGS.
7687 2002-02-15 Hans Breuer <hans@breuer.org>
7689 * lib/font.c (font_get_suck_font): the black and white pixel values
7690 need to be taken from a 1 bit colormap rather than the default colormap.
7691 (fixed again, last time was 2000-05-26)
7693 Also handle the case where GTK_TALKS_UTF8 and expects all strings
7694 passed in to be in this encoding.
7696 * lib/libdia.def : export suck_font_free()
7698 * lib/text.c (text_draw) : avoid circular dependency to ../app
7699 at least for the !USE_XIM case, where it is unnecessary.
7701 2002-02-15 Cyrille Chepelov <cyrille@chepelov.org>
7703 Changes contributed by Matts Kivik <kivik@firstlinux.net>:
7705 * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
7706 * sheets/Circuit.sheet.in: added new shape microphone
7707 * shapes/Circuit/speaker_de.shape: Added a connection point.
7709 2002-02-13 Akira TAGOH <tagoh@redhat.com>
7711 * app/render_libart.c (draw_string): fixed build issue for Win32.
7713 * lib/font.c (font_get_suckfont): fixed typo. it could't build under
7716 * configure.in: fixed testing gtk_advancement.
7718 * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
7720 2002-02-12 Akira TAGOH <tagoh@redhat.com>
7722 * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
7725 2002-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
7727 * app/group.c (group_copy): Made new object properly initialized
7730 2002-02-11 Steffen Macke <sdteffen@yahoo.com>
7732 * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
7734 2002-02-10 Akira TAGOH <tagoh@redhat.com>
7736 * lib/text.c (text_draw): fixed XIM transaction.
7738 * app/interface.c (create_display_shell): add signal for
7741 * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
7743 (set_input_dialog): remove.
7744 (ddisplay_canvas_events): remove XIM transaction. it can't transact
7745 correctly on this function.
7747 2002-02-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7750 * app/export_png.c: Added checks for interactivity (maybe this
7751 should be a hook after all?).
7753 * app/filedlg.c (file_export_callback): Made export dialog add
7754 suffix when reopened.
7756 * app/export_png.c: Added dialog asking for export size.
7758 2002-02-09 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7760 * lib/widgets.c: Fixed font reselection problem and first font
7763 * objects/UML/actor.c (actor_update_data): Changed to have
7764 connection points below text.
7766 2002-02-08 Akira TAGOH <tagoh@redhat.com>
7768 * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
7771 2002-02-07 Akira TAGOH <tagoh@redhat.com>
7773 * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
7774 strings which is given.
7775 (suck_font): remove. it's any longer needed.
7777 * app/render_libart.c (set_font): don't get suckfont.
7778 (draw_string): get suckfont only which is needed for now.
7780 2002-02-05 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7782 * lib/text.c: Fixes for misunderstood width functions.
7784 2002-02-05 Hans Breuer <hans@breuer.org>
7786 * lib/dia_xml.c : use g_strconcat() instead of
7787 malloc, strcpy, strcat dance
7788 * app/properties.c : same here and plug memory leak
7789 (gtk functions don't eat strings)
7791 * objects/UML/message.c : there is no g_sprintf()
7792 use g_strdup_printf() instead ...
7794 2002-02-05 Akira TAGOH <tagoh@redhat.com>
7796 * lib/message.c (gtk_message_internal): doesn't need to convert to
7799 * app/render_libart.c (draw_string): fixed transaction for UTF-8
7801 (get_text_width): ditto.
7803 * app/Makefile.am (EXTRA_DIST):
7804 s/paginate_gdiprint.c/paginate_gdiprint.cpp/
7806 * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
7807 This function needs ifdef HAVE_FREETYPE because don't use it for
7810 2002-02-04 Cyrille Chepelov <cyrille@chepelov.org>
7812 * NEWS: updated with the new dependencies.
7814 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7816 * objects/UML/class.h:
7817 * objects/UML/class.c:
7818 * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
7819 property using a GtkMenu. Options are Undefined, In, Out, In & Out
7821 2002-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
7823 * app/render_libart.c: Slow but working libart freetype renderer,
7826 2002-02-03 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7828 * app/render_gdk.c (draw_string): Fixed gc_function bug.
7830 * lib/widgets.c (dia_font_selector_init): Sorts the font list.
7832 * lib/font.c (freetype_render_string):
7835 * app/render_gdk.h: Changed freetype_render_string to use
7836 callback. Rendering is broken.
7838 2002-02-03 Cyrille Chepelov <cyrille@chepelov.org>
7840 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
7842 * objects/UML/uml.h:
7843 * objects/UML/uml.c: added UMLInheritanceType and isQuery
7844 (constant) UML Operation attributes. UMLInheritanceType is either
7845 UML_ABSTRACT or UML_POLYMORPHIC or UML_LEAF.
7847 * objects/UML/class.h:
7848 * objects/UML/class.c:
7849 * objetcs/UML/class_dialog.c: added code to handle new
7850 UMLOperation attributes via a GtkMenu and a checkbox.
7852 2002-02-03 Akira TAGOH <tagoh@redhat.com>
7854 * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
7855 several client doesn't work with previous codes.
7857 2002-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
7859 * lib/font.c (freetype_render_string): Kerning. Very few fonts
7862 2002-02-02 Akira TAGOH <tagoh@redhat.com>
7864 * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
7865 when doing the operation like invert the objects after active view is
7866 destroyed. when changes focus, it needs to set active_display.
7868 * app/layer_dialog.c (dia_layer_update_from_layer):
7869 (layer_dialog_edit_layer): need to convert to locale encoding
7870 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7871 (edit_layer_ok_callback):
7872 need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7874 * lib/diagramdata.c (new_diagram_data): ditto.
7876 * app/layer_dialog.c (layer_dialog_new_callback): ditto.
7878 * lib/diagramdata.c (new_layer): use utfchar instead of char for
7881 * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
7882 (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
7883 it's needed for now. also this function needs prototype declaration.
7885 2002-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
7887 * lib/widgets.c: Style now functional on font selector. Some leak
7888 possible, but doesn't show up under stress test.
7890 2002-01-31 Akira TAGOH <tagoh@redhat.com>
7892 * app/plugin-manager.c (clist_select_row): name and description needs to
7893 convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
7894 (get_plugin_manager): ditto.
7896 * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
7898 * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
7901 * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
7902 when prop->string_data is NULL.
7904 2002-01-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
7907 * lib/widgets.h: New font selector separating font and style.
7908 Style not functional yet.
7910 2002-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
7913 * app/render_gdk.c (draw_string): More freetype support, now
7914 renders text. Still broken is font selection and exporting.
7916 2002-01-30 Akira TAGOH <tagoh@redhat.com>
7918 * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
7921 * objects/chronogram/chronoline.c (chronoline_create): ditto.
7923 * objects/UML/usecase.c (usecase_create): ditto.
7925 * objects/UML/state.c (state_create): ditto.
7927 * objects/UML/object.c (objet_create): ditto.
7929 * objects/UML/node.c (node_create): ditto.
7931 * objects/UML/message.c (message_create): ditto.
7933 * objects/UML/component.c (component_create): ditto.
7935 * objects/UML/classicon.c (classicon_create): ditto.
7937 * objects/UML/actor.c (actor_create): ditto.
7939 * objects/SADT/box.c (sadtbox_create): ditto.
7941 * objects/SADT/annotation.c (annotation_create): ditto.
7943 * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
7945 * objects/GRAFCET/step.c (STEP_FONT):
7946 * (step_create): ditto.
7948 * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
7950 * objects/GRAFCET/action.c (ACTION_FONT):
7951 (action_create): ditto.
7953 * objects/FS/function.c (function_create): ditto.
7955 * objects/FS/flow.c (flow_create):
7957 (flow_apply_defaults): ditto.
7959 * objects/FS/flow-poly.c (flow_create):
7961 (flow_apply_defaults): ditto.
7963 * objects/FS/flow-ortho.c (orthflow_create):
7965 (orthflow_apply_defaults): ditto.
7967 * objects/ER/relationship.c: use utfchar instead of char for structure.
7968 (relationship_create): name needs to convert to UTF-8.
7970 * objects/ER/attribute.c: use utfchar instead of char for structure.
7971 (attribute_create): name needs to convert to UTF-8.
7973 * objects/ER/entity.c: use utfchar instead of char for structure.
7974 (entity_create): name needs to convert to UTF-8.
7976 * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
7977 encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
7978 (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
7979 items. if GTK_TALKS_UTF8 isn't defined.
7981 2002-01-29 Akira TAGOH <tagoh@redhat.com>
7983 * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
7984 it was my careless mistake...
7986 * lib/attributes.c (attributes_set_default_font): temporarily gettextize
7987 a font name, because there are strings which isn't shown by "Courier".
7988 We need to consider a way to feel free to choose a font at runtime.
7990 * lib/render_object.c (render_object_load): ditto.
7992 * lib/text.c (data_text): ditto.
7994 * objects/EML/instantiation.c (instantiation_create): ditto.
7996 * objects/EML/interaction-ortho.c (interaction_ortho_create):
7997 (interaction_ortho_load): ditto.
7999 * objects/EML/interaction.c (interaction_create):
8000 (interaction_load): ditto.
8002 * objects/EML/process.c (fill_in_fontdata): ditto.
8004 * objects/ER/attribute.c (attribute_create):
8005 (attribute_load): ditto.
8007 * objects/ER/entity.c (entity_create):
8008 (entity_load): ditto.
8010 * objects/ER/relationship.c (relationship_create):
8011 (relationship_load): ditto.
8013 * objects/UML/association.c (association_create):
8014 (association_load): ditto.
8016 * objects/UML/class.c (fill_in_fontdata): ditto.
8018 * objects/UML/constraint.c (constraint_create): ditto.
8020 * objects/UML/dependency.c (dependency_create): ditto.
8022 * objects/UML/generalization.c (generalization_create): ditto.
8024 * objects/UML/implements.c (implements_create): ditto.
8026 * objects/UML/large_package.c (largepackage_create): ditto.
8028 * objects/UML/note.c (note_create): ditto.
8030 * objects/UML/realizes.c (realizes_create): ditto.
8032 * objects/UML/small_package.c (smallpackage_create): ditto.
8034 * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
8036 * objects/custom/custom_object.c (custom_create): ditto.
8038 * objects/network/antenna.c (render_to_store): ditto.
8040 * objects/network/computer.c (render_to_store): ditto.
8042 * objects/network/disc.c (render_to_store): ditto.
8044 * objects/network/flash.c (render_to_store): ditto.
8046 * objects/network/hub.c (render_to_store): ditto.
8048 * objects/network/modem.c (render_to_store): ditto.
8050 * objects/network/modularswitch.c (render_to_store): ditto.
8052 * objects/network/monitor.c (render_to_store): ditto.
8054 * objects/network/printer.c (render_to_store): ditto.
8056 * objects/network/rj45plug.c (render_to_store): ditto.
8058 * objects/network/scead-plug.c (render_to_store): ditto.
8060 * objects/standard/textobj.c (textobj_load): ditto.
8062 * objects/sybase/client.c (render_to_store): ditto.
8064 * objects/sybase/dataserver.c (render_to_store): ditto.
8066 * objects/sybase/ltm.c (render_to_store): ditto.
8068 * objects/sybase/repserver.c (render_to_store): ditto.
8070 * objects/sybase/rsm.c (render_to_store): ditto.
8072 * objects/sybase/stableq.c (render_to_store): ditto.
8074 * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
8076 * objects/UML/uml.h (UML_STEREOTYPE_START):
8077 (UML_STEREOTYPE_END): changes default strings.
8079 2002-01-28 Akira TAGOH <tagoh@redhat.com>
8081 * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
8082 for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
8083 which is given to arguments isn't UTF-8. so don't need to convert it.
8084 if GTK+ handle UTF-8, also don't need to convert it.
8086 (bracketted_to_string): fixed transaction for UTF-8 support.
8087 also start/end bracket is not necessarily 1 character. so that when use
8088 strend(), it doesn't work correctly.
8089 (string_to_stereotype): use utfchar instead of char.
8090 (remove_stereotype_from_string): ditto.
8091 (stereotype_to_string): ditto.
8093 * objects/UML/stereotype.h: ditto.
8095 * objects/UML/message.c: use utfchar instead of char for structure.
8096 (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
8098 * objects/UML/small_package.c: use utfchar instead of char for structure.
8100 * objects/UML/realizes.c: ditto.
8102 * objects/UML/object.c: ditto.
8104 * objects/UML/large_package.c: ditto.
8106 * objects/UML/implements.c: ditto.
8108 * objects/UML/generalization.c: ditto.
8110 * objects/UML/dependency.c: ditto.
8112 * objects/UML/constraint.c: ditto.
8114 * objects/UML/component.c: ditto.
8116 * objects/UML/class_dialog.c (attributes_get_current_values):
8117 (attributes_list_new_callback, attributes_fill_in_dialog):
8118 (parameters_set_values, parameters_get_values):
8119 (parameters_get_current_values, parameters_list_new_callback):
8120 (operations_set_values, operations_get_values):
8121 (operations_get_current_values, operations_list_new_callback):
8122 (operations_fill_in_dialog, templates_set_values):
8123 (templates_get_values, templates_get_current_values):
8124 (templates_list_new_callback, templates_fill_in_dialog):
8125 fixed transaction for UTF-8 support.
8127 2002-01-27 Akira TAGOH <tagoh@redhat.com>
8129 * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
8131 * objects/UML/class_dialog.c (class_read_from_dialog):
8132 (class_fill_in_dialog):
8133 (attributes_get_values): ditto.
8135 * objects/UML/actor.c (actor_create): ditto.
8137 * objects/UML/class.c (umlclass_calculate_data): ditto.
8139 * objects/UML/association.c (association_apply_properties):
8140 (fill_in_dialog): ditto.
8142 * objects/UML/uml.c (uml_get_attribute_string):
8143 (uml_get_operation_string):
8144 (uml_get_parameter_string):
8145 (uml_get_formalparameter_string): use utfchar instead of char.
8147 * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
8150 * objects/UML/class.h: use utfchar instead of char.
8152 * lib/dia_xml.c (data_add_string): ditto.
8154 * lib/text.c (text_insert_char): fixed characters# calculation
8155 when includes multibytes character in strings.
8157 2002-01-26 Steffen Macke <sdteffen@yahoo.com>
8159 Patch from Richard Rowell <rwrowell@bellsouth.net>:
8161 * app/lineprops_area.c:
8164 * lib/widgets.c: added crow foot arrow and cross arrow
8166 Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
8168 * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
8170 2002-01-26 Cyrille Chepelov <cyrille@chepelov.org>
8172 * po/update.pl (REMOVED):
8173 * po/update.sh (REMOVED):
8174 * xml-i18n-merge.in.kg (REMOVED):
8175 * xml-i18n-update.in.kg (REMOVED):
8176 * sheets/Makefile.am:
8179 * configure.in: converted from xml-i18n-tools to intltools
8181 This looks like it fixes the build bugs of the snapshot tarballs,
8182 and it supersedes #69611.
8184 2002-01-25 Akira TAGOH <tagoh@redhat.com>
8186 * lib/text.c (text_insert_char): fixed characters# calculation.
8187 it's not string length.
8189 * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
8190 is defined, needs to convert a description to UTF-8.
8192 * app/render_gdk.c (get_text_width): fixed transaction for
8193 UTF-8 support. also should uses gdk_text_width_wc() instead
8194 of gdk_text_width().
8196 * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
8197 is defined, needs to convert to locale encoding for display.
8198 Also use utfchar instead of char for argument.
8200 2002-01-24 Hans Breuer <hans@breuer.org>
8202 * app/commands.c(edit_paste_callback and more) :
8203 call diagram_modified(ddisp->diagram) to fix #68083
8204 (help_menu_callback) : plug a DIR leak
8206 * app/disp_callbacks.c(ddisplay_canvas_events) : handle
8207 GTK_TALKS_UTF8_WE_DONT
8209 * app/render_gdk.c(get_text_with) : it's a bad idea to use
8210 gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
8211 gdk_text_width(). The length value is still questionable ...
8213 * lib/charconv.c : use functions already available in early
8214 GLIB-1.3 days whiches API hasn't changed since, to avoid
8215 version problems with the win32 build
8217 * lib/font.c : finally fix #58045 and #68208
8219 * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
8221 2002-01-24 Akira TAGOH <tagoh@redhat.com>
8223 * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
8224 no strings, fixed transaction.
8226 * lib/charconv.h: fixed typo.
8228 * app/menus.c: fixed typo.
8230 * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
8232 * objects/UML/object.c: attrib's type uses utfchar instead of char.
8234 * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
8236 * lib/text.c (text_create_change): use unichar instead of char.
8238 * lib/text.c (data_add_text, data_text, apply_textstr_properties):
8239 use utfchar instead of char.
8241 * lib/text.c (text_insert_char, text_key_event): fixed transaction for
8244 * lib/charconv.c (charconv_utf8_get_char): add new function.
8246 2002-01-23 Akira TAGOH <tagoh@redhat.com>
8248 * lib/text.c (text_delete_forward, text_delete_backward,
8249 text_split_line): fixed transaction for UTF-8 support.
8251 * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
8252 strlen[] has string length for UTF-8, so has to use alloclen[].
8256 * .cvsignore: add dia.pot.
8258 2002-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
8260 * configure.in: Added "sk" to ALL_LINGUAS.
8262 2002-01-22 Akira TAGOH <tagoh@redhat.com>
8264 * lib/text.c (text_set_string, new_text, text_copy,
8265 text_get_string_copy, text_join_lines): use utfchar instead of gchar
8268 * lib/text.c (set_string): use charconv_utf8_strchr() instead of
8271 * lib/charconv.c (charconv_utf8_strchr): add new function.
8273 * lib/charconv.c (charconv_keyval_to_unicode): ditto.
8275 * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
8277 * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
8278 strings to the appropriate encoding.
8280 2002-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
8282 * app/object_ops.c (object_list_align_[hv]): Leak fix.
8284 * lib/Makefile.am (INCLUDES): Added debug flags.
8286 * app/object_ops.c: Fixed ordering problem of align equi-distant &
8289 2002-01-21 Akira TAGOH <tagoh@redhat.com>
8291 * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
8294 * objects/GRAFCET/boolequation.c: fixed invalid comment.
8296 * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
8297 when defined UNICODE_WORK_IN_PROGRESS.
8299 * lib/dia_xml.c (data_add_string): fixed typo.
8301 2002-01-20 Akira TAGOH <tagoh@redhat.com>
8303 * configure.in: fixed test gtk_advancement.
8305 2002-01-019 Steffen Macke <sdteffen@yahoo.com>
8307 * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
8310 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8312 * app/recent_files.[ch]: reworked to support GNOME, accelerators,
8313 tool tips, preferences, and arbitrarily long ~/.dia/history
8315 * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
8316 removed 'Open Recent'; added new separators for recent documents on
8319 * app/interface.[ch] (interface_get_toolbox_shell): new function
8321 * app/diagram.c: added new parameter to recent_file_history_add() call
8323 * app/preferences.[ch]: added new 'Recent documents list size'
8326 2002-01-18 Akira TAGOH <tagoh@redhat.com>
8328 * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
8329 if it failed, should be used gdk_font_load ().
8331 * lib/font.c (font_data): added the font entries for CJK.
8333 2002-01-17 Steffen Macke <sdteffen@yahoo.com>
8335 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
8337 * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
8339 2002-01-04 Cyrille Chepelov <cyrille@chepelov.org>
8341 Patch from Martin Cracauer <cracauer@cons.org>:
8343 * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
8346 2002-01-01 Hans Breuer <hans@breuer.org>
8348 * app/command.c : optional use GDI printing on windoze
8350 * app/preferences.[hc] : add option 'prefer_psprint' to
8351 select the print engine to use (could be used for Dia/Gnome
8354 * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
8355 wmf plug-in with the common win32 print api. Now printing
8356 should work almost as expected from a windows program :-)
8358 * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
8359 to .edit_delete to avoid clashes with C++
8361 * app/makefile.msc : updated for GDI printing
8363 * plug-ins/wmf/wmf.cpp : some small modifications to support
8364 GDI printing. Also swap R and B channel in draw_image()
8366 * app/makefile.am : added windows only files to EXTRA_DIST
8368 * objects/uml/class.c(umlclass_set_props) : force recalculation
8369 when applying properties
8371 * lib/charconv.c lib/dia_xml.c : temporary back-ported to
8372 glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
8373 many incompatible changes (and would force a gtk update)
8375 * objects/makefile.msc : don't build C-Objects which are
8376 already available as 'pure shape'
8378 * plug-ins/makefile.msc : remove diaimport from build. It was
8379 only available via mailing-list and is broken since the
8383 Patch from Jose A Ortega Ruiz <jaortega@acm.org>
8385 * app/preferences.[hc] : tweaked preferences.c to make
8386 PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
8387 added some more DiagramTree prefererences and their own
8390 * app/diagram_tree.[hc] : allow to sort by object type or name
8391 and hide by type ...
8392 * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
8393 * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
8395 * app/diagram_tree_window.c : handle hidden types and window
8398 2001-12-20 Hans Breuer <hans@breuer.org>
8400 * plug-ins/python/Makefile.am : patch from Peter Moulder
8401 <pmoulder@csse.monash.edu.au> to make the python plug-in
8402 compile on *nix too.
8404 2001-12-03 Cyrille Chepelov <chepelov@calixo.net>
8406 Patch from Alan <horkana@tcd.ie>:
8408 * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
8410 2001-11-20 Hans Breuer <hans@breuer.org>
8412 * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
8414 2001-11-18 Jose A Ortega Ruiz <jaortega@acm.org>
8416 * app/diagram_tree.[hc] : Added new functions and types for
8417 sorting diagram and objects, and attaching the popup menus.
8419 * app/preferences.h: Added more diagram tree preferences, using a
8420 DiagramTreeConfig struct in DiaPreferences. The new prefs are the
8421 height and width of the diagram tree window and the default sort
8422 orders for diagrams and objects.
8424 * app/preferences.c (prefs_data): Added new entries for the new
8425 diagram tree preferences.
8427 * app/preferences.c (prefs_tabs): New tab for diagram tree
8430 * app/diagram_tree_window.[hc] (create_diagram_tree_window):
8431 * app/diagram_tree_window.c (diagram_tree_window_new):
8432 * app/interface.c (create_tree_window): The diagram tree window is
8433 initialised using the DiagramTreeConfig part of prefs.
8436 2001-11-14 Jose A Ortega Ruiz <jaortega@acm.org>
8438 * app/diagram_tree_menu.[hc]: New files. Functions to create the
8439 diagram tree popup menus.
8441 * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
8442 the diagram tree popup menus.
8444 * app/Makefile.am (dia_core_files): diagram_tree_menu* files
8447 2001-11-13 Jose A Ortega Ruiz <jaortega@acm.org>
8449 * app/diagram_tree.c (double_click_callback, diagram_tree_new):
8450 double-clicking a diagram tree node raises the diagram window
8451 to the foreground (and, if a object node was clicked, selects the
8452 object in the diagram).
8454 * app/diagram_tree.c (select_tree_widget): selecting an object
8455 node with single click simply updates it (no raise).
8457 2001-11-08 Jose A Ortega Ruiz <jaortega@acm.org>
8458 These changes make the diagram tree lazy: it is not created unless
8459 the diagram tree window is requested.
8461 * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
8462 function for creating the tree window.
8464 * app/interface.c (create_tree_window): call
8465 create_diagram_tree_window() instead of diagram_window().
8467 * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove)
8468 (diagram_tree_update, diagram_tree_update_name)
8469 (diagram_tree_add_object, diagram_tree_add_objects)
8470 (diagram_tree_remove_object, diagram_tree_remove_objects)
8471 (diagram_tree_update_object): accept a NULL tree as a nominal
8472 argument (and do nothing in this case!), so that the diagram tree
8473 is not initialised if not used.
8475 * app/diagram_tree_window.c (diagram_tree): do not create the
8476 diagram tree until diagram_window() or diagtree_show_callback()
8479 2001-10-31 Jose A Ortega Ruiz <jaortega@acm.org>
8480 [slightly modified and applied from Hans Breuer <hans@breuer.org>]
8482 * app/diagram_tree_window.[hc] : (new files) implementation of
8483 the diagram tree window, a container for a diagram tree. [Removed
8484 the horizontal scroll bar glitch by disableing it]
8486 * app/diagram_tree.[hc] : (new files) implementation of the
8487 diagram tree widget. [Don't rely on the layers GPtrArray to be
8488 NULL terminated, but use its ->len field]
8490 * app/Makefile.am (dia_core_files): added new files
8491 diagram_tree.[hc] and diagram_tree_window.[hc]
8493 * app/interface.[hc] : (create_tree_window): this function
8494 creates the new diagram tree window widget
8496 * app/undo.c (delete_objects_apply) (delete_objects_revert)
8497 (insert_objects_apply) (insert_objects_revert) (group_objects_apply)
8498 (ungroup_objects_apply) (ungroup_objects_revert):
8499 every time that an undoable command modifies a diagram
8500 adding/removing/(un)grouping objects, a diagram_tree_something() is
8501 invoked to keep the diagram tree window in sync
8503 * app/properties.c (properties_apply): call to
8504 diagram_object_modified(), which updates the diagram tree window
8505 when the properties of an object are modified
8507 * app/preferences.[hc] : new "show_diagram_tree" configuration option
8508 (whether the diagram tree window should be shown on dia startup)
8510 * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
8512 * app/diagram.h (diagram_object_modified): callback notifying of a
8513 diagram object modification
8515 * app/diagram.c (diagram_load_into): added call to
8516 diagram_tree_add() to add newly loaded diagrams to the diagram
8518 (diagram_destroy): call to diagram_tree_remove() to remove a
8519 destroyed diagram from the diagram tree window
8520 (diagram_add_object): call to diagram_tree_add_object() to add an
8521 object to the diagram tree window
8522 (diagram_add_object_list): as above, but with an object list
8523 (diagram_selected_break_external): deletion of objects from the
8524 diagram is detected here, and diagram_tree_remove_object() is
8525 invoked to remove the object from the diagram tree window (it
8526 would be nice to have a diagram_remove_object() in the Diagram
8528 (diagram_set_filename): update the diagram tree window when a
8529 diagram's filename changes
8531 * app/commands.c (file_new_callback): added call to
8532 diagram_tree_add() to add newly created diagrams to the diagram
8535 * app/app_procs.c (app_init): added call to create_tree_window()
8537 * app/makefile.msc : updated
8539 2001-10-28 Hans Breuer <hans@breuer.org>
8541 * app/preferences.h (DiaPreferences):
8542 * app/preferences.c (prefs_data): new "show_diagram_tree"
8543 configuration option (whether the diagram tree window should be
8544 shown on dia startup)
8546 * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
8547 entry (both for GNOME and gtk)
8549 * app/diagram.h (diagram_object_modified): callback notifying of a
8550 diagram object modification
8552 * app/diagram.c (diagram_load_into): added call to
8553 diagram_tree_add() to add newly loaded diagrams to the diagram
8555 (diagram_destroy): call to diagram_tree_remove() to remove a
8556 destroyed diagram from the diagram tree window
8557 (diagram_add_object): call to diagram_tree_add_object() to add an
8558 object to the diagram tree window
8559 (diagram_add_object_list): as above, but with an object list
8560 (diagram_selected_break_external): deletion of objects from the
8561 diagram is detected here, and diagram_tree_remove_object() is
8562 invoked to remove the object from the diagram tree window (it
8563 would be nice to have a diagram_remove_object() in the Diagram
8565 (diagram_set_filename): update the diagram tree window when a
8566 diagram's filename changes
8568 * app/commands.c (file_new_callback): added call to
8569 diagram_tree_add() to add newly created diagrams to the diagram
8572 * app/app_procs.c (app_init): added call to create_tree_window()
8574 2001-10-28 Hans Breuer <hans@breuer.org>
8576 * plug-ins/python/pydia-property.c : apparently I missed
8577 to commit this last time. Now it has some more SetAttr
8578 support (apply from property)
8580 * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
8582 * plug-ins/python/pydia-text.[ch] : new files
8584 2001-10-14 Hans Breuer <hans@breuer.org>
8586 * lib/charconv.c : g_locale_to_utf8() does not handle NULL
8587 strings. Use g_strdup() for these.
8589 libxml2 does not produce 'any extra indentation when saving a tree'
8590 [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
8591 libxml(1). To get human readable XML some extra tweaking is required.
8592 It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
8593 * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
8594 * app/preferences.[ch] : initialize 'pretty_formated_xml'
8596 * lib/libdia.def : updated externals
8598 * lib/properties.h : add prototype for prop_list_from_single ()
8600 * plug-ins/makefile.msc : build metapost plug-in
8602 * plug-ins/metapost/render_metapost.c : msvc does not like
8603 switch labels without operation 'default: }'. Added a noop.
8605 * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
8606 * plug-ins/python/diamodule.c : added PyDiaText
8607 * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
8608 Although the python plug-in does not use libxml at all, the
8609 headers are required to use the lib/prop*.h headers
8611 * plug-ins/python/pydia-diagramdata.c : added wrappers for
8612 update_extents and get_sorted_selected (should I duplicate
8613 more functions from PyDiaDiagram or should they be moved?)
8615 * plug-ins/python/pydia-properties.c : allow to set (some) properties
8616 through the dictionary api
8617 * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
8618 * plug-ins/python/pydia-property.c : implement it (currently only
8619 string properties can be set)
8621 Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
8622 Quoting myself: 'Still not convinced that this is better than an
8623 integral property->type and some casting ...
8624 It is trading a straightforward 40 lines switch statement to
8625 this nice 'type safe' function mapping (about 125 lines)'
8626 (But now it works again, better than changing the News file :)
8628 2001-10-14 Cyrille Chepelov <chepelov@calixo.net>
8630 patch from <robert.young@dsto.defence.gov.au>:
8631 * objects/UML/component.c: remember to set font in UML component
8632 object (fixes #62132)
8634 2001-10-02 Lars Clausen <lrclause@cs.uiuc.edu>
8636 * plug-ins/metapost/metapost.c:
8637 * plug-ins/metapost/Makefile.am:
8638 * plug-ins/metapost/render_metapost.c:
8639 * plug-ins/metapost/render_metapost.h:
8640 Metapost renderer from Chris Sperandio
8642 2001-09-14 Hans Breuer <hans@breuer.org>
8644 * app/render_gdk.c : reflect the fact, that GTK already talks
8645 UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
8648 * app/render_libart.c : trying to fix #58045 but it appears
8649 to be an Gdk/win32, too.
8651 * lib/charconv.c : handle utf8 conversion with the help of
8652 glib-1.3 even in the !HAVE_UNICODE case.
8654 * lib/dia_xml.c : reduce complaing about missing encoding, by
8655 detecting if the default (utf8) would break the file.
8657 2001-09-13 Cyrille Chepelov <chepelov@calixo.net>
8659 * lib/charconv.c: (get_local_charset): at least please try to not
8660 silently change the logic, while avoiding crashes.
8662 * lib/font.c: (suck_font): put a #error, we have a nasty something
8663 to fix there before we switch to Gtk 2.0.
8665 2001-09-09 Hans Breuer <hans@breuer.org>
8667 * **/makefile.mingw : Approach to compile Dia with mingw.
8668 Compiling mostly works but running does not (yet) ...
8671 - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions.
8672 Apparently mingw needs it too.
8673 - enable 'normalization' of a null verctor. Otherwise the beziergon
8674 bounding box calculation would be broken at least with msvc. What's
8675 the mathematical correct result of 0.0/0.0 ?
8677 * lib/dia_xml.c : isinf() for mingw too.
8679 * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw
8682 * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8").
8685 * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
8687 * lib/libdia.def : updated externals. Apparently mingw needs
8688 them to produce the right mangling.
8690 * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
8693 2001-09-08 Wang Jian <lark@linux.net.cn>
8695 * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
8697 2001-09-07 Cyrille Chepelov <chepelov@calixo.net>
8699 * lib/dia_xml_libxml.h:
8700 * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
8701 libxml1's code, to rework the output file before it gets committed
8702 to disk. This is rubbish, and will be removed when libxml2
8703 switches from discouraged to mandatory.
8704 All in all, this fixes #60152.
8707 * lib/charconv.c: (charconv_unichar_to_utf8):
8708 made the type of the input parameter explicitly an unsigned long.
8710 * configure.in: Added a check for libz (we must now include it
8711 explicitly, for xmlDiaSaveFile).
8713 * app/load_save.c: (diagram_data_save):
8714 * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
8715 (dia_pluginrc_write):
8716 * plug-ins/shape/shape-export.c: (new_shape_renderer),
8717 (end_render), (draw_string):
8718 * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
8721 Made sure we always write UTF-8 XML files, and through
8724 * NEWS: documented that fact.
8726 2001-09-07 James Henstridge <james@daa.com.au>
8728 * configure.in (found_libxml): refactor the check for libxml a
8729 little so that it handles finding both libxml1 and 2 better.
8731 2001-09-03 Cyrille Chepelov <chepelov@calixo.net>
8733 * app/app_procs.c: removed a spurious } which caused a compilation
8734 error in the (!HAVE_GNOME && HAVE_POPT_H) case
8736 * lib/charconv.c: (get_local_charset): some versions of iconv(1)
8737 don't know what ANSI X3.4-1968 is. I didn't know until this day,
8738 but it's just plain old ASCII. Added a check to shield the poor
8741 Patches from <robert.young@dsto.defence.gov.au>:
8743 * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
8744 width and height of text before calculating bounds. Fixes #59928
8746 * app/preferences.c: Moved grid related items into Grid Tab.
8748 2001-09-02 Cyrille Chepelov <chepelov@calixo.net>
8750 * app/interface.c: (create_zoom_widget): connected one more signal
8751 to the Zoom selector combo's list. Fixes #59879.
8753 * app/app_procs.[ch]: (app_init) (do_convert)
8754 (build_output_file_name): brought back into the main executable
8755 the rare useful bits of the ill-fated diaconv. This means we have
8756 one new feature : --export-to-format (-t), which should make
8757 writing conversion scripts easier, and a crude implementation of
8758 -t and -e for the poptless argument parsing, which means the Win32
8759 port should be able to take advantage of it (that should make
8760 resolving #58197 possible).
8762 * app/diaconv.c: kept the poor duck compiling (but that's about
8765 * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
8768 * NEWS: updated about the new feature above, and documented the
8769 "missing encoding specification" complaint.
8771 2001-09-01 Abel Cheung <maddog@linux.org.hk>
8773 * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
8775 2001-09-01 Cyrille Chepelov <chepelov@calixo.net>
8777 * objects/standard/bezier.c: used g_new0 instead of g_new, to take
8780 2001-09-01 James Henstridge <james@daa.com.au>
8782 * */Makefile.am: various changes to include missing files, and fix
8783 sheets dir to handle building with builddir != srcdir.
8785 * autogen.sh: unconditionally pass the --enable-maintainer-mode
8786 and --enable-db2html flags so that builds from CVS work correctly.
8788 * configure.in: increment version number. Also add an
8789 --enable-db2html flag. Without the flag, db2html won't be run (if
8790 the flag is passed and db2html is not present, do nothing).
8792 2001-08-30 Cyrille Chepelov <chepelov@calixo.net>
8794 * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
8795 even compiled. It's really too bad there is no lint tool easily
8796 available (or a more cautious, pedandic, paranoid and verbose
8797 compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
8799 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
8802 * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
8803 from <robert.young@dsto.defence.gov.au>. Fixes #59591.
8805 * app/menu.c: added ellipsis(...) to diagram properties menu item.
8806 * app/dia-props.c: diagram properties dialog contents did not
8807 represent current diagram settings.
8808 * app/dia-props.[ch]:
8809 * app/display.c: diagram properties contents now follows currently
8811 Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
8813 * AUTHORS: added Robert Young.
8815 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
8817 * app/modify_tool.c: (modify_button_release): Patch from
8818 <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
8819 #59090: if selection dragging was released outside of the window,
8820 artifacts of the selection box remained.
8822 2001-08-25 Cyrille Chepelov <chepelov@calixo.net>
8824 * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
8826 2001-08-19 Cyrille Chepelov <chepelov@calixo.net>
8829 * sheets/Makefile.am: prepared the terrain for the Version of
8830 xml-i18n-tools Which Comes After 0.9 (and which will feature at
8831 last a sane behaviour with XML files). Some reasonible delay
8832 before enforcing that version *will* be given.
8834 * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
8836 * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
8837 becomes a nonexistent symbol.
8839 2001-08-18 Hans Breuer <hans@breuer.org>
8841 * app/app_procs.c : made it compile without ENABLE_NLS
8843 * app/diap_callbacks.c : strcmp isn't guaranteed to work
8848 * objects/custom/shape_info.c : avoid mixing allocators and dealocators.
8850 xmlGetProp, ... -> xmlFree
8851 malloc, strdup -> free
8852 g_new, g_malloc, g_strdup - > g_free
8854 * app/win32print.c : some more error checking, still not
8857 * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
8859 * lib/dia_xml.c : msvc still has no unistd.h
8862 * lib/sheets.c : temporary resolved libxml include brokeness
8864 * plug-ins/python/pydia-*.c : reflect Font and StdProp api
8865 changes. Compiles again, but doesn't do anything useful anymore.
8866 (see THE_PROP_TYPE_IS_INTEGRAL)
8868 * **/makefile.msc : updated to use LIBXML2
8870 * lib/libdia.def : reflect api changes
8872 2001-08-17 Cyrille Chepelov <chepelov@calixo.net>
8874 * config.h.win32: added defines telling that gtk speaks UTF8.
8875 Hans, I believe this reflects what GTK on Win32 does.
8877 * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
8879 * lib/prop_inttypes.c:
8881 * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
8884 * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
8885 trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
8886 search for plug-ins is done.
8887 * app/Makefile.am: made app/run_dia.sh use the // capability. No
8888 need to update this anymore if we get a new plug-in library (or
8891 * lib/dia_xml.c: #include <unistd.h> was missing.
8894 * lib/proplist.c: (pdtpp_defaults): Added a new flag,
8895 PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
8898 2001-08-16 Cyrille Chepelov <chepelov@calixo.net>
8900 * sheets/civil.sheet: removed duplicate "Danish" entries.
8905 * sheets/Makefile.am:
8907 * Makefile.am: applied the xml-i18n-tools README's instructions.
8909 * po/(da de fr hu nl nn no sl).po: merged the translations from
8910 the sheet files into the .po files. I hope I haven't mixed
8912 * sheets/*.sheet (REMOVED):
8913 * sheets/*.sheet.in (NEW): moved the sheet files sans
8914 translations into .sheet.in files.
8916 * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
8917 because we don't yet want to force all translators to work using
8918 UTF-8 editors. We'll want to do that sometime (sooner rather than
8919 later). Okay, I sing a slightly different tune in po/ChangeLog...
8921 * dia.desktop (REMOVED):
8922 * dia.desktop.in (NEW): used also the x18t infrastructure for
8925 * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
8926 "official" version of x18t with support for .sheet files is available.
8927 * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
8928 "official" version of x18t which doesn't corrupt UTF-8 data in XML
8931 ** yes, we are now using xml-i18n-tools to manage the sheet
8932 translations. For the Win32 build, Nemo stores snapshots of
8933 translated strings next to the CVS snapshots. **
8935 * sheets/checktrans.py: suddenly, some sheets have lots of
8936 translations (objects which existed before sheets, mostly).
8937 Adapted the formatting.
8939 * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
8941 * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
8942 * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
8943 <robert.young@dsto.defence.gov.au>, to fix #59090.
8945 * app/display.c: (ddisplay_scroll): While at it, added some
8946 margin, so that autoscrolling can happen within a margin outside
8947 the diagram's extents.
8951 * app/disp_callbacks.c: Robert "forced" me to go when I usually
8952 don't, namely the app/ directory. So while I was there, I
8953 scratched a long-time itch. If no object has focus, pressing the
8954 space bar will select back the tool which was selected before the
8955 current one (I find this especially useful with "reset after create" !)
8957 * lib/proplist.c: (prop_list_from_single): Renamed
8958 prop_list_singleton() to avoid confusion with the Singleton
8959 pattern (which it definitely is not).
8961 * lib/propobject.c: (object_prop_by_name_type),
8962 (object_prop_by_name): The "flags" parameter was not necessary.
8963 These don't return synthetic properties, but properties built from
8964 a real property description list; therefore, we don't call
8965 make_new_prop() but use the existing property descriptor, which
8966 has perfectly valid (and meaningful) flags.
8968 * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
8969 new predicates better reflect the reason why properties exist when
8970 they're created by make_new_prop() or object_prop_by_name().
8972 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8973 * lib/prop_basic.c: (make_new_prop): used the new reasons instead
8976 * lib/properties.h: reflects all the above changes.
8978 * objects/SADT/arrow.c:
8979 * objects/SADT/annotation.c:
8980 * sheets/SADT.sheet: minor renamings to better match FIPS 183's
8983 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
8986 * lib/proplist.c: (prop_list_singleton):
8987 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
8988 Added these, to simplify interactions of plug-ins with the StdProp
8993 * lib/dia_xml_libxml.h (NEW):
8998 * objects/custom/shape_info.c: A few prototypes were causing
8999 #include hell, because we generally attempt to not pull the whole
9000 libxml header set when we include dia_xml.h. Moved those
9001 prototypes away for the rare cases they're necessary.
9003 2001-08-15 Hans Breuer <hans@breuer.org>
9005 * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
9008 * lib/makefile.msc : updated
9010 * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
9011 use G_GNUC_FUNCTION instead.
9013 * lib/prop_inttypes.c : include <stdlib.h> for strtol()
9015 * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
9016 msvc instead of cleaning missing includes
9018 * plug-ins/wmf/wmf.cpp :
9019 * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
9021 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
9028 * objects/custom/shape_info.c:
9029 * plug-ins/shape/shape-export.c:
9030 * plug-ins/svg/render_svg.c: used the libxml1/libxml2
9031 compatibility macros as taught by http://xmlsoft.org/upgrade.html;
9032 removed xmlKeepBlanksDefault(0) in favour for proper
9033 xmlIsBlankNode() testing. Lots of other fixups to use the
9034 "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
9035 make libxml1 output correct files.
9037 * configure.in: use libxml2 (>= 2.3.9) if it's found, or
9038 libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
9039 packages). If both devel packages are found, the build will stop
9040 (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment)
9042 * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
9043 allocate the first handle :-)
9045 * lib/object.c: (object_init): <gratuitous>g_new() used instead of
9046 a cast and a sizeof.</gratuitous>
9048 * objects/custom/custom_object.c: (custom_copy): don't call
9049 text_get_attrbutes if the shape has no text...
9050 (custom_update_data): The info->resize_with_text code was a bit
9051 directive; basically, the shape's bounding box was forced to be
9052 proportional to the text's bounding box.... This fixes #57187.
9054 * objects/custom/shape_info.c: (load_shape_info): Set an obvious
9055 default for info->aspect_ratio; unobfuscated a line about
9056 info->resize_with_text;
9058 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
9060 * lib/properties.h: added comments next to the PROP_TYPEs to tell
9061 which C Property subclass to use.
9063 * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
9064 cast-ridden form of setting properties in a list, in favour for
9065 the "local pointers" form. I'll take any better offer...
9067 2001-08-14 Cyrille Chepelov <chepelov@calixo.net>
9069 * lib/font.c: fprintf(...) --> fprintf(format...)
9071 * configure.in: added a disabled versioned test for glib.
9072 * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
9073 (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
9074 g_critical() with a simple g_error(). Proper fix is to implement
9077 * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
9081 * lib/propdesc.c: (prop_desc_list_calculate_quarks):
9082 * lib/proplist.c: (find_prop_by_name_and_type):
9083 * lib/prop_basic.c: (make_new_prop), (initialize_property):
9084 * lib/propoffsets.c: (do_set_props_from_offsets),
9085 (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
9086 Added a type_quark member to PropDescription, Property and
9087 PropOffset. Used it to implement a safety in
9088 do_[sg]et_props_from_offsets().
9090 * objects/flowchart/diamond.c: the diamond's text was not saved,
9091 and thus not even copied (c&p).
9092 * objects/standard/textobj.c: ditto.
9094 Most of the above changes thanks to Robert Young's testing. Thanks !
9096 2001-08-14 Kjartan Maraas <kmaraas@gnome.org>
9098 * sheets/*.sheet: Added some Norwegian translations (both nynorsk
9101 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
9103 * lib/proplist.c (prop_list_from_descs): added a call to
9104 prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
9105 too embarrassing to tell.
9107 * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
9108 while loop to a for loop, for symmetry with
9109 prop_offset_list_calculate_quarks().
9111 * lib/geometry.h: new inline function, rectangle_equals.
9113 * lib/diagramdata.[ch]: refactored a bit the diagram extents
9114 computation logic, and changed it to always be the union of the
9115 visible layers' extents. This should close #58882 (Debian
9116 #107167), and fixes #55498.
9118 * app/display.c: made the initial visible box more coherent with
9119 the diagram being loaded's extents.
9121 * app/prop_attr.c: don't set the font (from offset) if font_data
9122 is NULL. Two brainos in colorprop_load() and fontprop_load().
9124 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
9126 * lib/properties.[ch]: split in a lot of pieces:
9128 * lib/prop_*.[ch] (NEW): all property types are now first-class
9129 objects, inheriting from the original abstract Property type.
9130 * lib/propdesc.c (NEW): property description handling routines
9131 * lib/propoffsets.c (NEW): property offset handling routines
9132 * lib/proplist.c (NEW): property list handling routines
9133 * lib/propobject.c (NEW): property list <-> object routines
9134 * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
9136 * lib/propinternals.h: prototypes for stuff not usually needed by
9137 the outside of StdProps.
9138 * lib/Makefile.am: a lot of new files have been added...
9140 THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
9141 BOTH INTERFACES AND RUN-TIME STABILITY.
9143 * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
9145 * lib/object.h: removed the incestuous relationship with
9146 properties.h' contents. Now a Property list is a GPtrArray -->
9147 object interface change !
9149 * app/app_procs.c/app_init(): removed a disabled call to a
9150 non-existent routine. Added a call to stdprops_init().
9152 * objects/Makefile.am: disabled the construction of EML. I'm not
9153 touching these until a certain issue is solved (or this module
9156 * objects/**/*.c except objects/EML/*: adapted all stdprop-using
9157 objects to the interface changes.
9159 * app/disp_callbacks.c: killed a warning.
9160 * lib/dia_xml.[ch]: sprinkled "const" modifiers.
9163 The macros PROP_VALUE_* have disappeared. Adapted to using the new
9166 * plug-ins/dxf/dxf-import.c:
9167 * plug-ins/xfig/xfig-import.c:
9168 PROP_VALUE_* macros have been removed. Converted to the new API.
9170 * plug-ins/python/**/*: I gave up converting this; I can't
9171 compile --with-python (problems with object.h defined both by us
9172 and by Python). I'll gladly help whomever cares to fix it !
9173 (or, fix it myself if someone tells me how to compile it).
9175 * configure.in: added the UNICODE-related progress defines.
9178 * lib/geometry.h: On Solaris and perhaps other systems, finite()
9179 is defined in ieeefp.h rather than in math.h. Patch from Andrew
9180 Halper <ashalper@acm.org> with further modifications, isinf() is
9181 provided by -lsunmath (sunmath.h).
9183 * lib/font.c: conditionally disabled Lars' debugging messages.
9184 Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
9186 2001-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
9188 * lib/bezier_conn.h:
9189 * objects/standard/bezier.c (bezierline_create):
9190 * lib/bezier_conn.c (bezierconn_init):
9191 Preparations for use of userdata for bezier lines.
9193 * objects/standard/polygon.c:
9194 * objects/standard/create.h:
9197 * plug-ins/xfig/xfig-import.c:
9198 Use of user_data for polygon as well, including adding
9199 polyshape_set_points. Include file for non-interactive
9200 creation of standard objects, objects/standard/create.h
9202 2001-08-10 Lars Clausen <lrclause@cs.uiuc.edu>
9209 More preliminary freetype support. Not at all functional, crashes
9214 * objects/standard/polyline.c:
9215 Support for creating polyline objects with more than two points.
9216 This includes an extra function and a prototype change in the
9217 poly_conn lib object.
9219 * lib/object.c (object_copy): Fixed memory leak of handles and
9222 2001-08-08 Abel Cheung <maddog@linux.org.hk>
9224 * dia.desktop: added traditional Chinese strings
9226 2001-08-04 Cyrille Chepelov <chepelov@calixo.net>
9228 * NEWS: updated to reflect build-time dependencies.
9230 * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
9231 around obj->ops->describe_props(obj). Quarks are none of an
9232 object's business in the general case...
9233 * lib/text.c: Added an apply_textattr_properties() function to
9234 factor out some common code related to applying a dialog's text
9235 attribute properties to a (Text *) which wasn't edited there.
9236 Ditto for textstr, for the string part of an objet.
9238 * objects/GRAFCET/action.c:
9239 * objects/SADT/annotation.c:
9240 * objects/SADT/box.c: used apply_textattr_properties().
9242 * objects/UML/actor.c:
9243 * objects/UML/branch.c:
9244 * objects/UML/component.c:
9245 * objects/UML/constraint.c:
9246 * objects/UML/small_package.c:
9247 * objects/UML/state.c:
9248 * objects/UML/usecase.c:
9249 * objects/UML/large_package.c:
9250 * objects/UML/note.c:
9251 * objects/UML/node.c:
9252 * objects/UML/message.c:
9253 * objects/UML/classicon.c:
9254 * objects/UML/object.c:
9255 * objects/UML/realizes.c:
9256 * objects/UML/dependency.c:
9257 * objects/UML/implements.c:
9258 slim-fast(tm) cure using more StdProps, and UTF-8 audit.
9259 (most objects were already using StdProps to some extent ; this
9260 systematises usage and removes some dead wood).
9262 * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
9263 * objects/UML/uml.[ch]: audited for UTF-8.
9265 * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
9266 uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
9267 private (ISO-8859-1) definition.
9269 * lib/charconv.c: Added a warning if we didn't run
9270 nl_langinfo(CODESET) but rely instead on a hardcoded default.
9272 2001-08-02 Cyrille Chepelov <chepelov@calixo.net>
9275 * app/disp_callbacks.c: added a way for an object to cause an
9276 already realised menu to be destroyed (for instance if it changes
9279 * objects/custom/custom_object.c: used the above to fix #55073.
9281 2001-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
9283 * configure.in: Remove 2.50 prereq.
9285 2001-07-30 Cyrille Chepelov <chepelov@calixo.net>
9287 * po-checktrans.py: under some circumstances, there was one column
9288 more than what was supposed to be, thus breaking the formatting.
9290 2001-07-29 Cyrille Chepelov <chepelov@calixo.net>
9292 * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
9294 * NEWS: updated with new stuff since 0.88
9296 * shapes/network/antenna.shape: the text was misplaced ; fixed.
9298 * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
9299 firewall router (upon request from Cyril Lacoux
9300 <clacoux@easter-eggs.com>)
9302 * configure.in (didn't rename to configure.ac): autoconf 2.50
9303 constructs were used ; added an AC_PREREQ call to guard against
9306 2001-07-27 Cyrille Chepelov <chepelov@calixo.net>
9308 * lib/properties.c: minor clean-ups with the event delivery code.
9310 * EML/instantiation.c: brought this object back from stone and ice
9313 * app/diaconv.c(NEW): added a command-line conversion tool. Still
9314 lacks a man page and correctness. In fact, it doesn't work. Please
9315 see #58196 if you want to finish it.
9317 * lib/message.[ch]: redefined things a little so that a different
9318 message_internal routine could be passed.
9319 applications can use that to fit themselves to the display model.
9321 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
9323 * objects/SADT/box.c:
9324 * objects/GRAFCET/action.c: spelling in property descriptors (name
9326 * objects/SADT/annotation.c: ditto, plus a temporary test of the
9327 event delivery code (try to click on the "click me !" button !).
9330 * lib/properties.[ch]: improved (fixed) support for group event
9331 handlers. Fixed various things from yesterday's code to make it
9332 not too obviously crash.
9334 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
9336 * app/group.c: added delivery of events to the first member of the
9337 group which is able to process it.
9339 * lib/properties.c(prop_desc_lists_intersection): properties
9340 don't match if they don't have identical event handler.
9341 * lib/properties.h: simplified the PropEventHandler signature.
9343 Event delivery code is still untested so far, but should be
9346 2001-07-25 Cyrille Chepelov <chepelov@calixo.net>
9348 * lib/properties.[ch]: Added (untested !) property event handler
9349 capability. Added a new PROP_TYPE_BUTTON, for the purpose of
9350 generating such events. This stuff compiles, and should lurk
9351 around silently as long as you don't declare property descriptors
9352 with events (AFAICT).
9353 In object_create_props_dialog() and friends:
9354 attached a single structure with lots of data instead of lots of
9355 little attachments of data to the dialog widget.
9357 * lib/object.h: fixed mild typedef breakage introduced by the above.
9359 2001-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
9361 * lots of files: Changed Font to DiaFont
9362 * */Makefile.am: Added FREETYPE_LIBS
9363 * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
9365 2001-07-13 Kjartan Maraas <kmaraas@gnome.org>
9367 * configure.in: Added "nn" to ALL_LINGUAS.
9369 2001-07-09 Alex Larsson <alexl@redhat.com>
9371 * app/disp_callbacks.c:
9372 Add gdk_im_ready() calls to XIM code.
9374 2001-07-04 Cyrille Chepelov <chepelov@calixo.net>
9376 * lib/properties.[ch]: splitted prop_get_widget() into
9377 prop_get_widget() (gives a widget but doesn't fill it) and
9378 prop_reset_widget() (fills an existing widget with a property's value).
9380 * lib/widgets.[ch]: const enforcement police work.
9382 * shapes/network/antenna.shape: added a connection point at top,
9383 upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
9385 2001-06-25 Cyrille Chepelov <chepelov@calixo.net>
9387 * intl/*: tested with gettext-0.10.38
9388 * configure.in: moved a macro call around (AM_PROG_CC) to keep
9389 some of autogen.sh from complaining.
9390 * INSTALL: added a warning against gettext older than at least 0.10.36
9392 2001-06-19 Cyrille Chepelov <chepelov@calixo.net>
9394 * configure.in: added explicit calls to AM_LANGINFO_CODESET and
9395 AM_ICONV (both provided by gettext)
9397 2001-06-14 Cyrille Chepelov <chepelov@calixo.net>
9399 * lib/charconv.c: corrected the degraded mode for when
9400 !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.
9402 * objects/chronoline/chronoline_events.c: UTF8 compliance.
9404 2001-06-13 Cyrille Chepelov <chepelov@calixo.net>
9406 * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
9407 new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay
9408 widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
9411 * objects/chronogram/chronoline.c:
9412 * objects/chronogram/chronoref.c: took advantage of the above to
9413 make nicer looking dialogs.
9415 * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
9416 from libunicode's internals).
9417 * lib/message.c: convert strings to local encoding prior to
9418 display (UNICODE_WORK_IN_PROGRESS)
9419 * lib/properties.[ch]: convert strings to local encoding prior to
9420 display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
9421 * lib/render.h: tagged strings as (utfchar *) instead of (char *)
9422 * lib/stringprerenderer.[ch]: ditto
9424 (lib/text.c has been audited for UTF8, but the size of the changes
9425 make them inappropriate for commit before 0.89)
9427 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
9429 * objects/boolequation.h (<save|load>_boolequation): made the
9430 prototypes for match the .c file.
9432 * samples/grafcet.dia: minor non-conformance with IEC-848
9433 fixed (in the transition from step 100 to step 101).
9435 * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
9436 disallow editing of properties if the object is part of a group.
9438 * objects/chronogram/chronoline.c:
9439 * objects/SADT/annotation.c:
9440 * objects/SADT/box.c:
9441 * objects/GRAFCET/step.c:
9442 * objects/GRAFCET/transition.c:
9443 * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
9445 2001-06-12 Hans Breuer <hans@breuer.org>
9447 * lib/libdia.def : removed lazyprop exports
9448 * lib/makefile.msc : removed lazyprop.obj
9450 * objects/custom/custom_objects.c : use HAVE_UNISTD_H
9451 and avoid crashes by always creating a custom->text,
9452 when (custom->info->has_text)
9454 * objects/makefile.msc : removed sybase from build
9456 * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
9457 ObjectNode is a pointer already, which is what we want
9458 instead of a pointer pointer.
9460 * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
9461 and implemented working export for images
9463 * shapes/network/zip-disk.shape : added connection points
9465 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
9467 * objects/SADT/box.c: removed lazyprops for standard props.
9468 * objects/chronograms/chronoline.c: removed lazyprops (phew !)
9469 * objects/chronograms/chronoref.c: ditto
9473 * lib/connpoint_line.c:
9474 * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
9475 * lib/properties.[ch]: new property types:
9476 - PROP_TYPE_STATIC: static text to be displayed in the dialog.
9477 - PROP_TYPE_MULTISTRING: same as string, but renders as a
9478 multi-line entry box.
9479 - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
9480 in a tabbed-notebook style (this is a bit complicated to use;
9481 see objects/chronograms/chronoline.c for an example).
9483 2001-06-11 Cyrille Chepelov <chepelov@calixo.net>
9485 * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
9486 * objects/GRAFCET/step.c: ditto.
9487 * objects/GRAFCET/vector.c: ditto.
9488 * objects/SADT/annotation.c: ditto.
9489 * objects/SADT/arrow.c: ditto (plus bounding box fixes).
9491 * lib/properties.[ch]: two more non-visible types
9492 (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
9494 * lib/neworthconn.[ch]:
9495 * lib/orthconn.[ch]: added support for manipulation through
9496 standard properties.
9498 * configure.in: removed -fomit-frame-pointer, this seems to
9499 confuse recent gcc/gdb's, maybe we'll get better stack dumps in
9502 * charconv.[ch]: more functions from unicode.h.
9503 get_local_charset() wasn't working properly, fixed now.
9504 A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to
9507 * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
9508 * lib/lazyprops.[ch]: put a big fat warning in.
9510 * app/render_eps.c: one line mysteriously went away, causing a
9511 variable to be used uninitialised....
9513 2001-06-10 Cyrille Chepelov <chepelov@calixo.net>
9515 * app/app_procs.c: commented out the call to
9516 bind_textdomain_codeset(): it's premature.
9518 * lib/connpoint_line.c: a NULL point can be given to
9519 connpointline_adjust_count(), in case there's not really a clicked
9522 * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
9523 #include order troubles. #included by lib/text.h, so there is no
9524 impact outside lib/.
9525 * lib/properties.[ch]: added support for CONNPOINT_LINE and
9526 (nonvisible) TEXT properties.
9528 * objects/GRAFCET/action.c:
9529 * objects/GRAFCET/vergent.c: dropped lazyprops for standard
9532 * objects/UML/lifeline.c: pruned some legacy stuff (now pure
9533 standard properties code). Grafted a dynamic number of connection
9534 points (heavily inspired from what Vergent does). This is the real
9537 * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
9539 * lib/fonts.c: some hardening (mostly g_assert())
9540 2001-06-09 Cyrille Chepelov <chepelov@calixo.net>
9542 * app/app_procs.c (app_init): added a call to
9543 bind_textdomain_codeset() so that gettext gives us UTF-8 strings
9544 (UNICODE_WORK_IN_PROGRESS).
9546 2001-06-08 Cyrille Chepelov <chepelov@calixo.net>
9548 * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
9550 * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch>
9551 (fixes #55863) : some clean-ups in the handling of connection
9552 points. Now the total number of connection points is just a
9553 #define (the proper solution is to retrofit the GRAFCET Vergent's
9554 dynamic behaviour wrt connection points).
9556 2001-06-07 Cyrille Chepelov <chepelov@calixo.net>
9558 * app/app_procs.c (app_init): added a call to unicode_init() (only
9559 if HAVE_UNICODE, of course).
9561 * lib/charconv.c: simplified the code which detects the local
9562 charset. No need to use <langinfo.h>, libunicode already takes the
9563 burden of figuring that out. Also, if local charset is utf8, no
9564 conversion will take place.
9565 Exposed a way to get the current charset (similar to
9566 unicode_get_charset() but actually working, hopefully).
9568 * lib/charconv.h: Added a partial non-UTF8 implementation of
9569 unicode.h if !HAVE_UNICODE (actually, all the time for the
9570 moment). The UTF8 implementation is just macros on libunicode (use
9571 the functions prefixed by uni_, as defined by charconv.h, not
9572 unicode_, unless that code is to be compiled only if HAVE_UNICODE).
9573 From now on, all strings which don't *need* to be ASCII should be
9574 utfchar *, not gchar *. Just include charconv.h, let it sort out
9575 the details (such as: "is libunicode available and enabled?")
9577 * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
9578 "API" instead of directly libunicode. Removed the now unnecessary
9579 speculative clustering of characters in encoding pages.
9581 * app/render_eps.c: made the local8->utf8 conversions dependent of
9582 !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
9583 boundary will be when this WIP is done).
9585 * lib/dia_xml.c (data_point): fixed a format string typo.
9587 * po/POTFILES.in: added all C files from lib/
9589 2001-06-06 Cyrille Chepelov <chepelov@calixo.net>
9591 * app/disp_callbacks.c: make sure the objects' connected objects
9592 are updated when the objects' size changes after a keypress event
9595 * configure.in: added a big warning about the possible future
9596 non-optionality of --enable-unicode.
9598 * TODO: removed entries which look like done ; added a few ones
9599 (Bugzilla "enhancement" bugs may be a better way to keep track of
9602 2001-06-05 Cyrille Chepelov <chepelov@calixo.net>
9604 * objects/UML/message.c: got rid of #55564 and of message_copy()
9605 by using more standard properties (are the message_state_*()
9606 functions still necessary ?)
9608 2001-06-04 Fredrik Hallenberg <hallon@lysator.liu.se>
9611 * objecs/custom/shape_info.c:
9612 * plug-ins/shape/shape-export.c:
9613 * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
9614 use xmlChar instead of obsolete CHAR.
9616 2001-06-03 Hans Breuer <hans@breuer.org>
9618 * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
9619 * app/commands.c : give the right number of parameters
9620 to diagram_update_menu_sensitivity ()
9622 * app/preferences.c : do proper initialization for DiaPrefsData:
9623 render_bounding_boxes. It would be a real surprise if 'hidden'
9624 properties would have ever worked before.
9625 Don't try to access the widgets of hidden property, it does not
9628 * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
9629 it is defined in libdia, but initialized from dia app, which
9630 otherwise gave nice start-up crashes.
9632 * lib/diagramdata.c : initialize the color for rendering bounding
9633 boxes in the Dia range (0 .. 1.0)
9635 * lib/libdia.def : added *_bbox functions for export
9637 * lib/makefile.msc : added new sources
9639 * objects/custom/custom_object.c : use HAVE_UNISTD_H
9641 2001-05-30 Cyrille Chepelov <chepelov@calixo.net>
9644 * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
9645 removes a translation of menus (in a place where there shouldn't
9646 have been), which gets rid of a waterfall of warnings if LANG!=C,
9647 and a fix to #55047.
9649 2001-05-29 Steffen Macke <sdteffen@yahoo.com>
9651 * lib/charconv.c : added #include <errno.h>
9653 * app/dia_embedd.c : updated menus_get_item_from_path usage
9655 2001-05-27 Cyrille Chepelov <chepelov@calixo.net>
9657 * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
9658 Added a special case for Symbol strings, so that they're not
9659 re-encoded using the LN encoding (we use the bare Adobe encoding
9662 * objects/custom/custom_object.c: Now that #52912 is fixed,
9663 I could remove the ugly hack I wrote to squash the shape bounding box
9664 problem shown by Ben A. Hetland a few months ago, and fix it
9667 * lib/text.c: enlarged a little the bounding box to account for
9668 the cursor in rightmost position.
9670 * lib/diagramdata.c: draw bounding boxes only if the relevant
9671 variable is set (as before), but also only if the rendere is
9672 interactive (ie, don't bother rendering bounding boxes on
9674 Made the bounding box's line width a fixed value, 0.01
9676 * lib/boundingbox.c: fixed the "pointy corners" code for polylines
9677 and assymmetric control beziers. Implemented ellipse_bbox().
9679 * Makefile.am: incantations to get po/dia.pot build, as suggested
9680 by Hubert in #55075.
9682 * shapes/network/computer.shape: typo fixed.
9683 * shapes/network/antenna.shape: fixed #55074 (antenna is now
9684 properly translucent, except for its base where it makes sense. It
9685 doesn't look that ugly anymore if transparent mode is on).
9687 * configure.in: --enable-unicode is now the default. This
9688 still currently affects only printing.
9690 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
9692 * lib/boundingbox.c: fixed a minor logic error wrt closed shapes.
9693 The overshoot code is buggy, and the bounding boxes for polyshapes
9694 looks a bit cheezy. To be done ASAP.
9696 2001-05-26 James Henstridge <james@daa.com.au>
9698 * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
9699 This should clear up some of the build problems people have been
9702 * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
9704 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
9707 * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
9708 box code (beginning with lines, polylines and polybeziers), into a
9709 more generic facility. While at it, a better shot at correctly
9710 computing the bounding box of a Bezieroid (should take care of
9711 #53424, #51233 and of course is part 1 of #52912).
9713 * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
9714 into a hidden preference (set render_bounding_boxes in diarc).
9715 * app/preferences.[ch]: Added support for hidden preferences.
9717 * lib/geometry.[ch]: sprinkled with "const" modifiers.
9719 * lib/bezier_conn.[ch]:
9720 * lib/beziershape.[ch]:
9721 * lib/connection.[ch]:
9723 * lib/poly_conn.[ch]:
9724 * lib/orth_conn.[ch]:
9725 * lib/neworth_conn.[ch]:
9726 * lib/polyshape.[ch]: adapted to take advantage of
9727 boundingbox.[ch] instead of relying on private (duplicate) code.
9730 * object/GRAFCET/action.c:
9731 * objects/GRAFCET/condition.c:
9732 * objects/GRAFCET/vergent.c:
9733 * objects/GRAFCET/vector.c:
9734 * objects/SADT/annotation.c:
9735 * objects/SADT/arrow.c:
9736 * objects/ER/participation.c:
9737 * objects/UML/constraint.c:
9738 * objects/UML/implements.c:
9739 * objects/UML/lifeline.c:
9740 * objects/UML/message.c:
9741 * objects/UML/realizes.c:
9742 * objects/UML/generalization.c:
9743 * objects/UML/association.c:
9744 * objects/UML/dependency.c:
9745 * objects/FS/flow-ortho.c:
9746 * objects/network/bus.c:
9747 * objects/standard/arc.c:
9748 * objects/standard/bezier.c:
9749 * objects/standard/beziergon.c:
9750 * objects/standard/line.c:
9751 * objects/standard/polygon.c:
9752 * objects/standard/zigzagline.c:
9754 * objects/standard/polyline.c: Some *BBExtras structures changed
9755 names while moving to boundingbox.[ch]. A trivial mass-renaming.
9757 2001-05-20 Cyrille Chepelov <chepelov@calixo.net>
9759 * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
9760 wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
9762 * app/display.c (ddisplay_update_scrollbars): from Patrick's
9763 suggestion, remove the extra scrollable area (it was only visible
9764 to the scrollbars). This is experimental.
9766 * objects/custom/custom_object.c: If a shape's icon file doesn't
9767 exist, warn and substitute a default icon, instead of crashing.
9770 * objects/network/network.c:
9771 * shapes/network/modularswitch.(shape|xpm) (NEW):
9772 * shapes/network/printer.(shape|xpm) (NEW):
9773 * shapes/network/genmonitor.(shape|xpm) (NEW):
9774 * shapes/network/computer.(shape|xpm) (NEW):
9775 * shapes/network/Makefile.am: four less objects, four more shapes.
9776 These were the last known RenderObjects. (phew !)
9780 * objects/sybase/Makefile.am:
9781 * objects/network/Makefile.am: Removed the older Renderobjects
9782 from the build, and their infrastructure (not yet deleted,
9785 * shapes/network/sceadplug.shape:
9786 * shapes/network/antenna.shape:
9787 * shapes/network/modem.shape:
9788 * shapes/network/hub.shape:
9789 * shapes/network/rj45plug.shape:
9790 * shapes/sybase/client.shape:
9791 * shapes/sybase/dataserver.shape:
9792 * shapes/sybase/ltm.shape:
9793 * shapes/sybase/repserver.shape:
9794 * shapes/sybase/rsm.shape:
9795 * shapes/sybase/stableq.shape: Minor corrections (line widths were
9796 ten times too narrow).
9798 2001-05-19 Cyrille Chepelov <chepelov@calixo.net>
9800 * objects/network/network.c:
9801 * shapes/network/sceadplug.(shape|xpm) (NEW):
9802 * shapes/network/antenna.(shape|xpm) (NEW):
9803 * shapes/network/modem.(shape|xpm) (NEW):
9804 * shapes/network/Makefile.am: four less objects, four more shapes.
9807 * lib/diagramdata.c:
9809 * lib/string_prerenderer.[ch] (NEW):
9810 Add a new renderer primitive, predraw_string() (does nothing, to be
9811 used as a hook to optimise the character encodings if needed).
9812 Added a string pre-renderer, which can be viewed as a filter
9813 renderer (to route draw_string() to predraw_string() and ignore
9814 the rest, in a first rendering pass)
9816 * app/render_eps.c: Took advantage of the above to make wholly
9817 optimised Postscript encoding page(s), even (especially) with
9818 non-latin1 code (HAVE_UNICODE must be true).
9820 (#53512 in fact is wholly resolved).
9822 2001-05-18 Cyrille Chepelov <chepelov@calixo.net>
9824 * lib/charconv.c: steps towards resolution of #53512 (inspired by
9825 Alexey Novodvorsky <aen@logic.ru>'s patch).
9827 * app/menus.c (dia_menu_signal_proxy): checked that the signal
9828 handler is not NULL before transferring control to it... (fixes #52836)
9830 * app/app_procs.c (app_init): removed non-constant initialiser
9833 * objects/custom/custom_object.c:
9834 * objects/custom/shape_info.[ch]:
9835 * objects/custom/test.xml: merged patch #53476 from Steven Hawkins
9836 <skh@mathstar.com>. This add support for a <svg:text> shape
9837 element, and some related style properties (font, font height,
9840 * doc/custom_shapes: a precision about the meaning of case in a
9841 SVG path (closes #52364)
9843 * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
9844 fixed by <drk@sgi.com>)
9846 2001-05-17 Cyrille Chepelov <chepelov@calixo.net>
9848 * objects/network/network.c:
9849 * shapes/network/Makefile.am:
9850 * shapes/network/hub.(shape|xpm) (NEW):
9851 * shapes/network/flash.(shape|xpm) (NEW):
9852 * shapes/network/rj45plug.(shape|xpm) (NEW):
9853 More shapes, less renderobjects.
9855 2001-05-16 Cyrille Chepelov <chepelov@calixo.net>
9857 * plug-ins/svg/render_svg.c: typo made exported ellipses
9858 corrupted (zero Y pseudo-radius).
9860 * objects/network/network.c:
9861 * objects/network/disc.c:
9862 * shapes/network/disc.(shape|xpm): Converted the first
9863 Renderobject into a shape. Normally, old diagrams should reload
9864 without problems (please check this against your diagrams). More
9865 flexibility should be gained that way. I intend to hunt and
9866 eradicate all renderobjects as I can commit cycles to that.
9868 * objects/Makefile.am:
9871 * objects/sybase/sybase.c:
9872 * shapes/sybase/Makefile.am(NEW):
9873 * shapes/sybase/client.(xpm|shape) (NEW):
9874 * shapes/sybase/dataserver.(xpm|shape) (NEW):
9875 * shapes/sybase/ltm.(xpm|shape) (NEW):
9876 * shapes/sybase/repserver.(xpm|shape) (NEW):
9877 * shapes/sybase/rsm.(xpm|shape) (NEW):
9878 * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
9879 renderobjects into shapes. The Sybase objects are now not compiled
9880 anymore, and ready to be nuked if nobody objects in the next few weeks.
9884 * app/disp_callbacks.c:
9886 * app/interface.[ch]:
9888 * app/modify_tool.c:
9889 * app/preferences.[ch]:
9890 * app/recent_files.c:
9891 * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
9892 a menu bar reflecting the popup menu, to each display window. This
9893 is optional (changing the preference currently doesn't affect
9894 already opened windows; a few other rough edges to cut).
9896 * plug-ins/wpg/wpg.c:
9897 * plug-ins/xfig/xfig-import.c:
9898 * plug-ins/python/pydia-property.c:
9899 * plug-ins/python/pydia-properties.c:
9900 * plug-ins/python/pydia-geometry.c:
9901 * plug-ins/pstricks/render_pstricks.c:
9903 * objects/EML/dbox.c:
9904 * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix
9907 * lib/ps-utf8.c: improved the clustering of alphabetic character
9908 definitions in custom encodings pages.
9910 2001-05-02 Hans Breuer <hans@breuer.org>
9912 * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type
9913 of 'obj_bb' to PROP_TYPE_RECT
9915 * objects/custom/custom_object.c : take all quarks into account,
9916 not only 4 as copy&paste suggests
9918 * objects/uml/objects.c : completed the implementation of the
9919 property api to avoid reading of totally bogus data. Removed
9920 the PROBABLY_DEAD_CODE. It actually was dead code, but not because
9921 there was too much but too less ...
9923 The above changes removed all known crashes (mentioned below)
9924 from the Property API. Property access is still incomplete though.
9926 * objects/flowchart/box.c :
9927 * objects/flowchart/diamond.c :
9928 * objects/flowchart/ellipse.c :
9929 * objects/flowchart/parallelogram.c :
9930 * objects/uml/classicon.c :
9931 * objects/uml/state.c : calculate number of quarks from quark array
9932 size instead of using hardcoded values for consistence and to avoid
9933 future bugs like the above
9935 * objects/eml/nlist.c : include <string.h> for strcmp()
9937 * lib/dia_xml.c : relax g_warning for values, which
9938 appear to be too small. There is nothing which prevents
9941 * plug-ins/python/pydia-geometry.c : changed stringifying of
9942 geometry objects accept BezPoint back to %f, which does not
9943 crash anymore, because all the data is intialized now and it
9944 simply is more readable than %e ...
9946 * plug-ins/python/python-startup.py : removed dependency
9947 to PyGtk, because it isn't required here and probably won't
9948 in i.e.: export filters.
9950 * plug-ins/python/gtkcons.py : create the gtkoutfile even
9951 if sys.stderr.fileno() isn't supported
9953 * app/makefile.msc : make version 0.88
9954 * plug-ins/makefile.msc : make version 0.88 an added new
9957 2001-05-11 James Henstridge <james@daa.com.au>
9959 * NEWS: remember to add news items this time.
9961 * dia.spec: update spec file for 0.88 release.
9963 * configure.in: up version number to 0.88
9965 * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
9966 preventing any of the useful python scripts from being
9969 * sheets/Makefile.am (sheet-translation-report): fix bustage I
9970 introduced in my fixups for the 0.87 release :(
9972 2001-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
9974 * plug-ins/xfig/xfig-import.c: Finally got groups working.
9976 2001-05-09 Lars Clausen <lrclause@cs.uiuc.edu>
9978 * plug-ins/xfig/xfig-import.c: Improvements to error handling and
9981 2001-05-09 Cyrille Chepelov <chepelov@calixo.net>
9984 * lib/Makefile.am: fix makefile breakage which led to not
9985 including ps-utf8.[ch] in the released tarballs.
9987 2001-05-09 James Henstridge <james@daa.com.au>
9989 * Makefile.am (core-translation-report): dist scripts needed for
9990 this target, and change to $(srcdir) before running.
9992 * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets. DATA
9993 files aren't automatically included in the tarball by automake
9994 because they could be generated files.
9996 * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
9998 * doc/en/Makefile.am (install-data-hook): fix up where graphics
10001 * configure.in: up version number to 0.87
10003 * plug-ins/python/*.py: no longer necessary to explicitly set
10004 sys.argv, as python.c does it for us now (like it should).
10006 * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
10009 * plug-ins/python/python-startup.py: startup script that imports
10010 all modules in $(datadir)/dia/python and ~/.dia/python.
10012 * plug-ins/python/python.c (dia_plugin_init): change so that it
10013 only runs the $(datadir)/dia/python-startup.py script. Make sure
10014 that sys.argv and __main__.__file__ are set when calling the
10017 * plug-ins/python/Makefile.am: update makefile. Make it install
10018 gtkcons.py plugin. I haven't set any other plugins to install, as
10019 they look like they are mainly for debugging purposes.
10021 * configure.in: add tests to detect if python is available, so we
10022 can build the python plugin. Only run if --with-python passed to
10025 2001-05-08 James Henstridge <james@daa.com.au>
10027 * acinclude.m4: add macros for detecting python.
10029 * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
10030 at GNOME_APP_UI_SUBTREE entries.
10031 (menus_add_path): function to add a menu item to the menubars.
10032 Uses a hash table to keep track of extra menu items it adds. Also
10033 notifies the item factory about the entries so that accels can be
10035 (menus_add_path): implement gtk only version.
10036 (menus_init): use menus_add_path() to add the menu.
10037 (plugin_callback): simplify.
10039 2001-05-08 Steffen Macke <sdteffen@yahoo.com>
10041 * app/menu.c: removed #ifndef GNOME; GNOME build was broken
10043 2001-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
10045 * plug-ins/xfig/xfig-export.c:
10046 * plug-ins/xfig/xfig-common.c:
10047 * plug-ins/xfig/xfig-import.c:
10048 * plug-ins/xfig/xfig.c:
10049 * plug-ins/xfig/xfig.h:
10050 * app/Makefile.am: Added support for exporting to Fig format
10051 (except splits, which are less powerful in Fig). Some refactoring
10054 2001-05-02 Hans Breuer <hans@breuer.org>
10056 * plug-ins/python/debug_objects.py : added another
10057 test to get massive crashes from the Property API due
10058 to unintialized data.
10060 * app/menu.c : the callback_action wasn't incremented
10061 (should have checked my last optimization). Now more
10062 than one plug-in callback is supported again.
10064 * plug-ins/python/pydia-geometry.c : avoid crashes from
10065 glib, when trying to g_strdup_printf unintialized floats.
10067 * plug-ins/python/pydia-property.c : avoid crashes from
10068 because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
10070 2001-05-01 Hans Breuer <hans@breuer.org>
10072 * objects/makefile.msc : added eml
10073 * objects/eml/instantiation.c : initialize 'inst' pointer
10074 before using, zero initialization for objects
10075 * objects/eml/interaction-ortho.c :
10076 * objects/eml/interaction.c : zero initialization for objects
10078 * app/menus.c : removed Gimp mru stuff which slipped in at
10079 2000-08-15, was never activated and will never be needed,
10080 because of Steffens recent file list patch added at 2001-01-05.
10082 * objects/eml/*.c : some more zero initialization of objects
10083 to avoid infinite (uninitialized) bounding boxes
10085 Implemented a callback api which allows plug-ins to register
10086 menu call backs. Dia for Gnome should compile, but will need
10087 some extra tweaking to make it work because I can't test it.
10089 * plug-ins/python/pydia-error.h :
10090 * plug-ins/python/pydia-render.c : moved Pxthon function return
10091 value handling from pydia-render.c to pydia-error.h, to make it
10093 * plug-ins/python/diamodule.c : implement callback function
10094 registration from and relaying to Python code
10096 * app/menus.c : register and use plug-in menu callbacks
10098 * lib/filter.[hc] : implement filter_register_callback() and
10099 filter_get_callbacks() for the above
10100 * lib/libdia.def : export them
10102 * plug-ins/python/debug_objects.py (new file):
10103 sample using the above
10105 2001-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
10107 * plug-ins/shape/shape-export.c (new_shape_renderer):
10108 The name of a shape is now taken from the dir, to conform with
10111 2001-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
10113 * app/properties.c (properties_show): Added title containing
10114 object type, plus (hopefully) fix of the ghost properties dialog.
10116 2001-04-16 Cyrille Chepelov <chepelov@calixo.net>
10118 * app/display.c: remove the display idle handler in case we
10119 destroy the ddisplay (caused crashes in ddd, probably random
10120 crashes elsewhere).
10124 * Makefile.am: hack around gettext-0.10.36's new "features".
10126 * lib/properties.[ch]: added new function object_copy_props().
10127 Added new property type PROP_TYPE_ENDPOINTS
10129 * lib/connection.h: added support for load/saving through the
10130 properties interface.
10132 * lib/object.[ch]: object_load/save/copy_using_properties()
10133 support functions (code factorisations).
10135 * objects/GRAFCET/boolequation.c: check against null values in
10136 boolequation_set_value() and boolequation_destroy().
10138 * objects/GRAFCET/transition.c: Converted from lazyprops to
10139 standard properties. 31% less (x86) code !
10141 * objects/GRAFCET/condition.c: also converted from lazyprops to
10142 standard properties. Also killed lots of code.
10144 2001-04-13 Hans Breuer <hans@breuer.org>
10146 * plug-ins/wmf/wmf.cpp : changed text conversion from
10147 g_utf8_utf16 to g_convert usage. The latter function is already
10148 available in tml's last "official" Gtk+ version (2000-12-26).
10149 This change allows to use recent Dia with either the official
10150 version or the latest cvs "gtk-1-3-win32-production"-branch.
10152 2001-04-14 Lars Clausen <lrclause@cs.uiuc.edu>
10154 * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
10155 * app/disp_callbacks.c:
10156 - Allow submenus in DiaMenus.
10157 - Don't require DiaMenu.title to be non-null (so that
10158 submenus aren't required to have titles)
10160 * objects/FS/function.c:
10161 - object menu now has submenus, an almost complete list of
10162 standard-basis verbs, and a start on nouns.
10163 - box padding, dash length, and other visual attributes are
10164 scaled by the font size... eventually font height will be
10165 a function property.
10166 - draw functions with smaller font to make initial view hold
10167 a reasonable number of functions.
10169 2001-04-13 Cyrille Chepelov <chepelov@calixo.net>
10172 * sheets/chronogram.sheet:
10173 * sheets/jigsaw.sheet:
10174 * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
10175 Wieers <dag@wieers.com>
10177 2001-04-13 Hans Breuer <hans@breuer.org>
10179 * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
10180 to ensure that all the deinitialization is only done once. Fixes
10181 recent app exit crash on win32
10183 * lib/dia_xml.c : provide isinf() replacement for msc which does only
10186 * lib/libdia.def : updated
10188 * objects/makefile.msc : added wanlink.c
10190 * objects/network/wanlink.c : added M_PI_2 definition for poor
10191 platforms which don't have one
10193 * objects/standard/arc.c :
10194 * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
10195 initialized which led to rather huge bounding boxes (try Ctrl^A on
10196 diagrams with Arcs or ZigZagLines).
10197 * objects/*/*.c : to avoid further bugs like the above changed all
10198 object initializations to g_malloc0 or g_new0
10201 2001-04-09 Cyrille Chepelov <chepelov@calixo.net>
10203 * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
10204 doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
10206 * objects/UML/class.c:
10207 * objects/UML/usecase.c:
10208 * objects/UML/large_package.c:
10209 * objects/UML/message.c:
10210 * objects/UML/object.c:
10211 * objects/UML/lifeline.c:
10212 * objects/FS/flow.c:
10213 * objects/FS/flow-ortho.c:
10214 * objects/FS/function.c:
10215 * objects/custom/custom_object.c:
10216 * objects/GRAFCET/vergent.c:
10217 * objects/chronogram/chronoref.c:
10218 * objects/SADT/box.c:
10219 * objects/SADT/annotation.c:
10220 * plug-ins/dxf/dxf-import.c:
10221 * plug-ins/xfig/xfig-import.c:
10222 * plug-ins/wpg/wpg.c:
10225 * app/display.c: /* certainly more WIP than dead code there */
10226 Unused variables, unused static function definitions, forgotten or
10227 incomplete prototypes added or fixed, lack of const or unwanted const,
10228 etc. (mostly clean-ups of leftovers of the pre-properties era).
10229 Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
10230 please check these.
10232 * app/lineprops_area.c: More of the same. Missing prototypes
10233 added, and functions unused outside made static.
10235 * app/recent_files.c:
10236 * app/properties.c:
10237 * app/defaults.c: some variables are used only when doing a GNOME
10240 * app/magnify.c: missing #include <stdlib.h>.
10242 * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
10244 These are a lot of clean-ups (by the way, this compiles and runs
10245 cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
10246 for DEAD_CODE, and if it's yours, judge it.
10248 2001-04-07 Cyrille Chepelov <chepelov@calixo.net>
10250 * plug-ins/dxf-import.c: some progress with the arcs; still some
10251 clean-ups to do and line width scaling issues to figure out.
10253 * objects/standard/arc.c: start_point and end_point properties
10254 (duplicated from standard/line.c)
10256 * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
10259 2001-04-06 Cyrille Chepelov <chepelov@calixo.net>
10261 * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
10262 preliminary support for arcs (doesn't work). Circles and ellipses are
10263 now transparent. Coordinate and width scaling are now a common
10264 static constant (probably before morphing into a preference).
10266 * sheet/checktrans.py: improved error reporting. Made checktrans
10267 count lack of <name xml:lang="code"> as a lack of translation for
10268 language "code" (no, it's not a plot to bring down other
10269 language's scores !)
10271 * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
10272 in the header, and have <name xml:lang="fr"> components.
10274 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
10276 * objects/custom/custom_object.c: temporary hack to fix the shape
10277 bounding box reported by Ben A. Hetland. Proper fix isn't .87
10278 material, see bugzilla #52912.
10280 2001-04-05 Lars Clausen <lrclause@cs.uiuc.edu>
10282 * objects/standard/image.c (get_directory): Now uses
10283 G_SEPARATOR_CHAR_S instead of "/"
10285 * sheets/network.sheet:
10286 * sheets/Logic.sheet:
10287 * sheets/Flowchart.sheet:
10288 * sheets/Electric.sheet:
10289 * sheets/Circuit.sheet:
10291 * sheets/Pneumatic.sheet:
10292 * sheets/SDL.sheet:
10293 * sheets/UML.sheet:
10294 * sheets/GRAFCET.sheet:
10295 * sheets/MSE.sheet:
10296 * sheets/chronogram.sheet:
10297 * sheets/civil.sheet:
10298 * sheets/network.sheet:
10299 Danish translations.
10301 * objects/standard/image.c (get_directory): Changed get_directory
10302 to use g_dirname to find the directory part.
10304 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
10307 * sheets/Electric.sheet:
10308 * sheets/Flowchart.sheet:
10309 * sheets/Logic.sheet:
10310 * sheets/network.sheet: More Dutch translations from Dag Wieers.
10312 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
10314 * sheets/checktrans.py: now emits a warning when two descriptions
10315 for a single language code are found.
10318 * sheets/Makefile.am: -translation-reports now also depend on their
10321 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
10323 * sheets/Circuit.sheet:
10324 * sheets/Contact.sheet:
10325 * sheets/Logic.sheet:
10326 * sheets/chronogram.sheet:
10327 * sheets/sybase.sheet:
10328 Dutch translations from Dag Wieers <dag@wieers.com>
10330 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
10332 * po-checktrans.py: Now shows the detailed counts alongside the
10333 percentage of translations.
10335 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
10338 * po-checktrans (NEW):
10339 * po-checktrans.py (NEW): builds core-translation-report:
10340 percentages of core (gettext) translations done [Not placed into
10341 po/ where that should belong, because of integration fear^Wissues
10344 TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and
10345 sheets/sheet-translation-report probably ought to be copied on the
10346 user's /usr/share/doc/dia (or equivalent) directory.
10348 * sheets/Makefile.am: sheet-translation-report now a simple
10349 EXTRA_DIST; make install won't install it by default.
10351 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
10353 * app/preferences.c: changed the default grid colour to something
10356 * shapes/SDL/*.shape:
10357 * sheets/SDL.sheet: renamed all SDL shapes to conform to the
10358 "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
10359 DIA FILES (well, for files using SDL), see the mailing list
10360 archive "SDL (ab)using the global shape namespace" for a script to
10361 do this conversion.
10363 * sheets/SDL.sheet: translated into French
10364 * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
10366 2001-04-02 Cyrille Chepelov <chepelov@calixo.net>
10368 * lib/dia_xml.c: made data_point() more paranoid
10370 * sheets/Makefile.am:
10371 * sheets/checktrans (NEW):
10372 * sheets/checktrans.py: Made checktrans handle more gracefully the
10373 absence of python and python-xml packages, and made the error
10374 message more helpful.
10376 2001-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
10378 * lib/render_object.c (new_render_object): Made initial handles
10379 behave like on most other objects.
10381 * app/load_save.c (read_objects): Fixed premature free'ing ofr
10382 typestr causing garbage.
10384 2001-04-01 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10386 * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
10387 accouting for handle ordering through copy and save. (#51479)
10389 2001-03-31 Cyrille Chepelov <chepelov@calixo.net>
10391 * sheets/Circuit.sheet: Norwegian translation mistagged to German.
10393 2001-03-31 Steffen Macke <sdteffen@yahoo.com>
10395 * sheets/Circuit.sheet
10397 * sheets/network.sheet: Updated German translations
10399 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
10402 * app/lineprops_area.c: The return of the revenge of the arrow
10403 heads. Now all types covered by ISO 10303-201 should be covered.
10405 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
10407 * sheets/Flowchart.sheet: translations in probably Hungarian were
10408 a victim of cut-n-paste from the German one. Fixed (hopefully).
10409 * sheet/UML.sheet: translation in probably Norwegian was a victim
10410 of cut-n-paste from the French one. Fixed (hopefully).
10411 * sheets/Logic.sheet: French translation not tagged with
10414 * sheets/checktrans.py:
10415 * sheets/Makefile.am: new file, sheet-translation-report, to be
10416 installed along the sheets, show how much of them has been
10417 translated into which language (I wish the result was prettier...)
10419 * po/README: most translators don't read this file, but anyway...
10421 * sheets/.cvsignore:
10422 * objects/network/.cvsignore: the usual negotiation with CVS.
10424 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
10426 * sheets/*.sheet: French translations
10428 2001-03-28 Cyrille Chepelov <chepelov@calixo.net>
10430 Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
10432 ** objects/network/network.c:
10433 ** objects/network/wanlink.c:
10434 ** objects/network/pixmaps/wanlink.c:
10435 ** sheets/network.sheet:
10436 ** objects/network/Makefile.am: a better object to use instead of
10437 the older WAN Connection.
10439 ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
10441 ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
10444 * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
10445 Arc; kept the C file name (because CVS wouldn't like it), and
10446 still registering the older object name (but advertising the newer
10447 one in sheets/GRAFCET.sheet).
10449 2001-03-24 Hans Breuer <hans@breuer.org>
10451 * app/dia.def : some plug-ins (currently only python, xfig) are using
10452 functions from the dia executable. To get them working these functions
10453 need to be explicit exported on win32. IMO the much cleaner way would
10454 be to move these functions to libdia, but that would require some
10455 long term restructuring ...
10457 * lib/libdia.def : updated
10459 * plug-ins/makefile.msc : build xfig plug-in
10461 2001-03-24 Hans Breuer <hans@breuer.org>
10463 * app/diagram.c : g_strdup (dia->filename) because it will be
10466 * app/display.c : set ddisp->renderer to NULL after destruction.
10467 This may solve or help to identify erroneous access to it after
10470 * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
10471 get 'umlauts' working
10473 2001-03-22 Cyrille Chepelov <chepelov@calixo.net>
10475 * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
10476 were reversed... (look for the patch, and drink a beer to my
10479 2001-03-23 Hans Breuer <hans@breuer.org>
10481 * app/app_procs.c : don't g_error () if the config directory
10482 can't be created (at least not on windoze) because it's quite
10483 common that the user don't read or understand the FAQ ...
10485 * app/cursor.c : use ddisplay_active () instead of active_display
10488 * app/display.[hc] : made active_display var static and provide
10489 an accessor funtion ddisplay_active_diagram ()
10491 * app/dia-props.c : don't store the active_diagram, but ask
10492 for it everytime it needed.
10494 * lib/properties.h : #include "intl.h"
10496 * lib/makefile.msc : need to take care of inclusion order to
10497 avoid clashes with gtk+2.0's gdk-pixbuf
10499 * objects/makefile.msc : added uml/stereotype.c to build
10501 2001-03-23 Lars Clausen <lrclause@cs.uiuc.edu>
10503 * **/*.c: Added config.h to the remaining .c files, and changed
10504 all to be <config.h>.
10506 2001-03-22 Steffen Macke <sdteffen@yahoo.com>
10511 * app/lineprops_area.c: added new arrow types with double
10514 2001-03-20 Steffen Macke <sdteffen@yahoo.com>
10516 * shapes/Civil/civil_gas_bottle.xpm
10517 * shapes/Civil/civil_gas_bottle.shape
10518 * sheets/civil.sheet
10519 * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
10522 2001-03-20 Lars Clausen <lrclause@cs.uiuc.edu>
10524 * objects/custom/shape_info.c (load_shape_info):
10525 * objects/custom/shape_info.h:
10526 * objects/custom/custom_object.c (custom_update_data):
10527 Better support for text outside the box -- new attributes 'resize'
10528 and 'align' for text entity. Align not fully supported yet.
10530 * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
10532 2001-03-20 James Henstridge <james@daa.com.au>
10534 * app/interface.c (display_data_received_callback): comment out
10537 2001-03-19 James Henstridge <james@daa.com.au>
10539 * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
10541 * objects/UML/realizes.c: similar here.
10543 * objects/UML/implements.c: similar here.
10545 * objects/UML/component.c: similar here.
10547 * objects/UML/generalization.c: same here.
10549 * objects/UML/dependency.c: allow NULL for ->name and
10550 ->stereotype. This fixes a number of problems in loading saved
10553 * lib/properties.c: various changes so that NULL string properties
10556 * objects/standard/line.c (line_update_data):
10557 line->extra.start_long and line->extra.end_long were not being
10558 initialised. This fixes potential problems with the bounding box
10559 of "Standard - Line" objects.
10561 2001-03-19 Hans Breuer <hans@breuer.org>
10563 * app/commands.c : added win32 specific code to display a html
10564 file. #include "text.h" for text_delete_all prototype.
10567 * app/dia.rc : (new) to give Dia win32 an icon
10569 * app/win32print.[ch] : new files to support direct postscript
10570 file printing on win32. Beware: it *requires* a ps-printer!
10572 * app/paginate_psprint.c : disable the signal code for win32 build
10573 and added small specific changes to support win32print.
10575 * app/makefile.msc : added win32print and linking shell32.lib
10577 * lib/libdia.def : updated
10579 2001-03-18 Kevin Breit <battery841@mediaone.net>
10581 * doc/en/dia-C.omf: Added file. Dia should now list in the Nautilus
10584 2001-03-17 James Henstridge <james@daa.com.au>
10586 * app/paginate_psprint.c (diagram_print_ps): add code that traps
10587 SIGPIPEs during printing. This gets rid of a number of crashes
10588 caused by printing (eg. typing an incorrect print command).
10590 * dia.spec (%install): gzip the manpage.
10592 * lib/beziershape.c (beziershape_save): fix off by one error in
10593 beziershape save code, which was adding an extra segment to the
10596 * app/menus.c: add a separator in the gnome version of the help
10599 * app/app_procs.c (app_init): add a --nosplash argument which
10600 disables the splash screen.
10602 * app/dia_embedd.c (main): don't leave the splash screen open for
10603 embeddable component.
10605 * app/splash.c (app_splash_init): the gtk_widget_show_now() call
10606 didn't seem to be showing the splash screen like expected, so I
10607 have replaced it with some code that calls gtk_main() until the
10608 first exposure of the window.
10610 2001-03-16 James Henstridge <james@daa.com.au>
10612 * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
10614 * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
10617 * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
10619 * app/Makefile.am (dia_core_files): remove splash.h from file
10620 list, as it doesn't exist.
10622 * doc/en/Makefile.am (uninstall-local): remove the docdir on
10625 * doc/Makefile.am (uninstall-local): target to remove the C
10628 * dia.spec (%files): include the documentation in the package.
10630 * app/menus.c (toolbox_menu_items): add menu item for manual,
10631 which calls help_manual_callback.
10633 * app/commands.c (help_manual_callback): find help file and load
10634 netscape to view it.
10636 * app/commands.h: add prototype for help_manual_callback()
10638 * doc/Makefile.am (helpdir): similar here.
10640 * doc/en/Makefile.am (helpdir): make the helpdir
10641 $(pkgdatadir)/help/en in the non gnome case.
10643 * configure.in (HAVE_GNOME): add conditional.
10645 * doc/en/Makefile.am: handle the graphics in a more general way,
10646 so it is easier for Kevin to add them to the build (just add them
10647 to the GRAPHICS var).
10649 * app/Makefile.am (embed_extra_print_files): make the case of
10650 building without gnome-print support but with bonobo support work.
10651 dia-embedd needs to be include the gnome-print
10653 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
10655 * samples/Makefile.am: included all samples in the distribution....
10657 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
10659 * configure.in: removed premature test for DPS. Added -*- m4 -*-
10660 at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
10661 vanished, removed it from ALL_LINGUAS.
10663 * lib/charconv.[ch] (NEW): a very small wrapper around
10664 unicode_iconv to convert strings between utf8 and local charset
10665 (actually, ISO-8859-1, though one can do
10666 CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
10668 * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
10669 library to help build Postscript streams which use as many custom
10670 font encodings as necessary to correctly represent all characters
10671 used (testing from users with non-latin1 and/or more than 256
10672 characters in routine use *very* welcome).
10674 * app/Makefile.am, lib/Makefile.am: integrated these into the
10677 * shapes/Logic/.cvsignore (NEW): .cvsignore
10679 * app/render_eps.h: forwarded some changes Lars forgot to include.
10680 * app/render_eps.c: turned off ASCII85 and FILTERS, as this
10683 2001-03-08 Kevin Breit <battery841@mediaone.net>
10685 * doc/en/home_network.png: Added file.
10686 * doc/en/line_props.png: Added file.
10687 * doc/en/usage-objects.sgml: Added two graphics to file.
10688 * doc/en/usage-quickstart.sgml: Added one graphic to file.
10690 2001-03-06 Kjartan Maraas <kmaraas@gnome.org>
10692 * app/grid.h: Place comment around text after #endif.
10693 * lib/bezier_conn.c: #include <string.h>.
10694 * lib/beziershape.c: #include <string.h>.
10695 * lib/connpoint_line.h: Comment after #endif.
10696 * lib/dia_dirs.c: #include <string.h>.
10697 * lib/element.c: Same.
10698 * lib/lazyprops.c: #include <config.h> and "intl.h".
10699 * lib/lazyprops.h: Comment out text after #endif.
10700 * lib/neworth_conn.c: #include <string.h>
10701 * lib/orth_conn.c: Same here.
10702 * lib/poly_conn.c: Here too.
10703 * lib/polyshape.c: And here.
10704 * lib/properties.c: Remove #include "intl.h" from here and add
10705 an array of static strings to work around bug in gettext that
10706 makes it miss strings in a #define body.
10707 * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
10708 * objects/GRAFCET/boolequation.h: Same here.
10709 * objects/chronogram/chronoline_event.h: Add prototype for
10712 2001-03-05 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10714 * objects/FS/function.c:
10715 * objects/FS/flow.c:
10716 * objects/FS/flow-ortho.c:
10717 Updated to use properties.
10719 2001-03-03 James Henstridge <james@daa.com.au>
10721 * lib/lazyprops.c (__propdlg_build_enum): translate the radio
10722 button labels when creating them.
10724 2001-02-28 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10726 * objects/UML/actor.c
10727 * objects/UML/realizes.c
10728 * objects/UML/implements.c
10729 * objects/UML/generalization.c
10730 * objects/UML/dependency.c
10731 * objects/UML/constraint.c
10732 Updated to use properties.
10734 * objects/UML/stereotype.c
10735 * objects/UML/stereotype.h
10736 Generalized to any kind of bracketting.
10738 2001-02-28 James Henstridge <james@daa.com.au>
10740 * app/menus.c: add help entry to the help menu. Need to get this
10741 working for the non GNOME case as well (maybe put help under
10742 $(datadir)/dia/help for non GNOME?)
10744 * doc/en/topic.dat: add a topic.dat file for GNOME menus.
10746 * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
10747 this element so that we get a meaningful filename in the html
10750 * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
10753 * configure.in (DB2HTML): add a check for the db2html program, and
10754 set an automake conditional if it is found.
10756 * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
10757 and descend into doc/ directory while building.
10759 * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
10760 we need more complex rules for building the docs.
10762 2001-02-25 Hans Breuer <hans@breuer.org>
10764 * config.h.win32 : some cleanup
10766 * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
10767 are deprecated since glib-1.3.2. Sorry needing to use them
10768 contionally, but there is no glib-1.2 for win32
10770 * app/recent_files.c : use g_strescape (params) conditionally
10772 * lib/connection.c : include string.h for memcpy
10774 * lib/geometry.h : added some stuff for compatibility with
10775 msvc, which previously came from included config.h
10777 * lib/libdia.def : updated
10779 * objects/makefile.msc : updated
10781 * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable
10782 'extra' used without having been initialized
10784 * objects/network/bus.c(658) : initialize 'extra'
10786 * plug-ins/makefile.msc : updated
10788 * plug-ins/cgm/cgm.c :
10789 * plug-ins/pstricks/render_pstricks.c :
10790 g_free() memory allocated by dia_image_rgb_data(). Plugs possibly
10793 * plug-ins/python/python.c : use HAVE_DIRENT_H
10795 2001-02-23 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10797 * lib/connection.c (connection_update_boundingbox):
10798 Made the BB shrink on right and lower sides, too.
10800 2001-02-23 Kjartan Maraas <kmaraas@gnome.org>
10802 * */*.c: #incude <config.h> at the top.
10803 * */*.h: Remove include of "config.h" since it should only
10804 be included in .c files and at the very top for things to
10806 * sheets/*.sheet: Updated Norwegian translations.
10808 2001-02-22 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10810 * objects/UML/small_package.c:
10811 * objects/UML/class.c:
10812 * objects/UML/node.c:
10813 * objects/UML/usecase.c:
10814 * objects/UML/lifeline.c:
10815 * objects/UML/message.c:
10816 Various cleanup of properties in particular. Now much more use of
10817 standard properties.
10819 * lib/diagramdata.c (layer_render): Visualization of bounding
10820 boxes, for debugging purpoises.
10822 2001-02-22 Cyrille Chepelov <chepelov@calixo.net>
10825 * lib/connection.[ch]:
10826 * lib/poly_conn.[ch]:
10827 * lib/polyshape.[ch]:
10828 * lib/bezier_conn.[ch]:
10829 * lib/beziershape.[ch]:
10830 * lib/orth_conn.[ch]:
10831 * lib/neworth_conn.[ch]:
10832 * lib/element.[ch]: Changed a bit the _update_boundingbox()
10833 interface. Now the parent elements have an extra_spacing
10834 structure, which child objects just need to fill, to take care of
10835 most arrow & line width extra space needs.
10837 * objects/**/*.c: updated all objects to the new interface.
10838 While at it, killed all instances of (Object *) downcasts (phew !)
10840 * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
10841 doesn't speak about.
10843 2001-02-21 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
10845 * sheets/Logic.sheet: New sheet for Logic symbols.
10847 2001-02-21 James Henstridge <james@daa.com.au>
10849 * app/menus.c (dia_gnome_menu_get_widget): new function to find a
10850 widget by its path name. Walks the GnomeUIInfo heirachy rather
10851 than widget tree, compares untranslated label names and ignores
10852 underscores in the labels.
10853 (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
10854 lookups are not dependent on the current locale, as with
10855 gnome_app_find_menu_pos.
10857 * acconfig.h: guard against multiple inclusion of config.h.
10859 * app/select.c (select_style_callback): simply set the selection
10860 style to the value of action.
10862 * app/menus.c (menus_init): simplify the item factory based menu
10863 code a bit. It looks like it was using some code cut and pasted
10864 from the gimp, which looked a bit unnecessary. Things work fine
10866 (selectmenu): set the action to the type of selection mode
10868 (display_menu_items): use the symbolic enumeration values for the
10871 * app/plugin-manager.c:
10872 * app/plugin-manager.h:
10876 * app/select.h: change prototypes.
10878 * app/commands.c: update all callback prototypes, and get rid of
10879 some #ifdef GNOME's.
10881 * app/commands.h: change function prototypes.
10883 * app/dia_embedd.c (save_fn):
10884 s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
10886 * app/menus.c (menus_init): for gnome menus, use
10887 gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
10888 structure that proxies the callbacks to have the same signature as
10889 GtkItemFactory type 1 callbacks.
10890 (menus_init): for GTK menus, change from callback type 2 to type
10892 (display_menu_items): add back tearoffs. I don't know who removed
10893 these for the gtk menu case.
10895 2001-02-20 Kevin Breit <battery841@mediaone.net>
10897 * doc/en/usage-objects-special.sgml: Fixed a few of the special
10898 object descriptions. More to come in the next few days.
10900 2001-02-20 Lars Clausen <lrclause@cs.uiuc.edu>
10902 * app/render_eps.c: Fixed for internationalized floating point
10905 * objects/UML/note.c: Fixed properties -- was missing
10906 Get/ApplyPropertiesFunc. Also improved update to recalculate text
10909 2001-02-19 Lars Clausen <lrclause@cs.uiuc.edu>
10911 * plug-ins/xfig/xfig-import.c:
10912 File added importing xfig files. Still very rough, but good
10913 enough to let others hack on it.
10915 2001-02-07 Cyrille Chepelov <chepelov@calixo.net>
10918 * app/linewidth_area.c:
10920 * lib/properties.c:
10922 * objects/ER/attribute.c:
10923 * objects/ER/entity.c:
10924 * objects/ER/relationship.c:
10925 * objects/custom/custom_object.c:
10926 * objects/flowchart/box.c:
10927 * objects/flowchart/diamond.c:
10928 * objects/flowchart/ellipse.c:
10929 * objects/flowchart/parallelogram.c:
10930 * objects/standard/box.c:
10931 * objects/standard/textobj.c: per Vlad Harchev's request, made
10932 page sizes of gtk_adjustments different than their step sizes.
10933 When sensible values of page size weren't found (overwhelming
10934 majority of cases), page sizes were set to 10.0 * respective step
10937 2001-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
10939 * objects/network/hub.c:
10940 Patch from Hubert Figuiere applied, adding connection points.
10942 2001-02-02 James Henstridge <james@daa.com.au>
10944 * app/display.c (new_display): set update id to 0 here.
10945 (ddisplay_update_handler): rename from ddisplay_flush, and set
10946 update_id to 0 at end of processing.
10947 (ddisplay_flush): new implementation that simply sets an idle
10948 handler to perform the actual drawing.
10950 * app/display.h: add structure member to hold the redraw idle
10953 2001-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
10955 * objects/standard/ellipse.c (ellipse_copy):
10956 * objects/standard/zigzagline.c (zigzagline_copy):
10957 Fix of copying provided by Martin Hawlisch.
10959 2001-01-23 Kevin Breit <battery841@mediaone.net>
10961 * doc/en/graphics/: added directory
10963 * doc/en/graphics/greendots.png: added file
10965 * doc/en/*sgml: made minor and some major changes to prepare for 1.4
10968 2001-01-23 Kevin Breit <battery841@mediaone.net>
10970 * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
10971 thanks to John Fleck!
10973 2001-01-21 Kevin Breit <battery841@mediaone.net>
10975 * doc/en/*sgml: made just minor changes to a few lines; nothing major.
10977 2001-01-12 Michael Meeks <michael@helixcode.com>
10979 * app/dia_embedd.c (init_server_factory): do a bonobo_activate
10980 so our POA gets setup properly.
10982 * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
10983 things we g_malloc.
10985 * configure.in: Use bonobox_print.
10987 * app/dia_embedd.c (embeddable_factory): add print interface.
10988 (object_print): impl.
10990 2001-01-11 Michael Meeks <michael@helixcode.com>
10992 * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
10993 (load_fn, save_fn): impl.
10994 (view_factory): hide modified status bar, & use activate fn.
10995 (refresh_view): force redraws of the views.
10996 (view_show_hide): split from
10997 (dia_view_activate): here.
10999 * app/diagram.c (diagram_load_into): split from diagram_load.
11000 (new_diagram): simplify bu splittin stuff into
11001 (diagram_init): here.
11003 2001-01-10 Steffen Macke <sdteffen@yahoo.com>
11005 * shapes/jigsaw/*.shape: replaced #000000 with foreground
11006 and #ffffff with background
11008 2001-01-08 Steffen Macke <sdteffen@yahoo.com>
11010 *configure.in: GTK+-build was broken due to missing
11013 2001-01-06 Michael Meeks <michael@helixcode.com>
11015 * app/dia_embedd.c (main): add running context support.
11016 (dia_embeddable_destroy): remove old running object counting.
11017 (embeddable_factory): ditto.
11018 (view_factory): comment out menu path hiding.
11020 * lib/sheet.c (load_register_sheet): use free to free
11021 stuff from libxml not g_free.
11023 * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
11025 * configure.in: remove USE_OAF checks, check for a precice
11026 Bonobo version >= 0.31, revamp bits.
11028 * app/dia_embedd.c (init_server_factory): upd.
11029 (init_dia_factory): remove OAF conditionals, everything uses
11032 * app/GNOME_Dia.oafinfo: rename OAFIIDs
11034 * app/Makefile.am: remove ancient gnorba code.
11035 rename dia.oafinfo to GNOME_Dia.oafinfo
11037 2001-01-07 Hans Breuer <Hans@Breuer.Org>
11041 * readme.win32 : some more files required or useful to build
11044 * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
11045 fill_bezier implementation, boundary drawing in fill mode, etc.
11046 Next one complaining gets the source, uncommented ...
11048 * shapes/network/router-symbol.xpm
11049 * shapes/network/switch-atm-symbol.xpm
11050 * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
11051 from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect
11052 the files as XPMs. Maybe the X versions of these functions are more
11055 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
11057 * plug-ins/python/Makefile.am: added libart path
11059 * plug-ins/python/python.c: added dirent.h
11061 * configure.in: added es_ES and pt_BR to ALL_LINGUAS
11063 2001-01-06 Hans Breuer <Hans@Breuer.Org>
11065 * objects/uml/actor.c
11066 * objects/uml/branch.c
11067 * objects/uml/class.c
11068 * objects/uml/classicon.c
11069 * objects/uml/component.c
11070 * objects/uml/large_package.c
11071 * objects/uml/node.c
11072 * objects/uml/note.c
11073 * objects/uml/object.c
11074 * objects/uml/small_package.c
11075 * objects/uml/state.c
11076 * objects/uml/usecase.c : started to implement the generic property
11077 interface for the uml objects. Would appreciate some help on how
11078 to implement properties which are list of properties themselves,
11079 e.g. member functions and their parameters of UMLClass.
11081 2001-01-06 Hans Breuer <Hans@Breuer.Org>
11083 * plug-ins/python/diamodule.c : finally ported to win32.
11084 Added new objects and implemented register_export function.
11086 * plug-ins/python/pydia-object.h
11087 * plug-ins/python/pydia-display.c
11088 * plug-ins/python/pydia-handle.c
11089 PyObject_HEAD_INIT needs some tweakink on win32. Done in
11090 pydia-object.h; others files simply using it.
11092 * plug-ins/python/pydia-layer.c : reflect
11093 layer_find_closest_connection(_)point renaming
11095 * plug-ins/python/pydia-object.c : add property properties.
11096 Also change bounding_box to DiaRectangle.
11098 * plug-ins/python/python.c : extended error reporting; use
11099 all *.py files from Dia's plug-in dir instead of hardcoded
11100 test.py. This sollution should be fine with Win32, but on
11101 Unix it may need some tweaking (dunno) ...
11103 * plug-ins/python/export-object.py
11104 * plug-ins/python/export-render.py : test and documentation
11105 implementations for export filter implementations in Python
11107 * plug-ins/python/pydia-color.[hc]
11108 * plug-ins/python/pydia-diagramdata.[hc]
11109 * plug-ins/python/pydia-error.[hc]
11110 * plug-ins/python/pydia-export.[hc]
11111 * plug-ins/python/pydia-font.[hc]
11112 * plug-ins/python/pydia-geometry.[hc]
11113 * plug-ins/python/pydia-image.[hc]
11114 * plug-ins/python/pydia-properties.[hc]
11115 * plug-ins/python/pydia-property.c
11116 * plug-ins/python/pydia-render.c : new objects in new files
11118 * plug-ins/python/makefile.am : added new files but can't test it
11120 * plug-ins/python/pydia.def
11121 * plug-ins/python/makefile.msc : for win32 build
11123 * plug-ins/cgm/cgm.c
11124 * plug-ins/dxf/dxf-import.c
11125 * plug-ins/dxf/dxf-export.c
11126 * plug-ins/hpgl/hpgl.c : reflect export API change
11128 * plug-ins/shape/shape-export.c : reflect export API change
11129 and check for libart (better the availibility of a png exporter)
11130 at run-time instead of compile-time.
11132 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
11134 * app/recent_files.h was missing from Hans's commit
11136 * plug-ins/shape/shape_export.c: shape export was broken
11137 due to interface changes
11139 2001-01-05 Hans Breuer <Hans@Breuer.Org>
11141 Applied Steffen's recent file list patch :
11142 * app/Makefile.am : added recent_files.[hc]
11143 * app/diagram.c : add files to recent file list
11144 * app/menus.c : add recent file menu
11145 * app/app_procs.c : changed initialization order to
11146 make recent file list work with command line processing.
11148 The Filter export()/import() functions have got an additional
11149 parameter to allow multiple filters via one C callback (required
11150 for Python bindings)
11152 * app/commands.[hc] : corrected the signature for gtk menu callback
11153 functions, which actually use the second or third parameter. This
11154 is the absolute minimum change to make these functions/menu entries
11155 work again. Using the other possible gtk menu callback signature
11156 would have required one more function to change. (see mailing list
11157 thread "Objects/Align/Equal Distance" for more information.
11159 * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
11160 zoom-combo focus patch
11163 * app/interface.c : wrapped the Zoom Combo code into
11164 #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
11165 improvement but cluttering the user interface. Also it wasn't
11166 compiling on Win32 anyway. The win32 version does define
11167 WITHOUT_ZOOM_COMBO to keep the old look.
11168 There are plans to use the statusbar to display size and placement
11169 of selected objects, whereas the Zoom Combo would need to get out
11170 of the way as well.
11172 Added "Save Changes?" to diagram close dialog. Hopefuly the
11173 Yes/No/Cancel option isn't too much windoze like. IHMO this is
11174 an useability improvement.
11179 * app/layer_dialog.c
11180 * app/paginate_psprint.c
11182 - reflect signature changing of filter->export function
11183 - replaced '/' with G_DIR_SEPARARTOR where appropriate
11185 * app/diaunitspinner.c
11186 * app/render_libart.c
11187 added misssing headers like <string.h>
11189 * app/object_ops.c : fixed copy&paste bug in dialog string
11191 * app/splash.c : gdk_widget_show_now () does not ensure actual
11192 drawing of the splash screen, at least not on win32. Reuse the
11193 previous implementation with gtk_main_iteration() again.
11195 * */makefile.msc : make use of the build module (available in
11196 gnome-cvs/build. Updated for other source changes
11198 * lib/filter.h : added an user_data pointer to <ex/im>port()
11199 function signature and Dia<Im/Ex>portFilter to allow different
11200 filters to reuse the same callback function
11202 * lib/font.c : #include <string.h>
11207 * lib/neworth_conn.c
11208 * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
11210 * */*.def : export function definition files required by win32 build
11212 * objects/custom/custom.c : #include <string.h>
11214 * plug-ins/pstricks/render_pstricks.c
11215 * plug-ins/shape/shape_export.c
11216 * plug-ins/svg/render_svg.c
11217 reflect changes to filter export function signature
11219 * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
11220 mostly work as expected
11221 * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
11222 to build the wmf plug-in because on the one hand the GDI emulation
11223 isn't finished and on the other hand it isn't required when building
11224 for win32. Is there anybody out there, who wants to save WMF on non
11225 windoze platforms ?
11227 * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
11228 offset into account.
11230 2001-01-02 Steffen Macke <sdteffen@yahoo.com>
11232 * app/Makefile.am: added missing plug-ins to run_dia.sh
11234 * lib/paper.c: added paper sizes A0, A1, A2
11236 * objects/UML/class.c
11237 objects/UML/class.h
11238 objects/UML/class_dialog.c: added support for colored UML
11241 2000-12-30 Kevin Breit <battery841@mediaone.net>
11243 * doc/en/usage-customization.sgml: added more content
11245 2000-12-24 Kevin Breit <battery841@mediaone.net>
11247 * doc/en/usage-layers.sgml: added file, contributed by Remypsb
11248 <remy.viard@laposte.net>
11250 2000-12-24 Steffen Macke <sdteffen@yahoo.com>
11252 * added limiting lines to Civil Engineering sheet,
11253 fixed vertical pump icon
11255 2000-12-20 Steffen Macke <sdteffen@yahoo.com>
11257 * updated/additional Civil Engineering shapes: better icons,
11258 shapes use foreground/background colors now and are filled
11260 2000-12-03 Kevin Breit <battery841@mediaone.net>
11262 * doc/en/dia-manual.sgml Integrated a few diffs. New section should be
11263 the selection <sect1>
11265 2000-11-29 Fredrik Hallenberg <hallon@lysator.liu.se>
11267 * app/load_save.c (diagram_data_save): avoid using obsoleted
11268 libxml calls (only matters when compiling with libxml2)
11270 2000-11-25 James Henstridge <james@daa.com.au>
11272 * app/disp_callbacks.c (ddisplay_drop_object): add a function to
11273 handle the tool drops on the canvas.
11275 * app/interface.c (display_data_received_callback): do the check
11276 to make sure that the drag is from a local toolbox here as well.
11278 * app/interface.c (create_tools): unref the pixmap/mask after
11279 creating the GtkPixmap.
11280 (tool_setup_drag_source): function to set up a drag source for
11281 create object tool buttons.
11282 (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
11283 (fill_sheet_wbox): same here.
11284 (create_display_shell): set up the display canvas as a drag
11286 (display_drop_callback, display_data_received_callback): functions
11287 to handle drops of tool buttons.
11289 * app/menus.c (menus_init): don't use gnome_popup_menu_new(). It
11290 does weird shit to the user_data pointer for a menu item. Object
11291 alignment should work again now.
11293 * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
11294 NULL, and mark this function static.
11295 (app_splash_init): use gtk_widget_show_now() instead of the
11296 gtk_main_iteration loop.
11297 (app_splash_init): connecting gtk_widget_destroy to the destroy
11298 signal of a widget seems pretty useless.
11300 2000-11-23 Kevin Breit <battery841@users.sourceforge.net>
11302 * doc/en/dia-manual.sgml:
11303 Added sect1 for advanced object types. Starting development
11306 2000-11-18 Kevin Breit <battery841@mediaone.net>
11308 * doc/en/dia-manual.sgml:
11309 Stupid spelling fixes.
11311 2000-11-18 Kevin Breit <battery841@mediaone.net>
11313 * doc/en/dia-manual.sgml:
11314 Just some small changes I made. Props to Greg LeBlanc on the
11317 2000-11-17 Alexander Larsson <alla@lysator.liu.se>
11320 (ddisplay_add_display_area): Clip input rectangle to
11321 the visible part of the display.
11322 (ddisplay_scroll): Optimization, don't scroll and
11323 redraw if moving to the same position as before.
11325 * app/render_libart.c (renderer_libart_copy_to_window):
11326 Removed sanity check. Now moved to ddisplay_add_display_area().
11329 Added return at end of file.
11331 2000-11-13 Kevin Breit <battery841@mypad.com>
11332 * doc/en/dia-manual.sgml
11333 Commited manual changes from Henry House <hajhouse@houseag.com>
11335 2000-10-21 Hans Breuer <Hans@Breuer.Org>
11336 * lib/beziershape.c :
11337 The previous code was accessing unowned memory due to IHMO
11338 wrong index calculation. Now it appears to be fixed.
11342 * plug-ins/makefile.msc
11343 * objects/makefile.msc
11344 * app/makefile.msc: (new files)
11345 Makefiles for Dia on Win32, Micro$oft VC only.
11347 * plug-ins/pstricks/render_pstricks.c
11348 * plug-ins/dxf/dxf-import.c
11349 * plug-ins/shape/shape-export.c
11350 * plug-ins/svg/render_svg.c
11353 * app/preferences.c
11357 * objects/custom/custom.c
11358 * objects/standard/image.c
11359 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H
11360 where appropriate, add missing prototypes like <string.h>
11362 * plug-ins/wmf/wmf_gdi.cpp
11363 * plug-ins/wmf/wmf_gdi.h:
11364 start of wmf write functions for non Win32 platform. Not
11365 finished yet. The other way to get it working maybe to
11366 link the plug-in against wine libs.
11368 * plug-ins/wpg/wpg.c : add missing brace
11370 * app/load_save.c :
11371 Handling for unknown objects at load time. Previously Dia
11372 was crashing, if you try to load a file referencing objects
11373 whiches plug-ins aren't installed/available. Now it spits out
11374 a warning and ignores the unknown objects.
11377 toolbox DND support for files like The Gimp does it.
11381 Simple splash screen support and usage.
11384 Splash screen, portability fixes, dont' g_error if there is
11385 g_get_homedir return NULL. This may remove the one and only
11389 Make it compile without ENABLE_NLS
11391 * app/render_libart.c :
11392 Sanity check to avoid calling libart with wrong window coordinates.
11393 They come from the update handler. Direct Gdk is dealing nicely
11394 with coordinates out of range, libart does access un-owned memory
11395 in this case, mostly causing crashes.
11397 * app/winmain.c: (new file) Export the Win32 Gui version of the
11398 main function. This file is only required for Windoze.
11400 * app/splash.c: (new file) splash screen implementation
11404 * lib/diavar.h: (new file)
11405 moved special variable export code to diavar.h, because it is
11406 needed in color.h and font.h
11409 M$VC cann't export inlined functions. Quick hack to let it
11410 link again. Probably the glib mechanics should be used here?
11412 * objects/UML/lifeline.c : initialize var before usage
11414 * objects/GRAFCET/step.c : removed unused var
11416 2000-10-14 James Henstridge <james@daa.com.au>
11418 * app/render_gnomeprint.c (draw_image): change code so images
11419 don't get flipped when printing.
11421 * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
11422 sure that the return value of
11423 gnome_print_context_new_with_paper_size is not NULL.
11425 * app/render_gnomeprint.c (draw_arc): add code to convert arcs
11426 into a series of bezier segments.
11427 (fill_arc): similar code to handle filled arc segments.
11429 2000-10-12 Fredrik Hallenberg <hallon@lysator.liu.se>
11436 * app/disp_callbacks.c
11438 * app/linewidth_area.c
11439 * app/paginate_psprint.c
11440 * app/preferences.c
11444 * app/neworth_conn.c
11446 * objects/standard/box.c: various small changes to get rid of
11447 annoying warnings (eg faulty prototypes and unused variables)
11449 * app/disp_callbacks.c
11452 * app/magnify.h: update magnify tool icon when pressing/releasing
11453 shift. I will try to make something more general so that similar
11454 things can be used by other tools.
11456 * shapes/SDL/inout.shape
11457 * shapes/SDL/return.shape: fixed some typos
11459 2000-10-09 James Henstridge <james@daa.com.au>
11461 * objects/custom/shape_info.c (parse_path): apply patch from
11462 Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
11465 2000-10-08 James Henstridge <james@daa.com.au>
11467 * objects/standard/image.c (image_set_props): if the file could not
11468 be loaded, show the broken image icon.
11470 * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
11472 * plug-ins/shape/*: the shape export plugin by Steffen Macke.
11474 * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
11475 object icon when loading from a file. This allows you to have PNG
11476 icon files for shapes.
11478 2000-10-07 James Henstridge <james@daa.com.au>
11480 * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
11482 * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
11483 GDK_IMLIB_CFLAGS reference.
11485 * app/commands.c (help_about_callback): remove imlib code.
11487 * lib/dia_image.c: only include the pixbuf version of the image
11490 * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
11492 * configure.in (CPPFLAGS): remove the check for imlib, as we now
11493 require gdk-pixbuf.
11495 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
11496 conditionally define \setfont as well.
11498 2000-10-05 James Henstridge <james@daa.com.au>
11500 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
11501 preamble so that we define \setlinejoinmode and \setlinecaps
11502 commands conditionally on them being undefined. This way, the
11503 pstricks output files should work without modification, and will
11504 support the commands when they are implemented in pstricks.
11506 2000-10-05 Szabolcs Ban <shooby@gnome.hu>
11508 * dia.desktop: added hungarian translations to dia.desktop
11510 2000-10-04 James Henstridge <james@daa.com.au>
11512 * sheets/UML.sheet: fix typo.
11514 * objects/custom/shape_info.c: use strtod instead of g_strtod.
11515 (parse_path): actually call setlocale around strtod calls.
11517 * lib/dia_xml.c: use strtod rather than g_strtod. We wrap each
11518 call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
11519 the g_strtod wrapper.
11521 * shapes/SDL/: add SDL shapes from Rubens Ramos
11522 <rubens_ramos@yahoo.com>
11524 * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
11526 * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
11528 * shapes/MSE/: add Mobile Subscriber Equipment shapes from
11529 W. Michael Petullo <mike@flyn.org>.
11531 * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
11532 from the 0.86 tarball) and jigsaw.sheet.
11534 * configure.in: add shapes/jigsaw/Makefile to list of generated files.
11536 * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
11538 * shapes/network/: add network-additional shapes here.
11540 * sheets/network.sheet: add the network-additional shapes from
11541 Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
11544 2000-09-30 Fredrik Hallenberg <hallon@lysator.liu.se>
11546 * configure.in: Updated ALL_LINGUAS
11548 * po/nl.po: Removed newline from translation
11550 2000-09-17 Asbjorn Pettersen <asbjornP@dualog.no>
11552 * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in
11553 logo filename generation.
11555 * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
11556 Avoiding "//dia_logo.png".
11558 2000-09-16 Asbjorn Pettersen <asbjornP@dualog.no>
11560 * app/filedlg.c: add include <sys/types.h> to
11561 remove warning. (OS/2)
11563 2000-09-13 Cyrille Chepelov <chepelov@calixo.net>
11565 * objects/chronogram/chronoline_event.c (reparse_clevent):
11566 the __checksum routine was simply bogus. Redone it in a slightly
11567 saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
11569 2000-09-10 Asbjorn Pettersen <asbjornP@dualog.no>
11571 * app/create_object.c (create_object_button_press):
11572 * app/modify_tool.c (click_select_object):
11573 * lib/object.h: select renamed to selectf to prevent
11574 compiler problems with function select(). OS/2 version.
11576 2000-09-08 Karsten Weiss <knweiss@gmx.de>
11578 * po/de.po: Updated.
11580 2000-09-07 Karsten Weiss <knweiss@gmx.de>
11582 * dia.desktop: Added German translation
11583 * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
11585 2000-08-29 Manuel de Vega Barreiro <barreiro@arrakis.es>
11587 * configure.in (ALL_LINGUAS): added "es"
11589 2000-08-28 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
11594 * app/scroll_tool.c:
11595 Standardized cursor function get_cursor(). Magnify now has
11596 looking-glass cursor with + and -.
11598 * app/create_object.c (create_object_button_press):
11599 Newly created connections now snap to connection points even when
11602 2000-08-17 Daniel Egger <egger@suse.de>
11604 * app/menus.c: #ifdef'ed some code for the none GNOME
11606 * app/dia_embedd.c: Changed obvious hackery. Can anyone
11607 please have a look at the GNOME UI menu creation? The
11608 gnome-app-helper code is ages old and plainly broken!
11610 2000-08-15 Daniel Egger <egger@suse.de>
11617 * app/select.c: First big patch to get the menus
11618 working again in the international version. Copied
11619 some code written by Sven and me from GIMP and
11620 thus implemented automatic tearoffmenu creation and
11621 proper translation. I also removed that pseudo
11622 radiomenu hack and cleaned up several translation
11623 hacks which have never really worked. All in all
11624 this is part I of the big menu patch. Enjoy and tell
11625 me if you detect any problems.
11627 2000-08-14 Daniel Egger <egger@suse.de>
11629 * sheets/UML.sheet: Changed one German translation as
11630 suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
11632 2000-08-10 Fredrik Hallenberg <hallon@lysator.liu.se>
11634 * app/diapagelayout.c:
11635 * lib/diagramdata.c:
11636 * lib/diagramdata.h:
11639 * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
11640 selecting paper size for a new diagram. TODO: Use libpaper if
11641 available and use gnome_paper-stuff if using GNOME.
11643 * sheets/Electric.sheet: fixed typo.
11645 2000-08-08 James Henstridge <james@daa.com.au>
11647 * po/README: added a readme file to tell translators to translate
11648 the .sheet files as well.
11650 * app/commands.c (help_about_callback): fix small bug where we tried
11651 to gdk_bitmap_unref() the mask for the about box image, even though
11652 it was NULL. Now check for a NULL mask.
11654 2000-08-07 Daniel Egger <egger@suse.de>
11656 * sheets/*.sheet: Added translations for the name
11657 in the toolbar tab. Brushed up some descriptions
11658 and some translations a bit.
11660 2000-08-06 James Henstridge <james@daa.com.au>
11662 * plug-ins/svg/render_svg.c (new_svg_renderer): update public
11663 identifier and dtd url for SVG output.
11664 (new_svg_renderer): fix the output of the viewBox output. The
11665 second two numbers are the width and height -- not the right
11666 and bottom sides of the box.
11668 * shapes/*/*.shape: update svg namespace URI.
11670 * objects/custom/shape_info.c (load_shape_info): change the
11671 namespace URI for custom shapes yet again to match the Candidate
11672 Recommedation. It looks like this one will probably be the final
11675 * app/display.c (new_display): remove the code that sets ic and
11676 ic_attr members to NULL, as one of the previous function calls
11677 causes the display to be realised. This means that the ic gets
11678 lost. Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
11681 2000-08-06 James Henstridge <james@daa.com.au>
11683 * shapes/Makefile.am (SUBDIRS): add Civil back to list.
11685 * NEWS: fixed date in NEWS file, as I will release today.
11687 * README: updated the README a little. Added note that Dia is now
11690 * dia.spec: fix up spec file.
11692 * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
11694 * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
11695 get heaps of warnings when you turn off debugging.
11696 Also made a few other warning fixes.
11698 2000-08-02 James Henstridge <james@daa.com.au>
11700 * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
11702 * configure.in: update version number.
11704 2000-08-01 James Henstridge <james@daa.com.au>
11706 * app/commands.c (help_about_callback): add Hans to about dialog.
11708 * doc/shape.dtd: dtd for shape file format.
11710 * doc/custom-shapes: update doc file about creating custom shapes.
11712 * shapes/*/*.shape: change namespace URI for the SVG portion to the
11713 one for the latest draft.
11715 * shapes/*/*.shape: fix up rect definitions.
11717 * objects/custom/shape_info.c (load_shape_info): recognise newer
11718 namespace tag for SVG.
11719 (parse_svg_node): the rect element should take attributes x, y, width
11720 and height -- not x1,y1,x2,y2.
11722 * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
11723 output to use the newest draft DTD.
11725 * plug-ins/svg/svg.c: initialisation code for plugin.
11727 * plug-ins/svg/render_svg.c: move svg export code to a plugin.
11729 * plug-ins/svg/Makefile.am: makefile for svg plugin.
11731 * app/app_procs.c (internal_plugin_init): don't register the svg
11732 export filter here.
11734 * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
11736 2000-07-31 James Henstridge <james@daa.com.au>
11738 * objects/standard/textobj.c (textobj_get_defaults):
11739 * objects/standard/polygon.c (polygon_get_defaults):
11740 * objects/standard/image.c (image_get_defaults):
11741 * objects/standard/ellipse.c (ellipse_get_defaults):
11742 * objects/standard/box.c (box_get_defaults):
11743 * objects/standard/beziergon.c (beziergon_get_defaults):
11744 * objects/flowchart/parallelogram.c (pgram_get_defaults):
11745 * objects/flowchart/ellipse.c (ellipse_get_defaults):
11746 * objects/flowchart/diamond.c (diamond_get_defaults):
11747 * objects/flowchart/box.c (box_get_defaults):
11748 * objects/custom/custom_object.c (custom_get_defaults):
11749 * objects/FS/flow.c (flow_get_defaults):
11750 * objects/FS/flow-poly.c (flow_get_defaults):
11751 * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
11754 * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
11755 widgets for various object types.
11756 (create_dialog): ref and sink the no_defaults_dialog.
11758 * app/preferences.c (prefs_create_dialog): change
11759 gtk_container_border_width call to gtk_container_set_border_width.
11761 2000-07-29 James Henstridge <james@daa.com.au>
11763 * app/commands.c (view_aa_callback): show a warning dialog if
11766 * app/interface.c (fill_sheet_menu): don't add a menu item for
11769 2000-07-26 James Henstridge <james@daa.com.au>
11771 * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
11773 * app/menus.c: remove edit grid menu item.
11775 * app/commands.[ch] (view_edit_grid_callback): removed.
11777 * app/display.c (new_display): don't initialise removed Grid members.
11779 * app/grid.c: remove unused functions.
11781 * app/grid.h: remove dialog related stuff from Grid structure.
11782 Remove prototypes for dialog functions.
11784 * app/menus.c: add to menus
11786 * app/commands.[ch] (view_diagram_properties_callback): new command
11787 for showing the diagram properties dialog.
11789 * app/dia-props.[ch]: a new diagram properties dialog. To replace
11790 the edit grid dialog.
11792 2000-07-25 James Henstridge <james@daa.com.au>
11794 * app/grid.c (grid_x_update):
11795 (grid_y_update): as the grid setting is stored with the diagram,
11796 update all displays when a change is made.
11798 * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
11800 * app/create_object.c (create_object_button_press):
11801 (create_object_motion): use new snap_to_grid signature.
11803 * app/grid.c (grid_draw): use the grid settings in the DiagramData,
11804 and handle invisible grid lines.
11805 (snap_to_grid): use new grid settings. Also changed signature to
11806 take a DDisplay rather than Grid pointer.
11807 (grid_show_dialog): get the defaults from the correct place.
11809 * app/display.c (new_display): do not set ddisp->grid.width_[xy].
11811 * app/diagram.c (new_diagram): set the grid size defaults from the
11814 * app/load_save.c (diagram_data_save): save grid and guide info to
11816 (diagram_data_load): add guide and grid load support.
11818 * lib/diagramdata.c (new_diagram_data): set the new DiagramData
11821 * lib/diagramdata.h: add members to DiagramData for grid and guide
11824 * configure.in (BONOBO_LIBS): update configure scripts
11826 * app/dia.oafinfo: oafinfo file for dia embeddables.
11828 * app/dia_embedd.c: add OAF support.
11830 2000-07-24 James Henstridge <james@daa.com.au>
11832 * plug-ins/wpg/Makefile.am:
11833 * plug-ins/pstricks/Makefile.am:
11834 * plug-ins/hpgl/Makefile.am:
11835 * plug-ins/dxf/Makefile.am: same here.
11837 * plug-ins/cgm/Makefile.am: remove LIBADD. Dia already links with
11838 the required libraries, and the link line was causing libtool not
11839 to build a shared library on some systems :(
11841 * plug-ins/cgm/cgm.c (write_real): the initial if statement should
11842 be checking x, not n.
11844 2000-07-23 James Henstridge <james@daa.com.au>
11846 * app/preferences.c (prefs_data): set the "reset tools after
11847 create" preference to true by default. That seems to be what most
11850 * app/interface.c (create_sheets): instead of a notebook, use an
11851 option menu that updates the sheet tools. The notebook tabs were
11852 getting a bit unwieldly, so the option menu should fix that. This
11853 also reduces the number of widgets in the tools radio button
11854 group, which should make the UI a little more responsive.
11856 2000-07-19 Fatih Demir <kabalak@gmx.net>
11858 * configure.in: Added tr to ALL_LINGUAS.
11859 [ Yeah, we're now having a Turkish translation,
11862 * dia.desktop: Added the Turkish entries.
11864 2000-07-02 Fredrik Hallenberg <hallon@lysator.liu.se>
11866 * doc/diagram.dtd: changed string-element so it conforms to the
11869 2000-06-30 Fredrik Hallenberg <hallon@lysator.liu.se>
11871 * configure.in: added chinese.
11872 Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
11880 objects/custom/shape_info.c:
11881 shapes/Circuit/npn.shape:
11882 shapes/Circuit/pnp.shape:
11883 sheets/*.sheet: dia now works with libxml2.
11884 Libxml2 is a bit more picky when parsing xml and reported errors on all
11885 sheet files because they use non ascii characters (added
11886 encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so
11887 I commented out these.
11889 2000-06-30 Christopher R. Gabriel <cgabriel@linux.it>
11891 * configure.in (ALL_LINGUAS): added Italian
11893 2000-06-27 Sung-Hyun Nam <namsh@lgic.co.kr>
11895 * configure.in (ALL_LINGUAS): added Korean
11897 2000-06-25 James Henstridge <james@daa.com.au>
11899 * objects/flowchart/parallelogram.c (pgram_create): use default font
11900 and add properties interface support.
11902 * objects/flowchart/ellipse.c (ellipse_create): use default font and
11903 add properties interface support.
11905 * objects/flowchart/diamond.c (diamond_create): use default font and
11906 add properties interface code.
11908 * objects/flowchart/box.c (box_create): use default font.
11910 * objects/custom/custom_object.c (custom_create): use default font
11913 * objects/standard/textobj.c (textobj_create): update to use default
11916 * lib/attributes.c: add implementations.
11918 * lib/attributes.h (attributes_[gs]et_default_font): add function
11919 prototypes for setting/getting a default font.
11921 2000-06-24 James Henstridge <james@daa.com.au>
11923 * app/paginate_gnomeprint.h: updated prototype.
11925 * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
11926 diagram page settings.
11928 * objects/standard/beziergon.c (beziergon_copy): same here.
11930 * objects/standard/polygon.c (polygon_copy): copy the fill colour
11934 * app/tool.h (tool_options_dialog_show):
11935 * app/scroll_tool.h (free_scroll_tool):
11936 * app/render_svg.h:
11937 * app/render_libart.h (renderer_libart_copy_to_window):
11938 * app/render_gdk.h (renderer_gdk_copy_to_window):
11939 * app/properties.h (properties_hide_if_shown):
11940 * app/preferences.h (prefs_load):
11941 * app/object_ops.h:
11942 * app/modify_tool.h (free_modify_tool):
11943 * app/magnify.h (free_magnify_tool):
11944 * app/linewidth_area.h (linewidth_area_create):
11945 * app/layer_dialog.h:
11946 * app/handle_ops.h (handle_is_clicked):
11948 * app/grid.h (grid_destroy_dialog):
11949 * app/defaults.h (defaults_show):
11950 * app/cut_n_paste.h (cnp_exist_stored_objects):
11951 * app/create_object.h (free_create_object_tool):
11952 * app/connectionpoint_ops.h (diagram_unconnect_selected):
11954 * app/color_area.h (color_area_create):
11955 * app/app_procs.h (app_is_embedded): remove extern keyword from
11956 function prototypes.
11959 * lib/sheet.h (load_all_sheets):
11960 * lib/render_store.h:
11961 * lib/render_object.h (render_object_load):
11962 * lib/polyshape.h (polyshape_closest_segment):
11963 * lib/poly_conn.h (polyconn_closest_segment):
11966 * lib/objchange.h (new_object_state_change):
11967 * lib/neworth_conn.h (neworthconn_add_segment):
11968 * lib/message.h (message_error):
11971 * lib/font.h (font_descent):
11972 * lib/focus.h (remove_focus):
11974 * lib/diagramdata.h:
11975 * lib/dia_xml.h (data_add_composite):
11977 * lib/connpoint_line.h:
11978 * lib/connection.h (connection_move_handle):
11980 * lib/attributes.h (attributes_set_default_line_style):
11981 * lib/arrows.h (arrow_draw): remove extern keyword from function
11982 definitions. It is not required for functions.
11984 * plug-ins/dxf/Makefile.am (INCLUDES):
11985 * plug-ins/pstricks/Makefile.am (INCLUDES):
11986 * plug-ins/cgm/Makefile.am (INCLUDES):
11987 * objects/SADT/Makefile.am (INCLUDES):
11988 * objects/chronogram/Makefile.am (INCLUDES):
11989 * objects/GRAFCET/Makefile.am (INCLUDES):
11990 * objects/flowchart/Makefile.am (INCLUDES):
11991 * objects/sybase/Makefile.am (INCLUDES):
11992 * objects/FS/Makefile.am (INCLUDES):
11993 * objects/standard/Makefile.am (INCLUDES):
11994 * objects/network/Makefile.am (INCLUDES):
11995 * objects/UML/Makefile.am (INCLUDES): same here.
11997 * objects/ER/Makefile.am: changed inclusion of some macros to
12000 * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
12001 handle the plug in extension, rather than have all the #ifdef's in
12004 * plug-ins/Makefile.am: add renderer.inc to dist.
12006 * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
12008 2000-06-11 Asbjorn Pettersen <asbjornP@dualog.no>
12010 * lib/plug-ins.c: Handle OS/2 dll's too.
12012 2000-06-07 James Henstridge <james@daa.com.au>
12014 * app/plugin-manager.c (get_plugin_manager): set some table
12015 packing options to make it look a little nicer.
12017 * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
12018 makefiles for these plug-ins.
12020 * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
12022 * configure.in: added hpgl and wpg directories to build. Added
12023 note about whether gnome-print support was enabled, and noted that
12024 it is not recommended.
12026 2000-06-06 James Henstridge <james@daa.com.au>
12028 * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins. They still need
12029 a little work, but I am checking them in so I don't lose them.
12031 2000-06-01 James Henstridge <james@daa.com.au>
12033 * objects/standard/arc.c: added extra properties.
12035 * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
12036 was using the wrong index into the handles array. This gets corner
12037 type changing working correctly.
12039 * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
12040 to properties code (no editing or loading yet though). Also added
12041 support for point array manipulation through the offsets interfaces.
12043 * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf
12045 * app/interface.c (origin_button_press): changes so the origin
12046 button doesn't grab the pointer when we pop up the menu.
12048 * app/commands.c (help_about_callback): fix small memory leak in
12051 * app/menus.c (menus_init): fixed breakage I introduced in the non
12052 gnome menus when I was doing the menu changes. The tearoffs work
12053 really nicely in plain gtk mode as well.
12055 * objects/standard/beziergon.c (beziergon_create): changed the
12056 returned handles to match the handle numbering changes. Now
12057 segment addition and removal works correctly with undo!
12059 * lib/beziershape.c: various changes to the code. Changed the
12060 numbering of handles, and fixed the segment removal code.
12062 2000-05-31 James Henstridge <james@daa.com.au>
12064 * objects/standard/beziergon.c: remove connection point handling.
12065 There is still a bit of work to be done to get adding and removing
12066 of segments working correctly.
12068 * lib/beziershape.c: add connection point handling to beziershape.
12069 I set it for two connection points per segment.
12071 2000-05-30 James Henstridge <james@daa.com.au>
12073 * objects/standard/polygon.c: don't do connectionpoint handling.
12075 * lib/polyshape.c: changed to handle connection points internally.
12076 Also, don't worry about connections to handles on polyshape, as
12077 all handles are non connectable.
12079 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
12081 * configure.in: Added finnish
12083 2000-05-30 James Henstridge <james@daa.com.au>
12085 * sheets/*.sheet: translation updates to the .sheet files.
12087 * po/fr.po: updated po file from Christophe Merlet.
12089 * menus.h: removed prototypes for functions which have been removed.
12091 2000-05-29 James Henstridge <james@daa.com.au>
12093 * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
12094 item in the option menu when changing selected diagram.
12096 * app/dia_embedd.c (view_factory): fix up function to work with new
12099 * app/disp_callbacks.c (ddisplay_realize): remove call to
12100 display_set_active from here.
12101 (ddisplay_canvas_events): move call here. This gets rid of all the
12102 warnings, as the renderer has been fully set up correctly at this
12105 * app/menus.c (menus_init): add the tearoff item to the start of the
12108 * app/app_procs.c (create_user_dirs): we don't need to create the
12109 menus directory anymore.
12111 * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
12112 necessary to update the menu state here, as it was done when the
12113 active display was set.
12115 * app/display.c (display_set_active): update the menu state when
12116 changing active displays.
12118 * app/interface.c (origin_button_press): set the display as active
12119 when a click is made on the menu button.
12121 * app/menus.c (menus_init): set up a quit function to save the accels
12123 Add tearoff items for the non GNOME menus, add accelerators for
12124 several GNOME menus.
12126 * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
12127 menus_get_image_menu().
12129 * app/menus.c (menus_get_item_from_path): use display_menus here
12130 rather than ddisp->popup.
12132 * app/display.h: remove the popup member in the DDisplay structure.
12134 * app/interface.c: remove option of not using wrap box.
12135 (create_toolbox): change to always use menus_get_toolbox_menubar
12136 even when using gnome menus.
12137 (create_display_shell): use menus_get_image_menu to load accelerators
12138 only -- not the actual popup menu.
12140 * app/menus.c (menus_init): new function to create the menus.
12141 (menus_get_toolbox_menubar): use this function whether gnome is
12142 in use or not. Changed to use menus_init.
12143 (menus_get_image_menu): same here. Also, now this function always
12144 returns the same menu, rather than a new one each time.
12145 (menus_init): read a menurc file to load accelerators here.
12147 2000-05-28 James Henstridge <james@daa.com.au>
12149 * app/display.c (ddisplay_really_destroy): unset active display if
12150 active display is destroyed.
12151 (ddisplay_active): simplify function to return active_display as set
12152 by display_set_active. This allows using a pinned menu with any
12153 display -- not just the one it was popped up from.
12154 (display_set_active): notify the layer dialog of change of diagrams
12155 when active diagram changes.
12157 * app/disp_callbacks.c (ddisplay_canvas_events): set active display
12158 on button and key presses.
12159 (ddisplay_realize): set active display on realize.
12161 * app/display.c (display_set_active): simple implementation of this
12164 * app/display.h (display_set_active): add prototype for setting
12165 the active display.
12167 * app/interface.c (create_display_shell): don't give focus to the
12170 * app/menus.c: fix up menus for Beziergon.
12172 * app/interface.c (create_display_shell): make the widget in the
12173 top left corner a button that can be used to pop up the right click
12174 menu, like in gimp and sketch.
12176 * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
12179 * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
12180 add code to set corner types for beziergon.
12182 * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
12184 (beziershape_move_handle): use the previous corner type for right
12187 * app/interface.c (tool_data): add beziergon to toolbox.
12189 * objects/standard/standard.c (dia_plugin_init): initialise the new
12190 Beziergon object type.
12192 * objects/standard/beziergon.c: an object based on BezierShape.
12194 * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
12196 * lib/beziershape.[ch]: new files implementing a bezier shape.
12198 2000-05-26 James Henstridge <james@daa.com.au>
12200 * lib/text.c (text_key_event): handle multibyte inserts.
12201 (text_key_event): also add home and end keybindings.
12203 * app/interface.c (create_display_shell): connect handlers for
12204 focus_in_event, focus_out_event, realize and unrealize signals.
12206 * app/display.[ch] (new_display): initialise input context members.
12208 * app/disp_callbacks.[ch]: added XIM support here.
12210 * lib/font.c (suck_font): the black and white pixel values should be
12211 taken from a 1 bit colormap rather than the default colormap.
12213 Hans Breuer's Windows patches ...
12215 * lib/font.c: use Courier New for fixed width font on windows
12218 * lib/dia_image.h: change to "struct _DiaImage".
12220 * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
12222 * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
12223 mouse button for object menu. This will make two button mouse owners
12226 2000-05-25 James Henstridge <james@daa.com.au>
12228 * app/filedlg.c (file_open_ok_callback): use diagram_load here.
12230 * app/app_procs.c (app_init): add extra NULL argument to call of
12233 * app/load_save.h: remove prototype.
12235 * app/load_save.c: remove diagram_data function here.
12237 * app/diagram.h: added prototype.
12239 * app/diagram.c (diagram_load): new function here, which uses import
12242 * plug-ins/dxf/dxf.c: register the import filter as well.
12244 * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
12245 Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
12247 * objects/standard/line.c: add start_point and end_point properties
12248 to standard line object.
12250 2000-05-21 James Henstridge <james@daa.com.au>
12252 * app/paginate_psprint.c: added missing include of locale.h.
12254 * objects/custom/custom_object.c (custom_draw): use fabs rather than
12255 abs for scaling factors.
12256 (custom_distance_from): same here.
12258 * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
12260 2000-05-18 James Henstridge <james@daa.com.au>
12262 * po/POTFILES.in: updated POTFILES.in.
12264 * dia.spec: incremented version number in spec file.
12266 * NEWS: added (lots of) news items for the 0.85 release.
12268 * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
12271 * configure.in: updated version number here.
12273 * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
12275 2000-05-17 James Henstridge <james@daa.com.au>
12277 * app/app_procs.c (internal_plugin_init): register the native import
12280 * app/load_save.c (diagram_data_load, diagram_load): split this
12281 function into two -- one that does all the work on the DiagramData
12282 structure, and the other that provides compatibility with the old
12284 (dia_import_filter): use diagram_data_load to define an import
12287 * app/diagram.h (new_diagram): added const to prototype.
12289 * app/filedlg.c (file_open_callback): change to use new import filter
12292 * lib/filter.c: added import filter management functions.
12294 * lib/filter.h: added prototypes for import filter interface.
12296 * app/commands.c (help_about_callback): updated about dialog to
12297 contain a few more names.
12299 2000-05-16 James Henstridge <james@daa.com.au>
12301 * configure.in (Configuration): added a status message to the end of
12302 the configure script to give the user some idea of what was
12305 * plug-ins/dxf/Makefile.am: Makefile for new plugin.
12307 * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
12310 * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
12313 * configure.in (AM_PATH_LIBART): use the check function provided
12314 with libart rather than our own code. It is more reliable, and
12315 it only requires that people who build out of CVS have libart.m4
12316 installed (not necessarily all of libart).
12317 (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
12319 2000-05-12 Andreas Hyden <a.hyden@cyberpoint.se>
12321 * dia.desktop: Added Swedish translation.
12323 2000-05-09 James Henstridge <james@daa.com.au>
12325 * lib/dia_xml.c: you can't free a const pointer, so remove const
12326 from variable definitions.
12328 Explicitely set LC_NUMERIC where needed, as sometimes it isn't
12329 initialised correctly.
12331 * app/render_svg.c (export_svg): set locale to C.
12333 * app/paginate_psprint.c (paginate_psprint): set locale to C.
12335 * app/render_eps.c (export_eps): set locale to C for EPS export.
12337 * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
12338 (data_add_point): same here.
12339 (data_add_rectangle): same here.
12340 (data_real): use g_strtod to convert strings to real numbers, so that
12341 locales are taken into account.
12342 (data_point): same here.
12343 (data_rectangle): same here.
12345 * AUTHORS: added Henk and Jacek to authors file.
12347 Daniel Egger's code cleanups.
12349 * app/select.c (select_invert_callback): remove unused variable.
12351 * app/plugin-manager.c (get_plugin_manager): fix typo.
12353 * app/load_save.c (read_connections, write_objects):
12354 (write_connections): made some functions static.
12356 * app/interface.c (toolbox_delete, toolbox_destroy): made some
12359 * app/filedlg.c (file_export_callback): remove unused variable.
12361 * app/app_procs.c: various warning fixes.
12363 Integrating Jacek Pliszka's pstricks export filter.
12365 * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
12367 * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
12368 renderer (with a few small modifications by me).
12370 * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
12372 * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
12374 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
12377 * sheets/Makefile.am:
12378 * shapes/Makefile.am:
12379 * shapes/Civil/Makefile.am:
12380 * sheets/civil.sheet:
12382 Added civil/hydraulic/structural engineering objects from
12383 sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
12385 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
12387 * objects/FS/flow-poly.c:
12388 * objects/FS/flow.c:
12389 Fix division by zero in point_normalize().
12390 Patch by David Thompson <dcthomp@mail.utexas.edu>
12392 2000-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
12395 * lib/bezier_conn.c:
12396 * lib/connpoint_line.c:
12397 Added checks for zero-length lines before calls to point_normalize.
12399 2000-04-24 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12401 * app/preferences.c (prefs_data): Changed
12402 reversed_dragging_intersects to not make the dialog ridiculously
12405 2000-04-22 James Henstridge <james@daa.com.au>
12407 Hans's win32 patches:
12409 * app/export_png.c: include message.h
12410 * app/interface.c: include dia_dirs.h
12411 * app/linewidth_area.c: check for rint
12412 * app/main.c: include interface.h
12413 * app/paginate_psprint.c: remove unused variable.
12414 * app/preferences.c: include message.h
12415 * app/render_svg.c: include stdlib.h
12416 * app/select.c: include object_ops.h
12417 * lib/dia_dirs.c: miscelaneous fixes for win32.
12418 * lib/dia_image.c: include string.h
12419 * lib/plug-ins.c: look for .dll files rather than .la files on win32.
12420 * lib/properties.c: include stdlib.h
12421 * lib/properties.h: define extra data for standard properties as
12422 static variables on win32 (to get around dynamic linker problems).
12423 * objects/standard/polygon.c: polygon_create_change missing return
12426 2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
12428 * configure.in (ALL_LINGUAS): added Catalan
12430 2000-04-18 James Henstridge <james@daa.com.au>
12432 * objects/standard/bezier.c (bezierline_get_object_menu): add a
12433 separator to the object menu between the add/remove segment items
12434 and the corner type items.
12435 (bezierline_get_object_menu): add code to disable the menu item for
12436 the current corner type. Really just a cosmetic change.
12438 * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
12439 a NULL for the label or with no associated callback.
12441 * objects/standard/bezier.c (bezierline_menu_items): use the
12442 enumeration values rather than numeric values for the corner types.
12444 * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
12445 structure, and add code to handle it. Also, don't save the corner
12446 types inline in the bez_points node. The way it is conditionally
12447 including the element just feels like it will break.
12449 * lib/geometry.h (BezPoint): removed the corner_type stuff from
12450 BezPoint. The corner type stuff is a user interface level idea rather
12451 than something required by the renderer, so should be taken care of
12452 at the object level.
12454 2000-04-17 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12456 * configure.in: Fixed some problems with the gdk-pixbuf/imlib
12457 checks. Weren't able to reproduce original bug, tough.
12459 2000-04-16 Cyrille Chepelov <chepelov@calixo.net>
12461 * sheets/Electric.sheet:
12462 * sheets/Contact.sheet:
12463 * sheets/Pneumatic.sheet:
12464 * sheets/Circuit.sheet: sprayed some <br/>'s around.
12465 (added a few French translations in the last file)
12467 2000-04-16 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12470 * lib/bezier_conn.h:
12471 * objects/standard/bezier.c:
12472 * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
12473 bezier points. Only one minor problem known: Menus are active
12474 for endpoints minor handles.
12475 11:28: Save and load now works, too.
12476 (bezierconn_closest_major_handle): 12:03: New function to get the
12477 non-control point handle associated with the nearest control
12479 Also fixed the menu activation problem, and made remove_segment
12480 not remove the endpoint.
12482 2000-04-15 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12484 * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
12487 2000-04-15 Asbjorn Pettersen <asbjornP@dualog.no>
12489 * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
12490 <sys/stat.h>. OS/2 patch.
12492 2000-04-15 James Henstridge <james@daa.com.au>
12494 * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
12495 Thompson's patch that adds undo support to the function structure
12498 2000-04-14 James Henstridge <james@daa.com.au>
12500 * objects/custom/custom_object.c (custom_distance_from): new
12501 implementation of distance algorithm that actually takes the
12502 display list into account when calculating the distance. Much nicer
12503 than a simple bounding box.
12505 2000-04-13 Lars Clausen <lrclause@cs.uiuc.edu>>
12507 * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
12509 2000-04-12 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12511 * objects/standard/polygon.c: Start of polygons own changes (for
12512 connectionpoints). Need to do seperate changes in polyshape, too,
12513 rather than reuse the bezier changes.
12515 2000-04-13 James Henstridge <james@daa.com.au>
12517 * lib/dia_image.c (dia_image_draw): use the new enumeration values
12518 from after the gdk-pixbuf cleanup.
12520 * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
12521 on for loop. Last set of coefficients were not beeing calculated,
12522 which caused a bit of breakage.
12524 * lib/bezier_conn.c (bezierconn_closest_segment): use the new
12525 functions in geometry.c for calculating the closest segment.
12526 (bezierconn_distance_from): use distance_bez_line_point to calculate
12529 * lib/geometry.c (distance_bez_line_point): new function to calculate
12530 the distance from an open bezier line to a point.
12531 (distance_bez_shape_point): new function to calculate the distance
12532 from a closed bezier shape.
12533 (distance_ellipse_point): new function to calculate the distance from
12534 a filled ellipse to a point.
12536 * lib/geometry.h (BezPoint): moved this structure here from render.h
12538 2000-04-12 James Henstridge <james@daa.com.au>
12540 * lib/geometry.c (distance_bez_seg_point): new function to calculate
12541 the distance from a bezier segment.
12543 * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
12544 to calculate the distance from the object.
12546 * lib/geometry.c (distance_polygon_point): function for calculating
12547 the distance from a polygon to a point.
12549 2000-04-12 Cyrille Chepelov <chepelov@calixo.net>
12552 * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line
12553 breaks can be inserted in the tool box.
12555 * doc/sheet.dtd: updated the DTD
12556 * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
12558 2000-04-12 James Henstridge <james@daa.com.au>
12560 * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
12561 macro if the dialog is a GtkDialog :(
12563 2000-04-11 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12565 * objects/standard/polygon.c: Connectionpoints now properly
12566 managed in a GList. As far as I can tell, this will not dieturb
12567 the order (but I have the nagging doubt...)
12569 * lib/polyshape.c: No longer knows about connectionpoints.
12571 2000-04-11 James Henstridge <james@daa.com.au>
12573 * app/Makefile.am: fix makefile for bonobo build.
12575 * configure.in: fix checks for bonobo.
12577 * app/menus.c: added entries for the plugin manager.
12579 * app/Makefile.am (dia_core_files): added plugin manager to files
12582 * app/plugin-manager.[ch]: the plugin manager dialog.
12584 * app/display.c (display_update_menu_state): set the antialiased
12585 menu entry to the correct value.
12587 2000-04-11 Cyrille Chepelov <chepelov@calixo.net>
12589 * objects/custom/custom_object.c: not all renderers like ellipses with
12590 negative dimensions. This could cause ellipses to disappear when using
12591 the flip_h and flip_v functions.
12593 * samples/grafcet.dia: fixed speling and correctness.
12595 2000-04-11 James Henstridge <james@daa.com.au>
12597 * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
12598 exposed the dia_plugin_load and dia_plugin_unload functions.
12600 * lib/plug-ins.c (plugin_load): change plugin_load to work on an
12601 already created PluginInfo structure.
12603 * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
12606 * lib/sheet.c: fix up call to dia_config_filename.
12608 * lib/plug-ins.[ch]: started writing code for handling a pluginrc
12609 file. This would save information such as which plugins not to
12610 load during startup.
12612 2000-04-09 James Henstridge <james@daa.com.au>
12614 * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
12616 2000-04-10 Alexander Larsson <alla@lysator.liu.se>
12618 * lib/plug-ins.c (dia_register_plugins):
12619 Don't free the value returned from g_getenv.
12621 2000-04-09 Anders Carlsson <andersca@gnu.org>
12623 * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
12625 * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
12627 * app/modify_tool.c (modify_button_release): If rubberbanding is done from
12628 right to left, select objects that intersect the rubberbanding rectangle
12629 instead of selecting objects that are in the rectangle.
12631 * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
12633 * lib/diagramdata.h: Likewise.
12636 2000-04-09 James Henstridge <james@daa.com.au>
12638 * lib/plug-ins.[ch]: add copyright messages to files.
12640 * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
12643 * objects/sybase/sybase.c (dia_plugin_init):
12644 * objects/network/network.c (dia_plugin_init):
12645 * objects/flowchart/flowchart.c (dia_plugin_init):
12646 * objects/custom/custom.c (dia_plugin_init):
12647 * objects/chronogram/chronogram.c (dia_plugin_init):
12648 * objects/UML/uml.c (dia_plugin_init):
12649 * objects/SADT/sadt.c (dia_plugin_init):
12650 * objects/GRAFCET/grafcet.c (dia_plugin_init):
12651 * objects/FS/fs.c (dia_plugin_init):
12652 * objects/ER/er.c (dia_plugin_init): updated plugin load code for
12655 * objects/standard/standard.c (dia_plugin_init): change over to new
12658 * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
12659 the version checker for plugins.
12661 * app/app_procs.c: remove plugin loading code from here, and use
12662 code from plug-ins.[ch]. Also move registration of internal
12663 objects/filters to a `builtin' plugin.
12665 * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
12667 * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
12669 * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
12670 defined variable in EXTRA_DIST.
12672 * app/preferences.h: removed dia_config_filename from header.
12674 * app/preferences.c: removed dia_config_filename function.
12676 * lib/dia_dirs.c (dia_config_filename): moved function over to this
12677 file. Also changed implementation slightly so that it should work
12678 on the win32 port correctly (and use NT home directories).
12680 * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
12681 it should have been.
12683 * lib/plug-ins.[ch]: new plugin loading code.
12685 2000-04-08 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12687 * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
12689 * lib/polyshape.c: Fix closest segment finding, exposes deeper
12690 bugs in adding corners to 'wraparound' segment.
12692 * objects/standard/polygon.c: Added connection points (fixed so
12693 far), set menu sensitivity.
12695 * lib/polyshape.c: Changed to box-style handles, fixed for start
12696 and ends not being special, added initial connections,
12698 * lib/dummy_dep.h: Added polyshape (gotcha!)
12700 * objects/standard/pixmaps/ellipse.xpm:
12701 * objects/standard/pixmaps/box.xpm:
12702 Filled element pixmaps with white.
12705 * objects/standard/polygon.c:
12707 * objects/standard/standard.c:
12708 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
12709 * lib/Makefile.am (libdia_a_SOURCES):
12711 * app/interface.c (tool_data):
12712 Added Standard/Polygon object and PolyShape lib object. Still
12713 needs inside grab and connection points.
12715 * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
12718 * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
12721 * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
12722 if (argv) outside ifdefs.
12724 2000-04-04 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12726 * objects/standard/image.c (image_set_props):
12727 Aspect ratio is back in town.
12729 * app/Makefile.am (dia_LDADD):
12732 Check for gdk_pixbuf (by default disabled, for now)
12734 * app/render_eps.c (draw_image):
12735 * app/render_libart.c (draw_image):
12736 * app/render_gnomeprint.c (draw_image):
12737 Support for alpha mask in rendering. Color postscript, too.
12741 Support for gdk_pixbuf and proper masking for exports.
12743 2000-04-01 Kjartan Maraas <kmaraas@online.no>
12745 * sheets/*.sheets: Updated Norwegian translations.
12747 2000-03-30 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
12749 * lib/text.c (text_insert_char):
12750 * lib/render_store.c (add_data):
12751 Made realloc double the alloced space rather than add
12752 a fixed amount, to reduce memory stress.
12754 * app/select.c: Added new select method 'Transitive'
12755 that select every reachable (by connections) object.
12757 2000-03-27 Kjartan Maraas <kmaraas@online.no>
12759 * dia.desktop: Added Norwegian translation.
12761 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
12763 * app/render_eps.c:
12764 * app/render_svg.c:
12765 Don't dereference NULL pointer if the renderer
12766 couldn't open the file. Fix by Lars Clausen.
12767 Bug reported by Martin Chisholm <b1mt@unb.ca>
12769 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
12773 Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
12775 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
12777 * app/dia.gnorba (location_info):
12778 Changed to correct executable name.
12780 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
12783 Don't do any argument parsing or initialization
12786 * app/dia_embedd.c:
12787 Call init_server_factroy before app_init.
12788 Call app_init with argv==NULL
12789 Now we don't get any critical error on startup.
12792 Add Electric and Pneumatic to makefile list.
12794 2000-03-24 Cyrille Chepelov <chepelov@calixo.net>
12796 * shapes/Electric/*:
12797 * sheets/Electric.sheet:
12798 Add some Electric circuit shapes.
12800 * shapes/Pneumatic/*:
12801 * sheets/Pneumatic.sheet:
12802 Add some Pneumatic & Hydraulic circuit shapes
12803 (both sheets are still incomplete, though feature enough
12804 things for basic circuits).
12806 * shapes/Contact/l_*.(xpm|shape):
12807 * sheets/Contact.sheet
12808 * shapes/Contact/Makefile.am
12809 made the older electric circuit shapes in Contact obsolete (disabled
12810 them in the sheet, made that sheet Ladder only). Fixed the makefile
12811 for forgotten items.
12813 2000-03-24 Alexander Larsson <alla@lysator.liu.se>
12816 Add support for Dia bonobo component.
12817 Currently a bit raw, so it's commented out.
12819 * app/dia_embedd.c:
12821 New files for embedding dia.
12822 The menu disabling hack is a bit gross. Esp. for GNOME.
12825 Add new function app_is_embedded();
12828 Don't destroy diagram when last display is destroyed if embedded.
12831 Change initialization of display so it works with embedding.
12834 Clarify comment about display destruction.
12836 * app/interface.[ch]:
12837 Added top_level_window argument to create_display_shell.
12838 Don't open a top-level window if embedding.
12839 Don't quit app if trying to close toolbox window when embedding.
12840 Add toolbox_show() and toolbox_hide().
12843 Added app_is_embedded() function (just returns false).
12844 Added toolbox_show() call in main().
12847 Added code for getting toolbox menus. This is used to
12848 hide some menu items when running embedded.
12851 Include sheet.h to remove warning.
12853 * objects/UML/association.c:
12854 Clarify association direction text.
12856 2000-03-16 Fredrik Hallenberg <hallon@lysator.liu.se>
12859 Fixed man page so whatis parsing works.
12861 2000-03-12 Alexander Larsson <alla@lysator.liu.se>
12863 * app/render_libart.c (new_libart_renderer):
12864 Fix from segg <segg@infonet.ca> to compile without libart.
12865 I forgot to change the stub for new_libart_renderer when doing
12866 the interactive renderer stuff for libart.
12868 2000-03-11 Alastair McKinstry <mckinstry@computer.org>
12870 * dia.desktop: Added Irish translation.
12872 * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
12874 2000-03-07 Asbjorn Pettersen <asbjornP@dualog.no>
12876 * app/load_save.c (fchmod): OS/2 defines only.
12878 2000-03-07 James Henstridge <james@daa.com.au>
12880 * lib/properties.c (prop_get_widget): set the position in the option
12883 2000-03-06 Alexander Larsson <alla@lysator.liu.se>
12886 * app/export_png.c:
12887 * app/render_libart.[ch]:
12888 Don't export png:s with an interactive libart renderer.
12890 2000-03-03 Asbjorn Pettersen <asbjornP@dualog.no>
12892 * lib/arrows.c (finite): define finite(d) isfinite(d) for OS/2
12894 2000-03-02 James Henstridge <james@daa.com.au>
12896 * dia.spec (%build): unset LINGUAS before running configure. This
12897 ensures that all translations get included in the RPM.
12899 * lib/properties.c (object_create_props_dialog): put in a check for
12900 a NULL return from the describe_props() object method.
12901 (prop_desc_lists_union): make sure that the returned array is not
12903 (prop_desc_lists_intersection): same here.
12905 2000-02-29 Alexander Larsson <alla@lysator.liu.se>
12907 * objects/ER/Makefile.am:
12908 * objects/FS/Makefile.am:
12909 * objects/UML/Makefile.am:
12910 Don't link object libs with gtk.
12912 2000-02-29 James Henstridge <james@daa.com.au>
12914 * app/preferences.c (prefs_save): check to see if the file could
12915 be opened before writing the prefs.
12917 * app/disp_callbacks.c (popup_object_menu): pass the button event
12918 to gtk_menu_popup. This allows you to click and release to open
12920 (ddisplay_canvas_events): same here.
12921 (create_object_menu): set the object type menu item in the object
12922 menu to be insensitive.
12924 * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
12925 as we are now requiring a new version of libxml.
12927 * dia.spec: updated version number. Added requirement for
12930 * configure.in: incremented version number to 0.84.
12931 Added check for libxml >= 1.8.5. This will prevent some of the
12932 problems people have had with broken libxml versions.
12934 * NEWS: added news items.
12936 * app/interface.c (create_color_area): removed call to realize parent
12937 widget. Segg <segg@infonet.ca> reported that it caused a warning,
12938 but I haven't seen it on my copy of dia.
12940 2000-02-28 James Henstridge <james@daa.com.au>
12942 * app/export_png.c: added copyright notice, and made the band height
12945 2000-02-27 Alexander Larsson <alla@lysator.liu.se>
12947 * lib/font.c (suck_font):
12948 Fixed off-by one bug in font pixmap height.
12949 Fixes the problem with garbage at the bottom of some text in aa mode
12950 and in png exported files.
12952 2000-02-27 James Henstridge <james@daa.com.au>
12954 * app/app_procs.c: add the png export filter if it was compiled in.
12956 * app/export_png.c (export_png): new PNG export filter. This requires
12957 the libart renderer to work as it needs a renderer that renders to a
12960 * configure.in: add check for libpng.
12962 * lib/message.c (message_internal): use a GNOME dialog here as well.
12964 * app/display.c (ddisplay_close): use a GNOME dialog here.
12966 * app/render_eps.c (create_eps_renderer): use diagram scaling factor
12967 when exporting to EPS. This is because some people said the EPS
12968 output was too large
12970 2000-02-26 James Henstridge <james@daa.com.au>
12972 * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
12975 * app/app_procs.c (app_exit): use a GNOME dialog here.
12977 * app/preferences.c (prefs_create_dialog): if GNOME support is
12978 enabled, show a GNOME dialog.
12980 * app/grid.c (grid_draw): use preferences when drawing page break
12983 * app/preferences.c: add page break preferences to dialog.
12985 * app/preferences.h: added page break preferences.
12987 2000-02-25 James Henstridge <james@daa.com.au>
12989 * sheets/UML.sheet: added new objects.
12991 * objects/UML/uml.c: link in the two new objects.
12993 * objects/UML/node.c:
12994 * objects/UML/branch.c: new UML objects from Stfan Seefeld
12995 <seefelds@magellan.umontreal.ca>.
12997 2000-02-24 James Henstridge <james@daa.com.au>
12999 * objects/custom/custom_object.c: converted to use the properties
13000 interface. In the future, it would be nice to add support for
13001 defining custom properties for custom objects, but that can wait.
13003 2000-02-22 James Henstridge <james@daa.com.au>
13005 * sheets/Circuit.sheet: added new circuit shapes to sheet.
13007 * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
13008 <hj@justcroft.com>. Fixes number encoding, colour encoding, fonts
13009 and adds a few new features.
13011 2000-02-21 Daniel Egger <egger@suse.de>
13013 * sheets/*.sheets: Added German translations and made some
13014 corrections to the others.
13016 2000-02-21 James Henstridge <james@daa.com.au>
13018 * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
13020 * shapes/Circuit/...: added new shapes from Erik Janssens.
13022 2000-02-20 James Henstridge <james@daa.com.au>
13024 * app/interface.c (create_color_area): realize the parent window
13027 * objects/standard/image.c: properties patch for standard image
13028 object, from Lars Clausen.
13030 * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
13032 * lib/properties.h (PropType): added file property type.
13034 * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
13037 * app/interface.c: use wrap box for toolbox.
13039 * app/Makefile.am: added new files.
13041 * app/gtk*wrapbox.[ch]: added wrap box widget.
13043 2000-02-19 James Henstridge <james@daa.com.au>
13045 * sheets/network.sheet: added extra shapes to networks sheet.
13047 * configure.in (AC_OUTPUT): added shapes/network/Makefile
13049 * shapes/network/*: added shapes that were posted to the list a while
13052 * shapes/Makefile.am (SUBDIRS): added network subdirectory
13054 * app/menus.c (toolbox_menu_items): don't right justify help menu for
13055 gtk+ version of menus.
13057 * app/properties.c (create_dialog): use a GnomeDialog if we happen
13060 2000-02-18 James Henstridge <james@daa.com.au>
13062 * objects/flowchart/box.c: set extra data for corner radius and text
13063 padding properties.
13065 * objects/standard/box.c: set extra data for corner radius property.
13067 * lib/properties.h: set extra data in some standard properties.
13069 * lib/properties.c (prop_get_widget): look at the extra data for
13070 int, real and enum property types. They now use GtkSpinButton and
13071 GtkOptionMenu respectively.
13073 * lib/properties.h: extra data members for creating property setting
13076 2000-02-17 James Henstridge <james@daa.com.au>
13078 * objects/flowchart/box.c: reverted load/save functions back to
13079 previous implementations. Made box use standard property names.
13081 * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
13083 * app/grid.c: add more digits to the grid edit dialog. This patch
13084 was also from Lars Clausen.
13086 * objects/standard/zigzagline.c:
13087 * objects/standard/textobj.c:
13088 * objects/standard/polyline.c:
13089 * objects/standard/line.c:
13090 * objects/standard/ellipse.c:
13091 * objects/standard/box.c:
13092 * objects/standard/bezier.c:
13093 * objects/standard/arc.c: patches to add properties code to standard
13094 objects. Based on patches from Lars Clausen. I have also removed
13095 some dead code from the files.
13097 * lib/properties.h (PROP_STD_*): define a number of standard
13098 properties. Where appropriate, objects should include these
13099 properties in their PropDescription list. This way, the intersection
13100 of properties of two different shapes will be greater.
13102 2000-02-14 James Henstridge <james@daa.com.au>
13104 * objects/flowchart/box.c (box_load, box_save): use property save
13105 routines. Make sure that any props not handled by object_load_props
13106 are loaded before calling object_load_props, or we get errors because
13107 update_data is called.
13109 * lib/properties.c (object_get_props_from_offsets): fixed an indexing
13110 error that could cause properties to be loaded incorrectly.
13111 (object_set_props_from_offsets): similar here.
13113 * lib/properties.[ch] (prop_{load,save}): functions for loading
13114 or saving a property in Dia's XML file format.
13115 (object_{load,save}_props): load or save some properties of an
13116 object. These functions should help simplify the load/save methods
13117 of objects that implement the properties interface.
13119 2000-02-13 James Henstridge <james@daa.com.au>
13121 * objects/flowchart/box.c: use offset code to simplify property
13124 * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
13126 (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
13128 * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
13130 (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
13132 * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
13135 2000-02-12 Alexander Larsson <alla@lysator.liu.se>
13138 Add the custom object to DIA_LIB_PATH in run_dia.sh
13140 2000-02-10 Cyrille Chepelov <chepelov@calixo.net>
13142 * sheets/Circuit.sheet:
13143 * shapes/l_sout* (NEW):
13144 * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
13145 variants of simple, inverted, set and reset outputs.
13146 Still to do: all Schneider/Telemecanique TSX *7 function blocks ;
13147 probably a split of Contact and Ladder sheets. And then a major
13148 revamping of the Contact sheet.
13150 2000-02-10 James Henstridge <james@daa.com.au>
13152 * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
13154 * app/app_procs.c (register_all_objects): don't explicitely
13155 register the custom objects library -- let it be loaded by the
13156 normal plugin loading methods.
13158 * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
13160 * objects/custom/Makefile.am: build libcustom_objects as a shared
13163 * objects/custom/shape_info.[ch]: don't read the description field
13164 of custom shapes. It makes more sense to have these in the sheet
13165 file to localise the parts of dia that translators have to deal
13168 * objects/custom/custom_object.c (custom_object_new): do not
13169 create the sheet object for the new custom shape -- this is
13170 handled by the custom sheet code.
13172 * objects/custom/custom.c: change over to being a normal plug-in
13173 rather than being linked with the main dia executable.
13175 2000-02-09 James Henstridge <james@daa.com.au>
13177 * sheets/Circuit.sheet:
13178 * sheets/Flowchart.sheet:
13179 * sheets/Contact.sheet: fixed up sheets.
13181 * objects/custom/custom_object.c (custom_object_new): set the
13182 extra ObjectType fields.
13184 * lib/sheet.c: use extra ObjectType fields when creating sheet
13185 objects. Give a warning if <shape> tags are found in a sheet
13186 file. Now the custom sheet code does not know about custom
13187 shapes -- they look like any other object type.
13189 * lib/object.h (ObjectType): added extra members
13191 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
13193 * app/linewidth_area.c:
13194 Added code to set arbitrary line width.
13195 Patch by Lars Clausen <lrclause@cs.uiuc.edu>
13197 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
13199 * app/linewidth_area.c:
13201 Add support for font-sucking.
13202 Implementation borrowed from gnome-canvas.
13204 * app/render_libart.[ch]:
13205 Implement text rendering.
13207 2000-02-07 Alexander Larsson <alla@lysator.liu.se>
13209 * app/properties.c (create_dialog):
13210 ref and sink no_properties_dialog.
13212 2000-02-07 James Henstridge <james@daa.com.au>
13214 * app/group.c (group_describe_props): new function. Return the
13215 intersection of the properties of the contained objects that
13216 implement the describe_props interface.
13217 (group_get_props): implement by iterating through contained objects
13218 and calling their get_props method until all properties have been
13219 set. Maybe this should go through all objects all the time??
13220 (group_set_props): implement by calling set_props method on all
13222 (group_ops): use standard props dialog creation routines.
13224 * lib/properties.c (prop_desc_lists_intersection): fix implementation
13225 of intersection -- I was using i++ instead of i-- in a for loop :(
13227 * objects/custom/custom.c (custom_register_objects): fix usage
13228 of dia_get_data_directory again.
13230 * lib/sheet.c: fix up use of dia_get_data_directory, so that we
13231 actually read the sheets.
13233 2000-02-06 Alexander Larsson <alla@lysator.liu.se>
13235 Win32 port by Hans Breuer <Hans@Breuer.org>
13238 Remove DATADIR and LIBDIR defines.
13241 Add dia_dirs.c and dia_dirs.h
13242 Added DATADIR and LIBDIR defines.
13244 * lib/dia_dirs.[ch]:
13245 New files for handling special directories.
13250 * objects/custom/custom.c:
13251 Fix warnings. Use directory functions.
13254 Add prototype for diagram_redraw_all.
13256 * app/diaunitspinner.c:
13259 * app/preferences.c:
13263 Win32 doesn't have mkstemp and fchmod.
13265 * app/paginate_psprint.c:
13266 Win32 calls popen _popen and pclose _pclose.
13269 Win32 calls finite _finite.
13272 Win32 needs to dllexport the color vars.
13274 * objects/GRAFCET/step.c:
13275 * objects/chronogram/chronoref.c:
13276 snprintf -> g_snprintf
13278 2000-02-05 James Henstridge <james@daa.com.au>
13280 * lib/properties.c: more fixes so that it doesn't crash when using
13281 properties. The undo/redo stuff also works!!
13283 * objects/flowchart/box.c (box_{describe, get, set}_props): test
13284 object where I have implemented the new properties interface
13285 complete with automatic properties dialog generation.
13287 * lib/properties.c (object_apply_props): fixed stupid error when
13288 creating the old_props array. Also, it no longer frees the props
13289 array -- you will have to do that yourself.
13291 2000-02-04 James Henstridge <james@daa.com.au>
13293 * app/properties.c (properties_apply): pass object_part to
13296 * lib/object.h (ApplyPropertiesFunc): added widget argument.
13298 * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
13299 created this way as well.
13301 * objects/*/*.c: ref and sink the properties dialog window for each
13302 widget. It can't rely on ref count being incremented by
13303 properties_show anymore.
13305 * app/properties.c (properties_show): don't ref the widget before
13306 removing it, or its ref count will increase each time you open the
13307 properties dialog. Don't unparent the widget, as container_remove
13310 * lib/object.h: fixed up prototypes for new object methods.
13312 * lib/properties.[ch]: added functions for automatically creating
13313 a properties dialog from the output of describe_props, get_props and
13315 (object_apply_props): apply properties and return an ObjectChange
13316 structure that can be used for undo.
13318 2000-02-03 Cyrille Chepelov <chepelov@calixo.net>
13320 * objects/GRAFCET/transition.c: minor leak plugged.
13322 * sheets/GRAFCET.sheet:
13323 * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
13324 * objects/GRAFCET/condition.c: (NEW) added a new object type, action
13326 * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
13327 new ones (for condition.c).
13328 * objects/GRAFCET/action.c: added connection points for the conditions.
13329 * samples/grafcet.dia: updated the sample to improve conformance to
13330 IEC 848 and take advantage of dia's new features.
13332 * lib/geometry.h: (point_get_normed) fixed a typo.
13334 2000-02-02 James Henstridge <james@daa.com.au>
13336 * lib/object.h: added object functions describe_props, get_props and
13337 set_props. Do type definitions so that object.h doesn't need to
13338 include properties.h, since properties.h includes object.h.
13340 * lib/properties.[ch]: more hacking.
13342 * po/de.po: updated po file.
13344 2000-01-30 James Henstridge <james@daa.com.au>
13346 * configure.in: don't add flags to CFLAGS unconditionally. Instead,
13347 check to see if the C compiler accepts the flag beforehand.
13349 * lib/properties.[ch]: start of properties code.
13351 * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
13353 2000-01-30 Cyrille Chepelov <chepelov@calixo.net>
13355 * sheets/GRAFCET.sheet:
13356 * sheets/GRAFCET/etapemc.xpm: (NEW)
13357 * sheets/GRAFCET/etapesp.xpm: (NEW)
13358 * objects/GRAFCET/step.c: Added the macro and
13359 sub-program call step types.
13361 * objects/GRAFCET/receptivity.[ch]: renamed to
13362 objects/GRAFCET/boolequation.[ch].
13363 * objects/GRAFCET/transition.c: changed (Receptivity *) to
13366 * lib/connpoint_line.[ch]:
13367 * objects/chronogram/chronoline.c:
13368 * objects/chronogram/chronoref.c:
13369 * objects/GRAFCET/vergent.c:
13370 * objects/standard/line.c:
13371 * objects/SADT/box.c: Minor CPL interface changes, factored out the
13372 point count adjustment code into the CPL object.
13374 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
13376 * app/render_libart.c:
13377 Added support for images and bezier curves.
13378 Only text/fonts missing now.
13380 * app/render_gdk.c:
13381 Removed old erronous comment.
13383 2000-01-29 Cyrille Chepelov <chepelov@calixo.net>
13385 * objects/chronogram/chronoline_event.c: removed references to
13386 lround(). Please don't insist, I'm already red of shame.
13388 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
13390 * app/render_libart.[ch]:
13392 Non-finished libart renderer.
13395 Added HAVE_LIBART flag
13401 Call gdk_rbg_init().
13403 * app/connectionpoint_ops.c:
13404 * app/disp_callbacks.c:
13406 * app/handle_ops.c:
13408 * app/modify_tool.c:
13409 Change ddisp->renderer type from RendererGdk * to Renderer *
13410 Draw zoom and select rects in ddisp->canvas->window instead
13411 of ddisp->renderer->renderer->pixmap.
13413 * app/display.[ch]:
13414 Add aa_renderer to DDisplay, and support for it.
13415 New function ddisplay_set_renderer() for changing renderer.
13416 Add ddisplay_transform_coords_double() function, used by aa renderer.
13417 Change ddisp->renderer type from RendererGdk * to Renderer *
13420 Add antialias to menu.
13422 * app/commands.[ch]:
13423 add view_aa_callback function
13424 Change ddisp->renderer type from RendererGdk * to Renderer *
13426 * lib/geometry.[ch]:
13427 Added IntRectangle and int_rectangle_union.
13429 2000-01-28 James Henstridge <james@daa.com.au>
13431 * app/commands.h: removed prototypes.
13433 * app/commands.c: removed the functions that have been moved to
13436 * app/filedlg.h: added new prototypes.
13438 * app/filedlg.c (file_open_callback): move open dialog to this
13439 file. This implementation should remember the current directory
13440 between file loads.
13441 (file_save_as_callback): moved this dialog as well.
13442 (file_save_callback): moved this function here.
13444 * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
13445 align page boundaries to the origin.
13447 * app/diagram.c (diagram_update_extents): redraw the diagram if the
13448 scaling factor changes while updating the extents. This is so the
13449 page breaks get redrawn correctly.
13451 * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
13454 * app/grid.c (grid_draw): draw page breaks as well as grid lines.
13455 For normal mode, use (0,0) as the origin. For `fit to' mode, use
13456 the corner of the bounding box.
13458 * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
13459 into page setup dialog.
13460 (pagesetup_apply): apply new `fit to' attributes to the diagram.
13462 * app/load_save.c (diagram_load): load new paper `fit to' attributes.
13463 (diagram_data_save): save `fit to' data.
13465 * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
13466 (data_update_extents): when in `fit to' mode, update scale factor
13467 when we update the extents.
13469 * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
13472 * .../.cvsignore: added some cvsignore files to quieten cvs.
13474 * app/pagesetup.c (pagesetup_changed): added code to change the
13475 scaling/fit to values as you change the options in the page setup
13476 dialog. I haven't added code so that the fit to options are saved
13479 * app/diapagelayout.[ch]: changed the scaling portion of the widget
13480 to make it easier to set a `fit to' style scaling factor.
13482 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
13483 * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
13484 but connpoint_line-based, so that there's a connection point at the
13485 middle of each segment. Currently only the SADT arrow uses this.
13487 * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
13489 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
13490 * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading,
13491 saving and editing of properties (and default properties).
13492 See the new objects (GRAFCET, SADT, chonograms) for examples.
13493 For already too hairy stuff, see objects/chronogram/chronoline.c.
13495 * lib/connpoint_line.[ch] (NEW): This subobject manages a line of
13496 evenly spaced connection points, which the user can add or remove at
13497 will. An object can own several connection point lines. See the SADT
13498 Box, or the GRAFCET vergents for examples.
13500 * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep
13501 quiet about unused stuff.
13503 * objects/GRAFCET (NEW):
13504 * samples/grafcet.dia (NEW):
13505 Added support for GRAFCET charts.
13507 * objects/chronogram (NEW):
13508 * samples/chronograms.dia (NEW):
13509 Added support for chronograms (feature requested by Ronald L. Chichest;
13510 I found I'd use it often, too).
13512 * objects/standard/line.c: Replace the middle connectionpoint by
13513 a whole connection point line, which defaults to one point (hint,
13514 hint). New Line object menu to take advantage of this.
13515 "Bothwards" compatibility is preserved (although you may loose
13516 connections if you load a newer file in a older dia).
13518 * app/lineprops_area.c:
13520 * lib/widgets.c: Added hollow and filled ellipse arrow head type.
13521 (feature requested by Benjamin Kahn).
13522 Merged in Steffen Macke's slashed arrow head type.
13524 * app/Makefile.am (app/run_dia.sh actually):
13525 Added $DEBUGGER in front of dia's invocation, so that
13526 you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
13527 Added $(EFENCE) to app/dia's LDFLAGS, so that you can do
13528 "EFENCE=-lefence" to link with Electric Fence.
13530 * configure.in: Made gcc do more aggressive optimisations on i386, and
13533 2000-01-24 James Henstridge <james@daa.com.au>
13535 * lib/geometry.[ch]: added inline versions of functions. Used
13536 glib's G_INLINE_FUNC stuff, so it should still work on systems
13537 without inline funcs.
13539 * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
13540 it outputs the correct element id for the ellipse objects.
13542 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13544 * lib/object.[ch]: added object_add_connectionpoint_at, similar to
13545 object_add_handle_at. Message typo fixed.
13547 * lib/sheet.c (load_register_sheet):
13548 potential bug fixed (warning hunt).
13550 * objects/custom/custom.c (custom_object_load): disabled an assertion
13551 which made dia abort upon failure to load a shape file. Fixed a
13554 * objects/custom/shape_info.c (load_shape_info): Made the custom
13555 shape load code ignore XML comments between <?xml ...?> and the
13556 root object (mostly useful to put the emacs magic comments).
13558 * app/load_save.c: Made dia do backup copies of files when saving,
13559 and complain in case of failure.
13561 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
13563 * AUTHORS: fixed my address (ISP thought it was a great idea to change
13568 * shapes/Contact/*:
13569 * sheets/Contact.sheet:
13570 * sheets/Makefile.am:
13571 Added support for Contact and LADDER charts.
13573 * dia.desktop: Added a French translation.
13575 2000-01-23 James Henstridge <james@daa.com.au>
13577 * app/commands.c (help_about_callback): don't die if can't load
13580 * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
13581 out NaN's when performing bezier curve subdivision.
13583 * objects/custom/custom_object.c: initialise memory of Custom structs
13586 * app/render_svg.c (draw_image): added image support to the XML
13587 output filter. The image is just referenced, rather than being
13588 included inline, so if you copy the SVG file somewhere else, you
13589 may need to move the images or fix up the links.
13591 * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
13592 so the text is not just displayed in black all the time.
13594 2000-01-15 Fredrik Hallenberg <hallon@lysator.liu.se>
13596 * configure.in: fixed libpopt test so we wont try to build with
13599 1999-12-18 Yuri Syrota <rasta@renome.rovno.ua>
13601 * configure.in: Added "uk" to ALL_LINGUAS.
13603 1999-12-24 James Henstridge <james@daa.com.au>
13605 * po/ru.po: updated russian translation from Valek Filippov.
13607 * app/render_svg.c (new_svg_renderer): make output use 19991203
13608 version of SVG DTD. Use viewBox to set the extents of the view.
13610 * INSTALL (FONTS): updated locations of gnome-xml and imlib. List
13611 ftp.gnome.org as the download.
13613 * TODO (TODO): weeded out completed todo items and added a few extra.
13615 * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
13617 * doc/sheet.dtd: first stab at a DTD for the sheet files. It would
13618 be good to get rid of the object/shape distinction and separate
13619 the custom shape code out from the main application.
13621 * objects/custom/README, diagram.dtd: moved to new doc directory.
13622 Renamed the custom shapes README to custom-shapes. Also updated
13623 custom shape docs a bit and removed the section on sheet files, as
13624 that has changed a bit.
13626 * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
13627 of the image data is larger than the maximum cell array. I should
13628 add code to break scan lines down further in this case, but for now
13629 an error message is better than an infinite loop.
13631 * app/filedlg.c (file_export_ok_callback): show a dialog if we
13632 couldn't determine the export filter to use.
13634 * app/commands.c (help_about_callback): fixed up about box logo
13635 expose bug. Now just use a GtkPixmap widget rather than a
13636 GtkDrawingArea and calling gdk_imlib_paste_image.
13638 * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
13639 because automake does not always get things right.
13641 * configure.in: updated version number to 0.83.
13643 * app/preferences.c (prefs_save):
13644 * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
13645 for fopen. Text is the default file mode anyway.
13647 * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback):
13648 * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog):
13649 * app/load_save.c (write_objects, write_connections):
13650 * app/filedlg.c (file_export_ok_callback):
13651 * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real):
13652 * lib/dia_xml.c (data_add_point, data_add_rectangle):
13653 * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
13654 snprintf to calls to g_snprintf.
13656 * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
13657 as the picture name.
13659 1999-12-23 James Henstridge <james@daa.com.au>
13661 * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
13662 negative numbers. This fixes the upside down text problem I was
13664 (draw_image): implemented the image code. It will try to split the
13665 image data up into bands if it is too big to fit into a single
13666 cgm cell array element. It will have problems if you try to insert
13667 an image wider than about 10,000 pixels though.
13669 * Makefile.am: use gnomedatadir for the files that need to be
13670 installed in gnome's datadir. This is mainly to help people doing
13671 packages for weird setups.
13673 1999-12-22 James Henstridge <james@daa.com.au>
13675 * plug-ins/cgm/cgm.c: added support for text. Now only images and
13676 beziers are left to do. The text seems to be the wrong way up
13677 still. This is probably a problem with character orientation
13678 element, but I have used what the settings given in the standard.
13679 Other than this, the CGMs dia produces are readable (and displayable)
13680 by ralcgm and corel draw.
13681 (draw_string): subtract from the X coord rather than the Y coord for
13682 center and right aligned text.
13684 * plug-ins/cgm/cgm.c: a few fixups for the output. Use REALSIZE as
13685 the size of a real number, and changed name of write_double to
13686 write_real. Consider changing to fixed real encoding. Also, now
13687 all element headers are correct. Once the real number encoding is
13688 fixed, only text, beziers and images are left to do.
13690 1999-12-21 James Henstridge <james@daa.com.au>
13692 * Makefile.am (SUBDIRS): recurse into plug-ins.
13694 * configure.in: add plug-ins directory makefiles to list.
13696 * plug-ins/cgm/cgm.c: start of cgm export filter. Beziers and text
13697 not done yet. Also, the output files are not quite correct.
13699 * app/render_eps.c (print_reencode_font): don't reencode the Symbol
13700 font. It doesn't work if you do.
13702 1999-12-20 James Henstridge <james@daa.com.au>
13704 * app/app_procs.c (app_init): don't use diagram_export_to_eps to
13705 export the files. Instead, use filter_guess_export_filter to
13706 guess the correct format to save in and use the appropriate filter.
13707 It defaults to postscript for compatibility.
13709 * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
13712 * app/commands.[ch]: removed export to eps functions.
13714 * app/menus.c: removed export to eps menu items.
13716 * app/app_procs.c: register new export filters.
13718 * app/load_save.[ch]: define dia native export filter.
13720 * app/render_eps.[ch]: define eps export filter.
13722 * lib/filter.h: added diafilename argument to the DiaExportFunc
13723 prototype. This is useful for putting the source of the diagram
13724 into the output file for instance.
13726 * app/app_procs.c (app_init): register the SVG export filter. Have
13727 to get EPS code converted to this API, and maybe also allow saving in
13728 DIA's native format from the export dialog. In fact, it is now
13729 possible to load an export filter from a shared library and it will
13730 integrate into the interface correctly.
13732 * app/menus.c: removed references to the SVG renderer.
13734 * app/commands.[ch]: removed svg stuff.
13736 * app/diagram.[ch]: removed diagram_export_to_svg function.
13738 * app/render_svg.[ch]: added a DiaExportFilter structure for this
13741 * app/filedlg.[ch]: code for the new export diagram dialog. Will
13742 probably move the open/save dialogs to this file as well.
13744 1999-12-19 James Henstridge <james@daa.com.au>
13746 * lib/filter.[ch]: start of interface for generalised handling of
13747 filters. I have only done code for export filters so far. I still
13748 need to do the gui for this, and convert the current SVG and EPS
13749 filters to the new API.
13751 * lib/bezier_conn.c (bezierconn_copy): fix up copy operation. We
13752 weren't setting the last handle correctly. It was actually assigning
13753 to the wrong position in the handles array, so the last handle was
13754 left as NULL, which caused the segfault.
13756 * objects/standard/image.c (image_copy): modified routine so that
13757 it just adds a reference to the DiaImage structure in the new image
13758 object. This seems to have cleared up the problems with copying
13761 * dia.spec: spec file additions from John Gotts.
13763 1999-12-12 James Henstridge <james@daa.com.au>
13765 * configure.in (GNOME_LIBS): updated version number to 0.82. 0.82
13766 has not been released yet though.
13768 * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
13771 The following based on a patch from Lars Clausen:
13773 * objects/standard/bezier.c (bezierline_move_handle): when performing
13774 the initial drag of the bezierline, move the control points to keep
13777 * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
13778 make the new control points a bit closer to the major point.
13780 * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
13781 as the reason for the move.
13782 (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
13785 * lib/handle.h: new handle move reasons.
13787 1999-12-09 James Henstridge <james@daa.com.au>
13789 * dia.spec: include the new files in RPMs.
13791 * Makefile.am: install these new files.
13793 * dia.keys.in: file describing actions and icon for dia diagrams for
13794 use in the gnome file manager.
13796 * dia.mime: a file defining the application/x-dia-diagram mime type.
13798 * dia-diagram.png: an icon for dia diagrams.
13800 1999-12-08 James Henstridge <james@daa.com.au>
13802 * plug-ins/python/pydia-diagram.c: added heaps of new methods.
13804 * plug-ins/python/pydia-display.[ch]: wrapper for display.
13806 * objects/standard/ellipse.c: applied Lars's patch to optionally not
13807 draw the background of the ellipse.
13809 * app/load_save.c (read_connections): do some sanity checking on the
13810 handle and connection point numbers before performing the object
13813 * lib/bezier_conn.c (bezierconn_load): give the correct number of
13814 handles when loading a BezierConn.
13816 1999-12-07 Kjartan Maraas <kmaraas@online.no>
13818 * sheets/*.sheet: Finished Norwegian translations.
13820 1999-12-07 James Henstridge <james@daa.com.au>
13822 * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
13823 (PyDia_GetObjectType): find object type function.
13825 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
13826 method for diagrams.
13828 * plug-ins/python/pydia-object.c: added methods for DiaObject and
13831 * AUTHORS: added Lars and Cyrille to the authors file.
13833 * objects/standard/bezier.c (bezierline_add_segment_callback): place
13834 new point correctly.
13836 * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
13838 * lib/bezier_conn.c: applied Lars's patch for placement of the new
13839 point when adding a segment to a BezierConn.
13841 1999-12-06 James Henstridge <james@daa.com.au>
13843 * plug-ins/python/test.py: test script for the python plug-in.
13845 * plug-ins/python/python.c: this file contains the plug-in startup
13846 code for the python plugin. Right now, it just initialises the
13847 dia module and executes a script.
13849 * objects/standard/polyline.c (polyline_draw): fix start arrow size.
13851 * objects/standard/bezier.c (bezierline_draw): draw control lines for
13852 bezier curve if we are using an interactive renderer (ie. only if
13853 displaying to the screen).
13855 * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
13856 to draw control lines on to a bezier curve. Based on implementation
13859 * objects/standard/bezier.c (bezierline_delete_segment_callback):
13860 calculate segment number using closest_segment rather than
13861 closest_handle. Sometimes the closest handle is part of a different
13863 (bezierline_draw): use correct size for start arrow.
13865 The next few entries are from Peter Moulder <reiter@netspace.net.au>:
13866 * lib/geometry.c (distance_line_point): added notes to documentation
13868 * app/object_ops.c (object_list_align_v):
13869 (object_list_align_h): fix of by one error when calculating free space
13870 for equal distance alignment.
13871 * app/menus.c (objects_align_h, objects_align_v): include align
13872 adjacent menu items in the gnome version of the menus.
13873 * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
13874 align adjacent menu items correctly.
13877 * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
13880 * objects/standard/bezier.c: converted bezierline to use BezierConn.
13881 Still a few bugs. It crashes on deleting line segments.
13883 * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
13885 1999-12-05 James Henstridge <james@daa.com.au>
13887 * lib/bezier_conn.[ch]: start of BezierConn object
13889 * app/interface.c: add bezierline to toolbox.
13891 * objects/standard/standard.c: initialise bezierline.
13893 * objects/standard/bezier.c: new object from Lars R. Clausen. I have
13894 made a few modifications to get it working nicely. It still needs
13895 a bit of work though. Maybe create a BezierConn object in lib.
13897 1999-12-02 James Henstridge <james@daa.com.au>
13899 * plug-ins/python/pydia-*.c: fixed compile errors in these files.
13901 * plug-ins/python/Makefile.am: tried building everything. It is
13902 building as a library at the moment. I will have to convert it
13903 to a libtool library and add some initialisation code.
13905 * plug-ins/python/diamodule.c: start of the dia module, using the
13906 other object wrappers. Not complete.
13908 1999-12-01 James Henstridge <james@daa.com.au>
13910 * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
13911 the handles and connections attributes.
13913 * plug-ins/python/pydia-layer.c: added functions that use
13916 * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
13918 * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
13920 * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
13921 I am currently wrapping the basic elements in the diagram in python
13922 objects -- nothing to see or play with yet.
13924 1999-11-30 Alexander Larsson <alla@lysator.liu.se>
13928 James Henstridge <james@daa.com.au> is now the maintainer of Dia.
13930 1999-11-29 Alexander Larsson <alla@lysator.liu.se>
13934 Added russian translation from Valek Filippov <frob@df.ru>
13936 1999-11-24 James Henstridge <james@daa.com.au>
13939 * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
13940 discussed with Alex. Also added extra makefiles so that make install
13943 1999-11-23 Alexander Larsson <alla@lysator.liu.se>
13945 * app/preferences.[ch]:
13947 Added snap to grid preference.
13948 Patch from Michael Leslie <mles@springboardwireless.com>
13950 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
13956 * objects/custom/shape_info.c:
13957 All strings returned by libxml must be freed with free, not
13958 g_free, or there will be problems if you use memory debugging
13961 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
13963 * app/create_object.[ch]:
13966 * app/commands.[ch]:
13968 * app/interface.[ch]:
13969 Reverted the tool menu patch. It has some 'issues'.
13970 I liked it though, so it'll probably return.
13972 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
13974 Fixed a lot of memory leaks. Thanks to Bruce Mitchener
13975 <bruce@cybersight.com> for some purify runs and analysis.
13976 Also a great thank you to Owen Taylor for creating MemProf, a
13977 free memory leak detector that was used to find and verify a
13978 lot of these fixes.
13981 * app/paginate_psprint.c:
13982 * app/render_eps.[ch]:
13983 * app/render_svg.[ch]:
13987 Don't add a reference to ddisp->shell. Why was this done in
13994 Free all strings returned from xmlGetProp
13996 * app/modify_tool.c:
13999 * objects/custom/custom.c:
14000 Use closedir() after opendir().
14002 * objects/custom/shape_info.c:
14003 User g_free() instead of "if (tmp) free(tmp)".
14006 Add newline at end of file.
14009 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
14011 Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
14012 Adds tool menu and keyboard shortcuts.
14014 * app/create_object.[ch]:
14015 Use tool_set() instead of tool_reset().
14016 create_create_object_tool() takes extra type argument
14022 Moved tool_data here, export it.
14023 Add separate tool type for all create objects tools.
14024 new functions tool_set().
14027 New callback tool_set_callback.
14030 Moved some pixmaps to interface.c.
14033 Remove tool_data array (moved to tool.c).
14034 Use the tool_data from tool.c.
14035 Remove modify_tool_button global var.
14037 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
14039 Patch from Patrick Reynolds <reynolds@cs.duke.edu>
14042 Interprets command-line arguments as files to open even when
14043 HAVE_POPT is not defined.
14046 Shift-clicking when zooming zooms out, like the Gimp.
14049 Has hotkeys for zoom-100% and snap-to-grid.
14051 1999-11-17 James Henstridge <james@daa.com.au>
14053 * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
14054 that it is not jumpy.
14056 * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
14058 * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
14059 scrolling by pressing the shift key when using the scroll tool.
14061 * sheets/Makefile.am: fixed makefile so that install actually works
14062 if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
14064 (SHEETS): install Circuit.sheet
14066 1999-11-15 Alexander Larsson <alla@lysator.liu.se>
14067 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
14069 * sheets/Circuit.sheet:
14072 * sheets/Flowchart.sheet:
14073 * sheets/UML.sheet:
14074 * sheets/network.sheet:
14075 * sheets/sybase.sheet:
14078 * sheets/Circuit.sheet:
14079 added some missing French translations
14082 killed the temporary sheet namespace
14084 * objects/custom/custom.c:
14085 obsolete comment cleaned up
14087 1999-11-12 Alexander Larsson <alla@lysator.liu.se>
14091 Added portugese translation from Pedro Morais
14092 <pmmm@rnl.ist.utl.pt>
14094 1999-11-11 Alexander Larsson <alla@lysator.liu.se>
14096 Changed all sheets to be specified in xml.
14097 All sheet objects removed from the C code.
14098 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
14103 Updated version to 0.81cvs.
14106 Update run_dia.sh with sheet-dir.
14109 Load all sheets on startup.
14110 Create sheet directory first time.
14111 Don't call custom_register_sheets().
14114 Add sheetdir define
14117 Remove custom_register_sheets().
14120 Add sheet loading code.
14122 * sheet/Circuit.sheet:
14125 * sheet/Flowchart.sheet:
14127 * sheet/network.sheet:
14128 * sheet/sybase.sheet:
14131 * sheet/ER/weakentity.xpm:
14132 * sheet/UML/aggregation.xpm
14133 * sheet/UML/umlclass_template.xpm
14134 Added sheet pixmaps.
14135 These are moved from their old places.
14137 * sheet/.cvsignore:
14141 Removed sheet objects and sheet registration.
14143 * objects/ER/Makefile.am:
14144 * objects/ER/pixmaps/weakentity.xpm:
14145 * objects/UML/Makefile.am:
14146 * objects/UML/pixmaps/aggregation.xpm:
14147 * objects/UML/pixmaps/umlclass_template.xpm:
14148 Removed alternative pixmaps. (Moved to sheet).
14150 * objects/custom/Makefile.am:
14151 * objects/custom/load_sheet.[ch]:
14152 Removed old sheet loading code.
14154 * objects/custom/custom.c:
14155 Load all shapes instead of sheets.
14156 Removed custom_register_sheets().
14158 * objects/custom/custom_object.c:
14161 * objects/custom/shape_info.[ch]:
14162 Added shape_info_getbyname().
14164 * objects/flowchart/Makefile.am:
14165 * objects/flowchart/collate.shape
14166 * objects/flowchart/delay.shape
14167 * objects/flowchart/display.shape
14168 * objects/flowchart/document.shape
14169 * objects/flowchart/extract.shape
14170 * objects/flowchart/flowchart.c
14171 * objects/flowchart/intstorage.shape
14172 * objects/flowchart/magdisk.shape
14173 * objects/flowchart/magdrum.shape
14174 * objects/flowchart/magtape.shape
14175 * objects/flowchart/manualinput.shape
14176 * objects/flowchart/manualop.shape
14177 * objects/flowchart/merge.shape
14178 * objects/flowchart/offlinestore.shape
14179 * objects/flowchart/offpageconn.shape
14180 * objects/flowchart/or.shape
14181 * objects/flowchart/predefdproc.shape
14182 * objects/flowchart/preparation.shape
14183 * objects/flowchart/punchedcard.shape
14184 * objects/flowchart/punchedtape.shape
14185 * objects/flowchart/sort.shape
14186 * objects/flowchart/sumjunction.shape
14187 * objects/flowchart/terminal.shape
14188 * objects/flowchart/transaction.shape
14189 * objects/flowchart/transmittape.shape
14190 * objects/flowchart/pixmaps/collate.xpm
14191 * objects/flowchart/pixmaps/delay.xpm
14192 * objects/flowchart/pixmaps/display.xpm
14193 * objects/flowchart/pixmaps/document.xpm
14194 * objects/flowchart/pixmaps/extract.xpm
14195 * objects/flowchart/pixmaps/intstorage.xpm
14196 * objects/flowchart/pixmaps/magdisk.xpm
14197 * objects/flowchart/pixmaps/magdrum.xpm
14198 * objects/flowchart/pixmaps/magtape.xpm
14199 * objects/flowchart/pixmaps/manualinput.xpm
14200 * objects/flowchart/pixmaps/manualop.xpm
14201 * objects/flowchart/pixmaps/merge.xpm
14202 * objects/flowchart/pixmaps/offlinestore.xpm
14203 * objects/flowchart/pixmaps/offpageconn.xpm
14204 * objects/flowchart/pixmaps/or.xpm
14205 * objects/flowchart/pixmaps/predefdproc.xpm
14206 * objects/flowchart/pixmaps/preparation.xpm
14207 * objects/flowchart/pixmaps/punchedcard.xpm
14208 * objects/flowchart/pixmaps/punchedtape.xpm
14209 * objects/flowchart/pixmaps/sort.xpm
14210 * objects/flowchart/pixmaps/sumjunction.xpm
14211 * objects/flowchart/pixmaps/terminal.xpm
14212 * objects/flowchart/pixmaps/transaction.xpm
14213 * objects/flowchart/pixmaps/transmittape.xpm
14214 Moved shapes and their pixmaps to shapes/flowchart
14216 * shapes/Circuit/Makefile.am:
14217 * shapes/Circuit/index.sheet:
14218 Removed index.sheet.
14220 * shapes/Makefile.am:
14221 * shapes/flowchart/Makefile.am:
14222 * shapes/flowchart/*.shape:
14223 * shapes/flowchart/*.xpm:
14224 Added flowchart shapes. (Moved from objects/flowchart)
14227 1999-11-07 Fredrik Hallenberg <hallon@lysator.liu.se>
14229 * app/app_procs.c: Fixed popt stuff.
14231 1999-11-01 James Henstridge <james@daa.com.au>
14233 * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
14236 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
14240 Update version to 0.81.
14243 Update with news for 0.81.
14245 * shapes/Circuit/*:
14246 * shapes/Circuit_eu/*:
14247 Moved european circuit objects to Circuit sheet.
14249 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
14251 * lib/diagramdata.[ch]:
14252 Added layer_set_object_list() function.
14255 Added support for undo of reordered objects.
14256 Fix the undo of delete to keep the right order on undo.
14259 changed loop to object_add_updates_list() calls.
14260 Added undo support to bring to front/back.
14262 * app/disp_callbacks.c:
14263 * app/paginate_psprint.c:
14266 1999-10-30 Alexander Larsson <alla@lysator.liu.se>
14268 This plugs some leaks. Thanks to
14269 Bruce Mitchener <bruce@cybersight.com> for running
14270 Dia through purify for me.
14273 Free displays and diagrams on exit.
14275 * app/modify_tool.c:
14276 Free gc when freeing tool.
14278 * lib/diagramdata.c:
14282 Free update and display lists when destroying display.
14284 * lib/diagramdata.c:
14285 Don't leak layer name.
14287 * objects/custom/load_sheet.c:
14288 * objects/custom/shape_info.c:
14289 Free loaded xml documents.
14291 1999-10-28 Alexander Larsson <alla@lysator.liu.se>
14294 * app/object_ops.[ch]:
14295 Add undo handling to alignment ops.
14296 Based partially on patch by Dan Cohn <dan@internap.com>.
14298 * objects/standard/image.c (image_move_handle):
14299 Don't divide by zero for small images.
14300 Patch by Dan Cohn <dan@internap.com>.
14302 * objects/UML/class.c (umlclass_destroy):
14303 * objects/custom/custom_object.c (custom_destroy):
14304 Don't free connectionpoints before calling element_destroy
14305 which unconnects them.
14307 1999-10-26 Alexander Larsson <alla@lysator.liu.se>
14309 * objects/custom/custom_object.c:
14310 Load and save padding too. Fixes strange load crashes.
14312 * app/group.c (group_destroy):
14313 Don't unconnect already freed connectionpoints when
14314 destroying group. Probably fixes bug reported by
14315 Elliot Lee <sopwith@redhat.com>.
14317 * app/render_gdk.c:
14318 Don't crash on zero-size (broken) bezier curves.
14319 Different sort of fix. This should work on closed bezier curves
14322 * objects/standard/textobj.c:
14323 Activate default properties dialog for Text objects.
14325 * app/render_eps.c:
14327 * app/preferences.c:
14328 * app/render_svg.c:
14329 fopen files in binary or text mode.
14331 1999-10-26 Alexander Larsson <alex@cendio.se>
14333 * app/render_gdk.c (bezier_add_lines):
14334 Don't crash on zero-size (broken) bezier curves.
14335 Fixes a crashing bug.
14337 1999-10-25 James Henstridge <james@daa.com.au>
14339 * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
14340 before it is installed.
14342 * objects/flowchart/flowchart.c: use relative paths to find shapes.
14344 * objects/custom/custom.c (custom_object_load): take file names
14345 relative to $(pkgdatadir)/shape-internal, and check an environment
14346 variable for an alternative directory.
14348 * app/...: added copyright messages to the top of my new code.
14350 * app/paginate_psprint.c: some general clean ups. Also, give an error
14351 dialog if we can't open the command or output file for writing.
14353 * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
14354 function so it would set orientation to landscape correctly.
14356 * app/paginate_psprint.c: use the paper settings that come with
14357 the diagram. Also implemented landscape printing.
14359 * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
14362 * app/commands.[ch] (file_pagesetup_callback): added callback for
14363 the page setup dialog.
14365 * app/menus.c: added page setup menu item.
14367 * app/pagesetup.[ch]: implementation of the page setup dialog.
14369 * app/diapagelayout.[ch]: added accessors for the scaling factor.
14371 * app/load_save.c (diagram_load): load paper information from save
14373 (diagram_save): save the paper info.
14375 * lib/diagramdata.c (new_diagram_data): initialise paper info section
14376 of DiagramData structure.
14377 (diagram_data_destroy): free the paper name.
14379 * lib/diagramdata.h: added a paper member to the DiagramData structure
14380 that holds the page layout info for a diagram.
14382 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
14384 * objects/flowchart/box.c:
14385 * objects/flowchart/ellipse.c:
14386 * objects/flowchart/diamond.c:
14387 * objects/flowchart/parallelogram.c:
14388 Load and save padding too. Fixes strange load crashes.
14390 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
14392 * app/app_procs.c (name_is_lib):
14393 .dll, .sl and .so.0.0.0 are also libraries.
14395 1999-10-20 James Henstridge <james@daa.com.au>
14397 * configure.in: added extra makefile.
14399 * shapes/Circuit_eu/*: a new set of european circuit shapes from
14400 Andreas Scherf <scherfa@fh-trier.de>. Made a few small modifications
14401 (added fuses to makefile, fill the area of some of the components).
14403 1999-10-19 Alexander Larsson <alla@lysator.liu.se>
14407 Add GDK_IMLIB_CFLAGS to includes.
14408 Changed --export-dynamic to -export-dynamic
14411 * objects/UML/message.c:
14412 Removed c++ comment.
14414 * lib/render_store.[ch]:
14415 Don't use empty structure. That is not Ansi C.
14417 1999-10-19 James Henstridge <james@daa.com.au>
14419 * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
14420 the margin entries, as they allow interpretation of units.
14421 (paper_size_change): display the current page dimensions.
14423 * app/diaunitspinner.[ch]: a widget derived from the standard
14424 GtkSpinButton that tries to take units into account. So if you enter
14425 "1in" into the entry, it will convert it to 2.54cm.
14427 1999-10-18 Alexander Larsson <alla@lysator.liu.se>
14430 Removed include of dlfcn.h
14432 1999-10-18 James Henstridge <james@daa.com.au>
14434 * app/diapagelayout.c (paper_size_change, orient_changed): set upper
14435 bound on margin widths. It is set to the paper width/height.
14437 * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
14438 routine for the diamond. This bug was found and fixed by Daniel Wang
14439 <danwang@CS.Princeton.EDU>
14441 Sun Oct 17 19:46:36 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen)
14443 * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
14444 remove warning (OS/2 version).
14446 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
14449 Put a pointer to objects/custom/README.
14451 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
14454 Updated version to 0.80
14457 Updated version to 0.80cvs
14459 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
14461 * Released Dia 0.80
14462 Tag called DIA_0_80
14464 1999-10-17 Fredrik Hallenberg <hallon@lysator.liu.se>
14468 * objects/UML/Makefile.am
14469 * objects/ER/Makefile.am
14470 * objects/network/Makefile.am
14471 * objects/standard/Makefile.am
14472 * objects/FS/Makefile.am
14473 * objects/sybase/Makefile.am
14474 * objects/flowchart/Makefile.am
14475 * objects/custom/Makefile.am
14476 Added -I$(top_srcdir)/intl which is needed for
14477 --with-included-gettext.
14483 Updated swedish translation.
14485 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
14488 Updated version number to 0.80.
14494 Updated. Moved bugs to KNOWN_BUGS.
14497 Updated with 0.80 release notes.
14499 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
14502 For backwards compatibility, make sure handle 0 and 1 are the
14503 first and last handle. Fixes compatibility with 0.41, breaks
14504 compatibility with cvs version.
14505 Fixed bug in undo/redo of adding deleting endpoint segments
14506 when the endpoint was connected.
14507 Start OrthConn objects with three segments.
14509 1999-10-16 James Henstridge <james@daa.com.au>
14511 * objects/custom/custom_object.c (custom_update_data): changed
14512 resizing behaviour a bit so that shapes don't grow huge when you try
14513 to resize them to smaller than the size required by the text box.
14514 Also, now shapes will not grow with fixed aspect ratio when you enter
14515 text into them unless the shape has the fixed aspect ratio flag set.
14517 1999-10-15 James Henstridge <james@daa.com.au>
14519 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14521 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14523 * objects/flowchart/magdrum.shape:
14524 * objects/flowchart/offlinestore.shape:
14525 * objects/flowchart/punchedtape.shape:
14526 * objects/flowchart/transmittape.shape:
14527 * objects/flowchart/punchedcard.shape: new shapes.
14529 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14531 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14533 * objects/flowchart/collate.shape:
14534 * objects/flowchart/delay.shape:
14535 * objects/flowchart/extract.shape:
14536 * objects/flowchart/intstorage.shape:
14537 * objects/flowchart/magdisk.shape:
14538 * objects/flowchart/magtape.shape:
14539 * objects/flowchart/merge.shape:
14540 * objects/flowchart/or.shape:
14541 * objects/flowchart/sort.shape:
14542 * objects/flowchart/sumjunction.shape: new shapes.
14544 1999-10-15 Alexander Larsson <alla@lysator.liu.se>
14548 Entering an erronous command as print command
14551 * app/paginate_psprint.c:
14552 Save all print dialog values for next time.
14555 Remove custom lib from DIA_LIB_PATH.
14557 1999-10-14 James Henstridge <james@daa.com.au>
14559 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
14561 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
14563 * objects/flowchart/offpageconn.shape:
14564 * objects/flowchart/manualop.shape:
14565 * objects/flowchart/preparation.shape:
14566 * objects/flowchart/manualinput.shape:
14567 * objects/flowchart/predefdproc.shape:
14568 * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
14570 1999-10-13 James Henstridge <james@daa.com.au>
14572 * app/diapagelayout.[ch]: added accessors to paper information. The
14573 widget should be just about complete now.
14575 * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
14576 It actually does something now.
14578 1999-10-12 James Henstridge <james@daa.com.au>
14580 * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
14581 for the page layout widget.
14583 * app/diapagelayout.[ch]: start of page layout widget. Not actually
14584 built yet as it is not complete.
14586 * objects/flowchart/flowchart.c: added new shapes to sheet.
14588 * objects/flowchart/display.shape:
14589 * objects/flowchart/transaction.shape: new shapes.
14591 * AUTHORS: added my name to the spec file.
14593 * dia.spec: include the dia desktop entry to the spec file.
14595 * Makefile.am: install the dia.desktop file.
14597 * dia.desktop: added a gnome desktop entry so you can start dia
14598 from the gnome panel menu.
14600 1999-10-11 James Henstridge <james@daa.com.au>
14602 * objects/custom/custom_object.c:
14603 * objects/custom/shape_info.c: warning fixes.
14605 * objects/flowchart/document.shape: a shape file for the `document'
14608 * lib/custom.h: new header with the custom shape prototypes.
14610 * app/app_procs.c: register custom objects as well.
14611 (register_objects_in): close shared libraries if they don't load
14612 correctly, and call g_module_make_resident on libraries that load
14615 * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
14617 * objects/custom/custom.c: removed get_version, added custom_ prefix
14618 to register_objects and register_sheets.
14620 * objects/custom/Makefile.am: converted to a normal library.
14622 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
14624 * app/lineprops_area.c:
14625 * app/render_svg.c:
14627 * objects/custom/shape_info.c:
14628 * objects/flowchart/box.c:
14629 * objects/flowchart/diamond.c:
14630 * objects/flowchart/ellipse.c:
14631 * objects/flowchart/parallelogram.c:
14632 * objects/network/flash.c:
14633 * objects/network/scead-plug.c:
14634 * objects/sybase/client.c:
14635 Removed -Wall warnings.
14637 * objects/network/bus.c:
14638 Removed unused functions.
14640 * objects/FS/flow-ortho.c:
14641 * objects/FS/flow-poly.c:
14642 * objects/FS/flow.c:
14643 * objects/FS/function.c:
14645 Implemented "non-implemented" undo for FS objects.
14646 Now at least it won't crash.
14648 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
14650 * objects/network/bus.c:
14652 Handles are now added and removed using the object menu.
14653 Default to 6 handles instead of 10.
14654 Changed name from "Standard - Bus" to "Network - Bus". Kept old
14655 name for backwards compatibility.
14657 * objects/network/network.c:
14658 Changed name from "Standard - Bus" to "Network - Bus". Kept old
14659 name for backwards compatibility.
14661 * app/properties.[ch]:
14663 Update properties in properties dialog if the shown object
14664 is part of and ObjectChange (undo or redo).
14667 Remove old known bugs list.
14669 * objects/UML/class_dialog.c:
14670 Removed debug printf's.
14672 1999-10-10 James Henstridge <james@daa.com.au>
14674 * objects/custom/custom.c (custom_object_load): new function that
14675 provides a nice entry point to the custom shape code for when it
14676 gets used by other libraries.
14678 * configure.in: removed 11 makefiles from AC_OUTPUT list. This
14679 speeds builds up a bit.
14681 * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
14682 (SUBDIRS): do not descend into pixmaps subdirs.
14684 * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
14685 This speeds up build process.
14687 * objects/custom/custom.c (sheets): made variable static.
14689 * objects/custom/custom_util.[ch] (custom_get_relative_filename):
14692 * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
14694 * objects/custom/custom.c: look in ~/.shapes instead of
14695 ~/.dia_shapes as the per-user shapes directory.
14697 * app/preferences.c (prefs_save): save config to ~/.diarc.
14698 (prefs_load): load configuration from ~/.diarc. If the file
14699 does not exist, fallback on the old ~/.diarc location.
14701 * app/app_procs.c (create_user_dirs): create the ~/.dia directory
14703 (register_all_objects): look for user specific objects in
14704 ~/.objects rather than ~/.dia_libs.
14706 1999-10-10 Fredrik Hallenberg <hallon@lysator.liu.se>
14710 * objects/flowchart/box.c
14711 * objects/flowchart/ellipse.c
14712 * objects/flowchart/flowchart.c
14713 Use gmodule for dynamic linking. As gmodule is using
14714 RTLD_GLOBAL i had to change flowchart box and ellipse
14715 so the typenames doesn't conflict with the standard
14720 Use button box to make dialogs look better.
14722 1999-10-09 Alexander Larsson <alla@lysator.liu.se>
14724 * objects/UML/class_dialog.c:
14725 * objects/UML/class.h:
14726 Implemented undo for "UML - Class" objects.
14727 Not 100% tested yet.
14729 * objects/UML/classicon.c:
14730 * objects/UML/constraint.c:
14731 * objects/UML/dependency.c:
14732 * objects/UML/generalization.c:
14733 * objects/UML/implements.c:
14734 * objects/UML/large_package.c:
14735 * objects/UML/lifeline.c:
14736 * objects/UML/message.c:
14737 * objects/UML/object.c:
14738 * objects/UML/realizes.c:
14739 * objects/UML/state.c:
14740 * objects/UML/usecase.c:
14743 * lib/connectionpoint.h:
14746 1999-10-09 James Henstridge <james@daa.com.au>
14748 * objects/custom/*.[ch]: added copyright notices to custom object
14751 * shapes/Circuit/hdiode.shape:
14752 * shapes/Circuit/hzener.shape:
14753 * shapes/Circuit/opamp.shape:
14754 * shapes/Circuit/vdiode.shape:
14755 * shapes/Circuit/vzener.shape: made adjustments to make the circuit
14756 shapes look nice after the custom shape code changes.
14758 * objects/custom/README: updated docs to cover changes to drawing
14761 * objects/custom/custom_object.c (custom_draw): honour the line
14762 properties when drawing the shape.
14764 * objects/custom/shape_info.[ch]: added support for setting line
14765 properties for individual drawing elements in a custom shape. You
14766 can set the dash style, dash length, cap style and join style.
14768 1999-10-07 James Henstridge <james@daa.com.au>
14770 * objects/custom/shape_info.c (parse_style): added a few extra synonyms
14771 for foreground and background.
14773 * objects/custom/custom_object.c (custom_draw): use the new style
14774 information when drawing the object.
14776 * objects/custom/shape_info.[ch]: store all shape style info in the
14777 GraphicStyle structure. This makes adding support for extra CSS
14778 attributes easier -- we don't have to keep adding extra arguments to
14779 a lot of functions.
14781 1999-10-05 James Henstridge <james@daa.com.au>
14783 * lib/intl.c (unalias_lang): merged in changes from the i18n code
14784 swiped from gnome-libs.
14786 1999-10-03 Alexander Larsson <alla@lysator.liu.se>
14788 * objects/standard/image.c (get_directory):
14789 Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
14791 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
14793 * lib/poly_conn.c (polyconn_destroy):
14794 Fix bug. Access of freed memory.
14795 Rememeber, you can't free the handles of an object
14796 before calling object_destroy(), as it unconnects the handles
14797 therefore referencing them.
14799 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
14802 undo_clear() didn't set stack->depth to zero.
14803 This made other undo functions crash after this had been called
14807 Slightly modified by Chris Love <clove@exactis.com>
14809 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
14811 * objects/UML/class.h:
14812 * objects/UML/class_dialog.c:
14813 Retrun NULL ObjectChange on class property change.
14814 This means no crashes, but "UML - Class" doesn't support undo yet.
14816 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
14821 * objects/UML/classicon.c:
14822 * objects/UML/dependency.c:
14823 * objects/UML/generalization.c:
14824 * objects/UML/implements.c:
14825 * objects/UML/large_package.c:
14826 * objects/UML/lifeline.c:
14827 * objects/UML/message.c:
14828 * objects/UML/object.c:
14829 * objects/UML/realizes.c:
14830 * objects/UML/state.c:
14831 * objects/UML/usecase.c:
14832 Update to new undo (w. get/set_state).
14833 Add object menu to add/delete segments.
14835 1999-09-17 Alexander Larsson <alla@lysator.liu.se>
14838 Add equal distance alignment.
14840 * app/object_ops.c:
14841 Add equal distance alignment.
14842 Fix bug in adjacent alignment.
14844 1999-09-16 Alexander Larsson <alla@lysator.liu.se>
14846 * objects/UML/constraint.c:
14847 Update to new undo (w. get/set_state).
14849 1999-09-15 Alexander Larsson <alla@lysator.liu.se>
14851 * app/paginate_psprint.c:
14852 Save (parts, more todo) of the info in the print dialog to the
14853 next time it's opened.
14854 Patch from Yo Ric Dude <ricdude@toad.net>
14856 1999-09-14 Alexander Larsson <alla@lysator.liu.se>
14859 Updated version string to 0.41cvs.
14861 * objects/UML/assocition.c:
14862 Update to new undo (w. get/set_state).
14863 Add object menu to add/delete segments.
14866 Added function debug_break() and called it after all
14867 objects and sheets are loaded. Place a breakpoint here if you
14868 want to debug objects. All symbols should be loaded.
14870 1999-09-12 James Henstridge <james@daa.com.au>
14872 * app/menus.c (display_menu_items): added print menu item.
14873 (filemenu): always add print menu item -- even if gnome-print is
14876 * app/commands.h, app/commands.c (file_print_callback): the print
14877 menu item is now available for both gnome-print and non gnome-print
14880 * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
14881 print with the non gnome-print driver.
14883 1999-09-11 James Henstridge <james@daa.com.au>
14885 * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
14886 printer dialog code out of commands.c.
14888 * app/paginate_psprint.c: new file containing the pagination code for
14891 * app/render_eps.c: made a few modifications so as well as producing
14892 EPS files, this renderer can be set up to do postscript printing.
14893 This basically entailed adding an extra function to create a RenderEPS
14894 renderer which did not bother setting the viewport for the document.
14895 That was left for the pagination code.
14897 1999-09-10 James Henstridge <james@daa.com.au>
14899 * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
14900 gnome-print does not support elliptic arcs at the moment, approximate
14901 the ellipse with eight bezier curves. This gives a pretty good
14902 match to a true ellipse.
14904 1999-09-09 James Henstridge <james@daa.com.au>
14906 * app/commands.c (file_gnome_print_callback): added support for
14907 scaling the diagram. Also fixed a few other bugs.
14909 * app/paginate_gnomeprint.c (print_page): added ability to scale
14910 document. Fixed up test to see if the page has no objects on it.
14911 This should prevent some blank pages being printed. Non square
14912 objects such as lines could still cause problems.
14914 1999-09-08 James Henstridge <james@daa.com.au>
14916 * app/commands.c (file_gnome_print_callback): changed from using the
14917 standard printer selection dialog to one that also has a paper size
14920 * commands.[ch]: added callbacks for the print menu item. Currently
14921 it only does A4 output. I will make it configurable soon.
14923 * app/menus.c: add a print diagram menu item if gnome-print support
14926 * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
14927 bit higher level than the gnome-print renderer. It splits the
14928 diagram into page size chunks and then renders them. For each
14929 page, it only renders the objects whose bounding box intersects
14930 the page, and it sets the clip mask so that the diagram does not
14931 overlap the margins.
14933 * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
14934 that uses gnome-print as its back end.
14936 * configure.in: added a check for gnome-print. It is disabled by
14937 default because the code is not really working correctly yet.
14939 * app/menus.c: the delete object menu item was missing from the
14940 GnomeUIInfo style menus.
14942 1999-09-07 Fredrik Hallenberg <hallon@lysator.liu.se>
14945 Added japanese to ALL_LINGUAS.
14946 Fix for Linux on Alpha.
14948 1999-09-07 Alexander Larsson <alla@lysator.liu.se>
14950 * app/create_object.c (create_object_button_press):
14951 Always initialize tool->obj. Otherwise we store a null
14952 in the undo Change.
14955 Set linestyle before drawing cursor.
14956 Fix undo of backwards delete.
14958 1999-09-05 James Henstridge <james@daa.com.au>
14960 * dia.spec: updated spec file to distribute $(prefix)/share/dia.
14962 * app/render_svg.c (draw_image): some fixes so that the appropriate
14963 style attributes are set. Before it was setting line styles on
14964 fill_* functions. Now it only does this for the draw_* variants.
14966 * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
14967 variable so that custom shapes can be loaded.
14969 * shapes/: new directory for custom shapes. The Circuit sheet has
14972 1999-09-02 James Henstridge <james@daa.com.au>
14974 * TODO: removed a few todo items that have been implemented.
14976 * app/interface.c (create_sheets): enabled the popup page menu to the
14977 notebook. This can make it easier to select different sheets.
14979 * object/custom/Circuit/: added diode, zener diode, ground point and
14980 operational amplifier shapes.
14982 * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
14983 if you want the output.
14985 * objects/custom/shape_info.c (parse_path): same here.
14987 * objects/custom/load_sheet.c (load_with_readdir): don't print so
14988 much debugging output. To get the previous level of output, define
14991 * objects/custom/shape_info.c (parse_svg_node): polygons were being
14992 recorded as polylines in the ShapeInfo structure.
14994 * objects/custom/README: some notes on writing new custom shapes.
14996 1999-09-01 James Henstridge <james@daa.com.au>
14998 * objects/custom/Circuit/hinductor.*:
14999 * objects/custom/Circuit/vinductor.*: added inductor shapes that
15000 also test out the bezier curve and SVG path support.
15002 * objects/custom/custom_object.c (custom_draw): added support for
15003 drawing bezier paths and filled shapes.
15005 * objects/custom/shape_info.c (parse_path): new function to parse
15006 SVG path elements. It does not do quadratic beziers or elliptic
15007 arcs though. Only moves, lines and cubic beziers.
15008 (*): added support for paths.
15010 1999-08-31 James Henstridge <james@daa.com.au>
15012 * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
15014 * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
15017 * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
15020 * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
15023 * lib/render_store.[ch]: use newer bezier functions.
15025 * lib/render.h: changed the bezier drawing functions to use an array
15026 of BezPoint structures instead of normal Point structures to allow
15027 lineto's mixed in with the curveto's.
15029 * objects/custom/Circuit/pnp.*: added pnp transistor shape.
15031 * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
15032 xpm images for different shapes to Makefile.
15034 * objects/custom/custom_object.c (custom_object_new): set the icon
15035 for the sheet button if there is one. Otherwise fall back on the
15036 default custom object icon.
15038 * objects/custom/shape_info.c (load_shape_info): read the sheet
15039 icon name from the shape file.
15041 * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
15042 check the pixmap_file field for the name of a pixmap file to load
15045 * lib/sheet.h (SheetObj): added pixmap_file field to structure. It is
15046 at the end of the structure, and it isn't used if the pixmap field
15047 is non NULL, so it should not break binary compatibility.
15049 * objects/custom/load_sheet.[ch]: moved sheet loading code here. Also
15050 added support for the use of an index.sheet file so you can specify
15051 the ordering of the shapes in the sheet, and also internationalise
15052 the sheet name and actually be able to give a description. The old
15053 readdir based sheet loading code acts as a fallback if an index.sheet
15054 file can not be found.
15056 * objects/custom/custom_util.[ch]: new file containing useful routines
15057 needed by the custom object code. Currently only contains a simple
15058 routine for resolving relative paths.
15060 * objects/custom/custom_object.c (custom_draw): fixed problem with
15061 drawing rectangles if the shape has been flipped.
15063 1999-08-30 James Henstridge <james@daa.com.au>
15065 * objects/custom/custom_object.c (custom_get_object_menu): allow
15066 flipping of custom shapes. This uses the miggle click object
15069 * objects/custom/Circuit/npn.shape: fix aspect ratio.
15071 * objects/custom/custom_object.c (custom_update_data): honour the
15072 aspect ratio constraints.
15074 * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
15075 tag parsing, so you can specify a free, fixed or a range for aspect
15076 ratios for the shape.
15078 1999-08-29 James Henstridge <james@daa.com.au>
15080 * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
15081 up shape namespace tag.
15083 * objects/custom/shape_info.c (load_shape_info): check xml:lang
15084 attribute on <description> elements to support i18n for custom
15085 shape descriptions.
15086 Also changed the shape namespace for custom shapes to something
15087 a little more sensible.
15089 * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
15091 * lib/intl.c: new file containing some functions for i18n stuff.
15093 * app/layer_dialog.c (create_button_box): fixed a warning.
15095 * objects/custom/custom_object.c: use current line style. Save dash
15098 * objects/flowchart/diamond.c: use current line style. Save dash
15101 * objects/flowchart/parallelogram.c: use current line style. Save
15104 * objects/flowchart/ellipse.c: use current line style. Save dash
15107 * objects/flowchart/box.c: use current line style. Save dash length.
15109 * objects/standard/ellipse.c: make ellipse use current line style.
15111 * objects/standard/box.c: use the line style set in the toolbox for
15112 new boxes, and remember the dash length.
15114 * app/commands.c (view_toggle_rulers_callback): fix reshowing of
15117 1999-08-24 James Henstridge <james@daa.com.au>
15119 * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
15120 to try to stop ellipse to get infinite width/height when we resize,
15121 while trying to keep the text inside the ellipse.
15123 * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
15124 * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
15125 resizing behaviour, so that you can't push objects round the screen
15126 with the resize handles.
15128 * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
15129 get the OK buttons in the dialogs to take default clicks.
15131 * objects/custom/custom_object.c: added code so that resizing the
15132 shape does not end up pushing it round the screen.
15134 1999-08-23 Alexander Larsson <alla@lysator.liu.se>
15136 * app/display.[ch]:
15137 Generate rectangle with the union of the damaged regions.
15138 This is used to optimize the grid paint and the object rendering.
15139 display_render_pixmap passes this info to grid_draw() and data_render().
15142 grid_draw doesn't draw grid lines outside of damaged rectangle.
15143 Sets dashlength when drawing non-solid grid.
15145 * lib/diagramdata.[ch]:
15146 data_render() and layer_render() takes an optional damaged rectangle
15147 argument. No objects not intersecting this are drawn.
15151 Call data_render with NULL update rectangle.
15153 1999-08-23 James Henstridge <james@daa.com.au>
15155 * objects/custom/custom_object.c (custom_update_data): if the aspect
15156 ratio is fixed, make sure the shape is not distorted.
15158 * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
15159 a <fixaspectratio/> tag is given in the shape file.
15161 * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
15162 added support for stroke-width, stroke and fill CSS attributes
15163 specified in style attributes of the SVG elements. The line width
15164 is relative to the user specified line width. The stroke and fill
15165 attributes can only be used to swap the foreground/background
15168 * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
15169 sensitivity on the dash length selector when this function is called.
15171 * objects/standard/arc.c: same. Also handle dash length.
15172 * objects/standard/zigzagline.c: same.
15173 * objects/standard/polyline.c: same. Also handle dash length.
15174 * objects/standard/line.c: use default arrow/line styles.
15176 * app/interface.c: added callbacks to set the default attributes.
15178 * lib/attributes.c: added implementations of these functions.
15180 * lib/attributes.h: added extra prototypes for the new line properties
15181 area in the toolbox.
15183 * app/interface.c (create_lineprops_area): added line properties
15184 area to bottom of toolbox.
15186 * app/lineprops_area.h: a header exporting a few routines of the
15187 line properties area widgets.
15189 * app/lineprops_area.c: new file containing a selector for arrows
15190 and line styles to go in the main toolbox.
15192 1999-08-22 Alexander Larsson <alla@lysator.liu.se>
15195 Update Gtk+ 1.0.5 comment to 1.2.0.
15204 Make sure we don't propagate -ldl and -lpopt to all LIBS
15205 by adding new var APP_LIBS that only app/dia links with.
15208 Update run_dia.sh to load custom and flowchart objects.
15210 * objects/ER/Makefile.am:
15211 * objects/FS/Makefile.am:
15212 * objects/UML/Makefile.am:
15213 * objects/network/Makefile.am:
15214 * objects/standard/Makefile.am:
15215 * objects/sybase/Makefile.am:
15216 Don't build versioned libs.
15218 1999-08-22 James Henstridge <james@daa.com.au>
15220 * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
15223 * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
15224 should actually work a bit now.
15226 * objects/custom/Circuit/*: a test sheet for the custom shape code.
15227 It is a small collection of circuit elements.
15229 * objects/custom/shape_info.c: fixed up loading of polylines and
15230 polygons. Before it was removing negative signs :(
15232 * objects/custom/pixmaps/custom.xpm: drew the custom shape icon. A
15233 placeholder was here before. I still need to work out how to set
15234 icons for individual custom shapes.
15236 * objects/custom/custom.c: added code to load the shapes into sheets
15237 properly. The shape files should be arranged into directories, and
15238 each directory represents a different sheet in the toolbox. This
15239 will make it very easy to distribute a collection of dia shapes as
15240 a tarball. I still need to work out internationalisation, and maybe
15241 also shape ordering in the sheet.
15243 * objects/custom/custom_object.c: fixed up dialogs for these objects.
15244 (custom_create): fix for objects without text areas.
15246 * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
15247 and saving of custom object works correctly now.
15249 1999-08-21 James Henstridge <james@daa.com.au>
15251 * objects/flowchart/ellipse.c:
15252 * objects/flowchart/diamond.c:
15253 * objects/flowchart/parallelogram.c:
15254 * objects/flowchart/box.c: Fixed up a few bugs in these objects when
15255 copying or loading these object types. Not all the connection
15256 points would be initialised correctly.
15258 * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
15261 * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
15262 build a versioned library. It will only ever be dlopen'd, so this
15265 * objects/custom/custom_object.c (custom_distance_from): allow
15266 selecting the object by clicking on the text. This fixes problems
15267 where the text box is outside the graphic.
15269 * objects/custom/shape_info.c (load_shape_info): fixed up reading
15270 of connections points. It should be possible to add connections
15271 to custom objects now.
15273 * objects/custom/custom_object.c (custom_update_data): fixed resizing
15274 due to changes to text.
15276 * configure.in: added extra makefiles.
15278 * objects/custom/shape_info.[ch]:
15279 * objects/custom/custom_object.c:
15280 * objects/custom/custom.c: the starts of custom shape support in dia.
15281 This is not built by default at the moment, since it is not quite
15282 complete. When it is, it will let you create more shapes for dia
15283 without writing a line of C. Its implementation includes buzzwords
15284 such as XML and SVG, so it must be good :)
15286 1999-08-19 Karsten Weiss <karsten@addx.au.s.shuttle.de>
15288 * app/app_procs.c (app_exit): Use button labels "Quit" and
15289 "Cancel" instead of "Yes" and "No".
15290 Set default action to "Cancel" instead of "Quit".
15292 1999-08-19 James Henstridge <james@daa.com.au>
15294 * objects/flowchart/flowchart.c: added ellipse object.
15296 * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
15298 1999-08-18 James Henstridge <james@daa.com.au>d
15300 * app/color_area.c (color_area_edit): small fix to prevent dia from
15301 segfaulting when you try to change the default foreground/background.
15303 1999-08-17 Alexander Larsson <alla@lysator.liu.se>
15305 * app/diagram.[ch] (diagram_redraw_all):
15306 Added function that redraws all diagrams.
15308 * app/preferences.c (prefs_apply):
15309 Call diagram_redraw_all when prefs are changed.
15311 * app/render_svg.c:
15312 Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
15313 older libxml's, and the old version works good enought here.
15315 1999-08-17 James Henstridge <james@daa.com.au>
15317 * lib/widgets.c: changed handlers that were connected to the GtkButton
15318 "pressed" signal to connect to the "clicked" signal. This removes the
15319 problem where dialogs are inactive until you click a mouse button
15320 after using a colour selector.
15322 * configure.in: added extra makefiles to AC_OUTPUT list.
15324 * objects/Makefile.am (SUBDIRS): added flowchart module
15326 * objects/flowchart/*: a collection of shapes for use in flowcharts.
15328 * app/color_area.c (color_area_events): similar here.
15330 * app/linewidth_area.c (linewidth_area_events): sometimes a configure
15331 event is recieved with event->width == 0, which causes a warning if we
15332 try to create a pixmap of that width.
15334 * app/preferences.c, app/preferences.h, app/grid.c: added code to
15335 allow you to configure the colour of the grid, and also lets you
15336 set the grid to use dotted lines instead of solid ones.
15338 * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
15339 app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
15341 * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
15342 export filter. It is not quite complete, but for most shapes it
15343 works as expected. Fonts still need a bit of work.
15345 1999-08-11 Robert Brady <rwb197@ecs.soton.ac.uk>
15347 * configure.in: Added "en_GB" to ALL_LINGUAS.
15349 1999-08-04 Fredrik Hallenberg <hallon@lysator.liu.se>
15352 Added Undo and Redo to GNOME menus.
15354 * objects/ER/attribute.c:
15355 * objects/ER/entity.c:
15356 * objects/ER/participation.c:
15357 * objects/ER/relationship.c:
15358 Added get/set_state functions.
15360 * objects/ER/participation.c:
15361 Added add/delete segment.
15364 Updated Swedish translation.
15366 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
15368 * app/preferences.[hc]:
15369 Added undo_depth pref.
15372 Never grow stack larger than pref.undo_depth.
15373 undo_depth == 0 means unlimited.
15374 Converted printfs to conditionally compiled DEBUG_PRINTFs.
15376 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
15381 * lib/render_object.c:
15382 * objects/ER/attribute.c:
15383 * objects/ER/entity.c:
15384 * objects/ER/participation.c:
15385 * objects/ER/relationship.c:
15386 * objects/FS/flow-ortho.c:
15387 * objects/FS/flow-poly.c:
15388 * objects/FS/flow.c:
15389 * objects/FS/function.c:
15390 * objects/UML/actor.c:
15391 * objects/UML/association.c:
15392 * objects/UML/class.c:
15393 * objects/UML/classicon.c:
15394 * objects/UML/component.c:
15395 * objects/UML/constraint.c:
15396 * objects/UML/dependency.c:
15397 * objects/UML/generalization.c:
15398 * objects/UML/implements.c:
15399 * objects/UML/large_package.c:
15400 * objects/UML/lifeline.c:
15401 * objects/UML/message.c:
15402 * objects/UML/note.c:
15403 * objects/UML/object.c:
15404 * objects/UML/realizes.c:
15405 * objects/UML/small_package.c:
15406 * objects/UML/state.c:
15407 * objects/UML/usecase.c:
15408 * objects/network/bus.c:
15409 * objects/standard/arc.c:
15410 * objects/standard/box.c:
15411 * objects/standard/ellipse.c:
15412 * objects/standard/image.c:
15413 * objects/standard/line.c:
15414 * objects/standard/polyline.c:
15415 * objects/standard/textobj.c:
15416 * objects/standard/zigzagline.c:
15417 Removed all traces of is_empty(). It doesn't work in an
15420 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
15425 Undoable grouping and ungrouping.
15427 * app/layer_dialog.c:
15428 * lib/diagramdata.[ch]:
15429 Undoable layer ops.
15431 * app/modify_tool.c:
15432 Undoable unconnect on handle move.
15434 * lib/orth_conn.[ch]:
15435 Working undoable add/remove segment.
15436 Removed endpoint_handles from OrthConn, renamed
15437 midpoint_handles to handles and put the endpoint
15440 * objects/standard/zigzagline.c:
15441 * objects/ER/participation.c:
15442 * objects/UML/association.c:
15443 * objects/UML/dependency.c:
15444 * objects/UML/generalization.c:
15445 * objects/UML/realizes.c:
15446 Update for the changes in OrthConn
15448 1999-07-23 Karsten Weiss <karsten@addx.au.s.shuttle.de>
15450 * configure.in: Added "de" to ALL_LINGUAS.
15452 1999-07-17 Alexander Larsson <alla@lysator.liu.se>
15464 Don't have the <Display> etc part of the menu strings
15465 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15468 Don't have the <Display> etc part of the menu strings
15469 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
15470 Don't remove is_empty() objects, that don't work with undo.
15472 * lib/objchange.[ch]:
15474 Definition of ObjectChange. This is essentially an Change
15475 exported to the object libs. It encapsulates a change made
15476 to an objects internals. It can be applied, reverted and freed.
15477 There are also utility functions for doing ObjectChanges that
15478 only get/set the whole state of an object to store the change.
15479 This cannot be used when the object change deletes or adds a
15480 object which has references from other objects, eg. Handles which
15481 might be connected.
15484 Added objchange.c and objchange.h.
15487 Return NULL when loading fails.
15490 Menu callbacks return an ObjectChange.
15493 Reference objchange.o
15496 Key events return ObjectChange if they modify the object.
15500 Added object_add_handle_at() function.
15501 Apply properties returns an ObjectChange.
15502 Remove ObjectState and the get/set state functions, these
15503 don't always work. Use the new ObjectChange instead.
15506 Added object_add_handle_at() function implementation.
15508 * lib/orth_conn.[ch]:
15509 Use ObjectChange. Not finished yet.
15510 Removed get/set/free state functions
15512 * lib/poly_conn.[ch]:
15514 Don't remove segments that are small.
15515 Removed get/set/free state functions
15519 Added functions to get/set all text attributes.
15521 * objects/standard/arc.c:
15522 * objects/standard/box.c:
15523 * objects/standard/ellipse.c:
15524 * objects/standard/image.c:
15525 * objects/standard/line.c:
15526 * objects/standard/polyline.c:
15527 * objects/standard/textobj.c:
15528 * objects/standard/zigzagline.c:
15530 fixed bug in image_set_state.
15531 zigzagline.c not finished yet.
15533 * app/disp_callbacks.c:
15534 Use ObjectChange that are returned from menu callbacks and
15535 key_events for undo.
15537 * app/properties.c:
15538 Use ObjectChange that are returned from properties apply
15543 New undo type: ObjectChangeChange. This wraps a change to the
15544 internals of an object (and ObjectChange) in code that does
15545 app specific stuff (object_add_updates etc.)
15547 1999-07-11 Alexander Larsson <alla@lysator.liu.se>
15549 * lib/orth_conn.[ch]:
15550 Added code for add/delete segment.
15552 * objects/standard/zigzagline.c:
15553 Use the new orth_conn code.
15556 1999-07-08 Fredrik Hallenberg <hallon@lysator.liu.se>
15558 * objects/FS/Makefile.am
15559 Removed fs.h from sources.
15565 1999-07-07 Alexander Larsson <alla@lysator.liu.se>
15567 * app/disp_callbacks.c (ddisplay_canvas_events):
15568 Fix for bug. Every other arrow-key press got lost.
15569 patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
15572 change automake.sh to autogen.sh
15574 1999-06-24 Alexander Larsson <alla@lysator.liu.se>
15577 Don't remove 'empty' objects.
15578 This violent destruction of objects won't work
15579 with the new undo framework.
15581 * app/disp_callbacks.c:
15582 Save undo info for object menu calls and key_events.
15584 * app/properties.c:
15585 Save undo info on properties apply.
15587 * lib/dia_image.[ch]:
15588 Add refcounting for images.
15590 * app/render_eps.c:
15591 * app/render_gdk.c:
15593 DiaImage * -> DiaImage
15596 Add undo functions for object state changes.
15600 change of semntics for focus->key_event.
15601 Now returns TRUE if the object recieving the event
15607 * lib/orth_conn.[ch]:
15608 Don't automatically create and delete segments when
15609 handles are moved. This is incompatible with undo.
15610 Added state get, set and free functions.
15612 * lib/orth_conn.[ch]:
15613 Added state get, set and free functions.
15615 * objects/UML/object.c:
15616 * objects/UML/uml.c:
15617 Fixed typo "UML - Objet" -> "UML - Object".
15618 Saved old for backwards compatibility.
15620 * objects/standard/arc.c:
15621 * objects/standard/box.c:
15622 * objects/standard/ellipse.c:
15623 * objects/standard/image.c:
15624 * objects/standard/line.c:
15625 * objects/standard/polyline.c:
15626 * objects/standard/textobj.c:
15627 * objects/standard/zigzagline.c:
15628 Added get/set state functions.
15629 Textobj has a redo crash-bug.
15630 Zigzagline needs object menus to add segments.
15633 1999-06-20 Alexander Larsson <alla@lysator.liu.se>
15635 * app/render_eps.c (set_dashlength):
15636 Don't generate eps files with zero dash-length.
15638 1999-06-16 Alexander Larsson <alla@lysator.liu.se>
15641 * app/create_object.c:
15643 Finished undo for create and paste.
15646 Started properties undo.
15648 1999-06-14 Alexander Larsson <alla@lysator.liu.se>
15651 Added resizeable groups.
15654 Removed unused variable.
15658 Undo/redo for cut/delete done.
15660 * app/create_object.c:
15661 * app/modify_tool.c:
15662 * lib/diagramdata.[ch]:
15663 * app/diagram.[ch]:
15664 renamed diagram_add_selected -> diagram_select
15665 renamed diagram_remove_selected -> diagram_unselect
15667 * app/properties.[ch]:
15668 Added properties_hide_if_shown() function.
15670 1999-06-13 Alexander Larsson <alla@lysator.liu.se>
15676 * app/commands.[ch]
15677 * app/modify_tool.[ch]
15678 * app/object_ops.[ch]
15679 * app/connectionpoint_ops.c
15681 Use undo functions.
15682 WARNING: Not finished. Will break.
15683 Finished: move object, move handle.
15686 Added diagram_selected_break_external() function.
15687 It removes all connections between selected objects
15689 Add undo stack to Diagram.
15691 * lib/diagramdata.[ch]
15692 Added layer_remove_objects() function
15694 1999-06-11 Fredrik Hallenberg <hallon@lysator.liu.se>
15696 * objects/FS/Makefile.am
15697 * objects/sybase/Makefile.am
15698 Now uses GNOME_CFLAGS.
15701 Now compiles with GNOME even if popt.h isn't available.
15703 1999-06-10 Alexander Larsson <alla@lysator.liu.se>
15706 * objects/Makefile.am
15708 First version of sybase objects from
15709 Brian Bruns <camber@umcc.ais.org>
15711 1999-06-10 Fredrik Hallenberg <hallon@lysator.liu.se>
15714 Added fr to ALL_LINGUAS
15716 1999-06-09 Fredrik Hallenberg <hallon@lysator.liu.se>
15720 Popt-code is activated if popt is available.
15722 1999-06-08 Alexander Larsson <alla@lysator.liu.se>
15724 This is a patch from David Thompson <dcthomp@mail.utexas.edu>
15726 * lib/orth_conn.[ch]:
15727 Added orthconn_get_middle_handle()
15730 Added text_set_cursor_at_end()
15733 Added first version of functions structure diagrams.
15735 1999-05-24 Alexander Larsson <alla@lysator.liu.se>
15737 * app/modify_tool.c:
15738 Include math.h to remove warning.
15740 * app/commands.c (dialogs_properties_callback):
15741 Bring up correct properties dialog when selected
15743 From Dan Cohn <dan@internap.com>
15745 1999-05-20 Alexander Larsson <alla@lysator.liu.se>
15747 Patch from Lars R. Clausen
15749 * app/modify_tool.c:
15750 Changed abs to fabs.
15752 1999-05-19 Alexander Larsson <alla@lysator.liu.se>
15758 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
15760 Patches from Dan Cohn <dan@internap.com>
15762 * app/commands.[ch]:
15763 * app/display.[ch]:
15765 * app/preferences.[ch]:
15766 Implements ability to turn on/off connection points in
15767 current drawing and in global prefs.
15769 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
15771 * lib/widgets.c (dia_line_style_selector_init):
15774 * lib/diagramdata.c (layer_update_extents):
15775 Fixed uninitialized variable error.
15777 1999-05-17 Alexander Larsson <alla@lysator.liu.se>
15780 Made some changes to the gdk_imlib visual+colormap setup.
15782 1999-05-17 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15784 * objects/UML/usecase.c:
15785 * objects/UML/lifeline.c
15788 * objects/UML/object.c:
15789 * objects/UML/message.c:
15790 Changed font from Courier to Helvetica.
15794 Added dash lenth to the LineStyle widget.
15796 * objects/standard/ellipse.c :
15797 * objects/standard/zigzagline.c:
15798 * objects/standard/line.c:
15799 Added dash lenght property.
15801 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
15803 * app/render_eps.c:
15804 First shot at latin1 encoded eps files.
15805 Works, but the eps files get a bit large.
15807 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
15809 * objects/UML/class.[ch]:
15810 * objects/UML/uml.[ch]:
15811 Reverted the line wrap changes.
15812 Some day this might return, but it has to be selectable and
15813 default to off for loaded objects, otherwise it breaks file
15814 format compatibility.
15815 There was also some complains about how it looked, so a making it
15816 selectable is good for this too.
15818 1999-05-15 Alexander Larsson <alla@lysator.liu.se>
15820 * objects/UML/class.[ch]:
15821 Some indentation cleanup.
15822 Added wrap_lines variable to class.
15823 I'll fix the line break stuff tomorrow.
15825 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
15828 Added ref to poly_conn.o.
15830 * objects/standard/polyline.c (polyline_draw):
15831 * objects/standard/zigzagline.c (zigzagline_draw):
15832 * objects/standard/arc.c (arc_draw):
15833 * objects/standard/line.c (line_draw):
15834 Draw lines before arrows. This makes hollow arrows not
15837 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
15839 Changes from Kim Peasley <kpeasley@ior.com>
15841 * objects/UML/class.c:
15842 Break lines with long operations so classes won't be
15845 * objects/UML/uml.[ch]:
15846 Helperfunctions for the above.
15848 * objects/UML/objects.c:
15849 Fix bug that duplicated the text in the attributes
15850 textwidget each time the object was selected.
15852 1999-05-12 Alexander Larsson <alla@lysator.liu.se>
15854 Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
15856 * app/modify_tool.c:
15857 * app/modify_tool.h:
15858 Control-drag is restricted to vertical/horizontal movement
15861 ModifierKeys argument added to object_move_handle
15863 * app/connectionpoint_ops.c:
15864 * app/create_object.c:
15865 * app/object_ops.c:
15866 * objects/ER/attribute.c:
15867 * objects/ER/entity.c:
15868 * objects/ER/participation.c:
15869 * objects/ER/relationship.c:
15870 * objects/UML/actor.c:
15871 * objects/UML/association.c:
15872 * objects/UML/class.c:
15873 * objects/UML/classicon.c:
15874 * objects/UML/component.c:
15875 * objects/UML/constraint.c:
15876 * objects/UML/dependency.c:
15877 * objects/UML/generalization.c:
15878 * objects/UML/implements.c:
15879 * objects/UML/large_package.c:
15880 * objects/UML/lifeline.c:
15881 * objects/UML/message.c:
15882 * objects/UML/note.c:
15883 * objects/UML/object.c:
15884 * objects/UML/realizes.c:
15885 * objects/UML/small_package.c:
15886 * objects/UML/state.c:
15887 * objects/UML/usecase.c:
15888 * objects/network/bus.c:
15889 * objects/standard/arc.c:
15890 * objects/standard/box.c:
15891 * objects/standard/ellipse.c:
15892 * objects/standard/image.c:
15893 * objects/standard/line.c:
15894 * objects/standard/polyline.c:
15895 * objects/standard/textobj.c:
15896 * objects/standard/zigzagline.c:
15897 Changed calls to move_handle to pass the new argument.
15901 Default line width, color etc #define'd
15904 Updates of danish menus
15906 1999-05-08 Fredrik Hallenberg <hallon@lysator.liu.se>
15909 * dia_gnome_icon.png
15910 * dia_gnome_menu_icon.png
15912 Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
15915 About dialog shows dia_logo.png. Removed the GNOME about dialog.
15918 Distribute the icons and install logo in pkgdatadir.
15921 Added DATADIR-define.
15923 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
15924 Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
15927 Updated version number, made setup quiet, can build from cvs,
15928 --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
15931 * objects/ER/Makefile.am
15932 * objects/UML/Makefile.am
15933 * objects/network/Makefile.am
15934 * objects/standard/Makefile.am
15935 now builds better with gnome
15937 * objects/UML/class_dialog.c
15938 Fixed typo -> po files must be updated too!!
15940 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
15943 Added reference so that widgets.o gets linked to the app.
15945 1999-04-23 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15947 * objects/UML/classicon.c:
15950 * objects/UML/actor.c:
15951 Changed position of 'snap-to-grid' so connection points are
15954 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
15956 * objects/UML/classicon.c:
15957 Changed position of 'snap-to-grid'.
15958 By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15960 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
15962 * objects/network/antenna.c
15963 * objects/network/flash.c
15964 * objects/network/hub.c
15965 * objects/network/modem.c
15966 * objects/network/modularswitch.c
15967 * objects/network/rj45plug.c
15968 * objects/network/scead-plug.c
15969 * objects/network/network.c
15970 * objects/network/Makefile.am
15971 * objects/network/pixmaps/antenna.xpm
15972 * objects/network/pixmaps/flash.xpm
15973 * objects/network/pixmaps/hub.xpm
15974 * objects/network/pixmaps/modem.xpm
15975 * objects/network/pixmaps/modularswitch.xpm
15976 * objects/network/pixmaps/rj45plug.xpm
15977 * objects/network/pixmaps/sceadplug.xpm
15978 * objects/network/pixmaps/Makefile.am
15979 Lots of new network objects from
15980 Roland Steinbach <roland@support-system.com>.
15982 1999-04-15 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
15984 * objects/UML/classicon.c:
15985 Fixed connection positions, saved type as int (it has 3 states),
15986 and other small fixes.
15988 1999-04-14 Alexander Larsson <alla@lysator.liu.se>
15990 * app/preferences.c:
15992 Added preference compress_save. It lets dia save uncompressed
15995 * objects/UML/class.c:
15996 Fixed bug with size calculation on methods that had class scope.
15998 1999-04-13 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16000 * objects/UML/usecase.c:
16001 Added collaboration mode
16002 Fixed connection points with text > ellipse bug and other
16005 * objects/UML/state.c:
16006 Fixed bug of bad position of text after being either end
16007 or begin, moved and returned to text
16009 1999-04-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16011 * app/preferences.c: Add prototype declaration for prefs_apply.
16013 1999-04-11 Alexander Larsson <alla@lysator.liu.se>
16015 * app/preferences.c:
16017 Apply don't hide window.
16019 * app/properties.c:
16022 * objects/UML/object.c:
16023 * objdcts/UML/state.c:
16024 Some data was not copied on copy.
16027 Ben Hochstedler <benh@eeyore.moneng.mei.com>
16029 1999-04-09 Alexander Larsson <alla@lysator.liu.se>
16032 Changed link order between X and libxml.
16033 Some people had problems with an old libz in their
16036 1999-04-09 Kjartan Maraas <kmaraas@online.no>
16038 * po/no.po: updated translation.
16040 1999-04-08 Lars R. Clausen <lrclause@cs.uiuc.edu>
16042 * lib/message.c (message_error):
16045 * app/commands.[ch]:
16046 * app/diagram.[ch]:
16047 Added begining of xfig importing
16049 1999-04-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16051 * objects/UML/pixmaps/state.xpm:
16052 * objects/UML/state.c:
16053 New UML object state machine.
16055 * objects/UML/uml.c:
16056 * objects/UML/Makefile.am:
16057 * objects/UML/pixmaps/Makefile.am:
16058 Added the state object.
16060 1999-04-08 Alejandro Aguilar Sierra <ale@bucefalo>
16062 * objects/UML/usecase.c:
16063 Added dialog to allow move text outside the ellipse.
16065 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
16067 * Released Dia 0.41
16068 Tag called DIA_0_41
16073 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
16076 Updated version number to 0.41
16081 1999-04-04 Fredrik Hallenberg <hallon@lysator.liu.se>
16084 Changed errormessage for --export-to-ps. Removed call to
16085 g_log_set_always_fatal().
16088 * app/disp_callbacks.c
16090 (i18n) Removed gettext from some debugmessages.
16093 Small fix in GNOME-menus. Added warning that will help track
16094 problems with translations.
16097 (i18n) Updated swedish translation.
16099 1999-04-02 Alexander Larsson <alla@lysator.liu.se>
16104 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
16110 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
16113 (i18n) Updated the danish translation.
16114 From Lars R. Clausen.
16116 1999-04-01 Fredrik Hallenberg <hallon@lysator.liu.se>
16119 (i18n) The popup menu is translated now.
16122 (i18n) Updated swedish translation.
16124 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
16126 * Released Dia 0.40
16127 Tag called DIA_0_40
16130 Updated for new release
16132 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
16134 * objects/network/bus.c:
16135 Added initialization of properties dialog to NULL.
16137 * app/commands.c (edit_cut_callback):
16138 Update menu sensitivity when cut object.
16140 * app/modify_tool.c (click_select_object):
16141 * app/modify_tool.c (modify_button_release):
16142 Call diagram_update_menu_sensitivity() when
16143 selecting objects to update stuff that depends
16144 on selected/not selected.
16146 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
16149 Change order of subdir so that libintl.a builds.
16150 Now passed make distcheck.
16152 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16154 * lib/font.c (init_x11_font):
16157 1999-03-28 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16159 * objects/UML/pixmaps/classicon.xpm:
16160 * objects/UML/classicon.c:
16161 * objects/UML/uml.c:
16162 Added the class stereotype icon objects.
16165 Changed default ps extension from .ps to .eps.
16167 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16170 Added diamenu.h and intl.h
16175 * objects/UML/pixmaps/Makefile.am:
16178 * objects/standard/pixmaps/Makefile.am:
16181 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16184 Use a scalable font before fixed when real font not found.
16189 * objects/standard/image.c:
16190 Better handling of loading/saving of images.
16193 Added some text about cvs, fonts and rewrote some parts.
16196 Updated with new stuff.
16199 Bump up version number to 0.40.
16201 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16204 Moved diagram_add_ddisplay() call into new_display().
16205 Fixed new_display to not use uninitialized variables
16206 causing loaded files to show up as black (or garbage).
16210 Removed unneeded calls to diagram_add_ddisplay().
16212 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
16214 * objects/UML/lifeline.c:
16216 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16218 * objects/UML/message.c:
16219 Fixed bug loading messages with null-text.
16220 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
16222 1999-03-27 Fredrik Hallenberg <hallon@lysator.liu.se>
16225 Updated swedish translation.
16228 (GNOME) Removed help-browser from help menu. Fixed typo.
16231 (GNOME) Accelerators in diagrams should work now.
16233 1999-03-25 Fredrik Hallenberg <hallon@lysator.liu.se>
16238 * app/disp_callbacks.c
16242 * app/preferences.c
16244 * lib/diagramdata.c
16250 * objects/network/*.c
16251 * objects/standard/*.c
16252 * po/update_pofiles_in.sh
16254 More i18n. All strings (expect rare debug messages) can be
16255 translated now. Moved intl.h from app to lib. Updated
16256 update_pofiles_in.sh to check all .c-files.
16258 1999-03-23 Alexander Larsson <alla@lysator.liu.se>
16260 * app/disp_callbacks.c (ddisplay_canvas_events):
16261 Don't drop keys while num-lock, scroll-lock etc is on.
16263 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
16265 * app/render_eps.c (draw_image):
16266 Fixed exporting of images.
16267 Still not perfect, but not outright buggy.
16269 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
16273 Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
16276 Added $* to the dia call in run_dia.sh
16278 1999-03-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16281 Added color_equals() call.
16283 * objects/standard/arc.c:
16284 * objects/standard/line.c:
16285 Don't save unneccesary data.
16287 * objects/standard/box.c:
16288 * objects/standard/ellipse.c:
16289 * objects/standard/image.c:
16290 * objects/standard/polyline.c:
16291 * objects/standard/zigzagline.c:
16292 Share properties dialog.
16293 Don't save unneccesary data.
16295 1999-03-22 Seth Alves <alves@hungry.com>
16300 small changes so that gnome menus aren't broken
16302 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
16305 Added danish translation from lrclause@cs.uiuc.edu.
16310 * po/update_pofiles_in.sh:
16311 Added script that updates POFILES.in.
16312 This should probably be run automatically from somewhere.
16314 1999-03-19 Alexander Larsson <alla@lysator.liu.se>
16316 * app/diagram.[ch]:
16317 Added function diagram_update_menu_sensitivity() which
16318 sets the sensitivity of some menu items. This function
16319 is called at each diagram state change (from diagram_modified()).
16320 This is needed because otherwise the keyboard accelerators
16321 don't work correctly.
16323 * app/display.[ch]:
16324 Changed display_set_menu_sensitivity() to display_update_menu_state().
16325 Moved lots of code to diagram_update_menu_sensitivity() in
16326 diagram.c. Optimized to only look up menu-items from path:s once.
16328 * app/disp_callbacks.c:
16330 When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
16331 Need to set GDK_FOCUS_CHANGE_MASK.
16333 * app/create_object.c:
16334 Call diagram_modified when an object has been created and
16335 selected so that the menu sensitivity is updated.
16338 removed menus_set_sensitive() and menus_set_state(). Exported
16339 renamed function menus_get_item_from_path().
16341 1999-03-15 Alexander Larsson <alla@lysator.liu.se>
16343 * app/disp_callbacks.c:
16344 Show (empty) object menus on object that has none.
16345 Show title on object menus.
16348 Set zoom factor correctly when opening new displays.
16349 Better setting of scrollbars.
16353 Some reformating cleanup.
16356 Added title to object menus.
16359 Added object menu method (NULL-valued) to all objects.
16361 * objects/standard/polyline.c:
16362 Added title to object menu.
16364 1999-03-14 Alexander Larsson <alla@lysator.liu.se>
16366 * app/preferences.[ch]:
16367 New files. Implements the preferences dialog and
16368 loading/saving of ~/.diarc.
16371 Added preferences.[ch].
16374 Load preferences on startup.
16376 * app/commands.[ch]:
16377 Added file_preferences_callback to show the preferences dialog.
16379 * app/create_object.c:
16380 Update extents when creating object.
16381 Use the reset_tools_after_create preferences setting.
16384 Use preferences when creating new display.
16387 Add preferences to menu.
16390 * app/layer_dialog.c:
16391 * app/properties.c:
16392 Don't allow shrinking of dialog.
16393 Add i18n of some strings.
16395 1999-03-11 Kjartan Maraas <kmaraas@fib.hl.no>
16397 Norwegian translation added.
16399 1999-03-11 Alexander Larsson <alla@lysator.liu.se>
16401 * objects/standard/line.c:
16402 * objects/standard/arc.c:
16403 * objects/standard/polyline.c:
16404 * objects/standard/zigzagline.c:
16405 Loading of arrow data fixed.
16407 1999-03-09 Alexander Larsson <alla@lysator.liu.se>
16410 Update extents when saving and exporting to postscript.
16411 Fixes a bug with postscript bounding-box being wrong.
16414 Changed border width from 5 to 2.
16417 Move grouped objects by the move-point of the first object.
16418 Fixes bug that made all objects in the group be off-grid
16419 when moving the group, even though all objects was on-grid.
16421 * app/layer_dialog.c:
16422 Update extents when changing layer.
16424 1999-03-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16426 * objects/UML/uml.c:
16427 * objects/UML/component.c:
16428 * objects/UML/pixmaps/component.xpm:
16429 Added the UML component object
16431 1999-03-04 Seth Alves <alves@hungry.com>
16433 * objects/UML/generalization.c (generalization_create): avoid
16434 math on uninitialized genlz->text_width (NaN causes sigfpe)
16436 * objects/UML/realizes.c (realizes_create): same
16438 * objects/UML/dependency.c (dependency_create): same
16440 1999-03-01 Seth Alves <alves@hungry.com>
16442 * app/display.c (ddisplay_active): don't fly a warning panel
16443 if ddisplay_active is called when no views are open.
16445 * app/commands.c (set_default_file_selection_directory): set
16446 file selector's default directory if there is already
16449 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
16452 New info about imlib requirements.
16455 Added lib/pixmaps/Makefile to created makefiles.
16459 Change from obsoleted to newer gtk calls.
16462 Pass filename of the diagram when loading and saving.
16463 This creates better oportunities to handle filename saving.
16466 Pass filenames to load and save methods.
16468 * lib/dia_image.[ch]:
16469 Added dia_image_get_broken() call that returns a image which
16470 is used for 'broken' images.
16472 * lib/pixmaps/.cvsignore:
16473 * lib/pixmaps/Makefile.am:
16474 * lib/pixmaps/broken.xpm:
16475 New files for the broken image bitmap.
16478 Fixed bug with double destroyed filedialog.
16481 Updated load and save prototypes to use the new filename argument.
16484 Render broken image instead of line when got no image.
16485 Use the new filename in load and save to save (if possible)
16486 relative pathnames and to better try to find loaded images.
16488 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
16491 Some updates to the todo file.
16495 Place over/place over => sent to back/bring to front.
16496 Added some keyboard shortcuts to menus.
16498 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
16501 Changed string saving/loading to a new method. This should
16502 be much better att handling &,<,> and whitespaces.
16503 Loading strings of the old kind is still supported for backwards
16506 * samples/ER-demo.dia:
16507 * samples/UML-demo.dia:
16508 Updated to use the new strings.
16511 statusbar modified update fix.
16513 1999-02-27 Seth Alves <alves@hungry.com>
16515 * app/app_procs.c (app_init): added a --export-to-ps option
16516 which will cause dia to load a dia file and save it as ps
16517 and then exit. this is a little bogus, because it still
16518 pops up a window. this option only shows up if --enable-gnome
16521 * app/display.c (display_set_menu_sensitivity): no Edit/Delete
16522 menu when built with --enable-gnome
16524 * app/interface.c (create_display_shell): build status bar
16525 even if --enable-gnome is used
16527 * app/menus.c: menu fixes for --enable-gnome
16529 * app/commands.c (file_open_dialog_ok_callback): fixed up
16530 menus when --enable-gnome is used
16531 (file_export_to_eps_callback): set a default file name
16532 when dialog is created
16534 1999-02-27 Alexander Larsson <alex@c125.ryd.student.liu.se>
16536 * objects/UML/association.c (association_create):
16537 Fixed usage of not initialized variable.
16538 Pointed out by Seth Alves <alves@hungry.com>.
16540 1999-02-24 Alexander Larsson <alex@c125.ryd.student.liu.se>
16543 Fixed detection of gnome-xml.
16544 From Valtteri Vuorikoski <vuori@k.notcom.org>.
16547 Fixed error detection on dlsym calls.
16548 From Valtteri Vuorikoski <vuori@k.notcom.org>.
16550 1999-02-23 Alexander Larsson <alla@lysator.liu.se>
16552 * objects/UML/message.c (fill_in_dialog):
16555 1999-02-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16557 * objects/standard/zigzagline.c:
16558 * objects/standard/polyline.c:
16559 * objects/standard/line.c:
16560 * objects/standard/arc.c:
16564 Support for sizeable arrows.
16566 * objects/standard/box.c:
16567 * objects/standard/ellipse.c:
16568 * objects/standard/image.c:
16569 Changed creation handle to lower-right.
16570 Transparent box/ellipse.
16572 * objects/standard/image.c:
16573 Better layout of properties boxes.
16575 1999-02-20 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16577 * objects/UML/message.c (fill_in_dialog):
16578 Fixed dialog fill in. Common dialog for all messages.
16580 * objects/UML/object.c:
16581 Added multiple instance. Dialog related bugs fixed.
16582 Common dialog for all instances. Completed copy and destroy.
16584 * objects/UML/lifeline.c (lifeline_load):
16585 Conn initialization bug fixed and few bad loading prevention flags.
16586 Common dialog for all lifeline objects.
16588 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16590 * lib/dia_image.[ch]:
16591 More work on the DiaImage abstraction.
16594 * app/render_eps.c:
16595 * app/render_gdk.c:
16596 * objects/standard/image.c:
16597 Use the new DiaImage calls.
16599 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16603 Reversed the meaning of align horizontal/vertical.
16605 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16607 * app/load_save.c (diagram_load):
16608 Statusbar update fix.
16610 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16612 * app/interface.c (create_display_shell):
16613 Fixed status bar size.
16615 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
16617 * lib/dia_image.[ch]:
16618 Added extern declaration for dia_image_release.
16619 Removed dia_image_draw, as it's not neseccary.
16621 1999-02-14 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16623 * app/object_ops.c:
16625 Added equal distance alignment both vertical and horizontal.
16627 * objects/UML/object.c:
16628 Added a couple of attributes to load/read that were missing.
16630 * objects/UML/lifeline.c:
16631 Better handling of handles. Fixed another bug I forgot to add
16634 1999-02-13 Alexander Larsson <alla@lysator.liu.se>
16636 Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16638 * lib/dia_image.[ch]:
16640 New files. DiaImage wraps the GdkImlibImage.
16643 * app/render_eps.c:
16644 * app/render_gdk.c:
16645 * lib/render_store.[ch]:
16646 * objects/standard/image.c:
16647 Use the new DiaImagetype.
16650 Removed unused variable to eliminate warning.
16652 1999-02-11 Alexander Larsson <alla@lysator.liu.se>
16654 * objects/standard/box.c:
16655 Added rounded corners on the box object.
16657 * lib/widgets.[ch]:
16658 Updated the DiaFileSelector widget.
16660 1999-02-09 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16662 * objects/UML/object.c (objet_draw):
16663 Completed underlining of all object name lines.
16665 * objects/UML/message.c (fill_in_dialog):
16666 Fixed a bug that filled incorrectly the message's dialog.
16668 * objects/UML/lifeline.c (lifeline_load):
16669 Some cleanning and fixed a couple of bugs that caused
16670 crashes after reading diagrams with lifelines.
16673 Added flags to prevent crash with void strings
16675 1999-02-07 Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
16676 * app/display.[ch]:
16677 Added statusbar to the display widget. Currently shows the zoom
16678 factor and modified flag of the viewed diagram. The statusbar is
16679 updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
16680 This caused the following additions:
16682 * app/diagram.[ch]:
16683 Added function diagram_set_modified. Calls
16684 ddisplay_update_statusbar for all displays showing the modified diagram.
16685 Changed diagram_modified to call diagram_set_modified.
16688 Added the creation of the statusbar.
16691 diagram_save now calls diagram_set_modified instead of setting
16692 dia->modified. Needed to force call to display_update_statusbar
16695 Changed the way view_show_all works. Now calls ddisplay_zoom
16696 instead of directly setting the zoom_factor, so the zoom factor is
16697 correctly shown in the statusbar.
16700 Fixed rubberband zoom to use ddisplay_zoom().
16702 1999-02-07 Fredrik Hallenberg <hallon@lysator.liu.se>
16705 Rudimentary GNOME session management.
16707 * app/disp_callbacks.c
16711 GNOME menus. Problems:
16712 Callbacks doesn't get user_data.
16713 Weird warnings when creating popup menus.
16714 menus_set_sensitive(), menus_set_state() doesn't work.
16716 1999-02-05 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16719 Add AM_PATH_GDK_IMLIB() call.
16722 Add gdk_imlib to linking flags.
16726 Print library-loading error messages on stdout too.
16729 Add standard image to toolbox.
16731 * app/render_eps.c:
16732 Set a more reasonable dot length. Fixed
16733 missing initialization of dot length.
16734 Added draw_image methods.
16736 * app/render_gdk.c (new_gdk_renderer):
16737 Dot a bit wider. Looks good in normal mode now.
16739 * objects/standard/image.c:
16740 * objects/standard/pixmaps/image.xpm:
16741 New files. Standard object for images.
16743 * app/render_eps.c (set_linestyle):
16744 * app/render_gdk.c (set_linestyle):
16745 * lib/widgets.c (dia_line_style_selector_init):
16747 New line style DOTTED.
16750 * lib/render_store.c:
16751 Change DrawImage call to use gdk_imlib.
16753 * lib/widgets.[ch]:
16754 Added widgets for selecting files.
16755 Added dotted to the linestyle selector.
16757 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
16759 * objects/network/printer.c:
16760 * objects/network/network.c:
16761 * objects/network/pixmaps/printer.xpm:
16762 * objects/network/.cvsignore:
16763 * objects/network/Makefile.am:
16764 * objects/network/pixmaps/Makefile.am:
16765 New printer object in network.
16766 From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
16769 Added known XML bug.
16771 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
16775 Reverted back from #include <gnome-xml/tree.h> to
16776 #include <tree.h> as this is fixed by the xml-config program.
16777 The former way broke for some people.
16778 Reported by blizzard@redhat.com.
16780 * objects/UML/lifeline.c:
16781 * objects/UML/message.c:
16782 * objects/UML/object.c:
16783 Removed some warnings.
16785 1999-02-04 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16787 * objects/UML/lifeline.c:
16788 Fixed connection points over the life line when the focus of
16789 control is not drawn.
16791 * objects/UML/message.c:
16792 Now a recursive message can be freely resized using the handles.
16794 1999-02-02 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16796 * objects/UML/lifeline.c:
16797 Added connection points.
16798 Added properties dialog with the option to draw/hide focus of control
16799 box and destruction mark.
16801 * objects/UML/object.c:
16802 Added properties dialog and stereotype, explicit state and attributes.
16803 It's also possible to mark the object as active.
16805 * objects/UML/pixmaps/object.xpm:
16808 * objects/UML/message.c:
16809 Added "recursive" message type (was not necessary to use OrthConn).
16811 1999-02-02 Alexander Larsson <alla@lysator.liu.se>
16813 * objects/standard/arc.c:
16814 Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
16816 1999-02-01 Alexander Larsson <alla@lysator.liu.se>
16818 Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
16822 Update xml includes to gnome-xml/*.h.
16824 * objects/standard/arc.c:
16825 Only one property dialog per type.
16826 Fix arrows directions.
16828 * objects/standard/box.c:
16829 * objects/standard/ellipse.c:
16830 * objects/standard/textobj.c
16831 Added default properties dialog.
16834 1999-01-31 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
16836 * objects/UML/Makefile.am:
16837 * objects/UML/uml.c:
16838 * objects/UML/lifeline.c:
16839 * objects/UML/object.c:
16840 * objects/UML/message.c:
16841 * objects/UML/pixmaps/lifeline.xpm:
16842 * objects/UML/pixmaps/object.xpm:
16843 * objects/UML/pixmaps/message.xpm:
16844 Added 3 new UML objects for dynamic modeling. To avoid internal
16845 conflicts, the name "objet" is used for object "object".
16848 Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
16851 1999-01-30 Alexander Larsson <alla@lysator.liu.se>
16853 * app/display.[ch]:
16854 * app/modify_tool.c:
16855 Added autoscrolling while doing rubber-band select.
16856 This patch from Matthias Köster
16857 (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
16860 1999-01-28 Alexander Larsson <alla@lysator.liu.se>
16862 * app/defaults.[ch]:
16863 New files, deals with default properties dialog.
16866 New file. Contains definitions for the new object menu.
16868 * lib/poly_conn.[ch]:
16869 New file. Base class for poly-line like objects.
16871 * objects/standard/polyline.c:
16872 * objects/standard/pixmaps/polyline.xpm:
16873 New files. Polyline object.
16876 Fixed bug with infinite loop when registering sheets.
16879 Removed unneccesary stuff.
16881 * app/disp_callbacks.c:
16882 Support for object menus.
16885 Added polyline to toolbox.
16886 Added call to tool_options_dialog_show() when double clicking on
16890 New function tool_options_dialog_show() for tool properties.
16896 Added ObjectType methods for handling object default dialogs.
16897 Added Object method for handling object_menu.
16898 Added unused methods to ObjectTypeOps for future binary
16901 * lib/widgets.[ch]:
16902 Added DiaArrowTypeSelector widget.
16904 * objects/standard/arc.c:
16905 * objects/standard/zigzagline.c:
16906 Added support for default properties.
16908 * objects/standard/line.c:
16909 Added support for default properties.
16910 Just use one properties dialog for all line objects. NOTE: This
16911 seems to have a bug. We're working on it.
16913 * standard/standard.c:
16914 Add the polyline object.
16916 1999-01-27 Alexander Larsson <alla@lysator.liu.se>
16918 * app/modify_tool.c:
16919 Commented out buggy transitive select function. It wasn't really
16920 meant to go into cvs.
16923 1999-01-25 Fredrik Hallenberg <hallon@lysator.liu.se>
16935 Swedish translation. Not completed.
16939 Added possibility to enable GNOME specific code with configure.
16942 Added possibility to set debug level with configure.
16945 Added about dialog.
16951 Added some GNOME specific code. Not ready for use.
16953 1999-01-24 Alexander Larsson <alla@lysator.liu.se>
16956 Added text about needing gtk 1.1.13 and gnome-xml.
16959 Described changes since last version (0.20).
16961 Released version 0.30, tagged DIA_0_30.
16963 1999-01-22 Alexander Larsson <alla@lysator.liu.se>
16965 * app/magnify.c (magnify_button_release):
16966 Fixed a problem when zooming in on a very small box would
16967 not release the grabbed pointer-focus.
16969 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
16971 * app/load_save.c (diagram_load):
16972 Be somewhat more robust when loading files that
16975 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
16979 * objects/UML/uml.c:
16980 * objects/network/network.c:
16981 * objects/standard/standard.c:
16982 Added versioning of object libraries.
16984 * app/create_object.c:
16985 Don't change tool when an object is created.
16987 * objects/network/network.c:
16992 1999-01-19 Alexander Larsson <alla@lysator.liu.se>
16995 Updated gtk requirement to Gtk+ 1.1.13.
16998 Always add one screenful of scrolling space on
16999 each side of a diagram window.
17001 1999-01-19 Jeff Garzik <jgarzik@pobox.com>
17004 Tell automake to auto-install missing files.
17007 Renamed deprecated Gtk+ function.
17009 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
17013 * samples/Makefile.am:
17014 * samples/ER-demo.dia:
17015 * samples/UML-demo.dia:
17016 Added samples directory.
17017 Added samples for ER and UML.
17020 * app/disp_callbacks.c:
17022 Zoom is done by sqrt(2) instead of 2.
17023 Lots of more zoom options in the menu.
17025 * objects/ER/relationship.c:
17026 Relationships have 8 connectionpoints instead of 4.
17028 * objects/UML/class.c:
17029 UML class name font a bit smaller.
17030 Fixed stupid bug in the copy operation.
17033 Displays are opened at 500x400 instead of 256x256.
17036 Fixup of internal error message.
17038 * app/color_area.c:
17040 * app/modify_tool.c:
17042 Removed debug printf's.
17045 Added new known bug.
17047 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
17051 Fixed so accelerator groups work in all windows.
17052 Updated to new gtk function names.
17058 Updated to new gtk function names.
17059 Set sensitivity of the align menu items.
17061 * objects/ER/pixmaps/Makefile.am:
17062 * objects/UML/pixmaps/Makefile.am:
17063 * objects/network/pixmaps/Makefile.am:
17064 Fix so that make dist works.
17067 * app/color_area.c:
17071 * app/layer_dialog.c:
17073 * app/object_ops.c:
17074 * app/properties.c:
17075 * lib/diagramdata.[ch]:
17077 * lib/objects/ER/attribute.c:
17078 * lib/objects/ER/entity.c:
17079 * lib/objects/ER/participation.c:
17080 * lib/objects/ER/relationship.c:
17081 * lib/objects/ER/.c:
17082 * objects/UML/actor.c:
17083 * objects/UML/association.c:
17084 * objects/UML/class_dialog.c:
17085 * objects/UML/dependency.c:
17086 * objects/UML/generalization.c:
17087 * objects/UML/large_package.c:
17088 * objects/UML/realizes.c:
17091 Updated to new gtk function names.
17094 1999-01-15 Alexander Larsson <alla@lysator.liu.se>
17100 Fixed loading of diagrams specified as arguments.
17102 * objects/ER/attribute.c:
17103 * objects/ER/entity.c:
17105 * objects/ER/participation.c:
17106 * objects/ER/relationship.c:
17107 Updated the ER objects.
17110 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
17114 * objects/Makefile.am:
17115 * objects/ER/attribute.c:
17116 * objects/ER/entity.c:
17118 * objects/ER/participation.c:
17119 * objects/ER/relationship.c:
17120 * objects/ER/pixmaps/Makefile.am:
17121 * objects/ER/pixmaps/attribute.xpm:
17122 * objects/ER/pixmaps/entity.xpm:
17123 * objects/ER/pixmaps/participation.xpm:
17124 * objects/ER/pixmaps/relationship.xpm:
17125 * objects/ER/pixmaps/weakentity.xpm:
17126 First commit of entity relationship objects.
17127 These were done by hallon@lysator.liu.se.
17128 There are still stuff to do on these.
17130 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
17135 * app/diagram.[ch]:
17136 Change diagram_remove_all_selected to take new argument
17137 delete_empty. Empty objects are deleted only if it is TRUE.
17138 Removed call to close_eps_renderer. This is now done in end_render
17139 in the eps renderer.
17141 * app/create_object.c:
17142 * app/layer_dialog.c:
17143 Update calls to diagram_remove_all_selected.
17146 Update calls to diagram_remove_all_selected.
17147 Some code reformating.
17148 Changed order of adding updates i align_h and align_v.
17150 * app/modify_tool.c:
17151 Update calls to diagram_remove_all_selected.
17152 Added pointer grab when doing rubber-band selection, this fixes
17153 the bug when draging the box over to another window.
17155 * app/connectionpoint_ops.[ch]:
17156 diagram_update_connections_object changed to take an argument
17157 update_nonmoved. This lets connections that has not moved, but
17158 the stuff they're connected to has been moved work.
17159 Update calls to the new diagram_update_connections_object.
17161 * app/properties.c:
17162 Update calls to the new diagram_update_connections_object.
17163 Update extents when properties are applied.
17165 * app/disp_callbacks.c:
17166 Added support for zooming with the '+' and '-' keys.
17169 Removed old keyboard shortcuts for zoom.
17172 Added calls begin_render and end_render to renderer.
17173 These can be used for setup and cleanup.
17175 * lib/diagramdata.c:
17176 Added calls to begin_render and end_render in data_render.
17178 * app/render_gdk.c:
17179 Added begin_render and end_render.
17181 * app/render_eps.[ch]:
17182 Added begin_render and end_render.
17183 Moved close_eps_renderer code to end_render.
17184 Various fixes to the generated eps code. This fixes importing
17185 generated eps into LYX.
17187 1999-01-12 Alexander Larsson <alla@lysator.liu.se>
17193 Menus for alignment updated.
17195 * app/object_ops.[ch]:
17196 Functions for object alignment updated.
17198 * app/commands.[ch]:
17199 Object alignment callbacks updated.
17200 New diagrams are called Untitled-<nr>.
17202 * app/layer_dialog.c:
17203 Active layer selected when showing layers from new
17207 Compress xml files when saving.
17208 Use xml namespace 'dia'.
17211 Minor comment update.
17213 * objects/UML/class_dialog.c:
17214 Cleanup of the gkt_list_item moving code.
17215 Fixed bug with update of operation when moving parameters.
17217 1999-01-10 Alexander Larsson <alla@lysator.liu.se>
17219 * app/layer_dialog.[ch]:
17220 Fixed the rest of the layers dialog.
17223 Added call to redo layer dialogs diagram list when changing
17226 * lib/diagramdata.[ch]:
17227 Added data_raise_layer and data_lower_layer functions for
17228 raising/lowering layers. Added data_add_layer_at for adding a
17229 layer at a specified index.
17231 1999-01-05 Alexander Larsson <alla@lysator.liu.se>
17233 This is the asierra-990105 patch done by asierra@servidor.unam.mx.
17236 Added support for reading diagrams from the command line.
17238 1998-12-21 Alexander Larsson <alla@lysator.liu.se>
17240 This is the asierra-981220 patch done by asierra@servidor.unam.mx.
17242 * app/commands.[ch]:
17243 Added objects_align_callback().
17246 Added align objects to menu.
17248 * app/object_ops.[ch]:
17249 Add object_list_align().
17251 1998-12-17 Alexander Larsson <alla@lysator.liu.se>
17252 * app/layer_dialog.[ch]:
17253 New files. Handles the layers dialog. Needs a bugfix for glib to
17254 work. Sent patch to gtk-list.
17256 * app/pixmaps/new.xpm:
17257 * app/pixmaps/eye.xbm:
17258 * app/pixmaps/lower.xpm:
17259 * app/pixmaps/raise.xpm:
17260 * app/pixmaps/delete.xpm:
17261 New files. Images for the layer dialog buttons.
17263 * lib/diagramdata.h
17264 * lib/diagramdata.c
17265 New files for the DiagramData and Layer structures and functions.
17268 Added call to create_layer_dialog() on startup.
17270 * app/commands.[ch]:
17271 New callbacks for showing the properties and layout dialog.
17272 Changes for the new DiagramData structure.
17274 * app/connectionpoint_ops.c:
17275 * app/cut_n_paste.c:
17276 * app/diagram.[ch]:
17277 * app/display.[ch]:
17279 * app/modify_tool.c:
17280 * app/object_ops.[ch]:
17281 * app/render_eps.c:
17283 Changes for the new DiagramData structure.
17286 * app/properties.c:
17287 Set correct wmclasses.
17290 Fix load and save of layers.
17293 Update DTD for layers.
17296 New menus for dialogs.
17302 1998-12-06 Alexander Larsson <alla@lysator.liu.se>
17305 Removed the gtk 1.1.5 stuff.
17308 Updated gtk check to version 1.1.5.
17309 Updated version from 0.20 to 0.30
17311 * app/commands.[ch]:
17312 Updated some callbacks to be of type GtkItemFactoryCallback1.
17313 Not all are done yet, but it works anyway.
17316 Removed Gtk 1.0.0 GtkAcceleratorTable references.
17320 Update to Gtk 1.1.x functions.
17321 Use ItemFactory instead of MenuFactory.
17323 * app/render_gdk.c:
17324 Removed Gtk 1.0.0 references.
17326 * objects/UML/class_dialog.c:
17327 Scrolled window updates for Gtk 1.1.5.
17330 Removed ugly fix for gnome-xml bug. Make sure you get the
17331 newest version of gnome-xml from CVS.
17333 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
17336 Removed the xml load/save line.
17342 Removed building of files.c
17345 * lib/connection.c:
17349 * lib/render_object.c:
17350 * objects/UML/actor.c:
17351 * objects/UML/association.c:
17352 * objects/UML/class.c:
17353 * objects/UML/constraint.c:
17354 * objects/UML/dependency.c:
17355 * objects/UML/generalization.c:
17356 * objects/UML/implements.c:
17357 * objects/UML/large_package.c:
17358 * objects/UML/note.c:
17359 * objects/UML/realizes.c:
17360 * objects/UML/small_package.c:
17361 * objects/UML/uml.c:
17362 * objects/UML/usecase.c:
17363 * objects/network/bus.c:
17364 * objects/standard/arc.c:
17365 * objects/standard/box.c:
17366 * objects/standard/ellipse.c:
17367 * objects/standard/line.c:
17368 * objects/standard/textobj.c:
17369 * objects/standard/zigzagline.c:
17370 Removed all includes of files.h
17373 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
17376 Made the val property of string be implied.
17377 This makes it possible to save strings that
17378 are NULL. Just leave out val.
17380 * objects/lib/dia_xml.c:
17381 Fixed string so that it is possible to save strings
17382 that are NULL. Also made an ugly workaround of a
17383 bug in gnome-xml which removes empty properties.
17385 * objects/lib/orth_conn.c:
17386 Fixed a bug in saving. Forgot to step through the
17389 * objects/UML/association.c:
17390 * objects/UML/class.c:
17391 * objects/UML/constraint.c:
17392 * objects/UML/dependency.c:
17393 * objects/UML/generalization.c:
17394 * objects/UML/implements.c:
17395 * objects/UML/large_package.c:
17396 * objects/UML/note.c:
17397 * objects/UML/small_package.c:
17398 * objects/UML/realizes.c:
17399 * objects/UML/usecase.c:
17400 * objects/UML/actor.c:
17401 Fixed UML objects to save as xml.
17402 The last two were done by asierra@servidor.unam.mx (asierra-981204)
17404 * objects/UML/uml.[ch]:
17405 Updated *_write() and *_read() functions to use xml.
17407 * objects/network/bus.c:
17408 * objects/network/computer.c:
17409 * objects/network/disc.c:
17410 * objects/network/monitor.c:
17411 Updated network diagrams to use xml.
17413 1998-12-02 Alexander Larsson <alla@lysator.liu.se>
17416 New file. DTD that describes the xml file format
17419 * lib/dia_xml.[ch]:
17420 New files. Support for saving object to xml files.
17425 Added check for and usage of gnome-xml library.
17428 Major chages. Now saves/loads diagrams as xml.
17431 * lib/element.[ch]:
17432 * lib/connection.[ch]:
17433 * lib/orth_conn.[ch]:
17434 * lib/render_object.[ch]:
17436 Updated object support load/save functions for xml:
17438 * object/standard/arc.c:
17439 * object/standard/box.c:
17440 * object/standard/ellipse.c:
17441 * object/standard/line.c:
17442 * object/standard/textobj.c:
17443 * object/standard/zigzagline.c:
17444 Updated all standard objects to use xml.
17447 Only the standard objects are converted right now, don't
17448 save or load uml or network diagrams yet. Also, since this
17449 is new code it is deemed a bit unstable.
17454 1998-12-01 Alexander Larsson <alla@lysator.liu.se>
17456 * objects/UML/class.c:
17457 Changed classname font to Helvetica.
17458 Added more space above the classname
17460 * objects/UML/usecase.c:
17461 Correct placements of connectionpoints on ellipse.
17462 Better algorithm for deciding aspect ration on
17465 These changes were made by Alejandro Aguilar Sierra
17466 <asierra@servidor.unam.mx>. (asierra-981201)
17468 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
17470 * objects/UML/actor.c:
17471 Changed the extents and alignment of the element
17474 * objects/UML/.cvsignore:
17475 Added usecase.lo and actor.lo.
17477 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
17479 * objects/UML/actor.c:
17480 * objects/UML/usecase.c:
17481 * objects/UML/pixmaps/actor.xpm:
17482 * objects/UML/pixmaps/case.xpm:
17483 New files. Implements usecase and actor UML objects.
17484 These objects are done by Alejandro Aguilar Sierra
17485 <asierra@servidor.unam.mx>.
17487 * objects/UML/Makefile.am:
17488 * objects/UML/pixmaps/Makefile.am:
17489 Added usecase and actor to makefile.
17492 Added Alejandro and Jerome to autors list.
17494 1998-11-25 Alexander Larsson <alla@lysator.liu.se>
17496 * objects/UML/class.c (umlclass_load):
17497 Fixed typo. Reported by Jerome.Abela@solsoft.fr
17499 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
17501 * app/properties.c:
17502 Update connections when doing apply in the properties window.
17504 * objects/UML/uml.[ch]:
17505 * objects/UML/class.[ch]:
17506 * objects/UML/class_dialog.c:
17507 Added connection points on both sides of attributes and
17508 operations in UML classes.
17509 Based on idea from Jerome.Abela@solsoft.fr
17511 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
17514 Some new documentation about handles and connectionpoints.
17517 Added functions object_add_connectionpoint and
17518 object_remove_connectionpoint for handling a dynamic
17519 number of connectionpoints.
17521 * objects/UML/class.c:
17522 Only reserve space for stereotype when it is shown.
17524 These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
17526 1998-11-08 Alexander Larsson <alla@lysator.liu.se>
17528 * app/connectionpoint_ops.c:
17530 * app/disp_callbacks.c:
17531 * app/display.[ch]:
17533 * app/handle_ops.c:
17535 * app/modify_tool.c:
17536 * app/render_gdk.[ch]:
17538 Huge cleanup of internal rendering system.
17539 Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
17540 This gives a few new methods for Interactive Renderers for setting
17541 clipping regions and drawing pixel based lines and rects.
17542 Updated the rest of the code to use the new stuff.
17544 * app/render_eps.c:
17548 * objects/standard/zigzagline.c
17549 Fixed unused variable warnings.
17552 Fixedbug with stringwidth where width==0.
17557 1998-11-02 Alexander Larsson <alla@lysator.liu.se>
17559 * lib/widgets.[ch]:
17560 Added suppot for setting the font of a
17561 DiaFontSelector widget.
17562 Also fixed some typos in the header.
17565 Added a comment about the GetPRoperties method call.
17566 You have to make sure to update widget state when
17567 this method is called. (Not all objects do this yet,
17573 1998-11-01 Alexander Larsson <alla@lysator.liu.se>
17576 Fixed problem with height of ascent and descent for fonts.
17577 It didn't use the whole height (==ascent+descent) when calculatine
17578 ascent_ratio and descent_ratio.
17580 * objects/standard/textobj.c:
17581 * objects/standard/box.c:
17582 * objects/standard/ellipse.c:
17583 * objects/standard/line.c:
17584 * objects/standard/arc.c:
17585 Updated and added property dialogs for these objects.
17586 Also added line width/color/style to those objects
17587 that didn't have it.
17588 This change breaks fileformat compatibility for these objects.
17590 * objects/standard/zigzagline.c:
17591 Changed zigzagline to be based on OrthConn, much nicer.
17592 Also added line style and color to properties.
17593 This change breaks fileformat compatibility for zigzagline.
17596 Fixed bug in message(). Forgot a pair of '&'.
17598 1998-10-29 Alexander Larsson <alla@lysator.liu.se>
17600 * lib/widgets.[ch]:
17601 Added DiaColorSelector widget.
17602 This is a colored button that pops up a color selection
17603 dialog when pressed.
17605 1998-10-28 Alexander Larsson <alla@lysator.liu.se>
17607 * lib/widgets.[ch]:
17609 New files, added widgets for selecting fonts, alignment
17610 and line-style. Will be used later.
17612 1998-10-12 Alexander Larsson <alla@lysator.liu.se>
17616 * objects/UML/Makefile.am:
17617 * objects/network/Makefile.am:
17618 * objects/standard/Makefile.am:
17619 Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
17620 in all Makefile.am.
17622 1998-10-03 Alexander Larsson <alla@lysator.liu.se>
17624 * app/handle_ops.c (handle_draw):
17625 connected HANDLE_MINOR_CONTROL also becomes red.
17627 1998-10-02 Alexander Larsson <alla@lysator.liu.se>
17630 removed -ldl from linking. This is added if needed by configure.
17633 Open dlls with RTLD_LAZY if it is defined.
17634 Some cleanups: char *error -> const char *error
17635 Added fprintf()'s to where we exited because of errors.
17638 Include <sys/types.h>
17640 1998-10-01 Alexander Larsson <alla@lysator.liu.se>
17645 Detect dlopen better.
17646 Detect wether dlopen needs an underscore in the identifier.
17647 This code was mostly borrowed from guile.
17651 * objects/standard/standard.c:
17652 * objects/network/network.c:
17653 * objects/UML/uml.c:
17655 Changed the way sheets reference objects to use just the
17656 name. Changed module loading to a two stage model:
17657 First register_objects() is called for all modules.
17658 Then register_sheets() is called. This means that
17659 sheets can safely include objects from other modules.
17662 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
17664 * objects/network/bus.c:
17665 * objects/network/network.c:
17666 * objects/network/Makefile.am:
17667 New file bus.c. Added new object: Ethernet bus.
17669 * objects/standard/box.c:
17670 Added call to gtk_spin_button_set_numeric for linewidth spinner
17671 in property dialog.
17673 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
17675 * app/connectionpoint_ops.c:
17676 * app/create_object.c:
17678 * app/handle_ops.c:
17679 * app/modify_tool.c:
17680 * lib/connection.c:
17685 * loads of objects:
17686 Changed handle->connectable to handle->connect_type.
17687 Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
17688 that their connections don't break when moving objects.
17691 Always select the last handle in an object that has
17692 the closest distance.
17694 * lib/geometry.[ch]:
17695 Added rectangle_add_point function.
17698 1998-09-27 Alexander Larsson <alla@lysator.liu.se>
17700 * app/properties.[ch]: New files. Handles the new properties
17703 * app/modify_tool.c: Changed to use new properties dialog.
17705 * app/object_ops.[ch]: Removed object_changed_callback, as it's
17706 not needed anymore. This is now handled differently in
17710 Changed the properties ops for objects. Removed typedefs
17711 ChangedObjectTime and ObjectChangedFunc needed for the old way.
17712 Added object_return_null function.
17715 * lib/render_object.c:
17717 Changed objects to use the new properties dialog.
17720 1998-09-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
17722 * */Makefile.am (INCLUDES): Changes to work with srcdir !=
17725 * autogen.sh: New file. Copied from gtk and added a call to
17726 libtoolize. Anyone knows why this isn't done in gtk?
17728 * Removed autogenerated files.
17730 1998-09-12 Alexander Larsson <alla@lysator.liu.se>
17732 * Added call setlocale(LC_NUMERIC, "C") so that formating of
17733 floating-point numbers in postscript output will be correct.
17734 * Did some cleanup of generated postscript files.